mirror of
https://github.com/python-escpos/python-escpos
synced 2025-07-15 08:43:30 +00:00

This was tested on ZJ-5890 with success. By default centering is deactivated for backward compatibility. Trying to center a QR code in native mode will raise an exception as we do not know ATM if the native rendering is centered by default or not. * Added basic tests for center feature * Check image size before centering