Wasp Technologies.
80 Copyright 2001 All Rights Reserved.
GETKEY( )
Description
This command is used to get the status of PAUSE key and FEED key. This
command waits until either key is pressed. 0 is returned if PAUSE key is pressed
and 1 is returned if FEED key is pressed.
Syntax
GETKEY()
Example
DOWNLOAD “DEMO4.BAS”
SIZE 4,4
GAP 0,0
DENSITY 8
SPEED 3
DIRECTION 0
REFERENCE 0,0
SET CUTTER OFF
SET PEEL OFF
CLS
:START
A=GETKEY()
IF A=0 THEN GOTO PAUSEB
IF A=1 THEN GOTO FEEDB
:PAUSEB
CLS
TEXT 50,10,"4",0,1,1,"PAUSE key is pressed !"
PRINT 1
GOTO START
:FEEDB
CLS
TEXT 50,10,"4",0,1,1,"FEED key is pressed !"
PRINT 1
EOP
See Also
DOWNLOAD, EOP, END, GOTO
Summary of Contents for WPL2
Page 1: ...WPL2 PROGRAMMING MANUAL Wasp Technologies BAR CODE PRINTER SERIES...
Page 5: ...SECOND 105 YEAR 106 MONTH 107 DATE 108 DAY 109 HOUR 110 MINUTE 111 SECOND 112...
Page 8: ...Wasp Technologies 2 Copyright 2001 All Rights Reserved GAP BLINE...
Page 60: ...Wasp Technologies 54 Copyright 2001 All Rights Reserved See Also F FILES...
Page 67: ...Wasp Technologies 61 Copyright 2001 All Rights Reserved See Also DOWNLOAD EOP OPEN READ SEEK...
Page 100: ...Wasp Technologies 94 Copyright 2001 All Rights Reserved See Also SIZE GAP BLINE...
Page 119: ...Wasp Technologies 113 Copyright 2001 All Rights Reserved...
Page 120: ...Last update May 21 2004...