Menu control, Menu, Control – CognitiveTPG DLXi User Manual

Page 161: Command

Advertising
background image

M E N U C O M M A N D S

MENU CONTROL

Function

Specifies the characters used to exit, "scroll," or select an

item from a menu. In most applications, these characters
are chosen by pressing the four keys on the external

keyboard that correspond to keyboard functions "cancel,"
next," "previous," and "select."

Explicit
Form

MENU CONTROL cn nx pr se

Implicit
Form

MU CONTROL cn nx pr se

Parameters

cn

The decimal ASCII value of the character
used to cancel the current action. The

default value for cn is 27 (the ESC key).

nx

The decimal ASCII value of the character
used to scroll to the next menu item. The

default value for nx is 78 (the N key).

pr

The decimal ASCII value of the character

used to scroll to the previous menu item.
The default value for pr is 80 (the P key).

se

The decimal ASCII value of the character

used to select the current menu item. The
default value for se is 13 (the ENTER key).

Comments

Menu items will only appear on the display if you specify
a prompt string in the MENU ITEM command.

The printer stores the control characters specified by the
MENU CONTROL

command in a menu called _MENUC_.

See also

MENU ITEM

Example

The following command tells the printer to use the "q",
period, comma, and "a" keys for the cancel, next,

previous, and select functions:

MENU CONTROL 113 46 44 97

152

Revision F, January 2012, CognitiveTPG

Advertising
This manual is related to the following products: