question

liju avatar image
liju asked liju commented

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

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 liju commented

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
10 |2000

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

liju avatar image liju commented ·

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 ·
Jeffrey Blattman avatar image Jeffrey Blattman ♦♦ commented ·

Firstly, use a flavor of the Static*PrintJob.

0 Likes 0 ·
liju avatar image liju commented ·

Thanks Jeff. Will try it out.

0 Likes 0 ·

Welcome to the
Clover Developer Community