With 2Printer tool you can print PDF files from Windows command line. This ability is required if system integrator need to automate printing of documents in workflow system you deployed. Or if software developer wants to release PDF printing feature in his software product.
At the first, you need to know correct name of the printer installed on your computer. Please follow this manual to get list of installed printers.
To print PDF files from a folder, click Win+R. Then enter command line like you see below and click Enter.
In case if you want to print PDF files on the system default printer, just skip the printer name parameter in the 2Printer command line:
To batch print PDF files listed in a text file, please use another command line:
You also can save different command lines as VBScript files and use them depending on the situation. VB Script example:
Also you can add the 2Printer call to Windows Task Sceduler if you want to print PDF documents saved in specified folder in regular basis. For example your employees may save all documents in a shared network folder during a day and Windows Task Sceduler will run 2Printer to print all collected files when all people went home after the workday.
Software developers can use 2Printer tool as ready printing core component in theyr own software product. Here is an example to use 2Printer in Visual C++ source code: