receipt-print-hq / escpos-tools

Utilities to read ESC/POS print data
MIT License
200 stars 73 forks source link

HTML output: Alternative font #16

Closed mike42 closed 6 years ago

mike42 commented 7 years ago

Printers allow switching to a "Font B" and sometimes "Font C", which is slightly smaller.

Commands which affect the selected font include-

Store these as inline formatting, implement CSS classes for font B and C, using a simple font-size switch.

mike42 commented 6 years ago

Implemented A and B (Font C will render like A)