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: Paginated PDF from NSView saved in memory



Dragan,

This doesn't answer your questions, but it might be a useful hint pointing you toward a solution.

I think the key method you want to use is [NSView dataWithPDFInsideRect] 

It's discussed in the "Generating EPS and PDF Data" section of Apple's printing doc.

"A print operation does not have to send its results to a printer. You can have the operation generate raw PDF or EPS data and write the data either to an NSMutableData object you provide or to a file at a path you specify."

http://developer.apple.com/documentation/Cocoa/Conceptual/Printing/Printing.pdf

HTH,

Joel




      
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/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.