Date: 2008may5
OS: Linux
Product: cups
Q. Why do I have "Unable to connect to CUPS server" when I have printing diabled in Samba?
In the syslog:
May 5 09:45:02 www smbd[<pid>]: [2008/05/05 09:45:02, 0] printing/print_cups.c:cups_connect(69)
May 5 09:45:02 www smbd[<pid>]: Unable to connect to CUPS server localhost:631 - Connection refused
(CUPS = Common UNIX Printing System)
How to I stop this?
A. You really have to hit Samba over the head to disable printing.
After trying many things, this did the trick for me:
load printers = no (this alone isn't enough)
show add printer wizard = no
printing = none
printcap name = /dev/null
disable spoolss = yes
Hope it helps you.