Printer not working
Hi,
Once in a while customers have problems with their printer.
Printing works fine when printing a document in MS Word and such, but from
the application it doesn't work.
The print preview window keeps telling that there is a problem with the Windows
printer settings.
Do you have any idea how this can be solved?
Is there some setting that might cause this?
Once in a while customers have problems with their printer.
Printing works fine when printing a document in MS Word and such, but from
the application it doesn't work.
The print preview window keeps telling that there is a problem with the Windows
printer settings.
Do you have any idea how this can be solved?
Is there some setting that might cause this?
This discussion has been closed.
Comments
Which version of ReportBuilder and Delphi are you using? Does this
occur with every printer or just one? Does it occur on every machine
that uses your application or only certain ones?
What is the exact error you receive?
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
The exact error is: "Printing Error: Problem Initializing the current printer.
Check the system print settings"
It happens only once in a while after users have installed a new printer.
The strage thing however is that they can print from MS Office like application
and such.
It occurs with at least a brother printer.'
ReportBuilder uses the Windows API to create a list of available
printers. We do not know how MS Word does this as we do not have the
source to that product.
Once a new printer is installed, it may be necessary to either restart
the machine or at least restart the application to be sure the internal
Windows printer list is updated.
You can also reset the printer list ReportBuilder uses manually with the
following code as it is cached while the report is active.
uses
ppPrintr;
ppPrinters.Refresh;
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com