Hi,
I want to print the order bill irrespective of the payment initiated or not. I tried using the below code,
PrintJob pj = new StaticBillPrintJob.Builder().order(order).build(); pj.print(context, CloverAccount.getAccount(context));
But this doesn't print the bill. I get a toast message as "Bill is sent to Printer" but after that I get an error notification from printer app.
I also tried using StaticReceiptPrintJob and StaticOrderPrintJob instead of StaticBillPrintJob but it didn't work either.
Please advice. Thank you.