we have admin dashboard build in gwt and deployed on google app engine for java. On the dashboard there is a feature called “my card” where a blood donor can see his blood donor registration card with us.
Currently, we are creating and storing this card on google storage and when someone goes to “My Card” we render the card using iFrame in our dashboard.
We want to give the ability to print this card. Please tell how to do it?
just to add on i tried Print.it jar but seems like it is obsolete and does not play nice with gwt anymore
Add this script to the iframe content page’s tag
Add this native method to your GWT class
The action handler for print button’s click event.
Code is derived from this discussion