Install Samba and smbfs
sudo apt-get install samba smbfs
after installation of samba and smbfs open smb.conf
sudo gedit /etc/samba/smb.conf
find the section
########## Printing ##########
find below lines and do changes as below
# CUPS printing. See also the cupsaddsmb(8) manpage in the
# cupsys-client package.
printing = cups
printcap name = cups
security = share
after doing above changes now make changes in [printers] section with
browsable = yes
guest ok = yes
Save the file and restart the service of samba. Now, go to windows and find the printer.
share printer in ubuntu,share ubuntu printer with windows,share printer with windows,share printer in linux,linux printer sharing,ubuntu printer sharing
sudo apt-get install samba smbfs
after installation of samba and smbfs open smb.conf
sudo gedit /etc/samba/smb.conf
find the section
########## Printing ##########
find below lines and do changes as below
# CUPS printing. See also the cupsaddsmb(8) manpage in the
# cupsys-client package.
printing = cups
printcap name = cups
security = share
after doing above changes now make changes in [printers] section with
browsable = yes
guest ok = yes
Save the file and restart the service of samba. Now, go to windows and find the printer.