question

mkonnekt avatar image
mkonnekt asked jmtorres commented

Print order to a merchant's printer programmatically

Hi,

Is there any android / REST API to print an order to a merchant's printer programmatically?

I am currently using the android intent to land on the page where the order is displayed and print button is shown. However a merchant has to click on print to print the order to kitchen.

I want to programmatically automatically fire a print to the printer so that there is no manual intervention from a merchant. Please advise.

Print
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

Jacob Abrams avatar image
Jacob Abrams answered jmtorres commented

You cannot use the REST API to print, but you can use the clover-android-sdk.

Take a look at these examples in the clover-android-sdk:

https://github.com/clover/clover-andr...

https://github.com/clover/clover-andr...

They show you how to find printers and print to them.

2 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.

mkonnekt avatar image mkonnekt commented ·

Thank you. I'll use this.

0 Likes 0 ·
jmtorres avatar image jmtorres commented ·

Some of these classes are marked as deprecated. Is this still the correct approach?

0 Likes 0 ·

Welcome to the
Clover Developer Community