Datamax A-4310 Programmer's Manual

Class series
Hide thumbs Also See for A-4310:
Table of Contents

Advertisement

Programmer's Manual
Datamax International
Phone +44 1279 772200
rbyrne@datamaxcorp.com
Class Series
Datamax Corporate Headquarters
4501 Parkway Commerce Boulevard
Orlando, Florida USA 32808
Phone (407) 578-8007
Fax (407) 578-8377
customercare@datamaxcorp.com
Datamax Latin America
Phone (407) 523-5520
tdelgado@datamaxcorp.com
Datamax Asia Pacific
Phone +65-6542-2611
datamax@pacific.net.sg
Datamax China
Phone +86-21-64952882
datamax_cn@china.com

Advertisement

Table of Contents
loading

Summary of Contents for Datamax A-4310

  • Page 1 Class Series Programmer’s Manual Datamax International Datamax Latin America Phone +44 1279 772200 Phone (407) 523-5520 rbyrne@datamaxcorp.com tdelgado@datamaxcorp.com Datamax Corporate Headquarters 4501 Parkway Commerce Boulevard Orlando, Florida USA 32808 Phone (407) 578-8007 Fax (407) 578-8377 customercare@datamaxcorp.com Datamax Asia Pacific Phone +65-6542-2611 datamax@pacific.net.sg...
  • Page 3 Information in this manual is subject to change without notice and does not represent a commitment on the part of Datamax 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 Corporation.
  • Page 5: Table Of Contents

    Contents Overview ... 1 Who Should Use This Manual ... 1 The Scope of this Manual ... 1 General Conventions... 3 Computer Entry and Display Conventions ... 3 Typical Dataflow Sequence ... 4 Control Code Command Functions ... 7 Introduction... 7 Attention-Getters ...
  • Page 6 Set Time and Date ... 15 STX a Enable Feedback Characters... 16 STX B Get Printer Time and Date Information ... 16 STX c Set Continuous Paper Length ... 17 STX d Set Double Buffer Mode (Non-Display Models only) ... 17 STX E Set Quantity For Stored Label...
  • Page 7 STX P Set Hex Dump Mode... 24 STX p Controlled Pause... 24 STX Q Clear All Modules ... 24 STX q Clear Module... 25 STX R Ribbon Saver On/Off... 25 STX r Select Reflective Sensor ... 26 STX S Set Feed Speed ... 26 STX s Set Single Buffer Mode (Non-Display Models only) ...
  • Page 8 Extended System-Level Command Functions ... 37 Introduction... 37 STX K Memory Configuration (Non-Display Models only) ... 37 STX K}E Empty Sensor Calibration (Non-Display Models only)... 38 STX K}M Manual Media Calibration (Non-Display Models only)... 38 STX K}Q Quick Media Calibration (Non-Display Models only) ... 39 STX KaR Read Data from RFID Tag ...
  • Page 9 STX Kq Query Memory Configuration (Display-Equipped Models only)... 99 STX KR Reset Memory Configuration ... 99 STX Kr Resettable Counter Reset... 100 STX KS Memory Configuration, Scalable Font Cache... 100 STX KtA Write Application Family Identifier (AFI) to Tag (Direct Mode – HF [13.56 MHz] ISO15693 Tag Interface) ...
  • Page 10 Set Cut By Amount... 112 Set Dot Size Width and Height... 112 Terminate Label Formatting Mode and Print Label ... 113 Recall Printer Configuration ... 113 Advanced Format Attributes... 113 Set Present Speed ... 114 Place Data in Global Register ... 114 Enter Heat Setting...
  • Page 11 Set Feed Speed ... 119 Store Label Format in Module ... 120 Set Field Data Line Terminator ... 120 Mark Previous Field as a String Replacement Field... 121 Terminate Label Formatting Mode ... 121 Select Font Symbol Set... 122 Zero (Ø) Conversion to “0” ... 122 + (>)(() Make Last Field Entered Increment Numeric (Alphanumeric) (Hexadecimal) ...
  • Page 12 Circles ... 141 Fill Patterns ... 141 Advanced Format Attributes... 143 Appendix A ... 147 ASCII Control Chart... 147 Appendix B ... 149 Sample Programs... 149 VB Application to Send RAW Data via a Windows Printer Driver ... 154 viii...
  • Page 13 Appendix C ... 159 Available Fonts – Sizes, References, and Samples ... 159 Appendix D ... 165 Reset Codes... 165 Appendix E ... 167 Single Byte Symbol Sets ... 167 Appendix F... 177 Bar Code Summary Data ... 177 Bar Code Default Widths and Heights ... 179 Appendix G ...
  • Page 14 Appendix K ... 239 Resolutions; Field, Row, Column, & Character Values; Module IDs and Allocations ... 239 Appendix L... 243 Speed Ranges... 243 Appendix M... 245 Commands by Function... 245 Appendix N ... 247 Class Series DPL Constraint Cross-Reference ... 247 Appendix O ...
  • Page 15 Appendix V ... 281 Bar Code Symbology Information Resources... 281 Glossary... 283...
  • Page 17: Overview

    Upgrades are available at ftp://ftp.datamaxcorp.com/. (2) Programming information for the S-Class and the Datamax legacy printers (Prodigy, DMX400, etc.) can be found in the DPL Programmer’s Manual (part number 88-2051-01). Programming information for the E-3202 can be found in E-3202 Programmer’s Manual (part number 88-2257-01).
  • Page 18 APPENDICES A THROUGH V on pages 147 through 281 These contain details that cannot be ignored including various tables, programming examples, printer default values, and bar code symbology details. See the Table of Contents for specific content information. GLOSSARY on page 283 Definitions of words, abbreviations, and acronyms used in this manual.
  • Page 19: General Conventions

    The Courier font in boldface indicates the DPL command syntax, and Italics are used to indicate the command syntax parameters. Regular Courier font indicates sample commands, files and printer responses. Square brackets ([ ]) indicate that the item is optional.
  • Page 20: Typical Dataflow Sequence

    Typical Data Flow Sequence The typical data flow sequence is summarized in the following bullets and detailed in the table below. Printer Commands data is transmitted to the printer as shown in the table from left to right, top to bottom. Status commands...
  • Page 21 See <STX>Kc for changes to the default power-up configuration. Changing the default power-up configuration and saving objects in printer Flash memory can reduce the data transmitted for each label and therefore improve throughput.
  • Page 22 Download Commands Download Name Command Download Image <STX>I Download Scalable Font <STX>i Download Bitmapped Font <ESC> Label Header Commands These commands determine how the label formatting occurs, effect print quality and quantity. They are typically issued immediately following the <STX>L start of the label format. The Format Attribute (A) and the Offset (C, R) commands can be changed at any point between format records to achieve desired effects.
  • Page 23: Control Code Command Functions

    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 24 Alternate Control Codes provide for substitution of the line terminator, as well as the control characters listed above. For example using Alternate 2, the line terminator <CR> (0x0D) is replaced by | (0x7C). The following is a sample label format data stream for a printer configured for Alternate-2 Control Codes: ~L|1911A10001000101234560|X|~UT01ABCDE|~G|...
  • Page 25: Immediate Command Functions

    1. Attention-Getter, 0x01 or 0x5E, see Control Codes. 2. Command Character SOH # Reset This command resets the printer. Resetting the printer returns all settings to default and clears both the communications and printing buffers. The command also clears DRAM memory. Syntax: <SOH># Printer Response: The printer will reset.
  • Page 26: Soh A

    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. See <SOH>F.
  • Page 27: Soh B Toggle Pause

    Where: Possible Values SOH B Toggle Pause This command toggles the printer’s paused state between on and off. (This is the same function achieved by pressing the PAUSE Key on the printer.) Syntax: <SOH>B Sample: <SOH>B Printer Response: This command will illuminate the Paused/Stop Indicator and/or indicate...
  • Page 28: Soh C Stop/Cancel

    Commands can be turned back on by sending a valid SOH command three times, separated by a one second delay between each command, or by manually resetting the printer. It is good practice to check batch quantities (<SOH>E) to verify that the SOH commands are working.
  • Page 29: Soh E Send Batch Remaining Quantity

    Send Status Byte This command instructs the printer to send a single status byte where each bit (1 or 0) represents one of the printer’s status flags, followed by a carriage return (see below). If an option is unavailable for the printer, the single bit will always be zero.
  • Page 30 Immediate Command Functions Class Series Programmer’s Manual...
  • Page 31: System-Level Command Functions

    3. Parameters (if any). STX A Set Time and Date This command sets the time and date. The initial setting of the date will be stored in the printer’s internal inch counter. This date can be verified by printing a Configuration Label. Syntax: <STX>AwmmddyyyyhhMMjjj...
  • Page 32: Stx A Enable Feedback Characters

    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: Event dependent.
  • Page 33: Stx C Set Continuous Paper Length

    This command, available for backward compatibility, enables double buffer mode. When printing labels with incrementing, decrementing and replacement fields (see note below) the printer will only erase and format those fields, leaving the rest of the label format untouched, and thus increasing throughput.
  • Page 34: Stx E Set Quantity For Stored Label

    This command sets the number of labels for printing using the format currently in the print buffer. (The printer automatically stores the most recent format received in the buffer until the printer is reset or power is removed.) When used in conjunction with the <STX>G command, this will print the labels.
  • Page 35: Stx F Set Form Stop Position (Backfeed)

    This sets the stop position of the printed label, allowing the label to stop at a point past the start-of- print position. When the next label format is sent, the printer motor reverses direction to retract the media to the start-of-print position. If quantities of more than one label are requested, the printer will operate without backfeeding.
  • Page 36: Stx I Input Image Data

    <CR> The sample 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 memory module D (with a .dim file extension).
  • Page 37: Stx I Scalable Font Downloading

    Present Sensor option is not installed. After removing the printed label, the PAUSE Key must be pushed in order to print the next label. (The printer must be reset to clear the <STX>J command.) Syntax: <STX>J...
  • Page 38: Stx K Test Rs-232 Port

    Where: nnnn Sample: <STX>M0500 The sample sets a maximum travel distance of 5 inches (unless the printer is in metric mode, see <STX>m). STX m Set Printer to Metric Mode This command sets the printer to interpret measurements as metric values (e.g., <STX>c0100 will equal 10.0 mm).
  • Page 39: Stx N Set Printer To Imperial Mode

    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 40: Stx O Cycle Cutter

    This command instructs the printer to assume Hex Dump Mode. Instead of a formatted product, data sent to the printer following this command will be printed in the raw ASCII format. To capture this data, labels must be at least four inches (102 mm) long and as wide as the maximum print width. This command has the same effect as turning the printer ‘On’...
  • Page 41: Stx Q Clear Module

    This command enables the operation of the optional Ribbon Saver. It is the only command used to control the Ribbon Saver. Its operation is continuous when enabled. The printer must be set to thermal transfer (ribbon) printing mode then, during operation, the Ribbon Saver engages automatically, lifting when the minimum amount of label white space is exceeded.
  • Page 42: Stx R Select Reflective Sensor

    This command, available for backward compatibility, instructs the printer to use single buffer operation. In single buffer mode, the printer will erase and format all fields. This, in turn, decreases printer throughput when incrementing, decrementing, or replacement fields are used (see Label Formatting Commands).
  • Page 43: Stx T Print Quality Label

    This command instructs the printer to produce a Print Quality label, a format comprised of different patterns and bar codes useful in printer setup. (On display-equipped models, this is also one of the Quick Test formats.) 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.
  • Page 44: Stx U Label Format String Replacement Field

    STX U Label Format String Replacement Field This command places new label data into format fields to build a label. Two options are available: Exact Length and Truncated Length. To easily keep track of fields, place all of the fields to be updated with the command at the beginning of the label format.
  • Page 45: Stx V

    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 46: Stx V Request Firmware Version

    Value STX v Request Firmware Version This command causes the printer to send its version string (this data is the same as that printed on the configuration label). The version may be different from printer to printer. Syntax: <STX>v Printer Response: VER: 4308 –...
  • Page 47: Stx W Request Memory Module Information

    This command requests a memory module directory listing. Results may vary depending on printer class, model, or firmware version. Syntax: <STX>W[b][c]a Where: Sample: <STX>WF Printer response (taken from an H-Class with a downloaded true type font on Module D): MODULE: D<CR> S50 92244ttf50<CR> AVAILABLE BYTES: 945152<CR> MODULE: G<CR> AVAILABLE BYTES: 852480<CR> MODULE: X<CR>...
  • Page 48: Stx W Test Flash Memory Module

    This command tests the Flash memory 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. Syntax: <STX>wa...
  • Page 49: Stx X Delete File From Module

    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.
  • Page 50: Stx Y Output Sensor Values

    ‘SPACE’ character (20 hexadecimal); or, send <ESC> to terminate this function. Non-Display Models: The printer must be in Test Mode for the command to function. To enable the Test Mode see the <STX>KD command. Display-Equipped Models: The printer must have Feedback Characters enabled for this command to function.
  • Page 51: Stx Z Print Configuration Label

    Printed information will vary according to printer, model, firmware version, and options. STX z Pack Module This command causes the printer to reclaim all storage space associated with all deleted files on the specified module (see <STX>X and <STX>x). Syntax: <STX>zm...
  • Page 52 System-Level Command Functions Class Series Programmer’s Manual...
  • Page 53: Extended System-Level Command Functions

    This command configures the available DRAM (including any installed optional DRAM) as a method for managing printer memory. Memory can be assigned to specific entities or functions in units of 4KB blocks. The allocation(s) set by this command, draw from the same memory pool, affecting maximum print length and label throughput (see note below).
  • Page 54: Stx K}E Empty Sensor Calibration (Non-Display Models Only)

    (imperial or metric). If the value specified exceeds the printable width of the printer, the printable label width is set to the maximum. If the value specified is less than the minimum value allowed (200) then the printable label width is set to the minimum allowed value.
  • Page 55: Stx K}Q Quick Media Calibration (Non-Display Models Only)

    STX K}Q Quick Media Calibration This command causes the printer to move media, sample, and then save sensor samples as calibration values. This calibration function should be performed with media installed in the printer. Depending upon the printer model, different front panel LED flash sequences and printer responses (below) will indicate calibration progress and outcome;...
  • Page 56: 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 57: 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 by Character POSITIONS. Each line is terminated by a CR (0x0d) & LF (0x0a). Datamax will make every effort to keep Keyword consistent.
  • Page 58: Stx Kc Configuration Set

    In any case, no commands should be sent to the printer until this reset is complete. These are some highlights of the command: These parameter values are equivalent to changing the respective menu settings and do not affect the factory default settings of the printer.
  • Page 59 Buzzer Enable Class Series Programmer’s Manual Extended System-Level Command Functions Configuration Set Commands Value / Units / Applicable Range Interpretation Printer Type Non-Display 0 – 999 1/100 inch Non-Display Display-Equipped Y = Enabled, Y, N N = Disabled 0 – 255...
  • Page 60 Column Adjust Fine Tune Column Offset Comm Heat Commands Comm Speed Commands Extended System-Level Command Functions Value / Units / Applicable Range Interpretation Printer Type Display-Equipped Resolution specific; see Appendix K, Non-Display xxx dots and see Column Adjust Fine Tune Non-Display Display-Equipped Resolution specific;...
  • Page 61 A/Y, E, N/D Cutter Equipped Class Series Programmer’s Manual Extended System-Level Command Functions Value / Units / Range Interpretation Printer Type Display-Equipped Y, N Y = Enabled, N = Disabled 0 – 255 Non-Display (except M1, M2, and EX2) Display-Equipped 0 –...
  • Page 62 Module Letter A, B 0 – 120 Seconds Display-Equipped Y = Enabled, Y, N Non-Display N = Disabled Display-Equipped AA – ZZ, printer character resident symbol set 200, 300, 300/400/600 DPI Dots per inch 400, 600 Display-Equipped Display-Equipped 0 – 255...
  • Page 63 Font Emulation Class Series Programmer’s Manual Extended System-Level Command Functions Value / Units / Range Interpretation Printer Type 1 = Low Pulse, 2 = High Pulse, 1, 2, 3, 4 Display-Equipped 3 = Active Low, 4 = Active High Display-Equipped...
  • Page 64 GPIO Equipped GPIO Slew Head Bias Extended System-Level Command Functions Value / Units / Applicable Range Interpretation Printer Type Display-Equipped X = XOR, O = Opaque, X, O, T T = Transparent Display-Equipped 0 – 255 Display-Equipped 0 – 255...
  • Page 65 Ignore Control Codes Ignore Distances Imaging Mode Class Series Programmer’s Manual Extended System-Level Command Functions Value / Units / Applicable Range Interpretation Printer Type Display-Equipped Inches (or centimeters) 0 – 9999 multiplied by 1000 Display-Equipped Non-Display 0 – 30 Non-Display Display-Equipped 1 –...
  • Page 66 Label Rotation Label Store 0075 – head Label Width Appendix K Extended System-Level Command Functions Value / Units / Range Interpretation Printer Type Display-Equipped 0 = DPL, 0, 1 1 = Line 100 – up to Display-Equipped maximum Kbytes 4 Kbytes 0 –...
  • Page 67 Maximum Length Media Type Menu Mode Class Series Programmer’s Manual Extended System-Level Command Functions Value / Units / Range Interpretation Printer Type String Language Name Display-Equipped N = None, Display-Equipped A = Allegro, N, A, P, L P = Prodigy,...
  • Page 68 No Reprint Option Feedback Paper Empty Paper Value Extended System-Level Command Functions Value / Units / Range Interpretation Printer Type Z, G Display-Equipped See Table 5-4. Display-Equipped S, T, U, w, See Table 5-5. W, Y, Z 0 – 16 .1 Volt DC...
  • Page 69 Present Adjust Fine Tune Class Series Programmer’s Manual Extended System-Level Command Functions Value / Units / Applicable Range Interpretation Printer Type Display-Equipped See Table 5-7. Four characters A – Z, (or, if security is enabled Display-Equipped 0 – 9 then eight characters).
  • Page 70 Parameter <STX>Kc Parameter Name Pneumonic Present Distance A/Y, E, N/D Present Sensor Equipped Print Contrast Printer Level Print Speed Query Configuration Reflective No Paper Minimum (Out Of Stock) Extended System-Level Command Functions Value / Units / Applicable Range Interpretation Printer Type Display-Equipped 0 –...
  • Page 71 RFID Configuration L, R, W, E, P, Class Series Programmer’s Manual Extended System-Level Command Functions Value / Units / Range Interpretation Printer Type Display-Equipped 0 – 255 Non-Display (except 0 – 50 .1 Volt DC M1, M2, and EX2) Non-Display (except 0 –...
  • Page 72 A/Y, E, N/D Row Adjust Row Adjust Fine Tune Row Offset Extended System-Level Command Functions Value / Units / Range Interpretation Printer Type Display-Equipped 100 – 200 1/100 in. Y = Enabled, Y, N Display-Equipped N = Disabled 3 = Active Low,...
  • Page 73 Scalable Font Cache Scalable Heap Scanner Configuration Class Series Programmer’s Manual Extended System-Level Command Functions Value / Units / Range Interpretation Printer Type 0 – 255 N/A, Non-Display (except (128 see Row Adjust Fine nominal) Tune A = Allegro, Display-Equipped...
  • Page 74 G, C, R C = Continuous, Non-Display R = Reflective Non-Display Display-Equipped See Table 5-12. Non-Display Non-Display Display-Equipped AA – ZZ, printer character resident symbol set Non-Display Alpha Model specific ranges; GPIO-Equipped character see Appendix L. Table 5-1: Configuration Set Commands (continued)
  • Page 75 TOF Delta TOF Gain Class Series Programmer’s Manual Extended System-Level Command Functions Value / Units / Applicable Range Interpretation Printer Type Y = Processed Y, N Display-Equipped N = Ignored 3 = Active Low, 3, 4 Display-Equipped 4 = Active High...
  • Page 76 User Terminator Verifier Equipped A/Y, E, N/D Verifier Type Extended System-Level Command Functions Value / Units / Range Interpretation Printer Type Display-Equipped Y = Enabled, Y, N N = Disabled Display-Equipped M = Metric, M, I I = Imperial Display-Equipped...
  • Page 77 2. The EX2 uses the same Sensor Calibration value setup commands as display model printers. 3. The EX2 will accept Display-Equipped module IDs (D & G) as command parameters for upward compatibility; however, query commands will result in printer responses with module IDs that are non-display compatible, providing backward compatibility.
  • Page 78 If disabled, the printer will not initiate repositioning until the next label is ready to print (may help prevent the curling of the label edge).
  • Page 79 (28-228). The <STX>KcQQQ response will show the Column Adjust Fine Tune (CF) equivalent value. (CB) Cut Behind – This command allows the printer to queue a specified number of small labels before a cut is performed to increase throughput.
  • Page 80 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.
  • Page 81 DPL, or Line Mode. In Line Mode the printer will not parse character strings; instead, it will behave as a line printer, where each carriage return terminated line of data will be printed on the label according to a stored template. See Appendix S for details.
  • Page 82 Extended System-Level Command Functions (ET) Exact Time – This command set the printer to wait until the system is idle before the next label’s data and time fields are formatted to eliminate any discrepancy between the buffered and printed times.
  • Page 83 Example: <STX>KcFHD112<CR> (The example configures the printer to back up and print a one-inch “VOID” message on a label when a fault is detected; if two successive faults occur during the printing of that label then the FEED Key must be pressed to clear the fault.) Class Series Programmer’s Manual...
  • Page 84 (FS) Slew Speed – This command controls the rate of label movement between printing areas when the GPIO port is used; see Appendix L for ranges. (GE) GPIO Equipped – This command is used to interface the printer to external controlling devices (see Appendix J):...
  • Page 85 (HT) Host Timeout – This command controls the number of seconds a communications port must be idle before the printer may process data from a different port. The value is also used to “timeout” an image / label format download (i.e., if, at any time, data flow stops before a complete label format is received, the data will be ignored).
  • Page 86 Alignment Length before printing the first label after power-up. Press and hold the FEED Key four seconds so the printer will measure the length of the label. The EX2 will only measure the label length when new label stock is loaded.
  • Page 87 (LM) Label Store – This command selects the level of stored format recall to include the label- formatting command fields, or the label-formatting command fields and the printer state. (LW) Label Width – This command sets the maximum limit for the printable width. Objects extending beyond this limit will NOT print;...
  • Page 88 (ML) Maximum (Label) Length – See <STX>M for command details. (MM) Menu Mode – This command sets the menu access level of the printer – where User is a basic listing of menu settings and controls, and Advanced is a full menu listing.
  • Page 89 Extended System-Level Command Functions (NT) Network Setup – This command configures the printer for an Ethernet connection. Each octet must be zero-filled to be properly interpreted (e.g., an IP Address of 10.12.0.243 must be sent to the printer as 010.012.000.243).
  • Page 90 Extended System-Level Command Functions Example: <STX>KcNTI010.012.000.243;NTS255.255.000.000;NTG010.012.254.254;NTDN; <CR> The command string above is typical of a network setup string (where the values meanings are shown in the following table). This configuration setup command string may be included with any other Kc sub-commands. Sub-commands and Values NTI010.012.000.243 NTS255.255.000.000...
  • Page 91 Extended System-Level Command Functions (OF) Option Feedback Mode – This command configures the printer to output the status of the RFID or Scanner option to the active port, as follows. Note: 10.xx firmware is required; and, not supported on the I-4208 printer.
  • Page 92 (PE) Peel Mode – This command, when enabled, specifies that a Feed operation be prevented when the label is presented and not removed, or if the printer is to wait for the GPIO start of print signal. (PJ) equivalent value.
  • Page 93 (PL) Printer Level – This command is used to upgrade the software feature level of the printer. (PM) Pause Mode – See <STX>J for command details. (PO) Paper Empty – This command sets the length of travel before an out of stock condition is declared.
  • Page 94 (QQ) Configuration Query – This command requires a parameter of either K or Q. K causes the printer to respond with the Printer Key, used for generating Upgrade Codes. A parameter value of Q causes the printer to respond with the current configuration settings. The <STX>Kc response command stream format is sent to the host computer via the same port as the query containing all parameters controlled by the <STX>Kc command, and may be used for restoring...
  • Page 95 “gap” or “mark.” (RE) Ribbon Saver Equipped – This command allows the printer to sense the ribbon saver option. A or Y - automatically senses device presence; if undetected, no error is generated. E - enables the device, where its presence must be detected;...
  • Page 96 (RI) RFID Configuration – This command configures the optional RFID interface module, as follows: Value Units / Interpretation D = Disable H = HF where n: U = UHF M = UHF where hh: 2-Chararacter Hex ID AIhh E = Enable, and where n: D = Disable where hh:...
  • Page 97 <STX>KcRIMH;RIA11E;RID22E;RIS04;RIR3;RIWE;RIEE;RIP000<CR> The above example sets the printer to HF, protect after write AFI 11, protect after write DFSID 22, set EAS Bit (Mfg. Code 0x04), allow 3 tries for each read or write attempt, lock after writing, erase the tag if there is an error, and use a position of 0.00.
  • Page 98 (RO) Row Offset – See Rnnnn (in Label Formatting Command Functions) for command details. (RP) Ribbon Low Pause – This command (when enabled) pauses the printer when a Ribbon Low Diameter warning is declared; the PAUSE Button must be pressed to continue printing.
  • Page 99 (SF) Save As Filename – This command, which may be sent separately or included as the last command in an <STX>Kc command string, saves the effective printer configuration to a file in Flash memory with a .dcm file extension.
  • Page 100 Host commands are ignored. Sets stop position according to options installed. If no options are installed the printer sets stop location to the next label’s start of print. Host commands will override. The stop location (present distance) may be controlled dynamically by the host using the <STX>f or <STX>Kf commands.
  • Page 101 Table 5-11: Scanner Configuration Set Command Example: <STX>KcSNC00H4MAB12YV0<CR> (The above sample sets the printer to sense the scanner automatically, to read a variable number of UPC bar codes, and to pass only those codes where ¼ inch of the bar code has identical reads.)
  • Page 102 Extended System-Level Command Functions (SP) Serial Port – This command configures the serial communication port(s) as follows: Value Where: Where: xyzz Table 5-12: Serial Port Configuration Set Command Note: For E-Class & M-Class models, this command is followed by the port ID, always ‘A’ (i.e., SPA);...
  • Page 103 Extended System-Level Command Functions (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 – This command controls recognition of the software switch setting command <STX>V. (TB) TOF Bias –...
  • Page 104 Extended System-Level Command Functions (WE) WiFi Setup – This command configures the printer for a WiFi connection. Value Parameter xxx.xxx.xxx.xxx * Each octet must be zero-filled to be properly interpreted (e.g., an IP Address of 10.12.0.243 must be sent to the printer as 010.012.000.243).
  • Page 105 Extended System-Level Command Functions (WS) WiFi Security – This command configures WiFi security. Value Parameter 1. Default values for WEP Keys is all zeros (whether 10 digit or 26 digits). 2. The LEAP password is 1 to 32 characters and must match the LEAP password assigned to the LEAP user on the LEAP server.
  • Page 106: Stx Kd Database Configuration (Non-Display Models Only)

    <STX>f commands (a feature provided for host system software that sends these commands with values that may be inappropriate for the printer and result in incorrect start of print and present distances). Use the <STX>KD command or the Setup Menu to enable this feature. (2) This command will result in a system reset for the EX2.
  • Page 107: Stx Kd Set File As Factory Default

    Currently there are three ways to “Select Factory Defaults”: 1) by the <STX>KF command; 2) power-up the printer while pressing the PAUSE and CANCEL Keys; or, 3) via the printer’s menu system entry System Settings / Set Factory Defaults.
  • Page 108 Character Encoding Examples: In the following partial datastreams it is assumed that character encoding is enabled and that the selected delimiter, a backslash (\), has been transmitted to the printer (i.e., <STX>KEY\). In each example, the printer has not received an unpaired delimiter prior the example.
  • Page 109: Stx Kf Select Factory Defaults (Display-Equipped And Ex2 Only)

    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 Datamax default values or the values previously specified by a configuration file (see <STX>Kd). Syntax: <STX>KFn<CR>...
  • Page 110: Stx Kj Assign Communication Port (Mcl Command)

    Extended System-Level Command Functions STX KJ Assign Communication Port This command assigns a communication port for specific use. When activating MCL, all ports are assigned to MCL; this command allows changes to that assignment. Syntax: <STX>KJpf<CR> Where: Sample: <STX>KJN1 The sample forces the Ethernet port to bypass MCL and go directly to DPL. STX KI GPIO Input This command configures the GPIO input channels of the Applicator Interface Card;...
  • Page 111: Stx Kn Nic Reset

    Extended System-Level Command Functions STX Kn NIC Reset This command resets the NIC to factory defaults. Syntax: <STX>Knx Where: STX KO GPIO Output This command configures the GPIO output channels of the Applicator Interface Card; see Appendix J for details. Syntax: <STX>KOffnsptd0pw0td1pw1<cr>...
  • Page 112: 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 Datamax reserved modules, Z (ILPC) and Y (EFIGS). See Appendix K for a listing of the memory modules.
  • Page 113: Stx Kq Query Memory Configuration

    STX KQ Query Memory Configuration This command causes the printer to transmit, in a model-dependent format, its DRAM memory configuration (i.e., total amount installed, amount available for configuration, and amount currently assigned to specific functions or entities) to the host device.
  • Page 114 8 MB 4.09 IN 512 KB 232 KB - Printer model, type, and firmware version. - Total amount of RAM. - Size in inches/millimeters of the print head. Dot Buffers available. (This is not the maximum size of a label, which is limited to 99.99 inches.)
  • Page 115: Stx Kq

    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 116: Stx Kr Resettable Counter Reset

    Extended System-Level Command Functions STX Kr Resettable Counter Reset This command resets the internal counters. Follow this command with an <SOH>U command to retain the reset or the counters will revert to the previous values after cycling power. Syntax: <STX>Kr<CR> STX KS Memory Configuration, Scalable Font Cache (Non-Display Models only)
  • Page 117: Stx Ktd Write Data Storage Format Identifier (Dsfid) To Tag

    Extended System-Level Command Functions STX KtD Write Data Storage Format Identifier (DSFID) to Tag (Direct Mode – HF [13.56 MHz] ISO15693 Tag Interface) This command writes the DSFID data to the tag. Syntax: <STX>KtDabcc Where: Sample: <STX>KtD91C3[CR] The sample writes 0xC3 DSFID byte, locking value, retrying nine times, if necessary. STX KtE Write Electronic Article Surveillance (EAS) Bit (Direct Mode –...
  • Page 118: Stx Kth Read And Feedback Tag Information To Host

    Extended System-Level Command Functions STX KtH Read and Feedback Tag Information to Host (Direct Mode – HF [13.56 MHz] ISO15693 Tag Interface) This command returns the tag info to host. Note: This command only works when the Data Flag for the tag is DSFID, AFI, VICC and IC data).
  • Page 119: Stx Ktu Read Unique Serial Number From Rfid Tag

    Extended System-Level Command Functions Sample: <STX>L 1911A1802000010TEXT <STX>KtRUE00700ABCDEF1234H0000015001 <STX>G The sample creates a replaceable text field (01), recalls data from the RFID tag block zero (reading only one block, which is attempted nine times), and prints the data in the location specified by replaceable field.
  • Page 120: 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 121: Stx Kub Read Data From Gen2 Tag Section

    STX KuF Send RFID Device Firmware Version This command instructs the RFID device to return the firmware version. Syntax: <STX>KuF<CR> Printer response: DEVICE VERSION: XXX.XXX.XXX[CR] STX KuJ Write Data to Gen 2 Tag Section This command writes a specific block address of a Gen2 tag.
  • Page 122: 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 123: 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 124: Stx Kx Delete Configuration File

    Extended System-Level Command Functions STX Kx Delete Configuration File (Display-Equipped Models only) This command deletes the specified configuration file. Syntax: <STX>KxmName<CR> Where: Name <CR> Sample: <STX>KxYPlant1 This command deletes the configuration file Plant1 located on Module Y. (Remember to prefix this command with the Module (Un)Protect Command <STX>Kp.) STX KZ Immediately Set Parameter...
  • Page 125: Label Formatting Command Functions

    E<CR> The sample instructs the printer to make a cut after 5, 10, and 20 labels have been printed. Label 21 will be cut at the start of a subsequent label format (batch) unless a default (cut by amount) greater than one has been entered.
  • Page 126: A Set Format Attribute

    Where: Sample: <STX>L 141100001000100DATAMAX<CR> 141100001100110DATAMAX<CR> The sample sets the printer to Opaque Mode and produces one label. Attribute In this mode, the region where text strings, images or bar codes intersect will not be printed. (An odd Mode number of overlapping objects will print.) This is the default mode;...
  • Page 127: B Bar Code Magnification

    Sample: <STX>L C0050 141100001000100DATAMAX<CR> The sample shifts all format data 0.5 inches to the right, unless the printer is in metric mode, (see Label Formatting Command ‘m’). Class Series Programmer’s Manual Label Formatting Command Functions Is a two digit decimal number indicating the magnification value.
  • Page 128: Set Cut By Amount

    For the element sizes see Appendix K. Syntax: Where: Note: D11 is the default value for 300, 400 and 600 DPI printer models, while D22 is the default value for all 203 DPI printer models. Label Formatting Command Functions Is a two-digit number indicating the number of labels to be printed before a cut is made.
  • Page 129: E Terminate Label Formatting Mode And Print Label

    This command recalls a previously stored printer configuration. It is highly recommended that only one Recall Printer Configuration command be used per label, and that it be used at the beginning of the label; otherwise, unpredictable results will occur. (Printer configurations may be stored using the Extended System-Level Commands or the printer’s menu system.)
  • Page 130: Set Present Speed

    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. The speed assigned is retained until another label format is received or until power is removed;...
  • Page 131: H Enter Heat Setting

    H15<CR> 141100001000100SAMPLE LABEL<CR> The sample sets the printer for a heat value of 15 and prints one label. Note: Non-Display Models – the “Darkness Potentiometer,” while providing subtle changes, is intended to be used to match print contrast levels following print head replacements.
  • Page 132: M Select Mirror Mode

    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). All printers default to Imperial (inch) mode.
  • Page 133: P Set Print Speed

    This command, typically used in conjunction with the Cut or Peel and Present operations, controls the rate at which the labels will reverse to align to the next start of print position. The setting remains in effect until another backfeed speed command is received or until the printer is reset. Syntax:...
  • Page 134: Q Set Quantity Of Labels To Print

    Note: (All models, except E-Class) Specifying 9999 as the four-digit quantity causes continuous printing. Set Row Offset Amount This command allows vertical adjustment of the point where printing begins. The printer is instructed to print label formats nnnn units above the position that the format specifies. This feature is useful when a single format is to be printed on labels containing preprinted information.
  • Page 135: Recall Stored Label Format

    E<CR> 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: Sample: <STX>L 141100001000100LABEL1<CR>...
  • Page 136: S Store Label Format In Module

    Q0001<CR> E<CR> The sample sets the printer to use a NULL terminator (ASCII NULL: HEX 00) for the data line termination code. The terminator is immediately restored to a carriage return <CR>, as seen in the format record containing the text ‘TERMINATOR’.
  • Page 137: U Mark Previous Field As A String Replacement Field

    System-Level field-replacement commands and prints the last label. 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’...
  • Page 138: Y Select Font Symbol Set

    Select Font Symbol Set This command, like the <STX>y, selects the scalable font symbol set. The selected symbol set remains active until another symbol set is selected; see the <STX>y command for details. Syntax: ySxx Where: Sample: <STX>L ySSW<CR> The sample selects the Swedish symbol set for use in succeeding format records using scalable fonts. Zero (Ø) Conversion to “0”...
  • Page 139 Make Last Field Entered Increment Numeric (Alphanumeric) (Hexadecimal) This command, useful in printing sequenced labels, causes the printer to automatically increment a field on the labels in a batch. The numeric data in the field will increment by the value assigned after the plus sign (+) each time a label is produced (or the greater than symbol [>] can be substituted to...
  • Page 140 Make Last Field Entered Decrement Numeric (Alphanumeric) (Hexadecimal) This command, useful in printing sequenced labels, causes the printer to automatically decrement a field on the labels in a batch. The numeric data in the field will decrement by the value assigned after the minus (-) sign each time a label is produced (or the less than character [<] can be substituted to...
  • Page 141: Set Count By Amount

    Set Count By Amount This command allows applications using the increment / decrement field command to print more than one label with the same field value before the field data is updated. All printers default to 1. Note: This command can only be issued once per label format. In addition, when alternate Control Codes are enabled, the ^ character must be replaced by the @ character (hexadecimal 0x40).
  • Page 142: Stx S Recall Global Data And Place In Field

    This command, using string characters and markers, allows time and date data to be selected and retrieved from the printer’s internal clock. In addition, the <STX>T may be preceded by data to be printed/encoded, and/or the string may now be terminated by an <STX> command and then followed by more data terminated by a <CR>.
  • Page 143 Sample 1: <STX>L<CR> 121100001000100<STX>TBCD GHI PQ, TU<CR> E<CR> Sample 1 will print SUN DEC 21, 98 on a label. Sample 2: <STX>L<CR> 191100100100010<STX>TEF/PQ<CR> E<CR> Sample 2 will print 12/21 on a label. Sample 3: <STX>L<CR> 191100100100010ABC <STX>TEF/PQ<STX> DEF<CR> E<CR> Sample 3 will print ABC 12/21 DEF on a label. (This illustrates a method of embedding the time string.
  • Page 144 Label Formatting Command Functions Class Series Programmer’s Manual...
  • Page 145: C###D Assign Font Id Number

    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]).
  • Page 146: C###E Character Code

    *c###E Character Code This code is the ASCII decimal value corresponding to the next downloaded character. Syntax: <ESC>*c###E Where: (s#W Character Download Data This command contains all of the information for one downloaded character. Syntax: <ESC>(s###Wnn…n Where: nn…n Font Loading Commands Is the ASCII value of the character, three digits maximum, 0 to 999.
  • Page 147: Generating Label Formats

    Format Record Commands Table 8-1 is an example of a label format as seen by the printer, while Figure 8-1 is the label generated by this format. The printer receives the data sequentially, left to right and top to bottom.
  • Page 148: Generating Records

    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. The remaining lines (3- 13) are print format records, explained in this chapter.
  • Page 149 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 150 The second field (b) determines how the rest of the fields are interpreted, as shown in the table below. Values 0 through 9 select human-readable fonts. 0 through 8 will select standard Datamax fonts; value 9 selects the CG Triumvirate smooth scalable font (internal) or scalable fonts. When 9 is used to select a scalable font, the font size (font I.D.
  • Page 151 See note below. Note: To ensure that the data stream is portable to different Datamax printers, specify the font size in points. If the font is specified in dots, it will output differently on printers with different DPI/MMPI resolutions.
  • Page 152: Record Structure Types

    1 to 9, A to Z, and a to z 1 to 9, A to Z, and a to z 0000 to 9999 ffff 0000 to 9999 Dependent upon printer. See Appendix K. gggg Valid ASCII character string up to 255 characters, followed jj…j by a termination character.
  • Page 153: Scalable Fonts

    1 to 9, A to Z, and a to z 000 to 999 (000 to 099 Reserved), A04 to A72, x04 – x72* 0000 to 9999 ffff 0000 to 9999 Dependent upon printer. See Appendix K. gggg Valid ASCII character string up to 255 characters followed jj…j by a termination character.
  • Page 154: Bar Codes

    Placing a 0 (zero) in both c and d will cause the printer to use the default bar code ratio or module size. Placing a 000 (zero) in the symbol height field causes the printer to use the default bar code height.
  • Page 155: Images

    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). The data field jj…j is used to describe the line or box dimensions.
  • Page 156: Polygons

    (three points), to any free-form outline. Polygons may be filled with a variety of different patterns. All row/column specifiers are interpreted as inches/100 or millimeters/10 depending on the printer mode, (see <STX>m). Record structure for a polygon (spaces added for readability): 1 X 11 ppp rrrr cccc P ppp bbbb rrrr cccc rrrr cccc …...
  • Page 157: Circles

    A circle is created by defining by its center point and radius. Circles can be filled with a variety of different patterns (see Table 8-15). Row, column, and radius are interpreted as inches (100) or millimeters (10) depending on printer mode. Record structure for a circle (spaces have been added for readability): 1 X 11 fff rrrr cccc C ppp bbbb rrrr <CR>...
  • Page 158 Examples (Spaces have been added for readability) 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 0010, column 0010) Rectangle with Fill The record: 1 X 11 004 0010 0010 P 001 0001 0050 0010 0050 0200 0010 0200<CR> Produces a rectangle filled with pattern 4 (25% Black): (row 0010, column 0010) (row 0050, column 0200) Circle...
  • Page 159: Advanced Format Attributes

    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 160 <STX>L 1911S0102600040P018P018New DPL World FU+I+ 1911S0102000040P018P018New DPL World FI-U+B- 1911S0101400040P018P018New DPL World FU-B+ 1911S0100800040P018P018New DPL World FB+I+U+ 1911S0100200040P018P018New DPL World FB-U-I- Note that if all format commands after the first FB+ were deleted the entire label would have been printed with bold scalable fonts. This is what is meant by a state change. Once invoked, that command is in affect until turned off or the label format is terminated with the “E”...
  • Page 161 Figure 3 is an example of the output from this DPL command stream. The user has the ability to change the point and set size of the font within the DPL command record. In addition, the angle of the baseline may be specified relative to the current orientation of the record.
  • Page 162 Generating Label Formats Class Series Programmer’s Manual...
  • Page 163: Appendix A

    Appendix A ASCII Control Chart 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 Ctrl Q Ctrl R Ctrl S...
  • Page 164 Appendix A Char ã Ã ð Ð Ê Ë È Í Î Ï Ì ) has been added to the table above at 255 (FF) as a Datamax Char Ó ß Ô Ò õ Õ µ þ Þ Ú Û...
  • Page 165: Appendix B

    / DMX SERIES Sample C program / # include <stdio.h> main () char pcs = “590”; char desc = “10K OHM 1/4 WATT”; fputs (“DMX Printer Test Program\n”, stdout); fputs (“\x02L\n”, stdaux); fputs (“H07\n” stdaux); fputs (“D11\n”, stdaux); fprintf (stdaux, “191108010000025%s\n”,desc);...
  • Page 166 Dim CharSet As String‘<STX> byte Const StartLabel = “L” Const EndLabel = “E” Const PrintDensity = “D11” ‘Printer DPL Data to position dynamic information on label Const OrderTxt = “191100704150010”‘font 9, 24 pt Const OrderBC = “1a6205004200120” Const CustomerTxt = “191100603600010”...
  • Page 167 ‘Concatenate all the dynamic data fields with the constant header strings, OrderData = OrderTxt & txtOrderNo.Text & Chr$(13) & OrderBC & txtOrderNo.Text & Chr$(13) & CustomerTxt & txtCustomer.Text Item1 = Item1NO & txtItem1.Text & Chr$(13) & Item1BC & txtItem1.Text & Chr$(13) & Item1Txt & txtItem1Desc.Text & Chr$(13) &...
  • Page 168 Left TabIndex Width Attribute VB_Name = “Form1” Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Appendix B – Sample Programs “Datamax Test Print” 1065 2325 “Form1” ‘False ‘False 1065 2325 ‘Windows Default “Font List”...
  • Page 169 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 170: Vb Application To Send Raw Data Via A Windows Printer Driver

    VB Application to Send RAW Data via a Windows Printer Driver 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 DPL print driver.
  • Page 171 Left TabIndex Width Begin VB.Label Label1 Caption Height Left TabIndex Width Begin VB.Menu File Caption Begin VB.Menu open Caption Begin VB.Menu exit Caption Shortcut Attribute VB_Name = “Form1” Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Option Explicit ‘**********************************...
  • Page 172 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” Exit Sub End If Appendix B – Sample Programs Class Series Programmer’s Manual...
  • Page 173 Private Sub exit_Click() End Sub Private Sub Form_Load() Dim X As Printer ‘ search for printer queue name / driver name For Each X In Printers If X.Port = “LPT1:” Then ‘printer found ‘ Set printer as system default. SelPrinter = X.DeviceName...
  • Page 174 Private Sub Printer_Click() CommonDialog1.ShowPrinter End Sub This will create the form pictured below: Note: It may be necessary to remove and reinsert the common dialog control due to Windows issues. Appendix B – Sample Programs ® registry Class Series Programmer’s Manual...
  • Page 175: Appendix C

    (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. Fonts 0 through 8 use the slash zero (Ø) conventions for distinguishing between the zero and the alphabetic O.
  • Page 176 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 Font 0 Font 1 Font 2 Font 3...
  • Page 177 (see Appendix E). In the sample format below, a 300 DPI printer will use 4-point smooth font to produce a printed label with the words “four point font”. Sample format: <STX>L<CR>...
  • Page 178 Internal Bit-Mapped 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. Note: The Euro currency character ( character is also present in Font 9.
  • Page 179 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 Programmer’s Manual...
  • Page 180 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 Programmer’s Manual...
  • Page 181: Appendix D

    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. Lowercase “v” There is an input buffer overflow situation, caused when an overflow of data is sent to the printer. Class Series Programmer’s Manual...
  • Page 182 Appendix D – Reset Codes Class Series Programmer’s Manual...
  • Page 183: 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;...
  • Page 184 “ ‘ ¡ ¢ £ ° ± ² ³ À Á Â Ã Ð Ñ Ò Ó à á â ã ð ñ ò ó “ ‘ ˘ Ł º ł Á Â Ð Ó á â ó “ ‘ ¡...
  • Page 185 “ £ à µ “ § ‘ “ £ § ù “ ° Class Series Programmer’s Manual Appendix E – Single Byte Symbol Sets (FR) ISO 69: French Symbol Set & ‘ (GR) ISO 21: German Symbol Set & ̓ (IT) ISO 15: Italian Symbol Set &...
  • Page 186 “ Ä Å Ç É ê ë í ì † º £ ¢ ∞ ≤ ≥ ± ¿ ¡ ¬ √ – — “ “ ‡ ‚ „ Ò Ú Û ♥ ☺ “ Ç ü é â É æ Æ...
  • Page 187 ♥ ☺ “ Ç ü é â É ô á í ó ú ░ ▒ ▓ │ └ ┴ ┬ ├ ð Ð Ë Ó ß Ô “ ╸ ͅ ̌ „ ‚ ¯ ˘ ̌ ̇ ∆ ℘ ∑ ℘...
  • Page 188 (PT) PC-8 TK, Code Page 437T Symbol Set ♥ ☺ ″ Ç ü é â É æ Æ ô á í ó ú ░ ▒ ▓ │ ┴ ┬ ├ └ ╨ ╤ ╥ ╙ ß └ π ≡ ± ≥...
  • Page 189 “ É é “ ¡ ¢ £ † ‡ ´ ˆ — Æ ª æ (UK) ISO 4: United Kingdom Symbol Set “ £ “ ‘ Class Series Programmer’s Manual Appendix E – Single Byte Symbol Sets (SW) ISO 11: Swedish Symbol Set ¤...
  • Page 190 (VI) Ventura International Symbol Set “ „ À Â È ‰ “ “ º â ê ô û Å î Ø Æ Á à 㠌 œ ¶ † “ ‘ „ ‰ “ “ º ¶ † (W1) Windows 3.1 Latin 1 Symbol Set “...
  • Page 191 (WE) Windows 3.1 Latin 2 Symbol Set “ € ‚ ‘ “ ‘ ˇ ˘ Ł º ± ˛ ł Á Â Ð Ó á â ó (WO) Windows 3.0 Latin 1 Symbol Set “ ’ ¡ ¢ £ ° ±...
  • Page 192 Appendix E – Single Byte Symbol Sets Class Series Programmer’s Manual...
  • Page 193: Appendix F

    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 bar code symbology, see Appendix G for details.
  • Page 194 Symbology Code UPS MaxiCode w/ Byte Count PDF417 PDF417 w/ Byte Count DataMatrix DataMatrix w/ Byte Count QR Code – Auto format QR Code – Manual format Aztec Aztec w/ Byte Count USD-8 (Code 11) W1G / g EAN 128 w/auto subset switching Code 128 w/auto subset switching GS1 DataBar USPS 4CB...
  • Page 195: Bar Code Default Widths And Heights

    Bar Code Default Widths and Heights 203 DPI Resolutions Font Height Ratio/ (inches) Module Size 1.30 1.40 1.40 1.40 Class Series Programmer’s Manual Appendix F – Barcode Summary Data 300 DPI Resolutions 400 DPI Resolutions Height Ratio/ Height (inches) Module Size (inches) 1.30 1.30...
  • Page 196 203 DPI Resolutions Font Height Ratio/ (inches) Module Size 1.00 W1C/W1c W1D/W1d W1F/W1f W1G/W1g 1.40 W1Z/W1z Note: Some bar codes will be sensitive to Label Command ‘D’ (set dot width and height size); see Label Formatting Commands for details. Appendix F – Barcode Summary Data 300 DPI Resolutions 400 DPI Resolutions Height...
  • Page 197: Appendix G

    Unless otherwise noted all bar codes depicted here 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.
  • Page 198 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 199 Special Character Handling: Characters with an ASCII value greater than 95 are considered special characters. To access these values, a two-character reference table is built into the printer (see below). For example, to encode FNC2 into a Code 128 Subset A bar code, send the ASCII “&” (DEC 38, HEX 26) followed by the ASCII “B”...
  • Page 200 EAN-13 Valid Characters: 0-9 Length: 13 digits. If the user provides 12 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 all zeros and the expected checksum. See Appendix P.
  • Page 201 Health Industry Bar Code (HBIC) Valid Characters: 0-9, A-Z, -$ /. % Variable Length. Valid bar widths: The expected ratio of wide to narrow bars can range from 2:1 to 3:1. The host must supply leading “+”’s The following example prints a HBIC bar code with a wide to narrow bar ratio of 3:1: <STX>L D11<CR>...
  • Page 202 Plessey Valid Characters: 0-9 Length: 1 to 14 digits Valid bar widths: The expected ratio of wide to narrow bars can range from 2:1 to 3:1. If a + character is the last data character, an additional MSI checksum will be added to the bar code in place of the + character.
  • Page 203 2-digit UPC addendum Valid Characters: 0-9 Length: 2 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). Human readable characters for this bar code symbology are printed above the symbol.
  • Page 204 (2 times, 3 times, and 4 times the narrow bar width). Human readable characters for this bar code symbology are printed above the symbol. The printer spreads a weighted module 103 check sum. The following example prints a UCC/EAN Code 128 bar code: <STX>L...
  • Page 205 UCC/EAN Code128 K-MART NON EDI Valid Characters: 0-9 Length: 18 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). Human readable characters for this bar code symbology are printed above the symbol.
  • Page 206 UPS Modes 2 & 3 Explicit The data stream can force Mode 2 or 3 encoding by placing #2 or #3, respectively, before the data, as shown in the example below. If this is not specified, the printer chooses the best mode. 1u0000001200120#3[)>...
  • Page 207 Where: Forces Mode 3 encoding 96 Message Header [)> Maximum 9 alphanumeric ASCII, postal code 123456 Country Code Class 1Z1..T UPS 3.0 Examples In the UPS 3.0 protocol examples that follow, Primary Message control characters encoded in the MaxiCode symbol. All characters, the Secondary Message, with the exception of the leading , in are encoded.
  • Page 208 Field termination is set by the byte count. <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. Appendix G – Barcode Details 1Z12345675...
  • Page 209 Valid Characters: A, B, C, or D Length: 1 character Valid bar widths: The width and height multiplier works the same as for fonts on this bar code. This bar code is used to display the Facing Identification Mark (FIM) that is carried on certain types of letter mail for the U S Postal Service: FIM A: Courtesy reply mail with Postnet.
  • Page 210 3, while row values greater than 90 are set to 90. 2-digit number specifying the number of columns requested. Use “00” to let the printer find the best fit. Valid range is from “01” to “30”. Column values greater than 30 are set to 30.
  • Page 211 W1c: DataMatrix Valid Characters: Any 8-bit byte data Variable Length DataMatrix is a two-dimensional matrix symbology, which is comprised of square modules arranged within a perimeter finder pattern. There are two basic types: ECC 000-140 and ECC 200. ECC 000 - 140 symbols: These square symbols can be any odd size from 9x9 to 49x49, which may be specified in fields jjj and kkk.
  • Page 212 Where: Field Valid Inputs 1,2,3, and 4 c, 1c b[b] 1 to 9, A to Z, and a to z 1 to 9, A to Z, and a to z 000 to 999 0000 to 9999 ffff 0000 to 9999 gggg 000, 050, 080, 100, 140 0 - 6...
  • Page 213 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. If an ECC 200 symbol is specified with odd numbers of rows or columns, the next largest even value will be used.
  • Page 214 From the example above, the bar code’s data stream, 1W1C440000100010000292000000000 Datamax<0x0D>prints best, includes a Byte Count Specifier (the portion in bold), where 0029 equals the four-digit decimal data byte count and includes all bytes that follow until the end of the bar code data. Field termination is set by the byte count.
  • Page 215 W1d / W1D: QR Code Valid Characters: Numeric Data, Alphanumeric Data, 8-bit byte data, and Kanji characters Variable Length: The two-dimensional bar code (as documented in AIM, Version 7.0). Syntax: a W1 b c d eee ffff gggg hh…h Where: Field Valid Inputs 1,2,3 and 4...
  • Page 216 <STX>L D11<CR> 1W1d4400000100010This is the data portion<CR><CR> 121100000000100Barcode W1D<CR> 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,] Where: Field Valid Inputs 1, 2 H, Q, M, L 0 –...
  • Page 217 Data Append Mode String Format, Manual Formatting – Bar Code W1D D aa tt pp I Where: Field Valid Inputs 00, 99 H, Q, M, L 0 – 8, none A, a, M, m N, A, B, K cdata immediately followed by data <CR>, <CR><CR>...
  • Page 218 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 219 W1f / W1F: Aztec Valid Characters: All ASCII characters, depending upon the selected options. Variable Length (W1f): This two dimensional bar code holds a large amount of data in a small area and can provide a high level of error checking. Specified Length (W1F): With a string four-digit length specifier, values 0x00 through 0xFF to be included within the data strings without conflicting with the DPL format record terminators.
  • Page 220: Error Correction

    Symbol Size variable 001 to 099 variable Measured in module size x, assuming default module size (cd=00). Maximum sizes are approximate and data dependant, and may be less than indicated. Error Correction Size 001 to 099: This value specifies the percent of symbol code words to be used for error correction.
  • Page 221 It the data capacity is exceeded no symbol is printed. Size 300: Value 300 informs the printer that the data, which follows will be used to encode one RUNE symbol. The data consists of one to three ASCII digits with value range of 0 to 256. The data may include leading zeros.
  • Page 222 <ESC>n – Is encoded as FLG(n), and is interpreted as signaling Extended Channel Interpretation. When the value of n is from 1 to 6, it signals that the following n digits comprise an extended channel identifier for use with ECI compliant bar code scanners.
  • Page 223 This printer supports the Code 128 subsets A, B, and C. If the data begins with at least four numeric characters the default start code is subset C. If there is a non-numeric in the first four characters then the default start code is subset B.
  • Page 224 Special Character Handling: Characters with an ASCII value greater than 95 are considered special characters. To access these values, a two-character reference table is built into the printer, see table below. As an example, to encode FNC2 into an EAN128 Subset A bar code, send the ASCII & (DEC 38, HEX 26) followed by an ASCII B (DEC 66, HEX 41).
  • Page 225 This printer supports the Code 128 subsets A, B, and C. If the data begins with at least four numeric characters the default start code is subset C. If there is a non-numeric in the first four characters or there are less than four then the default start code is subset B.
  • Page 226 Control Codes: Control character encoding into Code 128 Subset A by sending these control codes: a through z ASCII 127 The following example prints a Code128 Auto bar code: <STX>L D11<CR> 1W1J000000025002512345&G10Z2133021AK<CR> 121100000000100Barcode W1J<CR> When scanned this bar code will decode as: [C]1234[B]5[F1]10Z2 [C]133021[B]AK(95) Appendix G –...
  • Page 227 W1k: GS1 DataBar (formerly RSS) Valid Characters: Type dependant Bar Code Data String Length: Type dependant GS1 DataBar is a continuous, linear bar code symbology used for identification in EAN.UCC systems. There are six different types: GS1 DataBar Type GS1 DataBar GS1 DataBar Truncated GS1 DataBar Stacked GS1 DataBar Stacked Omni-directional...
  • Page 228 Field Valid Inputs 1,2,3, and 4 1 to 9, A to Z, and a to z 1 to 9, A to Z, and a to z 0000 to 9999 ffff 0000 to 9999 gggg R, T, S, D, L 0 to (i-1) 0 to (i-1) 0 to 9 n…n...
  • Page 229 The following example prints an GS1 DataBar Truncated bar code. <STX>L 1W1k0000001500150T1002001234567890 121100000000100Barcode W1k<CR> The following example prints an GS1 DataBar Stacked bar code. <STX>L 1W1k0000001500150S1002001234567890 121100000000100Barcode W1k<CR> The following example prints an GS1 DataBar Stacked Omni-Directional bar code. <STX>L 1W1k0000001500150D1002001234567890 121100000000100Barcode W1k<CR>...
  • Page 230 Syntax for the GS1 DataBar Expanded bar code (spaces shown for readability): a W1 k c d eee ffff gggg h Where: Field Valid Inputs 1,2,3, and 4 1 to 9, A to Z, and a to z 1 to 9, A to Z, and a to z 0000 to 9999 ffff 0000 to 9999...
  • Page 231 W1p: USPS 4-State Customer Barcode 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 USPS 4CB symbol. Usage: The bar code height field is ignored since the symbol height is United States Postal Service specific.
  • Page 232 W1t: TCIF Linked Bar Code 3 of 9 (TLC39) Valid Characters: All ASCII characters. Variable Length: Encodes a 25-character alphanumeric serial number in MicroPDF417 symbol. Specified Length: Encodes a six-digit sequence in a standard 3 of 9 bar code (Code 39) followed by a link flag character in Code 3 of 9.
  • Page 233 W1z: MicroPDF417 Valid Characters: All ASCII characters, depending on the selected options. Variable Length Syntax: a W z c d eee ffff gggg h i j k 0 m…m Where: Field Valid Inputs 1,2,3, and 4 1 to 9, A to Z, and a to z 1 to 9, A to Z, and a to z 0000 to 9999 ffff...
  • Page 234 The number of columns (h) and the row / error correction index (i) combine to form a row/column/error correction selection index (hi) which determines other characteristics of the symbol as shown in the following table. Row/Column/Error Correction Selection Index (h, i) Implications hi Columns Rows Maximum Errors...
  • Page 235 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. See the table above for the maximum data allowed for any row/column/error correction selection index (hi). Macro Character Substitution Disable (k=1) By default Macro Character Substitution is enabled (k=0).
  • Page 236 Appendix G – Barcode Details Class Series Programmer’s Manual...
  • Page 237: 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 bit-mapped 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 238 Font 9, Font Specifications (eee Height) and Associated Characteristics Font Character Name Mapping Font 9 Bit-Mapped Resident Fonts (E-Class and M-4206, only) CG Triumvirate Single Byte CG Triumvirate Single Byte User-downloaded Single Byte typeface Font 9 Scalable Resident Fonts Specifications (unavailable for E-Class and M-4206 ) CG Triumvirate Single Byte Bold Condensed...
  • Page 239: Appendix I

    δ to be printed. Each of the CPs allows the host application to “emulate” a character set for their application. Datamax printers that support scalable fonts contain either a standard or an enhanced group of CPs as defined below. The CP (symbol set) is selected using a DPL Command, is the two letter CP Identifier.
  • Page 240 Appendix I – Symbol Sets and Character Maps Code Page Identifier Intellifont Datamax HP (PCL) Triumvirate √ √ √ Part √ √ Part Part √ Part √ √ √ √ Part √ √ √ √ √ √ √ √ √...
  • Page 241: Double-Byte Symbols, Chinese, Kanji, And Korean

    Appendix I – Symbol Sets and Character Maps Double-Byte Symbols, Chinese, Kanji, and Korean Character Map Selection Double byte scalable fonts are mapped through a ‘character map’. This mapping allows the host application to select a variety of characters to match the application. Each of the code pages allows the host application to emulate a character set for the application.
  • Page 242 Appendix I – Symbol Sets and Character Maps Class Series Programmer’s Manual...
  • Page 243: Appendix J

    Function and setting preferences can be stored in non-volatile memory for subsequent power-ups using the menu system of the printer, or via <STX>Kc commands. Printing with GPIO: When the GPIO functions are enabled, the printer will not print a label until the “Start of Print” signal goes active.
  • Page 244 The operation of this multi-function port is configuration dependent: Non-Display models use the <STX>Kc or program the selections via the “Printer Setup Menu List,” disable all unused optional functions (i.e., present sensor, cutter, etc.), and set GPIO to “YES”; or, for Display-Equipped models via the “Menu System” go to Options / GPIO / Applicator and select Enable.
  • Page 245: I & W-Class Gpio

    Signal (SOP) Signal Ground GPIO pin configuration (illustrated right), as viewed from the rear of the printer: Connections for an external Start of Print/Backup Label control can be made (1) directly to Pin 8 / 7 using a TTL-level input or (2) with an interface circuit similar to the one shown right.
  • Page 246: Applicator Interface Card (Version 1)

    Appendix J – General Purpose Input Output Ports Applicator Interface Card (Version 1) The Applicator Interface Card (Version 1) is equipped with a GPIO Port, an Auxiliary (Serial B) Port and two LEDs. Connector Pin-Outs Applicator Interface Card Location and Connector Pin-outs (as found in some A-Class models) Applicator Interface Card Jumper Locations Applicator Interface Card Auxiliary Port, J1...
  • Page 247 Jumper settings allow internal or external power distribution to the applicator circuitry. • Jumper settings allow + 5 or +24 VDC output signal levels. Failure to configure the card for the device(s) you are connecting may result in damage to the printer and/or the applicator. WARNING...
  • Page 248 Jumpers JMP 1 – JMP 4 should be in installed. Applicator Interface Card Auxiliary Data Port Pin Number(s) 6 & 9 Indicators: The Green and Yellow LEDs provide a visual indication of printer/applicator signal activity: • Flash at power-up and when the card’s outputs change state. Yellow LED •...
  • Page 249: Applicator Interface Card (Version 2)

    Appendix J – General Purpose Input Output Ports Applicator Interface Card (Version 2) The Applicator Interface Card (Version 2) has two GPIO Ports, two Auxiliary Ports (Serial C & D) and two indicator LEDs. Applicator Interface Card (Version 2) Port Pin outs: Hardware jumper locations: Class Series Programmer’s Manual...
  • Page 250 Appendix J – General Purpose Input Output Ports 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.
  • Page 251 Failure to properly configure the GPIO Port can result in damage to the printer and / or connected devices. WARNING Signal Signal Name Jumper Number Direction Ground JMP 8 +5 VDC JMP 9 Start Of Print Slew Label Input Toggle / Pause...
  • Page 252 Two print control interface circuit examples are given below. For direct inputs: Use the printer’s +5VDC and Ground to supply the devices interfacing to the GPI/O B inputs (as shown, right). For electrically-isolated inputs:...
  • Page 253 Failure to properly configure the GPIO Port can result in damage to the printer and / or connected devices. WARNING Signal Name / Direction Pin Number +5 VDC Input 6 Input 3 Output 6 Output 3 Ground Input 5 Input 2...
  • Page 254 Remote Display Note: Jumper settings will override most printer menu settings; however, if COM C jumpers are set for RS-232 communications with both the RFID and Linear Scanner options menu-enabled the printer will automatically assign the Linear Scanner to COM C (J4).
  • Page 255: Appendix K

    I-4206 & I-4208 M-4206 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. Table K-1: Maximum Label Format Fields & Characters Class Series Programmer’s Manual...
  • Page 256 Appendix K – Print Resolutions; Module Identifiers; Maximum Field, Column & Character Values Print Resolution Model A-4212 A-4310 A-4408 A-4606 A-6212 A-6310 EX2, E-4203 & E-4204 E-4304 H-4212 & H-4212X H-4310 & H-4310X H-4408 H-4606 & H-4606X H-6210 & H-6212X H-6308 &...
  • Page 257 Appendix K – Print Resolutions, Module Identifiers, Maximum Field, Column, & Character Values Printer Resolution (DPI) Class Series Programmer’s Manual Row/Column/Present Adjust Fine Tune <STX>KcRF <STX>KcCF <STX>KcPJ Parameter Range (+/– dots) -100 – 100 dots -150 – 150 dots -200 – 200 dots -300 –...
  • Page 258 Size dependent on main board flash size, and options installed, up to 6.0MB [10] Queries report modules A and B, X and Y only. Table K-5: Memory Module Identifiers and Default Memory Allocations Printer [3, 6] [3, 6] [3,6] [3,6] ≈...
  • Page 259: Appendix L

    Appendix L Speed Ranges Printer Speed Command* *Applicable speed values are printer dependent. See Table L-2, below. Class Series Programmer’s Manual Inches 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 Table L-1: Speed Command Values...
  • Page 260 Print Speed Model Range Default A-4212 C – W A-4310 C – S A-4408 C – O A-4606 C – K A-6212 C – W A-6310 C – S E-4203 A – G E-4204 A – G E-4304 A – G A –...
  • Page 261: Appendix M

    Appendix M Commands by Function Function Backup speed Batch quantity request Cancel Character bit-mapped data Character code Character dump mode Column offset amount Configuration label and dot pattern print Configuration Set (See Table 5-1 for individual listings) Continuous paper length Count by Cut by Cut by...
  • Page 262 Function Memory query Memory query (new format) Metric Metric Mirror Module clear Module, compress Module, directory request Module, set default Module, FLASH memory Test Module, RAM memory Test Modules, clear all Pause for each label Pause toggle Pause, controlled Place data in global register Print last label format Print speed Print time and date...
  • Page 263: Appendix N

    X = Supported Command ND = Non-Display Command Description Reset Reset Send ASCII Status String Toggle Pause Stop/Cancel SOH Shutdown Send Batch Quantity Send Status Byte Update System Database with Current Database Class Series Programmer’s Manual <SOH> Constraints Table N-1: <SOH> Constraints Printer...
  • Page 264 Appendix N – DPL Constraint Cross Reference Command Description Set Time and Date Enable Feedback Characters Get Printer Time and Date Info Set Cutter signal time Copy Module Set Continuous Paper Length Memory Dump Set Printer to Double Buffer Mode...
  • Page 265 Controlled Pause Clear All Modules Clear Module Ribbon Saver Select Reflective Sensor Set Feed Rate Set Printer to Single Buffer Mode Print head Dot Pattern Test Label Test DRAM Memory Module Label Format Field Replacement Software Switch Settings Firmware Version Information...
  • Page 266 Query Memory Configuration Query Memory Configuration (new format) Module Protection Reset Memory Configuration Reset Internal Counters Memory Configuration, Scalable Font Cache Verifier Enable/Disable Memory Configuration, Printable Label Width Delete Configuration File Table N-3: Extended System-Level Command Constraints Printer Class Series Programmer’s Manual...
  • Page 267 Bar Code Magnification Set Column Offset Amount Set Cut by Amount Set Dot Size Width and Height Terminate Label Formatting Mode and Print Label Recall Printer Configuration Advanced Font Attributes Set Present Speed Place Data in Global Register Enter Heat Setting Justification...
  • Page 268: Command Description

    (S01) CG Triumvirate Scalable Font. (Standard) Bitmapped Fonts may or may not be used depending on installed fonts. Scaleable Fonts are always used. Optional. (continued) Internal Font Constraints Table N-5: Internal Font Constraints Class Printer Model Class Printer Model Class Series Programmer’s Manual...
  • Page 269: Appendix O

    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). Using 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 270 8030FFFFFFC0000000007FFC000001F80000000000FC000001FFF0000003FFE0000007FFC000001FFFC0003F80007FFF0000(CR) 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 O-1: Sample Datamax 7-bit ASCII File Image Figure O-2: Sample Label Class Series Programmer’s Manual...
  • Page 271: Appendix P

    (commonly used in the food industry). For the printer to generate this checksum, a ‘V’ must be placed in the data stream in the position the checksum is requested. If the ‘V’ is placed in the 6th position for UPC-A or the 7th position for EAN-13, a checksum will be generated using the next five digits in the data stream.
  • Page 272 Appendix P – UPC-A and EAN-13 Class Series Programmer’s Manual...
  • Page 273: Appendix Q

    (GOTHIC B and GOTHIC E [available on the E-Class and non-display M-Class printer models]), Chinese language support (SIMPLIFIED GB) and Korean Hangul. All of the features are embedded in the printer resident firmware and accessible through DPL thus eliminating excessive download time of bitmapped characters.
  • Page 274 The Kanji Option is a double byte scalable font supporting Kanji Gothic B (or Gothic E on E-Class and non-display M-Class printers). 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 275 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> Note: 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. Class Series Programmer’s Manual...
  • Page 276 Appendix Q – 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 277 GB Character Map and the Big 5 Character Map. The resident Asian font in the printer is encoded in the GB Character Map. To utilize the Big 5 Character Map, the user must download a font file that is Big 5 encoded. The font file downloaded must be of a size compatible with the internal module size available or of a size compatible with an external (plug in) module where applicable.
  • Page 278 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> Note: 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. Class Series Programmer’s Manual...
  • Page 279 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 280 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> 1911UH000450390P040P040<AC><15><00><00><CR> M<CR> E<CR> Note: 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. Class Series Programmer’s Manual...
  • Page 281: Appendix R

    E4204, E4304, EX2, H4212, H4310 I4206, I4208, I4308, I4210, I4212, I4406, I4604, M1, M2, M4206, M4208, M4306, W6308, W6208, and W8306.) = Fixed string: “PRINTER” = Description (subject to change with the application [firmware] revision and printer model) Example: Datamax 4208 Label Printer Version 06.06 07/09/2001 Class Series Programmer’s Manual...
  • Page 282 Appendix R – Plug and Play IDs Class Series Programmer’s Manual...
  • Page 283: Appendix S

    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 284 Sample DMXFRM Template: The following sample uses DMXFRM as the template name and stores it to the default module. (The default module is printer model dependent.) <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...
  • Page 285 The sample data will print the following two labels (layout and typeface are approximations): 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 DMXFRMxx Template:...
  • Page 286 Appendix S – Line Mode Sample data for DMXFRMxx type templates: A1>TEST DATA AAAAAAAAAAAAAAAAAAAAAAAAA[CR] A1>TEST DATA BBBBBBBBBBBBBBBBBBBBBBBBB[CR] A1>TEST DATA CCCCCCCCCCCCCCCCCCCCCCCCC[CR] Class Series Programmer’s Manual...
  • Page 287: Appendix T

    Appendix T 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 288 The specification for RFID programming is contained in the data fields of the <STX>KcFH DPL label format, which instructs the printer to write and read data. Two Label Formatting Modes for RFID are available. While each supports auto increment and decrement commands for numeric (+/-), alphanumeric (>/<), or hexadecimal ((/)) data, they differ when a byte count specifier is added.
  • Page 289 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” and user memory data “1111222233334444”.
  • Page 290 Example 3: The following format reads a UHF Gen2 tag with data from address 1, offset 2nd word (EPC data), Tag ID from address 2, and user data from address 3. Note that the length of the data in the record determines how much data is read.
  • Page 291 Class Series Programmer’s Manual Appendix T – RFID Details Meaning Lock after write, where: x = 0 – Use printer setup to determine if lock is performed. x = 1 – Lock after write. yy = Not Used UHF EPC Gen2: Lock after write, where: x = 0 –...
  • Page 292 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. Field termination is set by the byte count.
  • Page 293: Appendix U

    Appendix U WiFi Region Country Codes Code Country Afghanistan Åland Islands Albania Algeria American Samoa Andorra Angola Anguilla Antarctica Antigua and Barbuda Argentina Armenia Aruba Australia Austria Azerbaijan Bahamas Bahrain Bangladesh Barbados Belarus Belgium Belize Benin Bermuda Bhutan Bolivia Class Series Programmer’s Manual Region Country Codes Code Country...
  • Page 294: Country Code

    WiFi Region Country Codes (continued) Code Country Bosnia and Herzegovina Botswana Bouvet Island Brazil British Indian Ocean Territory Brunei Darussalam Bulgaria Burkina Faso Burundi Cambodia Cameroon Canada Cape Verde Cayman Islands Central African Republic Chad Chile China Christmas Island Cocos (Keeling) Islands Colombia Comoros Congo...
  • Page 295 WiFi Region Country Codes (continued) Code Country Denmark Djibout Dominica Dominican Republic Ecuador Egypt El Salvador Equatorial Guinea Eritrea Estonia Ethiopia Falkland Islands (Malvinas) Faroe Islands Fiji Finland France French Guiana French Polynesia French Southern Territories Gabon Gambia Georgia Germany Class Series Programmer’s Manual Appendix U –...
  • Page 296 Appendix U – WiFi Region Country Codes Class Series Programmer’s Manual...
  • Page 297 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 298 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 Phone: 937-435-3870...
  • Page 299 The row of thermal elements in the print head. calibration The process through which Media Sensor readings are entered into the printer for correct sensor function (for example, detection of a given media type) and top of form positioning.
  • Page 300 A paper or synthetic printing material, typically with a pressure sensitive adhesive backing. label length The distance from the top of the label to the bottom of the label as it exits the printer. label repeat The distance from the top of one label to the top of the next label.
  • Page 301 ‘reflective’ Media Sensor is enabled. registration Repeatable top to bottom alignment of printed labels. reverse speed The backward rate of media motion into the printer during tear-off, peel and present and cutting operations for positioning the label at the start of print position.
  • Page 302 Glossary Class Series Programmer’s Manual...

Table of Contents