formatForPrinting Again!
J. Landman Gay
jacque at hyperactivesw.com
Wed Feb 1 00:01:37 EST 2006
Timothy Due wrote:
> Hi Chipp,
>
> Thanks for your suggestion. Unfortunately still no luck. With
> formatForPrinting on the text still wraps earlier than it does on
> screen, causing words at the bottom of the field to fall off the page.
> Similarly, with formatForPrinting off, although vertically all the lines
> fit, I'm still getting words cut off at the end of lines on the print out.
>
> Any other ideas, anyone?
Windows printing fonts are usually wider than their on-screen fonts,
which is why the wrap is changing. Try setting the right margin of the
field to 0 when formatForPrinting is true and see if that stops the
extra wrapping. You may also need to set the printMargins so that the
right margin is smaller; for example, set printMargins to "72,72,30,72".
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list