Preview only show first 10 pages with watermark. For full document please download

Dm-d500 Technical Reference Guide

   EMBED


Share

Transcript

DM-D500 Technical Reference Guide Product Overview Describes features of the product. Setup Describes setup and installation of the product. Application Development Information Describes information required to develop applications. Handling Describes how to handle the product. Hardware Describes the hardware of the product. Character Code Tables Describes the character code tables. M00087600 Rev. A CAUTIONS • No part of this document may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of Seiko Epson Corporation. • The contents of this document are subject to change without notice. Please contact us for the latest information. • While every precaution has taken in the preparation of this document, Seiko Epson Corporation assumes no responsibility for errors or omissions. • Neither is any liability assumed for damages resulting from the use of the information contained herein. • Neither Seiko Epson Corporation nor its affiliates shall be liable to the purchaser of this product or third parties for damages, losses, costs, or expenses incurred by the purchaser or third parties as a result of: accident, misuse, or abuse of this product or unauthorized modifications, repairs, or alterations to this product, or (excluding the U.S.) failure to strictly comply with Seiko Epson Corporation’s operating and maintenance instructions. • Seiko Epson Corporation shall not be liable against any damages or problems arising from the use of any options or any consumable products other than those designated as Original Epson Products or Epson Approved Products by Seiko Epson Corporation. TRADEMARKS EPSON is a registered trademark of Seiko Epson Corporation. Exceed Your Vision and ESC/POS are registered trademarks or trademarks of Seiko Epson Corporation. Microsoft® and Windows® are registered trademarks of Microsoft Corporation in the United States and/or other countries. ESC/POS® Proprietary Command System Epson took the initiative by introducing ESC/POS, a proprietary POS printer command system including patented commands and enabling versatile POS system construction with high scalability. Compatible with all types of Epson POS printers and displays, this proprietary control system also offers the flexibility to easily make future upgrades. Its popularity is worldwide. © Seiko Epson Corporation 2015. All rights reserved. 2 For Safety Key to Symbols The symbols in this manual are identified by their level of importance, as defined below. Read the following carefully before handling the product. You must follow warnings carefully to avoid serious bodily injury. WARNING CAUTION Provides information that must be observed to prevent damage to the equipment or loss of data. • Possibility of sustaining physical injuries. • Possibility of causing physical damage. • Possibility of causing information loss. Provides information that must be observed to avoid damage to your equipment or a malfunction. Notes have important information and useful tips on the operation of your equipment. Warnings WARNING • Remove your equipment immediately if it produces smoke, a strange odor, or unusual noise. Continued use may lead to fire. Immediately unplug the equipment and contact your dealer or a Seiko Epson service center for advice. • Never attempt to repair this product yourself. Improper repair work can be dangerous. • Never disassemble or modify this product. Tampering with this product may result in injury or fire. • Do not allow foreign matter to fall into the equipment. Penetration by foreign objects may lead to fire. • Do not connect cables in ways other than those mentioned in this manual. Different connections may cause equipment damage and burning. • Do not use in locations subject to high humidity or dust levels. Excessive humidity and dust may cause equipment damage or fire. 3 Cautions CAUTION • Be sure to set this equipment on a firm, stable, horizontal surface. The product may break or cause injury if it falls. • Do not place heavy objects on top of this product. Never stand or lean on this product. Equipment may fall or collapse, causing breakage and possible injury. • Do not connect multiple extension struts. If the device topples over, there is a risk of damage or injury. • The horizontal rotating angle of the screen unit is limited by a stopper. Do not apply excess force to rotate the screen unit past the limit set by the stopper. Doing so may cause damage. • Take care when handling the customer display not to drop or knock it because it has a built-in fluorescent display tube. • Do not use aerosol sprayers containing flammable gas inside or around this product. Doing so may cause fire. • If water or other liquid spills into this equipment, unplug the cable and contact your dealer or Seiko Epson service center for advice. • Using in the presence of silicon gas (silicon adhesive, silicon oil, silicon powder, etc.) including siloxane and of malignant gas (nitric acid, hydrosulfuric, ammonia, chlorine, etc.) may cause contact failure at contact points in a mechanical switch and a DC motor, etc., in a short time because of adhesion or oxidization of the insulation film. Restriction of Use When this product is used for applications requiring high reliability/safety, such as transportation devices related to aviation, rail, marine, automotive, etc.; disaster prevention devices; various safety devices, etc.; or functional/precision devices, etc., you should use this product only after giving consideration to including failsafes and redundancies into your design to maintain safety and total system reliability. Because this product was not intended for use in applications requiring extremely high reliability/safety, such as aerospace equipment, main communication equipment, nuclear power control equipment, or medical equipment related to direct medical care, etc., please make your own judgment on this product's suitability after a full evaluation. About the Modular-type Connector This product uses a modular-type connector as dedicated connector for the customer display. Never use this connector to connect to LAN or public telephone line. 4 About this Document Aim of this Document This document aims to provide all necessary information for the development, design, and installation of POS systems, or development and design of printer applications. Document Structure This document is composed of the following chapters and appendices: Chapter 1 Product Overview Chapter 2 Setup Chapter 3 Application Development Information Chapter 4 Handling Appendix A Hardware Appendix B Character Code Tables 5 6 Contents ■ For Safety..................................................................................................................................3 Key to Symbols.................................................................................................................................................................... 3 Warnings ............................................................................................................................................................................... 3 Cautions................................................................................................................................................................................. 4 ■ Restriction of Use ....................................................................................................................4 ■ About the Modular-type Connector....................................................................................4 ■ About this Document.............................................................................................................5 Aim of this Document ...................................................................................................................................................... 5 Document Structure ......................................................................................................................................................... 5 ■ Contents....................................................................................................................................7 Product Overview ............................................................................................9 ■ Product Overview ...................................................................................................................9 Features ................................................................................................................................................................................. 9 ■ Product Information............................................................................................................ 11 Parts Name .........................................................................................................................................................................11 Options ................................................................................................................................................................................13 ■ System Configuration.......................................................................................................... 14 Connection Patterns .......................................................................................................................................................14 Connecting a TM Printer and Option........................................................................................................................18 ■ Product Specifications ........................................................................................................ 20 Specifications.....................................................................................................................................................................20 Dimensional Drawing.....................................................................................................................................................21 ■ Options................................................................................................................................... 22 DP-501..................................................................................................................................................................................22 DP-502..................................................................................................................................................................................23 DP-503..................................................................................................................................................................................25 Power Supply Unit (PS-180)..........................................................................................................................................26 Setup ...............................................................................................................27 ■ Flow of Setup ........................................................................................................................ 27 ■ Choosing the Installation Method.................................................................................... 28 ■ Precautions for Installation................................................................................................ 29 ■ Installing the Customer Display ........................................................................................ 30 Attaching to DP-501........................................................................................................................................................30 Attaching to DP-502 (TM-H6000 series / TM-U675) ............................................................................................36 Attaching to DP-502 (TM-U950) .................................................................................................................................42 Attaching to DP-503 (TM-H5000II).............................................................................................................................46 7 ■ Setting the DIP Switches..................................................................................................... 48 ■ Checking the DM-D500 Operation ................................................................................... 51 Self-test................................................................................................................................................................................ 51 Application Development Information ...................................................... 53 ■ How to Control the Customer Display.............................................................................. 53 Selecting a Driver............................................................................................................................................................. 53 ■ Software and Manuals......................................................................................................... 55 Drivers.................................................................................................................................................................................. 55 Download........................................................................................................................................................................... 56 ■ Storing and Retrieving Graphics ....................................................................................... 57 OPOS .................................................................................................................................................................................... 57 APD ....................................................................................................................................................................................... 57 ESC/POS .............................................................................................................................................................................. 57 Handling ........................................................................................................ 59 ■ Precautions for Handling.................................................................................................... 59 ■ Turning and Tilting the Display ......................................................................................... 59 Hardware ....................................................................................................... 61 ■ Interface Signal Wiring Block Diagram ............................................................................ 61 ■ Data Flow ............................................................................................................................... 62 Stand-alone Connection............................................................................................................................................... 62 Pass-through Connection............................................................................................................................................. 63 Y Connection..................................................................................................................................................................... 64 ■ Connectors ............................................................................................................................ 65 DM-D500 (Connector).................................................................................................................................................... 65 DP-501 ................................................................................................................................................................................. 66 Character Code Tables.................................................................................. 69 ■ Character Code Tables......................................................................................................... 69 8 Chapter 1 Product Overview Product Overview This chapter describes the features and specifications of this product. Product Overview This is a customer display capable of displaying kanji characters. By using an installation option, it can be attached to a system or installed on a countertop. 1 Installed on a countertop using the optional DP-501 (dedicated stand) Attached to a TM printer using the optional DP-502 (DM-D pole unit for TM printers) Features The DM-D500 has the following features. Display • Dot matrix display with 256 columns x 64 lines. It allows for multi-colored expressions with kanji characters, shop logo and so on. Kanji character: 16 columns x 4 lines (character size of 16x16 dots) Alphanumeric character: 32 columns x 4 lines (when character size is 8x16 dots) • Vacuum fluorescent display. It allows for wide viewing angle and good legibility in both well-lit and dark locations. In addition, the vacuum fluorescent display has a long life. (Avoid continuously turning on the same dot for long periods of time as it may cause luminance degradation) • Green display color with adjustable brightness. • NV memory to store and display graphics. Installation • When attached to the optional DP-501 (dedicated stand), it can be installed stand-alone on a countertop. • By using the optional DP-502 (DM-D pole unit for TM printers), it can be attached to a TM printer. (For details, see "Connecting a TM Printer and Option" on page 18) 9 Interface • The DM-D500 is provided with an RS-232C compliant modular jack. It can connect to the DM-D connector on TM printers. • When combined with the DP-501 dedicated stand, it can be connected to a computer and a TM printer via serial. It can also share the power source with the TM printer. • The DM-D500 (using DP-501), an Epson TM printer, and a cash drawer can all be controlled using one serial port of a computer. Software • Supported by EPSON OPOS ADK, EPSON OPOS ADK for .NET, EPSON JavaPOS ADK and EPSON Advanced Printer Driver Ver.4 (APD4). • It can also be controlled with ESC/POS commands. For this reason, it can also be used in an environment where other than the Windows OS is running. Compatibility • This product can replace DM-D10X/20X without any changes to the application. In the case of OPOS ADK, the character mode needs to be changed to 2x20. In the case of APD4, the 20x2 driver is required. In the case of ESC/POS command control, the DM-D500 needs to be set to 20 columns 2 lines mode. 10 Chapter 1 Product Overview Product Information Parts Name DM-D500 DIP switch (rear side of the display) Screen 1 Power switch (underside of the display) OFF ON Modular cable Connector 11 DM-D500 + DP-501 Base plate DM-D500 DP-501 Connector for power supply connection Connector for computer connection (serial) DM-D connector DM-D500 + DP-502 DM-D500 DP-502 DM-D500 cable (for printer connection) 12 Connector for DM-D500 connection JP2 JP1 Connector for power extension cable connection Connector for printer connection (serial) Chapter 1 Product Overview Options The following products are available as options for DM-D500. Model No. Product name Purpose DP-105 Pole unit Extends the pole length of the DM-D500. It is used in combination with DP501. DP-501 DM-D stand The stand used when using DM-D500 as a stand-alone display. DP-502 DM-D pole unit for TM printers The pole unit used to attach DM-D500 to H6000IV/ U675/ U950. DP-503 DM-D pole unit for TM printers The pole unit used to attach DM-D500 to TM-H5000II. PS-180 Power supply unit The power supply unit. It requires the separately sold AC cable. 1 ∗ 9pin-25pin serial cable is necessary for stand-alone connection and pass-through connection. 13 System Configuration Connection Patterns There are several connection patterns to choose from depending on the customer's system and type of TM printer to be used simultaneously. Stand-alone connection (Serial) The stand-alone connection uses one serial port of the computer for the customer display. It requires the DP501 dedicated stand. Computer DM-D500 + DP-501 Serial PS-180 Data flow in stand-alone connection Computer 14 Serial DM-D500 Chapter 1 Product Overview Pass-through connection (Serial) The pass-through connection is a connection in which the computer is connected to the TM printer and cash drawer via the customer display. This is possible only when all equipment is connected in serial, and requires the DP-501 dedicated stand. Computer TM Printer DM-D500 + DP-501 1 PS-180 Power extension cable Serial Serial Data flow in pass-through connection DM-D500 Computer Serial TM Printer DP-501 15 Y connection (Serial) The Y connection is a connection in which the computer is connected to the customer display via the TM printer. This is possible when the TM printer is equipped with a DM-D connector, and connected using serial connection. The power supply is connected to the TM printer. With DP-501 Computer TM Printer Serial DM-D500 + DP-501 PS-180 With DP-502 Computer TM Printer DM-D500 + DP-502 Serial PS-180 Data flow in Y connection Computer Serial TM Printer DM-D500 Serial DM-D500 Modular Cable 16 Chapter 1 Product Overview USB controlled (Serial) The USB controlled is a connection in which the product is connected to the TM printer's USB interface (with DM-D connector) via an RS-232 cable, and the TM printer and a computer are connected via a USB cable. Power is supplied from the TM printer. TM Printer Computer PS-180 USB 1 USB I/F DM-D110/DM-D210 17 Connecting a TM Printer and Option DP-501 DP-501 can be used with the following TM printers. Connection pattern Model Interface Stand-alone connection Passthrough connection Y connection USB controlled TM-T70 TM-T90 TM-L90 TM-T88IV series TM-U220 series TM-U295 Serial Yes Yes No No Parallel Yes No No No USB Yes No No Yes Ethernet/ wireless LAN Yes No No No TM-J2100/J2000 TM-H6000IV TM-U675 TM-U950 TM-U590 Serial Yes Yes No No Parallel Yes No No No USB Yes No No Yes TM-H5000II Serial Yes Yes No No Parallel Yes No No No USB Yes No No Yes Serial Yes Yes No No TM-T285 DP-502 DP-502 can be used with the following TM printers. Connection pattern Model TM-H6000IV TM-U675 TM-U950 TM-U590 18 Stand-alone connection Passthrough connection Y connection USB controlled Serial No No Yes No Parallel No No No No USB No No No Yes Interface Chapter 1 Product Overview DP-503 DP-503 can be used with the following TM printers. Connection pattern Model TM-H5000II Stand-alone connection Passthrough connection Y connection USB controlled Serial No No Yes No Parallel No No No No USB No No No Yes Interface 1 19 Product Specifications Specifications Specification overview Display type Vacuum fluorescent display Number of dots displayed 256 (W) x 64 (H) dots Number of characters displayed Maximum 32 columns x 4 lines (when using font A) Maximum 42 columns x 8 lines (when using font B) Maximum 16 columns x 4 lines (when using kanji characters) Maximum 20 columns x 2 lines (when operating in DM-D10x/20x compatible mode) Display color Green (505 nm) Brightness Maximum 300 cd/m2 (adjustable with driver and ESC/POS command) Character classes Alphanumeric characters: 95 characters International characters: 37 characters Graphic characters: 128 characters x 12 pages (including 2 user-defined pages) Kanji characters (JIS Level 1 and 2, GB2312, KS C5601, BIG5) Character composition (device font) Font A: 8 x 16 dot matrix Font B: 5 x 7 dot matrix Kanji: 16 x 16 dot matrix Character size Font A: 4.4 x 8.8 mm Font B: 3.3 x 4.4 mm Kanji: 8.8 x 8.8 mm Interface 20 Standard Compliant with RS-232C Connector RJ-45 Expected product lifetime 30,000 hours (Time for the luminance of the vacuum fluorescent display to become half its initial value. Avoid continuously turning on the same dot for long periods of time as it may cause luminance degradation.) Rated voltage DC 11.4 V to 48 V Power consumption Approximately 6 W Case Color Epson Cool White Tilt angle Maximum 48° (4 steps, 5 positions) Horizontal rotation angle Maximum 90° (45° each to left and right) Power supply When connected to TM printer: Supplied by the TM printer When connected to DP-501: Supplied by the PS-180 power supply unit Chapter 1 Product Overview Specification overview Environmental specifications Temperature Operation 5 to 40 °C Humidity Operation 30 to 85% (without dew condensation) Storage -10 to 50 °C Storage 30 to 90% (without dew condensation) Weight Main unit, DM-D500: 460 g Package contents Option, DP-501: 440 g Option, DP-502: 264 g Manual 1 Warranty Dimensional Drawing External dimensions 51 mm 213 mm DM-D500 83 mm 48q Display dimensions 140.6 0.55 0.55 35.0 Display Size 256 x 64 dot (Unit: mm) 21 Options DP-501 DP-501 is a dedicated stand to install DM-D500 on a countertop. It comes with a connector to connect to a computer and a TM printer via serial. When connected to a power supply unit, it can provide power to the TM printer as well. Regarding specifications of the DP-501 connectors, see "DP-501" on page 66. Package contents Items supplied with DP-501 are as follows. DM-D stand Manual Power extension cable Fixing screws for RS-232 connector Dimensions DP-501 65 mm 200 mm Power extension cable 1000r20 mm 22 118 mm Chapter 1 Product Overview DP-502 DP-502 is a pole unit to attach DM-D500 to a TM printer. Regarding TM printers to which DP-502 can be attached to, see "Connecting a TM Printer and Option" on page 18. Package contents Items supplied with DP-502 are as follows. Note that not all the items will be used depending on the connection topology. 1 Support C Support B (extension) Fixing plate B Fixing plate A Rubber feet (small) Rubber feet (large) Rubber feet (square) Stopper Fixing screws for rubber feet (small) Fixing screws for wooden countertop Fixing screws for fixing plate B Fixing screws for plastic parts Fixing screws for metal plate Fixing screw Angle fixing screw Hook and loop fastener set 23 Dimensions DP-502 260 mm 78 mm 24 164 mm Chapter 1 Product Overview DP-503 DP-503 is a pole unit to attach DM-D500 to a TM printer. Regarding TM printers to which DP-503 can be attached to, see "Connecting a TM Printer and Option" on page 18. Package contents Items supplied with DP-503 are as follows. Tapping screws for fixing (M3 ×10) (3 pcs) 1 Support C Installation base unit for TM Support B Dimensions DP-503 260 mm 50 mm 53 mm 25 Power Supply Unit (PS-180) 136 68 32 (Unit: mm) Specification overview Electrical characteristics Input conditions Input voltage (rated): AC 90 to 264 V (AC 100 V -10% to AC 230 V + 15%) Frequency (rated): 50/60 Hz ± 3 Hz Power consumption (rated): 100 VA Output conditions Output voltage (rated): DC 24 V ± 5% Output current (rated): 2.0 A Output power (rated): 48 VA Peak output current: 4.5 A Unit specification Dimensions (H x W x D) 68 x 136 x 32 mm {2.68 × 5.35 × 1.26"} (excluding projections) Weight Approximately 0.4 kg {14.11 oz} (excluding AC cables) Color Black (matte) Material The product is free of brominated materials, such as PBBE and PBB. Suitable AC cables Use an AC cable meeting the following requirements. • Product compliant with safety standards • Product whose plug is equipped with P and E terminals Grounding Connect the ground cable for safety. 26 Chapter 2 Setup Setup This chapter describes the methods of installing the customer display. Flow of Setup Choosing the Installation Method Installing the Customer Display (Setting the Jumpers on DP-501) 2 Setting the DIP Switches Checking the DM-D500 Operation 27 Choosing the Installation Method The options and connection pattern to use vary depending on how DM-D500 will be used. The following describes how to determine which options and connection pattern to use. (For details on the options and connection patterns, see Chapter 1) Installing on a countertop by attaching to DP-501 Attach DM-D500 to DP-501 to install on a countertop. (See "Attaching to DP-501" on page 30) Attaching to a TM printer using DP-502 This is possible when the TM printer allows the DP-502 to be attached. In this case, the possible connection pattern is limited to Y connection. • TM-H6000 series / TM-U675 (See "Attaching to DP-502 (TM-H6000 series / TM-U675)" on page 36) • TM-U950 (See "Attaching to DP-502 (TM-U950)" on page 42) 28 Chapter 2 Setup Precautions for Installation When handling DM-D500, be careful of the following points: • Do not install DM-D500 in locations with high temperature and humidity, or with extreme temperature differences. • Avoid installing in dirty or dusty locations. • Avoid installing on unstable locations, or in locations subject to frequent vibrations • When connecting or disconnecting a cable, be sure the customer display and system are turned off. • The DM-D500 includes a vacuum fluorescent display. When handling, be careful not to drop or hit it. • When handling the product, do not lift it by the modular cable. Also, do not pull on the modular cable. 2 29 Installing the Customer Display Attaching to DP-501 Attach DM-D500 to DP-501. Required items Prepare the required items from among the following, depending on the connection pattern to use. For longer poles, use the extension support (DP-105). These are all sold separately. DM-D stand Base plate Power extension cable Fixing screws for RS-232C connector Hook and loop fasteners Extension support (Two in the case of pass-through connection) 30 Chapter 2 Setup Connectors on the DP-501 The DP-501 comes with the following connectors. Connector for computer connection (RS-232) DM-D connector Connector for power supply unit connection Connector for printer connection (RS-232) Connector for power extension cable connection The serial connector inside the DP-501 is attached using inch screws (hexagon nuts). If millimeter screws are necessary, replace them with those supplied as accessories. Inch and millimeter screws can be distinguished based on whether the screw comes with a groove or not, as shown in the figure below. Groove (one or more) 2 Inch screw Millimeter screw Fixing screws for serial connector Setting the jumpers Set the jumpers on the DP-501 as follows. (In the case of a Y connection, the jumpers may have any setting since the connectors on the DP-501 are not used) JP1 JP2 Description 1-2 1-2 Set when connecting both the TM printer and stand for use. Set in this way when using pass-through connection. (Default) 2-3 2-3 Set when using the customer display in a stand-alone connection, without connecting a TM printer. Set in this way when using stand-alone connection. JP2 JP1 Attaching the customer display When connecting or disconnecting a cable, be sure the customer display and system are turned off. 31 1 Pass the DM-D500 connection cable through the DP-501. When extending the pole height of the display, attach the extension support (DP-105) to the display. When using the extension support (DP-105) 2 32 Insert the display (or extension support) into the DP-501. Insert the display (or extension support) into the DP-501 all the way in until it clicks. Chapter 2 Setup 3 Connect the connector of the DM-D500 connection cable to the DM-D connector inside the DP-501. In the case of a Y connection, connect to the DM-D connector on the printer and proceed to step 9. In the case of a printer with two DM-D connectors, use the connector by the interface. Connecting to the stand 2 Connecting to the printer 33 4 Connect the computer and DP-501. Insert one end of the interface cable to the connector for computer connection inside the DP-501, and the other end to the serial connector on the computer. Tighten the screws on both sides of the connectors. Computer 5 Connect the printer and DP-501. In the case of a stand-alone connection, proceed to step 6. When connecting to a printer, insert one end of the interface cable to the connector for printer connection inside the DP-501, and the other end to the connector on the printer. Tighten the screws on both sides of the connectors. Printer 6 Connect the power extension cable. If not using the power extension cable, proceed to step 7. Connect one end of the power extension cable to the connector for power extension cable connection inside the DP-501 with the arrow on the connector face up, and the other end to the power connector on the printer. Connector for power extension cable connection Power extension cable 34 Chapter 2 Setup 7 Connect the DC cable connector of the power supply unit, with the arrow on the connector face up, to the connector for power supply unit connection (indicated as POWER IN) inside the DP-501. • For power supply unit, use the optional PS-180. • When connecting or disconnecting the DC cable of the power supply unit, be sure the power plug of the power supply unit is disconnected from the power outlet. • When disconnecting the DC cable of the power supply unit, disconnect by holding the connector. Pulling on the cable may damage the cable. Connector for power supply unit connection DC cable 2 8 Set the jumpers. 9 Lay the connection cables neatly so that they do not cross one another. Also, shape the DM-D500 modular cable so that it fits inside the DP-501. (See "Setting the jumpers" on page 31) the base plate in the DP-501 by following the order indicated by the arrows. 10 Place Be sure to push the base plate all the way in until it is locked by the hooks on the DP-501. using the extension support, attach hook and loop fastener to the four corners 11 When of the base plate to prevent the unit from falling down, and install in the designated place. 12 Plug in the power supply unit to a power outlet. 35 Attaching to DP-502 (TM-H6000 series / TM-U675) Attach DM-D500 directly to a TM-H6000 series printer or TM-U675 using DP-502. The DM-D500 can be attached on either side of the TM-H6000 series printer or TM-U675. After attaching, the position of the display can be moved freely. Required items The following items are used to attach DM-D500 to a TM-H6000 series printer or TM-U675. These items are supplied with DP-502. To connect the TM printer to a computer, a USB or serial cable, a power supply, and an AC cable are necessary. Stopper Fixing screws for rubber feet (small) Support C 36 Fixing screw for the stopper Angle fixing screw Rubber feet (small) Support B (extension) Fixing plate B Fixing screws for fixing plate B Fixing plate A Chapter 2 Setup Attaching the customer display When connecting or disconnecting a cable, be sure the customer display and system are turned off. 1 Pass the DM-D500 connection cable through support C and insert the customer display into support C. When using the extension support B, insert support B into support C all the way in until it clicks. 2 When using support B (extension) 2 Attach the rubber feet to the printer. 37 38 3 Attach fixing plate B to the printer. 4 Pass the DM-D500 connection cable through the hole on fixing plate A and fix the cable to the underside of fixing plate A. Chapter 2 Setup 5 Connect the connector of the DM-D500 connection cable to the DM-D connector on the printer. In the case of a printer with two DM-D connectors, use the connector by the interface. 2 6 Using the stopper, attach fixing plate A to the printer. When attaching the stopper, insert the projections of the stopper into the holes of fixing plate B. The fixing plate A can be attached on either side of the printer. (The figure below shows when it is attached to the right) 39 7 The horizontal rotation mechanism of fixing plate A allows the display to be moved freely for better visibility. The display can also be fixed to one of the following four positions. Align the fixing plate A to the desired angle and secure the position using the angle fixing screw. The paper roll cover of the printer may not open if the position of the display is inappropriate. Before securing the position of DM-D500, be sure to check that the paper roll cover of the printer can be opened. Paper roll cover 40 Chapter 2 Setup 8 Store the excess cable length inside the support and insert the support into fixing plate A. 9 Connect the printer power cable and fix the cable with the hook on the fixing plate B as shown in the figure below to prevent it from getting loose. 41 2 Attaching to DP-502 (TM-U950) Attach DM-D500 directly to TM-U950 using DP-502. Required items The following are used to attach DM-D500 to TM-U950. These items are supplied with DP-502. Fixing screws for metal plate Support C Support B (extension) Rubber feet (square) Fixing plate A Attaching the customer display When connecting or disconnecting a cable, be sure the customer display and system are turned off. 1 Pass the DM-D500 connection cable through support C and insert the customer display into support C. When using the extension support B, insert support B into support C all the way in until it clicks. When using support B (extension) 42 Chapter 2 Setup 2 Attach the rubber feet to the printer. 3 Pass the DM-D500 connection cable through the hole on fixing plate A and fix the cable to the underside of fixing plate A. 43 2 4 Connect the connector of the DM-D500 connection cable to the DM-D connector on the TM-printer. In the case of a printer with two DM-D connectors, use the connector by the interface. 5 44 Adjust the cable length and fix the fixing plate A to the printer using screws. Chapter 2 Setup 6 Store the excess cable length inside the support and insert the support into fixing plate A. 2 45 Attaching to DP-503 (TM-H5000II) Attach DM-D500 directly to TM-H5000II using DP-503. Required items The following items are used to attach the DM-D500 to the TM-H5000II. These items are supplied with DP503. Tapping screws for fixing (M3 ×10) (3 pcs) Support B Installation base unit for TM Support C Attaching the customer display When connecting or disconnecting a cable, be sure the customer display and system are turned off. 1 Pass the DM-D500 connection cable through support C and insert the customer display into support C. When using the extension support B, insert support B into support C all the way in until it clicks. When using support B (extension) 46 Chapter 2 Setup 2 Attach the installation base unit to the setting position on the TM printer and secure it with the screws. 3 Pass the DM-D500 connection cable through the installation base unit. 2 4 Insert the tab on the installation base unit into the hole on the support until you feel it click. 5 Connect the connector of the DM-D500 connection cable to the DM-D connector on the TM-printer. 47 Setting the DIP Switches DM-D500 is provided with two DIP switches. DIP switch settings are loaded the next time the DM-D500 is turned on. In a stand-alone connection, set the same settings for communication (data length, parity, baud rate) for DMD500 as for the computer. In a path-through connection, set the same settings for communication (data length, parity, baud rate) for all, including the computer and printer. In a Y connection, the settings for communication must be the same for the computer and customer display. In addition, set DIP switch 2-1 to ON. In an USB controlled (serial), set the transfer speed to 19200 bps. Functions that can be set with the DIP switches are as follows. DIP switch 1 DSW1 No. Function ON OFF 1-1 Error Data Reception Ignore "?" display OFF 1-2 Handshake XON/XOFF (*1) DTR/DSR (*2) OFF 1-3 Data Length 7 bits 8 bits OFF 1-4 Parity Yes No OFF 1-5 Parity Selection Even Odd OFF 1-6 Baud Rate Switching See "Transfer speed switching" ON 1-7 OFF 1-8 ON (*1) "XON/XOFF" is valid only for stand-alone connections. (*2) In OPOS and APD4, use the DIP switch in default setting: "DTR/DSR". Transfer speed switching SW1-6 48 Default setting SW1-7 SW1-8 Transfer speed (bps) ON ON ON 2400 OFF ON ON 4800 ON OFF ON 9600 (Default setting) OFF OFF ON 19200 ON ON OFF 38400 OFF ON OFF 57600 ON OFF OFF 115200 Chapter 2 Setup DIP switch 2 DSW2 No. Function ON OFF Default setting 2-1 Y Connection Setting Enabled Disabled OFF 2-2 Self-test Execution (*1) Yes No OFF 2-3 20 column 2 line Mode Setting (*2) 20 column x 2 line mode 256 x 64 mode OFF 2-4 Default Device Selection Setting (*3) Printer Display OFF 2-5 Address 0 (*4) 2-6 Address 1 (*4) 2-7 Address 2 (*4) Three bits: address bit 0 to 2 are used for display number (1 to 7). (However, there is no display number when all the bits are OFF) 2-8 Reserved for system (*5) - Fixed to OFF OFF OFF OFF OFF (*1) Sets whether or not to run the self-test when power is turned on. For details on the self-test, see "Self-test". (*2) In OPOS and APD4, use the DIP switch in default setting: "256x64 mode". Selecting "20 column 2 line mode" allows the display to be used as a replacement of DM-D105, 106, 205, or 206. In this mode, graphics display and functions unique to DM-D500 are unavailable. Selecting "256x64" mode makes graphics display and functions unique to DM-D500 become available. (*3) In OPOS and APD4, use the DIP switch in default setting: "Display". When "Printer" is selected, data is output to the TM printer but not displayed on the display. When "Display" is selected, data is displayed on the display but not output from the TM printer. The device selection can be changed by using the ESC/POS command. (*4) In OPOS and APD4, use the DIP switch in default setting. (*5) Do not change the OFF setting. Changing the DIP switch settings When removing the DIP switch cover, be sure DM-D500 is turned off. Removing the cover with the power turned on may cause short circuit, which may damage the product. 1 2 Turn off DM-D500. Remove the DIP switch cover. DSW1 DSW2 DIP switch cover 49 2 3 4 5 50 Change the switch position using a pointed object. Put the cover back. After changing the DIP switch settings, turn on the power. Chapter 2 Setup Checking the DM-D500 Operation Self-test DM-D500 is provided with a built-in self-test function. It allows to check whether DM-D500 operates normally. Whether or not to run the self-test can be set with the DIP switch. Items checked by the self-test The self-test allows to check the following: • Display of firmware version • Display of DIP switch settings • Presentation of display characters 2 • Presentation of functions (brightness, flashing, scroll, etc.) Running the self-test To run the self-test, proceed as follows. 1 2 3 Turn off DM-D500. Set SW2-2 of DIP switch 2 to ON and turn on DM-D500. The self-test runs. If the self-test completes normally, the display becomes ready to receive data. Details of the self-test In the self-test, the following 8 steps are executed in order. 1 2 3 Turn on all display elements of the screen. 4 Display the DIP switch settings. 5 Display all characters. Display a diagonal line and slide by 1 dot. Display the ROM version. Displays the (boot system and firmware) ROM versions. Displays the transfer speed, data length, and parity setting (Even, Odd, or None) for 3 seconds, respectively. After displaying a message. displays pages 0 (20 H to FF H) and 1 (80 H to FF H) of the character code table (see "Character Code Tables" on page 69) by scrolling vertically. 51 52 6 Flash characters. 7 Display brightness. 8 Display the time. Flashes a message (once every second). During this period, the bottom line is scrolled horizontally. Displays a message by setting the brightness to 20%, 40%, 60%, and 100%, respectively. (For 1 second each). Starts by displaying 12:34:00 at the lower right of the screen and then, moves up the message by top line while scrolling horizontally. Chapter 3 Application Development Information Application Development Information This chapter describes how to control the display and gives information useful for display application development. How to Control the Customer Display Use a driver or ESC/POS commands to control the customer display. Selecting a Driver Choose one of the drivers listed in "Drivers" on page 55, depending on the application operating environment. For information about the driver operating environment, see the installation manual for each driver. When you newly develop an application OPOS ADK is recommended for system extensibility. An OPOS driver is provided for various peripherals and it is a POS industry standard now. It enables POS system efficiency, reduction of development cost, and effective use of application assets. You can use all functions, including ones not supported by OPOS ADK or APD4, by using ESC/POS commands through your driver. Use the DIRECT I/O function of OPOS ADK, the control A command of APD4, or Status API to send ESC/POS commands from each driver. ESC/POS Commands ESC/POS is the Epson original printer command system. With ESC/POS commands, you can directly control all the TM printer functions, but detailed knowledge of printer specifications or combination of commands is required, compared to using a driver. To use ESC/POS commands, you need to agree to a nondisclosure contract first and obtain the DM-D500 Specification. Ask your dealer for details. The ESC/POS command functions are listed below. See the DM-D500 Specification for more details. ESC/POS command functions Commands Move cursor left Move cursor right Move cursor down Move cursor up Move cursor to home position Move cursor to left-most position 53 3 Move cursor to right-most position Move cursor to bottom position Move cursor to specified position Clear display screen Clear cursor line Initialize display Select an international character set Select character code table Specify overwrite mode Turn cursor display mode on/off Set display screen blink interval Set and display counter (time) Display counter (time) Brightness adjustment Turn reverse mode on/off Execute self-test Start/end macro definition Execute macro 54 Chapter 3 Application Development Information Software and Manuals The following software and manuals are provided for application development. Drivers Software Manual EPSON Advanced Printer Driver Ver.4 (APD4): • APD Install Manual In addition to ordinary Windows driver functions, this driver has controls specific to POS, such as controls for customer display. The Status API (Epson original DLL) that sends ESC/POS commands is also attached to this driver. • APD Customer Display Manual • Sample Program Guide Notes on Using the DM-D500 with EPSON APD4 • Do not share the DM-D500 among multiple software applications. EPSON OPOS ADK: • OPOS Installation Manual This OCX driver can control POS peripherals using OLE technology*1. Because controlling POS peripherals with original commands is not required on the application side, efficient system development is possible. • User’s Manual Notes on using the DM-D500 with Epson's OPOS • Application Development Guide • UnifiedPOS Retail Peripheral Architecture*2 3 • Sample Program Guide • Set the transmission speed to 115200 bps. • If the DM-D500 goes into a system standby state in Open / Claim / Enable, execute Release/Claim to the DM-D500 to return from the system standby status. • Do not use the DM-D500 with multiple application software. EPSON OPOS ADK for .NET: • OPOS ADK for .NET Installation Guide OPOS ADK for .NET allows you to develop applications that are compatible with Microsoft POS for .NET. • UnifiedPOS Retail Peripheral Architecture*2 When developing applications, use a separate development environment such as Microsoft Visual Studio .NET. • Application Development Guide • User's Reference (SetupPOS) Notes on using the DM-D500 with Epson's OPOS • Do not use the DM-D500 with multiple application software. EPSON JavaPOS ADK (Windows): JavaPOS ADK Installation Guide JavaPOS is the standard specification which defines an architecture and device interface (API) to access various POS devices from a Java based system. Using JavaPOS standard API allows control with Java-based applications of functions inherent to each device. A flexible design with Java language and JavaPOS enables many different types of computer systems, such as stand alone or network configuration, to use a same application. You can use JavaPOS to build applications and drivers independently of platforms. This allows flexible configurations using thin clients to meet the system requirements. Notes on using the DM-D500 with Epson's JavaPOS • Do not use the DM-D500 with multiple application software. 55 *1: OLE technology developed by Microsoft divides software into part blocks. The OPOS driver is presupposed to be used with a development environment such as Visual Basic, unlike ordinary Windows drivers. It is not a driver to be used for printing from commercial applications. *2: This guide describes general information on how to control printers using the OPOS ADK (in the chapter “Display” and “Section 5”). It does not describe Epson’s specific functions. Download Drivers and manuals can be downloaded from one of the following URLs. For customers in North America, go to the following web site and follow the on-screen instructions: http://www.epsonexpert.com/ For customers in other countries, go to the following web site: http://www.epson-pos.com/ 56 Chapter 3 Application Development Information Storing and Retrieving Graphics DM-D500 is capable of storing graphics such as the shop logo, which can then be retrieved and displayed. The graphics data to store must be created with screen size (256x64 dots) in mind. OPOS Graphics data is stored using the TMFLogo Utility bundled with OPOS. The data can be retrieved from applications. View ports in text mode cannot display graphics. APD APD Ver. 4 comes with a built-in TMFLogo Utility. The data can be retrieved from applications. Text drivers cannot display graphics. ESC/POS Graphics can be stored directly using ESC/POS command, or by using the TMFLogo Utility. The data is displayed using ESC/POS command. 57 3 58 Chapter 4 Handling Handling This chapter describes basic handling of the product. Precautions for Handling When handling DM-D500, be careful of the following points: • Do not install DM-D500 in locations with high temperature and humidity, or with extreme temperature differences. • Avoid installing in dirty or dusty locations. • Avoid installing on unstable locations, or in locations subject to frequent vibrations • The DM-D500 includes a vacuum fluorescent display. When handling, be careful not to drop or hit it. Turning and Tilting the Display The display orientation and angle can be changed by moving the display while holding the support. The display moves easily; so, do not force it any further when it stops. The range of movement for the display is as indicated below. The horizontal rotation angle of the display is limited by the stopper. Forcing it to turn beyond the limit set by the stopper may damage the display. Tilt Maximum angle 48° (4 steps, 5 positions) 4 Horizontal rotation With DP-502 and DP-105 : Maximum angle 330° With DP-501 : Maximum angle 90° 59 60 Appendix A Hardware Hardware This chapter describes the hardware of this product. Interface Signal Wiring Block Diagram The following shows the interface signal wiring block diagram of DM-D500 and DP-501. Display Display CPU Switched by DSW2-1 Level shifter Display connector Modular-8 TXD DSR DTR RXD DP-501 TXD (3) DTR (20) DSR (6) RTS (4) TXD (2) Connection switched by JP1 and JP2 JP2 JP1 3 2 1 3 2 1 RXD (2) DSR (6) DTR (4) RESET (25) RESET (9) for printer connection RXD (3) D-Sub 9 (male) connector for host connection D-Sub 25 (female) connector Connector for display connection Modular-8 61 Data Flow Stand-alone Connection In a stand-alone connection, the customer display is directly connected to the computer serial port. The printer is connected to another computer port. In the stand-alone connection, data flows as indicated below. DP-501 Computer DM-D500 (Display) Transmit data from the computer Power supply Transmit data to the computer • In the stand-alone connection, data is sent from the host computer to the customer display, and from the customer display to the host. (When 2-3 is selected in jumpers JP1 and JP2 on the DP-501) • Enabled only when the display is selected by the peripheral equipment command of ESC/POS for using user setting commands. • Settings for communication must be the same for the computer and customer display. • Data transmission from DM-D500 to a computer is disabled (default setting). It is not used by the driver either. To use this function, it must be enabled with the ESC/POS command. 62 Appendix A Hardware Pass-through Connection In a pass-through connection, it is possible to control the customer display, printer, and cash drawer from one computer serial port, via the DP-501. In the pass-through connection via the DP-501, data flows as indicated below. DP-501 Computer DM-D500 (Display) Transmit data from the computer Printer Transmit data from the printer to the computer Power supply Transmit data to the printer • In the pass-through connection, data from the computer is first stored in the receive buffer of the display, and then processed sequentially to only send data for the printer to the printer. Data from the printer is sent directly to the computer, without passing through the display. • Data for the customer display and that for the printer are distinguished by the select peripheral device command. • Settings for communication must be the same for all of the computer, printer, and customer display. 63 Y Connection Y connection allows to connect the customer display and cash drawer from the serial port of the computer, via the printer. In the Y connection, data flows as indicated below. Computer Transmit data from the computer Transmit data from the printer to the computer Printer DM-D500 (Display) Power supply • In the Y connection, the same data is sent from the computer to the printer as well as the customer display. • Data for the customer display and that for the printer are distinguished by the peripheral equipment command of ESC/POS. • When the printer is connected via serial, the settings for communication must be the same for the computer and customer display. In addition, when turning on the power, turn on the customer display before the printer. 64 Appendix A Hardware Connectors DM-D500 (Connector)   Pin assignments Pin Number Signal Name Signal Direction Signal Function 1 FG - Frame ground 2 TXD Output (1) In a Y or pass-through connection (*1) Transmit data to the printer (2) In a stand-alone connection Transmit data to the host 3 RXD Input Data received from the host computer 4 DSR Input Indicates whether or not the host computer or printer is ready to receive data. (1) In a pass-through connection (*1) [MARK] The printer is not ready to receive data [SPACE] The printer is ready to receive data (2) In a stand-alone connection [MARK] The host computer is not ready to receive data [SPACE] The host computer is ready to receive data 5 DTR Output Indicates whether or not the customer display is ready to receive data. (*2) [MARK] The display is not ready to receive data The display enters the MARK status in the following cases: (1) During power-on initialization (2) During self-test (3) When the empty capacity of the receive buffer becomes 128 bytes or less (the following case applies to pass-through connection only) (4) When DSR enters the MARK status on printer selection [SPACE] The display is ready to receive data The display enters the SPACE status in the following cases: (1) When power-on initialization finishes (2) When self-test finishes (3) When the empty capacity of the receive buffer recovers to 256 bytes or more from 128 bytes or less 6 SG - Signal GND 7 PS - Power supply terminal 8 PG - Return wire for power (*1) Regarding pass-through connection and stand-alone connection, see Chapter 1. (*2) When DTR signal is set to MARK status by the ESC/POS status confirmation command, this status is different from that where the signal indicates whether or not the display is ready to receive data. 65 DP-501 The connectors on the DP-501 are as indicated below. Connector for computer connection DM-D connector Connector for power supply unit connection Connector for printer connection Connector for power extension cable connection Connector for computer connection This is the connector for connecting to a computer.     Pin assignments Pin Number Signal Name Signal Direction Signal Function 1 FG - Frame ground 2 TXD Output (1) In a pass-through or Y connection, data sent from the printer to the host (2) In a stand-alone connection, data sent from the display to the host 3 RXD Input Data received from the host (Host -> display) 4 (*1) RTS Output Same signal as DTR. 6 (*2) DSR Input Indicates whether or not the host is ready to receive data. [SPACE] The host is ready to receive data [MARK] The host is not ready to receive data 7 GND - Signal GND 20 (*1) DTR Output Indicates whether or not the display is ready to receive data. (*2) [MARK] The display is not ready to receive data The display enters the MARK status in the following cases: (1) During power-on initialization (2) During self-test (3) The empty capacity of the receive buffer is 128 bytes or less (4) When DSR enters the MARK status on printer selection [SPACE] The display is ready to receive data The display enters the SPACE status in the following cases: (1) When power-on initialization finishes (2) When self-test finishes (3) When the empty capacity of the receive buffer recovers to 256 bytes or more from 128 bytes or less 25 RESET Input Reset signal for the printer (*1) Make sure to use either the RTS or the DTR terminal. Otherwise, the built-in RS-232 driver IC may be broken. (*2) This signal is connected to the DTR terminal of the printer directly. 66 Appendix A Hardware Connector for printer connection This is the connector for connecting to a printer.     Pin assignments Pin Number Signal Name Signal Direction Signal Function 2 RXD Input Data received from the printer (Printer -> host) 3 TXD Output Data sent to the printer (Display -> printer) 4 DTR Output Indicates whether or not the host is ready to receive data. [SPACE] The host is ready to receive data [MARK] The host is not ready to receive data 5 GND - Signal GND 6 DSR Input Indicates whether the display is ready to receive data from the printer [SPACE] The printer is ready to receive data Send once data is ready [MARK] The printer is not ready to receive data Do not send even when data is ready 9 RESET Output Reset signal for the printer (Host -> printer) 67 Power connector There are two power connectors on the base of the DP-501; one for connecting the power supply unit and another for supplying power to the printer. 2 SHELL 1 3 Pin assignments Pin Number 68 Signal Name Signal Direction Signal Function 1 +24V - Power supply 2 GND - Ground 3 NC - Unused SHELL FG - Frame ground Appendix B Character Code Tables Character Code Tables Character Code Tables Page 0 (PC437:USA, Standard Europe) (international character set: U.S.A.) Page 0 Indicated characters (00H-7FH) Note 1: Character codes from 00H (hexadecimal) to 7FH (hexadecimal) for each page are the same. Note 2: Some characters indicated by character codes from 00H to 7FH are changed by selecting the international character set. Refer to Section A.13, International character set, for details. 69 Page 0 Indicated Characters (80H-FFH) 70 Appendix B Character Code Tables Page 1 (Katakana) Page 1 Indicated Characters (80H-FFH) 71 Page 2 (PC850:Multilingual) Page 2 Indicated Characters (80H-FFH) 72 Appendix B Character Code Tables Page 3 (PC860:Portuguese) Page 3 Indicated Characters (80H-FFH) 73 Page 4 (PC863:Canadian-French) Page 4 Indicated Characters (80H-FFH) 74 Appendix B Character Code Tables Page 5 (PC865:Nordic) Page 5 Indicated Characters (80H-FFH) 75 Page 16 (WPC1252) Page16 Indicated Characters (80H-FFH) 76 Appendix B Character Code Tables Page 17 (PC866: Cyrillic 2) Page17 Indicated Characters (80H-FFH) 77 Page 18 (PC852: Latin 2) Page18 Indicated Characters (80H-FFH) 78 Appendix B Character Code Tables Page 19 (PC858: Euro) Page19 Indicated Characters (80H-FFH) 79 Page 254 (Space) Page254 Indicated Characters (80H-FFH) 80 Appendix B Character Code Tables Page 255 (Space) Page255 Indicated Characters (80H-FFH) UD: undefined 81 International character set The below listed international characters, which are specified by a code, can be changed by command. For a description of the command for selecting an international character set, see "ESC/POS Commands" on page 53. ASCII code (H ex) Cou n t r y 23 24 40 5B 5C 5D 5E 60 7B U.S.A # $ @ [ \ F r a n ce # $ à ° Ger m a n y # $ § U.K. £ $ Den m a r k I # Sweden 7C 7D 7E ] ^ ` { | } ~ ç § ^ ` é ù è ¨ Ä Ö Ü ^ ` ä ö ü ß @ [ \ ] ^ ` { | } ~ $ @ Æ Ø Å ^ ` æ ø å ~ # ¤ É Ä Ö Å Ü é ä ö å ü It a ly # $ @ ° \ é ^ ù à ò è ì Spa in I Pt $ @ ¡ Ñ ¿ ^ ` ¨ ñ } ~ J a pa n # $ @ [ ¥ ] ^ ` { | } ~ Nor wa y # ¤ É Æ Ø Å Ü é æ ø å ü Den m a r k II # $ É Æ Ø Å Ü é æ ø å ü Spa in II # $ á ¡ Ñ ¿ é ` í ñ ó ú La t in Am er ica # $ á ¡ Ñ ¿ é ü í ñ ó ú Kor ea # $ @ [ W ] ^ ` { | } ~ International Character Set (Indicated Character Selection by Command) 82