[cups] Print with ICC-profile from command line, using lpr / OSX. Impossible?

Erik Wåhlström erik at erikwahlstrom.se
Wed Dec 16 02:10:56 PST 2015


That's a great oneliner. We'll use that. Thanks!

Erik


Erik Wåhlström | +46 (0) 702 34 24 94 | erikwahlstrom.se

On Tue, Dec 15, 2015 at 8:26 PM, Michael Sweet <msweet at apple.com> wrote:

> Erik,
>
> > On Dec 15, 2015, at 2:17 PM, Erik Wåhlström <erik at erikwahlstrom.se>
> wrote:
> >
> > Thank you Michael for the straight answer. The technical level of this is
> > way out if my league, but I'm trying my best to understand it all. I'm
> also
> > extremely humbled to get an answer directly from you.
> >
> > In very simplified terms; would it be possible to create a custom xcode
> app
> > that use Core Printing to hand of a color managed print job to cups
> without
> > any other bells 'n' whistles?
>
> The simplest thing would be to do a short bit of AppleScript (the
> "osascript" command) to tell Preview to print the file, something like:
>
>     osascript -e 'tell application "Preview" to print "filename"'
>
> _________________________________________________________
> Michael Sweet, Senior Printing System Engineer
>
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://www.cups.org/mailman/listinfo/cups
>



More information about the cups mailing list