From Hill Country Makers Wiki
Raspberry Pi Zero print server
This is an old revision of this page, as edited by Jason at 18 March 2020, at 15:46. It may differ from the current revision.
Install Raspbian Buster on Raspberry Pi Zero
1 sudo systemctl enable ssh 2 sudo systemctl start ssh 8 sudo raspi-config # Add wifi config 9 ip addr 11 sudo apt install cups emacs irssi tmux hpijs-ppds printer-driver-hpijs 22 sudo cupsctl --remote-admin --remote-any --share-printers 23 sudo usermod -a -G lpadmin pi 24 sudo /etc/init.d/cups restart
Connect Raspberry Pi Zero to printer via USB.
Open https://192.168.1.x:631/admin and add Brother_HL-2270DW using the Brother HL-2170W PPD downloaded from http://www.openprinting.org/printer/Brother/Brother-HL-2170W
Both the hpijs-pcl5e and hl1250 HL-2170W PPD files work.
Print test page.
Retrieved from https://www.hcmakers.org/index.php?title=Raspberry_Pi_Zero_print_server