TEXT SHARE to WebView PRINT.Intent send-print job
Play on PC with BlueStacks – the Android Gaming Platform, trusted by 500M+ gamers.
Page Modified on: July 15, 2021
Play TEXT SHARE to WebView PRINT.Intent send-print job on PC
2. The application does not print alone, it only sends the job to the printer driver.
By the print button, a standard PrintDocumentAdapter for WebView is created.
3. This is a free application with the ability to thank the author (donate). After in-app purchase, you will receive only the message "Thank you".
It is very strange make return donations.
-------------------------------------
Since other software developers are too lazy to implement printing,
I did it for them.
The application is the simplest. One screen. WebView and print button.
Gets text through the processing of Intent.View and Intent.SEND ("Open with" and "Share"). Having received the text makes it the simplest html.
In the settings 4 font sizes.
Font A and Font B are suitable for printing on a thermal printer (58mm roll of cash tape)
Font D - the smallest (80 characters per line on A4 printer)
How to use the example of the clipboard.
Select text -> Share -> TextToPrint -> Printer Icon -> Standard Print Preview Dialog.
Open source code
github.com/402d/TextToPrint
Play TEXT SHARE to WebView PRINT.Intent send-print job on PC. It’s easy to get started.
-
Download and install BlueStacks on your PC
-
Complete Google sign-in to access the Play Store, or do it later
-
Look for TEXT SHARE to WebView PRINT.Intent send-print job in the search bar at the top right corner
-
Click to install TEXT SHARE to WebView PRINT.Intent send-print job from the search results
-
Complete Google sign-in (if you skipped step 2) to install TEXT SHARE to WebView PRINT.Intent send-print job
-
Click the TEXT SHARE to WebView PRINT.Intent send-print job icon on the home screen to start playing