I am aware of SmartReceipts and have examined the ReceiptRegistrationTestActivity and ReceiptRegistrationTestProvider classes which seem to use deprecated constructors to print a receipt on a button click using the print() function.
The javadocs have a few more clues that you can print views and text now using the same print() function.
It looks like half of the printing classes are deprecated and the other half are now geared towards using the builder constructor pattern. My question is, can we print programmatic text on the bottom of a standard order receipt?
It looks like there is a StaticOrderPrintJob
for printing items, a StaticReceiptPrintJob
for printing orders, a TextPrintJob
for printing a standalone receipt with custom text and a ViewPrintJob
for printing a standalone View. If this is all the options covered, then it looks like it is not possible but I'd like to here it from you guys :)