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

Switched to default printer

edited May 2006 in General
Hi all,

we are using RBuilder on Delphi 7. We have a customer that has setup a
network printer for its reports in the application.

After printing 3-4 reports the program stops suggesting the network printer
and he is switched to the default. I wasnt able to reproduce it at the
office and I fear it might have something to do with the printer going into
a sleep mode or something?

Comments

  • edited May 2006

    - If a report definition is loaded and the saved property value for
    PrinterSetup.PrinterName does not match one of the available printers, then
    the PrinterSetup.PrinterName will switch to 'Default'

    - Each report that you design will have Report.PrinterSetup properties that
    are saved as part of the report definition. The PrinterSetup properties
    include the PrinterName.

    - The value for PrinterSetup.PrinterName is 'Default' which will use the
    Windows Default Printer as specified by the Windows Printer Panel
    (accessible from the Control Panel in Windows).

    - The available PrinterSetup.PrinterNames[] will vary from machine to
    machine based upone the printer drivers that are installed. The exact names
    can vary from machine to machine, even for the same printer model.





    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.