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

How to use printer setup?

edited November 2004 in General
I have the following code before the print but the print job goes to the
default printer.

datamodule4.ppReport_Second_Letter.PrinterSetup.PrinterName := 'HP Laserjet
4000 Series PCL on SRV1';

Cheers

SteveW

Comments

  • edited November 2004
    Hi Steve,

    The PrinterName property is very "picky" and the printer name must be exact
    for it to work successfully. Try using the Report.PrinterSetup.PrinterNames
    property to define the exact printer name.


    --
    Best Regards,

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