Gs f n – CITIZEN PPU-231 User Manual
Page 88

PPU-231 User’s Manual
75
CITIZEN
GS f n
[Function]
Selecting the font of HRI code
[Code]
<1D>H<66>H
[Range]
n = 0, 1
[Outline]
Selecting the font of HRI code in printing bar code.
The type of font can be printed by selecting n is as follows.
n Font
0 Font
A
1 Font
B
The HRI code refers to the bar code-turned characters so that you can read them.
[Caution]
The HRI code is printed at the position specified with GS h on page 73.
[Default]
The initial value of n is “0”.
[See Also]
GS H
[Sample Program]
LPRINT CHR$ (&H1D) + "h" + CHR$ (50) ;
LPRINT CHR$ (&H1D) + "H" + CHR$ (2) ;
LPRINT CHR$ (&H1D) + "f" + CHR$ (0) ;
GOSUB BC
LPRINT CHR$ (&H1D) + "f" + CHR$ (1) ;
GOSUB BC
END
BC :
LPRINT CHR$ (&H1D) + "k" ;
LPRINT CHR$ (4) ;
LPRINT "123" + CHR$ (0) ;
LPRINT CHR$ (&HA) ;
RETURN
[Print Results]