Thanks for the code Graham. I implemented it just with a simple boolean to control whether it is really printing or not, and that will be sufficient for my current needs, but I'll keep your solution in mind for if I come across it again.
Gideon On 11/06/2010, at 10:36 PM, Graham Cox wrote: > > I don't know the direct answer to your question, but there are alternative > ways to get PDF data out of a view, as a I put together some code to do > almost exactly that last week. > > Essentially you create a PDF graphics context and draw into that. > -isDrawingToScreen should still return NO but AFAICT no print operation comes > into play. > > ... > _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
