Paper size being ignored in CLI #5632
Replies: 2 comments 1 reply
-
|
1 avoid silent it does not realy help until you know there are no problems then try add it but the syntax should be based on query the printer for defaults so default is clearly A4 and to get otherwise means check options OR have another copy of driver preset to A3 |
Beta Was this translation helpful? Give feedback.
-
|
Thank you @GitHubRulesOK Took a bit of trying, but got it working. I used the utility 'PrinterInformation.exe --ListPapers "WF-C869R Series(Network)"' to get the paper settings. My command that worked correctly is SumatraPDF-3.6.1-64.exe -print-to "WF-C869R Series(Network)" -print-settings 5,fit,paperkind=8 "file.pdf". The argument paper=A3 did not work in my setup. On the printer settings, I had to make the paper source and paper type both auto select, else it always wanted to print to the paper source setting. I would only ask that some documentation on the paperkind option is added in Command-line arguments. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
I am trying SumatraPDF-3.6.1-64 and having an issue that I cannot print to A3 paper. My printer has both an a4 and an a3 cassette, but no matter what I settings I use, it always want to print on the A4. I feel I am making a simple mistake.
In the following examples, I put bin=2 as that is where the A3 paper is, else it always printed from bin 1 where the A4 paper is. It complains of a paper mismatch and wants me to put a4 paper in bin2.
SumatraPDF args: -print-to | "WF-C869R Series(Network)" | -print-settings | 4-5,color,simplex,fit,bin=2,paper="A3 297 x 420 mm" | -silent | "c:..pdf"
SumatraPDF args: -print-to | "WF-C869R Series(Network)" | -print-settings | 3-4,color,simplex,fit,bin=2,paper="A3" | -silent | "c:..pdf"
SumatraPDF args: -print-to | "WF-C869R Series(Network)" | -print-settings | 3-4,color,simplex,fit,bin=2,paper=A3 | -silent | "c:..pdf"
SumatraPDF args: -print-to | "WF-C869R Series(Network)" | -print-settings | 3-4,color,simplex,fit,bin=2 | -silent | "c:..pdf"
Some assistance would be appreiciated.
Beta Was this translation helpful? Give feedback.
All reactions