User`s manual

1 DATECS EP-50
70 71
User’s Manual
56. GS p n1 n2 n3
Setting barcode PDF-417 parameters
[Code] [1Dh] + [70h] + n1 + n2 + n3
[Range] {0 <= n1 <= 255}
{0 <= n2 <= 30}
{n3=0; 3 <= n3 <= 90}
[Outline] n1 selects PDF-417 security level. Setting a security level higher
than eight forces the printer to automatically adjusts the security
level according the following table:
FONT A
FONT B
55. GS f n
Selecting the font of HRI code
[Code] [1Dh] + [66h] + n
[Range] n = 0, 1
[Outline] Selecting the font of HRI code in printing barcode.
The type of font can be printed by selecting n is as follows.
0 Font A
1 Font B
The HRI code refers to the barcode-turned characters so that you
can read them.
[Caution] The HRI code is printed at the position specified with GS h.
[Default] The initial value of n is “0 ”.
[See Also] GS H
[Sample Program]
LPRINT CHR$ (&H1D) + “h” + CHR$ (50);
LPRINT CHR$ (&H1D) + “H” + CHR$ (2);
LPRINT CHR$ (&H1D) + “f” + CHR$ (0);
GOSUB BC
LPRINT CHR$ (&H1D) + “f” + CHR$ (1);
GOSUB BC
END
BC:
LPRINT CHR$ (&H1D) + “k”;
LPRINT CHR$ (4);
LPRINT “123” + CHR$ (0);
LPRINT CHR$ (&HA);
RETURN
[Print Results]
EC level EC Codewords Auto Select Level
02 -
1 4 0-31
2 8 32-63
3 16 64-127
4 32 128-255
5 64 256-511
6 128 512-928
7 256 -
8 512 -
Only real data codewords in the security level calculation (any pad
codewords are ignored).
n2 – number of data columns. If n2=0 the number of data columns
is automatically calculated.
n3 – number of rows. If n3=0 the number of rows is auto matically
calculated.
[Caution] If any value is out of range this value remains unchanged.
Thus the other values are changed.
[Default] The initial value of n1 is “9 ” (auto select).
The initial value of n2 is “0 ” (auto select).
The initial value of n3 is “0 ” (auto select).
[See Also] GS k
[Sample Program]
LPRINT CHR$ (&H1D) + “p”;
LPRINT CHR$(4) + CHR$(2) + CHR$(0);
LPRINT CHR$ (&H1D) + “k”;
LPRINT CHR$ (9) + CHR$ (0);
LPRINT “ABCDEF 0123456789 abcdef”;
LPRINT CHR$(0);
[Print Results]