I recently purchased the Nano Thermal Printer. The test page prints out
"9600 baud". Noted. I've made this change where applicable. Where I'm running into problems is the How-To ( https://learn.adafruit.com/pi-thermal-printer ) seems to be out of date.
I start with a fresh copy of Raspbian from the RPi Imager. I upgrade and update til its as current as it gets.
Then, I install the packages and libraries needed as per the Pi Thermal Printer How-To instructions:
Code: Select all
sudo apt-get install git cups wiringpi build-essential libcups2-dev libcupsimage2-dev python-serial python-pil python-unidecode
- wiringpi: not available
- python-serial: not available
- UTL package python-pil
- UTL package python-unicode
Git and cups does install.
Another observation: I've noticed these libraries do install in Buster (I think, can't confirm at the moment) after some experimentation.
I went another route and followed this YouTube video https://www.youtube.com/watch?v=LwKOvT7rCiU and was able to print from the command line using
Code: Select all
echo -e "This is a test\\n\\n\\n" > /dev/serial0
I think the Adafruit tutorial on the Pi Thermal Printer needs a fresh set of eyes and update with current Pi models and Raspbian releases. In the mean time, what's a fix?