Outline Of Command System - Citizen CLP-6401 User Manual

Citizen systems user's manual printer clp-6401
Hide thumbs Also See for CLP-6401:
Table of Contents

Advertisement

6.3 Outline of Command System

For details about command system, see the Command Reference manual available
separately.
Commands for this printer consist of a string of ASCII code and end with "CR"
(decimal: 13, hex: 0D). Generally, commands are 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, print speed, and print density.
System-level commands start with ASCII "SOH" ($01) or "STX" ($02).
Commands which start with "SOH" are required for realtime 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.
Label format commands end with "CR", following the system-level
commands' "STX" + "L."
System-level commands
start with ASCII "SOH" ($01) or
"STX" ($02).
"STX" + "L"
Label format commands
end with "CR"
Commands that start with "SOH":
Executed immediately after receiving data
(e.g. stop of printing, output of printer status, etc.)
Commands that start with "STX":
Executed in the order of data input to the receive
buffer
(e.g. switching of sensor, memory card
maintenance, etc.)
¯
­
"X" (without print)
Print parameter control
Character data definition commands
Bar code definition commands
Graphic commands
Other commands
6-13
"E" (with print)

Advertisement

Table of Contents
loading

Table of Contents