Prepare Your smb.conf for
cupsaddsmb
Prior to running
cupsaddsmb
, you need the settings in
smb.conf as shown in
the smb.conf for cupsaddsmb Usage.
Example21.3.smb.conf for cupsaddsmb Usage
|
[global]
|
load printers = yes
|
printing = cups
|
printcap name = cups
|
|
[printers]
|
comment = All Printers
|
path = /var/spool/samba
|
browseable = no
|
public = yes
|
# setting depends on your requirements |
guest ok = yes
|
writable = no
|
printable = yes
|
printer admin = root
|
|
[print$]
|
comment = Printer Drivers
|
path = /etc/samba/drivers
|
browseable = yes
|
guest ok = no
|
read only = yes
|
write list = root
|
|