Disable Print and Save button in tooldbar in AxAcroPDFLib.AxAcroPDF

Hi,
I am using AxAcroPDFLib.AxAcroPDF  to display pdf files in my C# winform application.
I have a requirement now that for some documents alone i should disable the print and save button in the toolbar of my AxAcroPDFLib.AxAcroPDF window.
I need the rest of the buttons in the toolbar to be working.
Can someone please tell me how to disable these buttons in my c# code. What property i hsould set to my AxAcroPDFLib.AxAcroPDF object to make this happen.
Hoping to get an answer soon.
Thanks and Regards,
Dinesh.N

There is nothing you can do via the C# APIs to disable these buttons.

Similar Messages

  • Print and Save buttons in AS2

    This is a two part question:
    I have a flash application that has multiple layers of movie clips with an image in the background and the ability to position other movieclips on top of that image. I want to be able to print just the area the background movieclip takes up, or more specifically, I do not want to print the interface of the application, just the images that was created in the SWF itself by the user.
    Using this code from the Adobe actionscript dictionary gives me part of what I want, but how can I define an area to print rather than printing the whole swf?
    on (release) {print("myMovie","bmovie");}
    I'm guess the print area is specified by the bmovie, bframe, and bmax parameteres, but I'm not sure where or how I would go about setting those or which would be best for what I am trying to do.
    The second part of my question is that I am looking have a save button to save the same area that the print button would be printing. I'm thinking of using a field for the user to enter a name into that will create a variable and then saving the file with the name of said variable. What code can be used to save and create this bitmap?

    I see how a movieclip or a single level can be specified to print, but if multiple levels have been stacked can the stack of levels be printed?
    For example, if level 1 contains the movieclip I want to have printed and level 2 has some vector drawings they created on top of the movieclip, can this print level 2 on top of level 1 as the user sees this on their screen and how do I do this?
    Thanks

  • How to disable print and download button of pdf file when i am opening mozila firefox using java script

    i am opening pdf file in firefox browser in right side i am seeing print and download option
    i want to disable it by program like javascript, by manualy i can disable it ,
    actually i am opening pdf file in my website by using firefox browser so i do not want to any can download or print the pdf file

    If it's that critical, you could explore this partial workaround:
    Use a script or configuration file on your server that changes the disposition based on the user agent. In other words, for Firefox, send an attachment disposition that forces a download outside the browser instead of the default (inline) disposition that allows Firefox to display the PDF in a tab.
    Now... that won't stop the user from dragging and dropping the downloaded file on a Firefox tab to use the built-in PDF viewer, but most users would tend to open the file in their default viewer (e.g., stand-alone Adobe Reader).

  • How to disable Save and SaveAs Button in Adobe Reader ??

    I am having Dynamic XML Form (XFA based) designed on LC Designer ES2
    I Want to disable Save and SaveAs button  whenever it would be opened in Adobe Reader only.
    Other way around, i want to provide only facility to save form programmatically through Javascript to apply validation.
    Plz help
    Thnx in advance..!!

    I can apply folder level java script ...But How to handle this way on CLIENT SIDE..???

  • Chart - PREVIEW and SAVE buttons disabled.

    I am using BI Publisher Desktop with WORD 2007 on VISTA. When I attempt to add a chart to a rtf template, the PREVIEW and SAVE buttons are disabled. I can move data fields from the Data section into the Layout Section, select chart type, even the style. Everything appears to work just fine but I can not preview or save. The template file is not in any restricted folder. I can add a table, then save and preview the document just fine.
    I have even openned some of the samples that came with the download and when I view the properties on an existing chart, I see the same disabled buttons.

    Which menu path are you using?
    Are the items available for personalization?

  • How to write code to print and save the output in my GUI?

    I had been searching on code to program print and save commands to print and save the output from the GUI but to no avail. Can someone help me?

    The output will be link from the previous GUI page. Hence the output is a page with Jtable and a button for print to print the information in the JTable.

  • Delete/Disable  Print HTML/pdf Button

    Is there a Script that can be used to delete/disable print HTML/PDF button the dashboard page. I dont want to make changes in the OBIEE File as it will be reflecting for everybody. Can we use any script to disable it for a page and enable it on some other page.
    Thanks

    hi you can create a new css style sheet for portalcontent.css and inin the A:link modify like A:link { color:#2b7c92; text-decoration: underline;display: none}
    you can add this into whatever page you want using edit dashboard> page properties> styles.

  • How can you add your own print and export buttons to the CR viewer toolbar?

    I posted a previous question that was asking how to get around the Information Bar in IE7 when you export and print.  Unfortunately the CR viewer file download code gets blocked by IE7 because the buttons don't directly download the file.  However, I have been able to get a regular button that calls the following code and streams the file to the client and IE7 does not block it. 
    Sub PrintPDF(sender As Object, e As System.EventArgs)
         Dim crReportDocument as ReportDocument
         Dim crExportOptions as ExportOptions
         Dim crDiskFileDestinationOptions as DiskFileDestinationOptions
         Dim Fname as string
         CrReportDocument = New ReportDocument()
         CrReportDocument.Load(Server.MapPath("estactionlist.rpt"))
         Fname = Server.MapPath("./") & Session.SessionID.ToString & ".pdf"
         CrDiskFileDestinationOptions = New DiskFileDestinationOptions()
         CrDiskFileDestinationOptions.DiskFileName = FName
         CrExportOptions = crReportDocument.ExportOptions
         With crExportOptions
              .DestinationOptions = CrDiskFileDestinationOptions
              .ExportDestinationType = ExportDestinationType.DiskFile
              .ExportFormatType = ExportFormatType.PortableDocFormat
         End With
         CrReportDocument.Export()
         Response.ClearContent()
         Response.ClearHeaders()
                    Response.AddHeader("content-disposition", "attachment;filename=test.pdf")
                    Response.ContentType = "application/pdf"
                    Response.Charset = ""
                    Response.WriteFile(Fname)
                    Response.Flush()
         Response.Close()
         System.IO.File.Delete(Fname)
    End Sub
    So here are my questions?
    1. Is it possible to add a custom print control/icon to the CR viewer toolbar?
    2. If one is not possible, then is it possible to override the CR viewer print and export buttons with your own subroutines like the one above?
    I just want my page to look nice and hate to have print and export buttons outside of my CR viewer. 
    Thanks,
    Kevin

    It might be possible to replace the buttons in a windows app since you can retrieve the toolbar as a toolbar object in the winform viewer  ( ToolStrip toolBar = (ToolStrip) crystalReportViewer1.Controls[3]; )  however with a web app, it's a lot more difficult.
    The problem is that that you need to parse the Request string to try and figure out if the print / export button was clicked.  The code below makes the print button disappear if you click it, so you should be able to modify it to call your custom printing / exporting code instead  (You have to do this check in a postback)
            Dim I As Integer = 0
            If Request.Form.AllKeys.Length > 0 Then
                For I = 0 To Request.Form.AllKeys.Length - 1
                    Response.Write(Request.Form.Keys(I).ToString & "<BR>")
                    If Request.Form.Keys(I).ToString = "CrystalReportViewer2:_ctl2:_ctl2.x" Then
                        CrystalReportViewer2.HasPrintButton = False
                    End If
                Next
           End If
    Shawn

  • How to hide the Print and Export button in analytics report or tasks pane

    Hi Experts,
    In BIEE 11g,
    How to hide the Print and Export button in analytics report or tasks pane ?
    For example:
    In console,I have created one userA which is belong to BIConsumer GROUP , when I make use of the highest user 'weblogic' to create one simple report, then the userA will login the analytivs to view this report (not dashboard), it will show the print and export as below.So customers do not want to give him the privilege for printing and exporting.
    In addtion, go to catalog->tasks(left corner), it will also show the print and export button. So how to hide or not access these button?
    Note: Maybe it can use the policy for consumer role for implementing this requirement, but I do not know how to modify the policy. Are you facing the problem? Thanks.

    Hi,
    1. Create seperate folder for Reports & Dashobard.
    2. For BI_Consumer (userA) set the catalog permission to view Dashboard Folder only and remove permission on the Report Folder (you can give traverse permission but don't give Open permision).
    3. By this user won't be able to open or run any reports in that folder and the only way he can see the reports is through Dashboard and on dashboard the export and print buttone can be removed very easily.
    Mark helpful if it helps.
    Regards,
    Kashi
    Edited by: K N Yadav on 24 May, 2013 1:51 AM

  • How to disable block and delete button in me22n transaction

    Hi experts !,
    as per my requirement i want to disable delete and block button in me23n . for this i wrte my logic but problem
    is when my logic satisfies then i want to disabele those two buttons . those block button function code is 'MEPO1211LOCK'
    if it is screen field we can use loop at screen and input = 0 . but here it is funtion code how to disable this funtion code as per
    condition .
    i tried this  SET PF-STATUS ' pf status name ' EXCLUDING ' fucntion code name  '.  also but not working ..
    if any one have any idea pls share ......

    Hello Experts,
    I have similar requirement. Please help....

  • Analyzer API command to disable Navigate and Open button

    Hi,I would like to pass the parameters to Analyzer Java Web Client to disable Navigate and Open button.Is there any posibility in Analyzer API to do this?Thanks,Grofaty

    Hi,My system is:- Essbase 6.5.3- Analyzer 6.1.1

  • Disabling 'Change' and 'Delete' button in Attachment List in ME52N

    Hi Friends,
    The reuqirement is this:
    A user attaches doucments  ( using the Generic Object Services to attach document ) while creating/changing Purchase Requisition (ME51N / ME52N).
    Now when any user goes to see the docuemnts attached to the PR, he selects the 'Attachement List' from the context menu, he should only be able to read it and should not be allowed to change or delete the document. For this we need to disable the 'change' and 'delete' buttons from the toolbar.
    Awaiting your response.......
    Regards,
    Fawaz

    Hi,
    Probably you have uncommented the call to super class when you reimplement the method on child class (z class)
    I just implement the same thing now and it worked for me. Take a look:
    1 - Modify the SGOSATTR table by SM30, just write a Z class (in my case CL_GOS_SRV_ATTACHMENT_CREATE) .
    2 - Create/inheridt a subclass (not a copy) in SE24 of the standard class.
    3 - Implement the method CHECK_STATUS in the z class. Note that the call to method on super class came commented. You only uncomment if you want to also execute a standard code in the super class.
    Here is my code:
    method CHECK_STATUS.
    NOTE - In my real implementation I have uncommented the code below because I want do standard code be executed before my own check.
    *CALL METHOD SUPER->CHECK_STATUS
    EXPORTING
       IS_LPORB  = IS_LPORB
       IS_OBJECT = IS_OBJECT
    IMPORTING
       EP_STATUS = EP_STATUS
       EP_ICON   = EP_ICON
      Check for BUS2012 = Bussinnes Object for Purchase Order
      IF IS_LPORB.TYPEID = BUS2012
      Check authorization and disable create attachment item if the user does not have authority...
    IF IS_LPORB-TYPEID = 'BUS2012'.
    AUTHORITY-CHECK OBJECT 'Z_MM001' ID 'ACTVT' FIELD '01'.
      IF sy-subrc <> 0.
        ep_status = mp_status_inactive.
      ENDIF.
    ENDIF.
    endmethod.
    Regards,
    Alexandre

  • Disabling 'Change' and 'Delete' buttons in Attachment List in ME52N

    Hi Friends,
    The reuqirement is this:
    A user attaches doucments ( using the Generic Object Services to attach document ) while creating/changing Purchase Requisition (ME51N / ME52N).
    Now when any user goes to see the docuemnts attached to the PR, he selects the 'Attachement List' from the context menu, he should only be able to read it and should not be allowed to change or delete the document. For this we need to disable the 'change' and 'delete' buttons from the toolbar.
    Awaiting your response.......
    Regards,
    Fawaz

    Hi,
    I have solved the issue Alhamdulillah by the foll. method:
    1. Copied CL_GOS_SRV_ATTACHMENT_LIST to ZCL_GOS_SRV_ATTACHMENT_LIST
    2. In ZCL_GOS_SRV_ATTACHMENT_LIST there is a method called: CHECK_STATUS. I overwrote with my check;
    on_mode_changed( 'D' ). --- For display
    on_mode_changed( 'E' ). --- For edit mode.
    3. In SGOS tcode, added VIEW_ATTA to point to ZCL_GOS_SRV_ATTACHMENT_LIST
    Regards,
    Fawaz

  • Adobe Reader X:Recurring issues with print and save requiring reinstalls

    One of our staff has recurring issues with PDF print, view, save.  These issue are temporarily resolved by re-installing the Reader from the Adobe website.  No error messages are displayed - the functions just cease to work.  In the most recent iteration of the issue a document attached to an email could be saved (right mouse click, save as) within the email program but not within the Reader itself. 
    It appears that Reader is getting corrupted - but by what?  This individual does a lot of downloading of web published PDFs - a possible source but one I can't confirm. 
    Information on a permanent resolution or known cause would be greatly appreciated.

    Thanks v much Twilight - once I had posted the question I saw the same issues were posted by another.
    I'll try the print as image under the advanced print tab and see how I get on with that. Hopefully Adobe will bring out a fix soon.
    Thanks again.
    Cattswood

  • Archive and print and archive buttons not active

    I create a smartform and join it in sap. It is transection me9a.
    The problem when I run the program comes printpreview. There are two button that "Archive" and "Print and Archive". But they are not active. I wan to use them. What sould I do?

    Pass the below parameter to smartform function module,
    Ex,
    EXPORTING
                    control_parameters = control_param
                    output_options     = output_opt
    Check the below structure:
    data:  control_param    type ssfctrlop,
             output_opt       type ssfcompop.
      control_param-no_dialog = 'X'.
          control_param-preview = 'X'.
          control_param-getotf = ''.
          output_opt-tddest = 'LOCL'.
          output_opt-tdnoprint = 'X'.
    Similarly chack the other structure <b>ssfctrlop</b>
    Just a rough idea given above.
    Close the thread if your question is answered.
    Regards,
    SaiRam

Maybe you are looking for

  • Java/Active Directory problem

    I have a strange problem. We have an application that we login to through a website. The application requires Java 1.42_9 to run properly. These workstations came from Dell with java 1.50_6 preloaded which I removed infavor of the required 1,42_9. Ev

  • I launched LR5.6 this morning.

    It wanted to know where to create a catalog. I've found several catalogs, but the latest is in July. I had closed and backed up my Lightroom last night. Where is my latest catalog? I did a Windows search for *.lrcat and I see four catalogs, the lates

  • Nokia 6300 d worst phone i've ever had

    hello ppl, i bought 6300 last year in may, after few months it started with random reboots, nokia care ppl kept it for about a month, after few days it was back again with reboots!! now the situation is so dat, the phone doesn't start even! the scree

  • What are the benefits of upgrading into a wireless n router

    Hi. I was thinking of upgrading our router into a wireless n router from linksys as well. I also need to upgrade our adapters so it could make use of the wireless n network

  • ISE Alarm: Warning: Profiler Queue Size Limit Reached

    Anyone know what this error means and more importantly, is it anything to really be concerned about?  We started receiving this today for one of our PSNs and have been getting the alert every five minutes.  There hasn't been any 'known' impacts from