Home / How to / How to Batch Print Multiple Files from a List

How to Batch Print Multiple Files from a List

2Printer can print all files listed in a text file. It can be very convenient if you have the same documents for repeated printing. Or you already have paths to files that are stored in different locations. If you don't have a list yet, it's easy to create it. Once you have the list with file paths, specify it as a source (-src) and execute the 2Printer command to start batch printing.

If you already have a list of files

Use this command line as an example:

2Printer.exe -src "@C:\List\docs.txt" -prn "iR C3025"

Input "Your-printer-name" instead of "iR C3025". Follow this tutorial if you don't know the exact name of your printer.

Use the @ symbol at the beginning of the path to indicate that it is a list. Otherwise, 2Printer will try to print the list file itself.

If you don't have a list of files yet

If you don't have a list of the paths yet, follow the steps below.

How to create a list with file paths

1. Locate all files in one folder

Choose a folder where files are located or collect the needed files in one folder, for example, at C:\Files to print. The number of documents that can be listed is unlimited.

Locate all files in one folder

2. Copy file destinations to clipboard

Select all or several files in the folder. While holding Shift, click the right mouse button (RMB). In the context menu choose Copy as path:

Copy file destinations to clipboard

3. Create a plain TXT file

Then create a new text document and name it. For example, navigate to folder C:\List and create a new plain text file “docs.txt”. 

Open it and paste clipboard data via Ctrl+V or Right-click Paste.

As a result, you'll get a document with file destinations:

Plain text file containing file paths

Having difficulty getting file paths of multiple files and saving them as a list? See our video tutorial.

4. Save it on your computer

The "docs.txt" with a list of paths on the screenshot above should be saved as a Unicode (UTF-8) or ANSI plain text file. Each file path should start from a new line.

5. Run 2Printer command with list

Finally, execute a command with your newly created TXT file as a source (-src). Don't forget to use the @ symbol at the beginning of the path, for example:

2Printer.exe -src "@C:\List\docs.txt" -prn "iR C3025"

If you did everything correctly, you will see 2Printer printing:

Printing a list of files with 2Printer

Tips and tricks

A list of documents may be not only plain text (TXT). Comma-Separated Values files (CSV) can be used as well. Your .csv list should be saved with Unicode (UTF-8) encoding. This way, you can use file lists created in Excel.

With 2Printer, you can batch convert files to images. You can do it using 2Printer with virtual printers like Universal Document Converter or Microsoft Print to PDF.

Within one command, you can set many sources for files (-src) to print files from at the same time! For example: -src "C:\In\*.*" "C:\Docs\*.pdf" "@C:\Lists\list.txt".

Consider printing with single print job mode on. Once enabled, there's zero chance that someone else's files will get in the middle of your print job. Besides, you won't get printouts in random order – the files will go to the printer in 100% correct order, as in the list.

If printing docs from a list in the command-line interface is too complicated for you, you can do the same with another solution of ours – Print Conductor. This software has a user interface (GUI with menus and buttons). Or, you may always contact us – we will help you.


Need support or advice from our developers? Please leave us a message, and we will get back to you shortly.

Get in touch with us