Datamax E-Class Mark II Programmer's Manual

Datamax E-Class Mark II Programmer's Manual

Class series ii
Hide thumbs Also See for E-Class Mark II:
Table of Contents

Advertisement

Class Series II
Programmer's Manual
Covers the following models:
E-Class Mark II / E-Class Mark III
A-Class / A-Class Mark II
MP Compact4 Mark II
M-Class Mark II
H-Class
I-Class
Ex2

Advertisement

Table of Contents
loading

Summary of Contents for Datamax E-Class Mark II

  • Page 1 Class Series II Programmer’s Manual Covers the following models: E-Class Mark II / E-Class Mark III A-Class / A-Class Mark II MP Compact4 Mark II M-Class Mark II H-Class I-Class...
  • Page 3 Information in this manual is subject to change without notice and does not represent a commitment on the part of Datamax-O’Neil Corporation. No part of this manual may be reproduced or transmitted in any form or by any means, for any purpose other than the purchaser’s personal use, without the expressed written permission of Datamax-O’Neil...
  • Page 5: Table Of Contents

    Contents 1 Overview....................1 Who Should Use this Manual ................1 The Scope of this Manual ..................1 General Conventions.................... 3 Computer Entry and Display Conventions ............3 Important Safety Instructions ................3 Special Instructions ....................4 Typical Data Flow Sequence ................4 2 Control Code Command Functions ............
  • Page 6 4 System-Level Command Functions ............17 Introduction ..................17 STX A Set Time and Date................17 STX a Enable Feedback Characters .............. 18 STX B Get Printer Time and Date Information ..........18 STX c Set Continuous Paper Length.............. 19 STX E Set Quantity for Stored Label...............
  • Page 7 STX w Test Flash Memory Module ..............33 STX X Set Default Module ................33 STX x Delete File from Module............... 34 STX Y Output Sensor Values................35 STX y Select Font Symbol Set ............... 35 STX Z Print Configuration Label ..............36 STX z Pack Module ..................
  • Page 8 STX KtA Write Application Family Identifier (AFI) to Tag........115 STX KtD Write Data Storage Format Identifier (DSFID) to Tag ......115 STX KtE Write Electronic Article Surveillance (EAS) Bit........116 STX KtH Read and Feedback Tag Information to Host ........116 STX KtR Read Data from RFID Tag ..............
  • Page 9 Set Backfeed Speed ................133 Set Quantity of Labels to Print ............134 Set Row Offset Amount ..............134 Recall Stored Label Format ............... 135 Set Feed Speed................. 136 Store Label Format in Module............136 Set Field Data Line Terminator ............137 Mark Previous Field as a String Replacement Field ......
  • Page 10 Appendix A....................165 ASCII Control Chart................165 Appendix B....................167 Sample Programs ..................167 Appendix C....................177 Available Fonts – Sizes, References, and Samples ........177 Appendix D ..................... 183 Reset Codes ..................183 Appendix E ....................185 Single Byte Symbol Sets ................185 Appendix F ....................197 Bar Code Summary Data ................197 Bar Code Default Widths and Heights ............200 Appendix G....................
  • Page 11 Appendix I ....................251 Symbol Sets and Character Maps ............251 Double-Byte Symbols, Chinese, Kanji, and Korean ........254 Appendix J ....................255 General Purpose Input Output (GPIO) Port Applications ......255 Appendix K....................269 Maximum Field & Character Values ............269 Print Resolutions and Maximum Width & Record Column Values ....270 Column, Present, &...
  • Page 12 Appendix Q ..................... 291 Plug and Play IDs ..................291 Appendix R....................293 Line Mode ....................293 Appendix S....................297 RFID Overview..................297 Appendix T ....................303 WiFi Region Country Codes ..............303 Appendix U ..................... 309 Graphics Display Icon Key ..............309 Control Panel Button Sequences ..............310 Appendix V....................
  • Page 13: Overview

    The Scope of this Manual This manual, arranged alphabetically by command, explains Datamax-O’Neil Programming Language (DPL) and its related uses in the writing, loading and storing of programs for the control and production of label formats (designs) for the following printers at, or above, the...
  • Page 14 Overview This manual contains the following sections and appendices:  OVERVIEW on page 1 Contents, organization, and conventions used in this manual; also includes a typical data flow sequence for the printer.  CONTROL CODE COMMAND FUNCTIONS on page 9 Description of the attention-getter characters necessary for the printer to receive a command sequence, and available alternate characters and line terminators.
  • Page 15: General Conventions

    Overview General Conventions These are some of the conventions followed in this manual: On the header of each page, the name of the section.  On the footer of each page, the page number and the title of the manual. ...
  • Page 16: Special Instructions

    Overview Special Instructions  The green check box is intended to alert the user to conventions used within this text or to notable operating details of the printer. Typical Data Flow Sequence The typical data flow sequence is summarized in the following bullets and detailed in the table below.
  • Page 17: Configuration Commands

    Overview Printer Commands Description Notes Optional, bidirectional Status command communication <SOH>A required for these commands. <STX>U01new data for field 01 Reprint with New Data Used for fast <STX>E0005 Records reprints. <STX>G Typically used for <STX>xImagename<CR> Memory cleanup temporary storage. <STX>zA Commands are available for retrieving stored label formats, updating data, and adding new data.
  • Page 18 Overview Configuration Name Function Command Determines label stop position, head relative. <STX>f edge sensor relative Set Present Distance <STX>Kf equivalent command, older models. Determines default power-up Configuration Set <STX>Kc configuration. Sets the stop position of the printed Send Form Feed <STX>F label.
  • Page 19 Overview Download Commands Download Name Function Command Downloads Image to selected memory Download Image <STX>I module. Downloads Scalable Font to selected Download Scalable Font <STX>i memory module. Downloads Bitmapped Font to selected Download Bitmapped Font <ESC> memory module. Label Header Commands These commands determine how the label formatting occurs, the print quality and quantity.
  • Page 20 Overview Class Series 2 Programmer’s Manual...
  • Page 21: Control Code Command Functions

    Control Code Command Functions Introduction The printer requires a special “attention-getter” character in order to receive a command sequence, informing the printer that it is about to receive a command and the type of command it will be. Control Commands, System-Level Commands, and Font Loading Commands have their own unique attention-getter, followed by a command character that directs printer action.
  • Page 22: Alternate Control Code Modes

    Control Code Command Functions Alternate Control Code Modes For systems unable to transmit certain control codes, Alternate Control Code Modes are available. Configuring the printer to operate in an Alternate Control Code Mode (selected via the Setup Menu, the <STX>Kc command or, where applicable, the <STX>KD command) requires the substitution of Standard Control Characters with Alternate Control Characters in what is otherwise a normal data stream.
  • Page 23: Immediate Command Functions

    Immediate Command Functions Introduction When the printer receives an Immediate Command, its current operation will be momentarily interrupted to respond to the command. Immediate Commands may be issued before or after System-Level commands; however, they may not be issued among Label Formatting Commands or during font or image downloading.
  • Page 24: Soh A Send Ascii Status String

    Immediate Command Functions SOH A Send ASCII Status String This command allows the host computer to check the current printer status. The printer returns a string of eight characters, followed by a carriage return. Each character (see below) indicates an associated condition, either true (Y) or false (N). Byte 1 is transmitted first.
  • Page 25: Soh B Toggle Pause

    Immediate Command Functions Where: Possible Transmit Interpretation Values Sequence Interpreter busy (imaging) Paper out or fault Ribbon out or fault Printing batch Busy printing Printer paused Label presented Rewinder out or fault Always : Cutter Fault Paper Out Ribbon Saver Fault Print Head Up Top of Form Fault Ribbon Low...
  • Page 26: Soh C Stop/Cancel

    Immediate Command Functions SOH C Stop/Cancel This command performs the same function as pressing the STOP/CANCEL Key (i.e., it clears the current format from the print buffer, pauses the printer, and illuminates the Paused/Stop Indicator). (The pause condition is terminated as described under <SOH>B.) Syntax: <SOH>C Sample:...
  • Page 27: Soh E Send Batch Printed Quantity

    Immediate Command Functions SOH e Send Batch Printed Quantity This command causes the printer to return a four-digit number indicating the quantity of labels that have been printed in the current batch, followed by a carriage return. Communications latency may cause this value to be lower than actual on some printers. Syntax: <SOH>e Printer response:...
  • Page 28 Immediate Command Functions Class Series 2 Programmer’s Manual...
  • Page 29: System-Level Command Functions

    System-Level Command Functions Introduction The most commonly used commands are the System-Level Commands. These are used to load and store graphics information, in addition to printer control. System-Level Commands are used to override default parameter values (fixed and selectable) and may be used before or after Immediate Commands but cannot be issued among Label Formatting Commands.
  • Page 30: Enable Feedback Characters

    System-Level Command Functions STX a Enable Feedback Characters This command enables the feedback ASCII hex characters to be returned from the printer following specific events after each completed batch of labels when using serial communications. The default value is ”OFF”. Syntax: <STX>a Printer response:...
  • Page 31: Stx C Set Continuous Paper Length

    System-Level Command Functions STX c Set Continuous Paper Length This command sets the label size for applications using continuous media. It disables the top-of-form function performed by the Media Sensor. The sensor, however, continues to monitor paper-out conditions. See <STX>M. Syntax: <STX>cnnnn Where:...
  • Page 32: Stx E Select Edge Sensor

    System-Level Command Functions STX e Select Edge Sensor This command enables transmissive (see-through) sensing for top-of-form detection of die-cut and holed (notched) media. This sensor will detect a minimum gap of 0.1 inches (2.5 mm) between labels (see the Operator’s Manual for media requirements). This is the default setting.
  • Page 33: Stx G Print Last Label Format

    System-Level Command Functions STX G Print Last Label Format This command prints a previously formatted label and restarts a canceled batch job following the last processed label. This is used when there is a label format in the buffer. The <STX>E command is used to enter the quantity. (Without the <STX>E command, one label will print.) Syntax: <STX>G...
  • Page 34: Stx I Scalable Font Downloading

    System-Level Command Functions - Up to 16 characters used as an image name. nn…n - 0x0d terminates the name. <CR> - Image data data Sample: <SOH>D <STX>IDpTest <CR> data...data <CR> The sample above instructs the printer to (1) receive an 8-bit PCX image sent by the host in an 8-bit data format, (2) name the image “Test”, and (3) store it in Module D (with a .dim file extension).
  • Page 35: Stx J Set Pause For Each Label

    System-Level Command Functions STX J Set Pause for Each Label This command causes the printer to pause after printing each label. It is intended for use with the peel mechanism or tear bar when the Present Sensor option is not installed. After removing the printed label, the PAUSE Key must be pushed in order to print the next label.
  • Page 36: Stx M Set Maximum Label Length

    System-Level Command Functions STX M Set Maximum Label Length This command instructs the printer move media this distance in search of the top-of- form (label edge, notch, black mark, etc.) before declaring a paper fault. A paper fault condition can occur if this setting is too close (within 0.1 inch [2.54 mm]) to the physical length of the label.
  • Page 37: Stx O

    System-Level Command Functions STX O Set Start of Print (SOP) Position This command sets the point to begin printing relative to the top-of-form (the label’s edge as detected by the Media Sensor). The printer will feed from the top-of-form to the value specified in this command to begin printing.
  • Page 38: Stx O Cycle Cutter

    System-Level Command Functions STX o Cycle Cutter This command will cause the optional cutter mechanism to immediately perform a cut after all previously received commands are executed. The cutter must be installed, enabled and the interlock(s) closed for operation. Syntax: <STX>o STX P Set Hex Dump Mode...
  • Page 39: Stx Q Clear All Modules

    System-Level Command Functions STX Q Clear All Modules This command instructs the printer to clear all Flash and DRAM modules (except as noted); see the corresponding Operator’s Manual for applicable module options. All stored data will be destroyed. Syntax: <STX>Q ...
  • Page 40: Stx R Select Reflective Sensor

    System-Level Command Functions STX r Select Reflective Sensor This command enables reflective (black mark) sensing for top-of-form detection of rolled butt-cut, and fan-fold or tag stocks with reflective marks on the underside. This Media Sensor will detect a minimum mark of 0.1 inches (2.54 mm) between labels (see the Operator’s Manual for media requirements).
  • Page 41: Stx T Test Dram Memory Module

    System-Level Command Functions STX t Test DRAM Memory Module This command tests the DRAM module. The printer returns a one-line message stating the module condition (no message is returned if a module is unavailable). The printer must have Feedback Characters enabled for this command to function. Feedback Characters can be enabled via the menu (see the Operator’s Manual for additional information).
  • Page 42 System-Level Command Functions The sample above produces three labels. The first is formatted with the commands between <STX>L and E. The next two labels print with the replacement data contained in the <STX>U commands (see <STX>E and <STX>G). The bar code is the same length: 3 digits and nine spaces.
  • Page 43: Stx V

    System-Level Command Functions STX V Software Switch Settings This command controls the printer options, where the appropriate value allows the option(s) to be “On” or “Off.” Each option has a corresponding bit whose value is “1” when enabled. The tables below indicate the bit assignments and corresponding command value needed to enable the desired option(s).
  • Page 44: Stx V

    System-Level Command Functions STX v Request Firmware Version This command causes the printer to send its version string (same as printed on the configuration label). The version may be different from printer to printer. Syntax: <STX>v Printer Response: VER: H-4212–11.04 01/01/2008<CR> STX W Request Memory Module Information This command requests a memory module directory listing.
  • Page 45: Stx W Test Flash Memory Module

    System-Level Command Functions STX w Test Flash Memory Module This command tests the Flash module. The time for each test will vary from 20 to 120 seconds, depending upon the size of the module. All stored data will be destroyed. If no module is present, there will be no printer response.
  • Page 46: Delete File From Module

    System-Level Command Functions STX x Delete File from Module This command removes a specific file from the specified module. The file name is removed from the module directory and thus the file cannot be accessed. The actual storage space occupied by the file is not released. To reclaim deleted file storage space use <STX>z to pack the module.
  • Page 47: Stx Y

    System-Level Command Functions STX Y Output Sensor Values This command causes a sensor value response. When <STX>Y is received, the printer will respond with the digitally converted values of the internal analog sensors (see below). To repeat the display of values, send the printer a “SPACE” character (20 hexadecimal); or, send <ESC>...
  • Page 48: Stx Z

    System-Level Command Functions STX Z Print Configuration Label This command causes the printer to produce a Database Configuration Label. To capture all printed information, use the labels as wide as the maximum print width (see Appendix K) and at least four inches (102 mm) long. Syntax: <STX>Z Printer response:...
  • Page 49: Extended System-Level Command Functions

    Extended System-Level Command Functions Introduction Issued in the same context as System-Level Commands, the Extended System-Level Commands expand certain System-Level Commands to provide an extra degree of printer control. STX K Memory Configuration This command configures the available DRAM (including any installed optional DRAM) as a method for managing printer memory.
  • Page 50: Stx K}E Empty Sensor Calibration

    Extended System-Level Command Functions smooth scalable font processor will remain unchanged. The allocation must be at least 15 (60KB) to print scalable fonts, and at least 30 for double-byte fonts. The number that follows the S is a decimal number (up to four digits) that specifies the size in 4 KB blocks to assign to the smooth scalable font processor.
  • Page 51: Stx K}M Manual Media Calibration

    Extended System-Level Command Functions STX K}M Manual Media Calibration (Non-Display Models only) This command causes the printer to save the sampled calibration values as an operator places different portions of label stock within the media sensor. Depending upon the printer model, different front panel LED flash sequences and printer responses (below) will indicate calibration progress and outcome;...
  • Page 52: Stx Kar Read Data From Rfid Tag

    Extended System-Level Command Functions STX KaR Read Data from RFID Tag (Direct Mode – Generic Read/Write Interface) This command instructs the RFID device to read data from the tag and then place that data into a replaceable field. It is expected that the tag transponder will be within the read / write distance of the RFID programming device;...
  • Page 53: Stx Kaw Write Data To Rfid Tag

    Extended System-Level Command Functions STX KaW Write Data to RFID Tag (Direct Mode – Generic Read/Write Interface) This command instructs the RFID device to write data to the tag. It is expected that the tag transponder will be within the read / write distance of the RFID programming device; otherwise, a warning will occur and a warning message (Read / Write Fail) will be displayed.
  • Page 54: Stx Kc Get Configuration

    Extended System-Level Command Functions STX KC Get Configuration This command returns the configuration of the printer. The form of the returned data is similar to that of a printed Configuration Label. This command should be parsed by KEYWORDS, not character positions. Each line is terminated by a CR (0x0d) & LF (0x0a).
  • Page 55: Stx Kc Configuration Set

    Extended System-Level Command Functions STX Kc Configuration Set This command specifies the Power-up Configuration parameter values for the printer and is equivalent to using other system commands followed by the <SOH>U. This command is intended for easily configuring a custom setup, but NOT for dynamic configuration changes.
  • Page 56 Extended System-Level Command Functions Configuration Set Commands Parameter Value / Units / Command Menu Item (or Number) <STX>Kc Parameter Name Pneumonic Range Interpretation (if available) Equivalent Alignment Length 0 – 999 1/100 inch (18) Y = Enabled, Backup After Print Y, N System Settings N = Disabled...
  • Page 57 Extended System-Level Command Functions Parameter Value / Units / Command Menu Item (or Number) <STX>Kc Parameter Name Pneumonic Range Interpretation Equivalent (if available) Resolution specific; see Appendix K, Column Adjust xxx dots Print Control (7) and Column Adjust Fine Tune Column Adjust Fine Resolution specific;...
  • Page 58 Extended System-Level Command Functions Parameter Value / Units / Command Menu Item (or Number) <STX>Kc Parameter Name Pneumonic Range Interpretation Equivalent (if available) Y = Enabled, Comm TOF Commands Y, N Communications N = Disabled Continuous Label Length 0 – 9999 1/100 in.
  • Page 59 Extended System-Level Command Functions Parameter Value / Units / Menu Item (or Number) Command <STX>Kc Parameter Name Pneumonic Range Interpretation Equivalent (if available) Darkness 1 – 64 Print Control D, G Default Module Module Letter System Settings <STX>X A, B Delay Rate 0 –...
  • Page 60 Extended System-Level Command Functions Parameter Value / Units / Command Menu Item (or Number) <STX>Kc Parameter Name Pneumonic Range Interpretation Equivalent (if available) End Character 1 = Low Pulse, 2 = High Pulse, End Of Print 1, 2, 3, 4 Printer Options 3 = Active Low, 4 = Active High...
  • Page 61 Extended System-Level Command Functions Parameter Value / Units / Command Menu Item (or Number) <STX>Kc Parameter Name Pneumonic Range Interpretation Equivalent (if available) Y = Enabled, Feedback Mode Y, N Communications <STX>a N = Disabled 0 = No Substitution 1 = Sub CG Times Font Emulation 0, 1, 2 2 = Sub User S50...
  • Page 62 Extended System-Level Command Functions Parameter Value / Units / Command Menu Item (or Number) <STX>Kc Parameter Name Pneumonic Range Interpretation Equivalent (if available) E = Enabled, GPIO Error Pause E, D Printer Options D = Disabled 0 = Standard, 1 = Low Pulse, GPIO Slew 0 –...
  • Page 63 Extended System-Level Command Functions Parameter Value / Units / Command Menu Item (or Number) <STX>Kc Parameter Name Pneumonic Range Interpretation Equivalent (if available) Y = Enabled, Y, N N = Disabled Ignore Control Codes Communications 1, 0 1 = Enabled, 0 = Disabled 1 = Enabled, Ignore Distances...
  • Page 64 Extended System-Level Command Functions Parameter Value / Units / Command Menu Item (or Number) <STX>Kc Parameter Name Pneumonic Range Interpretation Equivalent (if available) Label Alignment N, A, Y See Table 5-3. Y = Rotate 180 Label Rotation Y, N System Settings N = None F = Fields, Label Store...
  • Page 65 Extended System-Level Command Functions Parameter Value / Units / Command Menu Item (or Number) <STX>Kc Parameter Name Pneumonic Range Interpretation Equivalent (if available) Maximum Length Ignore 0, 1 Normal processing, Communications 1 = Ignore Maximum Length 0 – 9999 1/100 inch Media Settings <STX>M D = Direct,...
  • Page 66 Extended System-Level Command Functions Parameter Value / Units / Menu Item (or Number) Command <STX>Kc Parameter Name Pneumonic Range Interpretation Equivalent (if available) Paper Empty 0 – 9999 1/100 inch Media Settings Paper Value 0 – 255 Media Settings Parallel Direction See Table 5-7.
  • Page 67 Extended System-Level Command Functions Parameter Value / Units / Command Menu Item (or Number) <STX>Kc Parameter Name Pneumonic Range Interpretation Equivalent (if available) Model specific; see Appendix K, Present Adjust xxx dots Print Control (8) and Present Adjust Fine Tune. Dots (model Present Adjust Fine + / –...
  • Page 68 Extended System-Level Command Functions Parameter Value / Units / Command Menu Item (or Number) <STX>Kc Parameter Name Pneumonic Range Interpretation Equivalent (if available) Model specific Print Speed Alpha character ranges; see Print Control Appendix L. Query Configuration Q, K Configuration Label Reflective Paper Value 0 –...
  • Page 69 Extended System-Level Command Functions Parameter Value / Units / Command Menu Item (or Number) <STX>Kc Parameter Name Pneumonic Range Interpretation Equivalent (if available) Y = Enabled, Ribbon Low Pause Y, N Media Settings N = Disabled 3 = Active Low, Ribbon Low Signal 3, 4 Print Options...
  • Page 70 Extended System-Level Command Functions Parameter Value / Units / Command Menu Item (or Number) <STX>Kc Parameter Name Pneumonic Range Interpretation (if available) Equivalent Alphanumeric Save As Filename Up to 16 characters System Settings string Scalable Font Bolding 1 – 36 System Settings Scalable Font Cache 100 –...
  • Page 71 Extended System-Level Command Functions Parameter Value / Units / Command Menu Item (or Number) <STX>Kc Parameter Name Pneumonic Range Interpretation Equivalent (if available) G = Gap (edge), <STX>e, Media Settings (2) Sensor Type G, C, R C = Continuous, <STX>r, R = Reflective <STX>c Communications...
  • Page 72 Extended System-Level Command Functions Parameter Value / Units / Command Menu Item (or Number) <STX>Kc Parameter Name Pneumonic Range Interpretation Equivalent (if available) 3 = Active Low, Start of Print 3, 4 Printer Options 4 = Active High A, H, P, Stop Location See Table 5-10.
  • Page 73 Extended System-Level Command Functions Parameter Value / Units / Menu Item (or Number) Command <STX>Kc Parameter Name Pneumonic Range Interpretation Equivalent (if available) A or Y = Auto, Verifier Equipped A/Y, E, N/D E = Enabled, Printer Options <STX>KV N or D = Disabled Reserved for future Verifier Type A, B, C, D...
  • Page 74 Extended System-Level Command Functions <STX>Kc Parameter Overviews (AL) Alignment Length – This command, critical for small labels when Label Alignment is set to YES, allows a length (measured from leading edge to leading edge of two successive labels) to be entered. The measured length must be provided to the nearest hundredth of an inch.
  • Page 75 Extended System-Level Command Functions (BZ) Buzzer Enable – This command controls the audible signaling device that acknowledges User Interface entries and, if enabled, sounds printer warning and fault conditions. (CA) Column Adjust – This command fine-tunes the Column Offset setting by shifting both the horizontal start of print position and the Label Width termination point to the right in dots (see Appendix K) to compensate for slight mechanical differences sometimes evident when multiple printers share label formats.
  • Page 76 Extended System-Level Command Functions (CH) Communicated Heat Commands – This command causes the printer to ignore DPL Heat commands; instead, the Heat value is controlled via the menu setting. (CL) Continuous Label Length – See <STX>c for command details. (CO) Column Offset – See Cnnnn for command details. (CS) Communicated Speed Commands –...
  • Page 77 Extended System-Level Command Functions (DR) Delay Rate – This command sets the number of minutes to delay between multiple batch printings of Quick Test Labels. (DS) Double Byte Symbol Set – See <STX>y or ySxx for command details. (EM) Input Mode – This command determines the data processing mode: Value Interpretation Input Mode Interpretation...
  • Page 78 Extended System-Level Command Functions (EP) End of Print – This command defines the signal output used to signify the End of Print (EOP) process: Value Units End of Print Interpretation Outputs a low pulse (approximately 30 milliseconds long) Low Pulse following printing.
  • Page 79 Extended System-Level Command Functions (FE) Font Emulation –This command allows font substitution for all internal fonts, allowing a new default font to be defined without changing the host DPL data streams. Selecting a default font that supports a desired character set could match with third party software to print native characters without modifying the PC drivers.
  • Page 80 Extended System-Level Command Functions Units / Value Selection / Definition Interpretation Increases throughput when bar codes reside near the trailing edge of the label (in the direction of FEED). • If unreadable, the fault will occur after the next  label prints.
  • Page 81 Extended System-Level Command Functions (GE) GPIO Equipped – This command is used to interface the printer to external controlling devices (see Appendix J): Units / Value GPIO Enable Definition Interpretation Enables the standard applicator mode, de-asserting DRDY Applicator as soon as last label starts printing, allowing FEED any time, and not de-asserting DRDY when PAUSED.
  • Page 82 Extended System-Level Command Functions (HB) Head Bias – This command instructs the printer to switch the dot zero position, as viewed from the label exit. When dot zero occupies the left-most location on the print head then printing is left justified; and, when dot zero occupies the right-most location, printing is right justified.
  • Page 83 Extended System-Level Command Functions (IL) Imaging Mode – This command instructs the printer whether to pre-image the label format: Units / Value Imaging Mode Definition Interpretation The printer images multiple labels as memory permits, achieving the fastest throughput; however, Multiple Label if time-stamping, the time will reflect the moment the label is imaged rather than when actually printed.
  • Page 84 Extended System-Level Command Functions (LE) Legacy Emulation – This command enables the <STX>O and <STX>f print positioning commands to allow backward compatibility with label formats that were ® ® ® designed for the Allegro Prodigy , and Prodigy Plus (If the printer is Display- ®...
  • Page 85 Extended System-Level Command Functions (MCC) Module Command – This command adjusts the size of Flash module on the optional Expansion Card according to the table below (see Appendix K for appropriate module details): Value Module Command Units / Interpretation Size: 1 – 7 Mbytes. This is the amount to be allocated to Where xx = Module Z;...
  • Page 86 Extended System-Level Command Functions (NE) Network Configuration – (for firmware version 14.00 and later) This command configures the printer for an wired or wireless Ethernet connection. Syntax is: [nnn ,vvvv :nnn ,vvvv :…,nnn ,vvvv :XX[…]YY[…] ]; where: Configuration Group Identifier Group Scope Delimiters Item –...
  • Page 87 Extended System-Level Command Functions Example: <STX>KcNE[G[1,0:2,’sysadm’:]WE[1,N:2,’192.168.10.26’:]WIFI[1,Y::DV1[1,0:]]]; <CR> <STX>Kc This is the beginning of command Network Ethernet group General Network sub-group 1 = Primary Interface Item, 0 = Wired Ethernet Value 2,’sysadm’ 2 = Network Password, followed by string password value Wired Ethernet (802.3) sub-group 1 = DHCP Enabled, N = Boolean Value for Not Enabled 2,’192.168.10.26’...
  • Page 88 Extended System-Level Command Functions General Configuration Parameters – Identifier ‘G’ The ‘G’ sub-group contains network configuration parameters that apply ‘globally’ or ‘generally’ to any ethernet interface used. No sub-groups are currently defined for the ‘G’ sub-group of configuration parameters, only item-value pairs. The ‘Item- Value’...
  • Page 89 Extended System-Level Command Functions 802.3 – Wired Ethernet Configuration Parameters – Identifier ‘WE’ The ‘WE’ sub-group contains network configuration parameters that apply only to the Wired Ethernet (802.3 Specification) ethernet interface. No sub-groups are currently defined for the ‘WE’ sub-group of configuration parameters, only item-value pairs. The ‘Item-Value’...
  • Page 90 The ‘G’ WIFI sub-group contains the configuration parameters that are generally common to ALL WIFI radio modules used by Datamax-O’Neil. These configuration parameters are universally standard within the WIFI realm and are interpreted commonly by the various WIFI radio modules. The ‘Item-Value’ pairs within the ‘G’...
  • Page 91 DPAC Version 1 WIFI Configuration Parameters – Identifier ‘DV1’ The ‘DV1’ WIFI sub-group contains the configuration parameters that are specific to the DPAC Version 1 WIFI radio module used by Datamax-O’Neil. The ‘Item-Value’ pairs within the ‘DV1’ sub-group of the ‘WIFI’ sub-group are defined by the following...
  • Page 92 DPAC Version 2 WIFI Configuration Parameters – Identifier ‘DV2’ The ‘DV2’ WIFI sub-group contains the configuration parameters that are specific to the DPAC Version 2 (Veyron) WIFI radio module used by Datamax-O’Neil. The ‘Item- Value’ pairs within the ‘DV2’ sub-group of the ‘WIFI’ sub-group are defined by the...
  • Page 93 SILEX Version 1 WIFI Configuration Parameters – Identifier ‘SV1’ The ‘SV1’ WIFI sub-group contains the configuration parameters that are specific to the SILEX Version 1 WIFI radio module used by Datamax-O’Neil. The ‘Item-Value’ pairs within the ‘SV1’ sub-group of the ‘WIFI’ sub-group are defined by the following...
  • Page 94 Extended System-Level Command Functions (NT) Network Setup – (for firmware version 13.99 and earlier) This command configures the printer for an Ethernet connection. Value Parameter Interpretation Default Value Is the transmission interval for Gratuitous ARP, where: x = The interval, 0 – 2048, in minutes DMX_[and the last Is Network Bios Name, where: 3 octets (in...
  • Page 95 Extended System-Level Command Functions Value Parameter Interpretation Default Value Is the IP Address, where: xxx.xxx.xxx.xxx 192.168.010.026 x = 0 to 9 Is MTU packet size, where: 1500 x = a range, 512 – 65515, in bytes Is the SNMP Trap Address, where: xxx.xxx.xxx.xxx 000.000.000.000 x = 0 to 9...
  • Page 96 Extended System-Level Command Functions Value Parameter Interpretation Default Value Is the DNS2 Address, where: xxx.xxx.xxx.xxx 000.000.000.000 x = 0 to 9 Sets the webpage password, where: xxxxxx sysadm x = alphanumeric characters * Prior to the introduction of WiFi, 192.0.0.192 was the IP default value and the Subnet Mask was 0.0.0.0.
  • Page 97 Extended System-Level Command Functions (NS) Disable Symbol Set Selection – This command prevents the <STX>y and y commands from changing the default single-byte symbol set. When enabled, DPL Symbol Set commands are ignored.  When enabled, the only way to change the current symbol set is with the <STX>KcAS command.
  • Page 98 <R;C;01;01;0012:0001;446174616D61782077726974657320524649442062657374> [CR] Read hexadecimal response example: <R;C;01;01;0013:0001;446174616D61782077726974657320524649442062657374> [CR] Write/Verify ASCII response example: <R;C;01;01;0012:0001; Datamax writes RFID best >[CR] Read ASCII response example: <R;C;01;01;0013:0001; Datamax writes RFID best >[CR] Scanner response samples: A successfully read label example: <S;C;03;03;0002:0001;DATA1;DATA2;DATA3>[CR] A failed label, successfully retried: <S;F;02;01;0002:0001;DATA1>[CR]...
  • Page 99 Extended System-Level Command Functions (PA) Present Adjust – This command fine-tunes the Present Distance setting in dots to compensate for slight mechanical differences sometimes evident if multiple printers share label formats. The EX2 accepts this command for backward compatibility only, limited in range (28-228). <STX>KcQQQ response shows the Present Adjust Fine Tune (PJ) equivalent value.
  • Page 100 Extended System-Level Command Functions (PO) Paper Empty – This command sets the length of travel before an out of stock condition is declared. (PP) Parallel Direction – This command controls the parallel port communications settings: Value Parallel Direction Units / Interpretation x = Port ID: A or B z = Direction: U (unidirectional –...
  • Page 101 Extended System-Level Command Functions (PV) Paper Value – This command sets threshold value for the media sensor’s “paper” parameter. (PW) Password Set – This command modifies the numeric password required to access the menu when security is enabled. If security is enabled, enter the new password followed by the old password (with no spaces) in this form: XXXXXXXX ...
  • Page 102 Extended System-Level Command Functions (RI) RFID Configuration – This command configures the optional RFID interface module, as follows: Value Units / Interpretation RFID Configuration Definition / Function where hh: 2-Chararacter Hex ID Sets the Application Family Identifier (AFI), HF only. AIhh E = Enable, and where n:...
  • Page 103 Extended System-Level Command Functions Value Units / Interpretation RFID Configuration Definition / Function 64 = 64-bit where n: Sets the UHF tag data size (Multiprotocol UHF only). 96 = 96-bit Sets the tag encoding position: A value of 0.00 causes the print position to be where xxx: 3-Digit Value used;...
  • Page 104 Extended System-Level Command Functions (RL) Ribbon Low Diameter – This command sets the threshold for a low ribbon indication, where nnnn is the diameter in hundredths of inches. (RM) Rewinder Equipped – This command allows the printer to sense the powered internal rewind option.
  • Page 105 Extended System-Level Command Functions (SA) SOP Adjust – This command sets the start of print (SOP) location, relative to the top of form. See <STX>O for command details. The EX2 accepts this command for backward compatibility only, limited in range (28-228). (SC) Scalable Cache –...
  • Page 106 Extended System-Level Command Functions (Sl) Security Lock – This command provides the ability to password-protect the User Interface, as follows: Value Security Function Where xxxx is the current password, this disables Menu protection. Nxxxx Where xxxx is a new password, this enables Menu protection and sets a new Yxxxx password.
  • Page 107 Extended System-Level Command Functions (SM) Maximum (Label) Length Ignore – This command controls recognition of the <STX>M command. (SN) Scanner Configuration – This command configures the linear scanner, as follows: Values Scanner Configuration Range / Interpretation Bar Code Type – Specifies the bar code, using two digits, followed by “Y” (to enable) or “N”...
  • Page 108 Extended System-Level Command Functions Values Scanner Configuration Range / Interpretation Redundancy Level – An alternative data integrity method, where the selected level sets the number of consecutive, identical decodes required to pass the bar code. If differing values are read, the count is restarted, where: 0 = Auto Mode 1 = read code 1X 2 = read code 2X...
  • Page 109 Extended System-Level Command Functions (SP) Serial Port – This command configures the serial communication port(s) as follows: Value Serial Port Range / Interpretation Where: x = Port Identifier: y = Function: z = Setting A - Serial A P - Handshaking Protocol B - both B - Serial B...
  • Page 110 Extended System-Level Command Functions (SS or sS) Feed Speed – This command controls the rate of label movement between printing areas; see Appendix L. (ST) Sensor Type – See <STX>e (edge) or <STX>r (reflective) for command details. (For non-display models also see the <STX>KD command.) (SV) Switch Settings –...
  • Page 111 Extended System-Level Command Functions (UM) Units of Measure – See <STX>m (metric) or <STX>n (imperial) for command details. (UT) User Terminator – This command allows word wrapping of long character strings of commands to the next line in a file, for the purposes of readability only. In the <STX>Kc string, the command UTON must fall somewhere before the first line terminator.
  • Page 112 Extended System-Level Command Functions Value Parameter WiFi Interpretation Default Value Is the maximum transmission rate, where x: 0 = 1 Mbps 1 = 2 Mbps 2 = 5.5 Mbps 3 = 11 Mbps Is the client name, where: y = Up to 31 characters, no spaces Is the WEP Access Point Density, where 0 = Low 1= Medium...
  • Page 113 Extended System-Level Command Functions (WS) WiFi Security – This command configures WiFi security. Value Parameter WiFi Interpretation Default Value Is the WEP Key, where x: 1 = WEP Key 1 2 = WEP Key 2 3 = WEP Key 3 4 = WEP Key 4 (See Note 1) And where y:...
  • Page 114: Stx Kd Database Configuration

    Extended System-Level Command Functions STX KD Database Configuration (Non-Display Models only) This command, stored in Flash memory for future power-ups, controls the printer’s environment and operates as a pseudo DIP switch. The <STX>Kc command is recommended for use over <STX>KD. Syntax: <STX>KDwxyz<CR>...
  • Page 115: Stx Kd Set File As Factory Default

    Extended System-Level Command Functions STX Kd Set File as Factory Default This command selects the specified file name as the “factory default” configuration. After execution, subsequent “Select Factory Default” commands will configure the printer to this file’s configuration using one of the following methods: •...
  • Page 116 Extended System-Level Command Functions The sample above disables, and then enables character encoding with the backslash (\) as the delimiter. A UPS MaxiCode will be formatted using a data string interpreted as follows: [)> <CR> then formatting is terminated. Character Encoding Syntax: This syntax requires at least two hexadecimal ASCII digits (0-9, A-F) delimited by the character specified in the <STX>KE command.
  • Page 117: Stx Kf Select Factory Defaults

    Extended System-Level Command Functions STX KF Select Factory Defaults This command restores the configuration of the printer to the factory default settings. These settings may be default values or the values previously specified by a configuration file (see <STX>Kd). Syntax: <STX>KFn<CR>...
  • Page 118: Stx Kh Dot Check

    Extended System-Level Command Functions STX KH Dot Check (H-Class & M-Class Mark II only) This command specifies dot check operations for the printhead elements. Syntax: <STX>KHx<CR> Where: - Specifies the operation, where: P = Performs dot check; A = Returns the most recent dot check and dot resistance results;...
  • Page 119: Stx Kj Assign Communication Port (Mcl)

    Extended System-Level Command Functions Sample: <STX>KHB<CR> The sample above returns results from the last dot check for the number of elements tested, the number of the bad or suspect dot(s), the total number of bad or suspect dots, and the minimum, maximum, and average resistance and variance: DOTCHECK RESULTS DOTS TESTED GOOD 830 OF 832...
  • Page 120: Stx Ki Gpio Input

    Extended System-Level Command Functions STX KI GPIO Input This command configures the GPIO input channels of the Applicator Interface Card; see Appendix J for details. Syntax: <STX>KIffnspwww<CR> Where: - 2 character function name abbreviation (e.g., PS [Print Start], I1 [User Input 1], etc). - Pin number, where 1 –...
  • Page 121: Stx Ko Gpio Output

    Extended System-Level Command Functions STX KO GPIO Output This command configures the GPIO outputs of the Applicator Interface Card; see Appendix J for details. Syntax: <STX>KOffnsptd0pw0td1pw1<CR> Where: 2 character function name abbreviation (e.g., LC [Label Complete], LM [Label Movement], etc). Pin number, where 1 –...
  • Page 122: Stx Kp Module Protection

    Extended System-Level Command Functions STX Kp Module Protection This command controls memory module protection. When “protected”, a module will ignore format, downloads and delete commands. This command can be useful to add data to reserved modules (see Appendix K for a listing of the memory modules). There are two module types: RAM (volatile) and Flash (non-volatile).
  • Page 123: Stx Kq Query Memory Configuration

    Extended System-Level Command Functions STX KQ Query Memory Configuration This command causes the printer to transmit, in a model-dependent format, its memory configuration (i.e., total amount installed, amount available for configuration, and amount currently assigned to specific functions or entities) to the host device. Syntax: <STX>KQ<CR>...
  • Page 124 Extended System-Level Command Functions Display-Equipped model response format: Product: I4208 – 01.01 05/21/1999 Installed RAM: 8 MB Label Width: 4.09 IN Print Buffer Size: 272 IN Allocation RAM: 6389 KB Internal Files: 512 KB Font Cache: 232 KB Where: - Printer model, type, and firmware version. Product - Total amount of RAM.
  • Page 125: Stx Kq Query Memory Configuration

    Extended System-Level Command Functions STX Kq Query Memory Configuration This command causes the printer to transmit its internal DRAM memory configuration to the host device. The transmitted data provides information regarding the total amount of internal DRAM installed, the amount available for configuration, and the amount currently assigned to specific functions or entities.
  • Page 126: Stx Kr Reset Memory Configuration

    Extended System-Level Command Functions STX KR Reset Memory Configuration This command resets the printer’s DRAM configuration to the default settings; see <STX>KM. Syntax: <STX>KR<CR>  This command will result in a system reset for the EX2. STX Kr Resettable Counter Reset This command resets the internal counters.
  • Page 127: Stx Ktd Write Data Storage Format Identifier (Dsfid) To Tag

    Extended System-Level Command Functions STX KtA Write Application Family Identifier (AFI) to Tag (Direct Mode – HF [13.56 MHz] ISO15693 Tag Interface) This command writes the AFI data to the tag. Syntax: <STX>KtAabcc Where: - The number of retry attempts, 0-9. - Lock the Application Family Identifier (AFI) after writing: 0 = No Protection 1 = Write Protect...
  • Page 128: Stx Kte Write Electronic Article Surveillance (Eas) Bit

    Extended System-Level Command Functions STX KtE Write Electronic Article Surveillance (EAS) Bit (Direct Mode – HF [13.56 MHz] ISO15693 Tag Interface) This command writes the EAS bit for Philips ISO tags. Syntax: <STX>KtEabcc Where: - The number of retry attempts, 0-9. - Electronic Article Surveillance (EAS) option: 0 = Set EAS 1 = Reset EAS...
  • Page 129: Stx Ktr Read Data From Rfid Tag

    Extended System-Level Command Functions STX KtR Read Data from RFID Tag (Direct Mode – HF [13.56 MHz] ISO15693 Tag Interface) This command instructs the RFID device to read data from the tag and then put that data into a replaceable field. It is expected that the tag transponder will be within the read / write distance of the RFID programming device;...
  • Page 130 Extended System-Level Command Functions STX KtU Read Unique Serial Number from RFID Tag (Direct Mode – HF [13.56 MHz] ISO15693 Tag Interface) This command instructs the RFID device to read the unique serial number data from the tag and then place that data into a replaceable field. It is expected that the tag transponder will be within the read / write distance of the RFID programming device;...
  • Page 131: Stx Ktw Write Data To Rfid Tag

    Extended System-Level Command Functions STX KtW Write Data to RFID Tag (Direct Mode – HF [13.56 MHz] ISO15693 Tag Interface) This command instructs the RFID device to write data to the tag. It is expected that the tag transponder will be within the read / write distance of the RFID programming device; otherwise, a warning will occur and a warning message (Read / Write Fail) will be displayed.
  • Page 132: Stx Kub Read Data From Gen2 Tag Section

    Extended System-Level Command Functions STX KuB Read Data from Gen2 Tag Section This command reads a specific block address of a Gen2 tag. Syntax: <STX>KuBaaabbb Where: - Block address number, where: 000 is kill/access section; 001 is EPC section; 002 is Tag ID; and, 003 is user memory.
  • Page 133: Stx Kur Read Data From Rfid Tag

    Extended System-Level Command Functions STX KuR Read Data from RFID Tag (Direct Mode – UHF Interface – Hexadecimal Data Only) This command instructs the RFID device to read data from the tag and then place that data into a replaceable field. It is expected that the tag transponder is within the read / write distance of the RFID programming device;...
  • Page 134: Stx Kuw Write Data To Rfid Tag

    Extended System-Level Command Functions STX KuW Write Data to RFID Tag (Direct Mode – UHF Interface – Hexadecimal Data Only) This command instructs the RFID device to write data to the tag. It is expected that the tag transponder will be within the read / write distance of the RFID programming device; otherwise, a warning will occur and a warning message (Read / Write Fail) will be displayed.
  • Page 135: Stx Kx Delete Configuration File

    Extended System-Level Command Functions STX Kx Delete Configuration File This command deletes a configuration file. Syntax: <STX>KxmName<CR> Where: - Valid Module ID – Range A to Z. - The name, up to 16 characters, of the configuration Name file. - 0x0d terminates the name. <CR>...
  • Page 136 Extended System-Level Command Functions Class Series 2 Programmer’s Manual...
  • Page 137 Label Formatting Command Functions Introduction The <STX>L command switches the printer from the System-Level Processor to the Label Formatting Processor. All commands following the <STX>L are interpreted as label formatting commands, and can be used to override default parameter values. Selectable parameter value defaults may be also reassigned via the Setup Menu, as defined in the corresponding Operator’s Manual.
  • Page 138: Set Format Attribute

    Label Formatting Command Functions Set Format Attribute This command specifies the type of format operation and remains in effect until another format command is specified or another label format has begun (<STX>L). Each label format defaults to Attribute 2 (Transparent Mode). Syntax: Where: - Is attribute mode 1, 2, 3, or 5;...
  • Page 139: Bar Code Magnification

    Label Formatting Command Functions Bar Code Magnification This command provides a mechanism to specify bar codes greater than 36 dots (0 - 9, A - Z in the field record). The value is reset to 1 at the start of every label and stays active for the entire label or set to a new value.
  • Page 140: Set Dot Size Width And Height

    Label Formatting Command Functions Set Cut by Amount This command is the same as the “:” command except only a two-digit value can be entered. This command allows a predetermined number of labels to be printed before a cut is initiated. 1 to 99 labels may be printed before a cut is made. Syntax: Where: - Is a two-digit number indicating the number of labels...
  • Page 141: Terminate Label Formatting Mode And Print Label

    Label Formatting Command Functions Terminate Label Formatting Mode and Print Label This command causes the printer, when the processing Label Formatting commands, to terminate the Label Formatting Mode then generate, print, and feed a label. The label generated will be based on whatever data has been received to that point, even if no printable data has been received.
  • Page 142: Place Data In Global Register

    Label Formatting Command Functions Set Present Speed (Non-Display Models only) This command controls the rate at which the present distance is positioned, allowing the media movement to be slowed during “presentation” (the distance traveled after printing is completed to the label stop position). This command is used only within the context of a label format.
  • Page 143: Enter Heat Setting

    Label Formatting Command Functions Enter Heat Setting This command changes the “on time” of elements of the print head. The default setting is 10 (except in the case of printers with a menu, where the default setting can be changed through the keypad). An increase or decrease in this value results in a change of heat applied by the print head to the media, lightening or darkening the print contrast accordingly.
  • Page 144: Select Mirror Mode

    Label Formatting Command Functions Select Mirror Mode This command instructs the printer to “mirror” all subsequent print field records, producing fields that are transposed visually. Syntax: Sample: <STX>L 161100003200010 NOT MIRRORED<CR> M<CR> 161100003000400 MIRRORED<CR> Printed Result: Set Metric Mode This command sets the printer to measure in metric. When this command is sent, all measurements will be interpreted as metric values, (e.g., a column offset of 0010 will be interpreted as 1.0 mm).
  • Page 145: Set Print Speed

    Label Formatting Command Functions Set Print Speed This command sets a print speed for a label or batch of labels. Syntax: Where: - Is a single character representing a speed; see Appendix L for valid ranges. Sample: <STX>L 141100001000100LABEL1<CR> <STX>L 141100001000100LABEL2<CR>...
  • Page 146: Set Quantity Of Labels To Print

    Label Formatting Command Functions Set Quantity of Labels to Print This command sets the number of the label copies to be printed. A one to five digit value is allowed, if the command is delimited by a carriage return <CR>. This permits host applications to generate label quantity commands without the need to pad leading zeros.
  • Page 147: Recall Stored Label Format

    Label Formatting Command Functions Recall Stored Label Format This command is used to retrieve label formats stored on a memory module. Embedding recalled labels, up to 6 levels of nesting, within a recall label is also possible. Syntax: rnn...n Where: - Is a label name, up to 16 characters in length.
  • Page 148 Label Formatting Command Functions Set Feed Speed This command controls the rate at which the label is moved through non-printed areas. The setting remains unchanged unless another feed speed command is received or until the printer is reset. Syntax: Where: - Is a single alpha character representing a speed;...
  • Page 149: Set Field Data Line Terminator

    Label Formatting Command Functions Set Field Data Line Terminator This command, intended for use with record types that accept binary data (e.g., PDF417), allows binary control codes (e.g., a carriage return) to be embedded in the printed data by setting an alternate data line terminator. Valid only for the next format record, the terminator then defaults back to the carriage return.
  • Page 150: Terminate Label Formatting Mode

    Label Formatting Command Functions Terminate Label Formatting Mode This command causes the printer, when in label formatting mode, to immediately switch to the system command mode and generate a label format based on the data received at that point. However, unlike the “E” command, it will not print a label. (Other termination commands are the “E”...
  • Page 151: Make Last Field Entered Increment

    Label Formatting Command Functions Zero (Ø) Conversion to “0” This command removes the slash zero in fonts 0 to 8, and in the human readable field (if any) of the bar codes A to Z. The command applies only to format records containing those fonts and bar codes, and is effective only for the label format in which it appears.
  • Page 152: Make Last Field Entered Decrement

    Label Formatting Command Functions Embedding Numeric strings for incrementing may also be embedded between alphabetic characters (e.g., when systems require alphanumeric bar codes with alphabetic prefixes or suffixes). Sample: <STX>L<CR> 161100000100010AB0001CD<CR> + 100<CR> Q0003<CR> E<CR> The sample above will print three labels, incrementing 0001 by 1 on each label with AB and CD remaining untouched: AB0001CD, AB0002CD, AB0003CD.
  • Page 153: Set Count By Amount

    Label Formatting Command Functions Embedding Numeric strings for decrementing may also be embedded between alphabetic characters (e.g., when systems require alphanumeric bar codes with alphabetic prefixes or suffixes). Sample: <STX>L<CR> 1611000001000101000CD<CR> - 100<CR> Q0003<CR> E<CR> The sample above will print three labels: 1000CD, 999CD, and 998CD.
  • Page 154: Special Label Formatting Command Functions

    Label Formatting Command Functions Special Label Formatting Command Functions Two Special Label Formatting Commands, the <STX>S and the <STX>T, are entered directly into the data field of label format records. (Do not confuse them with System-Level Commands because the same control character is used.) If alternate control codes are enabled the <STX>...
  • Page 155 Label Formatting Command Functions String String Print Values Print Values Characters Markers Week Day (Mon = 1, Sun = 7) 24-hour time format Day Name 12-hour time format Month Number Minutes Month Name Seconds GH...O AM or PM Year Julian Date RSTU Table 6-3: Time and Date String Characters and Markers ...
  • Page 156 Label Formatting Command Functions Class Series 2 Programmer’s Manual...
  • Page 157: C###D Assign Font Id Number

    Font Loading Command Functions Introduction The commands used for font loading are usually generated by font creation software; however, the assigned font ID number command must be sent to the printer before the font file. All Font Loading Commands begin with <ESC> (ASCII control character 27 [decimal]). The downloaded font will be stored in the default module (refer to the <STX>X command) as file type .dbm.
  • Page 158: S###W Font Descriptor

    Font Loading Commands )s###W Font Descriptor This command (typically first data in a font file) contains all of the information about the font contained in the file. Different font generation software will create different length header information, but the initial 64 bytes will remain consistent with the PCL-4 (HP LaserJet II) format.
  • Page 159: Format Record Commands

    Generating Label Formats Introduction This section explains the use of the different fields in a print format record. Format Record Commands Received label format data (see example below) is processed by the printer sequentially, left to right and top to bottom. String Sent Interpretation Begin label format...
  • Page 160: Generating Records

    Generating Label Formats The first line in the sample format (Table 8-1) is the System-Level Command directing the printer to begin label formatting. (Other System-Level Commands may precede the <STX>L for printer setup.) Lines 2, 14, and 15 are Label Formatting Commands. Line 15 is the exit and print command.
  • Page 161 Generating Label Formats The record (with spaces added for readability) conforms to the following fixed field format. Identifying lower case letters have been placed below field values for reference in the following sections: 1 2 1 1 0005 0005 HOME POSITION <CR>...
  • Page 162 Generating Label Formats The Header Fields Each of the fields in the record header is generally described below. Please reference the detailed descriptions under Record Structure Types for variations. The field name titles of the following paragraphs are preceded with a reference letter from Table 8-3. All characters sent to the printer within the header fields are ASCII, alphanumeric.
  • Page 163 Generating Label Formats c: Width Multiplier Values 1-9, A-Z, and a-z represent multiplication factors from 1 – 61, respectively. For human-readable fonts, the width multiplier represents the number of times the selected font dot tables are multiplied and has no effect on the character height. For bar codes, this character specifies the wide bar width or ratio at a resolution that is dependent upon the printer model.
  • Page 164: Record Structure Types

    004 to 999 points. To specify the size in dots, all four characters must be numeric. This field must be specified for scalable fonts. See note below. To ensure that the data stream is portable to other Datamax-O’Neil printers, specify ...
  • Page 165 Generating Label Formats 1: Internal Bitmapped Fonts This record type is used for internal bitmapped fonts (see Appendix C, Tables C-1 through C-5). When a 0 through 8 is entered in field b, then the height field eee is not used. The bitmapped fonts include 8 different fonts (see Appendix C).
  • Page 166 Generating Label Formats Field Valid Inputs Meaning 000 to 999 (000 to 099 Reserved), A04 to A72, x04 – x72, Font / Size Where x is an upper case letter; see Appendix H. 0000 to 9999 ffff 0000 to 9999 Dependent upon printer. See Appendix K. Column gggg Valid ASCII character string up to 255 characters followed by a...
  • Page 167 Generating Label Formats Character size (dots) Print head Resolution (DPI) Width Height 16-2817 16-2817 14-4163 16-4163 22-5550 22-5550 33-8325 33-8325 Table 8-9: Scalable Character Size Ranges  A scalable font cache must be allocated to print. Minimum cache size is 15. The double byte fonts require five units of additional cache.
  • Page 168 Generating Label Formats Field Valid Inputs Meaning 001 to 999 Symbol Height 0000 to 9999 ffff See Appendix K. Column gggg Valid ASCII character string up to 255 characters followed Data jj…j by a termination character. Table 8-10: Bar Code Record Structure Placing 0 (zero) in both c and d will result in the default bar code ratio or module ...
  • Page 169 Generating Label Formats Lines and Boxes Lines and boxes are drawn by values that determine column and row starting position, length, width, and wall thickness of the line or box (see Appendix K). Depending on the printer’s mode, all measurements are interpreted as inches/100 or millimeters/10 (see <STX>m).
  • Page 170 Generating Label Formats Polygons Polygons are created by defining the positions of the corners, specifying a number of data points that represent the vertices of the object, which can range from a simple line (two points), or a triangle (three points), to any free-form outline.
  • Page 171 Generating Label Formats Rotation (must be 1) Column of the center point cccc Graphic field Circle ID (Fixed Value) Fixed Value (001) Multiplier (must be 1) Fixed Value (0001) Multiplier (must be 1) bbbb Fill pattern number Radius of the circle rrrr Row of the center point Termination character...
  • Page 172 Generating Label Formats Examples (with spaces added for readability): 1: Triangle The record: 1 X 11 000 0010 0010 P 001 0001 0040 0025 0010 0040<CR> Produces a triangle with no fill pattern: (row 0040, column 0025) (row 0010, column 0010) (row 0010, column 0040) 2: Rectangle with Fill The record:...
  • Page 173 Generating Label Formats Advanced Format Attributes Two different advanced formatting attributes extend the text presentation capabilities. The first format attribute allows a set of label format records to make a state change that modifies the font attributes of any following DPL text records. The second format attribute provides a means of inserting text and font formatting commands directly into the DPL data stream via a command delimiter structure.
  • Page 174 Generating Label Formats <STX>L 1911S0102600040P018P018Old DPL World 1911S0102000040P018P018Old DPL World 1911S0101400040P018P018Old DPL World 1911S0100800040P018P018Old DPL World 1911S0100200040P018P018Old DPL World Figure 1 If the DPL format is modified as follows, the resulting label (Figure 2) is printed: <STX>L 1911S0102600040P018P018New DPL World FU+I+ 1911S0102000040P018P018New DPL World FI-U+B-...
  • Page 175 Generating Label Formats <STX>L 1911S0105000020P018P018DPL allows \<FP36FS36>FONT\<FS10FP10> sizes \<FS8FP12>in the string 1911S0103500100P018P018\<FR80>D\<FR-5>P\<FR-5>L\<FR-5> \<FR-5>l\<FR- 5>e\<FR->t\<FR-5>s\<FR-5> \<FR-5>y\<FR-5>o\<FR-5>u\<FR-5> \<FR-5>w\<FR- 5>r\<FR-5>i\<FR-5>t\<FR-5>e\<FR-5> \<FR-5>i\<FR-5>n\<FR-5> \<FR-5>c\<FR- 5>i\<FR-5>r\<FR-5>c\<FR-5>l\<FR-5>e\<FR-5>s\<FR-5> \<FR-5>t\<FR-5>o\<FR- 5>o\<FR-5>! 1911S0102400040P018P018\<FR+45>DPL allows \<FB+>Rotations\<FB-FR-90> in the string 1911S0102000040P018P018DPL allows \<FB+>BOLD\<FB-> in the string 1911S0101400040P018P012DPL allows \<FI+>ITALICS\<FI-> in the string FI+U- 1911S0101000040P018P012DPL allows \<FB+I+>COMBINATIONS\<FB-I->...
  • Page 176 Generating Label Formats Class Series 2 Programmer’s Manual...
  • Page 177: Appendix A

    Appendix A ASCII Control Chart Char Char Char Char Ctrl @ Ctrl A Ctrl B “ Ctrl C Ctrl D Ctrl E Ctrl F & Ctrl G Ô Ctrl H Ctrl I Ctrl J Ctrl K Ctrl L Ctrl M Ctrl N Ctrl O Ctrl P...
  • Page 178 XOFF =Ctrl S (DC3) • The Euro currency character ( ) has been added to the table above at 255 (FF) as a Datamax-O’Neil standard for resident bitmapped fonts 0,1,2,3,4,5,6, and 9 (CG Triumvirate). Class Series 2 Programmer’s Manual...
  • Page 179: Appendix B

    Appendix B Sample Programs “C” Language Program The following sample “C” program is included for reference. Figure B-1 shows the output generated by this program.   DMX SERIES Sample C program # include <stdio.h> main ()  char pcs = “590”; ...
  • Page 180 Appendix B – Sample Programs ASCII text file The following ASCII text file will also generate the label shown in Figure B-1. 19110080100002510K OHM 1/4 WATT<CR> 1a6210000000050590PCS<CR> E<CR> VB Application Generating DPL The following sample is a Visual Basic program that displays a database record on the screen.
  • Page 181 Comm1.PortOpen = 0‘Close down the serial port End Sub VB Application interfacing via Windows Driver Create a form similar to the one shown here. VERSION 5.00 Begin VB.Form Form1 Caption “Datamax Test Print” ClientHeight 1065 ClientLeft ClientTop ClientWidth 2325 LinkTopic “Form1”...
  • Page 182 Dim I As Integer ‘Used for the font list ‘ search for printer queue name / driver name For Each X In Printers If X.DeviceName = “Datamax I-4206” Then ‘printer found ‘ Set printer as system default. Set Printer = X For I = 0 To Printer.FontCount - 1...
  • Page 183 This is a sample Visual Basic program that checks for any printer driver attached to “LPT1”. If one is installed then a DPL file can be printed via the print driver. **Note that this does not have to be a Datamax-O’Neil DPL print driver. DPL is created by the application and sent to LPT1.
  • Page 184 Appendix B – Sample Programs Left 1635 _ExtentX _ExtentY _Version 393216 Begin VB.CommandButton cmdClose Cancel ‘True Caption “Close” Height Left 2400 TabIndex Width Begin VB.CommandButton cmdStoreImage Caption “Print” Default ‘True Height Left TabIndex Width Begin VB.TextBox txtFile Height Left TabIndex Width 3492 Begin VB.Label Label1...
  • Page 185 Appendix B – Sample Programs #If Win32 Then Private Type DOC_INFO_1 pDocName As String pOutputFile As String pDatatype As String End Type #End If ‘WIN32 Types ‘********************************** ‘** Function Declarations: #If Win32 Then Private Declare Function OpenPrinter& Lib “winspool.drv” Alias “OpenPrinterA” (ByVal pPrinterName As String, phPrinter As Long, ByVal pDefault As Long) ‘...
  • Page 186 Appendix B – Sample Programs MsgBox “You must Open a file to send”, vbExclamation Exit Sub End If ‘ Open file. f1 = FreeFile Open loadfile For Binary As f1 ‘ Open printer for printing res& = OpenPrinter(SelPrinter, hPrinter, 0) If res = 0 Then MsgBox “Unable to open the printer”...
  • Page 187 Appendix B – Sample Programs End Sub Private Sub open_Click() CommonDialog1.ShowOpen loadfile = CommonDialog1.FileName txtFile.Text = loadfile End Sub Private Sub Printer_Click() CommonDialog1.ShowPrinter End Sub This will create the form pictured below:  ® It may be necessary to remove and reinsert the common dialog control due to Windows registry issues.
  • Page 188 Appendix B – Sample Programs Class Series 2 Programmer’s Manual...
  • Page 189: Appendix C

    Appendix C Available Fonts – Sizes, References, and Samples All character bitmapped fonts available on the printers are described in this section. Each font has a name (Font ID) associated with it for use in programming. Use the Font Number (in the left column of Table C-1) in field b of the Format Record header to cause the printer to use the corresponding font.
  • Page 190 Appendix C – Available Fonts Font sizes are dependent upon the print head resolution of the printer used. The tables below contain a listing of the font sizes by resolution with dimensions given in dots. Font Height Width Spacing Point Size Font 0 Font 1 Font 2...
  • Page 191 Appendix C – Available Fonts Font Height Width Spacing Point Size Font 0 Font 1 Font 2 Font 3 Font 4 12.7 Font 5 18.5 Font 6 22.8 Font 7 11.3 Font 8 Table C-5: Font Sizes @ 600 DPI Resolution Internal Smooth Font 9 (Smooth Font) Point Size Specifiers Label format records with font code 9 (in Format Record header field b) can specify any of the font sizes in the leftmost column of the table below.
  • Page 192 Appendix C – Available Fonts Internal Bitmapped and Smooth Font Samples The identifying number is used in the Format Record header field b to cause the printer to use the corresponding font.  The Euro currency character ( ) has been added to Fonts 0 – 6. 0: Identifies a 96-character alphanumeric font, uppercase and lowercase.
  • Page 193 Appendix C – Available Fonts 5: Identifies a 62-character alphanumeric upper case font. 6: Identifies a 62-character alphanumeric uppercase font. 7: Identifies a font that prints OCR-A, size I. 8: Identifies a font that prints OCR-B, size III. Class Series 2 Programmer’s Manual...
  • Page 194 Appendix C – Available Fonts 9: Identifies the Internal CG Triumvirate font. Point sizes are selected by the number in the Format Record header eee height field; see Table C-6. Class Series 2 Programmer’s Manual...
  • Page 195: Appendix D

    Appendix D Reset Codes The most common transmitted error codes are: Uppercase “R” This code is sent every time the printer is turned “On,” signaling a hardware reset. Uppercase “T” This code signals a software reset. A software reset is made by sending the command sequence to the printer or by performing a reset using the front panel keys.
  • Page 196 Appendix D – Reset Codes Class Series 2 Programmer’s Manual...
  • Page 197: Appendix E

    Appendix E Single Byte Symbol Sets The following tables include some of the sixty-six standard symbol sets. Not all of these symbol sets can be used with every font. Symbol sets containing the Euro currency character are W1, WE, WG, WL, WT, WR, and PM; see Appendix I, and the <STX>y command.
  • Page 198 Appendix E – Single Byte Symbol Sets (E1) ISO 8859/1 Latin 1 Symbol Set “ & ‘ < > ‘ ▒ ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ® ¯ ° ± ² ³ ´ µ...
  • Page 199 Appendix E – Single Byte Symbol Sets (E5) ISO 8859/5 Latin 5 Set “ & ‘ < > ‘ ▒ ¡ ¢ £ ¤ ¥ ¦ § ¨ ª « ¬ ¯ º ± ² ³ ´ µ ¶ · ¸...
  • Page 200 Appendix E – Single Byte Symbol Sets (LG) Legal Symbol Set “ & ‘ ¢ ° § ¶ † ™ ▒ (MC) Macintosh Symbol Set “ & ‘ < > Ä Å Ç É Ñ Ö Ü á à â ä...
  • Page 201 Appendix E – Single Byte Symbol Sets (PD) PC-8 D/N, Code Page 437N Symbol Set   ♂ ♀ ♫   ¶ § ↨   ▬ ∟ “ & ‘ < > ⌂ Ç ü é â ä à...
  • Page 202 Appendix E – Single Byte Symbol Sets (PM) PC-850 Multilingual Symbol Set (Default Symbol Set)       ♂ ♀  ¶ §       ▂ “ & ‘ ‚ ¨ · < >...
  • Page 203 Appendix E – Single Byte Symbol Sets (R8) Roman-8 Symbol Set “ & ‘ < > ‘ ▒ À Â È Ê Ë Î Ï ΄ ˆ “ ˜ Ù Û £ Ý ý º Ç ç Ñ ñ ¡ ¿...
  • Page 204 Appendix E – Single Byte Symbol Sets (TS) PS Text Symbol Set “ & ‘ < > ¡ ¢ £ ¥ ƒ § ¤ ‘ “ « ‹ › fi fl † ‡ · ¶ • „ “ » … ‰...
  • Page 205 Appendix E – Single Byte Symbol Sets (VI) Ventura International Symbol Set “ & ‘ < >  □ ⊔ ■ „ À Â È Ê Ë Î Ï ™ ‹ › Ú Û ‰ “ “ º Ç ç Ñ...
  • Page 206 Appendix E – Single Byte Symbol Sets (W1) Windows 3.1 Latin 1 Symbol Set “ & ‘ < > ▒ € ‚ ƒ „ … † ‡ ˆ ‰ Š ‹ Œ ‘ ‘ “ “ • – — ˜ ™...
  • Page 207 Appendix E – Single Byte Symbol Sets (WO) Windows 3.0 Latin 1 Symbol Set “ & ‘ < > ˜ ▒ ’ ¡ ¢ £ ¤ ¥ ¦ § ¨ ª « ¬ ¯ ° ± ² ³ ´ µ ¶...
  • Page 208 Appendix E – Single Byte Symbol Sets Class Series 2 Programmer’s Manual...
  • Page 209: Appendix F

    Appendix F Bar Code Summary Data Bar code fonts have alpha names (left column, below). Uppercase alpha names will print bar codes with human-readable interpretations, if supported. Lowercase alpha names will print bar codes only. Place the ID in field b of the Format Record header to cause the printer to encode the data field using the associated symbology;...
  • Page 210 Appendix F – Bar Code Summary Data Linear Valid ASCII Characters, decimal value Symbology Length Checksum Scanner Code ID representation Supported Interleaved 2 of 5 w/ a modulo 10 J / j Varies M-10 48-57 Numeric only  checksum 48-57 Numeric only. Option + is last K / k Plessey Up to 14...
  • Page 211 Appendix F – Bar Code Summary Data Linear Valid ASCII Characters, decimal value Symbology Length Checksum Scanner Code ID representation Supported DataMatrix w/ Byte Count Specified All 8-bit values QR Code – Auto format Varies Alphanumeric QR Code – Manual format Varies Single-byte or Kanji double-byte Aztec...
  • Page 212: Bar Code Default Widths And Heights

    Appendix F – Bar Code Summary Data Linear Valid ASCII Characters, decimal value Symbology Length Checksum Scanner Code ID representation Supported W1Y / W1y Code 16K Varies All ASCII characters MicroPDF417 Varies All 8-bit values MicroPDF417 w/ Byte Count Specified All 8-bit values Readable when using “Barcode Count”...
  • Page 213 Appendix F – Bar Code Summary Data 203 DPI Resolutions 300 DPI Resolutions 400 DPI Resolutions 600 DPI Resolutions Font Height Ratio/ Height Ratio/ Height Ratio/ Height Ratio/ (inches) Module Size (inches) Module Size (inches) Module Size (inches) Module Size 10:4 15:6 1.30...
  • Page 214 Appendix F – Bar Code Summary Data 203 DPI Resolutions 300 DPI Resolutions 400 DPI Resolutions 600 DPI Resolutions Font Height Ratio/ Height Ratio/ Height Ratio/ Height Ratio/ (inches) Module Size (inches) Module Size (inches) Module Size (inches) Module Size 1.40 1.40 1.40...
  • Page 215: Appendix G

    Appendix G Bar Code Details Unless otherwise noted all bar codes depicted in this section were produced using the ratio/module values of 00 and height fields of 000 to cause the printer to produce symbols using default bar widths and height fields. See Appendix F for the default values. Code 3 of 9 Valid Characters: 0-9, A-Z, - .
  • Page 216 Appendix G – Bar Code Details UPC-E Valid Characters: 0-9 Length: Seven digits. If the user provides six digits, the printer will compute the checksum. If the user provides the checksum, the printer will check that it matches the expected checksum. If it does not match, the printer will print out all zeros and the expected checksum.
  • Page 217 Appendix G – Bar Code Details This printer supports the Code 128 subsets A, B, and C. The printer can be selected to start on any code subset and switch to another within the data stream. The default code subset is B; otherwise, the first character (A, B, C) of the data field determines the subset.
  • Page 218 Appendix G – Bar Code Details Control Codes: By sending these control codes, control characters can be encoded into a Code 128 Subset A bar code (e.g., ABC{DE will be encoded as ABC<ESC>DE): Control Code in the Bar Code Data Stream Encoded Control Character Result a through z 1 - 26...
  • Page 219 Appendix G – Bar Code Details EAN-8 Valid Characters: 0-9 Length: 8 digits. If the user provides 7 digits, the printer will compute the checksum. If the user provides the checksum, the printer will check that it matches the expected checksum.
  • Page 220 Appendix G – Bar Code Details The following example prints a Codabar bar code with a wide to narrow bar ratio of 3:1: <STX>L D11<CR> 1I63040001501000A1234567890D<CR> 121100000000100Barcode I<CR> Barcode I Interleaved 2 of 5 (with a Modulo 10 Checksum) Valid Characters: 0-9 Variable Length.
  • Page 221 Appendix G – Bar Code Details Interleaved 2 of 5 (with a Modulo 10 Checksum and Bearer Bars) Valid Characters: 0-9 Variable Length: For the bearer bars to be printed, 13 characters are required. Valid bar widths: The expected ratio of wide to narrow bars can range from 2:1 to 3:1. The following example prints an Interleaved 2 of 5 bar code with a modulo 10 checksum with a wide to narrow bar ratio of 3:1 and bearer bars: <STX>L...
  • Page 222 Appendix G – Bar Code Details The following example prints a 5 digit UPC bar code addendum: <STX>L D11<CR> 1N000000015010001234<CR> 121100000000100Barcode N<CR> Code 93 Valid Characters: 0-9, A-Z, -.$/+% and the space character. Variable Length. Valid bar widths: The width multiplier is the width of the narrow bar in dots. All other bars are a ratio of the narrow bar (2 times, 3 times, and 4 times the narrow bar width).
  • Page 223 Appendix G – Bar Code Details UCC/EAN Code 128 Valid Characters: 0-9 Length: 19 digits. Valid bar widths: The fourth character of record is the width of the narrow bar in dots. All other bars are a ratio of the narrow bar (2 times, 3 times, and 4 times the narrow bar width).
  • Page 224 Appendix G – Bar Code Details UCC/EAN Code 128 Random Weight Valid Characters: 0-9 Length: At least 34 digits. Valid bar widths: The fourth character of record is the width of the narrow bar in dots. All other bars are a ratio of the narrow bar (2 times, 3 times, and 4 times the narrow bar width).
  • Page 225 Appendix G – Bar Code Details UPS MaxiCode, Modes 2 & 3 The printer supports MaxiCode as defined in the AIM Technical Specification. The following examples illustrate various label format record message syntaxes for encoding data as MaxiCode. In the following examples, special formatting is used to denote special ASCII characters as shown: Symbol Hexadecimal Value...
  • Page 226 Appendix G – Bar Code Details A UPS 3.0 zip + 4 with Message data format and message header: 1u0000001200120[)> 96841706672 1Z12345675 UPSN 12345E 10.1 Where: Message Header [)> Maximum 9 alphanumeric ASCII, postal code Primary 841706672 Message Country Code Class Secondary 1Z1...
  • Page 227 <STX>, <CR>, and <0x0D> all represent single byte values of hexadecimal 02, 0D, and 0D, respectively. The UPS MaxiCode bar code produced encodes “327895555840666this package<CR>is going to Datamax”, and prints a line of text: Barcode U. Valid Characters: A, B, C, or D...
  • Page 228 Appendix G – Bar Code Details <STX>L D11<CR> 1v0000000150100A<CR> 121100000000100Barcode v<CR> PDF-417 Valid Characters: All ASCII characters. Variable Length – This two dimensional bar code holds large amounts of data in a small area, while providing a high level of redundancy and error checking, if specified. <STX>L D11<CR>...
  • Page 229 Appendix G – Bar Code Details PDF-417 with Byte Count Specifier Specified Length – The upper case Z identifies a PDF-417 bar code with a string 4-digit length specifier. This allows values 0x00 through 0xFF to be used within the data strings without conflicting with the DPL format record terminators.
  • Page 230 Appendix G – Bar Code Details Where: Field Valid Inputs Meaning 1,2,3, and 4 Rotation Fixed value, extended bar code set Selects the DataMatrix bar code - the two differing values c, 1c b[b] have no other significance. 1 to 9, A to Z, and a to z Module size horizontal multiplier 1 to 9, A to Z, and a to z Module size vertical multiplier...
  • Page 231 Appendix G – Bar Code Details ECC 200 symbols: There are 24 square symbol sizes available, with both row and column dimensions, which may be specified in fields jjj and kkk, measured in modules as indicated in the following list - 10, 12, 14, 16, 18, 20, 22, 24, 26, 32, 36, 40, 44, 48, 52, 64, 72, 80, 88, 96, 104, 120, 132, and 144.
  • Page 232 <STX>, <CR>, and <0x0D> all represent single byte values of hexadecimal 02, 0D, and 0D, respectively. The DataMatrix bar code produced encodes “Datamax<CR>prints best,” and prints a line of text: Barcode W1C. W1d / W1D:...
  • Page 233 Appendix G – Bar Code Details Field Valid Inputs Meaning 1,2,3 and 4 Rotation Fixed value, extended bar code set Selects the QR bar code formatting mode, where: D = Manual formatting. Allows the data string (hh…h) to be entered with a comma (,) as a field separator; fields are optional per QR Code specifications, and the D and d first field indicates Model 1 or Model 2 QR Code...
  • Page 234 Appendix G – Bar Code Details <STX>L D11<CR> (2 termination 1W1d4400000100010This is the data portion<CR><CR> 121100000000100Barcode W1D<CR> characters required.) Manual Formatting (W1D) With bar code identifier “D”, minor changes allow flexibility for data entry. (Spaces have been added for readability.) [q,] [e [m] i,] cdata cdata cdata…cdata term Where:...
  • Page 235 Appendix G – Bar Code Details If HEX/ASCII mode is selected in manual Data Input Mode, only the data for Kanji or Binary data types will be converted, therefore the other data types and all command characters must be entered in ASCII format. If HEX/ASCII is selected in automatic Data Input Mode, all of the data must be entered in HEX/ASCII format.
  • Page 236 Appendix G – Bar Code Details Model 1: 21 X 21 cells to 73 X 73 cells (Versions 1 to 14, increase in steps of 4 cells per side) Model 2: 21 X 21 cells to 177 X 177 cells (Versions 1 to 40, increase in steps of 4 cells per side) Data Characters per symbol (maximum for symbol size): Numeric Data...
  • Page 237 DPL field record, QR Code bar code, Cell Size = 0.01 inch square, positioned at X = .1” and Y = .1”, ECC = M, Mask = Automatic, Data Input Mode = Automatic: 1W1d1100000100010Pallet 35FGA, Box 55367, Datamax Corp, Orlando, Florida 32707<0x0D><0x0D>...
  • Page 238 Appendix G – Bar Code Details Field Valid Inputs Meaning 1,2,3, and 4 Rotation Fixed value, extended bar code set Lowercase selects the Aztec bar code, variable length. f and F Uppercase selects the Aztec bar code with a Byte Count Specifier Module size horizontal multiplier, 0 = default size.
  • Page 239 Appendix G – Bar Code Details Error Correction (EC) / Size Implications Maximum Maximum Maximum Symbol Symbol Binary Data Alphabetic Numeric Size Format Bytes Characters Characters variable data 1914 3067 3832 dependent 001 to 099 variable data and EC 1914 3067 3832 dependent...
  • Page 240 Appendix G – Bar Code Details Error Correction Size 001 to 099: This value specifies the percent of symbol code words to be used for error correction. Actual error correction word percentage will vary depending on data. The default value, approximately 23%, is recommended. Any other value may be selected to meet the user’s needs.
  • Page 241 Appendix G – Bar Code Details preceding the FNC1 are Application Indicators assigned by AIM International. The printer does not check AI validity. When <ESC>0 is anywhere else in the data stream, a < > replaces it in the bar code symbol, as with UCC/EAN 128 field separators. –...
  • Page 242 Appendix G – Bar Code Details W1g / W1G: USD-8 (Code 11) Valid Characters: 0-9,- Bar Code Data String Length: Variable, typical max 41 characters Human Readable: W1G; and, Non-Human Readable: W1g USD-8 (Code 11) is a bar code that encodes the ten digits and the dash (-) character. An additional character serves as the start and stop indicator.
  • Page 243 Appendix G – Bar Code Details Note that there is no auto-switching from or to Subset A. Standard switches are still used (see table below). Subset A: Includes all of the standard uppercase alphanumeric keyboard characters plus the control and special characters. Subset B: Includes all of the standard uppercase alphanumeric keyboard characters plus the lowercase alphabetic and special characters.
  • Page 244 Appendix G – Bar Code Details The following example prints an EAN128 bar code: <STX>L D11<CR> 1W1I000000025002512345&G10Z2133021AK<CR> 121100000000100Barcode W1I<CR> Barcode W1I When scanned this bar code will decode as follows: [C][FNC1]1234[B]5[F1]10Z[C]213302[B]1AK(81) W1J: Code 128 (with Auto Subset Switching) Valid characters: The entire 128 ASCII character set. Variable length Valid bar widths: The fourth character of record is the width of the narrow bar in dots.
  • Page 245 Appendix G – Bar Code Details built into the printer; see table below. As an example, to encode FNC2 into a Code128 Subset A bar code, send the ASCII & (DEC 38, HEX 26) followed by an ASCII B (DEC 66, HEX 41).
  • Page 246 Appendix G – Bar Code Details W1k: GS1 DataBar (previously “Reduced Space Symbology RSS”) Valid Characters: Type dependent Bar Code Data String Length: Type dependent GS1 DataBar is a continuous, linear symbology used for identification in EAN.UCC systems. There are six different types: GS1 DataBar Type Overview* •...
  • Page 247 Appendix G – Bar Code Details Syntax for GS1 DataBar (spaces added for readability): a W1 k c d eee ffff gggg h i j m n…n | p…p Where: Field Valid Inputs Meaning 1,2,3, and 4 Rotation Fixed value, extended bar code set Selects GS1 bar code 1 to 9, A to Z, and a to z Wide bar ratio, default = 2...
  • Page 248 Appendix G – Bar Code Details The following example prints an GS1 DataBar bar code with 2-D data: <STX>L Barcode W1k 1W1k0000001500150R1002001234567890|123456-99/99/99 121100000000100Barcode W1k<CR> The following example prints an GS1 DataBar Truncated bar code: Barcode W1k <STX>L 1W1k0000001500150T1002001234567890 121100000000100Barcode W1k<CR> The following example prints an GS1 DataBar Stacked bar code: Barcode W1k <STX>L...
  • Page 249 Appendix G – Bar Code Details Field Valid Inputs Meaning 1,2,3, and 4 Rotation Fixed value, extended bar code set Selects GS1 bar code 1 to 9, A to Z, and a to z Wide bar ratio, default = 2 1 to 9, A to Z, and a to z Narrow bar ratio, default = 2 No effect...
  • Page 250 Appendix G – Bar Code Details W1m / W1M: Australia Post 4-State Bar Code Length: 37, 52, or 67 bars Usage: This symbol is used for processing mail in the Australia Post System. The symbol is 37, 52 or 67 bars in length, and the height and ratios are fixed according to the specification (see “Customer Barcoding Technical Specifications”...
  • Page 251 Appendix G – Bar Code Details <STX>L D11<CR> 1WM00000005000501139987520<CR> Barcode W1M Note that the human readable shows the format control code, sorting code and the generated Reed Solomon error correction parity values. Example 2: The following example prints a Customer Bar Code 2 using a DPID of “32211324” and customer information “A124B”: <STX>L D11<CR>...
  • Page 252 Appendix G – Bar Code Details W1p: Intelligent Mail Barcode (IMB) Valid Characters: 0-9 Length: 20, 25, 29 or 31 digits Valid bar widths: The width and height multiplier values of 00 will produce a valid IMB symbol. Usage: The bar code height field is ignored since the symbol height is United States Postal Service specific.
  • Page 253 Appendix G – Bar Code Details Where: Field Valid Inputs Meaning 1,2,3, and 4 Rotation Fixed value, extended bar code set, selects CODABLOCK 1 to 9, A to Z, and Horizontal multiplier* (0 = default size) a to z 1 to 9, A to Z, and Vertical multiplier* (0 = default size) a to z 001 to 999...
  • Page 254 Appendix G – Bar Code Details Example: The following example prints a KMART bar code: <STX>L D11<CR> 1W1R0000000150100012345678901234567<CR> 121100000000100Barcode W1R<CR> 34 567890 123 4567 Barcode W1R W1s / W1S: Standard 2 of 5 Standard 2 of 5 is a discrete, self-checking, continuous numeric bar code. All of the information is contained in the bars.
  • Page 255 Appendix G – Bar Code Details Field Valid Inputs Meaning 1,2,3, and 4 Rotation Fixed value, extended bar code set Selects TLC39 bar code Wide bar of Code 39, ratio of wide to narrow must be 1 to 9, A to Z, and a to z between 2:1 and 3:1.
  • Page 256 Appendix G – Bar Code Details Example: The following example prints a Code 16K: <STX>L 1W1Y3305001000100ABC123 Barcode W1Y W1z: MicroPDF417 MicroPDF417 is a 2 dimensional bar code capable of holding large amounts of data in a small area. It provides a high level of redundancy and error checking. Valid Characters: All ASCII characters, depending on the selected options.
  • Page 257 Appendix G – Bar Code Details <STX>L D11<CR> 1W1z000000015010014000PDF417<CR> 121100000000100Barcode W1z<CR> Barcode W1z The number of columns (h) and row / error correction index (i) combine to form the selection index (hi), which determines other symbol characteristics as shown below: Row/Column/Error Correction Selection Index (hi) Implications Symbol Symbol...
  • Page 258 Appendix G – Bar Code Details  In the table above, row/column/error correction selection index (hi) values increasingly large do not necessarily result in the ability to encode more data. Byte Compaction Mode (j = 1) A value of 1 forces Byte Compaction. The compaction ratio is six 8-bit bytes of data compressed into a 5-symbol codeword.
  • Page 259 Appendix G – Bar Code Details From the example, the bar code’s data stream, 1W1Z0000000150100001214000PDF<0x0D>417, includes a Byte Count Specifier (the portion in bold), where 0012 equals the four-digit decimal data byte count and includes all bytes that follow until the end of the bar code data.
  • Page 260 Appendix G – Bar Code Details Class Series 2 Programmer’s Manual...
  • Page 261: Appendix H

    Appendix H Single and Double Byte Character Font Mapping Label format records with font code 9 in the b field of the Format Record header can specify any of the following bitmapped or scalable fonts with the associated specification in the font size/selection (eee height) field, as shown in the tables on the following pages.
  • Page 262 Appendix H – Single and Double Byte Character Font Mapping Font 9, Font Specifications (eee Height) and Associated Characteristics Font Character Font Size Specifier Point Name Mapping (eee Height) Size Font 9 Bitmapped Downloaded Fonts User-downloaded Single Byte 100 - 999 user defined typeface Font 9 Scalable Resident Fonts Specifications...
  • Page 263: Appendix I

    In CP E7, the character code 0xE4 causes to be printed. Each of the CPs allows the host application to “emulate” a character set for their application. Datamax-O’Neil printers that support scalable fonts contain either a standard or an enhanced group of CPs as defined below.
  • Page 264 Appendix I – Symbol Sets and Character Maps Single Byte Code Pages Font Format Code Page Identifier Intellifont MicroType Description True Type Datamax (PCL) Triumvirate Times Triumvirate Times Part ISO 8859/10 Latin 6 ISO 8859/7 Part Latin/Greek ISO 8859/15 Latin 9...
  • Page 265 Appendix I – Symbol Sets and Character Maps Font Format Code Page Identifier Intellifont MicroType Description True Type Datamax (PCL) Triumvirate Times Triumvirate Times PC-862 Latin/Hebrew Part Part Part Part Pi Font PC-850 Multilingual PC-864 Latin/Arabic PC-8 TK, Code Page...
  • Page 266: Double-Byte Symbols, Chinese, Kanji, And Korean

    Appendix I – Symbol Sets and Character Maps Font Format Code Page Identifier Intellifont MicroType Description True Type Datamax (PCL) Triumvirate Times Triumvirate Times Wingdings 579L Part Windows 3.1 Latin 2 Part Part Windows Latin/Greek Windows 3.1 Baltic Part (Latv, Lith) Windows Windows 3.0 Latin 1...
  • Page 267: Appendix J

    Appendix J General Purpose Input Output (GPIO) Port Applications GPIO-equipped printers can interface with most external controlling devices. Operational preferences can be stored for subsequent power-ups using the printer menu, or via <STX>Kc commands. Functions and connections vary, as discussed below. When a label is ready to print but awaiting a Start of Print signal, the prompt differs ...
  • Page 268 Appendix J – General Purpose Input Output Port Applications Applicator Interface Card (Type 1) Jumper Locations The GPIO Port allows printer integration. Functions can be configured using the menu system or via <STX>Kc commands. All configuration settings are saved in non-volatile memory.
  • Page 269 Appendix J – General Purpose Input Output Port Applications Applicator Interface Card (Type 1) GPIO Port (J2) Overview Signal Signal Active Jumper Function / Number Name Direction Setting Placement Description Printer chassis ground is Ground Ground JMP 7 “On” used Ground (Configurable) Ground return must be...
  • Page 270 Appendix J – General Purpose Input Output Port Applications The Start of Print Circuit depends upon the applicator system’s requirements: J2 - GPIO PORT • For direct inputs – Start of Print Use the printer’s +5VDC and Ground to supply Slew Label the devices interfacing to the GPIO inputs (as Pause Toggle...
  • Page 271 Appendix J – General Purpose Input Output Port Applications Applicator Interface Card (Type 2) The Applicator Interface Card (Type 2) has two GPIO Ports, two Auxiliary Ports (Serial C & D) and two indicator LEDs as detailed below. Applicator Interface Card (Type 2) Port Pin Out Applicator Interface Card (Type 2) Hardware Jumper Locations Class Series 2 Programmer’s Manual...
  • Page 272 Appendix J – General Purpose Input Output Port Applications GPI/O A (J1) Four dedicated inputs are available for control of printer functions. These inputs require no external pull-ups, are designed to interface to open-collector outputs and accept totem pole outputs from +4.5 to + 26 VDC. Optical isolators are available to provide isolation. Two print control circuit examples are given below.
  • Page 273 Appendix J – General Purpose Input Output Port Applications Failure to properly configure the GPIO Port can result in damage to the printer and / or connected devices. Applicator Interface Card (Type 2) GPI/O Port A Overview Signal Signal Name Jumper Position Function / Description...
  • Page 274 Appendix J – General Purpose Input Output Port Applications GPI/O B (J2) Six unassigned inputs are designed to interface to open-collector outputs. These inputs require no external pull-ups and blocking diodes allow the use of totem pole outputs from +4.5 to + 26 VDC. Optical isolators are available to provide isolation. Two print control interface circuit examples are given below.
  • Page 275 Appendix J – General Purpose Input Output Port Applications Failure to properly configure the GPIO Port can result in damage to the printer and / or connected devices. Applicator Interface Card (Type 2) GPI/O Port B Overview Signal Name / Pin Number Jumper Position...
  • Page 276 Appendix J – General Purpose Input Output Port Applications COM C (J4) Serial Port C functions as an RS-232 interface or as a dedicated device interface, according to jumper setting configurations indicated below: COM C Jumper Setting Functions Position Function JMP 12 JMP 13 JMP 14...
  • Page 277 Appendix J – General Purpose Input Output Port Applications I-Class GPIO I-Class GPIO functions are detailed in the table below: I-Class GPIO Overview Signal Signal Signal Description Number Name State Direction* +5 VDC Output +5 VDC power supply. Ribbon Goes low when a ribbon out condition is Output Fault detected.
  • Page 278 Appendix J – General Purpose Input Output Port Applications M-Class II GPIO MII GPIO functions are detailed in the table below: MII GPIO Overview Signal Signal Signal Description Number Name State Direction* +5 VDC Output Printer: Max +5 VDC, 100mA Printer Goes low upon printer detection of a fault Output...
  • Page 279 Appendix J – General Purpose Input Output Port Applications MII Sample SOP Circuit GPIO Connector Pin Number Pin 3 should be pulled to +5VDC. In additional, connections for the external Start of Print control can 1K O 1K O either be directly made to Pin 4 of the Option Port (or Spare Main PCB connector) using a TTL-level input, or via an interface circuit (similar to the one shown).
  • Page 280 Appendix J – General Purpose Input Output Port Applications Class Series 2 Programmer’s Manual...
  • Page 281: Appendix K

    Appendix K  The tables in this section use the following standards: X = Supported; ND = Non-Display Maximum Field & Character Values Printer Maximum Format Fields Total Characters All Fields I-4206 & I-4208 32768 All others When the product of the number of fields and characters in each field exceeds the available printer memory (the limiting factor), portions of the label may not print.
  • Page 282: Print Resolutions And Maximum Width & Record Column Values

    Appendix K –Maximum Row, Column, & Character Values; Print Resolutions & Widths; and, Module Identifiers & Allocations Print Resolutions and Maximum Width & Record Column Values Print Resolution Dot Dimensions (nominal) Maximum Print Width Maximum “gggg” Value Model DPMM Inches Millimeters Dots Millimeters...
  • Page 283: Column, Present, & Row Adjust Fine Tune Range

    Appendix K – Maximum Row, Column, & Character Values; Print Resolutions & Widths; and, Module Identifiers & Allocations Column, Present, & Row Adjust Fine Tune Range Printer Column Adjust Fine Tune Row & Present Adjust Fine Tune Resolution (DPI) Parameter Range (+/– dots) Parameter Range (+/–...
  • Page 284: Memory Module Identifiers And Allocations

    Appendix K –Maximum Row, Column, & Character Values; Print Resolutions & Widths; and, Module Identifiers & Allocations Memory Module Identifiers and Allocations Printer Description DRAM (512 KB - default size) Flash (512 KB available to user) Default, as assigned by <STX>X DRAM (512 KB - default size), configurable.
  • Page 285: Appendix L

    Appendix L Speed Ranges Speed Value: Printer Speed Command* Inches per Second Millimeters per Second 10.0 10.5 11.0 11.5 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0 20.0 *Applicable speed values are printer dependent. See Table L-2, below. Table L-1: Speed Command Values Class Series 2 Programmer’s Manual...
  • Page 286 Appendix L – Speed Ranges Print Speed Feed Speed Reverse Speed Slew Speed Model Range Default Range Default Range Default Range Default A-4212 C – W C – W C – I C – a A-4310 C – S C – W C –...
  • Page 287: Appendix M

    Appendix M Commands by Function Commands by Function Function Command Backup speed Batch quantity request <SOH>E Cancel <SOH>C Character bitmapped data <ESC>(snnnWdata Character code <ESC>*cnnnE Character dump mode <STX>P Column offset amount Cnnnn Configuration label and dot pattern print <STX>Z Configuration Set (See Table 5-1 for individual listings) <STX>Kc Continuous paper length...
  • Page 288 Appendix M – Commands By Function Function Command Memory query <STX>KQ Memory query (new format) <STX>Kq Metric <STX>m Metric Mirror Module clear <STX>qm Module, compress <STX>zm Module, directory request <STX>Wa Module, set default <STX>Xm Module, FLASH memory Test <STX>w Module, RAM memory Test <STX>t Modules, clear all <STX>Q...
  • Page 289: Appendix N

    Appendix N Image Loading The printer will accept four types of image files: .BMP, .IMG, .PCX and a special Datamax 7- bit ASCII file (as defined in this section). Use of the Datamax 7-bit ASCII format will require at least twice as much data transmission time as the other formats, (see <STX>I). The Datamax ASCII image file format is made up of a set of records with identical formats, each representing a dot row of the image;...
  • Page 290 8030FFFFFFE000000000FFFC000001F80000000000FE000001FFF8000003FFE0000007FFE000001FFFC0003FC0003FFF0000(CR) 8030FFFFFFF000000000FFFE000001F80000000000FE000001FFF8000003FFF0000007FFE000001FFFC0003FC0003FFF0000(CR) 8030FFFFFFFC00000000FFFE000001FC0000000000FE000001FFF8000003FFF0000007FFE000001FFFC0003FE0001FFF0000(CR) 8030FFFFFFFE00000000FFFE000001FC00000000007F000001FFF8000003FFF0000007FFF000001FFFC0003FE0001FFF0000(CR) 8030FFFFFFFF00000001FFFF000001FC00000000007F000001FFF8000003FFF8000007FFF000001FFF80003FF0000FFF0000(CR) 8030FFFFFFFFC0000001FFFF000001FC00000000007F000001FFF8000003FFF8000003FFF800001FFF80007FF0000FFF0000(CR) 8030FFFFFFFFE0000003FFFF800001FC00000000007F800001FFFC000003FFF8000003FFF800001FFF80007FF80007FF0000(CR) 8030FFFFFFFFF0000007FFFF800001FC00000000007F800001FFFC000003FFFC000003FFF800001FFF80007FF80007FF0000(CR) 8030FFFFFFFFF800000FFFFF800001FE00000000003FC00001FFFC000003FFFC000003FFFC00001FFF00007FFC0003FF0000(CR) 8030FFFFFFFFFE00001FFFFFC00001FE00000000003FC00001FFFC000003FFFE000003FFFC00001FFF00007FFC0003FF0000(CR) 8030FFFFFFFFFF00007FFFFFC00001FE00000000003FC00001FFFC000003FFFE000003FFFE00001FFF00007FFE0001FF0000(CR) 8030FFFFFFFFFF8003FFFFFFC00001FE00000000003FE00001FFFC000003FFFF000003FFFE00001FFF00007FFE0001FF0000(CR) 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR) 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR) 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR) 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR) 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR) 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR) 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR) FFFF(CR) ^BL(CR) 1Y1100000000000LOGO(CR) E(CR) Figure N-1: Sample Datamax 7-Bit ASCII File Image Figure N-2: Sample Label Class Series 2 Programmer’s Manual...
  • Page 291: Appendix O

    Appendix O UPC-A and EAN-13: Variable Price/Weight Bar Codes The EAN/UPC standard allows for an additional checksum to be generated in the middle of the bar code based on the data. This is used when the price or weight of an item is embedded into the bar code data (commonly used in the food industry).
  • Page 292 Appendix O – UPC-A and EAN-13 Variable Price / Weight Bar Codes Class Series 2 Programmer’s Manual...
  • Page 293: Programming Examples

    4pt (1.4 mm) to 999pt (350 mm) in over 40 languages. Consult Appendix I for code page selections. Specific details regarding which characters are supported in each option can be obtained through Datamax-O’Neil Technical Support.
  • Page 294 Appendix P – ILPC Programming Examples  The notation “<xx>” in this DPL file should be interpreted by the reader as representing the hexadecimal value of the character sent to the printer. ILPC - Kanji The Kanji Option is a double byte scalable font supporting Kanji Gothic B. In the double byte format, the printer recalls one character printed from every two 8-bit bytes sent from the host.
  • Page 295 Appendix P – ILPC Programming Examples Scalable Double-Byte Font Map - KANJI Scalable Font Binary Hex ASCII Code (Font Code) Font Type Name Addressing Addressing Pages HG-Gothic-B Kanji EUC, JIS, Scalable Resident Scalable SJIS, UC HG-Gothic-B Kanji EUC, JIS, Scalable Resident Scalable SJIS, UC HG-Gothic-E Kanji...
  • Page 296 Appendix P – ILPC Programming Examples 4911U4001950215P012P012<4D><4F><00><00><CR> 4911U4001950265P012P012<4D><5F><00><00><CR> 4911U4001950315P012P012<4D><6F><00><00><CR> 1X1100001100010b0392007500020002<CR> 112200001650030SCALING JIS CHARACTER’S<CR> 1911U4001200020P010P020<21><6F><00><00><CR> 1911U4001200050P020P020<21><6F><00><00><CR> 1911U4001200080P030P020<21><6F><00><00><CR> 1911U4001200110P040P020<21><6F><00><00><CR> 1911U4001200145P040P030<21><6F><00><00><CR> 1911U4001200190P040P040<21><6F><00><00><CR> 1911U4001200250P040P050<21><6F><00><00><CR> 1911U4001200320P040P060<21><6F><00><00><CR> 112200000050010NORMAL INVERSE<CR> 112200000050245 NORMAL MIRROR<CR> 1911U4000250010P040P040<21><6F><00><00><CR> 1911U4000250245P040P040<4B><30><00><00><CR> A5<CR> 1911U4000250090P040P040<21><6F><00><00><CR> A1<CR> M<CR> 1911U4000250390P040P040<4B><30><00><00><CR> M<CR> E<CR>  The notation “<xx>” in this DPL file should be interpreted by the reader as representing the hexadecimal value of the byte sent to the printer.
  • Page 297 Appendix P – ILPC Programming Examples Sample Kanji Gothic E DPL file (Hex-ASCII addressing) and resulting label: <02>L<CR> D11<CR> ySPM<CR> 1911S0003100010P020P015Scalable Kanji Gothic E Available<CR> 1B110000020017001234567890<CR> yUJS<CR> 1X1100001900010b0392011000020002<CR> 112200002800030JIS CHARACTER’S IN ALL 4 ROTATION’S<CR> 112200002600030Rotation 1<CR> 1911uK102650150P012P0124D3F212121214D4F212121214D5F212121214D6F<CR> 112200002400030Rotation 2<CR> 2911uK102600150P012P0124D3F<CR> 2911uK102600205P012P0124D4F<CR>...
  • Page 298 Appendix P – ILPC Programming Examples ILPC - Chinese The Chinese Option is a double byte scalable font supporting Simplified GB Chinese. In the double byte format the printer recalls one character printed from every two 8-bit bytes sent from the host. Double byte scalable fonts are selected using a print format record (see Generating Label Formats and Appendix H for details).
  • Page 299 Appendix P – ILPC Programming Examples Scalable Double-Byte Font Map - CHINESE Scalable Font Binary Hex ASCII Code (Font Code) Font Type Name Addressing Addressing Pages Simplified Scalable Resident GB Chinese Simplified Scalable Resident GB Chinese U50 - Scalable Non-Resident Big 5 U5z...
  • Page 300 Appendix P – ILPC Programming Examples 4911UC001950215P012P012<BD><D1><00><00><CR> 4911UC001950265P012P012<BD><D2><00><00><CR> 4911UC001950315P012P012<BD><D3><00><00><CR> 1X1100001100010b0392007500020002<CR> 112200001650030SCALING GB CHARACTER’S<CR> 1911UC001200020P010P020<BA><D0><00><00><CR> 1911UC001200050P020P020<BA><D0><00><00><CR> 1911UC001200080P030P020<BA><D0><00><00><CR> 1911UC001200110P040P020<BA><D0><00><00><CR> 1911UC001200145P040P030<BA><D0><00><00><CR> 1911UC001200190P040P040<BA><D0><00><00><CR> 1911UC001200250P040P050<BA><D0><00><00><CR> 1911UC001200320P040P060<BA><D0><00><00><CR> 112200000050010NORMAL INVERSE<CR> 112200000050245 NORMAL MIRROR<CR> 1911UC000250010P040P040<BD><E0><00><00><CR> 1911UC000250245P040P040<BD><E1><00><00><CR> A5<CR> 1911UC000250090P040P040<BD><E0><00><00><CR> A1<CR> M<CR> 1911UC000250390P040P040<BD><E1><00><00><CR> M<CR> E<CR>  The notation “<xx>” in this DPL file should be interpreted by the reader as representing the hexadecimal value of the byte sent to the printer.
  • Page 301 Appendix P – ILPC Programming Examples ILPC - Korean The Korean Option is a double-byte scalable font supporting Korean Hangul. In the double- byte format, the printer recalls one character printed from every two 8-bit bytes sent from the host. Double-byte scalable fonts are selected using a print format record (see Generating Label Formats and Appendix H for details).
  • Page 302 Appendix P – ILPC Programming Examples 112200002200030Rotation 3<CR> 3911UH002330165P012P012<AC><00><00><00><CR> 3911UH002330220P012P012<AC><65><00><00><CR> 3911UH002330265P012P012<AC><69><00><00><CR> 3911UH002330315P012P012<AC><DF><00><00><CR> 112200002000030Rotation 4<CR> 4911UH001950165P012P012<AC><00><00><00><CR> 4911UH001950215P012P012<AC><65><00><00><CR> 4911UH001950265P012P012<AC><69><00><00><CR> 4911UH001950315P012P012<AC><DF><00><00><CR> 1X1100001100010b0392007500020002<CR> 112200001650030SCALING HANGUL CHARACTERS<CR> 1911UH001200020P010P020<AC><AC><00><00><CR> 1911UH001200050P020P020<AC><AC><00><00><CR> 1911UH001200080P030P020<AC><AC><00><00><CR> 1911UH001200110P040P020<AC><AC><00><00><CR> 1911UH001200145P040P030<AC><AC><00><00><CR> 1911UH001200190P040P040<AC><AC><00><00><CR> 1911UH001200250P040P050<AC><AC><00><00><CR> 1911UH001200320P040P060<AC><AC><00><00><CR> 112200000200010NORMAL INVERSE<CR> 112200000200245 NORMAL MIRROR<CR> 1911UH000450010P040P040<AC><4D><00><00><CR> 1911UH000450245P040P040<AC><15><00><00><CR> A5<CR> 1911UH000450090P040P040<AC><4D><00><00><CR> A1<CR> M<CR>...
  • Page 303: Appendix Q

    Mark II 300, I4206, I4208, I4308, I4210, I4212, I4406, I4604, 4206MII, 4210MII, and 4308MII.) = Fixed string: “PRINTER” = Description (subject to change with the application [firmware] revision and printer model) Example: Datamax-Oneil 4208 Label Printer Version 06.06 07/09/2001 Class Series 2 Programmer’s Manual...
  • Page 304 Appendix Q – Plug and Play IDs Class Series 2 Programmer’s Manual...
  • Page 305: Appendix R

    Appendix R Line Mode Line Mode allows the printer to respond to raw data from a device that may not be able to send a complete DPL file. In Line Mode raw data is directed into replaceable fields in formats or templates stored in the printer.
  • Page 306 Appendix R – Line Mode <STX>L 15110000160001099999999999999999999999999999999999 151100001200010FIXED FIELD #1 15110000080001099999999999999999999999999999999999 151100000400010FIXED FIELD #2 15110000000001099999999999999999999999999999999999 Q0001 sCDMXFRM To print a label, the attached device now only has to send the data. Sample data in this example is as follows: TEST DATA AAAAAAAAAAAAAAAAAAAAAAAAA[CR] TEST DATA BBBBBBBBBBBBBBBBBBBBBBBBB[CR] TEST DATA CCCCCCCCCCCCCCCCCCCCCCCCC[CR] The sample data will print the following label (layout and font are approximations):...
  • Page 307 Appendix R – Line Mode Label 1: TEST DATA AAAAAAAAAAAAAAAAAAAAAAAAA FIXED FIELD #1 TEST DATA BBBBBBBBBBBBBBBBBBBBBBBBB FIXED FIELD #2 TEST DATA CCCCCCCCCCCCCCCCCCCCCCCCC Label 2: TEST DATA DDDDDDDDDDDDDDDDDDDDDDDDD FIXED FIELD #1 TEST DATA EEEEEEEEEEEEEEEEEEEEEEEEE FIXED FIELD #2 TEST DATA FFFFFFFFFFFFFFFFFFFFFFFFF Sample Template 2: If a template in the form of DMXFRMxx is used, the data must be preceded by the value of xx.
  • Page 308 Appendix R – Line Mode Class Series 2 Programmer’s Manual...
  • Page 309: Appendix S

    Appendix S RFID Overview The printer has two different operational modes for the programming of RFID tags: Direct, and Label Formatting. The RFID programming data can be entered in one of two formats: ASCII, or Hexadecimal. Data in the ASCII format is entered conventionally, while data in the hexadecimal format is entered as the hexadecimal-pairs equivalent of the ASCII character(s).
  • Page 310 Appendix S – RFID Overview UHF Interface This interface allows the Host Application to perform specific operations pertaining to UHF-type tags. Since these commands override the printer’s database by interfacing directly to the tag module, knowledge of UHF protocols and their operation is required. See the <STX>KuR and <STX>KuW commands for details.
  • Page 311 Appendix S – RFID Overview Field Valid Inputs Meaning Operation to perform, where: 1 = Read (report to host) 1, 2, and 3 2 = Write 3 = Write w/ Read back and Verify RFID Hexadecimal Operation, where no “n” is an implied 1. Not Used, should be 0 Not Used, should be 0 HF: Lock after write, where:...
  • Page 312 Appendix S – RFID Overview Example 1: The following example encodes an HF tag , starting at block 001, with “Datamax writes RFID best”: <STX>L D11<CR> 2W1x0000000010000446174616D61782077726974657320524649442062657374<CR> Example 2: The following format encodes a UHF Gen2 tag with EPC data “112233445566778899AABBCC”...
  • Page 313 Appendix S – RFID Overview Field Valid Inputs Meaning Operation to perform, where: 1 = Read (report to host) 1, 2, and 3 2 = Write 3 = Write / Verify RFID Hexadecimal Operation, where no “n” is an implied 1. Not Used, should be 0 Not Used, should be 0 HF: Lock after write, where:...
  • Page 314 Example1: The following example encodes a HF tag, starting at block 001, with “Datamax <CR> writes RFID best.” It includes a Byte Count Specifier (the portion in bold), where 0024 equals a four-digit decimal data byte count and includes all bytes that follow until the end of the data.
  • Page 315: Appendix T

    Appendix T WiFi Region Country Codes Region Country Codes Code Country Code Country Code Country Afghanistan Ghana Pakistan Åland Islands Gibraltar Palau Albania Greece Palestinian Territory Algeria Greenland Panama American Samoa Grenada Papua New Guinea Andorra Guadeloupe Paraguay Angola Guam Peru Anguilla Guatemala...
  • Page 316 Appendix T – WiFi Region Country Codes Code Country Code Country Code Country Bahamas Hungary Rwanda Bahrain Iceland Saint Helena Bangladesh India Saint Kitts and Nevis Barbados Indonesia Saint Lucia Belarus Iran, Islamic Republic of Saint Pierre and Miquelon Saint Vincent and the Belgium Iraq Grenadines...
  • Page 317 Appendix T – WiFi Region Country Codes Code Country Code Country Code Country Lao People's Democratic Burundi South Africa Republic South Georgia and the Cambodia Latvia South Sandwich Islands Cameroon Lebanon Spain Canada Lesotho Sri Lanka Cape Verde Liberia Sudan Cayman Islands Libyan Arab Jamahiriya Suriname...
  • Page 318 Appendix T – WiFi Region Country Codes Code Country Code Country Code Country Cuba Mauritius Tunisia Cyprus Mayotte Turkey Czech Republic Mexico Turkmenistan Micronesia, Federated Denmark Turks and Caicos Islands States of Djibout Moldova, Republic of Tuvalu Dominica Monaco Uganda Dominican Republic Mongolia Ukraine...
  • Page 319 Appendix T – WiFi Region Country Codes Code Country Code Country Code Country French Polynesia Nigeria Western Sahara French Southern Niue Yemen Territories Zaire - see Congo, The Gabon Norfolk Island Democratic Republic of Northern Mariana Gambia Zambia Islands Georgia Norway Zimbabwe Germany...
  • Page 320 Appendix T – WiFi Region Country Codes Class Series 2 Programmer’s Manual...
  • Page 321: Appendix U

    Appendix U Graphics Display Icon Key Display Size Description Large Small Initialization, typically brief (but a damaged or invalid printhead can delay the process). Display large fonts; see Section 4.1.2. Input Mode – DPL; see Section 4.2.4. LINE Input Mode – LINE; see Section 4.2.4. PL Z Input Mode –...
  • Page 322: Control Panel Button Sequences

    Appendix U – Display Icon Key and Control Panel Button Sequence Functions Control Panel Button Sequences Three Button / Three LED Control Panel Function Printer Mode Button Sequence Pause Idle PAUSE Feed / Clear Fault Idle FEED Cancel Idle CANCEL Soft Reset Idle PAUSE &...
  • Page 323 Appendix U – Display Icon Key and Control Panel Button Sequence Functions Seven Button Control Panel Function Printer Mode Button Sequence Pause Idle PAUSE Feed / Clear Fault Idle FEED Cancel Idle CANCEL Soft Reset Idle PAUSE & CANCEL (or Long CANCEL) Print Test Label Idle PAUSE &...
  • Page 324 Appendix U – Display Icon Key and Control Panel Button Sequence Functions Class Series 2 Programmer’s Manual...
  • Page 325: Appendix V

    Appendix V Bar Code Symbology Information Resources American National Standards Institute (ANSI) 1819 L Street, NW Washington, DC 20036 USA Phone: 202-293-8020 Fax: 202-293-9287 http://www.ansi.org/ Association for Automatic Identification and Mobility, Inc. 125 Warrendale-Bayne Road Warrendale, PA 15086 USA Phone: 724-934-4470 Fax: 724-934-4495 http://www.aimglobal.org/ Automotive Industry Action Group...
  • Page 326 Appendix V – Bar Code Symbology Information Resources Health Industry Business Communications Council (HIBCC) 2525 E Arizona Biltmore Circle, Suite 127 Phoenix, Arizona 85016 USA Phone: 602-381-1091 Fax: 602-381-1093 http://www.hibcc.org/ Uniform Code Council, Inc. 7887 Washington Village Drive, Suite 300 Dayton, OH 45459 USA Phone: 937-435-3870 Fax: 937-435-7317...
  • Page 327 Glossary alphanumeric Consisting of alphabetic, numeric, punctuation and other symbols. backing material The silicon-coated paper carrier material to which labels with adhesive backing are affixed. Also referred to as “liner”. bar code A representation of alphanumeric information in a pattern of machine-readable marks.
  • Page 328 Glossary DPL (Datamax-O’Neil Programming Language) programming commands used specifically for control of and label production in Datamax-O’Neil printers. fan-fold Media that is folded and stacked. feed speed The rate at which the media moves under the print head in non-printed areas or when the FEED Key is pressed.
  • Page 329 Glossary print speed The rate at which the media moves under the print head during the printing process. reflective media Media imprinted with carbon-based black marks on the underside of the material, which is used to signal the top-of-form when the “reflective” Media Sensor is enabled.

Table of Contents