Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
18 Views

printing

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. 

 

Tags (1)
0 Kudos
2 Replies
Highlighted
Beginner
18 Views

Hi 

YOu have posted this question in the wronf forum

Thanks 

0 Kudos
Highlighted
Beginner
18 Views

Further there are many blogs out there related to this post . try them too 

0 Kudos