Problema
Howto tell which fonta report is printed in?
Soluzione
Aggiungere l'impostazione seguente al file Dex.ini: DebugFonts=TRUE. Il Dex.ini si trova in ogni workstation.
Verrà creato un file denominato DEBUGLOG.TXT nella cartella in cui si trova il dizionario Dynamics dopo la stampa di un report.
Di seguito è riportata una voce nel file DEBUGLOG.TXT per Dynamics, che stampa un report CPI di 81 caratteri di 10 caratteri. Ogni voce sarà determinata dal tipo e dalle dimensioni del report stampato.
Informazioni stampante- Driver della stampante: IBM59031 Nome stampante
: Okidata ML590/1 Porta stampante IBM
: LPT1:
Versione driver: 780 Printer
Res : 180 ---
Data: 10/04/1999
Ora: 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: 18 Weight: 400 Italic: 0 Found Better Neg Face: Courier 6cpi devWidth: 18 Weight: 400 Italic: 0 Found Better Neg Face: Courier 6cpi devWidth: 18 weight: 400 Italic: 0 Found Better Neg Face: Courier 6cpi devWidth: 18 weight: 400 Italic: 0 Found Better Neg Face: Courier 6cpi devWidth: 18 weight: 400 Italic: 0 Found Better Neg Face: Courier 6cpi devWidth: 18 tmWidth: 18 Weight: 400 Italic: 0 Found Better
Neg Face: Courier 6cpi devWidth: 18 tmWidth
1440
numChars: 80 Penalità:
-960
Altezza: 25
lfWidth: 30
tmWidth: 30
Weight: 400
Italic: 0 Found Better
Neg Face: Courier 7.5cpi
devWidth: 1440
numChars: 80
Penale: -480
Height: 25
lfWidth: 24
tmWidth: 24
Weight: 400
Italic: 0 Found Better
Neg Face: Courier 8.5cpi
devWidth: 1440
numChars: 80
Penalità: -240
Height:
25 lfWidth: 21
tmWidth: 21
Weight: 400
Italic: 0
pick_best_font :
Tipo di carattere candidato:Corriere 10cpi
Accepting Device Font - Error:0, Tol:0
Il tipo di carattere selezionato è: Courier 10cpi
devWidth: 1440
numChars: 81
Penalità: 0
Height: 25
lfWidth: 18
tmWidth: 18
Weight: 400 Italic:
0
Il tipo di carattere con cui viene stampato il report è Courier 10 CPI. Questo file di log viene usato principalmente a scopo di debug, ma è anche possibile usarlo per determinare il tipo di carattere di un report. Rimuovere l'impostazione predefinita del file dopo la stampa del report. in caso contrario, ogni volta che un elemento viene stampato in Dynamics, al file di log verrà aggiunta un'altra voce.
Questo articolo è stato ID documento TechKnowledge:5016