beautypg.com

Citizen Systems CBM-253 User Manual

Page 97

background image

CBM-253 User’s Manual

85

CITIZEN

[Function]

Selects the font for the visual code when printing the bar c ode.

The fonts that can be selected according to the n value are shown in the table below.

n Font
0

Font 1

1

Font 2

The visual code is the showing of the bar code in characters so that the bar code can be

read visually.

[Items requiring caution]

The visual code will be printed at the position specified using GS H.

[Initial value]

n = 0

[Reference] GS

H

[Program example]

[Printing result]

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