bitbank2 / Thermal_Printer

Arduino library to draw text and graphics on BLE thermal printers
Apache License 2.0
350 stars 52 forks source link

Add hack for text print on cat #32

Closed fulda1 closed 2 years ago

fulda1 commented 2 years ago

Added first hack for text printing on cat printer It can be extended to more functions...

bitbank2 commented 2 years ago

I like the idea of using the built-in font data to print text on the cat printer, but I don't like the idea of a cat-specific function to do it. Why not just add this code to the existing tpPrint() function?

fulda1 commented 2 years ago

It is part of tpPrint(). I just need one more procedure to be called for line wrapping, but it is member of tpPrint() function and not exported outside library.

bitbank2 commented 2 years ago

sorry - I didn't see the code calling the new function. Sure - it looks ok.