Hello all. I'm making a wxPython app (to be run under WindowsXP) where I'll
need to print out to multiple printers. One report will need to go to a
network printer ... another print job will go to a dot-matrix because it's a
multi-part sheet (an impressions sheet like a bank slip, where there's
a 'carbon copy' to be made when you press down hard with the pen' and also a
receipt printer, which I foresee as a Point-Of-Sale printer.
My question is, can I programatically define a specific printer to print to,
rather than the 'Windows Default' printer? If I have to choose a printer at
every print request, I think I'll go mad!!!
Please help!
-Dave
The printers are defined in the print dialog data. You can configure all
settings for a specific purpose (incl. what printer, paper format, print
quality etc.) via the print dialog and then save this information in your
configuration file. Then, next time you print, you check whether the
configuration file is there, read the printer configuration data, and pass it
to the print function without calling the print dialog first
Horst
ยทยทยท
On Thursday 18 May 2006 09:36, S. D. Rose wrote:
Hello all. I'm making a wxPython app (to be run under WindowsXP) where
I'll need to print out to multiple printers. One report will need to go to
a network printer ... another print job will go to a dot-matrix because
it's a multi-part sheet (an impressions sheet like a bank slip, where
there's a 'carbon copy' to be made when you press down hard with the pen'
and also a receipt printer, which I foresee as a Point-Of-Sale printer.
My question is, can I programatically define a specific printer to print
to, rather than the 'Windows Default' printer? If I have to choose a
printer at every print request, I think I'll go mad!!!