CLI & libraries
Use PrintCat from the command line, Rust applications, or Python projects.
The ESC/POS developer workbench
One workbench for receipt previews, command tracing, and physical printing. Capture jobs from your POS, discover and manage USB or network printers, and connect local printing to your applications.
Point your POS or ERP at the virtual printer. Inspect each job in the browser, with the rendered receipt beside its ESC/POS command trace.
Install PrintCat, download the sample, and preview it locally. Keep the terminal in the folder where you saved the file.
Use Homebrew to install the command-line tool and its browser workbench.
brew install duala-digital/tap/printcat
Download the sample receipt (.bin), then run:
printcat render sample-receipt.bin --profile REFERENCE > receipt.png
Open receipt.png to see the result. REFERENCE is the generic printer profile. Your own raw ESC/POS files, hexadecimal text, and stdin work too.
Start the virtual printer and web interface:
printcat serve --listen 127.0.0.1:9100 --web-listen 127.0.0.1:9000
Leave it running. In a second terminal, from the same folder, send the sample:
printcat print sample-receipt.bin --network 9100
Open http://127.0.0.1:9000 to inspect the job. You can also point your POS at 127.0.0.1:9100 as a network printer.
Preview receipts, debug POS output, find printers, and connect local printing to your applications.
Use PrintCat from the command line, Rust applications, or Python projects.
printcat serve --listen --web-listen creates a virtual network printer on your computer. Connect an application to it like a physical printer, then inspect captured print jobs in the browser.
Discover USB and network printers, or add a network printer by address. Save printers by name so scripts do not need USB or network settings.
Printer profiles help PrintCat render output accurately for different paper sizes, features, and device behavior. Use the generic profile when you do not know the printer model.
Render consistent black-and-white PNG previews or inspect results in the built-in browser. Each receipt cut produces a separate image, and watch mode rerenders changed files.
The JavaScript SDK and browser extension connect your web application to local printers. A QZ Tray compatibility shim lets existing pages keep their qz.* calls.
PrintCat previews printable geometry and dot positions. Paper texture and a printer’s proprietary ROM fonts are not reproduced.
USB and RAW TCP network printing are supported. Linux and Windows have been verified with physical printers; the Windows installer is not yet publicly released. macOS installs through Homebrew but has not yet been verified. Serial and Bluetooth connections are planned.
Cloud printing in PrintCat is planned. Receiptful provides managed cloud printing as a separate product.