I am using the Screenshot component from utilities, as well as @Ben’s printing extension.
What I want is,
when a buton is clicked, a qr code should generate.
After the QR is generated, set a image’s pic to the QR Code. Also fire a timer for 1500ms. (1.5 sec)
When timer ends, capture a screenshot & print it.
What does not work is, the image is not printing (the print function is not launching); Also, in the if block under the gotScreenshot event is not functioning in my case… What I mean is, if my system doesn’t support with printing, then it should show the verticalArrangement, right? It’s not showing too…
i was trying to check this extension but i think thunkable community server is down and not opening page of that extension, and i am not sure if this extension is working perfectly or not, have you tried with another phone? like maybe printing function supported phone. share apk or aia so we can see for us its working or not?
Image Print extension only handles settings and configuration before printing and passes that to the printing app such as Google Cloud Print or Samsung Print Service. If none of these apps exist on your phone, it won’t work. Moreover, the SystemSupportsPrint only checks whether your phone is capable of printing and handling such kind of requests, not whether it has a printing application.
but its not checking that phone is capable or not, like check block, not working for that if else and direct passing to next process where it dosnt found any apps for print,
if not, then it must response something, lets see if any other phone shows any response if not capable of print, like we have tried of android 9.0 , both phone was android 9.0 , not responding anything if capable or not.
The extension is a wrapper for Android’s PrintHelper class. SystemSupportsPrint method is not my implementation, if you have problems with it, please consider contacting Android development team.