Re: "Save as PDF"?
Re: "Save as PDF"?
- Subject: Re: "Save as PDF"?
- From: Aaron Tuller <email@hidden>
- Date: Tue, 13 Oct 2009 18:33:43 -0700
Hi Laurent,
At 5:23 PM -0700 10/13/09, Laurent Daudelin wrote:
Maybe a dumb question but anybody knows what's
happening behind the scene when you click "Save"
in the dialog that is displayed after you choose
"Save as PDF" from the print dialog? What magic
is performed to have the printed document, in
any application supporting printing, ending as a
pdf file?
Check out the section in:
http://developer.apple.com/mac/library/releasenotes/Cocoa/AppKit.html
called:
New Support for "Save As PDF" in NSDocument
Printing (New since November 2008 Seed)
and check the source for TextEdit in /Developer/Examples on 10.6 as noted.
Also, if you're on pre-Snow Leopard or not
Document Based, check out NSPrintSaveJob
in:
http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ApplicationKit/Classes/NSPrintInfo_Class/Reference/Reference.html
and then run the print operation without showing panels.
-aaron
_______________________________________________
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