Print from cloud print
- by Saikat
I have a project in jquery mobile and htmnl5. Now I want to print my page from a android device. I found a code which can print with cloud printing. Code are below.
var gadget = new cloudprint.Gadget();
gadget.openPrintDialog();
gadget.setPrintDocument("url", "JPG Image","https://www.google.com/landing/cloudprint/testpage.pdf", "");
But the main problem is that I am unable to use my particular area to be print. Please help me.
This example is for a static path like google in the above example. But I want to use my own print area from my code.