Avery Dennison Platinum 6039 JavaScript User Manual

Page 45

Advertising
background image

Scanning Functions 4-7

NoReadWAVFile

Description

Sets the file for a No Scan. This sound is heard whenever a bar code is
unsuccessfully scanned. To have no sound, clear this field.

Syntax

NoReadWAVFile

Parameters

None

Return Values

None

Example

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

<SCRIPT type="text/javascript">

GENERAL.NoReadWAVFile = "noscan.wav";

//Set WAV file

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