Note: This probably also works in Raspberry Pi OS Bookworm, but I have only tested this on my Pi 1 B+ that doesn't support Bookworm. It should also probably work on most Debian based distros including Ubuntu.
- Additional Note: Tested this on RPi Zero 2 W with RPi OS Lite (64bit) and it works like charm.
- Flash the Raspbian Bullseye Lite image to the SD card
- Configure the user account, network and SSH settings while imaging to make setup easier.
You need to install CUPS, HPLIP, and the foo2zjs printer drivers, use the following commands:
sudo apt update