Command File Interpreter White Paper
7
Appendix A – Command File Commands
LABELNAME
This command selects the name of the label to be printed and it should be located in the first line of a
command file. The command can appear several times in the same command file, to print different
labels. If the same label is to be printed again in a command file, you do not need to repeat this
command every time: the last label printed will be processed again with the new data.
For example:
LABELNAME = "label_file_name.lab"
LABELNAME = "c:\labels\sears.lab"
FIELD_NAME
There should be an assignment line in the command file for each variable field in a label (form field).
The name of the field should be identical to that used in the command file. Spell the label field name
correctly and enter the the value for the variable data after the equals sign in quotes.
If a label field is left empty in a command file containing several labels, the value for this field will be
replaced by the last value used in the command file. To leave a field empty, enter a void character
(empty quotes "") in the string. For example: FIELD = ""
For example:
FIELD_NAME = "field_value"
PART_NUM = "836773"
PRINTER (
optional command)
This command specifies the printer to be used. If this command is not included, the default printer will
be used.
For example :
PRINTER = "Printer_name,Port_name:"
(The syntax should be the same as that used in the Print Manager (please check if letters are in upper
or lower case))
PRINTER = "Datamax DMX 430,COM2:"