Avery Dennison Platinum 6039 JavaScript User Manual

Page 44

Advertising
background image

4-6 Programmer’s Manual

LinearSecurity

Description

Sets the Linear Security, which is how many times to scan the same bar
code to determine a successful read. Select a higher level for lower
quality bar codes.

Syntax

LinearSecurity

Parameters

LinearSecurity

1 – 4 scans

Default: 1

Return Values

None

Example

<SCRIPT src="./jsUltra.js"></SCRIPT>

<SCRIPT type="text/javascript">

GENERAL.LinearSecurity = 1;

//Scan bar code to scan once

SCANNER.CommitConfigChanges();

//Save Changes to the Scanner Configuration

</SCRIPT>

<BODY>

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

HEIGHT: 0px"

classid=clsid:B1EED6A7-2259-442D-B273-71EBE93C8338>

</OBJECT>

//Instantiate

Class

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

HEIGHT: 0px"

classid=clsid:

AD3C761C-4BCC-403D-A68D-128ED702A417>

</OBJECT>

//Instantiate

Class

</BODY>

Advertising