- Dec 17, 2001
- 3,566
- 3
- 81
I'm trying to get my Windows XP machine to print to an OpenBSD Samba server running CUPS. I can see the printer in NN, but, after selecting the driver, I get a message "Windows cannot connect to the printer..." From what I can tell from searching the 'Net, this is pretty common, but solutions seem to vary. None have worked so far for me. As far as I can tell, the problem is in the Samba printer configuration - I can print locally from the server, over the network (using IPP) from Linux machines, and file-sharing through Samba works just fine. I've tried many smb.conf variations, but here's a typical one:
printing = cups
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
guest ok = yes
writable = no
printable = yes
use client driver = yes
That last line supposedly solved this problem for many people. I've also tried "printcap type = cups", "printing = bsd", and specifying the print/cancel commands explicitly. But I get that same "Cannot connect" error regardless. I get nothing in any of the smbd or cups logs on the server that gives me any hints. Support for CUPS is compiled into Samba.
If there's anything I left out, I'm happy to supply it. What I'd really like, though, is the corresponding smb.conf snippet from someone who has XP --> Samba/CUPS printing working correctly. I'm sure I can deduce any OS or configuration differences from there.
printing = cups
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
guest ok = yes
writable = no
printable = yes
use client driver = yes
That last line supposedly solved this problem for many people. I've also tried "printcap type = cups", "printing = bsd", and specifying the print/cancel commands explicitly. But I get that same "Cannot connect" error regardless. I get nothing in any of the smbd or cups logs on the server that gives me any hints. Support for CUPS is compiled into Samba.
If there's anything I left out, I'm happy to supply it. What I'd really like, though, is the corresponding smb.conf snippet from someone who has XP --> Samba/CUPS printing working correctly. I'm sure I can deduce any OS or configuration differences from there.