[cups] Color profiles with CUPS?

Alan Corey alan01346 at gmail.com
Mon Dec 26 12:48:47 PST 2016


I got mine to print correctly finally.  Unfortunately I had installed
everything including the kitchen sink trying to get it to work so I'm
not sure what was actually needed.  This was on a Raspberry Pi, I can
start with a generic image on a spare SD card and try to install the
bare minimum.

I printed from lpr to test it: lpr purple.jpg

I eventually added this line to my ppd:
*Attribute:cupsICCProfile ../Default
/etc/cups/icm/HP_cp2025dn_2014_colormunki.icm

A big difficulty for me was the syntax which I replaced with
../Default since I only have 1 printer but that same stanza could look
like:
RGB.Glossy.720dpi/720dpi
I didn't find a good working description of the way colorspace, paper
type, DPI work in PPDs but this is basically a description of the
situation.  Places within the dots are significant, have nothing to do
with directories.  This is PPD syntax.

Two things I finally found helpful were a command line program called
cupstestppd (I don't know what it's part of) and watching
/var/log/cups/error_log

My cupstestppd is  "Copyright 2007-2013 by Apple Inc."

Looking in the error_log told me it was looking for PPDs in
/usr/share/ppd/custom
The PPD has a full path to the icm which can be anywhere.

The first character in the PPD has to be an * like: *PPD-Adobe: "4.3"

I don't have kde-colormgr.

dpkg-query -l | grep -i colord shows
ii  colord                                 1.2.1-1+b2
              armhf        system service to manage device colour
profiles -- system daemon
ii  colord-data                            1.2.1-1
              all          system service to manage device colour
profiles -- data files
ii  gir1.2-colord-1.0                      1.2.1-1+b2
              armhf        GObject introspection data for the colord
library
ii  gir1.2-colordgtk-1.0                   0.1.25-1.1+b1
              armhf        GObject introspection data for the
colord-gtk library
ii  libcolord-dev                          1.2.1-1+b2
              armhf        system service to manage device colour
profiles -- development files
ii  libcolord-gtk-dev                      0.1.25-1.1+b1
              armhf        GTK+ convenience library for interacting
with colord - dev files
ii  libcolord-gtk1:armhf                   0.1.25-1.1+b1
              armhf        GTK+ convenience library for interacting
with colord
ii  libcolord2:armhf                       1.2.1-1+b2
              armhf        system service to manage device colour
profiles -- runtime

But again I can't be sure what's actually needed.


-- 
Credit is the root of all evil.  - AB1JX



More information about the cups mailing list