No description
- Rust 100%
| examples | Start with tty mode but feed doesnt work | |
| src | display missing code point in error message | |
| tool | add codepage encoding support | |
| .gitignore | raster image printing | |
| Cargo.lock | add codepage encoding support | |
| Cargo.toml | add codepage encoding support | |
| Readme.md | cli doc + raw print | |
simple-escpos
A Rust library for generating EPSON ESC/POS printer data.
This library exposes escape codes as string constants if possible, otherwise as
structs that implement the Display trait; because of this it is very nice to use
with the write! macros.
Printer tool
This repository also contains a printing utility (escpos-print).
Utility for operating EPSON ESC/POS compatible printers
Usage: escpos-print [OPTIONS] <COMMAND>
Commands:
cut Perform full cut
text Print text file / raw ESC/POS
markdown Print markdown file
raster Print raster image
tty Run command in pseudo terminal; print output
help Print this message or the help of the given subcommand(s)
Options:
-p, --printer-device <PRINTER_DEVICE>
Specify to printer device node; also accepted from env ESCPOS_PRINTER_DEVICE
-P, --printer-address <PRINTER_ADDRESS>
Specify to printer network address; also accepted from env ESCPOS_PRINTER_ADDRESS
-n, --no-cut
Don't cut after printing
-h, --help
Print help
License
AGPL-3.0-only