[Samba] Fail to "Connect to printer"

Vizitiu, Ciprian CVizitiu at gbif.org
Tue Apr 8 12:12:25 GMT 2003


Hi.

Samba 2.2.8. I have installed the drivers on the print$ share. The smb.conf
looks like this:

[printers]
        print ok = yes
        guest ok = yes
        printcap name = /etc/printcap
        print command =      /usr/bin/lpr  -P%p -r %s
        lpq command   =      /usr/bin/lpq  -P%p
        lprm command  =      /usr/bin/lprm -P%p %j
        lppause command =    /usr/sbin/lpc hold %p %j
        lpresume command =   /usr/sbin/lpc release %p %j
        queuepause command = /usr/sbin/lpc  stop %p
        queueresume command = /usr/sbin/lpc start %p

[IBM Infoprint 1222]
    comment = IBM Infoprint 1222
    path = /var/spool/lpd/samba/2ndflbw
    printable = yes
    browseable = yes
    writable = no
    printer = IBM Infoprint 1222

>From the samba server:

[root at ka W32X86]# rpcclient ka -U root -c "enumprinters"
Password:
cmd = enumprinters
        flags:[0x800000]
        name:[\\ka\IBM Infoprint 1222]
        description:[\\ka\IBM Infoprint 1222,,IBM Infoprint 1222]
        comment:[IBM Infoprint 1222]

[root at ka W32X86]# rpcclient ka -U root -c "enumdrivers"
Password:
cmd = enumdrivers

[Windows NT x86]
Printer Driver Info 1:
        Driver Name: [AGFA-AccuSet v52.3]

Printer Driver Info 1:
        Driver Name: [IBM Infoprint 1222]

Yet if I click "connect" for that printer in a XP SP1 WS (that belongs to
that domain) I get the well known error "The server for the printer does not
have the correct printer driver installed..."

Any hints?


More information about the samba mailing list