added possibility to justify center

This commit is contained in:
Matthias Bilger 2018-12-03 20:15:44 +01:00
parent 52719c0b7d
commit 4c5322955b

View File

@ -230,7 +230,7 @@ class Escpos(object):
return
if center:
raise NotImplementedError("Centering not implemented for native QR rendering")
self._raw(b'\x1Ba\x01')
# Native 2D code printing
cn = b'1' # Code type for QR code