Skip to content

ESCParser command-line utility, ESC/P printer emulator.

Notifications You must be signed in to change notification settings

nzeemin/escparser

Repository files navigation

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

About

ESCParser command-line utility, ESC/P printer emulator.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages