!Microsoft®VisualBasic®ScriptingEdition-VBScript!Microsoft®JScript®!JavaScript™Monarch®Pathfinder®Ultra®Platinum 6039™PrinterMicrosoft®, Windows®, Vis
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
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
1-6 Programmer’s Manual
Developing Applications 2-1 DEVELOPING APPLICATIONS This chapter describes what you need to know to develop an application for the printer. You will
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
Developing Applications 2-3 Scanner Function Overview The scanner contains a buffer to hold the data from a scan. The application receives data from
2-4 Programmer’s Manual 2. Configure the control scanning attributes and the attributes for each bar code. For example, <SCRIPT src="./jsU
Developing Applications 2-5 Programming Notes ♦ When the application is complete, test your application using different Browsers and verify the func
2-6 Programmer’s Manual
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
Each product and program carries a respective written warranty, the only warranty onwhich the customer can rely. Paxar reserves the right to make chan
3-2 Programmer’s Manual Instantiating Printer Classes To instantiate the Printer class, use <OBJECT id=”PRINTER” style="LEFT: 0px; WIDTH: 0px
Printing Functions 3-3 Stock CalibratePrinter Description Calibrates the supplies in the printer and gives the supply information to the Print subsys
3-4 Programmer’s Manual Example <SCRIPT src="./jsUltra.js"></SCRIPT> <SCRIPT type="text/javascript"> function
Printing Functions 3-5 StockType Description Sets the supply type in the printer. Syntax StockType Parameters STOCK_PAPER Paper STOCK_FAX Fax STOCK
3-6 Programmer’s Manual Battery IsBatteryOKToPrint Description Checks if the printer’s LiIon battery (located in the handle) is charged enough to all
Printing Functions 3-7 BatteryLevel Description Retrieves the LiIon battery’s level. This battery is located in the printer’s handle. This returns
3-8 Programmer’s Manual CallBatteryDisplay Description Retrieves the battery’s display screen. This is the same screen that the user displays once t
Printing Functions 3-9 Printing PaperFeed Description Feeds a label through the printer. Syntax PaperFeed() Parameters None Return Values None Exampl
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.
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
Table of Contents i TABLE OF CONTENTS Introduction ...
3-12 Programmer’s Manual LastPrintStatus Description Retrieves status of the last MPCL packet processed by the Print Engine. Syntax LastPrintStatus P
Printing Functions 3-13 Sensors BlackMark Description Retrieves the black mark sensor’s latest state. This state is not necessarily the current stat
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
Printing Functions 3-15 Misc ClearSystemError Description Resets the Motion Control subsystem after an application receives a motion control error (7
3-16 Programmer’s Manual LockConfigMenu Description Allows the application to control access to all configuration menus for the printer and scanner.
Printing Functions 3-17 Status Description Retrieves the Print subsystem’s status. After submitting a print job, the application should call Status i
3-18 Programmer’s Manual Example <OBJECT id=”PRINTER” style="LEFT: 0px; WIDTH: 0px; TOP: 0px; HEIGHT: 0px" classid=clsid: 19C1754D
Printing Functions 3-19 KeypadShiftMode Description Allows the application to the shift determine the current shift mode of the keypad and to set mod
3-20 Programmer’s Manual Example <SCRIPT src="./jsUltra.js"></SCRIPT> <SCRIPT type="text/javascript"> DEVICE.
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
ii Table of Contents Printing Functions ...3-1 Instantiating
4-2 Programmer’s Manual Instantiating Scanner Classes To instantiate the Scanner or Control class, use <OBJECT id=”SCANNER” style="LEFT: 0px;
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
4-4 Programmer’s Manual BiDirRedundancy Description Enables Bi-Directional Redundancy, which specifies that good scans must occur in both directions
Scanning Functions 4-5 GoodScanWAVFile Description Sets the file for a Good Scan. This sound is heard whenever a bar code is successfully scanned.
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
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
4-8 Programmer’s Manual Preamble Description Sets the Preamble, which specifies the characters to preface returned data from scanning. The Preamble
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
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
Scanning Functions 4-11 Bar Code Classes Codabar Description Sets the scanner configuration values for CODABAR bar code. Syntax Enable FixedLength Le
Table of Contents iii Scanning Functions... 4-1 Instantiating
4-12 Programmer’s Manual Return Values None Example <SCRIPT src="./jsUltra.js"></SCRIPT> <SCRIPT type="text/javascript
Scanning Functions 4-13 Code128 Description Sets the scanner configuration values for CODE128 bar code. Syntax Enable UCCEAN128 ISBT128 Instantiate C
4-14 Programmer’s Manual Example <SCRIPT src="./jsUltra.js"></SCRIPT> <SCRIPT type="text/javascript"> CODE128.
Scanning Functions 4-15 Code39 Description Sets the scanner configuration values for Code39 bar code. Syntax Enable; Trioptic; XlateToCode32; Code32P
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
Scanning Functions 4-17 Example <SCRIPT src="./jsUltra.js"></SCRIPT> <SCRIPT type="text/javascript"> CODE39.En
4-18 Programmer’s Manual Code93 Description Sets the scanner configuration values for CODE93 bar code. Syntax Enable; FixedLength; Length1; Length2;
Scanning Functions 4-19 Example <SCRIPT src="./jsUltra.js"></SCRIPT> <SCRIPT type="text/javascript"> CODE93.E
4-20 Programmer’s Manual D2of5 Description Sets the scanner configuration values for D2of5 bar code. Syntax Enable; FixedLength; Length1; Length2; In
Scanning Functions 4-21 Example <OBJECT id=”D2OF5” style="LEFT: 0px; WIDTH: 0px; TOP: 0px; HEIGHT: 0px" classid=clsid:1796AB7E-36A2-
iv Table of Contents TriggerMode...4-39 SendScanStatus Codes
4-22 Programmer’s Manual I2of5 Description Sets the scanner configuration values for I2of5 bar code. Syntax Enable; FixedLength; Length1; Length2; Ve
Scanning Functions 4-23 Field Description XlateToEAN13 Enables/disables the requirement to convert 14-character I2of5 bar codes into EAN13 bar codes,
4-24 Programmer’s Manual MSI Description Sets the scanner configuration values for MSI bar code. Syntax Enable; FixedLength; Length1; Length2; Use2C
Scanning Functions 4-25 Return Values None Example <SCRIPT src="./jsUltra.js"></SCRIPT> <SCRIPT type="text/javascript&q
4-26 Programmer’s Manual RSS Description Sets the scanner configuration values for RSS bar code. Syntax Enable14; EnableLimited; EnableExpanded; Conv
Scanning Functions 4-27 Example <SCRIPT src="./jsUltra.js"></SCRIPT> <SCRIPT type="text/javascript"> RSS.Enabl
4-28 Programmer’s Manual UPCEAN Description Sets the scanner configuration values for UPC and EAN bar codes. Syntax EnableUPCA; EnableUPCE; EnableUPC
Scanning Functions 4-29 Field Description EnableUPCA Enables/disables the ability to scan UPCA bar codes. Default: true EnableUPCE Enables/disables
4-30 Programmer’s Manual Field Description XmitUPCAPre Specifies how to transmit UPCA Preamble characters. Values are: 1 = XUP_NONE Do no
Scanning Functions 4-31 Field Description CouponCode Enables the ability to scan UPCA/EAN Coupon Code bar codes. Default: false Return Values None E
Introduction 1-1 INTRODUCTION The Monarch® Pathfinder® Ultra® Platinum 6039™ software development kit (SDK) helps developers write applications f
4-32 Programmer’s Manual SCANNER.CommitConfigChanges(); //Save Changes to the Scanner Configuration </SCRIPT> <BODY> <OBJECT id
Scanning Functions 4-33 Control Class CommitConfigChanges Description Retrieves the scanner configuration data from the application and saves the rec
4-34 Programmer’s Manual Enable Description Allows the scanner to scan the defined bar codes. Syntax Enable(); Parameters None Return Values None
Scanning Functions 4-35 DisableAllScanCodes Description Disables all bar codes. This function will cause all bar codes to be disabled from being sca
4-36 Programmer’s Manual ScannerMode Description Retrieves the current scanner mode data containing the default values and saves the reconfigured set
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
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
Scanning Functions 4-39 TriggerMode Description Sets the trigger mode configuration values the application set. Syntax TriggerMode; Parameters Trigge
4-40 Programmer’s Manual SendScanStatus Codes If you have enabled SendScanStatus in your General structures definitions, use the following table to i
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
1-2 Programmer’s Manual System Requirements Following are the hardware and software requirements. Software Requirements ♦ Windows® 2000 Profession
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
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
Sample Application A-3 ULTRA.HTML <HTML> <HEAD> <TITLE>M6039 Ultra</TITLE> <SCRIPT src="./jsUltra.js"><
A-4 Programmer’s Manual <BODY onLoad="my_load()" onSubmit="print()"> <OBJECT id=”Scanner” STYLE="LEFT: 0px;
Sample Application A-5 TRIGGER.HTML <HTML> <HEAD> <TITLE>OnDemand</TITLE> <SCRIPT SRC="./jsUltra.js"><
A-6 Programmer’s Manual <BODY onSubmit="print()" onKeyup="my_keydown()" onLoad="my_load()" onUnload="my_unl
Sample Application A-7 OTHER.HTML <HTML> <HEAD> <TITLE>Other Functionality</TITLE> <SCRIPT src="./jsUltra.js&qu
A-8 Programmer’s Manual <BODY> <OBJECT id=”Printer” style="LEFT: 0px; WIDTH: 0px; TOP: 0px; HEIGHT: 0px" classid=clsid:19c
Table of Contents v INDEX A AimDuration function ... 4-3 applications writing ... 2-1 B bar codes AimDuration ...
Introduction 1-3 Related Documentation The following table describes other documentation for the printer. Item Description Quick Reference Includ
2 Index D D2of5 scanning ... 4-20 D2of5 bar codes retrieving configuration values 4-20 D2of5 function... 4-20 Disabl
Index 3 I I2of5 scanning... 4-22 I2of5 bar codes retrieving configuration values 4-22 I2of5 function ... 4-22 infor
4 Index S scan, enabling... 4-34 scan, functions ... 4-36 ScannerMode function ... 4-36 scanners...
Comentarios a estos manuales