• 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:Problem printing offscreen PDFViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:Problem printing offscreen PDFViews


  • Subject: Re:Problem printing offscreen PDFViews
  • From: Kevin Bracey <email@hidden>
  • Date: Mon, 15 Aug 2011 14:01:11 +1200

Old follow up to help anyone else who might wish to print PDFs.

Having just run into the same problem as Waldo. I found the Apple Sample Code: PDFView a good starting point.

 While it no longer opens in Xcode 4.2 adding PDFImageView to my project worked fine.

By changing the load code to use pdfRep = [NSPDFImageRep imageRepWithData:pdfData]; instead of pdfRep = [NSPDFImageRep imageRepWithContentsOfFile: path];
there is no reason to write the PDFDocument to disk.

cheers
Kevin_______________________________________________

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

  • Prev by Date: Re: recomendations for creating a beta with date to expire
  • Next by Date: Re: recomendations for creating a beta with date to expire
  • Previous by thread: Save panel exception: "parentForItemsInColumn: is not supported for browsers with matrix delegates"
  • Next by thread: Graphical Keyboard Map
  • Index(es):
    • Date
    • Thread