Citizen PPU-231II Command Reference Manual page 65

Citizen line thermal printer command reference manual
Table of Contents

Advertisement

GS H n
[Function]
[Code]
[Range]
[Outline]
[Caution]
[Default]
[See Also]
[Sample Program]
Selecting of printing position of HRI characters
<1D>H<48>H<n>
0
n
3
48
n
51
Selecting printing position of HRI characters in printing
bar codes.
• "n" means the followings.
n
0,48
1,49
2,50
3,51
• The HRI characters refer to the bar code-turned characters so
that you can read them.
• The HRI characters are printed in the font selected with GS f.
• Specify before the GS k command.
n = 0
GS f, GS k
LPRINT CHR$(&H1B) + "3" + CHR$(5);
LPRINT CHR$(&H1D) + "h" + CHR$(50);
LPRINT CHR$(&H1D) + "H" + CHR$(0);
GOSUB BC
LPRINT CHR$(&H1D) + "H" + CHR$(1);
GOSUB BC
LPRINT CHR$(&H1D) + "H" + CHR$(2);
GOSUB BC
LPRINT CHR$(&H1D) + "H" + CHR$(3);
GOSUB BC
END
BC:
LPRINT CHR$(&H1D) + "k";
LPRINT CHR$(4);
LPRINT "12" + CHR$(0);
LPRINT CHR$(&HA);
RETURN
— 63 —
Printing Position
No printing
Above the bar code
Below the bar code
Both above and below the bar code

Advertisement

Table of Contents
loading

Table of Contents