I'm working on a simple phonegap app that prints a simple pdf page to test Google cloud printing, I followed steps mentioned here.
It's working fine in a browser but when I tried it on a mobile, nothing was printed, I wasn't even able to save it to my Google drive.
Here is my code:
var gadget = new cloudprint.Gadget();
gadget.setPrintDocument("url", "Test Page",
"http://www.google.com/landing/cloudprint/testpage.pdf");
gadget.openPrintDialog();
The plugin you proposed allows printing pdf or text/html documents only? – T. Phanelly Jan 13 '15 at 11:55