GS f n

[Function]

Selecting the font of HRI characters

[Code]

<1D>H<66>H<n>

[Range]

{n = 0, 1(Hex)}

[Outline]

Selecting the font of HRI characters in printing bar code.

 

The type of font can be selected with “n” as follows:

 

 

 

 

n (Hex)

Font

 

0

Font A (12 24)

 

1

Font B (9 16)

 

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 #1, CHR$(&H1D) + “h” + CHR$(50);

PRINT #1, CHR$(&H1D) + “H” + CHR$(2);

PRINT #1, CHR$(&H1D) + “f” + CHR$(0);

GOSUB BC

PRINT #1, CHR$(&H1D) + “f” + CHR$(1);

GOSUB BC

END

BC:

PRINT #1, CHR$(&H1D) + “k”;

PRINT #1, CHR$(4);

PRINT #1, “12” + CHR$(0);

PRINT #1, CHR$(&HA);

RETURN

[Print Results]

← Font A

← Font B

— 54 —

Page 56
Image 56
Citizen CMP-10 manual GS f n, Hex Font