I'm trying to add customer details to a printed receipt.
In my app I have the following code:
StaticBillPrintJob.Builder()
.order(order)
.flag(StaticBillPrintJob.FLAG_CUSTOMER)
.build()
.print(context, account, printer)
But this does not result in the customer information being added to the printed receipt.
I can get the data to print when I manually enable customer data to be printed in the Clover settings app, but I want to be able to override that setting and print customer information regardless of that setting.
Are there any docs for the print job flags?