Re: Paginated PDF from NSView saved in memory
Re: Paginated PDF from NSView saved in memory
- Subject: Re: Paginated PDF from NSView saved in memory
- From: Joel Norvell <email@hidden>
- Date: Tue, 30 Dec 2008 11:01:44 -0800 (PST)
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:
This email sent to email@hidden