Home Devices

How to create PCL out from report builder report.

edited March 2008 in Devices
Hi,

I have a report and want to generate PCL format file. Is it possible
to do through report builder?



Any help is appreciated.



-Nanda.

Comments

  • edited March 2008


    You can use the Report.PrinterSetup.FileName to accomplish this - it is a
    public property, so you need to set it via code.

    Example:

    myReport.PrinterSetup.FileName := 'myReport.prn';
    myReport.DeviceType := dtPrinter;
    myReport.ShowPrintDialog := False; // optional
    myReport.ShowCancelDialog := False; // optional
    myReport.Print;


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

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