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