COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: sukanya on 22 Jun 2017 02:58:29 PM

Title: Print button in cognos version 11 report page
Post by: sukanya on 22 Jun 2017 02:58:29 PM
Kindly can anyone let me know about how to add print button in report page in cognos version 11.

Thanks & Regards,
Title: Re: Print button in cognos version 11 report page
Post by: New_Guy on 23 Jun 2017 07:36:01 AM
Hi,
Try the below,

<input type="button" onClick="window.print()" value="Print This Page"/>

Good luck
New guy
Title: Re: Print button in cognos version 11 report page
Post by: sukanya on 23 Jun 2017 09:46:48 AM
Thank You. I have used the same code in html item. Since, print only prints first page i have instead used drill through to the same report with run option as pdf format. User can now print in pdf.