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 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