januslo / react-native-bluetooth-escpos-printer

React-Native plugin for the bluetooth ESC/POS & TSC printers.
MIT License
368 stars 430 forks source link

Can't print QRcode on iOS PRINT_IMAGE_FAILED. #117

Open TrustyTechSG opened 4 years ago

TrustyTechSG commented 4 years ago

PRINT_IMAGE_FAILED ERROR throws right after printPIC or printQRCode command finished. printPIC can print out image correctly before the PRINT_IMAGE_FAILED error, but printQRCode can't print any meaningful contents, please refer to the photo image

klichg0ky commented 4 years ago

Have you found a solution to this problem?

FazilMuhammed commented 4 years ago

@TrustyTechSG did you work in IOS ? can you please share the code how to print? how to connect the device and sending text or contents to printer.

lntoan commented 3 years ago

I got this error, I sent a base64 image to the printer

bobharley commented 1 year ago

Try setting a width that is divisible by 8