NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CUPS experts?



I've recently installed cups, and having some difficulty getting it to work. (I'm pretty sure I'm doing something wrong, but I haven't any clue on where to look...)

I have manually started cupsd (since there doesn't seem to be any /etc/rc.d file), and I've also stopped lpd. I used the web admin interface to add my printer, which shows up in /etc/printcap as

        lp|HP DeskJet 6940 series:rm=screamer.whooppee.com:rp=lp:

The pritner admin page shows

        Description:    HP DeskJet 6940 series
           Location:
             Driver:    HP DeskJet 6940 Foomatic/hpijs (recommended)
                        (color, 2-sided printing)
         Connection:    socket://192.168.2.253
           Defaults:    job-sheets=none, none media=na_letter_8.5x11in
                        sides=one-sided

I tried to print a document from LibreOffice4, and it appears to submit the job correctly. Cups seems to acknowledge the job:

        ...
        lp-2  Unknown  Withheld  150k  Unknown  completed at
                                                Sat Jun 28 05:20:13 2014
        lp-1  Unknown  Withheld  150k  Unknown  completed at
                                                Sat Jun 28 05:13:11 2014

Yet, nothing is printed on the printer, and a tcpdump shows only an occassional ipp broadcast 30-second intervals), and a brief snmp exchange (IP addresses manually editted here for brevity):

        server.60709 > printer.snmp:
                { SNMPv1 { GetRequest(28) R=1  25.3.2.1.3.1 } }
        printer.snmp > server.60709:
                { SNMPv1 { GetResponse(51) R=1  25.3.2.1.3.1="Deskjet 6940 
series" } }
        server.60709 > printer.snmp:
                { SNMPv1 { GetNextRequest(27) R=1  43.12.1.1.4 } }
        printer.snmp > server.60709:
                { SNMPv1 { GetResponse(34) R=1  43.13.4.1.2.1.1=7 } }
        server.60709 > printer.snmp:
                { SNMPv1 { GetRequest(28) R=1  25.3.5.1.2.1 } }
        printer.snmp > server.60709:
                { SNMPv1 { GetResponse(33) R=1  25.3.5.1.2.1=00 } }
        server.60709 > printer.snmp:
                { SNMPv1 { GetRequest(29) R=1  43.10.2.1.4.1.1 } }
        printer.snmp > server.60709:
                { SNMPv1 { GetResponse(35) R=1  43.10.2.1.4.1.1=3307 } }

There is no traffic to the printer socket (port 9100), and nothing prints.

FWIW, the same results are obtained if using the Cups admin page to print a TestPage to the printer. A job is created, and is displayed as Completed yet nothing gets sent to the printer.

Any suggestions?


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index