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 Ñ