I am trying to programatically automate creation of PDF's through Distiller by the 2-stage process of
1. Creating a post-script file by doing a print to file from the application with "Acrobat Distiller" as a printer (giving the file a ".ps" extension). then
2. Using the FileToPDF method off the Distiller object to convert the .ps file into .pdf.
My problem seems to be in creating the post-script file in the first place because the Adobe PDF settings for the Distiller "printer" keep re-setting to check "Do Not send Fonts to Distiller" which aborts the whole process. I try manually unchecking this, and then all works well until the application closes, another printer is used, etc. Then everything resets to its default value of not sending fonts to Distiller. This is something I really want to handle behind the scenes so that the users are not confronted with re-setting their printer properties every time this functionality is used. I cannot find answers to this in the Adobe Acrobat SDK, but maybe I'm missing something??
If anyone has experience with this or insights into how the printer settings can be changed behind the scene I'd love to hear from you. I did not find any promising-sounding headings or keys in the registry, but maybe there are some things that don't show up until there's a setting for them?
Thanks in Advance!
1. Creating a post-script file by doing a print to file from the application with "Acrobat Distiller" as a printer (giving the file a ".ps" extension). then
2. Using the FileToPDF method off the Distiller object to convert the .ps file into .pdf.
My problem seems to be in creating the post-script file in the first place because the Adobe PDF settings for the Distiller "printer" keep re-setting to check "Do Not send Fonts to Distiller" which aborts the whole process. I try manually unchecking this, and then all works well until the application closes, another printer is used, etc. Then everything resets to its default value of not sending fonts to Distiller. This is something I really want to handle behind the scenes so that the users are not confronted with re-setting their printer properties every time this functionality is used. I cannot find answers to this in the Adobe Acrobat SDK, but maybe I'm missing something??
If anyone has experience with this or insights into how the printer settings can be changed behind the scene I'd love to hear from you. I did not find any promising-sounding headings or keys in the registry, but maybe there are some things that don't show up until there's a setting for them?
Thanks in Advance!