We are printing receipts using image print job:
ImagePrintJob2 imagePrintJob = new ImagePrintJob2.Builder(mRef).bitmap(bmp).build(); imagePrintJob.print(mRef, CloverAccount.getAccount(mRef));
We are getting an exception:
Error trying to print /storage/....../debugcr2.png Bitmap height cannot be greater than 2048 pixels
How can we increase the 2048 height? The receipt is not particularly long in content. Just that font size is a little larger so takes more height. Less than 2048 is printing fine