How to print files and set printer setting through command line operations?

Normal printing, we need to set printer setting on printer. If your printer is not so high-level, you need to do some jobs repeated and manfully. So printing job will not be so easy. In this article, I will introduce software named VeryPDF PDFPrint Command Line for you, by it you can print files like PDF, OpenOffice, HTML Documents, MS Office and so on so forth easily through command line operations. In the following part, I will show you how to use this software.

Step 1. Download PDFPrint Command Line

  • When downloading finishes, there will be a zip file. Please extract it to some folder then you can find the executable file.
  • In the extracted folder, you can find help document, executable file and bat file.  By the bat file, simply double click it then you check software working effect at once.

Step 2. Print Files and set printer settings by command line.

  • When you use this software, please refer to the usage and examples. Here is the usage for your reference:
    pdfprint.exe [options] [Options] <PDF Files>
  • When printing file, please refer to the following command line templates.
  • Print MS Office, TXT, HTML files:
       pdfprint.exe C:\test.odt
       pdfprint.exe C:\
       pdfprint.exe C:\test.doc
       pdfprint.exe C:\test.docx
       pdfprint.exe C:\test.ppt
       pdfprint.exe C:\test.pptx
       pdfprint.exe C:\test.pps
       pdfprint.exe C:\test.ppsx
       pdfprint.exe C:\test.xls
       pdfprint.exe C:\test.xlsx
       pdfprint.exe C:\test.rtf
       pdfprint.exe C:\test.txt
       pdfprint.exe C:\test.html
       pdfprint.exe C:\test.mhtml
       pdfprint.exe C:\test.xml

    When printing those files, you do not need to do any setting, simply input full path of file then you can print those formats file directly.

  • When you need to do setting part in printer, please use the following parameters.
  • -prompt : this parameter can help you prompt the user with the print dialog so they can change printer settings and/or select pages manually
    -printer <string>: when you need to name printer to print files, please add this parameter.
    -savedevmode <string>: this parameter can help you prompt the user with print dialog and save the printer settings into a disk file.
    -loaddevmode <string> :this parameter can help you restore printer settings which saved by -savedevmode parameter.
    -promptdevmode : when you need to prompt the user with print dialog and print the printer settings to screen, please add this parameter.
    -devmode <string> : this parameter can help you restore printer settings which outputed by –promptdevmode.
    Please note when you use software promptdevmode, you need to use -savedevmode first or else this parameter’s function will fail.

This software also can help you specify printing copies, printing paper formats, printing scale rate. If you need to know more about the parameters, please read them in readme.txt as I can not list all of them here. During the using, if you have any question, please contact us as soon as possible.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Random Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Verify Code   If you cannot see the CheckCode image,please refresh the page again!