Ithaca Series 180 Front Exit Thermal Receipt Printer
Introduction Model 181 Series 180 TransAct Technologies THIS PAGE INTENTIONALLY LEFT BLANK Page 1 -2 09/26/2000 Programmer’s Guide
Programmer’s Guide Model 181 Series 180 Introduction TransAct Technologies Warning To prevent fire or shock hazard, do not expose this printer to rain or Moisture.
Introduction Model 181 Series 180 Programmer’s Guide TransAct Technologies Disclaimer Information in this publication is subject to change without notice. However, as product improvements become available, TransAct Technologies Incorporated will make every effort to provide updated information for the products described in this publication.
Programmer’s Guide Model 181 Series 180 Introduction TransAct Technologies Federal Communications Commission Radio Frequency Interference Statement The Ithaca Model 181 Printer complies with the limits for a Class B 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.
Introduction Model 181 Series 180 TransAct Technologies THIS PAGE INTENTIONALLY LEFT BLANK Page 1 -6 09/26/2000 Programmer’s Guide
Programmer’s Guide Model 181 Series 180 Table of Contents TransAct Technologies Table of Contents Setting Up and Using Section 1: Introduction...............................................................................................………1-2 Disclaimer ...............................................................................................….. 1-2 Copyright ...............................................................................................….. 1-2 Trademarks ..........................
Table of Contents Model 181 Series 180 Programmer’s Guide TransAct Technologies Reliability .................................................................................... 4-4 Environmental Conditions ............................................................ 4-4 Section 5: Chapter 3 Commands Emulation Modes and Available commands ................................................ 5-1 Commands Syntax Titleline ....................................................................….
Programmer’s Guide Model 181 Series 180 General Information TransAct Technologies CHAPTER 1 General information GERERAL DESCRIPTION FEATURES The Model 181 is a high-quality POS printer that can print on a thermal paper roll. The printer has the following features: PRINTING High speed printing: approximately 24 lines/second (1/6 inch feed). Low-noise thermal printing. 2.83 inch print zone. Dual cash draw drivers with status. Centronics parallel P1284 nibble, byte mode,or RS232C interface.
General Information Model 181 Series 180 Programmer’s Guide TransAct Technologies INTERFACE SPECIFICATIONS SERIAL The Serial interface is a standard RS232 interface on a 9 pin D-Shell connector. It is defined as a standard DTE device. A null model cable is required to interface the printer to another DTE device (a PC). See the serial port description contained in the communications area later in this manual for more information.
Programmer’s Guide Model 181 Series 180 General Information TransAct Technologies SETTING UP THE UNIT PRINTER CONNECTIONS Up to four cables can be connected to the printer, providing for power, host interface, and up to 2 cash draw (with a “Y” Connector) support. They all connect in the back of the printer, which is shown below: Power Connector Cash Drawer Connector Interface Connector Back of Printer CONNECTING THE INTERFACE CABLE You need an appropriate interface cable.
General Information Model 181 Series 180 Programmer’s Guide TransAct Technologies CONNECTING THE CASH DRAWER CABLES The cash drawer option, (with a ”Y” connector) allows up to two cash drawers to be connected to the printer in a system with a PC that has no connectors for the cash drawer cables. The cash drawers are operated by software commands from the host system through the printer.
Programmer’s Guide Model 181 Series 180 General Information TransAct Technologies Warning: Use a drawer that matches the printer specification. Using an improper drawer may damage the drawer as well as the printer. Caution: Do not connect a telephone line to the drawer kick-out connector; otherwise the printer and the telephone line may be damaged. CONNECTING THE POWER SUPPLY Use the optional Ithaca Phi-Hong PSA-53 or equivalent power supply for your printer.
General Information Model 181 Series 180 Programmer’s Guide TransAct Technologies INSTALLING OR REPLACING THE PAPER ROLL Note: Be sure to use paper rolls that meet specifications. 1. Open the printer cover by pulling the handle on the front of the printer toward you. 2. If the paper is being changed remove the empty paper core from the spindle. 3. Insert the new paper roll onto the spindle with the paper feeding over the top. 4. Push the paper roll down into the paper well. 5.
Programmer’s Guide Model 181 Series 180 General Information TransAct Technologies SELF TEST MODE Description The Ithaca Model 181 thermal printer has the ability to print self-test ticket(s) on powerup upon command. The self-test prints a variety of information about the printer operating settings and configuration. The information provided by the self-test is listed below, in order: CONFIGURATION TICKET Model number Serial number Operating system type and version.
General Information Model 181 Series 180 Programmer’s Guide TransAct Technologies CONFIGURATION MODE Description The Ithaca Model 181 thermal printer has many options and features that are user configurable. Unlike most printers that use dip switches to control these settings, the Model 181 has been equipped with an automated configuration mode. By powering the printer on in a special sequence, the printer enters the configuration mode.
Programmer’s Guide Model 181 Series 180 General Information TransAct Technologies The tables below depict the Configurable Modes, in order, presented by the configuration mode.
General Information Model 181 Series 180 Programmer’s Guide TransAct Technologies Disabled Hardware CR Control Perform CR Perform LF Ignore CR Auto Cutter Enabled Disabled Auto Cutter Mode Mode 1- Mode 5 Print Head Intensity Setting 1 - Setting 5 Off Line status Normal Buffer full only Automatic Status Back Buffers Input Buffer size User defined Buffer size Enabled Disabled Range 8k-100k Range Hex mode print Hex mode Active Page 3 -10 09/26/2000
Reference Information Model 181 Series 180 Programmer’s Guide TransAct Technologies CHAPTER 2 Reference Information Printing Specifications Printing method: Thermal line printing Dot density: 203 dpi x 203 dpi [8 dots/mm] Printing direction: Unidirectional with friction feed Printing width: 72 mm (2.83"), 576 dot positions Characters per line (default): (Font A) 44 (Font B) 57 Character spacing (default): 0.25 mm (.01") (2 dots) (Font A) 0.25 mm (.
Programmer’s Guide Model 180 Series 181 Reference Information TransAct Technologies Line Spacing (default): Epson TM-T8x, Epson TM-300 mode: 4.23 mm (1/6") Axiohm 7193 mode: 3.35 mm (1/7.56") Programmable by control command.
Reference Information Model 181 Series 180 Programmer’s Guide TransAct Technologies PAPER SPECIFICATIONS Paper roll (single-ply): Single ply fax grade thermal receipt paper Thermal sensitive layer on the outside of roll Paper thickness: .06 mm to .09 mm (.0024 to .0035 in.) Paper width: 80 mm - 1mm + 0 mm (3.15 in. - .04 in. +.0 in.) Maximum roll diameter: 83 mm (3.25 in.) Outside core diameter: 19 mm minimum (.750 in. minimum) Inside core diameter: 12.5 mm + 2.5 mm (.492 in. + .098 in.
Programmer’s Guide Model 180 Series 181 Reference Information TransAct Technologies ELECTRICAL CHARACTERISTICS Supply Voltage: 24 VDC 5% (optional power supply: Ithaca Phi Hong PSA- 53 Current consumption: Operating: Mean: approximately 2A. Peak: Approximately 5.0A. Standby: Mean: approximately 0.2A. Note: Maximum 1A for drawer kick-out driving.
Programmer’s Guide Model 181 Series 180 Software Commands TransAct Technologies CHAPTER 3 Commands Emulation Modes and Available Commands The Ithaca Model 181 thermal printer is capable of emulating an Epson TM-T8x, or a TM-300B series printer and Axiohm 7193 printer. The Series 180 command set is a combination of the Epson TM-T8x and Axiohm 7193 command sets. Though the Epson TM-8x and Axiohm 7193 share many of the same commands, they do not all produce the same results.
Software Commands Model 181 Series 180 Programmer’s Guide TransAct Technologies COMMAND NOTATION [Name] [Format] [Range] [Default] [Description] [Axiohm 7193] [Epson TM-T8x] [Epson TM-300B] The name of the command. The code sequence. ASCII indicates the ASCII equivalents. Hex indicates the hexadecimal equivalents. Decimal indicates the decimal equivalents. [ ] k indicates the contents of the [ ] should be repeated k times. Gives the allowable ranges for the arguments.
Programmer’s Guide Model 181 Series 180 Software Commands TransAct Technologies Supported Commands Print and Feed Commands Command Name Page Number LF CR ESC J ESC d DC4 NAK ETB Print and line feed Print and carriage return Print and feed paper Print and feed n lines Feed n print lines Feed n Dot Rows Print 5-7 5-7 5-7 5-8 5-8 5-8 5-7 Line Spacing Commands Command Name Page Number ESC 2 ESC 3 SYN Select default line spacing Set line spacing Add n extra dot rows 5-8 5-8 5-9 Character Commands
Software Commands Model 181 Series 180 Programmer’s Guide TransAct Technologies Panel Button Commands Command Name Page Number ESC c 5 Enable/disable panel buttons 5-19 Paper Sensor Commands Command Name Page Number ESC c 3 ESC c 4 Select paper sensor(s) to output paper end signals Select paper sensor(s) to stop printing 5-19 5-20 Print Position Commands Command Name Page Number ESC $ ESC \ ESC a HT ESC D GS L GS W ESC DC4 Set absolute print position Set relative print position Select ju
Programmer’s Guide Model 181 Series 180 Software Commands TransAct Technologies Status Commands Command Name Page Number GS a GS r DLE EOT ESC u1 ESC u1 ESC u 01 ESC v Enable/Disable Automatic Status Back (ASB) Transmit status Real-time status transmission Transmit peripheral device status Request alternate status Transmit cash drawer status Transmit printer status 5-28 5-29 5-30 5-33 5-33 5-34 5-32 1 Command has different functions depending upon the current emulation mode.
Software Commands Model 181 Series 180 Programmer’s Guide TransAct Technologies Miscellaneous Commands Command Name Page Number GS P ESC @ DLE GS I ESC p ESC = DLE ENQ ESC ‘ GS E Set horizontal and vertical motion units Initialize printer Clear printer Transmit printer ID Generate pulse Set peripheral device Real-time request to printer Copy user defined storage buffers Set 5-41 5-41 5-41 5-42 5-42 5-43 5-43 5-44 5-44 Page 5 - 6 09/26/2000
Programmer’s Guide Model 181 Series 180 Software Commands TransAct Technologies Print and Feed Commands LF [Name] [Format] [EAB] Print and line feed ASCII LF Hex 0A Decimal 10 [Description] Prints the data in the print buffer and feeds one line based on the current line spacing. ETB [Name] [Format] [A] Print ASCII ETB Hex 17 Decimal 23 [Description] Prints one line from the buffer and feeds paper one line at the current line height (functions same as LF command).
Software Commands Model 181 Series 180 Programmer’s Guide TransAct Technologies ESC d n [Name] [Format] [EAB] DC4 n [Name] [Format] [A] Print and feed n lines n ASCII ESC d n Hex 1B 64 n Decimal 27 100 [Range] 0 n 255 [Description] Prints the data in the print buffer and feeds n lines. Feed n print lines n ASCII DC4 n Hex 14 n Decimal 20 [Range] 0 n 255 [Description] Feeds the paper n lines at the current line height without printing.
Programmer’s Guide Model 181 Series 180 Software Commands TransAct Technologies SYN n [Name] [Format] [A] Add n extra dot rows ASCII SYN Hex 16 Decimal 22 0 n 12 n n n [Range] [Default] n = 23, 6 lines/inch with vertical motion unit = 1/360. [Epson TM-T8x] [Axiohm 7193]n = 2, 7.6 lines/inch with vertical motion unit = 1/152. [Description] Adds n extra dot rows [n × vertical motion unit] to the character height to increase space between print lines or decrease the number of lines per inch.
Software Commands Model 181 Series 180 Programmer’s Guide TransAct Technologies ESC % n [Name] [Format] [EAB] Select/cancel user-defined character sets n ASCII ESC % n Hex 1B 25 n Decimal 27 37 See table below. [Range] [Epson TM -300] LSB only used. [Description] Selects or cancels a user-defined character set as defined below: Table of n Hex Decimal 00 0 01 1 02 2 41 65 Function Selects code page 437 and turns off user defined set.
Programmer’s Guide Model 181 Series 180 Software Commands TransAct Technologies c1 specifies the beginning character code for the definition, and c2 specifies the final code. x specifies the number of dots in the horizontal direction. d is the dot data for the characters. The dot pattern is in the horizontal direction from the left side. Any remaining dots on the right side are blank. The allowable character code range differs between Epson and Axiohm emulation. See [Range] above.
Software Commands Model 181 Series 180 Programmer’s Guide TransAct Technologies [Reference] ESC % ESC ? n [Name] [Format] [E] Cancel user-defined characters ASCII ESC ? Hex 1B 3F Decimal 27 63 n n n [Range] [Axiohm 7193] 32 n 254 [Epson TM-T8x] 32 n 126 [Description] Cancels user-defined characters.
Programmer’s Guide Model 181 Series 180 Software Commands TransAct Technologies ESC [ T nH nL [Name] Select character code table [Format] ASCII ESC [ T nH nL Hex 1B 5B 54 nH nL Decimal 27 91 84 nH nL See table below [Range] [Default] nH = 1, nL = 181 (Code Page 437) [Description] Selects a page n from the character code table.
Software Commands Model 181 Series 180 Programmer’s Guide TransAct Technologies ESC ^ n [Name] [Format] Print Control Character n ASCII ESC ^ n Hex 1B 5E n Decimal 27 94 [Range] 0 n 255 [Description] This command allows characters from 0 - 31 codes to be printed. In normal operation characters from 0 - 31 are control characters. This command turns off control code translation for character n.
Programmer’s Guide Model 181 Series 180 Software Commands TransAct Technologies ESC ! n [Name] [Format] [EAB] Select print mode(s) ASCII ESC ! Hex 1B 21 Decimal 27 33 [Range] 0 n 255 [Epson TM -300] Bit 3 underfined. [Description] Selects print mode(s) using n as follows: Bit 0 1, 2 3 4 5 6 7 Off/On Off On Off On Off On Off On Off On Hex 00 01 00 08 00 10 00 20 00 80 Decimal 0 1 0 8 0 16 0 32 0 128 n n n Function Character font A (13 × 24) Character font B (10 × 24). Undefined.
Software Commands Model 181 Series 180 Programmer’s Guide TransAct Technologies ESC E n [Name] [Format] [E] Turn emphasized mode on/off ASCII ESC E Hex 1B 45 Decimal 27 69 [Range] 0 n 255 [Description] Turns emphasized mode on or off n n n When the LSB is 0, emphasized mode is turned off. When the LSB is 1, emphasized mode is turned on.
Programmer’s Guide Model 181 Series 180 Software Commands TransAct Technologies ESC V n [Name] [Format] [EAI] Turn 900 rotation mode on/off ASCII ESC V Hex 1B 56 Decimal 27 86 n = 0, 1, 2, 48, 49, 50 [Range] [Description] Turns 900 clockwise rotation mode on/off n is used as follows: n 0, 48 1, 49 2, 50 n n n Function Turns off all rotation modes Turns on 900 clockwise rotation mode Turns on 900 counter-clockwise rotation mode ESC DC2 [Name] [Format] [A] Turn 900 counter-clockwise rotation mode on
Software Commands Model 181 Series 180 Programmer’s Guide TransAct Technologies GS B n [Name] [Format] [E] Turn white/black reverse printing mode on/off n ASCII GS B n Hex 1D 42 n Decimal 29 66 [Range] 0 n 255 [Description] Turns on or off white/black reverse printing mode. When the LSB is 0, white/black reverse mode is turned off. When the LSB is 1, white/black reverse mode is turned on.
Programmer’s Guide Model 181 Series 180 Software Commands TransAct Technologies Panel Button Commands ESC c 5 n [Name] [Format] [EAB] Enable/disable panel buttons n ASCII ESC c 5 n Hex 1B 63 35 n Decimal 27 99 53 [Range] 0 n 255 [Description] Enables or disables the panel buttons. When the LSB is 0, the panel buttons are enabled. When the LSB is 1, the panel buttons are disabled. In Epson TM-T8x emulation mode, the ESC @ command will re-enable the panel buttons.
Software Commands Model 181 Series 180 Programmer’s Guide TransAct Technologies ESC c 4 n [Name] [Format] [E] Select paper sensor(s) to stop printing n ASCII ESC c 4 n Hex 1B 63 34 n Decimal 27 99 52 [Range] 0 n 255 [Description] This command is not supported and is ignored if received.
Programmer’s Guide Model 181 Series 180 Software Commands TransAct Technologies ESC a n [Name] [Format] [EA] Select justification n ASCII ESC a n Hex 1B 61 n Decimal 27 97 [Range] 0 n 2, 48 n 50 [Description] Aligns all the data in one line to the specified position n selects the justification as follows: n 0, 48 1, 49 2, 50 Justification Left Justification Centering Right Justification HT [Name] [Format] [EAB] Horizontal tab ASCII HT Hex 09 Decimal 9 [Description] Moves the print position
Software Commands Model 181 Series 180 Programmer’s Guide TransAct Technologies GS L nL nH [Name] Set left margin nL [Format] ASCII GS L nL Hex 1D 4C nL Decimal 29 76 [Range] 0 nL 255 0 nH 255 [Description] Sets the left margin using nL and nH. The left margin is set to [(nL + nH beginning of the line.
Programmer’s Guide Model 181 Series 180 Software Commands TransAct Technologies Bit-Image Commands ESC m nL nH d1 ... dk [EAB] [Name] Select bit-image mode m nL nH d1 ... k [Format] ASCII ESC * m nL nH d1 ... k Hex 1B 2A m nL nH d1 ...
Software Commands Model 181 Series 180 Programmer’s Guide TransAct Technologies 24-Dot Single-Density Mode representation Top of bit-image d1 d4 d7 d2 d5 ... d3 d6 ... .... MSB dn dn LSB ESC K nL nH d1 ... dk [A] [Name] Select 8-dot single-density bit-image mode nL nH d1 ... k [Format] ASCII ESC K nL nH d1 ... k Hex 1B 4B nL nH d1 ... k Decimal 27 75 [Range] 0 nL 255 0 nH 3 0 d 255 [Epson TM -300] Print and reverse feed not supported.
Programmer’s Guide Model 181 Series 180 Software Commands TransAct Technologies ESC Y nL nH d1 ... dk [A] [Name] Select 8-dot double-density bit-image mode nL nH d1 ... k [Format] ASCII ESC Y nL nH d1 ... k Hex 1B 59 nL nH d1 ... k Decimal 27 89 [Range] 0 nL 255 0 nH 3 0 d 255 [Description] See ESC * for a complete description of 8-dot double-density bit-image mode. GS x y d1 ... d(x × y × 8) [EA] [Name] Define downloaded bit-image in the RAM buffer x y d1 ...
Software Commands Model 181 Series 180 Programmer’s Guide TransAct Technologies A representation of the format of a downloaded bit-image is depicted below: Column one d1 dy +1 d2 dy +2 .... .... ... ... .... MSB .... .... .... dn .... LSB d(x dy y 8) GS / m [Name] [Format] [EAI] Print downloaded/stored bit-image m ASCII GS / m Hex 1D 2F m Decimal 29 47 [Description] Prints a downloaded or stored bit-image using the mode specified by m.
Programmer’s Guide Model 181 Series 180 Software Commands TransAct Technologies Hex 00 01 02 03 Decimal 0 1 2 3 Mode Normal Double-width Double-height Quadruple Mode Table Vertical Dot Density (DPI) 203 203 101 101 Horizontal Dot Density (DPI) 203 101 203 101 If the printer is commanded to print a user defined bit-image from the RAM buffer and that image does not exist, the printer will check the non-volatile eeprom buffer for a saved user defined bit-image and print that image if it exists.
Software Commands Model 181 Series 180 Programmer’s Guide TransAct Technologies Status Commands GS a n [Name] [Format] [E] Enable/Disable Automatic Status Back (ASB) n ASCII GS a n Hex 1D 61 n Decimal 29 97 [Range] 0 n 255 n=0 [Default] [Description] Enables or disables ASB. ASB is enabled if any item is selected. The printer automatically generates a 4-byte status message whenever the status changes. Multiple status items can be selected. When n = 0, ASB is disabled.
Programmer’s Guide Model 181 Series 180 Software Commands TransAct Technologies Second Byte (error information) Bit Off/On Hex Decimal 0-2 3 Off 00 0 On 08 8 4 Off 00 0 5 Off 00 0 On 20 32 6 Off 00 0 On 40 64 7 Off 00 0 Status for ASB Undefined. No auto-cutter error. Auto-cutter error occurred. Not used. Fixed to Off. No unrecoverable error. Unrecoverable error occurred. No automatically recoverable error occurred. Automatically recoverable error occurred. Not used. Fixed to Off.
Software Commands Model 181 Series 180 Programmer’s Guide TransAct Technologies Paper sensor status (n = 1 , 49). Bit Off/On Hex Decimal 0,1 2,3 Off 00 0 On 0C 12 4 Off 00 0 5,6 7 Off 00 0 Status Not used. Fixed to Off. Paper roll sensor: paper present. Paper roll sensor: paper NOT present. Not used. Fixed to Off. Undefined. Not used. Fixed to Off. Drawer kick-out connector status (n = 2, 50). Bit Off/On Hex Decimal Status 0 Off 00 0 Drawer 1 or 2 connector status is LOW.
Programmer’s Guide Model 181 Series 180 Software Commands TransAct Technologies Printer status (n=1) Bit Off/On Hex 0 Off 00 1 Off 02 2 Off 00 On 04 3 Off 00 On 08 4 On 10 5,6 7 Off 00 Decimal 0 2 0 4 0 8 16 0 Status Not used. Fixed to Off. Not used. Fixed to On. Drawer 1 or 2 kick-out connector status is LOW**. Drawer 1 or 2 kick-out connector status is HIGH**. On-Line. Off-Line. Not used. Fixed to On. Undefined. Not used. Fixed to Off. ** See Chapter 1 for Cash drawer connector information.
Software Commands Model 181 Series 180 Programmer’s Guide TransAct Technologies Error status (n=3) Bit Off/On Hex 0 Off 00 1 On 02 2 3 Off 00 On 08 4 On 10 5 Off 00 On 20 6 Off 00 On 40 7 Off 00 Decimal 0 2 0 8 16 0 32 0 64 0 Paper roll sensor status (n=4) Bit Off/On Hex Decimal 0 Off 00 0 1 On 02 2 2, 3 Off 00 0 On 0C 12 4 On 10 16 5, 6 Off 00 0 On 60 96 7 Off 00 0 Status Not used. Fixed to Off. Not used. Fixed to On. Undefined. No auto-cutter error. Auto-cutter error occurred. Not used.
Programmer’s Guide Model 181 Series 180 Software Commands TransAct Technologies ESC u n [Name] [Format] [EB] Transmit peripheral device status n ASCII ESC u n Hex 1B 75 n Decimal 27 117 n = 0, 48 [Range] [Usage] *Epson TM-T8x emulation mode definition. [Epson TM -300] n= 0, LSB only used. [Description] Transmits the status of the draw kick-out connector as a byte when n = 0 or 48. This command allows the host to determine the status of a peripheral device.
Software Commands Model 181 Series 180 Programmer’s Guide TransAct Technologies 1 n 00 Function Drawer 1 01 Drawer 2 02 03 Paper Low (Not Implemented) Paper Out >03 Ignored, No Change Description High = Open Low = Closed or Not Present High = Open Low = Closed or Not Present High = Paper Low Low = Not Used High = Paper Out (Default) Low = Not Used Printer Does Not Stay BUSY1 PAPER EXHAUST LINE is valid to indicate previously requested status.
Programmer’s Guide Model 181 Series 180 Software Commands TransAct Technologies Bit 0 1 2 3 4 5 6 7 Status Receipt Paper Receipt Cover Receipt Paper Knife Not Used Printhead Input Voltage Not Used 0 Signifies Present Closed Present OK OK OK Bar Code Commands GS h n [Name] [Format] [EA] Set bar code height ASCII GS Hex 1D Decimal 29 1 n 255 h 68 104 n n n [Range] [Default] [Epson TM-T8x] 0.90 inches high [Axiohm 7193]1.06 inches high [Description] Sets the height of the bar code.
Software Commands Model 181 Series 180 Programmer’s Guide TransAct Technologies n Module Width (mm) for Multi-level Bar Code 1 2 3 4 5 6 0.125 0.250 0.375 0.500 0.625 0.750 Binary-level Bar Code Thin element width (mm) 0.125 0.250 0.375 0.500 0.625 0.750 Thick element width (mm) 0.375 0.625 1.000 1.250 1.625 2.000 Multi-level bar codes are as follows: UPC-A, UPC-E, JAN13 (EAN 13), JAN 8 (EAN 8), CODE93, CODE128 Binary-level bar codes are as follows: CODE39, ITF, CODABAR 1 GS k m d1...
Programmer’s Guide Model 181 Series 180 Software Commands TransAct Technologies 2 2 2 2 2 m 65 66 67 68 69 Bar Code System UPC-A UPC-E JAN13 (EAN 13) JAN 8 (EAN 8) CODE39 Number of Characters 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 72 73 CODE93 CODE128 1 n 255 2 n 255 2 Remarks 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 57,
Software Commands Model 181 Series 180 Programmer’s Guide TransAct Technologies GS H n [Name] [Format] [EA] Select printing position of HRI characters n ASCII GS H n Hex 1D 48 n Decimal 29 72 [Range] 0 n 3, 48 n 51 [Description] Selects the printing position of HRI characters when printing a bar code. n selects the printing position as follows: n 0, 48 1, 49 2, 50 3, 51 Printing position Not printed. Above bar code. Below bar code. Both above and below the bar code.
Programmer’s Guide Model 181 Series 180 Software Commands TransAct Technologies GS ^ r t m [Name] [Format] [EI] Execute macro ASCII GS Hex 1D Decimal 29 [Range] 0 r 255 0 t 255 m = See below [Description] Executes a macro. ^ 5E 94 r r r t t t m m m r specifies the number of times to execute the macro. When Bit 1 of m is set, r is ignored and the macro is executed infinitely. t specifies the waiting time for executing the macro; it is t 100 msec for every macro execution.
Software Commands Model 181 Series 180 Programmer’s Guide TransAct Technologies GS _ _ [Name] [Format] [I] Delete startup macro definition ASCII GS _ Hex 1D 5F Decimal 29 95 [Description] Deletes a startup macro definition previously created by the GS ^ command. If a startup macro was not previously defined, this command is ignored. If a startup macro was previously defined, the macro definition is deleted and the space it occupied is returned to the eeprom buffer.
Programmer’s Guide Model 181 Series 180 Software Commands TransAct Technologies EM [Name] [Format] [EA] SUB [Name] [Format] [A] Full knife cut ASCII EM Hex 19 Decimal 25 [Description] This command is implemented the same as partial knife cut, ESC i. Partial knife cut ASCII SUB Hex 1A Decimal 26 [Description] Performs a partial knife cut.
Software Commands Model 181 Series 180 Programmer’s Guide TransAct Technologies [Description] Clears the print line buffer without printing and sets the printer to following condition: Double-Wide (12 dec) command is canceled. Line Spacing, Pitch, and User-Defined Character Sets and bit-images in RAM are unaffected. Single-Wide, Single-High, Non-Rotated, and Left-Aligned characters are set. Printer is restarted and error status is cleared in a fault condition.
Programmer’s Guide Model 181 Series 180 Software Commands TransAct Technologies m 0, 48 1, 49 Connector pin Drawer 1 kick-out connector pin 5. Drawer 1 kick-out connector pin 2 (J9 2-3) ** See Appendix X for Cash drawer connector information. *B m 0 1 Connector pin Drawer 1 kick-out connector pin 2. Drawer 1 kick-out connector pin 5.
Software Commands Model 181 Series 180 Programmer’s Guide TransAct Technologies ESC ‘ n [Name] [Format] [I] Copy user defined storage buffers n ASCII ESC ‘ n Hex 1B 27 n Decimal 27 39 [Description] Copies data between user defined RAM buffer and the non-volatile eeprom buffer. When the LSB of n is 0, The content of the user defined ram buffer (containing user defined bit-image or character set) is copied into the non-volatile eeprom storage buffer.
Programmer’s Guide Model 181 Series 180 Operator Controls TransAct Technologies CHAPTER 4 Operator Panel Controls and Switches Operator Controls consist of one push button and one LED. The location and functionality of these controls are as follows: LED Paper Feed Button Front of Printer PAPER FEED BUTTON The small circular button located on the front of the printer, has several functions depending on the state of the printer.
Operator Controls Model 181 Series 180 Programmer’s Guide TransAct Technologies PRINTER STATE CONTROL SWITCHES The Model 181 printer monitors the state of the printer based on the position of several switches housed in the mechanism. The switches monitor the printer with respect to the availability of paper, the position of the cover and the position of the cutter mechanism.
Programmer’s Guide Model 181 Series 180 Trouble Shooting TransAct Technologies Chapter 5 Trouble Shooting HEXADECIMAL DUMP This feature allows experienced users to see exactly what data is being received by the printer. This can be useful in finding software problems. When you turn on the hex dump function, the printer prints all commands and other data in hexadecimal format along with a guide section to help you find specific commands. To use the hex dump feature, follow these steps: 1.
Programmer’s Guide Model 181 Series 180 Communications TransAct Technologies Appendix A Communications OVERVIEW In order for a receipt to be printed, a printer must be able to accept a data stream containing characters and commands that the host computer wished the printer to print. This chapter describes the various interfaces to allow this transmission of data. INTERFACES In order for the printer to communicate with the host, a communication link must be established.
Communications Model 181 Series 180 Programmer’s Guide TransAct Technologies________________________________ DTR/DSR PROTOCOL The DTR signal is used to control data transmission to the printer. It is driven High when the printer is ready to receive data and driven low when it cannot accept any more data. The host will transmit data to the printer when it recognizes the state of the printers DTR signal is high.
Programmer’s Guide Model 181 Series 180 Communications TransAct Technologies PARALLEL INTERFACE PARALLEL INTERFACE SPECIFICATION (P1284) Parallel Protocol The Model 82 uses a standard PC-compatible parallel interface. The following illustration shows the timing diagram for the interface protocol. Compatibility Mode: Busy Acknowledge(L) pin 10 .5uS Strobe Data(pins 9-2) Ts .5uS Th Th = Ts = .5uSec min. 1. The Host places its data on the data lines. 2.
Communications Model 181 Series 180 Programmer’s Guide TransAct Technologies________________________________ Connectors: USB The following illustration shows the USB communication connector and pin assignments. The connector is a USB type B connector and is located in the hollow cavity under the printer.
Programmer’s Guide Model 181 Series 180 Error Code Diagnosis TransAct Technologies Appendix B Error Code Diagnosis Description The Ithaca Model 181 thermal printer uses a single status LED to display on-line and error conditions. The tables below describe the types of error conditions possible and the patterns that the LED will flash for those conditions. KEY to Graphical representation: • = LED IS ON for 0.5 seconds • = LED IS ON for 0.1 seconds = LED IS OFF for 0.5 seconds _ = LED IS OFF for 0.
Programmer’s Guide Model 181 Series 180 Character Code Tables TransAct Technologies Appendix C Character Code Tables The following pages show the character code tables.
Character Code Tables Model 181 Series 180 Programmer’s Guide TransAct Technologies HEX 80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F Decimal 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 Decimal ASCII HEX Decimal ASCII HEX Decimal ASCII • • 160 á C0 192 E0 224 • • 161 í C1 193 E1 225 • • 162 ó C2 194 E2 226 • • 163 ú C3 195 E3 227 • • 164 ñ C4 196 E4 228 • • 165 Ñ C5 197
Programmer’s Guide Model 181 Series 180 Character Code Tables TransAct Technologies HEX 80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F Decimal 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 ASCII Ç ü é â ä à å ç ê ë è ï î ì Ä Å É æ Æ ô ö ò û ù ÿ ö Ü ø £ Ø × ƒ HEX A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF Decimal ASCII HE
Character Code Tables Model 181 Series 180 Programmer’s Guide TransAct Technologies HEX 80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F Decimal 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 Page 10 - 4 ASCII Ç ü é â ä à Á ç ê Ê è Í Ô ì Ã Â É À È ô õ ò Ú ù Ì Õ Ü ¢ £ Ù • HEX A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF Dec
Programmer’s Guide Model 181 Series 180 Character Code Tables TransAct Technologies HEX 80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F Decimal 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 ASCII Ç ü é â Â à ¶ ç ê ë è ï î — À § É È Ê ô Ë Ï û ù ¤ Ô Ü ¢ £ Ù Û ƒ HEX A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF Decimal 160 161
Character Code Tables Model 181 Series 180 Programmer’s Guide TransAct Technologies HEX 80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F Decimal 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 ASCII Ç ü é â ä à å ç ê ë è ï î ì Ä Å É æ Æ ô ö ò û ù ÿ ö Ü ø £ Ø ƒ HEX A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF Decimal 160 161
Programmer’s Guide Model 181 Series 180 Character Code Tables TransAct Technologies HEX 80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F Decimal 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 ASCII SP SP SP SP SP SP SP SP SP SP SP SP SP SP SP SP SP SP SP SP SP SP SP SP SP SP SP SP SP SP SP SP HEX A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA
Character Code Tables Model 181 Series 180 Programmer’s Guide TransAct Technologies INTERNATIONAL CHARACTER SET ASCII Code Country HEX 23 24 DEC 35 36 U.S.A # $ France # $ Germany # $ U.K.
Programmer’s Guide Model 181 Series 180 Upgrading/Changing OS TransAct Technologies Appendix D Upgrading/Changing your printer Operating System The Ithaca Series 180 thermal printer’s operating system is stored on a non-volatile flash memory chip. The flash chip in your printer can be reprogrammed at any time using software utilities supplied by TransAct Technologies Incorporated.
THIS PAGE INTENTIONALLY LEFT BLANK
PN: M068227-01 Rev.