IT/Software/Networking/PrinterSharing
You need to have samba installed.
CUPS will handle this almost automatically.
You need to make two small chnage to the /etc/samba/smb.conf file.
In the [printers] section:
browseable = yes guest ok = yes
When done, restart Samba:
sudo service smbd restart sudo service nmbd restart
Also, one would want to allow the following ports through a firewall (ufw for example) via:
sudo ufw allow 139/tcp sudo ufw allow 445/tcp sudo ufw allow 137/udp sudo ufw allow 138/udp