6-13
(c) Used Memory Capacity of Data Matrix
The total empty area of area1 to 4 shown in Table 6-7 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.)
(Empty area size is an even byte number.)
Table 6-7 GS 'p' 2 Used Memory Capacity of Data Matrix Print
Area Memory
usage
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 empty capacity of the external 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 value are decided from symbol sizes. See Table 6-8
*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-8 for sizes of the map matrixes.
The int () means that less than a decimal point will be omitted.
Содержание DPU-S245
Страница 1: ...DPU S245 SERIES THERMAL PRINTER TECHNICAL REFERENCE U00117152801 ...
Страница 12: ...2 2 Dimensions 83 130 45 1 3 63 5 75 2 9 7 38 Unit mm Figure 2 1 Dimensions Paper Outlet ...
Страница 87: ...6 42 Figure 6 10 Print Sample 5 ...
Страница 97: ...6 52 Figure 6 12 Print Sample 6 ...
Страница 122: ...6 77 Figure 6 24 Print Sample 12 ...
Страница 125: ...6 80 Figure 6 28 Print Sample 14 ...
Страница 168: ...A 3 A 2 INTERNATIONAL CHARACTER SETS The following codes differ depending on the international character set selected ...
Страница 170: ...A 5 A 4 KANJI QUARTER SIZE CHARACTER SET ...