Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 743 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 743 Bytes

Thermal ESC/POS Ticket Printing Library

The Thermal Library implements lots of commands according to the ESC/POS standard:

  • Start the serial connection with the printer
  • Format text: emphasis, underline, align, character size, text rotation, inverted colors (white text and black background).
  • Change between small or standard font size
  • Resize and print bitmaps given as a arbitrary image format (JPEG,PNG...)

Here you can find two sample programs which use the Thermal Library:

  • A preview generator: preview.py
  • A sample printing program: ThermalPhoto.py

Some samples:

In

Out