New Forum | Previous | Next | (P-PDF) Developers
Topic: Printer Port of Type 'Adobe PDF
Conf: (P-PDF) Developers, Msg: 93673
Date: 8/5/2003 06:43 AM
I'm trying to save my tech support crew a significant amount of work by programmatically creating a port of type "Adobe PDF" for the pseudo-printer "Adobe PDF" that writes pdf files from various Windows formats (working with Acrobat 6 Standard) - henceforth referred to as the "PDF Printer". The port I'm creating points to a network address, and can make it easier/faster to print a PDF if you always place them in the same folder (which we do.) Microsoft has a Windows 2000 Resource Kit utility called prnadmin.dll, which is able to create ports with VBScript, but unfortunately, it can only create ports of the standard types. Since an Adobe driver (that I am not familiar with) handles the setting of the path for the custom Adobe PDF port, I am unsure how to duplicate this functionality. If anyone has done this before, please provide a brief outline of what you did to automate this process. NOTE: I'm using InstallShield 4 SP1 Express, which can run VBScripts, EXEs, batch files, basically anything, during Install-time. Also, once the port is added to Windows, I can use printui.dll to bind the port to the PDF Printer. I just need this single intermediary step to completely automate the process.