question

swati avatar image
swati asked Raymond Lee Deactivated answered

How to print the online order receipt for only one printer(Kitchen specifically)?

How to print the online order receipt for only one printer(Kitchen specifically) even if the merchant has multiple devices
OrdersPrint
1 comment
10 |2000

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

swati avatar image swati commented ·

@racheladmin @Chanel @zgreathouse @Raymond Lee @Mark Mullan @Jeffrey Blattman

Please advice.

0 Likes 0 ·
Raymond Lee avatar image
Raymond Lee Deactivated answered
As mentioned by @Bryanne Vega, you can use the PrinterConnector.getPrinters(Category.ORDER) to get a list of order receipt printers that the merchant has.

Then iterate through the list of printers, checking if it's the right one using either the name, ip, or mac address.

Then pass the printer along with your created print job to the PrintJobsConnector.print(printer, printJob) method to print it for that specific printer.
10 |2000

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

Bryanne Vega avatar image
Bryanne Vega answered
You're best bet is using the SDK, create your own app that "obtains" the information to be printed & create a print job by obtaining the printers & selecting the correct "Label"/Printer.
It shouldn't be a hassle, but you're welcome for more input on the subject


https://github.com/clover/clover-android-sdk/blob/master/clover-android-sdk-examples/src/main/java/com/clover/android/sdk/examples/PrintTestActivity.java
10 |2000

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