3 outline of command system, 3 outline of command system -11 – CITIZEN CLP-2001 User Manual

Page 63

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

Advertising
background image

6.3

Outline of Command System

For details ^out command system, see the Command Reference

separately available.

Commands for this printer consist of a string of ASCII codes and end
with "CR" (decimal: 13, hex: OD). Commands are generally classified
into two types, system-level commands and label format commands.

System-level commands are used for system-level operations such as
printer status output, sensor selection and memory card maintenance.
On the other hand, label format commands are used for.definition of

printing.contents such as character data, bar code data, printing speed,
and print density.

System-level commands start with ASCII "SOH" or "STX."
Commands which start with "SOH" are required for real-time execution.

When received, they are executed immediately even during printing.
Commands which start with "STX" enter the buffer area once and then are
executed in the order of data reception.

L^el format commands end with "CR", following the system-level
commands "STX"

+

"L."

System-level commands

Commands to start with "SOH"

start with "SOH" or "STX"

Executed immediately after receiving data

(e.g. printing stop, printer status output etc.)

Commands to start with "STX"

Executed in sequence after inputting into the

receive buffer

(e.g. sensor switching, memory card maintenance

etc.)

"STX" -h "L"

i

t "E" (with printing)

"X" (without printing)

Labe! format commands

end with "CR"

Print parameter control

Character data definition commands

Bar code definition commands

Graphic commands

Other commands

6-11

Advertising