Citizen CBM-272 User Manual page 98

Line thermal printer
Hide thumbs Also See for CBM-272:
Table of Contents

Advertisement

GS k n [ d ] k NUL
[Function]
[Code]
[Range]
[Outline]
[Caution]
[Default]
[See Also]
[Sample Program]
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
Bar Code System
0
1
2
3
4
5
6
CODABAR (NW-7)
7
* "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) ;
— 79 —
UPC-A
UPC-E
JAN13 (EAN)
JAN 8 (EAN)
CODE 39
ITF
CODE 128
Maximum Columns
11
22
17
16

Advertisement

Table of Contents
loading

Table of Contents