TechKnowledge Content

Question:How does Report Writer decide which font to use when Best Text Fit is marked in the Report Definition window?Answer:Windows and Windows NT clients select the font in the following way:1. Report Writer determines the size of the report in characters.2. The Dynamics engine communicates with the driver to find out which fonts are on the printer.3. The Dynamics engine compares each font to see how many characters it can fit on each line within the printable region and decides which one will fit best.Example 1:You marked Best Text Fit in the Report Definition window for a reportThe printer has the following fonts8.5 characters per inch (CPI) Roman10 CPI Roman12 CPI RomanYou would like to print an 80-character report within an 8-inch printable region8.5 CPI could fit 68 characters, an error of 12 characters10 CPI could fit 80 characters, an error of 012 CPI could fit 96 characters, with room for 16 more charactersThe font chosen would be 10 CPI RomanBest fit doesn't mean the closest font, but the best font that will allow all characters to be printed, without clipping.Example 2:You marked Best Text Fit in the Report Definition window for a reportThe printer has the following fonts8.5 characters per inch (CPI) Roman10 CPI Roman12 CPI RomanYou would like to print an 81-character report within an 8-inch printable region 8.5 CPI could fit 68 characters, an error of 13 characters10 CPI could fit 80 characters, an error of 1 character12 CPI could fit 96 characters, with room for 15 more characters The font chosen would be 12 CPI Roman, so there will be right hand margin of 1 1/2 inchesBest text fit reports will not always have text that extends from margin to margin, with each margin being equal in size.This article was TechKnowledge Document ID:1474

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.