Message commands, Message commands -13 – Symbol Technologies MK1000 User Manual

Page 115

Advertising
background image

5-13

PCK Emulation

Message Commands

A message is composed of display commands and text to be displayed. Commands are
executed in the same manner as host commands. The MK1000 has four default messages
(see

Table 5-4 on page 5-10

) that can be replaced using the Resource Manager to create

messages with the same ID numbers.

The following commands display user-defined messages, and send messages to store in
RAM.

Table 5-7. Message Commands

Message

Syntax

Description

Display Stored
Messages

ESC[PiJ

Message number Pi is displayed after the
current packet, and pending packets are
processed. Messages stored in RAM
override any messages from Resource
files with the same ID. Messages in RAM
or from Resource files override default
messages. Be sure messages do not call
each other recursively. A message called
from another is not displayed until the first
message is done. Approximately 10
messages waiting to be displayed can be
stored. Commands from the host are also
stored.

Store Message

ESC[PiK <Message Text>

The MK1000 stores everything in the
packet following this command as a
message with ID number Pi. This
message can be displayed using the
Display Stored Message command
above. Up to 50 messages of up to 20
characters each may be stored. The
message may contain any text or
commands the MK1000 supports,
including commands to display bitmaps,
change fonts, etc.

Flush Stored Messages ESC[I

This command deletes all messages
stored in RAM.

Advertising