Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Script for Print Adobe PDF

Community Beginner ,
Apr 30, 2021 Apr 30, 2021

Copy link to clipboard

Copied

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!

Views

202

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 30, 2021 Apr 30, 2021

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 30, 2021 Apr 30, 2021

Copy link to clipboard

Copied

LATEST

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 PDFScripting
Use the Acrobat JavaScript Reference early and often

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines