Programmer’s Manual Covers the following models: MP Nova MP Compact Mark II MP Compact Mobile Mark II
Information in this manual is subject to change without notice and does not represent a commitment on the part of Datamax-O’Neil Corporation. No part of this manual may be reproduced or transmitted in any form or by any means, for any purpose other than the purchaser’s personal use, without the expressed written permission of Datamax-O’Neil Corporation. © 2009 by Datamax-O’Neil Corporation Part Number: 540340.
PROGRAMMER’S REFERENCE MANUAL Table of Contents Table of Contents Labelpoint features: .......................................................................................... 2 Scalable text field.............................................................................................. 7 Bitmap text field (deprecated) ........................................................................ 10 The text to be printed .....................................................................................
PROGRAMMER’S REFERENCE MANUAL Table of Contents Stopped on label gap....................................................................................... 34 Print incomplete .............................................................................................. 34 Cool down state............................................................................................... 34 Last paper movement type ..............................................................................
PROGRAMMER’S REFERENCE MANUAL Table of Contents Data Format .................................................................................................... 64 Segment record ............................................................................................... 64 Data record...................................................................................................... 64 End record.......................................................................................................
PROGRAMMER’S REFERENCE MANUAL The Labelpoint command language Introduction The thermal printer family features a simple yet powerful command language, Labelpoint II (LP II). This allows the printers to be controlled from most computers. Most common bar code symbologies are available. Text and bar codes can be printed in all four directions simultaneously. Counters for consecutive numbering are available and an integral real-time clock allows labels to be time-stamped at print time.
PROGRAMMER’S REFERENCE MANUAL The Labelpoint command language The Labelpoint command language Labelpoint consists of a number of commands for creating a label layout, configuring the printer, checking the printer set-up etc. The printer receives characters and interprets them as commands or as data. A command instructs the printer to perform some action, e. g. create a field in the label layout.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands Label layout definition commands This chapter will explain label designing basics and commands used to create labels in Labelpoint. The print area All items (fields) to be printed on a label must be defined with their position on the paper. The coordinate system is shown below: paper feed direction Y X The X coordinate grows across the print head, from right to left, viewing the printer from the front.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands Building a label layout Before printing, the label layout must be defined. The layout defines the position and other attributes (size, font, barcode symbology etc.) of each item to be printed. When the print command is issued, the resulting print picture is printed out. The print format can be changed at any time. The text to be printed can be fixed or variable. Fixed text is part of the layout and does not change until the layout is changed.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands The shoe example: !C !Y24 60 !Y35 10 !Y42 1 !F T N 100 100 L 14 0 94030 "TESTLABEL" !F T N 200 100 L 10 0 94021 "PRICE: 65.00" !F T N 250 100 L 10 0 94021 "SIZE: 42" !F C N 450 100 L 150 2 41 "65.00" !F B N 120 90 L 80 240 !P When sending this layout to the printer, you’ll get a 5 x 4 cm label with a black box at the top, the size and price of the shoe, and a barcode at the bottom.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands Defining a text field There are two different types of textfields, scalable and bitmap fields. Bitmap text fields are deprecated, that is, not recommended for new designs but kept in this manual for backward compatibility. Scalable text field The benefit of using scalable fonts is its possibility to use the highest possible resolution for the letters, independent of the size defined.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands Labelpoint uses Agfa Universal Font Scaling Technology® to generate scalable font characters. Fonts are stored in either Agfa MicroType™ format or TrueType format. There are ten fonts included in the printer. The printer also emulates a number of italic fonts styles for sans serif fonts.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands PCL typeface name PCL typeface number Arial (emulated) 24459 Arial Italic (emulated) 24460 Arial Bold (emulated) 24461 Arial Bold Italic (emulated) 24462 Times New Roman (emulated) 24455 Times New Roman Italic (emulated) 24456 Times New Roman Bold (emulated) 24457 Times New Roman Bold Italic (emulated) 24458 Page 9
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands Bitmap text field (deprecated) Bitmap text fields are deprecated. This section is kept for backward compatibility reasons. Use scalable fonts instead. Syntax !F T
<”text”> Note! Parameters enclosed in <> are required and parameters enclosed in [] are optional. The parameters have the following meanings: Defines the direction of printing as the ‘up’ direction of the printed characters.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands The text to be printed The text parameter can contain both fixed text and references to variable information that changes after each print cycle. Fixed text Fixed text is entered with the keyboard with som exceptions. %, “ and \ are used for different commands. They must therefore be entered twice to get them printed.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands The date symbols can be defined with an offset for best-before dates. The offset value is inserted between the ‘%’ character and the date symbol. The offset value can be either in days or in months: Best-before date Today’s date in the examples below is assumed to be the 31 of January 1998 if nothing else is specified.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands Check digits Three different checksum types can be inserted in the textfield, EAN/UPC, Code39 and UPU. For usage, se table below. %Z EAN/UPC checksum. If the characters %Z are inserted in the text they will be replaced by a 3:1 weighted modulo-10 check digit. %zC Code39 checksum. If the characters %zC are inserted in the text, they will be replaced by weighted modulo-43 check digit, which is calculated on the preceding code39 characters.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands 200% !Y162 0 !P // Turn off reverse video mode Page 14
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands Defining a barcode field This section describes how to create and select barcodes to be printed. Syntax !F C
[d] <”text”> The parameters have the following meaning: Defines the direction of printing as the ‘up’ direction of the printed character. One upper-case character (N, E, S, or W). 1 The baseline of the field in /10 mm. 1 The position in /10 mm. The alignment relative to the position.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands Barcode symbologies Barcode symbology Barcode type, information 1 2 of 5 Interleaved – 2:1 2 2 of 5 Interleaved – 3:1 Numeric code, variable length. If a check digit is required, it can be inserted with the %Z command. The code must contain an even number of digits. The printer will therefore insert a leading 0 if necessary.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands Numeric code, variable length. The start and stop characters (‘A’, ‘B’, ‘C’ or ‘D’) must be included in the input data. 21 USS Codabar – 2:1 22 USS Codabar – 3:1 23 USS Codabar – 5:2 24 USS Codabar – 8:3 25 USS Codabar – 13:5 26 USS Codabar – 11:4 27 USS Codabar – 7:3 31 UPC-A Numeric code. Requires 11 digits of input data. The printer automatically appends the check digit.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands 51 ITF 14 – 2:1 52 ITF 14 – 3:1 53 ITF 14 – 5:2 54 ITF 14 – 8:3 55 ITF 14 – 13:5 56 ITF 14 – 11:4 57 ITF 14 – 7:3 64 RSS-14 RSS-14 Truncated Numeric code, fixed length. Requires 13 digits of input data. The printer automatically appends the check digit. A frame is printed around the barcode. The nominal wide-to-narrow ratio for ITF 14 is 5:2 and the nominal narrow bar width is 1,016 mm.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands Bar code interpretation The printer will automatically print a human-readable text line below the bar code if it has been configured to do so. (The command is described in section - Printer configuration -). This can be done individually for each bar code in a label layout.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands For Royal Mail 4-State Customer Code and the KIX code: Width adjustment. See 2D barcode Symbologies. A value of 50 % to 200 % is allowed. 100 % is the default and means that the bar width and space widths are the same. For MaxiCode: An optional two digit number used to define structured appends, where the first digit specifies the symbol number, and the second digit specifies the total number of symbols.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands 121 MaxiCode mode 2 122 MaxiCode mode 3 123 MaxiCode mode 4 124 MaxiCode mode 5 131 Data matrix Matrix code developed by UPS (United Parcel Service) which can encode about 100 characters of data in an area of 28x27 mm. Modes 2 and 3 are optimized for encoding postal address information. Mode 4 is used for encoding arbitrary data. Mode 5 employs enhanced error correction. Matrix code. Arbitrary binary data.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands Code 128 Code 128 encodes the full ASCII character set, plus four special non-ASCII characters (function codes) called FNC1, FNC2, FNC3, and FNC4. ASCII control characters and function codes must be sent to the printer using escape sequences. An escape sequence consists of the characters "??" followed by a third character. To print a function code in the bar code send "??1" for FNC1, "??2" for FNC2, etc.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands RSS The RSS, Reduced Space Symbology, family of symbols is used for space-constrained applications. Currently supported variations include RSS-14, RSS-14 Truncated, RSS Limited and RSS Expanded. Accompanying 2D Composite Components are currently not supported. Note that the settings for width/height ratio of the RSS barcodes will differ between 200dpi and 300dpi layouts.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands MaxiCode MaxiCode is a two-dimensional symbology built up by an array of hexagons surrounding a central recognition pattern (bullseye). Reed-Solomon error correction is used to ensure integrity of the encoded data. Structured Carrier Message The primary message in modes 2 and 3 contains the following formatted data: Ship to Postal Code, Ship to Country Code ISO 3166 3-digit code, Class of Service.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands Escape Sequences Nonwritable characters can be sent with the standard Labelpoint escape sequence \x. Note that if either ASCII 0A hex or ASCII 0D hex shall be part of the data stream, the \0a or \0d style escape sequence must be used. Otherwise they are treated as line breaks and removed from the data stream. Data encodation The MaxiCode encodes data in six-bit codewords.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands Code PDF417 PDF417 is a two-dimensional bar code with built-in security. A PDF417 symbol can contain arbitrary binary data. The following rules must be followed when entering the data for a PDF417 code. 1. Control characters (ASCII 00 - 1F hex and 7F hex) must be sent as escape sequences. 2. The double quote " (ASCII 22 hex) serves as terminator for the input data and must be sent as an escape sequence if it is to be encoded in the symbol. 3.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands !V61 where is the desired security level.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands QR Code The QR Code has two main options: Correction level and masking pattern. They are set with an escape sequence in the data string. Correction level The correction level is set with the sequence \L where is the desired level: L High density Level M Standard Level Q High Reliability Level H Ultra High Reliability Level Masking pattern The masking pattern is usually automatically selected, but can be set manually.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands Defining a line/box field A line/box field appears as a black area on the label or as a frame window. Diagonal lines can be made using Syntax II. Syntax I !F B
Syntax II !F B D Note! For diagonal lines must x0 > x1 and y0 > y1 Defines the direction of printing as the "up" direction of the printed character. One upper-case character (N, E, S, or W).
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands Defining a graphics field A graphics field is linked to a graphics file. The graphics file may be downloaded after the graphics field has been defined. Syntax !F G
<"name"> The parameters have the following meaning: Defines the direction of printing as the "up" direction of the printed character. One upper-case character (N, E, S, or W). 1 The baseline of the field in /10 mm.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands Variable information in text and bar code fields Lines that are not commands (i. e. lines that do not begin with the command character) are assumed to be variable information (text). The printer counts the number of variable text lines received, and each line is assigned to the next variable text. The first line of text is copied to variable text no. 1, the next line to text no. 2, etc.
PROGRAMMER’S REFERENCE MANUAL Label layout definition commands The command !W "" allows text to be entered into one specific variable. The string is assigned to the variable specified by . All other variables remain unchanged. If the variable does not exist, it will be created. Clearing variable information The command !R deletes all the variable texts from memory. The next non-command line will be copied to variable text no. 1, etc.
PROGRAMMER’S REFERENCE MANUAL Service commands Status request commands The status request command is !S where n represents the number of the status request. The printer responds with a string of 8 digits, followed by a carriage return character. Each digit in the string is either 0 or 1.
PROGRAMMER’S REFERENCE MANUAL Service commands Out of ribbon The printer has run out of ribbon. Operator intervention is necessary, as described below. Heap error The heap (dynamic memory pool) is corrupt. This is a serious error which can not be corrected. The only remedy is to power the printer off and on to restart the program.
PROGRAMMER’S REFERENCE MANUAL Service commands This flag allows the host to detect when the operator has moved the paper by pressing the print button. It is not safe to issue a reverse paper feed command when the paper is not in a known position. Layout outside label This flag can be used to check if any part of the layout is outside the label. See parameter 178 and 179 for more information.
PROGRAMMER’S REFERENCE MANUAL Service commands Status request 4 not used printer restarted not used internal print button active head lifted out of ribbon (TT models only) label not removed (LTS) out of paper Status 4 assembles some of the most commonly needed status flags in one command. Out of paper Described above. Label not removed (LTS) Described above. Out of ribbon Described above. Head lifted ‘1’ Ù Print head is lifted.
PROGRAMMER’S REFERENCE MANUAL Service commands Status request 8 PHD board installed Black mark photocell Cutter installed I2C-board installed LTS installed not used not used not used LTS installed ‘1’ Ù LTS is installed. Note! Only Nova models have this feature. I2C board installed For Compact models, this flag has two different meanings depending on the version of the power supply board currently installed.
PROGRAMMER’S REFERENCE MANUAL Service commands Service commands The service commands provide a number of different utilities. The printer responds with a line of data to a service command. The command syntax is !V Note! Some commands take an additional argument after . Service command (i) Description 9 [m] Software revision level. If parameter m is zero or omitted, the printer responds with a string of the form 4.12. If m is equal to 1, the internal revision is appended. Example: 4.12.07.
PROGRAMMER’S REFERENCE MANUAL Service commands 24 <“name”> Get logo information. Quotes must be entered. The string ‘name’ is the name of a logo stored in printer file system. The response is a string of four numbers describing the logo (height, width, orientation and number of bytes per row). 25 Get information about logo number m. The response is a string of the form: “logoname” 75 58 0 8, where logoname is the name of the logo and the numbers are the same as for !V24.
PROGRAMMER’S REFERENCE MANUAL Service commands 61 [r] [c] Set security level for PDF 417. Parameter s is the security level ranging from 0 to 8. Parameter r is number of rows and parameter c is number of columns. If r and c are omitted (or set to 0), Labelpoint automatically adjusts height and width of the PDF code. If r is set but c is omitted, then the PDF code will have fixed number of rows, which means that only the width of the PDF code will grow with increasing number of characters.
PROGRAMMER’S REFERENCE MANUAL Service commands 111 Get network default gateway. Use service command 108 if DHCP is used. 114 Get serial number of RF tag (transponder). 115 Set login script. See section ‘Login script’ for more info. 116 Get login script. See section ‘Login script’ for more info. 117 Get active port. Responds with the currently active port. Valid responses are COM1, COM2 and TCP23. 120 Get the name of the current printer model (e.g.
PROGRAMMER’S REFERENCE MANUAL Printer settings Printer settings The printer settings can be set on command from the host computer. The initial settings used at power-up are stored in non-volatile memory. Some settings can be changed during operation while others always retain their power-up value.
PROGRAMMER’S REFERENCE MANUAL Printer settings Parameter (i) Explanation 23 Print speed (mm/s). 34 Barcode speed (mm/s). Can be set to a value lower or equal to the normal print speed in order to get a higher print quality for matrix codes and vertical (ladder) barcodes. 44 Blank feed speed (mm/s). Can be set to a value higher than the normal print speed. 54,5 Print head type.
PROGRAMMER’S REFERENCE MANUAL Printer settings 20 Threshold level for photo sensor. Valid values for n are {2, 3, …, 12}. 21 Current level to photo sensor. Valid values for n are {0, 1, …, 15}. 23 Max paper feed length, in /10 mm. Valid values for n are all positive numbers. 24 Dispensing feed, in /10 mm. This is the distance the paper is fed after the next label has reached the print area (for label stock) or after printing is complete (for continuous stock).
PROGRAMMER’S REFERENCE MANUAL Printer settings 35 Character set, supported code pages. See Appendix C for tables of different code pages. The left column is the old numbering system. The right column is the new numbering system that corresponds to the standard code page numbers. A code page may be set individually for each text field. This means that one field can be using a cyrillic code page, while another field is using a latin 1 code page.
PROGRAMMER’S REFERENCE MANUAL Printer settings 44 Alternate end-of-line (EOL) character. This parameter must be set before CR as end-of-line can be disabled. See parameter 45. Valid values for n are all decimal ASCII values. 456 Disable CR as end-of-line. Only valid when an alternate end-of-line characters is enabled. See parameter 44. Valid values for n are {0,1} and they are interpreted as follows: 0 = CR enabled (default) 1 = CR disabled 464 Paper strobe time, in µs.
PROGRAMMER’S REFERENCE MANUAL Printer settings 1 69 Vertical print position adjustment, in /10 mm. Shifts the print picture north (positive values) or south (negative values). Valid values for n are all integer values. Default is 0. 72 Font mapping of bitmap fonts. Maps a physical font number (the ordinal number of the bitmap font in memory) to a logical font number used when printing. ... 79 The physical font number is the parameter number minus 70.
PROGRAMMER’S REFERENCE MANUAL Printer settings 1 100 Reverse paper feed, in /10 mm. When set, the printer automatically reverse feeds the paper the specified distance before printing. This is used for layouts starting at the very start of the label, when parameter 24 is set to position the paper for tear-off. Valid values for n are all positive numbers. Default is 0. 101 Set the inter-character space for bitmap font number.
PROGRAMMER’S REFERENCE MANUAL Printer settings 1514 TCP port for COM1. Valid when communication mode is set to terminal server mode. See parameter 150. See section ‘Communication ports’ for further information. 4 152 Communication mode for COM2.
PROGRAMMER’S REFERENCE MANUAL Printer settings 167 Media position sensor (MPS). The MPS can operate in three different modes, which may be changed depending on how and where labelgaps are positioned. The different modes are realized by selecting the inner, outer or black mark sensor. Note that the number of valid sensor types are different for Compact and Nova models.
PROGRAMMER’S REFERENCE MANUAL Printer settings 179 1 Maximum labelheight, in /10 mm. This parameter is used in combination with status register 2 (bit 7, layout outside label) to check if a layout is outside the label (default) or, if this parameter is set, outside the user defined height. This feature is useful to verify that a printout is within a certain area of the label. Valid values for n are {0, 1, …, 65535}. Default is 0.
PROGRAMMER’S REFERENCE MANUAL Printer settings Print head diagnostics (PHD) The purpose of the PHD functionality is to continuously scan through the print head to find out if any dots are failing. The scanning process is active as soon as the printer becomes idle. Use service command 33 to find out if any failing dots are found and use service command 34 to find out at what position the failing dots were found at. Barcode displacement Failing dots can be seen in printouts as thin white stripes.
PROGRAMMER’S REFERENCE MANUAL Printer settings Configuration menu An easy-to-use configuration menu can be used to access most of the common settings. There are three ways to access it, a text version can be accessed through the COM ports or Telnet port and a HTML version can be accessed through the built-in webserver. HTML version Before accessing the web server in the printer, all network information in the printer must be set. See section ‘Communication ports -> NET’ for more information.
PROGRAMMER’S REFERENCE MANUAL Document commands Document commands The document commands are a set of commands to control how the document is printed. In order to support multiple hosts and to optimize the printing process, Labelpoint II has two document commands. They are used to encapsulate print jobs, that is, a number of label printouts. The Compact printer may be equipped with a cutter.
PROGRAMMER’S REFERENCE MANUAL Document commands Cutter mode When the printer is switched on, the cutter operates in automatic mode, that is, after each print-out a cut is executed. The automatic mode can be turned off by the command: !D T M To turn automatic cutting on again, send the command: !D T A Cutting command To execute a cut when in manual cutting mode, send the command: !D T T (For backwards compatibility with Mk2 printers, the old cut command, !T, can be used.
PROGRAMMER’S REFERENCE MANUAL Printer File System Printer connection The printer can be connected either as a local printer or as a network printer. Local printer When connected locally (with a serial or a parallel cable), the printer can be operated either through a Windows printer driver or directly. When operated directly, there is a tool, MP Communication API (ComAPI) available to make the communication with the printer more straightforward.
PROGRAMMER’S REFERENCE MANUAL Printer File System Printer File System This chapter describes how to store macros and graphics in the printer file system. Macros Commands and variable texts sent to the printer can be stored in the printer's file system and retrieved on command. Such a sequence of data is called a macro and is equivalent to the same commands received from the computer. Macros provide a convenient shorthand for long command sequences, e. g. complex label layouts.
PROGRAMMER’S REFERENCE MANUAL Printer File System Graphics Graphics can be loaded into the printer’s file system. The procedure is similar to that for loading macros. Graphics data must be transmitted in Intel Hex format. Intel Hex format is described in Appendix A. The graphics consists of the graphics header and graphics information.
PROGRAMMER’S REFERENCE MANUAL Miscellaneous commands Miscellaneous commands This chapter describes how to use counters and various feeding commands. Counters Ten counters are available for consecutive numbering. They are numbered 1, 2, ..., 10. Each counter is completely and independently programmable. The capacity is 9 digits (up to 999 999 999). Any of the counters may be printed as text or bar code, or both, and more than one counter may be printed on the same label.
PROGRAMMER’S REFERENCE MANUAL Miscellaneous commands Example: !N2 10 The example above defines counter no. 2 to start at 10 and increment by 1 for each label printed. All significant digits are printed. The count cycle will be: 10, 11, 12, 13, 14, ..., 999999999, 0, 1, 2, etc. Retrieving information about counters To retrieve information about a counter, send the command: !V32 where is the number of the counter. The printer will then respond with the current status of the counter, i.e.
PROGRAMMER’S REFERENCE MANUAL Flow control Flow control The printer supports both software flow control, XON-XOFF, and hardware flow control, RTS-CTS. When the input buffer becomes 75 % full, an XOFF character is sent out and the RTS signal is taken to the inactive state. When the input buffer becomes less than 25 % full, an XON character is sent out and RTS is set active. When the printer runs out of paper, processing continues until a print command is received.
PROGRAMMER’S REFERENCE MANUAL Appendix A: Intelhex Records. Paper sensing The printer is equipped with a photo sensor in the paper track, which is used both to synchronise with holes in the paper or the gap between labels, and to sense the end of the paper. If no gap appears at the photo sensor before printing is complete the printer stops when the paper has been fed the dispensing feed length after the end of the print.
PROGRAMMER’S REFERENCE MANUAL Appendix A: Intelhex Records. The printer indicates certain events or states by using the LED. The indications have the following meanings: Green Normal operation. Flashing green Firmware update of I2C board in progress. Note! Nova models only. Yellow Printer is starting up or is in diagnostics mode. Note! Nova models only. Red Paper out, ribbon out or print head lifted. Flashing red System temperature too high, printer has entered cool down state.
PROGRAMMER’S REFERENCE MANUAL Appendix A: Intelhex Records. Appendix A: Intel Hex file format Binary data (e. g. logos, and program code) is sent to the thermal printer in Intel hex format. This is an ASCII data format widely used for transferring binary data between computers and to PROM programming devices. There is also a binary mode available of Intel hex format. See Appendix B for more information. This description describes the Intel hex format as used by thermal printers.
PROGRAMMER’S REFERENCE MANUAL Appendix A: Intelhex Records. End record This record must be the last record in a transfer.
PROGRAMMER’S REFERENCE MANUAL Appendix A: Intelhex Records. Labelpoint load graphics command When using the Labelpoint load graphics command, !L G ..., the segment record is not needed, since Labelpoint decides automatically where to store the graphics file. Graphics format Graphics are stored as bit-mapped graphics, where a bit set to 1 represents a black dot on the paper. The actual bit-map is preceded by a table, which specifies the height and width of the logo.
PROGRAMMER’S REFERENCE MANUAL Appendix B, Binary Intelhex Records Appendix B: Binary Intelhex Records The binary intelhex records were designed to improve download speed of graphics data to the printers. The format is supported by MkII, Compact and Nova series of printers. A binary record (line) has the following structure: ; L AA D... C The record is ended with or . Each upper case character represents one data byte.
PROGRAMMER’S REFERENCE MANUAL Appendix B, Binary Intelhex Records Appendix C: Code Pages Code page 850, MS-DOS Latin 1 0 1 2 3 4 5 6 7 8 0 @ P ` p Ç 0 ! 1 A Q a q ü 1 " 2 B R b r é 2 # 3 C S c s â 3 $ 4 D T d t ä 4 % 5 E U e u à 5 & 6 F V f v å 6 ' 7 G W g w ç 7 ( 8 H X h x ê 8 ) 9 I Y i y ë 9 * : J Z j z è A + ; K [ k { ï B , < L \ l | î C - = M ] m } ì D .
PROGRAMMER’S REFERENCE MANUAL Appendix B, Binary Intelhex Records German character 0 1 0 1 2 3 4 § 5 6 7 8 9 A B C D E F set (7-bit) 2 3 4 5 0 @ P ! 1 A Q " 2 B R # 3 C S $ 4 D T % 5 E U & 6 F V ' 7 G W ( 8 H X ) 9 I Y * : J Z + ; K Ä , < L Ö - = M Ü . > N ^ / ? O _ UK character set (7-bit) 0 1 2 3 0 0 ! 1 1 " 2 2 £ 3 3 $ 4 4 § % 5 5 & 6 6 ' 7 7 ( 8 8 ) 9 9 * : A + ; B , < C - = D .
PROGRAMMER’S REFERENCE MANUAL Appendix B, Binary Intelhex Records French character set 0 1 2 0 ! 1 " 2 £ 3 $ 4 § % 5 & 6 ' 7 ( 8 ) 9 * A + B , C D .
PROGRAMMER’S REFERENCE MANUAL Appendix B, Binary Intelhex Records Spanish character 0 1 0 1 2 3 4 § 5 6 7 8 9 A B C D E F set (7-bit) 2 3 4 5 0 @ P ! 1 A Q " 2 B R # 3 C S $ 4 D T % 5 E U & 6 F V ' 7 G W ( 8 H X ) 9 I Y * : J Z + ; K ! , < L Ñ - = M ? . > N ^ / ? O _ Italian character set (7-bit) 0 1 2 3 4 0 @ 0 ! 1 A 1 " 2 B 2 £ 3 C 3 $ 4 D 4 § % 5 E 5 & 6 F 6 ' 7 G 7 ( 8 H 8 ) 9 I 9 * : J A + ; K B , < L C - = M D .
PROGRAMMER’S REFERENCE MANUAL Appendix B, Binary Intelhex Records Code page 861, MS-DOS Icelandic 0 1 2 3 4 5 6 7 0 @ P ` p 0 8 Ç 9 É A B C D E F á α æ í 1 ! 1 A Q a q ü 2 " 2 B R b r é Æ ó 3 # 3 C S c s â ô ú 4 $ 4 D T d t ä ö ñ 5 § % 5 E U e u à þ Í 6 & 6 F f v å û Ó 7 ' 7 G W g w ç Ý Ú 8 ( 8 H X h x ê ý 9 ) 9 I Y i y ë Ö A * : J Z j z è Ü B + ; K [ k { Ð ø ½ C , < L \ l | ð £ ¼ D - = M ] m }
PROGRAMMER’S REFERENCE MANUAL Appendix B, Binary Intelhex Records Code page 1252, Windows Latin 1 (ANSI) In Labelpoint, this code page was previously called ‘DEC Multi-national’ which means ISO 8859-1. ANSI-1252 is superset of ISO 8859-1 with characters between 80 and 9F added.
PROGRAMMER’S REFERENCE MANUAL Appendix B, Binary Intelhex Records Code page HP Roman-8 0 1 2 3 4 5 6 7 0 @ P ` p 0 ! 1 A Q a q 1 " 2 B R b r 2 # 3 C S c s 3 $ 4 D T d t 4 % 5 E U e u 5 & 6 F V f v 6 ' 7 G W g w 7 ( 8 H X h x 8 ) 9 I Y i y 9 * : J Z j z A + ; K [ k { B , < L \ l | C - = M ] m } D .
PROGRAMMER’S REFERENCE MANUAL Appendix B, Binary Intelhex Records Code page 1250, Windows Latin 2 (Central 0 1 2 3 4 5 6 7 8 9 0 @ P ` p € 0 ! 1 A Q a q ‘ 1 " 2 B R b r ‚ ’ 2 # 3 C S c s “ 3 $ 4 D T d t „ ” 4 % 5 E U e u … • 5 & 6 F V f v † – 6 ' 7 G W g w ‡ — 7 ( 8 H X h x 8 ) 9 I Y i y ‰ ™ 9 * : J Z j z Š š A + ; K [ k { ‹ › B , < L \ l | Ś ś C - = M ] m } Ť ť D .
PROGRAMMER’S REFERENCE MANUAL Appendix B, Binary Intelhex Records Code page 1251, Windows Cyrillic 0 1 2 3 4 5 6 0 @ P ` 0 ! 1 A Q a 1 " 2 B R b 2 # 3 C S c 3 $ 4 D T d 4 % 5 E U e 5 & 6 F V f 6 ' 7 G W g 7 ( 8 H X h 8 ) 9 I Y i 9 * : J Z j A + ; K [ k B , < L \ l C - = M ] m D .
PROGRAMMER’S REFERENCE MANUAL Appendix C: Code Pages Code page 1254, Windows Latin 5 0 1 2 3 4 5 6 0 @ P ` 0 ! 1 A Q a 1 " 2 B R b 2 # 3 C S c 3 $ 4 D T d 4 % 5 E U e 5 & 6 F V f 6 ' 7 G W g 7 ( 8 H X h 8 ) 9 I Y i 9 * : J Z j A + ; K [ k B , < L \ l C - = M ] m D .
PROGRAMMER’S REFERENCE MANUAL Appendix B, Code Pages Code page ISO 8859-2 0 1 2 3 4 5 6 7 0 @ P ` p 0 ! 1 A Q a q 1 " 2 B R b r 2 # 3 C S c s 3 $ 4 D T d t 4 % 5 E U e u 5 & 6 F V f v 6 ' 7 G W g w 7 ( 8 H X h x 8 ) 9 I Y i y 9 * : J Z j z A + ; K [ k { B , < L \ l | C - = M ] m } D .
PROGRAMMER’S REFERENCE MANUAL Apendix C, Quick Reference Guide Appendix C: Quick Reference Guide Command summary !C Clear label layout !D Document command !F Label layout field (text, bar code, line/box or logo) !K Paper feed !L Load file (macro, logo etc.
PROGRAMMER’S REFERENCE MANUAL Apendix C, Quick Reference Guide !S2 layut outside label not used not used last paper movement type not used cool down state print incomplete stopped on a label gap !S3 not used label stock not used internal print button active not used operating parameters error invalid barcode/2D code specified not used Page 80
PROGRAMMER’S REFERENCE MANUAL Apendix C, Quick Reference Guide !S4 not used printer restarted not used internal print button active head lifted out of ribbon (TT models only) label not removed (LTS) out of paper !S8 PHD board installed Black mark photocell Cutter installed I2C-board installed LTS installed not used not used not used Page 81
PROGRAMMER’S REFERENCE MANUAL Apendix C, Quick Reference Guide Service Commands !V9 Software revision level !V11 Software date !V12 Label count !V13 Available dynamic RAM (bytes) !V15 Total paper feed (mm) !V16 PROM number !V17 Total paper feed !V19 Free file system size (bytes) !V20 Set time (Ex: !V20 14:30:00) !V21 Set date (Ex: !V21 94-02-17) !V22 Get date and time !V23 Get bitmap font name by logical number !V24 Get logo information by name !V25 Get logo information by number
PROGRAMMER’S REFERENCE MANUAL Apendix C, Quick Reference Guide !V103 Get network IP mask !V104 Set network host name !V105 Get network host name !V106 Set domain name !V107 Get domain name !V108 Get DHCP info (IP address, IP mask, gateway) !V109 Get MAC address !V110 Set network default gateway !V111 Get network default gateway !V114 Get RF tag serial no !V115 Set terminal client login script !V116 Get terminal client login script !V117 Get active communications port !V120 Get pr
PROGRAMMER’S REFERENCE MANUAL Apendix C, Quick Reference Guide Printer configuration !Y2 Print speed (mm/s) !Y3 Barcode speed (mm/s) !Y4 Blank feed speed (mm/s) !Y5 Print head type !Y6 Dots per mm !Y7 Motor steps per mm (24) !Y8 Dots on head !Y9 Dot mode (0 = XOR, 1= OR) !Y10 Manufacturing date (year and week) !Y16 Force DT (off, on) !Y20 Threshold level for photosensor (=2, ...,12) !Y21 Current level to photosensor !Y23 1 Max.
PROGRAMMER’S REFERENCE MANUAL Apendix C, Quick Reference Guide !Y50 Silent mode (disable, enable) !Y55 Get type of applicator !Y62 Serial number year, two digits !Y63 Serial number !Y66 Enable application (disable, enable) !Y67 Printkey mode (normal, disabled, trigged) !Y68 Horizontal print position adjustment !Y69 Vertical print position adjustment !Y72 - 79 Map physical font to logical number !Y89 Allow command character anywhere on the line !Y92 Stacked printers mode (daisy chaining
PROGRAMMER’S REFERENCE MANUAL Apendix C, Quick Reference Guide !Y185 Best-before date update day !Y186 Best-before date truncation day Page 86
PROGRAMMER’S REFERENCE MANUAL Apendix C, Quick Reference Guide Bar code symbologies 1–7 2 of 5 Interleaved – ratios 2:1, 3:1, 5:2, 8:3, 13:5, 11:4, 7:3 11 - 17 Code 39 – ratios 2:1, 3:1, 5:2, 8:3, 13:5, 11:4, 7:3 21 - 27 USS Codabar – ratios 2:1, 3:1, 5:2, 8:3, 13:5, 11:4, 7:3 31 UPC-A 32 EAN 13 33 EAN 8 34 UPC-E 35 EAN/UPC extension code (2 or 5 digits) 41 Code 128 43 EAN 128 51 - 57 ITF 14 – ratios 2:1, 3:1, 5:2, 8:3, 13:5, 11:4, 7:3 61 PDF 417 64 RSS-14, RSS-14 Truncated 67 RS
PROGRAMMER’S REFERENCE MANUAL Print Example Print Example Example 1a - The shoe example In the following example we use the “shoe example” on page 5. Clear layout. Note! If this field is omitted, the new layout fields will be added the previos fields. !C !Y24 40 The Y commands are used to change the printers settings, like label length, current character set. !Y35 1 Add text fields to the layout. !Y42 1 !Y102 3 !F T S 450 1000 L 2 1 2 "TESTLABEL" !F T S 350 1000 L 1 1 2 "PRICE: 65.
PROGRAMMER’S REFERENCE MANUAL Print Example Example 1b - The shoe example with variables Clear layout. Note! If this field is omitted, the new layout fields will be added the previos layout. !C The Y commands are used to change the printers settings, like label length, current character set. !Y24 40 !Y35 1 Add text fields to the layout. Using variable 1 and 2.
PROGRAMMER’S REFERENCE MANUAL Index F 2 2 of 5 Interleaved ............. See - Barcodes - Fonts........................................................48 G B Bar code field .......................................... 15 Bar code interpretation............................ 19 Barcodes 2 of 5 Interleaved ....................................... 16 Code 128 ............................................. 17, 22 Code 39 ..................................................... 16 EAN 128...........................
PROGRAMMER’S REFERENCE MANUAL Index U V UPC-A..................................................... 17 UPC-E.............................. See - Barcodes USD-5 dot code ....................See Barcodes USS Codabar................... See - Barcodes - Variables............................................11, 31 Changing a single variable ........................ 32 Clearing variable information ..................... 32 X XON/XOFF ..............................................