HP Deskjet 550C on paralell port

Asked by Kercso Jozsef

Hi!

I have a HP Deskjet 550C connected on parallel port to my computer. I have installed the hplip, but when I start hp-setup, the last radio button ("Connection using parallel port") is grayed out, the device discovery fails.

The details:
- the parallel port in the BIOS is configured to ECP

- the ppdev, parport, parport_pc and lp kernel modules are loaded:
  lp 6924 0
  parport_pc 18128 1
  parport 17216 3 ppdev,parport_pc,lp
  ppdev 6340 0

- the output of /usr/lib/cups/backend/hp:
  einstein:# /usr/lib/cups/backend/hp
  direct hp "Unknown" "HP Printer (HPLIP)"
- the output of hp-check:
hp-check[3182]: info: :
Initializing. Please wait...
scheduler is running

1.3.4

Linux einstein 2.6.17.7 #17 Wed Nov 28 00:20:31 CET 2007 i686 GNU/Linux

hp-check[3182]: info: :
hp-check[3182]: info: :---------------
hp-check[3182]: info: :| SYSTEM INFO |
hp-check[3182]: info: :---------------
hp-check[3182]: info: :
hp-check[3182]: info: :Basic system information:
hp-check[3182]: info: :Linux einstein 2.6.17.7 #17 Wed Nov 28 00:20:31 CET 2007 i686 GNU/Linux
hp-check[3182]: info: :
hp-check[3182]: info: :Distribution:
hp-check[3182]: info: :debian 0.0
hp-check[3182]: info: :
HPOJ running?
hp-check[3182]: info: :No, HPOJ is not running (OK).
hp-check[3182]: info: :
hp-check[3182]: info: :Checking Python version...
hp-check[3182]: info: :OK, version 2.4.4 installed
hp-check[3182]: info: :
hp-check[3182]: info: :Checking PyQt version...
hp-check[3182]: info: :OK, version 3.17 installed.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking SIP version...
error: SIP not installed or version not found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for CUPS...
hp-check[3182]: info: :Status: scheduler is running
hp-check[3182]: info: :Version: 1.3.4
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for Reportlab...
hp-check[3182]: info: :OK, version >= 2.0
hp-check[3182]: info: :
hp-check[3182]: info: :----------------
hp-check[3182]: info: :| DEPENDENCIES |
hp-check[3182]: info: :----------------
hp-check[3182]: info: :
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for dependency: cups - Common Unix Printing System...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for dependency: cups-devel- Common Unix Printing System development files...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for dependency: libtool - Library building support services...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for dependency: libusb - USB library...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for dependency: ppdev - Parallel port support kernel module....
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for dependency: PyQt - Qt interface for Python...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for dependency: python-devel - Python development files...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for dependency: Reportlab - PDF library for Python...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for dependency: SANE - Scanning library...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
warning: NOT FOUND! This is an OPTIONAL dependency. Some HPLIP functionality may not function properly.
hp-check[3182]: info: :
hp-check[3182]: info: :
hp-check[3182]: info: :----------------------
hp-check[3182]: info: :| HPLIP INSTALLATION |
hp-check[3182]: info: :----------------------
hp-check[3182]: info: :
hp-check[3182]: info: :
hp-check[3182]: info: :Currently installed HPLIP version...
hp-check[3182]: info: :HPLIP 2.7.10 currently installed in '/usr/share/hplip'.
hp-check[3182]: info: :
hp-check[3182]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[3182]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hpssd]
# Note: hpssd does not support dynamic ports
# Port 2207 is the IANA assigned port for hpssd
port=2207

[hplip]
version=2.7.10

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-2.7.10
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
foomatic=/usr/share/foomatic

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-xml-install=no
foomatic-ppd-install=yes
internal-tag=2.7.10.11

hp-check[3182]: info: :
hp-check[3182]: info: :----------------------
hp-check[3182]: info: :| INSTALLED PRINTERS |
hp-check[3182]: info: :----------------------
hp-check[3182]: info: :
hp-check[3182]: info: :
warning: No queues found.
hp-check[3182]: info: :
hp-check[3182]: info: :----------------------
hp-check[3182]: info: :| SANE CONFIGURATION |
hp-check[3182]: info: :----------------------
hp-check[3182]: info: :
hp-check[3182]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[3182]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking output of 'scanimage -L'...
hp-check[3182]: info: :device `v4l:/dev/video0' is a Noname Genius VideoCam Ge111 virtual device

hp-check[3182]: info: :
hp-check[3182]: info: :---------------------
hp-check[3182]: info: :| PYTHON EXTENSIONS |
hp-check[3182]: info: :---------------------
hp-check[3182]: info: :
hp-check[3182]: info: :Checking 'cupsext' CUPS extension...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking 'pcardext' Photocard extension...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking 'hpmudext' I/O extension...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :Checking 'scanext' SANE scanning extension...
hp-check[3182]: info: :OK, found.
hp-check[3182]: info: :
hp-check[3182]: info: :
hp-check[3182]: info: :-----------------
hp-check[3182]: info: :| USB I/O SETUP |
hp-check[3182]: info: :-----------------
hp-check[3182]: info: :
hp-check[3182]: info: :
hp-check[3182]: info: :Checking for permissions of USB attached printers...
hp-check[3182]: info: :
hp-check[3182]: info: :-----------
hp-check[3182]: info: :| SUMMARY |
hp-check[3182]: info: :-----------
hp-check[3182]: info: :
error: 2 errors and/or warnings.
hp-check[3182]: info: :
hp-check[3182]: info: :Please refer to the installation instructions at:
hp-check[3182]: info: :http://hplip.sourceforge.net/install/index.html

- the output of `ls -l /dev/parport0`:
crw-rw-rw- 1 lp lp 99, 0 2007-11-28 14:08 /dev/parport0

- the output of `ls -l /dev/lp*`:
crw-rw---- 1 root lp 6, 0 2007-11-28 14:08 /dev/lp0

What I'm doing wrong? How can I correct it?

Best Regards,
    Jozsef

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Kercso Jozsef
Solved:
Last query:
Last reply:
Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#1

This is happening because hplip was installed without parallel support.

"pp-build=no"

You'll want to re-install and when prompted do a custom install, and make sure to select to enable parallel.

Also make sure that the ppdev module is loaded, "modprobe ppdev" should do the trick.

A

Revision history for this message
Kercso Jozsef (jozsefke) said :
#2

You had right, now I the parallel port search is enabled. Unfortunately the device still isn't discovered. I have reloded the ppdev, lp, parport_pc and parport from memory the following messages were written by the kernel:
Nov 28 20:01:53 einstein kernel: parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
Nov 28 20:01:53 einstein kernel: parport0: irq 7 detected
Nov 28 20:01:53 einstein kernel: ppdev: user-space parallel port driver
Nov 28 20:01:57 einstein kernel: lp0: using parport0 (polling).
Nov 28 20:02:20 einstein kernel: ppdev0: registered pardevice
Nov 28 20:02:20 einstein kernel: ppdev0: unregistered pardevice

Then I ran the hp-check:
Nov 28 20:02:41 einstein python: hp-check[3404]: warning: No queues found.
Nov 28 20:02:40 einstein python: hp-check[3404]: error: SIP not installed or version not found.
Nov 28 20:02:41 einstein python: hp-check[3404]: warning: No queues found.
Nov 28 20:02:41 einstein python: hp-check[3404]: error: 1 error or warning.

The /usr/lib/cups/backend/hp still says:
direct hp "Unknown" "HP Printer (HPLIP)"

The hp-setup says:
Nov 28 20:24:57 einstein python: hp-setup[3604]: error: No devices found.Please make sure your printer is properly connected and powered-on.

What should I try next?

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#3

Can you repost the entire hp-check -t?

Thanks.

A

Revision history for this message
Kercso Jozsef (jozsefke) said :
#4

Hi!

  Yes, here it is:
$ hp-check -t

HP Linux Imaging and Printing System (ver. 2.7.10)
Dependency/Version Check Utility ver. 12.0

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.

Saving output in log file: hp-check.log

Initializing. Please wait...

---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux einstein 2.6.17.7 #18 Wed Nov 28 19:44:28 CET 2007 i686 GNU/Linux

Distribution:
debian 0.0

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.4.4 installed

Checking PyQt version...
OK, version 3.17 installed.

Checking SIP version...
error: SIP not installed or version not found.

Checking for CUPS...
Status: scheduler is running
Version: 1.3.4

Checking for Reportlab...
OK, version >= 2.0

----------------
| DEPENDENCIES |
----------------

Checking for dependency: cups - Common Unix Printing System...
OK, found.

Checking for dependency: cups-devel- Common Unix Printing System development files...
OK, found.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.

Checking for dependency: libjpeg - JPEG library...
OK, found.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.

Checking for dependency: libpthread - POSIX threads library...
OK, found.

Checking for dependency: libtool - Library building support services...
OK, found.

Checking for dependency: libusb - USB library...
OK, found.

Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: ppdev - Parallel port support kernel module....
OK, found.

Checking for dependency: PyQt - Qt interface for Python...
OK, found.

Checking for dependency: python-devel - Python development files...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: SANE - Scanning library development files...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 2.7.10 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hpssd]
# Note: hpssd does not support dynamic ports
# Port 2207 is the IANA assigned port for hpssd
port=2207

[hplip]
version=2.7.10

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-2.7.10
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
foomatic=/usr/share/foomatic

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=no
fax-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-xml-install=no
foomatic-ppd-install=yes
internal-tag=2.7.10.11

----------------------
| INSTALLED PRINTERS |
----------------------

warning: No queues found.

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

-----------------
| USB I/O SETUP |
-----------------

Checking for permissions of USB attached printers...

-----------
| SUMMARY |
-----------

error: 1 error or warning.

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html

Revision history for this message
dwelch91 (dwelch91) said :
#5

What happens if you run:

su -c "hp-setup"

(assuming debian uses su and not sudo).

Does it see the printer?

On Dec 2, 2007 12:31 PM, Kercso Jozsef <email address hidden>
wrote:

> Question #18880 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/18880
>
> Status: Needs information => Open
>
> Kercso Jozsef gave more information on the question:
> Hi!
>
> Yes, here it is:
> $ hp-check -t
>
> HP Linux Imaging and Printing System (ver. 2.7.10)
> Dependency/Version Check Utility ver. 12.0
>
> 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.
>
> Saving output in log file: hp-check.log
>
> Initializing. Please wait...
>
> ---------------
> | SYSTEM INFO |
> ---------------
>
> Basic system information:
> Linux einstein 2.6.17.7 #18 Wed Nov 28 19:44:28 CET 2007 i686 GNU/Linux
>
> Distribution:
> debian 0.0
>
> HPOJ running?
> No, HPOJ is not running (OK).
>
> Checking Python version...
> OK, version 2.4.4 installed
>
> Checking PyQt version...
> OK, version 3.17 installed.
>
> Checking SIP version...
> error: SIP not installed or version not found.
>
> Checking for CUPS...
> Status: scheduler is running
> Version: 1.3.4
>
> Checking for Reportlab...
> OK, version >= 2.0
>
> ----------------
> | DEPENDENCIES |
> ----------------
>
>
> Checking for dependency: cups - Common Unix Printing System...
> OK, found.
>
> Checking for dependency: cups-devel- Common Unix Printing System
> development files...
> OK, found.
>
> Checking for dependency: gcc - GNU Project C and C++ Compiler...
> OK, found.
>
> Checking for dependency: GhostScript - PostScript and PDF language
> interpreter and previewer...
> OK, found.
>
> Checking for dependency: libcrypto - OpenSSL cryptographic library...
> OK, found.
>
> Checking for dependency: libjpeg - JPEG library...
> OK, found.
>
> Checking for dependency: libnetsnmp-devel - SNMP networking library
> development files...
> OK, found.
>
> Checking for dependency: libpthread - POSIX threads library...
> OK, found.
>
> Checking for dependency: libtool - Library building support services...
> OK, found.
>
> Checking for dependency: libusb - USB library...
> OK, found.
>
> Checking for dependency: make - GNU make utility to maintain groups of
> programs...
> OK, found.
>
> Checking for dependency: PIL - Python Imaging Library (required for
> commandline scanning with hp-scan)...
> OK, found.
>
> Checking for dependency: ppdev - Parallel port support kernel module....
> OK, found.
>
> Checking for dependency: PyQt - Qt interface for Python...
> OK, found.
>
> Checking for dependency: python-devel - Python development files...
> OK, found.
>
> Checking for dependency: Python 2.3 or greater - Required for fax
> functionality...
> OK, found.
>
> Checking for dependency: Python 2.2 or greater - Python programming
> language...
> OK, found.
>
> Checking for dependency: Reportlab - PDF library for Python...
> OK, found.
>
> Checking for dependency: SANE - Scanning library...
> OK, found.
>
> Checking for dependency: SANE - Scanning library development files...
> OK, found.
>
> Checking for dependency: scanimage - Shell scanning program...
> OK, found.
>
> Checking for dependency: xsane - Graphical scanner frontend for SANE...
> OK, found.
>
>
> ----------------------
> | HPLIP INSTALLATION |
> ----------------------
>
>
> Currently installed HPLIP version...
> HPLIP 2.7.10 currently installed in '/usr/share/hplip'.
>
> Current contents of '/etc/hp/hplip.conf' file:
> # hplip.conf. Generated from hplip.conf.in by configure.
>
> [hpssd]
> # Note: hpssd does not support dynamic ports
> # Port 2207 is the IANA assigned port for hpssd
> port=2207
>
> [hplip]
> version=2.7.10
>
> [dirs]
> home=/usr/share/hplip
> run=/var/run
> ppd=/usr/share/ppd/hpijs/HP
> ppdbase=/usr/share/ppd/hpijs
> doc=/usr/share/doc/hplip-2.7.10
> icon=/usr/share/applications
> cupsbackend=/usr/lib/cups/backend
> foomatic=/usr/share/foomatic
>
> # Following values are determined at configure time and cannot be changed.
> [configure]
> network-build=yes
> pp-build=yes
> gui-build=yes
> scanner-build=no
> fax-build=yes
> cups11-build=no
> doc-build=yes
> shadow-build=no
> foomatic-xml-install=no
> foomatic-ppd-install=yes
> internal-tag=2.7.10.11
>
>
> ----------------------
> | INSTALLED PRINTERS |
> ----------------------
>
>
> warning: No queues found.
>
> ---------------------
> | PYTHON EXTENSIONS |
> ---------------------
>
> Checking 'cupsext' CUPS extension...
> OK, found.
>
> Checking 'pcardext' Photocard extension...
> OK, found.
>
> Checking 'hpmudext' I/O extension...
> OK, found.
>
> -----------------
> | USB I/O SETUP |
> -----------------
>
>
> Checking for permissions of USB attached printers...
>
> -----------
> | SUMMARY |
> -----------
>
> error: 1 error or warning.
>
> Please refer to the installation instructions at:
> http://hplip.sourceforge.net/install/index.html
>
> --
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

Revision history for this message
Kercso Jozsef (jozsefke) said :
#6

Hi!

  No, the printer is not detected.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#7

What version of debian are you using?

Have you tried power cycling/disconnecting and reconnecting the printer?

When was the last time the printer worked correctly?

Is there anyway to test this on windows and verify the printer/cable are working correctly?

Thanks!

A

Revision history for this message
Kercso Jozsef (jozsefke) said :
#8

Hi!

> What version of debian are you using?
I use debian unstable.

> Have you tried power cycling/disconnecting and reconnecting the printer?
Yes. I have tried to switch off/on the printer and then recheck with hp-check and hp-setup, but the printer is still not detected.

> When was the last time the printer worked correctly?
Under Linux it never worked (I've got the printer several days ago), so this is my first try to configure it under Linux.

> Is there anyway to test this on windows and verify the printer/cable are working correctly?
Yes, under Windows it works without any problems.

Best Regards,
   Jozsef

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#9

Okay great.

Can you try printing using the cups backend?

http://localhost:631/printers/

Steps here:
http://hplip.sourceforge.net/install/step4/cups/local.html

Revision history for this message
Kercso Jozsef (jozsefke) said :
#10

Yesss, the CUPSYS solved the problem. :) Now I can see and use my printer from the KDE programs. However it is strange, that even now the hp-setup and hp-toolbox doesn't see my printer. But this is not relevant any more for me, because my goal was to setup my printer to use under Linux with or without hplip. :)

Thanks for the help,
  Jozsef

Revision history for this message
Kercso Jozsef (jozsefke) said :
#11

One more thing: I use CUPSYS 1.3.4. Maybe it can help to find out, why hp-check cannot discover the printer. Maybe my cupsys version doesn't supported by hplip yet.