Function 48> Esc Gs ( L Pl Ph M Fn (Fn=48); Function 48> Esc Gs 8 L P1 P2 P3 P4 M Fn (Fn=48) - Star StarPRNT SM-L Series Command Specifications

Line thermal printer
Table of Contents

Advertisement

<Function 48> ESC GS ( L pL pH m fn (fn=48)
<Function 48> ESC GS 8 L p1 p2 p3 p4 m fn (fn=48)
[Name]
Send NV graphics memory capacity
[Code]
ASCII
ESC
Hexadecimal
Decimal
[Code]
ASCII
ESC
Hexadecimal
Decimal
[Defined Region]
• Parameter for GS ( L
(pL+pH×256)=2 (pL=2, pH=0)
• Parameter for GS 8 L
(p1+p2×256+p3x65536+p4x16777216)=2 (p1=2, p2=0, p3=0, p4=0)
• Parameter are shared by for ESC GS ( L and ESC GS 8 L.
m = 48,
fn = 0, 48
[Function]
Sends the entire capacity of NV graphics area in bytes.
[Details]
• The byte count is sent in the following format:
Transmission data
Header
Identifier
Total capacity *1
NUL
*1 The total capacity is the total number of bytes in this region.
The decimal value indicating the total capacity is converted to text data and sent in order from the MSB.
Ex.: When the total capacity is 1200 bytes:
"1200" (Hex:31H, 32H, 30H, 30H, Decimal:49, 50, 48, 48) is converted to 4-bytes of data.
• This command is used when sending total capacity, and the total byte capacity of the region is sent regardless
of the current setting for the NV graphics data. This total capacity includes the information region.
• When the value that indicates the entire capacity is "0" (Hex:30H, Decimal:48), it is not possible to use the
NV graphics function.
[Note]
• Data transmission process: Function 48, 51, 64
Observe the following rules when using these functions.
• When the host PC sends this command, the printer sends response data or the status to the PC.
The PC does not send any more data until it receives response data or status from the printer.
• When the amount of data exceeds the capacity of the transmission buffer, data is erased.
• Transmission information of each function can be identified as other transmission data by specific data
(identifier) of the transmission data string.
When the header sent by the printer is [Hex = 37H/Decimal = 55], data up to NUL
[Hex = 00H/Decimal = 0] is handled as one group, and identified by corresponding to the combination of
the header and identifier.
Star PRNT Command Specifications
GS
(
L
pL pH
1B
1D
28
4C
pL pH
27
29
40
76
pL pH
GS
8
L
p1 p2 p3 p4 m
1B
1D
38
4C
p1 p2 p3 p4 m
27
29
56
76
p1 p2 p3 p4 m
Hex
37H
30H
30H to 39H
00H
m fn
m fn
m fn
fn
fn
fn
Decimal
Data length
55
1 Byte
48
1 Byte
48 to 57
1 to 8 Byte
0
1 Byte
2-46

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents