® iTherm 280 International Version Programmer’s Guide PN 28-07764, Rev C April 2009
This page intentionally left blank
Change History Rev A Initial Release Rev B Added Periodic status back Added user defined code page description.
Federal Communications Commission Radio Frequency Interference Statement ® The iTherm 280 Printer complies with the limits for a Class A computing device in accordance with the specifications in Part 15 of FCC rules. These regulations are designed to minimize radio frequency interference during installation; however, there is no guarantee that radio or television interference will not occur during any particular installation.
Disclaimer NOTICE TO ALL PERSONS RECEIVING THIS DOCUMENT: The information in this document is subject to change without notice. No part of this document may be reproduced, stored or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of TransAct Technologies, Inc. ("TransAct"). This document is the property of and contains information that is both confidential and proprietary to TransAct.
Table of Contents Change History ............................................................................................................... 1 Federal Communications Commission Radio Frequency Interference Statement ........... 2 Canadian Department of Communications Radio Interference Statement ....................... 2 Regulatory Compliance ................................................................................................... 2 Disclaimer ..................................................
Ethernet 10-Base-T adapter .................................................................................. 32 802.11b Wireless Interface .................................................................................... 32 Cash Drawer ......................................................................................................... 33 Interface Description ............................................................................................. 33 Cash Drawer Pin Assignments ................
Configuring Your iTherm® 280 Printer ........... 63 Configuration Mode Overview ....................................................................................... 65 Most Frequent Configuration Incompatibilities ....................................................... 65 How to Change Configuration Settings ......................................................................... 65 Entering into Configuration Mode ..........................................................................
Character Commands ................................................................................................. 193 Panel Button Commands ............................................................................................ 202 Paper Sensor Commands ........................................................................................... 203 Print Position Commands............................................................................................ 205 Bit-Image Commands ...............
File System .................................................. 281 File System Interface .................................................................................................. 283 File System commands ....................................................................................... 283 ® iTherm 280 Extended Printer Control ......... 289 Communications .......................................... 297 Protocol and Print Buffers .................................................................
Index ........................................................... 343 Figures Figure 1 Receipt Printing, Tear off Position .................................................................. 28 Figure 2 Cash Drawer Pin Definitions ........................................................................... 33 Figure 3 Cash Drawer Selection.................................................................................... 40 Figure 4 3-pin mini DIN plug.........................................................
Table 14 Paper Sensor Commands ............................................................................ 165 Table 15 Paper Sensor Commands ............................................................................ 166 Table 16 Supported TM-T90 Commands .................................................................... 185 Table 17 Undocumented TM-T90 Commands............................................................. 186 Table 18 Supported EPOS Commands.............................................
chapter 1 Introducing your iTherm® 280 Printer 28-07764 Rev C Page 11
This page intentionally left blank Page 12 Rev C 28-07764
iTherm® 280 Programmer’s Guide About Your iTherm® 280 Printer About your iTherm® 280 Printer The Ithaca iTherm® 280 printer represents the very latest technology for use for thermal receipt printing for point-of-sale and retail environments.
About Your iTherm® 280 Printer iTherm® 280 Programmer’s Guide Who Should Read This Guide? This document provides information and programming specifications for operators who will integrate the iTherm® 280 printer into their kitchen operations. What Is Included in This Guide? This Programmer’s Guide includes information on the features and programming interface of the iTherm® 280 printer.
iTherm® 280 Programmer’s Guide About Your iTherm® 280 Printer Technical and Sales support Your Ithaca printer is backed by the resources of TransAct Technologies, a global technology firm with dedicated technical support and sales assistance. Here is how we can help you: On-line Technical Support Our web site at www.transact-tech.com is your on-line portal to obtaining technical assistance with your Ithaca printer.
About Your iTherm® 280 Printer iTherm® 280 Programmer’s Guide Return Materials Authorization and Return Policies If the technical support person determines that the printer should be serviced at our facility, and you want to return the printer for repair, we will issue you the Returned Materials Authorization (RMA) number that is required before returning the printer. Repairs are warranted for 90 days from the date of repair or for the balance of the original warranty period, whichever is greater.
iTherm® 280 Programmer’s Guide Sales fax Technical Support fax Web site 28-07764 About Your iTherm® 280 Printer (607) 257-3868 (607) 257-3911 www.transact-tech.
chapter 2 iTherm® 280 Specifications and Requirements 28-07764 Rev C Page 19
This page intentionally left blank Page 20 Rev C 28-07764
iTherm® 280 Programmer’s Guide Specifications and Requirements iTherm® 280 Specifications and Requirements iTherm® 280 Thermal Printer Models • • • iTherm® 280-P: parallel interface printer iTherm® 280-S: serial interface printer iTherm® 280-USB: USB interface printer Standard Features The following features are common to the entire family of thermal printers: • • • • • • • • • • • Print Speed for text is 8 inches per second (200 mm/sec) (monochrome) 8.0 inches per second paper feed speed 3.
iTherm® 280 Programmer’s Guide Specifications and Requirements • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • CPI selections from 8 to 30 CPI1 Paper Out sensor Multiple printer emulations: Ithaca PcOS and Epson Extended, Maximum 8K buffer (adjustable) 2 Megabytes Flash Memory 2 Megabytes RAM APA and Epson graphics Bar Codes: Code 39, Code 93, Code 128, Interleaved 2 of 5, UPC-A, UPCE, EAN-8, EAN-13, EAN-14, PDF417 stacked symbology and Codabar WGL4.0 Character set.
iTherm® 280 Programmer’s Guide Specifications and Requirements Optional Features The following options are available on some of the models: • • • • • • Vertical Wall Mount Kit Adjustable paper low OCR TrueType font Chinese GB18030 Font.
iTherm® 280 Programmer’s Guide Specifications and Requirements General Specifications Printing Specifications Printing method: Vertical/Horizontal dot pitch: Resolution: Line feed pitch: Print zone (maximum) Print speed (monochrome): Print Speed (two color): Number of print elements: Thermal Sensitive Line Dot System 0.125 mm. 8 dots per mm (203 DPI) 3.2 mm. (.125 inches) 80 mm (3.
iTherm® 280 Programmer’s Guide Specifications and Requirements Max Dimensions Dimensions in inches W 6.25 D 8.50 H 5.87 Weight Approximate weight: Shipping weight: 28-07764 4.6 lb. 6.0 lb.
iTherm® 280 Programmer’s Guide Specifications and Requirements Electrical Characteristics Internal AC Powered The iTherm® 280 Printer is designed to be AC self-powered in domestic and international markets. The printer is equipped with a universal input power supply that is designed to operate worldwide without modification. Supply Voltage Rating (VAC) 100-240 Supply Voltage Range (VAC) 90-264 Frequency (Hz) Rated Power (watts) 47 – 63 45 Idle Current (amps) .1A @ 120VAC .
iTherm® 280 Programmer’s Guide • Specifications and Requirements Once narrow paper has been used, some part of the print head always contacts the platen. If 80 mm. paper is used after setting up and running 58 mm. paper, the head or the cutter blade may be worn out. Never change the paper width from narrow to wide (58 to 80 mm.) once you set the paper width to narrow (58 mm.).
iTherm® 280 Programmer’s Guide Specifications and Requirements • Use only specified thermal paper. If other paper is used, print quality, head life, and cutter life may deteriorate. Paper Out A receipt paper out sensor is provided as a standard feature. It senses when there is approximately .5 inches length of paper left on the paper roll. Paper Low A receipt paper-low sensor is provided as an optional feature.
iTherm® 280 Programmer’s Guide Specifications and Requirements Receipt Printing, Auto Cutter Position A receipt auto-cutter is a standard feature with all iTherm™ 280 Printers. Cutter type Rotary Media width 3.13 +/- .02 inches (79.5 +/- .5 mm) Media thickness range 0.0025 to 0.0035 inch Cut to line of print 0.70 inch Cutter life 1,000,000 cuts Partial Cut tab: .125 inches +/- .0625 inches (right edge of receipt) Cut time: Less than 350 milliseconds Buzzer A buzzer is provided as a standard feature.
iTherm® 280 Programmer’s Guide Specifications and Requirements Communications Interface Parallel Interface Your printer features two parallel interfaces: • • An IEEE 1284-A 25-pin, D-shell connector, with pin-outs that interface to a standard IBM PC parallel printer interface with a one-to-one cable. An IEEE 1284-B, which is a standard Centronics 36-pin connector. Both interface cards provide a dual cash drawer interface. The following table lists interface signals and corresponding pins.
iTherm® 280 Programmer’s Guide Specifications and Requirements RS-232 Serial Interface Serial Port Features The serial port features are as follows: Baud Rates Bit Patterns Flow Control 9-pin Pin 1 Pin 2 Pin 3 Pin 4 Pin 5 Pin 6 Pin 7 Pin 8 Pin 9 300, 600, 1200, 2400, 4800, 9600, 19.2K, 38.4K, and 57.
iTherm® 280 Programmer’s Guide Specifications and Requirements 1 Vbus (+5 V dc) (Not used in the iTherm® 280) 2 Minus data 3 Plus data 4 Ground Note: The standard USB interface does not have enough power to run the printer. Ethernet 10-Base-T adapter An IP addressable 10-Base-T Ethernet adapter is available for the iTherm® 280 printer. It provides for web page configuration and supports bi-directional RAW and Telnet interfaces.
iTherm® 280 Programmer’s Guide Specifications and Requirements Cash Drawer Interface Description The iTherm® 280 Printer supports a single cash drawer with status. The driver in the printer is capable of supplying 24 V DC at up to 1.5 amps for up to 250 milliseconds. The iTherm® 280 Printer defines cash drawer closed as switch open. If the drawer is disconnected, it will be viewed by the printer as closed.
iTherm® 280 Programmer’s Guide Specifications and Requirements Pin Number 1 2 3 4 5 6 Ithaca Signal Name Frame ground Drawer kickout drive signal 1 Drawer open/close signal +24V DC Drawer kickout drive signal 2 Signal Ground Direction Output Sink Drive Input Output Sink Drive Epson Signal Name Drawer kickout drive signal 2 Drawer open/close signal Signal ground +24V DC Drawer kickout drive signal 1 Frame Ground Direction Output Sink Drive Input Output Sink Drive Star Signal Name Frame ground
iTherm® 280 Programmer’s Guide Specifications and Requirements Vertical Wall Mount Kit Option A kit is available as an add-on option that allows the iTherm® 280 printer to be vertically mounted to a wall. It is comprised of a metal mounting bracket that attaches to the base of the printer with two M6 thread-cutting screws. Additional hardware is required to mount the bracket to the wall.
chapter 3 Setup Procedures 28-07764 Rev C Page 37
This page intentionally left blank Page 38 Rev C 28-07764
iTherm® 280 Programmer’s Guide Setup Procedures Verifying the Configuration Before you install an iTherm® 280 Printer into your system, you should verify that the printer is configured as required by your system. There are four parts to this verification process. 1. 2. 3. 4. Verify that the communications interface card is the correct one. Verify that the cash drawer interface is configured correctly. Verify that the power connection is correct.
iTherm® 280 Programmer’s Guide Setup Procedures Cash Drawer Configuration Verify the Cash Drawer Interface The printer is shipped from the factory with a cash drawer interface label on the bottom of the printer. You should always verify that the cash drawer you are using matches the printer’s cash drawer interface label. If there is no cash drawer label, you should remove the communications interface card and verify the setting. See "Configuring the Cash Drawer Interface" on page 40 .
iTherm® 280 Programmer’s Guide Setup Procedures Installing Cables Three cables are required to be connected to the printer. 1. Power 2. Communications 3. Cash Drawer Connecting power The iTherm® 280 Printer is generally supplied with a built-in power supply. As an option, the printer is available without a power supply. Internal Supply The internal supply connects to an outside power source with a standard two wire power cord.
iTherm® 280 Programmer’s Guide Setup Procedures External Supply If an external supply is used a 3 pin mini DIN plug is provided for the external 24 Volt supply. Earth Ground +24 Vo lt Supply Ground (+24 V dc) Figure 4 3-pin mini DIN plug Connecting Communications Cables The iTherm® 280 has a number of different communications interfaces. Serial The serial interface connector is either a 9-pin or 25-pin mail D shell interface.
iTherm® 280 Programmer’s Guide Setup Procedures USB The USB connector can be one of two types: a standard Type B connector, as in commonly used in the PC industry, or a POS Powered USB connector. In the case of the powered USB connector, there are a number of different versions. Make sure you are using a 24 volt DC version, and the 24 volt supply meets the requirements of the iTherm® 280 printer and any cash drawer that is connected to the printer. A powered USB interface is a special order option.
iTherm® 280 Programmer’s Guide Setup Procedures Printer Drivers and Printer Controls Definitions for terms you will see in this guide: OS – The Operating System, which is the operating software underlying a computer system. Examples of OS’s include Microsoft Windows® (9x/Me/2000/XP), Linux, Unix, and OS2. Application - A software program that a person uses to perform a function, such as a point of sale (POS) application. Also referred to as a program.
iTherm® 280 Programmer’s Guide Setup Procedures Getting Started – Questions to Ask Most driver software for TransAct Technologies printers fall into one of three main categories: • They support or emulate a specific type of communications port – for example, a USB port driver, or a driver to emulate a serial port via an Ethernet interface. • They support the industry standard OPOS (OLE Point of Sale) interface for point of sale printer applications.
iTherm® 280 Programmer’s Guide Setup Procedures Are you using OPOS (UnifiedPOS/UPOS)? If you are using an application that is written to interface with the OPOS (OLE Point of Sale) standard, then the TransAct Technologies OPOS driver will allow you to communicate with most TransAct Technologies printers. The OPOS driver provides the mechanisms to print in all of the print modes supported by the printer. Note: The TransAct Technologies OPOS driver only supports Microsoft Windows operating systems.
iTherm® 280 Programmer’s Guide Setup Procedures Windows Printer Driver A Windows printer driver is a specific type of driver defined by Microsoft that the OS uses to translate drawing commands by a Windows application to a specific printer’s command set. A standard Windows printer driver is a graphics page mode driver, and is not a POS (point of sale) driver.
iTherm® 280 Programmer’s Guide Setup Procedures OPOS driver An OPOS driver is an implementation of the UnifiedPOS (UPOS) specification. It provides an application interface for retail devices such as a POS printer, scanner, cash drawer, pole display, MICR, scale, or others.
iTherm® 280 Programmer’s Guide Setup Procedures USB driver A USB driver is a low level device driver, required for USB communication with the printers. It is a Windows Plug and Play driver and needs to be installed for USB printers, when the printer is initially plugged into the system. Window’s Operating System OPOS Driver USB Interface USB Driver USB PRINTER USB Interface Windows Driver Windows Print App.
iTherm® 280 Programmer’s Guide Setup Procedures Ethernet Virtual Serial driver A VSerial driver is a low level device driver, which appears to Windows and your application as a serial com port. However, all of the data sent to and received from the serial com port actually comes from the Ethernet printer.
iTherm® 280 Programmer’s Guide Setup Procedures POSPrinter ActiveX Control (POSPrinter OCX) This is not a driver; but rather a software component that provides a connection from an application to a port driver. This allows an application to communicate “directly” with a printer. This approach allows an application to send commands to the printer if desired, similar to the legacy DOS approach once used to communicate with a POS printer. PC Hardware Window’s Operating System POS Application POSPrinter.
iTherm® 280 Programmer’s Guide Setup Procedures Where to get more information Additional information about Driver and support programs are available for your Transact Sales representative, from Transact customer support or from the TransAct Technologies Web site.
chapter 4 How to Operate the iTherm® 280 Printer 28-07764 Rev C Page 53
This page intentionally left blank Page 54 Rev C 28-07764
How to Operate the ITherm® 280 iTherm® 280 Programmer’s Guide How to Operate the iTherm® 280 Printer Your iTherm® 280 printer contains two buttons and three (LED) indicator lights. In addition to power control and feeding paper, these two buttons can be used to perform functions like self-testing, clearing errors and printer configuration.
How to Operate the ITherm® 280 iTherm® 280 Programmer’s Guide Indicator Lights (LED) The three iTherm® 280 indicator lights are: • • • Power LED Error LED Paper LED Indicates printer activity and non-recoverable errors Indicates problems and probability of recovery Indicates paper status (paper low) Power Indicator (LED) The power indicator lets the user know that the printer is ON.
How to Operate the ITherm® 280 iTherm® 280 Programmer’s Guide Fully-recoverable and Status A fully-recoverable error will restart printing exactly where it stopped when the error occurred. Printing will resume after error has been properly addressed. A status recoverable error is very similar to a fully-recoverable error. Additionally, status is used to display when the printer consumables may need replacing.
How to Operate the ITherm® 280 iTherm® 280 Programmer’s Guide Testing the Printer Overview Using Self-Test, Configuration, and Hex Dump Mode Self-Test Mode allows you to perform a series of tests to show if the printer is functioning correctly. Self-Test Mode also allows you to print a summary of how your iTherm® 280 is currently configured. Use this printout to compare your printer’s settings to your system’s requirements. Specific attention should be given to emulation and communications settings.
How to Operate the ITherm® 280 iTherm® 280 Programmer’s Guide Maintaining the Electronic Journal The iTherm® 280 has an electronic journal option. It is possible to configure the printer with a journal station. This selection allows the information saved in the electronic journal to be printed and maintained by the operator. Operation of this mode will be described later in the manual under Electronic Journal Operation.
How to Operate the ITherm® 280 iTherm® 280 Programmer’s Guide Hex-dump Mode Hex-dump mode is used to diagnose communication problems with the printer. As information is received by the printer, the information is converted to a Hex/ASCII format and printed. No translation is made, which means no commands are interpreted. All information is converted to Hex/ASCII and printed on the receipt tape. If a carriage return is sent to the printer, it is translated to 0D in the hexadecimal field and ".
How to Operate the ITherm® 280 iTherm® 280 Programmer’s Guide Level 0 Diagnostics Level 0 diagnostics always and only run at power up, e.g. power being applied. These diagnostics perform the following tasks: Cold Power On 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Basic System Integrity Vector Integrity RAM Test Flash Boot Loader Integrity Flash Firmware Integrity (NOTE: If the firmware is corrupted, the printer will remain in boot load.
chapter 5 Configuring Your iTherm® 280 Printer 28-07764 Rev C Page 63
This page intentionally left blank Page 64 Rev C 28-07764
Configuring Your ITherm® 280 Printer iTherm® 280 Programmer’s Guide Configuration Mode Overview There are two ways to configure the iTherm® 280 printer: the first is to use the manual configuration sequence by using the keypad controls, and the second is to use TransAct’s remote configuration software. TransAct Technologies offers the use of a remote CONFIG program as a fast, easy way for system integrators to configure or reconfigure your iTherm® 280 printer.
Configuring Your ITherm® 280 Printer iTherm® 280 Programmer’s Guide Using Configuration Mode The Feed button is used to select and change configuration setting. By pressing and releasing the Feed button, the parameter to be changed can be selected. By pressing and holding the Feed button, the value of the selected parameter will change. The following chart lists some of the potential parameters and their options.
Configuring Your ITherm® 280 Printer Smoothing Paper Width Bar Code Width 10CPI (DC2) ESC v nINIT/ENQ<10> Carriage Return iTherm® 280 Programmer’s Guide Flag for whether scaled characters smoothed. Width of the paper installed. Enabled, Disabled Enabled 80 or 58 mm paper and print zone from 608 to 256 dots 1 to 8 80 mm and 576 dots. Normal, Ignore LF, Ignore CR , Add LF to CR, Add CR to LF, Add to Both, Use CR as Print Normal: Cover open, paper out, and buffer full. Buffer full only. 6, 7.
Configuring Your ITherm® 280 Printer CD ESC BEL Parm.
Configuring Your ITherm® 280 Printer iTherm® 280 Programmer’s Guide Remote Configuration Remote configuration is provided for all printers, and is accessed through a series of extended diagnostic and configuration commands. The TransAct universal configuration program will allow the configuration to be read, edited, and written back to the printer. It will also allow the configuration of one printer to be recorded and replicated over a number of printers.
chapter 6 Programming Codes 28-07764 Rev C Page 71
This page intentionally left blank Page 72 Rev C 28-07764
iTherm® 280 Programmer’s Guide Programming Codes Control Codes Overview This Programmer's Guide is designed to help users of the iTherm® 280 printer develop applications. iTherm® 280 Printers are specialized point-of-sale printers that have several features not normally found on general-purpose printers. Because of these special features, iTherm® 280 Printers have unique control codes. This programmer's guide documents the control codes that are unique to the iTherm® 280 Printer.
iTherm® 280 Programmer’s Guide Programming Codes Standard Emulation The standard control codes for the iTherm® 280 Printer are extensions and subsets of the PcOS IBM emulation provided on other Ithaca® products. In some cases, an application designed for a Series 50 Printer with IBM code sets will function with a iTherm® 280 Printer. IPCL Codes Ithaca® Printer Control Language (IPCL) codes are part of PcOS and designed to control a printer without using control characters (i.e. characters less than 20H).
iTherm® 280 Programmer’s Guide Programming Codes how the printer works, including a description of the internal print buffer, communications link, and interaction between the host computer and printer. Ithaca Control Codes and Commands Throughout this Programmer's Guide, charts and tables list commands and features. In most cases, the charts cross-reference the page that describes the command. Code summary charts, arranged by code and function, are provided to help quickly find commands.
iTherm® 280 Programmer’s Guide Programming Codes Quick PcOS Reference Chart Description Low Level paper Motion Line feed. Carriage return. Horizontal Motion Back space. Horizontal tab. Set horizontal tab stops. Set horizontal position. Set justification. n=0 Left n=1 Center n=2 Right n=8 Left (No line feed) n=9 Center (No line feed) n=10 Right (No line feed) Reset horizontal and vertical tab stops. Set left/right print margins.
iTherm® 280 Programmer’s Guide Programming Codes Description ASCII Hex Reverse line feed. [ESC] ] 1BH,5DH Character Pitch Set character spacing in points [ESC]+I None 276 Set character spacing in ¼ points [ESC]+i None 277 Set character spacing in points with adjustment Set character spacing in ¼ points with adjustment Begin 10 CPI character pitch. Begin 12 CPI character pitch. Begin 17 CPI character pitch. Set character pitch.
iTherm® 280 Programmer’s Guide Programming Codes Description ASCII Hex Print control character.
iTherm® 280 Programmer’s Guide Programming Codes Description ASCII Hex Process horizontal graphics data. [ESC] h [ESC] * <0> <0> 1BH,68H IPCL equivalent code none 1BH,2AH none 128 132 &%UF 135 &%UQ <0> &%UQ <0> &%GP 136 Start macro record. [ESC] g <1> &%GS 138 Stop macro record. [ESC] g <2> &%GE 138 Stop macro record and save.
iTherm® 280 Programmer’s Guide Programming Codes Description ASCII Hex IPCL equivalent code none Page Initiate Unicode UTF-16BE encoding [ESC] + H 1BH 2BH 48H Initiate Unicode UTF-16LE encoding [ESC] + L 1BH 2BH 4CH none 271 Initiate Unicode UTF-8 encoding (MBCS) [ESC] + M 1BH 2BH 4DH none 271 Initiate Unicode UTF-8 Text only encoding (MBCS) Initiate normal 8-bit ASCII character encoding File System Commands Open File [ESC] + T 1BH 2BH 54H none 272 [ESC] + A 1BH 2BH 41H none 272
iTherm® 280 Programmer’s Guide Programming Codes Description ASCII Hex Set left/right margins. n1 = Left margin n2 = Right margin Clear print buffer. Query marker. Open cash drawer. n=1 Cash Drawer 1 n=2 Cash Drawer 2 [ESC] X 1BH,58H IPCL equivalent code none Page [CAN] 18H &%RP 162 [ESC] q 1BH,71H none 162 [ESC] x 1BH,78H &%D1 {n=1} &%D2 {n=2} 163 Perform Auto Cut Audio alert. Configure audio alert.
iTherm® 280 Programmer’s Guide Programming Codes Low Level Paper Motion Control Print/Paper Motion [CR] Carriage return ASCII Hexadecimal Decimal IPCL EPOS [CR] 0DH <13> &%CR 0DH Description The [CR] command prints the contents of the print buffer (if any) and resets the next character print position to the left margin. A line feed is not performed unless auto-feed is active. The print rotation direction and the left margin command define the left margin.
iTherm® 280 Programmer’s Guide Programming Codes Horizontal Motion Control Several commands can be used to control the horizontal position of characters. Many applications use space control to position fields. However, the iTherm® 280 Printer has the ability to control character position with horizontal tab stops. This is done using the horizontal tab [HT] to move to those tab stops.
iTherm® 280 Programmer’s Guide Programming Codes [ESC] R Reset horizontal and vertical tab stops ASCII Hexadecimal Decimal IPCL EPOS [ESC] R 1BH 52H <27> <82> &%HV none Description The [ESC] R command resets horizontal and vertical tab stops to the power up configuration. The power up horizontal default is every eight spaces, i.e., 9, 17, 25, and so on. The vertical default is every line.
iTherm® 280 Programmer’s Guide Programming Codes Vertical Motion Control [ESC] j Perform a fine line feed ASCII Hexadecimal Decimal IPCL EPOS [ESC] J 1BH 4AH <27> <74> &%FM [ESC] J Description The [ESC] J command prints the contents of the buffer and performs a line feed of n/216 inch. The default line spacing value is not changed. The next character print position is reset to the left margin if the Auto-CR mode is set.
iTherm® 280 Programmer’s Guide Programming Codes [ESC] 0 Set line spacing to 1/8 inch ASCII Hexadecimal Decimal IPCL EPOS [ESC] 0 1BH 30H <27> <48> &%ST [ESC] 2 Description The [ESC] 0 command sets the default line spacing to 1/8 inch (27/216 inch), which is the standard eight lines per inch line spacing at initial power-up. Note: In EPOS mode, the command sets 1/6-inch spacing or six lines per inch.
iTherm® 280 Programmer’s Guide Programming Codes [ESC] 2 Enable [ESC] A variable line spacing ASCII Hexadecimal Decimal IPCL EPOS [ESC] 2 1BH 32H <27> <50> none none Description The [ESC] 2 command is a companion to the [ESC] A command and puts the specified line spacing into effect. It remains in effect until another line spacing command is issued.
iTherm® 280 Programmer’s Guide Programming Codes [VT] Vertical tab ASCII Hexadecimal Decimal IPCL EPOS [VT] 0BH <11> &%VT (VT) Description The printer sets a line counter to the top of the form at reset and when a set top of form command is issued. By setting vertical tab stops, various form positions can be reached with a [VT] operation. [ESC] B Set vertical tab stops ASCII Hexadecimal Decimal IPCL EPOS [ESC] B ... 0 1BH 42H ...
iTherm® 280 Programmer’s Guide Programming Codes [FF] Form feed ASCII Hexadecimal Decimal IPCL EPOS [FF] 0CH <12> &%FF none Description The [FF] command performs a form feed to the top of the form. Note: The form feed command can be disabled. Set the form length to zero. [ESC] 4 Set top of form ASCII Hexadecimal Decimal IPCL EPOS [ESC] 4 1BH 34H <27> <52> &%TF [ESC] L Description The [ESC] 4 command sets the top of form to the current position.
iTherm® 280 Programmer’s Guide Programming Codes [ESC] 5 Begin auto line feed ASCII Hexadecimal Decimal IPCL IPCL EPOS [ESC] 5 1BH 35H <27> <53> &%MA (Begin) &%CA (End) none Description The [ESC] 5 <1> command sets auto line feed mode. command ends auto line feed mode. [ESC] 5 <0> Note: The begin and end auto line feed command overrides the configuration setting.
iTherm® 280 Programmer’s Guide Programming Codes Feed to Black Dot An option for the iTherm® 280 is a black dot sensor. This command is supported by a feed to black dot command. Note: This is a special order option, and requires an additional sensor and modified firmware. It is not possible to field retrofit a standard iTherm® 280 with a black dot sensor.
iTherm® 280 Programmer’s Guide Programming Codes 0.8 (.20) to first line of print n/203 (n/8) Cut to Center of black dot m/203 (m/8) Dot Width Back of Ticket Dimensions in Inches (mm) Note: This command interacts with the Feed to Black Dot command. If the Black Dot paper Option is set, the black dot position specified by this command will be used for the Cover Close operation.
iTherm® 280 Programmer’s Guide Programming Codes Character Pitch Character pitch commands that set specific characters per inch (cpi) disable any rightside spacing set by the [ESC] V command. In addition, when font changes are made, the character pitch is maintained. [DC2] Begin 10 cpi character pitch ASCII Hexadecimal Decimal IPCL EPOS [DC2] 12H <18> &%F3 [ESC][SP] Description The [DC2] command sets 9.905 characters per inch print pitch.
iTherm® 280 Programmer’s Guide Programming Codes [ESC] [ P Set character pitch ASCII Hexadecimal Decimal IPCL EPOS [ESC] [ P 1BH 5BH 50H <27> <91> <80> &%F1, &%F2, &%F3, &%F4, &%F5, &%F6, &%F7 [ESC] [SP] Description The [ESC] [ P command sets character per inch print pitch to . The printer resolution limits the exact print pitch. The following table lists the exact pitch for various values on . 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Resulting Characters per Inch 1.00 2.
iTherm® 280 Programmer’s Guide Programming Codes [ESC] V Set inter-character spacing Mode ASCII Hexadecimal Decimal IPCL EPOS Global [ESC] V 1BH 56H <27> <86> none [ESC] [SP] Description The [ESC] V command sets inter-character spacing by adding white space between characters. The value of sets the spacing in 216ths of an inch. The printer can only set the spacing in 208ths of an inch and converts 216ths to the nearest 208th of an inch.
iTherm® 280 Programmer’s Guide Programming Codes Character Font [ESC] # Begin 12 x 12 draft print mode ASCII Hexadecimal Decimal IPCL EPOS [ESC] # <0> 1BH 23H 00H <27> <35> <0> &%QT [ESC] ! Description The [ESC] # <0> command begins 12 x 12 draft print mode. Draft print is provided to maintain compatibility with other Ithaca® products.
iTherm® 280 Programmer’s Guide Programming Codes [ESC] P Begin rotated font/Right to left entry ASCII Hexadecimal Decimal IPCL &%RF {n=1} &%RN {n=0} EPOS [ESC] P 1BH 50H <27> <80> &%RI {n=2} Description The [ESC] P command sets the print font to a rotated 90° or 270° font.
iTherm® 280 Programmer’s Guide Programming Codes Character Sets and Code Pages The iTherm® 280 Printer is primarily intended to be used in Unicode based systems. However to provide legacy support, the printer supports 8 bit and double byte ASCII encoding with code pages. When not using Unicode or double byte encoding, the printer is restricted to the 8 bit ASCII character set.
iTherm® 280 Programmer’s Guide Programming Codes ... or SYMBOL SET = WE /name = Windows 3.1 Latin 2 /pcl char = E ... /symbols = 32 0x0020 ; Space Code, Prntabl Thin Space 33 0x0021 ; Exclamation 34 0x0022 ; Neutral Double Quote 5 0x0023 ; Number 36 0x0024 ; Dollar ... or \Language = USA \Code Page = 437 0x00 0x0000 ;0 NULL 0x01 0x263A ; 9786 WHITE SMILE 0x02 0x263B ; 9787 BLACK SMILE 0x03 0x2665 ; 9829 BLACK HART SUIT 0x04 0x2666 ; 9830 BLACK DIAMOND SUIT 0x05 0x2663 ; 9827 BLACK CLUB SUIT ...
iTherm® 280 Programmer’s Guide Programming Codes Double-Byte and Multi-Byte Code Page Description Files In ASCII mode the iTherm® 280 Printer supports double byte code pages. Currently there are 4 double-byte codepages available and one multi-byte. Double Byte code pages available are: Code page 932, 936, 949 and 950 Multi-byte code page available are GB18030-2000. These code pages require an appropriate Unicode font be loaded that support all the characters in the requested code page.
iTherm® 280 Programmer’s Guide Programming Codes To allow other code pages to be created by an application, a redefine character set command is provided. As discussed above, there are two commands for language selection in IBM mode. The first is [ESC] !, which selects one of 19 international character sets. The [ESC] ! command does not allow all of the possible character sets to be selected, it is provided for compatibility with older programs only. The second is [ESC] [ T, which selects any code page.
iTherm® 280 Programmer’s Guide Programming Codes Note: The code page field is a 16-bit field that is a function of the code page numbers and , e.g. ( * 256) +. For example, 1 * 256 + 181 = 437. For the IPCL command, the page is specified in ASCII as a 4-byte field. Note: If the code page is not found in the internal translation, the code page requested is translated into a code page file name and if a user defined file is found, it will be used as the code page definition.
iTherm® 280 Programmer’s Guide Programming Codes ASCII Hexadecimal Decimal IPCL ESC] [ C 1BH 5BH 43H <27> <91> <67> &%EU Description The [ESC] [ C command allows an application to replace any character in the currently active character set with the Euro character. The character to be replaced is defined by .
iTherm® 280 Programmer’s Guide Programming Codes [ESC] [ S Redefine character set ASCII [ESC] [ S … Hexadecimal 1BH 5BH 53H … Decimal <27> <91> <83> … IPCL none Description The [ESC] [ S … command allows an application to replace or redefine the active character set mapping in the printer, where defines the total length of the following data: + 256 * = 1 + 2 * the to
iTherm® 280 Programmer’s Guide Programming Codes [ESC] = Define user-defined characters ASCII Hexadecimal Decimal Range [ESC] = [ … d(y x x1)] … [ … d (y x xk)] 1BH 3DH … <27> <51> … y = 2 or 3 32 ≤ c1 ≤ c2 ≤ 126 0 ≤ x ≤ 12 (12 x 12 font) 0 ≤ x ≤ 14 (12 x 14 font) 0 ≤ x ≤ 16 (24 x 16 font) 0 ≤ d1 … d (y x x) ≤ 255 none IPCL Description The [ESC] = [ … d(y x x1)] … [ … d (y x xk)] command defines user-defined characters from chara
iTherm® 280 Programmer’s Guide Programming Codes [ESC] $ Cancel user-defined characters ASCII Hexadecimal Decimal IPCL [ESC] $ 1BH 24H <27> <36> none Description The [ESC] $ command removes all user-defined characters from the printer’s memory. After the user-defined characters are canceled, the internal character set is printed.
iTherm® 280 Programmer’s Guide Programming Codes Character Attributes [ESC] c Select color ASCII Hexadecimal Decimal IPCL EPOS [ESC] c 1BH 63H <27> <99> &%CL none Description Where The [ESC] c command selects the print color, and should match the color of the paper installed.
iTherm® 280 Programmer’s Guide Programming Codes [ESC] _ Enable/Disable Strike Through ASCII Hexadecimal Decimal IPCL IPCL EPOS [ESC] _ 1BH 5FH 01H <27> <95> &%MO (Begin) &%CO (End) [ESC] ! Description The [ESC] _ <1> command begins strike through print mode. All subsequent text, leading spaces, and trailing spaces are over-scored. [ESC] _ <0> ends the mode.
iTherm® 280 Programmer’s Guide Programming Codes [ESC] [ @ Set print style: double-wide, double-high, italic control ASCII Hexadecimal Decimal IPCL [ESC] [ @ [EOT] [NUL] [NUL] 1BH 5BH 40H 04H 00H 00H <27> <91> <64> <04> <0> <0> &%DH Double-high, double-wide, and double-space &%SH Single-high, single-wide, and single-space Also, see [ESC] W above. Description The [ESC] [ @ [EOT] [NUL] [NUL] command sets doublewide, double-high, and italic print mode.
iTherm® 280 Programmer’s Guide Programming Codes [ESC] - Begin underline ASCII Hexadecimal Decimal IPCL IPCL EPOS [ESC] - 1BH 2DH 01H <27> <45> &%MU (Begin) &%CU (End) [ESC] ! Description The [ESC] - <1> command begins underline print mode. All subsequent text, leading spaces, and trailing spaces are underlined. [ESC] - <0> ends the mode. Note: In EPOS mode, [ESC] ! performs a similar function; however, near letter quality (NLQ) is not available.
iTherm® 280 Programmer’s Guide Programming Codes [ESC] F End emphasized print mode ASCII Hexadecimal Decimal IPCL EPOS [ESC] F 1BH 46H <27> <70> &%CM [ESC] E <0> Description The [ESC] F command cancels emphasized print mode. [ESC] S <0> Select superscript ASCII Hexadecimal Decimal IPCL EPOS [ESC] S <0> 1BH 53H 00H <27> <83> <0> &%SP none Description The [ESC] S <0> command selects superscript. The following characters are printed half size on the upper side of the print line.
iTherm® 280 Programmer’s Guide Programming Codes [ESC] % G Begin italics ASCII Hexadecimal Decimal IPCL EPOS [ESC] % G 1BH 25H 47H <27> <37> <71> &%MI [ESC] 4 Description The [ESC] % G command begins italic print mode. Note: Italics are not available in all print modes. [ESC] % H End italics ASCII Hexadecimal Decimal IPCL EPOS [ESC] % H 1BH 25H 48H <27> <37> <72> &%CI [ESC] 5 Description The [ESC] % H command ends italic print mode.
iTherm® 280 Programmer’s Guide Programming Codes Page Mode The iTherm® 280i supports two operational modes, standard and page mode. In standard mode, as a line of text is received it is buffered and printed when the line feed is received. In page mode the printer waits for a complete “page” (a number of lines) to be received before printing the complete page. The advantage of page mode is that text and/or graphics can be placed anywhere on the page, in any order, and in any of 4 orientations.
iTherm® 280 Programmer’s Guide Programming Codes Receipt or Inserted Form B>>>>> D>>>>> A>>>>> Initial entry location C>>>>> Figure 10 Page Mode Entry Orientations The [ESC] u command wet the maximum page dimensions. Note that these dimensions are always based on 0 degree rotation. Enter text and/or graphics as required. Auto-cutter and page mode You may embed an auto-cutter command with in a page definition.
iTherm® 280 Programmer’s Guide ASCII Hexadecimal Decimal IPCL EPOS Description Programming Codes [ESC] t or [ESC] [SUB] t 1BH 74H or 1BH 1AH 74H <27><116> or <27><26><116> &%PM [ESC] L This command activates page mode and sets the orientation. This command may also be issued during page definition. When issued in page mode it resets the orientation and entry position, but does not cause the currently defined image to be erased or printed.
iTherm® 280 Programmer’s Guide Programming Codes station select Electronic journal entries Status requests Printer initialize command Set top of form Yes Yes Yes Vertical tab No Macro definitions No No cannot store page mode images in the electronic journal. A page mode command in journal station mode will exit journal mode. You can make journal entries as part of a page description. They are saved as text and not part of the page. The status is returned during definition.
iTherm® 280 Programmer’s Guide Programming Codes smaller windows within the initially defined page. If the Set page size command is not used, the page size will default to the maximum size. The orientation of the set print area command is always based on 0 degrees regardless of the current orientation setting. This includes if the command is sent before the start page mode command, after the start page mode command, or as a sub-page. Note: The maximum printable area in the x direction is 576/203 or 3.
iTherm® 280 Programmer’s Guide Programming Codes Previous cut edge Cut to print offset 0.7 in or 18mm Start of page definition Max width is 576 dots Cut point is after bottom most print data.
iTherm® 280 Programmer’s Guide Function ASCII Hexadecimal Decimal IPCL EPOS Description Programming Codes Set Printed Area in Page Mode Enhanced [ESC] [SUB] W << HL> 1BH 1AH 57H << HL> <27><26><87><< HL> None [ESC] W This command is similar Set Print Area in Page Mode command above, however it will force the complete page to be printer rather than only what is used.
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Hexadecimal Decimal IPCL EPOS Description Set Print Area in Page Mode Legacy Support Command [ESC] u
< HL> 1BH 75H < HL> <27><117>< HL> &%PS<0000> [ESC] W This command Sets the position and size of the printing initial area in page mode and sub pages.
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Hexadecimal Decimal IPCL EPOS Description Set Page Mode Entry Position [ESC] [SUB] A 1BH 1AH 41H <27><26><65> &%PY [ESC] W This command sets the horizontal and vertical entry position to anywhere on the page. It is only valid in page mode. If the value specified is beyond the page boundary, the command is ignored.
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Hexadecimal Decimal IPCL EPOS Description Set Page Mode Entry Position Legacy Support [ESC] o 1BH 6FH <27><111> None [ESC] W This command sets the horizontal and vertical entry position to anywhere on the page. It is only valid in page mode. If the value specified is beyond the page boundary, the command is ignored.
iTherm® 280 Programmer’s Guide Programming Codes Graphic Mode The iTherm® 280 Printer conforms to the basic definition of IBM all-points-addressable (APA) graphic commands. It is not designed to print large quantities of graphical data. The printer only prints graphics that are 2.5 inches wide. At this time, there is not a graphics mode for Epson emulation. The iTherm® 280 Printer always prints in one of the native resolutions of 104 x 96, 208 x 96, 104 x 192, or 208 x 192 dpi.
iTherm® 280 Programmer’s Guide Programming Codes ASCII Hexadecimal Decimal IPCL [ESC] Y 1BH 59H <27> <89> none Description The [ESC] Y command prints + 256 * bytes of doubledensity graphics (120 dpi) at full speed with no consecutive dots. (The mode is generally used to print 120h by 144v dpi resolutions in two passes).
iTherm® 280 Programmer’s Guide Programming Codes Hexadecimal 1BH 3FH Decimal <27> <63> IPCL none Description Where The [ESC] ? command reassigns graphic mode to resolution . Possible values for are K, L, Y, or Z.
iTherm® 280 Programmer’s Guide Programming Codes [ESC] U <0> Select bidirectional print ASCII Hexadecimal Decimal IPCL EPOS [ESC] U <0> 1BH 55H 00H <27> <85> <0> &%GB [ESC] U <0> Description The [ESC] U <0> command prints all data in bi-directional, logic-seeking print mode.
iTherm® 280 Programmer’s Guide Programming Codes Horizontal Graphics (Color Graphics) The iTherm® 280 Printer supports graphics sent as horizontal scan lines. Individual scan lines of graphic data are sent to the printer one line at a time. Although the iTherm® 280 Printer only supports two colors, the horizontal graphic command interface gives full color support for printer graphics. Full color support is provided to establish a full color standard for future printers.
iTherm® 280 Programmer’s Guide Programming Codes = byte specifying the format of the graphics data. 0 for raw data 1 for bit wise RLE compression 8 for byte wise RLE compression 254 for difference compression 255 for same as previous scan line data = the data bytes that define the graphics to be printed.
iTherm® 280 Programmer’s Guide Programming Codes Graphics Compression Although the printer compression algorithms are documented, it is recommended that our Windows’ printer driver be used to generate a graphic image. Our Windows’ printer driver selects the best compression method to use on a scan line by scan line basis. The print driver can be directed to print to file, creating a .prn file. When creating a .
iTherm® 280 Programmer’s Guide Programming Codes can also be saved in user store. However, only one character definition and one macro can be active at any time. One macro and one user-defined character definition can be flagged to load and run at startup. If a flag is set, the printer will automatically process the macro and/or load the user-defined character set at initialization.
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Define user-defined characters [ESC] = [x1 d1 … d(y x x1)] … [xk d1 … d(y x xk)] Second, save the definition in the nonvolatile flash memory with the appropriate command. Save the definition. Note the "Save user-defined characters" command saves all three character definitions. Function ASCII Save user-defined characters [ESC] [US] c <0> Third, load the character set or load and run the macro.
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII or Description Flush information from user store [ESC] [US] f ALL <0> Base User Store [ESC] [US] f EXT <0> Extended User Store. The [ESC] [US] f ALL <0> command clears all of the information to the user store and frees the data space. The [ESC] [US] f EXT <0> command clears all of the information in the extended the user store. The terminating <0> may be replaced with an & or redefined. See [ESC] [EM]T or &%UT on page 136.
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Hexadecimal Decimal IPCL EPOS Description End named macro record [ESC] [US] e <0> 1BH 1FH 65H <27> <31> <101> &%UG <0> none The [ESC] [US] e <0> command ends the macro record operation and saves the macro to flash. It uses the field to verify the command end and must match the "Begin named macro record" command.
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Hexadecimal Decimal IPCL EPOS Description Load item from user store [ESC] [US] l <0> 1BH 1FH 6CH <27> <31> <108> &%UL <0> [GS] 0 <0> is from one to 15 characters and must be null terminated. The [ESC] [US] l <0> command loads the referenced item into the appropriate structure.
iTherm® 280 Programmer’s Guide Programming Codes IPCL EPOS Description &%UD <0> [GS] 1 <0> is from one to 15 characters and must be null terminated. The [ESC] [US] d <0> command removes an item from user store and frees up space. If the item does not exist, the command does nothing. The terminating <0> may be replaced with an & or redefined. See [ESC] [EM]T or &%UT>n> on page 136.
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Or Hexadecimal Decimal IPCL EPOS Description Report on user store [ESC] [US] q <0> Print a user store report [ESC] [US] ? <0> Return a formatted user store report 1BH 1FH 71H <27> <31> <113> &%UQ <0> [GS] 3 The [ESC] [US] q <0> command prints a status report. The file name is ignored and may be omitted. The NUL must be present. The intention of the command is to aid in macro development.
iTherm® 280 Programmer’s Guide Programming Codes User Macros The user macro feature works by inserting the macro data buffer into the printer data stream when the print user-store data command is encountered. Macros can be any data normally sent to the printer including graphics. (Note: user-store maintenance and inquire commands may not be included in the macro definitions.) The printer stores macro data in a RAM-based storage buffer as it is received and processed.
iTherm® 280 Programmer’s Guide Programming Codes [ESC] g <0> Process user macro ASCII Hexadecimal Decimal IPCL EPOS [ESC] g <0> 1BH 67H 00H <27> <103> <0> &%GP [ESC] g <0> Description The [ESC] g <0> command prints the user-store data buffer. [ESC] g <1> Start macro record ASCII Hexadecimal Decimal IPCL EPOS [ESC] g <1> 1BH 67H 01H <27> <103> <1> &%GS ESC] g <1> Description The [ESC] g <1> command clears the user-store data buffer and begins recording data.
iTherm® 280 Programmer’s Guide Programming Codes Bar Codes The iTherm® 280 Printer supports the ability to print bar codes. The printer offers a number of formats as defined below. The host does not need to form the graphic image for these bar codes. The host need only send the printer the information to be bar coded and a graphic is generated by the printer. In some cases, a check character is required by the format.
iTherm® 280 Programmer’s Guide Programming Codes Note: You may print barcodes in page mode. If you rotate these barcodes 90° or 180° you can get significantly longer barcodes. Interleaved 2 of 5 Interleaved 2 of 5 is a high-density, self-checking, continuous, numeric bar code. It is mainly used where fixed-length numeric fields are required. The data field must be an even number of characters. If an odd data field is sent to the iTherm® 280 printer, it will be zero padded.
iTherm® 280 Programmer’s Guide Programming Codes Code 39 Code 39 is an alphanumeric bar code. It is a discrete, self-checking, variable-length code. The printer prints the complete data field. The number of characters that can be printed depends on the bar width scaling. If the bar code scale is set to 2, 17 characters may be printed per line. There are two modes of operation for the Code 39 barcodes. The first is in a variable length format.
iTherm® 280 Programmer’s Guide Programming Codes Code 128 Code 128 is an alphanumeric bar code. It is a high-density, variable-length, continuous code, which employs multiple element widths. Code 128 has three possible start codes. The start code defines the code set, Code A, B, or C that will be used to generate the barcode. The iTherm® 280 allows the code set to be specified, or it can be select by the printer based on the information in the data field.
iTherm® 280 Programmer’s Guide 128 Code FNC3 FNC2 Not Valid FNC4 FNC1 Start A Start B Start C Value in Decimal 128 129 130 131 132 133 134 135 136 137 Programming Codes Value in Hex 80 81 82 83 84 85 86 87 88 89 Figure 15 Expanded Function coding Note: In automatic mode, FNC4 is always specified as 133 regardless of what code stick is currently active. In most cases, the iTherm® supreme will generate the most compact barcode for you.
iTherm® 280 Programmer’s Guide Programming Codes Code 128 Encoding Code A Space ! " # $ % & ' ( ) * + , . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U Code Stick Code Code B C Space 00 ! 01 " 02 # 03 $ 04 % 05 & 06 ' 07 ( 08 ) 09 * 10 + 11 , 12 13 .
iTherm® 280 Programmer’s Guide Programming Codes UPC A UPC A is a fixed-length, numeric, continuous code that employs four element widths. The printer supports Universal Product Code Version A, E, EAN-8, and EAN-13. Version A encodes 11 digits. Typically, the UPC A format starts with a number system digit, fivedigit manufacturer’s code, five-digit product code, and a check digit. The printer makes no assumptions about any of the codes except the check digit.
iTherm® 280 Programmer’s Guide Programming Codes Note 1: A [CR] may also be used in place of the [ETX] to end the bar code data field. Note 2: Only information that is usable in a particular bar code will be printed. PDF 417 PDF 417 is a two dimensional barcode that will encode the full ASCII character set. As it encodes the full set including control characters, the length of the following data must be provided to the printer.
iTherm® 280 Programmer’s Guide Programming Codes v 48 Level Level 0 Code Word 2 49 50 51 52 Level Level Level Level 1 2 3 4 4 8 16 32 53 54 55 56 Level Level Level Level 5 6 7 8 64 128 256 512 The second way is to determine correction level based on the amount of data in the barcode. This is determined by calculating a correction ration based on the formula Cf = (v * 0.
iTherm® 280 Programmer’s Guide Programming Codes Function Set bar code justification, human readable interpretation (HRI) character print mode, and print direction ASCII [ESC] [EM] J Hexadecimal 1BH 19H 4AH Decimal <27> <25> <74> IPCL &%BJ EPOS none The power on default is center justified with HRI characters not printed. Description The [ESC] [EM] J command selects the operation of the bar code justification, HRI characters, and print direction.
iTherm® 280 Programmer’s Guide Programming Codes Electronic Journal The iTherm® 280 has the capability to store electronic journal9 data in flash memory. There are two ways entries can be made into the electronic journal. The first is by selecting the journal station. The second is by requesting that print data be placed into the electronic journal. Before the electronic journal can be used, it must be configured and initialized.
iTherm® 280 Programmer’s Guide Programming Codes It is up to the end user of the iTherm® 280 to implement and use the level of security that is required. CAUTION: If you have initialized the electronic journal and don’t know the password, there is no way to erase the electronic journal without returning the printer for service. The warranty does not cover this. All iTherm® 280’s are shipped with the electronic journal partitioned and erased but not initialized.
iTherm® 280 Programmer’s Guide Programming Codes Initializing the Electronic Journal Once the electronic journal is partitioned, it can be initialized. Initializing the electronic journal sets the password and formats the flash to accept journal entries. Each entry may be any length up to 8K. Entries greater than 8K are truncated. Entries will be added to the electronic journal until it is full. If the electronic journal is full, entries will be lost.
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Hexadecimal Decimal IPCL EPOS Description Print the Electronic Journal [ESC][GS]P< Sl>< Sh>< Ll>< Lh> 1BH 1DH 50H < Sl>< Sh>< Ll>< Lh> <27> <29><80> < Sl>< Sh>< Ll>< Lh> &%EP (L and S are 4 digits ie. 00100020 for 20 records starting at 10) This command prints all or part of the electronic journal. *256 + specifies the first record to be printed and *256 + specifies the number of records to print.
iTherm® 280 Programmer’s Guide Function ASCII Hexadecimal Decimal IPCL EPOS Description Where: Programming Codes Set the Electronic Journal Record Header [ESC][GS]F<0> 1BH 1DH 46H <27> <29><70> None This command allows the record separator that is printed between records to be changed. The default format is: \r\nRecord %d\r\n \r represents CR, \n represents LF, %d represents the position of the record number. Note: Note: Note: The %d must be present.
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Hexadecimal Decimal IPCL EPOS Description Query the Electronic Journal [ENQ]<25> 05H 19H <05> <25> None Function ASCII Hexadecimal Decimal IPCL EPOS Where n Enable Dynamic Response [ESC] w 1BH 77H <27> <119> none [GS] a Defines the features that cause dynamic responses Where Bit 0 1 2 3 4 5 6 7 Description Dynamic status can be used to allow the host to sense status changes without sending repeated inquire commands.
iTherm® 280 Programmer’s Guide Programming Codes Printing/Reporting and Resetting the Electronic Journal The electronic journal may be printed on the receipt or reported to the host. The printed report will print each journal entry with an entry separator defined by the user (or, if not defined, with a default). The journal can be erased and reinitialized at any time. It is up to the host application to assure the electronic journal is reported or printed before it is erased.
iTherm® 280 Programmer’s Guide Programming Codes Journal Print Mode Options Initialize Journal If this option is offered, the journal has never been initialized. Selecting this option will initialize the journal with no password. Once initialized, the journal configuration can not be changed unless the journal is erased by command. Print Complete Journal. This option will print the complete journal log from record 1 to the end.
iTherm® 280 Programmer’s Guide Programming Codes Electronic Journal Entries There are two ways to place information in the electronic journal. The first is by selecting journal mode. The second is by requesting that validation or receipt information is copied into the electronic journal. If you select journal mode, information sent to the printer is not printed, but stored in the flash memory. The information is stored as records in a linked list.
iTherm® 280 Programmer’s Guide Programming Codes The resulting journal entry would then only contain: ---{Date:0} {Time:0:}-ST# 2000 OP# 00067 TE# 021 0035 SUB TOTAL 8.68 SALES TAX 1.50 -----TOTAL 10.18 CASH TEND 20.00 CHANGE DUE 9.82 In carbon copy mode any printer control commands in the record data will be added to the journal record. As the records are printed, those commands will be used to format the print.
iTherm® 280 Programmer’s Guide Programming Codes Journal mode Journal mode is a station select command. All data sent to the printer, following the journal mode select command, is stored in the EJ as a single record. Any control commands sent to the electronic journal will end the journal entry. An EOT, NUL or any printer command will end journal mode. Typically an EOT, CAN or station select will be used to end the journal mode.
iTherm® 280 Programmer’s Guide Programming Codes Carbon Copy Journal Mode Carbon copy mode allows information sent to the receipt or validation station to be copied into the electronic journal. An electronic journal entry is started with a “Start Carbon Copy” mode command and continues until a station select command is received or a “Stop Carbon Copy” command is received. The carbon copy operation may be suspended and restarted by a “Carbon Copy Suspend” and “Carbon Copy Resume” command.
iTherm® 280 Programmer’s Guide Programming Codes Miscellaneous Control [ESC] 8 Disable paper out sensor ASCII Hexadecimal Decimal IPCL EPOS [ESC] 8 1BH 38H <27> <56> &%PF none Description The [ESC] 8 command temporally disables the paper out sensor. The printer does not stop printing or go off-line when it senses it is out of paper. The inquire commands still return paper out status.
iTherm® 280 Programmer’s Guide Programming Codes [CAN] Clear print buffer ASCII Hexadecimal Decimal IPCL EPOS [CAN] 18H <24> &%RP [CAN] Description The [CAN] command clears the print buffer and any unprinted information in the printer received before it. If the input buffer is not being processed because the printer is out of paper or a form is not inserted, the [CAN] command will not be processed until after the error is cleared.
iTherm® 280 Programmer’s Guide [ESC] x Open cash drawer ASCII Hexadecimal Decimal IPCL [ESC] x 1BH 78H <27> <120> &%D1 (Cash Drawer 1) &%D2 (Cash Drawer 2) [ESC] p EPOS Programming Codes Description The [ESC] x command charges the cash drawer, , for 150 ms. Where = <1> (01H) or 1 (31H) for Cash Drawer 1 <2> (02H) or 2 (32H) for Cash Drawer 2 The time period that drawer is activated can be changed in the configuration menu. Activation time ranges from 25 ms to 250 ms.
iTherm® 280 Programmer’s Guide Programming Codes [BEL] Audio alert ASCII Hexadecimal Decimal IPCL EPOS [BEL] 07H <7> &%BL [BEL] Description When enabled, the [BEL] command starts the audio alert sequence. The default is a single sound, lasting the period of time defined by the audio alert setting. If the audio alert is off, it does not function.
iTherm® 280 Programmer’s Guide Programming Codes [ESC] p 4 Select paper sensor(s) to stop printing ASCII Hexadecimal Decimal Range [ESC] p 4 1BH 70H 34H <27> <112> <52> 0 ≤ n ≤ 255 Description The [ESC] p 4 command selects the sensors that tell the printer to stop printing. The default setting occurs when only the Paper Out sensor stops printing.
iTherm® 280 Programmer’s Guide Programming Codes Bit 0 1 2 3 4-7 On/Off Off On Off On Off On Off On - Hexadecimal Decimal Function 00H <0> Paper roll near-end sensor disabled 01H <1> Paper roll near-end sensor enabled 00H <0> Paper roll near-end sensor disabled 02H <2> Paper roll near-end sensor enabled 00H <0> Paper roll end sensor disabled 04H <4> Paper roll end sensor enabled 00H <0> Paper roll end sensor disabled 08H <8> Paper roll end sensor enabled Undefined Table 15 Paper Sensor Commands [ESC] <
iTherm® 280 Programmer’s Guide Programming Codes [ESC] y Set control feature commands ASCII Hexadecimal Decimal IPCL EPOS Where n [ESC] y 1BH 79H <27> <121> &%Y0-9 or &%YX (for numbers greater than nine) [ESC] y 0 Reinitializes the printer and forces Citizen mode 1 Reinitializes the printer and forces Star mode 2 Reinitializes the printer and forces iTherm® 280 mode 3 Reinitializes the printer and forces extended EPOS mode 4 Disables IPCL commands 5 Enables IPCL commands
iTherm® 280 Programmer’s Guide Programming Codes Note 3: [ESC] y <6> and <7> enable and disable the inquire process. These commands are not processed as they are received, but are buffered then processed. The buffering process allows inquire commands sent after a disable to be answered. In addition, inquires sent after an enable may not be answered. (See additional notes 3 and 4 on the next page). Note 4: The printer has a resident OCR-MA font. It is defined and mapped per ANSI X3.111-1986.
iTherm® 280 Programmer’s Guide Programming Codes Remote Power Control The iTherm® 280 Printer has a remote power control command that instructs it to enter OFF mode. When the command is issued, the printer performs print cartridge maintenance and enters OFF mode. Unlike pushing the * button, remote power mode leaves the communications active. All commands except the exit power down command are ignored.
iTherm® 280 Programmer’s Guide Programming Codes Documented Extended Control commands The iTherm® 280 has a number of Extended Control commands designed to make operation and maintenance of the printer easier for the host application. For further details, refer to the ITherm® Extended Control discussion in Chapter 8. [SOH] Begin multi-drop control ASCII Hexadecimal Decimal IPCL Where [SOH] 01H <1> none is the printer address. Addresses of A, B, or C are configurable.
iTherm® 280 Programmer’s Guide Programming Codes Printer Status Status Inquire The iTherm® 280 Printer is designed for use as part of an automated system where the host computer makes every attempt to correct problems with the printer. In addition, the host application requires that it be able to obtain more information from the printer than is typical of normal computer printers.
iTherm® 280 Programmer’s Guide Programming Codes IEEE 1284 Mode Inquire In parallel, IEEE 1284 mode, status information can be returned to the host through the IEEE 1284 reverse channel. After the host makes an inquire request, it activates IEEE 1284 mode 0 reverse channel and waits for a response from the printer. The response to the inquire is identical to serial mode in format. The printer always accepts IEEE 1284 reverse-channel requests but does not accept inquire commands when off-line.
iTherm® 280 Programmer’s Guide Programming Codes [ENQ] <4> Inquire receipt paper out status ASCII Hexadecimal Decimal Function Response [ENQ] <4> 05H 04H <5> <4> Receipt paper exhausted ACK <4> (06H 04H) Receipt paper is present NAK <4> (15H 04H) Receipt paper is exhausted [ENQ] <8> Inquire cover open status ASCII Hexadecimal Decimal Function Response [ENQ] <8> 05H 08H <5> <8> Cover open/closed status ACK <8> (06H 08H) The cover is closed NAK <8> (15H 08H) The cover is open [ENQ] <9> Is the buffe
iTherm® 280 Programmer’s Guide Programming Codes When the printer receives a reset command, the printer goes off-line and/or busy until the reset completes. In serial mode, the printer may have information in its high-speed buffer that was received after the reset command but before the reset was processed. If the host application continues to send information to the printer after a reset command, some of that information may be processed before the reset is processed.
iTherm® 280 Programmer’s Guide [ENQ] <15> ASCII Hexadecimal Decimal Function Note Response Where : : Programming Codes Inquire printer state [ENQ] <15> 05H 11H <5> <15> The [ENQ] <15> command returns the current printer state [ENQ] <17> also returns the current printer state, but it should not be used as it conflicts with XON/XOFF flow control. [ACK] <15> … <15> is the echo of the command ID. is the number of return bytes + 40 (28H) (to prevent confusion with XON/XOFF).
iTherm® 280 Programmer’s Guide Programming Codes [ENQ] <20> Inquire all printer status ASCII Hexadecimal Decimal Function Response [ENQ] <20> 05H 14H <5> <20> The [ENQ] <20> command returns all status flags [ACK] <20> … Where <20> is the echo of command ID. is the number of return bytes + 40 (28H) (to prevent confusion with XON/XOFF). bit 0 = Cash Drawer 1 is open. bit 1 = Cash Drawer 2 is open bit 2 = Receipt paper is out. bit 3 = 0 bit 4 = Receipt paper error occurred.
iTherm® 280 Programmer’s Guide Programming Codes [ENQ] <21> Inquire printer ID ASCII Hexadecimal Decimal Function Response [ENQ] <21> 05H 15H <5> <21> The [ENQ] <21> command returns the printer IEEE 1284 ID string. [ACK] <21> {ID string} Where <21> is the echo of the command ID and is the number of return bytes in the ID string {ID string} is the IEEE ID return string, which follows: MFG:Ithaca-Periph.
iTherm® 280 Programmer’s Guide Programming Codes [ENQ] <22> Inquire Error status ASCII Hexadecimal Decimal Function Response [ENQ] <22> 05H 17H <5> <22> The [ENQ] <22> command reports on the error status. [ACK] <22> Where <22> is the echo of the command ID. is the number of return bytes + 40 (28H) (to prevent confusion with XON/XOFF). : Bit status as follows: bit 0 = Cover is open. bit 1 = Receipt Paper is Low bit 2 = Receipt paper is out.
iTherm® 280 Programmer’s Guide Programming Codes [ENQ] <23> Inquire user-store status ASCII Hexadecimal Decimal Function Response [ENQ] <23> 05H 17H <5> <23> The [ENQ] <23> command reports on the user-store status. [ACK] <23> <0> Where <23> is the echo of command ID. The report is a null terminated string with the following format: 12345[CR][LF](Free user store) 12345 Type Name…[CR][LF] (First entry) etc.
iTherm® 280 Programmer’s Guide Programming Codes Where not defined.) on a periodic bases. The value of n is the period in 100 MS intervals. This command is saved through power cycles. Once set it need not be set again, however you can set it the same value repeatedly as it is only saved if it is changed. In general it should not be changed on a regular bases. n = Interval in 100 MS increments. IE 20 = 2 Seconds. Setting the value to 0 disables the feature.
iTherm® 280 Programmer’s Guide Programming Codes ESC/POSTM Codes The EPOS codes that are supported by the iTherm® 280 Printer are listed in this section. TransAct Technologies, Inc. has no control over how Epson extends or changes these control codes, and can make no guarantees as to the operation of our printer when it replaces an Epson printer. The TM-T90 and EPOS emulation’s are intended to make it as easy as possible to replace an Epson printer with an iTherm® 280 Printer.
iTherm® 280 Programmer’s Guide Programming Codes compliant system, byte mode should be an extension and the default should be nibble mode. The iTherm® 280 Printer supports the EPOS real-time status commands [DLE] [ENQ] and [DLE] [EOT] and are preprocessed by the printer. The printer supports all the response bit fields as defined by the TM-T88 and TM-T90 Printers. See the descriptions below.
iTherm® 280 Programmer’s Guide Programming Codes Supported TM-T88 Commands Print and Feed Commands Command LF 0AH CR 0DH ESC d 1BH,64H ESC J 1BH,4AH Line Spacing Commands Name Print and line feed Print and carriage return Print and feed lines Print and feed paper vertical units Page 191 191 191 192 Command ESC 2 1BH,32H ESC 3 1BH,33H Character Commands Name Select default line spacing, 1/6 lpi Set line spacing Page 193 193 Command ESC SP 1BH,20H ESC ! 1BH,21H ESC % 1BH,25H ESC & 1BH,26H ESC
iTherm® 280 Programmer’s Guide Programming Codes Supported TM-T88 Commands Print Position Commands Command HT ESC $ ESC D ESC \ ESC a GS L GS T GS W Bit-image Command Name Set horizontal tab positions Set absolute print position Set horizontal tab positions Set relative print position Select justification Set left margin Set print position to the beginning of the line Set printing area width Page 206 205 207 205 206 207 205 207 Name Select bit-image mode Print raster bit image Page 209 209 Command DL
iTherm® 280 Programmer’s Guide Programming Codes Supported TM-T88 Commands Miscellaneous Commands Command DLE DC4 <1> DLE DC4 <2> DLE DC4 <8> ESC = ESC @ ESC p GS ( A 10H,14H,01H 10H,14H,02H 10H,14H,08H 1BH,3DH 1BH,40H 1BH,70H 1DH,28H,41 H GS I 1DH,49H GS P 1DH,50H GS b 1DH,62H GS c 1DH,63H GS g 0 1DH,67H,30 H GS g 2 1DH,67H,32 H Macro Function Commands Name Generate pulse in real-time Execute power-off sequence Clear buffers Select peripheral device status Initialize printer Generate pulse Enter Test M
iTherm® 280 Programmer’s Guide Programming Codes Undocumented TM-T88 Commands Command ESC I ESC m ESC u ESC v Name Auto Cut Auto Cut Transmit Peripheral Device Status Transmit Paper status 223 223 214 215 Table 17 Undocumented TM-T90 Commands Page 186 Rev C 28-07764
iTherm® 280 Programmer’s Guide Programming Codes Supported TM-T90 Commands Print and Feed Commands Command LF CR ESC d ESC e ESC J ESC K Name Print and line feed Print and carriage return Print and feed lines Print and reverse feed lines Print and feed paper vertical units Print and reverse feed [ x (1/144)] inches Print and reverse feed Page 191 191 191 191 192 192 Command ESC 2 1BH,32H ESC 3 1BH,33H Character Commands Name Select default line spacing, 1/6 lpi Set line spacing Page 19
iTherm® 280 Programmer’s Guide Programming Codes Supported TM-T90 Commands Paper Sensor Commands Command ESC c 4 ESC c 3 1BH,63H, 34H 1BH,63H, 33H ESC c 1 1BH, 63H, 31H ESC c 0 1BH, 63H, 30H Print Position Commands Command BS HT ESC $ ESC < ESC D ESC Q ESC U ESC \ ESC a ESC l GS L GS T 08H 09H 1BH,24H 1BH,3CH 1BH,44H 1BH,51H 1BH,55H 1BH,5CH 1BH,61H 1BH,6CH 1DH,4CH 1DH,54H GS W 1DH,57H Bit-image Commands Command ESC * GS v 0 Status Commands 1BH,2AH 1DH,76H,30H Command DLE EOT DLE ENQ ESC u ESC v GS
iTherm® 280 Programmer’s Guide Programming Codes Supported TM-T90 Commands Bar Code Commands Command GS H 1DH,48H GS f 1DH,66H GS h 1DH,68H GS k 1DH,6BH GS w 1DH,77H Mechanism Control Commands Name Select printing position of HRI characters Select font HRI characters Set bar code height Print bar code Set bar code width Page 222 222 221 220 220 Command GS V 1DH,56H ESC I 1BH,69H ESC m 1BH,69H BEL 07H ESC BEL 1BH,07H Miscellaneous Commands Name Select cut mode and cut paper Set partial knife cut Set pa
iTherm® 280 Programmer’s Guide Programming Codes Supported TM-T90 Commands User-defined Memory Commands Command GS - … GS * GS / GS 3 1DH,2DH, … 1DH,30H, … 1DH,31H, … 1DH,2AH 1DH,2FH 1DH,33H GS 5 1DH,35H GS 6 GS 7 1DH,36H 1DH,37H GS 0 … GS 1 … Name Define user-defined bit image Page 231 Print user-defined bit image 233 Erase single entry from nonvolatile memory Define single user-defined bit-image Print single user-defined bit-image Query nonvolati
iTherm® 280 Programmer’s Guide Programming Codes TM-T88 / TM-T90 and ESC/POSTM Command Descriptions The TM-T90 and EPOS emulation’s are grouped together. The TM-T90 emulation is a subset of the EPOS emulation. The EPOS-only commands are noted. Print and Feed Commands Function ASCII Hexadecimal Decimal Description Print and Line Feed [LF] 0AH <10> The [LF] command prints the data in the print buffer and feeds one line.
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Hexadecimal Decimal Range Description Print and Feed Paper [ESC] J 1BH 4AH <27> <74> 0 ≤ n ≤ 255 The [ESC] J command prints the data in the print buffer and feeds the paper [n x (1/144)] inches, which means that the printer can feed the paper in half-dot units. The command is used to temporarily feed a specific length without changing the line spacing set by other commands.
iTherm® 280 Programmer’s Guide Programming Codes Line Spacing Commands Function ASCII Hexadecimal Decimal Description Select Default Line Spacing [ESC] 2 1BH 32H <27> <50> The [ESC] 2 command sets the line spacing to 1/6 inch, which is equivalent to 12 dots. Function ASCII Hexadecimal Decimal Range Description Set Line Spacing [ESC] 3 1BH 33H <27> <51> 0 ≤ n ≤ 255 The [ESC] 3 command sets the line spacing to [ x (1/144)] inches.
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Hexadecimal Decimal Range Description Define User-Defined Characters [ESC] & [x1 d1 … d(y x x1)] … [xk d1 … d(y x xk)] 1BH 26H y c1 c2 [x1 d1 … d(y x x1)] … [xk d1 … d(y x xk)] <27> <38> y c1 c2 [x1 d1 … d(y x x1)] … [xk d1 … d(y x xk)] y=2 32 ≤ c1 ≤ c2 ≤ 126 0 ≤ x ≤ 12 (9 x 9 font) 0 ≤ x ≤ 9 (7 x 9 font) 0 ≤ d1 … d(y x x) ≤ 255 The [ESC] & [x1 d1 … d(y x x1)] … [xk d1 … d(y x xk)] command defines user-defined ch
iTherm® 280 Programmer’s Guide Function ASCII Hexadecimal Decimal Range Default Description Programming Codes Select an International Character Set ESC R 1BH 52H <27> <82> 0 ≤ n ≤ 74 = 0 The ESC R command selects an international character set, , from the following table.
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Hexadecimal Decimal Default = Description Code Page 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 91 93 437 774 850 852 855 857 858 860 861 862 863 865 Page 196 Select Character Code Table ESC [ T 1BH 5BH 54H <27> <91> <84> = 1 181 (Code Page 437) The ESC [ T command selects a code page, , from the character code table.
iTherm® 280 Programmer’s Guide Code Page 866 869 895 1008 1009 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1024 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1072 28-07764 Programming Codes Country Decimal Cyrillic II-866 3,98 Greek 869 3,101 Kamenicky (MJK) 3,127 Greek 437 3,240 Greek 928 3,241 Greek 437 CYPRUS 3,243 Turkey 3,244 Cyrillic II-866 3,245 Polska Mazovia 3,246 ISO Latin 2 3,247 Serbo Croatic I 3,248 Serbo Croatic II 3,249 ECMA-94 3,250 Windows East Europe 3,251
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Hexadecimal Decimal Range Description Print Control Character [ESC] ^ 1BH 5EH <27> <94> 0 ≤ n ≤ 255 The [ESC] ^ command allows characters from zero to 31 codes to be printed. During normal operation, characters from zero to 31 are control characters. Control code translation is turned off for the following character.
iTherm® 280 Programmer’s Guide Function ASCII Hexadecimal Decimal Range Description Bit 0 1,2 3 4 5 6 7 Programming Codes Select Print Mode(s) [ESC] ! 1BH 21H <27> <33> 0 ≤ n ≤ 255 The [ESC] ! command selects print modes using as follows. The default character font is 7 x 9. The defaults for the other print modes are set to = 1. Off/On Off On Off On Off On Off On Off On Hexadecimal 00H 01H 00H 08H 00H 10H 00H 20H 00H 80H Decimal Function <0> Select 9 x 9 character font.
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Hexadecimal Decimal Range Description Turn ON/OFF Double-Strike Mode [ESC] G 1BH 47H <27> <71> 0 ≤ n ≤ 255 The [ESC] G command turns on or off double-strike mode. When the least significant bit (LSB) of = 1, double-strike mode is turned on; when it is 0, double-strike mode is turned off. The default setting is = 0. Double-strike and emphasized printing appear the same.
iTherm® 280 Programmer’s Guide Function ASCII Hexadecimal Decimal Description Where Function ASCII Hexadecimal Decimal Description Programming Codes Set Character Size GS ! 1DH 21H <29> <33> The GS ! command sets the horizontal and vertical scaling. The upper nibble is the horizontal scale, and the lower nibble is the vertical scale. The minimum size is x1, and the maximum size is x2.
iTherm® 280 Programmer’s Guide Programming Codes Panel Button Commands Function ASCII Hexadecimal Decimal Range Description Where Page 202 Enable/Disable Paper Feed [ESC] c 5 1BH 63H 35H <27> <99> <53> 0 ≤ n ≤ 255 The [ESC] c 5 command enables or disables the FEED Button. When the least significant bit (LSB) of = one, the FEED Button is disabled; when it is zero, the button is enabled.
iTherm® 280 Programmer’s Guide Programming Codes Paper Sensor Commands Function ASCII Hexadecimal Decimal Range Select Paper Sensor(s) to Stop Printing [ESC] c 4 1BH 63H 34H <27> <99> <52> 0 ≤ n ≤ 255 Description ESC c 4 n selects whether to stop printing or not when the paper low is detected. There are three sensors in the TM-88 or TM-90 that are simulated in the iTherm® 280: the paper roll low, paper roll end sensor, and validation sensor.
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Hexadecimal Decimal Range Description Bit 0 1 2 3 4-5 6 7 Select Paper Sensor(s) to Output Paper-End Signals [ESC] c 3 1BH 63H 33H <27> <99> <51> 0 ≤ n ≤ 255 ESC c 3 n selects whether to output paper-end signals or not to a parallel interface. The default setting is n=15. The paper roll low, paper roll end, and validation sensors can be selected.
iTherm® 280 Programmer’s Guide Programming Codes Print Position Commands Function ASCII Hexadecimal Decimal Range Description Set Print Position to the beginning of print line [GS] T 1DH 54H <29> <84> 0≤n≤1 48 ≤ n ≤ 49 The GS T command sets the print position to the beginning of the print line. 0, 48 1, 49 Function Sets the print position after the data in the print buffer is deleted.
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Hexadecimal Decimal Range Description Select Justification [ESC] a 1BH 61H <27> <97> 0≤n≤2 48 ≤ n ≤ 50 The [ESC] a command aligns all the data in one line to a specified position. Left justification is selected when = 0 or 48, centering is selected when = 2 or 50. The default setting is left justification. ( = 0). The command is enabled only when input at the beginning of a line.
iTherm® 280 Programmer’s Guide Function ASCII Hexadecimal Decimal Range Description Function ASCII Hexadecimal Decimal Range Description Function ASCII Hexadecimal Decimal Range Description Function ASCII Hexadecimal Decimal Range Description 28-07764 Programming Codes Set Horizontal Tab Positions [ESC] D … NUL 1BH 44H … 00 <27> <68> … <0> 1 ≤ n ≤ 255 0 ≤ k ≤ 32 The [ESC] D … NUL command sets the horizontal tab positions.
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Hexadecimal Decimal Range Description Set Left Margin [ESC] l 1BH 6CH <27> <108> 0 ≤ n ≤ 255 The [ESC] 1 command sets the left margin using . The left margin is set to characters from the beginning of the line. Function ASCII Hexadecimal Decimal Range Description Set Right Margin [ESC] Q 1BH 51H <29> <81> 0 ≤ n ≤ 255 The [ESC] Q command sets the right margin using .
iTherm® 280 Programmer’s Guide Programming Codes Bit-Image Commands Function ASCII Hexadecimal Decimal Range Select Bit-Image Mode [ESC] * … 1BH 2AH … <27> <42> … = 0, 1, 32, 33 0 ≤ nl ≤ 255 0 ≤ nh ≤ 3 0 ≤ d ≤ 255 k = nl + nh x 256 for = 0 or 1 k = (nl + nh x 256) * 3 for = 32 or 33 Description [ESC] * … command selects a bit-image mode using for the number of dots specified by (nl + nh x 256
iTherm® 280 Programmer’s Guide Programming Codes Status Commands Function ASCII Hexadecimal Decimal Range Description Bit 0 1 2 3 - Enable/Disable Automatic Status Back (ASB) [GS] a 1DH 61H <29> <97> 0 ≤ n ≤ 255 The [GS] a command selects a status for ASB transmission. ASB is enabled if any status item is selected. The printer automatically transmits a 4-byte status message whenever the status changes. Multiple status items can be enabled or disabled. When = 0, ASB is disabled.
iTherm® 280 Programmer’s Guide Bit 0 1 2 3 4 5 6 7 Bit 0 1 2 3 4 5 6 7 Programming Codes Off/On Hex Decimal Status for Automatic Status Back (ASB) Off 00H <0> Not used; fixed to Off Off 00H <0> Not used; fixed to Off Off 00H <0> Drawer kick-out connector pin 3 low On 04H <4> Drawer kick-out connector pin 3 high Off 00H <0> On-line On 08H <8> Off line On 10H <16> Not used; fixed to On Undefined Off 00H <0> Paper is not being fed by the FEED Button On 40H <64> Paper is being fed by the FEED Button Off 00
iTherm® 280 Programmer’s Guide Programming Codes Bit 0 1 2 3 4 5,6 7 Bit 0-3 4 5,6 7 Function ASCII Hexadecimal Decimal Range Description Bit 0 1 2 3 4 5,6 7 Page 212 Off/On Hex Decimal Status for Automatic Status Back (ASB) Off 00H <0> Journal memory adequate On 01H <1> Journal memory low (Less than 8K) Off 00H <0> Paper low sensor: paper adequate On 02H <2> Paper low sensor: paper low Off 00H <0> Journal memory adequate On 04H <4> Journal memory exhausted.
iTherm® 280 Programmer’s Guide Bit 0 Off/On Off On Off Off 1-3 4 5,6 7 Function ASCII Hexadecimal Decimal Range Description Function Transmit printer status Transmit off line status Transmit error status Transmit paper roll sensor status Table 35 Values for the Status Function, 1 2 3 4 3 4 5 6 7 28-07764 Hex Decimal Status 00H <0> Drawer kick-out connector pin 3 low 01H <1> Drawer kick-out connector pin 3 high Undefined 00H <0> Not used; fixed to Off Undefined 00H <0> Not used; fixed to Off Tab
iTherm® 280 Programmer’s Guide Programming Codes Bit 0 1 2 3 4 5 6 7 Bit 0 1 2 3 4 5 6 7 Bit 0 1 2,3 4 5,6 7 Function ASCII Hexadecimal Decimal Range Description Bit 12 Off/On Off On Off Hexl 00H 02H 00H On On Off On Off On Off 08H 10H 00H 20H 00H 40H 00H Decimal <0> <2> <0> Status Not used; fixed to off Not used; fixed to on Undefined Paper is not being fed by the FEED Button <8> Paper is being fed by the FEED Button <16> Not used; fixed to on <0> No paper out stop <32> Printing stops due to p
iTherm® 280 Programmer’s Guide 0 1–7 Off On Off 00H (03H) 00H Programming Codes <0> (3) <0> Pin 3 is Low Pin 3 is High Not used; fixed to Off Table 40 Peripheral Status ( = 0, 48) Function ASCII Hexadecimal Decimal Description Transmit Paper Sensor Status [ESC] v 1BH 76H <27> <118> The [ESC] v command has been replaced by the [GS] r command. The [ESC] v command transmits paper status has been replaced by the [GS] r command. The iTherm® 280 return paper status as specified below.
iTherm® 280 Programmer’s Guide Programming Codes Printing Paper Command Function ASCII Hexadecimal Decimal Range Description Bit 0 1 2 3 4–7 Select Paper Type for Printing [ESC] c 0 1BH 63H 30H <27> <99> <48> n = 1, 1 ≤ n ≤ 3, 8 ≤ n ≤ 11 ESC c 0 n selects paper type(s) for printing. User’s have the option to select either Paper roll or validation paper. Both bits 0 and 1 indicate paper roll and if either of them is available, the paper roll is selected as the print sheet.
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Hexadecimal Decimal Range Select Paper Type for Command Settings [ESC] c 1 1BH 63H 31H <27> <99> <49> n = 1, 1 ≤ n ≤ 3, 8 ≤ n ≤ 11 Description ESC c 1 n selects paper type(s) for setting. Paper roll and validation paper are available. Both bits 0 and 1 indicate paper roll and if either of them is available, the paper roll is selected as the print sheet.
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Hexadecimal Decimal Description Select Page Mode [ESC] L 1BH 4CH <27> <76> ESC L Switches from standard mode to page mode and starts the page mode definition.
iTherm® 280 Programmer’s Guide Programming Codes Receipt or Inserted Form B>>>>> 28-07764 C>>>>> Function ASCII Hexadecimal Decimal Description D>>>>> A>>>>> Initial entry location Print and return to standard mode (in page mode0 [FF] 0CH <12> [FF] In page mode, prints the data in the print buffer collectively and returns to standard mode.
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Hexadecimal Decimal Description Print data in page mode [ESC][FF] 1BH,0CH <27><12> [ESC][FF] Prints the page as it is currently defined and reenters page mode without deleting the page definition.
iTherm® 280 Programmer’s Guide Programming Codes 1 6 Codabar 1≤k 2 2 2 2 2 65 66 67 68 69 UPC A UPC E JAN-13 (EAN-13) JAN-8 (EAN-8) Code 39 11 ≤ k ≤ 12 11 ≤ k ≤ 12 12 ≤ k ≤ 13 7≤k≤8 1 ≤ n ≤ 255 2 70 ITF 2 71 Codabar 1 ≤ n ≤ 255 (even number) 1 ≤ n ≤ 255 2 2 72 73 Code 93 Code 128 1 ≤ n ≤ 255 2 ≤ n ≤ 255 48 ≤ d ≤ 57, 65 ≤ d ≤ 68 d = 32, 36, 37, 43, 45, 46, 47, 58 48 ≤ d ≤ 57 48 ≤ d ≤ 57 48 ≤ d ≤ 57 48 ≤ d ≤ 57 48 ≤ d ≤ 57, 65 ≤ d ≤ 90 d = 32, 36, 37, 43, 45, 46, 47 48 ≤ d ≤ 57 48 ≤ d ≤ 5
iTherm® 280 Programmer’s Guide Programming Codes Decimal Range Description <29> <72> 0 ≤ n ≤ 3, 48 ≤ n ≤ 51 The GS H command selects the printing position of HRI (Human Readable Interpretation) characters when printing a bar code. selects the printing position as follows.
iTherm® 280 Programmer’s Guide Programming Codes Mechanism Control Commands Function ASCII Hexadecimal Decimal Description Select cut mode and cut paper [GS] V 1DH 56H <29> <86> When = 1 or 49, is not used and a partial cut is performed. When = 66, [GS] V executes a partial cut (one point left uncut) after paper is fed [cutting position ( x approximately 1/144 inch)].
iTherm® 280 Programmer’s Guide Programming Codes Miscellaneous Commands Function ASCII Hexadecimal Decimal Range Default Description Set Horizontal and Vertical Motion Units [GS] P x y 1DH 50H x y <29> <80> x y 0 ≤ x ≤ 255 x = 180, y = 360 The GS P x y command sets the horizontal and vertical motion units to 1/x inches and 1/y inches, respectively. When x and y are set to zero, the default setting of each value is used.
iTherm® 280 Programmer’s Guide ASCII Hexadecimal Decimal Range Description Function ASCII Hexadecimal Decimal Range Description Programming Codes [ESC] p 1BH 70H <27> <112> = 0, 1, 48, 49 0 ≤ t1 ≤ 255 0 ≤ t2 ≤ 255 The [ESC] p command sends a pulse (on time = x 2 msec) to the specified connector pin. When = 1 or 48, the pulse is sent to drawerkick-out connector pin 2.
iTherm® 280 Programmer’s Guide Programming Codes Hexadecimal Decimal Range Description 10H 14H <8> d1…d7 <16> <20> <8> d1…d7 d1=1, d2=3, d3=20, d4=1, d5=6, d6=2, d7=8 The [DLE] [DC4] <8> command clears all data stored in the receive buffer and the print buffer.
iTherm® 280 Programmer’s Guide Function ASCII Hexadecimal Decimal Range Description Where Programming Codes Real-Time Request to Printer [DLE] [ENQ] 10H 05H <16> <5> = 0, 2 The [DLE] ENQ command responds to a request from the host computer specified by as shown below. The command is also executed when the printer is disabled.
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Hexadecimal Decimal Description Where Where Function ASCII Hexadecimal Decimal Description Enter Test Mode [GS] ( A <2> <0> 1DH 28H 41H <2> <0> <29> <40> <65> <2> <0> This command places the printer into test mode based on the parameters and . may be 0, 1, 2, 48, 49, or 50. It is intended to select the print station. The iTherm® 280 will accept any of these values 1 or 49 Selects Hex Dump mode.
iTherm® 280 Programmer’s Guide Programming Codes Function Transmit maintenance counter ASCII [GS] g 2 m nl nh: Hexadecimal 1DH 67H 32H Decimal <29> <103> <50> Description Transmits the value of the specified maintenance counter.
iTherm® 280 Programmer’s Guide Programming Codes Macro Function Commands Function ASCII Hexadecimal Decimal Description Start/End Macro Definition [GS] : 1DH 3AH <29> <58> The [GS] : command starts or ends macro definition. Macro definition starts when the command is received during normal operation and ends when it is received during the macro definition. The macro definition can contain up to 2048 bytes. If the definition exceeds 2048 bytes, the excess data will not be stored.
iTherm® 280 Programmer’s Guide Function ASCII Hexadecimal Decimal Description Programming Codes Delete Start-Up Macro Definition GS _ 1DH 5FH <29> <95> The GS _ command deletes a start-up macro definition previously created by the GS ^ command. If a start-up macro was not previously defined, the command will be ignored. User-defined Images and Graphics Commands Function ASCII Hexadecimal Decimal Range Description 28-07764 Define user-defined bit image GS -
iTherm® 280 Programmer’s Guide Programming Codes Column one d1 dy +1 d2 dy +2 .... .... ... ... .... MSB → d n .... .... .... ....
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Hexadecimal Decimal Range Description Print User-Defined Bit Image GS 0 <0> 1DH 30H 0H <29> <48> <0> = a 15-byte maximum length name to identify the image. GS 0 prints a bit-image from storage in the nonvolatile memory pool. The name of the bit-image can be from one to 15 bytes long and contain any alphanumeric characters as well as spaces.
iTherm® 280 Programmer’s Guide Programming Codes Function ASCII Hexadecimal Decimal Range Description Define Single User-Defined Bit-Image GS * x y d1 … d(x x y x 8) 1DH 2AH x y d1 … d(x x y x 8) <29> <42> x y d1 … d(x x y x 8) 1 ≤ x ≤ 255 1 ≤ y ≤ 48 0 ≤ d ≤ 255 The GS * x y d1 … d(x x y x 8) command defines a single downloaded bit-image using the number of dots specified by x and y in the RAM buffer area (volatile memory). The number of dots in the horizontal direction is x x 8.
iTherm® 280 Programmer’s Guide Function ASCII Hexadecimal Decimal Description Hex Print single user-defined bit-image GS / 1DH 2FH <29> <47> The GS / command prints a downloaded or stored bit-image using the mode specified by . selects a mode from the table below.
iTherm® 280 Programmer’s Guide Programming Codes Ithaca® Specific iTherm® 280 Commands The iTherm® 280 has a number of extended control commands designed to make operation and maintenance of the printer easier for the host application refer to the iTherm® 280 extended control discussion on page 170.
iTherm® 280 Programmer’s Guide Description 28-07764 Programming Codes The [ESC] c 5 command enables or disables the FEED Button. When the least significant bit (LSB) of = one, the FEED Button is disabled; when it is zero, the button is enabled.
iTherm® 280 Programmer’s Guide Programming Codes iTherm® Citizen Emulation The iTherm® 280 printer uses a subset of the Epson emulation for Citizen. iTherm® Star Emulation The iTherm® 280 printer has Star emulation that will allow the iTherm to replace most Star printers with similar features to the iTherm. Star used a real time cash drawer command that uses features patented by Epson. If you use the Star real time cash drawer command, you must use the added cost licensed firmware.
chapter 7 iTherm® 280 Color Graphics 28-07764 Rev C Page 239
This page intentionally left blank Page 240 Rev C 28-07764
ITherm® 280 Color Graphics iTherm® 280 Programmer’s Guide Printing Graphics The iTherm® 280 Printer has bit-image graphic capability and a full PC-compatible graphic character set. The bit image format is similar to that used on other personal computer printers. Three modes of operation are available. Single-density is the fastest mode. It makes a single unidirectional 60 dpi print pass. Full-speed double-density mode makes two passes with a half-dot offset.
iTherm® 280 Programmer’s Guide ITherm® 280 Color Graphics [ESC]: [ESC]3<27> [ESC]a<1> <201> <205><205><205><205><205><205><205><205><205> <205><205><205><205><205><205><205><205><205> <205><205><205><205> <187>[CR][LF] <186> ITHACA PRINTERS <186>[CR][LF] <186> <186>[CR][LF] <200> <205><205><205><205><205><205><205><205><205> <205><205><205><205><205><205><205><205><205> <205><205><205><205> <188>[CR][LF] [ESC]a<0> [ESC]0 [ESC][P<15> [CR][LF] ST# 2000 OP# 00067 TE# 021 0035[CR][LF] KLEENEX FAM D04 QTY 1 1.
ITherm® 280 Color Graphics iTherm® 280 Programmer’s Guide Figure 19 Sample Receipt When printing line graphics, the data path to the printer must be eight bits. Seven-bit serial protocols do not access the extended characters. The extended characters require that the form be reverse fed. Consequently, printing line graphics on the receipt may be less than acceptable.
iTherm® 280 Programmer’s Guide ITherm® 280 Color Graphics APA Graphics The printer is capable of all-points-addressable (APA) or horizontal graphics. Generating a graphic image by hand is time consuming and tedious. It is recommended that a graphic package be used to create a graphic image. The following procedure will help with the setup. Procedure for APA graphics: 1. Generate the graphic image in the program of your choice. APA graphics only support monochrome images. 2.
ITherm® 280 Color Graphics iTherm® 280 Programmer’s Guide Color Graphics The iTherm® 280 is a two-color printer as rather than a full color printer. A full color printer forms the various colors of an image by mixing inks of different colors on the paper. The amount of each color determines the hue. Typically the paper is white and no ink produces a white. Mixing yellow and cyan produces a red and mixing cyan, magenta, and yellow in equal amounts produces a black or gray.
iTherm® 280 Programmer’s Guide ITherm® 280 Color Graphics Procedure for color horizontal graphics: There are many ways to generate graphics for the iTherm® 280 printer. The easiest is to use the PJColor program. (See the next section.) The other way is to use the Ithaca windows driver and capture the output to a file. To generate an image using the windows print driver: 1. Generate the graphic image in the program of your choice. Use colors consistent with the two colors installed in the printer. 2.
ITherm® 280 Color Graphics iTherm® 280 Programmer’s Guide Figure 20 Receipt with graphics As with all graphics, the data path to the printer must be eight bits. Seven-bit protocols do not work. iTherm® 280 Universal Color Graphics Starting with Version 1.88 of the iTherm® 280 Printer firmware supports the ability to print two color graphics in all emulations. This support is an enhancement to the original TMU200, ESC/POS, Star, and Citizen printer emulations.
iTherm® 280 Programmer’s Guide ITherm® 280 Color Graphics should be able to change the name printed on the top of a receipt. With the PJColor15 program you can store a named graphic into the printer an print it by changing the text name to match the stored graphic. For example, if your receipt has a name like "Joe's Market", you can save a graphic in the printer named "Joe's" and then change the "Joe's Market" to "&%URJoe's&" When the iTherm® 280 finds "&%URJoe's&", it is replaced with the stored graphic.
ITherm® 280 Color Graphics iTherm® 280 Programmer’s Guide Store Graphics in the printer: PJColor can store a graphic in the iTherm® 280 Printer or generate a file that will store a graphic in the printer. To Store a graphic in the printer 1) Start PJColor 2) Under Settings, Select the iTherm® 280 printer. Then select the emulation that you will be setting the printer to. 3) Select the resolution you would like to have the printer use to print the graphics.
iTherm® 280 Programmer’s Guide ITherm® 280 Color Graphics How universal graphics is done The printer extends all the emulations to support two additional escape sequences and adds limited IPCL support. IPCL (Ithaca Printer Control Language) is an ASCII method of sending printer commands to the printer. In Ithaca PcOS emulation, IPCL command support is extensive. In other emulations, IPCL support is limited to the following commands.
ITherm® 280 Color Graphics • • • iTherm® 280 Programmer’s Guide Send the following text strings to the printer using whatever means is available to you. &%UBLogo& Begin defining macro "Logo" &%UGLogo& End the Definition of "Logo" &%UMLogo& Save Macro "Logo" to nonvolatile memory A graphic image named “Logo” should now be stored in the nonvolatile memory. To verify the image is present, use the “&%UQ&” IPCL command or the PJColor Color Image Converter to print the name and size of the stored images.
iTherm® 280 Programmer’s Guide ITherm® 280 Color Graphics Universal Color Command Descriptions &%UB & Begin named universal graphic record IPCL &%UB & Description The &%UB & command initializes the universal graphic buffer structure, and redirects the following data to the universal graphic buffer. It uses the field as a reference. If the name already exists in the flash user store, the command is ignored.
ITherm® 280 Color Graphics iTherm® 280 Programmer’s Guide &%UQ& IPCL Description Report on user store &%UQ& The &%UQ& command prints a status report. The intention of the command is to aid in universal graphic development. &%UT IPCL Description Redefine User Store Termination Character &%UT This command allows the terminator used to signal the end of the name field in User Store commands to be modified. The value of is used for the terminator. The value of n may be from 0 to 255.
iTherm® 280 Programmer’s Guide ITherm® 280 Color Graphics iTherm® 280 Coupon-Cut-Logo Feature The iTherm® 280 printer has a feature that will allow a coupon and or logo graphic to printed as part of the existing auto cutter command. To activate this feature, it must first be configured. Configuration consists of specifying in what order the Coupon-Cut-Logo is processed and optionally, how much paper is to be feed after the new cut operation.
chapter 8 Unicode and Fonts 28-07764 Rev C Page 255
This page intentionally left blank Page 256 Rev C 28-07764
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts Unicode and Fonts Fonts Your TransAct® ITherm 280 printer uses outline and/or stroke based scalable fonts. These fonts provide you with additional font options as well as improved character appearance, while functioning transparently within legacy applications.
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts Stroke-based characters With stroke based characters, the points stored are along the center line. Less than half the points are needed to render stroke based characters. This improves character-generation performance and uses less space. This type of character generation is fast and efficient, and is ideally suited for Asian fonts.
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts point selection and not on the actual character height of any given characters. Second guessing the font designer can have very bad results when character are encountered that use the full cell. Asian fonts require slightly different rules for character placement and are not as one would expect. The Asian ideographs are positioned on center of mass, rather than on a baseline. The Latin data in Asian typefaces must be built on the same rules.
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts are always spaced in a fixed dot cell provided that the legacy commands are used. Adding or subtracting space between characters achieves different character pitches with a fixed character cell size. As each dot has a fixed size and position, only specific pitches are possible. Character spacing may also be selected by requesting a print pitch based on characters pre inch. Once again, the results are not exact.
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts Custom Fonts The ITherm 280 supports TrueType fonts. There are several companies that will provide custom character sets. The ITherm 280 uses fonts provided by Monotype. You can contract Monotype through their website www.fonts.com, or by phone in U.S. & Canada (toll-free 1-800424-8973, directly at 1-781-970-6020), or the United Kingdom (Free Phone 0800 371242, direct +44 (0)1737 765959.
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts and character pitch commands are supported as legacy commands. The appearance of the print using those commands has been optimized using the TransAct WGL4 font. If you elect to use your own font, or the GB18030 font, you may wish to use the scalable font control commands to select the character size and spacing rather than the legacy commands. TransAct Technologies provides a basic WGL4 font with the printer.
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts UTF-16BE is selected, all data sent to the printer must be 16 bits. All commands and command parameters are also 16 bit, however only values between 0 and 255 are valid. UTF-16LE uses the little-endian method of sending the two bytes. This method sends the low byte first and then the high byte. It is not required to send the byte order mark (0xFEFF) for the correct byte order to be initialized.
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts Unicode Encoding Example 3 Byte output Example Hex Character Code: FA11 FA 11 - Original Hex Code(s) 11111010 000100001 - Converted to Binary 1111 1010 00 0100001 - Underlined by section (ending of output byte) Section A 4 digits 1110 1111 Section B 6 digits Section C 6 digits 10 101000 10 010001 - 3 (8bit) Binary numbers EF A8 91 - 3 Hex Bytes to Output <239> <168> <145> - 3 decimals to output Page 264 Rev C 28-07764
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts Bitmap Fonts It is possible to use bitmap fonts with the ITherm 280 Printer. Bitmap fonts are fixed pitch and are not scalable. They will only function as legacy fonts. The printer is optionally supplied with 4 legacy bitmap fonts. They are in a 10x24, 12x24 draft font format and a 16x24 near letter quality format. They are defined as follows: BMFont0 = chr10x24.
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts 03 ........... 04 ........... 05 ........... 06 ........... 07 ........... 08 ........... 09 ........... 10 ........... 11 ........... 12 ........... 13 ........... 14 ........... 15 ........... 16 ........... 17 ........... 18 ........... 19 ........... 20 ........... 21 ........... 22 ........... 23 ........... 24 ........... ; N=0002 U=0021 EXCLAMINATION MARK 01 ........... 02 ........... 03 ...00...... 04 ...00...... 05 ...00...... 06 ...00.
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts 05 .00..00.... 06 .00..00.... 07 .00..00.... 08 ........... 09 ........... 10 ........... 11 ........... 12 ........... 13 ........... 14 ........... 15 ........... 16 ........... 17 ........... 18 ........... 19 ........... 20 ........... 21 ........... 22 ........... 23 ........... 24 ........... ; N=0004 U=0023 NUMBER SIGN 01 ........... 02 ........... 03 ........... 04 .....00.... 05 ..00.00.... 06 ..00.00.... 07 ..00.00.... 08 ..00.0000..
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts File system and the POR.INI file The ITherm 280 Printer supports a file system to support TransAct Technologies fonts and allow the user to load and link custom fonts. The POSFile tool provides a Windows interface to the printer and will allow fonts and configuration files to be loaded into the printer. This tool can read and write the POR.INI file, however the TransAct supplied fonts can not be read or deleted from the printer.
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts LinkFont1 = TactMOD.ttf LinkFont2 = TactWGL.ttf LinkFont3 = TactGB18030.ccc ;From 1 to 99 fonts may be defined Font1 = TactMOD.ttf Font2 = TactWGL.ttf Font3 = TactGB18030.ccc Font4 = TactOCR.ttf ;The brush size effects only stroke fonts. Brush = 100 [legacy] ;EmulationMode = Font,Horizontal,Vertical,Width. ; Where: ; If Font = 0 Use Linkfont else 1-4 above. ; If Font is 100 or greater use BMFont (Font - 100). BMFonts only used Width.
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts Legacy font definitions define the Size, spacing, font, quality and spot size to be used to generate a legacy font. For example the PcOS [esc] I<0> font select command will select PcOS1 font. (Note that the font select and the Font ID are offset by one.) The font size is defined in 1/8th point units. This gives a lot of control of the size.
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts Function ASCII Hexadecimal Decimal Description Select Font by name All [ESC] + N <0> 1BH 2BH 31H <27> <43> <51> The [ESC] + N command selects the font for printing by file name. This command is used to select a previously loaded font by its file name. If the selected font does not exist, the previous font will remain in effect.
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts ASCII Hexadecimal Decimal Description [ESC] + M 1BH 2BH 4DH <27> <43> <77> The [ESC] + M command will put the printer into UTF-8 character encoding mode of operation. If you wish to access characters above 255, You must select a Unicode encoding such as UTF-8. UTF-8 uses a Multiple Byte Character Sequence (MBCS) to identify the desired Unicode character. This encoding method is less straightforward.
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts Font Size and Spacing The font typically defines the character size and line spacing. The typical font is proportional spaced. That is the spacing between characters varies. This is not always the most desirable mode of operation. To give the programmer some additional control over character spacing and line height, the Accutherm Supreme provides a width and height override command.
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts Font Size and Spacing command interactions There are interactions between some of the following commands and some of the legacy font selection commands. These interactions need to be considered when developing a application for this printer. This printer uses a font rendering engine that relies on the font to provide character size and spacing information.
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts [ESC] + P, [ESC] + p Width Not Zero From Command From command Based on set character spacing command [ESC] + I, [ESC] + i [ESC] + I, [ESC] + i [ESC] + J, [ESC] + j [ESC] + J, [ESC] + j Value 0 No effect No effect From Font Value Not zero Value 0 No effect No effect No effect No effect From Command From Font Value Not zero No effect No effect From POR.INI definition From POR.
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts Function ASCII Hexadecimal Decimal Range Set minimum character height and width in points. [ESC] + P 1BH 2BH 50H <27> <43> <80> w = 0, 4 – 72 h = 4 - 72 All The [ESC] + P command will set the minimum character width or height based on “w” for the width and “h” for height, where “w” and “h” are in points, defined as 1/72nd of an inch increments.
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts NOTE: If the current character size is too large for the selected spacing, the characters will overlap. Variable spacing is recommended. Function ASCII Hexadecimal Decimal Range Set Character spacing in ¼ points. [ESC] + i 1BH 2BH 69H <27> <43> <105> d = 0, 16 – 255 All The [ESC] + i command will set the character spacing in points, where ¼ point is defined as 1/288th of an inch. This command will force mono-space printing.
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts Decimal Range <27> <43> <106> d = 0, 16 – 255 The [ESC] + j command will set the character spacing in points, where ¼ point is defined as 1/288th of an inch. This command will force mono-space printing. It will override any character spacing set by the set character height and width commands defined above.
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts NOTE: This is the minimum spacing. If the character height setting requires a larger spacing, the character height will override this setting. Function ASCII Hexadecimal Decimal Range Description Set stroke font brush size. All [ESC] + B 1BH 2BH 42H <27> <43> <66> w = 0, 6 – 200 The [ESC] + B command will set brush stroke percentage for stroke fonts. If the brush size is set to zero the font design stroke width will be used.
iTherm® 280 Programmer’s Guide ITherm® 280 Unicode and Fonts This command disables any right-side spacing set by the [ESC] V command. It enforces this spacing on the current font selection even if the character is too large for the spacing. In addition, when font changes are made, the character pitch is maintained.
chapter 9 File System 28-07764 Rev C Page 281
This page intentionally left blank Page 282 Rev C 28-07764
iTherm® 280 Programmer’s Guide ITherm® 280 File System File System Interface The ITherm 280 provides a file system to support fonts, configuration information, user graphics and macros. There are a number of commands that are provided to support the file system. In general, files need to be opened for read or write, read or written, and then closed. There is a command that will delete a file, and print or return a file directory.
iTherm® 280 Programmer’s Guide ITherm® 280 File System 1= User .udf 1 Undefined macro type .mac 1 Command Macro .img 1 Graphic image. (Internal format) .bgp 1 Bitmapped internal graphic .chr 1 User Character definition .cfg 0 configuration. .ttf 0 true type font .ccc 0 compressed stroke font .btf 0 Bitmap font definition .cpm 0 code page map. .bmp 1 bitmap graphic file .gph 1 raster graphic file. .ini 0 System information file .fcg 0 Field Configuration File .upd 0 System Update file .sys 0 Load image .
iTherm® 280 Programmer’s Guide Function ASCII Hexadecimal Decimal Description ITherm® 280 File System Close File command. [ESC] [RS] C 1BH 1EH 43H <27> <30> <67> The [ESC] [RS]C command will close the currently open file. All Function Close All Files command. All ASCII [ESC] [RS] K Hexadecimal 1BH 1EH 4BH Decimal <27> <30> <75> Description The [ESC] [RS]K command will close the font system and close all currently open files. Internal fonts will be reopened automatically if used.
iTherm® 280 Programmer’s Guide ITherm® 280 File System ASCII [ESC] [RS] ? Hexadecimal 1BH 1EH 3FH Decimal <27> <30> <63> The [ESC][RS]? Command requests the file system to return the status of the last file operation. This command, returns an identifier byte, followed by 2 bytes indicating the status results of the last file command.
iTherm® 280 Programmer’s Guide Function ASCII Hexadecimal Decimal Description ITherm® 280 File System Read File command. All [ESC] [RS] R 1BH 1EH 52H <27> <30> <82> The [ESC] [RS]R command requests that data be read from the file and returned to the host. The parameters specify the length of data that should be returned where LH * 256 + LL specifies the number of returned bytes. The data is treated as binary data with no translations.
iTherm® 280 Programmer’s Guide ITherm® 280 File System Function ASCII Hexadecimal Decimal Description Verify files. All [ESC] [RS] V 1BH 1EH 56H <27> <30> <86> The [ESC] [RS]V opens and reads the VERIFY.CFG file. This file contains a list of all files that are to be validated in the printer and the expected CRC of the file. If all the files verify, this command will return VG followed by it’s 2 byte CRC. If any of the files do not verify, the command will return VB followed by it’s 2 byte CRC.
chapter 10 iTherm® 280 Extended Printer Control 28-07764 Rev C Page 289
This page intentionally left blank Page 290 Rev C 28-07764
iTherm® 280 Programmer’s Guide IThermTM Extended Printer Control The iTherm® 280 printer has a number of Extended Control commands that allow an application to better track and maintain the printer. These commands are in all emulations20. The printer maintains a log of printer activity. This activity may be returned to the host with the [ESC]~ T command. This command returns a ~T followed by four binary bits that make up a 32 bit unsigned integer.
IThermTM Extended Printer Control 10 11 12 13 14 15 16 17 18 19 20 21 Page 292 iTherm® 280 Programmer’s Guide Power Up Resets Watchdog Resets Base Flash Erases Ext Flash Erases Auto Cutter Cycles Init Requests Error Vectors Auto Cutter Faults Power On Time (Min.) System Active Time (Min.
iTherm® 280 Programmer’s Guide Function: ASCII: Hex: Decimal: Description: IThermTM Extended Printer Control Set Secondary Paper Color [ESC] ~ R or [ESC] ~ L 1BH 7EH 52H or 1BH 7EH 4CH <27><126><82> or <27><126><76> This command reconfigures the secondary paper colors. This command should only be use when the colors of the installed paper are changed. This configuration must match the secondary colors as specified by the PJColor program for the color graphics to match the PJColor preview.
IThermTM Extended Printer Control Function ASCII Hexadecimal Decimal Description iTherm® 280 Programmer’s Guide Print Current Configuration and Totals [ESC] y <9> or [ESC] ~ <9> 1BH 79H 09H <27> <121> <9> This command forces the printer to print the current configuration. To function correctly it must be issued with the printer in the proper emulation mode. It is intended to be printed in the default Ithaca® configuration but will print in any configuration.
iTherm® 280 Programmer’s Guide IThermTM Extended Printer Control Notes: This command performs a configuration update, and should not be done on a regular basis. Notes: This command must be preceded with an ESC y <8> to enable it.
chapter 11 Communications 28-07764 Rev C Page 297
This page intentionally left blank Page 298 Rev C 28-07764
iTherm® 280 Programmer’s Guide Communications Protocol and Print Buffers The following figure illustrates the communication flow from host computer to printer and from printer to cash drawer. Host to printer link Printer Host computer Host to keypad Printer to cash drawer Cash drawer Keypad Figure 21 Typical POS System For the host to printer communication link, the iTherm® 280 printer supports serial or parallel communications.
iTherm® 280 Programmer’s Guide Communications Data to print er Printer Host computer Status and flow control back Figure 22 Host to Printer Link In most cases, the host computer is capable of sending information to the printer much faster than the printer can print it. To prevent information from being lost, a flow control mechanism is provided. The mechanism is called the flow control protocol.
iTherm® 280 Programmer’s Guide Communications The following figure illustrates the four basic parts of printer flow control. P rinter Com m u n i c a t i o n s port Serial or parallel connection ENQ processor Data Data Data Print control Print buffer Data Print head Status Status Getting full/ getting empty Figure 23 Printer Communications Buffer Flow The communication port is either serial or parallel and is controlled by a software communication driver.
iTherm® 280 Programmer’s Guide Communications USB USB stands for Universal Serial Bus. It was originally conceived in the early 90’s and officially recognized by Compaq, Intel, Microsoft and NEC. The development of USB has been slow, however, with the release of Windows 95 SR2 development accelerated. Windows 2000 now fully supports USB as do Windows 98 SE, and Windows Me. A technical discussion of USB is beyond the scope of this document.
iTherm® 280 Programmer’s Guide Communications TCP/IP A 10-BaseT Ethernet adapter is available for the Ithaca iTherm® 280 printer. This Wired Ethernet Adapter provides a fast and easiest way to network and share printers in your system. Ethernet provides a consistent common connection between printers and computers using standard protocols supported by Windows® 95, 98, Me, NT, 2000, XP, as well as many other platforms.
iTherm® 280 Programmer’s Guide Communications Parallel Port Parallel Port Protocol The iTherm® 280 parallel port behaves just as any printer connected to a personal computer. The parallel interface accepts 8-bits of data from the host. The strobe signal from the host is used to indicate that data is available. When the printer sees the strobe signal and accepts the data, it asserts a busy signal. The busy signal indicates to the host that the printer has accepted the data and is working on it.
iTherm® 280 Programmer’s Guide Communications Some systems may wish to change the details of how the strobe, busy, and acknowledged signals interact. The parallel-port option features define how the strobe, busy, and acknowledged signals operate. In normal mode, the printer follows the standard (Centronics) parallel-port conventions. With Options 1 and 3, the acknowledged and busy signals change simultaneously, which is sometimes referred to as ack-after-busy.
iTherm® 280 Programmer’s Guide Communications beyond the scope of this guide to describe the IEEE 1284 protocol. The complete specification is available from the Institute of Electrical and Electronic Engineers, Inc. at www.ieee.org. IEEE 1284 Response Buffer The iTherm® 280 printer has a 256-byte buffer that contains information to be returned by the IEEE 1284 reverse link. Information is placed in the buffer in the same format as RS-232 serial information is returned.
iTherm® 280 Programmer’s Guide Communications be activated. If the printer is placed back on-line while the reverse channel is active, the printer will not exit the reverse-channel mode. Inquire Responses In general, inquire commands place two-byte responses in the IEEE 1284 reversechannel buffer. The two bytes are the same as the serial mode responses. In IEEE 1284 mode, the printer remains busy until the inquire command is processed, assuring responses in real time.
iTherm® 280 Programmer’s Guide Communications where X is a model definition. X will be 3 if the printer is in the native iTherm® 280 emulation. 5 indicates that the printer is in some other emulation. Y and Z are bit fields that designate the options attached to the printer.
iTherm® 280 Programmer’s Guide Communications Serial Port Serial Port Protocol The serial port supports two flow control standards, XON/XOFF and Ready/Busy (sometimes called Data Terminal Ready (DTR) or hardware handshake). When Ready/Busy flow control is selected, the printer can be configured to use DTR, Request to Send (RTS), or both for flow control. If only DTR is selected for flow control, RTS will indicate the cover is open or the printer has faulted.
iTherm® 280 Programmer’s Guide Communications Communications Port Serial Data In Serial Data Out Data Data Inquire Commands RTS (Not Used for Flow Control) ENQ Proc.
iTherm® 280 Programmer’s Guide Communications Print Buffer Flow Flow Chart 1 illustrates how the communications driver acquires data from the serial port and places it in the buffer using Ready/Busy or XON/XOFF flow control. Wait for data from the host. Place data in the print buffer. Is the buffer full? Yes No Update the buffer pointers. Is the buffer past the high watermark? Yes Clear the DTR signal or transmit XOFF.
iTherm® 280 Programmer’s Guide Communications Flow Chart 2 illustrates how the print control software takes data from the buffer and controls flow. At the top of the chart, the print control software asks for data. If there is no data in the buffer, a “no data flag” is returned. The print software must then wait for data. If there is data in the buffer, it is read, and the pointers are updated. The buffer is then checked to see how much information is left.
iTherm® 280 Programmer’s Guide Communications When the printer is on, the print controller looks for data. If there is data, it processes it. Flow control is done when the data is taken from the buffer and the amount of data in the buffer is less than a prescribed amount. The low watermark is set based on the expected environment. The iTherm® 280 Printer sets the low watermark at half the buffer size or 1024 characters whichever is smaller.
iTherm® 280 Programmer’s Guide Communications Serial Device Identification The serial device must report its identification to the system using an identification string at 1200 baud. The identification string consists of 18 fields that identify the device, class of the device, and other compatible devices. Only five of the fields are required by all serial devices; all others are optional. The identification string used by the iTherm® 280 Printer follows.
iTherm® 280 Programmer’s Guide Communications Serial Port Inquire The serial port inquire is more straightforward than parallel mode. The serial acknowledged (ACK) or not acknowledged (NAK) responses follow a uniform format, the ACK or NAK is always followed by the command ID that requested it. This makes the design of the host application easier because the response can be identified and always follows the same format. The host sends an inquire to the printer asking for the form sensor status.
iTherm® 280 Programmer’s Guide Communications Display Pass Through The display pass through feature allows a pole display to be interconnected with the printer. The printer is connected to a host system with a special serial cable. The host sends serial data to the printer and the printer sends serial data to the pole display. The printer does not provide power to the display. During normal printer operation, no data is passed to the display.
iTherm® 280 Programmer’s Guide Communications Description Note: Note: Inquiry (ENQ) commands are accepted and answered in remote power down mode. The printer reactivates if the * button is pressed or a power up command is received. If power is lost after the power down command is issued, the printer remembers it is in power down mode but does not reactivate the communications link. The * button must be pushed to return the printer to full operation. This command is not available in STAR mode.
iTherm® 280 Programmer’s Guide Communications Miscellaneous Communication Features Power-cycle Recovery Sometimes the host needs to know if the printer was power cycled. An example would be after the receipt tape was changed. It is not necessary to turn off the printer to change the receipt. However, if the operator does, any information sent to the printer before the power cycle will be lost. The iTherm® 280 Printer has a flag that is set after a reset. The flag stays set until the host requests a reset.
iTherm® 280 Programmer’s Guide Communications Off-line Active A configuration flag that prevents the printer from going off-line (in most cases) is available. Off-line mode allows the application to query the printer for status rather than assume a status from the control signals. The feature allows the host application to query the printer at all times except when there is no power; a full input buffer; or a hard failure.
iTherm® 280 Programmer’s Guide Communications Recovery from Mechanical Errors The Ithaca Inquire commands and the Epson [DLE][ENQ] and [DLE][EOT] commands allow most printer error status to be read and in some cases recovery attempted. Paper jams and auto-cutter faults can be recovered, however, any data not previously printed will be lost. If the application is to support error recovery, the application should use the appropriate status request commands to query the printer periodically.
iTherm® 280 Programmer’s Guide Communications Programmer’s Notes When the serial port is used, it is important that the output lines from the printer not be shorted or back driven. If the signals are not to be used, they should be left open. Pins 3, 4, and 7 (of the 9 pin connector) are outputs from the printer. If any one of these signals is grounded or back driven, the other two outputs will be degraded.
iTherm® 280 Programmer’s Guide Appendix Appendix A: Internal Code Pages Code Page Country Code/Language Set 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 437 737 850 852 855 857 858 866 1004 1250 1251 1252 1253 1254 1257 28591 28592 28593 28594 28595 28597 28599 28605 USA (Slashed 0) USA (Unslashed 0) British German French Swedish I Danish Norwegian Dutch Italian French Canadian Spanish Swedish II Swedish III Swedish IV Turkish Swiss I Swiss II USA Greek Multilingual East Europe Latin II-852 Cyr
iTherm® 280 Programmer’s Guide Appendix Appendix B - ASCII Code Table Hex Decimal ASCII Hex Decimal ASCII Hex Decimal ASCII Hex Decimal ASCII 32 (SP) 40 64 @ 60 96 ` 00 0 NULL 20 01 1 SOH 21 33 ! 41 65 A 61 97 a 34 " 42 66 B 62 98 b # 43 67 C 63 99 c 02 2 STX 22 03 3 ETX 23 35 04 4 EOT 24 36 $ 44 68 D 64 100 d 37 % 45 69 E 65 101 e & 46 70 F 66 102 f 05 5 ENQ 25 06 6 ACK 26 38 07 7 BEL 27 39 ' 47 71 G
iTherm® 280 Programmer’s Guide Appendix Appendix C: Unicode Character Addresses Note: This information is based on the Unicode 3.0 Standard. For specific character locations see the Unicode standard. Note: The Accutherm Supterme does not contain all possible Unicode characters. The default character sets are defined by the WGL4 and GB18030 standards.
iTherm® 280 Programmer’s Guide Appendix 0x2070 0x20A0 0x20D0 0x2100 0x2150 0x2190 0x2200 0x2300 0x2400 0x2440 0x2460 0x2500 0x2580 0x25A0 0x2600 0x2700 0x27C0 0x2800 0x2900 0x3000 0x3040 0x30A0 0x3100 0x3130 0x3190 0x31A0 0x3200 0x3300 0x3400 0x209F 0x20CF 0x20FF 0x214F 0x218F 0x21FF 0x22FF 0x23FF 0x243F 0x245F 0x24FF 0x257F 0x259F 0x25FF 0x26FF 0x27BF 0x27FF 0x28FF 0x2FFF 0x303F 0x309F 0x30FF 0x312F 0x318F 0x319F 0x31FF 0x32FF 0x33FF 0x4DFF 0x4E00 0x9FA6 0xAC00 0xD7A4 0xD800 0xDB80 0xDC00 0xE000 0xF900
iTherm® 280 Programmer’s Guide Appendix Appendix D: WGL4.0 Character Addresses There are 654 Characters in this set.
iTherm® 280 Programmer’s Guide Appendix 00e2 00e3 00e4 00e5 00e6 00e7 00e8 00e9 00ea 00eb 00ec 00ed 00ee 00ef 00f0 00f1 00f2 00f3 00f4 00f5 00f6 00f7 00f8 00f9 00fa 00fb 00fc 00fd 00fe 00ff 0100 0101 0102 0103 0104 0105 0106 0107 0108 0109 010a 010b 010c 010d 010e 010f 0110 0111 0112 0113 0114 0115 0116 0117 0118 0119 011a 011b 011c 011d 011e 011f 0120 0121 0122 0123 0124 0125 0126 0127 0128 0129 012a 012b 012c 012d 012e 012f 0130 0131 0132 0133 0134 0135 0136 0137 0138 Latin small letter a with circumfl
iTherm® 280 Programmer’s Guide 0384 0385 0386 0387 0388 0389 038a 038c 038e 038f 0390 0391 0392 0393 0394 0395 0396 0397 0398 0399 039a 039b 039c 039d 039e 039f 03a0 03a1 03a3 03a4 03a5 03a6 03a7 03a8 03a9 03aa 03ab 03ac 03ad 03ae 03af 03b0 03b1 03b2 03b3 03b4 03b5 03b6 03b7 03b8 03b9 03ba 03bb 03bc 03bd 03be 03bf 03c0 03c1 03c2 03c3 03c4 03c5 03c6 03c7 03c8 03c9 03ca 03cb 03cc 03cd 03ce 0401 0402 0403 0404 0405 0406 0407 0408 0409 040a 040b 040c 040e 040f 0410 Appendix Greek tonos Greek dialytika tonos
iTherm® 280 Programmer’s Guide Appendix 2013 2014 2015 2017 2018 2019 201a 201b 201c 201d 201e 2020 2021 2022 2026 2030 2032 2033 2039 203a 203c 203e 2044 207f 20a3 20a4 20a7 20ac 2105 2113 2116 2122 2126 212e 215b 215c 215d 215e 2190 2191 2192 2193 2194 2195 21a8 2202 2206 220f 2211 2212 2215 2219 221a 221e 221f 2229 222b 2248 2260 2261 2264 2265 2302 2310 2320 2321 2500 2502 250c 2510 2514 2518 251c en dash em dash horizontal bar double low line left single quotation mark right single quotation mark si
iTherm® 280 Programmer’s Guide Appendix Appendix E: GB18030 Character Addresses There are 28575 Characters in this set.
iTherm® 280 Programmer’s Guide Appendix 03A0 03A1 03A3 03A4 03A5 03A6 03A7 03A8 03A9 03B1 03B2 03B3 03B4 03B5 03B6 03B7 03B8 03B9 03BA 03BB 03BC 03BD 03BE 03BF 03C0 03C1 03C3 03C4 03C5 03C6 03C7 03C8 03C9 0401 0410 0411 0412 0413 0414 0415 0416 0417 0418 0419 041A 041B 041C 041D 041E 041F 0420 0421 0422 0423 0424 0425 0426 0427 0428 0429 042A 042B 042C 042D 042E 042F 0430 0431 0432 0433 0434 0435 0436 0437 0438 0439 043A 043B 043C 043D 043E 043F 0440 0441 0442 0443 0444 GREEK CAPITAL LETTER PI GREEK CAPI
iTherm® 280 Programmer’s Guide 224C 2252 2260 2261 2264 2265 2266 2267 226E 226F 2295 2299 22A5 22BF 2312 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2474 2475 2476 2477 2478 2479 247A 247B 247C 247D 247E 247F 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 248A 248B 248C 248D 248E 248F 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 249A 249B 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 250A 250B 250C 250D 250E 250F 2510 2511 Appendix ALL EQUAL TO APPROXIMATELY EQUAL TO OR THE IMAGE OF NO
iTherm® 280 Programmer’s Guide Appendix 2554 2555 2556 2557 2558 2559 255A 255B 255C 255D 255E 255F 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 256A 256B 256C 256D 256E 256F 2570 2571 2572 2573 2581 2582 2583 2584 2585 2586 2587 2588 2589 258A 258B 258C 258D 258E 258F 2593 2594 2595 25A0 25A1 25B2 25B3 25BC 25BD 25C6 25C7 25CB 25CE 25CF 25E2 25E3 25E4 25E5 2605 2606 2609 2640 2642 2FF0 2FF1 BOX DRAWINGS DOUBLE DOWN AND RIGHT BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE BOX DRAWINGS DOWN DOUBLE AND LEFT
iTherm® 280 Programmer’s Guide 3062 3063 3064 3065 3066 3067 3068 3069 306A 306B 306C 306D 306E 306F 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 307A 307B 307C 307D 307E 307F 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 308A 308B 308C 308D 308E 308F 3090 3091 3092 3093 309B 309C 309D 309E 30A1 30A2 30A3 30A4 30A5 30A6 30A7 30A8 30A9 30AA 30AB 30AC 30AD 30AE 30AF 30B0 30B1 30B2 30B3 30B4 30B5 30B6 30B7 30B8 30B9 30BA 30BB 30BC 30BD 30BE 30BF 30C0 30C1 Appendix HIRAGANA LETTER DI HIRAGANA LETTER
iTherm® 280 Programmer’s Guide Appendix 3124 3125 3126 3127 3128 3129 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3231 32A3 338E 338F 339C 339D 339E 33A1 33C4 33CE 33D1 33D2 33D5 3400-4DB5 4E00-9FA5 E78D-E796 E7C7-E7C8 E815-E864 F92C F979 F995 F9E7 F9F1 FA0C FA0D FA0E FA0F FA11 FA13 FA14 FA18 FA1F FA20 FA21 FA23 FA24 FA27 FA28 FA29 FE30 FE31 FE33 FE34 FE35 FE36 FE37 FE38 FE39 FE3A FE3B FE3C FE3D FE3E FE3F FE40 FE41 BOPOMOFO LETTER ANG BOPOMOFO LETTER ENG BOPOMOFO LETTER ER BOPOMOFO LETTER I BOPOMOF
iTherm® 280 Programmer’s Guide FF32 FF33 FF34 FF35 FF36 FF37 FF38 FF39 FF3A FF3B FF3C FF3D FF3E FF3F FF40 FF41 FF42 FF43 FF44 FF45 FF46 FF47 FF48 FF49 FF4A FF4B Appendix FULLWIDTH LATIN CAPITAL LETTER R FULLWIDTH LATIN CAPITAL LETTER S FULLWIDTH LATIN CAPITAL LETTER T FULLWIDTH LATIN CAPITAL LETTER U FULLWIDTH LATIN CAPITAL LETTER V FULLWIDTH LATIN CAPITAL LETTER W FULLWIDTH LATIN CAPITAL LETTER X FULLWIDTH LATIN CAPITAL LETTER Y FULLWIDTH LATIN CAPITAL LETTER Z FULLWIDTH LEFT SQUARE BRACKET FULLWIDTH RE
iTherm® 280 Programmer’s Guide Appendix Appendix F Windows 1252 Latin 1 Windows 1252 Latin 1 to Unicode translation ASCII 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A 0x0B 0x0C 0x0D 0x0E 0x0F 0x10 0x11 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x1A 0x1B 0x1C 0x1D 0x1E 0x1F 0x20 0x21 0x22 0x23 0x24 0x25 0x26 0x27 0x28 0x29 0x2A 0x2B 0x2C 0x2D 0x2E 0x2F 0x30 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39 0x3A 0x3B 0x3C 0x3D 0x3E 0x3F 0x40 0x41 0x42 0x43 0x44 Unicode 0x0000 0x0001 0x0002 0x0003 0x0004
iTherm® 280 Programmer’s Guide 0x8B 0x2039 0x8C 0x8D 0x8E 0x8F 0x90 0x91 0x92 0x93 0x94 0x95 0x96 0x97 0x98 0x99 0x9A 0x9B 0x0152 0x0000 0x017D 0x0000 0x0000 0x2018 0x2019 0x201C 0x201D 0x2022 0x2013 0x2014 0x02DC 0x2122 0x0161 0x203A 0x9C 0x9D 0x9E 0x9F 0x0153 0x0000 0x017E 0x0178 0xA0 0xA1 0xA2 0xA3 0xA4 0xA5 0xA6 0xA7 0xA8 0xA9 0xAA 0xAB 0x00A0 0x00A1 0x00A2 0x00A3 0x00A4 0x00A5 0x00A6 0x00A7 0x00A8 0x00A9 0x00AA 0x00AB 0xAC 0xAD 0xAE 0xAF 0xB0 0xB1 0xB2 0xB3 0xB4 0xB5 0xB6 0xB7 0xB8 0xB9 0xBA 0
iTherm® 280 Programmer’s Guide Appendix Appendix G: Ordering Supplies ITherm® supplies can be ordered easily direct from the TransAct website (www.transacttech.com) or our telephone number within the US toll free: (877) 7ithaca. (other inquires: (607) 257-8901). When calling by phone, please ask for the Sales Department. Receipt Paper Type Dimensions Black Monochrome One-Ply, 24 rolls per box 3.125” wide x 4” diameter Thermal Red Color Thermal One-Ply, 24 rolls per box Red/Black 3.
iTherm® 280 Programmer’s Guide Index Index [BEL] Audio alert, 163, 164 [BEL] Sound buzzer, 223 [BS] Insert back space, 83 [BS] Set back space, 206 [CAN] Clear print buffer, 162 [CR] Print and carriage return, 191 [CR] Set carriage return, 82 [DC2] Begin 10 cpi, 93 [DC4] End one-line double-wide print, 107 [DLE] [DC4] <1> Generate pulse in real time, 225 [DLE] [DC4] <2> Executes the printer power-off sequence, 225 [DLE] [DC4] <8> d1…d7 Clear Buffer(s), 225 [DLE] ENQ Real-time request to
iTherm® 280 Programmer’s Guide Index [ESC] a Set justification, 84 [ESC] A Set variable line spacing to n/72 inch, 86 [ESC] b ...
iTherm® 280 Programmer’s Guide Index Begin Italics, 112 Bi-directional Printing, Beginning, 126 Bit Image Mode, Selecting, 209 Bit-Image Command, 209 Boot Loader Mode, 61 Buffer, 306 Carriage Return, 82 Cash Drawer 1 Status, Inquire, 172 Cash drawer, Opening, 163 Change User Store Terminator, 136 Changing Interface Cards, 39 Character attributes, 107 Character Code Page, Setting, 101 Character Code table, Selecting, 196 Character Code Table, Selecting, 198 Character Commands, 193 Character Pitch, Setting,
iTherm® 280 Programmer’s Guide Index International Character Sets, 195 IPCL Codes, 74 Ithaca Specific iTherm™ 280 Commands, 236 Justification, Selecting, 206 Justification, Setting, 84 LED indicator error, 56 paper, 56 power, 56 Level 0 diagnostics, 61 Line feed, 82 Line Feed Button, 55 Line Feed, Performing, 85 Line Feed, Reverse, 90 Line Spacing Commands, 193 Line Spacing, Enabling, 87 Line Spacing, Feeding Lines, 87 Line Spacing, Select Default, 193 Line Spacing, Set at 2 ½, 16-inch and 7/72 inch, 86 L
iTherm® 280 Programmer’s Guide Index PcOS Quick Reference Chart, 76 Peripheral Devise Status, Selecting, 226 Plug and Play parallel, 307 Serial, 313 Power Control, Remote, 169, 316 Power Cycle Status, Inquire, 174 Power-cycle recovery, 318 Print and Carriage Return, 191 Print and Feed Lines, 191 Print and Feed Paper, 192 Print and Line Feed, 191 Print and Reverse Feed Lines, 191, 192 Print Buffer Flow, 311 Print Buffer Size, 313 Print buffer, control, 162 Print buffers, 299 Print counter, 228 Print Curren