Avery Dennison Platinum 6039 JavaScript User Manual

Page 73

Advertising
background image

Scanning Functions 4-35

DisableAllScanCodes

Description

Disables all bar codes. This function will cause all bar codes to be
disabled from being scanned. Use this function when you want to enable
only a few selected codes.

Syntax

DisableAllScanCodes();

Parameters

None

Return Values

None

Example

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

<SCRIPT type="text/javascript">

SCANNER.DisableAllScanCodes(); // Disable all bar codes

// Enable needed bar codes here

SCANNER.CommitConfigChanges();
//Save

Changes

to

the

Scanner

Configuration

</SCRIPT>

<BODY>

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

0px"

classid=clsid:

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

</OBJECT>

//Instantiate

Class

</BODY>

Advertising