Specifications

Programmers Guide TH230/TH230+
126
GS ( L p
L
p
H
m fn (fn=48)
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 = 0, 48
Description:
Sends the entire capacity (specified in bytes) of the NV graphics data
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 0x30 48 1 byte
Entire capacity
(*1)
0x30 to 0x39 48 to 57 1 to 8 bytes
NUL 0x00 0 1 byte
(*1) The entire capacity is the total byte count for that domain.
The decimal value for the entire capacity is converted to text data and
sent starting from the high order end.
Example:
If the entire capacity is 1200 bytes, the “1200” (expressed decimally as
49, 50, 48, and 48) is converted to 4-byte data.
When this command is used to send the entire capacity, the entire byte
capacity of the domain is sent, regardless of definitions currently
entered for NV graphics data. The entire capacity referred to here
includes the area used for control information.
Note that the NV graphics function cannot be used when the value for
the entire capacity is “0” (expressed hexadecimal as 0x30 and decimally
as 48).
The data sent using this function is distinguished from other send data
by unique data inserted in each data block. When the header sent from
the printer has a hexadecimal value of 0x37 and decimal value of 55,
process the data up to NUL (hexadecimal value 0x00 and decimal value
0) as a single data group, using the data shown in the table below for
identification.
Send Data
Hexadecimal
Decimal
First byte (header) 0x37 55
Second byte
(identifier)
0x30 48