Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Printer Fonts Selected by Dynamics


TechKnowledge Content

Issue

Howto tell which fonta report is printed in?


Resolution

Add the following setting to the Dex.ini file: DebugFonts=TRUE. The Dex.ini is found on each workstation.


It will create a file called DEBUGLOG.TXT in the folder where the Dynamics dictionary is located once you print a report.


The following is an entry in the DEBUGLOG.TXT file for Dynamics, printing an 81-character 10 CPI report. Each entry will be determined by the type and size of report printed.


Printer Info- Printer Driver: IBM59031

Printer Name : Okidata ML590/1 IBM

Printer Port : LPT1:

Driver Version: 780

Printer Res : 180 ---

Date: 04/10/1999

Time: 16:45:20

DevWidth: 1440 L

ogPixelsX: 180

XAspect: 180

Found Better Face: Courier 10cpi

devWidth: 1440

numChars: 80

Penalty: 0

Height: 25

lfWidth: 18

tmWidth: 18

Weight: 400

Italic: 0

Found Better Neg Face: Courier 6cpi

devWidth: 1440

numChars: 80

Penalty: -960

Height: 25

lfWidth: 30

tmWidth: 30

Weight: 400

Italic: 0 Found

Better Neg Face: Courier 7.5cpi

devWidth: 1440

numChars: 80

Penalty: -480

Height: 25

lfWidth: 24

tmWidth: 24

Weight: 400

Italic: 0

Found Better Neg Face: Courier 8.5cpi

devWidth: 1440

numChars: 80

Penalty: -240

Height: 25

lfWidth: 21

tmWidth: 21

Weight: 400

Italic: 0

pick_best_font:

Candidate Font:Courier 10cpi

Accepting Device Font - Error:0, Tol:0

The Font Selected Is: Courier 10cpi

devWidth: 1440

numChars: 81

Penalty: 0

Height: 25

lfWidth: 18

tmWidth: 18

Weight: 400

Italic: 0


The font the report printed with is Courier 10 CPI. This log file is mainly used for debugging purposes, but you also can use it to determine a report's font. Remove the defaults file setting after printing the report; otherwise, each time something is printed in Dynamics another entry will be added to the log file.

This article was TechKnowledge Document ID:5016

↑ Back to the top


Keywords: kbnosurvey, kbmbspartner, kbmbsmigrate, kb

↑ Back to the top

Article Info
Article ID : 870341
Revision : 1
Created on : 3/13/2017
Published on : 1/3/2015
Exists online : False
Views : 100