Android-Bluetooth-Printer icon indicating copy to clipboard operation
Android-Bluetooth-Printer copied to clipboard

How to Print Image?

Open Biangkerok32 opened this issue 4 years ago • 2 comments

I have try like this : mPrinter.printImage(bitmap);

but not work? 😢

Biangkerok32 avatar Nov 19 '19 06:11 Biangkerok32

There is a limit on the size o the image. If I'm not wrong, it is 2040x255

pcandido avatar Dec 27 '19 13:12 pcandido

I divide bitmap into chunks of 255 pixels and then print. Some printers like Rongta put white space between each chunk(Specifically Bluetooth printer).

Is there a way where I don't need to divide and still print the long receipt(image)?

rikithakkar1012 avatar Dec 29 '20 11:12 rikithakkar1012