Add null terminator when printing barcode of type A, issue #58
This commit is contained in:
parent
d9ffb03089
commit
250455ae23
|
@ -440,6 +440,9 @@ class Escpos(object):
|
||||||
else:
|
else:
|
||||||
raise BarcodeCodeError()
|
raise BarcodeCodeError()
|
||||||
|
|
||||||
|
if function_type.upper() == "A":
|
||||||
|
self._raw("\x00")
|
||||||
|
|
||||||
def text(self, txt):
|
def text(self, txt):
|
||||||
""" Print alpha-numeric text
|
""" Print alpha-numeric text
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue