leesiongchan / react-native-esc-pos

A React Native ESC/POS module to help you connect to your ESC/POS printer easily.
MIT License
80 stars 84 forks source link

path fot printImage #45

Open piarachmayati opened 4 years ago

piarachmayati commented 4 years ago

I see there is an available function printBarcode() is this ready to use? if yes, how?

Sorry printBarcode() is not working yet, since we are using a lib behind the scene, there should only be a very minimal work required for it to work, hope you could lend a hand on making it live

And can you explain a little more how I get an image with printImage()

The only parameter you need to make it work is filePath, for example if you use Expo Image Picker you will get a uri, put in the uri you should be able to print the image

for print image, can i get the image file from server?

Originally posted by @piarachmayati in https://github.com/leesiongchan/react-native-esc-pos/issues/24#issuecomment-663863411

leesiongchan commented 4 years ago

You mean from a http? I afraid no.