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>