3 ms·
I had to go through a fair bit of this when writing my Android receipt printer driver. Parse a PDF print job, detect tables, basic formatting, align text to gri
by andrewshadura 7y ago
I had to go through a fair bit of this when writing my Android receipt printer driver. Parse a PDF print job, detect tables, basic formatting, align text to grid, reformat for 58 mm paper roll width… and that's when the fun begins, since every ESC/POS printer makers supports a different dialect or a different character encoding set, or maybe just one, or maybe there are certain quirks you have to account for…
I should probably write a blog post on this.
https://salsa.debian.org/andrewsh/escpos-android https://salsa.debian.org/andrewsh/escpos-android