We are using Stimulsoft JS viewer to render the report.
Due to some limitations, our product works only in IE and not on any other browsers.
We found an issue with ‘Print without Preview’ from viewer, the data in printout is cropped.
Per Aleksey, this is browser’s issue and not viewer’s issue. IE changes the size of the pages and we don't know how this could be fixed.
I agree, as it worked in chrome.
Now our question is:
1. We need option to hide/disable ‘Print without Preview’ in stiViewer, we want to refrain user from using this option as it has bugs, how to do that?
2. Can I just show Print button which points to Print With Preview in IE?
3. Can I hide Print button, add my own button, on click on that button, and do print with preview? Can you provide some sample code for this?
Please provide some alternate solution for this. Any 1 from above three should be feasible.
Please suggest any other resolution for this.
JS Viewer print- data cropped in IE
-
- Posts: 27
- Joined: Thu Jun 02, 2016 7:22 am
Re: JS Viewer print- data cropped in IE
Hello.
We have added a StiPrintDestination.WithPreview option, that you should set to enable Print With Preview feature only.
You could enable it with next code:
Thank you.
We have added a StiPrintDestination.WithPreview option, that you should set to enable Print With Preview feature only.
You could enable it with next code:
Code: Select all
var options = new Stimulsoft.Viewer.StiViewerOptions();
options.toolbar.printDestination = Stimulsoft.Viewer.StiPrintDestination.WithPreview;
viewer = new Stimulsoft.Viewer.StiViewer(options, "StiViewer", false);
-
- Posts: 27
- Joined: Thu Jun 02, 2016 7:22 am
Re: JS Viewer print- data cropped in IE
Thanks for quick reply Aleksey.
As discussed on chat, this will be included in next pre-release build, which is scheduled on coming friday
Please confirm.
As discussed on chat, this will be included in next pre-release build, which is scheduled on coming friday
Please confirm.
Re: JS Viewer print- data cropped in IE
Hello, Vani.
Yes, the option will be available in our next prerelease build on Friday.
Thank you.
Yes, the option will be available in our next prerelease build on Friday.
Thank you.