Quantcast
Channel: Virtualisation
Viewing all articles
Browse latest Browse all 277

printing

$
0
0

I am using bootstrap framework. I have not been able to produce correct code to print a page. I have loaded google cloud print print in index.html file.

<script src="//www.google.com/cloudprint/client/cpgadget.js"></script> 

the line that follows:

 gadget.setPrintDocument("[document mimetype]", "[document title]", "[document content]", "[encoding] )";

the document content requires a URL. I have a page id.  

I have a onclick for the page 

<div class="upage vertical-col left hidden" id="stndpg" onclick="myprint('stndpg')">

My question is how do i print the page. 

 


Viewing all articles
Browse latest Browse all 277


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>