web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

can't printing logo in MPOS receipt

(0) ShareShare
ReportReport
Posted on by 2,050

greeting everyon

i'm trying to print my receipt but i still geting error 

so i checked event error i found this error

{"ErrorResourceId":"Microsoft_Dynamics_Commerce_HardwareStation_Printer_Error","LocalizedMessage":"There was an error while printing. Check the device or see your system administrator.","ClassName":"Microsoft.Dynamics.Commerce.HardwareStation.PeripheralException","Message":"OPOS printer failed to execute 'PrintMemoryBitmap' with error '106', extended error code - 0","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at Microsoft.Dynamics.Commerce.HardwareStation.Peripherals.OposPrinter.CheckResultCode(String oposMethod, Int32 resultCode, Int32 resultCodeExtended)\r\n at Microsoft.Dynamics.Commerce.HardwareStation.Peripherals.OposPrinter.PrintImage(IOPOSPOSPrinter oposPrinter, Byte[] image)\r\n at Microsoft.Dynamics.Commerce.HardwareStation.Peripherals.OposPrinter.Print(String header, String lines, String footer)\r\n at Microsoft.Dynamics.Commerce.HardwareStation.Peripherals.OposPrinter.Execute(Request request)\r\n at Microsoft.Dynamics.Commerce.HardwareStation.ClientManagers.PrinterManager.ExecutePrintWithRetry(PrintRequestConfigKey printRequestConfigKey, IGrouping`2 groupedRequest, Boolean canRetryUponFailure)\r\n at Microsoft.Dynamics.Commerce.HardwareStation.ClientManagers.PrinterManager.ExecutePrintWithRetry(PrintRequestConfigKey printRequestConfigKey, IGrouping`2 groupedRequest, Boolean canRetryUponFailure)\r\n at Microsoft.Dynamics.Commerce.HardwareStation.ClientManagers.PrinterManager.<>c__DisplayClass1_1.b__1()\r\n at Microsoft.Dynamics.Commerce.HardwareStation.DeviceLockContainer.ExecuteOpos(Object asyncLock, String source, String threadId, Action action)\r\n at Microsoft.Dynamics.Commerce.HardwareStation.ClientManagers.PrinterManager.Print(Collection`1 printRequests)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClassc.b__6(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Tracing.ITraceWriterExtensions.d__18`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Tracing.ITraceWriterExtensions.d__18`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Tracing.Tracers.HttpControllerTracer.d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Tracing.ITraceWriterExtensions.d__18`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Tracing.ITraceWriterExtensions.d__18`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.HttpServer.d__0.MoveNext()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nCheckResultCode\nMicrosoft.Dynamics.Commerce.HardwareStation.Peripherals.Opos, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\nMicrosoft.Dynamics.Commerce.HardwareStation.Peripherals.OposPrinter\nVoid CheckResultCode(System.String, Int32, Int32)","HResult":-2146233088,"Source":"Microsoft.Dynamics.Commerce.HardwareStation.Peripherals.Opos","WatsonBuckets":null}

i notice this exactly error

OPOS printer failed to execute 'PrintMemoryBitmap' with error '106'

i already change image to monochrome BMP

how can i fixed?

I have the same question (0)
  • Verified answer
    Ramune Profile Picture
    Microsoft Employee on at

    Hi Mohammed,

    please check this community thread, it should help you to resolve the issue:

    community.dynamics.com/.../requirements-needed-print-logo-on-pos-receipt

    You may also search in community portal for "print logo POS", you will find many discussions for this topic.

  • mohammed.mqi Profile Picture
    2,050 on at

    solved by 

     used a .bmp file with dimensions 272x261 and bitmap depth 1 and size less than 10kb

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 153 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 102 Super User 2026 Season 1

#3
Laurens vd Tang Profile Picture

Laurens vd Tang 101 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans