Re: WebView pagination for printing
Re: WebView pagination for printing
- Subject: Re: WebView pagination for printing
- From: Matt Neuburg <email@hidden>
- Date: Tue, 20 Jul 2010 12:46:29 -0700
- Thread-topic: WebView pagination for printing
On Wed, 21 Jul 2010 02:19:44 +1000, Gideon King <email@hidden> said:
>Briefly, my needs are as follows:
>- print headers and footers on the page
>- print the content at the top of the content area even if it's shorter than
the page
>- ensure pagination doesn't split table rows
>
>I am quite familiar with the knowsPageRange, rectForPage, etc, so if I can get
access to that machinery, I should be all set.
Then I'd suggest that you just write a view of your own that draws the way
you want, and print that view. Using a Web view to print is a quick
solution, but you can't beat real printing if what you want is control over
what's printed. The machinery with which you are familiar gives you that
control. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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