Home

TM Virtual Port Driver Ver7 User Manual1.12 MB

image

Contents

1. 13 B STON OM woes ioi eco ecco ecce odori ll eo CFL REC ds 13 MB Uninstallation iconos E tien 15 Bi When APD or UPOS is Uninstalled ooooooccconcccnoncccccnncnoncnonononnonnnnnnnnnnnnnnnnnnnnnnnannnnnnns 16 IIa m 17 B Silent uninstallatiOn 2 12 1i erre cocti este riri eo ornari rre Cerda Cras 19 Bi Error codes during silent installation eeeeeseeeee ecce 20 DIIVOESOLDUD do aos 21 E Automatic Device Assignment USB ucccoooonocccccncocoooncnccnnnonanoncnnnnnonnnnnnnnnnnnonnrnnnnnnnannnnnnn 21 E Manual Device Assignment Ethernet cccecceceeeeeessseeeeeeeeesseeeeeeeeeessseeeeseeeseneeeeeens 24 E Manual Device Assignment USB ueeseesseseseeeeeeeeeee enne nennen nnne nennen 27 E Co Existence with APD UPOS Ethernet USB 29 Bi Port Sharing Y Connection USB eeeeessseeeeeeeeeeeee enne nennen nnne nennen nnne 31 E Change from Pass Through Connection to Y Connection USB 33 B Deleting d Virtual POM 1 etre eren nime ee rti ne icono aipa bns 34 Windows AP di dla 35 B Serial COMMUNICATION wiseveisscseveivcsiccvececeveiceceieecbendsscteeeuaid seessderesscceeevedeneasasteeestiedaeseieeessscens 35 Lis Of Supported Win32 APs enna materiale anata A Ie 35 Serial communication settings and flow contro
2. 17 18 Startup options DM COM Port No DM LPT Port No DM ESDPRT Port No Specify an automatically assigned port or ESDPRT port for customer display to automatically assign the device to Ports that can be specified e COM COMI to COM32 e LPT LPTI to LPT8 e ESDPRT A three digit integer Port number assigned to the customer display to be used Example 1 Specifying an automatically assigned port TM COM2 DM COM3 Example 2 Specifying an ESDRPT port TM COM2 TM ESDPRTOO1 DM COMS DM ESDPRTOO2 When specifying the DM option be sure to specify the TM option too You cannot specify the same number as the number for the TM port TMDM Set the TM printer port and the customer display port to the same port Example 1 Specifying an automatically assigned port TM COM2 DM COM2 TMDM Example 2 Specifying an ESDRPT port TM COM2 TM ESDPRTOO1 DM COM3 DM ESDPRTOO1 TMDM When a port is specified for TM DM FCOM Port No only that port is set as a united port S For installer error codes see Error codes during silent installation p 20 Chapter 2 Installation and Uninstallation Silent uninstallation Execute the command below to perform uninstallation without displaying the dialog boxes On Windows 7 because the UAC dialog box is displayed when using the silent installation N function it doesn t become complete silent installation TMVirt
3. close TMNet WinConfig and then procee For details on how to set the IP address see Help d to step User s Guide of TMNet WinConfig r Ga TMNet WinConfig Ver 33 Device View Tool Help p TMNet d WinConfig Refresh Interface f Ethernet Yi Wireless amp USB Configur atior EC a Press the F5 key to refresh Ethernet Ready 25 6 Set the port Enter the IP address value in the text box or select the printer from the list If you select the printer from the list the IP address value will be entered in the text box Click the OK button If the printer is not displayed in the list click the Search button comz x Assign port Signal line Setting Customer display port Setting uss Jl tinemet 9 This port is assigned this IP Address of printer 1 Search IP Address MAC Address Model Name Y Confirm that the specified device has been assigned to the port To assign multiple ports repeat steps 3 to 5 After the setting process is complete click the Exit button to close Port Assignment Tool n e EPSON TM Virtual Port Assignment Tool Ver File PortSetting View Help Port No Port Name Port ID Assign Port B A A COM1 Communications Port COM 1 Y SerialO gcom EPSON COM Emulation USB Port COM2 Sd naay MA gcom EPSON CO
4. COM10 COM11 COM12 COM13 COM14 COM15 COM16 COM17 m m Test Print Chapter 3 Driver Setup Port Sharing Y Connection USB Set this feature for an application that has used the TM printer and customer display through Y pass through connection based on one serial port At the time the virtual ports have been assigned the TM printer port and the customer display port have been set as separate ports Unite these ports into one port through port sharing For these settings the following conditions must be satisfied d The TM printer virtual port and the customer display virtual port have been assigned 1 The customer display has been connected to the TM printer s DM D connector If the TM printer and the customer display have been connected to your PC separately the ports cannot be united into one port To connect a customer display to a TM H6000 series printer it is necessary to set the dip switch Turn Q dip switch SW 2 2 ON to enable the customer display Unite the ports into one port according to the following procedure A Start up Port Assignment Tool and assign the TM printer virtual port and the customer display virtual port For details on how to assign the TM printer virtual port and customer display virtual port see Automatic Device Assignment USB p 21 Manual Device Assignment Ethernet p 24 and Co Existence with APD UPOS Ethernet USB p 29 2 Select the TM pri
5. PortSetting View Help Port No Port Name Port ID Assign Port Y COM1 Communications Port COM 1 Y Serialo com2 EPSON COM Emulation USB Port COM2 amp 00000062 Assigns device automatically COM3 COM4 COMS COM6 COM7 coms com9 comio com11 comi2 COM13 m Chapter 3 Driver Setup 6 Then set the customer display port Select an empty port and click the Assign Port button Y The port setting screen appears Click the USB button Select The first recognized device is automatically assigned to this port and then select Customer display port Click the OK button 8 Confirm that the specified device has been assigned to the port EPSON TM Virtual Port Assignment Tool Ver ee File PortSetting View Help Port No Port Name A Y comi Communications Port COM1 com2 EPSON COM Emulation USB Port COM2 Si cows EPSON COM Emulation USB Port COM3 Assigns device automatically Assigns device automatically 9 After assigning the device click the Exit button to close Port Assignment Tool 23 Manual Device Assignment Ethernet 24 When using a TM printer with an Ethernet interface use Port Assignment Tool to manually assign the device If the IP address of the TM printer is not set install TMNet WinConfig in advance A Connect a customer display to each TM printer and turn the power ON Connect all the TM printers you want to u
6. the Yes button The uninstallation of the Virtual Port Driver starts A The Uninstall Complete screen appears Click the Finish button to finish the uninstallation al EPSON TM Virtual Port Driver Ver amp X InstallShield Wizard E Uninstall Complete InstallShield Wizard has finished uninstalling EPSON TM Virtual Port Driver Ver1 22 Back Cancel 15 When APD or UPOS is Uninstalled When APD or UPOS co exists if such a driver is uninstalled you must change the settings for this driver Change the settings according to the following procedure A Uninstall APD or UPOS 2 Start up Port Assignment Tool 3 Delete the virtual port assigned to the ESDPRT port See Deleting a Virtual Port p 34 4 Assign the devices again See Automatic Device Assignment USB p 21 or Manual Device Assignment Ethernet p 24 16 Chapter 2 Installation and Uninstallation Silent installation Silent installation is the function to automatically install TM Virtual Port Driver and perform port configuration without displaying dialog boxes By embedding the installer of TM Virtual Port Driver into the installer of an application TM Virtual Port Driver can be installed together when installing that application On Windows 7 because the UAC dialog box is displayed when using the silent installation N function it doesn t become complete silent installation e For Windows Vista Windows S
7. 12 Chapter 2 Installation and Uninstallation Installation and Uninstallation This chapter describes how to install uninstall this driver Install it with the administrator authority Installation When TM Virtual Port Driver Ver 5 xx or TACOMUSB Serial Emulation Driver is already installed N this driver is installed after uninstalling such an driver For that reason if an APD UPOS driver coexists and more than one printer is used the virtual port settings will disappear After installing this driver set the ports again by referring to Co Existence with APD UPOS Ethernet USB p 29 If the previous driver is used without a co existing APD UPOS driver the port settings will be transferred A Double click TMVirtualPortDriverxxx exe to start the installer When the User Account Control screen appears click the Continue button 2 The EPSON TM Virtual Port Driver Ver x xx InstallShield Wizard screen appears Select the language used for installation and click the OK button EPSON TM Virtual Port Driver Veri InstallShield Wizard BES Select the language for the installation from the choices below Engish United States y 3 The Welcome to the InstallShield Wizard for EPSON TM Virtual Port Driver Ver x xx screen appears Click the Next button 4 The License Agreement screen appears Read the content and select the I accept the terms of the license
8. EPSON EXCEED YOUR VISION TM Virtual Port Driver Ver 7 User s Manual Overview Descriptions of the TM Virtual Port Driver s features and operating environment Installation and Uninstallation Descriptions of how to install uninstall the TM Virtual Port Driver Driver Setup Descriptions of how to set up the TM Virtual Port Driver Windows API Descriptions of usable Windows API Serial Signal Emulation Description of serial signal emulation Troubleshooting Descriptions of troubleshooting methods Restrictions Descriptions of restrictions 41 1405504 EN Rev G 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 misu
9. M Emulation USB Port COM3 II de Ra o m COM7 coma COMS COM10 COM11 COM12 COM13 COM14 COM15 COM16 COM17 2d Test Print Chapter 3 Driver Setup Manual Device Assignment USB To use multiple TM printers simultaneously manually assign devices by using Port Assignment Tool Associate the USB serial number of the device with the COM LPT port A Connect a customer display to each TM printer and turn the power ON Connect all the TM printers you want to use to your PC with USB cables and power them ON Close all the applications running on your PC 2 Select Start All Programs EPSON TM Virtual Port Driver Port Assignment Tool When the User Account Control screen appears click the Continue button 3 The EPSON TM Virtual Port Driver Port Assignment Tool screen appears Select an empty port and click the Assign Port button EPSON TM Virtual Port Assignment Tool Veri File PortSetting View Help Port No Port Name Port ID Assign Port E A Yocom Communications Port COM1 Y Serialo COM2 m COM3 COM4 COMS 27 28 4 The port setting screen appears Click the USB button Select A device is associating this port to its USB serial number and then select a device Click the OK button If the connected device is not displayed click the Cancel button Return to the EPSON TM Virtual Port Driver Port Assignme
10. PPED ol buffer for overlapped structure Time out setting COMMTIMEOUTS t t ReadlntervalTimeout MAXDWORD t ReadTotalTimeoutMultiplier MAXDWORD t ReadTotalTimeoutConstant 500 t WriteTotalTimeoutMultiplier 0 t WriteTotalTimeoutConstant 2000 SetCommTimeouts hPort amp t When FILE FLAG OVERLAPPED is not specified for CreateFile IWriteFile hPort cmd cmasize amp nSize NULL ReadFile hPort cmd cmdsize amp nSize NULL call the above WNhen FILE FLAG OVERLAPPED is specified for CreateFile initialize the overlap ol Offset 20 ol OffsetHigh 0 ol hEvent CreateEvent NULL TRUE FALSE NULL if WriteFile hPort cmd cmdsize amp nSize amp ol FALSE When sending data if ReadFile hPort cmd cmasize amp nSize amp ol FALSE gt When receiving data while true if GetLastErrorQ ERROR_IO_PENDING break if GetOverlappedResult hPort amp ol amp nSize TRUE TRUE break 39 40 Chapter 5 Serial Signal Emulation serial Signal Emulation This chapter describes Serial Signal Emulation Serial cables have a variety of connection types such as cross connection interlink connection and device manufacturer s propriety connection In some special device or application control is performed by changing the meaning of the serial signal To support such a special device or application a function is available that ca
11. agreement Then click the Next button 5 The Ready to Install the Program screen appears Click the Install button 13 14 6 When the following screen appears click the Restart Later button E Microsoft Windows You must restart your computer to apply these changes Before restarting save any open files and close all programs Resa Now If you restart your PC at this point the installation process may not be completely performed Be sure to select the Restart Later button The InstallShield Wizard Complete screen appears Click the Finish button If the restart of your PC is requested select Yes want to restart my computer now and click the Finish button EPSON TM Virtual Port Driver Ver Js InstallShield Wizard InstallShield Wizard Complete The InstallShield Wizard has successfully installed EPSON TM Virtual Port Driver Ver Before you can use the program you must restart your computer No will restart my computer later Remove any disks from their drives and then click Finish to complete setup Back Cancel If the restart of your PC is requested on the InstallShield Wizard Complete screen be sure to select Yes want to restart my computer now 8 The installation process is complete and Port Assignment Tool starts up When Port Assignment Tool starts up if Y is displayed in th
12. al line is controlled by the application replacement with a USB interface TM printer and customer display can be performed without altering that application Serial signal line emu lation function If TMNet WinConfig is installed on the computer the IP address of the TM printer can be set from the set ting screen of Virtual Port Driver UPOS a generic term for OPOS OPOS NET and JavaPOS Chapter 1 Overview Operating Environment The operating environment of this driver is as follows PA PAL EA OS USB environment USB host controller Intel chipset embedded USB host controller Windows 7 SP1 32 bit 64 bit Windows Vista SP2 32 bit 64 bit Windows XP SP3 32 bit Windows Server 2008 R2 SP1 Windows Server 2008 SP2 32 bit 64 bit Windows Server 2003 R2 SP2 32 bit Embedded for Point of Service 32 bit Embedded POSReady 32 bit NEC s EHCI USB host controller Operation is not guaranteed for the NEC s USB 1 1 OHCI host controller USB driver stack Use the Microsoft driver stack standard ariver stack on the OS Also use the latest Microsoft USB driver stack as much as possible Windows XP e Operation with a third party USB driver stack is not guaranteed e For USB 2 0 High Speed connection use Version 5 1 2600 1243 or later of the file usbehci sys for the Microsoft USB driver stack USB connection Maximum USB cable length 5m Maximum number of ports in a USB hub 5 Use USB2 0 c
13. ck whether or not there is an error in the network settings printed on the status sheet Check whether or not the IP address of the TM printer is set to a valid value for your operating environment The initial value is 192 168 192 168 but this address cannot be used due to the product specifications Be sure to change the address to a value that matches your operating environment Check whether or not the hub and cables are OK Check the hub and confirm whether or not the link lamp of the port to which the device is connected is lit flashing If the link lamp is off perform the following checks Connect the device to another port and then check whether or not the link lamp is lit flashing Connect the device to another hub and then check whether or not the link lamp is lit flashing Replace the LAN cable and then check whether or not the link lamp is lit flashing Chapter 7 Restrictions Restrictions This chapter describes restrictions Restrictions on the TM Virtual Port Driver AQ During printing do not power OFF ON the printer or do not remove or connect any cable In addition do not forcibly terminate an application during printing Doing so could make the system unstable U After powering OFF the printer wait until the driver is unloaded for approx 5 seconds and then power ON the printer If the power is turned ON immediately communication with the printer may fail In such a case power OFF
14. e item of Port Number select View Refresh from the menu Note that when your PC is restarted Port Assignment Tool does not start up automatically Then the driver installation process is complete Set virtual ports by referring to Chapter 3 Driver Setup Chapter 2 Installation and Uninstallation Uninstallation A Quit all applications running on the computer 2 Select Start Control Panel Uninstall a program EPSON TM Virtual Port Driver Ver x xx Click Uninstall For information of the differences in screen selections based on the OS versions mp Differences Depending on the OS p 12 When the User Account Control screen appears click the Continue button QUO a gt Control Panel Programs Programs and Features SS 4 Search p File Edit View Tools Help Tasks E Uninstall or change a program View installed updates To uninstall a program select it from the list and then click Uninstall Change or Repair Organize i3 Views E Uninstan Name Publisher O Turn Windows features on or 2 Pg le Es Fe el e MR Rd E off EPSON TM Virtual Port Driver Verid is Seiko Epson Corporation TA an oe b d Eee bee ei MW MY ged bee M a Ml ee ee dd corre dl res Ui rar ee ETE L La bee bh Re Oe ee ee Norma bas iat rin BS ee DP E a ep ge Y LII n 3 The Virtual Port Driver uninstallation confirmation screen appears Click
15. e to a port When conflict occurs with a COM Re assign the device to an empty port or either change the LPT port used by another driver COM LPT settings of or uninstall another driver When using a physical port number When the physical port is COM port as a virtual port 1 Start the Device Manager For Windows Vista Windows 7 Windows Server 2008 when the UAC dialog box appears press the Continue button From the Ports COM amp LPT select the physical port that you want to use as a virtual port and open its Properties Select the Port Settings tab on the Properties screen and click the Advanced button 4 The Advanced Settings screen appears Change the number in COM Port Number to another number 5 Using the Port Assignment Tool change the physical port to a virtual port N wm When the physical port is LPT port 1 Start the Device Manager For Windows Vista Windows 7 Windows Server 2008 when the UAC dialog box appears press the Continue button 2 From the Ports COM amp LPT select the physical port that you want to use as a virtual port and open its Properties 3 Select the Port Settings tab on the Properties screen and change the number in LPT Port Number to another number 4 Using the Port Assignment Tool change the physical port to a virtual port 47 48 When the Ethernet printer cannot be found or used Print a status sheet and then che
16. ernet Pass through connection You can replace the printer with a USB connected TM printer by changing the connection pattern from pass through connection to Y connection There is no need to alter the application Customer display modular cable USB ES 10 Chapter 1 Overview Y connection Connect the customer display to the DM D connector of TM H6000 series printer or UB UOTIII UB UO2III with a modular cable For the TM H6000 series printer turn dip switch SW 2 2 ON to enable the customer display Customer display USB modular cable Customer display LA modular cable ES mum E 11 Differences Depending on the OS The content of the descriptions of some operations in this book may be different depending on the OS See the following Screens shown Screens in Windows Vista are used for the descriptions in this manual Windows 7 Start Control Panel Uninstall a program Windows Vista Start Control Panel Uninstall a program Uninstall Windows XP Start Control Panel Add or Remove Programs Windows 2000 Start Settings Control Panel Add or Remove Programs
17. erver 2008 execute silent installation by specifying the s1 option only When the message for PC restart appears restart your PC and set virtual ports by referring to Chapter 3 Driver Setup When Port Assignment Tool starts up if Q is displayed in the item of Port Number select View Refresh from the menu Confirm that the TM printer is not connected to your PC 2 Execute the installer of TM Virtual Port Driver with any of the following startup options TMVirtualPortDriverXXXa exe s1 TM COM3 The startup options related to installation are as follows Startup options Description Executes silent installation S1 If TM Virtual Port Driver of a version that is newer than this installer is installed it does not execute the installation but ends with an error IM COM Port No Specify an automatically assigned port or ESDPRT port for TM printer to TM LPT Port No automatically assign the device to Ports that can be specified e COM COMI to COM32 e LPT LPT to LPT8 e ESDPRT Specify a three digit integer Port number assigned to the TM printer to be used Example 1 Specifying an automatically assigned port IM COM2 Example 2 Specifying an ESDRPT port IM COM TM ESDPRTOOT If the automatic device assignment function is not used do not specify the TM option In such cases after installing the TM Virtual Port Driver set the port by using Port Assignment Tool IM ESDPRT Port No
18. haring Y Connection USB p 31 3 Set the serial signal line Check the connection and connection pattern of the cable used for serial connection and then set the serial signal line by using Port Assignment Tool See Driver Setup p 41 33 Deleting a Virtual Port To delete one virtual port select the port you want to delete and click the Delete Port button ve EPSON TM Virtual Port Assignment Tool Ver File PortSetting View Help Port No Port Name Fco Communications Port COM1 EPSON COM Emulation USB Port COM2 SR J 00000074 Assigns device automatically EPSON COM Emulation USB Port COM3 To delete all virtual ports select Port Setting Delete All COM LPT Port RE EPSON TM Virtual Port Assignment Tool Ver uc x File View Help Assign COM LPT Port Delete Port zs t COM2 00000074 Assigns device automatically Delete All COM LPT Port 34 Chapter 4 Windows API Windows API This chapter describes Windows API that can be used Serial Communication With some exceptions Win32 API used for serial communication can be used as is For how to use Win32 API see the MSDN information provided by Microsoft Corporation List of supported Win32 API Win32 API CreateFile For the port name to be specified for CreateFileQ specify SAAL COMI to PAYA A AA COM32 WriteFile When an ESDPRT port is
19. ine OFF fixation Cable Connection RS 232C cross cable Normal port EE Condition for turning the signal line ON Condition for turning the signal line OFF o X4o0P 50Inm Chapter 5 Serial Signal Emulation NONAUMN Frame Frame Shield DCD 1 Printer is Online Printer is Offline DSR 6 Printer is Online Printer is Offline CTS 8 RTS 7 output signal line is ON RTS 7 output signal line is OFF RI 9 OFF fixation TM DM unified port Connection when in Y type connection mode USB EE Condition for turning the signal line ON Condition for turning the signal line OFF DCD 1 Y type connection mode is Online Y type connection mode is Offline DSR 6 Printer is Online Printer is Offline CTS 8 RTS 7 output signal line is ON RTS 7 output signal line is OFF RI 9 OFF fixation TM DM unified port Pass through connection USB NIE Condition for turning the signal line ON Condition for turning the signal line OFF DCD 1 Pass through mode is Online Pass through mode is Offline DSR 6 Printer is Online Printer is Offline CTS 8 RTS 7 output signal line is ON RTS 7 output signal line is OFF RI 9 OFF fixation 43 RS 232C interlink reverse cable Normal port 1 1 e 3 3 4 4 Ee 6 6 7 7 84 7 C 8 F pene Shield EET Condition for turning the signal li
20. l Port Driver Port Assignment Tool When the User Account Control screen appears click the Continue button 4 The EPSON TM Virtual Port Driver Port Assignment Tool screen appears Select an empty port and click the Assign Port button f va EPSON TM Virtual Port Assignment Tool Ver AE cs File PortSetting View Help Port No Port Name Port ID Assign Port A coi Communications Port COM1 Y Serial COM2 COM3 m The port setting screen appears Select an ESDPRT port to assign to a virtual port Click the OK button COM3 Assign port Signal line Setting Customer display port Setting 9 This port is assigned ESDPRT Port ESDPRT Port Type Model Name GBESDPRTOO1 USB TM T88V EhesoprTOO2 DA JA Tr 29 6 Confirm that the specified device has been assigned to the port 7 To assign multiple ESDPRT ports to virtual ports repeat steps 3 to 5 After the setting process is complete click the Exit button to close Port Assignment Tool r va EPSON TM Virtual Port Assignment Tool Ver File PortSetting View Help Port No Port Name Port ID Assign Port E A Y COM1 Communications Port COM 1 I Serialo com2 EPSON COM Emulation USB Port COM2 Do ESDPRTOO1 gcom EPSON COM Emulation USB Port COM3 amp x ESDPRT002 com4 COMS COM6 COM7 coms COMS
21. l oe eene 36 Reception of scanned images ecce etie en cire Ee E Fen f eee ree raa nda 36 B Parallel Commu niCalion iret tanga cia iaa 37 List of supported Win32 API ssssssssseene eene nennen nnn eene nnn nnn 37 E Sample Codes for Sending Receiving Data via Serial Parallel interface 39 Serial Signal Ern uldliOTn cc arias 41 B Driver Setup oon emer aia 41 i Cable Cornecllon eret O E 43 RS 232C cross Calbl8 5 qe eter cla et cube dec e pete eb pace Peur rd 43 RS 232C interlink reverse cable oo EE enne nnn 44 CUSTOM SOT css etit ba ed etae retient Ao 45 Pinrassignment arthe PC side cora e bte pra ap ei Bde t Te 45 MFOUDISSNOONNG Nr 47 ROSITICTOTIS 3 2 1 Lecoepckvu a coin 49 Chapter 1 Overview Overview This chapter describes the features and operating environment of the TM Virtual Port Driver Ver 7 hereafter called the driver Features This driver is an interface change driver for accessing an EPSON USB Ethernet interface TM printer and a customer display connected to it as virtual serial parallel ports A customer display connected to a USB interface TM printer can also be accessed as a virtual serial parallel Applications port Serial Parallel Serial Parallel TM VirtualPort Driver Ethernet Customer display A wireless LAN interface TM printer cannot connect Also a customer display connected to an 3 Etherne
22. lation failed service deletion failed etc 306 Uninstallation failed 500 Restart required 1001 Other internal errors Chapter 3 Driver Setup Driver Setup This chapter describes how to set up this driver e Set the IP address for the TM printer in advance Install TMNet WinConfig and set the IP address when setting the driver The same IP address value is set for TM printers at the time of shipment so do not connect multiple TM printers at the Set the IP address of the Ethernet interface printer as described below same time 1 When the TM printer has an Ethernet interface See Manual Device Assignment Ethernet p 24 1 When APD or UPOS is not installed and one TM printer and one customer display exist See Automatic Device Assignment USB p 21 1 When APD or UPOS is not installed and multiple TM printers exist See Manual Device Assignment Ethernet p 24 When APD UPOS is installed See Co Existence with APD UPOS Ethernet USB p 29 Automatic Device Assignment USB To use only one TM printer or to use one TM printer and one customer display make port settings by using the automatic device assignment function To use multiple TM printers simultaneously see Manual Device Assignment Ethernet p 24 A Turn the power of the TM printer OFF and close all the applications running on your PC 2 Select Start All Programs EPSON TM Virtual Port Driver Port A
23. ld use this product only after giving consideration to including fail safes 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 this Manual Aim of the Manual This manual presents information that is necessary information for using the TM Virtual Port Driver Manual Content The manual is made up of the following sections Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Overview Installation and Uninstallation Driver Setup Windows API Serial Signal Emulation Troubleshooting Restrictions Contents B ForSafely A O 3 Key TO SIMBIOSIS 3 Bi linelnm 8 3 M About this Manul E nda rinda 4 Aim of the Mandala ERR 4 Manta Edd EE 4 DC ad 5 OVEIVIOW iis E EE S E cae E E E E 7 E Foc o e ia aii 7 E Operating Environment siea a a anepi aana aaeain aa San Aena crean nr cnn errar aiaiai n 9 Connection Environment ssssssssssskissktisttanttan aktan kant rr rr 10 E Differences Depending on the OS ooooccccnnccccnnncccconnncnnnancnnnonnnnnnnnnnnnnnnnnrnnnn nn cnn nana 12 Installation and Uninstallation
24. n change the meanings of signal lines except for the data transmission and reception signal line for inputs to the PC DCD DSR CTS RD You can set the conditions for port change by using Port Assignment Tool Driver Setup Set up the driver by using Port Assignment Tool Start according to the following procedure A Start up Port Assignment Tool 2 The EPSON TM Virtual Port Driver Port Assignment Tool screen appears Set the TM printer port Select an empty port and click the Assign Port button ma EPSON TM Virtual Port Assignment Tool Ver File Help Port Setting View Port Mo Port Name Port ID com Communications Port COM1 E COM EPSON COM Emulation USB Port COMZ BS COM3 EPSON COM Emulation USB Port COM3 COM4 COM5 COM6 COM coma 41 42 The port setting screen appears Select the Signal line Setting tab and set the port by referring to Cable Connection p 43 After the port setting click the OK button After the port setting click the OK button Check the connection and connection pattern of the cable used for serial communication and then set the port COM2 Assign port Signal line Setting Customer display port Setting RS 232Ccable RS 232C interiink reverse cable X Condition that an input signal line becomes ON DCD signal line f DSR signal line Printer is Online CTS signal line Printer is Online RI signal l
25. ne ON rame Condition for turning the signal line OFF DCD 1 OFF fixation DSR 6 Printer is Online Printer is Offline CTS 8 Printer is Online Printer is Offline RI 9 OFF fixation TM DM unified port Connection when in Y type connection mode USB NEN Condition for turning the signal line ON Condition for turning the signal line OFF DCD 1 OFF fixation DSR 6 Printer is Online Printer is Offline CTS 8 Y type connection mode is Online Y type connection mode is Offline RI 9 OFF fixation TM DM unified port Pass through connection USB Fs Condition for turning the signal line ON Condition for turning the signal line OFF DCD 1 OFF fixation DSR 6 Printer is Online Printer is Offline CTS 8 Pass through mode is Online Pass through mode is Offline RI 9 OFF fixation 44 Chapter 5 Serial Signal Emulation Custom setting For each signal line make it possible to set one of the conditions below by using Port Assign Tool 3 and 4 become enabled only when a TM DM unified port is specified Condition for turning the signal line ON Condition for turning the signal line OFF 1 Printer is Power ON Printer is Power OFF 2 Printer is Online Printer is Offline 3 Y type connection mode is Online Y type connection mode is Offline 4 Pass through mode is Online Pass through mode is Offline 5 There are reception data There are n
26. nication API SetCommTimeouts GetCommrTrimeouts If Communication API is called with an abnormal parameter normally an error is returned as a NH function s return value but because of the OS restrictions a normal code will be returned Note that an abnormal parameter will not be set in such cases 37 38 IOCTL IOCTL IOCTL PAR QUERY DEVICE ID Obtains a Device ID DWORD nSize char OutBuff 256 DeviceloControl hPort IOCTL PAR QUERY DEVICE ID NULL O Out Buff 256 amp nSize NULL IOCTL PAR QUERY INFORMATION When APD UPOS is not installed depending on the TM printer the signal line change PARALLEL PAPER EMPTY may not be acquired define PARALLEL PAPER EMPTY 0x4 define PARALLEL POWER OFF 0x10 define PARALLEL BUSY 0x40 DWORD nSize DWORD OutBuff DeviceloControl hPort IOCTL PAR QUERY INFORMATION NULL O OutBuff 4 amp nSize NULL IOCTL PAR SET INFORMATION Using INIT hardware can be reset DWORD nSize PAR SET INFORMATION InBuff InBuff Init PARALLEL INIT DeviceloControl hPort IOCTL PAR SET INFORMATION amp InBuff sizeof PAR SET INFORMATION NULL O amp nSize NULL Chapter 4 Windows API Sample Codes for Sending Receiving Data via Serial Parallel interface HANDLE hPort handles the port char cmd 128 data to be sent or received DWORD cmasize size of data to be sent or received DWORD nSize number of data sent or received OVERLA
27. nt Tool screen and click View Refresh comz ES Assign port signal ine Setting Customer display port Setting 9 A device is assigned by associating this port to ts USB serial number Port ID USB Serial Number The first recognized device is automatically assigned to this port 9 TM rinter port 5 Confirm that the specified device has been assigned to the port To assign multiple ports repeat steps 3 to 5 After the setting process is complete click the Exit button to close Port Assignment Tool r wa EPSON TM Virtual Port Assignment Tool Ver A le File PortSetting View Help Port No Port Name Port ID Assign Port amp Yocom Communications Port COM1 y Serialo com2 EPSON COM Emulation USB Port COM2 amp oo00006f DA ares gcom EPSON COM Emulation USB Port COM3 amp 00000071 d da ba n m coma COMS COM10 COM11 COM12 COM13 COM14 COM15 COM16 COM17 SH Test Print Assic Chapter 3 Driver Setup Co Existence with APD UPOS Ethernet USB When this driver and APD UPOS are allowed to co exist assign ports according to the following procedure A Install APD UPOS and set the printer status as ready to print 2 Turn the power of the TM printer OFF and close all the applications running on your PC 3 Select Start All Programs EPSON TM Virtua
28. nter virtual port and click the Assign Port button na EPSON TM Virtual Port Assignment Tool Vers Ele PortSetting View Help Port Mo Port Mame Port IC Communications Port COM 1 EPSON COM Emulation USB Port COM2 EPSON COM Emulation USB Port COM3 ogi 31 32 The port setting screen appears Select the Customer display port Setting tab Select united with one port and click the OK button comz Assign port Signal line Setting Customer display port Setting TM port and DM port are separate ports united with one port You use an ESC n command for the change of devices Confirm that the specified devices have been assigned to the port Click the Exit button to close Port Assignment Tool Chapter 3 Driver Setup Change from Pass Through Connection to Y Connection USB To change the connection patterns for the TM printer from serial to USB in a pass through connection environment take the following procedure A Re connect the devices Connect the devices as follows m Serial ces Serial jeu Customer display modular cable E 2 Assign the virtual port driver You should assign the TM printer virtual port and the customer display virtual port to one port Set the ports by referring to Port S
29. o reception data 6 RTS 7 output signal line is ON RTS 7 output signal line is OFF 7 DTR 4 output signal line is ON DTR 4 output signal line is OFF 8 OFF fixation 9 ON fixation Pin assignment at the PC side Signal Input Definition A DCD 1 Input MS_RLSD Date Carrier Detect Carrier detection 2 RxD Input Recieved Data Received data 3 TxD Output Transmitted Data Transmitted data 4 DTR Output Data Terminal Ready Data terminal is ready 5 SG Signal Ground Signal ground or common return wire 6 DSR Input MS_DSR Data Set Ready Dataset is ready 7 RTS Output Request To Send Transmission request 8 CTS Input MS_CTS Clear To Send Transmission permission 9 RI Input MS RING Ring Indicator Indication of being called CASE FG Frame Ground Protective ground frame ground 45 46 Chapter 6 Troubleshooting Troubleshooting This chapter describes troubleshooting methods Trouble Action When the port information of TM If EPSON COM Emulation USB Port COMx EPSON LPT Emulation Virtual Port Driver is corrupt USB Port LPTx is deleted from Device Manager or if NONE is specified in the port settings by using the COM Assignment Tool of the past TMCOMUSB the registry information of TM Virtual Port Driver may lose integrity Delete a port with error symbol or restore its initial state by using Port Assignment Tool and perform the re assignment of the devic
30. ompliant USB cables and USB hubs Ethernet environment 10 100 Base T A wireless LAN is not supported Operating application An application that has controlled the EPSON serial parallel interface TM printer using ESC POS commands It is possible to use together an application controlling a TM printer using APD UPOS if any of the drivers that can co exist shown as below is installed Drivers that can co exist APD APD Ver 4 09 or later UPOS TM printer and customer display of TM T88V TM T20 TM H6000IV TM OPOS OPOS NET H2000 or later JavaPOS TM printers other than the above cannot be used even with the latest UPOS TM printer that can be set EPSON TM printer with USB Ethernet interface TM C3400 TM 610 or TM S1000 cannot be used When USB interface When APD UPOS is installed a printer class TM printer can be used with this driver Otherwise change the USB class to vendor class For details on how to change the USB class see the equipment instruction manual Customer display that can be set EPSON customer display Can be set to the same port as the port for the TM printer when connected to the TM printer s DM D connector Y connection Driver to be upgraded to this TMCOMUSB Serial Emulation Driver driver TM Virtual Port Driver Ver 5 6 Connection Environment Stand alone connection USB Eth
31. se 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 and ESC POS are registered trademarks of Seiko Epson Corporation in the U S and other countries Microsoft Windows Windows Vista and Windows Server are either registered trademarks or trade marks of Microsoft Corporation in the United States and other countries Copyright 2004 2011 Seiko Epson Corporation All rights reserved 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 Provides information that must be observed to avoid damage to your equipment or a NM malfunction 2 Provides important information and useful tips 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 shou
32. se to your PC with USB cables and power them ON Close all the applications running on your PC 2 Select Start All Programs EPSON TM Virtual Port Driver Port Assignment Tool When the User Account Control screen appears click the Continue button 3 The EPSON TM Virtual Port Driver Port Assignment Tool screen appears Select an empty port and click the Assign Port button Xi EPSON TM Virtual Port Assignment Tool Ver l le 103 File PortSetting View Help Port No Port Name Port ID Assign Port gt A E COMI Communications Port COM 1 Y Serialo COM3 COM4 COMS COM6 COM7 coms coms COM10 COM11 COM12 COM13 COM14 COM15 COM16 COM17 m Test Print Assign Port Delete Port Chapter 3 Driver Setup ai 4 The port setting screen appears Click the Ethernet button d When setting the IP address of the printer Click Change IP Address of printer Proceed to step 5 d When the IP address of the printer is already set Proceed to step 6 COM2 Assign port Signal line Setting Customer display port Setting use L etemet E sl 9 This port is assigned this IP Address of printer L san IP Address MAC Address om oo od Model Name gums mum l TMNet WinConfig starts Set the IP address After the setting process is complete
33. ssignment Tool When the User Account Control screen appears click the Continue button 21 3 The EPSON TM Virtual Port Driver Port Assignment Tool screen appears Set the TM printer port Select an empty port and click the Assign Port button n e EPSON TM Virtual Port Assignment Tool Ver AE File PortSetting View Help Port No Port Name Port ID Assign Port A A COM1 Communications Port COM 1 2 Serialo COM2 COM3 COM4 COMS COM6 COM7 coms coms COM10 COM11 COM12 COM13 COM14 COM15 COM16 COM17 um TestPrint Assign Port Delete Port n 4 The port setting screen appears Click the USB button Select The first recognized device is automatically assigned to this port and then select TM printer port Click the OK button com2 X Assign port Signal line Setting Customer display port Setting A A device is assigned by associating this port to ts USB serial number Port ID USB Serial Number 9 The first recognized device is automatically assigned to this port 9 TM prin ter port Customer display port las Cancel Confirm that the specified device has been assigned to the port If you do not intend to set the customer display port proceed to step 9 r xd EPSON TM Virtual Port Assignment Tool Ver 5 File
34. t interface printer cannot connect The following features are available in this driver LJ The serial parallel interface TM printer can be replaced with a USB Ethernet interface TM printer with out altering the existing application QJ Even in an environment of Y connection pass through connection replacement with a USB interface printer can be performed without altering the existing application When pass through connection is used the connection pattern will be changed to Y connection See Change from Pass Through Con nection to Y Connection USB on page 33 Q If the TM printer or the customer display is replaced with a new or compatible one due to equipment fail ure there is no need to set up the driver and the application again An ESDPRT port is assigned by the automatic device assignment function By using this driver a system performing direct control using ESC POS commands and a system using Advanced Printer Driver hereafter called APD or UPOS can be installed together and used in one PC Even if this driver is installed later there is no need to change the settings for APD UPOS By using this driver an application performing direct control using ESC POS commands and an applica tion using APD UPOS can share and use one TM printer and customer display However if the port of one of the applications is not closed printing from the other application cannot be accepted Even when the serial sign
35. tems supported by TM Virtual Port Driver because these modules have already been installed there 14 To perform downgrading uninstall the installed TM Virtual Port Driver and then install an older version 49 50
36. the printer again wait for approx 5 seconds and power ON the printer 1 While devices are running due to restrictions on the OS side it may become impossible to turn the computer into standby or hibernation mode normally Terminate the print application or power OFF the devices and then turn the PC into standby hibernation mode d Automatic device assignment and manual device assignment cannot be used together U A wireless LAN interface TM printer cannot be used 1 When a TM printer is shared by two applications printing from one application cannot be accepted if the port of the other application is not closed Restrictions on COM LPT assignment m There may be a conflict between the ports assigned to devices or the driver of another manufacturer and the ports used by TM Virtual Port Driver In the event of COM LPT port conflict re assign COM LPT ports to be used by TM Virtual Port Driver through COM Port Assignment Tool 1 Do not delete EPSON COM Emulation USB Port COMx EPSON LPT Emulation USB Port LPTx from Device Manager If it has been deleted you need to launch Port Assignment Tool and delete the assignment of the COM LPT ports concerned Restrictions on the installer uninstaller m For operation of the installer of TM Virtual Port Driver it is necessary that Internet Explorer Version 4 0 or later and Windows Installer Version 2 0 or later should be installed The installer can run without problems on operation sys
37. ualPortDriverXXXa exe ul The startup options related to uninstallation are as follows Startup options Description ul Executes silent uninstallation 3 Executes complete silent uninstallation u Q Deletes the entire related driver registry completely For installer error codes see Error codes during silent installation p 20 19 Error codes during silent installation 20 0 Normal termination 102 The installer was activated on an unsupported OS 104 A user without administrator privileges launched the installer 105 The installer was activated while the TM Virtual Port Driver was using the COM LPT port 106 The same COM port was specified for TM COM xx and DM COM xx The same LPT port was specified for TM LPT xx and DM LPT xx 107 A port was specified fo DM COM xx when nothing was specified for TM COM xx A port was specified for DM LPT xx when nothing was specified for TM LPT xx 108 A new version of TM Virtual Port Driver is already installed 109 Port Assignment Tool is running 110 User Manual or ReadMe is open 200 Installation failed 207 Conflict siesta as between COM LPT ports and the automatic assignment of the device to the TM printer failed 208 Conflict occurred between COM LPT ports and the automatic assignment of the device to the Customer display failed 209 The port setting process failed 300 Uninstal
38. ucture However if a value beyond the defined range is specified a function returns an error 1 When hard flow is set for the flow control Specify the members of the DCB structure as shown below and call SetCommsStatusQ fOutxCtsFlow TRUE fOutxDsrFlow TRUE 1 When none is set for the flow control Specify the members of the DCB structure as shown below and call SetCommStatusQ When it is necessary to send a real command at the time of BUSY such as when sending an error cancellation command to the device temporarily use these settings fOutxCtsFlow FALSE fOutxDsrFlow FALSE If data is sent when none is set for the flow control and the printer power is off Transmission Q completed is returned even if no actual data is sent 1 The flow control XON XOFF is unsupported Reception of scanned images To receive scanned image data the reception performance can be improved by increasing the number of reception requests specified by ReadFileQ at a time For example the reception performance is improved by requesting 64K 4 bytes in ReadFile so that packets to be sent from the printer at a time can be received completely In addition we recommend specifying the values of the COMMTIMEOUTS structure which are specified in the SetCommTimeoutsO function as follows ReadintervalTimeout MAXDWORD ReadTotalTimeoutMultiplier MAXDWORD ReadTotalTimeoutConstant 500 WriteTotalTimeoutConstant 0 WriteTotalTimeo
39. used timeout may occur maximally 5 seconds off the specified time ReadFile CloseHandle DeviceloControl Cancello For asynchronous I O When the printer is on line the process will not be cancelled even by executing Cancello WriteFileEx ReadFileEx For asynchronous I O SleepEx FilelOCompletionRoutine For asynchronous I O Also when a transfer error occurs the completion code dwErrorCode becomes 0 Be sure to check the number of transferred bytes AwNumberOfBytesTransferea GetOverlappedResult For asynchronous I O WaitForSingleObject For asynchronous I O Communication API Communication API BuildCommDCB GetCommModemstatus SetCommMask BuildCommDCBAndTimeouts GetCommProperties SetCommsState ClearCommBreak GetCommstate SetCommTimeouts ClearCommerror GetCommrTimeouts SetDefaultCommConfig CommConfigDialog GetDefaultCommConfig SetupComm EscapeCommFunction PurgeComm TransmitCommcChar GetCommConfig SetCommBreak WaitCommEvent GetCommMask SetCommConfig If Communication API is called with an abnormal parameter normally an error is returned as a NH function s return value but because of the OS restrictions a normal code will be returned Note that an abnormal parameter will not be set in such cases 35 36 Serial communication settings and flow control USB communication is not affected by any value set for the baud rate parity byte size or stop bit of the DCB str
40. utConstant 2000 Chapter 4 Windows API Parallel Communication With some exceptions Win32 API used for parallel communication can be used as is For how to use Win32 API see the MSDN information provided by Microsoft Corporation For how to use IOCTL see the document supplied with the WDK When using it link the header files devioctl h and ntddpar h to the project List of supported Win32 API Win32 API CreateFile The port name for CreateFileQ should include anyone between LPT and LPT8 as follows LPT1 through LPT8 WriteFile When an ESDPRT port is used timeout may occur maximally 5 seconds off the specified time ReadFile CloseHandle Cancello For asynchronous I O When the printer is on line the process will not be cancelled even by executing Cancello WriteFileEx ReadFileEx For asynchronous I O FilelOCompletionRoutine For asynchronous I O Also when a transfer error occurs the completion code dwErrorCode becomes 0 Be sure to check the number of transferred bytes dwNumberOfBytesTransfered GetOverlappedhesult When transmission is completed normally TRUE is returned However if a timeout or error occurs a function does not return TRUE Be careful WaitForSingleObject For asynchronous I O DeviceloControl Supports the following IOCTL codes IOCTL PAR QUERY DEVICE ID IOCTL PAR QUERY INFORMATION IOCTL PAR SET INFORMATION Communication API Commu

Download Pdf Manuals

image

Related Search

Related Contents

Dossier Artistique [ PDF ] - Théâtre du RICTUS  Genius ViVid-1200E    Samsung SMX-F50BP Kasutusjuhend  RNNOTATOR USER`S MANUAL  Le chaperon  dispositivo perfeccionado para conectar una pata a un sobre de mesa.  Interphone Vidéo couleur  GS 182_GB  HP Designjet H35000/H45000 Printer series User Manual  

Copyright © All rights reserved.
Failed to retrieve file