C O N F I D E N T I A L

ESC p

EXECUTING COMMAND

[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

 

 

 

 

 

 

0 ≤ t1 ≤ 255

 

 

 

 

 

 

0 ≤ t2 ≤ 255

 

 

 

 

 

[Default]

None

 

 

 

 

 

 

[Description]

Outputs the pulse specified by t1 and t2 to connector pin m as follows:

 

 

 

 

 

 

 

 

 

m

Function

 

 

 

 

 

 

 

 

 

 

 

0, 48

Drawer kick-out connector pin 2

 

 

 

 

 

 

 

 

1, 49

Drawer kick-out connector pin 5

 

 

 

 

 

 

[Notes]

■ The pulse ON time is [t1 × 2] ms, and the OFF time is [t2 × 2] ms.

 

■ When t2 < t1, the printer processes t1 × 2 ms as the OFF time.

Program Example

PRINT #1, CHR$(&H1B);"p";CHR$(0);CHR$(25);CHR$(250);

RP-U420

Miscellaneous commands ESC p

Ver. 1.0 p. 55

Page 55
Image 55
Epson RP-U420 manual ESC p, Function