Printing from command line with parameters: grayscale, centre, envelope C5?

The PDF-XChange Viewer for End Users
+++ FREE +++

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

TedSemiconductor
User
Posts: 1
Joined: Sat Apr 08, 2023 9:22 pm

Printing from command line with parameters: grayscale, centre, envelope C5?

Post by TedSemiconductor »

Hi. I'm trying to make a command for the command line that will send a PDF to my printer with the printer settings: grayscale, Envelope C5 and auto-centre. I tried to get help from ChatGPT but I think it's just giving me commands that don't exist/aren't accepted. Can anyone tell me whether what I'm trying to do is even possible with PDFXchange Viewer?

subprocess.run(["B:\\Program Files\\Tracker Software\\PDF Viewer\\PDFXCview.exe", "/print:default=no&printer="Canon TS5050"", "/color=Grayscale", "/papername=Envelope C5", "/center=On", "output.pdf"])
User avatar
Dimitar - Tracker Supp
Site Admin
Posts: 1797
Joined: Mon Jan 15, 2018 9:01 am

Re: Printing from command line with parameters: grayscale, centre, envelope C5?

Post by Dimitar - Tracker Supp »

Hello TedSemiconductor,

The PDF Viewer is an old and discontinued product, so you will have more success using its successor, the PDF Editor:

https://www.pdf-xchange.com/product/downloads

Here you can find all the needed commands:


https://help.pdf-xchange.com/pdfxe ... ns_ed.html

You may also point the AI to this manual so it can learn from it.

Regards.