logoalt Hacker News

frizzle-chantoday at 3:07 AM0 repliesview on HN

This rules! I've been working on a similar project where friends DM a discord bot and it prints out a "fax" on my thermal printer.

One thing I solved differently: I rendered the fax as an image using PIL and then I just print the image. That way I can support arbitrary Unicode and can lay things out independently of what my printer is capable of.

Example rendered fax: https://github.com/frizzle-chan/fax.frizzle.lol/blob/main/fa...