Re: [Gambas-user] Printer code request

2012-10-28 Thread charlesg
Here is a revised version of the Barcode example http://old.nabble.com/file/p34612204/BarcodeGambas3-0.0.4.tar BarcodeGambas3-0.0.4.tar Benoît Minisini wrote: Le 11/08/2012 11:58, charlesg a écrit : Benoît Minisini wrote: I don't remember. When? Your file is unreadable. Please join

Re: [Gambas-user] Printer code request

2012-08-11 Thread charlesg
Jussi Lahtinen wrote: See Barcode example for how to send things to printer. My barcode example only printed from Gambas2. I did submit a Gambas3 version to the mailing list that did print from Gambas 3 but it never made it into the source repository. I see the source version of the

Re: [Gambas-user] Printer code request

2012-08-11 Thread Benoît Minisini
Le 11/08/2012 11:38, charlesg a écrit : Jussi Lahtinen wrote: See Barcode example for how to send things to printer. My barcode example only printed from Gambas2. I did submit a Gambas3 version to the mailing list that did print from Gambas 3 but it never made it into the source

Re: [Gambas-user] Printer code request

2012-08-11 Thread charlesg
Benoît Minisini wrote: I don't remember. When? Your file is unreadable. Please join it to your post as a normal attachment. It was a long time ago. Maybe Jun 2011. Search on Mailing list says it has been deleted. I seem to remember you found fault with something. Perhaps you expected me

Re: [Gambas-user] Printer code request

2012-08-11 Thread Benoît Minisini
Le 11/08/2012 11:58, charlesg a écrit : Benoît Minisini wrote: I don't remember. When? Your file is unreadable. Please join it to your post as a normal attachment. It was a long time ago. Maybe Jun 2011. Search on Mailing list says it has been deleted. I seem to remember you found fault

Re: [Gambas-user] Printer code request

2012-08-11 Thread Jussi Lahtinen
Hints... ((Key[n] Or Key[N]) And Key.Alt) Here Or and And are bitwise operators. Example: Key[a] = 65 Key[b] = 66 And so... (Key[a] Or Key[b]) = 67 Also Key[n] and Key[N] have same value (78). But, (Key[n] And Key.Alt) will work as long as Key.Code = 0 is not passed. When Key.Alt = False

Re: [Gambas-user] Printer code request

2012-08-11 Thread charlesg
Jussi Lahtinen wrote: Hints... ((Key[n] Or Key[N]) And Key.Alt) Here Or and And are bitwise operators. AAHH! Thanks. I will correct. -- View this message in context: http://old.nabble.com/Printer-code-request-tp34282837p34285575.html Sent from the gambas-user mailing list

Re: [Gambas-user] Printer code request

2012-08-11 Thread Fabien Bodard
And how to print a screenshot with gb.report: the code : Public Sub Button1_Click() Dim hImg As Image Dim hReport As New Report Dim hReportLabel As New ReportLabel(hreport) Dim hRepImg As New ReportImage(hReport) hreport.Orientation = Printer.Landscape hreport.Padding =

Re: [Gambas-user] Printer code request

2012-08-11 Thread Fabien Bodard
a version with simply a report designed by the report designer . I use the report_data event so the image is updated at each redraw (zoom, move), but the image can be intialized in the _new event. with Reportimage1.image = desktop.screenshot().image report_screenshot-0.0.2.tar.gz Description:

[Gambas-user] Printer code request

2012-08-10 Thread fulippo_fuli...@tiscali.it
Dear All I need to send to the printer the active window , or at least all the screen contents , i searched on web but i find poor thinks Thank you in advances Francesco Invita i tuoi amici e Tiscali ti premia! Il consiglio di un amico vale più di uno spot in TV. Per ogni nuovo abbonato 30

Re: [Gambas-user] Printer code request

2012-08-10 Thread Jussi Lahtinen
See Barcode example for how to send things to printer. And this for how to take screenshot: http://gambasdoc.org/help/comp/gb.qt4/desktop/screenshot?v3 Jussi On 10 August 2012 19:54, fulippo_fuli...@tiscali.it fulippo_fuli...@tiscali.it wrote: Dear All I need to send to the printer the