RPi Zero Print Server - a-maze-1ng/MISC GitHub Wiki
Integrating offline printers into the network using a raspberry pi zero
-
Install
Raspberry Pi OS (Legacy, 32-bit)
with Raspberry Pi Imager -
sudo apt-get update
-
sudo apt-get upgrade -y && clear
-
create
Pi
user (Raspberry Pi Imager does not like to createPi
as default) -
sudo adduser pi
-
sudo visudo
-
Add
pi
user to root privilegepi ALL=(ALL:ALL) ALL
-
sudo apt-get install samba cups -y
8.2sudo apt install printer-driver-splix
install printer driver -
Backup cupsd.conf
sudo cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf_backup
-
sudo nano /etc/cups/cupsd.conf
-
Change
Listen 0.0.0.0:631
in cupsd.conf -
Add
ServerAlias *
Allow all
-
sudo gpasswd -a pi lpadmin
-
sudo systemctl enable cups
-
sudo systemctl start cups
-
set up printer
https:\\<IP-Adress>:631
16.1
-
sudo nano /etc/samba/smb.conf
-
sudo systemctl enable smbd
-
sudo systemctl start smbd
21. use the right printer driver in Windows!