Trouble setting up hp1505 on Ubuntu 8.1

Asked by guyw

Hi
Ubuntu novice here whose really enjoying Ubuntu except I'm having a real nightmare (all of Saturday afternoon) trying to set up my HP Laserjet P1505 via a USB cable! It initially looked great, I installed HPLIP toolbox, it recognised the HP1505, I downloaded the adds, ran sudo hp-setup, however it hangs on printing the test page and then fails "unable to print to printer". Thanks for any help you give in rescuing me!
Below is the text produced when HP-setup fails:

HP Linux Imaging and Printing System (ver. 2.8.7)
Printer/Fax Setup Utility ver. 7.2

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

\error: Channel write error
Traceback (most recent call last):
  File "/usr/share/hplip/ui/setupform.py", line 974, in accept
    if d.isIdleAndNoError():
  File "/usr/share/hplip/base/device.py", line 1857, in isIdleAndNoError
    self.queryDevice(quick=True)
  File "/usr/share/hplip/base/device.py", line 1564, in queryDevice
    status_block = status.StatusType8(self)
  File "/usr/share/hplip/base/status.py", line 1306, in StatusType8
    dev.writePrint("\x1b%-12345X@PJL INFO STATUS \r\n\x1b%-12345X")
  File "/usr/share/hplip/base/device.py", line 2038, in writePrint
    return self.__writeChannel(self.openPrint, data)
  File "/usr/share/hplip/base/device.py", line 2069, in __writeChannel
    raise Error(ERROR_DEVICE_IO_ERROR)
base.g.Error: ('Device I/O error', 12)
error: Unable to communicate with device (code=31): hp:/usb/HP_LaserJet_P1505?serial=CA4798X
error: Unable to print to printer. Please check device and try again.

This is the output from HP-check:

HP Linux Imaging and Printing System (ver. 2.8.7)
Dependency/Version Check Utility ver. 14.0

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

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper
dependencies are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...
warning: Invalid ppd_dir value: None

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

Basic system information:
Linux guy-desktop 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux

Distribution:
ubuntu 8.10

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

Checking Python version...
OK, version 2.5.2 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
error: Version: (Not available. CUPS may not be installed or not running.)

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.82.4

------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

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

Checking for dependency: cups-ddk - CUPS driver development kit...
OK, found.

Checking for dependency: cups-devel- Common Unix Printing System development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: dbus - Message bus system...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

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

Checking for dependency: libcrypto - OpenSSL cryptographic library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: libjpeg - JPEG library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

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

Checking for dependency: libtool - Library building support services...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: libusb - USB library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

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-ctypes - A foreign function library for Python...
OK, found.

Checking for dependency: python-dbus - Python bindings for dbus...
OK, found.

Checking for dependency: python-devel - Python development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

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...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

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.8.7 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
[dirs]
run = /var/run
cupsbackend = /usr/lib/cups/backend
ppd = /usr/share/ppd/hpijs/HP
doc = /usr/share/doc/hplip-doc/HTML
drv = /usr/share/cups/drv
ppdbase = /usr/share/ppd/hpijs
home = /usr/share/hplip
cupsfilter = /usr/lib/cups/filter
icon = no

[hplip]
version = 2.8.7
plugin = 1

[configure]
foomatic-rip-hplip-install = no
foomatic-ppd-install = no
doc-build = yes
cups11-build = no
gui-build = yes
internal-tag = 2.8.7.3
foomatic-drv-install = yes
pp-build = yes
scanner-build = yes
network-build = yes
restricted-build = no
dbus-build = yes
shadow-build = no
fax-build = yes

-------------------------------
| DISCOVERED PARALLEL DEVICES |
-------------------------------

No devices found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI Model
  ---------------------------------------- -------------------------------
  hp:/usb/HP_LaserJet_P1505?serial=CA4798X HP LaserJet P1505

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

HP_LaserJet_P1505
-----------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
PPD: /etc/cups/ppd/HP_LaserJet_P1505.ppd
PPD Description: HP LaserJet P1505 Foomatic/hpijs-ZJS (recommended)
Printer status: printer HP_LaserJet_P1505 is idle. enabled since Sun 22 Mar 2009 07:24:16 GMT
error: Required plug-in status: Not installed
Communication status: Good

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

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

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

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

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

Checking 'scanext' SANE scanning extension...
OK, found.

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

Checking for permissions of USB attached printers...

HP Device 0x3f17 at 005:003:
    Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
    Device node: /dev/bus/usb/005/003
    Mode: 0664
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/005/003
# owner: lp
# group: scanner
user::rw-
user:guy:rw-
group::rw-
mask::rw-
other::r--

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

error: 13 errors and/or warnings.

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

Done.

Question information

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

This printer requires a plugin to work correctly. Try running:

sudo hp-plugin

and then try printing. If that still doesn't work run:

sudo hp-setup

To configure the printer again.

Hope this helps!

Aaron

Revision history for this message
guyw (guywlkr) said :
#2

hello aaron

thanks for getting back to me. I've tried sudo hp-plugin and got the following message: sudo: hp-plugin: command not found

I've opened HPLIP and tried to installed the required plugin and it says (already installed). i then tried sudo hp-plugin again and it still failed "command not found". here is the latest hp-check :
- Show quoted text -

HP Linux Imaging and Printing System (ver. 2.8.7)
Dependency/Version Check Utility ver. 14.0

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

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode
will check both of the above cases (both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...
warning: Invalid ppd_dir value: None

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

Basic system information:
Linux guy-desktop 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux

Distribution:
ubuntu 8.10

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

Checking Python version...
OK, version 2.5.2 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
error: Version: (Not available. CUPS may not be installed or not running.)

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.82.4

------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

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

Checking for dependency: cups-ddk - CUPS driver development kit...
OK, found.

Checking for dependency: cups-devel- Common Unix Printing System development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: dbus - Message bus system...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

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

Checking for dependency: libcrypto - OpenSSL cryptographic library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: libjpeg - JPEG library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

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

Checking for dependency: libtool - Library building support services...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: libusb - USB library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

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-ctypes - A foreign function library for Python...
OK, found.

Checking for dependency: python-dbus - Python bindings for dbus...
OK, found.

Checking for dependency: python-devel - Python development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

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...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

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.8.7 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
[dirs]
run = /var/run
cupsbackend = /usr/lib/cups/backend
ppd = /usr/share/ppd/hpijs/HP
doc = /usr/share/doc/hplip-doc/HTML
drv = /usr/share/cups/drv
ppdbase = /usr/share/ppd/hpijs
home = /usr/share/hplip
cupsfilter = /usr/lib/cups/filter
icon = no

[hplip]
version = 2.8.7
plugin = 1

[configure]
foomatic-rip-hplip-install = no
foomatic-ppd-install = no
doc-build = yes
cups11-build = no
gui-build = yes
internal-tag = 2.8.7.3
foomatic-drv-install = yes
pp-build = yes
scanner-build = yes
network-build = yes
restricted-build = no
dbus-build = yes
shadow-build = no
fax-build = yes

-------------------------------
| DISCOVERED PARALLEL DEVICES |
-------------------------------

No devices found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI Model
  -------------------------------- -----------------
  hp:/usb/HP_LaserJet_P1505?serial HP LaserJet P1505
  =CA4798X

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

HP_LaserJet_P1505
-----------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
PPD: /etc/cups/ppd/HP_LaserJet_P1505.ppd
PPD Description: HP LaserJet P1505 Foomatic/hpijs-ZJS (recommended)
Printer status: printer HP_LaserJet_P1505 now printing HP_LaserJet_P1505-0. enabled since Sat 28 Mar 2009 17:17:32 GMT
error: Required plug-in status: Not installed
error: Device busy: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
error: Device not found

HP_LaserJet_P1505_2
-------------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
PPD: /etc/cups/ppd/HP_LaserJet_P1505_2.ppd
PPD Description: HP LaserJet P1505 Foomatic/hpijs-ZJS (recommended)
Printer status: printer HP_LaserJet_P1505_2 is idle. enabled since Sat 28 Mar 2009 17:23:52 GMT
error: Required plug-in status: Not installed
error: Device busy: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
error: Device not found

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

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

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

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

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

Checking 'scanext' SANE scanning extension...
OK, found.

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

Checking for permissions of USB attached printers...

HP Device 0x3f17 at 005:002:
    Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
    Device node: /dev/bus/usb/005/002
    Mode: 0664
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/005/002
# owner: lp
# group: scanner
user::rw-
user:guy:rw-
group::rw-
mask::rw-
other::r--

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

error: 16 errors and/or warnings.

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

Done.

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

If possible please upgrade to the latest HPLIP, delete the current printer queues and run hp-setup again to configure the printer.

Hope this helps.

Aaron

Revision history for this message
guyw (guywlkr) said :
#4

Hi Aaron

Removed HPLIP, killed the print queues and then reinstalled HPLIP. Unfortunately still no joy!

Guy

guy@guy-desktop:~$ sudo hp-setup

HP Linux Imaging and Printing System (ver. 2.8.7)
Printer/Fax Setup Utility ver. 7.2

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

\error: Printer Error. Printer is busy, offline, or in an error state. Please check the device and try again.

Done.
guy@guy-desktop:~$ sudo hp-check

HP Linux Imaging and Printing System (ver. 2.8.7)
Dependency/Version Check Utility ver. 14.0

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

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode
will check both of the above cases (both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...
warning: Invalid ppd_dir value: None

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

Basic system information:
Linux guy-desktop 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux

Distribution:
ubuntu 8.10

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

Checking Python version...
OK, version 2.5.2 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
error: Version: (Not available. CUPS may not be installed or not running.)

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.82.4

------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

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

Checking for dependency: cups-ddk - CUPS driver development kit...
OK, found.

Checking for dependency: cups-devel- Common Unix Printing System development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: dbus - Message bus system...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

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

Checking for dependency: libcrypto - OpenSSL cryptographic library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: libjpeg - JPEG library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

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

Checking for dependency: libtool - Library building support services...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: libusb - USB library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

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-ctypes - A foreign function library for Python...
OK, found.

Checking for dependency: python-dbus - Python bindings for dbus...
OK, found.

Checking for dependency: python-devel - Python development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

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...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

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.8.7 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
[dirs]
run = /var/run
cupsbackend = /usr/lib/cups/backend
ppd = /usr/share/ppd/hpijs/HP
doc = /usr/share/doc/hplip-doc/HTML
drv = /usr/share/cups/drv
ppdbase = /usr/share/ppd/hpijs
home = /usr/share/hplip
cupsfilter = /usr/lib/cups/filter
icon = no

[hplip]
version = 2.8.7
plugin = 1

[configure]
foomatic-rip-hplip-install = no
foomatic-ppd-install = no
doc-build = yes
cups11-build = no
gui-build = yes
internal-tag = 2.8.7.3
foomatic-drv-install = yes
pp-build = yes
scanner-build = yes
network-build = yes
restricted-build = no
dbus-build = yes
shadow-build = no
fax-build = yes

-------------------------------
| DISCOVERED PARALLEL DEVICES |
-------------------------------

No devices found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI Model
  ---------------------------------------- -------------------------------
  hp:/usb/HP_LaserJet_P1505?serial=CA4798X HP LaserJet P1505

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

HP_LaserJet_P1505
-----------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
PPD: /etc/cups/ppd/HP_LaserJet_P1505.ppd
PPD Description: HP LaserJet P1505 Foomatic/hpijs-ZJS (recommended)
Printer status: printer HP_LaserJet_P1505 is idle. enabled since Tue 31 Mar 2009 18:12:41 BST
error: Required plug-in status: Not installed
Communication status: Good

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

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

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

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

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

Checking 'scanext' SANE scanning extension...
OK, found.

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

Checking for permissions of USB attached printers...

HP Device 0x3f17 at 005:002:
    Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
    Device node: /dev/bus/usb/005/002
    Mode: 0664
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/005/002
# owner: lp
# group: scanner
user::rw-
user:guy:rw-
group::rw-
mask::rw-
other::r--

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

error: 13 errors and/or warnings.

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

Done.

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

It still says you are using HPLIP 2.8.7. Please try with 3.9.2 from http://hplipopensource.com

Thanks.

Aaron

Revision history for this message
guyw (guywlkr) said :
#6

Hi Aaron (Thanks for all you patience!)

Making progress! installed HPLIP 3.9.2 with no errors as per hp-check. However the printer still hangs when trying to print the test page or any other pages. see below for error messages. I've tried switching printer off, unplugging USBs, switching USB sockets on PC, but nothing works!

sudo hp-setup

HP Linux Imaging and Printing System (ver. 3.9.2)
Printer/Fax Setup Utility ver. 8.0

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

Searching... (bus=usb, search=(None) desc=0)
Searching... (bus=usb, search=(None) desc=0)
|error: Channel write error
error: Printer Error. Printer is busy, offline, or in an error state. Please check the device and try again.

Done.

Revision history for this message
guyw (guywlkr) said :
#7

After installing HPLIP 3.9.2 when i switch the printer on I checked the Device Manager and I get DEvice communication error, code 5012.

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

Is the printer online or in an error state? Are there any lights blinking on the printer? Usually this means that the printer is not connected or is an error state.

Aaron

Revision history for this message
guyw (guywlkr) said :
#9

Hello Aaron
Making progress! The printer seems fine, no error lights and it prints a beautiful test page when I press the page feed button on the printer. However, when I switch the connected printer on I get a Device Communication Error (code 5012) on my PC. I can get rid of the error by going to the Device Manager and pressing the Start Printer button. We are then in the strange situation of being able to print pages but no text, hence printing a 4 page document produces 4 pages of blank text, so the printer is connected.

I tried to download the Firmware from the Device Manager, but get a Service Request Error (code 1806) and the printer then locks, need to stop/start printer from the Printer Control panel.

It feels like we are making progress, albeit slowly! thanks for all you patience.

Guy

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

Hm that's interesting..

Please run hp-check -t again and post the output.

Thanks!

Aaron

Revision history for this message
guyw (guywlkr) said :
#11

Here is the output (printer prints blank pages)

HP Linux Imaging and Printing System (ver. 3.9.2)
Dependency/Version Check Utility ver. 14.1

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

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode
will check both of the above cases (both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...

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

Basic system information:
Linux guy-desktop 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux

Distribution:
ubuntu 8.10

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

Checking Python version...
OK, version 2.5.2 installed

Checking PyQt 4.x version...
OK, version 4.4.3 installed.

Checking for CUPS...
Status: scheduler is running
Version: 1.3.9
error_log is set to level: debug

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.82.4

------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

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

Checking for dependency: CUPS DDK - CUPS driver development kit...
OK, found.

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

Checking for dependency: DBus - Message bus system...
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 4- Qt interface for Python (for Qt version 4.x)...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python ctypes - A foreign function library for Python...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

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

Checking for dependency: Python XML libraries...
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 3.9.2 currently installed in '/usr/share/hplip'.

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

[hplip]
version=3.9.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-3.9.2
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp/

# 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
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
internal-tag=3.9.2.49
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes

Current contents of '~/.hplip/hplip.conf' file:
[last_used]
printer_name = HP_LaserJet_P1505
device_uri = hp:/usb/HP_LaserJet_P1505?serial=CA4798X

[commands]
fax = hp-sendfax -d %FAX_URI%
scan = xsane -V %SANE_URI%
prnt = hp-print -p %PRINTER%
pcard = hp-unload -d %DEVICE_URI%
cpy = hp-makecopies -d %DEVICE_URI%

[installation]
version = 3.9.2.49
date_time = 04/02/09 18:39:32

[refresh]
rate = 30
enable = True
type = 0

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI Model
  -------------------------------- -----------------
  hp:/usb/HP_LaserJet_P1505?serial HP LaserJet P1505
  =CA4798X

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

HP_LaserJet_P1505
-----------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
PPD: /etc/cups/ppd/HP_LaserJet_P1505.ppd
PPD Description: HP LaserJet p1505 hpijs, hpijs 3.9.2
Printer status: printer HP_LaserJet_P1505 is idle. enabled since Tue 07 Apr 2009 18:16:33 BST
Required plug-in status: Installed
Communication status: Good

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

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

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

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

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

Checking 'scanext' SANE scanning extension...
OK, found.

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

Checking for permissions of USB attached printers...

HP Device 0x3f17 at 001:002:
    Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
    Device node: /dev/bus/usb/001/002
    Mode: 0660
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/002
# owner: lp
# group: lp
user::rw-
user:guy:rw-
group::rw-
mask::rw-
other::---

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

No errors or warnings.

Done.

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

Guy,

Everything looks good.

So when you print a page the page prints and then the printer goes into a stopped condition?

Run:

sudo tail -f /var/log/syslog

then print something 2 times so I can see if there are any errors, then post the output.

Thanks.

Aaron

Revision history for this message
guyw (guywlkr) said :
#13

Hi Aaron

below is the output you requested. First I had to go to the Device Manager to Stop/Start the printer. the printer then remains available for printing, however only prints blank pages.

guy@guy-desktop:~$ sudo tail -f /var/log/syslog
[sudo] password for guy:
Apr 8 17:44:14 guy-desktop pulseaudio[5865]: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
Apr 8 17:44:17 guy-desktop x-session-manager[5803]: WARNING: Unable to find provider 'gnome-wm' of required component 'windowmanager'
Apr 8 17:44:28 guy-desktop x-session-manager[5803]: WARNING: Application 'gnome-wm.desktop' failed to register before timeout
Apr 8 17:44:38 guy-desktop x-session-manager[5803]: WARNING: Application 'libcanberra-login-sound.desktop' failed to register before timeout
Apr 8 17:44:40 guy-desktop pulseaudio[5865]: module-x11-xsmp.c: X11 session manager not running.
Apr 8 17:44:40 guy-desktop pulseaudio[5865]: module.c: Failed to load module "module-x11-xsmp" (argument: ""): initialization failed.
Apr 8 17:45:56 guy-desktop kernel: [ 247.492133] ppdev0: registered pardevice
Apr 8 17:45:56 guy-desktop kernel: [ 247.540025] ppdev0: unregistered pardevice
Apr 8 17:47:20 guy-desktop anacron[5395]: Job `cron.daily' started
Apr 8 17:47:20 guy-desktop anacron[6226]: Updated timestamp for job `cron.daily' to 2009-04-08
Apr 8 18:01:31 guy-desktop kernel: [ 1183.212793] type=1502 audit(1239210091.736:5): operation="inode_permission" requested_mask="::rw" denied_mask="::rw" fsuid=7 name="/dev/tty" pid=6632 profile="/usr/sbin/cupsd"
Apr 8 18:01:34 guy-desktop HP_LaserJet_P1505?serial=CA4798X: prnt/backend/hp.c 348: read new status: 10023
Apr 8 18:01:38 guy-desktop last message repeated 2 times
Apr 8 18:01:38 guy-desktop HP_LaserJet_P1505?serial=CA4798X: prnt/backend/hp.c 348: read new status: 40017
Apr 8 18:02:06 guy-desktop kernel: [ 1217.573674] type=1502 audit(1239210126.096:6): operation="inode_permission" requested_mask="::rw" denied_mask="::rw" fsuid=7 name="/dev/tty" pid=6681 profile="/usr/sbin/cupsd"
Apr 8 18:02:08 guy-desktop HP_LaserJet_P1505?serial=CA4798X: prnt/backend/hp.c 348: read new status: 10023
Apr 8 18:02:12 guy-desktop last message repeated 2 times
Apr 8 18:02:12 guy-desktop HP_LaserJet_P1505?serial=CA4798X: prnt/backend/hp.c 348: read new status: 40017

Apr 8 18:04:45 guy-desktop kernel: [ 1377.045378] type=1502 audit(1239210285.568:7): operation="inode_permission" requested_mask="::rw" denied_mask="::rw" fsuid=7 name="/dev/tty" pid=6756 profile="/usr/sbin/cupsd"
Apr 8 18:04:48 guy-desktop HP_LaserJet_P1505?serial=CA4798X: prnt/backend/hp.c 348: read new status: 10023
Apr 8 18:04:52 guy-desktop last message repeated 2 times
Apr 8 18:04:52 guy-desktop HP_LaserJet_P1505?serial=CA4798X: prnt/backend/hp.c 348: read new status: 40017

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

Run hp-info -g and post the entire output.

Try disconnecting, powering off, powering on, then reconnecting the printer to your computer. Can you try a different usb cable? Different usb port? Does the printer work on a windows system?

Thanks.

Aaron

Revision history for this message
guyw (guywlkr) said :
#15

Hi

I've rebooted this pc under windows and the printer works fine! disconnected the cables etc. still no joy under Ubuntu.

Below is the print out you asked for (interestingly once i ran hp-info the printer generated error code 1806 and i cannot get it unblocked (red warning dot on the printer icon in Device Manager) - usually Stop/Starting/Refresh on the Device Manager works. The lights on the printer remain green. I ran a second hp-info -g when the Device Manager was in this blocked state.

guy@guy-desktop:~$ hp-info -g

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

Copyright (c) 2001-9 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[6422]: debug: getDeviceUri(None, None, ('hp',), None, , True)
hp-info[6422]: debug: Mode=1
hp-info[6422]: debug: Cache miss: hp_laserjet_p1505
hp-info[6422]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-info[6422]: debug: Searching for section [hp_laserjet_p1505] in file /usr/share/hplip/data/models/models.dat
hp-info[6422]: debug: Found section [hp_laserjet_p1505] in file /usr/share/hplip/data/models/models.dat
hp-info[6422]: debug: {'hp:/usb/HP_LaserJet_P1505?serial=CA4798X': ['HP_LaserJet_P1505']}
Using device: hp:/usb/HP_LaserJet_P1505?serial=CA4798X

hp-info[6422]: debug: Starting GUI loop...
hp-info[6422]: debug: Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
hp-info[6422]: debug: Printer: None
hp-info[6422]: debug: Connecting to com.hplip.StatusService (try #1)...
hp-info[6422]: debug: URI: backend=hp, is_hp=True, bus=usb, model=HP_LaserJet_P1505, serial=CA4798X, dev=, host=, port=1
hp-info[6422]: debug: Model/UI model: HP_LaserJet_P1505/HP LaserJet p1505
hp-info[6422]: debug: Opening device: hp:/usb/HP_LaserJet_P1505?serial=CA4798X (not for printing)
hp-info[6422]: debug: I/O mode=6
hp-info[6422]: debug: device-id=1
hp-info[6422]: debug: Opened device: hp (backend=hp:/usb/HP_LaserJet_P1505?serial=CA4798X, is_hp=True, bus=usb, model=HP_LaserJet_P1505, dev=, serial=CA4798X, host=, port=1)
hp-info[6422]: debug: Type 8: LJ PJL
hp-info[6422]: debug: Closing device...
hp-info[6422]: debug: Result-code = 0
hp-info[6422]: debug: Opening device: hp:/usb/HP_LaserJet_P1505?serial=CA4798X (for printing)
hp-info[6422]: debug: I/O mode=1
hp-info[6422]: debug: device-id=1
hp-info[6422]: debug: Opened device: hp (backend=hp:/usb/HP_LaserJet_P1505?serial=CA4798X, is_hp=True, bus=usb, model=HP_LaserJet_P1505, dev=, serial=CA4798X, host=, port=1)
hp-info[6422]: debug: Opening PRINT channel...
hp-info[6422]: debug: channel-id=2
hp-info[6422]: debug: Writing 37 bytes to channel 2...
hp-info[6422]: debug: Reading channel 2...
hp-info[6422]: debug: Allowed short read of 56 of 1024 bytes complete.
hp-info[6422]: debug: Returned 56 total bytes in buffer.
hp-info[6422]: debug: Closing device...
hp-info[6422]: debug: Closing PRINT channel...
hp-info[6422]: debug: Result-code = 0
hp-info[6422]: debug: PJL return::
@PJL INFO STATUS
CODE=40017
DISPLAY=""
ONLINE=TRUE

hp-info[6422]: debug: Code = 40017
hp-info[6422]: debug: Error code = 40017
hp-info[6422]: debug: Mapped PJL error code 40017 to status code 1806
hp-info[6422]: debug: Agent: health=0, level=100, trigger=0
hp-info[6422]: debug: Status code = 1806
hp-info[6422]: debug: {'photo-tray': 0, 'in-tray2': 1, 'top-door': 1, 'in-tray1': 1, 'agents': [{'level-trigger': 0, 'health': 0, 'kind': 4, 'type': 1, 'level': 100}], 'duplexer': 0, 'supply-door': 1, 'status-code': 1806, 'media-path': 1, 'revision': 254}
hp-info[6422]: debug: Sending event 1806 to hpssd...
hp-info[6422]: debug: Looking for kind=4, type=1...
hp-info[6422]: debug: found: r0-kind4-type1
hp-info[6422]: debug: health=0, level=100, level_trigger=0, status_code=1806
hp-info[6422]: debug: {'agent1-kind': 4, 'agent1-hp-ink': False, 'is-hp': True, 'agent1-level': 100, 'top-door': 1, 'in-tray1': 1, 'serial': u'CA4798X', 'back-end': u'hp', 'agent1-dvc': 0, 'device-uri': u'hp:/usb/HP_LaserJet_P1505?serial=CA4798X', 'rr': '000000', 'photo-tray': 0, 'panel-line1': '', 'panel-line2': '', 'port': 1, 'rg': '000', 'agent1-known': False, 'agent1-health': 0, 'status-code': 1806, 'revision': 254, 'dev-file': '', 'status-desc': 'Service request', 'agent1-health-desc': 'Good/OK', 'host': '', 'agent1-id': 0, 'cups-printer': 'HP_LaserJet_P1505', 'error-state': 101, 'device-state': 1, 'panel': 0, 'in-tray2': 1, 'agent1-ack': False, 'agent1-virgin': False, 'agent1-level-trigger': 0, 'rs': '000000000', 'agent1-type': 1, 'agent1-desc': 'Black toner cartridge', 'r': 0, 'deviceid': 'MFG:Hewlett-Packard;MDL:HP LaserJet P1505;CMD:HBS,PJL,ACL;CLS:PRINTER;DES:HP LaserJet P1505;FWVER:20080415;', 'cups-uri': u'hp:/usb/HP_LaserJet_P1505?serial=CA4798X', 'duplexer': 0, 'supply-door': 1, 'agent1-sku': '36A', 'media-path': 1}

Done.

guy@guy-desktop:~$ hp-info -g

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

Copyright (c) 2001-9 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[6617]: debug: getDeviceUri(None, None, ('hp',), None, , True)
hp-info[6617]: debug: Mode=1
hp-info[6617]: debug: Cache miss: hp_laserjet_p1505
hp-info[6617]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-info[6617]: debug: Searching for section [hp_laserjet_p1505] in file /usr/share/hplip/data/models/models.dat
hp-info[6617]: debug: Found section [hp_laserjet_p1505] in file /usr/share/hplip/data/models/models.dat
hp-info[6617]: debug: {'hp:/usb/HP_LaserJet_P1505?serial=CA4798X': ['HP_LaserJet_P1505']}
Using device: hp:/usb/HP_LaserJet_P1505?serial=CA4798X

hp-info[6617]: debug: Starting GUI loop...
hp-info[6617]: debug: Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
hp-info[6617]: debug: Printer: None
hp-info[6617]: debug: Connecting to com.hplip.StatusService (try #1)...
hp-info[6617]: debug: URI: backend=hp, is_hp=True, bus=usb, model=HP_LaserJet_P1505, serial=CA4798X, dev=, host=, port=1
hp-info[6617]: debug: Model/UI model: HP_LaserJet_P1505/HP LaserJet p1505
hp-info[6617]: debug: Opening device: hp:/usb/HP_LaserJet_P1505?serial=CA4798X (not for printing)
hp-info[6617]: debug: I/O mode=6
hp-info[6617]: debug: device-id=1
hp-info[6617]: debug: Opened device: hp (backend=hp:/usb/HP_LaserJet_P1505?serial=CA4798X, is_hp=True, bus=usb, model=HP_LaserJet_P1505, dev=, serial=CA4798X, host=, port=1)
hp-info[6617]: debug: Type 8: LJ PJL
hp-info[6617]: debug: Closing device...
hp-info[6617]: debug: Result-code = 0
hp-info[6617]: debug: Opening device: hp:/usb/HP_LaserJet_P1505?serial=CA4798X (for printing)
hp-info[6617]: debug: I/O mode=1
hp-info[6617]: debug: device-id=1
hp-info[6617]: debug: Opened device: hp (backend=hp:/usb/HP_LaserJet_P1505?serial=CA4798X, is_hp=True, bus=usb, model=HP_LaserJet_P1505, dev=, serial=CA4798X, host=, port=1)
hp-info[6617]: debug: Opening PRINT channel...
hp-info[6617]: debug: channel-id=2
hp-info[6617]: debug: Writing 37 bytes to channel 2...
hp-info[6617]: debug: Reading channel 2...
hp-info[6617]: debug: Allowed short read of 56 of 1024 bytes complete.
hp-info[6617]: debug: Returned 56 total bytes in buffer.
hp-info[6617]: debug: Closing device...
hp-info[6617]: debug: Closing PRINT channel...
hp-info[6617]: debug: Result-code = 0
hp-info[6617]: debug: PJL return::
@PJL INFO STATUS
CODE=40017
DISPLAY=""
ONLINE=TRUE

hp-info[6617]: debug: Code = 40017
hp-info[6617]: debug: Error code = 40017
hp-info[6617]: debug: Mapped PJL error code 40017 to status code 1806
hp-info[6617]: debug: Agent: health=0, level=100, trigger=0
hp-info[6617]: debug: Status code = 1806
hp-info[6617]: debug: {'photo-tray': 0, 'in-tray2': 1, 'top-door': 1, 'in-tray1': 1, 'agents': [{'level-trigger': 0, 'health': 0, 'kind': 4, 'type': 1, 'level': 100}], 'duplexer': 0, 'supply-door': 1, 'status-code': 1806, 'media-path': 1, 'revision': 254}
hp-info[6617]: debug: Sending event 1806 to hpssd...
hp-info[6617]: debug: Looking for kind=4, type=1...
hp-info[6617]: debug: found: r0-kind4-type1
hp-info[6617]: debug: health=0, level=100, level_trigger=0, status_code=1806
hp-info[6617]: debug: {'agent1-kind': 4, 'agent1-hp-ink': False, 'is-hp': True, 'agent1-level': 100, 'top-door': 1, 'in-tray1': 1, 'serial': u'CA4798X', 'back-end': u'hp', 'agent1-dvc': 0, 'device-uri': u'hp:/usb/HP_LaserJet_P1505?serial=CA4798X', 'rr': '000000', 'photo-tray': 0, 'panel-line1': '', 'panel-line2': '', 'port': 1, 'rg': '000', 'agent1-known': False, 'agent1-health': 0, 'status-code': 1806, 'revision': 254, 'dev-file': '', 'status-desc': 'Service request', 'agent1-health-desc': 'Good/OK', 'host': '', 'agent1-id': 0, 'cups-printer': 'HP_LaserJet_P1505', 'error-state': 101, 'device-state': 1, 'panel': 0, 'in-tray2': 1, 'agent1-ack': False, 'agent1-virgin': False, 'agent1-level-trigger': 0, 'rs': '000000000', 'agent1-type': 1, 'agent1-desc': 'Black toner cartridge', 'r': 0, 'deviceid': 'MFG:Hewlett-Packard;MDL:HP LaserJet P1505;CMD:HBS,PJL,ACL;CLS:PRINTER;DES:HP LaserJet P1505;FWVER:20080415;', 'cups-uri': u'hp:/usb/HP_LaserJet_P1505?serial=CA4798X', 'duplexer': 0, 'supply-door': 1, 'agent1-sku': '36A', 'media-path': 1}

Done.

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

Please run groups and post the output.

Thanks!

Aaron

Revision history for this message
guyw (guywlkr) said :
#17

Hi

here is the output. Guy

guy@guy-desktop:~$ groups
guy adm dialout cdrom plugdev lpadmin admin sambashare violet
guy@guy-desktop:~$

Revision history for this message
guyw (guywlkr) said :
#18

Hi Aaron
Hopefully I havent foxed you.....is there any more info I can provide to help you find a solution?

Thanks

Revision history for this message
Launchpad Janitor (janitor) said :
#19

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
guyw (guywlkr) said :
#20

Hi
I still cannot get this to work under Ubuntu and have to do all my printing under Windows. Please please dont let this expire!

Thanks

Revision history for this message
guyw (guywlkr) said :
#21

I have installed Ubuntu 9.04 (Jaunty Jackalope) as well as upgrading to OOO3.1. I then reinstalled 3.9.4b.run and got the error message

error: Configure failed with error: python-devel not found

when i ran hp-info i got the following:
hp-info -g
warning: CUPSEXT could not be loaded. Please check HPLIP installation.

When I sent docs to print the printer runs off the correct number of pages but all of them blank. This applies to OOO files and pages from internet.

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

Are you using the automatic installer? We've tested the automatic installer on jaunty and haven't had any problems.

You could also try running:

sudo apt-get install python-devel

and then running the installer again.

Aaron

Revision history for this message
guyw (guywlkr) said :
#23

Hi Aaron

I've tried to install python-devel but get the following error message:

guy@guy-desktop:/$ sudo apt-get install python-devel
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package python-devel

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

Lets try removing HPLIP and going through the install again.

To remove HPLIP:

http://hplipopensource.com/node/188

to install HPLIP:

http://hplipopensource.com/hplip-web/install/install/index.html

If you still get the python-devel error message run:

sudo apt-get install python-dev

Aaron

Revision history for this message
guyw (guywlkr) said :
#25

Hi Aaron
Uninstalled, reinstalled and it still is not working! repeated the uninstall and reinstalled just in case and still no luck.... the printer is working under Windows so the connections must be fine.

Each time I installed I got an error message on the plug-in installer saying "download of digital signature file failed". however when i clicked OK it seemed to download the plug-in OK.

Under Ubuntu the printer is still printing out just a blank page with no text.

Below is the output from Hp-check:

guy@guy-desktop:~$ hp-check

HP Linux Imaging and Printing System (ver. 3.9.4b)
Dependency/Version Check Utility ver. 14.3

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

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper
dependencies are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...

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

Basic system information:
Linux guy-desktop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux

Distribution:
ubuntu 9.04

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

Checking Python version...
OK, version 2.6.2 installed

Checking PyQt 4.x version...
OK, version 4.4.4 installed.

Checking for CUPS...
Status: scheduler is running
Version: 1.3.9
error_log is set to level: debug

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.0

------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

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

Checking for dependency: CUPS DDK - CUPS driver development kit...
OK, found.

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

Checking for dependency: CUPS image - CUPS image development files...
OK, found.

Checking for dependency: DBus - Message bus system...
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: PolicyKit - Administrative policy framework...
OK, found.

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

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python ctypes - A foreign function library for Python...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

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

Checking for dependency: Python XML libraries...
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 3.9.4b currently installed in '/usr/share/hplip'.

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

[hplip]
version=3.9.4b

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-3.9.4b
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp/

# 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
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
cups-ppd-install=no
cups-drv-install=no
internal-tag=3.9.4b.10
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes

Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
eula = 1
installed = 1

Current contents of '~/.hplip/hplip.conf' file:
[last_used]
printer_name =
working_dir = .
device_uri = "hp:/usb/HP_LaserJet_P1505?serial=CA4798X"

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[installation]
version = 3.9.4b.10
date_time = 05/24/09 10:37:05

[settings]
systray_messages = 0
systray_visible = 0

[fax]
email_address =
voice_phone =

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
device_list =
interval = 5

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI Model
  ---------------------------------------- -------------------------------
  hp:/usb/HP_LaserJet_P1505?serial=CA4798X HP LaserJet P1505

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

HP_LaserJet_P1505
-----------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
PPD: /etc/cups/ppd/HP_LaserJet_P1505.ppd
PPD Description: HP LaserJet p1505 hpijs, hpijs 3.9.2
Printer status: printer HP_LaserJet_P1505 is idle. enabled since Sun 24 May 2009 10:36:07 BST
Required plug-in status: Installed
Communication status: Good

HP_LaserJet_P1505_2
-------------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
PPD: /etc/cups/ppd/HP_LaserJet_P1505_2.ppd
PPD Description: HP LaserJet p1505 hpijs, 3.9.4b
Printer Unplugged or turned offrJet_P1505_2 disabled since Sun 24 May 2009 08:23:42 BST -
Required plug-in status: Installed
Communication status: Good

HP_LaserJet_P1505_3
-------------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
PPD: /etc/cups/ppd/HP_LaserJet_P1505_3.ppd
PPD Description: HP LaserJet p1505 hpijs, 3.9.4b
Printer Unplugged or turned offrJet_P1505_3 disabled since Sun 24 May 2009 08:32:14 BST -
Required plug-in status: Installed
Communication status: Good

HP_LaserJet_P1505_4
-------------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
PPD: /etc/cups/ppd/HP_LaserJet_P1505_4.ppd
PPD Description: HP LaserJet p1505 hpijs, 3.9.4b
Printer Unplugged or turned offrJet_P1505_4 disabled since Sun 24 May 2009 10:04:38 BST -
Required plug-in status: Installed
Communication status: Good

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

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

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

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

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

Checking 'scanext' SANE scanning extension...
OK, found.

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

Checking for permissions of USB attached printers...

HP Device 0x3f17 at 001:002:
    Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
    Device node: /dev/bus/usb/001/002
    Mode: 0660
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/002
# owner: lp
# group: lp
user::rw-
user:guy:rw-
group::rw-
mask::rw-
other::---

---------------
| USER GROUPS |
---------------

guy adm dialout cdrom plugdev lpadmin admin sambashare violetta

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

No errors or warnings.

Done.
guy@guy-desktop:~$

Revision history for this message
trungly (temp-trungly) said :
#26

google brought me here. I just want to say I'm having the exact same problem as Guy is having. I'm have a P1505 on Jaunty with HPLIP 3.9.2 installed and getting blank pages. Pressing the test button on the printer prints a page with text, but nothing from linux.

Revision history for this message
guyw (guywlkr) said :
#27

Hi Trungly
I'm glad I'm not the only one!
Guy

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

Try running:

sudo aa-complain cupsd

and then printing..any luck?

Aaron

Revision history for this message
trungly (temp-trungly) said :
#29

I am getting something now, but nothing legible. It's a grayish pattern of tiny dots that fills about three fourths of the page. I tried twice with the same result.

Revision history for this message
guyw (guywlkr) said :
#30

Hi all

It is just printing blank pages. It is sending the right number of pages, it's just that there is no text printed! Below is the output from hp-check after sudo aa-complain cupsd.

Guy

guy@guy-desktop:~$ hp-check

HP Linux Imaging and Printing System (ver. 3.9.4b)
Dependency/Version Check Utility ver. 14.3

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

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode
will check both of the above cases (both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...

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

Basic system information:
Linux guy-desktop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux

Distribution:
ubuntu 9.04

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

Checking Python version...
OK, version 2.6.2 installed

Checking PyQt 4.x version...
OK, version 4.4.4 installed.

Checking for CUPS...
Status: scheduler is running
Version: 1.3.9
error_log is set to level: debug

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.0

------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

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

Checking for dependency: CUPS DDK - CUPS driver development kit...
OK, found.

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

Checking for dependency: CUPS image - CUPS image development files...
OK, found.

Checking for dependency: DBus - Message bus system...
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: PolicyKit - Administrative policy framework...
OK, found.

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

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python ctypes - A foreign function library for Python...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

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

Checking for dependency: Python XML libraries...
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 3.9.4b currently installed in '/usr/share/hplip'.

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

[hplip]
version=3.9.4b

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-3.9.4b
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp/

# 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
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
cups-ppd-install=no
cups-drv-install=no
internal-tag=3.9.4b.10
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes

Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
eula = 1
installed = 1

Current contents of '~/.hplip/hplip.conf' file:
[last_used]
printer_name =
working_dir = .
device_uri = "hp:/usb/HP_LaserJet_P1505?serial=CA4798X"

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[installation]
version = 3.9.4b.10
date_time = 06/02/09 18:20:51

[settings]
systray_messages = 0
systray_visible = 0

[fax]
email_address =
voice_phone =

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
device_list =
interval = 5

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI Model
  -------------------------------- -----------------
  hp:/usb/HP_LaserJet_P1505?serial HP LaserJet P1505
  =CA4798X

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

HP_LaserJet_P1505
-----------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
PPD: /etc/cups/ppd/HP_LaserJet_P1505.ppd
PPD Description: HP LaserJet p1505 hpijs, hpijs 3.9.2
Printer status: printer HP_LaserJet_P1505 is idle. enabled since Tue 02 Jun 2009 18:19:29 BST
Required plug-in status: Installed
Communication status: Good

HP_LaserJet_P1505_2
-------------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
PPD: /etc/cups/ppd/HP_LaserJet_P1505_2.ppd
PPD Description: HP LaserJet p1505 hpijs, 3.9.4b
Printer status: printer HP_LaserJet_P1505_2 disabled since Sun 24 May 2009 08:23:42 BST Unplugged or turned off
Required plug-in status: Installed
Communication status: Good

HP_LaserJet_P1505_3
-------------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
PPD: /etc/cups/ppd/HP_LaserJet_P1505_3.ppd
PPD Description: HP LaserJet p1505 hpijs, 3.9.4b
Printer status: printer HP_LaserJet_P1505_3 disabled since Sun 24 May 2009 08:32:14 BST Unplugged or turned off
Required plug-in status: Installed
Communication status: Good

HP_LaserJet_P1505_4
-------------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
PPD: /etc/cups/ppd/HP_LaserJet_P1505_4.ppd
PPD Description: HP LaserJet p1505 hpijs, 3.9.4b
Printer status: printer HP_LaserJet_P1505_4 disabled since Sun 24 May 2009 10:04:38 BST Unplugged or turned off
Required plug-in status: Installed
Communication status: Good

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

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

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

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

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

Checking 'scanext' SANE scanning extension...
OK, found.

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

Checking for permissions of USB attached printers...

HP Device 0x3f17 at 001:002:
    Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
    Device node: /dev/bus/usb/001/002
    Mode: 0660
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/002
# owner: lp
# group: lp
user::rw-
user:guy:rw-
group::rw-
mask::rw-
other::---

---------------
| USER GROUPS |
---------------

guy adm dialout cdrom plugdev lpadmin admin sambashare violetta

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

No errors or warnings.

Done.

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

Please run:

cat ~/.cups/lpoptions

and post the output.

Thanks!

Aaron

Revision history for this message
guyw (guywlkr) said :
#32

Hi the output is:

guy@guy-desktop:~$ cat ~/.cups/lpoptions
Dest HP-LaserJet-P1505 Quality=draft MediaType=All-in-one
guy@guy-desktop:~$

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

If you press the green button on the top of the printer does the configuration page print okay?

And then try printing, any difference?

Aaron

Revision history for this message
guyw (guywlkr) said :
#34

Pressed the green button and the rest page printed fine. However the printer then refused to print any pages send to it (the red light did not come on the printer
- Show quoted text -

guy@guy-desktop:~$ hp-check

HP Linux Imaging and Printing System (ver. 3.9.4b)

Dependency/Version Check Utility ver. 14.3

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

Note: hp-check can be run in three modes:

1. Compile-time check mode (-c or --compile): Use this mode before compiling the

HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies

are installed to successfully compile HPLIP.

2. Run-time check mode (-r or --run): Use this mode to determine if a distro

supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball

has the proper dependencies installed to successfully run.

3. Both compile- and run-time check mode (-b or --both) (Default): This mode

will check both of the above cases (both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...

---------------

| SYSTEM INFO |

---------------

Basic system information:

Linux guy-desktop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux

Distribution:

ubuntu 9.04

HPOJ running?

No, HPOJ is not running (OK).

Checking Python version...

OK, version 2.6.2 installed

Checking PyQt 4.x version...

OK, version 4.4.4 installed.

Checking for CUPS...

Status: scheduler is running

Version: 1.3.9

error_log is set to level: debug

Checking for dbus/python-dbus...

dbus daemon is running.

python-dbus version: 0.83.0

------------------------------------

| COMPILE AND RUNTIME DEPENDENCIES |

------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).

note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

Checking for dependency: CUPS - Common Unix Printing System...

OK, found.

Checking for dependency: CUPS DDK - CUPS driver development kit...

OK, found.

Checking for dependency: CUPS devel- Common Unix Printing System development files...

OK, found.

Checking for dependency: CUPS image - CUPS image development files...

OK, found.

Checking for dependency: DBus - Message bus system...

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: PolicyKit - Administrative policy framework...

OK, found.

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

OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...

OK, found.

Checking for dependency: Python ctypes - A foreign function library for Python...

OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...

OK, found.

Checking for dependency: Python devel - Python development files...

OK, found.

Checking for dependency: Python XML libraries...

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 3.9.4b currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:

# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]

version=3.9.4b

[dirs]

home=/usr/share/hplip

run=/var/run

ppd=/usr/share/ppd/hpijs/HP

ppdbase=/usr/share/ppd/hpijs

doc=/usr/share/doc/hplip-3.9.4b

icon=/usr/share/applications

cupsbackend=/usr/lib/cups/backend

cupsfilter=/usr/lib/cups/filter

drv=/usr/share/cups/drv/hp/

# 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

dbus-build=yes

cups11-build=no

doc-build=yes

shadow-build=no

foomatic-drv-install=yes

foomatic-ppd-install=no

foomatic-rip-hplip-install=no

cups-ppd-install=no

cups-drv-install=no

internal-tag=3.9.4b.10

restricted-build=no

ui-toolkit=qt4

qt3=no

qt4=yes

policy-kit=yes

Current contents of '/var/lib/hp/hplip.state' file:

[plugin]

eula = 1

installed = 1

Current contents of '~/.hplip/hplip.conf' file:

[last_used]

printer_name =

working_dir = .

device_uri = "hp:/usb/HP_LaserJet_P1505?serial=CA4798X"

[commands]

scan = /usr/bin/xsane -V %SANE_URI%

[installation]

version = 3.9.4b.10

date_time = 06/04/09 20:45:05

[settings]

systray_messages = 0

systray_visible = 0

[fax]

email_address =

voice_phone =

[refresh]

rate = 30

enable = false

type = 1

[polling]

enable = false

device_list =

interval = 5

--------------------------

| DISCOVERED USB DEVICES |

--------------------------

Device URI Model

-------------------------------- -----------------

hp:/usb/HP_LaserJet_P1505?serial HP LaserJet P1505

=CA4798X

---------------------------------

| INSTALLED CUPS PRINTER QUEUES |

---------------------------------

HP_LaserJet_P1505

-----------------

Type: Printer

Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X

PPD: /etc/cups/ppd/HP_LaserJet_P1505.ppd

PPD Description: HP LaserJet p1505 hpijs, hpijs 3.9.2

Printer status: printer HP_LaserJet_P1505 disabled since Thu 04 Jun 2009 20:43:09 BST - Unplugged or turned off
- Show quoted text -

Required plug-in status: Installed

Communication status: Good

HP_LaserJet_P1505_2

-------------------

Type: Printer

Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X

PPD: /etc/cups/ppd/HP_LaserJet_P1505_2.ppd

PPD Description: HP LaserJet p1505 hpijs, 3.9.4b

Printer status: printer HP_LaserJet_P1505_2 disabled since Sun 24 May 2009 08:23:42 BST Unplugged or turned off

Required plug-in status: Installed

Communication status: Good

HP_LaserJet_P1505_3

-------------------

Type: Printer

Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X

PPD: /etc/cups/ppd/HP_LaserJet_P1505_3.ppd

PPD Description: HP LaserJet p1505 hpijs, 3.9.4b

Printer status: printer HP_LaserJet_P1505_3 disabled since Sun 24 May 2009 08:32:14 BST Unplugged or turned off

Required plug-in status: Installed

Communication status: Good

HP_LaserJet_P1505_4

-------------------

Type: Printer

Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X

PPD: /etc/cups/ppd/HP_LaserJet_P1505_4.ppd

PPD Description: HP LaserJet p1505 hpijs, 3.9.4b

Printer status: printer HP_LaserJet_P1505_4 disabled since Sun 24 May 2009 10:04:38 BST Unplugged or turned off

Required plug-in status: Installed

Communication status: Good

----------------------

| SANE CONFIGURATION |

----------------------

'hpaio' in '/etc/sane.d/dll.conf'...

OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...

No scanners were identified. If you were expecting something different,

check that the scanner is plugged in, turned on and detected by the

sane-find-scanner tool (if appropriate). Please read the documentation

which came with this software (README, FAQ, manpages).

---------------------

| PYTHON EXTENSIONS |

---------------------

Checking 'cupsext' CUPS extension...

OK, found.

Checking 'pcardext' Photocard extension...

OK, found.

Checking 'hpmudext' I/O extension...

OK, found.

Checking 'scanext' SANE scanning extension...

OK, found.

-----------------

| USB I/O SETUP |

-----------------

Checking for permissions of USB attached printers...

HP Device 0x3f17 at 001:004:

Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA4798X

Device node: /dev/bus/usb/001/004

Mode: 0660

getfacl: Removing leading '/' from absolute path names

# file: dev/bus/usb/001/004

# owner: lp

# group: lp

user::rw-

user:guy:rw-

group::rw-

mask::rw-

other::---

---------------

| USER GROUPS |

---------------

guy adm dialout cdrom plugdev lpadmin admin sambashare violetta

-----------

| SUMMARY |

-----------

No errors or warnings.

Done.

guy@guy-desktop:~$

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

Okay, run hp-toolbox, click the printer settings, change the print mode to best and try printing. You can also set this option in CUPS by going to http://localhost:631/printers then click modify printer.

Hope this helps.

Aaron

Revision history for this message
guyw (guywlkr) said :
#36

Hi Aaron

Printer now given up on me. The green light is on, but nothing prints. I just get a serious of error messages with the following Codes provided by the HP Device Manager 700; 5021,1018,701,500,5021,1018,1002,1018.

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

Please run;

hp-info

and post the output.

Thanks.

Aaron

Revision history for this message
guyw (guywlkr) said :
#38

HI Aaron. Tried to refresh, restart etc the printer but still not joy. the green light is "on". here is the hp-info:

uy@guy-desktop:~$ hp-info

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

Copyright (c) 2001-9 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/HP_LaserJet_P1505?serial=CA4798X

error: Device busy: hp:/usb/HP_LaserJet_P1505?serial=CA4798X
error: Unable to open device hp:/usb/HP_LaserJet_P1505?serial=CA4798X.

Done.

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

The device busy usually means that the printer is not in a ready state.

Are there any blinking lights on the printer? Does the printer work correct in windows?

Thanks.

Aaron

Revision history for this message
guyw (guywlkr) said :
#40

Aaron
GREAT NEWS IT WORKS!!
I just installed a new DVD drive, I then went to windows and successfully printed (as before) and then switched to Ubuntu, without switching off the printer. I then tried to print from OOO Calc and Writer and both worked!!!

Thank you so much for your patience. I was almost giving up.

Guy