question

Liju avatar image
Liju asked ·

Printing online orders using CloverSDK to Kitchen printer

How do I Print online orders using CloverSDK to Kitchen printer. I am currently using the following SDK code but it is still not printing my orders to kitchen printer.

new ReceiptPrintJob.Builder().orderId(orderId).build().print(this, mCloverAccount);

Can anyone help and suggest the correct way in case the above is not correct ?

Orders
10 |2000 characters needed characters left characters exceeded

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

1 Answer

Jeffrey Blattman avatar image
Jeffrey Blattman answered ·

We do not expose a REST interface for printing. You will need to deploy a Clover Android application to the device, and use the Clover Android SDK print classes to print an order. See com.clover.sdk.v1.printer.* for details.

3 comments Share
10 |2000 characters needed characters left characters exceeded

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

Thanks for the suggestion, Jeff . Actually I am using SDK to print. I have edited my post as I felt it was misleading. Please see my edited post for the class I am using. Could you please reply based on the same if I am doing it correct?

0 Likes 0 · ·

Firstly, use a flavor of the Static*PrintJob.

0 Likes 0 · ·

Thanks Jeff. Will try it out.

0 Likes 0 · ·

Welcome to the
Clover Developer Community