EC-3150 THERMAL BARCODE PRINTER 80
76. KEY1, KEY2
Description
This command is used to read the status of KEY1, KEY2.
Syntax
KEYm=n
Key
Return Value
KEY1 (FEED)
0: released
1: pressed
KEY2 (PAUSE)
0: released
1: pressed
Example
DOWNLOAD "DEMO.BAS"
SIZE 3,1
GAP 0,0
SPEED 4
DENSITY 8
DIRECTION 1
REFERENCE 0,0
SET KEY1 OFF
:START
IF KEY1=1 THEN
CLS
TEXT 100,10,"3",0,1,1,"KEY FUNCTION TEST"
PRINT 1,1
GOTO START EOP
DEMO