• 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: Printing to NSData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printing to NSData


  • Subject: Re: Printing to NSData
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Tue, 22 Sep 2009 09:14:49 +0700


On 22 Sep 2009, at 00:57, David Duncan wrote:

On Sep 18, 2009, at 8:35 PM, Gerriet M. Denkmann wrote:

Is this a bug or did I miss some magical incantation here?

No incantation you've missed. Unless you want to do the pagination and assembly yourself (you probably don't) you will have to write to file and create a new PDF from it. I would test this to see how bad it actually is however.
Printing to file (1000 pages) + [ [ PDFDocument alloc ] initWithURL: pdfUrl ] = 14 sec
Printing to NSData + [ [ PDFDocument alloc ] initWithData: pdfData ] = 7 sec.


So there is an easily noticed difference, but it is not too bad.

Kind regards,

Gerriet.

_______________________________________________

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


References: 
 >Printing to NSData (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Printing to NSData (From: David Duncan <email@hidden>)

  • Prev by Date: Preferencepanel.xib file with an extra delegate object place inside
  • Next by Date: drawing/masking one image with the alpha value from another
  • Previous by thread: Re: Printing to NSData
  • Next by thread: How to show the "Info Panel" for the files in tableview?
  • Index(es):
    • Date
    • Thread