• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "Save as PDF"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: "Save as PDF"?
      • From: Laurent Daudelin <email@hidden>
References: 
 >"Save as PDF"? (From: Laurent Daudelin <email@hidden>)

  • Prev by Date: Re: "Save as PDF"?
  • Next by Date: Re: Appropriate dealloc and finalize actions
  • Previous by thread: Re: "Save as PDF"?
  • Next by thread: Re: "Save as PDF"?
  • Index(es):
    • Date
    • Thread