From c1d985eeaf98d369388acabb952972ca0ad72dce Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Sat, 28 Nov 2015 14:22:54 +0100 Subject: [PATCH] FIX constant definition for PC1252 * fixes #40 * according to the table http://content.epson.de/fileadmin/content/files/RSD/downloads/escpos.pdf --- escpos/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/escpos/constants.py b/escpos/constants.py index 7511365..09a833a 100644 --- a/escpos/constants.py +++ b/escpos/constants.py @@ -42,7 +42,7 @@ CHARCODE_PC865 = '\x1b\x74\x05' # Nordic CHARCODE_WEU = '\x1b\x74\x06' # Simplified Kanji, Hirakana CHARCODE_GREEK = '\x1b\x74\x07' # Simplified Kanji CHARCODE_HEBREW = '\x1b\x74\x08' # Simplified Kanji -CHARCODE_PC1252 = '\x1b\x74\x11' # Western European Windows Code Set +CHARCODE_PC1252 = '\x1b\x74\x10' # Western European Windows Code Set CHARCODE_PC866 = '\x1b\x74\x12' # Cirillic #2 CHARCODE_PC852 = '\x1b\x74\x13' # Latin 2 CHARCODE_PC858 = '\x1b\x74\x14' # Euro