Gs w n, Gs h n – Citizen Systems CBM-270 User Manual

Page 73

Advertising
background image

CBM-270 User’s Manual

GS w n

[Function]

Specifying the horizontal size(Scale factor) of bar code

[Code]

<1D> H <77> H <n>

[Range]

2

n

4

[Outline]

Selecting bar code width.

n denotes the number of dots in fine element width.

[Default]

n = 3

[Sample Program]

LPRINT CHR$ (&H1D) ; "h" ; CHR$ (50) ;

LPRINT CHR$ (&H1D) ; "w" ; CHR$ (2) ;

GOSUB *BC

LPRINT CHR$ (&H1D) ; "h" ; CHR$ (80) ;

LPRINT CHR$ (&H1D) ; "w" ; CHR$ (3) ;

GOSUB *BC

LPRINT CHR$ (&H1D) ; "h" ; CHR$ (120) ;

LPRINT CHR$ (&H1D) ; "w" ; CHR$ (4) ;

GOSUB *BC

END

*BC :

LPRINT CHR$ (&H1D) ; "k" ;

LPRINT CHR$ (4) ;

LPRINT "12" ; CHR$ (0) ;

RETURN

[Print Results]

GS h n

[Function]

Specifying the height of the bar code

[Code]

<1D> H <68> H <n>

[Range]

1

n

255

[Outline]

Selecting bar code height.

n denotes the number of dots in the vertical direction.

[Default]

n = 162

[See also] GS k, GS w

[Sample Program]

[Print Results]

See Sample Program and Print Results for GS w as above.

Height 50,
Magnification 2

Height 80,
Magnification 3

Height 120,
Magnification 4

Advertising