EC-3150 THERMAL BARCODE PRINTER
72
67. SET KEY1, SET KEY2
Description
This setting is used to enable/disable the KEY1/KEY2 function. The default function of
KEY1 is “FEED” key, KEY2 is “PAUSE” key. Before setting KEY1 /KEY2 function
otherwise, please disable KEY1/KEY2 first. The setting will remain resident in the
printer even when the printer is power off.
Syntax
SET KEY1 ON/OFF
SET KEY2 ON/OFF
Parameter
Description
ON
Enable KEY1 as FEED function
Enable KEY2 as PAUSE function
OFF
Disable KEY1 as FEED function
Disable KEY2 as PAUSE function
Note: The setting will remain in the printer even if the printer is power off.
Example
DOWNLOAD “DEMO.BAS”
SIZE 3,1
GAP 0,0
DENSITY 8
SPEED 3
DIRECTION 0
REFERENCE 0,0
SET KEY1 OFF
SET KEY2 OFF
KEY1=0
KEY2=0
CLS
:START
IF KEY1=1 THEN
CLS
TEXT 100,10,”3”,0,1,1,”KEY1 (FEED key) is pressed!!”
PRINT 1,1
ELSEIF KEY2=1 THEN
CLS
TEXT 100,10,”3”,0,1,1,”KEY2 (PAUSE key) is pressed!!”
TEXT 100,60,”3”,0,1,1,”End of test”
PRINT 1,1
SET KEY1 ON
SET KEY2 ON