How to disable the print option in A. Reader (using JavaScript)

I need be able to disable the print option from JavaScript code. I know that the print option can be disabled in the
"File > Form preferences > PDF Security" option in the main menu but i need to do this from a script into the document (
preferably using the JavaScript language).
Thanks in advance!
Dan

HI!
I have the same problem =)
I have fixed this issue using the "app.fs.isFullScreen = true;" statement.
Doing this you don't see toolbar anymore.
You can use "hideToolbarButton" instruction and, maybe, you can obtain a more interesting result.
Below there is a very interesting document:
http://partners.adobe.com/public/developer/en/acrobat/sdk/5186AcroJS.pdf
I'm sorry for my poor english :-)
Bye,
Roberto (from Italy)
Ps= Do you know how I can obtain a list of required fields in a form?
thank's!

Similar Messages

  • How to disable the print option in A. Reader (in JavaScript)

    I need be able to disable the print option from JavaScript code. I know that the print option can be disabled in the
    "File > Form preferences > PDF Security" option in the main menu but i need to do this from a script into the document (
    preferably in JavaScript language).
    Thanks in advance!
    Dan

    HI!
    I have the same problem =)
    I have fixed this issue using the "app.fs.isFullScreen = true;" statement.
    Doing this you don't see toolbar anymore.
    You can use "hideToolbarButton" instruction and, maybe, you can obtain a more interesting result.
    Below there is a very interesting document:
    http://partners.adobe.com/public/developer/en/acrobat/sdk/5186AcroJS.pdf
    I'm sorry for my poor english :-)
    Bye,
    Roberto (from Italy)
    Ps= Do you know how I can obtain a list of required fields in a form?
    thank's!

  • How to change the print page setup in IE using javascript

    dear all,
    I want to take print out envelope paper size, so i want to chnage the page setup in IE
    i want to change the print page setup in IE using javascript

    I think, you can do this using CSS.
    http://support.sas.com/rnd/base/ods/templateFAQ/Template_csstyle.html

  • How to disable the printer's color management in Photoshop CS5 with Mavericks?

    Hi there, does anyone know how to disable the printer's color management in Photoshop CS5 with Mavericks? There doesn't seem to be an option. Could you help? Many thanks

    Just select Photoshop Manages Color, and the printer driver color options should be disabled.

  • Using an Epson 3880, how to disable the printer's color mgmt in the Photoshop CC print settings dialogue box?

    Using an Epson 3880, how to disable the printer's color mgmt in the Photoshop CC print settings dialogue box?

    Just select Photoshop Manages Color, and the printer driver color options should be disabled.

  • How to disable the select options button, while audio is playing in the question template in captivate 8?

    How to disable the select options button, while audio is playing in the question template in captivate 8?

    Apologies for late reply.
    I mean "On Question screens audio keeps on playing even after we have selected an option or options depending on the question type and clicked Submit. How do we stop the audio on selecting an option?"

  • How to enable the printer option in print priview screen in script

    Hi All,
    Please tell me how to enable the printer option in script print priview screen.
    Thanks & Regards
    Murali

    hi
    the print option TDNOPRINT has to be intial  (' ').  NOT 'X'
    TDNOPRINT  CHAR  1  0  No printing from print preview
    this will do.
    Gr., Frank

  • How to find the font and replace another font using javascript in illustrator?

    Dear All,
    how to find the font and replace another font using javascript [batch process] in illustrator?
    i have 700 image file, it very deficult replace one by one.
    regards,
    .Suresh.S

    Ask the creator of the file for a unprotected version.

  • How to default the print options to the excel output

    Hi,
    We have a requirement to default the print options in the output of the report and the output is of excel type.
    Basically I need excel out put, which should be printed on Letter size paper and orientation should be landscape.
    For this I created a RTF template keeping orientation as landscape. I've loaded the xml data and see the output in excel. But the problem come when view print preview. By default it shows the preview in portrait orientation and scaling set to 'Adjust to 100% normal size'. Because of this my report is not getting printed in a single page. Manually If I change the orientation to landscape and scaling to 'Fit to 1 page(s) wide by 1 tall', the report prints properly. so how to default these properties while generating the output itself?
    Thanks,
    Vijay

    I got a work around for this. Instead of using RTF template, I used Microsoft Excel itself as template and did the formatting in excel.
    thanks,
    Vijay

  • HOW TO DISABLE THE SAVEAS OPTION OF A BROWSER?

    Hi all,
    Nice to be back again folks.....
    Well I need to develop an Applet (perhaps even a swing) which when loaded by any browser would disable the SaveAs option of the browser's File menu.
    I tried using the Frame class of java.awt package, the code is:
    import java.awt.*;
    import java.applet.*;
    public class WinAppl extends Applet
    int mc;
    String str="NO OF MENUS: ";
    Font fnt=new Font("Arial",Font.BOLD,12);
    MenuBar mb;
    Frame frame=new Frame("SNODX");
    Window window;
    public void init()
    frame.setBackground(Color.red);
    frame.setForeground(Color.black);
    this.setFont(fnt);
    mb=frame.getMenuBar();
    if(mb!=null)
    mc=mb.getMenuCount();
    str+=mc;
    else
    str+="ZERO";
    public void paint(Graphics g)
    g.drawString(str,50,50);
    but when this applet is loaded ALL the menus of the browser disappear .i.e when this frame applet is loaded by the browser only the title bar of the browser and a red colored window appear, no menus. I dont want all the menus to be hidden, just the SaveAs option of Browser's File Menu to be disabled.
    Thanks in advance.
    True to my nature I am posting this question in some of the other Java forums as well. And as usual sorry for the multiple postings.
    snodx

    Applets usually have absolutely no control over the browser they are running in (with the exception of loading other web pages and other very high level stuff). You won't be able to write an applet that disables entries in the menu bar. And even if you could it wouldn't really help you because most browsers write everything they download to disc (to the cache) where it can be recovered by anybode.
    Last but not least: there are lots of tools for mirroring web sites that will allow users to download and save anything that is accessible for browsers.
    However, you may be able to disable the menu bar and perhaps even change entries in some browsers like ie by activeX controls or javascript. Still this is not a very friendly way for a website to behave...

  • How To: Disable the Print button until Required Fields are filled out

    I have a PDF Form that I have created using LiveCycle Designer 8. On my PDF Form, I have a bunch of fields that are required. Is it possible to disable the Printer button until the user fills out all the required fields? We don't want a user being able to print out an incompleted form.

    It's not possible.
    However, you can create buttons on your document that "help" the user print
    just a part of the document: a certain page range, just the current page,
    etc.

  • How to setting the printing option in javafx 2.1 or later?

    Hi,
    We need to printing pdf document in our project, it's can use the open source to do it now, but it's has some problem when running the program in other pc.
    Step 1, It's setting the program with full screen in our program.
    Step 2, In the button event, we call JDK swing print dialog to setting the page option.
    They will not bring the swing frame to front, and the Javafx program unable to response cause by the swing printdialog.
    If anybody know how to deal with the paper option setting by Javafx, Please help me, thanks a lot.

    Vibhor - You are developing using the Oracle Application Express facility running on Oracle Database 10g Express Edition. You can export applications you develop there for use on Oracle Application Express versions 2.0 and higher which can be used with Oracle Database server versions 9.2.0.3 and higher.
    Electing to install an application as Run Application Only will prevent the editing of the application definition by the end user. This can be useful if you assume that the end user will have access to the Application Builder in his database, which is likely if the end user's database is Oracle Database 10g Express Edition (XE). However, there is no way to prevent an XE user from having complete control over applications installed into those databases. If the end user's database is not XE, then only an Oracle Application Express site administrator will be able to change the application's Run Application Only setting to Run and Build Application but all developers with developer accounts in the Application Builder will be able to view and edit the application definition.
    Further, when you say "he can easily access my code", remember that the application definition is contained completely within the export file that you distribute but you may have in mind your PL/SQL source code as well. PL/SQL can be wrapped using a utility to make it more difficult to see in clear text.
    Scott

  • How to disable the "close" option of the Explorer from an applet

    Hi, i'm developing a little applet an i would like to know if it is posible to disable the options of maximize, minimize and close of the Internet Explorer from the applet code. If it is posible how?
    Thanks.

    If you disable the close funstion, the user would need to reboot their machine to close the browser. Even if it is possible, it seems dangerous.

  • How to disable the print "ALL" feature for users?

    Is there a way to limit the user from printing an entire Adobe Acrobat  document by accident.  We have many documents that are 50 pages and more  and often times, the user only needs to print several pages but because  of CCS (Continual Clicking Syndrome), they blast right through the  print menu and send the whole document to the printer. 
    The easiest way would be to disable the "ALL" feature (radio button) in  the "Print Range" field.  However, I do not know if that is available or  if there is code I can enter in each document.

    It's not possible.
    However, you can create buttons on your document that "help" the user print
    just a part of the document: a certain page range, just the current page,
    etc.

  • How to disable the sizing option in docking container

    Hi experts,
    I have created a grid in a docking container ( cl_gui_docking_container ) which will appear on the selection screen, docking at the bottom. The requirement is to disable the resizing functionality of the grid when I use the sizing arrow with the mouse on dragging. Ideally I am able to expand the grid vertically covering the selection parameters. This option has to be disabled. Please suggest any options for the same.

    CREATE OBJECT r_dock_container
        EXPORTING
       side                        = cl_gui_docking_container=>dock_at_right
          extension                   = 780
          caption                     = 'Materials'
        EXCEPTIONS
          cntl_error                  = 1
          cntl_system_error           = 2
          create_error                = 3
          lifetime_error              = 4
          lifetime_dynpro_dynpro_link = 5
          OTHERS                      = 6.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF
    I think extension my help..  

Maybe you are looking for

  • ITunes will not open in Windows XP Media Center

    I have had my computer (Compaq SR1850NX) for over 6 months and ran iTunes flawlessly on it since then. I recently restored and formatted my computer and now when I attempt to use iTunes it will not work. The install process works fine with no errors,

  • My ipod isn't being read by any computer

    I have an Ipod classic. It stopped being read by any computer. It still plays music, however, after about 3-4 songs, it takes awhile to play another. I save a few files on it and was wanting to figure out who I could take it to to recover any of thos

  • F.13. Automatic Clearing ... Special G/L transaction

    Hi: I have a problem in FI, and perhaps you know how to solve it. We want to run F.13 transaction, but it does not work for Special G/L transaction (Customer accounts). I have checked data in transaction OB74, and everything seems to be ok. We have n

  • TEXT IN MB21

    HI ALL, IS THERE ANY PROVISION IN CREATING RESERVATIONS- MB21 WITH LONG TEXT. MY USERS ARE SAYING THAT THERE IS SOME REQUIREMENT FOR THEM  TO WRITE THE LONG TEXT IN THEIR RESERVATIONS. PLEASE HELP ME IN THIS REGARD. THANKS AND REGARDS, NAAGSEKHAR.K

  • Dynamic Safety stock

    Hi All, We are recently implemented dynamic safety stock calculation functionality with "Range of coverage profile'. Functionality working fine But client asking for report stating that how much is the dynamic safety stock. Is there any way to find o