25
56. GS p n1 n2 n3
Setting bar code 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:
EC level
EC Codewords Auto Select Level
0
2
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 automatically 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
57. GS v0
Printing of raster bit image
[Code]
[1Dh] + [76h] + [30h] + m + xL + xH + yL + yH + D
1
+ … + D
n
[Range]
{0 <= m <= 3; 48 <= m <= 51}
{0 <= xL <= 255}
{0 <= xH <= 255}
{0 <= yL <= 255}
{0 <= yH <= 255}
{0 <= D
i
<= 255}
[Outline] The value of xH is ignored.
Although yH could be from 0 to 255 the high four bits are ignored, so yH could actually be from 0
to 15.
xL is the number of bytes in horizontal direction (xL*8 dots).
The number of dots in horizontal direction is equal to yL+yH*256.
The number of data bytes k=xL * (yL+yH*256). However k must not be equal to 0 or the bit
image will be discarded.
m defines the printing mode of the bit image according to the following table: