beautypg.com

Argox PA-20 Basic Programming Manual User Manual

Page 48

background image

PT-Basic Programming Manual Ver. 1.00

47/143

0

Change fail

1

Change OK

N1% is an integer variable, indicating the parameter1.

N2% is an integer variable, indicating the parameter2.

S$ is a string variable.

Refer to

Appendix C

for more details about the parameter

setting.

READER_QUERY$

Purpose: To query the scanner(CCD) current setting.

Syntax: A$=READER_QUERY$(N1% , N2%)

Example:

„To query the scanner status (Code-128/Read).

Value$=READER_QUERY$(13, 1)

PRINT "Value:",ASC(Value $)
Preamble$=READER_QUERY$(8, 3) „Preamble

characters

PRINT " Preamble:"+ Preamble $

Description: A$ is a string variable to be assigned to the result.

N1% is an integer variable, indicating the parameter1.

N2% is an integer variable, indicating the parameter2.

Refer to

Appendix B

for more details about the parameter

setting.

READER_QUERY_LASER$

Purpose: To query the scanner(Laser) current setting.

Syntax: A$=READER_QUERY_LASER$(N1% , N2%)

Example:

„To query the scanner status (Code-128/Read).

Value$=READER_QUERY_LASER$(13, 1)

PRINT "Value:",ASC(Value $)

Preamble$=READER_QUERY_LASER$(8, 3)

PRINT " Preamble:"+ Preamble $

Description: A$ is a string variable to be assigned to the result.

N1% is an integer variable, indicating the parameter1.

N2% is an integer variable, indicating the parameter2.

Refer to

Appendix C

for more details about the parameter

setting.