Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with image printing
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
eni
n00b
n00b


Joined: 07 Sep 2006
Posts: 11

PostPosted: Thu Nov 11, 2010 1:16 pm    Post subject: Problem with image printing Reply with quote

Hi,

I have come across a problem with the printer driver which I can't track down. Printing documents and text-PDFs works fine. However, printing images and images exported as PDFs results into a 'negative' print where the colors seem to be reverted.

It's not the ink. I discovered this problem when I needed to scan and print a certificate (white background, black text, blue logo). It printed the background black, the text white and the logo green-yellow. I tried this out of Gimp, Openoffice and I tried exporting it as PDF and printing it from Acroread, all the same effect. Same with other images. Textdocuments I write in Openoffice and my PDF study materials cause no problems.

Since this was the first time in months that I had to print an image, I have no idea when the problem started (probably during a hplip update, I guess). I apply for jobs at the moment and therefor need to print my certificates.

Or could it have a different reason why it only affects images? I know for sure that it worked a few months ago when I printed these scans for my university enrollment. So I don't think that the scanner or Gimp are the problem but the printer driver. The gutenprint driver don't work for me, so no use trying these again.

I'm using the hplip driver:
Code:
net-print/hplip-3.10.9  USE="X hpcups libnotify policykit snmp static-ppds -doc -fax -hpijs -kde -minimal -parport -qt4 -scanner -udev-acl"
net-print/cups-1.4.4-r2  USE="X acl dbus gnutls java jpeg ldap pam perl png python ssl threads tiff usb -debug -kerberos -php -samba -slp -static-libs -xinetd"


Kernel:
Code:
Linux snowdrop 2.6.34-gentoo-r12 #1 SMP Mon Nov 8 18:07:43 CET 2010 i686 Intel(R) Core(TM)2 Quad CPU Q8300 @ 2.50GHz GenuineIntel GNU/Linux


Printer:
Code:
HP photosmart 7345
HP Photosmart 7345, hpcups 3.10.9.11 (color, 2-sided printing)
hp:/usb/photosmart_7345?serial=MY287113C85A
job-sheets=none, none media=om_a4.duplex_209.9x293.86mm sides=one-sided


Make.conf
Code:
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
ACCEPT_LICENSE="skype-eula PUEL googleearth AdobeFlash-10 AdobeFlash-10.1"

GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo "

SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
LINGUAS="de en ja ko no sv"
INPUT_DEVICES="keyboard mouse wacom"
VIDEO_CARDS="nvidia"
SANE_BACKENDS="plustek"

USE="latex sane-backends hal xattr fbcondecor cairo qt3support -qt4 consolekit X x86 -gnome -kde dvd alsa cdr libnotify gimp alsa avi berkdb bzip2 anthy cdb cdparanoia cdr cjk cypt cups dv -arts esd dbus dga divx4linux dvd dvdr dvdread encode fbcon gtkhtml gdbm gif gpm gstreamer gtk gtk2 ieee1394 imagemagick immqt-bc imlib java jpeg libcaca libg++ libwww mad motif mp3 nas nls oggvorbis opengl pam pdflib png python quicktime readline read ruby scim sdl slang spell ssl svga tcpd tidz tiff timidity truetype unicode usb userlocales v4l v4l2 sse sse2 threora mmx mmxext a52 aac rar ldap mng pdf smp svg wmf clamav imap matroska live dts dvdnav wavpack wma x264 jpeg tcl tk"
source /usr/local/portage/layman/make.conf


Any idea is highly welcome.

Greetings,
eni
_________________
Sorry, I'm Late. But I Got Lost On The Road Of Life.
Back to top
View user's profile Send private message
kirk427
n00b
n00b


Joined: 15 Dec 2003
Posts: 20

PostPosted: Sun Nov 14, 2010 5:03 am    Post subject: Reply with quote

I'm having the same trouble. haven't found the problem yet, but here's where I've looked so far:

https://bugs.gentoo.org/show_bug.cgi?id=315381

https://bugs.launchpad.net/hplip/+bug/665967

https://bugs.launchpad.net/hplip/+bug/534096

here's what my screwy test page looks like when I print it:

http://i1089.photobucket.com/albums/i344/kirkyd1/hp-printer-test.jpg

you can see the color wheel is way messed up! I don't know if you've had this problem as well, but I also noticed that when printing text only documents that the 2nd page through to the last page will get very messed up. the fix for that is mentioned in the links above. you can edit your /etc/cups/ppd/Photosmart.ppd file. (your filename will probably be different) and change the line:
Code:
*OrderDependency: 10.0 AnySetup *Duplex

to
Code:
*OrderDependency: 10.0 PageSetup *Duplex


which leads me to think the ppd file is getting messed up in ways affecting the color as well. I'll let you know if I discover the secret to this.

Kirk

---------Edit----------
This looks promising:
https://forums.gentoo.org/viewtopic-t-848152-highlight-hplip.html
I'm downgrading ghostscript now and hoping for the best.

--------Edit 2--------
Downgrading did the trick for me. hope will fix yours as well.
Back to top
View user's profile Send private message
eni
n00b
n00b


Joined: 07 Sep 2006
Posts: 11

PostPosted: Sun Nov 14, 2010 6:50 pm    Post subject: Reply with quote

Hi,

thank you so much! Downgrading worked for me too.

Gosh, I tried so much by now and it gets really annoying when you NEED the function but can't get it working. Thank you ;*

~eni
_________________
Sorry, I'm Late. But I Got Lost On The Road Of Life.
Back to top
View user's profile Send private message
comprookie2000
Retired Dev
Retired Dev


Joined: 25 Jul 2004
Posts: 925
Location: Sun City Center, Florida

PostPosted: Sun Nov 21, 2010 1:23 am    Post subject: Strange printing behavior with app-text/ghostscript-gpl-9.0 Reply with quote

Here is the upstream bug;
http://bugs.ghostscript.com/show_bug.cgi?id=691733

I had the same problem with image backgrounds printed black and downgrading to app-text/ghostscript-gpl-8.71-r6 fixed it.
Could you update the topic so others searching will find this thread more easily, thanks all :)
_________________
http://dev.gentoo.org/~dabbott/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum