Error running setup on HPLIP 2.8.5 on ubuntu 4.08

Asked by Flavelle

Installing using download of HPLIP 2.8.5 fails on make step (screen shot attached).
Using Custom | Enable CUPS support as the options - all dependencies were successfully installed.

Printer is cp1518ni, so I do not have another option to get this working (ubuntu archives are at hp 2.8.2, which does not include the cp1518ni as one of the printers).

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Flavelle
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Flavelle (flavelle.ballem) said :
#1

Well, I thought that I could attach a screen shot.

The error occurs during the Running 'make' step
error: 'make' command failed with status code 2

Revision history for this message
Flavelle (flavelle.ballem) said :
#2

I was able to complete the installation by re-running the installation program with full.

Once I completed the installation, the printer produced a test page. The following error was reported:
PCL XL error
Subsystem: KERNEL
Error: IllegalAttribute
Operator: BeginPage
Position: 2.

Please advise how I get this printer working!!!

Revision history for this message
Flavelle (flavelle.ballem) said :
#3

I have installed HPLIP 2.8.5 on a clean machine. The automatic installation ran without error. The test page produced the error described above. A question: If I'm reading the error correctly, then is it possible that the codes to send PostScript to the printer are in error. The driver, if I'm reading the documentation correctly, is for PostScript. There is no option on the Printer menu to specify PostScript mode, so I assume that this must be handled through software.

The result is that I still have a $400 paper weight!

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

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

Where are you seeing the PCL XL error? I haven't seen this before and I'll need to try and reproduce it. Please provide me the exact steps you followed to produce the error.

Thanks!

Aaron

Revision history for this message
Flavelle (flavelle.ballem) said :
#5

Aaron:

I hope that I did this right (I'm a newbie):

Output is below (I would have attached the log file, but there's no place to do the attachment.

Steps:

1. Download hplip-2.8.5.run to my desktop.
2. Open Terminal
3. sh hplip-2.8.5 (not as admin user)
4. run automatic - do not install parallel print.
5. There were no errors or warnings produced during the installation.
6. select my network printer (it was correctly found). I have a brand new HP cp1518ni printer.
7. select the driver (there was only one option)
8. the printer prints a test page.
9. The test page shows the text described in the error message and nothing else on the page.

My installation (ubuntu 4.08) is running on an HP Pavilion 9231ca - in single boot mode (no non-ubuntu partitions or software).

Output from hp-check -t

fballem@ballemco-01:~$ hp-check -t

HP Linux Imaging and Printing System (ver. 2.8.5)
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...

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

Basic system information:
Linux ballemco-01 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686 GNU/Linux

Distribution:
ubuntu 8.04

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
Version: 1.3.7
error_log is set to level: warn
note: For troubleshooting printing issues, it is best to have the CUPS 'LogLevel'
note: set to 'debug'. To set the LogLevel to debug, edit the file /etc/cups/cupsd.conf (as root),
note: and change the line near the top of the file that begins with 'LogLevel' to read:
note: LogLevel debug
note: Save the file and then restart CUPS (see your OS/distro docs on how to restart CUPS).
note: Now, when you print, helpful debug information will be saved to the file:
note: /var/log/cups/error_log
note: You can monitor this file by running this command in a console/shell:
note: tail -f /var/log/cups/error_log

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 - 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...
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.8.5 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.8.5

[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.8.5
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=yes
internal-tag=2.8.5.23

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

No devices found.

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

HP_Color_LaserJet_CP1518ni
--------------------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/net/HP_Color_LaserJet_CP1518ni?ip=192.168.2.51
PPD: /etc/cups/ppd/HP_Color_LaserJet_CP1518ni.ppd
PPD Description: HP Color LaserJet CP1518ni Foomatic/hpijs, hpijs 2.8.5
Printer status: printer HP_Color_LaserJet_CP1518ni is idle. enabled since Sun 18 May 2008 07:43:49 PM EDT
Communication status: Good

PDF
---
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: cups-pdf:/
PPD: /etc/cups/ppd/PDF.ppd
PPD Description: Generic PDF file generator
Printer status: printer PDF is idle. enabled since Tue 22 Apr 2008 01:54:42 PM EDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.

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

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

Checking output of 'scanimage -L'...
device `v4l:/dev/video0' is a Noname USB 2.0 Camera virtual device

---------------------
| 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...

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

error: 2 errors and/or warnings.

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

Done.
fballem@ballemco-01:~$

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

There is a problem with the 1515/1518 printers. I'm working on a solution, although it may take me a few days to have a resolution for you.

Sorry for the delay and inconvenience.

Aaron

Revision history for this message
Flavelle (flavelle.ballem) said :
#7

I was worried that it was something that I had done. I'll look forward to the fix when it's ready. Please let me know if I can do anything further. If you wish me to do something specific, please provide very detailed instructions - I'm a linux newbie (although I have worked in Windows for many years!)

Many thanks for letting me know, and I'll look forward to the fix.

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

Edit the file /usr/share/hplip/data/models/models.dat

Replace the entire section:

[hp_color_laserjet_cp1518ni]

WIth:

[hp_color_laserjet_cp1518ni]
align-type=0
clean-type=0
color-cal-type=0
copy-type=0
embedded-server-type=1
fax-type=0
fw-download=0
icon=HP_Color_LaserJet_4500.png
io-mfp-mode=3
io-mode=1
io-support=6
job-storage=0
linefeed-cal-type=0
model1=HP Color LaserJet CP1518ni Printer
panel-check-type=1
pcard-type=2
plugin=0
plugin-library=
power-settings=0
pq-diag-type=0
r-type=0
r0-agent1-kind=4
r0-agent1-sku=CB540A
r0-agent1-type=1
r0-agent2-kind=4
r0-agent2-sku=CB541A
r0-agent2-type=4
r0-agent3-kind=4
r0-agent3-sku=CB542A
r0-agent3-type=5
r0-agent4-kind=4
r0-agent4-sku=CB543A
r0-agent4-type=6
scan-style=0
scan-type=0
status-battery-check=0
status-dynamic-counters=0
status-type=3
support-released=1
support-type=2
support-ver=2.8.5
tech-class=Postscript
tech-type=4
usb-pid=5017
usb-vid=03f0

Then delete the printer queue and set it up again. Hopefully this will resolve your problem.

Sorry for the delay.

Aaron

Revision history for this message
Flavelle (flavelle.ballem) said :
#9

Aaron:

I did the edit without any difficulty. I am such a newbie, however, that I don't know how to delete the printer queue. I did delete the printer and then set it up again, and unfortunately the problem is not corrected (same output as before).

This may be due to my inexperience with linux, however, so if there is a specific process to delete the queue, and I didn't do it correctly, then please let me know. In the meantime, I'm attaching a copy of the section from the edited /usr/share/hplip/data/models/models.dat, so that you can verify that I did the edit correctly.

Sorry to trouble you further.

Many thanks,
Flavelle

[hp_color_laserjet_cp3505]
align-type=0
clean-type=0
color-cal-type=0
copy-type=0
embedded-server-type=1
fax-type=0
fw-download=0
icon=HP_Color_LaserJet_4500.png
io-mfp-mode=3
io-mode=3
io-support=6
job-storage=0
linefeed-cal-type=0
model1=HP Color LaserJet CP3505 Printer
model2=HP Color LaserJet CP3505n Printer
model3=HP Color LaserJet CP3505dn Printer
model4=HP Color LaserJet CP3505x Printer
panel-check-type=0
pcard-type=0
plugin=0
plugin-library=
power-settings=0
pq-diag-type=0
r-type=0
r0-agent1-kind=4
r0-agent1-sku=CB400A
r0-agent1-type=1
r0-agent2-kind=4
r0-agent2-sku=CB401A
r0-agent2-type=4
r0-agent3-kind=4
r0-agent3-sku=CB403A
r0-agent3-type=5
r0-agent4-kind=4
r0-agent4-sku=CB402A
r0-agent4-type=6
scan-style=0
scan-type=0
status-battery-check=0
status-dynamic-counters=0
status-type=3
support-released=1
support-type=2
support-ver=2.7.6
tech-class=LJColor
tech-type=4
usb-pid=7817
usb-vid=03f0

Revision history for this message
Flavelle (flavelle.ballem) said :
#10

Wrong section - here's the correct one:

[hp_color_laserjet_cp1518ni]
align-type=0
clean-type=0
color-cal-type=0
copy-type=0
embedded-server-type=1
fax-type=0
fw-download=0
icon=HP_Color_LaserJet_4500.png
io-mfp-mode=3
io-mode=1
io-support=6
job-storage=0
linefeed-cal-type=0
model1=HP Color LaserJet CP1518ni Printer
panel-check-type=1
pcard-type=2
plugin=0
plugin-library=
power-settings=0
pq-diag-type=0
r-type=0
r0-agent1-kind=4
r0-agent1-sku=CB540A
r0-agent1-type=1
r0-agent2-kind=4
r0-agent2-sku=CB541A
r0-agent2-type=4
r0-agent3-kind=4
r0-agent3-sku=CB542A
r0-agent3-type=5
r0-agent4-kind=4
r0-agent4-sku=CB543A
r0-agent4-type=6
scan-style=0
scan-type=0
status-battery-check=0
status-dynamic-counters=0
status-type=3
support-released=1
support-type=2
support-ver=2.8.5
tech-class=Postscript
tech-type=4
usb-pid=5017
usb-vid=03f0

Revision history for this message
Flavelle (flavelle.ballem) said :
#11

I went through, line-by-line, and the contents are identical to the correct code that you gave me.

If you have any other thoughts, then I would be most grateful.

Many thanks,
Flavelle

Revision history for this message
Flavelle (flavelle.ballem) said :
#12

Thanks Aaron Albright, that solved my question.

Revision history for this message
Flavelle (flavelle.ballem) said :
#13

Sorry, hit the solved button in error - I still have the problem.

Revision history for this message
Flavelle (flavelle.ballem) said :
#14

Any further thoughts - I am becoming concerned that my $400 paper weight is getting dusty.

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

Please run hp-check again. I want to check the printer configuration.

Sorry for the delay.

A

Revision history for this message
Flavelle (flavelle.ballem) said :
#16

Aaron:

As requested, with many thanks!

fballem@ballemco-01:~$ hp-check -t

HP Linux Imaging and Printing System (ver. 2.8.5)
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...

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

Basic system information:
Linux ballemco-01 2.6.24-17-generic #1 SMP Thu May 1 14:31:33 UTC 2008 i686 GNU/Linux

Distribution:
ubuntu 8.04

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
Version: 1.3.7
error_log is set to level: warn
note: For troubleshooting printing issues, it is best to have the CUPS 'LogLevel'
note: set to 'debug'. To set the LogLevel to debug, edit the file /etc/cups/cupsd.conf (as root),
note: and change the line near the top of the file that begins with 'LogLevel' to read:
note: LogLevel debug
note: Save the file and then restart CUPS (see your OS/distro docs on how to restart CUPS).
note: Now, when you print, helpful debug information will be saved to the file:
note: /var/log/cups/error_log
note: You can monitor this file by running this command in a console/shell:
note: tail -f /var/log/cups/error_log

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 - 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...
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.8.5 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.8.5

[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.8.5
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=yes
internal-tag=2.8.5.23

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

No devices found.

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

HP_Color_LaserJet_CP1518ni
--------------------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/net/HP_Color_LaserJet_CP1518ni?ip=192.168.2.51
PPD: /etc/cups/ppd/HP_Color_LaserJet_CP1518ni.ppd
PPD Description: HP Color LaserJet CP1518ni Foomatic/hpijs, hpijs 2.8.5
Printer status: printer HP_Color_LaserJet_CP1518ni is idle. enabled since Tue 27 May 2008 08:53:13 PM EDT
Communication status: Good

PDF
---
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: cups-pdf:/
PPD: /etc/cups/ppd/PDF.ppd
PPD Description: Generic PDF file generator
Printer status: printer PDF is idle. enabled since Tue 22 Apr 2008 01:54:42 PM EDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.

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

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

Checking output of 'scanimage -L'...
device `v4l:/dev/video0' is a Noname USB 2.0 Camera virtual device

---------------------
| 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...

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

error: 2 errors and/or warnings.

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

Done.
fballem@ballemco-01:~$
fballem@ballemco-01:~$

Revision history for this message
STrRedWolf (strredwolf) said :
#17

I'm getting the same problem myself. Gentoo Linux amd64 (updated Sunday May 25th, 2008), hplip 2.8.5 driving a CP1518ni printer hooked via Ethernet. I have it working on my Mac. :) But of course, main thing is Linux.

I've yanked the above section in models.dat and replaced it, and ran hp-setup again. Test print gives me the PCL XL Error (Subsystem: KERNEL, Error: IllegalAttribute, Operator: BeginPage, Position:2).

The strange thing is, if I force Postscript with the CP3505 driver it will work nicely for most prints (some webpages I get memory errors. Need to locate some expansion for it already!)

hp-check.log reports:
hp-check[7586]: info: :
Initializing. Please wait...
scheduler is running

1.3.7

Linux redwolf 2.6.25.4-redwolf #1 SMP PREEMPT Sun May 18 15:37:58 EDT 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ AuthenticAMD GNU/Linux

warning: Invalid ppd_dir value: None
hp-check[7586]: info: :
hp-check[7586]: info: :---------------
hp-check[7586]: info: :| SYSTEM INFO |
hp-check[7586]: info: :---------------
hp-check[7586]: info: :
hp-check[7586]: info: :Basic system information:
hp-check[7586]: info: :Linux redwolf 2.6.25.4-redwolf #1 SMP PREEMPT Sun May 18 15:37:58 EDT 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ AuthenticAMD GNU/Linux
hp-check[7586]: info: :
hp-check[7586]: info: :Distribution:
hp-check[7586]: info: :gentoo 0.0
hp-check[7586]: info: :
HPOJ running?
hp-check[7586]: info: :No, HPOJ is not running (OK).
hp-check[7586]: info: :
hp-check[7586]: info: :Checking Python version...
hp-check[7586]: info: :OK, version 2.4.4 installed
hp-check[7586]: info: :
hp-check[7586]: info: :Checking PyQt version...
hp-check[7586]: info: :OK, version 3.17 installed.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking SIP version...
hp-check[7586]: info: :OK, Version 4.7.3 installed
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for CUPS...
hp-check[7586]: info: :Status: scheduler is running
hp-check[7586]: info: :Version: 1.3.7
hp-check[7586]: info: :error_log is set to level: info
note: For troubleshooting printing issues, it is best to have the CUPS 'LogLevel'
note: set to 'debug'. To set the LogLevel to debug, edit the file /etc/cups/cupsd.conf (as root),
note: and change the line near the top of the file that begins with 'LogLevel' to read:
note: LogLevel debug
note: Save the file and then restart CUPS (see your OS/distro docs on how to restart CUPS).
note: Now, when you print, helpful debug information will be saved to the file:
note: /var/log/cups/error_log
note: You can monitor this file by running this command in a console/shell:
note: tail -f /var/log/cups/error_log
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dbus/python-dbus...
hp-check[7586]: info: :dbus daemon is running.
hp-check[7586]: info: :python-dbus version: 0.80.2
hp-check[7586]: info: :
hp-check[7586]: info: :
hp-check[7586]: info: :------------------------------------
hp-check[7586]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[7586]: info: :------------------------------------
hp-check[7586]: info: :
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).
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: cups - Common Unix Printing System...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: cups-ddk - CUPS driver development kit...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: cups-devel- Common Unix Printing System development files...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: dbus - Message bus system...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: libtool - Library building support services...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: libusb - USB library...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: ppdev - Parallel port support kernel module....
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: PyQt - Qt interface for Python...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: python-ctypes - A foreign function library for Python...
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: python-dbus - Python bindings for dbus...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: python-devel - Python development files...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: Reportlab - PDF library for Python...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: SANE - Scanning library...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :
hp-check[7586]: info: :----------------------
hp-check[7586]: info: :| HPLIP INSTALLATION |
hp-check[7586]: info: :----------------------
hp-check[7586]: info: :
hp-check[7586]: info: :
hp-check[7586]: info: :Currently installed HPLIP version...
hp-check[7586]: info: :HPLIP 2.8.5 currently installed in '/usr/share/hplip'.
hp-check[7586]: info: :
hp-check[7586]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[7586]: 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.8.5

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-2.8.5
icon=/usr/share/applications
cupsbackend=/usr/libexec/cups/backend
cupsfilter=/usr/libexec/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=no
fax-build=no
dbus-build=yes
cups11-build=no
doc-build=no
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
internal-tag=2.8.5.23

hp-check[7586]: info: :
hp-check[7586]: info: :--------------------------
hp-check[7586]: info: :| DISCOVERED USB DEVICES |
hp-check[7586]: info: :--------------------------
hp-check[7586]: info: :
hp-check[7586]: info: :No devices found.
hp-check[7586]: info: :
hp-check[7586]: info: :---------------------------------
hp-check[7586]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[7586]: info: :---------------------------------
hp-check[7586]: info: :
hp-check[7586]: info: :
hp-check[7586]: info: :HP_CP1518ni
hp-check[7586]: info: :-----------
hp-check[7586]: info: :Type: Printer
hp-check[7586]: info: :Installed in HPLIP?: Yes, using the hp: CUPS backend.
hp-check[7586]: info: :Device URI: hp:/net/HP_Color_LaserJet_CP1518ni?ip=192.168.1.201
hp-check[7586]: info: :PPD: /etc/cups/ppd/HP_CP1518ni.ppd
hp-check[7586]: info: :PPD Description: HP Color LaserJet CP1518ni Foomatic/hpijs, hpijs 2.8.5.23
hp-check[7586]: info: :Printer status: printer HP_CP1518ni is idle. enabled since Wed May 28 12:19:13 2008
printer HP_CP1518ni/CC is idle. enabled since Wed May 28 12:19:13 2008
hp-check[7586]: info: :Communication status: Good
hp-check[7586]: info: :
hp-check[7586]: info: :HP_CP1518ni/CC
hp-check[7586]: info: :--------------
hp-check[7586]: info: :Type: Printer
hp-check[7586]: info: :Installed in HPLIP?: Yes, using the hp: CUPS backend.
hp-check[7586]: info: :Device URI: hp:/net/HP_Color_LaserJet_CP1518ni?ip=192.168.1.201
hp-check[7586]: info: :Communication status: Good
hp-check[7586]: info: :
hp-check[7586]: info: :
hp-check[7586]: info: :---------------------
hp-check[7586]: info: :| PYTHON EXTENSIONS |
hp-check[7586]: info: :---------------------
hp-check[7586]: info: :
hp-check[7586]: info: :Checking 'cupsext' CUPS extension...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking 'pcardext' Photocard extension...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :Checking 'hpmudext' I/O extension...
hp-check[7586]: info: :OK, found.
hp-check[7586]: info: :
hp-check[7586]: info: :-----------------
hp-check[7586]: info: :| USB I/O SETUP |
hp-check[7586]: info: :-----------------
hp-check[7586]: info: :
hp-check[7586]: info: :
hp-check[7586]: info: :Checking for permissions of USB attached printers...
hp-check[7586]: info: :
hp-check[7586]: info: :-----------
hp-check[7586]: info: :| SUMMARY |
hp-check[7586]: info: :-----------
hp-check[7586]: info: :
error: 4 errors and/or warnings.
hp-check[7586]: info: :
hp-check[7586]: info: :Please refer to the installation instructions at:
hp-check[7586]: info: :http://hplip.sourceforge.net/install/index.html

hp-check[7586]: info: :
hp-check[7586]: info: :Done.

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

After trying this some more I can reproduce this. Sorry..I'm working on a solution.

A

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

Setting to open.

Revision history for this message
Flavelle (flavelle.ballem) said :
#20

That's fine Aaron, much appreciate the effort.

By the way, the only difference between the original models.dat file and the one that you asked me to edit was in the io-mode field - the original file had 3 and you asked me to change it to 1. If that was not your intent, then I may have made an error on the edit. Just thought that I would mention it in case it helps you to solve the problem.

I'm also encouraged that I'm not the only one having the problem. This likely means that it's not a totally newbie mistake.

Thanks again,
Flavelle

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

For some reason my other reply didn't come through. anyway the current work around is to replace the sections with the code below and use the Color LaserJet 2800 series (postscript) PPD file.

I've tested this and it's working for me now.

Hope this gets you guys going.

A

[hp_color_laserjet_cp1515n]
align-type=0
clean-type=0
color-cal-type=0
copy-type=0
embedded-server-type=1
fax-type=0
fw-download=0
icon=HP_Color_LaserJet_4500.png
io-mfp-mode=3
io-mode=1
io-support=6
job-storage=0
linefeed-cal-type=0
model1=HP Color LaserJet CP1515n Printer
panel-check-type=1
pcard-type=2
plugin=0
plugin-library=
power-settings=0
pq-diag-type=0
r-type=0
r0-agent1-kind=4
r0-agent1-sku=CB540A
r0-agent1-type=1
r0-agent2-kind=4
r0-agent2-sku=CB541A
r0-agent2-type=4
r0-agent3-kind=4
r0-agent3-sku=CB542A
r0-agent3-type=5
r0-agent4-kind=4
r0-agent4-sku=CB543A
r0-agent4-type=6
scan-style=0
scan-type=0
status-battery-check=0
status-dynamic-counters=0
status-type=8
support-released=1
support-type=2
support-ver=2.8.5
tech-class=Postscript
tech-type=4
usb-pid=4417
usb-vid=03f0

[hp_color_laserjet_cp1518ni]
align-type=0
clean-type=0
color-cal-type=0
copy-type=0
embedded-server-type=1
fax-type=0
fw-download=0
icon=HP_Color_LaserJet_4500.png
io-mfp-mode=3
io-mode=1
io-support=6
job-storage=0
linefeed-cal-type=0
model1=HP Color LaserJet CP1518ni Printer
panel-check-type=1
pcard-type=2
plugin=0
plugin-library=
power-settings=0
pq-diag-type=0
r-type=0
r0-agent1-kind=4
r0-agent1-sku=CB540A
r0-agent1-type=1
r0-agent2-kind=4
r0-agent2-sku=CB541A
r0-agent2-type=4
r0-agent3-kind=4
r0-agent3-sku=CB542A
r0-agent3-type=5
r0-agent4-kind=4
r0-agent4-sku=CB543A
r0-agent4-type=6
scan-style=0
scan-type=0
status-battery-check=0
status-dynamic-counters=0
status-type=8
support-released=1
support-type=2
support-ver=2.8.5
tech-class=Postscript
tech-type=4
usb-pid=5017
usb-vid=03f0

Revision history for this message
STrRedWolf (strredwolf) said :
#22

Is this the same for the CP1518ni, Aaron?

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

Yeah use the [hp_color_laserjet_cp1518ni] code above and replace the section in the file /usr/share/hplip/data/models/models.dat and use the same ppd file. Should work.

A

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

By same I mean, use the Color LaserJet 2800 postscript ppd.

A

Revision history for this message
Flavelle (flavelle.ballem) said :
#25

Aaron:

Interesting workaround, but I am confirming that I did get a valid test page. Please let me know when there is a permanent fix so that I can do a more 'standard' install, but many thanks for helping clear the dust bunnies from my formerly $400 paper weight!

May I ask that we keep this open until the root problem with the cp1518ni drivers are corrected and the files in hplip have been updated with the corrections? I'm not sure how this works, and it may be picky, but I don't consider the problem fully fixed until the corrections are implemented in 'production'. I also have not done extensive testing to determine if the workaround works in all situations. Please don't take this in any way as criticism - I am delighted that you were able to come up with a workaround.

thanks,
Flavelle

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

The sections in the models.dat have been corrected for the next release.

I'm working on the ppd solution as well--and this should all be resolved in the next release.

Sorry about the inconvenience!

Aaron

Revision history for this message
Flavelle (flavelle.ballem) said :
#27

That's fine with me! If possible, and I don't know that it is, could you please send me an e-mail to let me know when the next release is available? I understand if it's too much of a bother, but I would appreciate it.

Many thanks,
Flavelle

Revision history for this message
STrRedWolf (strredwolf) said :
#28

So far so good with me. I've also popped in an entry over at LinuxPrinting.org citing it as "Mostly working". Better than "Paperweight!" :D

Revision history for this message
Flavelle (flavelle.ballem) said :
#29

When you are looking at this, could you please make sure that we can set Duplex Printing through the driver? The cp1518ni supports duplex printing, and there does not seem to be a way to set this in the workaround. Have to do our little bit to save the trees!

Revision history for this message
STrRedWolf (strredwolf) said :
#30

It's a manual duplex -- there's no reversing hardware in the printer.

Revision history for this message
Flavelle (flavelle.ballem) said :
#31

Agree with the manual duplex, but it is automatically supported in the Windows driver and I don't see support for it in the hplip driver that's being used in the workaround. I would expect that in the release version, it is reasonable that the manual duplex would be supported.
Flavelle

Revision history for this message
Flavelle (flavelle.ballem) said :
#32

I tried to print an Open Office Writer document in colour. It printed nicely in black and white, but not in colour. Just wanted to FYI, in case this is related to the fact that I'm using the workaround instead of the real driver.

Thanks,