Avery Dennison Platinum 6039 JavaScript User Manual

Page 58

Advertising
background image

4-20 Programmer’s Manual

D2of5

Description

Sets the scanner configuration values for D2of5 bar code.

Syntax

Enable;

FixedLength;

Length1;

Length2;

Instantiate Class

<OBJECT id=”D2of5” style="LEFT: 0px; WIDTH: 0px; TOP: 0px;

HEIGHT: 0px"

classid=clsid:

1796AB7E-36A2-4113-AA1F-58C580E44786>

</OBJECT>

Field Description

Enable

Enables/disables the ability to scan D2of5 bar codes.
Default: false

FixedLength

If FixedLength is true, lengths 1 and 2 are fixed; if
FixedLength is false, length 1 is the minimum and
length 2 is the maximum. Default: true

Length1
Length2

Specifies lengths (including start and stop characters)
for D2of5 bar codes.
Length 1: 0, 2-99, Default: 12
Length 2: 0, 2-99, Default: 0

Return Values

None

Advertising