Epson TM-U230 Developer's Manual
Hide thumbs Also See for TM-U230:
Table of Contents

Advertisement

Confidential
developer's guide
TM-U230
Copied Date
,
,
Copied by
English
EPSON
401347601

Advertisement

Table of Contents
loading

Summary of Contents for Epson TM-U230

  • Page 1 Confidential developer’s guide TM-U230 Copied Date Copied by English EPSON 401347601...
  • Page 2 On the earlier of (a) termination of your relationship with Seiko Epson, or (b) Seiko Epson's request, you must stop using the confidential information. You must then return or destroy the information, as directed by Seiko Epson.
  • Page 3: Revision Information

    TM-U230 Developer’s Guide Confidential Revision Information Revision Page Altered Items and Contents Rev. A Rev. B Ethernet interface specification is added. 1-18~1-20 Ethernet interface specification is added. 2-2~2-4 Description of Waterproof is added. 3-1,3-3 The internal buzzer specification is added. 4-7~4-10 Description of DirectIO in OPOS is aded AppendixC...
  • Page 4: Key To Symbols

    Confidential Key to Symbols The following symbols are used in the documentation for this product. See the specific warnings and cautions at appropriate points throughout this guide. WARNING: Warnings must be followed carefully to avoid serious bodily injury. CAUTION: Cautions must be observed to avoid minor injury to yourself, damage to your equipment, or loss of data.
  • Page 5: (Only For Fine Coating Case Model)

    TM-U230 Developer’s Guide Confidential • Do not modify the power cord. • Do not place heavy objects on the power cord. • Do not bend, twist, or pull the power cord excessively. • Do not route the power cord near heaters. •...
  • Page 6: About This Guide

    Confidential Moduler Connector Use the moduler connector specifically designed for the cash drawer for this product. Do not connect a telephone line to the drawer kick-out connector. About This Guide This guide is intended to provide all information necessary for system planning, design, installation and application of the TM-U230 for designers and developers of POS systems.
  • Page 7: Table Of Contents

    Developer’s Guide Confidential developer’s guide TM-U230 Revision Information ..........i Key to Symbols .
  • Page 8 Confidential GS V (Function C) ..........4-2 Notes on Using GS V Function C .
  • Page 9: Chapter 1 Installation

    TM-U230 Developer’s Guide Confidential Chapter 1 Installation Installation and Positioning of TM-U230 Precautions in Handling the Fine Coating Case (only for Fine Coating Case model) This printer is housed in a plastic case (*) with a fine coating; simple cleaning is enough to enable dirt to come off easily so that the exterior of the printer remains in good condition.
  • Page 10: External Dimensions

    Confidential External Dimensions See the External Appearance section in Appendix A. Vertical installation Horizontal installation Desk installation Wall mounting • Use the optional wall mounting bracket (Model Name: WH-10) when the printer is to be wall mounted. • When the printer is wall mounted, adjust the N.E. detector in the same way as for vertical installation.
  • Page 11: Dip Switch Settings

    TM-U230 Developer’s Guide Confidential Dip Switch Settings Make DIP switch settings according to the following procedures. 1. Remove the circuit board plate. circuit board plate 2. Set the DIP switches. Installation 1-3...
  • Page 12 Confidential Serial Interface DIP Switch 1 Switch No. Function Default Data receive error Print "?" Ignored Receive buffer 16KB capacity Handshaking XON/XOFF DTR/DSR Word length 7 bit 8 bit Parity check Parity selection Even Baud rate selection 4800 bps 9600 bps BUSY condition Receive buffer-full Offline...
  • Page 13: Parallel Interface

    TM-U230 Developer’s Guide Confidential Parallel Interface DIP Switch 1 Switch No. Function Default Auto line feed Disabled Enabled Receive buffer 16KB 3 - 7 Undefined Busy condition Receive buffer-full Offline Receive buffer-full DIP Switch 2 Switch No. Function Default Selects number of 42 cpl//35 cpl 40 cpl/33 cpl characters per line (cpl)
  • Page 14 Confidential Ethernet Interface DIP Switch 1 Switch No. Function Default Auto line feed Disabled Enabled Receive buffer 16KB 3 - 7 Undefined Busy condition Receive buffer-full Offline Receive buffer-full DIP Switch 2 Switch No. Function Default Selects number of 42 cpl//35 cpl 40 cpl/33 cpl characters per line (cpl) 9 font/9...
  • Page 15: Settings For Horizontal Installation

    TM-U230 Developer’s Guide Confidential Settings for Horizontal Installation Perform the following procedures when the printer is to be used in a horizontal installation. Changing the Location of the Rubber Feet Remove the rubber feet from the bottom of the printer and attach them to the back of the printer. attach Remove Installation 1-7...
  • Page 16: Changing The Orientation Of Near End Sensor

    Confidential Changing the Orientation of Near End Sensor Perform the following procedures to change the orientation of the near end sensor. 1. Place the printer horizontally and open the roll paper cover. 2. Use a coin to loosen the near end adjustment screw. 3.
  • Page 17: Attaching Switch Panel For Horizontal Installation

    TM-U230 Developer’s Guide Confidential Attaching Switch Panel for Horizontal Installation 1. Clean the switch panel attached to roll paper cover. Note: Do not touch the switch panel surface after cleaning. Touching this surface may lower the strength of the adhesive. 2.
  • Page 18: Attaching The Power Supply Box (Only For Models With Exclusive Power Supply Unit)

    Use only AC adapter designated by EPSON. Using a non-standard power supply may cause a fire or shock hazard. When you are using an EPSON AC power supply or the equivalent, immediately turn off the printer and disconnect the power plug when you notice an abnormality.
  • Page 19: Vertical Installation

    TM-U230 Developer’s Guide Confidential 2. Put on the lower adapter cover with the cable through the notch in the lid and tighten the screws. In doing so, pull out the DC power supply cable from the DC power supply cable exit in the lower adapter cover so that around 15 cm of the cable protrudes from the cover.
  • Page 20: Horizontal Installation And Wall Mounting

    Confidential 3. Attach the power supply box to the rear of the printer, aligning the box inside the rubber pads and secure with two screws packed with the printer (C.P.T-B Screw, 3 14, F/Ni). Holes 2 Holes 1 Screws Rubber pads Horizontal Installation and Wall Mounting 1.
  • Page 21: Wall Mounting

    TM-U230 Developer’s Guide Confidential 3. Attach the power supply box to the bottom of the printer and secure with two screws packed with the printer(C.P.T-B Screw, 3 14, F/Ni). Screws Attaching the power supply box for horizontal installation and wall mounting Wall Mounting An optional wall mounting bracket (Model Name: WH-10) is required to wall mount the printer.
  • Page 22 Confidential Installing the wall mount CAUTION: The weight of the printer is listed in the table below. Use screws that are long enough to properly support the weight of the printer and that suit the type of wall you attach the mount to.
  • Page 23 TM-U230 Developer’s Guide Confidential Attaching the hangers Note: There are holes for 4 screws in the hangers (The number of the type of screw to be used is stamped on the hanger). Use the correct screw holes. In attaching the hangers to the printer, use the 4 screws supplied with the WH-10 wall mounting bracket.
  • Page 24: Connecting A Host Pc

    Confidential Attaching the printer to the wall CAUTION: Check again that the wall mounting bracket is properly secured to the wall before attaching the printer. 1. Insert the hangers in the groove of the wall mounting bracket. Attaching the printer to a wall Connecting a Host PC Turn off both the printer and the computer before making any cable connections.
  • Page 25 TM-U230 Developer’s Guide Confidential Note: Your printer has inch-type hexagonal lock screws installed. If your interface cable requires millimeter-type screws, replace the inch-type screws with the enclosed millimeter-type screws using a hex screwdriver (5 mm). Inch-type screw is marked with a line Millimeter screw Inch screw Inch screw and millimeter screw...
  • Page 26 Confidential Note: Passing the USB cable through the wire locking saddle as shown in the figure will keep the connection from coming loose. USB upstream connector UB-BOARD Locking wire saddle USB cable DM connector USB downstream connector (USB HUB: only for UB-U01) Attaching the locking wire saddle 3.
  • Page 27 TM-U230 Developer’s Guide Confidential Names of parts Ethernet interface terms are given below. 10 BASE-T Ethernet LED (green) LED (red) Switch interface Do not press the Holding down this switch connector LEDs. when the printer is powered up returns all settings to their default values.
  • Page 28 Confidential Ethernet LEDs The operating status of the Ethernet interface is indicated by the combined status of the two Ethernet LEDs (redx1 and greenx1). Green Status Power off Hardware error 1 blink CPU test error 6 blink Printer reset error Waiting Slowblinking Data or status sheet printing...
  • Page 29: Drawer Kick-Out Connector (Marked Dk)

    TM-U230 Developer’s Guide Confidential Drawer Kick-Out Connector (Marked DK) CAUTION: Connect a drawer that matches the printer specifications. Using an improper drawer may damage the printer as well as the drawer. Do not connect a telephone line to the drawer kick-out connector (marked DK). Such a connection may damage both the printer and the telephone lines.
  • Page 30 Confidential 1-22 Installation...
  • Page 31: Chapter 2 Handling

    Confidential TM-U230 Developer’s Guide Chapter 2 Handling Important Safety Information WARNING: Turn off the power switch immediately and unplug the power cord from the electrical outlet if the TM-U230 produces smoke, a strange odor, or unusual noise. Continued use may lead to fire or electric shock.
  • Page 32: Precautions In Handling The Fine Coating Of The Case (Only For Fine Coating Case Model)

    Confidential CAUTION: All cables are to be connected only as described in the manual. Incorrect connection could cause damage or a fire hazard. Be sure to set this product on a firm, stable, horizontal surface. The product may break or cause injury if it falls.
  • Page 33 Confidential TM-U230 Developer’s Guide The ability of an enclosure to keep out dirt and water is defined in IEC 529. When an enclosure protects the equipment from water and particles of dirt, it also protects people from any potential hazard inside the equipment. The degree of protection is designated by the letters "IP"...
  • Page 34 Confidential Example: When the IP code of a product is IP32, the first digit means that the product has protection from tools and thin wires with a diameter more than 2.5 mm and protection from solid foreign objects with a diameter greater than 2.5 mm. The second digit means that the product is protected from water coming from an angle up to 15 from vertical.
  • Page 35: Replacing Roll Paper

    Confidential TM-U230 Developer’s Guide Replacing roll paper Use the designated type of roll paper. (See Appendix A for information on roll paper specifications.) 1. Be sure that the power is turned on. 2. Open the roll paper cover. 3. Remove the roll paper and cut the paper along the dotted line in the figure below. Roll paper cover PAPER FEED button...
  • Page 36 Confidential Note: If the cutter cover is opened, the printer is offline and paper will not be fed automatically. Be sure to close the cutter cover. paper insert slot Figure 2-4 Loading roll paper 8. Close the roll paper cover. 9.
  • Page 37: Replacing The Ribbon Cassette

    Confidential TM-U230 Developer’s Guide Replacing the ribbon cassette Use the EPSON ERC-38 ribbon cassette. 1. Open the roll paper cover. 2. Open the cutter cover. 3. Raise the autocutter lock lever and open the autocutter. Be sure that the autocutter is locked.
  • Page 38 Confidential 6. Insert the ribbon between the print head and the platen, as shown in the figure below, and press it in until it clicks into place. 7. Turn the ribbon cassette knob 5 to 6 times in the direction of the arrow to remove any slack in the ribbon.
  • Page 39: Removing Paper Jams

    Confidential TM-U230 Developer’s Guide Removing paper jams Paper jams in the vicinity of the print head Turn off the power and open the roll paper cover. 2. Take out the roll paper and cut the paper along the dotted line in the figure below. Roll paper cover Figure 2-8 Cutting roll paper 3.
  • Page 40 Confidential Figure 2-9 Removing jammed paper CAUTION: Do not remove jammed paper by pulling it against paper feed direction. 6. Take the ribbon cassette out of the printer. 7. Loosen the screw that secures the print head cover. Loosen the screw until it tilts. 8.
  • Page 41 Confidential TM-U230 Developer’s Guide Figure 2-10 Removing the print head cover 9. Remove the jammed paper. CAUTION: Do not remove jammed paper by pulling it against paper feed direction. 10. Perform Steps 7 and 8 above in the opposite order to install the print head cover and secure it with the screw.
  • Page 42 Confidential Paper jam in the auto cutter When the autocutter blade is visible through the slit, a paper jam may have occurred in the auto cutter. Insert a screwdriver in the hole on the side of the autocutter to turn the gear and return the blade to a position where it cannot be seen from the slit (indicated by the bold dotted line in Figure 2-11).
  • Page 43: Installing The Power Button Cover

    Confidential TM-U230 Developer’s Guide Installing the power button cover The power button cover is provided to prevent someone from pressing the power button inadvertently. Install the cover over the printer POWER button as shown in the figure below. When a power button cover has been installed, insert a ballpoint pen or the like in the holes provided to turn the printer on and off.
  • Page 44 Confidential 2-14 Handling...
  • Page 45: Chapter 3 Compatibility

    Confidential TM-U230 Developer’s Guide Chapter 3 Compatibility This Chapter describes features that are different between the TM-U230 and TM-U210 Series printers. Internal Buzzer The TM-U230 have the internal buzzer and changing the DIP Switch 2-8 setting enables/ disables the internal buzzer. Switch No.
  • Page 46 Confidential DIP Switch 2-5 DIP Switch 2-8 Blinking pattern of PAPER OUT LED and Condition (PAPER OUT LED) (Internal buzzer) buzzer pattern Paper end LED is On (LED is On) (Enabled) Buzzer sounds continuously LED is On (Disabled) No buzzer sound LED blinking pattern (Blinking) (Enabled)
  • Page 47: Receive Buffer

    Confidential TM-U230 Developer’s Guide Replacing the paper roll stops the buzzer sound and turns off the PAPER OUT LED. Also pressing the FEED button stops the buzzer sound and turns off the PAPER OUT LED. Be sure that the PAPER OUT LED goes off when the buzzer sounds is stopped. For details of the status of the LEDs when a paper end is detected, see the following table: Status of panel LEDs and printer Stop printing...
  • Page 48: Space Page)

    Confidential For the TM-U210 series printers, when DIP switch 1-2 is off, the following commands cannot be used; however the TM-U230 can use them. Printer Name Horizontal tab ESC % Select/cancel user-defined character set ESC & Define user-defined characters ESC ? Cancel user-defined characters ESC D Set horizontal tab positions...
  • Page 49: Chapter 4 Programming Samples

    TM-U230 Developer’s Guide Confidential Chapter 4 Programming Samples Saving Space for Receipt Printing TM-U230 has GS V function C, which can save space for receipt printing. Executes a paper cut automatically when the current position reaches the autocutter position. The details of this function are described below, comparing GS V function C with GS V function B.
  • Page 50: Gs V (Function C)

    Confidential 2. After printing Receipt 1, the application executes GS V function B. The printer feeds paper so that the printing on Receipt 1 exceeds the autocutter position and cuts the paper. For the next printing, there will be space between the positions of the autocutter and the print head. Program Example PRINT #1, “111111111111111”;...
  • Page 51 TM-U230 Developer’s Guide Confidential 2. After printing the last line of Receipt 1, the application executes GS V function C. Assumed A/C position 111111111111111 222222222222222 Program Example 333333333333333 444444444444444 PRINT #1, “333333333333333”; CHR$(&HA); (Execute GS V 98 0) Assumed head position PRINT #1, “444444444444444”;...
  • Page 52 Confidential 4. When the cutting range of Receipt 1 reaches the autocutter position while printing Receipt 2, the printer cuts the paper. 111111111111111 222222222222222 Executing a cut 333333333333333 444444444444444 Cutting range Assumed A/C position 55555555555555 66666666666666 77777777777777 88888888888888 99999999999999 11111111111111 Assumed head position 5.
  • Page 53: Notes On Using Gs V Function C

    TM-U230 Developer’s Guide Confidential 6. The application starts printing Receipt 3. When the cutting range of Receipt 2 reaches the autocutter position while printing Receipt 3, the printer cuts the paper. Receipt 1 111111111111111 222222222222222 333333333333333 444444444444444 Cutting range 55555555555555 66666666666666 Receipt 2 77777777777777...
  • Page 54 Confidential Here is an example when executing the following steps. 1. Print receipt A 2. Execute GS V 98 0 3. Print receipt B 4. Execute GS V 98 0 5. Print receipt C 6. Execute GS V 98 0 If the cutting ranges designated in step 4 and 5 have not reached the autocutter position, Receipt B and C will not be cut.
  • Page 55: The Usage Of Directio In Opos

    TM-U230 Developer’s Guide Confidential The usage of DirectIO in OPOS This Chapter describes the programming samples of DirectIO in OPOS. Executes a paper cut automatically when the current position reaches the autocutter position. Executes a paper cut after feeding for 4 + pData 0.176 [mm]. The value of the pData is 0 in the following example.
  • Page 56: Contorol Of The Buzzer

    Confidential Contorol of The Buzzer TM-U230 has ESC(A command, which can control the internal buzzer. ESC(A command is supported by the Firmware version 1.02 and above. You can confirm the Firmware version by the following procedure. <Starting the self test> 1.
  • Page 57 Save the TMCTRLA.INI under the following system folder. Windows 95/98 :\windows\system Windows NT :\winnt\system32\spool\Prcpocs\W32x86 Then describe as follows in your program. Printer.DeviceName = "EPSON TM-U230 Receipt" Printer.font.Name = " FontA" Printer.Print "TM-U230" Printer.Print "Buzzer Test" Programming Samples 4-9...
  • Page 58 “TM-U230” and “Buzzer Test”. Refer to the TM-U230 series specification for more details of ESC(A command. Refer to the manuals included in EPSON Advanced Windows Driver for more details of Control-A function.
  • Page 59: Printing Specifications

    Confidential TM-U230 Developer’s Guide Appendix A Specifications Printing Specifications Item Specification Printing method Serial impact dot-matrix Head wire configuration 9-pin serial configuration Printing direction Bi-directional printing (logical seeking) Printing speed Approx. 3.5 lps (40 column, 16 cpi) Approx. 6.4 lps (16 column, 16 cpi) (excludes data transfer and processing time) Character per line See table A-1...
  • Page 60: Paper Specifications

    Confidential [cpl: characters per line] [lps: lines per second] Note: The dot spacing between characters for 3-half dot and 2 half-dot can be set by changing the DIP switch setting. 1.24 1.587 0.159 0.353 2.4. [Units: mm] Figure A-1 7 9 font Paper Specifications Item...
  • Page 61: Printing Area

    Confidential TM-U230 Developer’s Guide Printing Area (NOTE) Maximum of 200 dots, 400 positions Figure A-2 Printing area Note: The values shown for the printing area are the values calculated (between dot centers) according to the wire diameter (0.29 mm {0.0011”}). Electrical Specifications Power supply operations: AC adapter PS-180 Printer power consumption: operating: 38 W avg., standby: 3W avg.
  • Page 62 Confidential Humidity • During operation: 10 to 90% (no condensation) During storage: 10 to 90% (no condensation; excludes paper and ribbon) 34°C, 90% 40°C, 65% Operating environment range 50°C, 35% Ambient temperature (°C) Figure A-3 Ambient temperature ( Appendix A-4 Specifications...
  • Page 63: External Appearance

    Confidential TM-U230 Developer’s Guide External Appearance 166mm 168mm Figure A-4 Without the power supply cover 166mm 168mm 258.4mm Figure A-5 When the cover is opened Specifications Appendix A-5...
  • Page 64 Confidential 166mm 168mm 41mm Figure A-6 When placed on the desk with the power supply box 166mm 114.5mm 168mm Figure A-7 When hanging on the wall with the power supply box Appendix A-6 Specifications...
  • Page 65 Confidential TM-U230 Developer’s Guide 168mm 114.5mm 166mm Figure A-8 When placed horizontally with the power supply box Specifications Appendix A-7...
  • Page 66: Drawer Kick-Out Connector

    Confidential Drawer Kick-out Connector The signal specified by the ESC p command is output to this connector. The host can check the status of input signal by the following commands. • DLE EOT • GS r • GS a (ASB) Drawer Kick-out Specifications Item Specifications...
  • Page 67: Pin Assignment

    Confidential TM-U230 Developer’s Guide Two driver transistors cannot be driven simultaneously. Do not drive the drawer continuously. Be sure to use the printer power supply (conector pin 4) for the drawer power source. Do not connect a telephone line to the drawer kick-out connector. Pin Assignment Pin No.
  • Page 68 Confidential Appendix A-10 Specifications...
  • Page 69 Appendix B: The table below shows the status when the parameter t2 of GS z 0 is 0 (default) or the internal buzzer is not configured by ESC(A command. When t2 = 0, DLE ENQ 0 can be used to return to the online status.
  • Page 70: Comparison Table

    Appendix C Comparison table Specifications TM-U230 TM-U210B TM-U300B Note, view point from application buffer. Caution is required when handling the transmission Receive buffer 16K / 1K 1K / 40 Byte 1K / 40 Byte data. 512Byte/40Byte (300BM/U300BPM) To be busy when buffer capacity <-- 16 Byte <-- 10 Byte The BUSY tyming differs in TM-U230 and TM-U300B.
  • Page 71 Appendix C Command comparison Command Function TM-U300B TM-U210B TM-U230 Remarks (*1) It is effective only when the receive buffer is set Horizontal tab Yes (*1) to 40 bytes by DipSW Print and line feed Print and carriage DLE EOT Real-time status transaction DLE ENQ Real-time request to printer ESC SP Set right-side character spacing...
  • Page 72 Appendix C Command comparison Command Function TM-U300B TM-U210B TM-U230 Remarks (*5) Supporting international character set, USA, France, Germany, U.K, Denmark I ,Sweden, Italy, Spain, Japan, Norway, Denmark II ESC R Select an international character set Yes(*5) Yes(*5) Yes(*6) (*6) Supporting international character set, USA, France, Germany, U.K, Denmark I ,Sweden, Italy, Spain, Japan, Norway, Denmark II, Spain II, Latin America, Korea...
  • Page 73 Appendix C Opos function properties comparison Name Function TM-U300B TM-U210B TM-U230 Remarks Property to determine if concurrent printing on CapConcurrentJrnRec FALSE FALSE FALSE the journal and receipt stations is possible. Property to determine if concurrent printing on CapConcurrentJrnSlp FALSE FALSE FALSE the journal and slip station is possible.
  • Page 74 Appendix C Opos function properties comparison Name Function TM-U300B TM-U210B TM-U230 Remarks Property to determine if 90 degree left printing CapRecLeft90 FALSE FALSE FALSE functions are present on the receipt station. Property to determine if there is a near end (*4) The paper near end sensor is option.
  • Page 75 Appendix C Opos Direct-IO usage comparison Command Meaning TM-U300B TM-U210B TM-U230 Remarks DLE ENQ Real time status requests Use command data as parameter in DirectIO Download character set ESC % Use command data as parameter in DirectIO load/cancel ESC & Download character definition Use the defined Method for DirectIO ESC <...
  • Page 76 Confidential...
  • Page 77 Confidential EPSON SEIKO EPSON CORPORATION Printed in Japan...

Table of Contents