https://github.com/nzeemin/escparser
ESCParser command-line utility, ESC/P printer emulator.
https://github.com/nzeemin/escparser
epson-printer escp printer printer-emulator robotron
Last synced: about 1 month ago
JSON representation
ESCParser command-line utility, ESC/P printer emulator.
- Host: GitHub
- URL: https://github.com/nzeemin/escparser
- Owner: nzeemin
- Created: 2022-11-30T15:33:33.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-01T16:31:20.000Z (over 2 years ago)
- Last Synced: 2025-03-26T02:51:08.560Z (about 2 months ago)
- Topics: epson-printer, escp, printer, printer-emulator, robotron
- Language: C
- Homepage:
- Size: 193 KB
- Stars: 10
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ESCParser — command-line utility, ESC/P printer emulator.
The current implementation is very close to **Robotron CM 6329.01M** printer. Also the utility uses the font from the printer ROM to "print" symbols.ESCParser can produce several output formats:
* PostScript — with multi-page support. Use GSView + Ghostscript to view the output and convert it to other formats.
* SVG — no multi-page support. You can view the result in any modern web browser.
* PDF — with multi-page support, zlib is used to compress the blobs. Use Adobe Acrobat Reader or any modern browser to view the result.Usage examples:
```
ESCParser -ps printer.log > DOC.ps
ESCParser -svg printer.log > DOC.svg
ESCParser -pdf printer.log > DOC.pdf
```
NOTE: '-' character used as an option sign under Linux/Mac, '/' character under Windows.Test sample with ESCParser produces the following result (converted to PNG):

#### See Also
* [nzeemin/robotron-dotmatrix-font](https://github.com/nzeemin/robotron-dotmatrix-font) — Robotron dot matrix printer font as a web font
* [shokre/node-escprinter](https://github.com/shokre/node-escprinter) — "ESC/P2 printer command emulator with SVG output.", ESCParser NodeJS conversion by shokre.
* [epsonps](https://github.com/christopherkobayashi/TI99Utilities/tree/master/printer_listener/epsonps)