[cups.general] share CUPS printer/scanner in Debian system with Windows computers in home network

Seb spluque at gmail.com
Wed Dec 23 09:30:19 PST 2009


Hi,

I've been trying to fix this for many months and cannot do it.  I have a
printer (Samsung ML-1740) and a printer/scanner (Canon MP-150), both
installed in a Debian AMD64 system via CUPS.  I have enabled sharing all
printers in this host in CUPS, and can see this host and print to its
printers fine from any GNU/Linux systems in the network.  However, I
cannot even see this host from any Windows (XP and Vista) machines in
the network, even though I have the following in /etc/samba/smb.conf:

---<--------------------cut here---------------start------------------->---
$ testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"                  
Processing section "[printers]"               
Processing section "[print$]"                 
Loaded services file OK.                      
Server role: ROLE_STANDALONE                  
Press enter to see a dump of your service definitions

[global]
        server string = %h server
        obey pam restrictions = Yes
        pam password change = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
        unix password sync = Yes
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        printcap name = cups
        dns proxy = No
        wins server = =
        panic action = /usr/share/samba/panic-action %d

[homes]
        comment = Home Directories
        valid users = %S
        read only = No
        create mask = 0700
        directory mask = 0700
        browseable = No
        browsable = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        create mask = 0700
        guest ok = Yes
        printable = Yes
        browseable = No
        browsable = No

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/printers
        guest ok = Yes
---<--------------------cut here---------------end--------------------->---

I've read as much as I could find, and yet am still stuck, so any
suggestions would be welcome. Thanks.


-- 
Seb





More information about the cups mailing list