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?
You can specify the following settings only:
/t <filename> <printername> <drivername> <portname>
So i cannot set page orientation, number of pages, etc.?
And is possible to show only print dialog before printing? Thank you for your answers.
Yes. Use /p instead of /t to do that.
Window is still opening with /p. I am using Acrobat Reader DC version 2021.001.20145.
Reader is designed to open the window and leave it open. It is not designed for automatic UI-less printing.
Well yes, you can't display just the Print dialog and not the application window that hosts it...
Ok, then, is possible to print without showing print dialog? 🙂
Yes, with the /t switch...
No, it's the same for both applications. And JS can't be used from the command-line.