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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to