— 79 —
GS k n [ d ] k NUL
[Function]
[Code]
Printing the bar code
<1D> H <6B> H <n> [ <d> ] k <00> H
* <d> = character code
0
≤
n
≤
7
Specifying a type of bar code and printing bar codes.
• The beginning of line is considered as the next printing
start position.
• Depending on the value of n, the following bar code can be
selected.
d indicates a character code to be printed and k indicates
the number of character to be printed.
n
0
1
2
3
4
5
6
7
Bar Code System
UPC-A
UPC-E
JAN13 (EAN)
JAN 8 (EAN)
CODE 39
ITF
CODABAR (NW-7)
CODE 128
* “Maximum Columns” is the maximum number for this
printer.
• When data being held in the print buffer, this command is
ignored.
• Regardless of the specified feed pitch, this command feeds
the paper to be required to print a bar code.
• If the character code d cannot be printed in the respective
bar code system, the bar code so far will be printed,
processing the subsequent data as normal data.
• When a bar code whose number of characters to be printed
is fixed has been selected, the number of characters k have
to be always made equal to the number of characters to be
printed. (The bar code is not printed when not matching.)
• When the horizontal direction exceeds one line length, the
excess part is not printed.
The initial value is not specified.
GS w, GS h
LPRINT CHR$ (&H1D) ; "H" ; CHR$ (2) ;
LPRINT CHR$ (&H1D) ; "k" ;
LPRINT CHR$ (4) ;
LPRINT "123" ; CHR$ (0) ;
Maximum Columns
—
—
—
—
11
22
17
16
[Range]
[Outline]
[Caution]
[Default]
[See Also]
[Sample Program]
Summary of Contents for CBM-272
Page 1: ...1 CBM 272...
Page 105: ...86 No Visible code Print Results Printed below Printed above And below Printed above...
Page 114: ...95 11 CHARACTER CODES TABLE 11 1 International...
Page 115: ...96 11 2 Code Page Katakana Japanese...
Page 116: ...97 11 3 International Character Codes Table...
Page 118: ...99 APPENDIX 2 OUTLINE DRAWING 106 183 126...
Page 120: ...101 GERMAN...