Report going to wrong printer

edited October 2010 in General
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?

Comments

  • edited October 2010
    Hi George,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2010
    What about the scenario where that printer is in the Printer and Faxes
    window plus a new version with a number after it.



  • edited October 2010
    Hi George,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2010
    The Report.Printersetup.PrinterNames list should be identical to the Windows
    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
This discussion has been closed.