Re: Printing with exotic margins (a basic example)
Re: Printing with exotic margins (a basic example)
- Subject: Re: Printing with exotic margins (a basic example)
- From: Brian Stern <email@hidden>
- Date: Sun, 13 May 2007 23:51:07 -0400
On May 10, 2007, at 3:28 AM, Ewan Delanoy wrote:
the (rather simple) code below produces a blank page instead of the
expected yellow rectangle. Is it a bug or have I done something
wrong ?
(the point of this example is to test printing with exotic margins)
You don't show in your code where yellowView comes from. In my
printing code I alloc/init the NSView subclass that is passed to
printOperationWithView and then release it at the end of the
printShowingPrintPanel method.
Is yellowView already added to another window? If so that probably
won't work.
--
Brian Stern
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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