[Gambas-user] gambas3, question about printer and sending files to the printer
Charlie Reinl
Karl.Reinl at ...2345...
Mon Sep 10 10:35:26 CEST 2012
Am Montag, den 10.09.2012, 08:48 +1000 schrieb Richard Terry:
> Karl Reinl wrote:
> > Salut Benoît,
> >
> > I look for a way to send a pdf or ps document to a printer, without
> > passing by a pdf/ps viewer.
> > Like I would do it with lpr/gtklp.
> > But I would like to use the printer.Configure() dialogue.
> > Do you see a possibility for that.
> >
> I use this in my medical records program to send the pdf directly to the
> printer - just ignore the bits you don't need. Regarding the printer
> dialog, not sure - I installed a samsung laser on my machine last week
> and all of a sudden much to my annoyance my program started to present a
> popup printer dialog. When I investigated it the linux common printing
> stuff I'd installed had symlinked their lpr (which file presumably contained
> the dialog code) to the original lpr. When I changed it back the dialog
> disappeared.
>
> Regards
>
> richard
>
Salut Richard,
thank you,
yes I do it in a similar way, but I want to avoid all that code, because
the printer object do and control that.
What he needs is the possibility to send a file with the Printer.Print()
function to the printer
--
Amicalement
Charlie
More information about the User
mailing list