💾 Archived View for cjc.im › 2021 › 04 › 08 › Pis-and-Thermal-Printers › index.gmi captured on 2022-04-29 at 11:17:04. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-03-01)
-=-=-=-=-=-=-
Apr 08, 2021
In a move where I am trying to move away from using software for tracking todo lists and other short things like shoppings lists, I bought a cheap thermal printer for my pi400.
These things are usually used for receipts, but it makes for a great little bit of paper that I can shove in a pocket or have on my desk ready to look at.
A bit of difficulties with the device that appeared when using the built in USB serial of the device. Fortunately dmesg to the rescue.
What I really like about this device is I can simple do: `echo -e "Something to print" > /dev/usb/lp0` to print out the line. it's great. No need to *fuck* around with drivers or anything. Additionally, by keeping all my notes and lists in markdown, they print out and are human readable. Huzzah.
I then wrapped this into a shell script that adds the date of printing on the top, and a quote using fortune at the bottom, because why not.
👋