Printing with SAMBA and CUPS
1. Add this to /etc/samba/smb.conf
Int the global section
[global]
printing = cups
printcap name = cups
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
# to allow user 'guest account' to print.
guest ok = yes
writable = yes
printable = yes
create mode = 0700
2. Create the /var/spool/samba directory
#sudo mkdir /var/spool/samba
#sudo chmod o+w /var/spool/samba
3. Edit the /etc/cups/cupsd.conf file
Comment out Listen 127.0.0.1:631
Uncomment Port 631
Port 631
#Listen 127.0.0.1:631
4. Restart the samba server
#sudo /etc/init.d/samba restart
Int the global section
[global]
printing = cups
printcap name = cups
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
# to allow user 'guest account' to print.
guest ok = yes
writable = yes
printable = yes
create mode = 0700
2. Create the /var/spool/samba directory
#sudo mkdir /var/spool/samba
#sudo chmod o+w /var/spool/samba
3. Edit the /etc/cups/cupsd.conf file
Comment out Listen 127.0.0.1:631
Uncomment Port 631
Port 631
#Listen 127.0.0.1:631
4. Restart the samba server
#sudo /etc/init.d/samba restart

0 Comments:
Post a Comment
<< Home