Welcome to the Linux Foundation Forum!

hplip 3.12.4.run problems

kena43
kena43 Posts: 6
edited April 2012 in Applications

I run OS ubuntu 10.04 and oannot get it to print even after many attsaempts to install/uninstall hp hplip-3.12.4.run.

Machine says "printer ready" but machine "not connected"

Any ideas for me?

kena43

arseenowe@att.net

Thanks.

Comments

  • Try this..... 1st make sure the printer is connected to comp and powered on. Next open terminal and check if the usb kernel modules are loaded as: lsmod | grep usb. Unplug the printer cable from comp and enter this command: tail -f /var/log/syslog
    Again reconnect the printer cable & it shows some messages just press ctrl-c to stop it. Now check whether the printer gets correctly detected by the usb subsystem by typing as: lsusb
    Check whether the device files have correct permissions: ls -l /dev/usb/lp* /dev/bus/usb/*/*

    Now check for HP printers as: hp-info -i
    and choose the printer with the problem from the text menu, then copy the deviceid from the entry and again check whether hplip connects by the commands: hp-makeuri <bus>:<deviceid> here replace bus & deviceid by the bus and device numbers from the lsusb outputs. The numbers must be supplied with three digits, like for eg. 009:017.
    If possible find out if the printer gets detected by cups: lpinfo -v
    Or u may use web interface like: http://127.0.0.1:631
  • kena43
    kena43 Posts: 6
    Connected but units do not work/print. The only error showing is a defective ink cartridge.
  • mfillpot
    mfillpot Posts: 2,177
    Have you also confirmed that the user(s) are members of the lp or printing group?
  • kena43
    kena43 Posts: 6
    yes, if I understand your question correctly.
  • kena43
    kena43 Posts: 6
    ken@ken-laptop:~$ lsmod | grep usb
    usblp 10481 0
    usb_storage 40065 0
    ken@ken-laptop:~$
    ken@ken-laptop:~$ tail -f /var/log/syslog
    Apr 26 00:42:37 ken-laptop udev-configure-printer: Disabled printer ipp://localhost:631/printers/Deskjet_1000_J110 as the corresponding device was unplugged or turned off
    Apr 26 00:42:37 ken-laptop udev-configure-printer: URI of print queue: cups-pdf:/, normalized: cups pdf
    Apr 26 00:42:37 ken-laptop udev-configure-printer: URI of detected printer: hp:/usb/Deskjet_1000_J110_series?serial=CN0BM22H0N05D2, normalized: deskjet 1000 j110 series serial cn0bm22h0n05d2
    Apr 26 00:42:37 ken-laptop udev-configure-printer: URI of detected printer: usb://HP/Deskjet%201000%20J110%20series?serial=CN0BM22H0N05D2, normalized: deskjet 1000 j110 series serial cn0bm22h0n05d2
    Apr 26 00:42:37 ken-laptop kernel: [51055.702164] atkbd.c: Unknown key pressed (translated set 2, code 0x8d on isa0060/serio0).
    Apr 26 00:42:37 ken-laptop kernel: [51055.702168] atkbd.c: Use 'setkeycodes e00d <keycode>' to make it known.
    Apr 26 00:42:37 ken-laptop cpufreqd: get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0/energy_full (No such file or directory)
    Apr 26 00:42:37 ken-laptop cpufreqd: get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0/energy_now (No such file or directory)
    Apr 26 00:42:37 ken-laptop cpufreqd: get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0/energy_full (No such file or directory)
    Apr 26 00:42:37 ken-laptop cpufreqd: get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0/en0
    ken@ken-laptop:~$ lsusb
    Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 022: ID 03f0:8811 Hewlett-Packard
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 003: ID 0c45:63ee Microdia
    Bus 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. Mass Storage Device
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    ken@ken-laptop:~$
    ken@ken-laptop:~$ ls -l /dev/usb/lp* /dev/bus/usb/*/*
    crw-rw-r-- 1 root root 189, 0 2012-04-25 10:32 /dev/bus/usb/001/001
    crw-rw-r-- 1 root root 189, 1 2012-04-25 10:32 /dev/bus/usb/001/002
    crw-rw-r-- 1 root root 189, 2 2012-04-25 10:32 /dev/bus/usb/001/003
    crw-rw-r-- 1 root root 189, 128 2012-04-25 10:32 /dev/bus/usb/002/001
    crw-rw-r--+ 1 root lp 189, 149 2012-04-26 00:47 /dev/bus/usb/002/022
    crw-rw-r-- 1 root root 189, 256 2012-04-25 10:32 /dev/bus/usb/003/001
    crw-rw-r-- 1 root root 189, 384 2012-04-25 10:32 /dev/bus/usb/004/001
    crw-rw-r-- 1 root root 189, 512 2012-04-25 10:32 /dev/bus/usb/005/001
    crw-rw-r-- 1 root root 189, 640 2012-04-25 10:32 /dev/bus/usb/006/001
    crw-rw-r-- 1 root root 189, 768 2012-04-25 10:32 /dev/bus/usb/007/001
    crw-rw-r-- 1 root root 189, 896 2012-04-25 10:32 /dev/bus/usb/008/001
    crw-rw---- 1 root lp 180, 0 2012-04-26 00:47 /dev/usb/lp0
    ken@ken-laptop:~$
    ken@ken-laptop:~$ hp-info -i

    HP Linux Imaging and Printing System (ver. 3.12.4)
    Device Information Utility ver. 5.2

    Copyright (c) 2001-14 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.

    Using device: hp:/usb/Deskjet_1000_J110_series?serial=CN0BM22H0N05D2


    hp:/usb/Deskjet_1000_J110_series?serial=CN0BM22H0N05D2

    error: Error attempting to read r-value (2).
    Device Parameters (dynamic data):
    Parameter Value(s)

    agent1-ack False
    agent1-desc Black cartridge
    agent1-dvc 0
    agent1-health 0
    agent1-health-desc Good/OK
    agent1-hp-ink False
    agent1-id 0
    agent1-kind 3
    agent1-known False
    agent1-level 0
    agent1-level-trigger 3
    agent1-sku 61/61XL/61b
    agent1-type 1
    agent1-virgin False
    back-end hp
    cups-printers
    cups-uri hp:/usb/Deskjet_1000_J110_series?serial=CN0BM22H0N05D2
    dev-file
    device-state 1
    device-uri hp:/usb/Deskjet_1000_J110_series?serial=CN0BM22H0N05D2
    deviceid MFG:HP;MDL:Deskjet 1000 J110
    series;CMD:PCL,DW-PCL,DESKJET,DYN;CLS:PRINTER;DES:CH340A;C
    ID:HPIJVIPAV1;LEDMDIS:USB#07#01#02,USB#FF#04#01;SN:CN0BM22
    H0N05D2;S:038000C4840F1021112c1f30000fff88000;J:
    ;Z:0102,0503746b000000,0600,0c0,0e000c0000,0f01000000,1000
    0008000008,12000,140,150,16361a37460001000000000001,170000
    5a000000;
    duplexer 0
    error-state 101
    host
    in-tray1 True
    in-tray2 False
    is-hp True
    media-path 3
    panel 0
    panel-line1
    panel-line2
    photo-tray 0
    port 1
    r 0
    revision 3
    rg 000
    rr 000000
    rs 000000000
    serial CN0BM22H0N05D2
    status-code 1017
    status-desc There is a problem with a print cartridge
    supply-door 0
    top-door 1

    Model Parameters (static data):
    Parameter Value(s)

    align-type 16
    clean-type 1
    color-cal-type 0
    copy-type 0
    embedded-server-type 0
    fax-type 0
    fw-download False
    icon hp_deskjet_f4200.png
    io-mfp-mode 3
    io-mode 1
    io-support 2
    job-storage 0
    linefeed-cal-type 0
    model Deskjet_1000_J110_series
    model-ui HP Deskjet 1000 j110 Series
    model1 HP Deskjet 1000 J110 Series
    monitor-type 0
    panel-check-type 1
    pcard-type 0
    plugin 0
    plugin-reason 0
    power-settings 0
    pq-diag-type 0
    r-type 1
    r0-agent1-kind 3
    r0-agent1-sku 61/61XL/61b
    r0-agent1-type 1
    r0-agent2-kind 3
    r0-agent2-sku 61/61XL
    r0-agent2-type 2
    r10-agent1-kind 3
    r10-agent1-sku 802/802XL/802b
    r10-agent1-type 1
    r10-agent2-kind 3
    r10-agent2-sku 802/802XL
    r10-agent2-type 2
    r18-agent2-kind 3
    r18-agent2-sku 93/95
    r18-agent2-type 2
    r18-agent3-kind 3
    r18-agent3-sku 99
    r18-agent3-type 3
    r2-agent1-kind 3
    r2-agent1-sku 61/61XL/61b
    r2-agent1-type 1
    r2-agent2-kind 3
    r2-agent2-sku 61/61XL
    r2-agent2-type 2
    r4-agent1-kind 3
    r4-agent1-sku 301/301XL/301b
    r4-agent1-type 1
    r4-agent2-kind 3
    r4-agent2-sku 301/301XL
    r4-agent2-type 2
    r8-agent1-kind 3
    r8-agent1-sku 122/122XL/122b
    r8-agent1-type 1
    r8-agent2-kind 3
    r8-agent2-sku 122/122XL
    r8-agent2-type 2
    scan-src 0
    scan-type 0
    status-battery-check 0
    status-dynamic-counters 1
    status-type 2
    support-released True
    support-subtype 2202411
    support-type 2
    support-ver 3.10.9
    tech-class
    tech-subclass
    tech-type 2
    usb-pid 34833
    usb-vid 1008
    wifi-config 0

    Status History (most recent first):
    Date/Time Code Status Description User Job ID




    04/26/12 00:55:51 1017 There is a problem with a print ken 0
    cartridge
    04/26/12 00:42:37 501 Print job has completed ken 159
    04/26/12 00:42:37 5021 Device is busy ken 159
    04/25/12 16:37:48 501 Print job has completed ken 161
    04/25/12 16:37:47 500 Started a print job ken 161
    04/25/12 16:37:03 501 Print job has completed ken 158
    04/25/12 16:36:56 500 Started a print job ken 158
    04/25/12 16:32:37 501 Print job has completed ken 161
    04/25/12 16:32:36 500 Started a print job ken 161
    04/25/12 16:31:52 501 Print job has completed ken 158
    04/25/12 16:31:45 500 Started a print job ken 158
    04/25/12 16:27:26 501 Print job has completed ken 161
    04/25/12 16:27:25 500 Started a print job ken 161
    04/25/12 16:26:39 501 Print job has completed ken 158
    04/25/12 16:26:32 500 Started a print job ken 158
    04/25/12 16:22:24 501 Print job has completed ken 161
    04/25/12 16:22:23 500 Started a print job ken 161
    04/25/12 16:21:30 501 Print job has completed ken 158
    04/25/12 16:21:23 500 Started a print job ken 158
    04/25/12 16:17:22 501 Print job has completed ken 161
    04/25/12 16:17:21 500 Started a print job ken 161
    04/25/12 16:16:22 501 Print job has completed ken 158
    04/25/12 16:16:14 500 Started a print job ken 159
    04/25/12 14:05:17 501 Print job has completed ken 158
    04/25/12 14:05:02 500 Started a print job ken 158
    04/25/12 13:53:47 1017 There is a problem with a print ken 0
    cartridge
    04/25/12 13:28:47 501 Print job has completed ken 157
    04/25/12 13:28:35 500 Started a print job ken 157
    04/25/12 13:13:26 1017 There is a problem with a print ken 0
    cartridge


    Done.
    ken@ken-laptop:~$ ken@ken-laptop:~$ lsusb
    Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 022: ID 03f0:8811 Hewlett-Packard
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 003: ID 0c45:63ee Microdia
    Bus 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. Mass Storage Device
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    ken@ken-laptop:~$ ls -l /dev/usb/lp* /dev/bus/usb/*/*
    crw-rw-r-- 1 root root 189, 0 2012-04-25 10:32 /dev/bus/usb/001/001
    crw-rw-r-- 1 root root 189, 1 2012-04-25 10:32 /dev/bus/usb/001/002
    crw-rw-r-- 1 root root 189, 2 2012-04-25 10:32 /dev/bus/usb/001/003
    crw-rw-r-- 1 root root 189, 128 2012-04-25 10:32 /dev/bus/usb/002/001
    crw-rw-r--+ 1 root lp 189, 149 2012-04-26 00:47 /dev/bus/usb/002/022
    crw-rw-r-- 1 root root 189, 256 2012-04-25 10:32 /dev/bus/usb/003/001
    crw-rw-r-- 1 root root 189, 384 2012-04-25 10:32 /dev/bus/usb/004/001
    crw-rw-r-- 1 root root 189, 512 2012-04-25 10:32 /dev/bus/usb/005/001
    crw-rw-r-- 1 root root 189, 640 2012-04-25 10:32 /dev/bus/usb/006/001
    crw-rw-r-- 1 root root 189, 768 2012-04-25 10:32 /dev/bus/usb/007/001
    crw-rw-r-- 1 root root 189, 896 2012-04-25 10:32 /dev/bus/usb/008/001
    crw-rw---- 1 root lp 180, 0 2012-04-26 00:47 /dev/usb/lp0
    ken@ken-laptop:~$ clear

    ken@ken-laptop:~$ hp-info -i

    HP Linux Imaging and Printing System (ver. 3.12.4)
    Device Information Utility ver. 5.2

    Copyright (c) 2001-14 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.

    Using device: hp:/usb/Deskjet_1000_J110_series?serial=CN0BM22H0N05D2


    hp:/usb/Deskjet_1000_J110_series?serial=CN0BM22H0N05D2

    error: Error attempting to read r-value (2).
    Device Parameters (dynamic data):
    Parameter Value(s)

    agent1-ack False
    agent1-desc Black cartridge
    agent1-dvc 0
    agent1-health 0
    agent1-health-desc Good/OK
    agent1-hp-ink False
    agent1-id 0
    agent1-kind 3
    agent1-known False
    agent1-level 0
    agent1-level-trigger 3
    agent1-sku 61/61XL/61b
    agent1-type 1
    agent1-virgin False
    back-end hp
    cups-printers
    cups-uri hp:/usb/Deskjet_1000_J110_series?serial=CN0BM22H0N05D2
    dev-file
    device-state 1
    device-uri hp:/usb/Deskjet_1000_J110_series?serial=CN0BM22H0N05D2
    deviceid MFG:HP;MDL:Deskjet 1000 J110
    series;CMD:PCL,DW-PCL,DESKJET,DYN;CLS:PRINTER;DES:CH340A;C
    ID:HPIJVIPAV1;LEDMDIS:USB#07#01#02,USB#FF#04#01;SN:CN0BM22
    H0N05D2;S:038000C4840F1021112c1f30000fff88000;J:
    ;Z:0102,0503746b000000,0600,0c0,0e000c0000,0f01000000,1000
    0008000008,12000,140,150,16361a37460001000000000001,170000
    5a000000;
    duplexer 0
    error-state 101
    host
    in-tray1 True
    in-tray2 False
    is-hp True
    media-path 3
    panel 0
    panel-line1
    panel-line2
    photo-tray 0
    port 1
    r 0
    revision 3
    rg 000
    rr 000000
    rs 000000000
    serial CN0BM22H0N05D2
    status-code 1017
    status-desc There is a problem with a print cartridge
    supply-door 0
    top-door 1

    Model Parameters (static data):
    Parameter Value(s)

    align-type 16
    clean-type 1
    color-cal-type 0
    copy-type 0
    embedded-server-type 0
    fax-type 0
    fw-download False
    icon hp_deskjet_f4200.png
    io-mfp-mode 3
    io-mode 1
    io-support 2
    job-storage 0
    linefeed-cal-type 0
    model Deskjet_1000_J110_series
    model-ui HP Deskjet 1000 j110 Series
    model1 HP Deskjet 1000 J110 Series
    monitor-type 0
    panel-check-type 1
    pcard-type 0
    plugin 0
    plugin-reason 0
    power-settings 0
    pq-diag-type 0
    r-type 1
    r0-agent1-kind 3
    r0-agent1-sku 61/61XL/61b
    r0-agent1-type 1
    r0-agent2-kind 3
    r0-agent2-sku 61/61XL
    r0-agent2-type 2
    r10-agent1-kind 3
    r10-agent1-sku 802/802XL/802b
    r10-agent1-type 1
    r10-agent2-kind 3
    r10-agent2-sku 802/802XL
    r10-agent2-type 2
    r18-agent2-kind 3
    r18-agent2-sku 93/95
    r18-agent2-type 2
    r18-agent3-kind 3
    r18-agent3-sku 99
    r18-agent3-type 3
    r2-agent1-kind 3
    r2-agent1-sku 61/61XL/61b
    r2-agent1-type 1
    r2-agent2-kind 3
    r2-agent2-sku 61/61XL
    r2-agent2-type 2
    r4-agent1-kind 3
    r4-agent1-sku 301/301XL/301b
    r4-agent1-type 1
    r4-agent2-kind 3
    r4-agent2-sku 301/301XL
    r4-agent2-type 2
    r8-agent1-kind 3
    r8-agent1-sku 122/122XL/122b
    r8-agent1-type 1
    r8-agent2-kind 3
    r8-agent2-sku 122/122XL
    r8-agent2-type 2
    scan-src 0
    scan-type 0
    status-battery-check 0
    status-dynamic-counters 1
    status-type 2
    support-released True
    support-subtype 2202411
    support-type 2
    support-ver 3.10.9
    tech-class
    tech-subclass
    tech-type 2
    usb-pid 34833
    usb-vid 1008
    wifi-config 0

    Status History (most recent first):
    Date/Time Code Status Description User Job ID




    04/26/12 00:55:51 1017 There is a problem with a print ken 0
    cartridge
    04/26/12 00:42:37 501 Print job has completed ken 159
    04/26/12 00:42:37 5021 Device is busy ken 159
    04/25/12 16:37:48 501 Print job has completed ken 161
    04/25/12 16:37:47 500 Started a print job ken 161
    04/25/12 16:37:03 501 Print job has completed ken 158
    04/25/12 16:36:56 500 Started a print job ken 158
    04/25/12 16:32:37 501 Print job has completed ken 161
    04/25/12 16:32:36 500 Started a print job ken 161
    04/25/12 16:31:52 501 Print job has completed ken 158
    04/25/12 16:31:45 500 Started a print job ken 158
    04/25/12 16:27:26 501 Print job has completed ken 161
    04/25/12 16:27:25 500 Started a print job ken 161
    04/25/12 16:26:39 501 Print job has completed ken 158
    04/25/12 16:26:32 500 Started a print job ken 158
    04/25/12 16:22:24 501 Print job has completed ken 161
    04/25/12 16:22:23 500 Started a print job ken 161
    04/25/12 16:21:30 501 Print job has completed ken 158
    04/25/12 16:21:23 500 Started a print job ken 158
    04/25/12 16:17:22 501 Print job has completed ken 161
    04/25/12 16:17:21 500 Started a print job ken 161
    04/25/12 16:16:22 501 Print job has completed ken 158
    04/25/12 16:16:14 500 Started a print job ken 159
    04/25/12 14:05:17 501 Print job has completed ken 158
    04/25/12 14:05:02 500 Started a print job ken 158
    04/25/12 13:53:47 1017 There is a problem with a print ken 0
    cartridge
    04/25/12 13:28:47 501 Print job has completed ken 157
    04/25/12 13:28:35 500 Started a print job ken 157
    04/25/12 13:13:26 1017 There is a problem with a print ken 0
    cartridge


    Done.
    ken@ken-laptop:~$ clear

    ken@ken-laptop:~$ hp-makeuri 002:022

    HP Linux Imaging and Printing System (ver. 3.12.4)
    Device URI Creation Utility ver. 5.0

    Copyright (c) 2001-14 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.

    CUPS URI: hp:/usb/Deskjet_1000_J110_series?serial=CN0BM22H0N05D2

    Done.
    ken@ken-laptop:~$













  • mfillpot
    mfillpot Posts: 2,177
    The output looks normal enough, and the message about an error with the cartridge was received from the printer so I do not think any software changes will correct it. Have you attempted to reseat the ink cartridges or print to that printer from another operating system?
  • kena43
    kena43 Posts: 6
    I reset the ink cartridges but to no avail. Am not set up to operate from another operating system.
  • kena43
    kena43 Posts: 6
    Tested printer on Windows XP with the following results

    HPTri Color
    The cartridges listed above are not intended for use in this printer as it is currently configured.
    Please refer to Printer Help.
  • mfillpot
    mfillpot Posts: 2,177
    I am wondering why that error message would not populate the same in hplip, I guess there is room for improvement in hplip. Anyway, you found the problem, the printer itself is reporting that the incorrect color cartridge is installed. If the correct cartridge is installed then it would be a hardware error that would warrant replacing the printer.
  • It is best to call a HW expert specially who has deep knowledge in printers. Check ur printer by the person and probably ur probs will be sorted out.

Categories

Upcoming Training