TSC AUTO ID Technology Co., Ltd. 122 Copyright 2009 All Rights Reserved.
INPUT
Description
This command receives data through serial port. This command is used with portable
keyboard KP-200.
Syntax
INPUT ["Prompt string", number of digits], variables
The comma also can be replaced by semicolon, such as:
INPUT ["Prompt string"; number of digits]; variables
Parameter Description
Prompt string The prompt string is shown on keyboard LCD screen. The maximum
length of prompt string is 20 characters.
Number of digits Maximum number of characters is 255.
Variables The variable to receive input data.
Example
DOWNLOAD "INPUT1.BAS"
SIZE 3,3
GAP 0.08,0
DENSITY 8
SPEED 4
DIRECTION 0
REFERENCE 0,0
SET CUTTER OFF
SET PEEL OFF
:START
INPUT "CODE 39 :",C39$
INPUT "EAN 13:",12,E13$
CLS
A$=""
TEXT 20,50,"3",0,1,1,"INPUT and KP-200 Test"
BARCODE 20,100,"39",48,1,0,2,5,C39$
BARCODE 20,200,"EAN13",48,1,0,4,4,E13$
PRINT 1
GOTO START
EOP
See Also
DOWNLOAD, EOP, END, GOTO