> Now when I have multiple pages to print, I would like to print all of them > using a single NSPrintOperation. So basically, I would like to insert > NSImage/NSImageView of each page as a separate page into a single NSView and > use this NSView to print finally using NSPrintOperation.
That approach will work just fine. Make a NSView subclass that contains all your pages/NSImageViews and have that subclass override the necessary custom pagination methods (eg: -knowsPageRange:). Then just create a NSPrintOperation for that big NSView. See: http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Printing/Concepts/pagination.html#//apple_ref/doc/uid/20001051-BBCHHAHI ~Martin _______________________________________________ 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 arch...@mail-archive.com