1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-09-13 09:09:58 +00:00

ADD inverted printing to set method

This commit is contained in:
Dean Rispin
2016-02-29 10:04:00 -08:00
committed by Patrick Kanzler
parent 8000cf258b
commit 7c98de6727
3 changed files with 13 additions and 3 deletions

View File

@@ -64,6 +64,8 @@ TXT_FONT_B = ESC + '\x4d\x01' # Font type B
TXT_ALIGN_LT = ESC + '\x61\x00' # Left justification
TXT_ALIGN_CT = ESC + '\x61\x01' # Centering
TXT_ALIGN_RT = ESC + '\x61\x02' # Right justification
TXT_INVERT_ON = GS + '\x42\x01' # Inverse Printing ON
TXT_INVERT_OFF = GS + '\x42\x00' # Inverse Printing OFF
# Char code table
CHARCODE_PC437 = ESC + '\x74\x00' # USA: Standard Europe