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

How to bypass the Print Preview window

edited July 2005 in General
Hi,

I'm using ReportBuilder Pro v7.03

How do I bypass the Print Preview window. Stated otherwise: I have a
button name Print on my window. When I click it, I want the label printer
to print one record (the one in memory).

Regards,

Nols Smit

Comments

  • edited July 2005

    uses
    ppTypes;

    myReport.DeviceType := dtPrinter; // print to printer

    myReport.ShowPrintDialog := False; // suppress print dialog
    myReport.ShowCancelDialog := False;
    myReport.ShowAutoSearchDialog := False;

    myReport.Print;





    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited July 2005
    Thanks, you are a pal :)

    Nols Smit

This discussion has been closed.