mirror of
https://github.com/python-escpos/python-escpos
synced 2025-12-02 09:43:30 +00:00
added possibility to justify center
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user