EasyManua.ls Logo

GPRINTER GP-3150TIN - Key1, Key2

GPRINTER GP-3150TIN
85 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Related product manuals