beautypg.com

Gs w n – CITIZEN PPU-231 User Manual

Page 85

background image

PPU-231 User’s Manual

72

CITIZEN

GS w n

[Function]

Selecting the horizontal size(Scale factor) of the Bar Code

[Code]

<1D>H <77>H

[Range]

{2

≤ n ≤ 4} Data is described in Hex code.

[Outline]

Selecting bar code width.

n denotes the number of dots in fine element width.

[Default]

•The initial value of this width is "3".

[Sample Program]

LPRINT CHR$ (&H1D) + "h" + CHR$ (30) ;

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

GOSUB BC

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

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

GOSUB BC

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

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

GOSUB BC

END

BC :

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

LPRINT CHR$ (4) ;

LPRINT "12" + CHR$ (0) ;

RETURN

[Print Results]