januslo / react-native-sunmi-inner-printer

http://docs.sunmi.com/htmls/index.html?lang=zh##V1文档资源 根据商米V1文档开发的热敏打印
MIT License
74 stars 121 forks source link

PrintPic by default causes huge spacing after the image #58

Open LightningNemesis opened 4 years ago

LightningNemesis commented 4 years ago

I have been using the await BluetoothEscposPrinter.printPic() function with the parameters width and left, but the issue is that the size of the spacing after the image is very large and I can't seem to control it. Is there a way to specify the height of the image, the readme only told us that the height will be calculated using the image ratio, but it doesn't seem to reflect as I have tried reducing the height of the image and the gap is still there.

Any ways to resolve this?