Kamis, 28 Mei 2015

setting samba printer

Ubuntu print server compatible with Windows (Samba)

If your Ubuntu print server shall be able to work also with Windows clients, you must first make sure that the SAMBA package is installed (e.g. using Synaptic package manager). Then, do a little configuration change to SAMBA. In brief, you must uncomment the following lines in /etc/samba/smb.conf - open terminal and run:
gksudo gedit /etc/samba/smb.conf
In the [printers] section:
   browseable = yes
   guest ok = yes
When done, restart Samba:
sudo service smbd restart
sudo service nmbd restart
There is a dedicated page in the official documentation which gives more details.
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

Tidak ada komentar: