The ESC/POS developer workbench

Build, test, and debug ESC/POS printing.

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.

READ: BINARY FILES · HEX FILES · STDINPREVIEW: PNG · BROWSERPRINT: USB · NETWORK

Find the command.
See what it printed.

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.

A rendered café receipt beside its ESC/POS commands. The selected raster-image command highlights the coffee-cup logo on the receipt. A rendered café receipt beside its ESC/POS commands. The selected raster-image command highlights the coffee-cup logo on the receipt.
The workbench connects raw bytes to visible output, so you can trace a printing problem to the command that caused it.

Your first receipt.
No hardware needed.

Install PrintCat, download the sample, and preview it locally. Keep the terminal in the folder where you saved the file.

  1. Install PrintCat

    Use Homebrew to install the command-line tool and its browser workbench.

    brew install duala-digital/tap/printcat
  2. Render a sample receipt

    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.

  3. Inspect it in the workbench

    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.

ESC/POS development,
end to end

Preview receipts, debug POS output, find printers, and connect local printing to your applications.

CLI & libraries

Use PrintCat from the command line, Rust applications, or Python projects.

  • Rust CLI and reusable libraries
  • Python rendering library
  • Binary, hex, stdin, and saved test case inputs

Virtual IP printer

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.

  • Accessible only from your computer by default
  • Compatible with network printing on port 9100
  • Automatically separates incoming print jobs

USB & IP printers

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.

  • USB and network printer discovery
  • Network printer connectivity checks
  • Saved printer configurations

Printer profiles

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.

  • Built-in printer profile library
  • Profiles tested against real printers
  • Generic profile for unknown printers

PNG & web preview

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.

  • Pixel-accurate receipt rendering
  • Multiple receipts from one print job
  • Integer zoom and automatic file watching

Print from your web app

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.

  • List printers and send raw receipt bytes
  • Approve printing access per website
  • QZ Tray compatibility shim

Know what to expect.

PrintCat previews printable geometry and dot positions. Paper texture and a printer’s proprietary ROM fonts are not reproduced.

Platforms and connections

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

Cloud printing in PrintCat is planned. Receiptful provides managed cloud printing as a separate product.