Zebra® ZPL & CPCL Printer Driver for OPOS Application Programmer’s Guide P1014152-002
Copyright and Liability Disclaimer © 2011 ZIH Corp. The copyrights in this manual and the software and/or firmware in the printer described therein are owned by ZIH Corp. and Zebra’s licensors. Unauthorized reproduction of this manual or the software and/ or firmware in the printer may result in imprisonment of up to one year and fines of up to $10,000 (17 U.S.C.506). Copyright violators may be subject to civil liability.
Contents About This Document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Who Should Use This Document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OPOS Web Sites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How This Document Is Organized . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Contacts . . . . . . . . . .
Contents 4 • Common Properties, Methods, and Events . . . . . . . . . . . . . . . . . . . . . . . . . 21 Summary of Common Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Summary of Common Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Summary of Common Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Summary of Specific Properties . . . . . . . . . . . . . .
About This Document This section provides you with contact information, document structure and organization, and additional reference documents. Contents Who Should Use This Document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OPOS Web Sites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How This Document Is Organized . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
About This Document Who Should Use This Document Who Should Use This Document The manual is targeted to an application developer who requires access to POS-specific peripheral devices. OPOS Web Sites Refer to the following web sites for OPOS information: • Reference implementation — Common Control Objects: http://monroecs.com/opos.htm • NRF-ARTS Standards Body: http://www.nrf-arts.
About This Document Contacts Contacts Technical Support via the Internet is available 24 hours per day, 365 days per year. Web Site: www.zebra.com E-mail Back Technical Library: E-mail address: emb@zebra.com Subject line: Emaillist Self Service Knowledge Base: www.zebra.com/knowledgebase Online Case Registration: www.zebra.
About This Document Document Conventions Document Conventions The following conventions are used throughout this document to convey certain information. Alternate Color (online only) Cross-references contain hot links to other sections in this guide. If you are viewing this guide online in.pdf format, you can click the cross-reference (blue text) to jump directly to its location. Command Line Examples Command line examples appear in Courier New font.
1 OPOS Information This chapter provides a general overview of the OPOS Printer Driver. Contents OLE for Retail POS Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 How an Application Uses an OPOS Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 06/13/2011 ZPL & CPCL Printer Driver for OPOS Application Programmer’s Guide P1014152-002 Rev.
OPOS Information OLE for Retail POS Controls OLE for Retail POS Controls The goal of this document is to provide an overview and programming guide for the Zebra ZPL & CPCL Printer Driver for OPOS driver implementation. For full reference of OLE for Retail POS, please download the latest manual at: http://www.nrf-arts.org/content/Unified-POS How an Application Uses an OPOS Control The first action the application must take on the Control is to call its Open method.
2 Supported Bar Codes and Fonts This chapter lists supported bar codes and fonts. Contents Supported Bar Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Supported Fonts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ZPL Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CPCL Fonts . . . . . . . . . . . . . . . .
Supported Bar Codes and Fonts Supported Bar Codes Supported Bar Codes Barcode Symbology Supported in ZPL Supported in CPCL Codabar Yes Yes Code 128 Yes Yes * Code 128 Parsed Yes Yes Code 39 Yes Yes Code 93 Yes Yes * EAN 128 Yes Yes EAN 13s Yes Yes EAN 8S Yes Yes EANJan 13 Yes Yes EANJan 8 Yes Yes ltf Yes Yes * Maxicode Yes Yes * PDF417 Yes Yes * RSS14 Yes Yes * RSSExpanded Yes Yes TF Yes No UPC-A Yes Yes * UPC-AS Yes Yes UPC-D Yes Yes UPC-D2
Supported Bar Codes and Fonts Supported Fonts Supported Fonts ZPL Fonts Font Typeface (Value for # in ESC|#fT) Font Name Font Size (h x w) Line Height Inter-Character Gap (dots) Total Width (dots) 0 D 18 x 10 24 2 12 1 F 26 x 13 30 3 16 2 A 9x5 12 1 6 Font D Font D will be the default font. If nothing is specified in the print command, this font will be used. The spacing between lines shall be 24 dots. Counting the inter-character gap of 2 dots the characters are 12 dots wide.
Supported Bar Codes and Fonts Supported Fonts Font F The spacing between lines shall be 28 dots. Counting the inter-character gap of 3 dots, the characters are 16 dots wide. In calculating the number of characters that can be placed on an 832 dot line, the result is 52 characters.
Supported Bar Codes and Fonts Supported Fonts CPCL Fonts Font Typeface (Value for # in ESC|#fT) Font Name 0 7 1 0 Font Size (h x w) Line Height Total Width (dots) 0 (24 x 12) 24 12 3 (18 x 16) 18 16 Font for Typespace 0 The Font for typespace 0 will be CPCL font 7. If nothing is specified in the print command this font will be used. The spacing between lines shall be 24 dots. Counting the inter-character gap of 2 dots, the characters are 10 dots wide.
Supported Bar Codes and Fonts Supported Fonts Notes • ___________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________
3 Supported Specifications and Printers This chapter lists the supported specifications and printers. Contents Specifications Supported . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Supported Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 06/13/2011 ZPL & CPCL Printer Driver for OPOS Application Programmer’s Guide P1014152-002 Rev.
Supported Specifications and Printers Specifications Supported Specifications Supported • UPOS specification supported: v1.11 • ActiveX supported • .net framework supported: 1.1 Supported Printers P1014152-002 Rev.
Supported Specifications and Printers Supported Printers 06/13/2011 Printer Name Maximum Print Width (in mm) TLP2824-Z (203 dpi) 56 TLP2824 Plus (ZPL) 56 TLP2844-Z (203 dpi) 104 TLP3844-Z (300 dpi) 104 ZM400 (203 dpi) 104 ZM400 (300 dpi) 104 ZM400 (600 dpi) 81 ZM600 (203 dpi) 168 ZM600 (300 dpi) 168 GK420d 104 GK420t 104 GX420d 104 GX420t 104 KR403 82.5 ZPL & CPCL Printer Driver for OPOS Application Programmer’s Guide P1014152-002 Rev.
Supported Specifications and Printers Supported Printers Notes • ___________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ _______________________________________________________________
4 Common Properties, Methods, and Events This chapter provides the common and specific commands for properties, methods, and events. Contents Summary of Common Properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Summary of Common Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Summary of Common Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Common Properties, Methods, and Events Summary of Common Properties Summary of Common Properties Table 1 • Common Properties Type/Access Name Supported for Zebra ZPL Printer Supported for Zebra CPCL Printer AutoDisable Boolean /R/W No No CapCompareFirmwareVersion Boolean /R No No BinaryConversion Long R/W Yes Yes CapPower Reporting Long /R Yes Yes CapStatisticsReporting Boolean /R No No CapUpdateFirmware Boolean /R No No CapUpdateStatistics Boolean /R No No CheckHealthT
Common Properties, Methods, and Events Summary of Common Methods Summary of Common Methods Table 2 • Common Methods 06/13/2011 Name Supported for Zebra ZPL Printer Supported for Zebra CPCL Printer Open Yes Yes Close Yes Yes Claim Yes Yes ReleaseDevice Yes Yes CheckHealth Yes Yes ClearInput No No ClearInputProperties No No ClearOutput Yes Yes DirectIO Yes Yes CompareFirmwareVersion No No ResetStatistics No No RetrieveStatistics No No UpdateFirmware No No UpdateSta
Common Properties, Methods, and Events Summary of Common Events Summary of Common Events Table 3 • Common Events Supported for Zebra ZPL Printer Supported for Zebra CPCL Printer DataEvent No No DirectIOEvent Yes Yes ErrorEvent Yes Yes OutputCompleteEvent Yes Yes StatusUpdateEvent Yes Yes Name P1014152-002 Rev.
Common Properties, Methods, and Events Summary of Specific Properties Summary of Specific Properties Table 4 • Specific Properties Type/Access Name Supported for Zebra ZPL Printer Supported for Zebra CPCL Printer CapConcurrentJrnRec Boolean /R No No CapConcurrentJrnSlp Boolean /R No No CapConcurrentRecSlp Boolean /R No No CapCoverSensor Boolean /R Yes Yes CapTransaction Boolean /R Yes Yes CapConcurrentPageMode Boolean /R No No CapMapCharacterSet Boolean /R No No CapJrnPrese
Common Properties, Methods, and Events Summary of Specific Properties Type/Access Name Supported for Zebra ZPL Printer Supported for Zebra CPCL Printer CapRecPapercut Boolean /R Yes Yes CapRecRight90 Boolean /R Yes Yes CapRecRotate180 Boolean /R Yes Yes CapRecStamp Boolean /R No No CapRecUnderline Boolean /R Yes Yes CapRecPageMode Boolean /R Yes Yes CapSlpPageMode Boolean /R No No CapSlpPresent Boolean /R No No CapSlpFullslip Boolean /R No No CapSlp2Color Boolea
Common Properties, Methods, and Events Summary of Specific Properties Type/Access Name Supported for Zebra ZPL Printer Supported for Zebra CPCL Printer MapMode Long /R/W Yes Yes PageModeArea String /R/W Yes Yes PageModeDescriptor Int32 R/W Yes Yes PageModeHorizontalPosition Int32 R/W Yes Yes PageModePrintArea String /R/W Yes Yes PageModePrintDirection Int32 R/W Yes Yes PageModeStation Int32 R/W Yes Yes PageModeVerticalPosition Int32 R/W Yes Yes RotateSpecial Long /R/W
Common Properties, Methods, and Events Summary of Specific Properties Type/Access Name Supported for Zebra ZPL Printer Supported for Zebra CPCL Printer SlpLineSpacing Long /R/W No No SlpLineWidth Long /R No No SlpLetterQuality Boolean /R/W No No SlpEmpty Boolean /R No No SlpNearEnd Boolean /R No No SlpSidewaysMaxLines Long /R No No SlpSidewaysMaxChars Long /R No No SlpMaxLines Long /R No No SlpLinesNearEndToEnd Long /R No No SlpBarCodeRotationList String /R No
Common Properties, Methods, and Events Summary of Specific Methods Summary of Specific Methods Table 5 • Specific Methods Supported for Zebra ZPL Printer Supported for Zebra CPCL Printer PrintNormal Yes Yes PrintTwoNormal No No PrintImmediate Yes Yes PrintMemoryBitmap Yes Yes BeginInsertion No No EndInsertion No No BeginRemoval No No ClearPrintArea Yes Yes EndRemoval No No CutPaper Yes Yes RotatePrint Yes Yes PrintBarCode Yes Yes PrintBitmap Yes Yes TransactionPrint
Common Properties, Methods, and Events Summary of Events Summary of Events Table 6 • Events Supported for Zebra ZPL Printer Supported for Zebra CPCL Printer Name May Use After DataEvent Not Supported No No DirectIOEvent Open, Claim & Enable Yes Yes ErrorEvent Open, Claim & Enable Yes Yes OutputCompleteEvent Open, Claim & Enable Yes Yes StatusUpdateEvent Open, Claim & Enable Yes Yes P1014152-002 Rev.
5 Device Manager This chapter provides information about the Device Manager and its uses. Contents Using the Device Manager. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting Using Bluetooth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting Using an IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting Using a Parallel Cable . . . . . . . . . . . . . . .
Device Manager Using the Device Manager Using the Device Manager Use the Zebra OPOS Device Manager v1.0 to add a printer. First, make a cable or wireless connection to a supported printer with one of the following: • Bluetooth • IP/WiFi • Parallel • Serial • USB To connect to a supported printer, perform the following steps: 1. To run the Device Manager from the "Start" button on the PC, go to All Programs/Zebra Technologies/Zebra OPOS/Zebra OPOS Device Manager. 2.
Device Manager Using the Device Manager 3. Once these steps are complete click on Next. The Communication Interfaces dialog will display. 4. On this screen, select the port type by using the drop-down menu. 5. Choose the interface to which the printer is connected. 6. Click on Search and the printer model should populate the area under Available Printer(s). 06/13/2011 ZPL & CPCL Printer Driver for OPOS Application Programmer’s Guide P1014152-002 Rev.
Device Manager Using the Device Manager Connecting Using Bluetooth With Bluetooth as a Port Type, you will need to make a serial cable connection and define the Bluetooth Configuration parameters to match the Bluetooth device. Example • Bluetooth configuration Once this is complete, click on Next. P1014152-002 Rev.
Device Manager Using the Device Manager Connecting Using an IP Address With IP/WiFi as a Port Type, manually enter the IP Address of the device or click on the Search button. A search for devices that have the same subnet as the PC running the Device Manager will start and then populate the drop-down menu. Example • IP address configuration Once this is complete, click on Next. 06/13/2011 ZPL & CPCL Printer Driver for OPOS Application Programmer’s Guide P1014152-002 Rev.
Device Manager Using the Device Manager Connecting Using a Parallel Cable A parallel cable can be used to connect to the printer. Configure Port Type to Parallel. Example • Parallel cable configuration Once this is complete, click on Next. P1014152-002 Rev.
Device Manager Using the Device Manager Connecting Using a Serial Cable A serial cable can be used to connect to the printer. Configure Port Type to Serial, then configure Port Name, Bits Per Second, Data Bits, Stop Bits, Parity and Flow Control to match the settings on the printer. Example • Serial cable configuration Once this is complete, click on Next. 06/13/2011 ZPL & CPCL Printer Driver for OPOS Application Programmer’s Guide P1014152-002 Rev.
Device Manager Using the Device Manager Connecting Using a USB Cable 1. When using a USB cable, make the cable connection first. 2. Then, click on Search button. This will populate the Available Printer(s) area with found printers. Example • USB cable configuration 3. Click on the printer. 4. Click Next. The Configurations Settings tab will display. P1014152-002 Rev.
Device Manager Configuration Settings Configuration Settings Adding a Printer 1. On the Configurations Settings tab, select the settings that will be used for the printer. 2. Once complete, click on the Update button. 06/13/2011 ZPL & CPCL Printer Driver for OPOS Application Programmer’s Guide P1014152-002 Rev.
Device Manager Configuration Settings 3. A message will appear asking if you are sure you want to add the printer, click Yes. The printer will be added under the ZPL directory. P1014152-002 Rev.
Device Manager Configuration Settings Adding a KR403 Kiosk Printer 1. Open the Device Manager application, select ZPL under Zebra OPOS Printer. Click the Add Button. 2. Select KR403 from the Printer Model drop-down menu and type in the logical device name. 3. Click Next. 4. In the Communication Interfaces tab, select the Port Type and then click the Next button. 06/13/2011 ZPL & CPCL Printer Driver for OPOS Application Programmer’s Guide P1014152-002 Rev.
Device Manager Configuration Settings 5. In the Configuration Settings tab, select the settings such as Media Type, Tracking Mode, etc. Check the Enable Audit Log box to enable event logging. 6. Click the Next button and configure the Kiosk Printer Settings. For a detailed explanation of the Kiosk Printer Settings, see Kiosk Printer Settings on page 53. 7. Click the Apply button. P1014152-002 Rev.
Device Manager Configuration Settings 8. Click Yes to add the printer. The KR403 should now be listed in the Device Manager. 06/13/2011 ZPL & CPCL Printer Driver for OPOS Application Programmer’s Guide P1014152-002 Rev.
Device Manager Configuration Settings Output Logging The Driver can log its printer command output for troubleshooting purposes. By default, this option is not turned on to keep the logs from consuming disk space. In the event that the Output Logs are needed, the feature can be activated from within the Device Manager. To turn on Output Logging, perform the following: 1. Run the Device Manager and select the printer to be monitored. 2.
Device Manager Additional Font Handling Additional Font Handling In order to provide customers with the ability to add fonts to the printer and then use those in the OPOS driver, the Device Manager UI has the following functionality. Note • Zebra offers two pre-converted fonts for use with ZPL-based printers. These are a monospaced font called “Mono1” and a scalable font called “Swiss721”. Please contact your Zebra Reseller to obtain these fonts.
Device Manager Additional Font Handling 3. Select Character Set drop-down menu, verify selectable character sets (100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 113, 128, 129, 130) and select the character sets by clicking the corresponding boxes. 4. Enter Font Name, Font Height, and Width (in dots). If adding “Swiss721”, use the name “TT0003M_”. If adding the “Mono1” font, use the name “Mono1”. 5.
Device Manager Additional Font Handling 6. Click the Save button to save the Font. (The user will be presented with a dialog box to confirm the adding of the font.) 06/13/2011 ZPL & CPCL Printer Driver for OPOS Application Programmer’s Guide P1014152-002 Rev.
Device Manager Additional Font Handling 7. The new font should now be listed. Note • When using One Shot ESC commands, the index entry for the font will be assigned by the Device Manager to the next available font slot. Note • 0, 1, 2 are built-in ZPL fonts and any new font will be assigned a following number, e.g., 3 for “Mono1” if it was loaded before “TT0003M_” and 4 for “TT0003M_” if this font was loaded after “Mono1”. Assigning Multiple Fonts 1.
Device Manager Additional Font Handling Deleting a Font 1. To delete a font from the list, simply right-click the Font you wish to delete and select “Delete Font”. (The user will be presented with a dialog box to confirm the deletion of the font.) 06/13/2011 ZPL & CPCL Printer Driver for OPOS Application Programmer’s Guide P1014152-002 Rev.
Device Manager Programming Tips For Using Additional ZPL Fonts Programming Tips For Using Additional ZPL Fonts In order to print in other languages, it is necessary to load a new font Swiss721 into the printer and control it within the OPOS driver. See Adding a New Font in Device Manager on page 45 for more specific information. An OPOS application developer has to select the proper font encoding by selecting the new codepage as described in the font definition.
Device Manager Programming Tips For Using Additional ZPL Fonts If using Swiss721 font (with font index 3), perform the steps below. 1. Send the ESC|3fT. With the first use, the CharacterSetNumber value (128,129,130) (assigned to the Swiss721 font) will be appended to the default CharacterSetList property (100,101,102,103,104,105,106,107,108,109,110,113). This will throw an exception as “Selected Font doesn't support character set”.
Device Manager Use of OPOS Character Properties Use of OPOS Character Properties The CharacterSetList property will display all of the ASCII numeric set numbers associated with the currently loaded fonts. The default is: “100,101,102,103,104,105,106,107,108,109,110,113”. If a new font is added, the new character set values will be added to the CharacterSetList so an application can choose the new values for the respective fonts. The CharacterSet property will initialize with 113 on “open”.
Device Manager KR403 Specific User Interface KR403 Specific User Interface Kiosk Printer Settings The Kiosk Printer Settings tab will appear only after adding KR403 as a Printer Model under the General tab. The following information will assist configuring Kiosk properties. Kiosk Properties New Page: There are three settings which you may select when a new page is printed: • Eject Upon New Page • Retract Upon New Page • Do Nothing These settings instruct the printer to change the presenter function mode.
Device Manager KR403 Specific User Interface Current Page: Retract upon Timeout – If a label is not taken, you can define a timeout value when expired will retract the current page. Retract timeout can be defined from 0 – 300 seconds. Clear Presenter – Will eject the current page before printing a new page. Kiosk Values: Uncut Amount – When a partial cut is made by the printer, the media left uncut can be defined from 10 to 60mm.
Device Manager KR403 Specific User Interface Details for Variable Continuous Mode vs. Continuous Mode The KR403 printer supports two continuous modes. The “variable continuous mode” is different from the “continuous mode”. Variable continuous mode allows the printer to print pages without length limitation. Note • The minimum presenter length of 70 mm always applies. • Variable continuous mode will print on continuous paper without page boundaries until a cut command is issued.
Device Manager KR403 Specific User Interface Variable Continuous Mode 1 Example • Variable Continuous Mode 1: • You have a set label width • You have a minimum label height of 70 mm • You have a Label Home (left and top) You print content that is not filling the page and you receive a cut command.The printer shall feed to the end of the page and cut there. In this example, the minimum label length is not exceeded and is not different from Continuous mode. P1014152-002 Rev.
Device Manager KR403 Specific User Interface Variable Continuous Mode 2 Example • Variable Continuous Mode 2: • You have a set label width • You have a minimum label height of 70 mm • You have a Label Home (left and top) You print content that is exceeding the minimum page and you receive a cut command. The printer shall not feed to the end of the page and cut right after the last print.
Device Manager KR403 Specific User Interface Notes • ___________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________
6 Test Application This chapter provides steps and illustrations to prepare your keyboard to use additional languages and to launch and perform various operations using the OPOS Test Application. Contents Preparing Windows® and Printer for Unicode Printing . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Zebra OPOS Test Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Printing Unicode with the Test Application . . . . . . . . . . . . . . . . .
Test Application Preparing Windows® and Printer for Unicode Printing Preparing Windows® and Printer for Unicode Printing In order to print in other languages, it is necessary to load a new font into the printer and control the font within the OPOS driver. See Adding a New Font in Device Manager on page 45 to add a new font. Before attempting to print, be sure that the new font is already loaded in the printer in the E: directory.
Test Application Preparing Windows® and Printer for Unicode Printing 6. Under “Installed services”, click the Add button. 7. Select the desired language from the drop-down menu and click OK. 06/13/2011 ZPL & CPCL Printer Driver for OPOS Application Programmer’s Guide P1014152-002 Rev.
Test Application Zebra OPOS Test Application Zebra OPOS Test Application Once the printer has been added using the Device Manager, you can test the driver with the Zebra OPOS Test Application utility. 1. From the Start menu, navigate to All Programs/Zebra Technologies/Zebra OPOS/Zebra OPOS Test Application. 2. From the Printer Open section, choose a Printer Language from the Service Object Type drop-down menu. 3. Choose CPCL or ZPL. 4. Select a printer in the Printer Logical Name drop-down menu.
Test Application Zebra OPOS Test Application 5. To gain exclusive access to the device, click the Open button, click the Claim button, and then check the Printer Enabled in the Printer Open section. You can now begin using the Test Application. On the next pages, two methods to run a test print are described. 06/13/2011 ZPL & CPCL Printer Driver for OPOS Application Programmer’s Guide P1014152-002 Rev.
Test Application Zebra OPOS Test Application Test One: Example • Test one: 1. Type some data into the Print Data field. 2. Click on the Print Normal button found in the Print Options area then click the Mark Feed button. The printer will print the contents from the Print Data field. P1014152-002 Rev.
Test Application Zebra OPOS Test Application Test Two: Example • Test two: 1. Type some data into the Data field in the Barcode Print area. 2. Then select Code 39 from the drop-down menu next to Symbology. 3. Now click on Print from the Barcode area and Mark Feed in the Print Options area. The printer will print the Code39 barcode and the data entered in the Data area. 06/13/2011 ZPL & CPCL Printer Driver for OPOS Application Programmer’s Guide P1014152-002 Rev.
Test Application Printing Unicode with the Test Application Printing Unicode with the Test Application Before printing with the test application, please make sure that the font has been loaded in the printer and added in the Device Manager. (See Adding a New Font in Device Manager on page 45.) 1. Open the Zebra OPOS Test Application, select the Service Object Type (ZPL or CPCL) and then the Printer Logical Name. 2. Click Open, Claim, and check the Printer Enabled box. 3.
Test Application Printing Unicode with the Test Application 5. Change the Character Set value (Default is 113) by entering the correct Character Set value in the Character Set Number box, and then click the Set CharacterSet button below. The user will get a message showing that the Character Set was updated. 06/13/2011 ZPL & CPCL Printer Driver for OPOS Application Programmer’s Guide P1014152-002 Rev.
Test Application Printing Unicode with the Test Application Notes • ___________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ ____________________________________________________________
Zebra Technologies Corporation Zebra Technologies Corporation 475 Half Day Road, Suite 500 Lincolnshire, IL 60069 USA T: +1 847 634 6700 Toll-free +1 866 230 9494 F: +1 847 913 8766 Zebra Technologies Europe Limited Dukes Meadow Millboard Road Bourne End Buckinghamshire, SL8 5XF, UK T: +44 (0)1628 556000 F: +44 (0)1628 556001 Zebra Technologies Asia Pacific, LLC 120 Robinson Road #06-01 Parakou Building Singapore 068913 T: +65 6858 0722 F: +65 6885 0838 http://www.zebra.com © 2011 ZIH Corp.