VB.NET - how to disable or hide save as option in pdf

Asked By Gomathy Sekar on 06-May-17 03:22 AM
Hi ,

Im using iframe to dispaly pdf in browser, i hav already done disabling save option in the navigation panel bt i need to avoid the save as pdf option while choosing print.

Can any1 say how to disable save as pdf option ??
Robbe Morris replied to Gomathy Sekar on 06-May-17 09:54 AM
You can't disable or hide the save option entirely in the Adobe Acrobat Viewer.  A local copy of the PDF file is downloaded to the browser cache anyway.

You could look up the options to disable the toolbar and menu in the Adobe Acrobat Viewer but the user could still use CTRL + S to save the document.
Gomathy Sekar replied to Robbe Morris on 09-May-17 06:33 AM
Thank you Robbe, bt the thing is i dnt want the client's system to store any of the details from the pdf.. so is it possible r is there any othr way to move the file directly to the printer??
Robbe Morris replied to Gomathy Sekar on 09-May-17 08:24 AM
If you use something like Aspose PDF, you can submit the print request directly from the server without even displaying the PDF to the user in the browser.  

But, once you send the PDF bytes to the browser, you can't really stop them from retrieving the document in electronic format.
alex smith replied to Gomathy Sekar on 16-May-17 02:39 AM
I don't think it is possible to disable Save As using Adobe Viewer control. If you're allowed to use 3rd party library, you could try Spire.PDFViewer for asp.net for displaying PDFs in web browser.

https://www.e-iceblue.com/Introduce/pdf-viewer-asp.html
alex smith replied to Gomathy Sekar on 16-May-17 02:41 AM
I don't think it is possible to disable save as using Adobe Viewer control. If you're allowed to use 3rd party library, you could try Spire.PDFViewer for asp.net for displaying PDFs in web browser.

https://www.e-iceblue.com/Introduce/pdf-viewer-asp.html
alex smith replied to Gomathy Sekar on 16-May-17 02:44 AM
end of post