I want to print pdfs to a printer from a batchfile.
PDFXEdit /print:printer="Brother MFC-7360N Printer (Service)";pages=1 "C:\1\my test dokument.pdf"
For tests I use this command:
PDFXEdit /print:showui=yes;printer="Brother MFC-7360N Printer (Service)";pages=1 "C:\1\(20210407) Beispiel duenne Bauteillinien (2-1588-00).pdf"
I see the pdf is outside the printing area.
The documents are A3 and A4 and from and what is larger / smaller should be printed on one of these two formats.
The printer should select the appropriate sheet size.
Before printing, options must be set:
Select Paper Size by Document's Page Size
Auto-rotate page on paper
Fit to Printer Margins? For everything that is not exactly A4 or A3.
With SumatraPDF this works:
"C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe" -print-to %1 %3 -exit-on-print
%1 is the printer. %3 is the pdf to print.
For a printer only din a4:
C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe" -print-to %1 -print-settings "paper=a4,fit" %3 -exit-on-print
Print command and SOLVED
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
-
- User
- Posts: 2347
- Joined: Wed Jan 18, 2006 12:10 pm
Re: Print command and SOLVED
In the PDF-XChange Editor on-line manual, at Command Line Options, you can see what is available for "/print":
https://help.pdf-xchange.com/pdfxe9c/command-line-options_ed.html
If "default=yes" then the most recent Print-settings of PDF-XChange Editor will be used.
If this is not possible, then I am afraid that you will have to use PDF-XChange Tools instead.
(A valid license is required to generate resulting PDF's without publicity stamps)
By using Advanced > Print Document > Print Document > All Options, in PDF-Tools, you can set all the options that you like.
https://help.pdf-xchange.com/pdfxe9c/command-line-options_ed.html
If "default=yes" then the most recent Print-settings of PDF-XChange Editor will be used.
If this is not possible, then I am afraid that you will have to use PDF-XChange Tools instead.
(A valid license is required to generate resulting PDF's without publicity stamps)
By using Advanced > Print Document > Print Document > All Options, in PDF-Tools, you can set all the options that you like.
- TrackerSupp-Daniel
- Site Admin
- Posts: 8436
- Joined: Wed Jan 03, 2018 6:52 pm
Print command and
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Tracker Software Products (Canada) LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com