Avery-dennison Platinum 6039 JavaScript Manual de usuario

Busca en linea o descarga Manual de usuario para Software Avery-dennison Platinum 6039 JavaScript. Avery Dennison Platinum 6039 JavaScript User Manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 94
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
!
Microsoft
®
Visual
Basic
®
Scripting
Edition-VBScript
!
Microsoft
®
JScript
®
!
JavaScript
Monarch
®
Pathfinder
®
Ultra
®
Platinum 6039™
Printer
Microsoft®, Windows®, Visual Studio®, Visual Basic®, and JScript® are trademarks of Microsoft Corporation.
TC6039COMPM Rev. AC 1/08 ©2007 Paxar Americas, Inc. a subsidiary of Avery Dennison Corp. All rights reserved.
Vista de pagina 0
1 2 3 4 5 6 ... 93 94

Indice de contenidos

Pagina 1 - Platinum 6039™

!Microsoft®VisualBasic®ScriptingEdition-VBScript!Microsoft®JScript®!JavaScript™Monarch®Pathfinder®Ultra®Platinum 6039™PrinterMicrosoft®, Windows®, Vis

Pagina 2

1-4 Programmer’s Manual Display The printer has a touch screen display (with a backlight) similar to a hand held computer. Refer to your programming

Pagina 3 - TABLE OF CONTENTS

Introduction 1-5 Fonts The printer has many resident fonts. You must load other fonts separately. Following is a list of these fonts and their

Pagina 4

1-6 Programmer’s Manual

Pagina 5 - Table of Contents iii

Developing Applications 2-1 DEVELOPING APPLICATIONS This chapter describes what you need to know to develop an application for the printer. You will

Pagina 6

2-2 Programmer’s Manual Within your application, instantiate the Printer and Scanner classes such as Printer and call a method such as Print when you

Pagina 7 - INTRODUCTION

Developing Applications 2-3 Scanner Function Overview The scanner contains a buffer to hold the data from a scan. The application receives data from

Pagina 8 - System Requirements

2-4 Programmer’s Manual 2. Configure the control scanning attributes and the attributes for each bar code. For example, <SCRIPT src="./jsU

Pagina 9 - About the Printer

Developing Applications 2-5 Programming Notes ♦ When the application is complete, test your application using different Browsers and verify the func

Pagina 10 - Keyboard

2-6 Programmer’s Manual

Pagina 11 - Using Non-Resident Fonts

Printing Functions 3-1 PRINTING FUNCTIONS The SDK contains a library of functions you can call in your application. The functions are divided into t

Pagina 12 - 1-6 Programmer’s Manual

Each product and program carries a respective written warranty, the only warranty onwhich the customer can rely. Paxar reserves the right to make chan

Pagina 13 - DEVELOPING APPLICATIONS

3-2 Programmer’s Manual Instantiating Printer Classes To instantiate the Printer class, use <OBJECT id=”PRINTER” style="LEFT: 0px; WIDTH: 0px

Pagina 14

Printing Functions 3-3 Stock CalibratePrinter Description Calibrates the supplies in the printer and gives the supply information to the Print subsys

Pagina 15 - Scanner Function Overview

3-4 Programmer’s Manual Example <SCRIPT src="./jsUltra.js"></SCRIPT> <SCRIPT type="text/javascript"> function

Pagina 16 - For example

Printing Functions 3-5 StockType Description Sets the supply type in the printer. Syntax StockType Parameters STOCK_PAPER Paper STOCK_FAX Fax STOCK

Pagina 17 - Programming Notes

3-6 Programmer’s Manual Battery IsBatteryOKToPrint Description Checks if the printer’s LiIon battery (located in the handle) is charged enough to all

Pagina 18 - 2-6 Programmer’s Manual

Printing Functions 3-7 BatteryLevel Description Retrieves the LiIon battery’s level. This battery is located in the printer’s handle. This returns

Pagina 19 - PRINTING FUNCTIONS

3-8 Programmer’s Manual CallBatteryDisplay Description Retrieves the battery’s display screen. This is the same screen that the user displays once t

Pagina 20

Printing Functions 3-9 Printing PaperFeed Description Feeds a label through the printer. Syntax PaperFeed() Parameters None Return Values None Exampl

Pagina 21 - CalibratePrinter

3-10 Programmer’s Manual FilePrint Description Writes MPCL packets to the Print subsystem. You can send more than one packet at a time in a file.

Pagina 22 - Example

Printing Functions 3-11 Print Description Writes a string to the Print subsystem. MPCL packets can be sent as a string. After sending a completed M

Pagina 23 - StockType

Table of Contents i TABLE OF CONTENTS Introduction ...

Pagina 24 - Battery

3-12 Programmer’s Manual LastPrintStatus Description Retrieves status of the last MPCL packet processed by the Print Engine. Syntax LastPrintStatus P

Pagina 25 - BatteryLevel

Printing Functions 3-13 Sensors BlackMark Description Retrieves the black mark sensor’s latest state. This state is not necessarily the current stat

Pagina 26 - CallBatteryDisplay

3-14 Programmer’s Manual OnDemand Description Determines the On-demand sensor’s current state. This sensor is an option for the printer. Syntax OnDe

Pagina 27 - Printing

Printing Functions 3-15 Misc ClearSystemError Description Resets the Motion Control subsystem after an application receives a motion control error (7

Pagina 28 - FilePrint

3-16 Programmer’s Manual LockConfigMenu Description Allows the application to control access to all configuration menus for the printer and scanner.

Pagina 29

Printing Functions 3-17 Status Description Retrieves the Print subsystem’s status. After submitting a print job, the application should call Status i

Pagina 30 - LastPrintStatus

3-18 Programmer’s Manual Example <OBJECT id=”PRINTER” style="LEFT: 0px; WIDTH: 0px; TOP: 0px; HEIGHT: 0px" classid=clsid: 19C1754D

Pagina 31 - Sensors

Printing Functions 3-19 KeypadShiftMode Description Allows the application to the shift determine the current shift mode of the keypad and to set mod

Pagina 32 - OnDemand

3-20 Programmer’s Manual Example <SCRIPT src="./jsUltra.js"></SCRIPT> <SCRIPT type="text/javascript"> DEVICE.

Pagina 33 - ClearSystemError

Scanning Functions 4-1 SCANNING FUNCTIONS The SDK contains a library of functions you can call in your application. The functions are divided into t

Pagina 34 - LockConfigMenu

ii Table of Contents Printing Functions ...3-1 Instantiating

Pagina 35

4-2 Programmer’s Manual Instantiating Scanner Classes To instantiate the Scanner or Control class, use <OBJECT id=”SCANNER” style="LEFT: 0px;

Pagina 36

Scanning Functions 4-3 General Class AimDuration Description Sets the AIM Duration, which is the duration of the aiming beam when the scanner is acti

Pagina 37 - KeypadShiftMode

4-4 Programmer’s Manual BiDirRedundancy Description Enables Bi-Directional Redundancy, which specifies that good scans must occur in both directions

Pagina 38

Scanning Functions 4-5 GoodScanWAVFile Description Sets the file for a Good Scan. This sound is heard whenever a bar code is successfully scanned.

Pagina 39 - SCANNING FUNCTIONS

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 success

Pagina 40

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

Pagina 41 - General Class

4-8 Programmer’s Manual Preamble Description Sets the Preamble, which specifies the characters to preface returned data from scanning. The Preamble

Pagina 42 - BiDirRedundancy

Scanning Functions 4-9 Postamble Description Sets the Postamble, which is the data to be sent after each scanned bar code. The Postamble can be up t

Pagina 43 - GoodScanWAVFile

4-10 Programmer’s Manual Timeout Description Sets the scan Timeout in tenths of seconds, which is the amount of time the scanner beam is on before tu

Pagina 44 - LinearSecurity

Scanning Functions 4-11 Bar Code Classes Codabar Description Sets the scanner configuration values for CODABAR bar code. Syntax Enable FixedLength Le

Pagina 45 - NoReadWAVFile

Table of Contents iii Scanning Functions... 4-1 Instantiating

Pagina 46 - Preamble

4-12 Programmer’s Manual Return Values None Example <SCRIPT src="./jsUltra.js"></SCRIPT> <SCRIPT type="text/javascript

Pagina 47 - Postamble

Scanning Functions 4-13 Code128 Description Sets the scanner configuration values for CODE128 bar code. Syntax Enable UCCEAN128 ISBT128 Instantiate C

Pagina 48 - Timeout

4-14 Programmer’s Manual Example <SCRIPT src="./jsUltra.js"></SCRIPT> <SCRIPT type="text/javascript"> CODE128.

Pagina 49 - Bar Code Classes

Scanning Functions 4-15 Code39 Description Sets the scanner configuration values for Code39 bar code. Syntax Enable; Trioptic; XlateToCode32; Code32P

Pagina 50 - Return Values

4-16 Programmer’s Manual Field Description VerifyCD Enables/disables the ability to check the integrity of Code 39 bar codes. When this parameter i

Pagina 51 - Code128

Scanning Functions 4-17 Example <SCRIPT src="./jsUltra.js"></SCRIPT> <SCRIPT type="text/javascript"> CODE39.En

Pagina 52

4-18 Programmer’s Manual Code93 Description Sets the scanner configuration values for CODE93 bar code. Syntax Enable; FixedLength; Length1; Length2;

Pagina 53 - Instantiate Class

Scanning Functions 4-19 Example <SCRIPT src="./jsUltra.js"></SCRIPT> <SCRIPT type="text/javascript"> CODE93.E

Pagina 54

4-20 Programmer’s Manual D2of5 Description Sets the scanner configuration values for D2of5 bar code. Syntax Enable; FixedLength; Length1; Length2; In

Pagina 55

Scanning Functions 4-21 Example <OBJECT id=”D2OF5” style="LEFT: 0px; WIDTH: 0px; TOP: 0px; HEIGHT: 0px" classid=clsid:1796AB7E-36A2-

Pagina 56

iv Table of Contents TriggerMode...4-39 SendScanStatus Codes

Pagina 57

4-22 Programmer’s Manual I2of5 Description Sets the scanner configuration values for I2of5 bar code. Syntax Enable; FixedLength; Length1; Length2; Ve

Pagina 58

Scanning Functions 4-23 Field Description XlateToEAN13 Enables/disables the requirement to convert 14-character I2of5 bar codes into EAN13 bar codes,

Pagina 59

4-24 Programmer’s Manual MSI Description Sets the scanner configuration values for MSI bar code. Syntax Enable; FixedLength; Length1; Length2; Use2C

Pagina 60

Scanning Functions 4-25 Return Values None Example <SCRIPT src="./jsUltra.js"></SCRIPT> <SCRIPT type="text/javascript&q

Pagina 61

4-26 Programmer’s Manual RSS Description Sets the scanner configuration values for RSS bar code. Syntax Enable14; EnableLimited; EnableExpanded; Conv

Pagina 62

Scanning Functions 4-27 Example <SCRIPT src="./jsUltra.js"></SCRIPT> <SCRIPT type="text/javascript"> RSS.Enabl

Pagina 63

4-28 Programmer’s Manual UPCEAN Description Sets the scanner configuration values for UPC and EAN bar codes. Syntax EnableUPCA; EnableUPCE; EnableUPC

Pagina 64

Scanning Functions 4-29 Field Description EnableUPCA Enables/disables the ability to scan UPCA bar codes. Default: true EnableUPCE Enables/disables

Pagina 65

4-30 Programmer’s Manual Field Description XmitUPCAPre Specifies how to transmit UPCA Preamble characters. Values are: 1 = XUP_NONE Do no

Pagina 66

Scanning Functions 4-31 Field Description CouponCode Enables the ability to scan UPCA/EAN Coupon Code bar codes. Default: false Return Values None E

Pagina 67

Introduction 1-1 INTRODUCTION The Monarch® Pathfinder® Ultra® Platinum 6039™ software development kit (SDK) helps developers write applications f

Pagina 68

4-32 Programmer’s Manual SCANNER.CommitConfigChanges(); //Save Changes to the Scanner Configuration </SCRIPT> <BODY> <OBJECT id

Pagina 69

Scanning Functions 4-33 Control Class CommitConfigChanges Description Retrieves the scanner configuration data from the application and saves the rec

Pagina 70

4-34 Programmer’s Manual Enable Description Allows the scanner to scan the defined bar codes. Syntax Enable(); Parameters None Return Values None

Pagina 71 - Control Class

Scanning Functions 4-35 DisableAllScanCodes Description Disables all bar codes. This function will cause all bar codes to be disabled from being sca

Pagina 72

4-36 Programmer’s Manual ScannerMode Description Retrieves the current scanner mode data containing the default values and saves the reconfigured set

Pagina 73 - DisableAllScanCodes

Scanning Functions 4-37 SendScanStatus Description Enable Send Scan Status to return the data after any scan. This data precedes the bar code and in

Pagina 74 - ScannerMode

4-38 Programmer’s Manual DoTrigger Description Initiates a scan, placing the scanned data in the scanner buffer. If the LED on the keypad turns gree

Pagina 75 - SendScanStatus

Scanning Functions 4-39 TriggerMode Description Sets the trigger mode configuration values the application set. Syntax TriggerMode; Parameters Trigge

Pagina 76 - DoTrigger

4-40 Programmer’s Manual SendScanStatus Codes If you have enabled SendScanStatus in your General structures definitions, use the following table to i

Pagina 77 - TriggerMode

Scanning Functions 4-41 Value Bar Code Type 48 RSS 14 49 RSS Limited 50 RSS Expanded 72 UPC A with 2 Supplements 73 UPC E with 2 Supplements 74

Pagina 78 - SendScanStatus Codes

1-2 Programmer’s Manual System Requirements Following are the hardware and software requirements. Software Requirements ♦ Windows® 2000 Profession

Pagina 79

4-42 Programmer’s Manual

Pagina 80 - 4-42 Programmer’s Manual

Sample Application A-1 SAMPLE APPLICATION This chapter contains a sample application written in Javascript and HTML that can be used as a demo. JS

Pagina 81 - SAMPLE APPLICATION

A-2 Programmer’s Manual var XUP_NONE = 1; // Do not send the preamble for UPC / //EAN barcodes. var XUP_SYSCHAR = 2; // Transmit a system charact

Pagina 82

Sample Application A-3 ULTRA.HTML <HTML> <HEAD> <TITLE>M6039 Ultra</TITLE> <SCRIPT src="./jsUltra.js"><

Pagina 83 - ULTRA.HTML

A-4 Programmer’s Manual <BODY onLoad="my_load()" onSubmit="print()"> <OBJECT id=”Scanner” STYLE="LEFT: 0px;

Pagina 84

Sample Application A-5 TRIGGER.HTML <HTML> <HEAD> <TITLE>OnDemand</TITLE> <SCRIPT SRC="./jsUltra.js"><

Pagina 85 - TRIGGER.HTML

A-6 Programmer’s Manual <BODY onSubmit="print()" onKeyup="my_keydown()" onLoad="my_load()" onUnload="my_unl

Pagina 86

Sample Application A-7 OTHER.HTML <HTML> <HEAD> <TITLE>Other Functionality</TITLE> <SCRIPT src="./jsUltra.js&qu

Pagina 87 - OTHER.HTML

A-8 Programmer’s Manual <BODY> <OBJECT id=”Printer” style="LEFT: 0px; WIDTH: 0px; TOP: 0px; HEIGHT: 0px" classid=clsid:19c

Pagina 88

Table of Contents v INDEX A AimDuration function ... 4-3 applications writing ... 2-1 B bar codes AimDuration ...

Pagina 89

Introduction 1-3 Related Documentation The following table describes other documentation for the printer. Item Description Quick Reference Includ

Pagina 90

2 Index D D2of5 scanning ... 4-20 D2of5 bar codes retrieving configuration values 4-20 D2of5 function... 4-20 Disabl

Pagina 91

Index 3 I I2of5 scanning... 4-22 I2of5 bar codes retrieving configuration values 4-22 I2of5 function ... 4-22 infor

Pagina 92

4 Index S scan, enabling... 4-34 scan, functions ... 4-36 ScannerMode function ... 4-36 scanners...

Comentarios a estos manuales

Sin comentarios