• 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: dataWithPDFInsideRect and NSPrintOperation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dataWithPDFInsideRect and NSPrintOperation


  • Subject: Re: dataWithPDFInsideRect and NSPrintOperation
  • From: Gideon King <email@hidden>
  • Date: Sat, 12 Jun 2010 02:30:16 +1000

Thanks for the code Graham. I implemented it just with a simple boolean to control whether it is really printing or not, and that will be sufficient for my current needs, but I'll keep your solution in mind for if I come across it again.

Gideon

On 11/06/2010, at 10:36 PM, Graham Cox wrote:

>
> I don't know the direct answer to your question, but there are alternative ways to get PDF data out of a view, as a I put together some code to do almost exactly that last week.
>
> Essentially you create a PDF graphics context and draw into that. -isDrawingToScreen should still return NO but AFAICT no print operation comes into play.
>
> ...
>
_______________________________________________

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: 
 >dataWithPDFInsideRect and NSPrintOperation (From: Gideon King <email@hidden>)
 >Re: dataWithPDFInsideRect and NSPrintOperation (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Double binding not possible?
  • Next by Date: Re: NSControl objects on a custom view
  • Previous by thread: Re: dataWithPDFInsideRect and NSPrintOperation
  • Next by thread: Design Option: Exception handling vs Code Testing....
  • Index(es):
    • Date
    • Thread