Skip to main content
Participant
April 15, 2021
Question

Print with command line

  • April 15, 2021
  • 2 replies
  • 21855 views

Hello, I'd like to print with a command line, but when I execute adobe reader with the command /t, then a PDF file is printed on a default printer. Is it possible to print with a command line and set printer and print settings?

This topic has been closed for replies.

2 replies

Legend
April 15, 2021

No, the command line has no such options, and Reader has no API to set them. You might be able to do this with paid-for Acrobat via complex JavaScript, not sure.

try67
Community Expert
Community Expert
April 15, 2021

No, it's the same for both applications. And JS can't be used from the command-line.

try67
Community Expert
Community Expert
April 15, 2021

You can specify the following settings only:

/t <filename> <printername> <drivername> <portname>

Petr5C54Author
Participant
April 15, 2021

So i cannot set page orientation, number of pages, etc.?

Thanks!

try67
Community Expert
Community Expert
April 15, 2021

No.