#escpos

Equinox :Solhappy:Equinox@squawk.social
2024-10-21

Working on my thermal printer thing again! Found a decent rust crate (escpos) for controlling the thing in a much simpler way (instead of my crappy code lol). Shown is a test print with an image.
Decided to use it in conjunction with a private Telegram bot I'm also writing to send text and images to print out.

Figuring out how async works tho hah (not sure how to make a non-async compatible mutable print service struct that can be accessed in an async environment (via teloxide, the Telegram bot crate)... Any tips?)

#ThermalPrinter #escpos #Rust

The thermal receipt printer which has a black and white image of Solstice the gryphon loafing printed out. Art by Blajn
Stewart Russellscruss@xoxo.zone
2024-10-05

TIL that printer technical manuals still list examples in BASIC, despite no computer shipping with BASIC this century.

This one's from the Citizen point-of-sale command reference published in 2019.

#BASIC #EscPOS

a diagram from a manual with two boxes side by side. The left box, title "Program List" contains a 7-line BASIC program to send special commands to a printer. The right box, titled "Print Result" shows the expected output: the word CITIZEN printed in enlarged, extended type, with the same word below it in regular-sized type.

The BASIC listing is as follows:
10 A$="CITIZEN"
20 LPRINT CHR$(&H1D);"!"; CHR$(&H11);
30 LPRINT A$;
40 LPRINT CHR$(&HA); CHR$(&HA);
50 LPRINT CHR$(&H1D);"!"; CHR$(&H00);
60 LPRINT A$;
70 END
2024-05-27

Un poquito de lo que vengo haciendo. Salí a la calle a tomar fotos de la ciudad y luego las imprimí en la tickeadora.

Las imágenes que más me gustaron fueron las que fallaron: esos glitches, esos saltos de línea y esas imágenes que me las interpretó como texto.

#pixelart #1bit #glitch #escpos #dotart #cordoba

2024-05-01

Primeras pruebas (las que salieron bien) con una tickeadora Epson recuperada.

El repo: github.com/danibosch/ascii-bit

#pixelart #1bit #glitch #escpos #programming #cybercirujas #mastoart

4 imágenes de 1 bit, impresas en papel de rollo tinta negra. Arriba izquierda es un mate, arriba derecha es una imagen glitch, abajo izquierda es un espinillo, abajo derecha es un perro.
2024-01-29

Which is a tldr way of saying "I got a thing that would've been useful a year ago!"

Aliexpress has these for like $30. usb/bt, uses a standard subset of Epson escape codes (esc/pos), battery powered, 80mm thermal receipt printer!

Goojprt MTP-3

Android like it fine, there are several drivers on play store. Linux likes esc/pos just fine.

RISC OS.., needs a little help. It works as a plain text printer, but even the fx80 driver tries to get too fancy for it.

(3/3) #ThermalPrinter #EscPos

small thermal printer.
vespertovesperto
2021-06-08

Oh the wonders of ESC/P... a new topic I don't really fancy.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst