logoalt Hacker News

lionpixel01/21/20251 replyview on HN

When it comes to regular ink/laser printers: yes. When it comes to thermal printers, you are normally left alone with just the ESC/P protocol, plus most printers handle the commands in a different way. The way I solved this issue is to write an image buffer directly to the printer, circumventing the protocol and always ensuring that prints look the same regardless of the printer.


Replies

xp8401/21/2025

Are prints as clear and as fast printing everything as an image? Or are there some tradeoffs?