Raspberry Pi for more information on Raspberry Pis.
Setting up a Raspberry Pi 3 with Raspberry Pi OS Lite
Use Raspberry Pi Imager to flash the OS onto a SD Card. This is the easiest way and allows you to setup configurations on the OS, like the WiFI password and enable SSH, so you can just power it up and connect right away. The Lite version of the OS does not have a graphical environment, so we won’t be able to use a desktop to set the configuration anyways.
Host Name was set to printserver
so that you can refer to the namespace printserver.local
when trying to connect via ssh or http.
sudo apt install cups printer-driver-all
sudo usermod -aG lpadmin fab
sudo nano /etc/cups/cupsd.conf
sudo systemctl restart cups
You should now be able to navigate to the web interface by going to the following URL in a browser: http://printserver.local:631/
dmesg | grep tty
[ 0.000408] printk: console [tty1] enabled
[ 2.914922] 3f201000.serial: ttyAMA1 at MMIO 0x3f201000 (irq = 99, base_baud = 0) is a PL011 rev2
[ 2.918487] serial serial0: tty port ttyAMA1 registered
[ 6.676399] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[ 870.741352] usb 1-1.4: pl2303 converter now attached to ttyUSB0
ls /dev/ttyUSB*
udevadm info -q all -n /dev/ttyUSB0
While connected to the pi via ssh, we can do some testing and send some commands directly to the printer in a brute force manner.
echo "IN; SP1;" > /dev/ttyUSB0
This should wake up the machine and load pen 1.