Specifications

TH230/TH230+ Programmers Guide
127
Note that the following procedure is required for processing the data.
• When communication with the printer uses XON/XOFF control, the
XOFF may interrupt the “Header to NUL” data string.
The domain of the NV graphics data can be selected by using Function 5
of the GS ( E command.
(Unit: byte)
Selectable data domain Default
0, 64 K, 128 K, 192 K, 256 K, 320 K, 384 K 384 K
If you set a combination of settings that is not possible, the entire
capacity of the NV graphics memory that can be in actual use will be
sent instead of the memory size set by GS ( E.
GS ( L p
L
p
H
m fn (fn=51)
Code ASCII: GS ( L p
L
p
H
m fn
Code HEX: 0x1D 0x28 0x4C 0x02 0x00 0x30 fn
Range:
(p
L
+ p
H
× 256) = 2 (p
L
= 2, p
H
= 0)
m = 48
fn = 3, 51
Description:
Sends the unused capacity in the NV graphics domain.
• This function does not require ESC/POS Handshaking Protocol.
Notes:
This function is used to send the following data groups, beginning with
the Header and ending with NUL.
Send data Hexadecimal Decimal Data length
Header 0x37 55 1 byte
Identifier 0x31 49 1 byte
Unused capacity
(*1)
0x30 to 0x39 48 to 57 1 to 8 bytes
NUL
0x00
0
1 byte
(*1) The unused capacity is the total byte count for the unused area.
The decimal value for the unused capacity is converted to text data and
sent starting from the high order end.
Example:
If the available capacity is 120 bytes, the “120” (expressed decimally as
49, 50, and 48) is converted to 3-byte data.
The control information for NV graphics data is included in the capacity
in use.