Debugging Samba/CUPS printer sharing with Windows
Posted
by mrdrbob
on Super User
See other posts from Super User
or by mrdrbob
Published on 2009-09-03T02:43:16Z
Indexed on
2010/04/10
20:03 UTC
Read the original article
Hit count: 424
I've got a HP Deskjet hooked up to a Slackware 12.2 box. I've got CUPS set up and can print a test page from the box just fine. I've also got Samba set up and have a couple file shares that work fine.
I'm trying to share that HP Deskjet out via Samba, but I can't get it to show up in any Windows system. I see the server and its file shares in Windows networking, but when I open the Printers, no printer shows up. Running net view \\servername
from the command line lists the file shares, but no printers.
Here's the pertinent part of my smb.conf, if that helps:
[global]
workgroup = HOMENET
security = share
hosts allow = 192.168.1. 192.168.2. 127.
load printers = yes
printcap name = cups
printing = cups
log file = /var/log/samba.%m
max log size = 50
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
writable = no
printable = yes
guest only = yes
Can anyone give me some pointers as to where to start looking for potential causes?
Update: Running testparm shows no errors. Here's the output (minus the file shares):
[global]
workgroup = HOMENET
security = SHARE
log file = /var/log/samba.%m
max log size = 50
printcap name = cups
hosts allow = 192.168.1., 192.168.2., 127.
[printers]
comment = All Printers
path = /var/spool/samba
guest only = Yes
guest ok = Yes
printable = Yes
browseable = No
© Super User or respective owner