Error getting tags :
error 404Error getting tags :
error 404 formatForPrinting | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
formatForPrinting
Basics
Expander triangle
Type
Property
Syntax
set the formatForPrinting of stack to {true | false}
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
Windows
Security
None required
Summary
Specifies whether font layout is done using printer fonts or screen fonts.
Examples

set the formatForPrinting of stack "Print Template" to true

Additional Comments
Expander triangle

Use the formatForPrinting property to improve printout appearance on Windows systems.

Value:

The formatForPrinting of a stack is true or false.

By default, the formatForPrinting property of newly created stacks is set to false.

Comments:

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.

Important! Do not edit field text in a stack whose formatForPrinting is true. Doing so can cause display anomalies. Set the formatForPrintingproperty to false before you make changes to text in fields.

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.

Important! Fontsinherited from another stack are not updated when you set the formatForPrinting of a stack. If the stack will be printed, make sure that either the stack'stextFontproperty is set to a font name (not set to empty), or all fields to be printed have their own font rather than inheriting it.

If the stack's formatForPrinting property is true, the setting of the windowBoundingRect property is ignored when the stack is opened or maximized.

User Comments
Expander triangle
User thumbnail
Peter Brigham
StarStarStarStarStar
Feb 17, 2010
"To let the user preview the appearance of the printed output, set the formatForPrinting property to true before opening the stack." This should read "to false" -- as pointed out in the previous sentence, setting the property to true will result in "a difficult-to-read display" on the screen.
User thumbnail
Peter Brigham
StarStarStarStarStar
Feb 17, 2010
When using "print card" to print a formatted page, if the stack has been made visible and its rect would result in it extending beyond the screenrect, the stack will be clipped to fit the screenrect unless the formatForPrinting property has been set to true. Since the screen display of the text will be distorted with the formatForPrinting = true, in this case one should set it to false for displaying the stack to check the format of what will be printed, and manually reset the rect of the stack after opening it. Then set the formatForPrinting to true just before printing. Failing to reset the stack rect will result in a partial page being printed.
If the stack will be loaded with text and kept invisible and then printed, the rect of the stack will not be changed, whatever the formatForPrinting is set to.