Creating PDF file
D7 + RB 9.03 Trial
I can't create a PDF file ...
this i my code
ppReport1.DeviceType := dtPDF;
ppReport1.AllowPrintToFile := True;
ppReport1.ShowPrintDialog := True;
ppReport1.TextFileName := 'C:\TEMP\MYFILE.PDF';
ppReport1.Print;
The print dialog is not shown and the pdf is not created
I can't create a PDF file ...
this i my code
ppReport1.DeviceType := dtPDF;
ppReport1.AllowPrintToFile := True;
ppReport1.ShowPrintDialog := True;
ppReport1.TextFileName := 'C:\TEMP\MYFILE.PDF';
ppReport1.Print;
The print dialog is not shown and the pdf is not created
This discussion has been closed.
Comments
RB native printing to PDF files started with version 10, as far as I
remember.
You should use a tool like ExtraDevices from Waler for this in version 9.
Kind regards
TorB.
*****
"Max" skrev i melding
For ReportBuilder 9 it was required that you add ppPDFDevice to your uses
clause to register the device at runtime. Take a look at the TppPDFDevice
topic in the ReportBuilder help for a code example. Since you are using a
trial version, I would recommend downloading a trial of RB 10.02 and taking
a look at some of the enhancements made.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
The native PDF device was added for ReportBuilder 9 .
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com