Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

Printer not working

edited February 2013 in End User
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?

Comments

  • edited February 2013
    Hi Stef,

    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?

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2013
    Hello Nico,

    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.'
  • edited March 2013
    Hi Stef,

    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;

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.