[Gambas-user] gambas3, question about printer and sending files to the printer

Fabien Bodard gambas.fr at ...626...
Mon Sep 10 13:44:55 CEST 2012


I think you can directly do it with printer object,  and the gb.PDF
component... It's quite simple.

If you want I can do an example
Le 10 sept. 2012 10:37, "Charlie Reinl" <Karl.Reinl at ...9...> a écrit :

> 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
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list