You are on page 1of 19

EPSON

EPSON OPOS ADK MANUAL

APPLICATION DEVELOPMENT GUIDE POSPrinter(TM-U950 and TM-U375)
Version 2.00 Dec. 2000

Copyright © 2000 SEIKO EPSON CORPORATION

Windows NT. Trademarks Microsoft Windows. (5) EPSON will not be responsible for any consequences resulting from the use of any information in this documentation.Notes (1) Reproduction of any part of this documentation by any means is prohibited. Copyright © 2000 SEIKO EPSON CORPORATION . (2) The contents of this documentation are subject to change without notice. EPSON and ESC/POS are registered trademarks of SEIKO EPSON CORPORATION. (4) This software cannot be used with other equipment that the specified. (3) Comments and notification of any mistakes in this documentation are gratefully accepted. Visual Basic are trademarks and registered trademarks of Microsoft Corporation. USA. All other company names and trademarks mentioned in this documentation are the property of their respective owners.

....................................................................................14 3................11 3..................................................................................4.......................5................................1.......................3.............. INTRODUCTION..............................16 iii APPLICATION DEVELOPMENT GUIDE POSPrinter(TM-U950 and TM-U375) ....................................................................................................................9.. DETAILS ON SETTINGS ................................................... Usable Device Specific Settings..................................1.............14 3.......................................................................................... List Properties............................................ PROPERTY SET VALUES AND DEFAULT VALUES ........................... DEVICE SETTINGS .......2..................................... MAINTENANCE COUNTER ..........................................15 SECTION 4....................7 2.....................15 3....6........ PRINTABLE BITMAP TYPES AND THE SPECIFIED SIZE ............. ESCAPE SEQUENCES .....1......................2.................1 SECTION 2...........................................................................4...............................1............................................10.................................1............... PORT INFORMATION..........................2 2........10 3..................... Capability Set Values ............ WARNINGS...........................4.......12 3............. FUNCTION DETAILS ...................................13 3............................................14 3...................8 3........................7 SECTION 3..................Version 2........8...................................................................................................3.........................................00 Dec..... Width and Height Properties................................................. METHODS .......................................................................... SETTINGS OF DIP SWITCHES .... ELECTRONIC LOGO FUNCTION (NVRAM).......................... 2000 Contents SECTION 1.... SYNCHRONOUS PROCESSING ..2 2....................4....5 2................................... REFERENCE VERSIONS OF FIRMWARE ........................11 3.................................................................... AUTOMATIC RECOVERY FUNCTION ...2...............8 3...14 3..............2 2..........................................................................................................................1............7...........1...................8 3...........................................................3........ POWER CONDITIONS REPORTING ........14 3..............1................ Common Property Strings......................................................................................................................................... PRINT POSITION .............

the various model names will be referred to as TM-U950 and TM-U375. TM-U950 model Station: Receipt / Journal / Slip (9 pin Serial impact dot matrix) TM-U375 model Station: Receipt / Slip (9 pin Serial impact dot matrix) Rotate printing function Throughout the manual. when the EPSON TM-U950 and TM-U375 Series POS Printers are used with the EPSON OPOS ADK program. as well as machine-specific precautions. 2000 Section 1. 1 APPLICATION DEVELOPMENT GUIDE POSPrinter(TM-U950 and TM-U375) . Introduction This manual describes the method of use and related items.00 Dec. Device List Serial TM-U950 TM-U375 Parallel TM-U950P TM-U375P Before reading the manual.Version 2. see the following explanation about the characteristic of the TM-U950 and TM-U375 model. This manual applies to the following devices.

1 2 3 4 5 6 7 8 Setting OFF OFF ON OFF OFF ON OFF OFF Recommended Recommended Fixed at ON Recommended Settable Fixed at ON Fixed at OFF Fixed at OFF It is possible to change the settings of 7 (Processing of the data input error) of DIP-SW1 and 2 (Specification of the received buffer capacity) of DIP-SW2 but it is recommended to leave them at OFF. 1) Serial port * TM-U950 DIP-SW 1 No. Set 6 of DIP-SW1 in accordance with whether or not a customer display is 2 APPLICATION DEVELOPMENT GUIDE POSPrinter(TM-U950 and TM-U375) . Set 1 (Bit length) of DIP-SW1 to 8. 4 and 5 of DIP-SW1 in accordance with the port information.1.00 Dec.Version 2. make sure to change the port information using the SetupPOS utility.txt). 2000 Section 2.2. The described set values are the default values. 2. Settings of DIP Switches Confirm that the following settings have been made correctly. Set 2. Details on Settings This section describes connection configurations and how to make the settings for the TM-U950 and TM-U375 Series printers. Set 8 (Handshake) of DIP-SW1 to DTR/DSR. Also. 3. 1 2 3 4 5 6 7 8 Setting OFF OFF OFF OFF OFF OFF OFF OFF Fixed at OFF Settable Settable Settable Settable Settable Recommended Fixed at OFF DIP-SW 2 No. 2. refer to the product manual of the POSPrinter. if these settings are changed. For the details. Reference Versions of Firmware Refer to the release notes (Relnote.

set to ON. 4. Set 3 (Handshake) of DIP-SW1 to DTR/DSR. 7. if these settings are changed. For the details. set to OFF. 1 2 3 4 5 6 7 8 Setting OFF OFF OFF OFF OFF OFF OFF OFF Recommended Recommended Fixed at OFF Fixed at OFF Settable Settable Settable Settable DIP-SW 2 No. Set 5.00 Dec. refer to the product manual of the POSPrinter. If not. set to OFF. Also. set to ON. * TM-U375 DIP-SW 1 No. 2000 connected. and 8 of DIP-SW1 in accordance with the port information. Make other settings in accordance with the settings described above. Set 4 (Bit length) of DIP-SW1 to 8. The described set values are the default values. If connected. 3 APPLICATION DEVELOPMENT GUIDE POSPrinter(TM-U950 and TM-U375) . make sure to change the port information using the SetupPOS utility. Set 1 of DIP-SW2 in accordance with whether or not a customer display is connected. 6. and 6 of DIP-SW2 should not be change from current settings. If connected. Make other settings in accordance with the settings described above. 5.Version 2. If not. 1 2 3 4 5 6 7 8 Setting OFF OFF OFF OFF OFF Settable Fixed at OFF Settable Fixed at OFF Fixed at OFF It is possible to change the settings of 1 (Processing of the data input error) and 2 (Specification of the received buffer capacity) of DIP-SW1 but it is recommended to leave them at OFF. It is possible to change the settings of 1(Auto line feed) of Dip-SW2 and 4(Carriage Moving Speed) of Dip-SW2 but it is recommended to leave them at OFF.

1 2 3 4 5 6 7 8 Setting OFF OFF OFF OFF OFF OFF OFF OFF Fixed at OFF Fixed at OFF Fixed at OFF Fixed at OFF Fixed at OFF Fixed at OFF Fixed at OFF Fixed at OFF DIP-SW 2 No. 1 2 3 4 5 6 7 8 Setting OFF ON OFF ?? ?? ?? OFF ON Fixed at OFF Fixed at ON Settable Not settable Not settable Not settable Fixed at OFF Fixed at ON It is possible to change the settings of 2 (Specification of the received buffer capacity) of DIP-SW1but it is recommended to leave them at OFF. Make other settings in accordance with the settings described above. 2000 2) Parallel Port * TM-U950 DIP-SW 1 No. It is possible to change the settings of 1(Auto Line Feed) of Dip-SW2 and 4(Carriage Moving Speed) of Dip-SW2 but it is recommended to leave them at OFF. It is possible to change the settings of 1(Auto line feed) of Dip-SW2 and 4(Carriage Moving Speed) of Dip-SW2 but it is recommended to leave them at OFF.Version 2. 4 APPLICATION DEVELOPMENT GUIDE POSPrinter(TM-U950 and TM-U375) .00 Dec. * TM-U375 DIP-SW 1 No. 1 2 3 4 5 6 7 8 Setting OFF OFF ON OFF OFF ON OFF ON Recommended Recommended Fixed at ON Recommended Settable Fixed at ON Fixed at OFF Fixed at ON It is possible to change the settings of 2 (Specification of the received buffer capacity) of DIP-SW2 but it is recommended to leave them at OFF. 1 2 3 4 5 6 7 8 Setting OFF OFF OFF OFF OFF OFF OFF OFF Recommended Recommended Fixed at OFF Fixed at OFF Fixed at OFF Fixed at OFF Fixed at OFF Fixed at OFF DIP-SW 2 No.

Item Baud rate [bps] Bit length [bit] Parity Stop bit [bit] Handshake Output buffer length [byte] 9600 8 NONE 1 DTR/DSR 10 (TM-U375) 1024 (TM-U950) Output interval time [ms] 2500 Setting range 5 APPLICATION DEVELOPMENT GUIDE POSPrinter(TM-U950 and TM-U375) .9600 8 NONE.ODD.2400.3. Port Information 1) Port information when serial port is used The port information that can be set with the SetupPOS utility is as follows.Version 2. Item Baud rate [bps] Bit length [bit] Parity Stop bit [bit] Handshake Output buffer length [byte] Setting range 1200. 2.00 Dec.EVEN 1 DTR/DSR 2 to 64 (TM-U375) 32 to 1024 (TM-U950) Output interval time [ms] 0 to 9999 The default settings are as shown in the following table.4800. 2000 Make other settings in accordance with the settings described above.

00 Dec.Version 2. Item Output buffer length [byte] Setting range 2 to 64 (TM-U375) 32 to 1024 (TM-U950) Output interval time [ms] 0 to 9999 The default settings are as shown in the following table. Item Output buffer length [byte] Setting range 10 (TM-U375) 1024 (TM-U950) Output interval time [ms] 2500 6 APPLICATION DEVELOPMENT GUIDE POSPrinter(TM-U950 and TM-U375) . 2000 2) Port information when using parallel port The port information that can be set with the SetupPOS utility is as follows.

4.00 Dec.1. Device Settings The following explanation is about the settings for TM-U950 and TM-U375. the following Device Specific Settings are settable by the SetupPOS utility. refer to the Section 2 in the Application Development Guide (POSPrinter EPSON TM series). 7 APPLICATION DEVELOPMENT GUIDE POSPrinter(TM-U950 and TM-U375) . 2. For more details on each setting.4. Tab General Disable panel buttons Settings Assume print complete when data output finishes Ignore firmware version check Homogenize Error Codes Output complete timeout Bitmap Color Bitmap Download Method Brightness Primary Status Log ERROR OFFLINE Log file name (full path name) Maximum file size [KB] *1 Settable only for the TM-U950.Version 2. Usable Device Specific Settings For the TM-U950 and TM-U375. 2000 2.

2000 Section 3. 3.1.Version 2. Function Details This section describes the functions of the TM-U950 and TM-U375 printer in details. 3.1.00 Dec.1. Supplementary explanation of the parts not described in detail in the APG is also given here. Capability Name CapTransaction CapCoverSensor CapConcurrentRecSlp CapConcurrentJrnSlp CapConcurrentJrnRec CapCharacterSet CapJrnUnderline CapJrnNearEndSensor CapJrnItalic CapJrnEmptySensor CapJrnDwideDhigh CapJrnDwide CapJrnDhigh CapJrnColor TM-U950 TRUE TRUE FALSE FALSE TRUE PTR_CCS_ASCII TRUE TRUE FALSE TRUE TRUE TRUE TRUE PTR_COLOR_P RIMARY CapJrnCartridgeSensor CapJrnBold CapJrn2Color CapJrnPresent 8 APPLICATION DEVELOPMENT GUIDE POSPrinter(TM-U950 and TM-U375) 0 TRUE FALSE TRUE 0 FALSE FALSE FALSE TM-U375 TRUE TRUE FALSE FALSE FALSE PTR_CCS_ASCII FALSE FALSE FALSE FALSE FALSE FALSE FALSE 0 . Property Set Values and Default Values The following explanation is about the property setting values and the default values. Capability Set Values The following values are the Capability set values.

2000 CapRecUnderline CapRecStamp CapRecRotate180 CapRecRight90 CapRecPapercut CapRecNearEndSensor CapRecMarkFeed CapRecLeft90 CapRecItalic CapRecEmptySensor CapRecDwideDhigh CapRecDwide CapRecDhigh CapRecColor TRUE FALSE TRUE FALSE TRUE TRUE 0 FALSE FALSE TRUE TRUE TRUE TRUE PTR_COLOR_P RIMARY TRUE FALSE TRUE TRUE FALSE TRUE 0 TRUE FALSE TRUE TRUE TRUE TRUE PTR_COLOR_P RIMARY 0 TRUE TRUE FALSE FALSE TRUE TRUE TRUE TRUE TRUE TRUE FALSE TRUE TRUE TRUE TRUE PTR_COLOR_P RIMARY 0 CapRecCartridgeSensor CapRecBold CapRecBitmap CapRecBarCode CapRec2Color CapRecPresent CapSlpUnderline CapSlpRotate180 CapSlpRight90 CapSlpNearEndSensor CapSlpLeft90 CapSlpItalic CapSlpEmptySensor CapSlpDwideDhigh CapSlpDwide CapSlpDhigh CapSlpColor 0 TRUE TRUE FALSE FALSE TRUE TRUE TRUE FALSE TRUE FALSE FALSE TRUE TRUE TRUE TRUE PTR_COLOR_P RIMARY CapSlpCartridgeSensor 9 0 APPLICATION DEVELOPMENT GUIDE POSPrinter(TM-U950 and TM-U375) .00 Dec.Version 2.

1.88” RecBarCodeRotationList “” SlpBarCodeRotationList FontTypefaceList “” “” *TM-U375 List Property CharacterSetList JrnLineCharsList RecLineCharsList SlpLineCharsList Settings “437.850.860.437.850.865.858.40” RecBarCodeRotationList “” SlpBarCodeRotationList FontTypefaceList “” “” 10 APPLICATION DEVELOPMENT GUIDE POSPrinter(TM-U950 and TM-U375) .858.40” “33. 2000 CapSlpBothSidesPrint CapSlpBold CapSlpBitmap CapSlpBarCode CapSlp2Color CapSlpFullslip CapSlpPresent FALSE TRUE TRUE FALSE FALSE TRUE TRUE FALSE TRUE TRUE FALSE FALSE TRUE TRUE 3.998” “” “33.00 Dec.Version 2.865. List Properties The List Properties are explained in the following.998” “30.860.40” “30.863. *TM-U950 List Property CharacterSetList JrnLineCharsList RecLineCharsList SlpLineCharsList Settings “255.40” “66.2.863.

Width and Height Properties The width and height properties are described below.Version 2. *When the XxxLineSpacing is 0. 117(TM-U375) *4 0 Available only for the TM-U950. On the other models. 2000 3.1. there is no setting.3.1. It can be changed by the settings of the XxxLineSpacing or the XxxLineHeight. TM-U950 I/F S P DeviceName TM-U950 TM-U950P DeviceDescription EPSON TM-U950 POS Printer EPSON TM-U950P POS Printer 11 APPLICATION DEVELOPMENT GUIDE POSPrinter(TM-U950 and TM-U375) . It can be changed by the settings of the RecLineSpacing or the character height. - 3.00 Dec. 16(TM-U375) *3 0(TM-U950).4. It can be changed by the settings of the font width. *When the RecLineSpacing is 0. Property Settings Default Value Maximum Minimum value[dot] value[dot] RecLineSpacing JrnLineSpacing *1 12 12 12 9 9 9 127 127 127 0 0 0 SlpLineSpacing SlpLineHeight[dot] RecLineHeight[dot] JrnLineHeight[dot] *1 SlpLineWidth[dot] RecLineWidth[dot] JrnLineWidth[dot] *1 RecSidewaysMaxLines RecSidewaysMaxChars*1 RecLinesToPaperCut SlpSidewaysMaxLines SlpSidewaysMaxChars SlpMaxLines X : No settings *1 *2 *3 *4 400(TM-U950). 16(TM-U375) *3 0(TM-U950). 200(TM-U375) 180 0(TM-U950). the XxxSidewaysMaxLines is to be --1. Common Property Strings The Device information properties are described below. 117(TM-U375) *4 10(TM-U950). the RecLinesToPaperCut is to be --1. 9(TM-U375) *2 0(TM-U950). 200(TM-U375) 180(TM-U950).

and the detailed information. 12 APPLICATION DEVELOPMENT GUIDE POSPrinter(TM-U950 and TM-U375) . there is no setting.Version 2. On the other models.) MarkFeed ChangePrintSide ValidateData TransactionPrint SetLogo SetBitmap RotatePrint EndRemoval BeginRemoval EndInsertion BeginInsertion O : Supported X : Unsupported *1 X X O O O O O O O O O Available only for the TM-U950.2. 2000 TM-U375 I/F S P DeviceName TM-U375 TM-U375P DeviceDescription EPSON TM-U375 POS Printer EPSON TM-U375P POS Printer I/F shows the connected interface. 80-100:One point remains uncut. Method PrintNormal PrintTwoNormal*1 PrintImmediate PrintBarCode PrintBitmap CutPaper *1 Supported/Unsupported O O O X O O (1-79:Tree point remains uncut.00 Dec. Methods The following explanation is about supported/unsupported Methods. There are four types of the connecting interfaces as follows: S: Serial P: Parallel 3.

50cm 1/6 X O 1 X 1 X X O O O O 1-2 1-2 O O O TM-U375 X X X X O O O 0~9999 0~ approx. Escape Sequences The following figure is about supported/unsupported Escape Sequences.Version 2.00 Dec. 50cm X X O 1 X 1 X X O O O O 1-2 1-2 O O O 13 APPLICATION DEVELOPMENT GUIDE POSPrinter(TM-U950 and TM-U375) .3. 2000 3. Escape Sequence #P #fP #sP sL #B tL bL #lF #uF Base Pitch [inch] #rF Maximum[inch] #fT bC #uC iC #rC rvC #sC 1C 2C 3C 4C #hC #vC cA rA N O : Supported X : Unsupported Numbers: Settable range TM-U950 0~100 0~100 X X O O O 0-9999 0-approx.

5. 3. Print Position The TM-U950 and TM-U375 support the function for setting printing position. When supports the printing position settings. it is possible to specify the horizontal printing position of the text. 3. or the right side of the paper. 3.Version 2. or the barcode to the left. center. Function Left margin Print position O : Supported X : Unsupported TM-U950 X O TM-U375 O O When supports the left margin setting function. Electronic Logo Function (NVRAM) The TM-U950 and TM-U375 do not support the Electronic Logo Function.8. 3.7. bitmap. Printable bitmap types and the specified size The TM-U950 and TM-U375 support the following bitmap commands. The allowance ranges for bitmaps are as follows. For the detailed information about the each command. refer to the Section 2 in the Application Development guide (POS Printer EPSON TM Series). Synchronous Processing The TM-U950 and TM-U375 do not use Process ID to determine output completion.4.6.00 Dec. it is possible to specify the horizontal printing position of the bitmap or barcode by dots unit. TM-U950 Bitmap command type Download bitmap X (dot) 1-2040 One-line bitmap 1-384 No setting range Allowance range y (dot) xy <= 98304 14 APPLICATION DEVELOPMENT GUIDE POSPrinter(TM-U950 and TM-U375) . Power Conditions Reporting The TM-U950 and TM-U375 do not support Power Conditions Reporting. 2000 3.

Maintenance Counter The TM-U950 and TM-U375 do not support the Maintenance Counter. Allowance range y (dot) 1-2040 No setting range xy <= 32768 15 APPLICATION DEVELOPMENT GUIDE POSPrinter(TM-U950 and TM-U375) .00 Dec. Automatic Recovery Function The TM-U950 and TM-U375 do not have a function for automatic recovery when the power is turned on again after an interruption of power.9.Version 2.10. 2000 TM-U375 Bitmap command type Download bitmap X (dot) 1-2040 One-line bitmap 3. 3.

2000 Section 4.Version 2. Use the PTR_TWO_RECEIPT_JOURNAL when the print data is output both on the Receipt and the Journal. The operation with the PTR_S_JOURNAL_RECEIPT is same as the PTR_TWO_RECEIPT_JOURNAL. The PTR_S_JOURNAL_RECEIPT is still available to be compatible with the old version. in order to keep a high compatibility in the PrintTwoNormal method. Warnings This section describes precautions in use of TM-U950 and TM-U375. 16 APPLICATION DEVELOPMENT GUIDE POSPrinter(TM-U950 and TM-U375) .00 Dec.