hello,everyone
I have a problem when I use the HP printer, the printer will print the ticket twice, but when I use the bixilon printer, is normal, just print once. From the log of PrintService, I found the log below, I think it's related to the exception. But why this exception, how can I resoved it? I review many post and related question, but no solution, is really stucked me, hope you can help me, thanks!
-------------------------------------------------------------------------------------------------------------------------------
12/28/2018 13:56:30
Type : Microsoft.PointOfService.PosControlException, Microsoft.PointOfService, Version=1.12.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Message : Method TransactionPrint threw an exception. The device cannot perform the requested procedure.
Source : Microsoft.PointOfService
Help link :
ErrorCode : Failure
ErrorCodeExtended : 50
Data : System.Collections.ListDictionaryInternal
TargetSite : Void ThrowLegacyMethodException(System.String, Int32, System.Exception)
HResult : -2146233088
Stack Trace : at Microsoft.PointOfService.Legacy.LegacyProxy.ThrowLegacyMethodException(String methodName, Int32 ResultCode, Exception e)
at Microsoft.PointOfService.Legacy.LegacyProxy.InvokeMethod(String methodName, Object[]& parameters, Boolean[] byRef)
at Microsoft.PointOfService.Legacy.LegacyProxy.InvokeMethodAndCheckImpl(String methodName, Object[]& parameters, Boolean[] byRef)
at Microsoft.PointOfService.Legacy.LegacyPosPrinter.TransactionPrint(PrinterStation station, PrinterTransactionControl control)
at KDR.Gold.PosClient.Foundation.Device.OPOSPrinter.EndPrint()
at KDR.Gold.PosClient.Foundation.Device.PrinterCommandInterpreter.Execute()
at KDR.Gold.PrintManager.Library.PrintQueue.PrintQueueEx.PrintToPosPrinter(DataAccess da, PrintJob printJob, PrinterBase printer)
Additional Info:
MachineName : TEST-RP9-001
TimeStamp : 28.12.2018 12:56:30
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
AppDomainName : KDR.Gold.PrintManager.ServiceHost.exe
ThreadIdentity :
WindowsIdentity : NT-MYNDIGHET\SYSTEM
Category: General
Priority: 0
EventId: 100
Severity: Error
Title:Enterprise Library Exception Handling
Machine: TEST-RP9-001
App Domain: KDR.Gold.PrintManager.ServiceHost.exe
ProcessId: 2572
Process Name: c:\Program Files\KDR Gold\PrintService\KDR.Gold.PrintManager.ServiceHost.exe
Thread Name: processQueueThread
Win32 ThreadId:3452