Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1.37 KB

README.md

File metadata and controls

25 lines (19 loc) · 1.37 KB

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