[Bug 1971242] Re: printing PDF appears always grey, no color

Steve Langasek 1971242 at bugs.launchpad.net
Sat Jun 17 00:21:50 UTC 2023


FiileDevice Yes


This is a typo for "FileDevice", correct?

** Description changed:

  After upgrading from 20.04 LTS to 22.04 LTS I can't print colored PDF
  document. The print appears always b/w regardless color printing was
  enabled or not. Printing from LibreOffice produces a color print. This
  behavior (bug) is reproducible on three upgraded machines. It would be
  nice to have color print back again.
  
  [ Impact ]
  
  If the PPD file for a printer has a ColorModel option and the only
  choice in it for printing in color is not named RGB but CMYK instead,
  the printer cannot be made printing in color with intuitive methods,
  usually selcting the color choice in the print dialog (which makes
  ColorModel=CMYK be sent along with the job).
  
  Only an ugly command-line-based workaround, running the command
  
-     lpadmin -p PRINTER -o print-color-mode-default=color
+     lpadmin -p PRINTER -o print-color-mode-default=color
  
  makes the printer print in color.
  
  An example for printers with such PPDs are printers from RICOH and OEM
  (Lanier, InfoTec, Savin, ..), so many high-end color laser printers are
  affected.
  
  [ Test Plan ]
  
  Remove the workaround if you had applied it:
  
-     lpadmin -p PRINTER -R print-color-mode-default
+     lpadmin -p PRINTER -R print-color-mode-default
  
  If you have an affected printer, print a PDF file (or use the print
  functionality in an application) with colored content and choose the
  setting for color printing in the print dialog. When printing via
  command line do
  
-     lp -d PRINTER -o ColorModel=CMYK FILE.pdf
+     lp -d PRINTER -o ColorModel=CMYK FILE.pdf
  
  Without the SRU applied you will get a grayscale/monochrome printout,
  with it applied, you will get a colored printout.
  
  To test without a printer:
  
  Stop CUPS:
  
-     sudo systemctl stop cups
+     sudo systemctl stop cups
  
  Edit /etc/cups/cups-files.conf to have a line
  
-     FiileDevice Yes
+     FiileDevice Yes
  
- ans start CUPS again:
+ and start CUPS again:
  
-     sudo systemctl start cups
+     sudo systemctl start cups
  
  Then create a queue using the attached sample PPD file:
  
-     lpadmin -p color-test -E -v file:/tmp/printout -P Ricoh-PDF_Printer-
+     lpadmin -p color-test -E -v file:/tmp/printout -P Ricoh-PDF_Printer-
  PDF.ppd
  
  Print a file to this queue as described above. When the job is done
  ("lpstat" does not show it any more), open /tmp/printout with a text
  editor. Chcke whether it contains a line
  
-     @PJL SET RENDERMODE=COLOR
+     @PJL SET RENDERMODE=COLOR
  
  near its beginning, and NOT a line
  
-     @PJL SET RENDERMODE=GRAYSCALE
+     @PJL SET RENDERMODE=GRAYSCALE
  
  [ Where problems could occur ]
  
  The patches are simple and they are also for some time in newer CUPS
  versions (2.4.2 and newer) which are included in several distributions
  (Ubuntu 22.10, 23.04, and others) and did not cause any complaints about
  color printing. So the regression potential is very low.

** Changed in: cups (Ubuntu Jammy)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-jammy

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to okular in Ubuntu.
https://bugs.launchpad.net/bugs/1971242

Title:
  printing PDF appears always grey, no color

To manage notifications about this bug go to:
https://bugs.launchpad.net/cups/+bug/1971242/+subscriptions




More information about the kubuntu-bugs mailing list