Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Requesting 8-bit grayscale from the converter



On 2/21/03 2:03 PM, Matt Healy at email@hidden wrote:

> Paul -
>
> I've followed the procedure that you outlined in your email to Aaron on
> this topic, and I'm seeing something a little... well, a little
> unexpected, I guess.
>
> After successfully completing a call to BeginJob that sets up the converter
> ticket to request 8-bit grayscale, the printing subsystem immediately
> invokes EndJob and proceeds to stop the printer queue, without reporting
> any errors. (If I simply change the converter ticket to request 32-bit
> RGBX, everything runs fine: the call to BeginJob is followed by the rest of
> the normal sequence of calls.)
>
> The following changes have been made in our real PM, and in Apple's
> SamplePM source as a sanity-check:
> 1) I've added a new <dict> entry to the PMColorDeviceProfiles.xml file to
> specify a second profile for use with grayscale modes, using the example
> you provided in your email as a starting point.
> 2) I've changed the code responsible for setting up the converter ticket to
> request kPMGray_8 as the format, rather than kPMRGBX_32.
> 3) In our real PM, I've modified the code paths so that they should be able
> to handle 8-bit grayscale as the input format. (The SamplePM was left
> alone, since I was just using it to try and reproduce the problem from our
> PM: if the sample crashed or produced garbage output, that's fine, as long
> as it didn't just go directly from BeginJob() to EndJob().)
>
> Can you offer any suggestions as to what might be happening here? Is there
> anything that I've missed, or that your directions might have left out?
>
> We'd obviously rather get grayscale data as direct input data, rather than
> having to run conversions on the fly, but it looks like the printing
> subsystem is either unhappy with the request "as stated" by the ticket, or
> else there's some other problem that we're not being notified of.
>
> Anything you can suggest would be *greatly* appreciated. Thanks!
>
> -mjh

From a message last year that Paul sent to the Tioga mailing list...this is
related to getting grayscale output from 10.1.x [which I also had a problem
with]. I haven't seen anything that says it was fixed for 10.2 [but I
haven't been digging through the printing stuff recently].

On 6/17/02 3:23 PM, Paul Danbold at email@hidden wrote:

> This is our bug to fix. It's been the topic of several TiogaDev emails. It
> looks like our code is converting a grayscale profile into a 3 component
> colorspace, subsequently setting up an invalid CG context, hence the error
> message you're seeing. For now the recommended workaround is to request RGB
> and do the color->gray conversion in your PM.
>
> -Paul

Later,
--
David Rehring Psychos do not explode when light hits
VP of Research and Development them, no matter how crazy they are...
Atimi Software, Inc.
www.atimi.com And totally insane guy!
_______________________________________________
printing mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/printing
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Requesting 8-bit grayscale from the converter (From: Matt Healy <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.