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: Debugging a "Job Stopped" Error



I've been comparing the debug log generated by my app when it fails to print and that generated by Preview when it succeeds in printing the PDF generated from the same job. Specifically I've been looking at the setup instructions to see if Preview is asking for something different than I am. Apart from the exact order of things and the file IDs there are only a few differences.

Preview:
StartJob: option = "noPDFIsProtected..b."
StartJob: option = "jp.co.canon.bj.print.PrintSettings.BJPrintQuality..n.=15"
StartJob: option = "com.apple.print.PrintSettings.PMPageRange..a. 1..n.=1"
StartJob: option = "com.apple.print.PrintSettings.PMLastPage..n.=1"
StartJob: option = "jp.co.canon.bj.print.PrintSettings.BJDitherPattern..n.=1869291552"


Me:
StartJob: option = "jp.co.canon.bj.print.PrintSettings.BJPrintQuality..n.=16767376"
StartJob: option = "com.apple.print.PrintSettings.PMPageRange..a. 1..n.=2147483647"
StartJob: option = "com.apple.print.PrintSettings.PMLastPage..n.=2147483647"
StartJob: option = "jp.co.canon.bj.print.PrintSettings.BJDitherPattern..n.=2595"


Preview is using an option "noPDFIsProtected" that I'm unfamiliar with. The only other difference in the Apple settings is that I'm setting the last page to be 1, and Preview is using MaxInt32.

The Canon settings show a difference in BJPrintQuality and BJDitherPattern. The only thing I can think of that might account for this is that I'm setting the interpolation quality of the CG context used for printing before I draw into it:

CGContextSetInterpolationQuality(printContext, kCGInterpolationHigh);

Does any of this seem like it might be reason for my job to fail?

Thanks,
Nick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Printing mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/printing/email@hidden

This email sent to 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.