formatForPrinting | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | stack | ||||||
Summary | Specifies whether font layout is done using printer fonts or screen fonts. | ||||||
Introduced | 1.0 | ||||||
OS | windows | ||||||
Platforms | desktop, server | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: field Property: pageHeights, textFont, windowBoundingRect Command: answer printer Function: stacks Glossary: property, Windows, inheritance, font, maximize, anomaly Object: stack, field | ||||||
Description | Use the formatForPrinting property to improve printout appearance on Windows systems. Windows systems may use different font versions for printing and for screen display, and the spacing of the print version may differ from the spacing of the screen version. This can result in layouts and line breaks differing between the screen display and the printed result. For the best appearance of printed cards in a stack, make sure the stack is closed (and not in memory), then set the stack's formatForPrinting property to true before opening the stack to print it.
The spacing of printer font versions usually results in a difficult-to-read display when these fonts are used for screen viewing. To avoid display problems, set the formatForPrinting property to true only when printing. To let the user preview the appearance of the printed output, set the formatForPrinting property to true before opening the stack.
If the stack's formatForPrinting property is true, the setting of the windowBoundingRect property is ignored when the stack is opened or maximized. | ||||||
Tags | printing |