1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-06-25 08:38:43 +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
No known key found for this signature in database
GPG Key ID: F07F07153306FCEF

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