• 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
Printing an NSDocument
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Printing an NSDocument


  • Subject: Printing an NSDocument
  • From: Brian Postow <email@hidden>
  • Date: Thu, 18 Mar 2010 15:47:48 -0400

I'm trying to print a document. The document is an array of NSImageReps, or a single NSPDFImageRep, which has multiple pages. I'm having trouble figuring out how to use the NSPrintOperation class to print this.

The NSPrintOperation seems to need an NSView to print. Do I need to manually add each image into the view at a calculated position and then let it do the pagination? that seems like it isn't in the spirit of Cocoa... is there some technique that I'm missing?

Brian Postow
Senior Software Engineer
Acordex Imaging Systems

_______________________________________________

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: Printing an NSDocument
      • From: John Velman <email@hidden>
    • Re: Printing an NSDocument
      • From: Jenny M <email@hidden>
  • Prev by Date: AddressBook framework with remote contacts?
  • Next by Date: re: User-space threads and NSAutoreleasePool
  • Previous by thread: AddressBook framework with remote contacts?
  • Next by thread: Re: Printing an NSDocument
  • Index(es):
    • Date
    • Thread