GS w nL nH

[Function]

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

[Code]

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

[Range]

{2 =< n =< 4(Hex)}

[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]

 

 

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

 

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

 

GOSUB BC

 

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

 

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

 

GOSUB BC

 

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

 

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

 

GOSUB BC

 

END

 

BC:

 

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

 

PRINT #1, CHR$ (4);

 

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

 

RETURN

[Print Results]

 

 

← Height = 30, Magnification = 2

 

← Height = 50, Magnification = 3

 

← Height = 80, Magnification = 4

— 61 —

Page 63
Image 63
Citizen CMP-10 manual GS w nL nH, Function