Citizen CT-S300 Printer User Manual


 
— 68 —
GS f n
[Function] Selecting the font of HRI characters
[Code] <1D>H<66>H<n>
[Range] n = 0, 1
[Outline] Selecting the font of HRI characters in printing bar code.
The type of font can be selected with “n” as follows:
The HRI characters refer to the bar code-turned characters so that you can read them.
[Caution] The HRI characters are printed at the position specified with GS H.
[Default] n = 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 “12”;+CHR$(0);
LPRINT CHR$(&HA);
RETURN
[Print Results]
n Font
0, 48 Font A (12 × 24)
1, 49 Font B (9 × 24)
2, 50 Font C (8 × 16)
← FONT A
← FONT B