How to write command line: print N copies of a file

This Forum is for the use of End Users requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers only - Please do not post requests for older versions of PDF-XChange or the PDF-Tools/OFFice2PDF applications here

Moderators: Daniel - PDF-XChange, PDF-XChange Support, Vasyl - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Stefan - PDF-XChange

Post Reply
FDJKDF
User
Posts: 6
Joined: Thu May 09, 2024 10:06 pm

How to write command line: print N copies of a file

Post by FDJKDF »

How to write command line: print N copies of a file
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 10943
Joined: Wed Jan 03, 2018 6:52 pm

Re: How to write command line: print N copies of a file

Post by Daniel - PDF-XChange »

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,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
FDJKDF
User
Posts: 6
Joined: Thu May 09, 2024 10:06 pm

Re: How to write command line: print N copies of a file

Post by FDJKDF »

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,
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!
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19826
Joined: Mon Jan 12, 2009 8:07 am
Contact:

Re: How to write command line: print N copies of a file

Post by Stefan - PDF-XChange »

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
FDJKDF
User
Posts: 6
Joined: Thu May 09, 2024 10:06 pm

Re: How to write command line: print N copies of a file

Post by FDJKDF »

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 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.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19826
Joined: Mon Jan 12, 2009 8:07 am
Contact:

Re: How to write command line: print N copies of a file

Post by Stefan - PDF-XChange »

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
FDJKDF
User
Posts: 6
Joined: Thu May 09, 2024 10:06 pm

Re: How to write command line: print N copies of a file

Post by FDJKDF »

Tracker 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
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 printer
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 10943
Joined: Wed Jan 03, 2018 6:52 pm

Re: How to write command line: print N copies of a file

Post by Daniel - PDF-XChange »

Hello, FDJKDF

The Editor is not intended for batch processing actions, if you need to print multiple copies of multiple document in quick succession, we offer the PDF-Tools batch processing suite for that purpose. The editor should be used for actions which require direct review and editing, while Tool can be used for "rapid generic" operations.
Tools offers a Print option, though you do need to pre-define how many copies you wish to make through the tool setup, unless you enable the option to show the setup dialog while running. You can customize your PDF-Tools process here: https://www.pdf-xchange.com/knowledgeba ... -PDF-Tools
Beyond that, you are also able to dictate many PDF-Tools actions via the command line, including defining multiple input files at once: https://help.pdf-xchange.com/pdfxt10/co ... ons_t.html

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Post Reply