• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sending an image to Preview to preview the image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sending an image to Preview to preview the image


  • Subject: Re: Sending an image to Preview to preview the image
  • From: Ken Thomases <email@hidden>
  • Date: Wed, 7 May 2008 11:46:51 -0500

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 (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Sending an image to Preview to preview the image
      • From: Bill <email@hidden>
References: 
 >Sending an image to Preview to preview the image (From: Kimo <email@hidden>)
 >Re: Sending an image to Preview to preview the image (From: Ken Thomases <email@hidden>)
 >Re: Sending an image to Preview to preview the image (From: Bill <email@hidden>)

  • Prev by Date: Re: re-read of partition table / diskarbitration probe
  • Next by Date: Re: Sending an image to Preview to preview the image
  • Previous by thread: Re: Sending an image to Preview to preview the image
  • Next by thread: Re: Sending an image to Preview to preview the image
  • Index(es):
    • Date
    • Thread