erp5_printer: integrate changes from zawee