We use the following code to print the order receipt after binding to the
IPoyntReceiptPrintingService
try {
receiptPrintingService.printOrderReceipt("SAMPLE_UID", "ORDER_ID", new IPoyntReceiptPrintingServiceListener() {
@Override
public void printQueued() throws RemoteException {
}
@Override
public void printFailed(PrinterStatus printerStatus) throws RemoteException {
Log.d(TAG,printerStatus.getMessage());
}
@Override
public IBinder asBinder() {
return null;
}
});
} catch (RemoteException e) {
e.printStackTrace();
}
This works as expected, but is there any sdk method we could use to depict the print item option from the register->orders->select order -> options print item.
Thanks in advance.