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: "Ewan Delanoy" <email@hidden>
- Date: Tue, 15 May 2007 05:10:59 +0200 (CEST)
- Importance: Normal
>Changed pageRectForPageNumber: (not a part of Cocoa) to >rectForPage:
Indeed. I was confusing the Cocoa method with a method from the TextEdit
source code. I feel so ashamed now I know how silly my mistake was ! Thank
you for taking the time to check this.
>and it works as expected.
Not quite. In my code I set the left&right margins to 0,
and in the PDF output they are clearly not 0 (I expect
you get the same output). So my silly
mistake notwithstanding, there's still an NSPrintInfo
issue here.
Ewan
_______________________________________________
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