On May 7, 2008, at 10:56 AM, Bill wrote:

I'm embarrassed to say that you're correct. What I remembered was a print preview, and it bypassed the regular print window and Preview button. Instead the image went directly to the preview with the Cancel and Print buttons at the bottom. I just figured out how to do that using NSPrintInfo and its method setShowPanels:NO. Thank you for your help.

Happy to help. I don't have much experience with printing in Cocoa, but -[NSPrintOperation setShowPanels:] is documented as deprecated. I do see -[NSPrintInfo setJobDisposition:] to which you can pass NSPrintPreviewJob. Maybe that will do what you need.

Cheers,
Ken
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to