Class Series Programmer’s Manual Covers the following models: A-Class (firmware ver.10.065 and earlier) H-Class (firmware ver.10.065 and earlier) I-Class (firmware ver.8.03 and earlier) Ex2 (firmware ver.10.065 and earlier) S-Class (firmware ver.6.
CG Times (based upon Times New Roman), CG Triumvirate, MicroType, and TrueType are trademarks of the AGFA Monotype Corporation. PCL, Intellifont, and HP Laser JetII are trademarks of the Hewlett Packard Corporation. Macintosh is a trademark of the Apple Corporation. Windows is a trademark of the Microsoft Corporation. All other brand and product names are trademarks, service marks, registered trademarks, or registered service marks of their respective companies.
Contents Overview ........................................................................................................................ 1 Who Should Use This Manual .............................................................................. 1 The Scope of this Manual ..................................................................................... 1 General Conventions............................................................................................
System-Level Command Functions........................................................................... 15 Introduction......................................................................................................... 15 STX A Set Time and Date ........................................................................ 15 STX a Enable Feedback Characters........................................................ 16 STX B Get Printer Time and Date Information .........................................
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.....................................................................
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)...................
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 ........................... 100 STX KtD Write Data Storage Format Identifier (DSFID) to Tag ................. 101 STX KtE Write Electronic Article Surveillance (EAS) Bit ..
Label Formatting Command Functions................................................................... 109 Introduction....................................................................................................... 109 : Set Cut By Amount...................................................................... 109 A Set Format Attribute .................................................................... 110 B Bar Code Magnification...............................................................
S Set Feed Speed .......................................................................... 119 s Store Label Format in Module ..................................................... 120 T Set Field Data Line Terminator ................................................... 120 U Mark Previous Field as a String Replacement Field.................... 121 X Terminate Label Formatting Mode .............................................. 121 y Select Font Symbol Set..........................................
Generating Label Formats........................................................................................ 131 Introduction....................................................................................................... 131 Format Record Commands .............................................................................. 131 Generating Records ......................................................................................... 132 The Structure of a Record ..............................
Appendix F................................................................................................................. 177 Bar Code Summary Data ................................................................................. 177 Bar Code Default Widths and Heights .............................................................. 179 Appendix G ................................................................................................................ 181 Bar Code Details ............................
Appendix N ................................................................................................................ 247 Class Series DPL Constraint Cross-Reference ................................................ 247 Appendix O ................................................................................................................ 253 Image Loading.................................................................................................. 253 Appendix P ................................
Overview Who Should Use This Manual This manual is intended for programmers who wish to create their own label production software.
Overview This manual contains the following chapters and appendices: OVERVIEW on page 1 Contents, organization, and conventions used in this manual; also includes a typical data flow sequence for the printer. CONTROL CODE COMMAND FUNCTIONS on page 7 Description of the attention-getter characters necessary for the printer to receive a command sequence, and available alternate characters and line terminators.
Overview General Conventions These are some of the conventions followed in this manual: On the header of each page, the name of the chapter. On the footer of each page, the page number and the title of the manual. Names of other manuals referenced are in Italics. Notes are added to bring your attention to important considerations, tips or helpful suggestions. Boldface is also used to bring your attention to important information.
Overview 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.
Overview Commands are available for retrieving stored label formats, updating data, and adding new data. These techniques are used for increasing throughput. See G, Label Recall Command ‘r’, and Label Save Command ‘s’. Typical commands used in the various stages shown above are listed in the tables that follow. Configuration Commands The following table lists some commands useful in controlling printer configuration.
Overview Download Commands Download Command Name Function I Download Image Download Image to selected memory module i Download Scalable Font Download Scalable Font to selected memory module Download Bitmapped Font Download Bitmapped Font to selected memory module Label Header Commands These commands determine how the label formatting occurs, effect print quality and quantity. They are typically issued immediately following the L start of the label format.
Control Code Command Functions Introduction The printer requires a special “attention-getter” character in order to receive a command sequence, informing the printer that it is about to receive a command and the type of command it will be. Control Commands, System-Level Commands, and Font Loading Commands have their own unique attentiongetter, followed by a command character that directs printer action. Attention-Getters The attention-getters (e.g.
Control Commands Alternate Line Terminator Example 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 (0x0D) is replaced by | (0x7C).
Immediate Command Functions Introduction When the printer receives an Immediate Command, its current operation will be momentarily interrupted to respond to the command. Immediate Commands may be issued before or after System-Level commands; however, they may not be issued among Label Formatting Commands or during font or image downloading. Immediate Commands consist of: 1. Attention-Getter, 0x01 or 0x5E, see Control Codes. 2. Command Character SOH # Reset This command resets the printer.
Immediate Command Functions SOH A Send ASCII Status String This command allows the host computer to check the current printer status. The printer returns a string of eight characters, followed by a carriage return. Each character (see below) indicates an associated condition, either true (Y) or false (N). Byte 1 is transmitted first. See F.
Immediate Command Functions Where: Possible Values Interpretation Byte Transmit Sequence a - Y/N Y = Interpreter busy (imaging) 1 b - Y/N Y = Paper out or fault 2 c - Y/N Y = Ribbon out or fault 3 d - Y/N Y = Printing batch 4 e - Y/N Y = Busy printing 5 f - Y/N Y = Printer paused 6 g - Y/N Y = Label presented 7 h - N N = Always No 8 - : : = Always : 9 i - Y/N Y = Cutter Fault 10 j - Y/N Y = Paper Out 11 k - Y/N Y = Ribbon S
Immediate Command Functions SOH C Stop/Cancel This command performs the same function as pressing the STOP/CANCEL Key on the printer. This function clears the current format from the print buffer, pauses the printer, and illuminates the Paused/Stop Indicator. (The pause condition is terminated as described under B.
Immediate Command Functions SOH E Send Batch Remaining Quantity This command causes the printer to return a four-digit number indicating the quantity of labels that remain to be printed in the current batch, followed by a carriage return. Communications latency may cause this value to be higher than actual on some printers. Syntax: E Printer response: nnnn Where: nnnn SOH e - Are four decimal digits, 0-9999.
Immediate Command Functions Class Series Programmer’s Manual 14
System-Level Command Functions Introduction The most commonly used commands are the System-Level Commands. These are used to load and store graphics information, in addition to printer control. System-Level Commands are used to override default parameter values (fixed and selectable) and may be used before or after Immediate Commands but cannot be issued among Label Formatting Commands. System-Level Commands consist of: 1. Attention-Getter, 0x02 or 0x7E, see Control Codes. 2. Command Character 3.
System-Level Command Functions STX a Enable Feedback Characters This command enables the feedback ASCII hex characters to be returned from the printer following specific events after each completed batch of labels when using serial communications. The default value is ‘Off’. Syntax: a Printer response: Event dependent. (Also, see Appendix D for error codes.
System-Level Command Functions STX c Set Continuous Paper Length This command sets the label size for applications using continuous media. It disables the top-of-form function performed by the Media Sensor. The sensor, however, continues to monitor paper-out conditions. See M. Syntax: cnnnn Where: nnnn Sample: c0100 - Specifies the length of the media feed for each label format, in inches/100 or millimeters/10 (see m). This sample sets a label length of 100, which equals 1.
System-Level Command Functions 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 G command, this will print the labels.
System-Level Command Functions STX f Set Form Stop Position (Backfeed Command) This sets the stop position of the printed label, allowing the label to stop at a point past the start-ofprint 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. A backfeed will then only occur when printing has stopped for a few seconds.
System-Level Command Functions STX I Input Image Data This command must precede image downloading from a host computer to the printer. The data that immediately follows the command string will be image data. If any of the 8-bit input formats are to be used, it is necessary to disable the Immediate Command interpreter by executing an D command before issuing the I command. See Appendix O for more information. To print an image, see Generating Label Formats.
System-Level Command Functions STX i Scalable Font Downloading The command structure for downloading TrueType (.TTF) scalable fonts (font files may be singlebyte or double-byte character systems) is as follows: Syntax: imtnnNamexx…xdata… Where: m - Memory Module Designator to save this font to; see Appendix K. t - Type of scalable font being downloaded: T = TrueType nn - Two-digit font reference ID. Valid range is 50-99, 9A-9Z, 9a-9z, (base 62 numbers).
System-Level Command Functions STX k Test RS-232 Port This command instructs the printer to transmit the Y character from the printer’s RS-232 port. (Failure to receive Y could indicate an interfacing problem.) Syntax: k Printer response: Y STX L Enter Label Formatting Command Mode This command switches the printer to the Label Formatting Command Mode. Once in this mode, the printer expects to receive Record Structures and Label Formatting Commands.
System-Level Command Functions STX n Set Printer to Imperial Mode This command sets the printer to interpret measurements as inch values (e.g., c0100 will equal 1.00 inch). The printer defaults to this mode. Syntax: STX O n 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.
System-Level Command Functions STX o Cycle Cutter This command will cause the optional cutter mechanism to immediately perform a cut after all previously received commands are executed. The cutter must be installed, enabled and the interlock(s) closed for operation. Syntax: STX P o Set Hex Dump Mode 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.
System-Level Command Functions STX q Clear Module This command clears the selected Flash or DRAM module. If a module is corrupted during normal operations (identifiable when the printer responds with a ‘No Modules Available’ message to a W command), it must be cleared. All stored data will be destroyed. Syntax: qa Where: a Sample: qA - Memory module designator, see Appendix K. The sample clears memory module A.
System-Level Command Functions STX r Select Reflective Sensor This command enables reflective (black mark) sensing for top-of-form detection of rolled butt-cut, and fan-fold or tag stocks with reflective marks on the underside. This Media Sensor will detect a minimum mark of 0.1 inches (2.54 mm) between labels (see the Operator’s Manual for media requirements). The end of the black mark determines the top of form. Use the O command to adjust the print position.
System-Level Command Functions 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.
System-Level Command Functions 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. A maximum of 99 format fields can be updated. Fields are numbered consecutively 01 to 99 in the order received.
System-Level Command Functions Truncated Sample: L 1A1100001000100data field 1 161100001100110data field 2 161100001200120data field 3 Q0001 E UT01123 U02New data F2 E0002 G The sample produces three labels. The first is formatted with the commands between L and E. The next two labels print with the replacement data contained in the U commands (see E and G). The bar code is shortened; it only has three digits (and no spaces).
System-Level Command Functions Command Values for Bits Assigned Bit n Value 3 2 1 0 0 0 0 0 0 1 0 0 0 1 4 0 1 0 0 5 0 1 0 1 Table 4-2: Software Switch Binary 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: v Printer Response: VER: 4308 – 06.
System-Level Command Functions 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.
System-Level Command Functions 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: wa Where: a - Module designator; see Appendix K. Printer response format: Module A: xxxxK results Where: A - Module tested. xxxx - Module size in kilobytes.
System-Level Command Functions STX x Delete File from Module This command removes a specific file from the specified module. The file name is removed from the module directory and thus the file cannot be accessed. The actual storage space occupied by the file is not released. To reclaim deleted file storage space use z to pack module. Syntax: xmtnn…n Where: m - Module designator; see Appendix K.
System-Level Command Functions STX Y Output Sensor Values This command causes a sensor value response. When Y is received, the printer will respond with the digitally converted values of the internal analog sensors (see below). To repeat the display of values, send the printer a ‘SPACE’ character (20 hexadecimal); or, send 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 KD command.
System-Level Command Functions STX Z Print Configuration Label This command causes the printer to produce a Database Configuration Label. To capture all printed information, use the labels as wide as the maximum print width (see Appendix K) and at least four inches (102 mm) long. Syntax: Z Printer response: Note: STX z FRI SEPTEMBER 026, 1997 19:29 244 VER: E4304 - 04.
System-Level Command Functions Class Series Programmer’s Manual 36
Extended System-Level Command Functions Introduction Issued in the same context as System-Level Commands, the Extended System-Level Commands expand certain System-Level Commands to provide extra degree of printer control. Memory Configuration (Non-Display Models only) STX K 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.
Extended System-Level Command Functions W Represents the start of a sequence (up to five characters) that sets the printable label width. Setting a width smaller than the natural (maximum) width of the printer effectively extends printable label length. This field is optional; if it does not appear, the current printable label width is left unchanged.
Extended System-Level Command Functions STX K}Q Quick Media Calibration (Non-Display Models only) 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.
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.
Extended System-Level Command Functions STX KC Get Configuration This command returns the configuration of the printer. The form of the returned data is similar to that of a printed Configuration Label. This command should be parsed by KEYWORDS, not by Character POSITIONS. Each line is terminated by a CR (0x0d) & LF (0x0a). DatamaxO’Neil will make every effort to keep Keyword consistent.
Extended System-Level Command Functions STX Kc Configuration Set This command specifies the Power-up Configuration parameter values for the printer and is equivalent to using other system commands followed by the U. This command is intended for easily configuring a custom setup, but NOT for dynamic configuration changes. Configuration commands are examined for differences relative to the current configuration; the command has no impact when there are no differences.
Extended System-Level Command Functions Configuration Set Commands Kc Parameter Name Parameter Pneumonic Alignment Length AL Backup After Print BA Value / Range 0 – 999 Units / Interpretation Applicable Printer Type Menu Item Equivalent or Menu Item Number Non-Display 19 Non-Display 18 Display-Equipped System Settings EX2 N/A 1/100 inch Y = Enabled, N = Disabled Y, N Command Equivalent N/A N/A Backup Delay BD 0 – 255 1/50 second Display-Equipped System Settings N/A Back
Extended System-Level Command Functions Kc Parameter Name Parameter Pneumonic Column Adjust [1] Column Adjust Fine Tune Column Offset Comm Heat Commands Comm Speed Commands CA CF CO Value / Range Units / Interpretation Applicable Printer Type Menu Item Equivalent or Menu Item Number Display-Equipped Print Control xxx dots Resolution specific; see Appendix K, and see Column Adjust Fine Tune Non-Display 28 Non-Display 7 Display-Equipped Print Control + / – dots 0 – 9999 Resolut
Extended System-Level Command Functions Kc Parameter Name Parameter Pneumonic Value / Range Units / Interpretation Applicable Printer Type Menu Item Equivalent or Menu Item Number Command Equivalent Display-Equipped Communications EX2 N/A Non-Display (except EX2) 27 Display-Equipped Media Settings Non-Display 12 Non-Display 10 Display-Equipped Communications Non-Display 11 Non-Display 9 KD N/A Y, N Comm TOF Commands Y = Enabled, N = Disabled CT 0 – 255 (128 nominal) C
Extended System-Level Command Functions Kc Parameter Name Parameter Pneumonic Value / Range Units / Interpretation DK 1 – 64 N/A Darkness D, G Default Module DM Applicable Printer Type Menu Item Equivalent or Menu Item Number Display-Equipped Print Control N/A EX2 N/A Display-Equipped System Settings X Module Letter A, B Command Equivalent EX2 [3] N/A Delay Rate (Test Label Formats) DR 0 – 120 Seconds Display-Equipped Diagnostics N/A Disable Symbol Set Selection NS
Extended System-Level Command Functions Kc Parameter Name Parameter Pneumonic Value / Range Units / Interpretation Applicable Printer Type Menu Item Equivalent or Menu Item Number Command Equivalent Display-Equipped Printer Options N/A Display-Equipped Communications End Of Print EP 1, 2, 3, 4 1 = Low Pulse, 2 = High Pulse, 3 = Active Low, 4 = Active High ESC Sequences ES Y, N Y = Enabled, N = Disabled Exact Time ET Fault Handling Feed Speed FH Y, N L, D, R, B Y = Enabled, N
Extended System-Level Command Functions Kc Parameter Name Parameter Pneumonic Value / Range Units / Interpretation Applicable Printer Type Menu Item Equivalent or Menu Item Number System Settings X, O, T X = XOR, O = Opaque, T = Transparent Display-Equipped FA Format Attributes Gain Reflective Value Gap / Mark Value GPIO Equipped GPIO Slew Head Bias GR GM GE GS HB 0 – 255 0 – 255 A, V, N 0–4 L, R An EX2 N/A Display-Equipped Media Settings N/A N/A EX2 N/A Display-Equipp
Extended System-Level Command Functions Kc Parameter Name Parameter Pneumonic Value / Range Units / Interpretation HC 0 – 9999 Inches (or centimeters) multiplied by 1000 Head Cleaning Heat Host Timeout Ignore Control Codes Ignore Distances Imaging Mode HE HT 0 – 30 1 – 60 N/A Applicable Printer Type Menu Item Equivalent or Menu Item Number Display-Equipped Media Settings N/A EX2 N/A Display-Equipped Print Control Non-Display 23 Non-Display 21 Display-Equipped Communicati
Extended System-Level Command Functions Kc Parameter Name Parameter Pneumonic Input Mode Internal Module Label Alignment EM IM LA Value / Range 0, 1 Units / Interpretation 0 = DPL, 1 = Line 100 – up to maximum available, see Appendix K Kbytes 0 – 128 4 Kbytes (0 = disabled) N, A, Y Applicable Printer Type Menu Item Equivalent or Menu Item Number Display-Equipped System Settings Non-Display 21 Non-Display 19 Display-Equipped System Settings Non-Display 15 Non-Display 17 N
Extended System-Level Command Functions Kc Parameter Name Parameter Pneumonic Value / Range Units / Interpretation Applicable Printer Type Menu Item Equivalent or Menu Item Number Command Equivalent LS String Language Name Display-Equipped System Settings N/A Display-Equipped System Settings Non-Display 20 N, A, P, L, M N = None, A = Allegro, P = Prodigy, L = Prodigy Plus, M = Prodigy Max X = XL Non-Display 22 Display-Equipped Media Settings 0 – 255 N/A Language Select N, A,
Extended System-Level Command Functions Kc Parameter Name Parameter Pneumonic Value / Range Units / Interpretation Z, G Module Command Network Setup Menu Item Equivalent or Menu Item Number Command Equivalent N/A N/A Display-Equipped See Table 5-4. MCC NT Applicable Printer Type B EX2 D, G, I, N, P, S, T, U, w, W, Y, Z Display-Equipped See Table 5-5. N/A N/A EX2 N/A No Paper Min [2] (Out Of Stock) TN 0 – 16 .
Extended System-Level Command Functions Kc Parameter Name Parameter Pneumonic Value / Range Units / Interpretation PP xz See Table 5-7. Parallel Direction Password Set Pause Mode Peel Mode Present Adjust [1] Present Adjust Fine Tune PW PM PE PA PJ A – Z, 0–9 Four characters (or, if security is enabled then eight characters). Y, N Y = Enabled, N = Disabled Y, N xxx dots + / – dots Y = Enabled, N = Disabled Model specific, see Appendix K; and, see Present Adjust Fine Tune.
Extended System-Level Command Functions Kc Parameter Name Parameter Pneumonic Value / Range Units / Interpretation PD 0 – 400 1/100 inch Present Distance Applicable Printer Type Menu Item Equivalent or Menu Item Number Display-Equipped Print Control Kf EX2 A/Y, E, N/D Present Sensor Equipped PS A or Y = Auto, E = Enabled, N or D = Disabled A, Y, N A = Auto, Y = Enabled, N = Disabled 0 – 64 N/A [4] Display-Equipped Printer Level Print Speed PC PL pS 000000 – FFFFFF Hex
Extended System-Level Command Functions Kc Parameter Name Parameter Pneumonic Value / Range Units / Interpretation RV 0 – 255 N/A Reflective Paper Value Applicable Printer Type Menu Item Equivalent or Menu Item Number Display-Equipped Media Settings Command Equivalent N/A EX2 N/A Reflective TOF Bias [2] RB 0 – 50 .1 Volt DC Non-Display (except EX2) 14 N/A Reflective TOF Delta [2] RD 0 – 50 .1 Volt DC Non-Display (except EX2) 13 N/A Reflective TOF Gain [2] RG 0 – 15 .
Extended System-Level Command Functions Kc Parameter Name Parameter Pneumonic Value / Range Units / Interpretation RL 100 – 200 1/100 in.
Extended System-Level Command Functions Kc Parameter Name Parameter Pneumonic Value / Range Units / Interpretation Applicable Printer Type Menu Item Equivalent or Menu Item Number Command Equivalent SA 0 – 255 (128 nominal) N/A, see Row Adjust Fine Tune Non-Display 5 O Display-Equipped System Settings A, L, P, D A = Allegro, L = Prodigy Plus, P = Prodigy, D = Disable SOP Adjust [1] SOP Emulation Save As Filename SE SF Alphanumeric string N/A EX2 Display-Equipped Up to 16 c
Extended System-Level Command Functions Kc Parameter Name Parameter Pneumonic Value / Range Units / Interpretation Applicable Printer Type Menu Item Equivalent or Menu Item Number Command Equivalent Sl N, Y, T See Table 5-9.
Extended System-Level Command Functions Parameter Pneumonic Value / Range Units / Interpretation Applicable Printer Type Menu Item Equivalent or Menu Item Number Command Equivalent Software Switch SV Y, N Y = Processed N = Ignored Display-Equipped Communications N/A Start of Print EQ 3, 4 3 = Active Low, 4 = Active High Display-Equipped Printer Options N/A Non-Display 20 SL A, H, P, C, T, N See Table 5-10.
Extended System-Level Command Functions Kc Parameter Name Parameter Pneumonic Value / Range Units / Interpretation TP Y, N Y = Enabled, N = Disabled TOF Precedence Applicable Printer Type Menu Item Equivalent or Menu Item Number Command Equivalent N/A N/A Display-Equipped EX2 Display-Equipped Unit of Measure UM M, I M = Metric, I = Imperial System Settings m, n EX2 Non-Display 5 Display-Equipped User Terminator UT ON N/A N/A N/A EX2 Verifier Equipped VE A/Y, E,
Extended System-Level Command Functions Kc Parameter Name Parameter Pneumonic Value / Range Units / Interpretation WE A, C, F, I, L, M, N, P, R, T, V, X See Table 5-13. WiFi Setup WiFi Security WS A, K, S, L, P, U Applicable Printer Type Menu Item Equivalent or Menu Item Number Command Equivalent N/A N/A N/A N/A Display-Equipped EX2 Display-Equipped See Table 5-14. EX2 1. Commands are provided for backward compatibility on EX2.
Extended System-Level Command Functions Kc Parameter Overviews (AL) Alignment Length – This command, critical for small labels when ‘Label Alignment’ is set to ‘Yes,’ allows a length (measured from leading edge to leading edge of two successive labels) to be entered. The measured length must be provided to the nearest hundredth of an inch. For very small labels, errors of 0.01” can result in noticeable print variations on the labels between the media sensor and the print head.
Extended System-Level Command Functions (BZ) Buzzer Enable – This command controls the audible signaling device that acknowledges User Interface entries and, if enabled, sounds printer warning and fault conditions.
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 c for command details. (CO) Column Offset – See Cnnnn for command details. (CS) Communicated Speed Commands – This command causes the printer to ignore DPL speed commands; instead, speed values are controlled via the menu setting.
Extended System-Level Command Functions (EM) Input Mode – This command determines the printer’s mode of data processing: Standard 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. (EN) End Character – This command terminates a Kc string.
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. (EV) Empty Sensor Level – This command sets threshold value for the ‘Empty’ media sensor parameter. (FA) Format Attribute – See the “An” (in Label Formatting Command Functions) command for details.
Extended System-Level Command Functions (FH) Fault Handling – This command determines the level of user intervention and the disposition of the label being printed when a fault condition (ribbon out, media out, etc.) occurs. Value Units / Interpretation Selection / Definition Interaction Level, where: In No Reprint Mode (0), printing stops and a fault message is displayed. After the problem is corrected, the FEED Key must be pressed to clear the fault. The label in process is not reprinted.
Extended System-Level Command Functions (FM) Feedback Mode – See a for command details. (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): Value Units / Interpretation GPIO Enable Definition A Applicator Enables the GPIO for a label applicator.
Extended System-Level Command Functions (HB) Head Bias – This command instructs the printer to switch the dot zero position: as viewed from the printer’s front panel (or label output side) – when dot zero occupies the left-most location on the print head then printing is left justified; when dot zero occupies the right-most location, printing is right justified. (HC) Head Cleaning – This command controls the print head cleaning routine.
Extended System-Level Command Functions (IM) Internal Module – This command sets the number of 1K blocks (or 4K blocks for nondisplay models, see the KM command) allocated for the internal RAM ‘D’ module. (LA) Label Alignment – This command prevents labels with lengths that are less than the distance between the print head and the Media Sensor from being wasted at power-up. See the appropriate Operator’s Manual for specific information.
Extended System-Level Command Functions (LE) Legacy Emulation – This command enables the O and f print positioning commands to allow backward compatibility with label formats that were designed for the Allegro® Prodigy®, and Prodigy Plus® (If the printer is display-equipped, also Prodigy Max® emulation). (LR) Label Rotation – This command sets label rotation, allowing formats to be flipped 180 degrees.
Extended System-Level Command Functions (MCC) Module Command – This command adjusts the size of Flash module on the optional Expansion Card according to the table below (see Appendix K for appropriate module details): Value Module Command Units / Interpretation Zxx xx = Size: 1 – 7 Mbytes. This is the amount to be allocated to Module Z; any remaining memory will be allocated to Module F. Gxx xx = Size: 1 – 56, in 128 Kbytes blocks.
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). Value Parameter D a G yyy.yyy.yyy.yyy I xxx.xxx.xxx.xxx N xxx.xxx.xxx.xxx P xxxx S yyy.yyy.yyy.
Extended System-Level Command Functions Example: KcNTI010.012.000.243;NTS255.255.000.000;NTG010.012.254.254;NTDN; 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 Interpretation NTI010.012.000.243 IP Address: 10.12.0.243 NTS255.255.000.000 Subnet Mask: 255.255.0.0 NTG010.012.254.254 Gateway Address: 10.
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.
Extended System-Level Command Functions Write/Verify hexadecimal response example: [CR] Read hexadecimal response example: [CR] Write/Verify ASCII response example: [CR] Read ASCII response example: [CR] Scanner response samples: A successfully read label example:
Extended System-Level Command Functions (PJ) Present Adjust Fine Tune – This command fine-tunes the Present Distance setting in dots to compensate for slight mechanical differences sometimes evident if multiple printers share label formats. (PL) Printer Level – This command is used to upgrade the software feature level of the printer. (PM) Pause Mode – See J for command details. (PO) Paper Empty – This command sets the length of travel before an out of stock condition is declared.
Extended System-Level Command Functions (PT) Tear Position – This command sets the label stopping location at the tear plate on the printer’s cover. Note: Not recommended for use with non-display printers, instead see Stop Location (SL). (PV) Paper Value – This command sets threshold value for the media sensor’s ‘paper’ parameter. (PW) Password – This command modifies the numeric password required to access the menu system when security is enabled.
Extended System-Level Command Functions (RD) Reflective TOF Delta – This command allows the manual entry for the control of the lowlevel voltage difference level to recognize a label “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; otherwise, a fault is generated. N or D disables device detection.
Extended System-Level Command Functions (RI) RFID Configuration – This command configures the optional RFID interface module, as follows: Value Units / Interpretation RFID Configuration Definition / Function D = Disable Mn Disables the RFID module. (“N” is also a valid disabler.) H = HF where n: Enables the RFID module for HF (Securakey). U = UHF Enables the RFID module for UHF Class 1 (Alien). M = UHF Enables the RFID module for UHF Multi-Protocol (Samsys).
Extended System-Level Command Functions Value Units / Interpretation 0 = ISO 15693 1 = Texas Instruments 2 = Philips 3 = ST Micro LRI 512 4 = ST Micro LRI 64 RFID Configuration Definition / Function Tn where n: Establishes the tag type (HF only). Nn where n: 64 = 64-bit 96 = 96-bit Un where n: 0 = EPC 0 1 = EPC 0+ Matrics 2 = EPC 0+ Impinj 3 = EPC 1 4 = ISO 18000-6A 5 = ISO 18000-6B 6 = UCODE EPC 1.
Extended System-Level Command Functions (RL) Ribbon Low Diameter – This command sets the threshold for a low ribbon indication, where nnnn is the diameter in hundredths of inches. (RM) Rewinder Equipped – This command allows the printer to sense the powered internal rewind option. A or Y - automatically senses device presence; if undetected, no error is generated. E - enables the device, where its presence must be detected; otherwise, a fault is generated. N or D - disables device detection.
Extended System-Level Command Functions (SA) SOP Adjust – This command sets the start of print (SOP) location, relative to the top of form. See O for command details. The EX2 accepts this command for backward compatibility only, limited in range (28-228). The KcQQQ response shows the Row Adjust Fine Tune (RF) equivalent value. (SC) Scalable Cache – This command sets the number of 1K blocks allocated for the scaleable font engine. Available memory dependent upon model; see Appendix K.
Extended System-Level Command Functions (SL) Stop Location – This command sets the label stopping (and in certain cases the starting) location, as follows: Value Stop Location A Automatically sets the stop location. Installed options will be ‘auto-sensed’ and the appropriate stop position will automatically be set. Host commands are ignored. H 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.
Extended System-Level Command Functions (SN) Scanner Configuration – This command configures the optional linear scanner, as follows: Values Scanner Configuration Range / Interpretation B Bar Code Type – Specifies the bar code, using two digits, followed by ‘Y’ (to enable) or ‘N’ (to disable) the code, where: 01 = 02 = 03 = 04 = 05 = CODE 39 IATA CODABAR INTERLEAVED 2 OF 5 INDUSTRIAL 2 OF 5 06 = 07 = 08 = 09 = 10 = CODE 93 CODE 128 MSI/PLESSEY EAN(13/8) EAN(13/8)+2 11 = 12 = 13 = 14 = EAN(13/8)+5 U
Extended System-Level Command Functions (SP) Serial Port – This command configures the serial communication port(s) as follows: Value xyz Serial Port Range / Interpretation Where: x = Port Identifier: y = Function: z = Setting A - Serial A P - Handshaking Protocol B - both S - software B - Serial B H - hardware N - none p - Parity N - none O - odd D - Data Length E - even 8 - eight bits S - Stop Bits 7 - seven bits 1 - one bit 2 - two bits xyzz Where: x = Port Identifier: y = Function: z
Extended System-Level Command Functions (ST) Sensor Type – See e (edge) or r (reflective) for command details. (For nondisplay models also see the KD command.) (SV) Switch Settings – This command controls recognition of the software switch setting command V. (TB) TOF Bias – This command controls the low-level voltage difference level to recognize a label ‘gap’ or ‘mark’.
Extended System-Level Command Functions (WE) WiFi Setup – This command configures the printer for a WiFi connection. Value Parameter A y C x Interpretation Default Value Is the WiFi SSID, where: y = Up to 31 characters, no spaces Is the WiFi Channel number (adhoc only, country dependant), where: MACR 1 x = 1 to 14 Is WiFi Enable DHCP Fixed Interval Transmission, where x: F x I xxx.xxx.xxx.xxx L x 1 = Fixed 0 = Exponential 0 Is the WiFi IP Address*, where: x = 0 to 9 192.168.010.
Extended System-Level Command Functions (WS) WiFi Security – This command configures WiFi security. Value Parameter Interpretation Default Value Is the WEP Key, where x: xy 1 = WEP Key 1 2 = WEP Key 2 3 = WEP Key 3 4 = WEP Key 4 1 See Note 1 And where y: Is the Key, up to 26 characters with no spaces.
Extended System-Level Command Functions STX KD Database Configuration (Non-Display Models only) This command, stored in Flash memory for future power-ups, controls the printer’s environment and operates as a pseudo DIP switch. The Kc command is recommended for use over KD. Syntax: KDwxyz Where: w, x, y, and z are binary values with respective bit settings as defined in the following table. (Bit 0 is least significant.
Extended System-Level Command Functions STX Kd Set File as Factory Default (Display-Equipped Models only) This command selects the specified file name as the “factory default” for the printer’s configuration. After execution, subsequent “Select Factory Default” commands will configure the printer to the file’s configuration.
Extended System-Level Command Functions Sample: KEN KEY\ L 1u0000001200120[)>\1E\01\1D\...\04\ E The sample disables, and then enables character encoding with the backslash (\) as the delimiter. A UPS MaxiCode will be formatted using a data string interpreted as: [)>RS01GS... EOT, then formatting is terminated. Character Encoding Syntax: This syntax requires at least two hexadecimal ASCII digits (0-9, A-F) delimited by the character specified in the KE command.
Extended System-Level Command Functions STX KF Select Factory Defaults (Display-Equipped and EX2 Models only) This command restores the configuration of the printer to the factory default settings. These settings may be default values or the values previously specified by a configuration file (see Kd). Syntax: KFn Where: n - 2 = Level One Reset, returning the factory default settings (and, if saved, restoring the Factory Setting File).
Extended System-Level Command Functions STX KJ Assign Communication Port (MCL Command) 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: KJpf Where: p - Port ID: P = Parallel S = Serial (A) U = USB N = Ethernet L = Wireless A = Serial (B) f - Flag: Sample: 1 = DPL 0 = MCL KJN1 The sample forces the Ethernet port to bypass MCL and go directly to DPL.
Extended System-Level Command Functions STX Kn NIC Reset This command resets the NIC to factory defaults. Syntax: Knx Where: x - Specifies the action to take, where: F = Returns the NIC to the factory default settings; and, H = Reports settings to host (wireless, only). Address Default Values Wired * Default Values WiFi IP 192.168.010.002 192.168.010.001 Subnet Mask 255.255.255.000 255.255.255.000 Gateway 000.000.000.000 000.000.000.000 * Prior to introduction of the WiFi, 192.0.0.
Extended System-Level Command Functions STX Kp Module Protection (Display-Equipped Models only) 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-O’Neil reserved modules, Z (ILPC) and Y (EFIGS). See Appendix K for a listing of the memory modules. There are two types of modules: RAM (volatile) and Flash (non-volatile).
Extended System-Level Command Functions 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. Syntax: Non-Display Model response format: Where: KQ INTERNAL MEMORY VER: aa-cdd.
Extended System-Level Command Functions Display-Equipped Model response format: Product: I4208 – 01.01 05/21/1999 Installed RAM: 8 MB Label Width: 4.09 IN Print Buffer Size: 272 IN Allocation RAM: 6389 KB Internal Files: 512 KB Font Cache: 232 KB Where: Product - Printer model, type, and firmware version. Installed RAM - Total amount of RAM. Label Width - Size in inches/millimeters of the print head. Print Buffer Size - Total number of inches/millimeters of Print Dot Buffers available.
Extended System-Level Command Functions STX Kq Query Memory Configuration (new format, Display-Equipped Models only) 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.
Extended System-Level Command Functions STX Kr Resettable Counter Reset This command resets the internal counters. Follow this command with an U command to retain the reset or the counters will revert to the previous values after cycling power. Syntax: STX KS Kr Memory Configuration, Scalable Font Cache (Non-Display Models only) See the K command. Note: This command will result in a system reset for the EX2.
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: KtDabcc Where: a - The number of retry attempts, 0-9. b - Lock the Data Storage Format Identifier (DSFID) after writing: 0 = No Protection 1 = Write Protect cc - Two character DFSID value representing one byte.
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 0x0F (i.e., when the tag contains DSFID, AFI, VICC and IC data).
Extended System-Level Command Functions Sample: L 1911A1802000010TEXT U X KtRUE00700ABCDEF1234H0000015001 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. Note: When using addressed commands and the tag with the specified UID cannot be found, a standard RFID read/write fault will be issued.
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.
Extended System-Level Command Functions STX KuB Read Data from Gen2 Tag Section This command reads a specific block address of a Gen2 tag. Syntax: KuBaaabbb Where: aaa - Block address number, where: 000 is kill/access section; 001 is EPC section; 002 is Tag ID; and, 003 is user memory. bbb - Data offset in word length Sample: KuB001002 This example reads the block address 1 at offset word 2, which is location of the EPC data.
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; otherwise, “Void” will be printed in the text or bar code label field(s). Note: Data should be at least 16 or 24 characters in length.
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. Syntax: KuWabcc…c Where: a - The number of attempts to locate, erase, and program the tag, 1-9.
Extended System-Level Command Functions STX Kx Delete Configuration File (Display-Equipped Models only) This command deletes the specified configuration file. Syntax: KxmName Where: m - Valid Module ID – Range A to Z. Name - The name, up to 16 characters, of the configuration file. - 0x0d terminates the name. Sample: KxYPlant1 This command deletes the configuration file Plant1 located on Module Y.
Label Formatting Command Functions Introduction The L command switches the printer from the System-Level Processor to the Label Formatting Processor. All commands following the L are interpreted as label formatting commands, and can be used to override default parameter values. Selectable parameter value defaults may be also reassigned via the Setup Menu, as defined in the corresponding Operator’s Manual.
Label Formatting Command Functions A Set Format Attribute This command specifies the type of format operation and remains in effect until another format command is specified or another label format has begun (L). Each label format defaults to Attribute 2 (Transparent Mode). Syntax: An Where: n Sample: L A3 141100001000100DATAMAX 141100001100110DATAMAX E - Is attribute mode 1, 2, 3, or 5; see table below. The default is 1, (XOR Mode).
Label Formatting Command Functions B Bar Code Magnification (Display-Equipped Models only) This command provides a mechanism to specify bar codes greater than 36 dots (0-9,A-Z in the field record). The value is reset to 1 at the start of every label and stays active for the entire label or set to a new value. Syntax: Bnn Where: nn Sample: L D11 B01 1a9305000100030ABCD B03 1a3105000700030ABCD Q0001 E - Is a two digit decimal number indicating the magnification value.
Label Formatting Command Functions c Set Cut By Amount This command is the same as the ‘:’ command except only a two-digit value can be entered. This command allows a predetermined number of labels to be printed before a cut is made. 1 to 99 labels may be printed before a cut is made. Syntax: cnn Where: nn Sample L c07 141100001000100SAMPLE LABEL Q0021 E - Is a two-digit number indicating the number of labels to be printed before a cut is made. The default is one.
Label Formatting Command Functions E Terminate Label Formatting Mode and Print Label This command causes the printer, when the processing Label Formatting commands, to terminate the Label Formatting Mode then generate, print, and feed a label. The label generated will be based on whatever data has been received to that point, even if no printable data has been received. Other termination commands are ‘X’ and ‘s’.
Label Formatting Command Functions f 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.
Label Formatting Command Functions H Enter Heat Setting This command changes the “on time” of elements of the print head. The default setting is 10 (except in the case of printers with a menu, where the default setting can be changed through the keypad). An increase or decrease in this value results in a change of heat applied by the print head to the media, lightening or darkening the print contrast accordingly.
Label Formatting Command Functions M Select Mirror Mode This command instructs the printer to “mirror” all subsequent print field records. This command toggles the mirroring mode. Mirrored fields are transposed visually, as if the object is viewed in a mirror. Syntax: M Sample: L 161100003200010 NOT MIRRORED M 161100003000400 MIRRORED E Printed Result: m Set Metric Mode This command sets the printer to measure in metric.
Label Formatting Command Functions P Set Print Speed This command sets a print speed for a label or batch of labels. Syntax: Pa Where: a Sample: L PC 141100001000100LABEL1 E L 141100001000100LABEL2 E - Is a single character representing a speed; see Appendix L for valid ranges. The sample prints two labels, the first at a speed of 2 inches per second (51 mm per second) and the second at the printer default.
Label Formatting Command Functions Q Set Quantity of Labels to Print This command sets the number of the label copies to be printed. A one to five digit value is allowed, if the command is delimited by a carriage return . This permits host applications to generate label quantity commands without the need to pad leading zeros. (A four-digit command value does not need to be terminated.
Label Formatting Command Functions r Recall Stored Label Format This command is used to retrieve label formats stored on a memory module. Syntax: rnn...n Where: nn…n - Is a label name, up to 16 characters in length. The samples below explain different ways to recall and print a label format. (To view a memory module’s directory of label formats use the W command.
Label Formatting Command Functions s Store Label Format in Module This command stores a label format to a specified module as a .dlb file. Supplying the module name will store the label to that module; otherwise, using C will cause the label format to be stored in the selected default module (see X). In addition, this command terminates the Label Formatting Command. Syntax: sann…n Where: a - Is the module designator representing a single character module name; see Appendix K.
Label Formatting Command Functions U Mark Previous Field as a String Replacement Field This command controls the way replacement data is formatted. Specifying a field as a string replacement for dynamic fields, and not for static fields, will optimize label throughput. See the U command. Note: The length of the original string sets the data string length of any replacement; both must be equal. The data being used when created must be valid for the font type being selected.
Label Formatting Command Functions y Select Font Symbol Set This command, like the y, selects the scalable font symbol set. The selected symbol set remains active until another symbol set is selected; see the y command for details. Syntax: ySxx Where: S - Byte-size designation; see Appendix H: S = Single byte symbol sets. U = Double byte symbol sets. xx - Symbol set selection.
Label Formatting Command Functions + (>)(() 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.
Label Formatting Command Functions – (<)()) 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.
Label Formatting Command Functions ^ 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). See Control Codes.
Label Formatting Command Functions STX S Recall Global Data and Place in Field This command, when in the format record data field, places data from a specified global register into the data field. See the G command. Syntax: Sn Where: n Sample: L 121100000000000DMX G 1A2210001000000SA E - Specifies the global register (A − P) that contains the data to place into the data field.
Label Formatting Command Functions Sample 1: L 121100001000100TBCD GHI PQ, TU E Sample 1 will print SUN DEC 21, 98 on a label. Sample 2: L 191100100100010TEF/PQ E Sample 2 will print 12/21 on a label. Sample 3: L 191100100100010ABC TEF/PQ DEF E Sample 3 will print ABC 12/21 DEF on a label. (This illustrates a method of embedding the time string. The string must be terminated by an .
Label Formatting Command Functions Class Series Programmer’s Manual 128
Font Loading Command Functions Introduction The commands used for font loading are usually generated by font creation software; however, the assigned font ID number command must be sent to the printer before the font file. All Font Loading Commands begin with (ASCII control character 27 [decimal]). The downloaded font will be stored in the default module (refer to the X command) as a .dbm file.
Font Loading Command Functions *c###E Character Code This code is the ASCII decimal value corresponding to the next downloaded character. Syntax: *c###E Where: ### (s#W - Is the ASCII value of the character, three digits maximum, 0 to 999. Character Download Data This command contains all of the information for one downloaded character. Syntax: (s###Wnn…n Where: ### - Is the number of bytes of bit-mapped data, three digits maximum, from 1 to 999. nn…n - Is the bit-mapped data.
Generating Label Formats Introduction This section explains the use of the different fields in a print format record. 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.
Generating Label Formats The first line in the sample format (Table 8-1) is the System-Level Command directing the printer to begin label formatting. (Other System-Level Commands may precede the L for printer setup.) Lines 2, 14, and 15 are Label Formatting Commands. Line 15 is the exit and print command. The remaining lines (313) are print format records, explained in this chapter. A record is a data string that contains the information to be printed on the label(s).
Generating Label Formats Location Within Record Record Type Internal BitMapped Font Smooth Font Scalable Font Bar Code Images Graphics a Rotation Rotation Rotation Rotation Rotation 1 b Font ID 9 9 Bar Code Y X c Width Multiplier Width Multiplier Width Multiplier Wide Bar Width Multiplier 1 d Height Multiplier Height Multiplier Height Multiplier Narrow Bar Height Multiplier 1 eee 000 Font Size/ ID ID Bar Code Height 000 000 ffff Row Position Row Position Row Pos
Generating Label Formats Fonts, Bar Codes, Graphics and Images b: 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 DatamaxO’Neil 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. number) is chosen by entering a value in the height field eee.
Generating Label Formats Bar Code Height (Font Size/Selection) eee: This field has interpretations dependent upon the value of the font b field, as shown below.
Generating Label Formats Data Field jj…j: The final field contains the data that will actually be printed on the label. A string of data can be up to 255 characters in length (except when using the PDF417 bar code, which may be up to 3000 characters long), ending with a carriage return. Characters placed in the data field will be printed as long as they fall within the physical range of the print head. Consult Appendix K for a listing by printer.
Generating Label Formats Field a b c d eee ffff gggg jj…j Valid Inputs 1, 2, 3 and 4 9 1 to 9, A to Z, and a to z 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 0000 to 9999 Dependent upon printer. See Appendix K. Valid ASCII character string up to 255 characters followed by a termination character. Meaning Rotation Fixed Value Width Multiplier Height Multiplier Font/size Row Column Data * Where x is an upper case letter, see Appendix H.
Generating Label Formats Print head Resolution (DPI) 203 300 400 600 Character size (dots) Width 16-2817 14-4163 22-5550 33-8325 Height 16-2817 16-4163 22-5550 33-8325 Table 8-9: Scalable Character Size Ranges Note: 4. A scalable font cache must be allocated to print. Minimum cache size is 15. The double byte fonts require five units of additional cache.
Generating Label Formats 5. Images An image record is used to print an image that is stored in a memory module. Images can be printed only in Rotation 1 (see Input Image Data I). Field a b c d eee ffff gggg jj…j Valid Inputs Meaning Fixed Value Image Width Multiplier Height Multiplier Fixed Value Row Column 1 Y 1 to 9, A to Z, and a to z 1 to 9, A to Z, and a to z 000 0000 to 9999 See Appendix K. ASCII string, up to 16 characters followed by a termination Image name character.
Generating Label Formats LINE* : Where: Lhhhvvv LINE** : Where: lhhhhvvvv L = “l” and specifies line drawing; hhhh = horizontal width of line; and, vvvv = vertical height of line. BOX*** : Where: Bhhhvvvbbbsss B = “B” and specifies box drawing; hhh = horizontal width of box; vvv = vertical height of box; bbb = thickness of bottom and top box edges; and, sss = thickness of box sides.
Generating Label Formats 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.
Generating Label Formats Examples (Spaces have been added for readability): 1. Triangle The record: 1 X 11 000 0010 0010 P 001 0001 0040 0025 0010 0040 Produces a triangle with no fill pattern: (row 0040, column 0025) (row 0010, column 0010) 2. (row 0010, column 0040) Rectangle with Fill The record: 1 X 11 004 0010 0010 P 001 0001 0050 0010 0050 0200 0010 0200 Produces a rectangle filled with pattern 4 (25% Black): (row 0010, column 0010) (row 0050, column 0200) 3.
Generating Label Formats Advanced Format Attributes Two different advanced formatting attributes extend the text presentation capabilities. The first format attribute allows a set of label format records to make a state change that modifies the font attributes of any following DPL text records. The second format attribute provides a means of inserting text and font formatting commands directly into the DPL data stream via a command delimiter structure.
Generating Label Formats L D11 FA+ FB+ 1911S0102600040P018P018New FU+I+ 1911S0102000040P018P018New FI-U+B1911S0101400040P018P018New FU-B+ 1911S0100800040P018P018New FB+I+U+ 1911S0100200040P018P018New FB-U-IE DPL World DPL World DPL World DPL World DPL World Figure 2 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.
Generating Label Formats 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. (For example, the command \ will rotate the baseline forty five degrees in the positive direction from the default print direction.
Generating Label Formats Class Series Programmer’s Manual 146
Appendix A ASCII Control Chart 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 Ctrl T Ctrl U Ctrl V Ctrl W Ctrl X Ctrl Y Ctrl Z Ctrl [ Ctrl \ Ctrl ] Ctrl ^ Ctrl _ Char NUL SOH STX EXT EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US Dec 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Hex 00 01 02 03 04 05 06 07 08 09 0A 0B 0C
Appendix A – ASCII Control Chart ASCII Control Chart (continued) Char Ç ü é â ä à å ç ê ë è ï î ì Ä Å É æ Æ ô ö ò û ù ÿ Ö Ü ø £ Ø x ƒ Dec 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 Notes: (1) Hex 80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F Char á í ó ú ñ Ñ ª ° ¿ ® 1/2 1/4 ¡ ¯ ² ³ ´ Á Â À © ¹ » ¢ ¥ Dec 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
Appendix B Sample Programs ‘C’ Language Program The following sample ‘C’ program is included for reference. Figure B-1 shows the output generated by this program. / DMX SERIES Sample C program / # include
Appendix B – Sample Programs ASCII text file The following ASCII text file will also generate the label shown in Figure B-1. ^BL H07 D11 19110080100002510K OHM 1/4 WATT 1a6210000000050590PCS E VB Application Generating DPL The following sample is a Visual Basic program that displays a database record on the screen. A user can scroll through the records and then print a selected one. Five bar codes are printed along with data fields and headings.
Appendix B – Sample Programs ‘Concatenate all the dynamic data fields with the constant header strings, terminated with Chr$(13) 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) & Item1Qty & txtItem1Qty.
Appendix B – Sample Programs VB Application interfacing via Windows Driver Create a form similar to the one shown here. VERSION 5.00 Begin VB.Form Form1 Caption = “Datamax Test Print” ClientHeight = 1065 ClientLeft = 60 ClientTop = 345 ClientWidth = 2325 LinkTopic = “Form1” MaxButton = 0 ‘False MinButton = 0 ‘False ScaleHeight = 1065 ScaleWidth = 2325 StartUpPosition = 3 ‘Windows Default Begin VB.ComboBox cmboFonts Height = 315 Left = 90 TabIndex = 2 Text = “Font List” Top = 45 Width = 2130 End Begin VB.
Appendix B – Sample Programs Attribute VB_Exposed = False ‘Print label by clicking print button with the mouse Private Sub cmdPrint_Click() ‘font name as seen in application font list box ‘if not found, driver will inform GDI to generate an ‘image that will be downloaded Printer.FontName = cmboFonts.Text ‘1,440 twips equals one inch Printer.Height = 6480 ‘4.5 inches in twips Printer.Width = 5760 ‘4 inches in twips Printer.CurrentX = 1440 ‘1 inch (column position) Printer.
Appendix B – Sample Programs 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-O’Neil DPL print driver. DPL is created by the application and sent to LPT1. To begin, a global variable called SelPrinter must be defined as a string. Then use the following code to create a .frm file.
Appendix B – Sample Programs Height Left TabIndex Top Width = = = = = 288 120 1 360 3492 End Begin VB.Label Label1 Caption = “File Name” Height = 255 Left = 120 TabIndex = 0 Top = 135 Width = 1455 End Begin VB.Menu File Caption = “&File” Begin VB.Menu open Caption = “&Open” End Begin VB.
Appendix B – Sample Programs Private Declare Function StartPagePrinter& Lib “winspool.drv” (ByVal hPrinter As Long) Private Declare Function WritePrinter& Lib “winspool.drv” (ByVal hPrinter As Long, pBuf As Any, ByVal cdBuf As Long, pcWritten As Long) Private Declare Function EndDocPrinter& Lib “winspool.drv” (ByVal hPrinter As Long) Private Declare Function EndPagePrinter& Lib “winspool.drv” (ByVal hPrinter As Long) Private Declare Function ClosePrinter& Lib “winspool.
Appendix B – Sample Programs End If docinfo.pDocName = “MyDoc” docinfo.pOutputFile = vbNullString docinfo.
Appendix B – Sample Programs End Sub 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® registry issues.
Appendix C Available Fonts – Sizes, References, and Samples All character bit-mapped fonts available on the printers are described in this section. Each font has a name (Font ID) associated with it for use in programming. Use the Font Number (in the left column of Table C1) 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.
Appendix C – Available Fonts Font sizes are dependent upon the print head resolution of the printer used. The tables below contain a listing of the font sizes by resolution with dimensions given in dots. Font Font 0 Font 1 Font 2 Font 3 Font 4 Font 5 Font 6 Font 7 Font 8 Height 7 13 18 27 36 52 64 32 28 Width 5 7 10 14 18 18 32 15 15 Spacing 1 2 2 2 3 3 4 5 5 Point Size 2.5 4.6 6.4 9.6 12.8 18.4 22.7 11.3 9.
Appendix C – Available Fonts Font Font 0 Font 1 Font 2 Font 3 Font 4 Font 5 Font 6 Font 7 Font 8 Height 20 38 54 80 106 154 190 94 82 Width 14 20 30 42 54 54 94 44 44 Spacing 2 6 6 6 8 8 12 14 14 Point Size 2.4 4.6 6.5 9.6 12.7 18.5 22.8 11.3 9.8 Table C-5: Font Sizes @ 600 DPI Resolution Internal Smooth Font 9 (Smooth Font) Point Size Specifiers Label format records with font code 9 (in Format Record header field b) can specify any of the font sizes in the leftmost column of the table below.
Appendix C – Available Fonts 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 ( ) has been added to Fonts 0 – 6. For the E-Class and M-4206 only, the character is also present in Font 9. 0: Identifies a 96-character alphanumeric font, uppercase and lowercase.
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.
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.
Appendix D Reset Codes The most common transmitted error codes are: Uppercase “R” This code is sent every time the printer is turned ‘On’, signaling a hardware reset. Uppercase “T” This code signals a software reset. A software reset is made by sending the command sequence to the printer or by performing a reset using the front panel keys. Lowercase “v” There is an input buffer overflow situation, caused when an overflow of data is sent to the printer.
Appendix D – Reset Codes Class Series Programmer’s Manual 166
Appendix E Single Byte Symbol Sets The following tables include some of the sixty-six standard symbol sets. Not all of these symbol sets can be used with every font. Symbol sets containing the Euro currency character are W1, WE, WG, WL, WT, WR, and PM; see Appendix I, and the y command. The following sets were produced using a Windows®-based PC-compatible with a United States keyboard properties layout. Results may vary if printing this document using a different input locale.
Appendix E – Single Byte Symbol Sets (E1) ISO 8859/1 Latin 1 Symbol Set 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 @ P ‘ p ! 1 A Q a q “ 2 B R b r # 3 C S c s $ 4 D T d t % 5 E U e u & 6 F V f v ‘ 7 G W g w ( 8 H X h x ) 9 I Y i y * : J Z j z + ; K [ k { , < L \ l | = M ] m } .
Appendix E – Single Byte Symbol Sets (FR) ISO 69: French Symbol Set 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 à P µ p ! 1 A Q a q “ 2 B R b r £ 3 C S c s $ 4 D T d t % 5 E U e u & 6 F V f v ‘ 7 G W g w ( 8 H X h x ) 9 I Y i y * : J Z j z + ; K º k é , < L ç l ù = M § m è . > N ^ n ¨ / ? O _ o ▒ 0 1 2 3 4 5 6 7 8 9 A B C D E F ! “ # $ % & ( ) * + .
Appendix E – Single Byte Symbol Sets (MC) Macintosh Symbol Set 0 1 2 3 4 5 6 7 8 9 A B C D E F 00 10 20 30 40 50 60 70 80 90 A0 0 @ P ` p Ä ê † ! 1 A Q a q Å ë º “ 2 B R b r Ç í $ 4 D T d t Ñ î § % 5 E U e u Ö ï • & 6 F V f v Ü ñ ¶ ‘ 7 G W g w á ó ß ( 8 H X h x à ò ® ) 9 I Y i y â ô © * : J Z j z ä ö ™ + ; K [ k { ã õ ´ , < L \ l | å ú ¨ .
Appendix E – Single Byte Symbol Sets (PE) PC-852 Latin 2 Symbol Set 0 1 2 3 4 5 6 7 ♥ !! ♦ ¶ ♣ § ♠ ▬ ↨ ↑ ↓ → ← % 5 E U e u & 6 F V f v ‘ 7 G W g w ( 8 H X h x ) 9 I Y i y * : J Z j z + ; K [ k { ç ł ë 00 10 20 30 40 50 60 70 0 @ P ` p ! 1 A Q a q “ 2 B R b r # 3 C S c s $ 4 D T d t 80 Ç ü é â ä ô ö 90 É A0 B0 á ░ í ▒ ó ▓ ú │ C0 D0 E0 F0 └ ð Ó ┴ Ð ß “ ┬ ╸ Ž Â ž Í Š ÷ Î š ┤ Á ├ Ë ─ ┼ ͅ ̌ ˘ 2 3 4 „ ‚ “ “ ‘ ‘ ̇ Ô §
Appendix E – Single Byte Symbol Sets (PT) PC-8 TK, Code Page 437T Symbol Set 0 1 2 3 4 5 6 7 8 ♥ ◘ 9 A B 00 10 20 30 40 50 60 70 0 @ P ` p ! 1 A Q a q ″ 2 B R b r !! # 3 C S c s ¶ $ 4 D T d t § % 5 E U e u — & 6 F V f v ‘ 7 G W g w ( 8 H X h x ) 9 I Y i y * : J Z j z + ; K [ k { 80 90 A0 B0 C0 D0 E0 F0 Ç É á ░ └ ╨ a ≡ ü æ í ▒ ┴ ╤ ß ± é Æ ó ▓ ┬ ╥ └ ≥ â ô ú │ ├ ╙ π ≤ ä ö ñ ┤ ─ ╘ ∑ ⌠ à ò Ñ ╡ ┼ ╒ σ ⌡ å û ª ╢ ╞ ╓ µ ÷ ç ù ° ╖ ╟ ╫ Τ ≈ ê ÿ ⌐ ╕ ╚ ╪ ф ○ ë
Appendix E – Single Byte Symbol Sets (SW) ISO 11: Swedish Symbol Set 00 10 20 30 40 50 60 70 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 É P é p ! 1 A Q a q “ 2 B R b r # 3 C S c s ¤ 4 D T d t % 5 E U e u & 6 F V f v ‘ 7 G W g w ( 8 H X h x ) 9 I Y i y * : J Z j z + ; K Ä k ä , < L Ö l ö = M Å m å .
Appendix E – Single Byte Symbol Sets (VI) Ventura International Symbol Set 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 @ P ` p ! 1 A Q a q “ 2 B R b r # 3 C S c s $ 4 D T d t % 5 E U e u & 6 F V f v ‘ 7 G W g w ( 8 H X h x ) 9 I Y i y * : J Z j z + ; K [ k { , < L \ l | = M ] m } .
Appendix E – Single Byte Symbol Sets (WE) Windows 3.1 Latin 2 Symbol Set 0 00 10 20 30 40 50 60 70 80 90 A0 0 @ P ` p € B0 º C0 D0 E0 F0 1 2 3 4 5 6 7 8 9 A B C D E F ! 1 A Q a q # 3 C S c s $ 4 D T d t „ “ ¤ % 5 E U e u … • & 6 F V f v † – ¦ ‘ 7 G W g w ‡ — § ( 8 H X h x ) 9 I Y i y ‰ ™ * : J Z j z Š š = M ] m } .
Appendix E – Single Byte Symbol Sets Class Series Programmer’s Manual 176
Appendix F Bar Code Summary Data Bar code fonts have alpha names (left column, below). Uppercase alpha names will print bar codes with human-readable interpretations, if supported. Lowercase alpha names will print bar codes only. Place the ID in field b of the Format Record header to cause the printer to encode the data field using the associated bar code symbology, see Appendix G for details. See Table F-2 for default values.
Appendix F – Barcode Summary Data Bar Code ID [1] [2] [3] [4] Symbology Length Checksum Valid ASCII Characters, decimal value representation u UPS MaxiCode w/ Byte Count Specified Yes Alphanumeric v FIM 1 No A, B, C, D z PDF417 Varies Yes All Z PDF417 w/ Byte Count Specified Yes All W1c DataMatrix Varies Yes All 8-bit values W1C DataMatrix w/ Byte Count Specified Yes All 8-bit values W1d QR Code – Auto format Varies Yes Alphanumeric W1D QR Code – Manual format Varies Yes Single-byte or Kanji double-b
Appendix F – Barcode Summary Data Bar Code Default Widths and Heights Font A B C D E F G H I J K L M N O p Q R S T 203 DPI Resolutions Height Ratio/ (inches) Module Size .40 6:2 .80 3 .80 3 .40 5:2 .40 2 .80 3 .80 3 .40 6:2 .40 6:3 .40 5:2 .40 5:2 1.30 5:2 .90 3 .80 3 .40 6:3 .08 N/A 1.40 2 1.40 2 1.40 2 .80 1 Class Series Programmer’s Manual 300 DPI Resolutions 400 DPI Resolutions Height Ratio/ Height Ratio/ (inches) Module Size (inches) Module Size .40 9:4 .40 12:4 .80 4 .80 6 .80 4 .80 6 .40 9:4 .
Appendix F – Barcode Summary Data Font U/u v z Z/z W1C/W1c W1D/W1d W1F/W1f W1I W1J W1k W1p W1G/W1g W1R W1T W1Z/W1z 203 DPI Resolutions Height Ratio/ (inches) Module Size 1.00 N/A .5 1 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A .40 2 .40 2 N/A 2 N/A N/A .5 5:2 1.40 2 .40 6:2 N/A N/A 300 DPI Resolutions Height Ratio/ (inches) Module Size 1.00 N/A .5 1 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A .40 4 .40 4 N/A 3 N/A N/A .5 7:3 1.40 4 .40 9:4 N/A N/A 400 DPI Resolutions Height Ratio/ (inches) Module Size 1.
Appendix G Bar Code Details 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. A: Code 3 of 9 Valid Characters: 0-9, A-Z, - . * $ / + % and the space character. Variable Length. Valid bar widths: The expected ratio of wide to narrow bars can range from 2:1 to 3:1.
Appendix G – Barcode Details C: UPC-E Valid Characters: 0-9 Length: Seven digits. If the user provides six digits, the printer will compute the checksum. If the user provides the checksum, the printer will check that it matches the expected checksum. If it does not match, the printer will print out all zeros and the expected checksum. Valid bar widths: The fourth character of record is the width of the narrow bar in dots.
Appendix G – Barcode Details Subset A: Includes all of the standard uppercase alphanumeric keyboard characters plus the control and special characters. To select Code 128 Subset A, place an ASCII A (DEC 65, HEX 41) before the data to be encoded. Subset B: Includes all of the standard uppercase alphanumeric keyboard characters plus the lowercase alphabetic and special characters. To select Code 128 Subset B, place an ASCII B (DEC 66, HEX 42) before the data to be encoded.
Appendix G – Barcode Details F: 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. Valid bar widths: The fourth character of record is the width of the narrow bar in dots.
Appendix G – Barcode Details H: 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: L D11 1H0000000150050+0123456789 121100000000100Barcode H E I: Codabar Valid Characters: 0-9, A-D, -, .
Appendix G – Barcode Details K: 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.
Appendix G – Barcode Details M: 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.
Appendix G – Barcode Details p: Postnet Valid Characters: 0-9 Length: 5, 9 or 11 digits Valid bar widths: The width and height multiplier values of 00 will produce a valid Postnet symbol. Usage: The bar code height field is ignored since the symbol height is United States Postal Service specific. This bar code is to display the zip code on a letter or package for the US Postal Service.
Appendix G – Barcode Details R: 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. (See W1R for an alternate.) This bar code is set up according to K-MART specifications. The following example prints a KMART bar code.
Appendix G – Barcode Details T: Telepen Valid Characters: All 128 ASCII characters. Variable Length Valid bar widths: The fourth character of the 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).
Appendix G – Barcode Details Where: #3 [)>RS01GS96 123456 068 001 G S1Z1... ...TRSEOT Forces Mode 3 encoding Message Header Maximum 9 alphanumeric ASCII, postal code Country Code Class Primary Message Secondary Message UPS 3.0 Examples In the UPS 3.0 protocol examples that follow, Primary Message control characters GS will not be encoded in the MaxiCode symbol. All characters, the Secondary Message, with the exception of the leading GS, in are encoded. An example of the UPS 3.
Appendix G – Barcode Details Where: V6C3E2 068 001 G S1Z1... ...TRSEOT Maximum 6 alphanumeric ASCII, international zip code Country Code Class Primary Message Secondary Message An example of the UPS 3.0 zip + 4 “32707-3270” without Message data format and message header: 1u0000001200120327073270GS068GS001GS1Z12345675GSUPSNGS12345EGS089GSGS1/1GS1 0.1GSYGSGSGSUTRSEOT Where: 32707 3270 068 001 G S1Z1... ...
Appendix G – Barcode Details v: FIM 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. FIM B: Business reply, penalty or franked mail without Postnet. FIM C: Business reply, penalty or franked mail with Postnet.
Appendix G – Barcode Details Example Data F 1 00 00 00 PDF417 Note: Z: Explanation 1-character specifying a normal or truncated bar code (T to truncate, F for normal). 1-digit security level ranging from 0 to 8. 2-digit aspect ratio specified as a fraction, with the first digit being the numerator and the second digit the denominator. Use “00” for the default ratio of 1:2. Valid range is from “00” to “99.” 2-digit number specifying the number of rows requested.
Appendix G – Barcode Details 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.
Appendix G – Barcode Details Where: Field a W b[b] Valid Inputs 1,2,3, and 4 W c, 1c c d eee ffff gggg hhh 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 0000 to 9999 000, 050, 080, 100, 140 Meaning Rotation Fixed value, extended bar code set Selects the DataMatrix bar code - the two differing values have no other significance.
Appendix G – Barcode Details ECC 200 symbols: There are 24 square symbol sizes available, with both row and column dimensions, which may be specified in fields jjj and kkk, measured in modules as indicated in the following list - 10, 12, 14, 16, 18, 20, 22, 24, 26, 32, 36, 40, 44, 48, 52, 64, 72, 80, 88, 96, 104, 120, 132, and 144. If an ECC 200 symbol is specified with odd numbers of rows or columns, the next largest even value will be used.
Appendix G – Barcode Details W1C: DataMatrix with Byte Count Specifier Specified Length – The upper case C identifies a DataMatrix bar code with a string 4-digit length specifier. This allows values 0x00 through 0xFF to be included within the data strings without conflicting with the DPL format record terminators. The four-digit decimal data byte count immediately follows the four-digit column position field. This value includes all of the data following the byte count field, but does not include itself.
Appendix G – Barcode Details 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 W1 D and d a W1 b Meaning Rotation Fixed value, extended bar code set Selects the QR bar code formatting mode, where: D = Manual formatting.
Appendix G – Barcode Details L D11 1W1d4400000100010This is the data portion 121100000000100Barcode W1D E [3] (Two termination characters required.) Manual Formatting (W1D) With bar code identifier ‘D’, minor changes allow flexibility for data entry. (Spaces have been added for readability.
Appendix G – Barcode Details Data Append Mode String Format, Manual Formatting – Bar Code W1D D aa tt pp I Where: Field D aa tt pp e m i cdata term Valid Inputs D 00, 99 H, Q, M, L 0 – 8, none A, a, M, m N, A, B, K immediately followed by data , Meaning Data Append Mode String Format indicator QR Code Number in Append Series, 2 decimal digits The total number of QR Codes in series, 2 decimal digits Value of Parity, 2 digits, 8 LSBs of data parity As above As above As above As above As abov
Appendix G – Barcode Details Alphanumeric Data Model 1; Version 14; ECC = L: 707 characters Model 2; Version 40; ECC = L: 4,296 characters Binary Data Model 1; Version 14; ECC = L: 486 characters Model 2; Version 40; ECC = L: 2,953 characters Kanji Data Model 1; Version 14; ECC = L: 299 characters Model 2; Version 40; ECC = L: 1,817 characters Code Type: Matrix Orientation Independence: Yes Example L D11 1W1D44000001000102HM,AThis is the data portion also with binary,B0003<0xfe><0xca><0x83><0x0D>
Appendix G – Barcode Details 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.
Appendix G – Barcode Details jjj [1] [2] Error Correction (EC) / Size Implications Maximum[2] Maximum[2] Symbol Symbol Binary Data Alphabetic Size[1] Format Bytes Characters Maximum[2] Numeric Characters 000 001 to 099 variable variable data dependant data and EC dependant 1914 1914 3067 3067 3832 3832 101 102 102 103 104 15 19 19 23 27 compact compact compact compact compact 6 19 19 33 53 12 33 33 57 89 13 40 40 70 110 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218
Appendix G – Barcode Details particularly when the volume of that data is small. It the data capacity is exceeded no symbol is printed. Size 101 to 104: Values 101 through 104 results in 1 through 4 layers (two modules thick) respectively, around the center finder pattern. Data volume constraints apply as indicated in the table above. Symbols will be of the compact form. All available code word will be used for error correction. It the data capacity is exceeded no symbol is printed.
Appendix G – Barcode Details 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. An erroneous bar code symbol may result from failing to follow n with n digits. Any 0 following n and not within the n digits will be encoded as FLG(0).
Appendix G – Barcode Details W1g / W1G: USD-8 (Code 11) Valid Characters: 0-9,Bar Code Data String Length: Variable, typical max 41 characters Non-Human Readable: W1g Human Readable: W1G USD-8 (Code 11) is a bar code that encodes the ten digits and the dash (-) character. An additional character serves as the start and stop indicator. Each character has three bars and two spaces for a total of five elements.
Appendix G – Barcode Details Subset A: Includes all of the standard uppercase alphanumeric keyboard characters plus the control and special characters. Subset B: Includes all of the standard uppercase alphanumeric keyboard characters plus the lowercase alphabetic and special characters. Subset C: Includes the set of 100 digit pairs from 00 through 99 inclusive, as well as special characters. EAN128 Subset C is used for double density encoding of numeric data.
Appendix G – Barcode Details W1J: Code 128 with Auto Subset Switching Valid characters: The entire 128 ASCII character set. Variable length Valid bar widths: The fourth character of record is the width of the narrow bar in dots. All other bars are a ratio of the narrow bar (2 times the narrow bar width, 3 times the narrow bar width, and 4 times the narrow bar width). This printer supports the Code 128 subsets A, B, and C.
Appendix G – Barcode Details Control Codes: Control character encoding into Code 128 Subset A by sending these control codes: ` a through z { | } ~ ASCII 127 = = = = = = = NUL 1 - 26 ESC FS GS RS US The following example prints a Code128 Auto bar code: L D11 1W1J000000025002512345&G10Z2133021AK 121100000000100Barcode W1J E Barcode W1J When scanned this bar code will decode as: [C]1234[B]5[F1]10Z2 [C]133021[B]AK(95) Class Series Programmer’s Manual 210
Appendix G – Barcode Details 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 The encodable character set is 0 through 9.
Appendix G – Barcode Details Field [1] [2] a W1 k c d eee ffff gggg h Valid Inputs 1,2,3, and 4 W1 k 1 to 9, A to Z, and a to z 1 to 9, A to Z, and a to z 000 0000 to 9999 0000 to 9999 R, T, S, D, L i j m n…n | 1-9 0 to (i-1) 0 to (i-1) 0 to 9 | (optional) p…p 2-D data (optional) Meaning Rotation Fixed value, extended bar code set Selects GS1 DataBar bar code Wide bar ratio, default = 2 Narrow bar ratio, default = 2 No effect Label position, row Label position, column GS1 DataBar Type: R = GS1 Dat
Appendix G – Barcode Details The following example prints an GS1 DataBar Truncated bar code. L D11 1W1k0000001500150T1002001234567890 121100000000100Barcode W1k E Barcode W1k The following example prints an GS1 DataBar Stacked bar code. L D11 1W1k0000001500150S1002001234567890 121100000000100Barcode W1k E Barcode W1k The following example prints an GS1 DataBar Stacked Omni-Directional bar code.
Appendix G – Barcode Details Syntax for the GS1 DataBar Expanded bar code (spaces shown for readability): a W1 k c d eee ffff gggg h Where: Field a W1 k c d eee ffff gggg h i j m nn p…p | Valid Inputs 1,2,3, and 4 W1 k 1 to 9, A to Z, and a to z 1 to 9, A to Z, and a to z 000 0000 to 9999 0000 to 9999 E 1-9 0 to (i-1) 0 to (i-1) 2-22, even only[2] 0 to 9 | (optional) q…q 2-D data (optional) i j m nn p…p | q…q Meaning Rotation Fixed value, extended bar code set Selects GS1 DataBar bar code Wide bar rati
Appendix G – Barcode Details 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. This bar code represents a 20 digit tracking code and a zero, five, nine, or eleven digit routing code on a letter or package for the USPS.
Appendix G – Barcode Details 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.
Appendix G – Barcode Details W1z: MicroPDF417 Valid Characters: All ASCII characters, depending on the selected options.
Appendix G – Barcode Details 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.
Appendix G – Barcode Details 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). When enabled, Byte Compaction has priority over Macro Character Substitution.
Appendix G – Barcode Details Class Series Programmer’s Manual 220
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.
Appendix H – Single and Double Byte Character Font Mapping Font 9, Font Specifications (eee Height) and Associated Characteristics Font Name Character Mapping Font Size Specifier (eee Height) Point Size Font 9 Bit-Mapped Resident Fonts (E-Class and M-4206, only) CG Triumvirate[1] Single Byte CG Triumvirate[1] Single Byte 000 - 010 5, 6, 8, 10, 12, 14, 18, 24, 30, 36, 48, respectively. A04, A05, A06, A08, A10, 4, 5, 6, 8, 10, 12, 14, 18, 24, A12, A14, A18, A24, A30, 30, 36, 48, 72, respectively.
Appendix I Symbol Sets and Character Maps Symbol Set Selection Scalable fonts are mapped through a symbol set sometimes referred to as a ‘code page’. This mapping allows the host application to select a variety of characters to match the application. For example in the code page (CP), character code 0xE4 causes character Φ to be printed. In CP E7, the character code 0xE4 causes δ to be printed. Each of the CPs allows the host application to “emulate” a character set for their application.
Appendix I – Symbol Sets and Character Maps Single Byte Code Pages Code Page Identifier D-O HP (PCL) M8 MC MS P9[3] PB PC PD PE PG PH PI PM PR PT PU PV PX PY R8 R9[3] SP SW SY TK TS UK US VI VM VU W1[4] WA WD WE[4] WG[4] 8M 12J 5M 13U 6J 10U 11U 17U 10G 15H 15U 12U 10V 9T 9J 26U 12U 3Y 8U 4U 2S 0S 19M 8T 10J 1E 0U 13J 6M 14J 19U 9V 579L 9E 9G WL[4] 19L [2] [3] [4] Part √ Font Format MicroType [2] CG CG Triumvirate Times √ √ √ √ [4] √ √ [4] √ √ [4] Part Part √ √ √ √ √ √ Part √ √ √ Part Part √ [4] √
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.
Appendix I – Symbol Sets and Character Maps Class Series Programmer’s Manual 226
Appendix J General Purpose Input Output (GPIO) Port Applications GPIO and Applicator Interface Card equipped printers can easily interface with most external controlling devices. Function and setting preferences can be stored in non-volatile memory for subsequent power-ups using the menu system of the printer, or via 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.
Appendix J – General Purpose Input Output Ports Each GPIO pin function is detailed in the table below: M-Class GPIO Port Overview Pin Number(s) Signal Name Signal State Signal Direction[1] 1 Vcc +5 VDC @ 2.5 Amp (fused ) Output Printer +5 VDC Goes low if the printer detects a fault and applies only when not equipped with a cutter. To activate set the GPIO Equipped to “A” and Cutter Equipped to “NO”.
Appendix J – General Purpose Input Output Ports I & W-Class GPIO GPIO pin functions are detailed in the table below: I-Class and W-Class GPIO Overview Pin Number Signal Name Signal State Signal Direction * 1 Vcc +5 VDC Output +5 VDC power supply. 2 Ribbon Fault Low Output Goes low when a ribbon out condition is detected. 3 Paper Fault Low Output Goes low when an out of stock condition is detected. 4 Printer Fault Low Output Goes low when any printer fault is detected.
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.
Appendix J – General Purpose Input Output Ports The GPIO Port allows convenient printer to applicator integration. Functions can be configured using the menu system or via Kc commands. All configuration settings are saved in non-volatile memory. Jumper settings are critical: • Jumper settings allow internal or external power distribution to the applicator circuitry. • Jumper settings allow + 5 or +24 VDC output signal levels.
Appendix J – General Purpose Input Output Ports The Applicator Start of Print Circuit will depend upon the applicator system’s requirements: J2 - GPIO PORT • For applicator interface circuitry that will use the printer’s +5 VDC, follow the schematic shown right.
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.
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. Optical isolators are available to provide isolation. Two print control circuit examples are given below.
Appendix J – General Purpose Input Output Ports Failure to properly configure the GPIO Port can result in damage to the printer and / or connected devices. WARNING Applicator Interface Card (Version 2) GPI/O Port A Overview Pin Number 1 Signal Name Signal Direction [1] Jumper Position JMP 8 Ground Installed Printer chassis is used. Removed Ground must be supplied. Printer +5VDC is used (.
Appendix J – General Purpose Input Output Ports GPI/O B (J2) Six unassigned inputs are designed to interface to open-collector outputs. These inputs require no external pull-ups and blocking diodes allow the use of totem pole outputs from +4.5 to + 26 VDC. Optical isolators are available to provide isolation. Two print control interface circuit examples are given below.
Appendix J – General Purpose Input Output Ports Failure to properly configure the GPIO Port can result in damage to the printer and / or connected devices. WARNING Applicator Interface Card (Version 2) GPI/O Port B Overview Pin Number Signal Name / Direction [1] Jumper Position Installed 1 +5 VDC JMP 11 2 Input 6 N/A N/A 3 Input 3 N/A N/A Removed 4 Output 6 JMP 7 Output 3 JMP 4 Drawing more than .5 amps can cause unreliable printer operation. +5VDC must be supplied.
Appendix J – General Purpose Input Output Ports COM C (J4) Serial Port C functions as an RS-232 interface or as a dedicated device interface, according to jumper setting configurations indicated below: COM C Jumper Setting Functions Function Note: Position RS-232 Communications JMP 12 On JMP 13 On JMP 14 On JMP 15 On RFID Off On On On Linear Scanner On Off On On Remote Display On On Off On Jumper settings will override most printer menu settings; however, if COM C jumpers are set f
Appendix K Print Resolutions; Maximum Field, Row, Column, & Character Values; and, Memory Module Identifiers and Allocations Note: The tables in this section use the following standards: X = Supported; ND = Non-Display Maximum Format Fields [1] Total Characters All Fields 700 32768 450 16,000 I-4206 & I-4208 500 32768 M-4206 450 16,000 Printer A-Class, H-Class, I-4210, I-4212, I-4308, I-4406, I-4604, M-4208, M-4306, S-Class & W-Class E-Class [1] When the product of the number of fields an
Appendix K – Print Resolutions, Module Identifiers, Maximum Field, Column, & Character Values A-4212 Print Resolution DPI DPMM 203 8.0 Dot Dimensions (nominal) Inches Millimeters .0043 x .0052 .11 x .13 A-4310 300 11.8 .0027 x .0043 .07 x .11 1248 105.7 416 1057 A-4408 406 16.0 .0013 x .0018 .03 x .05 1664 104.1 410 1041 A-4606 600 23.6 .0008 x .0015 .02 x .04 2496 105.7 416 1057 A-6212 203 8.0 .0043 x .0052 .11 x .13 1344 168.1 662 1680 A-6310 300 11.8 .0027 x .
Appendix K – Print Resolutions, Module Identifiers, Maximum Field, Column, & Character Values Printer Resolution (DPI) Row/Column/Present Adjust Fine Tune KcRF KcCF KcPJ Parameter Range (+/– dots) 203 -100 – 100 dots 300 -150 – 150 dots 400 -200 – 200 dots 600 -300 – 300 dots Table K-3: Row Adjust Range per Print Resolution Class Series Programmer’s Manual 241
Appendix K – Print Resolutions, Module Identifiers, Maximum Field, Column, & Character Values B [1] C F G X X Y Z [6] X X X SDIO 4 MB Flash – Option, configurable. [6] 256 KB Flash, Main CCA [2, 5] S-Class H-Class W-Class M-Class M -Class (ND) X X X X X X X X X X X X X X X 128 KB Flash, Main CCA, configurable up to 6.25 MB with Flash option X X X X [3, 6] [3, 6] X X ≈ 5.
Appendix L Speed Ranges Printer Speed Command* Speed Value: Inches per Second Millimeters per Second 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 6.5 7.0 7.5 8.0 8.5 9.0 9.5 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 25 38 51 63 76 89 102 114 127 140 152 165 178 191 203 216 227 241 254 267 279 292 305 330 356 381 406 432 457 483 508 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e *Applicable speed values are printer dependent. See Table L-2, below.
Appendix L – Speed Ranges Model A-4212 A-4310 A-4408 A-4606 A-6212 A-6310 E-4203[1] E-4204 E-4304 EX2 H-4212 & H-4212X H-4310 & H-4310X H-4408 H-4606 & H-4606X H-6210 H-6212X H-6308 H-6310X H-8308X I-4206 I-4208 I-4210 I-4212 I-4308 I-4406 I-4604 M-4206 M-4208 M-4306 S-Class 3210 series S-Class 3306 series W-6208 W-6308 W-8306 [1] Print Speed Range Default Feed Speed Range Default Reverse Speed Range Default C C C C C C A A A A – – – – – – – – – – W S O K W S G G G G O O K G O O G G G G C C C C C C
Appendix M Commands by Function Commands by Function Function Command 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 Cut by Cut by Decrement alphanumerically Decrement numerically DIP switch, host controlled settings Dot size height and width Edge sensor enable Feed rate Feedback characters en
Appendix M – Commands By Function Commands by Function Function Command 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 Print head dot pattern test label Quantity labels printed Quantity of labels Recall global dat
Appendix N Class Series DPL Constraint Cross-Reference Note: Throughout the tables below, the following standards are used: X = Supported Command ND = Non-Display Constraints M-Class W-Class X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X A-Class I-Class X H-Class X E-Class S & M-Class (ND) Printer # Reset X * Reset X A Send ASCII Status String X B Toggle Pause C Stop/Cancel D SOH Shutdown E Send Batch Q
Appendix N – DPL Constraint Cross Reference Constraints A-Class E-Class H-Class I-Class S & M-Class (ND) M-Class W-Class Printer A Set Time and Date X X X X X X X a Enable Feedback Characters X X X X X X X B Get Printer Time and Date Info X X X X X X X b Set Cutter signal time C Copy Module c Set Continuous Paper Length X X X X X X X D Memory Dump d Set Printer to Double Buffer Mode E Set Quantity for Stored Label X X X X X X X e Select E
Appendix N – DPL Constraint Cross Reference A-Class E-Class H-Class I-Class S & M-Class (ND) M-Class W-Class Printer p Controlled Pause X X X X X X X Q Clear All Modules X X X X X X X q Clear Module X X X X X X X R Ribbon Saver X r Select Reflective Sensor X X X X X X X S Set Feed Rate X X X X X X X s Set Printer to Single Buffer Mode T Print head Dot Pattern Test Label X X X X X X X t Test DRAM Memory Module X X X X X X X U Label
Appendix N – DPL Constraint Cross Reference Extended System-Level Command Constraints W-Class Get Configuration X X X X X X X Kc Set Configuration X X X X X X X KD Database Configuration Kd Set File as Factory Defaults X X X KE Character Encoding X KF Select Factory Defaults Kf I-Class KC H-Class Backfeed Time Delay Description E-Class Kb Command A-Class M-Class S & M-Class (ND) Printer X X X X X X X X X X X X X X X X X X X Set Present Distance
Appendix N – DPL Constraint Cross Reference Label Formatting Command Constraints S & M-Class (ND) M-Class W-Class - (<) Make Last Field Entered Increment Numeric (Alphanumeric) Make Last Field Entered Decrement Numeric (Alphanumeric) I-Class + (>) Set Cut by Amount H-Class : Description E-Class Command A-Class Printer X X X X X X X X X X X X X X X X X X X X X ^ Set Cut by Amount X X X X X X X A Set Format Attribute X X X X X X X B Bar Code Magnificatio
Appendix N – DPL Constraint Cross Reference A-Class E-Class H-Class I-Class S & M-Class (ND) M-Class W-Class Class Printer Model T Set Field Data Line Terminator X X X X X X X U Mark Previous Field as a String Replacement Field X X X X X X X W Wait Mode X Terminate Label Formatting Mode X X X X X X X y Select Font Symbol Set X X X X X X X Z Zip Mode z Zero (Ø) Conversion to “O” X X X X X X X S Recall Global Data X X X X X X X T Pr
Appendix O Image Loading The printer will accept four types of image files: .BMP, .IMG, .PCX and a special Datamax-O’Neil 7-bit ASCII file (as defined in this section). Using the Datamax-O’Neil 7-bit ASCII format will require at least twice as much data transmission time as the other formats, (see I). The Datamax-O’Neil ASCII image file format is made up of a set of records with identical formats, each representing a dot row of the image; a terminator follows the last of these records.
Appendix O – Image Loading ^BqA(CR) ^BIAAFLOGO(CR) 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR) 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR) 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR) 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR) 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Appendix P UPC-A and EAN-13: Variable Price/Weight Bar Codes The EAN/UPC standard allows for an additional checksum to be generated in the middle of the bar code based on the data. This is used when the price or weight of an item is embedded into the bar code data (commonly used in the food industry). For the printer to generate this checksum, a ‘V’ must be placed in the data stream in the position the checksum is requested.
Appendix P – UPC-A and EAN-13 Variable Price / Weights Class Series Programmer’s Manual 256
Appendix Q International Language Print Capability (ILPC) Programming Examples ILPC, offered as a field upgrade or a factory installable option, allows the printing of non-English character sets, available with European language support (CG TIMES), KANJI language support (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.
Appendix Q – ILPC Programming Examples Sample label created using the preceding data: ILPC-KANJI Option 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).
Appendix Q – ILPC Programming Examples Sample Kanji Gothic B DPL file (binary addressing) and the resulting label: <02>L D11 ySPM 1911S0003100010P020P015Scalable Kanji Gothic B Available 1B110000020017001234567890 yUJS 1X1100001900010b0392011000020002 112200002800030JIS CHARACTER’S IN ALL 4 ROTATION’S 112200002600030Rotation 1 1911U4002650150P012P012<4D><3F><21><21><21><21><4D><4F><21><21><21><21><4D><5F><21><21> <21><21><4D><6F><00><00> 112200002400030Rotation 2
Appendix Q – ILPC Programming Examples Sample Kanji Gothic E DPL file (Hex-ASCII addressing) and resulting label: <02>L D11 ySPM 1911S0003100010P020P015Scalable Kanji Gothic E Available 1B110000020017001234567890 yUJS 1X1100001900010b0392011000020002 112200002800030JIS CHARACTER’S IN ALL 4 ROTATION’S 112200002600030Rotation 1 1911uK102650150P012P0124D3F212121214D4F212121214D5F212121214D6F 112200002400030Rotation 2 2911uK102600150P012P0124D3F 2911uK102600205P0
Appendix Q – ILPC Programming Examples ILPC-CHINESE Option The Chinese Option is a double byte scalable font supporting Simplified GB Chinese. In the double byte format the printer recalls one character printed from every two 8-bit bytes sent from the host. Double byte scalable fonts are selected using a print format record (see Generating Label Formats and Appendix H for details).
Appendix Q – ILPC Programming Examples 2911UC002600150P012P012<00><00> 2911UC002600205P012P012<00><00> 2911UC002600250P012P012<00><00> 2911UC002600300P012P012<00><00> 112200002200030Rotation 3 3911UC002330315P012P012 <00><00> 112200002000030Rotation 4 4911UC001950165P012P012<00><00> 4911UC001950215P012P012<00><00> 4911UC001950265P012P012
Appendix Q – ILPC Programming Examples ILPC-KOREAN Option 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). eee (Font Code) UH0 uh0 u50 u5z… u90 - u9z U50 U5z...
Appendix Q – ILPC Programming Examples 1911UH001200110P040P020<00><00> 1911UH001200145P040P030<00><00> 1911UH001200190P040P040<00><00> 1911UH001200250P040P050<00><00> 1911UH001200320P040P060<00><00> 112200000200010NORMAL INVERSE 112200000200245 NORMAL MIRROR 1911UH000450010P040P040<4D><00><00> 1911UH000450245P040P040<15><00><00> A5 1911UH000450090P040P040<4D><00><00> A1 M 1911UH000450390P040P040<15><
Appendix R Plug and Play IDs MFG; CMD; MDL; CLS; DES Where: MFG = Datamax-O’Neil CMD = Fixed string: “DPL” MDL = Model: (Valid designations are A4212, A4310, A4408, A4606, A6212, A6310, E4203, E4204, E4304, EX2, H4212, H4310 I4206, I4208, I4308, I4210, I4212, I4406, I4604, M4206, M4208, M4306, ST3210, ST3306, SV3210, SV3306,W6308, W6208, and W8306.
Appendix R – Plug and Play IDs Class Series Programmer’s Manual 266
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.
Appendix S – Line Mode 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.) L PG SG D11 15110000160001099999999999999999999999999999999999 U 151100001200010FIXED FIELD #1 15110000080001099999999999999999999999999999999999 U 151100000400010FIXED FIELD #2 15110000000001099999999999999999999999999999999999 U Q0001 sCDMXFRM To print a label, the attached device now only has to send the data.
Appendix S – Line Mode 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: If a template in the form of DMXFRMxx is used, the data must be preceded
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 270
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).
Appendix T – RFID Details Label Formatting Mode Label Formatting Mode utilizes the current printer configuration to process all reading, writing, and exception processing for each tag printed. (For exception processing and fault handling, see the KcFH command.) The specification for RFID programming is contained in the data fields of the DPL label format, which instructs the printer to write and read data. Two Label Formatting Modes for RFID are available.
Appendix T – RFID Details Wx / W1x: RFID (continued) Field Valid Inputs 0000 – 9998 ffff Meaning HF: Starting block number to write. UHF EPC Gen2: Block address where “0001” is EPC data, “0002” is Tag ID or “0003” is user memory. Using “0000” is for EPC data also (for backwards compatibility).
Appendix T – RFID Details 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.
Appendix T – RFID Details WX / W1X: RFID with Byte Count Specifier (continued) Field Valid Inputs Meaning HF: Lock after write, where: x = 0 – Use printer setup to determine if lock is performed. x = 1 – Lock after write. yy = Not Used eee xyy UHF EPC Gen2: Lock after write, where: x = 0 – Use printer setup to determine if lock is performed. x = 1 – Lock after write.
Appendix T – RFID Details Example1: The following example encodes a HF tag, starting at block 001, with “Datamax 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.
Appendix U WiFi Region Country Codes Region Country Codes Code Country Code Afghanistan GH Åland Islands GI Albania GR DZ Algeria AS Country Code Country Ghana PK Pakistan Gibraltar PW Palau Greece PS Palestinian Territory GL Greenland PA Panama American Samoa GD Grenada PG Papua New Guinea AD Andorra GP Guadeloupe PY Paraguay AO Angola GU Guam PE Peru AI Anguilla GT Guatemala PH Philippines AQ Antarctica GN Guinea PN Pitcairn AG Antigua and Barbuda
Appendix U – WiFi Region Country Codes WiFi Region Country Codes (continued) Code Country Code Country Code Country BA Bosnia and Herzegovina JO Jordan CS Serbia and Montenegro BW Botswana KZ Kazakhstan SC Seychelles BV Bouvet Island KE Kenya SL Sierra Leone BR Brazil KI Kiribati SG Singapore IO British Indian Ocean Territory KP Korea, Democratic People's Republic of SK Slovakia BN Brunei Darussalam KR Korea, Republic of SI Slovenia BG Bulgaria KW Kuwait SB So
Appendix U – WiFi Region Country Codes WiFi Region Country Codes (continued) Code Country Code Country Code Country DK Denmark FM Micronesia, Federated States of TC Turks and Caicos Islands DJ Djibout MD Moldova, Republic of TV Tuvalu DM Dominica MC Monaco UG Uganda DO Dominican Republic MN Mongolia UA Ukraine EC Ecuador MS Montserrat AE United Arab Emirates EG Egypt MA Morocco GB United Kingdom SV El Salvador MZ Mozambique US United States GQ Equatorial Gui
Appendix U – WiFi Region Country Codes Class Series Programmer’s Manual 280
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 26200 Lahser Rd.
Appendix V – Bar Code Symbology Information Resources Health Industry Business Communications Council (HIBCC) 2525 E Arizona Biltmore Circle, Suite 127 Phoenix, Arizona 85016 USA Phone: 602-381-1091 Fax: 602-381-1093 http://www.hibcc.org/ Uniform Code Council, Inc. 7887 Washington Village Drive, Suite 300 Dayton, OH 45459 USA Phone: 937-435-3870 Fax: 937-435-7317 http://www.uc-council.org/ U.S. Government Printing Office 732 North Capitol St. NW Washington, DC 20401 USA Phone: 202.512.
Glossary alphanumeric Consisting of alphabetic, numeric, punctuation and other symbols. backing material The silicon-coated paper carrier material to which labels with adhesive backing are affixed. Also referred to as “liner”. bar code A representation of alphanumeric information in a pattern of machine-readable marks. The basic categories are divided into one-dimensional (UPC, Code 39, Postnet, etc.) and twodimensional bar codes (Data Matrix, MaxiCode, PDF417, etc.).
Glossary DPL (Datamax-O’Neil Programming Language) programming commands used specifically for control of and label production in Datamax-O’Neil printers. fan-fold Media that is folded and stacked. feed speed The rate at which the media moves under the print head in non-printed areas or when the FEED Key is pressed. Flash memory Non-volatile memory (does not require printer power to maintain data) that can be erased and reprogrammed, used to hold the printer’s operating program.
Glossary reflective media Media imprinted with carbon-based black marks on the underside of the material, which is used to signal the top-of-form when the ‘reflective’ Media Sensor is enabled. 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.
Glossary Class Series Programmer’s Manual 286