Hello Eddy, it might help for me to start from scratch to walk
you through how to use the Epson TM-6000II printer with
Pos for .NET.
Download the OPOS Driver from Epson
-----------------------------------------
The first thing you will need to do is to download
the OPOS driver from Epson. I would normally give you a link
to their site, but I don't have a user account there so I can't.
The files that I am using are named OPOSADK250E.exe
and the update OPOSADK250ESP6.exe. I installed
both of those. In the epson application I selected
AddNewDevice, and selected the TM-6000II.
I gave it a logical name.
Install Pos for .NET 1.1.1 SDK
--------------------------------
http://www.microsoft.com/downloads/details.aspx?FamilyID=B04C4D8B-88AD-4F6D-AC0D-14490241CDB4&displaylang=en
I selected a complete install as I wanted the sample
code.
Run the test app to verify the printer works
-------------------------------------------
In \Program Files\Microsoft Point Of Service\SDK\Samples\Sample Application
you will find the sample application. Run that application, select the
printer
and open/claim/enable the device. You should then be able to send test
prints to the printer.
If none of this works
---------------------
Verify that you installed the OPOS driver and not the .net SO.
This is only temporary until the problem with the SO is resolved.
If your file name is OPOSADKNet18.exe, then you are installing
the wrong one. (I suspect this is your issue as you say it
complains about the version of Pos for .NET installed. The
OPOS drivers don't rely on Pos for .NET so they shouldn't
be complaining about them.
Verify that the com port settings are correct for windows
and your printer.
Bill Moxley
Software Design Engineer/Test Lead
Microsoft Windows Embedded for Point of Service Product Team
--
This posting is provided "AS IS" with no warranties, and confers no rights
Post by EddyYes, I use version 1.1.1
I think I'll open a call at Microsoft
Post by Sean Liming (eMVP)I don't have access to the Epson site. Do you have the POS for .NET version
1.1.1?
http://www.microsoft.com/downloads/details.aspx?FamilyID=b04c4d8b-88ad-4f6d-ac0d-14490241cdb4&DisplayLang=en
1.1.1 version has the fixes for VS 2005.
Otherwise MS might have a better internal answer to error that you are
seeing. POS for .NET 1.0 is compatible with UPOS 1.8. It should work.
Regards,
Sean Liming
www.sjjmicro.com / www.seanliming.com
Author: Windows Embedded for Point of Service / POS for .NET Step-by-Step
http://www.sjjmicro.com/WEPOS.html
Post by EddyHi Sean,
I uninstalled everything, downloaded MS POS for .NET 1.0, MS POS for .NET
1.1 and OPOS ADK for .NET 1.8 from www.epsonexport.com and did the folowing
1/ Installed POS 1.1 -> error when installing OPOS ADK saying "POS 1.0 needed"
2/ Uninstalled POS 1.1, installed POS 1.0, installed OPOS ADK -> works in
VS2003 but not in VS2005 (which is normal behaviour because POS 1.1 is needed
for VS2005)
3/ Installed POS 1.1 on top of the previous installations -> same
results
VS2003 ok but VS2005 not ok
4/ In case the OPOS ADK (from step 2) had been overwritten by POS 1.1 (from
step 3), I did a repair on OPOS ADK -> same results : VS2003 ok but VS2005
not ok
The error is always "The information is not described in XML" and is thrown
when opening the device ( m_printer.Open() )
I am able to see the printer using CclTespApp.exe (and even open the device
and print to it), but according to the source code CclTestApp.exe has been
written in VS2003...
Regards,
Eddy Wyns
Post by Sean Liming (eMVP)Eddy,
The latest driver being an OPOS driver correct?
If the OPOS driver is loaded , hopfully the registry already has the correct
references. You should be able to see the printer using the CclTestApp.exe
from the POS for .NET SDK.
Regards,
Sean Liming
www.sjjmicro.com / www.seanliming.com
Author: Windows Embedded for Point of Service / POS for .NET Step-by-Step
http://www.sjjmicro.com/WEPOS.html
Post by Eddie LascuHello Bill,
I have the same problem as Eddie, but I don't understand what you
mean
with
"So you can load their OPOS driver and use with with POS for .NET
just
like
you would the service object version of their driver"
I've installed Epson's latest driver (1.8) and what next ?
Should I add some references to the epson-dll's (f.ex.
Epson.opos.tm.services) ?
Regards,
Eddy
Post by Bill [MS]Hello Eddie, it turns out that there is a known issue with the
service object for that printer. The issue has been reported
to Epson. Hopefully it will be resolved in a future release of
their driver. In the meantime the good news is that this issue
does not exist with their OPOS version of their driver. So
you can load their OPOS driver and use with with POS for
..NET just like you would the service object version of their
driver. Sorry for the misinformation I gave you, I was not
aware of this issue before today.
-Bill
Post by Bill [MS]Interesting. Let me spend some time on this, and get back to you.
--
Bill Moxley
Software Design Engineer/Test Lead
Microsoft Windows Embedded for Point of Service Product Team
--
This posting is provided "AS IS" with no warranties, and confers
no
rights
Post by Eddie LascuHi Bill,
I just rechecked my sample test project and I get the ever dreadful
PosException with the message "The information is not described in
XML".
I
have downloaded and installed the latest driver from Epson,
version
3.02
released June the 28th of 2006 but still get the same exception.
Do you have a VS2005 working sample code that would send a message
to
the
printer? I am just curious to see it.
Regards,
Eddie
Post by Bill [MS]Hello Eddie, the following webpage has a list of receipt
printers
that
have gone through our POS for .NET verification program so using
them with the .NET 2.0 framework via POS for .NET will be a breeze.
http://www.windowsembeddeddevices.com/wepos/search.aspx?Type=Device&CategoryID=69&Keywords=
I think they are your best starting point. Here's the link to the
latest
version of POS .NET which supports .NET 2.0.
http://www.microsoft.com/downloads/details.aspx?FamilyID=6025B728-EC06-48F9-BC80-C38B2A27A242&displaylang=en
--
Bill Moxley
Software Design Engineer/Test Lead
Microsoft Windows Embedded for Point of Service Product Team
--
This posting is provided "AS IS" with no warranties, and confers
no
rights