Post

I'm down one of the rabbit holes again. I *just* wanted to print receipts on a Star TSP100 printer. Initial problem: unlike other printers, it does not support text, only graphics. And my receipt printing library only supports rendering to text based ESC/POS and StarPRNT...

The simple solution: add bitmap output to my own library... But no... Where I am at: building a fully compliant generic ESC/POS and StarPRNT renderer that takes any byte stream and renders it as an image, with even SVG support. And render that as StarGraphics format that the printer understands.

So now I am building a bitmap font editor for tweaking the fonts, because there is no decent free bitmap font for receipt printers that supports all of the codepages that printers use...

And in the mean time I'm building a testsuite that looks at a dozen other receipt printer libraries and captures their output. I then compare my renderer with a couple of other renderers and actual printers to ensure it is compatible with pretty much everything a library can throw at it.

0 reposts2 likes

No replies yet.