inverted image colors

Bug #718494 reported by John M
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned

Bug Description

All printouts have inverted images... black is white and white is black. Text or certain line art seems to be unaffected. But any kind of bitmap image gets inverted. For example the hp printer test page prints correctly except for the little HP logo image which gets inverted.

Solution: use IJS driver instead of CUPS driver. Then everything prints correctly.

My now WORKING setup using the IJS driver:

openSUSE 11.4 RC1 x86_64
Laserjet p1102w

> rpm -qa "*hplip*"
hplip-3.11.1-5.1.x86_64
hplip-hpijs-3.11.1-5.1.x86_64

***********************************************************

hp-check[6335]: info: :Distribution:
hp-check[6335]: info: :suse 11.4
hp-check[6335]: info: :
hp-check[6335]: info: :Checking Python version...
hp-check[6335]: info: :OK, version 2.7.0 installed
hp-check[6335]: info: :
hp-check[6335]: info: :Checking PyQt 4.x version...
hp-check[6335]: info: :OK, version 4.8.2 installed.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking for CUPS...
hp-check[6335]: info: :Status: scheduler is running
hp-check[6335]: info: :Version: 1.4.6
warning: /etc/cups/cupsd.conf file not found or not accessible.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking for dbus/python-dbus...
hp-check[6335]: info: :dbus daemon is running.
hp-check[6335]: info: :python-dbus version: 0.83.2
hp-check[6335]: info: :
hp-check[6335]: info: :
hp-check[6335]: info: :------------------------------------
hp-check[6335]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[6335]: info: :------------------------------------
hp-check[6335]: 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[6335]: info: :
hp-check[6335]: info: :Checking for dependency: CUPS - Common Unix Printing System...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking for dependency: CUPS devel- Common Unix Printing System development files...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking for dependency: CUPS image - CUPS image development files...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking for dependency: DBus - Message bus system...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: 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[6335]: info: :
hp-check[6335]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking for dependency: libtool - Library building support services...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking for dependency: libusb - USB library...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking for dependency: PolicyKit - Administrative policy framework...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking for dependency: Python DBus - Python bindings for DBus...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking for dependency: Python devel - Python development files...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: 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[6335]: info: :
hp-check[6335]: info: :Checking for dependency: Python XML libraries...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking for dependency: Reportlab - PDF library for Python...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking for dependency: SANE - Scanning library...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: 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[6335]: info: :
hp-check[6335]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :
hp-check[6335]: info: :----------------------
hp-check[6335]: info: :| HPLIP INSTALLATION |
hp-check[6335]: info: :----------------------
hp-check[6335]: info: :
hp-check[6335]: info: :
hp-check[6335]: info: :Currently installed HPLIP version...
hp-check[6335]: info: :HPLIP 3.11.1 currently installed in '/usr/share/hplip'.
hp-check[6335]: info: :
hp-check[6335]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[6335]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.11.1

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/manufacturer-PPDs/hplip
ppdbase=/usr/share/cups/model/manufacturer-PPDs
doc=/usr/share/doc/packages/hplip
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/lib/cups/driver

# 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-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=yes
hpcups-install=yes
cups-drv-install=no
cups-ppd-install=yes
internal-tag=3.11.1.19
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=no
hpcups-only-build=no
hpijs-only-build=no

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

hp-check[6335]: info: :
hp-check[6335]: info: :Current contents of '~/.hplip/hplip.conf' file:
hp-check[6335]: info: :[last_used]
printer_name = HP_LaserJet_Professional_P1102w
working_dir = .
device_uri = hp:/net/HP_LaserJet_Professional_P1102w?zc=n********

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

[installation]
version = 3.11.1.19
date_time = 02/13/11 17:23:55

[settings]
systray_messages = 0
systray_visible = 1

[fax]
email_address =
voice_phone =

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

[polling]
enable = false
device_list =
interval = 5

hp-check[6335]: info: :
hp-check[6335]: info: :--------------------------
hp-check[6335]: info: :| DISCOVERED USB DEVICES |
hp-check[6335]: info: :--------------------------
hp-check[6335]: info: :
hp-check[6335]: info: :No devices found.
hp-check[6335]: info: :
hp-check[6335]: info: :---------------------------------
hp-check[6335]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[6335]: info: :---------------------------------
hp-check[6335]: info: :
hp-check[6335]: info: :
hp-check[6335]: info: :HP_LaserJet_Professional_P1102w
hp-check[6335]: info: :-------------------------------
hp-check[6335]: info: :Type: Printer
hp-check[6335]: info: :Device URI: hp:/net/HP_LaserJet_Professional_P1102w?zc=n********
hp-check[6335]: info: :PPD: /etc/cups/ppd/HP_LaserJet_Professional_P1102w.ppd
hp-check[6335]: info: :PPD Description: HP LaserJet Professional p1102w hpijs, 3.11.1.19, requires proprietary plugin
hp-check[6335]: info: :Printer status: printer HP_LaserJet_Professional_P1102w is idle. enabled since Sun 13 Feb 2011 02:25:25 PM AKST
 ready to print
hp-check[6335]: info: :Required plug-in status: Installed
hp-check[6335]: info: :Communication status: Good
hp-check[6335]: info: :
hp-check[6335]: info: :
hp-check[6335]: info: :----------------------
hp-check[6335]: info: :| SANE CONFIGURATION |
hp-check[6335]: info: :----------------------
hp-check[6335]: info: :
hp-check[6335]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[6335]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking output of 'scanimage -L'...
hp-check[6335]: info: :
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).

hp-check[6335]: info: :
hp-check[6335]: info: :---------------------
hp-check[6335]: info: :| PYTHON EXTENSIONS |
hp-check[6335]: info: :---------------------
hp-check[6335]: info: :
hp-check[6335]: info: :Checking 'cupsext' CUPS extension...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking 'pcardext' Photocard extension...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking 'hpmudext' I/O extension...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :Checking 'scanext' SANE scanning extension...
hp-check[6335]: info: :OK, found.
hp-check[6335]: info: :
hp-check[6335]: info: :
hp-check[6335]: info: :

hp-check[6335]: info: :
hp-check[6335]: info: :-----------
hp-check[6335]: info: :| SUMMARY |
hp-check[6335]: info: :-----------
hp-check[6335]: info: :
error: 4 errors and/or warnings.
hp-check[6335]: info: :
hp-check[6335]: info: :Please refer to the installation instructions at:
hp-check[6335]: info: :http://hplip.sourceforge.net/install/index.html

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

Revision history for this message
Daniel Morris (danielm-iee) wrote :

This affects openSUSE 11.4 final too, which includes hplip-3.11.1-6.1.i586. I had the same problem with two systems, one an update from 11.3 that migrated the cups/hplip setup and a clean install on a netbook, both when trying to use an HP DeskJet 5150. Using hpijs drivers instead worked. The problem was shown from the hp-toolbox "print test page", whilst the colour wheels were fine, the blue in the HP logo at the foot of the page looked like a negative. Both machines were 32 bit.

I also noted that the second page of a two page (text) document was completely garbled with the default hplip driver. It appeared to be repeating each successive line of text at an offset, like:-

1
21
321
4321
54321 (ie line 5 is over-printed on 4, 4 over-printed on 3, 3 over-printed on 2, 2 over-printed on 1)

Within a few lines the image was unreadable!

Revision history for this message
Johannes Meixner (jsmeix) wrote :

The "second page repeating successive line of text" bug
is likely a separated issue which is described as
"Various printout failures with CUPS default RIPCache 8m" at
http://en.opensuse.org/Portal:Printing
I.e.:
Add in /etc/cups/cupsd.conf a line like
  RIPCache 128m
or even up to
  RIPCache 1024m
(the latter if you have at least 2GB main memory in your computer)
and then restart the cupsd should avoid issues because
of the changed banding API in Ghostscript.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.