Contents / CHAPTER 5 / APPENDIX A /
The WT User message file is a text file containing the text of the messages displayed by WTnVt. The name of this file may be "_MsgVtXX.Cfg".
The WT user message file is a "Windows dot-ini-Like" text file, with sections, keys and values.
Message file includes :
Lines in configuration file must be : Printer Header, Comments, Sections, Keys+Values or empty lines.
This file may be loaded into the NVM with the configuration file (CfgVt.zip).
This file may be dynamically loaded into PDT by RsLink or WTDNL or by pseudo "print" system.
The "Printer Header" is needed only if the message file is downloaded through the print feature, this header indicates that there is not a label to print, but a configuration file to store in PDT memory.
Printer header MUST be in the first characters of the first line of the file, following the format :
%%FILE=<filename>%%
For this file, the header is %%FILE=_MsgVtXX.cfg%%
Where "XX" is a language code.
Comments in WT configuration file are indicated by two "slash"
characters and takes effect to the end of the line. i.e. :
// This is a comment
This is not a comment (must be a section, a key + value or an empty line)
Section groups the text strings. Section names are in capital
letters surrounded by brackets. i.e. : [CONFIG], denotes the user configuration
screen.
The order of the sections into the file is no relevant.
Keys are two digit numbers that are used to order the texts into their own section. The order of those keys must not be modified. You should not add or suppress keys in a section. Keys must be followed by "=" sign and the text string.
The values are the text strings displayed by WTnVt. The position of the lines into the display is not modifiable. The strings should not be longer than the PDT display size.
Contents / APPENDIX A /