• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WebView pagination for printing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: WebView pagination for printing
      • From: Gideon King <email@hidden>
  • Prev by Date: Re: case-insensitive but case-ordered sort
  • Next by Date: Re: Can't get "pmset" to work
  • Previous by thread: WebView pagination for printing
  • Next by thread: Re: WebView pagination for printing
  • Index(es):
    • Date
    • Thread