CBM America iDP3240 Printer User Manual


 
— 117 —
GS f n
[Function] Selecting the font of HRI characters
[Code] <1D>H<66>H<n>
[Range] n = 0, 1, 48, 49
[Outline] Selecting the font of HRI characters in printing bar code.
The type of font can be selected with “n” as follows:
n Font
0, 48 Font A (12 × 24)
1, 49 Font B (9 × 24)
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]
[Print Results]
← FONT A
← FONT B
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