Re: Printing File to PDF from Native Application
Re: Printing File to PDF from Native Application
- Subject: Re: Printing File to PDF from Native Application
- From: Joel Norvell <email@hidden>
- Date: Tue, 9 Dec 2008 08:52:41 -0800 (PST)
Jeff,
Would the NSView (or NSWindow) method dataWithPDFInsideRect be a starting point for you? It does let you obtain your view as PDF data.
Though, there might be a more direct approach to get what you need just by using the basic printing classes.
In case these resources have eluded your radar, they may contain the information you need:
Chapter 25 in Cocoa Programming (Anguish, Buck and Yacktman) on Printing discusses this topic quite thoroughly. And Apple's documentation, "Printing Programming Topics for Cocoa," covers this well too.
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