Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Automate creating PDF files using Acrobat Distiller.

339 views
Skip to first unread message

Ray Hawkins

unread,
Apr 10, 2003, 8:31:06 PM4/10/03
to
Hello,
I have Adobe Acrobat 5.0 running on Windows 2000 and I wanted to know is there a way to automate the process of creating PDF files.
Currently I print the documents using the Acrobat Distiller Print driver and each time a dialog box opens asking for a filename.
Is it possible to automate this process in my application without user interaction. I'm using Powerbuilder 8.

Any suggestions will be greatly appreciated.

Thanks

Ray

SA

unread,
Apr 14, 2003, 8:52:01 AM4/14/03
to
Ray:

Distiller doesn't make this easy. Two possilbe ways:

1.) Output your file to a post script file; you can do this by setting up a
copy of the adobe postscript printer driver to a specific target output file
as the port. Then use the distiller com object's FileToPDF to convert it
to a PDF file.

2.) Create a new port which is the file name at run time using the AddPort
api and change distiller printer to use that port. In the instance you must
have distiller printer's print preferences set to not ask for the file name.

Steve A

"Ray Hawkins" <rrha...@yahoo.com> wrote in message
news:1de8b...@WebX.la2eafNXanI...

Ray Hawkins

unread,
Apr 14, 2003, 10:55:40 AM4/14/03
to
Steve:

Do you know where I can obtain the Acrobat Distiller API? And are there examples using these two examples you described?

Thanks

Guy Smiley

unread,
Apr 14, 2003, 11:22:50 AM4/14/03
to
Couldn't you just use a watched folder? With a watched folder, any time a PostScript file appears in the folder, Distiller automatically distills it and sends the resulting PDF to whatever folder you choose. This process requires no user intervention.

--Mike Nitabach

Ray Hawkins

unread,
Apr 14, 2003, 11:25:54 AM4/14/03
to

Aandi Inston

unread,
Apr 14, 2003, 12:08:22 PM4/14/03
to
Acrobat SDK, http://partners.adobe.com

Aandi Inston

Ray Hawkins

unread,
Apr 14, 2003, 2:34:37 PM4/14/03
to
How would do you use the watch folder? And isn't the watch folder only for postscript files? My file isn't a postscript file but I can convert it to a pdf using the Distiller print driver.

de Siem

unread,
Apr 15, 2003, 7:53:22 AM4/15/03
to
To get rid of the save as dialog box, go to your printers and right-click distiller and select printer preferences.
Then click on the pdf settigns tab.

Deselect the optin you don't want.
You still need to give the print command in order to print to distiller manually.

If you want to fully automate this then follow the link that Aandie suggested and read the documentation there.

Ray Hawkins

unread,
Apr 16, 2003, 8:37:36 PM4/16/03
to
As far as using the API, Do I need to download a special Distiller API, or is this included with the installation of Acrobat?

Aandi Inston

unread,
Apr 17, 2003, 4:14:06 AM4/17/03
to
Distiller provides the API automatically. All you need is the
documentation on how to use it. This is in the "Distiller API"
document in the Acrobat SDK. The SDK is on http://partners.adobe.com/
> Developer > SDKs.

Aandi Inston

0 new messages