Re: [Gambas-user] Printing a PDF

2015-10-14 Thread Rolf-Werner Eilert
Am 14.10.2015 16:35, schrieb Benoît Minisini: > Le 14/10/2015 10:39, Rolf-Werner Eilert a écrit : >> I found it! The shell or the kprinter or lp or whatever need a complete >> path, like /home/mydir/thefile.pdf. But I had a "~" instead. >> >> So now it's running like expected, at least. >> >> Rolf

Re: [Gambas-user] Printing a PDF

2015-10-14 Thread Benoît Minisini
Le 14/10/2015 10:39, Rolf-Werner Eilert a écrit : > I found it! The shell or the kprinter or lp or whatever need a complete > path, like /home/mydir/thefile.pdf. But I had a "~" instead. > > So now it's running like expected, at least. > > Rolf > Beware : When you use "EXEC", you run your program

Re: [Gambas-user] Printing

2015-10-14 Thread Shane
sorry my bad I think I forgot the ignore property On 14/10/15 16:17, Fabien Bodard wrote: > Le 13 oct. 2015 23:16, "Shane" a écrit : >> Is there a way to stop ReportImage from scaling up to fill the page >> > Hum. Change the height and width. If they are 0 then autoresize is used. > >> >> On 14/

Re: [Gambas-user] Printing a PDF

2015-10-14 Thread Rolf-Werner Eilert
I found it! The shell or the kprinter or lp or whatever need a complete path, like /home/mydir/thefile.pdf. But I had a "~" instead. So now it's running like expected, at least. Rolf Am 14.10.2015 10:09, schrieb Fabien Bodard: > Gambas it's able to generate a pdf file itself by setting the prin

Re: [Gambas-user] Printing a PDF

2015-10-14 Thread Rolf-Werner Eilert
Yes, that's exactly what I do, Fabien. And when I have a PDF then, what would be the easiest way to send it to the printer? I tried drucker.OutputFile = feld[1] drucker.Print but nothing happened. Rolf Am 14.10.2015 10:09, schrieb Fabien Bodard: > Gambas it's able to generate a

Re: [Gambas-user] Printing a PDF

2015-10-14 Thread Fabien Bodard
Gambas it's able to generate a pdf file itself by setting the printer file property. Le 14 oct. 2015 09:11, "Rolf-Werner Eilert" a écrit : > Maybe somewhat silly, but I got stuck here: > > From a Gambas program I try to print a PDF file. Up to now (old version > in Gambas2), with PS files, I do

[Gambas-user] Printing a PDF

2015-10-14 Thread Rolf-Werner Eilert
Maybe somewhat silly, but I got stuck here: From a Gambas program I try to print a PDF file. Up to now (old version in Gambas2), with PS files, I do Exec ["kprinter", "--nodialog", "-d", drucker.Name, feld[1]] Wait where feld[1] holds the path to the ps-file to be printed. Now when I want a P

Re: [Gambas-user] Printing

2015-10-13 Thread Fabien Bodard
Le 13 oct. 2015 23:16, "Shane" a écrit : > > Is there a way to stop ReportImage from scaling up to fill the page > Hum. Change the height and width. If they are 0 then autoresize is used. > > > On 14/10/15 08:02, Shane wrote: > > Thanks Fabien I had a quick look at setting ignore to true and I ca

Re: [Gambas-user] Printing

2015-10-13 Thread Shane
Is there a way to stop ReportImage from scaling up to fill the page On 14/10/15 08:02, Shane wrote: > Thanks Fabien I had a quick look at setting ignore to true and I can now > move things where i want > so it might work for me after all Thanks. > > > On 14/10/15 03:47, Fabien Bodard wrote: >> W

Re: [Gambas-user] Printing

2015-10-13 Thread Shane
Thanks Fabien I had a quick look at setting ignore to true and I can now move things where i want so it might work for me after all Thanks. On 14/10/15 03:47, Fabien Bodard wrote: > Well gb.report is based on a similar arrangement routine than the forms. > > To center a picture on the page you h

Re: [Gambas-user] Printing

2015-10-13 Thread Fabien Bodard
Well gb.report is based on a similar arrangement routine than the forms. To center a picture on the page you have 2 way. - playing with the containers to center it - set the ignore property of the image to true and setup the left and top properties (or X and Y) To setup a text just add a reportl

Re: [Gambas-user] Printing

2015-10-12 Thread Shane
Hi Fabien I had a look at gb.report and once again I can not make head or tails of it I got stuck at the very first thing all I wanted to to was display an image in the center of the page and some text either side but when i finally got an image to display it would only display in the top left a

Re: [Gambas-user] Printing

2015-10-12 Thread Rolf-Werner Eilert
The fact that Paint.Scale scales the fonts made it a no-go to me. Had the same problem with it. It's a shame actually, as one would expect a function that makes it possible to simply convert mm (or inch, or whatever) into the internal sizes. But font sizes are always the same and would need to

Re: [Gambas-user] Printing

2015-10-12 Thread Fabien Bodard
Normally the size is the same... The scaling is done by the paint class. Be carefull as a point have not the same size between screen and printer. Have you try to use gb. report ? Le 12 oct. 2015 09:19, "Shane" a écrit : > What am I doing wrong here I'm trying to print something the same size on

[Gambas-user] Printing

2015-10-12 Thread Shane
What am I doing wrong here I'm trying to print something the same size on the printer as on the screen but when it goes to the printer it huge ? I'm using Paint.Scale and from what the doc's say this should scale the fonts ? InvoicePrint-0.0.1.tar.gz Description: application/gzip ---

[Gambas-user] Printing report

2014-01-22 Thread nero
Hi all, I can print directly to pdf using priner component without any problem using somethink like: printer.Paper = Printer.A4 printer.OutputFile = "~/print.pdf" p1.Print() Now I've made some report using report component but I can't understand how to obtain the same, I can made pdf using :

Re: [Gambas-user] Printing text vertically (using printing or gb.report)

2014-01-18 Thread Willy Raets
On Fri, 2014-01-17 at 21:50 +0100, Fabien Bodard wrote: > 2014/1/16 Willy Raets : > > > > I added some screenshots of how it is implemented at the moment in MS > > Access. As you can see the report designer of MS Access allows for > > labels to be placed vertically on the design (there is a propert

Re: [Gambas-user] Printing text vertically (using printing or gb.report)

2014-01-17 Thread Fabien Bodard
2014/1/16 Willy Raets : > On Thu, 2014-01-16 at 11:30 +0100, Rolf-Werner Eilert wrote: >> >> Am 16.01.2014 10:55, schrieb Willy Raets: >> > On Thu, 2014-01-16 at 10:44 +0100, Rolf-Werner Eilert wrote: >> >> >> >> Am 16.01.2014 10:30, schrieb Willy Raets: >> >>> On Tue, 2014-01-14 at 10:04 +0100, Wi

Re: [Gambas-user] Printing text vertically (using printing or gb.report)

2014-01-16 Thread Rolf-Werner Eilert
Am 16.01.2014 10:55, schrieb Willy Raets: > On Thu, 2014-01-16 at 10:44 +0100, Rolf-Werner Eilert wrote: >> >> Am 16.01.2014 10:30, schrieb Willy Raets: >>> On Tue, 2014-01-14 at 10:04 +0100, Willy Raets wrote: Hi all, I have a Dymo Label writer at work and need to print address la

Re: [Gambas-user] Printing text vertically (using printing or gb.report)

2014-01-16 Thread Willy Raets
On Thu, 2014-01-16 at 10:44 +0100, Rolf-Werner Eilert wrote: > > Am 16.01.2014 10:30, schrieb Willy Raets: > > On Tue, 2014-01-14 at 10:04 +0100, Willy Raets wrote: > >> Hi all, > >> > >> I have a Dymo Label writer at work and need to print address labels. > >> Thing is that the labels are in port

Re: [Gambas-user] Printing text vertically (using printing or gb.report)

2014-01-16 Thread Rolf-Werner Eilert
Am 16.01.2014 10:30, schrieb Willy Raets: > On Tue, 2014-01-14 at 10:04 +0100, Willy Raets wrote: >> Hi all, >> >> I have a Dymo Label writer at work and need to print address labels. >> Thing is that the labels are in portrait and the text needs to be >> printed vertically instead of horizontall

Re: [Gambas-user] Printing text vertically (using printing or gb.report)

2014-01-16 Thread Willy Raets
On Tue, 2014-01-14 at 10:04 +0100, Willy Raets wrote: > Hi all, > > I have a Dymo Label writer at work and need to print address labels. > Thing is that the labels are in portrait and the text needs to be > printed vertically instead of horizontally as it happens now. > > I have tried with both p

[Gambas-user] Printing text vertically (using printing or gb.report)

2014-01-14 Thread Willy Raets
Hi all, I have a Dymo Label writer at work and need to print address labels. Thing is that the labels are in portrait and the text needs to be printed vertically instead of horizontally as it happens now. I have tried with both printing and reports but don't manage to get the job done. Text aways

Re: [Gambas-user] Printing with gb.gui not same result as qt4

2014-01-07 Thread Benoît Minisini
Le 07/01/2014 16:29, Rolf-Werner Eilert a écrit : > Hi, > > Guess I found a feature :) > > When running a program with printing into PDF, gb.gui and NOT on a Qt4 > system (like Lxde or KDE3), the positions on the page aren't delivered > correctly. When reducing myPrinter.Resolution to 75, it is ok

[Gambas-user] Printing with gb.gui not same result as qt4

2014-01-07 Thread Rolf-Werner Eilert
Hi, Guess I found a feature :) When running a program with printing into PDF, gb.gui and NOT on a Qt4 system (like Lxde or KDE3), the positions on the page aren't delivered correctly. When reducing myPrinter.Resolution to 75, it is ok in X direction, but Font.Height keeps being measured too bi

[Gambas-user] Printing from command line possible?

2013-08-13 Thread Rolf-Werner Eilert
Somehow I remember that you already pointed me to the solution - was it you Benoit? I lost part of my mails from holidays, so no chance to look it up. When I have a command line program and want it to produce a PDF - how can I do without having the X server? From the IDE, there is no problem,

Re: [Gambas-user] Printing without X library

2013-07-19 Thread Rolf-Werner Eilert
Am 19.07.2013 20:51, schrieb Benoît Minisini: > Le 19/07/2013 20:47, Benoît Minisini a écrit : >> Le 19/07/2013 20:32, Rolf-Werner Eilert a écrit : >>> Just stumbled over this one: When I make a Gambas2 script for a >>> webserver, it refuses to execute because I have to use gb.qt and >>> gb.qt.ex

Re: [Gambas-user] Printing without X library

2013-07-19 Thread Benoît Minisini
Le 19/07/2013 20:32, Rolf-Werner Eilert a écrit : > Just stumbled over this one: When I make a Gambas2 script for a > webserver, it refuses to execute because I have to use gb.qt and > gb.qt.ext, and it doesn't find the X server (cannot connect to X server) > when started by Apache. > > Is there a

Re: [Gambas-user] Printing without X library

2013-07-19 Thread Benoît Minisini
Le 19/07/2013 20:47, Benoît Minisini a écrit : > Le 19/07/2013 20:32, Rolf-Werner Eilert a écrit : >> Just stumbled over this one: When I make a Gambas2 script for a >> webserver, it refuses to execute because I have to use gb.qt and >> gb.qt.ext, and it doesn't find the X server (cannot connect to

[Gambas-user] Printing without X library

2013-07-19 Thread Rolf-Werner Eilert
Just stumbled over this one: When I make a Gambas2 script for a webserver, it refuses to execute because I have to use gb.qt and gb.qt.ext, and it doesn't find the X server (cannot connect to X server) when started by Apache. Is there a workaround for this? Rolf --

[Gambas-user] Printing - custom page

2013-04-10 Thread bill-lancaster
OK, I'm getting somwhere now. I was getting "symbol not recognised" when trying to set PaperWidth but the printer object was not Instantiated So, one step forward! -- View this message in context: http://gambas.8142.n7.nabble.com/printer-how-to-set-custom-page-size-tp41684p41685.html Sent fro

Re: [Gambas-user] Printing and Drawing in GB3

2012-11-20 Thread Fabien Bodard
maybe i can help you 2012/11/20 Rolf-Werner Eilert > > > Am 20.11.2012 11:45, schrieb Charlie Reinl: > > Am Dienstag, den 20.11.2012, 10:58 +0100 schrieb Rolf-Werner Eilert: > >> Hi, > >> > >> just to make sure I haven't overseen anything... In GB2 I could use Draw > >> to draw into a DrawingAr

Re: [Gambas-user] Printing and Drawing in GB3

2012-11-20 Thread Rolf-Werner Eilert
Am 20.11.2012 11:45, schrieb Charlie Reinl: > Am Dienstag, den 20.11.2012, 10:58 +0100 schrieb Rolf-Werner Eilert: >> Hi, >> >> just to make sure I haven't overseen anything... In GB2 I could use Draw >> to draw into a DrawingArea or Picture or Printer object. In GB3 for a >> Printer, I have to u

Re: [Gambas-user] Printing and Drawing in GB3

2012-11-20 Thread Charlie Reinl
Am Dienstag, den 20.11.2012, 10:58 +0100 schrieb Rolf-Werner Eilert: > Hi, > > just to make sure I haven't overseen anything... In GB2 I could use Draw > to draw into a DrawingArea or Picture or Printer object. In GB3 for a > Printer, I have to use Paint instead, and Printer is completely event

[Gambas-user] Printing and Drawing in GB3

2012-11-20 Thread Rolf-Werner Eilert
Hi, just to make sure I haven't overseen anything... In GB2 I could use Draw to draw into a DrawingArea or Picture or Printer object. In GB3 for a Printer, I have to use Paint instead, and Printer is completely event driven (_Begin, _Draw, _End)? This would mean re-writing my printer-preview a

Re: [Gambas-user] Printing from a module

2012-11-15 Thread Rolf-Werner Eilert
Am 15.11.2012 14:38, schrieb Tobias Boege: > On Thu, 15 Nov 2012, Rolf-Werner Eilert wrote: >> Hi folks, I have a question: >> >> In FMain I have a Printer object (Printer icon) and a Button to click on >> for printing. >> >> The whole printing procedure should take place in a separate module to

Re: [Gambas-user] Printing from a module

2012-11-15 Thread Rolf-Werner Eilert
I've got it running, I found Paint.DrawText instead of Paint.Text would do it... Am 15.11.2012 15:30, schrieb Fabien Bodard: > Why the printer is on your form ? > > > In your module declare a new printer > > Drucker = new printer() as "Drucker" > > You must declare the printer where you use it. >

Re: [Gambas-user] Printing from a module

2012-11-15 Thread Rolf-Werner Eilert
Am 15.11.2012 14:38, schrieb Tobias Boege: > On Thu, 15 Nov 2012, Rolf-Werner Eilert wrote: >> Hi folks, I have a question: >> >> In FMain I have a Printer object (Printer icon) and a Button to click on >> for printing. >> >> The whole printing procedure should take place in a separate module to

Re: [Gambas-user] Printing from a module

2012-11-15 Thread Rolf-Werner Eilert
Am 15.11.2012 15:30, schrieb Fabien Bodard: > Why the printer is on your form ? Because I saw this in the printer example :-) And it kinda works. > > > In your module declare a new printer > > Drucker = new printer() as "Drucker" It complaints about the (), i. e. it says ") too early". So I left

Re: [Gambas-user] Printing from a module

2012-11-15 Thread Fabien Bodard
Why the printer is on your form ? In your module declare a new printer Drucker = new printer() as "Drucker" You must declare the printer where you use it. There is another way but i think this one is the most simpler. Andif i understand well you don't need the printer object on the form 201

Re: [Gambas-user] Printing from a module

2012-11-15 Thread Tobias Boege
On Thu, 15 Nov 2012, Rolf-Werner Eilert wrote: > Hi folks, I have a question: > > In FMain I have a Printer object (Printer icon) and a Button to click on > for printing. > > The whole printing procedure should take place in a separate module to > keep the lengthy code apart from FMain code. >

[Gambas-user] Printing from a module

2012-11-15 Thread Rolf-Werner Eilert
Hi folks, I have a question: In FMain I have a Printer object (Printer icon) and a Button to click on for printing. The whole printing procedure should take place in a separate module to keep the lengthy code apart from FMain code. The Button_Click event calls druck.start in the module "druck"

Re: [Gambas-user] Printing - same code - two machines - two outputs

2012-11-15 Thread Gregor Burck
Hi, forgott it, the problem lay on OSI Layer 8,... In my own settings menu I set the wrong settings,... Bye Gregor -- -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-dep

Re: [Gambas-user] Printing - same code - two machines - two outputs

2012-11-14 Thread Caveat
They have different barcodes on (different source numbers). Are you sure you're using **the same** code? Are you sure you don't have one pc set to A4 and the other to Letter or so? Can you share the project? Can't really see how anyone can help you further with so little information. Kind r

Re: [Gambas-user] Printing, don't see my mistake

2012-10-25 Thread Fabien Bodard
2012/10/25 Gregor Burck : > Hi, > > I don't understand how to print in gambas3. Even when I look at the example I > don't find my mistake, I got always a blank page: > > Public Sub AnsichtDrucken() > > If prt.Configure() Then Return > > Me.Enabled = False > Inc Application.Busy > prt.Print >

[Gambas-user] Printing, don't see my mistake

2012-10-25 Thread Gregor Burck
Hi, I don't understand how to print in gambas3. Even when I look at the example I don't find my mistake, I got always a blank page: Public Sub AnsichtDrucken() If prt.Configure() Then Return Me.Enabled = False Inc Application.Busy prt.Print Dec Application.Busy Me.Enabled = True End

[Gambas-user] Printing - first lines of text won't print

2011-10-02 Thread Bill-Lancaster
The first 40 lines of text do not print. Running the "Printing" example this still happens. In ModulePrintText.PrintText, if I change 'pagePosition = 0' to 'pagePosition = 3608' then all the text is printed. Any ideas where I'm going wrong Bill Lancaster Ubuntu 11.04, Gambas 2.21 -- View thi

Re: [Gambas-user] printing gambas 3

2011-05-22 Thread Fabien Bodard
2011/5/22 Shane Powell : > On 22/05/11 00:27, Fabien Bodard wrote: >> 2011/5/21 Shane Powell: >>> On 21/05/11 00:53, Fabien Bodard wrote: 2011/5/20 Shane Powell: > trying to print in gambas 3 using drawtext but the letters are huge > what gives ? on gambas3 you need to use the pai

Re: [Gambas-user] printing gambas 3

2011-05-21 Thread Shane Powell
On 22/05/11 00:27, Fabien Bodard wrote: > 2011/5/21 Shane Powell: >> On 21/05/11 00:53, Fabien Bodard wrote: >>> 2011/5/20 Shane Powell: trying to print in gambas 3 using drawtext but the letters are huge what gives ? >>> on gambas3 you need to use the paint class >>> >>> paint.text... >>

Re: [Gambas-user] printing gambas 3

2011-05-21 Thread Shane Powell
On 22/05/11 00:27, Fabien Bodard wrote: > 2011/5/21 Shane Powell: >> On 21/05/11 00:53, Fabien Bodard wrote: >>> 2011/5/20 Shane Powell: trying to print in gambas 3 using drawtext but the letters are huge what gives ? >>> on gambas3 you need to use the paint class >>> >>> paint.text... >>

Re: [Gambas-user] printing gambas 3

2011-05-21 Thread Fabien Bodard
2011/5/21 Shane Powell : > On 21/05/11 00:53, Fabien Bodard wrote: >> 2011/5/20 Shane Powell: >>> trying to print in gambas 3 using drawtext but the letters are huge >>> what gives ? >> on gambas3 you need to use the paint class >> >> paint.text... >> >> paint generate vectorial and antialiased dra

Re: [Gambas-user] printing gambas 3

2011-05-20 Thread Shane Powell
On 21/05/11 00:53, Fabien Bodard wrote: > 2011/5/20 Shane Powell: >> trying to print in gambas 3 using drawtext but the letters are huge >> what gives ? > on gambas3 you need to use the paint class > > paint.text... > > paint generate vectorial and antialiased draw. > > you can use gb.report too >

Re: [Gambas-user] printing gambas 3

2011-05-20 Thread Fabien Bodard
2011/5/20 Shane Powell : > trying to print in gambas 3 using drawtext but the letters are huge > what gives ? on gambas3 you need to use the paint class paint.text... paint generate vectorial and antialiased draw. you can use gb.report too but what did you want to draw ? > > > --

[Gambas-user] printing gambas 3

2011-05-20 Thread Shane Powell
trying to print in gambas 3 using drawtext but the letters are huge what gives ? -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation

[Gambas-user] printing

2011-05-19 Thread Shane Powell
hi In gambas 2 I could set the scale of printing to mm by doing Draw.Scale(Draw.Resolution / 25.4, Draw.Resolution 25.4) How do I do The Same Thing in Gambas 3 thanks Shane -- What Every C/C++ and Fortran developer

Re: [Gambas-user] Printing a character in a Form

2010-06-19 Thread Fabien Bodard
2010/6/19 Fabien Bodard : > the doc is not up to date > > > Le 19 juin 2010 20:49, Benoît Minisini a écrit > : >>> draw.begin(MyForm) >>> >>> draw.text("mytext",x,y) >>> >>> >>> draw.end >>> >> >> This works only in Gambas 2. You can't draw directly on a control anymore in >> Gambas 3, except dur

Re: [Gambas-user] Printing a character in a Form

2010-06-19 Thread Fabien Bodard
the doc is not up to date Le 19 juin 2010 20:49, Benoît Minisini a écrit : >> draw.begin(MyForm) >> >> draw.text("mytext",x,y) >> >> >> draw.end >> > > This works only in Gambas 2. You can't draw directly on a control anymore in > Gambas 3, except during the Draw event of a DrawingArea. > > Rega

Re: [Gambas-user] Printing a character in a Form

2010-06-19 Thread Benoît Minisini
> draw.begin(MyForm) > > draw.text("mytext",x,y) > > > draw.end > This works only in Gambas 2. You can't draw directly on a control anymore in Gambas 3, except during the Draw event of a DrawingArea. Regards, -- Benoît Minisini -

Re: [Gambas-user] Printing a character in a Form

2010-06-19 Thread Fabien Bodard
draw.begin(MyForm) draw.text("mytext",x,y) draw.end 2010/6/19 Ru Vuott : > Hello, > > how do I can print a simple character (ex. letter: "a") in a Form at  x , y > position ? > The character have not to be shown in a Label or in other text-Tools. > > Thanks > > > > > --

[Gambas-user] Printing a character in a Form

2010-06-19 Thread Ru Vuott
Hello, how do I can print a simple character (ex. letter: "a") in a Form at x , y position ? The character have not to be shown in a Label or in other text-Tools. Thanks -- ThinkGeek and WIRED's GeekDad team u

Re: [Gambas-user] printing issue

2010-03-04 Thread Dimitris Anogiatis
Hey Robi, As an alternative you could also get a list of the install printers by doing Dim prnList as String SHELL (lpstat -a) to prnList Hope this helps Regards, Dimitris On Thu, Mar 4, 2010 at 4:39 AM, Doriano Blengino < doriano.bleng...@fastwebnet.it> wrote: > Robert JUHASZ ha scritto: > >

Re: [Gambas-user] printing issue

2010-03-04 Thread Doriano Blengino
Robert JUHASZ ha scritto: > Hello List, > > I have a small issue with the printer handling of my application: when I try > to print, the list of printers is empty and consequently the OK button is > disabled (there are printers installed on the computers). If I click on > cancel, the default printe

[Gambas-user] printing issue

2010-03-04 Thread Robert JUHASZ
Hello List, I have a small issue with the printer handling of my application: when I try to print, the list of printers is empty and consequently the OK button is disabled (there are printers installed on the computers). If I click on cancel, the default printer prints out the document. If I print

Re: [Gambas-user] Printing from a webview

2009-12-08 Thread Benoît Minisini
> I wondered if anyone knew how to print from this control - it dosn't seem > to have a print function like the old konqueror webrowser. > > Regards > > Richard > Yes, I must add it... -- Benoît Minisini -- Return o

[Gambas-user] Printing from a webview

2009-12-07 Thread richard terry
I wondered if anyone knew how to print from this control - it dosn't seem to have a print function like the old konqueror webrowser. Regards Richard -- Return on Information: Google Enterprise Search pays you back Get

Re: [Gambas-user] Printing from a PDF

2009-05-01 Thread Fabien Bodard
in fact you need to do it by yourself :/ as pdf return a picture ... you can do draw(printer) draw.image(pdf.image, x,y,w,h) draw.end or i've maybe another idea... 2009/4/29 richard terry : > There seems no property to print from a pdf, no example of printing code in > the pdf example. >

[Gambas-user] Printing from a PDF

2009-04-28 Thread richard terry
There seems no property to print from a pdf, no example of printing code in the pdf example. I wondered if this was possible. Thanks. richard -- Register Now & Save for Velocity, the Web Performance & Operations Confe

Re: [Gambas-user] Printing direct to printer

2009-03-24 Thread Steven Drinnan
Home use the draw cmd. Each object has it's own x,y position. see the example below IF Printer.Setup() THEN RETURN 'You need to set up your printer first. Draw.Begin(Printer) ' Initializes the draw Draw.Text(TextArea1.Text, 200, 200) ' Prints the contents of a TextArea in the upper left hand co

[Gambas-user] Printing direct to printer

2009-03-24 Thread richard terry
I wondered if anyone could show me how to print direct to a printer at co-ordinates x-y I have to a sheet divided into four sections (not quarters), the top two are 2/3 of the page height, and I need to print to exactly specifica locations on an A4 page. Any help appreciated. Richard ---