Files
odoo_source/addons/hw_drivers
Antoine Prieels 8a0e1a3f01 [FIX] hw_drivers: Long receipts make receipt printer crash
When printing a long receipt from the POS, the printer crashed, printed
random characters and needed to be rebooted to print other receipts.

The problem was that there's a limitation of height when printing
images with ESC/POS (see [ESC/POS documentation](http://www.starmicronics.com/support/mannualfolder/escpos_cm_en.pdf), page 158).

We then split the image into slices and print slices with separate
commands.

closes odoo/odoo#57512

X-original-commit: ab06df30557af90f3e704d4cfc1e6da66f7708b7
Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
Signed-off-by: Antoine Prieëls <aprieels@users.noreply.github.com>
2020-09-11 11:10:00 +00:00
..