Thanks,
However "fontIncrment" had no effect on printing (nor anything else in the TL program. I tried values of 6, 4, 2, 0, -2, -4 and -6 and found no changes in appearance. You might let your software team know that "fontIncrement" has not be implemented.
I found that I could change the font used by the TL program by modifying some of the other lines in the en_language.txt file:
sanSerifFontName SansSerif
monospacedFontName Monospaced
dialogFontName Dialog
menuFontName Dialog
functionmenuFontName Monospaced
menuItemFontName monospaced
labelFontName Arial
labelNarrowFontName Arial Narrow
commentFontName Arial
It would be nice to be able to use a mono spaced font such as Courier New for comments in the ladder logic and for custom functions. I am an old C++ programmer and try to make my code marginally readable. It is nearly imposible to format code using ASCII " " (space, 0x20) when working with non-monospaced fonts.
Example code:
IF (E > 0)
ClrIO Heat ' Tank is above set point so no heat needed
IF (E > 9)
SetIO Cool ' Turn on coolers at .1 above set point
IF (E > 300)
SetIO TooHotErr ' Tank is way too hot
ENDIF
ENDIF
ELSE
ClrIO Cool ' Tank is at or below set point no cooling needed
IF (E < -9)
SetIO Heat ' Turn on heaters at .1 below set point
IF (E < -300)
SetIO TooColdErr ' Tank is way too cold
ENDIF
ENDIF
ENDIF