Open PDF report file
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
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
This discussion has been closed.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com