-
Notifications
You must be signed in to change notification settings - Fork 10
ESCParser
Nikita Zimin edited this page Dec 2, 2022
·
7 revisions
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.
NOTE:
ESCParser project moved to it's own repository: nzeemin/escparser
ESCParser can produce two output formats:
- PostScript — with multi-page support. You can 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. 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
Test sample with ESCParser produces the following result (converted to PNG):

- shokre/node-escprinter — "ESC/P2 printer command emulator with SVG output.", ESCParser NodeJS conversion by shokre.
- epsonps