Interpretation of raster data

Christian Walther cwalther at gmx.ch
Tue Mar 29 00:14:54 PST 2005


Michael Sweet wrote:
> Normally, the _W and _RGB colorspaces are sRGB-based, however that
> varies depending on the platform and configuration.
>
> You can set the color profile to use on MacOS X with the
> cupsICCProfile attribute - look on the Apple developer site for
> the technote.

Thanks, that works. So I'm now specifying an sRGB profile on Mac OS X and hope that interpreting the data using the sRGB transfer function will produce good results everywhere.

Unfortunately the profile specification is only picked up for printers created in the Printer Setup Utility, not when creating them through the web interface or on the command line (which I must do because Printer Setup Utility refuses to set the device URI correctly for serial printers). The /System/Library/Printers/Libraries/csregprinter tool that seems responsible for it is undocumented, and I'm not sure how reliable a solution based on reverse engineering it would be. Oh well, looks like installation is going to be a two-step process for the user: create the printer in Printer Setup Utility and then use some AppleScript that invokes lpadmin to configure it properly.

 -Christian




More information about the cups mailing list