Requirements: Print Server CUPS
sudo apt-get install cups
add the pi user to the lpadmin group
sudo usermod -a -G lpadmin pi
allow non-localhost traffic
sudo cupsctl --remote-any
sudo systemctl restart cups
Install SAMBA
sudo apt-get install samba
sudo nano /etc/samba/smb.conf
add
# CUPS printing.
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = yes
read only = yes
create mask = 0700
# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = no
guest ok = no
and restart
sudo systemctl restart smbd
navigate to:
https://IPADDRESS:631
Select "Administration" in the top navigation bar
click on "add printer"
"Find Printer"
Select the printer youe need
check "Share this Printer"
click "Continue"
select "Model"
click "Add Printer"
"Set Default Options"