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

GUI form to set PDF options before PrintToDevice

edited March 2017 in General
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

Comments

  • edited March 2017
    Hi Chau Chee Yang,

    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.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.