How to write command line: print N copies of a file
Posted: Thu May 09, 2024 10:15 pm
How to write command line: print N copies of a file
PDF-XChange Community Forum - Support for our products - PDF XChange Editor, PDF XChange Tools, PDF XChange Standard, PDF XChange PRO
https://forum.pdf-xchange.com/
While the print command doesn't allow CMD to define most settings, some of the basic ones should be there, such as printing N copies of a certain file. I've gone through the link you posted and can't find where it states this, can you provide a little more help, just a very common need, thanks!TrackerSupp-Daniel wrote: ↑Thu May 09, 2024 10:30 pm Hello, FDJKDF
The print command does not allow for CMD definition of most settings. You will need to manually access the print dialog to alter that setting.
You can find all Editor command line options here: https://help.pdf-xchange.com/pdfxe10/co ... ns_ed.html
Kind regards,
I think pdfxchange is a very good product, and I hope that such a function can be added (I think this is relatively common). In addition, if you use the operation of sending several commands in a loop, the efficiency will be greatly reduced. If you need to print 10 copies of a certain file, the time will be multiplied by 10. I think this is unreasonable.Tracker Supp-Stefan wrote: ↑Fri May 10, 2024 9:51 am Hello FDJKDF,
As you have seen on the page Dan linked above - we do not have a parameter for printing multiple copies for the command line.
If you are writing a script that will be calling that command line - then in your script add the necessary code that will call the same command line the needed number of times so that you can print your desired number of copies.
And if you are not writing a script - then running the Editor with the UI and printing there the desired number of copies is your other solution.
Kind regards,
Stefan
I am automating cmd printing by calling this software with automation and it comes out with automatic binding, the only problem now is that it takes too long to send the file to the printerTracker Supp-Stefan wrote: ↑Fri May 10, 2024 10:53 am Hello FDJKDF,
I do not think there are plans for the command line options to be extended, though I will check.
Still the slowest point of the operation should be the printer getting the sheets of paper out. Yes - a bit more CPU time will be used as well, but it should not be too much of a slowdown as the Printer will always be the bottleneck.
Kind regards,
Stefan