Report going to wrong printer
I'm having problems with reports going to the dot matrix (which is loaded
with checks) instead of the laser. If there is a printer driver problem
can't we just spool and not print? When I create the report I set the
printername as default. I'm setting the printername property to the
customer's perfered printer just before printing. The previous major
version didn't have this problem. I'm using version 12.01. Any ideas?
with checks) instead of the laser. If there is a printer driver problem
can't we just spool and not print? When I create the report I set the
printername as default. I'm setting the printername property to the
customer's perfered printer just before printing. The previous major
version didn't have this problem. I'm using version 12.01. Any ideas?
This discussion has been closed.
Comments
My guess is that either the printer name has changed or it is being set
incorrectly. Be sure you are using the PrinterSetup.PrinterNames property
to find and set the printer to be used. This way you can be absolutely sure
you are assigning the correct name.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
window plus a new version with a number after it.
I'm a bit unclear about the scenario you describe below. Are you referring
to the list returned by the PrinterNames property or the actual list of
printers in the Control Panel in Windows? Ideally you will want to discover
which printer you would like to use in the PrinterNames list, then directly
use that value as the new PrinterName.
Report.PrinterSetup.PrinterName := Report.PrinterSetup.PrinterNames[3];
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Control Panel Printers list. You can see this list of names by selecting the
Report.PrinterSetup.PrinterNames in the Object Inspector and viewing the
drop down list. Or perform a simple test, create a Delphi Form with a
TppReport and a TListBox. Set ListBox.Items :=
Report.PrinterSetup.PrinterNames.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com