Page 1 of 1

how to hide Print with preview and Print without preview

Posted: Fri Sep 13, 2013 2:52 am
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 1961 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!

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

Posted: Fri Sep 13, 2013 12:18 pm
by Alex K.
Hello,

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

Thank you.