- 76 -
When sending print data, note these points:
(1) Each string of bar code data must begin with a code set select character (CODE A,
CODE B, or CODE C), which selects the first code set to use.
(2) Every special character is specified by a combination of two characters: a brace “{”
followed by one character. A brace “{” itself is sent twice consecutively.
Special
characters
Hex. ASCII
Code Set A
Code Set B
Code Set C
7B53 {
S SHIFT
SHIFT
–N/A
7B41
{ A
–N/A
CODE A
CODE A
7B42
{ B
CODE B
–N/A
CODE B
7B43
{ C
CODE C
CODE C
–N/A
7B31 {
1 FNC1 FNC1 FNC1
7B32 {
2 FNC2
FNC2
–N/A
7B33 {
3 FNC3
FNC3
–N/A
7B34 {
4 FNC4
FNC4
–N/A
7B7B
{ {
‘ { ‘
‘ { ‘
‘ { ‘
<Example>
To print “No.” in code set B, followed by “123456” in code set C, send the following
data string:
GS k <73> <10> <7B>H <42>H, “No.” <7B>H <43>H <12> <34> <56>
• If the printer finds a string of bar code data that does not begin with a code set select
character, it immediately aborts the command processing and handles the
subsequent data as normal data.
• If the printer received a character that is not available in the currently selected code
set, it immediately aborts the command processing and handles the subsequent
data as normal data.
• An HRI character corresponding to either a Shift character or a code select character
is not printed. An HRI character for either a function character or a control character
is treated as a space character.
[Sample Program]
LPRINT
CHR$(&H1D);"H";
CHR$(2);
LPRINT
CHR$(&H1D);"k";
LPRINT
CHR$(4);
LPRINT
"123";
CHR$(0);
[Print Results]
When the data “123” is printed with the code 39
* 1 2 3 *
Содержание BD2-2220
Страница 1: ...Command Reference LINE THERMAL PRINTER MODEL BD2 2220 Rev 0 00 Issued on 2006 8 4...
Страница 2: ...REVISION Rev No Date Comment 0 00 2006 08 04 Newly issued...
Страница 71: ...69 Print Results No HRI characters Printed above Printed below Printed above and below 1 2 1 2 1 2 1 2...
Страница 126: ...124 3 1 10 Codepage 00H to 7FH PC864 Arabic...
Страница 128: ...126 3 1 12 Codepage 00H to 7FH Thai Code 18...