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.

Similar Messages

  • 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).

  • 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.

  • Adding a print button, a "download" PDF button and a navigation bar in a SWF created by InDesign

    I can't find a way to add "PDF features" on a SWF file exported from InDesign CS5.5 such as:
    - a print button
    - a download PDF button
    - a navigation bar (outside of the pages)
    edocker provides these features but it is pretty expensive and does not allow a lot of customization.
    Would anyone have an idea of how to do it ?
    Thank you.

    eDocker actually allows you to use all the interactive features you can create in InDesign. It kind of "wraps" your exported SWF into a user interface with all those 3 elements asked + more (zoom for instance)
    Check out these links:
    Sample:
    http://www.edocker.com/_demo/edocker-online-demo/index.html
    Workflow:
    http://www.edocker.fi/index.php/en/products/edocker2-desktop-publisher/workflow/

  • Need to print a pdf on button click

    Hi,
    I need to do something similiar to what the code is doing below, except I need to create a button that when clicked will print a pdf. Not sure if it is better(easier) to add the pdf to my library and print that way or just upload the pdf to the server and print that.
    anyway here is the code I have sofar. Not sure exavtly what I need to change/modify.
    package com.wiley.as3bible.printing {
        import flash.display.Sprite;
        import flash.text.TextField;
        import flash.text.TextFieldAutoSize;
        import flash.net.URLLoader;
        import flash.net.URLRequest;
        import flash.events.Event;
        import flash.printing.PrintJob;
        import flash.display.SimpleButton;
        public class Printing extends Sprite {
            private var _printableContent:Sprite;
            private var _textField:TextField;
            private var _loader:URLLoader;
            public function Printing() {
                //Load the text from a text file
                _loader = new URLLoader();
                _loader.load(new URLRequest("http://www.rightactionscript.com/samplefiles/lorem_ipsum.txt"));
                _loader.addEventListener(Event.COMPLETE, completeHandler);
                //Create a multiline text field that autosizes.
                _textField = new TextField();
                _textField.width = 400;
                _textField.multiline = true;
                _textField.wordWrap = true;
                _textField.autoSize = TextFieldAutoSize.LEFT;
                //Create a sprite container for the text field,
                //and add the text field to it.
                _printableContent = new Sprite();
                addChild(_printableContent);
                _printableContent.addChild(_textField);
            //When the text loads add it to the text field and  then print the text
            private function completeHandler(event:Event):void {
                _textField.text = _loader.data;
                var printJob:PrintJob = new PrintJob();
                if (printJob.start()) {
                    printJob.addPage(_printableContent);
                    printJob.send();
    I know the button code should be something like:
    Printbtn.addEventListener(MouseEvent.CLICK,startPrint);
    thanks in advance for any help.

    I see what you are saying. I think I am going about this the wrong way. Really all I need is to upload the pdf to the server, since it is already created, and then in AS3 create a link that will be clickable and will download the pdf, in which case they can just print the download. I know how to do this in HTML, but not AS. Basically, it needs to be the equivalent of <a href="PathtoPDF_File">Click to download file</a>.
    also I have a message window already coded, and within this message window is where I need to add the link:
    package exam {
        import flash.display.*;
        import flash.events.*;
        import flash.text.*;
        //this class is used to create a "pop-up" window to ask users to confirm they want to exit (after clicking
        //exit exam button), and then to report back on how the submission went, and offer to resend if necessary
        public class MessageWindow extends Sprite {
            //VARIABLES
            private var feedback:TextField;
            private var confirm:YesBtn;
            private var quit:CancelBtn;
            private var resend:ResendBtn;
            public function MessageWindow (type:String, unanswered:Number=0, score:Number=0) {
                var bg:Shape = new Shape();
                bg.graphics.beginFill(0xffffff,1);
                bg.graphics.lineStyle(3,0x6fc9f4);
                bg.graphics.lineTo(400,0);
                bg.graphics.lineTo(400,250);
                bg.graphics.lineTo(0,250);
                bg.graphics.lineTo(0,0);
                bg.graphics.endFill();
                addChild(bg);
                var format:TextFormat = new TextFormat();
                format.font = "Verdana";
                format.size = "22";
                format.bold = false;
                format.color = 0x464646;
                feedback = new TextField();
                feedback.width = 300;
                feedback.x = 50;
                feedback.y = 15;
                feedback.wordWrap = true;
                feedback.autoSize = TextFieldAutoSize.LEFT;
                feedback.mouseEnabled = false;
                if (type == "confirm") {
                    feedback.text = "Are you sure you want to exit the exam?";
                    if (unanswered > 0) {
                        feedback.appendText("  You still have "+unanswered+" unanswered questions.");
                    feedback.setTextFormat(format);
                    addChild(feedback);
                    quit = new CancelBtn();
                    quit.setType("cancel");
                    quit.x = 25;
                    quit.y = this.height - (quit.height + 15);
                    addChild(quit);
                    confirm = new YesBtn();
                    confirm.setType("confirm");
                    confirm.y = quit.y;
                    confirm.x = this.width - (confirm.width + 25);
                    addChild(confirm);
                }else if (type == "success") {
                    feedback.text = "Congrats on finishing the exam!\r\nYour score is "+Math.round(score*100)+"%\r\nYou may now close the exam window.";
                    feedback.setTextFormat(format);
                    addChild(feedback);
                }else {
                    if (type == "databaseError") {
                        feedback.text = "Errors occured while saving your data.  Please retry.";
                    }else if (type == "networkError") {
                        feedback.text = "Could not contact the server.  Please make sure you are connected to the internet and try again.";
                    feedback.setTextFormat(format);
                    addChild(feedback);
                    resend = new ResendBtn();
                    resend.setType("resend");
                    resend.x = 200-(resend.width/2);
                    resend.y = this.height - (resend.height + 15);
                    addChild(resend);
    in the else if(type =="success") part in the feedback.text ="" is where I need the link to go.

  • PDF button not enabled in Print dialog box

    When I am in any application that allows printing and I select File > Print, the Print dialog box opens, but I can't select the PDF button (or the Preview button for that matter). I can see the buttons, but they are not selectable.
    I have a $HOME/Library/PDF Services folder set up properly.
    How can I enable the PDF button for printing?
    (And for the quinella, the Preview button in the same dialog box.)

    I am sorry my post got corrupted as these new Discussions format modifications can muck up when using the ~ (tilde) symbol. !!!!!
    What I wanted you to do was go to the Home folder, then Library, then Preferences and locate two files,
    com.apple.print.custompresets.plist
    com.apple.Preview.plist
    and delete those two files in particular, not your document that you are trying to preview. My mistake for omitting this information.
    So please try this suggestion.
    regards roam

  • How to disable print button in outoput screen from vf03

    hi,
    i have a requirement to display error message and, disable the print and print preview button.
    below its the step,
    1)vf03
    2)key in document type
    3)select output type
    4)if there's error, display error message and disable print and print preview button.
    what i have done was
    1) i've put the error message in my 1st part of code,
    *determine discount
    it_zmas-discount = it_zmas-gross_value - zkwert.
    MODIFY it_zmas.
    ELSE.
    MESSAGE ID 'Z0' TYPE 'S' NUMBER '999' WITH 'Please maintain cust pricing grp 34 for ' wa_zmas-matnr.
    p_proc_screen = 'X'.
    ENDIF.
    CLEAR zknumh.
    2)then i set itcpo-tdpreview = ' ' to display my print button after display the error message
    CLEAR itcpo.
    MOVE-CORRESPONDING nast TO itcpo.
    itcpo-tdcover   = nast-tdocover.
    itcpo-tddest    = nast-ldest.
    itcpo-tddataset = nast-dsnam.
    itcpo-tdsuffix1 = nast-dsuf1.
    itcpo-tdsuffix2 = nast-dsuf2.
    itcpo-tdimmed   = nast-dimme.
    itcpo-tddelete  = nast-delet.
    itcpo-tdcopies  = nast-anzal.
    itcpo-tdprogram = sy-repid.
    IF us_screen NE space
    AND p_var EQ space.
    itcpo-tdpreview = 'X'.
    itcpo-tdnoprint = 'X'.
    ELSE.
    itcpo-tdpreview = ' '.
    ENDIF.
    CASE nast-nacha.
    WHEN '1'.
    xdevice = 'PRINTER'.
    itcpo-tdnewid = 'X'.
    itcpo-tdgetotf = 'X'.
    WHEN '2'.
    xdevice = 'TELEFAX'.
    itcpo-tdtelenum = nast-telfx.
    itcpo-tdteleland = us_country.
    itcpo-tdsenddate = nast-vsdat.
    itcpo-tdsendtime = nast-vsura.
    WHEN '3'.
    xdevice = 'TELETEX'.
    itcpo-tdtelenum = nast-teltx.
    itcpo-tdteleland = us_country.
    itcpo-tdsenddate = nast-vsdat.
    itcpo-tdsendtime = nast-vsura.
    3) my last problem its, i am not sure how to disable the print button.i need  to show an error message for my invoice via vf03 when error occur when user click print or print preview button. however with my code above, i am only able to display the error message and disable the print preview.
    could anyone guide me how do i disable my print button? really appreciate your help.
    regards,
    sw

    Instead of disabling the print buttons, you can restrict creating the actual output message for a specific output type.
    You can achieve it by creating the Output Requirement in transaction VOFM. You need to assign this requirement to your Output type. In this Requirement you can check all your conditions. If they all validation pass through than and than create the Output.
    Regards,
    Naimesh Patel

  • Disable printing when exporting to PDF from Indesign

    Hi  I need to create a T&C form which will be emailed out to clients, the sales team have requested that this should be readable but not printable as a PDF in a small step in saving the environment. I actually achieved this last week and now for the life of me cannot work out how to do it again. Would anyone be able to help?  Many thanks, Claire
    NB: unchecking the 'Print Layer' in the Layer Options box does not work, sadly neither does ticking the 'Nonprinting' option in the Attributes window. I have a feeling it was something in the export dialog box but definitely not a security ermissions option as the PDF I created last week doesn't require a password and yet won't print.

    If you're hoping to prevent a PDF document from printing with sneak-around backdoors, you'll be disappointed.
    Anyone who breaks an expensive scanner platen glass by placing or dropping a CRT monitor on it, when following Eugene's illustrated example, might be permanently dissuaded. Making a screen shot with the computer's own tools, or a camera's phone is easier and safer.
    If your hope is simply to always prompt the user to reconsider killing trees needlessly, it may be possible to intercept a print request made from the Acrobat display software in use at the time (Acrobat, Reader, Web browser window, Mac Preview, etc.) and display an alert to think about printing before proceeding. If this kind of print request can't be intercepted, you could consider creating a button in the document labeled "Print," but which displays an alert and gives the option to proceed or cancel. Perhaps there a script solution for what you need.
    If your hope is to make it as difficult as possible for someone to print a PDF, consider converting text to outlines and/or incorporating a patterned background behind text, to disable easy Optical Character Recognition, and to "contaminate" graphics. However, a clever Photoshop user might be able to minimize the graphic pattern.
    NOTE: Enabling Acrobat's security to disable screen readers does not disable the ability to select and highlight on-screen text, but it does prevent copying the text to the clipboard.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    clairecessford wrote:
    Hi  I need to create a T&C form which will be emailed out to clients, the sales team have requested that this should be readable but not printable as a PDF in a small step in saving the environment. I actually achieved this last week and now for the life of me cannot work out how to do it again. Would anyone be able to help?  Many thanks, Claire
    NB: unchecking the 'Print Layer' in the Layer Options box does not work, sadly neither does ticking the 'Nonprinting' option in the Attributes window. I have a feeling it was something in the export dialog box but definitely not a security ermissions option as the PDF I created last week doesn't require a password and yet won't print.

  • Print html to PDF

    HTML to PDF

    If I understand your question correctly, you're trying to figure out how to turn a web page into a  PDF file.
    I don't know any app or alternative way to print a webpage to a PDF on iPad, but you can go to a Mac or PC and download the PDF reader. From there, in the same menu as print you will find, "Print to PDF".
    Sorry :(

  • How do I disable printing of my PDF if a text field isn't filled in?

    Hello all I'm currently trying to find a way to make the print button of my pdf not work if say a necessary textfield wasn't filled in?
    I take it that the standard validation scripts won't work?
    The very helpful fellow from a thread seemed pretty sure it couldn't be done.
    In short in order the print button to work the form must have certain textfields populated with content if the combo box next to them has a certain value selected.
    Say for example
    A text field by the name AIMCode_R1 has no content in it but it's related combobox "Loc_R1" has value 2 currently selected then before printing the pdf must validate that textfield "AIMCode_R1" has content and visversa if "AIMCode_R1" has content then "Loc_R1" must have  value 2,3 or 4 selected before the pdf will allow the user to print.

    In that case all the responses above are incorrect. You can write whatever conditions you want before calling the print command.
    Of course, the user will still be able to print the file using the built-in Print command, in which case you can use some of the ideas mentioned above, but the file will still print. One approach I like to use is to reset the form if some required fields are not filled-in, so the printed copy is blank, and then re-fill it afterwards, so the user can complete it.

  • Print a PDF report having a field(column table) with a HTML code

    hello every one,
    I have a table where a column(varchar2) have HTML code inside it.
    Because all my reports are in PDF format, how can I print this column, when I print in PDF I see all HTML tag and it isn't formatted.
    Have Anyone same problem, could I convert in PDf before I print it?
    Thanks in advance for help

    You need to set "Contains HTML tags" to YES, so that the HTML code is formated in the report.
    It is a property of the field.

  • Can't Print to PDF using Acrobat 8 Prof after deleting demo of v 10

    Hi, I made the mistake of trying version 10 to see if it had any improvements over what I was using v 8.1.5 for, found that there were none, so I deleted it and now I can't print to PDF because it's looking for v 10. Unfortunately had to move recently and can no longer find the original disk to do a new installation. Does anyone know how to redirect the driver to the original v 8? I can open v 8 and everything else seems to work ok, just when I try to print to create a PDF it can't do it.

    Thanks for the quick reply Bill! I had tried that before and tried it again. Finally got things to work by copying all the contents of my Acrobat sub-directory from the v 8 folder to the hollow v 10 folder. Now it works again! Thanks for you help and inspiration to figure this thing out. Am now a very happy camper and didn't need to tear my house appart to find the original disk!

  • I can't print a pdf, don't print the black letters, there is a lot of buttons like space navy ship of NASA

    1.- You gringos, NOT ALL THE WORLD IS THE GARBAGE USA, we need forums in various language, out side, there is a WORLD WITH MANY OTHER COUNTRIES, THAT SPEAK A LOT OF DIFERENT LANGUAGES.
    2.- Why I can't find a simple thing: PRINT IN WHITE AND BLACK... Is that a great thing to ask?
    We don't want a lot of options to print, we don't want print in colors, grays, combinations, etc... WE ONLY WANT ONE BUTTON: "PRINT"
    3.- It's very dificult to find the correcto combination, because you offer a lot of buttons and options...
    4.- I have 4 hours trying to print a simple pdf document... and I can't because NO PRINT THE BLACK LETTERS...
    5.- How can I to do, for a simple print of a document pdf.
    6.- You turned the printing in a trip to the moon, with a lot of buttons, options, combinations... ALL IN ENGLISH, IS VERY INSANE...
    7.- I'm very angry... now I understand to OSAMA BIN LADEN... I DON'T SUPORT THEY, BUT I WISH YOU GRINGOS WILL CHANGE YOUR BRAIN.

    I get the answer, I found the solution:
    1.- At first time, I offer my apologyzes for my offensive words against americans, and people of adobe reader.
    You are not gringos, You are Americans.
    USA is not Garbage, is a great country.
    I found a page of adobe in Spanish, and yes, there is in many other languages pages of adobe reader.
    My PDF is in spanish, thanks american people for create invents, and pages in many languages.
    I'm really sorry for september 11, it was unfair, inhuman, a tragedy. Never again the war, we love peace.
    2.- I was very angry, because I lost money, because I can't finish my work, because I can't print the PDF document.
    3.- The solution was:
    Step 1: down the most recent version of adobe reader.
    Step 2: Choose the option "advanced", and then choose the option: "print like an image".
    YA encontré la solución...
    Paso 1.-
    actualizar a la versión más reciente de adobe reader.
    descargarla, abrirla, e instalarla
    Paso 2.- Volver a abrir el documento PDF, pero con la nueva versión de adobe reader.
    Paso 3.- Ir a imprimir, pero antes de darle aceptar, ir al cuadro que dice: "AVANZADA"
    Paso 4.- Entrar a avanzada, y marcar la casilla que dice "imprimir como imagen". y darle aceptar.
    Paso 5.- presionar el botón de imprimir y listo.
    Muchas gracias por su apoyo.
    PROBLEMA SOLUCIONADO.
    El asunto, era porque no eran letras de caracteres, sino que eran una foto o imagen de letras.
    por eso era necesario escoger la casilla de imprimir como imagen, además de actualizar al nuevo adobe reader.

  • How do I add a "Print this page" button (not just a "Print" button) to a PDF?

    I am creating a multipage PDF in Acrobat Pro 8 for a client and it includes a linked table of contents with several sections and also several forms sprinkled throughout. I need to be able to add buttons that allow the user to print specific page numbers. Is it possible to add a "print this page" button to a page ... or even a "print this form" in case the form within the larger document is multiple pages? I would appreciate any help, thanks!

    I was just coming back to here to say I've figured it out and am using an invisible button (over text that was created to look like a link) on each page... tested and working (when combined with the code). Thank you for your replies!

  • How do I print a pdf form that has no print button?

    How do I print a pdf document that has no print button or name?  It is a Florida form for handicapped drivers.

    When you open a PDF in Reader or Acrobat there will be a Print toolbar button and a File > Print menu item. Other PDF viewers will have much the same.

Maybe you are looking for