Remove "Print to PDF" from print options.
Re: Remove "Print to PDF" from print options.
Hello.
It's possible to remove this menu and set one of this print methods using the PrintDestination property of the Viewer.
Thank you.
It's possible to remove this menu and set one of this print methods using the PrintDestination property of the Viewer.
Thank you.
Re: Remove "Print to PDF" from print options.
Hi HighAley,
What I'm after is to just remove Print to PDF and STILL show both Print with Preview and Print without Preview options.
Thanks,
What I'm after is to just remove Print to PDF and STILL show both Print with Preview and Print without Preview options.
Thanks,
-
- Posts: 6366
- Joined: Tue Mar 20, 2018 5:34 am
Re: Remove "Print to PDF" from print options.
Hello,
You can use the following code:
var viewer = new Stimulsoft.Viewer.StiViewer(options, "StiWebViewer1", false);
viewer.renderHtml("viewerCont");
viewer.jsObject.controls.menus.printMenu.items["PrintPdf"].style.display = "none";
Thank you.
You can use the following code:
var viewer = new Stimulsoft.Viewer.StiViewer(options, "StiWebViewer1", false);
viewer.renderHtml("viewerCont");
viewer.jsObject.controls.menus.printMenu.items["PrintPdf"].style.display = "none";
Thank you.
Re: Remove "Print to PDF" from print options.
Hi,
It is possible to hide the print menu and show only the print button ?
Like in your demo : https://demo.stimulsoft.com/?seeAll#Net ... eQuotation
It is possible to hide the print menu and show only the print button ?
Like in your demo : https://demo.stimulsoft.com/?seeAll#Net ... eQuotation
-
- Posts: 6366
- Joined: Tue Mar 20, 2018 5:34 am
Re: Remove "Print to PDF" from print options.
Hello,
What product, viewer are you use?
Thank you.
What product, viewer are you use?
Thank you.
Re: Remove "Print to PDF" from print options.
Hi I'm using Stimulsoft Reports JS 2023.3.3
-
- Posts: 6366
- Joined: Tue Mar 20, 2018 5:34 am
Re: Remove "Print to PDF" from print options.
Hello,
We apologize for the delay, but we need some extra time to investigate the issue thoroughly. We will keep you informed about the result as soon as possible.
Thank you for your patience.
We apologize for the delay, but we need some extra time to investigate the issue thoroughly. We will keep you informed about the result as soon as possible.
Thank you for your patience.
-
- Posts: 6366
- Joined: Tue Mar 20, 2018 5:34 am
Re: Remove "Print to PDF" from print options.
Hello.
It's possible to remove this menu and set one of this print methods using the PrintDestination property of the Viewer.
Thank you.
It's possible to remove this menu and set one of this print methods using the PrintDestination property of the Viewer.
Thank you.