Skip to content
Snippets Groups Projects
Commit 03b2f7b7 authored by Antoine Prieels's avatar Antoine Prieels
Browse files

[REF] pos: Replace hw_escpos by PrinterDriver

ESCPOS printers are now supported as IoT Devices, just like any other
printer. We now transform the receipts to JPGs, transform these JPGs
into ESCPOS commands and send them via Cups, adding support for network
printers. Since we now print images, we can now print special
characters and therefore add support for other languages such as
Arabic.

The JPG is generated in the browser, with the help of html2canvas.

`hw_escpos` is left untouched to allow backward compatibility and
should be removed when v12 is no longer supported.

In the PoS, all the code for printing has been moved from ProxyDevice
to a separated JS file.

TaskID: 1939455
parent dd7de1bc
Branches
Tags
Loading
Showing
with 7449 additions and 195 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment