Open rajutsin opened 1 year ago
Hello,
Please reply, waiting for solution. tried so many plugins but no luck. Platform is Cordova with Android 12
Did you find a solution? In my test the printing is sending the characters instead of the image
Hi! I found the solution. Look into the file platforms/android/app/src/main/java/br/com/cordova/printer/bluetooth/BluetoothPrinter.java
for the line:
bitmap = resizeImage(bitmap, 48 * 12, mHeight);
and change it for:
bitmap = resizeImage(bitmap, 48 * 8, mHeight);
That's all!
Hello, first of all thanks for this plugin and demonstration. The app which you provided an apk in your site is working perfect and printing base64 image in the center of the 80mm page. After integrating into our app or create a new app and trying to print base64 image, its printing in the right side. since 7 days I am trying to figure it out.
Can you please provide support.
thanks Raj