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

HOTFIX bracode: use proper NUL character instead of unicode-string

This commit is contained in:
Patrick Kanzler
2016-03-16 23:23:42 +01:00
parent e43e95bcff
commit f76db4e0d4

View File

@@ -451,7 +451,7 @@ class Escpos(object):
raise BarcodeCodeError()
if function_type.upper() == "A":
self._raw("\x00")
self._raw(NUL)
def text(self, txt):
""" Print alpha-numeric text