Hi,

I seem to have a problem with lpstat in samba

My /var/log/messages shows:

...
Jun  4 18:20:44 wallaby smbd: lpstat: Unable to connect to server:
Connection refused
Jun  4 18:20:44 wallaby smb: smbd startup succeeded
Jun  4 18:20:45 wallaby smb: nmbd startup succeeded
...

I cannot get printing from a windows client to work...

Once booted, I can issue command such as lpstat -v and it gives some
correct info, why is it failing at boot time?


My /etc/smb.conf contains:

...
        # Options for printing with CUPS
        printcap name = lpstat
        load printers = Yes
        printing = cups
...
[printers]
        comment = All Printers on (%L)
        path = /var/spool/samba
        printable = Yes
        browseable = Yes
        writable = No
        guest ok = Yes
        create mode = 0700

        min print space = 2000
#       using client side printer drivers
        print command = lpr-cups -P %p -o raw %s -r
        lpq command = lpstat -o %p
        lprm command = cancel %p-%j
...


Any idea?

Cheers,
Fred

Reply via email to