News for hackers. Stuff that matters.
Re:"We have a thermal printer hooked up to the internet, you... by rodlette on Thursday October 19, 2023 @08:07AM (#37941724)
For backup purposes, I'd like to print some encrypted secrets as QR codes.

I don't have much room for a typical printer.

Could a small thermal printer print a QR code that encodes 500-1000 bytes?

If not, anyone know of a decent, durable, low-volume alternative?

Re:"We have a thermal printer hooked up to the internet, you... by user3939382 on Thursday October 19, 2023 @08:09AM (#37941754)
Yes although any thermal printing I've ever done creates a print out that fades over time, so probably a horrible solution for backup codes.
Re:"We have a thermal printer hooked up to the internet, you... by rodlette on Thursday October 19, 2023 @08:10AM (#37941766)
Good point. Thanks!
Re:"We have a thermal printer hooked up to the internet, you... by jimnotgym on Thursday October 19, 2023 @08:34AM (#37941978)
You can get small inkjets too...
Re:"We have a thermal printer hooked up to the internet, you... by diggan on Thursday October 19, 2023 @08:46AM (#37942131)
Would that happen even if you laminate it + stick it in a dark place?
Re:"We have a thermal printer hooked up to the internet, you... by szszrk on Thursday October 19, 2023 @08:59AM (#37942281)
In my experience yes. Old receipt roles fade even stored in a warehouse. I would try that anyway, as an experiment.

A cheap thermal printer for kids is around 10-20 USD (got one for such price with 10 rolls of paper, half of which is sticky paper), has bluetooth, usb and battery. Fits in a pocket. Would be fun to stick such qr code inside some not important book left lying around.

Re:"We have a thermal printer hooked up to the internet, you... by Sabinus on Friday October 20, 2023 @12:29AM (#37952403)
I would caution about giving children receipt paper. It may contain a lot of BPA (or replacements).

https://www.smh.com.au/business/consumer-affairs/controversi...

Re:"We have a thermal printer hooked up to the internet, you... by Chingers on Thursday October 19, 2023 @08:51AM (#37942172)
The laminating process would probably blacken the entire paper
Re:"We have a thermal printer hooked up to the internet, you... by calabin on Thursday October 19, 2023 @08:58AM (#37942262)
Yes I found this out the hard way just last week - thought I was being pretty clever with my inside-the-box packing label.
Re:"We have a thermal printer hooked up to the internet, you... by diggan on Thursday October 19, 2023 @08:58AM (#37942253)
There are laminators that don't use heat ;)
Re:"We have a thermal printer hooked up to the internet, you... by m_eiman on Thursday October 19, 2023 @09:20AM (#37942504)
There are variants that claim to be long-lived, but they're in a tiny minority.

Edit: I seem to be misremembering; direct thermal transfer printers aren't available with long life prints, only thermal transfer printers are.

https://www.zebra.com/us/en/resource-library/faq/difference-...

Which is also thermal printing, but not the kind used here.

Re:"We have a thermal printer hooked up to the internet, you... by danielheath on Thursday October 19, 2023 @08:36AM (#37941998)
If you need to encode 1000 bytes in a durable way, have you considered writing them by hand? Would take me about three-four minutes in each direction.
Re:"We have a thermal printer hooked up to the internet, you... by rodlette on Thursday October 19, 2023 @08:39AM (#37942047)
I considered just writing them, but I was concerned that I'd make a mistake, or be too lazy to do regular test decryptions/restores.
Re:"We have a thermal printer hooked up to the internet, you... by donkeyd on Thursday October 19, 2023 @08:32AM (#37941964)
Others comment that thermal prints don't last long, but that's all dependent on the print material. The typical receipt fades after a couple of months, but Brother has small label printers that are often used in archiving and those labels can last for decades.

So just take some time to find the right medium for your needs and thermal printers can be a decent option.

Re:"We have a thermal printer hooked up to the internet, you... by RobotToaster on Thursday October 19, 2023 @10:41AM (#37943560)
One type of brother label printer (the ones that take "tze" cartridges) are thermal transfer printers, which last very well. They transfer pigment from a separate ribbon, rather than chemically change the label.
Re:"We have a thermal printer hooked up to the internet, you... by a1o on Thursday October 19, 2023 @10:58AM (#37943796)
Do these require a specific software to be able to print or can they take anything and just print? Like, is it a regular driver, could I connect to this brother printer from my iPhone?
Re:"We have a thermal printer hooked up to the internet, you... by notatoad on Thursday October 19, 2023 @01:23PM (#37945740)
the one i've got (brother p-touch) seems to require a proprietary software suite, but i haven't really put any effort into figuring out whether there's an alternative way to print to it.

it definitely does not "just work", it's not detected as a printer in windows.

Re:"We have a thermal printer hooked up to the internet, you... by londons_explore on Thursday October 19, 2023 @08:23AM (#37941870)
1000 bytes is also a huge QR code. Sure, you can do it, but I'd bet that scanning it will be very hard and impossible with some apps where that usecase hasn't been tested.
Re:"We have a thermal printer hooked up to the internet, you... by Cthulhu_ on Thursday October 19, 2023 @09:00AM (#37942293)
I tried to find one, but failed; did find this HN comment: https://news.ycombinator.com/item?id=18498434

It says a QR code is specified as being up to 177 pixels wide (and high I presume, because square), where they can have 2 kB of data with medium error correction.

It's a bit of a chore, but manageable to do if the data is important enough. Plus, with error correction built in, you can make some mistakes.

Re:"We have a thermal printer hooked up to the internet, you... by dddw on Thursday October 19, 2023 @08:09AM (#37941752)
Thermal prints fade pretty quickly
Re:"We have a thermal printer hooked up to the internet, you... by keybpo on Thursday October 19, 2023 @08:53AM (#37942198)
A small thermal printer would probably be direct thermal, which uses a heat head and heat sensitive coated paper. This fades away naturally, even if kept in the dark. Glue from tape will accelerate it, in case you're thinking about it to protect from abrasion.

There's also thermal transfer printers, which use a ribbon as "ink", similar to typewritter. These labels can endure much harder conditions, like scratches, high temperatures and fade. They're used all over the industry. But these aren't usually small printers and have a high cost. At that point I think you have better solutions on printing services (I understand if you don't want to have the files outside of your environment, though.)

Re:"We have a thermal printer hooked up to the internet, you... by alfla on Thursday October 19, 2023 @08:57AM (#37942238)
a small laser engraver perhaps? looks like you can get one from china close to 100usd
Re:"We have a thermal printer hooked up to the internet, you... by Cthulhu_ on Thursday October 19, 2023 @08:57AM (#37942245)
You could draw it by hand; get some grid paper and a pen or marker, copy the QR code from your screen. There's plenty of error correction in a QR code that you could make some mistakes, I believe.
Re:"We have a thermal printer hooked up to the internet, you... by Fabricio20 on Thursday October 19, 2023 @12:44PM (#37945213)
Funnily enough I'm doing something similar, but QR codes don't quite work out because their density is not enough for me (even after compression..), I've been printing using a laser printer and a software called PaperBack from the OllyDBG guy! It works surprisingly well for backing up data in paper.
Re:"We have a thermal printer hooked up to the internet, you... by ska on Thursday October 19, 2023 @01:59PM (#37946221)
What about one of those "pocket" photo printers?