Analytic

Thursday, March 20, 2008

Sharing Samba Printer with Windows Clients

Connect printer to Samba server.

Add printer in SMB.CONF:

[printers]

comment = Alle Drucker
path = /var/spool/samba
browseable = no
public = yes
guest ok = yes
writeable = no
printable = yes
printer admin = root, @ntadmins

restart samba service.

Edit the file:

/etc/cups/cupsd.conf

and change the following part:

# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow @LOCAL, @users
BrowseAddress @LOCAL

@users is nt users group map

sudo /etc/init.d/cupsys restart

Now Windows clients can see the printer.

No comments: