I need to create PDFs silently via printing but the functionality found in the SDK sample AdobePDFSilent will not suffice because I need to use the API of the native app (Autodesk Inventor) to set up the printing paramaters and to submit the print. Actually I'm using an interfaceless version of Autodesk Inventor called Apprentice to do the printing because it's much faster than Inventor plus Apprentice won't error out like Inventor would when file references are missing due to where I'm opening the file from which is the file store of a document management system (Autodesk Vault Professional). Apprentice cannot be set as the associated application to the files extension (idw - drawing file) for the purpose utilizing the functionailty in AdobePDFSilent. Is there another way?
From what I can see in AdobePDFSilentVB the code launches the associated app to the file extension. Are you saying my understanding is incorrect concerning AdobePDFSilentVB or are you saying another part of the SDK is capable of what I need?
Thanks for the reply.
Assuming you are doing this on Windows, you can control this via registry
keys. Take a look at the Distiller API document (you can find the relevant
portion of this document here:
You still have to print to the Adobe PDF printer.
Karl Heinz Kremer
PDF Acrobatics Without a Net
Thanks for the help Karl but that won't work for me because the example you give sets up distiller to openthe file then print to PDF. Here my situation. The file to print to PDF are Autodesk Inventor drawing files (idw extension). These file contain references to another file(s) and if distriller opens the drawing file then Inventor would have to locate the reference which is one of the problems. This problem is the drawing file is in the file store folder structure of a document management system (Autodesk Vault Pro) and the drawing file would not be able to find the reference file due to the store folder structure plus all files in the file store have been renamed to something only the document management system can decipher. I must use Inventor to open the file via its API so I can disregard the missing reference. Also, there are many printing paramters some of which are not common to printing in general because they're specific to Inventor drawings. I set the printing paramaters via the Inventor API and submit the print.
Europe, Middle East and Africa