TSC AUTO ID Technology Co., Ltd. 121 Copyright 2009 All Rights Reserved.
INP$( )
Description
One byte is received from a serial port through this function.
Syntax
INP$(n)
Parameter Description
n 1: com1 port in printer
Example
DOWNLOAD "DEMO.BAS"
SIZE 3,3
GAP 0,0
DENSITY 8
SPEED 3
DIRECTION 0
REFERENCE 0,0
SET CUTTER OFF
SET PEEL OFF
CLS
T$=""
FOR I=1 TO 5
T$=T$+INP$(1)
NEXT
TEXT 100,100,"4",0,1,1,"INP$(1)="+T$
PRINT 1
EOP
DEMO
12345
See Also
DOWNLOAD, EOP, END, INPUT, GOSUB…RETURN, GOTO