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
pdf export
rbuser
April 2006
edited April 2006
in
General
Where can I find the code example to output a report directly to pdf without
previewing it first?
Thanks,
Bob
Comments
rbuser
April 2006
edited April 2006
Also, without displaying any type of dialog.
Thanks,
Bob
rbuser
April 2006
edited April 2006
Haven't used the PDF feature yet but wouldn't it be the same
as other prints
showprintdialog := false;
Just a guess on my part.
JonD
rbuser
April 2006
edited April 2006
Hi Bob!
If you haven't found out.
Here is from RB 10 help file:
"
uses
ppPDFDevice;
begin
ppReport.AllowPrintToFile := True;
ppReport.ShowPrintDialog := False;
ppReport.DeviceType := 'PDF';
ppReport.TextFileName := 'C:\Temp\myPDFFile.pdf';
ppReport.PDFSettings.Author := 'RB Master';
ppReport.PDFSettings.Title := 'Export to PDF!';
ppReport.PDFSettings.OpenPDFFile := True;
ppReport.Print;
end;
"
Kind regards
TorB.
*****
"Bob Tucker" skrev i melding
This discussion has been closed.
Comments
Thanks,
Bob
as other prints
showprintdialog := false;
Just a guess on my part.
JonD
If you haven't found out.
Here is from RB 10 help file:
"
uses
ppPDFDevice;
begin
ppReport.AllowPrintToFile := True;
ppReport.ShowPrintDialog := False;
ppReport.DeviceType := 'PDF';
ppReport.TextFileName := 'C:\Temp\myPDFFile.pdf';
ppReport.PDFSettings.Author := 'RB Master';
ppReport.PDFSettings.Title := 'Export to PDF!';
ppReport.PDFSettings.OpenPDFFile := True;
ppReport.Print;
end;
"
Kind regards
TorB.
*****
"Bob Tucker" skrev i melding