Tolerance

Examples


This setting specifies the amount of variation allowed between the character pitch (horizontal spacing) specified for a text report, and the pitch of the printer font Dexterity uses to print the report.

It also can be used to force Dexterity to use a scaleable system font instead of one of the printer’s built-in fonts.

Syntax

Tolerance=percentage

Parameters

percentage - An integer that specifies the amount of variation that will be allowed between the character pitch specified for a text report, and the pitch of the built-in printer font that will be chosen to print the report. The number is specified in tenths of a percent. For example, 100 allows a 10 percent variation. If set to -1, Dexterity will never use a printer font, but will instead substitute a scaleable Windows TrueType font.

Dexterity uses a default value of 25 when the printer's resolution is 300 dpi (dots per inch) and above, and 50 when the printer's resolution is less than 300 dpi. The value you specify will be used for all printer types, regardless of their resolution.

Comments

When Dexterity prints a text report, it checks the fonts native to the printer or its driver, and chooses a font with a pitch that most closely matches the Text Report Option specified in the Report Definition window (10 characters per inch, 17 characters per inch or Best Text Fit). If a built-in printer font isn't available with a pitch that meets the specification or falls within the variation allowed by this setting, Dexterity will use a scaleable Windows TrueType font instead.

Dexterity prints text reports significantly slower when it is forced to use a TrueType font instead of a built-in printer font. In such cases, specifying a larger tolerance setting could allow a built-in printer font to be used, which would improve performance.

Increasing the tolerance could change report margins. After making such a change, you should test all reports to make sure that they are printed properly.


You can force Dexterity to use Windows TrueType fonts for all text reports by specifying a tolerance setting of -1. This may be necessary if you are developing an application for a locale that uses characters not available in the printer's built-in font set.


Documentation Feedback