Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
General
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
How to bypass the Print Preview window
rbuser
July 2005
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
nardmoseley
July 2005
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
rbuser
July 2005
edited July 2005
Thanks, you are a pal
Nols Smit
This discussion has been closed.
Comments
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
Nols Smit