6-12
(4) Usage of the user area of RAM at two-dimensional bar code function
At two-dimensional bar code print, empty user area of the RAM is used temporarily at bar code print.
The two-dimensional bar code printing operates as described below depending on the parameter,
remaining capacity of the user area of RAM, and the value of the maximum number of the data which can
be specified:
When the parameter of the command is outside the range:
CPU ignores the part outside and processes the remaining data as character codes.
When the remaining capacity of the user area of RAM is short:
All of data is processed as character codes.
When the command is normal and the user area of RAM has been allocated but the data more
than maximum data size is specified:
All of the data is discarded. Since settable data size varies depending on the type of
two-dimensional bar codes, refer to each explanation of two-dimensional bar code commands.
Moreover, note that settable data size changes in accordance with the value of specified parameter.
When the command is normal and the user area of RAM has been allocated, but the bar code
cannot be printed within printable area:
The command is ignored.
When the command is normal, the user area of RAM has been allocated and the bar code can
be printed within printable area:
The two-dimensional bar code is printed.
The necessary remaining capacity differs according to types and sizes of bar codes.
The necessary capacity is as follows:
(a) Necessary Capacity of PDF417
The total remaining capacity of area 1 to 4 shown in Table 6-9 is necessary for PDF417 print.
For an example, when number of bar code data byte =15, error correction level=3, number of column
number=8, and number of row=20;
Area1 = 15+1 = 16 bytes
Area2 = 2048 bytes
Area3 = 2
(
)
2
3
+
= 32 bytes
Area4 = (8+7)
20
2 = 600 bytes
Total = 2696 bytes
(Assume that the remaining capacity is even number of bytes.)
Table 6-9 GS 'p' 0 PDF417 Print Command Necessary Capacity
Area Capacity
(Bytes)
Area1 N+1
bytes
1
*
Area2 2048
bytes
Area3 2
(
)
2
L
+
bytes
2
*
Area4 (C+7)
R
2 bytes
3
*
*1: N: Number of bar code data byte
When remaining capacity of the RAM is an odd number, one more byte is necessary.
When N+1 is an odd number, one more byte is necessary.
*2:
L: Error correction level
*3:
C: Number of column, R: Number of row
Summary of Contents for DPU-S445 SERIES
Page 1: ...DPU S445 SERIES THERMAL PRINTER TECHNICAL REFERENCE U00110811309 ...
Page 90: ...6 43 Figure 6 10 Print Sample 5 ...
Page 100: ...6 53 Figure 6 12 Print Sample 6 ...
Page 126: ...6 79 Figure 6 24 Print Sample 12 ...
Page 128: ...6 81 Figure 6 26 Print Sample 13 ...
Page 130: ...6 83 Figure 6 28 Print Sample 14 ...