Have a HP B110a printer using on Opensuse 12.1 64bit. Installed HPLIP is 3.11.12-48 Ghostscript 9.04-66.1 I am unable to print in colour. No matter the setting prints in grayscale only. Bug report filed with HPLIP maintainers they have confirmed the fault lies with Ghostscript 9.04 https://bugs.launchpad.net/hplip/+bug/924631 reverting to 9.02 color print returns
Created attachment 8321 [details] HPLIP error log
Created attachment 8322 [details] PLIP check log
Created attachment 8323 [details] hpcups job.out
Created attachment 8324 [details] messages
Can you please attach the original input file (and also tell which application you have used to print the file)? Can you follow the instructions of the section "Capturing print job data" on https://wiki.ubuntu.com/DebuggingPrintingProblems This should work with eevery distribution. If in your configuration "sudo" does not execute the following command as root, open a second terminal window and get root with "su" there. Execute all commads which start with "sudo" in the second window, but with the "sudo" removed.
Created attachment 8335 [details] printout
Created attachment 8336 [details] Original file used to test printing
used stock file downloaded from google images to test printout in Gwenview 2.72 on Opensuse KDE 4.72 (standard release) Tested in other applications also - libreoffice, gimp, okular with same results.
Can you please execute the following command cupsfilter -m application/vnd.cups-postscript -P /etc/cups/ppd/<print queue name>.ppd -o PageSize=A4 <printout file from comment #6> > out.ps and attach out.ps? Thanks.
Created attachment 8337 [details] out.ps
Can you attach your PPD file, /etc/cups/ppd/<print queue name>.ppd? Can you also post the screen output of the "cupsfilter" command execution?
# cupsfilter -m application/vnd.cups-postscript -P /etc/cups/ppd/Photosmart_B110.ppd -o PageSize=A4 printout > out.ps DEBUG: argv[0]="cupsfilter" DEBUG: argv[1]="1" DEBUG: argv[2]="root" DEBUG: argv[3]="printout" DEBUG: argv[4]="1" DEBUG: argv[5]="PageSize=A4" DEBUG: argv[6]="printout" DEBUG: envp[0]="<CFProcessPath>" DEBUG: envp[1]="CONTENT_TYPE=application/pdf" DEBUG: envp[2]="CUPS_DATADIR=/usr/share/cups" DEBUG: envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts" DEBUG: envp[4]="CUPS_SERVERBIN=/usr/lib/cups" DEBUG: envp[5]="CUPS_SERVERROOT=/etc/cups" DEBUG: envp[6]="LANG=en_NZ.UTF8" DEBUG: envp[7]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin" DEBUG: envp[8]="PPD=/etc/cups/ppd/Photosmart_B110.ppd" DEBUG: envp[9]="PRINTER_INFO=cupsfilter" DEBUG: envp[10]="PRINTER_LOCATION=Unknown" DEBUG: envp[11]="PRINTER=cupsfilter" DEBUG: envp[12]="RIP_MAX_CACHE=128m" DEBUG: envp[13]="USER=root" INFO: pdftops (PID 5918) started. DEBUG: Started filter pdftops (PID 5919) DEBUG: Started filter pstops (PID 5920) DEBUG: Page = 595x842; 9,9 to 586,833 DEBUG: slow_collate=0, slow_duplex=0, slow_order=0 DEBUG: Before copy_comments - %!PS-Adobe-3.0 DEBUG: %!PS-Adobe-3.0 DEBUG: % Produced by poppler pdftops version: 0.18.0 (http://poppler.freedesktop.org) DEBUG: %%Creator: DEBUG: %%LanguageLevel: 3 DEBUG: %%DocumentSuppliedResources: (atend) DEBUG: %%DocumentMedia: plain 595 842 0 () () DEBUG: %%BoundingBox: 0 0 595 842 DEBUG: %%Pages: 1 DEBUG: %%EndComments DEBUG: Before copy_prolog - %%BeginDefaults DEBUG: Before copy_setup - %%BeginSetup DEBUG: Before page loop - %%Page: 1 1 DEBUG: Copying page 1... DEBUG: pagew = 577.4, pagel = 823.7 DEBUG: bboxx = 0, bboxy = 0, bboxw = 595, bboxl = 841 DEBUG: PageLeft = 9.0, PageRight = 586.4 DEBUG: PageTop = 832.7, PageBottom = 9.0 DEBUG: PageWidth = 595.4, PageLength = 841.7 DEBUG: Wrote 1 pages... DEBUG: PID 5919 (pdftops) exited with no errors. DEBUG: PID 5920 (pstops) exited with no errors. INFO: pdftops (PID 5918) exited with no errors.
Created attachment 8338 [details] ppd file
I am not able to make Ghostscript produce a grayscale image. I always get color. At least with Ghostscript 9.04 as shipped with Ubuntu Oneiric (I do not have OpenSUSE) this is the case. For me ir seems that there is a problem in hpcups or in the Ghostscript package of OpenSUSE (missing or wrong color profile?).
(In reply to comment #14) > I am not able to make Ghostscript produce a grayscale image. I always get > color. At least with Ghostscript 9.04 as shipped with Ubuntu Oneiric (I do not > have OpenSUSE) this is the case. For me ir seems that there is a problem in > hpcups or in the Ghostscript package of OpenSUSE (missing or wrong color > profile?). what release of 9.04 are you testing with? 9.04-xx.x? I
As I said I am using Ubuntu, the package is ghostscript 9.04~dfsg-0ubuntu11.5. This is the Ghostscript package with several bug fix patches (all backported from the GS 9.05 development) applied (on Ubuntu you get this version when you do all system updates). Note that there was no bug complaining about CUPS Raster coming out in grayscale when color was requested, the fixes on the CUPS Raster output driver are mainly to remedy segfaults.
is this bug at all relate? http://bugs.ghostscript.com/show_bug.cgi?id=691922 also see similar problems as mine reported on archlinux here https://bugs.archlinux.org/task/25519
Looking at the date when upstream GS 9.04 has been packaged (Aug 5, 2011, see "gs -h") it has missed the fix of bug 691922 by some days. The Ubuntu package has a patch which backports this fix, added on the day when the fix got committed to the upstream GIT repository of Ghostscript. The best solution would be if SUSE publishes a bug fix release applying the patches mentioned in bug 691922. These are backported bug-fix patches, so they are not against SUSE's no-distro-patch policy. Ghostscript 9.05 (to be released next week) will have this bug fixed out-of-the-box. *** This bug has been marked as a duplicate of bug 691922 ***