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

Open PDF report file

edited February 2013 in General
Hello,

I have a batch process in my application that generates reports to a
specified folder.

I'm using RB PDF output to generate these reports:

AllowPrintToFile = True
AllowPrintToArchive = True
DeviceType = PDF

Now I would like to open these PDF reports in my client application and
create a batch process to print them to the computers default printer.

In a older application I used ppArchiveReader to accomplish this, but it
seems to me it only works with *.RAF files.
Now that the DefaultFileDeviceType switched to PDF I was hoping
ppArchiveReader would work with PDF files, but I've tried a simple Open -
Print project and it doesn't work.

Any ideas on how this can be accomplished?


Thank you in advance,

Pedro Bento

Comments

  • edited February 2013
    Hi Pedro,

    ReportBuilder only has the ability to create PDF files, not view/print
    them. This is the job of a PDF viewer such as Acrobat or Adobe Reader.

    It may be possible to use the PDF ActiveX control included with Delphi
    to perform the task of batch printing multiple PDF files however we do
    not have any first hand experience with this.

    http://delphi.about.com/cs/howto/ht/htpdf.htm

    Best Regards,

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