can't print to HP LaserJet 9050dn

Asked by ST Wong

Hi, we're running:

OS: RedHat Enterprise Linux 5.7
HPLIP: hplip3-3.9.8-11.el5_6.1 (from RedHat)
Printer: HP LaserJet 9050dn

While makeuri and snmpwalk is okay:

snmpwalk -Os -c public -v 1 192.168.12.182 1.3.6.1.4.1.11.2.3.9.1.1.7.0
enterprises.11.2.3.9.1.1.7.0 = STRING: "MFG:Hewlett-Packard;CMD:PJL,MLC,BIDI-ECP,PCLXL,PCL,PDF,PJL,XHTML,MIME,POSTSCRIPT;1284.4DL:4d,4e,1;MDL:hp LaserJet 9050;CLS:PRINTER;DES:Hewlett-Packard LaserJet 9050;"

hp3-info returns error:

hp3:/net/HP_LaserJet_9050?ip=192.168.12.182

error: Unable to communicate with device (code=4): hp3:/net/HP_LaserJet_9050?ip=192.168.12.182
error: Error opening device (Device not found).
Device Parameters (dynamic data):
  Parameter Value(s)
  ---------------------------- ----------------------------------------------------------
  back-end hp3
  cups-printers CUSIS_RES_D2
  cups-uri hp3:/net/HP_LaserJet_9050?ip=192.168.12.182
  dev-file
  device-state -1
  device-uri hp3:/net/HP_LaserJet_9050?ip=192.168.12.182
  deviceid
  error-state 101
  host 192.168.12.182
  is-hp True
  panel 0
  panel-line1
  panel-line2
  port 1
  serial
  status-code 5002
  status-desc

Model Parameters (static data):
  Parameter Value(s)
  ---------------------------- ----------------------------------------------------------
  align-type 0
  clean-type 0
  color-cal-type 0
  copy-type 0
  embedded-server-type 1
  fax-type 0
  fw-download False
  icon HP_LaserJet_9000_MFP.png
  io-mfp-mode 6
  io-mode 1
  io-support 6
  job-storage 0
  linefeed-cal-type 0
  model HP_LaserJet_9050
  model-ui HP LaserJet 9050
  model1 HP LaserJet 9050 Printer
  model2 HP LaserJet 9050n Printer
  model3 HP LaserJet 9050dn Printer
  monitor-type 0
  panel-check-type 1
  pcard-type 0
  plugin 0
  plugin-reason 0
  power-settings 0
  pq-diag-type 0
  r-type 0
  r0-agent1-kind 4
  r0-agent1-sku C8543X
  r0-agent1-type 1
  scan-style 0
  scan-type 0
  status-battery-check 0
  status-dynamic-counters 0
  status-type 9
  support-released True
  support-subtype 14444
  support-type 2
  support-ver 0.9.5
  tech-class ['LJMono', 'Postscript']
  tech-subclass ['LargeFormatA3']
  tech-type 3
  usb-pid 8215
  usb-vid 1008
  wifi-config 0

Done.

---------------- cut here -------------

Would you help? Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Sanjay Kumar
Solved:
Last query:
Last reply:
Revision history for this message
Best Sanjay Kumar (sanjay-kumar14) said :
#1

Hi,

Thanks for reporting the bug in HPLIP. To help us understand and analyze the issue please follow following things.

=> Download and install the latest HPLIP release from http://hplipopensource.com/hplip-web/index.html:
=> Reconfigure print queue with the commands mentioned below.
       =>system-config-printer (remove all print queues)
       =>hp-setup (for adding print queue)
=>Enable/Clear Logs as mentioned below

    a)Open /etc/cups/cupsd.conf in root mode and replace

        LogLevel warn

          with

       LogLevel debug
       hpLogLevel 15

    b) Open Terminal and run following commands:
       => su
       => /etc/init.d/cups restart
                  or
       => service cups restart
       => cd /tmp
       => rm *.out
       => rm *.bmp
       => cat dev/null > /var/log/cups/error_log
       => hp-check -t > /tmp/hpcheck.log

    c) Try to print the file and If issue is not resolved then please send following files
          => /var/log/syslog (if present),
          => /var/log/messages (if present),
          => /var/log/cups/error_log
          => /tmp/*.bmp
          => /tmp/*.out
          => /tmp/hpcheck.log
          => document used for printing

    d) Please let me know the application used for testing.

**Please use "Create a bug report" to attach the logs as "Ask a Question" does not provide the file attachment option.

Revision history for this message
ST Wong (st-wong) said :
#2

Thanks. Can talk to the printer after removing the print queue/printers, then define the printer using hp3-setup.
It works with latest hplip driver (hplip-3.11.12_rhel-5.0.x86_64.rpm) or the one comes with RHEL 5 (hplip3-3.9.8-11.el5_6.1). Thanks a lot.

Revision history for this message
ST Wong (st-wong) said :
#3

Thanks Sanjay Kumar, that solved my question.