Print from cloud print

Posted by Saikat on Stack Overflow See other posts from Stack Overflow or by Saikat
Published on 2014-06-02T09:21:21Z Indexed on 2014/06/02 9:25 UTC
Read the original article Hit count: 152

Filed under:
|
|

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.

© Stack Overflow or respective owner

Related posts about android

Related posts about jQuery