Hello.
When we print a report without the WebViewer on a web page , we implement it the following way:
•put the Web Viewer with the width and height of 1px on a page;
•assign the report to the Web Viewer;
•use its PrintToDirect()/PrintToPdf() methods.
It Works Ok,But Now we have a question we need to hide the PrinterSettingDialog when print a report on a web page.
First we set the report (PrinterSettings->ShowDialog) property as follow:
It can work in the Designer.exe, But it can't work on a web page.Always Open the PrinterSettingDialog like:
How to hide the PrinterSettingDialog when print a report on a web page?
Thank you.
How to hide the PrinterSettingDialog on a web page
Re: How to hide the PrinterSettingDialog on a web page
Hello.
Unfortunately, it's impossible to print from browser without Print Dialog.
This is a restriction of all known browsers.
Thank you.
Unfortunately, it's impossible to print from browser without Print Dialog.
This is a restriction of all known browsers.
Thank you.
Re: How to hide the PrinterSettingDialog on a web page
Hello.
If we use StiWebViewer.PrintToPdf() on a web page, is it possible to hide the PrinterSettingDialog?
Thank you!
If we use StiWebViewer.PrintToPdf() on a web page, is it possible to hide the PrinterSettingDialog?
Thank you!
Re: How to hide the PrinterSettingDialog on a web page
Hello.
Thank you.
No, this is impossible.Jia Sheng wrote:If we use StiWebViewer.PrintToPdf() on a web page, is it possible to hide the PrinterSettingDialog?
Thank you.
Re: How to hide the PrinterSettingDialog on a web page
Hello.
Do you have any other solution about hiding the print Dialog? For Example writing some special code.
Thank you.
Do you have any other solution about hiding the print Dialog? For Example writing some special code.
Thank you.
Re: How to hide the PrinterSettingDialog on a web page
Hello.
Unfortunately, it's impossible to print from browser without Print Dialog.
This is a restriction of all known browsers.
Thank you.
Unfortunately, it's impossible to print from browser without Print Dialog.
This is a restriction of all known browsers.
Thank you.