[cups] Print with ICC-profile from command line, using lpr / OSX. Impossible?
Michael Sweet
msweet at apple.com
Tue Dec 15 08:50:44 PST 2015
Erik,
Sadly, no. The device profile is embedded in the PDF created by an OS X application (or the pstopdf filter) - PDFs submitted directly use the default color profile from the PPD (using the various options to pick the profile) *or* the hand-off space specified by the APDefaultCustomColorMatchingProfile keyword (GenericRGB, sRGB (default), or AdobeRGB).
There are a lot of good reasons why this is so (not the least of which is security) and we have no plans to change it.
> On Dec 15, 2015, at 11:11 AM, Erik Wåhlström <erik at erikwahlstrom.se> wrote:
>
> Dear Cups User Group.
>
> I have a rather simple setup which have generated countless hours of trying
> to figure it out.
>
> OSX 10.11.2
> Custom ICC-profile for the printer.
>
> My wish is to simply print a file with color-correction turned on from the
> command line.
>
> We've tried every combination of 'lpr' and ColorSync-settings, but it lpr
> just don't seem to use colorsync at all. We have also tried modifying the
> printer PPD, to use our custom ICC-profile, to no avail.
>
> Is there another way to print from the command line using something else
> than 'LPR'?
>
> Best wishes,
> Erik
>
>
> Erik Wåhlström | +46 (0) 702 34 24 94 | erikwahlstrom.se
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://www.cups.org/mailman/listinfo/cups
_________________________________________________________
Michael Sweet, Senior Printing System Engineer
More information about the cups
mailing list