Citizen Model CMP-10 Command Reference Manual page 61

Citizen systems mobile line thermal printer user manual
Hide thumbs Also See for Model CMP-10:
Table of Contents

Advertisement

When sending print data, note these points:
(1) Each string of bar code data must begin with a code set select character (CODE A,
(2) Every special character is specified by a combination of two characters: a brace
SPECIAL CHARACTERS:
<Example>
To print "No." in code set B, followed by "123456" in code set C, send the following
data string:
GS k <73><10><7Bh 42h> "No." <7Bh 43h><12><34><56>
• If the printer finds a string of bar code data that does not begin with a code set
• If the printer received a character that is not available in the currently selected code
• An HRI character corresponding to either a Shift character or a code select character
[Sample Program]
PRINT #1, CHR$(&H1D) + "H" + CHR$(2);
PRINT #1, CHR$(&H1D) + "k";
PRINT #1, CHR$(4);
PRINT #1, "123" + CHR$(0);
END
[Print Results]
When the data "123" is printed with the code 39
CODE B, or CODE C), which selects the first code set to use.
"{" followed by one character. A brace "{" itself is sent twice consecutively.
Hex.
ASCII
7B53
{ S
7B41
{ A
7B42
{ B
7B43
{ C
7B31
{ 1
7B32
{ 2
7B33
{ 3
7B34
{ 4
7B7B
{ {
select character, it immediately aborts the command processing and handles the
subsequent data as normal data.
set, it immediately aborts the command processing and handles the subsequent
data as normal data.
is not printed. An HRI character for either a function character or a control character
is treated as a space character.
Code set A
SHIFT
–N/A
CODE B
CODE C
FNC1
FNC2
FNC3
FNC4
"{"
— 59 —
Code set B
Code set C
SHIFT
–N/A
CODE A
CODE A
–N/A
CODE B
CODE C
–N/A
FNC1
FNC1
FNC2
–N/A
FNC3
–N/A
FNC4
–N/A
"{"
"{"

Advertisement

Table of Contents
loading

Table of Contents