New Forum | Previous | Next | (P-PDF) Developers
Topic: Interapplication Communication - Hide Reader to Just Print
Conf: (P-PDF) Developers, Msg: 123699
Date: 12/11/2004 02:02 AM
I know that I can launch Adobe Reader using the windows api such as createprocess api and shellexecute api. Both of these will allow me to launch Adobe Reader from within an application. However, I would like to only print a pdf not display it in Adobe Reader to the user. Can it be done without displaying Adobe Reader?
Also, if the user has internet explorer open or another application that also launches Adobe Reader then the data is cached and remains in cache so that the next pdf form displayed in Adobe - the form fields with common field names have the data populated with the last displayed form's fields. It does not seem to empty the cache when the form is closed. This seems to be the same case using the pdf.ocx
How can I use automation to print a pdf form with form fields on it? I am using a 3rd party tool (Gnostice PDFToolkit) to populate the fields in the pdf but it does not render the form correctly to use it for printing. I will have the pdf created with the correct data in the form fields and now I want to print the pdf but not display it from within my app.
There should be a com object available since the sdk works with it.