Software Archive
Read-only legacy content
17061 Discussions

printing

Tony_T_
Beginner
441 Views

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. 

 

0 Kudos
2 Replies
John_T_2
Beginner
441 Views

Hi 

YOu have posted this question in the wronf forum

Thanks 

0 Kudos
John_T_2
Beginner
441 Views

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

0 Kudos
Reply