Avery-dennison Platinum 6039 JavaScript Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Oprogramowanie Avery-dennison Platinum 6039 JavaScript. Avery Dennison Platinum 6039 JavaScript User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 94
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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.
Przeglądanie stron 0
1 2 3 4 5 6 ... 93 94

Podsumowanie treści

Strona 1 - Platinum 6039™

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

Strona 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

Strona 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

Strona 4

1-6 Programmer’s Manual

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 10 - Keyboard

2-6 Programmer’s Manual

Strona 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

Strona 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

Strona 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

Strona 14

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

Strona 15 - Scanner Function Overview

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 20

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

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

Strona 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

Strona 23 - StockType

Table of Contents i TABLE OF CONTENTS Introduction ...

Strona 24 - Battery

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

Strona 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

Strona 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

Strona 27 - Printing

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

Strona 28 - FilePrint

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

Strona 29

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

Strona 30 - LastPrintStatus

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

Strona 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

Strona 32 - OnDemand

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

Strona 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

Strona 34 - LockConfigMenu

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

Strona 35

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

Strona 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

Strona 37 - KeypadShiftMode

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

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 44 - LinearSecurity

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

Strona 45 - NoReadWAVFile

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

Strona 46 - Preamble

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

Strona 47 - Postamble

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

Strona 48 - Timeout

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

Strona 49 - Bar Code Classes

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

Strona 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

Strona 51 - Code128

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

Strona 52

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

Strona 53 - Instantiate Class

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

Strona 54

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

Strona 55

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

Strona 56

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

Strona 57

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

Strona 58

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

Strona 59

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

Strona 60

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

Strona 61

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

Strona 62

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

Strona 63

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

Strona 64

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

Strona 65

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

Strona 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

Strona 67

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

Strona 68

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

Strona 69

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

Strona 70

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

Strona 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

Strona 72

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

Strona 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

Strona 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

Strona 75 - SendScanStatus

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

Strona 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

Strona 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

Strona 78 - SendScanStatus Codes

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

Strona 79

4-42 Programmer’s Manual

Strona 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

Strona 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

Strona 82

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

Strona 83 - ULTRA.HTML

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

Strona 84

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

Strona 85 - TRIGGER.HTML

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

Strona 86

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

Strona 87 - OTHER.HTML

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

Strona 88

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

Strona 89

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

Strona 90

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

Strona 91

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

Strona 92

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

Komentarze do niniejszej Instrukcji

Brak uwag