Fix python3 barcode type b length encoding
This commit is contained in:
parent
ca3b4665a2
commit
14ae1a7d89
|
@ -442,7 +442,7 @@ class Escpos(object):
|
||||||
self._raw(bc_types[bc.upper()])
|
self._raw(bc_types[bc.upper()])
|
||||||
|
|
||||||
if function_type.upper() == "B":
|
if function_type.upper() == "B":
|
||||||
self._raw(chr(len(code)))
|
self._raw(six.int2byte(len(code)))
|
||||||
|
|
||||||
# Print Code
|
# Print Code
|
||||||
if code:
|
if code:
|
||||||
|
|
Loading…
Reference in New Issue