-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need example for printing images #16
Comments
@venky2604 , it already exists. Please see the example folder. BTW you can run it to test how everything works |
how to print base64 image? I tried to print base64 image but it did not work. |
For now, printing from the base64 source is not stable. We need to investigate what is the problem with this method. So I'd recommend print image from assets folder instead. |
I need to print remote image. Is there any solution to print remote image uri ? |
@venky2604 I think I need some time to investigate why current implementation about base64 doesn’t work, so then I think it will possible print from remote source. |
When I changed Base64.URL_SAFE to Base64.DEFAULT in Line 508 in ba2ed89
|
@venky2604 interesting.. thanks for the help! I’ll try to take a look on the problem for iOS as well. If I find solution then I’ll release new version with the fix |
@venky2604 just released a new version with printing from base64 support here the docs: https://github.com/tr3v3r/react-native-esc-pos-printer/blob/main/docs/PRINTING.md#base64-image |
No description provided.
The text was updated successfully, but these errors were encountered: