beautypg.com

Gs w nl nh – Citizen Systems Model CMP-10 User Manual

Page 63

background image

— 61 —

← Height = 80, Magnification = 4

← Height = 30, Magnification = 2

← Height = 50, Magnification = 3

GS w nL nH

[Function]

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

[Code]

<1D>H<77>H

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