Skip navigation.
 
mlRe: Printing Core Data
FROM : Stefan
DATE : Wed Jul 26 23:20:44 2006

Am 26.07.2006 um 01:18 schrieb Chris Hanson:

> On Jul 25, 2006, at 3:07 PM, Stefan wrote:
>

>> Any hints? Some dummy 'hello worl' drawing NSView which really 
>> prints available?

>
> The Sketch example in /Developer/Examples/AppKit has some 
> demonstrates printing.


Unfortunately, not in there too.

But I found a solution. Instead of creating my NSView subclass in code,
I instanced it in a window and pass a reference using an outlet. Using
this technique, the view instantly started printing something.

Now, my next tast is sizing the NSView. While my NSView instance 
performs
sizing nicely based on IB's size setting, my printed NSView gets very 
small:
A drawn rectang

Related mailsAuthorDate
mlPrinting Core Data Stefan Jul 25, 19:33
mlRe: Printing Core Data I. Savant Jul 25, 19:43
mlRe: Printing Core Data Stefan Jul 25, 19:50
mlRe: Printing Core Data I. Savant Jul 25, 20:02
mlRe: Printing Core Data Stefan Jul 26, 00:07
mlRe: Printing Core Data Chris Hanson Jul 26, 01:18
mlRe: Printing Core Data Stefan Jul 26, 23:20