Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 28469

Print a document html directly with react-native-print

$
0
0

The device I refer to is the Sunmi V2 PRO.
I imported and linked the react-native-print library in my project.

When I start the RNPrint.print () function passing my html string, it does not print directly, but goes to a screen where I can choose other printers (there is only one) or download the pdf. Is there a way to skip this screen and start printing directly?

I simply call this in my function:

await RNPrint.print({ html })

Viewing all articles
Browse latest Browse all 28469

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>