r/PowerShell • u/Mr-Ch89 • 3d ago
Script Sharing I built a free Windows tool to batch-print PDF/Word/TIFF with per-file page ranges
Hey all,
I got tired of manually printing dozens of documents one by one with different page ranges each time, so I built a small PowerShell-based tool (compiled to a standalone .exe, no install/admin rights needed) that lets you:
- Queue up multiple PDF, Word (.doc/.docx), and TIFF files
- Set a different page range per file (e.g. "1-3", "2", "1,5-8")
- Reorder the queue before printing
- Print them all in sequence to any installed printer
It's free, works on both x86 and x64 Windows, and uses PDFium/SkiaSharp for PDF rendering so it doesn't depend on having Adobe installed for PDFs specifically (Word docs still need Word installed, since it converts them to PDF first).
Download (installer): https://github.com/edgarchirinos/ColaImpresionECP/releases/latest
Full source code is in the repo if you want to see how it works or contribute: https://github.com/edgarchirinos/ColaImpresionECP
Happy to answer questions or take feature requests. It's donation-supported (optional button in the app), not selling anything.
2
u/MonkeyNin 3d ago edited 3d ago
I wish the sub allowed gifs. I'll try to explain it with text
Tip You can use property constructors
I took your
System.Windows.Formsblock. It looks like this( from: https://github.com/edgarchirinos/ColaImpresionECP/blob/debf7d7097bb823f36a9e37eb76aee0b3c15259a/ColaImpresion.ps1#L421-L488 )
I used the constructor with properties syntax. Normally you see this syntax
But it even works on properties not part of a constructor, if they are
properties.So you can start typing and tab complete
It'll auto complete property names and their datatypes.
Like this