User`s guide
Chapter
5
BASIC
Commands
61
See Also
DISABLE READER, ENABLE_READER, OFF READER, ON READER
GOSUB…
GET_READER_SETTING
Purpose
To get the value of a specified parameter of the barcode settings.
Syntax
A% = GET_READER_SETTING(N%)
Remarks
"A%" is a string variable to be assigned to the result.
"N%" is an integer variable, indicating the number of a parameter. (cf.
READER_SETTING)
Example
Setting1% = GET_READER_SETTING(1)
IF Setting1% = 1 THEN
PRINT "Code 39 readability is enabled."
ELSE
PRINT "Code 39 readability is disabled."
END IF
See Also
CODE_TYPE, READER_SETTING
READER_SETTING
Purpose
To set the value of a specified parameter of the barcode settings.
Syntax
READER_SETTING(N1%, N2%)
Remarks
"N1%" is an integer variable, indicating the number of a parameter.
"N2%" is an integer variable, indicating the value to be set to a parameter.
A set of parameters called barcode settings determines how the decoder will decode
the barcode data. The initial values of the barcode settings are given by the Barcode
Settings Window of the BASIC Compiler. Refer to Appendix I for details of the
settings. The user can reset the values by using the READER_SETTING command
in a BASIC program. The following table shows the details of these parameters.
No. Values and Description
1 1: Enable Code 39
0: Disable Code 39
2 1: Enable Italian Pharmacode
0: Disable Italian Pharmacode