Skip to main content
Participant
Apr 15, 2021 11:05 AM UTC
Question

Print with command line

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 is closed to new replies. Start a new post to keep the conversation going.

12 replies

Legend
Apr 15, 2021 1:27 PM UTC

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.

Translate
try67
Community Expert
Community Expert
Apr 15, 2021 1:28 PM UTC

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

Translate
try67
Community Expert
Community Expert
Apr 15, 2021 12:51 PM UTC

You can specify the following settings only:

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

Translate
Petr5C54Author
Participant
Apr 15, 2021 1:04 PM UTC

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

Thanks!

Translate
try67
Community Expert
Community Expert
Apr 15, 2021 1:28 PM UTC

No.

Translate