C6180 colors off
Printer prints psycodelic colors even on the test page. Prints fine from the windows computers on the network.
HPLIP version 3.11.1
PCLinuxOS
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hi,
Please can you post us the output of hp-check -t command.
Thanks,
Goutam Kodu
Revision history for this message
|
#2 |
p-check[1271]: info: :
Initializing. Please wait...
PCLinuxOS
2010
scheduler is running
Linux localhost.
hp-check[1271]: info: :
hp-check[1271]: info: :---------------
hp-check[1271]: info: :| SYSTEM INFO |
hp-check[1271]: info: :---------------
hp-check[1271]: info: :
hp-check[1271]: info: :Basic system information:
hp-check[1271]: info: :Linux localhost.
hp-check[1271]: info: :
hp-check[1271]: info: :Distribution:
hp-check[1271]: info: :pclinuxos 2010
hp-check[1271]: info: :
hp-check[1271]: info: :Checking Python version...
hp-check[1271]: info: :OK, version 2.6.6 installed
hp-check[1271]: info: :
hp-check[1271]: info: :Checking PyQt 4.x version...
hp-check[1271]: info: :OK, version 4.8.2 installed.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking for CUPS...
hp-check[1271]: info: :Status: scheduler is running
warning: Version: (cups-config) Not available. Unable to determine installed version of CUPS.)
warning: /etc/cups/
hp-check[1271]: info: :
hp-check[1271]: info: :Checking for dbus/python-dbus...
hp-check[1271]: info: :dbus daemon is running.
hp-check[1271]: info: :python-dbus version: 0.83.2
hp-check[1271]: info: :
hp-check[1271]: info: :
hp-check[1271]: info: :------
hp-check[1271]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[1271]: info: :------
hp-check[1271]: 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[1271]: info: :
hp-check[1271]: info: :Checking for dependency: CUPS - Common Unix Printing System...
hp-check[1271]: info: :OK, found.
hp-check[1271]: info: :
hp-check[1271]: 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[1271]: info: :
hp-check[1271]: info: :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.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking for dependency: CUPS image - CUPS image 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.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking for dependency: DBus - Message bus system...
hp-check[1271]: info: :OK, found.
hp-check[1271]: info: :
hp-check[1271]: info: :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.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[1271]: info: :OK, found.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[1271]: info: :OK, found.
hp-check[1271]: info: :
hp-check[1271]: info: :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.
hp-check[1271]: info: :
hp-check[1271]: info: :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.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[1271]: info: :OK, found.
hp-check[1271]: info: :
hp-check[1271]: info: :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.
hp-check[1271]: info: :
hp-check[1271]: info: :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.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[1271]: info: :OK, found.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[1271]: info: :OK, found.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking for dependency: PolicyKit - Administrative policy framework...
hp-check[1271]: info: :OK, found.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
hp-check[1271]: info: :OK, found.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking for dependency: Python DBus - Python bindings for DBus...
hp-check[1271]: info: :OK, found.
hp-check[1271]: info: :
hp-check[1271]: info: :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.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking for dependency: Python XML libraries...
hp-check[1271]: info: :OK, found.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[1271]: info: :OK, found.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[1271]: info: :OK, found.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking for dependency: Reportlab - PDF library for Python...
hp-check[1271]: info: :OK, found.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking for dependency: SANE - Scanning library...
hp-check[1271]: info: :OK, found.
hp-check[1271]: info: :
hp-check[1271]: info: :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.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[1271]: info: :OK, found.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
hp-check[1271]: info: :OK, found.
hp-check[1271]: info: :
hp-check[1271]: info: :
hp-check[1271]: info: :------
hp-check[1271]: info: :| HPLIP INSTALLATION |
hp-check[1271]: info: :------
hp-check[1271]: info: :
hp-check[1271]: info: :
hp-check[1271]: info: :Currently installed HPLIP version...
hp-check[1271]: info: :HPLIP 3.11.1 currently installed in '/usr/share/hplip'.
hp-check[1271]: info: :
hp-check[1271]: info: :Current contents of '/etc/hp/
hp-check[1271]: info: :# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.11.1
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
icon=/usr/
cupsbackend=
cupsfilter=
drv=/usr/
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-
foomatic-
foomatic-
hpcups-install=yes
cups-drv-
cups-ppd-
internal-
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-
hpijs-only-build=no
hp-check[1271]: info: :
hp-check[1271]: info: :Current contents of '/var/lib/
hp-check[1271]: info: :# hplip.state - HPLIP runtime persistent variables.
[plugin]
installed=0
eula=0
hp-check[1271]: info: :
hp-check[1271]: info: :Current contents of '~/.hplip/
hp-check[1271]: info: :[last_used]
printer_name = Photosmart_C6100_2
working_dir = .
device_uri = "hp:/net/
[commands]
scan = /usr/bin/xsane -V %SANE_URI%
[installation]
date_time = 05/02/11 13:04:29
version = 3.11.1.19
[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
hp-check[1271]: info: :
hp-check[1271]: info: :------
hp-check[1271]: info: :| DISCOVERED USB DEVICES |
hp-check[1271]: info: :------
hp-check[1271]: info: :
hp-check[1271]: info: :No devices found.
hp-check[1271]: info: :
hp-check[1271]: info: :------
hp-check[1271]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[1271]: info: :------
hp-check[1271]: info: :
hp-check[1271]: info: :
hp-check[1271]: info: :Photosmart_C6100
hp-check[1271]: info: :----------------
hp-check[1271]: info: :Type: Printer
hp-check[1271]: info: :Device URI: hp:/net/
hp-check[1271]: info: :PPD: /etc/cups/
hp-check[1271]: info: :PPD Description: HP Photosmart c6100 Series, hpcups 3.10.9
hp-check[1271]: info: :Printer status: printer Photosmart_C6100 is idle. enabled since Sun 01 May 2011 07:23:51 AM EDT
hp-check[1271]: info: :Communication status: Good
hp-check[1271]: info: :
hp-check[1271]: info: :Photosmart_C6100_2
hp-check[1271]: info: :------------------
hp-check[1271]: info: :Type: Printer
hp-check[1271]: info: :Device URI: hp:/net/
hp-check[1271]: info: :PPD: /etc/cups/
hp-check[1271]: info: :PPD Description: HP Photosmart c6100 Series, hpcups 3.11.1
hp-check[1271]: info: :Printer status: printer Photosmart_C6100_2 is idle. enabled since Sun 01 May 2011 07:35:00 AM EDT
ready to print
hp-check[1271]: info: :Communication status: Good
hp-check[1271]: info: :
hp-check[1271]: info: :Photosmart_
hp-check[1271]: info: :------
hp-check[1271]: info: :Type: Fax
hp-check[1271]: info: :Device URI: hpfax:/
hp-check[1271]: info: :PPD: /etc/cups/
hp-check[1271]: info: :PPD Description: HP Fax hpcups
hp-check[1271]: info: :Printer status: printer Photosmart_
Rendering completed
hp-check[1271]: info: :Communication status: Good
hp-check[1271]: info: :
hp-check[1271]: info: :Photosmart_
hp-check[1271]: info: :------
hp-check[1271]: info: :Type: Fax
hp-check[1271]: info: :Device URI: hpfax:/
hp-check[1271]: info: :PPD: /etc/cups/
hp-check[1271]: info: :PPD Description: HP Fax hpcups
hp-check[1271]: info: :Printer status: printer Photosmart_
hp-check[1271]: info: :Communication status: Good
hp-check[1271]: info: :
hp-check[1271]: info: :
hp-check[1271]: info: :------
hp-check[1271]: info: :| SANE CONFIGURATION |
hp-check[1271]: info: :------
hp-check[1271]: info: :
hp-check[1271]: info: :'hpaio' in '/etc/sane.
hp-check[1271]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking output of 'scanimage -L'...
hp-check[1271]: info: :device `hpaio:
hp-check[1271]: info: :
hp-check[1271]: info: :------
hp-check[1271]: info: :| PYTHON EXTENSIONS |
hp-check[1271]: info: :------
hp-check[1271]: info: :
hp-check[1271]: info: :Checking 'cupsext' CUPS extension...
hp-check[1271]: info: :OK, found.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking 'pcardext' Photocard extension...
hp-check[1271]: info: :OK, found.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking 'hpmudext' I/O extension...
hp-check[1271]: info: :OK, found.
hp-check[1271]: info: :
hp-check[1271]: info: :Checking 'scanext' SANE scanning extension...
hp-check[1271]: info: :OK, found.
hp-check[1271]: info: :
hp-check[1271]: info: :
hp-check[1271]: info: :
hp-check[1271]: info: :---------------
hp-check[1271]: info: :| USER GROUPS |
hp-check[1271]: info: :---------------
hp-check[1271]: info: :
hp-check[1271]: info: :tony lp floppy cdrom cdwriter audio video dialout users lpadmin polkituser fuse
hp-check[1271]: info: :
hp-check[1271]: info: :-----------
hp-check[1271]: info: :| SUMMARY |
hp-check[1271]: info: :-----------
hp-check[1271]: info: :
error: 11 errors and/or warnings.
hp-check[1271]: info: :
hp-check[1271]: info: :Please refer to the installation instructions at:
hp-check[1271]: info: :http://
hp-check[1271]: info: :
hp-check[1271]: info: :Done.
Revision history for this message
|
#3 |
I also checked hp-check -t on the second linux machine on my network. It has the same printing issue and the output is identical.
Revision history for this message
|
#4 |
Hi,
Please check the ghostscript(gs) version that is installed in your system. The same you can find using
$gs --version command , if gs version is 9.00 then please install the latest ghostscript version. And apply the below patch on HPCupsFilter.cpp file in the HPLIP source directory and do make and make install.
Index: HPCupsFilter.cpp
=======
--- HPCupsFilter.cpp (revision 14595)
+++ HPCupsFilter.cpp (working copy)
@@ -699,10 +699,18 @@
if (b != 0 && b != 0xFF) {
#ifdef __linux
- rgb[0] -= (255 - b);
- rgb[1] -= (255 - b);
- rgb[2] -= (255 - b);
-
+ // rgb[0] -= (255 - b);
+ // rgb[1] -= (255 - b);
+ // rgb[2] -= (255 - b);
+ int cr,cg,cb;
+ cr = rgb[0] - (int)(255 - b);
+ rgb[0] = cr >= 0 ? cr : 0;
+
+ cg = rgb[1] - (int)(255 - b);
+ rgb[1] = cg >= 0 ? cg : 0;
+
+ cb = rgb[2] - (int)(255 - b);
+ rgb[2] = cb >= 0 ? cb : 0;
#else // This alternate path is for Mac....
@@ -710,8 +718,10 @@
#endif
}
else
rgb += 3;
if (k == 7) {
-------
Please let us know on the same.
Thanks,
Goutam Kodu
Revision history for this message
|
#5 |
gs version is 9.02
Not sure where to find the HPLIP source directory. It was installed with synaptic through the PClinuxOS repositories.
Any hints as to where it might live??
Thanks for your patients with this,
Tony
Revision history for this message
|
#6 |
Hi,
That patch was only if the distro was shipped with gs 9.00. https:/
Please download the latest hplip-3.11.3a tar file from http://
Let us know if the print test page still has inverted colors on the latest hplip-3.11.3a. If yes, then apply the above patch on hplip-3.
Thanks & Regards,
Goutam Kodu
Revision history for this message
|
#7 |
found 3.11.3a in the repositories this morning. Installed it that way and still the same colors.
Still looking for the file to install the patch though.
Thanks,
Tony
Revision history for this message
|
#8 |
Hi,
Please can you download the latest hplip tar package from http://
The hplip tar package contains the source files on extraction you can find the HPCupsFilter.cpp file in prnt/hpcups folder . Apply the patch and run "make" and su -c"make install"
Thanks,
Goutam Kodu
Revision history for this message
|
#9 |
Does the patch replace the original file completely or is there a specific insertion point?
Thanks,
Tony
Revision history for this message
|
#10 |
Hi,
Just replace the lines containing this
rgb[0] -= (255 - b);
rgb[1] -= (255 - b);
rgb[2] -= (255 - b);
in function void HPCupsFilter:
int cr,cg,cb;
cr = rgb[0] - (int)(255 - b);
rgb[0] = cr >= 0 ? cr : 0;
cg = rgb[1] - (int)(255 - b);
rgb[1] = cg >= 0 ? cg : 0;
cb = rgb[2] - (int)(255 - b);
rgb[2] = cb >= 0 ? cb : 0;
Thanks,
Goutam Kodu
Can you help with this problem?
Provide an answer of your own, or ask tony gomes for more information if necessary.