If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Print - urgent

Started by sg24, 03 Mar 2011 07:52:12 AM

Previous topic - Next topic

sg24

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.

melee


AussiePete2011

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