beautypg.com

Gs f n – Citizen Systems CBM-270 User Manual

Page 75

background image

CBM-270 User’s Manual

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 visible code refers to the bar code-turned characters so that you can read them.

[Caution]

The visible code is 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 "123" ; CHR$ (0) ;

LPRINT CHR$ (&HA) ;

RETURN

[Print Results]

FONT B

FONT A