Line Thermal Printer DEP-50
70
71
User’s Manual
GS w n
Selecting the horizontal size (Scale factor) of the barcode
[Code]
[1Dh] + [77h] + n
[Range]
{2 <= n <= 4}
[Outline]
Selecting barcode 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]
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”.
Height 30, Magnification 2
Height 50, Magnifikacion 3
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.
0
No printing
1
Above the barcode
2
Below the barcode
3
Both 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
[Print Results]
No Visible
Code
Printed above
Printed below
Printed above
and below