question

mybmr avatar image
mybmr asked David Marginian Deactivated edited

Order Receipt failure issue

Hello ,

We are developing functionality in our application in which we are printing order receipt in connected order printers according to label assigned to specific printer. Order items will be sent to particular printer based on the label assigned to order item and the order printers.


We currently have Mini's Order printer and Kitchen Star Printer attached as Order Printer.

Whenever we trying to print receipt from our application , order receipt is not getting printed on any of order printers. Instead of printing it shows error like "Error Printing".


Please let us know the solution to overcome the above issue.

Thanks & Regards,

OrdersClover MiniPrint
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

mybmr avatar image
mybmr answered mybmr edited

yes all the order which needs to be printed in order printer are keep adding in printer queue and we keep getting that printer error every time when we try to print order receipt from our application.

But what we need to do with this order printer queue? our goal is to print receipts at the same instance when we try to print receipt from our application.


we have used StaticOrderPrintJob to print order receipts and we needs to print order line items to appropriate order printer based on the label of items and labels of printer. Also when we sent PrintJob to printer we are getting toast message of "order sent to printer" but then we got that error.


We have used this way to print items in order printer

PrintJob job = new StaticOrderPrintJob.Builder().itemIds(itemIds).build();


Also we have some error logs of printer . Please check below screenshot

oie-x6hd2p0bwzwt.png


Can you let us know that what will be the issue?


10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

mybmr avatar image
mybmr answered David Marginian Deactivated edited

is there any update on above issue?

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community