Hello, I am attempting to print an image onto the receipt printer. I am able to print short images fine, however the image I am trying to print is 1000px high and will not print. Is there a limit to the height of what can be printed through the SDK?
Hello, I am attempting to print an image onto the receipt printer. I am able to print short images fine, however the image I am trying to print is 1000px high and will not print. Is there a limit to the height of what can be printed through the SDK?
The bitmap must be able to fit within Android's binder size limit which is 1MB. That's for an uncompressed image. For a receipt that's 384px by 1000px (RGB565) that's 768K, which is probably reaching the limit considering other overhead what what else may be in the binder's buffer at that time.
This is a known limitation. I've filed an internal issue to resolve it unfortunately I don't have an ETA.
1 Person is following this question.