by hansonkd · 2y ago · 0 comments
a thermal usb receipt printer is like $75 dollars and easily controlled by python. Super easy to print out images and QR codes. and the autocut functionality makes it easy to segment messages. Additionally the receipt printer is nice because you can activate the bell inside as an additional "notification" and has an extra control for a cash drawer that I am thinking of hooking into to control a light or something.
I had it set up for emails and every morning it would print off my calendar.
I think the interface works well especially if you pair it with a physical control like buttons or NFC reader. That way you can issue "commands" and get output. Like I had one NFC card to make it print my calendar, one for unread emails, etc.
I have some more features I want to add to it. Its very fun way to cut down on screen time, but ironically i have spent more screen time coding with it and setting it up then it probably has saved me. lol.
https://www.sciencedirect.com/science/article/abs/pii/S02732...
https://www.nationalgeographic.com/premium/article/bpa-subst...
I have this one: https://www.creativebloq.com/reviews-niimbot-d110
iirc if you have wet hands you absorb way more and it is toxic
Rat studies like https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&d... and https://www.researchgate.net/publication/236345183_Pathologi... come up with acutely lethal oral doses around 2000–3000 milligrams per kilogram, by which measure it has about the same toxicity as table salt. It also has about the same pharmacokinetic half-life as table salt. The concerns (documented meticulously in https://en.wikipedia.org/wiki/Health_effects_of_Bisphenol_A) are largely about its possible effects as a xenoestrogen, and in particular its potential to cause obesity. There have also been concerns that chronic exposure might be carcinogenic, but so far those haven't panned out, so it's clear that if BPA exposure has an effect on cancer risk, either positive or negative, it's very small in magnitude.
I don't think there's anything in the obesity concern, because the obesity pandemic seems to be associated with eating ultra-processed food rather than handling thermal-printer receipts or drinking out of Nalgene bottles. My best guess is that we'll find out that a few food additives that became popular 50 years ago upset the intestinal microbiome in a way that promotes obesity.
In the meantime, though, it doesn't seem unreasonable to try to minimize your exposure to the stuff, even if ultimately it turns out to be harmless or only slightly harmful. But I wouldn't worry about it.
Eating synthetic imitations of food, though, seems overwhelmingly likely to be bad for you.
The thing I wish it could do different is that when printing a single line, the autocutter hides it, so you have to line feed about 5 times until the line you printed is visible.
If i did it different, maybe i would try to find a printer that is able to do reverse line feed so I can "peek" at a single line and then not waste paper. but i think those are about 3-4 times more expensive.
I bought two Chinese printers, one burned up pretty quick when I was testing it but I might have been printing too much black. The other is fine I think but really I am not so motivated to make thermal prints when I have a good quality inkjet. (My best thermal print was a small Lusamine
https://safebooru.org/index.php?page=post&s=view&id=1821741
which demonstrates how Nintendo official art is designed to render on cheap screens like the Nintendo 3DS)
Right now all my credentials are hardcoded so i can't push out what I have without some cleanup, but I can point you to some of the libraries: python-escpos and nfcpy were what I used for the bulk of it.
At least you did something cool with your screen time!
"Let's just tape this thermal receipt to your to-go container, and ... refund? What do you mean refund?"
However, thermal receipt printers at restaurants seem to be among the cheapest ones around - you can get thermal printers that result in receipts that withstand decent temperatures (but, obviously, not all).
Many shipping labels are printed by direct thermal printers and those labels stand up quite well. Check Zebra for examples.