added possibility to justify center
This commit is contained in:
parent
52719c0b7d
commit
4c5322955b
@ -230,7 +230,7 @@ class Escpos(object):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if center:
|
if center:
|
||||||
raise NotImplementedError("Centering not implemented for native QR rendering")
|
self._raw(b'\x1Ba\x01')
|
||||||
|
|
||||||
# Native 2D code printing
|
# Native 2D code printing
|
||||||
cn = b'1' # Code type for QR code
|
cn = b'1' # Code type for QR code
|
||||||
|
Loading…
x
Reference in New Issue
Block a user