Link to home
Start Free TrialLog in
Avatar of sp400
sp400Flag for Spain

asked on

Change PdfWriter VB proigramming to Acrobat 6 (Adobe PDF printer or Distiller)

First of all, sorry my "english".

Adobe Acrobat 6 does'nt support PDFWriter (not in the product, and also renamed Distiller to "PDF Printer").
The Adobe forum speak clear about PDFWriter is removed due it was "obsolete".

I've an old VB6 program working fine generating pdf using PdfWriter, putting the filename in the registry and so on. This works in Acrobat version 4 and 5, but in version 6 the "PDF Printer" ask for the filename.

Are Acrobat 6 looking the filename in other registry entry?
or are needed other way to automatize the process?

My VB Program is doing this approach:
-chage PDFFileName registry key
-prints to the printer object
and this is working good in Acrobat 5 using Windows XP, 98 and 2000.

btw I need run this in an Windows 2003 Server, and need to use Acrobat 6.

I Know there is an SDK in adobe website but maybe this is costing a minimun of 195 US$, and also I've no time to investigate if anybody can help me.
The SDK version 5 can be downloaded free but i don't sure if it contains all the info needed.
Avatar of Karl Heinz Kremer
Karl Heinz Kremer
Flag of United States of America image

Sorry, but it's not that simle: The PDF Printer does not support any registry keys that you can set to define the output file name. Printing to the Distiller Printer (or Adobe PDF) is a two step process: You first print do a "print to file" to a PostScript printer (preferable one that's based on the Distiller PPD). During this step you need to be able to set the PostScript file name. In the second step, you then take this PostScript file and call Distiller to convert it to a PDF file. The Acrobat 5 SDK does contain all the information you need to get this working. The Distiller API has changed since Acrobat 5, but everything that's described in the old SDK is still working.

However: You cannot use any part of Acrobat when you run your application on a server. The Acrobat EULA does not allow you to do this with one exception: If every user who can potentially use your server has a license for the full version of Acrobat, you can use Acrobat (or Distiller) on a server, in any other case it's not licensed.

Avatar of sp400

ASKER

I think a lot of people are using pdfwriter along with some automation from any language, because the simplicity.
Sould be good found any other solution that works in an similar way:
- use an pdf printer driver
- before to open printer sends filename
- prints

anyway, the license issue in Win2003Server are a big problem, because -in my case- the win20003server are not an "multiuser" server, only used for autentication users to domain, then why I can't use as an normal PC?

btw, sould be great if anybody knows an replacement in similar way (using pdf printer driver capable to create pdf filename without saveas dialog).

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Karl Heinz Kremer
Karl Heinz Kremer
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
PDF995 (http://www.pdf995.com/) does (according to their web site) support three "auto-name options" that avoid the "Save As" dialog.
khkremer, how does you enable/disable those options?