Copy link to clipboard
Copied
Hello,
I need a workaround for the "Print" Action limitation which does not allow me to "Specify settings".
Instead, when I click on the "Specify Settings", it says it will default to what my printer is set to:
This is not helpful to me b/c I have over 100+ users who use this action wizard to process their files and I cannot tell them what setting to have. Plus, they would have to do this everytime which would be annoying. It would be great if the action wizard automatically sets the setting (File >Print and then select "Adobe PDF" for the Printers). This is the setting I would want it to resort to when a user uses my action wizard. Is there a work around for this? Note, I need it to save the pdf only in this manner: File >Print and then select "Adobe PDF" for the Printers. Can a javascript be written for this?
Thanks.
Sue
Copy link to clipboard
Copied
What is the purpose of processing PDF files and printing them as PDFs? Your answer will help me provide a solution. Instead of Print for the action use Execute JavaScript and then use the following script:
var pp=this.getPrintParams();
pp.printerName="Adobe PDF";
pp.interactive=pp.constants.interactionLevel.silent;
this.print(pp);
Make sure you have the following settings in your Adobe PDF printer:
Copy link to clipboard
Copied
This won't work as a silent process. You will be prompted to enter the file name for each file. There's no way around that.
Copy link to clipboard
Copied
Yes it works. I tested it. You have to set your Adobe Printer preferences to select a default folder for the output and uncheck "View Adobe PDF results".
Copy link to clipboard
Copied
What file name is used for each file?
Copy link to clipboard
Copied
Same as the originals.
Copy link to clipboard
Copied
Weird. It never used to work until now. I guess something changed in the recent version, then.
Copy link to clipboard
Copied
Hello,
For the javascript provided by PDF Automation Station, is there a way to make it so it saves to a particular folder such as "../Prepped/" instead of having users adust their printer settings as you suggested? I have a folder where all of the processing is happening and it would be really useful to have it just save to it.
Copy link to clipboard
Copied
When you are printing to PDF using the Adobe PDF printer, you are not saving, you are sending the document to the printer with some settings set out in the getPrintParams script. The printer takes over and uses the setting preferences for those not laid out in the script. You would have to adjust the printer settings to point to your folder under "Adobe Output Folder" in the screenshot I provided. You can also make a copy of the Adobe PDF printer, name it something else, use that name in the script and only use that printer for processing this way.
Copy link to clipboard
Copied
Can you explain the last part of your suggestions - "you can also make a copy of the Adobe PDF printer, name it something else, use that name in the script and only use that printer for processing this way" - by providing an example of how one would do this with the javascript in the action wizard or preset action in the action wizard? I am not following.
Copy link to clipboard
Copied
Very good question. I thought it would be confusing if I explained why. I am finding that if I don't re-save the pdf's as in this manner: File >Print and then select "Adobe PDF" for the Printers before running them through my automatic labeling action wizard, the headers and footers get removed. The only way I found I could avoid this was to re-save them as pdf's File >Print and then select "Adobe PDF" for the Printers. Hence, I thought the best thing to do is to always re-save all of my pdf's before runnign them through my labeler action wizard.
I will try the javascript and get back to you. Thank you.
Sue