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: OS X - preferences menu and pdf files



On 5/27/02 7:45 AM, Alan Dail wrote:
> The other thing that I'll need to do in this app is generate .pdf files
> from our views. Has anyone done this before? I want to set it up so
> that drawing into my TView subclass generates a .pdf, just like you draw
> into the TView to print. I expect this will be an OS X only feature.
> Any pointers on how to do this would be appreciated.

This requires session printing support which is now in ClubMacApp. You'll also need to set the destination to PDF. Then just print your view.

http://developer.apple.com/techpubs/macosx/Carbon/graphics/CarbonPrintingManager/CPM_Concepts/cpm_chap3/Saving_a_Do__a_PDF_File.html

Regards,

Tom

--
Tom Becker "Within C++, there is a much smaller and
Object-Oriented Propeller Head cleaner language struggling to get out."
<email@hidden> -- Bjarne Stroustrup
_______________________________________________
macapp-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macapp-dev
Do not post admin requests to the list. They will be ignored.



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.