==========================================================================
Explanation of setting environmental variables (OpeCom**.txt)
         for 
BMP File Converter and
          &
Test printing program for TMBMP.EXE
 					Copyright(C) 1999 SEIKO EPSON CORP.
==========================================================================

1. About this text file (OpeCom**.txt)
   After installation (file copy and expand), please set the software 
   operating environment in accordance with the instructions in this file.

   Table of Contents
	1. About this text file
	2. Editing the environmental variables file (posdil.ini)
		1) Description of the file
		2) Editing
		3) Precautions


2. Editing the environmental variables file (posdil.ini)
   1) Description of the file
      This file specifies the communication parameters used for normal 
      execution of tmprint.exe, and selection of the printer information 
      file needed for tmbmp.exe and tmprint.exe execution.


   <Selection of the printer information file needed for tmbmp.exe 
                                              and tmprint.exe execution>
     Select the information file for your printer.
     The printer information file (tm****.inf) contains information on
     supported bit image commands, memory capacity for storing bit
     images, and other printer parameters. Unless the correct printer
     information file is selected,error messages and other functions
     may not work normally.

     At the present, the following four printer information files are 
     supported:
	TM-H5000II => tmh5k2.inf
 	TM-T88II   => tmt882.inf
 	TM-U950    => tmu950.inf
 	TM-J8000   => tmj8k.inf
        TM-H6000   => tmh6k.inf
        TM-U675    => tmu675.inf

  <Setting communication parameters for normal tmprint.exe execution>
    This sets the communication parameters for COM1, COM2 or COM3
    and selects which to use. Only these three ports are supported. 


   2) Editing
        There are two way to edit POSDIL.INI. "Manual setting" or "Automatically setting".
   
    (1)Manual setting(Edit the file from text editor) 

       Open posdil.ini in a test editor to set the following.
	
   Serial port settings
  ========================================================================
   [COM1] and [COM2] sections: Serial parameters can be set independently 
   for COM1 and COM2.

      BPS=        Baud Rate
                  0:150bps  1:300bps  2:600bps  3:1200bps  
                  4:2400bps 5:4800bps 6:9600bps 7:19200bps
      BITLENGTH=  Bit Length
                  0:7Bit   1:8Bit
      PARITY=     Parity
                  0:NONE   1:EVEN   2:ODD   3:MARK   4:SPACE
      STOP=       Stop Bit
                  1:1Bit   2:2Bit
      X=          XON/XOFF Control
                  0:DISABLE    1:ENABLE
      HANDSHAKE=  Hardware Handshaking
                  0:DISABLE 1:RTS/CTS 2:DTR/DSR
      INPUTBUF=   Receive Buffer Size
                  32 TO 1024(don't change; use the preset value)
      OUTBUF=     Transmit Buffer Size
                  32768(Don't change)

  ------------------------------------------------------------------------
     Ex. To set for 19200bps, 8bit length, Non Parity, 1 Stop bit,
         DTR/DSR Control

        BPS = 7
	BITLENGTH = 1
	PARITY = 0
	STOP = 1
	X = 0
	HANDSHAKE = 2
   	INPITBUF = "Default value"
 	OUTBUF = "Default value"

  ========================================================================
   Printer settings : Select the printer information file for your printer, 
                      and the port to be used for test printing.
  ========================================================================
	[PRINTER] section
		PORT=Printer Port Number (COM1 or COM2)
		     1: COM1    2: COM2
			Ex. 1)	To select COM1
		     		PORT = 1
			Ex. 2)	To select COM2
		      		PORT = 2

		FILE=INF file name
                (Select the tm****.inf file for your printer)
			Ex. 1)	If you use the TM-H5000II
  		    		FILE = tmh5k2.inf
			Ex. 2)  If you use the TM-T88II
				FILE = tmt882.inf
             		Ex. 3)  If you use the TM-U950
		    		FILE = tmu950.inf
             		Ex. 4)  If you use the TM-J8000
				FILE = tmj8k.inf
             		Ex. 5)  If you use the TM-H6000
				FILE = tmh6k.inf
             		Ex. 6)  If you use the TM-U675
				FILE = tmu675.inf
  ========================================================================             
  


    (2)Automatically setting (Edit the file when execut tmprint.exe)
       
	For Ex) tmprint tm.tmb <Return>

                Port= COM PortNo
			1:COM1
			2:COM2
			3:COM3
		>Port:_ <-- Set the port number you would like to use.


		BPS=  Baud Rate
			0:150bps  1:300bps  2:600bps  3:1200bps
			4:2400bps 5:4800bps 6:9600bps 7:19200bps
		>BPS:_ <-- Set the BPS number you would like to use.


		STOP= Stop Bit
			1:1Bit 2:2Bit
		>STOP:_ <-- Set the Stop Bit number you would like to use.


		X=     XON/XOFF Control
			0:DISABLE  1:ENABLE
		>X:_  Select "Disable" or "Enable" of XON/XOFF setting.
			(When you select t"Disable", 
                             [Hardware Handshaking] setting menu will be appeared)
		
		HANDSHAKE=Hardware Handshaking
			0:DISABLE  1:RTS/CTS  2:DTR/DSR
		>HANDSHAKE:_ <-- Set the number.

		INF File= Specifies the INF file
		>Inf File :________  <-- Set the printer information file (INF File).
		If you set the Inf file in command option, this menu will not be appeared.

	After setting, each setting will be setted as a default setting.
        And when you set the <-q> in command option, above menu will not be appeared.


  3) Precautions
	(1)When setting the COM port, please do not change the INPUTBUF or
           OUTPUTBUF settings.
	(2)The INF file contains data specific to TM printers, and should
           not be edited at all.
	(3)The program may check the integrity of the INF file, but it may
           not be able to verify all printer variations
           (specifically, H5000 and H5000II, and T88 and T88II).
           Selecting the wrong INF file may cause the software to operate
           incorrectly,so exercise care in setting the INF file name. 

// end
