Re: Fake NSView dimensions for fake printing
Re: Fake NSView dimensions for fake printing
- Subject: Re: Fake NSView dimensions for fake printing
- From: Joshua Scott Emmons <email@hidden>
- Date: Tue, 28 Jun 2005 17:24:20 -0400
On Jun 28, 2005, at 1:59 PM, Scott Garner wrote:
On Jun 28, 2005, at 12:42, Joshua Scott Emmons wrote:
Why not just make your PDF using the Cocoa printing architecture
instead of -dataWithPDFInsideRect:?
Using dataWithPDFInsideRect to avoid pagination seemed like the
easiest approach unless there's some way to tell the printing
architecture to not vertically paginate.
Well, like I said. You can tell NSPrintInfo to paginate, to clip, or
to scale to fit. If its set to clip or scale, pagination has been
effectively disabled, because it's not breaking anything on to pages
anymore! Each of these behaviors can be assigned horizontally,
vertically, or both.
But whatever works best for you.
-Joshua Emmons
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden