Skip to main content
Participant
April 30, 2021
Question

Script for Print Adobe PDF

  • April 30, 2021
  • 2 replies
  • 1197 views

Hello everyone can anyone help me with a script? I would need a script that when it is run prints me with the printer "Adobe PDF" with media size A4 Fit to Page and Output > Mode : Separation.
Of course, the Adobe PDF printer is a virtal printer that actually makes a save instead of printing.
Then the whole thing must be saved in the same folder as where the file was opened with the name that already owns the file plus the suffix in front of " sep_ ". THANK YOU!

    This topic has been closed for replies.

    2 replies

    Thom Parker
    Community Expert
    Community Expert
    April 30, 2021

    Actually can can automate this total process, but it's requires a couple of steps. 

    1)  Save as postscript, which can specify the file name.

    2) Open the PS file to reconvert to PDF.

    3) Now save to the desired file name and location.

     

    Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
    try67
    Community Expert
    Community Expert
    April 30, 2021

    You can't automate this process completely because you can't specify the resulting file-name in the script.

    You should try to use the Preflight tool to achieve it, instead.