6-14
(c) Necessary Capacity of Data Matrix
The total remaining capacity of area1 to 4 shown in Table 6-11 is necessary for Data Matrix print.
For an example, when number of bar code data byte =20 and symbol size=22 (vertical)
22
(horizontal);
Area1 = 20 bytes
Area2 = 2230 bytes
Area3 = (30+20+1)
2 = 102 bytes
Area4-A = 1
(30+68)
2 = 196 bytes
Area4-B= 33
{
[
]
[
]
}
2
22
16
15
22
int
20
16
15
20
int
×
+
+
×
+
= 168 bytes
Total = 2548 bytes (Area4 uses a value of Area4-A.)
(Assume that the remaining capacity is even number of bytes.)
Table 6-11 GS 'p' 2 Data Matrix Print Necessary Capacity
Area Capacity
(Byte)
Area1 N
bytes
1
*
Area2 2230
bytes
Area3 (D+E+1)
2 bytes
2
*
Area4-A I
(B+68)
2 bytes
3
*
4
*
Area4-B
{
[
]
[
]
}
2
Y
16
15
X
int
Ym
16
15
Xm
int
×
+
+
×
+
bytes
3
*
5
*
*1: N: Number of bar code data
When remaining capacity of the RAM is an odd number, one more byte is necessary
When number of bar code data byte is an odd number, one more byte is necessary
*2: D: Number of data code word.
E: Number of error correction code word.
These values are decided from symbol sizes. See Table 6-12
*3: Area 4-A and area 4-B are used commonly. The larger number will be used
*4: The I will be calculated as follows:
・
When E is 68 or less, I=1
・
When E exceeds 68,
I=int
(
)
68
67
E
+
When the above value is an odd number, plus 1 to the value.
B will be calculated as follows:
B=int
(
)
I
1
I
D
-
+
*5: X: Horizontal size of the symbol
Y: Vertical size of the symbol
Xm: Horizontal size of the map matrix
Ym: Vertical size of the map matrix
Table 6-12 for sizes of the map matrixes.
The int () means that less than a decimal point will be omitted.
Содержание DPU-S445 SERIES
Страница 1: ...DPU S445 SERIES THERMAL PRINTER TECHNICAL REFERENCE U00110811309 ...
Страница 90: ...6 43 Figure 6 10 Print Sample 5 ...
Страница 100: ...6 53 Figure 6 12 Print Sample 6 ...
Страница 126: ...6 79 Figure 6 24 Print Sample 12 ...
Страница 128: ...6 81 Figure 6 26 Print Sample 13 ...
Страница 130: ...6 83 Figure 6 28 Print Sample 14 ...
Страница 174: ...A 2 INTERNATIONAL CHARACTER SETS The following codes differ depending on the international character set selected A 3 ...
Страница 176: ...A 4 KANJI QUARTER SIZE CHARACTER SET A 5 ...