CLI & libraries
Use ESCPost from the command line, Rust applications, or Python projects.
ESCPost is a Rust CLI and library for building, testing, and debugging ESC/POS integrations. Render receipts and labels without hardware, capture and preview print jobs through a virtual network printer, then print to USB or network devices.
$ escpost --help
Usage: escpost <COMMAND>
Six components cover the path from previewing a print job to integrating local hardware and production cloud printing.
Use ESCPost from the command line, Rust applications, or Python projects.
escpost serve 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.
Automatically discover USB printers or add network printers by address. Save printers by name so scripts do not need USB or network settings.
Printer profiles help ESCPost 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.
Use ESCPost to develop ESC/POS integrations for Receiptful.io, a managed cloud printing service, then connect receipt workflows to deployed printers.