Print whole folders of documents with one command
Cmd4Printer sends PDFs, Office documents, images, web pages and emails from folders, lists or URLs to any Windows printer — in the order, copies, duplex mode, tray and paper size you specify. No windows to click, no dialogs to dismiss: built for scheduled tasks, batch scripts and system integration.
- Windows 7 SP1 – 11
- .NET Framework 4.8
- Local, network and virtual printers
- English and Chinese UI
Check first, then print
Every command can be pasted straight into Command Prompt or PowerShell. Replace Office A with the name of your printer.
1. Find your printer
List the installed printers; the default one is marked.
cmd4printer -options showprnlist2. Dry run — no paper
See which files would print, how many pages and sheets, and which files cannot be opened.
cmd4printer -src "D:\Inbox\*.*" -prn "Office A" -options dryrun:yes3. Print for real
Duplex, two copies, sorted by file name.
cmd4printer -src "D:\Inbox\*.*" -prn "Office A" -props duplex:vertical copies:2 -options sort:nameControl every step of the print run
More than a hundred parameters, usable on the command line or saved as defaults in the settings window.
Batch sources
Files, folders, wildcards and subfolders; TXT/CSV/Excel lists with per-row copies, pages and printer; URLs and standard input.
Print settings
Copies, collation, duplex, color or grayscale, orientation, pages, paper and tray, with per-page tray and color.
Watermarks & barcodes
Text and image watermarks, 22 barcode types including QR, plus rotate, crop, resize and rasterize.
N-up & booklets
Up to 10 × 10 pages per sheet, or fold-and-staple booklets with automatic short-edge duplex.
Cover pages
A cover sheet before each file: built-in templates, your own HTML, or a layout from the visual designer.
Post-processing
Archive printed files, set failed ones aside, rename them with date and other macros.
Logs & exit codes
XML logs, result lists, statistics reports, JSON output and well-defined exit codes 0–6.
Unattended runs
Runs from Task Scheduler, batch files, PowerShell or your own software without any pop-ups.
When something goes wrong, your script knows
- Exit codes separate full success, partly failed batches, a missing printer and unconfirmed submissions
output:jsonreturns state, pages, sheets and job ID for every file- The failed-files list can be fed straight back in to reprint only what failed
- Per-file timeouts, files still being written are skipped, a broken file does not stop the batch
- Office conversion runs in a separate process that is cleaned up on timeout, without touching documents you have open
cmd4printer -src "D:\Inbox\*.pdf" -prn "Office A" -options output:json{
"tool": "cmd4printer",
"version": "0.2.0",
"printer": "Office A",
"items": [
{ "index": 1, "source": "D:\\Inbox\\contract.pdf", "pages": 3, "sheets": 2,
"state": "submitted", "jobId": 41 }
],
"counts": { "submitted": 1, "failed": 0, "skipped": 0 },
"exitCode": 0
}99 file extensions, one command
PDF, images, text and XPS use built-in engines; Office files are converted by the Microsoft Office installed on the PC; web pages, Markdown, EPUB and email are rendered by Edge or Chrome.
Unsupported files are skipped and reported. Requirements per format →
Free trial
The trial has every feature and no time limit; it just adds one report page at the end of each print run.
Pricing & licensing
Licensed per Windows user account: pay once, free updates within the major version, offline activation for isolated networks.
News
About Cmd4Printer
Cmd4Printer focuses on unattended printing on Windows: the same command gives the same result every time, and every file is accounted for. Each feature is checked against real printer drivers and an emulated network printer to confirm that duplex, tray, paper, copies and color arrive exactly as requested.