Disable Save, copy option of PDF through servlet
Hi,
I have a servet which displays the pdf files which is stored in a server. That is happening perfectly. But now i need to disable the pdf save copy all those options is that is possible through my servlet. i can control right click and ctrl c using java script but i don't know how i can handle the save as copy option. Any idea ???
Regards
Rasa
rasa wrote:
I too hate :-)
But it is a client reqment.
I am not using itext or pdfwriter calss. as i told i am just reading the file and just showing the user through a servlet. But still let me try the options which you have givenThe base Java libraries can't do what you want. As Saish indicated either the Adobe or iText libraries will be needed. Adobe doesn't sell their libraries separately - you'd have to purchase their giant application server to use it.
Similar Messages
-
How to disable Save & Print functionality in PDF form?
Hi,
This is the requrement, client need to disable Save & Print functionality in PDF form. (They not allow employee save & print the hrforms payslip)
May I know how to do it. Thank you.
What is the parameter value in structure SFPOUTPUTPARAMS that I need to set in order to disable Save & Print functionality ?
call function 'FP_JOB_OPEN'
changing
ie_outputparams = SFPOUTPUTPARAMS
exceptions
others = 1.Hi Nayan,
I'm the person who did the WD as well, using IFrame to contain the PDF binary. WD site didn't contro the binary source.
I pre-define the 'FP_JOB_OPEN' before calling the PDF generation.
Optional: Set output parameters
gs_outputparams-nodialog = ''.
gs_outputparams-preview = ''.
gs_outputparams-getpdf = 'X'.
gs_outputparams-nopreview = 'X'.
gs_outputparams-noprint = 'X'.
gs_outputparams-noarchive = 'X'.
gs_outputparams-nopributt = 'X'.
gs_outputparams-arcmode = '1'.
gs_outputparams-noarchive = 'X'.
Open print job
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = gs_outputparams
EXCEPTIONS
OTHERS = 1.
Regards,
Eric -
How to disable save as option in forefox when we right click on the image?
Hi Folks,
Can somebody help to disable save as option when i right click on the image which is showing in the browser.Hi,
'''sorry,it is impossible by code'''
you can use addons.
or
you can disable while developing webpage using:
<script language="javascript">
document.onmousedown=disableclick;
status="Right Click Disabled";
Function disableclick(event)
if(event.button==2)
alert(status);
return false;
</script>
Regards
'''Deepak Krishnan''' -
Interactive report - unable to disable save report option
Hi,
I am using an interactive report and unable to disable "Save Report" option... Although the option is unchecked under "Include in Actions Menu" section... Others' are working fine, I just can't disable "Save Report" option...
Thanks in advance...When you are logged in as both a Developer and End User, you will ALWAYS see the Save button, even if it is disabled. This is so that you can save the Defaults for an IR. Thus, if you click on the save option, you should only see one item - Save Report Defaults. You will not be able to save a custom report.
Your end-users are not logged in as developers, and thus, won't see any save icon at all. In fact - if you log out of APEX and run just your application, neither will you.
Thanks,
- Scott -
http://spendolini.blogspot.com
http://www.sumneva.com -
Disable download a copy option for pdf files in SharePoint 2013
Hi,
We need to disable Download A Copy option of Document library for few users of our site.
We have provided them View Only rights which disables download for other files except PDF files.
Kindly suggestHi Nirikshita,
As the “Download A Copy” button was available when the users(View Only permission) clicked a PDF file, you can try to hide the “Download A Copy” option based on user permissions.
There are some links for your reference:
http://social.technet.microsoft.com/Forums/en-US/12c1db29-38ab-45cc-803d-29e5ba4834bc/disable-download-a-copy-submenu?forum=sharepointgeneralprevious
http://www.alaindeklerk.com/conditionally-enabledisable-ribbon-buttons-based-on-user-permissions/
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/eba89b93-6d1b-4453-b50c-5fc7790c1082/how-to-hide-ribbon-buttons-from-sharepoint-2010-page?forum=sharepointcustomizationprevious
http://johanolivier.blogspot.com/2011/12/show-or-hide-sharepoint-ribbon-tab.html
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
Not able to save deski report as PDF through infoview
Hi,
when I try to save a deski report as PDF through infoview error appears as:
Your request could not be completed because a failure occurred while the report was being processed. Please contact business administrator.[RCIRAS0546] (Error: INF)
we are using BOXI 3.1/ SP2.
Please let me know the possible solution for this.
Thanks
DLNAre you migrated from earlier version to 3.1.
YES,
here you go,
Have a back door way to fix the problem...
We were having the same issue with DeskI documents while upgrading from XIR2 to XIR3.
It's tied to documents that are set to Refresh on open
If you import the report, set it to "not" refresh then publish it, test it and it should run fine. Once you get it working correctly you can republish the report again and turn the "Refresh on Open" back on.
It should work fine from that point on.
Thank You!!
Sent from iPhone
Edited by: BOCP-BOE on Oct 19, 2010 12:01 AM -
How To Disable Save Button in a PDF
I have Creating One Application in Oracle Forms 6 and Run in Web
In that I have Showing a Pdf Fie using a WEB.SHOW_DCOUMENT.
But I have to Disable a Save and print Button in Display pdf file in a IE.
It’s Possible then help
thxThe best way to find out something about it is to type in www.google.com these key words: disable save adobe
Then you can read more about it on this links:
http://www.adobeforums.com/cgi-bin/webx/.3bb65a55
http://www.adobeforums.com/cgi-bin/webx/.3bc076e4
http://www.acrobatusers.com/forums/ask_an_expert/questions/view/1222/
It's interesting question and very important but looks like unsolved... -
How to disable SAVE AS option while opening PDF in browser in OAF
Hi All,
We have created a page with MessageTextInput fields. All the datas are captured and export into PDF format. We have done this through XML publisher. PDF will be generated when we click on Generate button. PDF is getting opened in the IE browser.
The user should not save the PDF, so we need to disable the save as functionality of browser.
Thanks and Regards,
MyvizhiOn your Print window (CTRL+P '''''or''''' ''Firefox button > Print'' '''''or''''' ''File > Print''):
#be sure your correct printer is seclected
#be sure "Print to file" is '''''not''''' checked
'''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
Not related to your question, but...
You may need to update some plug-ins. Check your plug-ins and update as necessary:
*Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
*'''''Adobe Shockwave for Director Netscape plug-in''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
*Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
*Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.org/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
*Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.org/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox] -
Problem in converting XML to PDF through Servlet
Hi friends,
I've a button in a page which should open a pdf from an existing xml. I've used the fop mechanism and servlet to do that. I've to deploy that in an unix/solaris environment. When i'm trying to do that it's giving me an exception at the place where it's trying to convert the file(transformer.transform(src,res)) It's as below..
Thu Oct 20 14:43:47 IST 2005:<E> <ServletContext-General> Servlet failed with Exception
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:54)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:115)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:53)
at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1006)
at org.apache.fop.svg.PDFGraphics2D.<init>(PDFGraphics2D.java:1401)
at org.apache.fop.render.pdf.PDFRenderer.renderSVGDocument(PDFRenderer.java:638)
Some one told me that there are some problems with unix env and graphics. If anyone had ever seen this problem before, pls reply. Thanks in advance.Hi Anil,
Please mail across your outbound agreement export, ecs, XSD and XML which you are using for testing to my id (in my profile)
Regards,
Anuj -
Opening .pdf through servlet
Hi,
I'm running a web-app that creates a pdf and opens it in a new browser window once the file has been created. My pre-developement environment is on Tomcat and the app works fine there. Once I test the app on a SunONE server, the app cannot open up the file. I'm just using a:
response.sendRedirect("location of file");
Why would it not work on SunONE but on Tomcat. The file is being created on both and its not a path issue. On the SunONE server I get a browser popup saying "Cannot download file....". Not sure why this comes up.
Thank youTry this
response.setContentType("application/pdf")
response.sendRedirect("location of file");Regards
Manikantan -
"Save Filter" option not working through CRM Siebel
Hi,
We have OBIEE Oracle Business Intelligence Product Version 10.1.3.3.3 on one server and on other box we have OBIEE Dashboards integrated with CRM Siebel.
CRM Siebel Version is 7.8
The users when they login throgh OBIEE dashboards are able to use the feature "Save Filter" but the same users when they login thorugh CRM Siebel application and go to Dashboards and try to use that feature they are unable to do the same.
Has anybody encountered similar king of issue. Any pointers will be appreciated.Hi user,
Generally it should be applicable even for the application,cz it worked for me Oracle EBS...so it should work for you too.....if still the problem exists raise a SR on it...might be some issue with it.
Hope it helps you.
By,
KK -
Is it possible to disable the "Save A Copy" option for a pdf document using the security policies in ADC
Any solution yet?
Hom
e
pa
g
e -
Disable Workbook Save option in favourites through authorization
Hi All,
We would like to disable Workbook Save option in favourites through authorization.
Please help us to achieve this.
Thanks and Regards
Binayakrasa wrote:
I too hate :-)
But it is a client reqment.
I am not using itext or pdfwriter calss. as i told i am just reading the file and just showing the user through a servlet. But still let me try the options which you have givenThe base Java libraries can't do what you want. As Saish indicated either the Adobe or iText libraries will be needed. Adobe doesn't sell their libraries separately - you'd have to purchase their giant application server to use it. -
Open PDF with disable save as and Print option
Hello,
I want a pdf viewer to use it in my website with disabling save as and print ,i mean user only can see my books online.I need something like "books.google.com" viewer. It is possible thru java programming or with the help of any open source. Please provide me some solution i am in deep trouble.
Thanks for any reply.
Shambhu MitraYou cna do this with the security options in the PDF file itself, which you can set with Adobe Acrobat, assuming you have access to the security options in the first place.
-
SharePoint 2013 disable Save/ Share or Print option in Office Web Apps for PDF and Word Docs
Hi,
How can we disable Save/ Share or Print option in Office Web Apps for Word and PDF files.
Regards,Rights Management Server/Service
Scott Brickey
MCTS, MCPD, MCITP
www.sbrickey.com
Strategic Data Systems - for all your SharePoint needs
Maybe you are looking for
-
LabVNC is running in my Server pc. When I am trying to connect from the web browser of client pc, an error message window is generates in the server. and the labVNC crashes. the error message is " LabVNC server for win32 has encountered a problem and
-
Upgrade to GRC AC 5.3 , CC deployment issue
Hi We are inthe process of upgrading from GRC 5.2 to 5.3. I have undeployed CC,FF, AE SCA's as recommended in the installation/upgrade guide and deployed new SCA's , all the files for FF, AE, RE are depolyed successfully except VIRCC_0.SCA keeps thro
-
I've done so 4 times without success. This Verizon iPhone 4 has never been modified. Can anyone help or do I have a hardware problem? Thanks
-
Can't get rid of pop up ads and my pop up is on.
When I first got my Mac I had no trouble going to sites and no pop up ads. My pop up blocker is on and I can't go to sites without pop up ads from other places showing me where to get items from or advertising and a little place pops up when it is un
-
How do you split a vector image into several different colors
Hi, I'm trying to make an infographic for my company and wanted to use an image of christmas tree I found. I put it into Illustrator CS6 and traced it with the 16 colors option ( which i believe makes it a vector). What I want to do is change the col