CognitiveTPG DLXi User Manual
Page 165
![background image](/manuals/334304/165/background.png)
M E N U C O M M A N D S
Comments
MENU ITEM
commands are only allowed between
MENU START
and MENU END commands (that is,
only within menus). Up to ten menu items are
allowed in each menu. The printer assigns a
number to every menu item, with item 1 being the
first item in the menu, item 2 the second item, etc.
The tenth item is item 0.
One or more MENU ACTION commands must follow
every MENU ITEM command. MENU ACTION
commands program the printer to perform specific
actions when the user chooses the menu item. The
printer will process the MENU ACTIONs that follow
the selected MENU ITEM up to the next MENU ITEM.
The printer will then wait for further user input.
See also
Example
The following commands define a simple menu
called PRT_LBL to select and print one of two stored
label formats:
! 0 0 0 0
MENU START 3 PRT_LBL
MENU ITEM "print return address label"
MENU ACTION "!R F RTNLBL 0 100 570 1\n"
MENU ITEM "print shipping label"
MENU ACTION "!R F SHPLBL 0 100 570 1\n"
MENU END
END
156
Revision F, January 2012, CognitiveTPG