Re: dataWithPDFInsideRect and NSPrintOperation

2010-06-11 Thread Gideon King
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: >

Re: dataWithPDFInsideRect and NSPrintOperation

2010-06-11 Thread Graham Cox
On 11/06/2010, at 3:06 AM, Gideon King wrote: > Hi, I have an offscreen view that I want to get the PDF data from. I use the > dataWithPDFInsideRect method, but I have found that this creates an > NSPrintOperation. This is a problem because I want to print using different > settings for this v

dataWithPDFInsideRect and NSPrintOperation

2010-06-10 Thread Gideon King
Hi, I have an offscreen view that I want to get the PDF data from. I use the dataWithPDFInsideRect method, but I have found that this creates an NSPrintOperation. This is a problem because I want to print using different settings for this view only when a *real* print operation is happening. I