Disable print icon/button in Crystal report Viewer

Hi,

I want to disable the “printer” option from crystal report viewer.

As of now, when we click on printer icon, on top left cornor of Crysatl report Viewer, get option to print.

We want to disable this option so that users either cant see this option or its grayed out/disabled for them.

We are using BI 4.0 and its Crystal report for Enterprise 4.

Thanks & Regards,
Twinkle


Twinkle_123 (BOB member since 2009-08-19)

Hi,

If you implement the viewer yourself, there is an SDK call on disabling the print button.
If you just use InfoView as-is and do not want to touch the code, there is a Consulting Solution called BOInterface that Business Objects Global Services sells and that helps you to achieve what you describe very easily.

CR4E has a web DHTML viewer, for which you’d remove the print button via method call CrystalReportViewer.setHasPrintButton(false), and a desktop Swing viewer, for which you’d remove the print button via method call ReportViewerBean.setHasPrintButton(false).

–Praveen G


PraveenGuntuka :india: (BOB member since 2013-07-10)