Skip to main content
Participant
March 17, 2022
Question

Need command line to Open Print as "Microsoft Print To PDF" and Save the PDF document

  • March 17, 2022
  • 1 reply
  • 1423 views

I need command line to print and save the document.

 

Because I have PDF document which contains all the form fileds, When i tried to view this PDF file in web viewer. I am unable to view it and PDF file will get pages will get reduced (It will overlap the data).

This type of document can be viewer only in Adobe redaer destop verion.

 

To Overcome this i have trying to print and save the PDF document.

This is the commad which i have tried.

Acrobat>Acrobat.exe /t "C:\Repsitory\Samples\EAForms\eAF KLD_Result.pdf" "Microsoft Print To PDF" Save "C:\Users\Desktop\test.pdf"

 The above commad is not working not able to save the document.

 

  1. What is the possiable option to view the form filed PDF document in web viewer ?
  2. Any Command line to print and save the PDF document ?

 

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
March 17, 2022

1. That depends on the viewer. What you're trying to do is basically "flattening" the file, but in the worst possible way. You can flatten it directly, using this script:

this.flattenPages();

 

2. No.

 

PS. This is really a question about Acrobat, not Reader. In the future please use this forum:

https://community.adobe.com/t5/Acrobat/bd-p/acrobat