Star Micronics Line Thermal Printer Specifications page 79

Star micronics line thermal printer specification sheet
Table of Contents

Advertisement

ESC GS + m [t1 nL1 nH1 d11 d12 ... d1k] 1
[t2 nL2 nH2 d21 d22 ... d2k] 2 [tm nLm nHm dm1 dm2 ... dmk] m
[Name]
Register macro
[Code]
ASCII
ESC
Hex.
1B
Decimal
27
[Code]
ASCII
t2
Hex.
t2
Decimal
t2
[Defined Area]
1 ≤ m ≤ 9, 0 ≤ t ≤ 8
k = (nL + nH x 256), 0 ≤ k ≤ 7936
0 ≤ d ≤ 255
[Initial Value]
- - -
[Function]
This command registers macro data in the following macro registration regions.
Registration
Registration
Region
Data Type
Registration
Initialization
Information
Macro
Macro
Registration
Data
• m specifies the registration black count.
• t specifies the registration data type.
t
Registration Data Type
0
Initialization Macro
1 to 8
Macro (t is the macro number.)
• (nL + nH x 256) specifies the data count to be registered.
When (nL + nH x 256) = 0, the macro data specified by t is deleted.
• d is the macro data to be registered.
• After the macro data is written to the non-volatile memory, the printer is reset.
• If the volume of all macros exceeds the capacity for registration, it is written to the non-volatile memory up to the data
block that exceed the capacity and the command analysis is ended after that.
• If there is unprinted data in the line buffer, this command is executed after the print data in the line buffer is printed.
• When registering, all of the current macro regions are cleared, so if previous macro data is necessary, rewrite it.
• When performing a Hex Dump, initialization macro region data is added in the same way as the current specifications.
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
STAR Line Mode Command Specifications
GS
+
m
t1
nL1 nH1
1D
2B
m
t1
nL1 nH1
29
43
m
t1
nL1 nH1
nL2 nH2
d21 d22
..
nL2 nH2
d21 d22
..
nL2 nH2
d21 d22
..
Registration
Size (Bytes)
Block No.
0
2
2
4
8
1
2
2
4
8
:
8
2
2
4
8
7936
3-63
d11
d12
..
d1k
d11
d12
..
d1k
d11
d12
..
d1k
d2k
..
tm nLm nHm dm1 dm2
d2k
..
tm nLm nHm dm1 dm2
d2k
..
tm nLm nHm dm1 dm2
Details
Registration data type 0 x 0000 =
Initialization macro, 0xffff = No reg. data
Registration data count
Registration data address
(Reserved)
Registration data type 0 x 0001 to 0x 0008
= macro, 0xffff = No reg. data
Registration data count
Registration data address
(Reserved)
Registration data type 0 x 0001 to 0 x
0008= macro, 0xffff = No reg. data
Registration data count
Registration data address
(Reserved)
Registration Data
.. dmk
..
.. dmk
..
.. dmk
..

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents