how to hide Print with preview and Print without preview

Stimulsoft Reports.WEB discussion
Post Reply
Jia Sheng
Posts: 49
Joined: Thu Jul 04, 2013 7:59 am

how to hide Print with preview and Print without preview

Post by Jia Sheng »

Now we use StiWebViewer component to display a report.StiWebViewer supports three modes of printing: print a report using the Adobe PDF export, print withpreview and print without preview.like:
image.jpg
image.jpg (10.61 KiB) Viewed 1959 times
But We want to only display the menu item Print to PDF and hide the menu item Print with preview and Print without preview.Because that like your document said "The StiWebViewer component cannot control page parameters (page size, page orientation,
page margins) when printing using the 2 and 3 method. All parameters are controlled with the browser."

So Is there any parameters can be set to hide this two menu item?Thanks!
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: how to hide Print with preview and Print without preview

Post by Alex K. »

Hello,

Please try to set the PrintDestination property to "Pdf":
cc1:StiWebViewer ID="StiWebViewer1" runat="server" PrintDestination="Pdf"

Thank you.
Post Reply