473,498 Members | 1,704 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VB.NET application printing to Epson serial printer

I am not sure if I am in the right group.

My problem is this:

My VB.NET application prints to the Epson printer using Epson OPOS
drivers. I have downloaded the Epson ADK for .NET from the EpsonExpert
site (www.epsonexpert.com) I have also downloaded the Epson Advanced
Printer Driver from the Epson site.
I have installed Microsot POS for .NET on a windows 2000 machine. The
installation completes but it throws an error "Error 5008. Registration
of WMI Provider failed. Return code 3". So I went in and manually
registered the msposwmi.dll.
Then I installed Epson ADK for .NET and set up my Epson TM-T88III
Receipt printer using the SetupPOS utility. When I try checking the
health of the printer using the CheckHealth utility, it gives me this
error:
************************************************** ************************************************** *******
================== Exception =====================
Microsoft.PointOfService.PosControlException
ErrorCode : Illegal (106)
ErrorCodeExtended : 0
Message : Failed the native method processing.
Target : Void Claim(Int32)
## StackTrace ##
at jp.co.epson.upos.pntr.CommonPrinterService.Claim(I nt32 iTimeout)
at CheckHealthTest.MainForm.ExecuteCheckHealth(Device Info objInfo)
at CheckHealthTest.MainForm.btnCheckHealth_Click(Obje ct sender,
EventArgs e)
---------InnerException-----------
jp.co.epson.pos.comm.CommControlException
Message : Failed : Win32API.SetCommState
Target : Void PortOpen()
## StackTrace ##
at jp.co.epson.pos.comm.SerialIO.PortOpen()
at jp.co.epson.pos.comm.PortControl.OpenPort()
at jp.co.epson.upos.pntr.CommonPrinterService.OpenPor t()
************************************************** ************************************************** ******
The Epson printer is a serial printer connected to COM1.

The VB.NET application prints to the USB and Ethernet printers of Epson
successfully using the OPOS drivers when set up in the same way as
mentioned above. This problem is coming only when I try printing to the
serial printer and setup the serial Epson printer.
As per the Epson site, the error code 106 is thrown when there is a
conflict in ports. But no other device is using COM1. However, I have
another doubt here-When I setup the printer using the Advanced Printer
Driver, it creates a new port ESDPRT01 which is assigned as a COM1 port
and is used by Epson to print.
Any ideas or maybe tell me which group should this be posted to?

Jan 10 '06 #1
0 7899

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3953
by: PW | last post by:
I have to setup a point-of-sale system for a friend. He has a PC, barcode scanner, receipt printer and cashdrawer. The receipt printer connects to the serial port. The cashdrawer connects to...
32
2597
by: Hank | last post by:
Hello, Five years of development has us using a very large database (a couple hundred screens) in one location, which is very managable. Now our company will be expanding to several distant...
5
1901
by: jho | last post by:
I have an Epson LQ-570+ and a preprinted triplacate form. How would I go about Inputing data and getting it to print on the form in the desired place. I noticed that making a template in word...
2
3007
by: Blue Bell Trading - Customer Services | last post by:
Hi, Has anybody here tried to hook up a serial printer (receipt printer like those used in shops) to access? can ti be done though windows using reports in access to generate a receipt then...
2
4290
by: The Bear | last post by:
Is there a simple way to send a string to the printer, and have the printer the string? T.B.
2
1934
by: F. Potier | last post by:
I want to print with a small Epson ticket printer (Epson TM-T88II) As the printing is very slow with the windows fonts I'm looking for some code to make use the hardware fonts built in the...
0
1606
by: nikul156 | last post by:
Using VB 2008 Express with an Epson tm-t88iii wtih serial cable? How can i print from Vb to the printer?
0
1451
by: praveenhathwar | last post by:
Im trying to print to a 40 column printer through my VB Application. But the printer instead of printing it will keep showing Spooling status. Im Using Epson TM-U220PD Printer, VB 6.0 and Sql Server...
0
2678
by: harvindersingh | last post by:
Hello guys, I am developing a Point of Sale application and recently bought the Epson TM-T88IV Thermal Receipt Printer. However, there are some aspects of the printing I am not understanding. I would...
0
7125
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7002
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7165
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6887
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7379
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4590
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3093
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
291
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.