clockworkpi

The Thermal Printer is working!


Finally, the thermal printer is working!

The size of thermal paper is 57 * 50. I followed guide here, DevTerm/Code/thermal_printer at main · clockworkpi/DevTerm · GitHub

It’s time to figure out how to print sth except test word.

16 Likes

Update

The driver seems work perfectly. I tried print sth by LibreOffice Writer and it works!

2nd

11 Likes

Wow, really nice! A graceful device.

2 Likes

Does it make a loud noise when it is running?

3 Likes

echo -e “Hello DevTerm\n\n\n\n\n\n” > /tmp/DEVTERM_PRINTER_IN

4 Likes

Yes it does, more than an thermal printer from a POS system

2 Likes

Are you able to print something really long? For example: can you easily setup a page size so that you can print a meter of text?

1 Like

Get it procedurally print out Pi. Ha! Topical!
Unlike say the old Gameboy printer, the paper should be fairly cheap to buy, if you’re using POS receipts.
I’m more worried about excessive use potentially wearing out the printer unit. But bring thermal based, it sounds like it should be as bullet proof as a dot matrix ribbon printer.

1 Like

I think you may run out of paper before the head die, I mean printer in POS are heavily used and they don’t seems to die easily, the only moving part is the paper and the rolls to move the paper, the head does not move on this type of printer (that’s also why they tend to be more reliable in general)

2 Likes

I have a few thermal printers for TRS-80 pocket computers that are still working from the '80s

I tried to print a PDF file via qpdfview (Ctrl+P) and via lp -d devterm_printer test.pdf.
In both cases the printer starts to rattle but instantly stops. I can print any text directly from terminal. Is there another way to print a PDF file? Images are working fine too.

1 Like

Whell I made it working with this function:

printpdf() {
 #try to fit pdf
 lp -d devterm_printer -o fit-to-page -o media=A8 -o scaling=200 "$1"
}

I placed the function in my ~/.profile and us it like printpdf file.pdf

8 Likes

Is there any detailed manual on how to use the printer? Especially how to print documents and images in editing software?
Any best practice advices?

and here is how to use lp to print png file

export LPDEST=devterm_printer
lp some.png
1 Like

(post deleted by author)

1 Like

You can always send a pull request also :slight_smile: if you find mistakes or improvements.

2 Likes

And also reporting such issues on github is probably a better place than lost somewhere on this forum.

1 Like