I've created my own custom print job
ImagePrintJob2 imagePrint = new ImagePrintJob2.Builder(getReactApplicationContext()).bitmap(newBitmap).build(); imagePrint.print(getReactApplicationContext(), TenderActivity.getAccount());
and newBitmap shows my custom receipt correctly in android studio. Once these lines run, the emulator give the toast notification, "View sent to Printer". However, when I run
adb pull /sdcard/receipts/ ~/Downloads/
adb pull /sdcard/clover/image-print/ ~/Downloads/
the receipts only occasionally pull from my sdcard.
If I adb shell into my emulator and view the directorys listed in the commands above, most of the time, it seems like the print jobs are not saving.
The print jobs have shown up in my downloads folder, but only rarely. Is this an issue related to the emulator?
How can I achieve a more consistent behaviour?