
Star PRNT Command Specifications
2-57
<Function 49> ESC GS ) L pL pH fn kc1 kc2
[Name] Transmit capacity used by registered individual NV graphics
[Code]
ASCII
ESC GS
)
L pL pH fn kc1 kc2
Hexadecimal
1B 1D
29 4C pL pH fn kc1 kc2
Decimal
27
29
41 76 pL pH fn kc1 kc2
[Defined range]
pL = 3, pH = 0
fn = 49
32
≤
kc1
≤
126, 32
≤
kc2
≤
126
[Function]
Transmits the capacity used by the individual NV graphics data registered in the printer.
[Detail]
• The used capacity is the total number of bytes of the used area.
• The used capacity includes the management data (14 bytes).
• Only the capacity used by NV graphics data registered with the "ESC GS ( L" or "ESC GS 8 L" command
can be transmitted.
The used capacity is transmitted in the following format:
ESC GS ) L pL pH fn kc1 kc2 [used capacity] LF NUL
Example: When the used capacity is 1200 bytes, [used capacity] will be
"1200" converted into four-byte data (Hex 31h, 32h, 30h, 30h; Decimal: 49, 50, 48, 48).
If an unregistered key code is specified, the following data is transmitted instead:
ESC GS ) L pL pH fn kc1 kc2 LF NUL
[Reference]
ESC GS ( L , ESC GS 8 L
<Function 50> ESC GS ) L p L p H f n d 1 d 2
[Name] Send all key code of the registered NV graphics
[Code]
ASCII
ESC GS
)
L pL pH fn d1 d2
Hexadecimal
1B 1D
29 4C pL pH fn d1 d2
Decimal
27
29
41 76 pL pH fn d1
d1
[Defined Region] pL = 3, pH = 0
fn = 50
d1 = 0, d2 = 0
[Function]
Send all key code of NV graphics already stored in the printer.
[Details]
- If NV graphics are registered with "ESC GS ( L" or "ESC GS 8 L" command, all of their key codes can be
sent.
All key codes are sent in the following format.
ESC GS) L pL pH fn k1 k2 [key-code key-code ...] LF NUL
Up to 512 key codes can be sent, but logo key codes exceeding this limit are not sent.
k1 and k2 represent the number of transmission data bytes (k1+k2*256) after the key codes.
Example: If NV graphics of key codes 01 and 02 are registered, k1=6 and k2=0. [key-code key-code...] is
"0102" (30h, 31h, 30h, 32h in Hex; and 48, 49, 48, 50 in Decimal).
If NV graphics are not registered, the following data is sent.
ESC GS ) L pL pH fn k1 k2 LF NUL (where, k1=2 and k2=0)
If the USB interface is used, the NSB must be made invalid.
[Reference]
ESC GS
(
L , ESC GS 8 L