Avery-dennison Platinum 6039 JavaScript Uživatelský manuál Strana 1

Procházejte online nebo si stáhněte Uživatelský manuál pro Software Avery-dennison Platinum 6039 JavaScript. Avery Dennison Platinum 6039 JavaScript User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 94
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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.
Zobrazit stránku 0
1 2 3 4 5 6 ... 93 94

Shrnutí obsahu

Strany 1 - Platinum 6039™

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

Strany 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

Strany 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

Strany 4

1-6 Programmer’s Manual

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 10 - Keyboard

2-6 Programmer’s Manual

Strany 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

Strany 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

Strany 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

Strany 14

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

Strany 15 - Scanner Function Overview

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 20

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

Strany 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.

Strany 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

Strany 23 - StockType

Table of Contents i TABLE OF CONTENTS Introduction ...

Strany 24 - Battery

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

Strany 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

Strany 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

Strany 27 - Printing

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

Strany 28 - FilePrint

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

Strany 29

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

Strany 30 - LastPrintStatus

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

Strany 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

Strany 32 - OnDemand

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

Strany 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

Strany 34 - LockConfigMenu

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

Strany 35

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

Strany 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

Strany 37 - KeypadShiftMode

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

Strany 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.

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 44 - LinearSecurity

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

Strany 45 - NoReadWAVFile

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

Strany 46 - Preamble

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

Strany 47 - Postamble

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

Strany 48 - Timeout

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

Strany 49 - Bar Code Classes

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

Strany 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

Strany 51 - Code128

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

Strany 52

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

Strany 53 - Instantiate Class

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

Strany 54

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

Strany 55

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

Strany 56

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

Strany 57

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

Strany 58

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

Strany 59

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

Strany 60

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

Strany 61

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

Strany 62

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

Strany 63

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

Strany 64

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

Strany 65

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

Strany 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

Strany 67

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

Strany 68

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

Strany 69

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

Strany 70

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

Strany 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

Strany 72

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

Strany 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

Strany 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

Strany 75 - SendScanStatus

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

Strany 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

Strany 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

Strany 78 - SendScanStatus Codes

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

Strany 79

4-42 Programmer’s Manual

Strany 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

Strany 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

Strany 82

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

Strany 83 - ULTRA.HTML

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

Strany 84

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

Strany 85 - TRIGGER.HTML

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

Strany 86

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

Strany 87 - OTHER.HTML

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

Strany 88

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

Strany 89

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

Strany 90

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

Strany 91

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

Strany 92

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

Komentáře k této Příručce

Žádné komentáře