apt/debian
cuu 4be13f34f3 update devterm-thermal-printer arm64 0.31 for a06 a04
add unicode printing support
to disable it

clear the content of /usr/local/etc/devterm-printer

and restart devterm-printer.service by
```
sudo systemctl restart devterm-printer
```
2022-03-12 11:57:29 +08:00
..
2022-01-20 12:20:00 +08:00
2022-01-13 15:21:23 +08:00
2022-01-13 15:21:23 +08:00

Raspberry pi CM3

Enable SPI0

SPI0 is disabled by default. To enable it, use raspi-config, or ensure the line dtparam=spi=on isn't commented out in /boot/config.txt

add dtoverlay=spi-gpio35-39 under dtparam=spi=on, then reboot

after reboot,make suer there is a /dev/spidev0.0


wget -O - https://raw.githubusercontent.com/clockworkpi/apt/main/debian/KEY.gpg | sudo apt-key add -

echo "deb https://raw.githubusercontent.com/clockworkpi/apt/main/debian/ stable main" | sudo tee -a /etc/apt/sources.list.d/clockworkpi.list

sudo apt update

sudo apt install devterm-thermal-printer

How to test

echo "this is a test" > /tmp/DEVTERM_PRINTER_IN