Normally speaking, when printing PDF file we have to do setting part in the printer. If the printer has some limitation, we can print PDF file as we need. Those limitations will make printing job has to be done around the printer. In this article, I will share one method of printing PDF file controlled by command line either by hand or from remote accession and allows you to select page manually. The software I used here is VeryPDF PDFPrint Command Line, which also can help you print other file formats directly from command line. In the following part, I will show you how to use this software.
Step 1. Download PDFPrint Command Line
- When go to download page, you will find there are server version and developer version. Under one Server License, you can use the corresponding SOFTWARE on exactly one server computer that offers service to clients. If the SOFTWARE contains source codes, you have the right to modify and reuse the codes under the Server License. Under one Developer License, you can integrate the corresponding SOFTWARE into your developed software and redistribute it with royalty-free. If the SOFTWARE contains source codes, you have the right to modify and reuse the codes under the Developer License. Please choose the proper version according to your needs.
- When downloading finishes, there will be a zip file. You need to extract it to some folder then you can find the executable file in extracted folder and call it from MS Dos Windows.
Step 2. Print PDF and select page manually.
- Here is the usage for your reference: pdfprint.exe [options] [Options] <PDF Files>
- When choose page range during printing, the following two parameter will be helpful.
-firstpage <int> : first page to print, from 1 to max page
-lastpage <int> : last page to print, from 1 to max page
Here are some examples for your reference.
pdfprint.exe -printer "docPrint" -firstpage 1 -lastpage 1 C:\input.pdf
by this command, you can control printing page range manually and specify to print some page of PDF file. If you have printer connected with computer, you can do the printing job even if you are at home.
So you do not need to stay at office every hour if you have this software installed. It can help you escape from boring printing life and spare much more time to your family and friends.
There are more functions of this software, please check related parameters in readme.txt. In our knowledge, we will publish more articles about this software. If you are interested in it, please pay more attention here. During the using, if you have any question, please contact us as soon as possible.