5-31
ESC g n
[Name] Execute Macro
[Format] ASCII ESC g n
Hex 1B 67 n
Decimal 27 103 n
[Range] 1 ≤ n ≤ 10
[Description] Execute macro using the parameter by n.
[Notes] n = Macro index number.
The NV bit image is defined by ESC g.
This command should be used only when the macro is downloaded by
ESC g command.
ESC p
[Name] Generate pulse
[Format] ASCII ESC p m t1 t2
Hex 1B 70 m t1 t2
Decimal 27 112 m t1 t2
[Range] m = 0, 1, 48, 49
1 ≤ t1 ≤ 255
1 ≤ t2 ≤ 255
[Default] None
[Description] Outputs the pulse specified by t1 and t2 to the specified connector pin m as
follows:
- The pulse for ON time is (t1 x 2 msec) and for OFF time is (t2 x 2 msec).
[Notes] If t2 < t1, the OFF time is equal to the ON time.
If t2 < 50, t2 is supposed to be 50.
5-30
ESC m
[Name] Partial cut (one point left uncut)
[Format] ASCII ESC i
Hex 1B 69
Decimal 27 105
[Range] None
[Default] None
[Description] Executes a partial cut of the paper roll with one point left uncut.
ESC g
[Name] Start macro record
[Format] ASCII ESC g 0 <k> [<nH> <nL> ]
k
[d1...dm]
k
Hex 1B 67 00 <k> [<nH> <nL> ]
k
[d1...dm]
k
Decimal 27 103 0 <k> [<nH> <nL> ]
k
[d1...dm]
k
[Range] k ≤ 10
0 ≤ nL ≤ 255
0 ≤ nH ≤ 255
[(256 x nH) + nL ]1 + ...+ [(256 x nH) + nL ]k < 2Mbit (256KB)
0 ≤ d ≤ 255
[Description] Start macro definition (Define logo)
- k = the number of total macro index
- (256 x nH) + nL = the Length of each macro
- m = (256 x nH) + nL
[Notes] The SRP-275 Printer maintains a 2M bit (256KB) section of flash
memory to save NV bit image.
This command is useful to define NV bit image (Logo).
The NV bit image is printed by ESC g n.
m
0
1
Connector Pin
Drawer kick-out connector pin 2
Drawer kick-out connector pin 5
CONTROL COMMANDS LIST
CHAPTER 5
Comentários a estes Manuais