GUI form to set PDF options before PrintToDevice
Hi,
If setting TppReport.AllowPrintToFile := True, the print dialog will
show a Print To File group. Choosing PDF File as export device and
there are additional Advanced Options to set the some options for PDF
export.
We may use TppPDFDevice to export TppReport with the following code:
A := TppPDFDevice.Create(self);
a.Publisher := ppreport1.Publisher;
a.FileName := 'test.pdf';
ppreport1.PrintToDevices ;
Doing so the end user will have chance to change the PDF options before
export. As there are quite a number of PDF settings available, is there
any ready GUI gadget available to set the PDF options before export?
--
Best regards,
Chau Chee Yang
If setting TppReport.AllowPrintToFile := True, the print dialog will
show a Print To File group. Choosing PDF File as export device and
there are additional Advanced Options to set the some options for PDF
export.
We may use TppPDFDevice to export TppReport with the following code:
A := TppPDFDevice.Create(self);
a.Publisher := ppreport1.Publisher;
a.FileName := 'test.pdf';
ppreport1.PrintToDevices ;
Doing so the end user will have chance to change the PDF options before
export. As there are quite a number of PDF settings available, is there
any ready GUI gadget available to set the PDF options before export?
--
Best regards,
Chau Chee Yang
This discussion has been closed.
Comments
We do not provide a graphical way to alter the PDF settings other than
the print dialog and the report designer (inspector). Thanks for the
feedback, we will consider something like this for a later release.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com