epson adk .net pos printer simulator help..
-
8 iunie 2012 04:43
i use all these things,
Epson adk for .net
Microsoft pos
opos common control object
i use microsoft simulators & it work's very well. but when i use epson pos printer simulator, it shows an error like this,
Error msg: It is not initialized.
health check : Interactive HCheck: Error - It is not initialized.
================== Exception =====================
Microsoft.PointOfService.PosControlException
ErrorCode : Failure (111)
ErrorCodeExtended : 0
Message : It is not initialized.
Target : System.String CheckHealth(Microsoft.PointOfService.HealthCheckLevel)
## StackTrace ##
at jp.co.epson.upos.pntr.CommonPrinterService.CheckHealth(HealthCheckLevel level)
at CheckHealthTest.MainForm.ExecuteCheckHealth(DeviceInfo objInfo)
at CheckHealthTest.MainForm.btnCheckHealth_Click(Object sender, EventArgs e)how can i correct this..?
these are the my codes,
explorer = new PosExplorer(this); DeviceInfo device2 = explorer.GetDevice(DeviceType.PosPrinter, "PosPrinter22"); printer = (PosPrinter)explorer.CreateInstance(device2); printer.Open(); printer.Claim(1000); printer.DeviceEnabled = true; printer.PrintNormal(PrinterStation.Receipt, "123xxstreet,xxxcity,xxxxstate\n" +
i need to work with epson simulator,so i need solution for this..
prasad
- Tip modificat Terry WarwickMicrosoft Employee, Owner 27 iunie 2012 14:40