mirror of
https://github.com/python-escpos/python-escpos
synced 2025-09-13 09:09:58 +00:00
Add null terminator when printing barcode of type A, issue #58
This commit is contained in:
@@ -440,6 +440,9 @@ class Escpos(object):
|
||||
else:
|
||||
raise BarcodeCodeError()
|
||||
|
||||
if function_type.upper() == "A":
|
||||
self._raw("\x00")
|
||||
|
||||
def text(self, txt):
|
||||
""" Print alpha-numeric text
|
||||
|
||||
|
Reference in New Issue
Block a user