User`s manual
1 DATECS EP-50
68 69
User’s Manual
54. GS H n
Selecting of Printing Position of HRI Code
[Code] [1Dh] + [48h] + n
[Range] {0 <= n <= 3}
[Outline] Selecting printing position of HRI code in printing barcodes.
• “n” means the followings.
0No printing
1Above the barcode
2Below the barcode
3Both above and below the barcode
The HRI code refers to the barcode-turned characters so that you can
read them.
[Caution] The HRI code is printed in the font selected with GS f. Specify before
the GS k command.
[Defult]
• The initial value of n is “0”.
[See Also] GS f
[Sample Program]
LPRINT CHR$ (&H1B) + “3” + CHR$ (5);
LPRINT CHR$ (&H1D) + “h” + CHR$ (50);
LPRINT CHR$ (&H1D) + “H” + CHR$ (0);
GOSUB BC
LPRINT CHR$ (&H1D) + “H” + CHR$ (1);
GOSUB BC
LPRINT CHR$ (&H1D) + “H” + CHR$ (2);
GOSUB BC
LPRINT CHR$ (&H1D) + “H” + CHR$ (3);
GOSUB BC
END
BC:
LPRINT CHR$ (&H1D) + “k”;
LPRINT CHR$ (4);
LPRINT “12” + CHR$ (0);
LPRINT CHR$ (&HA);
RETURN
Height 30, Magnification 2
Height 50, Magnifikacion 3
52. GS w n
Selecting the horizontal size (Scale factor) of the bar code
[Code] [1Dh] + [77h] + n
[Range] {2 <= n <= 4}
[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
END
BC:
LPRINT CHR$ (&H1D) + “k”;
LPRINT CHR$ (4);
LPRINT “12” + CHR$ (0);
RETURN
[Print Results]
53. GS h n
Selecting the height of the Barcode
[Code] [1Dh] + [68h] + n
[Range] {1 <= n <= FFh}
[Outline] Selecting barcode height.
n denotes the number of dots in the vertical direction.
[Default]
• The initial value of n is “162”.
[Print Results]
No Visible
Code
Printed above
Printed below
Printed above
and below