Printman Icon
Printman
⚡ Silent • Headless • Windows 10 & 11

Batch Print PDF from Command Line on Windows

The zero-dependency CLI tool built for automated PDF printing. No Adobe Reader popups, no ghost windows, no third-party runtimes. Silent, fast, and scriptable.

PowerShell / Command Prompt
Silent Batch

# Print all invoices silently to warehouse laser printer

PS > printman.exe "C:\Invoices\*.pdf" -printer "HP LaserJet 4250" --duplex vertical

# Output: 14 files discovered, 42 pages rendered at 300 DPI, spooled successfully (Exit 0)

Why Command-Line PDF Printing on Windows is Broken

For years, developers and IT administrators have relied on fragile workarounds that fail in automated environments.

✕

PowerShell Verb: Print

Start-Process file.pdf -Verb Print pops up Adobe or Edge, steals focus, often hangs open, and cannot select duplex or paper trays.

✕

Adobe Acrobat /t Switch

Requires expensive desktop licensing, spawns multiple AcroRd32.exe processes that stay orphaned in Task Manager, and blocks unattended scheduled tasks.

The Solution
✓

Printman CLI

Single native executable. Zero GUI windows. Spools directly to the Windows Print Spooler with full control over copies, page ranges, orientation, and duplexing.

CapabilityPrintmanPowerShell Verb PrintAdobe Reader /tSumatraPDF
Zero Third-Party Dependencies✓ Native BCL✕ Depends on default app✕ Requires Adobe~ External GUI app
Truly Headless (No GUI Popups)✓ 100% Silent✕ GUI flashes✕ GUI flashes✓ Silent switch
Batch & Wildcard Support✓ *.pdf Built-in~ Custom loop required✕ Single file only✕ Single file only
Page Range Selection✓ -pages 1:3,5✕ Not supported✕ Not supported~ Limited ranges
Duplex & Color Overrides✓ Full CLI flags✕ System default only✕ System default only~ Partial
Clean Exit Codes & Scriptable✓ Exit 0 / 1✕ Unreliable✕ Leaves process open✓ Supported

Copy-and-Paste Automation Recipes

Drop these ready-to-use snippets into your Windows batch scripts, PowerShell pipelines, or Task Scheduler.

1Batch print all PDFs in a folder to a specific printer

PowerShell
printman.exe "C:\Billing\Invoices\*.pdf" -printer "Office HP LaserJet" --copies 1

2Print cover and summary pages in double-sided grayscale

CLI Syntax
printman.exe report.pdf -printer "Canon C5235" -pages 1:3 -duplex vertical -color grayscale

3Automated folder watch & archive loop (Windows Task Scheduler)

PowerShell Script
$inbox = "C:\PrintQueue\Incoming"
$archive = "C:\PrintQueue\Archive"

Get-ChildItem -Path "$inbox\*.pdf" | ForEach-Object {
    & "C:\Tools\printman.exe" $_.FullName -printer "Shipping Zebra ZP450"
    if ($LASTEXITCODE -eq 0) {
        Move-Item -Path $_.FullName -Destination $archive -Force
    }
}

Frequently Asked Questions

How do I batch print all PDF files in a folder on Windows?

With Printman, run: printman.exe C:\Path\To\Files\*.pdf -printer "Your Printer Name". It silently queues and prints every PDF matching the wildcard in order without opening Adobe Acrobat or any GUI window.

Why not use PowerShell Start-Process -Verb Print?

Start-Process -Verb Print delegates to the default PDF application (such as Adobe Reader or Microsoft Edge). This causes application windows to flash on screen, often fails to close the viewer automatically, and cannot reliably target specific non-default printers, page ranges, or duplex settings.

Does Printman require Adobe Acrobat or SumatraPDF installed?

No. Printman is completely standalone and zero-dependency. It uses Windows native WinRT PDF rendering (Windows.Data.Pdf) at 300 DPI, requiring no third-party PDF viewers, Adobe licenses, or ghostscript.

Can I select specific page ranges or duplex printing from the command line?

Yes. Printman supports granular flags: -pages 1:5 (or 1,3,5), -duplex vertical/horizontal, -orientation portrait/landscape, -color color/grayscale, and -copies <number>.

Can I integrate Printman into automated scripts and CI/CD pipelines?

Yes. Printman runs headless, emits clean exit codes (0 for success, non-zero for failure), and outputs structured text or logs suitable for PowerShell scripts, scheduled tasks, and automated ERP/invoice workflows.

Ready for Effortless Command-Line Printing?

Download Printman for Windows today. A single 60MB self-contained executable with zero prerequisites.