与 Epson FP-81 II(财务打印机)的通信错误
Error communication with Epson FP-81 II (fiscal printer)
当我下载驱动程序时,它们会分配后端代码。执行时,方法claim()
return error 106.
// Console.WriteLine("Initializing PosExplorer ");
posExplorer = new PosExplorer();
// Console.WriteLine("Taking FiscalPrinter device ");
DeviceInfo fp = posExplorer.GetDevice("FiscalPrinter", "FiscalPrinter1");
// Console.WriteLine("Creating instance of FiscalPrinter device ");
posCommonFP = (PosCommon)posExplorer.CreateInstance(fp);
posCommonFP.StatusUpdateEvent += new StatusUpdateEventHandler(co_OnStatusUpdateEvent);
// Console.WriteLine("Initializing FiscalPrinter ");
FiscalPrinter fiscalprinter = (FiscalPrinter) posCommonFP;
Console.WriteLine("Performing Open() method ");
fiscalprinter.Open();
Console.WriteLine("Performing Claim() method ");
fiscalprinter.Claim(1000); // Exception
消息错误:
ErrorCode: Illegal
ErrorCodeExtended: 10002
Message: Stub message. LockPort Error. IORet = 4
Question relationed
请检查Epson.opos.tm.setpos.exe/SetupPOS.exe等设置的端口名是否正确
ErrorCodeExtended: 10002 将在下方。
在 "C:\Program Files (x86)\OPOS\Epson2\Include\epson.h".
中有描述
const LONG EPSNERREXT = 10000; // EPSON specific error base
const LONG OPOS_EX_BADPORT = 2 + EPSNERREXT; // invalid Port
在"C:\Program Files\epson\OPOS for.NET\Documentation\OPOS Error Code.pdf"
中有描述
Error Code Extended Error Code
Illegal EX_BADPORT
"The port name is illegal."
消息:存根 message.LockPort Error.IORet = 4 可能是 EPSON 内部的。
是否需要将型号打印机 FP-81 II 的端口更改为 9100。
爱普生支持。
当我下载驱动程序时,它们会分配后端代码。执行时,方法claim()
return error 106.
// Console.WriteLine("Initializing PosExplorer ");
posExplorer = new PosExplorer();
// Console.WriteLine("Taking FiscalPrinter device ");
DeviceInfo fp = posExplorer.GetDevice("FiscalPrinter", "FiscalPrinter1");
// Console.WriteLine("Creating instance of FiscalPrinter device ");
posCommonFP = (PosCommon)posExplorer.CreateInstance(fp);
posCommonFP.StatusUpdateEvent += new StatusUpdateEventHandler(co_OnStatusUpdateEvent);
// Console.WriteLine("Initializing FiscalPrinter ");
FiscalPrinter fiscalprinter = (FiscalPrinter) posCommonFP;
Console.WriteLine("Performing Open() method ");
fiscalprinter.Open();
Console.WriteLine("Performing Claim() method ");
fiscalprinter.Claim(1000); // Exception
消息错误:
ErrorCode: Illegal
ErrorCodeExtended: 10002
Message: Stub message. LockPort Error. IORet = 4
Question relationed
请检查Epson.opos.tm.setpos.exe/SetupPOS.exe等设置的端口名是否正确
ErrorCodeExtended: 10002 将在下方。
在 "C:\Program Files (x86)\OPOS\Epson2\Include\epson.h".
const LONG EPSNERREXT = 10000; // EPSON specific error base
const LONG OPOS_EX_BADPORT = 2 + EPSNERREXT; // invalid Port
在"C:\Program Files\epson\OPOS for.NET\Documentation\OPOS Error Code.pdf"
中有描述Error Code Extended Error Code
Illegal EX_BADPORT
"The port name is illegal."
消息:存根 message.LockPort Error.IORet = 4 可能是 EPSON 内部的。
是否需要将型号打印机 FP-81 II 的端口更改为 9100。
爱普生支持。