Hi Folks !
can anybody give me the javasript for printing the report in HTML or PDF format?
Since the user wants the print button on the report page, i need to put a print button and enable for printing purpose.
Javascript Gurus , kindly help.
Thanks a lot!
Sg.
window.print() :)
Hi there
Have a look at the following page http://www.ibm.com/developerworks/data/library/cognos/reporting/scripting_techniques/page516.html?ca=drs-
You need to add a html item on your report then add a syntax like
<input type="BUTTON" class="clsPromptButton" onClick="SplitText()" value=" Finish ">
Or have a look at the Cognos Developer forum
http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14494142
Or
http://presentations.keysoft.co.in/streamingfile.aspx?id=206
Or
https://www-304.ibm.com/support/docview.wss?uid=swg21335464
There are a few examples out there.
Hope this Helps
Cheers
Peter B