CONFIDENTIAL
Paper roll Bit-image commands GS ( L GS 8 L
Ver. 10.01 p. 230
GS ( L pL pH m fn <Function 51 >[Name] Transmit the remaining capacity of the NV graphics memory.
[Format] ASCII GS ( L
pLpHmfn
Hex 1D 28 4C 02 00 30
fn
Decimal 29 40 76 2 0 48
fn
[Range] (
pL
+
pH
× 256) = 2 (
pL
= 2,
pH
= 0)
m
= 48
fn
= 3, 51
[Description] Transmits the number of bytes of remaining memory (unused area) in the NV graphics area.
• 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.
(*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 hexadecimally as 31H, 32H, and 30H, 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.
■See previous [Notes for transmission process] for process sending data group.
■Do not use this function in conjunction with NV bit images (FS q).
[Model-dependent variations] None
Send data Hexadecimal Decimal Data length
Header 37H 55 1 byte
Identifier 31H 49 1 byte
Unused capacity (*1) 30H to 39H 48 to 57 1 to 8 bytes
NUL 00H 0 1 byte