Programmer’s Manual Covers the following models: E-Class Mark III Basic and Advanced (Serial# 4xxxxxxx or greater) E-Class Mark III Pro/Pro+ I-Class Mark II RL3 & RL4
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 1 Overview ...................................................................................... 1 Who Should Use this Manual ...................................................................... 1 The Scope of this Manual........................................................................... 1 General Conventions................................................................................. 2 Computer Entry and Display Conventions ....................................................
STX E Set Quantity for Stored Label ................................................... 17 STX e Select Edge Sensor ................................................................. 18 STX F Form Feed ............................................................................. 18 STX f Set Form Stop Position (Backfeed Command) ............................. 18 STX G Print Last Label Format ........................................................... 19 STX I Input Image Data ......................
Extended System-Level Command Functions ..............................33 Introduction .......................................................................................... 33 STX K}E Empty Sensor Calibration ........................................................ 33 STX K}M Manual Media Calibration ......................................................... 34 STX K}Q Quick Media Calibration ........................................................... 34 STX KaR Read Data from RFID Tag ........
Label Formatting Command Functions ...................................... 111 Introduction .........................................................................................111 : Set Cut by Amount ................................................................111 A Set Format Attribute ..............................................................112 B Bar Code Magnification ...........................................................113 C Set Column Offset Amount ..........................
Font Loading Command Functions ............................................ 133 Introduction .........................................................................................133 8 *c###D Assign Font ID Number .......................................................... 133 )s###W Font Descriptor .....................................................................134 *c###E Character Code .....................................................................
Appendix I ..................................................................................... 239 Symbol Sets and Character Maps ............................................................239 Double-Byte Symbols, Chinese, Kanji, and Korean ..................................... 242 Appendix J ..................................................................................... 243 General Purpose Input Output (GPIO) Port Applications .............................. 243 Appendix K .......................
Overview 1 Overview Who Should Use this Manual This manual is intended for programmers who wish to create their own label production software.
Overview General Conventions These are some of the conventions followed in this manual: On the header of each page, the name of the section. On the footer of each page, the page number and the title of the manual. 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. Status commands Configuration commands Download commands Label format Status commands Label reprint commands Memory cleanup Typical commands used in the various stages shown above are listed in the tables that follow.
Overview Configuration Commands The following table lists some commands useful in controlling printer configuration. These commands are generally effective only for the current power-up session; toggling power restores the default configuration. See Kc for changes to the default powerup configuration. Changing the default power-up configuration and saving objects in printer Flash memory can reduce the data transmitted for each label and therefore improve throughput.
Overview Label Header Commands These commands determine how the label formatting occurs, the print quality and quantity. They are typically issued immediately following the L start of the label format. The Format Attribute (A) and the Offset (C, R) commands can be changed at any point between format records to achieve desired effects.
Overview 6
Control Code Command Functions 2 Control Code Command Functions Introduction The printer requires a special “attention-getter” character in order to receive a command sequence, informing the printer that it is about to receive a command and the type of command it will be. Control Commands, System-Level Commands, and Font Loading Commands have their own unique attention-getter, followed by a command character that directs printer action. Attention-Getters The attention-getters (e.g.
Control Code Command Functions Alternate Control Code Modes For systems unable to transmit certain control codes, Alternate Control Code Modes are available. Configuring the printer to operate in an Alternate Control Code Mode (selected via the Setup Menu, the Kc command or, where applicable, the KD command) requires the substitution of Standard Control Characters with Alternate Control Characters in what is otherwise a normal data stream.
Immediate Command Functions 3 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 Code Command Functions. 2.
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 a Y/N b Y/N c Y/N d Y/N e Y/N f Y/N g Y/N h Y/N : i Y/N j Y/N k Y/N l Y/N m Y/N n Y/N o Y/N p Y/N : q Y/N r Y/N s Y/N t Y/N u Y/N v Y/N w Y/N x Y/N SOH B Interpretation Y Y Y Y Y Y Y Y : Y Y Y Y Y Y Y Y : Y Y Y Y Y Y Y Y = = = = = = = = = = = = = = = = = = = = = = = = = = Interpreter busy (imaging) Paper out or fault Ribbon out or fault Printing batch Busy printing Printer paused Label presented Rewinder out or fault Always : Cutter Fault Paper Ou
Immediate Command Functions SOH C Stop/Cancel This command performs the same function as pressing the STOP/CANCEL Key (i.e., it clears the current format from the print buffer, pauses the printer, and illuminates the Paused/Stop Indicator). (The pause condition is terminated as described under B.
Immediate Command Functions SOH e Send Batch Printed Quantity This command causes the printer to return a four-digit number indicating the quantity of labels that have been printed in the current batch, followed by a carriage return. Communications latency may cause this value to be lower than actual on some printers. Syntax: e Printer response: nnnn Where: nnnn SOH F - Are four decimal digits, 0-9999.
Immediate Command Functions 14
System-Level Command Functions 4 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.
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).
System-Level Command Functions STX e Select Edge Sensor This command enables transmissive (see-through) sensing for top-of-form detection of die-cut and holed (notched) media. This sensor will detect a minimum gap of 0.1 inches (2.5 mm) between labels (see the Operator’s Manual for media requirements). This is the default setting. Syntax: e This command is ignored when cnnnn is issued with a non-zero value for nnnn.
System-Level Command Functions STX G Print Last Label Format This command prints a previously formatted label and restarts a canceled batch job following the last processed label. This is used when there is a label format in the buffer. The E command is used to enter the quantity. (Without the E command, one label will print.) Syntax: G STX I Input Image Data This command must precede image downloading from the host to the printer.
System-Level Command Functions STX i Scalable Font Downloading The command structure for downloading TrueType (.TTF) scalable fonts (files may be single-byte or double-byte character systems) is as follows: Syntax: imtnnNamexx…xdata… Where: m - The designator of the module where the font is to be saved; see Appendix K. t - Type of scalable font being downloaded: T = TrueType nn - Two-digit font reference ID. Valid range is 03-99, 9A-9Z, 9a-9z (base 62 numbers).
System-Level Command Functions STX k Test Communication Port This command instructs the printer to transmit the Y character from the printer’s port that received this command. (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, where the printer expects to receive only 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), and is the default 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 P Set Hex Dump Mode This command instructs the printer to assume Hex Dump Mode. Instead of a formatted product, data sent following this command will be printed in its raw ASCII format. To capture all data, labels should be at least four inches (102 mm) long and as wide as the maximum print width. This command has the same effect as turning “On” the printer while depressing the FEED Key (return normal operation by manual reset).
System-Level Command Functions STX q Clear Module This command clears the selected Flash or DRAM module. During normal operations if a module becomes corrupted (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. Will not affect Module Y or the ILPC Font module.
System-Level Command Functions STX S Set Feed Speed This command controls the output rate of the media when the FEED Key is pressed. Syntax: Sn Where: n STX T - Is a letter value (see Appendix L). 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.
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 above 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 STX v Request Firmware Version This command causes the printer to send its version string (same as printed on the configuration label). The version may be different from printer to printer. Syntax: v Printer Response: VER: 9.02_0004 01/01/2008 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 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 Response format: Module A: xxxxK results Where: A - Module tested. xxxx - Module size in Kbytes. results - Test results given as “Good” or “Bad”.
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 the 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. The printer must have Feedback Characters enabled for this command to function.
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: MODE: CONFIGURATION DISABLED TUE 09:09 AM 10FEB2009 PRINTER KEY: BACKUP DELAY (1/50s): 0 4212-HE25-060224-090 FONT EMULATION: STANDARD FONTS APPLICATION VERSION: 83-2541-11H3 11.
Extended System-Level Command Functions 5 Extended System-Level Command Functions Introduction Issued in the same context as System-Level Commands, the Extended System-Level Commands expand certain System-Level Commands to provide an extra degree of printer control. STX K}E Empty Sensor Calibration This command causes the printer to determine and save the calibration value for an empty media sensor condition.
Extended System-Level Command Functions STX K}M Manual Media Calibration This command causes the printer to save the sampled calibration values as an operator places different portions of label stock within the media sensor. Depending upon the printer model, different front panel LED flash sequences and printer responses (below) will indicate calibration progress and outcome; see the corresponding printer operator manual for LED flash sequences details.
Extended System-Level Command Functions STX KaR Read Data from RFID Tag (Direct Mode – Generic Read/Write Interface) This command instructs the RFID device to read data from the tag and then place that data into a replaceable field. It is expected that the tag transponder will be within the read / write distance of the RFID programming device; otherwise, “Void” will be printed in the text or bar code label field. Syntax: KaRAaaabbbcdee Where: A - Optional – for data in the ASCII format.
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 character positions. Each line is terminated by a CR (0x0d) & LF (0x0a).
Extended System-Level Command Functions [LF ] Unicode[CR ] [LF ] FORMAT ATTRIBUTES:[CR ] [LF ] XOR[CR ] [LF ] SCL FONT BOLD FACTOR:[CR ] [LF ] 8[CR ] [LF ] LABEL ROTATION:[CR ] [LF ] Enabled[CR ] [LF ] IMAGING MODE:[CR ] [LF ] Multiple Label[CR ] [LF ] PAUSE MODE:[CR ] [LF ] Disabled[CR ] [LF ] PEEL MODE:[CR ] [LF ] Disabled[CR ] [LF ] UNITS OF MEASURE:[CR ] [LF ] Imperial[CR ] [LF ] INPUT MODE:[CR ] [LF ] Auto[CR ] [LF ] DPI EMULATION:[CR ] [LF ] Disabled[CR ] [LF ] COLUMN EMULATION:[CR ] [LF ] 0 Dots[CR
Extended System-Level Command Functions [LF ] [CR ] [LF ] Printer Model:[CR ] [LF ] [CR ] [LF ] WLS FW Upgrade[CR ] [LF ] Update Type:[CR ] [LF ] [CR ] [LF ] CFG File:[CR ] [LF ] /DO/config.cfg[CR ] [LF ] TFTP Srv IP:[CR ] [LF ] 0.0.0.
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, and have no impact when no differences exist.
Extended System-Level Command Functions Configuration Set Commands Parameter Pneumonic Value / Range Units / Interpretation Command Equivalent Alignment Length AL 0 – 999 1/100 inch N/A Avalanche AV Backup After Print BA Y, N Y = Enabled, N = Disabled N/A Backup Delay BD 0 – 255 1/50 second N/A Backup Label BL 0, 3, 4 0 = Disabled, 3 = Active Low, 4 = Active High N/A BS or bS alpha character Model specific ranges; see Appendix L.
Extended System-Level Command Functions Kc Parameter Name Parameter Pneumonic Value / Range Units / Interpretation Command Equivalent Column Adjust Fine Tune CF + / – dots Resolution specific; see Appendix K. N/A Column Offset CO 0 – 9999 1/100 in.
Extended System-Level Command Functions Kc Parameter Name Control Codes Parameter Pneumonic Value / Range Units / Interpretation CC S, 1, 2 S = Standard, 1 = Alternate, 2 = Alternate-2 CE Darkness N/A A or Y = Auto, E = Enabled, N or D = Disabled A/Y, E, N/D Cutter Equipped Command Equivalent V A, E/Y, N A = Auto, E or Y = Enabled, N = Disabled DK 1 – 64 N/A N/A Default Module DM D, G A, B Module Letter X Delay Rate (Test Labels) DR 0 – 120 Seconds N/A Disable S
Extended System-Level Command Functions Parameter Pneumonic Value / Range Units / Interpretation Command Equivalent Empty Sensor Level EV 0 – 255 N/A N/A End Character EN D N/A N/A End Of Print EP 1, 2, 3, 4 1 = Low Pulse, 2 = High Pulse, 3 = Active Low, 4 = Active High N/A ESC Sequences ES Y, N Y = Enabled, N = Disabled N/A Fault Handling FH L, D, R, B See Command N/A SS or sS Alpha character Model specific ranges; see Appendix L.
Extended System-Level Command Functions Parameter Pneumonic Value / Range Units / Interpretation Command Equivalent Font Emulation FE 0, 1, 2 0 = No Substitution 1 = Sub CG Times SA0 2 = Sub User S50 N/A Format Attributes FA X, O, T X = XOR, O = Opaque, T = Transparent An Gain Reflective Value GR 0 – 31 N/A N/A Gap / Mark Value GM 0 – 255 N/A N/A N/A Kc Parameter Name GPIO Equipped GE A, V, N, 2 A = Applicator, V = Verifier, N = Disabled, A = Applicator2 GPIO Error Pause
Extended System-Level Command Functions Parameter Pneumonic Value / Range Units / Interpretation Command Equivalent Head Cleaning HC 0 – 9999 Inches (or centimeters) multiplied by 1000 N/A Heat HE 0 – 30 N/A Hnn Host Timeout HT 1 – 60 Seconds N/A Y, N Y = Enabled, N = Disabled Kc Parameter Name N/A Ignore Control Codes IC Ignore Distances IE 1, 0 1 = Enabled, 0 = Disabled N/A Imaging Mode IL M, S M = Multiple label, S = Single label N/A 1 = Enabled, 0 = Disabled 1,
Extended System-Level Command Functions Parameter Pneumonic Value / Range Units / Interpretation 0 = DPL, 1 = Line, 3 = PL-Z, 5 = PL-I, 7 = PL-B, 8 = PL-E, 9 = Auto, 10 = CPCL, 11 = EasyPrint Command Equivalent Input Mode EM 0, 1, 3, 7, 9 Internal Module IM 100 – up to max.
Extended System-Level Command Functions Kc Parameter Name Parameter Pneumonic Value / Range N, A, P, L Units / Interpretation Command Equivalent N = None, A = Allegro, P = Prodigy, L = Prodigy Plus, M = Prodigy Max X = XL N/A Legacy Emulation LE Mark Value MV 0 – 255 N/A N/A Maximum Length Ignore SM 0, 1 0= Normal processing, 1 = Ignore N/A Maximum Length ML 0 – 9999 1/100 inch M Media Type MT D, T D = Direct, T = Thermal Transfer N/A Menu Mode MM U, A U = User, A
Extended System-Level Command Functions Parameter Pneumonic Value / Range Units / Interpretation Command Equivalent Option Feedback OF D, Rx, S See Command N/A Paper Empty PO 0 – 9999 1/100 inch N/A Paper Value PV 0 – 255 N/A N/A Parallel Direction PP xz See Command N/A Password Set PW A – Z, 0–9 Four characters (or, if security is enabled then eight characters).
Extended System-Level Command Functions Parameter Pneumonic Value / Range Units / Interpretation Command Equivalent Present Distance PD 0 – 400 1/100 inch Kf Present Sensor Equipped PS A/Y, E, N/D A or Y = Auto, E = Enabled, N or D = Disabled V Print Contrast PC 0 – 64 N/A N/A Printer Level PL 000000 – FFFFFF Hex Codes N/A Print Speed pS Alpha character Model specific ranges; see Appendix L.
Extended System-Level Command Functions Parameter Pneumonic Value / Range Units / Interpretation Command Equivalent Rewinder Equipped RM A/Y, E, N/D A or Y = Auto, E = Enabled, N or D = Disabled N/A RFID Configuration RI A, B, D, E, L, M, N, P, R, S, T, U, V, W See Command N/A Ribbon Low Diameter RL 100 – 200 1/100 in.
Extended System-Level Command Functions Parameter Pneumonic Value / Range Units / Interpretation Command Equivalent Save As Filename SF Alphanumeric string Up to 16 characters N/A Scalable Font Bolding FB 1 – 36 N/A N/A Scalable Font Cache SC 100 – 8192 Kbytes N/A Scanner Configuration SN C, H, M, D, B, V See Command N/A Security Lock Sl N, Y, T See Command N/A Sensor Gain Value SG 0 – 32 N/A N/A Sensor Type ST G, C, R G = Gap (edge), C = Continuous, R = Reflective
Extended System-Level Command Functions Parameter Pneumonic Value / Range Units / Interpretation Command Equivalent Serial Port SP xyz See Command N/A Single Byte Symbol Set AS 2-Byte alpha character AA – ZZ, printer resident symbol set y, ySxx Slew Speed FS Alpha character Model specific ranges; see Appendix L.
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 Item Number Name Available to User (Y/N) Y Value Type Description String The DNS name of the Avalanche Agent. Ex: “AvaAgentName.DO.local”. During the wireless update process, Agent DNS Name will be used to resolve to Agent IP address. If Printer fails to obtain the Agent IP address from the Agent DNS Name, the Agent IP Address (item number 2) will be used as target address for printer to connect to Avalanche Agent.
Extended System-Level Command Functions (BA) Backup After Print – This command determines the timing of the label back up positioning when the present distance is set and the GPIO option or Present Sensor option (including Peel and Present) is enabled. When enabled, the printer immediately backs up the label after the applicator-issued start of print signal is received or the label is removed, resulting in faster throughput.
Extended System-Level Command Functions (BT) Bluetooth Parameters – This command configures the Bluetooth Communication parameters. Syntax: KcBT[nnn1,vvvv1:nnn2,vvvv2:…,nnnn,vvvvn:]; Where: nnni,vvvvi: nnni , vvvvi : Configuration Item – Value pairs Decimal Item Numbers from 1 to 9999 Decimal Item Number Delimiter Item Value (syntax defined later) Item Value Delimitermimitd Example – Discoverable on, service name is “smartchoice”, Bluetooth name is “bestprinter”.
Extended System-Level Command Functions Item Number Name Available to User (Y/N) Y Value Type Description String String up to 16 characters. Valid characters are alpha/numeric. Default – not used. 0=no 1=yes 0 to 65535. Default is 60 (Read and Write) 0 to 65535.
Extended System-Level Command Functions (CH) Communicated Heat Commands – This command causes the printer to ignore DPL Heat commands. Ignore by setting value to N. Process by setting value to Y (default). When set to ignore Heat commands values are 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.
Extended System-Level Command Functions (CU) Configuration Upgrade Package Parameters – This command allows an upgrade package to be created. Syntax: KcCU[nnn1,vvvv1:nnn2,vvvv2:…,nnnn,vvvvn:]; Where: nnni,vvvvi: nnni , vvvvi : Configuration Item – Value pairs Decimal Item Numbers from 1 to 9999 Decimal Item Number Delimiter Item Value (syntax defined later) Item Value Delimitermimitd Example – Discoverable on, service name is “smartchoice”, Bluetooth name is “bestprinter”.
Extended System-Level Command Functions (DM) Default Module – See X for command details. (DR) Delay Rate – This command sets the number of minutes to delay between multiple batch printings of Quick Test Labels. This command is provided as a diagnostic tool. (DS) Double Byte Symbol Set – See y or ySxx for command details.
Extended System-Level Command Functions Value Interpretation 8 PL-E Input Mode Interpretation Character strings are automatically parsed and processed according to the identified language. 9 Auto 10 CPCL 11 O’Neil EZ Print A clean file is required, where extra leading characters may cause the language to be unrecognizable; otherwise, the appropriate Input Mode must be selected. (EN) End Character – This command terminates a Kc string.
Extended System-Level Command Functions (EQ) Start of Print – This command defines the type of signal input required to control the Start of Print (SOP) process: Value Units Start of Print Interpretation 3 Active Low SOP signal must go low for at least 50 milliseconds to initiate printing. 4 Active High SOP signal must go high for at least 50 milliseconds to initiate printing.
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 0 = No Reprint 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 Value Units / Interpretation Selection / Definition Increases throughput when bar codes reside near the trailing edge of the label (in the direction of FEED). 3 = Delayed Scan Fault • If unreadable, the fault will occur after the next label prints. • The label immediately following a faulted label is not scanned for errors. L • VOID AND RETRY and REPRINT are automatically disabled; the job can only be cancelled. 4 = Void Retry & Cont.
Extended System-Level Command Functions (GE) GPIO Equipped – This command is used to interface the printer to external controlling devices (see Appendix J): Value Units / Interpretation A Applicator N Disabled V Verifier 2 Applicator2 GPIO Enable Definition Enables the standard applicator mode, de-asserting DRDY as soon as last label starts printing, allowing FEED any time, and not de-asserting DRDY when PAUSED. Disables the GPIO Port. Enables the GPIO Port for a bar code verifier.
Extended System-Level Command Functions (HC) Head Cleaning – This command controls the print head cleaning routine. The entered value specifies the inch (or centimeter) count to reach before prompting a print head cleaning. If the number specified is exceeded three times, the printer will fault until cleaning is initiated. The number specified is multiplied by one thousand, and zero disables this function. (HE) Heat – See Hnn for command details.
Extended System-Level Command Functions (IL) Imaging Mode – This command instructs the printer whether to pre-image the label format: Value M S Units / Interpretation Imaging Mode Definition Multiple Label The printer images multiple labels as memory permits, achieving the fastest throughput; however, if time-stamping, the time will reflect the moment the label is imaged rather than when actually printed.
Extended System-Level Command Functions (LW) Label Width – This command sets the maximum limit for the printable width. Objects extending beyond this limit will NOT print; see Appendix K. (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 Where xx = Size: 1 – 7 Mbytes.
Extended System-Level Command Functions (NE) Network Configuration – The enhanced configuration two character identifier for the New Network Configuration Parameters will be ‘NE’ for Network Ethernet. No Item-Value pairs will be defined for ‘NE’ but there will be the following Sub-Groups: General Network Configuration Parameters – Identifier ‘G’ 802.3 Wired Ethernet Configuration Parameters – Identifier ‘EW’ 802.
Extended System-Level Command Functions 802.3 – Wired Ethernet Configuration Parameters – Identifier ‘EW’ The ‘WE’ sub-group contains network configuration parameters that apply only to the Wired Ethernet (802.3 Specification) ethernet interface. No sub-groups are currently defined for the ‘WE’ sub-group of configuration parameters, only itemvalue pairs.
Extended System-Level Command Functions 802.11 – Wireless Ethernet - WIFI Configuration Parameters – Identifier ‘WIFI’ The ‘WIFI’ sub-group contains network configuration parameters that apply only to the Wireless Ethernet (802.11 Specification) ethernet interface.
Extended System-Level Command Functions DNS Settings # Ezprint 1 CTC:SDNS:Y|N Name Enable Static DNS 2 CTC:DNS1:***.***.***.*** Preferred DNS Server 3 CTC:DNS2:***.***.***.*** Secondary DNS Server 4 CTC:DSUF: DNS Suffix Network Settings # Ezprint 20 CTC:I2: Name Inactive Timeout Value Type String – 1 char long IP4 string format IP4 string format String Value Type Unsigned short Unsigned char 21 CTC:D:N|B|Y IP address method 22 CTC:I:xxx.xxx.xxx.
Extended System-Level Command Functions Network Settings # Ezprint 24 CTC:G:xxx.xxx.xxx.
Extended System-Level Command Functions WIFI Settings # Ezprint 40 CTC:T:H|P Name Network Type Value Type Unsigned char String Enumeratio n type or unsigned short 41 42 CTC:E: CTC:NA: ESSID Network Authentication Type 43 CTC:ET: EAP Type Unsigned char 44 CTC:P2M: Phase 2 Method Unsigned char 45 CTC:LU: User Name String 46 CTC:LH: User Password String 47 CTC:LU2: Pass Phrase String 48 CTC:W:1|2 WEP data encryption 49 CTC:S:0|5|13
Extended System-Level Command Functions WIFI Settings # Ezprint 51 CTC:K1: WEP Key1 Name Value Type String 52 CTC:K2: WEP Key2 String 53 CTC:K3: WEP Key3 String 54 CTC:K4: WEP Key4 String 55 CTC:Q:Y|N Show Signal Strength 56 CTC:P2:Y|N Power Saving Mode 57 CTC:GC: Group Cipher Unsigned char Unsigned char Unsigned short String 58 MAC Address 59 Regulatory Domain 60 Radio Physical Mode 61 LPD Enable Unsigned short Unsigned char Boo
Extended System-Level Command Functions (NR) No Reprint – This command controls the label reprint function following the correction of a fault condition. Upon detection of a fault (ribbon out, paper out, etc.), printing stops and a fault indicator is illuminated. After the problem is corrected, the FEED Key must be pressed to clear the fault and resume normal operation. When enabled, the label in process is not reprinted.
Extended System-Level Command Functions Response format: [CR] Where: A - Device type: R = RFID S = Scanner B - Resulting status: C = entire label complete F = faulted (failed) label U = unknown C - The number of expected reads for bar codes or tags, given in two characters. D - The number of good reads for bar codes or tags, given in two characters. E - The printer’s internal Job Identifier and Sub Job Identifier, given in four characters each.
Extended System-Level Command Functions (PC) Print Contrast – This command adjusts the relative print edge (gray) component of the print quality, which allows fine-tuning for specific media/ribbon mix. (PD) Present Distance – This command sets the label stop position past the start of print. When the next label format is received, the printer will automatically backfeed to the start position. If the present distance is set to zero, the printer will operate without reversing. (See Stop Location, below).
Extended System-Level Command Functions (PO) Paper Empty – This command sets the length of travel before an out of stock condition is declared. (PP) Parallel Direction – This command controls the parallel port communications settings: Value Parallel Direction Units / Interpretation x = Port ID xz z = Direction: U (unidirectional – one-way communication); or, B (bidirectional – IEEE 1284 back-channel operation).
Extended System-Level Command Functions (PV) Paper Value – This command sets threshold value for the media sensor’s “paper” parameter. (PW) Password Set – This command modifies the numeric password required to access the menu when security is enabled. If security is enabled, enter the new password followed by the old password (with no spaces) in this form: XXXXXXXX To be activated, the default password (0000) must be changed.
Extended System-Level Command Functions (RI) RFID Configuration – This command configures the optional RFID interface module, as follows: Value Units / Interpretation AIhh where hh: 2-Chararacter Hex ID ALn and where n: E = Enable, D = Disable RFID Configuration Definition / Function Sets the Application Family Identifier (AFI), HF only. Allows locking the AFI after writing (HF only). Disables padding or truncating of data (EPC only). D = Disable Bn where n: Nulls are represented as “00”.
Extended System-Level Command Functions Value Units / Interpretation RFID Configuration Definition / Function Nn where n: 64 = 64-bit 96 = 96-bit Pxxx where xxx: 3-Digit Value Rn where n: 0–9 Shh where hh: 2-Chararacter Hex ID Sets the Electronic Article Surveillance (EAS) set, representing the manufacturer’s code (HF only). where n: 0 1 2 3 4 = = = = = ISO 15693, Texas Instruments, Philips, ST Micro LRI 512, ST Micro LRI 64 Establishes the tag type (HF only).
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). (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) Security Lock – This command provides the ability to password-protect the User Interface, as follows: Value Security Function Nxxxx Where xxxx is the current password, this disables Menu protection. Yxxxx Where xxxx is a new password, this enables Menu protection and sets a new password. Txxxx Where xxxx is a new password, this enables Menu protection, disables Test functions, and sets a new password.
Extended System-Level Command Functions (SM) Maximum (Label) Length Ignore – This command controls recognition of the M command.
Extended System-Level Command Functions Values Scanner Configuration Range / Interpretation Redundancy Level – An alternative data integrity method, where the selected level sets the number of consecutive, identical decodes required to pass the bar code.
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: A - Serial A y = Function: P - Handshaking Protocol B - Serial B z = Setting B - both H - hardware N - none S – software p - Parity E - even N - none O – odd D - Data Length 7 - eight bits 8 - seven bits S - Stop Bits 1 - one bit 2 - two bits xyzz Where: x = Port Identifier: A - Serial A y = Fu
Extended System-Level Command Functions (SS or sS) Feed Speed – This command controls the rate of label movement between printing areas; see Appendix L. (ST) Sensor Type – G for edge / gap, R for (reflective / black mark) or C for continuous. (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 (UD) User Label Mode – This command places the printer in standalone operation, which provides menu-driven processes to print user defined files, including .dlb, .dpl, .prn, .txt formats. (UM) Units of Measure – See m (metric) or n (imperial) for command details. (UN) Plug and Play ID Type – This command controls the type of Plug and Play ID supplied; where Y is for unique and N for static.
Extended System-Level Command Functions STX KD Database Configuration 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 This command selects the specified file name as the “factory default” configuration. After execution, subsequent “Select Factory Default” commands will configure the printer to this file’s configuration using one of the following methods: • KF command; • Power-up the printer while pressing the PAUSE and CANCEL Keys; or, • Via the menu SYSTEM SETTINGS / SET FACTORY DEFAULTS entry.
Extended System-Level Command Functions The sample above disables, and then enables character encoding with the backslash (\) as the delimiter. A UPS MaxiCode will be formatted using a data string interpreted as follows: [)>RS01GS... E OT 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 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).
Extended System-Level Command Functions STX KH Dot Check This command specifies dot check operations for the printhead elements. Syntax: KHx Where: x - Specifies the operation, where: P = Performs dot check; A = Returns the most recent dot check and dot resistance results; and, B = Returns the most recent dot check failed dot results. Sample: KHP The sample above performs dot check with DOTCHECK and a progress bar displayed.
Extended System-Level Command Functions Sample: KHB The sample above returns results from the last dot check for the number of elements tested, the number of the bad or suspect dot(s), the total number of bad or suspect dots, and the minimum, maximum, and average resistance and variance: DOTCHECK RESULTS DOTS TESTED GOOD 830 OF 832 BAD DOT LIST 143 144 TOTAL BAD DOTS: MIN 921 MAX 1640 2 AVG VAR 1125 719 The process normally adds a few seconds to the power-up sequence; however, if the print
Extended System-Level Command Functions STX KI GPIO Input Future - This command configures the GPIO input channels of the Applicator Interface Card; see Appendix J for details. Syntax: KIffnspwww Where: ff - 2 character function name abbreviation (e.g., PS [Print Start], I1 [User Input 1], etc). n - Pin number, where 1 – 8 is the valid range.
Extended System-Level Command Functions STX KO GPIO Output Future - This command configures the GPIO outputs of the Applicator Interface Card; see Appendix J for details. Syntax: KOffnsptd0pw0td1pw1 Where: ff - 2 character function name abbreviation (e.g., LC [Label Complete], LM [Label Movement], etc). n - Pin number, where 1 – 8 is the valid range.
Extended System-Level Command Functions STX Kp Module Protection This command controls memory module protection. When “protected”, a module will ignore format, downloads and delete commands. This command can be useful to add data to reserved modules (see Appendix K for a listing of the memory modules). There are two module types: RAM (volatile) and Flash (non-volatile). • RAM - When protected and if power is cycled or if the printer is reset, the module state resets to unprotected.
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 KtA Kr Write Application Family Identifier (AFI) to Tag (Direct Mode – HF [13.56 MHz] ISO15693 Tag Interface) This command writes the AFI data to the tag. Syntax: KtAabcc Where: a - The number of retry attempts, 0-9.
Extended System-Level Command Functions STX KtE Write Electronic Article Surveillance (EAS) Bit (Direct Mode – HF [13.56 MHz] ISO15693 Tag Interface) This command writes the EAS bit for Philips ISO tags. Syntax: KtEabcc Where: a - The number of retry attempts, 0-9. b - Electronic Article Surveillance (EAS) option: 0 = Set EAS 1 = Reset EAS 2 = Test EAS cc - Two character Manufacturer’s Code, representing one byte.
Extended System-Level Command Functions STX KtR Read Data from RFID Tag (Direct Mode – HF [13.56 MHz] ISO15693 Tag Interface) This command instructs the RFID device to read data from the tag and then put that data into a replaceable field. It is expected that the tag transponder will be within the read / write distance of the RFID programming device; otherwise, “Void” will be printed in the text or bar code label field(s).
Extended System-Level Command Functions STX KtU Read Unique Serial Number from RFID Tag (Direct Mode – HF [13.56 MHz] ISO15693 Tag Interface) This command instructs the RFID device to read the unique serial number data from the tag and then place that data into a replaceable field. It is expected that the tag transponder will be within the read / write distance of the RFID programming device; otherwise, “Void” will be printed in the text or bar code label field(s).
Extended System-Level Command Functions Where: Sample 1: Un1…n16 - (Optional) Where n1…n16 is the Unique Identifier (UID) in hexadecimal format, sixteen characters in length. Bncncnc - (Optional) Where ncncnc is the data byte count, to allow non-printable characters (i.e., characters with hex values less than 0x20) to be encoded. aaa - Starting block number (000 maximum block number). Transponder dependent. b - The number of retry attempts, 0-9.
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 The sample above 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).
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 Ky Download Plug-in File This command allows to download a plug-in file to the specified module from the host to the printer. The data that immediately follows the command string will be plug-in data. This command is internal to D-O only. Syntax: KymNamedata Where: m - Valid Module ID – Range A to Z Name - Up to 16 characters used as plug-in file name. data - Plug-in data Sample: KyXPlugin1data...
Extended System-Level Command Functions 110
Label Formatting Command Functions Label Formatting Command Functions 6 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 1 (XOR 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.
Label Formatting Command Functions B Bar Code Magnification This command provides a mechanism to specify bar codes greater than 36 dots (0 - 9, A - Z in the field record). The value is reset to 1 at the start of every label and stays active for the entire label or set to a new value. 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 initiated. 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 performed. 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 G Place Data in Global Register The “G” command saves the print data of a print format record in a global register (temporary storage). This data may be retrieved and copied to another record in the same label format using the special Label Formatting Command: S. Global registers are named in the order received, beginning with Register A, ending at Register Z, and incrementing with each instance of the G command use.
Label Formatting Command Functions J Justification This command changes the printing justification. Syntax: Ja Where: a Sample: L 1911A1801001000TEST1 JR 1911A1801000100TEST2 JC 1911A1802000200TEST3 E - Is a single-digit alpha character: L = left justified (default) R = right justified C = center justified The sample above prints “TEST1” one inch up and one inch over going right, “TEST2” one inch up and one inch over going left, and “TEST3” two inches up and over.
Label Formatting Command Functions m Set Metric Mode This command sets the printer to measure in metric. When this command is sent, all measurements will be interpreted as metric values, (e.g., a column offset of 0010 will be interpreted as 1.0 mm). Syntax: m Sample: L m 141100001000100SAMPLE LABEL E The sample above prints the text (SAMPLE LABEL) starting at location coordinates 10.0 mm, 10.0 mm. n Set Inch (Imperial) Mode This command sets the printer to measure in inches.
Label Formatting Command Functions p Set Backfeed Speed This command, typically used in conjunction with the Cut or Peel and Present operations, controls the rate at which the labels will reverse to align to the next start of print position. The setting remains in effect until another backfeed speed command is received or until the printer is reset. Syntax: pa Where: a Sample: L pF - Is a single alpha character representing a speed; see Appendix L for valid ranges.
Label Formatting Command Functions R Set Row Offset Amount This command allows vertical adjustment of the point where printing begins. The printer is instructed to print label formats nnnn units above the position that the format specifies. This feature is useful when a single format is to be printed on labels containing preprinted information.
Label Formatting Command Functions 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. (Use W to view a memory module’s directory.
Label Formatting Command Functions S Set Feed Speed This command controls the rate at which the label is moved through non-printed areas. The setting remains unchanged unless another feed speed command is received or until the printer is reset. Syntax: Sa Where: a Sample: L SE 141100001000100LABEL1 E L 1411000010001000LABEL2 E - Is a single alpha character representing a speed; see Appendix L for valid ranges.
Label Formatting Command Functions T Set Field Data Line Terminator This command, intended for use with record types that accept binary data (e.g., PDF417), allows binary control codes (e.g., a carriage return) to be embedded in the printed data by setting an alternate data line terminator. Valid only for the next format record, the terminator then defaults back to the carriage return.
Label Formatting Command Functions Sample 2: Assume printer date is set to January 31, 2013 L tM0001 121100001000100 Expiration Date:D GHI PQ, RSTU E Sample 2 prints: Expiration Date:FEB 28, 2013 Note: When advancing from a day at the end of the month with more days than the adjusted date, the printed date will not be greater than the maximum number of days of the adjusted month.
Label Formatting Command Functions X Terminate Label Formatting Mode This command causes the printer, when in label formatting mode, to immediately switch to the system command mode and generate a label format based on the data received at that point. However, unlike the “E” command, it will not print a label. (Other termination commands are the “E” and “s”.) Syntax: X Sample: L 141100001000100SAMPLE X The sample above will result in a label format, but no label will be printed.
Label Formatting Command Functions z Zero (Ø) Conversion to “0” This command removes the slash zero in fonts 0 to 8, and in the human readable field (if any) of the bar codes A to Z. The command applies only to format records containing those fonts and bar codes, and is effective only for the label format in which it appears. Syntax: z Sample: L z 121100000000000Test0000 E None of the smooth fonts (i.e.
Label Formatting Command Functions Embedding Numeric strings for incrementing may also be embedded between alphabetic characters (e.g., when systems require alphanumeric bar codes with alphabetic prefixes or suffixes). Sample: L 161100000100010AB0001CD + 100 Q0003 E The sample above will print three labels, incrementing 0001 by 1 on each label with AB and CD remaining untouched: AB0001CD, AB0002CD, AB0003CD.
Label Formatting Command Functions Embedding Numeric strings for decrementing may also be embedded between alphabetic characters (e.g., when systems require alphanumeric bar codes with alphabetic prefixes or suffixes). Sample: L 1611000001000101000CD - 100 Q0003 E The sample above will print three labels: 1000CD, 999CD, and 998CD. Note that the pad character is a placeholder for digits removed from the left side in the subtraction process.
Label Formatting Command Functions Special Label Formatting Command Functions Two Special Label Formatting Commands, the S and the T, are entered directly into the data field of label format records. (Do not confuse them with System-Level Commands because the same control character is used.) If alternate control codes are enabled the becomes “~” (hexadecimal 0x7E); see Control Code Command Functions.
Label Formatting Command Functions Sample 2: Assume printer date is set to January 01, 2013 L tD0005 121100001000100 Expiration Date:D GHI PQ, RSTU <<<< E Prints: Expiration Date:JAN 06, 2013 <<<< 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.
Label Formatting Command Functions String Characters A Week Day (Mon = 1, Sun = 7) String Markers VW 24-hour time format BCD Day Name XY 12-hour time format EF Month Number Za Minutes GH...O Month Name gh Seconds PQ Day bc AM or PM RSTU Year def Julian Date Print Values Print Values When using substitution, you must ensure the converted string produces valid characters for the selected bar code / font.
Label Formatting Command Functions 132
Font Loading Command Functions 7 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 file type .dbm.
Font Loading Command Functions )s###W Font Descriptor This command (typically first data in a font file) contains all of the information about the font contained in the file. Different font generation software will create different length header information, but the initial 64 bytes will remain consistent with the PCL-4 (HP LaserJet II) format. Syntax: )s###Wddd…d Where: ### - Is the number of bytes of font descriptor data from 1 to 3 ASCII decimal digits. dd…d - Is the descriptor.
Generating Label Formats 8 Generating Label Formats Introduction This section explains the use of the different fields in a print format record. Format Record Commands Received label format data (see example below) is processed by the printer sequentially, left to right and top to bottom.
Generating Label Formats The first line in the sample format 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 (3-13) are print format records, explained in this section. A record is a data string that contains the information to be printed on the label(s).
Generating Label Formats The record (with spaces added for readability) conforms to the following fixed field format.
Generating Label Formats The Header Fields Each of the fields in the record header is generally described below. Please reference the detailed descriptions under Record Structure Types for variations. The field name titles of the following paragraphs are preceded with a reference letter. All characters sent to the printer within the header fields are ASCII, alphanumeric.
Generating Label Formats c: Width Multiplier Values 1-9, A-Z, and a-z represent multiplication factors from 1 – 61, respectively. For human-readable fonts, the width multiplier represents the number of times the selected font dot tables are multiplied and has no effect on the character height. For bar codes, this character specifies the wide bar width or ratio at a resolution that is dependent upon the printer model. See Appendix F for default values.
Generating Label Formats gggg: Column Position This field is a horizontal coordinate that determines how far to the right of “home position” the data will be printed. Appendix G lists the maximum values of the gggg field. hhhh: Optional Scalable Font Height The height of a scalable font can be specified in two ways: points or dots. To specify the height in points the first character of the field is a “P” followed by the number of points, 004 to 999.
Generating Label Formats 1: Internal Bitmapped Fonts This record type is used for internal bitmapped fonts (see Appendix C, Tables C-1 through C-5). When a 0 through 8 is entered in field b, then the height field eee is not used. The bitmapped fonts include 8 different fonts (see Appendix C). The character mapping for these fonts is shown in Appendix A, or a subset thereof. Field Valid Inputs Meaning a 1, 2, 3 and 4 Rotation b 0 to 8 (see Appendix C).
Generating Label Formats Field eee Valid Inputs 000 to 999 (000 to 099 Reserved), A04 to A72, x04 – x72, Where x is an upper case letter; see Appendix H. ffff 0000 to 9999 gggg 0000 to 9999 Dependent upon printer. See Appendix K. jj…j Valid ASCII character string up to 255 characters followed by a termination character. Meaning Font / Size Row Column Data 3: Scalable Fonts The Smooth Scalable Font Technology is licensed from AGFA. Both Microtype and TrueType (.
Generating Label Formats Character size (dots) Print head Resolution (DPI) Width Height 203 16-2817 16-2817 300 14-4163 16-4163 400 22-5550 22-5550 600 33-8325 33-8325 A scalable font cache must be allocated to print. Minimum cache size is 15. The double byte fonts require five units of additional cache. 4: Bar Codes Valid inputs for the bar code field b are letters: uppercase letters will print a humanreadable text below the bar code; lowercase letters will only print the bar code.
Generating Label Formats Field eee Valid Inputs 001 to 999 Symbol Height ffff 0000 to 9999 gggg See Appendix K. jj…j Valid ASCII character string up to 255 characters followed by a termination character. Meaning Row Column Data Placing 0 (zero) in both c and d will result in the default bar code ratio or module size. Placing 000 (zero) in the symbol height field will result in the default bar code height; see Appendix F for defaults.
Generating Label Formats Lines and Boxes Lines and boxes are drawn by values that determine column and row starting position, length, width, and wall thickness of the line or box (see Appendix K). Depending on the printer’s mode, all measurements are interpreted as inches/100 or millimeters/10 (see m). The data field jj…j is used to describe the line or box dimensions.
Generating Label Formats Polygons Polygons are created by defining the positions of the corners, specifying a number of data points that represent the vertices of the object, which can range from a simple line (two points), or a triangle (three points), to any free-form outline. Polygons may be filled with a variety of different patterns. All row/column specifiers are interpreted as inches/100 or millimeters/10 depending on the printer mode, (see m).
Generating Label Formats 1 Rotation (must be 1) cccc Column of the center point X Graphic field C Circle ID (Fixed Value) 1 Multiplier (must be 1) ppp Fixed Value (001) 1 Multiplier (must be 1) bbbb Fixed Value (0001) fff Fill pattern number rrrr Radius of the circle rrrr Row of the center point Termination character Fill Patterns Pattern Number Description 0 No Pattern 1 Solid Black 2 6% Black 3 12% Black 4 25% Black 5 38% Black 6 50% Black 7 Diamonds 8 Circ
Generating Label Formats Examples (with spaces added for readability): 1: Triangle The record: 1 X 11 000 0010 0010 P 001 0001 0040 0025 0010 0040 Produces a triangle with no fill pattern: (row 0040, column 0025) (row 0010, column 0010) (row 0010, column 0040) 2: Rectangle with Fill The record: 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: Circle The record: 1 X 11 000 01
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 1911S0102600040P018P018Old 1911S0102000040P018P018Old 1911S0101400040P018P018Old 1911S0100800040P018P018Old 1911S0100200040P018P018Old E DPL DPL DPL DPL DPL World World World World World If the DPL format is modified as follows, the resulting label is printed: 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 DP
Generating Label Formats L D11 A2 FA+ 1911S0105000020P018P018DPL allows \FONT\ sizes \in the string 1911S0103500100P018P018\D\P\L\ \l\e\t\s\ \y\o\u\ \w\r\i\t\e\ \i\n\ \c\i\r\c\l\e\s\ \t\o\o\! 1911S0102400040P018P018\DPL allows \Rotations\ in the string 191
Generating Label Formats 152
Appendix A – ASCII Control Chart 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 Dec Hex Char Dec Hex Char Dec Hex Char Dec Hex 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 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Appendix A – ASCII Control Chart Char Dec Hex Char Dec Hex Ç ü é â ä à å ç ê ë è ï î ì Ä Å É æ Æ ô ö ò û ù ÿ Ö Ü ø £ Ø x ƒ 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 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 á í ó ú ñ Ñ ª ° ¿ ® 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 A0 A1
Appendix B – Sample Programs Appendix B Sample Programs “C” Language Program The following sample “C” program is included for reference. The graphic below 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 on the previous page. ^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 StartUpPosition = 3 ‘Windows Default Begin VB.ComboBox cmboFonts Height = 315 Left = 90 TabIndex = 2 Text = “Font List” Top = 45 Width = 2130 End Begin VB.CommandButton cmdExit Caption = “Quit” Height = 465 Left = 1350 TabIndex = 1 Top = 495 Width = 825 End Begin VB.
Appendix B – Sample Programs cmboFonts.AddItem Printer.Fonts(I) ‘ Put each font into list box. Next I Exit For End If Next End Sub ‘Exit the program and shut down the serial port ‘by clicking Exit button with the mouse Private Sub cmdExit_Click() End End Sub When the program is run, the combo box should be populated with the available fonts as shown below. VB Application to Send Raw Data via Printer Driver This is a sample Visual Basic program that checks for any printer driver attached to “LPT1”.
Appendix B – Sample Programs Top = 765 _ExtentX = 847 _ExtentY = 847 _Version = 393216 End Begin VB.CommandButton cmdClose Cancel = -1 ‘True Caption = “Close” Height = 372 Left = 2400 TabIndex = 3 Top = 735 Width = 972 End Begin VB.CommandButton cmdStoreImage Caption = “Print” Default = -1 ‘True Height = 372 Left = 240 TabIndex = 2 Top = 735 Width = 972 End Begin VB.TextBox txtFile Height = 288 Left = 120 TabIndex = 1 Top = 360 Width = 3492 End Begin VB.
Appendix B – Sample Programs Private Type DOC_INFO_1 pDocName As String pOutputFile As String pDatatype As String End Type #End If ‘WIN32 Types ‘********************************** ‘** Function Declarations: #If Win32 Then Private Declare Function OpenPrinter& Lib “winspool.drv” Alias “OpenPrinterA” (ByVal pPrinterName As String, phPrinter As Long, ByVal pDefault As Long) ‘ Third param changed to long Private Declare Function StartDocPrinter& Lib “winspool.
Appendix B – Sample Programs Exit Sub End If ‘ Open file. f1 = FreeFile Open loadfile For Binary As f1 ‘ Open printer for printing res& = OpenPrinter(SelPrinter, hPrinter, 0) If res = 0 Then MsgBox “Unable to open the printer” Exit Sub End If docinfo.pDocName = “MyDoc” docinfo.pOutputFile = vbNullString docinfo.
Appendix B – Sample Programs Private Sub open_Click() CommonDialog1.ShowOpen loadfile = CommonDialog1.FileName txtFile.Text = loadfile End Sub Private Sub Printer_Click() CommonDialog1.ShowPrinter End Sub This will create the form pictured below: It may be necessary to remove and reinsert the common dialog control due to Windows® registry issues.
Appendix B – Sample Programs 164
Appendix C – Available Fonts Appendix C Available Fonts – Sizes, References, and Samples All character bitmapped fonts available on the printers are described in this section. Each font has a name (Font ID) associated with it for use in programming. Use the Font Number in 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.
Appendix C – Available Fonts Font Font Font Font Font Font Font Font Font Font 0 1 2 3 4 5 6 7 8 Height Width Spacing Point Size 20 38 54 80 106 154 190 94 82 14 20 30 42 54 54 94 44 44 2 6 6 6 8 8 12 14 14 2.4 4.6 6.5 9.6 12.7 18.5 22.8 11.3 9.8 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 Bitmapped and Smooth Font Samples The identifying number is used in the Format Record header field b to cause the printer to use the corresponding font. The Euro currency character ( ) has been added to Fonts 0 – 6. The ASCII character DEL ( ) has been added to Fonts 0 – 3. 0: Identifies a 96-character alphanumeric font, uppercase and lowercase. 1: Identifies a 145-character uppercase and lowercase alphanumeric font that includes desenders and ascenders.
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.
Appendix D – Reset Codes 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.
Appendix D – Reset Codes 172
Appendix E – Symbol Sets 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 – Symbol Sets 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 (E1) ISO 8859/1 Latin 1 Symbol Set 4 5 6 7 8 9 A 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 – Symbol Sets 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 00 10 20 30 40 50 60 70 0 1 2 3 4 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 – Symbol Sets 1 2 3 4 (LG) Legal Symbol Set 5 6 7 8 9 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 0 1 2 3 4 0 @ P ` p Ä ê † ∞ ¿ – ‡ ! 1 A Q a q Å ë º ± ¡ — ` Ò “ 2 B R b r Ç í ¢ ≤ ¬ “ ‚ Ú # 3 C S c s É ì £ ≥ √ “ „ Û $ 4 D T d t Ñ î § ¥ f ‘ ‰ Ù 0 1 2 3 0 00 10 20 30 40 50 60 70 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 @ 0 @ P ` p Ç É á ░ └ ╨ a ≡ ! 1 A Q a q ü æ í ▒ ┴ ╤ ß ± ‘ 7 G W g w ( 8 H X h x ) 9 I Y i y (MC) Macintosh Symbol Set
Appendix E – Symbol Sets 0 C0 D0 E0 F0 !! ¶ § ▬ ↨ # 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 ç ù Õ ╖ ╟ ╫ Τ ≈ 3 4 0 @ P ` p Ç É á ░ └ ╨ a ≡ ! 1 A Q a q ü æ í ▒ ┴ ╤ ß ± “ 2 B R b r é Æ ó ▓ ┬ ╥ └ 0 1 2 0 @ P ` p Ç É á ░ └ ð Ó ╸ D ♀ E ♫ F .
Appendix E – Symbol Sets 0 1 00 10 (PM) PC-850 Multilingual Symbol Set (Default Symbol Set) 2 3 4 5 6 7 8 9 A B C ♂ ♀ ¶ § D E F / ? O _ o ⌂ Å ƒ » ‘ 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 ~ Ä 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 å û ª Á Â À © ╗ ╝ ¥ ┐ ┴ Ð ┬ Ê ├ Ë
Appendix E – Symbol Sets 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 00 10 20 30 40 50 60 70 00 10 20 30 40 50 60 70 (R8) Roman-8 Symbol Set 5 6 7 8 9 0 1 2 3 4 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 – Symbol Sets 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 00 10 20 30 40 50 60 70 00 10 20 30 40 50 60 70 0 1 2 3 4 (TS) PS Text Symbol Set 5 6 7 8 9 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 – Symbol Sets 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 0 @ P ` p ! 1 A Q a q “ 2 B R b r # 3 C S c s (VI) Ventura International Symbol Set 4 5 6 7 8 9 A $ 4 D T d t „ ‰ â Å Á Œ À “ ê î à œ  “ ô Ø ã ¶ È º û Æ Ê Ç á å † ‡ 0 1 2 3 4 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 “ º ¶ † C D E F + ; K [ k {
Appendix E – Symbol Sets 0 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 1 2 3 ! 1 A Q a q ° À Ð à ð ‘ ¡ ± Á Ñ á ñ “ 2 B R b r ‚ ‘ ¢ ² Â Ò â ò # 3 C S c s ƒ “ £ ³ Ã Ó ã ó 0 1 2 3 ! 1 A Q a q “ 2 B R b r ‚ ‘ ˘ ˛ Â # 3 C S c s 0 @ P ` p € 0 @ P ` p € ‘ º ˇ ± Á Ð “ Ł ł Ó á â ó (W1) Windows 3.
Appendix E – Symbol Sets 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 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 ° À Ð à ð ` ¡ ± Á Ñ á ñ ’ ¢ ² Â Ò â ò £ ³ Ã Ó ã ó ¤ ´ Ä Ô ä ô ¥ µ Å Õ å õ ¦ ¶ Æ Ö æ ö § · Ç × ç ÷ ¨ ¸ È Ø è ø ¹ É Ù é ù 0 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 (WO) Windows 3.
Appendix E – Symbol Sets 184
Appendix F – Bar Code Summary Data Appendix F Bar Code Summary Data Bar code fonts have alpha names (left column, below). Uppercase alpha names will print bar codes with human-readable interpretations, if supported. Lowercase alpha names will print bar codes only. Place the ID in field b of the Format Record header to cause the printer to encode the data field using the associated symbology; see Appendix G for details.
Appendix F – Bar Code Summary Data Bar Code ID Symbology J/j Interleaved 2 of 5 w/ a modulo 10 checksum K/k Plessey L/l Interleaved 2 of 5 w/ modulo 10 checksum & bearer bars Valid ASCII Characters, decimal value representation Linear Scanner Supported Length Checksum Varies M-10 48-57 Numeric only Up to 14 M-10 48-57 Numeric only.
Appendix F – Bar Code Summary Data Bar Code ID Symbology Valid ASCII Characters, decimal value representation Length Checksum Specified Yes All 8-bit values Linear Scanner Supported W1C DataMatrix w/ Byte Count W1d QR Code – Auto format Varies Yes Alphanumeric W1D QR Code – Manual format Varies Yes Single-byte or Kanji double-byte W1f Aztec Varies Yes All 8-bit values W1F Aztec w/ Byte Count Specified Yes All 8-bit values USD-8 (Code 11) Varies Yes 45, 48-57 W1I EAN 128
Appendix F – Bar Code Summary Data Bar Code ID [1] Valid ASCII Characters, decimal value representation Length Checksum Code 16K Varies Yes All ASCII characters W1z MicroPDF417 Varies Yes All 8-bit values W1Z MicroPDF417 w/ Byte Count Specified Yes All 8-bit values W1Y / W1y Symbology Linear Scanner Supported Readable when using “Barcode Count” method (see KcSN for details).
Appendix F – Bar Code Summary Data 203 DPI Resolutions 300 DPI Resolutions 400 DPI Resolutions 600 DPI Resolutions Font Height (inches) Ratio/ Module Size Height (inches) Ratio/ Module Size Height (inches) Ratio/ Module Size Height (inches) Ratio/ Module Size K .40 5:2 .40 9:4 .40 10:4 .40 15:6 L 1.30 5:2 1.30 9:4 1.30 10:4 1.30 15:6 M .90 3 .90 4 .90 6 .90 9 N .80 3 .80 4 .80 6 .80 9 O .40 6:3 .40 8:4 .40 12:6 .40 18:9 p .08 N/A .08 N/A .
Appendix F – Bar Code Summary Data 203 DPI Resolutions 300 DPI Resolutions 400 DPI Resolutions 600 DPI Resolutions Font Height (inches) Ratio/ Module Size Height (inches) Ratio/ Module Size Height (inches) Ratio/ Module Size Height (inches) Ratio/ Module Size W1p N/A N/A N/A N/A N/A N/A N/A N/A W1q .40 2 .40 4 .40 4 .40 6 W1R 1.40 2 1.40 4 1.40 4 1.40 6 W1S/W1s 0.40 6:2 0.40 9:4 0.40 12:4 0.40 18:6 W1t .40 6:2 .40 9:4 .40 12:4 .40 18:6 W1Y/ W1y .
Appendix G – Bar Code Details Appendix G Bar Code Details Unless otherwise noted all bar codes depicted in this section were produced using the ratio/module values of 00 and height fields of 000 to cause the printer to produce symbols using default bar widths and height fields. See Appendix F for the default values. 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 – Bar Code 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 – Bar Code Details This printer supports the Code 128 subsets A, B, and C. The printer can be selected to start on any code subset and switch to another within the data stream. The default code subset is B; otherwise, the first character (A, B, C) of the data field determines the subset. Subset switching is only performed in response to code switch command. These commands are placed in the data to be encoded at appropriate locations.
Appendix G – Bar Code Details Control Codes: By sending these control codes, control characters can be encoded into a Code 128 Subset A bar code (e.g.
Appendix G – Bar Code Details G: EAN-8 Valid Characters: 0-9 Length: 8 digits. If the user provides 7 digits, the printer will compute the checksum. If the user provides the checksum, the printer will check that it matches the expected checksum. If it does not match, the printer will print 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 – Bar Code Details The following example prints a Codabar bar code with a wide to narrow bar ratio of 3:1: L D11 1I63040001501000A1234567890D 121100000000100Barcode I E J: Barcode I Interleaved 2 of 5 (with a Modulo 10 Checksum) Valid Characters: 0-9 Variable Length. Valid bar widths: The expected ratio of wide to narrow bars can range from 2:1 to 3:1.
Appendix G – Bar Code Details L: Interleaved 2 of 5 (with a Modulo 10 Checksum and Bearer Bars) Valid Characters: 0-9 Variable Length: For the bearer bars to be printed, 13 characters are required. Valid bar widths: The expected ratio of wide to narrow bars can range from 2:1 to 3:1.
Appendix G – Bar Code Details The following example prints a 5 digit UPC bar code addendum: L D11 1N000000015010001234 121100000000100Barcode N E O: Code 93 Valid Characters: 0-9, A-Z, -.$/+% and the space character. Variable Length. Valid bar widths: The width multiplier is the width of the narrow bar in dots. All other bars are a ratio of the narrow bar (2 times, 3 times, and 4 times the narrow bar width).
Appendix G – Bar Code Details Q: UCC/EAN Code 128 Valid Characters: 0-9 Length: 19 digits. Valid bar widths: The fourth character of record is the width of the narrow bar in dots. All other bars are a ratio of the narrow bar (2 times, 3 times, and 4 times the narrow bar width). Human readable characters for this bar code symbology are printed above the symbol. The printer spreads a weighted module 103 check sum.
Appendix G – Bar Code Details S: UCC/EAN Code 128 Random Weight Valid Characters: 0-9 Length: At least 34 digits. Valid bar widths: The fourth character of record is the width of the narrow bar in dots. All other bars are a ratio of the narrow bar (2 times, 3 times, and 4 times the narrow bar width). This bar code is commonly used by the food and grocery industry.
Appendix G – Bar Code Details u: UPS MaxiCode, Modes 2 & 3 The printer supports MaxiCode as defined in the AIM Technical Specification. The following examples illustrate various label format record message syntaxes for encoding data as MaxiCode. In the following examples, special formatting is used to denote special ASCII characters as shown: Symbol R S G S E OT Hexadecimal Value 1E 1D 04 (Printer message syntax allows for EOT to be substituted with or the use of both EOT and .
Appendix G – Bar Code Details A UPS 3.0 zip + 4 with Message data format and message header: 1u0000001200120[)>RS01GS96841706672GS840GS001GS1Z12345675GSUPSNGS12345EGS089GSGS1/ 1GS10.1GSYGSGSGSUTRSEOT Where: [)>RS01GS96 841706672 840 001 G S1Z1... ...TRSEOT Message Header Maximum 9 alphanumeric ASCII, postal code Country Code Class Primary Message Secondary Message A UPS 3.
Appendix G – Bar Code Details U: UPS MaxiCode, Modes 2 & 3 with Byte Count Specifier Specified Length – The upper case U identifies a UPS MaxiCode bar code with a 4-digit string 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 4-digit column position field.
Appendix G – Bar Code Details L D11 1v0000000150100A 121100000000100Barcode v E z: PDF-417 Valid Characters: All ASCII characters. Variable Length – This two dimensional bar code holds large amounts of data in a small area, while providing a high level of redundancy and error checking, if specified.
Appendix G – Bar Code Details Z: PDF-417 with Byte Count Specifier Specified Length – The upper case Z identifies a PDF-417 bar code with a string 4-digit length specifier. This allows values 0x00 through 0xFF to be used within the data strings without conflicting with the DPL format record terminators. The four-digit decimal data byte count immediately follows the 4-digit column position field. This value includes all of the data following the byte count field, but does not include itself.
Appendix G – Bar Code Details Where: Field Valid Inputs a 1,2,3, and 4 Meaning W W b[b] c, 1c c 1 to 9, A to Z, and a to z Module size horizontal multiplier d 1 to 9, A to Z, and a to z Module size vertical multiplier eee 000 to 999 ffff 0000 to 9999 Label position, row gggg 0000 to 9999 Label position, column Rotation Fixed value, extended bar code set Selects the DataMatrix bar code - the two differing values have no other significance.
Appendix G – Bar Code Details ECC 200 symbols: There are 24 square symbol sizes available, with both row and column dimensions, which may be specified in fields jjj and kkk, measured in modules as indicated in the following list - 10, 12, 14, 16, 18, 20, 22, 24, 26, 32, 36, 40, 44, 48, 52, 64, 72, 80, 88, 96, 104, 120, 132, and 144. If an ECC 200 symbol is specified with odd numbers of rows or columns, the next largest even value will be used.
Appendix G – Bar Code Details W1C: DataMatrix with Byte Count Specifier Specified Length – The upper case C identifies a DataMatrix bar code with a string 4digit 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 – Bar Code Details Field Valid Inputs a 1,2,3 and 4 W1 W1 Meaning Rotation Fixed value, extended bar code set Selects the QR bar code formatting mode, where: D and d b D = Manual formatting. Allows the data string (hh…h) to be entered with a comma (,) as a field separator; fields are optional per QR Code specifications, and the first field indicates Model 1 or Model 2 QR Code (Model 2 is the default). d = Automatic formatting. Allows the data string (hh…h) to be data only.
Appendix G – Bar Code Details L D11 1W1d4400000100010This is the data portion 121100000000100Barcode W1D E [3] (2 termination characters required.) Manual Formatting (W1D) With bar code identifier “D”, minor changes allow flexibility for data entry. (Spaces have been added for readability.) [q,] [e [m] i,] cdata cdata cdata…cdata term [2] Where: Field Valid Inputs q 1, 2 e m I cdata term Meaning QR Code Model number, optional. Model 2 is the default.
Appendix G – Bar Code Details If HEX/ASCII mode is selected in manual Data Input Mode, only the data for Kanji or Binary data types will be converted, therefore the other data types and all command characters must be entered in ASCII format. If HEX/ASCII is selected in automatic Data Input Mode, all of the data must be entered in HEX/ASCII format.
Appendix G – Bar Code Details Model 1: 21 X 21 cells to 73 X 73 cells (Versions 1 to 14, increase in steps of 4 cells per side) Model 2: 21 X 21 cells to 177 X 177 cells (Versions 1 to 40, increase in steps of 4 cells per side) Data Characters per symbol (maximum for symbol size): Numeric Data Model 1; Version 14; ECC = L: 1,167 characters Model 2; Version 40; ECC = L: 7,089 characters Alphanumeric Data Model 1; Version 14; ECC = L: 707 characters Model 2; Version 40; ECC = L: 4,296 characters Binary Data
Appendix G – Bar Code Details DPL field record, QR Code bar code, Cell Size = 0.08 inch square, positioned at X = .1” and Y = .1”, ECC = L, Mask = Automatic, Data Input Mode = Manual - Kanji: 1W1D88000001000102,LM,K<0x81><0x40><0x81><0x41><0x81><0x42><0x0D> DPL field record, QR Code bar code, Cell Size = 0.04 inch square, positioned at X = .1” and Y = .
Appendix G – Bar Code Details Field Valid Inputs a 1,2,3, and 4 W1 W1 b f and F Meaning Rotation Fixed value, extended bar code set Lowercase selects the Aztec bar code, variable length. Uppercase selects the Aztec bar code with a Byte Count Specifier c 1 to 9, A to Z, and a to z Module size horizontal multiplier, 0 = default size. The c/d module size parameters should be equal to produce a square symbol.
Appendix G – Bar Code Details Error Correction (EC) / Size Implications jjj Symbol Size[1] Symbol Format 000 variable 001 to 099 variable data dependent data and EC dependent 101 102 102 103 104 15 19 19 23 27 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 19 23 27 31 37 41 45 49 53 57 61 67 71 75 79 83 87 91 95 101 105 109 113 117 121 125 131 135 139 143 147 151 compact compact compact compact compact full full fu
Appendix G – Bar Code Details Error Correction Size 001 to 099: This value specifies the percent of symbol code words to be used for error correction. Actual error correction word percentage will vary depending on data. The default value, approximately 23%, is recommended. Any other value may be selected to meet the user’s needs. Some minimum-security code word may be generated depending on the data sent for encoding, particularly when the volume of that data is small.
Appendix G – Bar Code Details preceding the FNC1 are Application Indicators assigned by AIM International. The printer does not check AI validity. When 0 is anywhere else in the data stream, a replaces it in the bar code symbol, as with UCC/EAN 128 field separators. n – Is encoded as FLG(n), and is interpreted as signaling Extended Channel Interpretation.
Appendix G – Bar Code Details W1g / W1G: USD-8 (Code 11) Valid Characters: 0-9,Bar Code Data String Length: Variable, typical max 41 characters Human Readable: W1G; and, Non-Human Readable: W1g USD-8 (Code 11) is a bar code that encodes the ten digits and the dash (-) character. An additional character serves as the start and stop indicator. Each character has three bars and two spaces for a total of five elements.
Appendix G – Bar Code Details Note that there is no auto-switching from or to Subset A. Standard switches are still used (see table below). Subset A: Includes all of the standard uppercase alphanumeric keyboard characters plus the control and special characters. Subset B: Includes all of the standard uppercase alphanumeric keyboard characters plus the lowercase alphabetic and special characters. Subset C: Includes the set of 100 digit pairs from 00 through 99 inclusive, as well as special characters.
Appendix G – Bar Code Details The following example prints an EAN128 bar code: L D11 1W1I000000025002512345&G10Z2133021AK 121100000000100Barcode W1I E Barcode W1I When scanned this bar code will decode as follows: [C][FNC1]1234[B]5[F1]10Z[C]213302[B]1AK(81) W1J: Code 128 (with Auto Subset Switching) Valid characters: The entire 128 ASCII character set. Variable length Valid bar widths: The fourth character of record is the width of the narrow bar in dots.
Appendix G – Bar Code Details built into the printer; see table below. As an example, to encode FNC2 into a Code128 Subset A bar code, send the ASCII & (DEC 38, HEX 26) followed by an ASCII B (DEC 66, HEX 41). Code FNC2 will be encoded.
Appendix G – Bar Code Details W1k: GS1 DataBar (previously “Reduced Space Symbology RSS”) Valid Characters: Type dependent Bar Code Data String Length: Type dependent GS1 DataBar is a continuous, linear symbology used for identification in EAN.UCC systems. There are six different types: GS1 DataBar Type Overview* • Encodes a full 14-digit EAN.
Appendix G – Bar Code Details Syntax for GS1 DataBar (spaces added for readability): a W1 k c d eee ffff gggg h i j m n…n | p…p Where: Field Valid Inputs Meaning a 1,2,3, and 4 W1 W1 k k c 1 to 9, A to Z, and a to z Wide bar ratio, default = 2 d 1 to 9, A to Z, and a to z Narrow bar ratio, default = 2 eee 000 ffff 0000 to 9999 Label position, row gggg 0000 to 9999 Label position, column Rotation Fixed value, extended bar code set Selects GS1 bar code No effect GS1 Type: R T S D L
Appendix G – Bar Code Details The following example prints an GS1 DataBar bar code with 2-D data: L D11 1W1k0000001500150R1002001234567890|123456-99/99/99 121100000000100Barcode W1k E Barcode W1k The following example prints an GS1 DataBar Truncated bar code: Barcode W1k L D11 1W1k0000001500150T1002001234567890 121100000000100Barcode W1k E The following example prints an GS1 DataBar Stacked bar code: Barcode W1k L D11 1W1k0000001500150S1002001234567890 121100000000100Barcode W1k
Appendix G – Bar Code Details Field Valid Inputs a 1,2,3, and 4 W1 W1 k k c 1 to 9, A to Z, and a to z Wide bar ratio, default = 2 d 1 to 9, A to Z, and a to z Narrow bar ratio, default = 2 eee 000 ffff 0000 to 9999 Label position, row gggg 0000 to 9999 Label position, column h E i 1-9 j 0 to (i-1) m 0 to (i-1) nn Meaning Rotation Fixed value, extended bar code set Selects GS1 bar code No effect GS1 Type: E= GS1 DataBar Expanded Pixel Multiplier X pixels to undercut Y pixel
Appendix G – Bar Code Details W1m / W1M: Australia Post 4-State Bar Code Length: 37, 52, or 67 bars Usage: This symbol is used for processing mail in the Australia Post System. The symbol is 37, 52 or 67 bars in length, and the height and ratios are fixed according to the specification (see “Customer Barcoding Technical Specifications” from Australia Post for more information).
Appendix G – Bar Code Details L D11 1WM00000005000501139987520 E Barcode W1M Note that the human readable shows the format control code, sorting code and the generated Reed Solomon error correction parity values.
Appendix G – Bar Code Details W1p: Intelligent Mail Barcode (IMB) Valid Characters: 0-9 Length: 20, 25, 29 or 31 digits Valid bar widths: The width and height multiplier values of 00 will produce a valid IMB symbol. Usage: The bar code height field is ignored since the symbol height is United States Postal Service specific. 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 – Bar Code Details Where: Meaning Field Valid Inputs a 1,2,3, and 4 W1q W1q b 1 to 9, A to Z, and a to z Horizontal multiplier* (0 = default size) c 1 to 9, A to Z, and a to z Vertical multiplier* (0 = default size) ddd 001 to 999 eeee 0000 to 9999 Label position, row ffff 0000 to 9999 Label position, column g A, E, F h 0,1 ii 01-44 Number of rows to encode jj 02-62 Number of characters per row k…k ASCII chars Rotation Fixed value, extended bar code set, selects
Appendix G – Bar Code Details Example: The following example prints a KMART bar code: L D11 1W1R0000000150100012345678901234567 121100000000100Barcode W1R E 34 567890 123 4567 Barcode W1R W1s / W1S: Standard 2 of 5 Standard 2 of 5 is a discrete, self-checking, continuous numeric bar code. All of the information is contained in the bars. Bars are either wide or narrow, typically in a 3:1 ratio. The space is equal to the width of the narrow bar.
Appendix G – Bar Code Details Field Valid Inputs a 1,2,3, and 4 W1 W1 t t c 1 to 9, A to Z, and a to z Wide bar of Code 39, ratio of wide to narrow must be between 2:1 and 3:1.
Appendix G – Bar Code Details Example: The following example prints a Code 16K: L D11 1W1Y3305001000100ABC123 E Barcode W1Y W1z: MicroPDF417 MicroPDF417 is a 2 dimensional bar code capable of holding large amounts of data in a small area. It provides a high level of redundancy and error checking. Valid Characters: All ASCII characters, depending on the selected options.
Appendix G – Bar Code Details L D11 1W1z000000015010014000PDF417 121100000000100Barcode W1z E Barcode W1z The number of columns (h) and row / error correction index (i) combine to form the selection index (hi), which determines other symbol characteristics as shown below: Row/Column/Error Correction Selection Index (hi) Implications Max Max Symbol Symbol Max Max Alpha Errors Numeric Width Height Binary Data Characters Corrected Characters [2] [3] [5] Bytes[3] [1] [5] hi Columns Rows 1
Appendix G – Bar Code Details In the table above, row/column/error correction selection index (hi) values increasingly large do not necessarily result in the ability to encode more data. Byte Compaction Mode (j = 1) A value of 1 forces Byte Compaction. The compaction ratio is six 8-bit bytes of data compressed into a 5-symbol codeword. See the table above for the maximum data allowed for any row/column/error correction selection index (hi).
Appendix G – Bar Code Details From the example, the bar code’s data stream, 1W1Z0000000150100001214000PDF<0x0D>417, includes a Byte Count Specifier (the portion in bold), where 0012 equals the four-digit decimal data byte count and includes all bytes that follow until the end of the bar code data. Field termination is set by the byte count. , , and <0x0D> all represent single byte values of hexadecimal 02, 0D, and 0D, respectively.
Appendix G – Bar Code Details 236
Appendix H – Single and Double Byte Character Font Mapping Appendix H Single and Double Byte Character Font Mapping Label format records with font code 9 in the b field of the Format Record header can specify any of the following bitmapped or scalable fonts with the associated specification in the font size/selection (eee height) field, as shown in the tables on the following pages.
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 Bitmapped Downloaded Fonts User-downloaded typeface Single Byte 100 - 999 user defined Font 9 Scalable Resident Fonts Specifications CG Triumvirate Bold Condensed Single Byte S00 CG Triumvirate Single Byte S01 scalable scalable Font 9 Scalable Resident Fonts Specifications (optional) C
Appendix I – Symbol Sets and Character Maps 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.
Appendix I – Symbol Sets and Character Maps Single Byte Code Pages Code Page Identifier Datamax HP (PCL) E6 6N E7 12N E9 9N EG 12N EH Font Format MicroType CG Triumvirate Description True Type [2] CG Times ISO 8859/10 Latin 6 X [1] X [1] ISO 8859/7 Latin/Greek [1] ISO 8859/15 Latin 9 Part [1] ISO 8859/7 Latin/Greek 7H Part [1] ISO 8859/8 Latin/Hebrew ER 10N Part [1] ISO 8859/5 Latin/Cyrillic FR 1F Part G8 8G Part [1] Greek-8 GK 12G Part [1] PC-8 Greek GR 1G Par
Appendix I – Symbol Sets and Character Maps Code Page Identifier Font Format MicroType CG Triumvirate Description True Type [2] Datamax HP (PCL) CG Times PH 15H PI 15U PM 12U PR 10V PC-864 Latin/Arabic PT 9T PC-8 TK, Code Page 437T PU 9J PC-1004 PV 26U PC-775 Baltic PX 12U X X PY 3Y X X R8 8U R9[1] 4U SP 2S ISO 17: Spanish SW 0S ISO 11: Swedish SY 19M X X Symbol TK 8T X X Turkish-8 TS 10J PS Text UK 1E ISO 4: United Kingdom US 0U ISO 6: ASCII U8
Appendix I – Symbol Sets and Character Maps Code Page Identifier Font Format MicroType Description True Type [2] Datamax HP (PCL) CG Triumvirate CG Times WD 579L X X WE[3] 9E WG[3] 9G WL[3] 19L WN 9U WO 9U WR[3] 9R WT[3] 5T Wingdings Windows 3.1 Latin 2 [1] Part Windows Latin/Greek Windows 3.1 Baltic (Latv, Lith) X [3] X [3] [3] Windows [3] Windows 3.0 Latin 1 [1] Windows Latin/Cyrillic Windows 3.1 Latin 5 [3] Contains the Euro currency symbol ( ).
Appendix J – General Purpose Input Output Port Applications Appendix J General Purpose Input Output (GPIO) Port Applications GPIO-equipped printers can interface with most external controlling devices. Operational preferences can be stored for subsequent power-ups using the printer menu, or via Kc commands. Functions and connections vary, as discussed below. Always wear a wrist strap and follow ESD prevention measures when handling the GPIO or Applicator Interface Card.
Appendix J – General Purpose Input Output Port Applications Failure to properly configure the GPIO Port can result in damage to the printer and / or connected devices. Applicator Interface Card (Type 2) GPI/O Port A Overview Pin Number 1 Signal Name Signal Direction Ground [1] Jumper Position JMP 8 +5 VDC Installed Printer chassis is used. Removed Ground must be supplied. Printer +5VDC is used (.
Appendix K – Maximum Row, Column, & Character Values; Print Resolutions & Widths; and, Module Identifiers & Allocations Appendix K Maximum Field & Character Values [1] Printer All Maximum Format Fields 700 [1] Total Characters All Fields 32768 When the product of the number of fields and characters in each field exceeds the available printer memory (the limiting factor), portions of the label may not print.
Appendix K – Maximum Row, Column, & Character Values; Print Resolutions & Widths; and, Module Identifiers & Allocations Column, Present, & Row Adjust Fine Tune Range Printer Resolution (DPI) 203 300 400 600 Column Adjust Fine Tune Parameter Range (+/– dots) -100 – 100 dots -150 – 150 dots -200 – 200 dots -300 – 300 dots Row & Present Adjust Fine Tune Parameter Range (+/– dots) -100 – 2030 dots -150 – 3000 dots -200 – 4060 dots -300 – 6000 dots Memory Module Identifiers and Allocations RL4 RL3 I-Class
Appendix L – Speed Ranges Appendix L Speed Ranges Printer Speed Command* Speed Value: Inches per Second Millimeters per Second A 1.0 25 B 1.5 38 C 2.0 51 D 2.5 63 E 3.0 76 F 3.5 89 G 4.0 102 H 4.5 114 I 5.0 127 J 5.5 140 K 6.0 152 L 6.5 165 M 7.0 178 N 7.5 191 O 8.0 203 P 8.5 216 Q 9.0 227 R 9.5 241 S 10.0 254 T 10.5 267 U 11.0 279 V 11.5 292 W 12.0 305 X 13.0 330 Y 14.0 356 Z 15.0 381 a 16.0 406 b 17.0 432 c 18.
Appendix L – Speed Ranges Model Print Speed Feed Speed Reverse Speed Slew Speed Range Default Range Default Range Default Range Default IM2-4212 C – W O C – W O C – I G C – a O IM2-4310 C – S O C – W O C – I G C – a O IM2-Future (400dpi) C – O K C – S K C – I G C – a K IM2-4606 C – K G C – O G C – I G C – a G RL4 A - I G A - I G C C N/A N/A RL3 A – G E A – G G C C N/A N/A C - G G C - G G C C G G C - I G C - I G C C G G C - K
Appendix M – Commands By Function Appendix M Commands by Function Commands by Function Function Command pa E C (snnnWdata *cnnnE P Cnnnn Z Kc cnnnn ^nn o :nnnn cnn Vn Dwh e Sa a Tnn xmfname v )snnnW *cnnnD F Kfnnnn An Iabfnamecr Hnn n >fii +fii Unnstring L Mnnnn Backup speed Batch quantity request Cancel Character bitmapped data Character code Character dump mode Column offse
Appendix M – Commands By Function Function Command KQ Memory query Memory query (new format) Kq Metric m Metric m Mirror M Module clear qm Module, compress zm Module, directory request Wa Module, set default Xm Module, FLASH memory Test w Module, RAM memory Test t Modules, clear all Q Pause for each label J Pause toggle B Pause, controlled p Place data in global register G Print last label format G Print
Appendix N – Image Loading Appendix N Image Loading The printer will accept four types of image files: .BMP, .IMG, .PCX and a special Datamax 7bit ASCII file (as defined in this section). Use of the Datamax 7-bit ASCII format will require at least twice as much data transmission time as the other formats, (see I). The Datamax ASCII image file format is made up of a set of records with identical formats, each representing a dot row of the image; a terminator follows the last of these records.
Appendix N – Image Loading ^BqA(CR) ^BIAAFLOGO(CR) 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR) 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR) 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR) 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR) 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Appendix O – UPC-A and EAN-13 Variable Price / Weights Appendix O UPC-A and EAN-13: Variable Price/Weight Bar Codes The EAN/UPC standard allows for an additional checksum to be generated in the middle of the bar code based on the data. This is used when the price or weight of an item is embedded into the bar code data (commonly used in the food industry). For the printer to generate this checksum, a “V” must be placed in the data stream in the position the checksum is requested.
Appendix O – UPC-A and EAN-13 Variable Price / Weights 254
Appendix P – ILPC Programming Examples Appendix P International Language Print Capability (ILPC) Programming Examples ILPC (if equipped) allows the printing of non-English character sets, available with European language support (CG TIMES), KANJI language support, Chinese language support (SIMPLIFIED GB) and Korean Hangul. All of the features are embedded in the printer resident firmware and accessible through DPL thus eliminating excessive download time of bitmapped characters.
Appendix P – ILPC Programming Examples The notation “” in this DPL file should be interpreted by the reader as representing the hexadecimal value of the character sent to the printer. ILPC - Kanji The Kanji Option is a double byte scalable font supporting Kanji Gothic B. In the double byte format, the printer recalls one character printed from every two 8-bit bytes sent from the host.
Appendix P – ILPC Programming Examples Scalable Double-Byte Font Map - KANJI eee (Font Code) Scalable Font Type Font Name U40 Scalable Resident HG-Gothic-B Kanji Scalable EUC, JIS, SJIS, UC u40 Scalable Resident HG-Gothic-B Kanji Scalable EUC, JIS, SJIS, UC UK1 Scalable Resident HG-Gothic-E Kanji Scalable EUC, JIS, SJIS uK1 Scalable Resident HG-Gothic-E Kanji Scalable EUC, JIS, SJIS u50 - u5z… u90 - u9z Scalable Non-Resident (download) User defined U50 U5z...
Appendix P – ILPC Programming Examples 4911U4001950215P012P012<4D><4F><00> 4911U4001950265P012P012<4D><5F><00> 4911U4001950315P012P012<4D><6F><00> 1X1100001100010b0392007500020002 112200001650030SCALING JIS CHARACTER’S 1911U4001200020P010P020<21><6F><00> 1911U4001200050P020P020<21><6F><00> 1911U4001200080P030P020<21><6F><00> 1911U4001200110P040P020<21><6F><00> 1911U4001200145P040P030<21><6F><00> 1911U4001200190P040P040<21><6F><00> 1911U4001200250P040P050<21><6F><
Appendix P – 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 P – ILPC Programming Examples ILPC - Chinese The Chinese Option is a double byte scalable font supporting Simplified GB Chinese. In the double byte format the printer recalls one character printed from every two 8-bit bytes sent from the host. Double byte scalable fonts are selected using a print format record (see Generating Label Formats and Appendix H for details).
Appendix P – ILPC Programming Examples Scalable Double-Byte Font Map - CHINESE eee (Font Code) Scalable Font Type Font Name Binary Hex ASCII Code Addressing Addressing Pages UC0 Scalable Resident Simplified GB Chinese GB uc0 Scalable Resident Simplified GB Chinese GB U50 U5z... U90 - U9z Scalable Non-Resident (download) Big 5 B5 u50 - u5z… u90 - u9z Scalable Non-Resident (download) Big 5 B5 U50 U5z...
Appendix P – ILPC Programming Examples 4911UC001950215P012P012<00> 4911UC001950265P012P012<00> 4911UC001950315P012P012<00> 1X1100001100010b0392007500020002 112200001650030SCALING GB CHARACTER’S 1911UC001200020P010P020<00> 1911UC001200050P020P020<00> 1911UC001200080P030P020<00> 1911UC001200110P040P020<00> 1911UC001200145P040P030<00> 1911UC001200190P040P040<00> 1911UC001200250P040P050<0
Appendix P – ILPC Programming Examples ILPC - Korean The Korean Option is a double-byte scalable font supporting Korean Hangul. In the doublebyte 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 P – ILPC Programming Examples 112200002200030Rotation 3 3911UH002330165P012P012<00><00> 3911UH002330220P012P012<65><00> 3911UH002330265P012P012<69><00> 3911UH002330315P012P012<00> 112200002000030Rotation 4 4911UH001950165P012P012<00><00> 4911UH001950215P012P012<65><00> 4911UH001950265P012P012<69><00> 4911UH001950315P012P012<00> 1X1100001100010b0392007500020002 112200001650030SCALING HANGUL CHARACTERS 1911UH0012
Appendix Q – Plug and Play IDs Appendix Q Plug and Play IDs MFG; CMD; MDL; CLS; DES Where: MFG = Datamax-Oneil CMD = Fixed string: “DPL” MDL = Model: (Valid designations are: E-4204B Mark III, E-4304B Mark III, E-4305A Mark III, E-4205A Mark III, E-4206P Mark III, E-4305P Mark III, E-4206L Mark III, E-4305L Mark III, I-4212e MarkII, I-4310e MarkII, I-4606e MarkII RL3, RL4) CLS = Fixed string: “PRINTER” DES = Description (subject to change with the application [firmware] revision and printer model)
Appendix Q – Plug and Play IDs 266
Appendix R – Line Mode Appendix R Line Mode Line Mode allows the printer to respond to raw data from a device that may not be able to send a complete DPL file. In Line Mode raw data is directed into replaceable fields in formats or templates stored in the printer.
Appendix R – Line Mode 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 R – Line Mode Label 1: TEST DATA AAAAAAAAAAAAAAAAAAAAAAAAA FIXED FIELD #1 TEST DATA BBBBBBBBBBBBBBBBBBBBBBBBB FIXED FIELD #2 TEST DATA CCCCCCCCCCCCCCCCCCCCCCCCC Label 2: TEST DATA DDDDDDDDDDDDDDDDDDDDDDDDD FIXED FIELD #1 TEST DATA EEEEEEEEEEEEEEEEEEEEEEEEE FIXED FIELD #2 TEST DATA FFFFFFFFFFFFFFFFFFFFFFFFF Sample Template 2: If a template in the form of DMXFRMxx is used, the data must be preceded by the value of xx.
Appendix R – Line Mode 270
Appendix S – RFID Overview Appendix S RFID Overview The printer has two different operational modes for the programming of RFID tags: Direct, and Label Formatting. The RFID programming data can be entered in one of two formats: ASCII, or Hexadecimal. Data in the ASCII format is entered conventionally, while data in the hexadecimal format is entered as the hexadecimal-pairs equivalent of the ASCII character(s).
Appendix S – RFID Overview UHF Interface This interface allows the Host Application to perform specific operations pertaining to UHF-type tags. Since these commands override the printer’s database by interfacing directly to the tag module, knowledge of UHF protocols and their operation is required. See the KuR and KuW commands for details.
Appendix S – RFID Overview Field Valid Inputs Meaning Operation to perform, where: 1 = Read (report to host) 2 = Write 3 = Write w/ Read back and Verify a 1, 2, and 3 bbb Wnx c 0 Not Used, should be 0 d 0 Not Used, should be 0 RFID Hexadecimal Operation, where no “n” is an implied 1. HF: Lock after write, where: x = 0 – Use printer setup to determine if lock is performed. x = 1 – Lock after write.
Appendix S – RFID Overview Example 1: The following example encodes an HF tag , starting at block 001, with “Datamax writes RFID best”: L D11 2W1x0000000010000446174616D61782077726974657320524649442062657374 E Example 2: The following format encodes a UHF Gen2 tag with EPC data “112233445566778899AABBCC” and user memory data “1111222233334444”.
Appendix S – RFID Overview Field Valid Inputs Meaning Operation to perform, where: 1 = Read (report to host) 2 = Write 3 = Write / Verify a 1, 2, and 3 bbb Wnx c 0 Not Used, should be 0 d 0 Not Used, should be 0 RFID Hexadecimal Operation, where no “n” is an implied 1. HF: Lock after write, where: x = 0 – Use printer setup to determine if lock is performed. x = 1 – Lock after write.
Appendix S – RFID Overview 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 T – WiFi Region Country Codes Appendix T WiFi Region Country Codes Region Country Codes Code Country Code Country Code Country AF Afghanistan GH Ghana PK Pakistan AX Åland Islands GI Gibraltar PW Palau AL Albania GR Greece PS Palestinian Territory DZ Algeria GL Greenland PA Panama AS 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
Appendix T – WiFi Region Country Codes Code Country Code Country Code Country BS Bahamas HU Hungary RW Rwanda BH Bahrain IS Iceland SH Saint Helena BD Bangladesh IN India KN Saint Kitts and Nevis BB Barbados ID Indonesia LC Saint Lucia BY Belarus IR Iran, Islamic Republic of PM Saint Pierre and Miquelon BE Belgium IQ Iraq VC Saint Vincent and the Grenadines BZ Belize IE Ireland WS Samoa BJ Benin IL Israel SM San Marino BM Bermuda IT Italy ST Sao To
Appendix T – WiFi Region Country Codes Code Country Code Country Code Country BI Burundi LA Lao People's Democratic Republic ZA South Africa KH Cambodia LV Latvia GS South Georgia and the South Sandwich Islands CM Cameroon LB Lebanon ES Spain CA Canada LS Lesotho LK Sri Lanka CV Cape Verde LR Liberia SD Sudan KY Cayman Islands LY Libyan Arab Jamahiriya SR Suriname CF Central African Republic LI Liechtenstein SJ Svalbard and Jan Mayen TD Chad LT Lithuania
Appendix T – WiFi Region Country Codes Code Country Code Country Code Country CU Cuba MU Mauritius TN Tunisia CY Cyprus YT Mayotte TR Turkey CZ Czech Republic MX Mexico TM Turkmenistan 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
Appendix T – WiFi Region Country Codes Code Country Code Country Code Country PF French Polynesia NG Nigeria EH Western Sahara TF French Southern Territories NU Niue YE Yemen GA Gabon NF Norfolk Island GM Gambia MP Northern Mariana Islands ZM Zambia GE Georgia NO Norway ZW Zimbabwe DE Germany OM Oman 281 Zaire - see Congo, The Democratic Republic of the
Appendix T – WiFi Region Country Codes 282
Appendix U – Bar Code Symbology Information Resources Appendix U 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 U – 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 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 two-dimensional 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 print speed The rate at which the media moves under the print head during the printing process. reflective media Media imprinted with carbon-based black marks on the underside of the material, which is used to signal the top-of-form when the “reflective” Media Sensor is enabled. registration Repeatable top to bottom alignment of printed labels.
Glossary 288