[Gambas-user] Printer object needs tray selection support
Rob
sourceforge-raindog2 at ...94...
Wed Sep 15 17:50:05 CEST 2004
I've been working on a pretty big app for one of my clients, and
just ran into the situation where some documents need to go to
one tray in a laser printer, and others to another tray. There
doesn't seem to be any way to do this in gambas, not even in the
printer selection dialog (which I had thought was the standard
Qt one but it's not.)
I can get around it by setting Printer.file to go to a postscript
file in /tmp, and shelling out to lpr -o media=Upper (for
example) to print it, but I figured I would mention this
esoteric but important detail. I'm sure most gambas developers
don't have any printers with more than one tray handy so if need
be I will try to figure out how to add this to gb.qt in my spare
time.
Rob
More information about the User
mailing list