wallacepos icon indicating copy to clipboard operation
wallacepos copied to clipboard

58mm thermal printer

Open ghost opened this issue 6 years ago • 1 comments

Is there a section I can edit that would scale receipt printing to fit a 58mm thermal printer? It will currently print, however, there are certain parts like the prices and reference number that wrap to the next line.

ghost avatar Mar 14 '18 15:03 ghost

Yeah checkout this function: https://github.com/micwallace/wallacepos/blob/master/assets/js/wpos/print.js#L770

Reducing the 48 on that line and the next should yield the desired results. Although you may want to improve that function for properly wrapping each column of the table, since that may become more of a problem on smaller receipts.

micwallace avatar Mar 15 '18 16:03 micwallace