Can you run hp-check and post the output?

A

On 5/2/07, Gregoire Gentil <[EMAIL PROTECTED]> wrote:

Here is the report from hp-info -g for this K80 USB printer using CUPS
1.2.6 and hplip 1.7.3:

localhost ~ # hp-info -g

HP Linux Imaging and Printing System (ver. 1.7.3)
Device Information Utility ver. 3.4

Copyright (c) 2001-7 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

hp-info[27526]: debug: usb://HP/OfficeJet%20K80?serial=SG11AB50JZOH:
OfficeJet-K80
hp-info[27526]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: usb://HP/OfficeJet%20K80?serial=SG11AB50JZOH
hp-info[27526]: debug: cups-pdf:/: PDF
hp-info[27526]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: cups-pdf:/
hp-info[27526]: debug: (xmit) Sending data on channel (5)
hp-info[27526]: debug: 'msg=probedevices\nbus=par\n'
hp-info[27526]: debug: (xmit) Reading data on channel (5)
hp-info[27526]: debug: 'msg=ProbeDevicesResult\nresult-code=0
\nnum-devices=0\nlength=0\ndata:\n'
hp-info[27526]: debug: (xmit) Sending data on channel (5)
hp-info[27526]: debug: 'msg=probedevices\nbus=usb\n'
hp-info[27526]: debug: (xmit) Reading data on channel (5)
hp-info[27526]: debug: 'msg=ProbeDevicesResult\nresult-code=0
\nnum-devices=1\nlength=184\ndata:\ndirect
hp:/usb/OfficeJet_K80?serial=SG11AB50JZOH "HP OfficeJet K80" "HP
OfficeJet K80 USB SG11AB50JZOH HPLIP" "MFG:HP;MDL:OfficeJet
K80;CLS:PRINTER;DES:OfficeJet K80;SN:SG11AB50JZOH;"\n'
hp-info[27526]: debug: hp:/usb/OfficeJet_K80?serial=SG11AB50JZOH
hp-info[27526]: debug: Cache miss: officejet_k80
hp-info[27526]: debug: Reading
file: /usr/share/hplip/data/models/models.dat
hp-info[27526]: debug: Searching for section [officejet_k80] in
file /usr/share/hplip/data/models/models.dat
hp-info[27526]: debug: Found section [officejet_k80] in
file /usr/share/hplip/data/models/models.dat
hp-info[27526]: debug: {'hp:/usb/OfficeJet_K80?serial=SG11AB50JZOH':
('HP OfficeJet K80', 'HP OfficeJet K80 USB SG11AB50JZOH HPLIP',
'MFG:HP;MDL:OfficeJet K80;CLS:PRINTER;DES:OfficeJet
K80;SN:SG11AB50JZOH;')}
hp-info[27526]: debug: [<cupsext.Printer object at 0xb7e55228>,
<cupsext.Printer object at 0xb7d63750>]
Using device: hp:/usb/OfficeJet_K80?serial=SG11AB50JZOH
hp-info[27526]: debug: URI: backend=hp, is_hp=True, bus=usb,
model=OfficeJet_K80, serial=SG11AB50JZOH, dev=, host=, port=1
hp-info[27526]: debug: Model/UI model: OfficeJet_K80/HP Officejet k80
hp-info[27526]: debug: hpiod socket: 7
hp-info[27526]: debug: hpssd socket: 8
hp-info[27526]: debug: (xmit) Sending data on channel (8)
hp-info[27526]: debug: 'msg=setalerts\nusername=root
\nemail-from-address=\nemail-to-addresses=\nemail-alerts=\n'
hp-info[27526]: debug: (xmit) Reading data on channel (8)
hp-info[27526]: debug: 'msg=setalertsresult\nresult-code=0\n'

hp:/usb/OfficeJet_K80?serial=SG11AB50JZOH

hp-info[27526]: debug: Opening device:
hp:/usb/OfficeJet_K80?serial=SG11AB50JZOH
hp-info[27526]: debug: (xmit) Sending data on channel (7)
hp-info[27526]: debug: 'msg=deviceopen\nio-mode=2\nio-scan-port=0
\ndevice-uri=hp:/usb/OfficeJet_K80?serial=SG11AB50JZOH\nio-control=0
\nio-mfp-mode=2\n'
hp-info[27526]: debug: (xmit) Reading data on channel (7)
hp-info[27526]: debug: 'msg=DeviceOpenResult\nresult-code=0\ndevice-id=1
\n'
hp-info[27526]: debug: device-id=1
hp-info[27526]: debug: Opened device: hp

(backend=hp:/usb/OfficeJet_K80?serial=SG11AB50JZOH,is_hp=True,bus=usb,model=OfficeJet_K80,dev=,serial=SG11AB50JZOH,host=,port=1)
hp-info[27526]: debug: (xmit) Sending data on channel (7)
hp-info[27526]: debug: 'msg=deviceid\ndevice-id=1\n'
hp-info[27526]: debug: (xmit) Reading data on channel (7)
hp-info[27526]: debug: 'msg=DeviceIDResult\nresult-code=0\nlength=235
\ndata:\nMFG:Hewlett-Packard;MDL:OfficeJet
K80;CMD:MLC,PCL,PML;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard OfficeJet
K Series;1284.3M:f7f,f7f;1284.4DL:4d,4e,1;SERN:SG11AB50JZOH;VSTATUS:$HB0
$NC0,ff,DN,IDLE,CUT,K1,C1,SM,NR,KP000,CP000;AiO:0;DW-PCL;'
hp-info[27526]: debug: (xmit) Sending data on channel (7)
hp-info[27526]: debug: 'msg=devicestatus\ndevice-id=1\n'
hp-info[27526]: debug: (xmit) Reading data on channel (7)
hp-info[27526]: debug: 'msg=DeviceStatusResult\nresult-code=0
\nstatus-code=24\nstatus-name=NoFault\n'
hp-info[27526]: debug: (xmit) Sending data on channel (7)
hp-info[27526]: debug: 'msg=deviceid\ndevice-id=1\n'
hp-info[27526]: debug: (xmit) Reading data on channel (7)
hp-info[27526]: debug: 'msg=DeviceIDResult\nresult-code=0\nlength=235
\ndata:\nMFG:Hewlett-Packard;MDL:OfficeJet
K80;CMD:MLC,PCL,PML;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard OfficeJet
K Series;1284.3M:f7f,f7f;1284.4DL:4d,4e,1;SERN:SG11AB50JZOH;VSTATUS:$HB0
$NC0,ff,DN,IDLE,CUT,K1,C1,SM,NR,KP000,CP000;AiO:0;DW-PCL;'
hp-info[27526]: debug: Type 1/2 (S: or VSTATUS:) status
hp-info[27526]: debug: {'revision': 255, 'photo-tray': 0, 'top-lid': 1,
'in-tray2': 0, 'in-tray1': 0, 'agents': [{'type': 1, 'kind': 3,
'health': 0, 'state': 1, 'level': 0}, {'type': 2, 'kind': 3, 'health':
0, 'state': 1, 'level': 0}], 'duplexer': 0, 'supply-lid': 0,
'media-path': 1, 'status-code': 1000}
hp-info[27526]: debug: Fax activity check...
hp-info[27526]: debug: Opening HP-MESSAGE channel...
hp-info[27526]: debug: (xmit) Sending data on channel (7)
hp-info[27526]: debug: 'msg=channelopen\ndevice-id=1
\nservice-name=HP-MESSAGE\n'
hp-info[27526]: debug: (xmit) Reading data on channel (7)
hp-info[27526]: debug: 'msg=ChannelOpenResult\nresult-code=12\n'
hp-info[27526]: debug: Exception: 99 (Unknown internal error)
error: Error opening device (Unknown internal error). Exiting.
localhost ~ # hp-info -g > aa.log
warning: Inrecognized URI: usb://HP/OfficeJet%20K80?serial=SG11AB50JZOH
warning: Inrecognized URI: cups-pdf:/
error: Error opening device (Unknown internal error). Exiting.

Is there any interesting information in this log?

Grégoire



On Tue, 2007-05-01 at 19:05 -0700, dwelch91 wrote:
> Well, I don't know what the underlying issue is, but the URI you
> provided: "usb://HP/OfficeJet%20K%
> 20Series..." is not a correct URI for HPLIP. An HPLIP URI should be of
> the form: "hp:/par/OfficeJet_K80_Series?serial=..." (or, instead of
> "serial=... it might be dev=... or similar).
>
> What happens when you manually run the "hp:" backend:?
>
> $ /usr/lib/cups/backend/hp
>
> Does it list you printer with a URI in the format I provided?
>
> If not, do you have ppdev loaded? Refer to this page:
>
> http://hplip.sourceforge.net/troubleshooting/parallel.html
>
> for some next steps.
>
> Also, could you please post the output of "hp-check"?
>
> -Don
>
>
> On 5/1/07, Gregoire Gentil <[EMAIL PROTECTED]> wrote:
>         Hello,
>
>         I have an HP OfficeJet K80 printer and it's not working when
>         using the
>         USB cable. More precisely:
>
>         With hplip v. 1.6.10, the printer was detected and correctly
>         printing
>         using the parallel cable. With the USB cable, the printer was
>         not
>         correctly detected: in CUPS 1.1.23, the parallel connection
>         was listed
>         in the device URI while the printer was connected with the USB
>         cable.
>
>         With hplip v. 1.7.3, the printer is correctly detected through
>         CUPS and
>         the device URI seems now to be correct usb://HP/OfficeJet%20K%
>         20Series... But the printer can't print the test page. If the
>         parallel
>         cable is used, the printer works fine both on detection AND
>         printing.
>
>         I also gave a quick try to 1.7.4.a-r1 but the USB printing is
>         still
>         failing while the detection is fine.
>
>         Some other HP printers like D2330 or F380 work fine on the
>         same machine
>         with the same packages mentioned above.
>
>         Any idea where the problem could be?
>
>         Many thanks by advance for any help,
>
>         Gregoire
>
>
>
>
>
-------------------------------------------------------------------------
>         This SF.net email is sponsored by DB2 Express
>         Download DB2 Express C - the FREE version of DB2 express and
>         take
>         control of your XML. No limits. Just data. Click to get it
>         now.
>         http://sourceforge.net/powerbar/db2/
>         _______________________________________________
>         HPLIP-Help mailing list
>         HPLIP-Help@lists.sourceforge.net
>         https://lists.sourceforge.net/lists/listinfo/hplip-help
>



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
HPLIP-Help mailing list
HPLIP-Help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-help




--
I don't care, I'm still free.  You can't take the sky from me. - "Firefly"
-
Ubuntu User: #11105
Ubuntu Linux http://ubuntulinux.org
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
HPLIP-Help mailing list
HPLIP-Help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-help

Reply via email to