title: EPSON TM-T88IV JavaPos - Disconnected to service
body: <p>I'm trying to print something to an EPSON TM-T88IV with JavaPos. 
  The EPSON is attached with an USB to Serial converter.</p>
  
  <p>This is the code i try:</p>
  
  <pre><code>ptr.open("POSPrinter");
  ptr.claim(1000);
  ptr.setDeviceEnabled(true);
  ptr.printNormal(1, "asd");
  </code></pre>
  
  <p>While this is the output in Eclipse:</p>
  
  <pre><code>[JposServiceLoader]Custom manager is defined: className= jpos.loader.simple.SimpleServiceManager
  [XercesRegPopulator]load(): isPopulatorFileDefined=false
  [XercesRegPopulator]load: xmlFileName=jpos.xml
  [JposServiceLoader]manager.getEntryRegistry().load() OK
  [JposServiceLoader]findService: POSPrinter
  [SimpleServiceConnection]Disconnected to service OK
  </code></pre>
  
  <p>It immediately says: "Disconnected to service".
  I included all ESPON drivers, dll's and libaries correctly, because else there will be another error message.</p>
  
  <p>My <code>jpos.xml</code> is generated by EPSON software. I tried both the USB and Serial connection. In my windows managers i configured the USB to Serial converter to COM10, so i tried the COM10 port.</p>
  
  <p>Any information about this subject is appreciated.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I tried another piece of code and it gives the same error, but a little more information.</p>
  
  <p>The code:</p>
  
  <pre><code> // instantiate a new jpos.POSPrinter object
   POSPrinter printer = new POSPrinter();
  
   try
   {
      //open the printer by logical device name
       printer.open("POSPrinter2");         
  
       //claim exclsive usage of the printer object
       printer.claim(1);
  
       // enable the device for input and output
       printer.setDeviceEnabled(true);
  
       // set map mode to metric - all dimensions specified in 1/100mm units
       printer.setMapMode(POSPrinterConst.PTR_MM_METRIC);  // unit = 1/100 mm - i.e. 1 cm = 10 mm = 10 * 100 units
  
       ...............
  </code></pre>
  
  <p>The log:</p>
  
  <pre><code>[JposServiceLoader]Custom manager is defined: className= jpos.loader.simple.SimpleServiceManager
  [XercesRegPopulator]load(): isPopulatorFileDefined=false
  [XercesRegPopulator]load: xmlFileName=jpos.xml
  [JposServiceLoader]manager.getEntryRegistry().load() OK
  [JposServiceLoader]findService: POSPrinter2
  [SimpleServiceConnection]Disconnected to service OK
  jpos.JposException: Could not create an instance.
      at jp.co.epson.upos.core.v1_13_0001.pntr.CommonPrinterService.createCommInstance(Unknown Source)
      at jp.co.epson.upos.core.v1_13_0001.pntr.CommonPrinterService.open(Unknown Source)
      at jpos.BaseJposControl.open(BaseJposControl.java:530)
      at Main.POSPrinterTest.main(POSPrinterTest.java:47)
  </code></pre>