PDF Optimizer and Java Scripts

We have a custom Java Script that is at the bottom of each page of certain PDFs.
The Java Script is setup to print the date on the bottom of each page if a selected PDF is printed to hard copy.
Our problems lies in the fact that after adding the Java Scripts, the PDF optimizer doesn't seem to optimize the PDF at all.
We are still talking about 6MB+ PDF files. When I look at the AUDIT feature in the PDF optimizer, the biggest offender is Fonts.
I have messed around with tons of settings inside of the PDF optimizer and nothing seems to work.
We are using Adobe Acrobat Professional 7.1.0.
Thanks,
Bill

You might also look at Adobe's FDF Toolkit.
http://partners.adobe.com/asn/developer/acrosdk/forms.html
This is excellent if you just want your users to be able to fill out an html form and put the data values into a PDF document.

Similar Messages

  • Need flash player 8 and java script enabled to play videos on ipad, need help please.

    need flash player 8 and java script enabled on my ipad in order to view videos.  please help.

    iPads do not directly support Flash.
    You can look for Flash Browsers in the App store for some options to try. Support is not 100%, but maybe one may work for you.  Browsers like Puffin, Skyfire, Photon etc...
    IPads do fully support JavaScript.  Just make sure its turned on under Settings->Safari->Advanced->JavaScript.
    If you require Java, which is completely different to JavaScript, again there are some browsers in the App store that support it.  Search for "Java browsers" in the store.

  • I need to apply for a job but I'm told I need to enable cookies and java script, how do I do that?  I can't find it in system preferences

    I need to apply for a job but I'm told I need to enable cookies and java script, how do I do that?  I can't find it in system preferences
    I just updated to the new operating system which i'm starting to think was a bad idea, because it reset all my settings and I don't know how to fix them.

    so when I go to safari>preferences>security>uncheck box labled enable java script  links on webpages don't work and pictures and links son't want to appear on websites.  this made it so webpages don't want to work past loading the content in text format.  I have to check enable java script to go the webpages to work right so images and links work again but when I try to apply for this job the error message pops up saying I need to enable cookies and java script.
    SO I GUESS MY QUESTION IS IF JAVA SCRIPT IS ALREADY ENABLED HOW TO I ENABLE COOKIES?

  • Where can I download the last version that allows images and java script to be turned off?

    Due to my often slow connection I must have the option to turn off "automatically download images" and Java script. Firefox 23 does not have those options. Where can I download version 22 or whatever the latest version is that allowed these options?
    Thanks

    The Quickimage add-on doesn't work well at all, it gets stuck in the image off mode and will not switch back even after rebooting Firefox. Version 23.0 of Firefox is also very slow on my computer.
    I really need to find an older version of Firefox. Any idea where to download version 22 or earlier?

  • Need flash player 8  and java script

    why i try to open a videos from mac tube why is it showing i need a flash player 8+ and java script .

    iPads do not directly support Flash.
    You can look for Flash Browsers in the App store for some options to try. Support is not 100%, but maybe one may work for you.  Browsers like Puffin, Skyfire, Photon etc...
    IPads do fully support JavaScript.  Just make sure its turned on under Settings->Safari->Advanced->JavaScript.
    If you require Java, which is completely different to JavaScript, again there are some browsers in the App store that support it.  Search for "Java browsers" in the store.

  • Saving form field data with Adobe Reader and Java script.

    We would like to create some customized PDF documents with pre filled form  fields for our customers. The documents will also have extended Java script  functionality to check some entered data and to save the form data to a local  disk.
    Our customers will need to click on their personalized link on our web page  and then download a pdf document with personal pre filled form fields  specifically for that customer.  From our site the PDF file will be dynamically  created and partly filled out with our web application. (The application uses an  external PDF library for the pdf creation).
    They would then need to be able to edit the form fields and save/export  them as a pdf whilst offline.
    The saving/exporting of the data should be implemented by the extended Java  Script functionality (http://www.adobe.com/devnet/acrobat/pdfs/js_developer_guide.pdf). Once the data has been edited they will send the pdf file directly back to  us.
    The issue we have is with regarded to teh EULA for Acrobat Reader. If we  create those documents with an external application is the user allowed to open  those PDF files with his Adobe Reader without breaking the Adobe Reader  Restrictions in the EULA for the Reader?  (http://www.adobe.com/products/eulas/pdfs/Reader_Player_AIR_WWEULA-Combined-20080204_1313.pdf, chapter 3.2 Adobe Reader  Restrictions)

    Hello,
    the problem which I have pertains only to the Adobe Reader. Because
    our user will use Adobe Reader to open our pdf documents but it looks
    like that the EULA for the Reader doesn't allow the user to open pdf
    files which have the extended option to save data out of the form
    fields unless!! this feature was created by an adobe product. But I
    created the pdf file not with Adobe. So I don't want our user be punished...
    It is actually a question of the law? departement of Adobe. But there
    is no Forum for that
    Or could you please forward my forum question to somebody of this department.
    I don't want to publish a product where the user breaches the EULA
    every time they are opening it
    Regards
    Niels

  • In pdf file need java script to clear cache before launch of web link

    using adobe acrobat XI - have pdf file with link to external web site.
    When creating the link in the link properties selected action Run a JavaScript  the following java script was added to ensure will open in new window. app.launchURL("http://google.com", true)
    this works most of the time except with some users - if those users clear their browser cache first then it works
    Is there anything that could be added to the java script to ensure the browser cache is cleared or not used before the launch action? or any other suggestion to ensure the link will always open in new window?
    Thanks,
    Jackie

    thanks for your prompt reply.
    Was hoping maybe there would be someway to clear the cache for the users
    without them having to do anything.
    Appreciate your help.
    Jackie
    Thanks,
    Jackie
    276.783.6991 x 326

  • I upgraded to Firefox 8.0 and java script no longer works. I set the options to allow java script in the tools/options to allow java script but it still doesn't work. Are there any fixes?

    I support several web sites that I developed for clients and I use java script to manage/show slide shows. After upgrading to 8.0 my scripts don't load. When I click on preview on my web development tool my page will not load the java script - nothing shows on te screen. All used to work OK and still works in IE.

    Thanks for the response, Karsten,
    However, no Divx 5 Component but I did have a Divx Decoder Component and a Divx 6 Decoder Component, so I tried what you suggested anyway with those but to no avail.
    Still not working!
    Regards,
    John

  • Java server pages and java script

    sir i want to know that is it possible to call the functions define in the jsp tag
    <%
    %>
    in the java Script tag?
    how can i call jsp function in html

    There may be a way, but if so, it's very obscure.
    JSP functions are executed by the server prior to delivery of the web page to the web browser. Javascript functions are executed by the web browser on the web page. In order to get Javascript to call a JSP function, Javascript will literally have to request a new web page from the server (thus forcing the server to execute the JSP code).
    However, it is very easy to write functions in Javascript and it may be possible to do what you're trying to do without using JSP at all.

  • Yelp is not working properly, and I have been advised to enable cookies and Java Script. I have been trying for 1 hour using suggestions that don't work. Help.

    Someone suggested to go to firefox > options> content > and then there is supposed to be a button that enables Java Script. It is not there. Where did it go, please? The cookies problem I have no idea how to address. Have not gotten past the Java Script problem yet. I have updated Java many, many times in the past couple of months at the suggestion of Avast.

    You can check on the <b>about:config</b> page if the javascript.enabled pref is set to true.
    *http://kb.mozillazine.org/about:config
    You can try basic steps like these in case of issues with web pages:
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and the cookies from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How to use HTML and Java Script files in Portal

    Hi,
    I am trying to access a web application using iViews. My application contains JSP,HTML,Servlets,JS(java script), image files. I am using JSPDynPro to access the JSP files and I am putting servlets in the private/lib folder of the PORTAL-INF dir of Portal project. Now my problem is almost all the JSP files uses the HTML files, JS files and image files. Where can put these files in the portal project dir structure to give access to the JSP files when i am creating a iView for the JSPDynPro componenets in the irj.
    thanks,
    Ashok

    Hi,
    JSPDynpage is the controller, one JSPDynpage can call more than one jsp file according to the coding. Through the JSPDynpage's setJspName() function only you can display a jsp page.
    EX:
    public void doProcessBeforeOutput() throws PageException {
      this.setJspName("logon.jsp");
    if you put the JSPDynpage in the src.core then the JSPDynpage can be accessed only by this application.
    if you put the JSPDynpage in the src.api then other applications can access this component.
    You can put the jsp pages in the pagelet folder.
    xml file
    =========
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <application-config>
        <property name="SharingReference" value="com.sap.portal.htmlb"/>
      </application-config>
      <components>
        <component name="jspdynpage name">
          <component-config>
            <property name="ClassName" value="package name.jspdynpagename"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
      </components>
      <services/>
    </application>
    REWARD USEFUL ANSWERS

  • Visual Web JSF and Java Script problem

    Hi i am using Visual Web JSF for development in my project. AJAX to update data from server when users enters data in one text box its an chat application. i am getting data from server but unable to update my <webuijsf:textarea> component with the new data on my chat page ... I am facing another problem in java script that it is not accepting relational operators (< . >) in JSF Application.... i am attaching some code here for reference...result =http.responseText.split(","); /// this is the response text from AJAX based call
    var obj=document.getElementById('form1:chatter_box'); /// this text area is to be updated...
    var txt=document.createTextNode(http.responseText);
    ///document.getElementById('form1:chatter_box').innerHTML = txt;
    for(i=0;i < size;i++){
    var txt1=document.createTextNode(result);
    obj.appendChild(txt1);

    Try changing onclick to onClick and try...
    regards
    shanu

  • Problem with Html field naming and java script

    Java Script which references html fields uses the
    notation "document.form[0].field". JATO generates field names which
    include the page (view bean). A dot is placed between viewbean name and
    field name(viewbean.field). However "document.form[0].viewbean.field"
    doesn't work as a reference. I'm not a java script person. Am I
    missing something?

    that's correct. You can use the below code for AJAX request.
    <script type="text/javascript">
    var httpObject = getHTTPObject();
    //create XMLHttpRequest object
    function getHTTPObject() {     
         var xmlhttp;
         if (window.XMLHttpRequest) // if Mozilla, Safari etc
              xmlhttp = new XMLHttpRequest();
         else if (window.ActiveXObject){ // if IE
              try {
                   xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
              catch ( e ){
                   try{
                        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
                   catch ( e ){}
         return xmlhttp;
    //define the function to send the request
    function sendRequest(){
        var currDesc = document.getElementById("description").value;
        var URL =  "manageMaintAction.do"; //action mapping in your struts-config
        var queryString = "currDesc="+escape(currDesc); //get the currDesc value in your action class like request.getParameter("currDesc")
        httpObject.open( "Post", URL, true );
        httpObject.onreadystatechange = cbFn;
        httpObject.setRequestHeader( "Content-Type", "application/x-www-form-urlencoded");
        httpObject.send(queryString);
    //callback fn
    function cbFn() {
        if (httpObject.readyState == 4)
             if (httpObject.status == 200)
              var result = httpObject.responseText;
              alert(result);
    </script>

  • Firefox 14..0.1 and Java Script errors

    Since I updated Firefox t0 14.0.1 I've been plagued with script issues which I've already posted but no fix so far. Now I keep received Java Script issues and can't access the page/website that needs them.
    I've checked all the suggested things that could cause this issue but none of them help.
    Firefox is up to date.
    Java is up to date.
    Flash is up to date.
    Any suggestions for fixing this are appreciated.

    Do those messages show which script is causing the problem?
    That might give an indication of the source of the problem.
    I assume that you've already tried Safe mode?
    *http://kb.mozillazine.org/Safe_Mode
    Try to create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    *https://support.mozilla.org/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If the new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • HELP!!!!! JSP and Java Script

    Hi,
    I have a JSP file that I need to create 3 drop lists (choice list). If one of these 3 choice lists is selected, then the other 2 need to deselected and disabled. I need help with the code.
    Do I use JavaScript or Java? Below is the html code. I would really appreciate any help on this.
    Thanks,
    BK
    <!--
    Refer to the directory gary/reportingstd/getReqs.jsp to see how to get the value from the
    choice list and other fields.
    -->
    <html>
    <head><title>New Window Example</title>
    <STYLE TYPE="text/css" >
    td { font-size: 11px }
    th { font-size: 11px }
    body { background-color: #666666 }
    </STYLE>
    <SCRIPT>
    /* When press CANCEL button, the dialog box disappears. */
         function Closer()
              window.close();
         function checkForm()
         var f = document.queryForm;
    * Checks if an account number is entered. If not, an error message dialog pops up
    * to the user.
    * Checks if a business unit was chosen. If not, an error message dialog pops up
    * to the user.
         buChoice = f.buList.selectedIndex;
              if (f.buList.options[buChoice].value == "")
                   alert("Please choose a business unit.");
                   f.buList.focus();
                   f.toDate.select();
                   return false;
         * This <code>statusMsg()</code>is to give the user feedback while data is being entered by
         * creating a status message. This script lets you modify what is displayed in this bar,
         * giving you the ability to send messages to the user while he interacts with filling out
         * the fields.Status Messages are the phrases you see in the status bar at the bottom of a
         * window or dialog.
         * For instance: For the account number text field, as long as the cursor is in this text
         * field of Account #, there's a message at the bottom of the dialog box informing, " Enter
         * only numeric characters."
         * @param msgType
         * @ mesage the data structure to store the messages sent to the users
         function statusMsg(msgType)
    var message = "";
    if (msgType == "integer")
    message = "Enter numeric characters.";
    if (msgType == "integerDate")
    message = "between 1990 and 2010";
    if (msgType == "ListBU")
    message = "Choose which BU?";
    if (msgType == "ListMonth")
    message = "Choose a month."
    window.defaultStatus = message;
    window.status = message;
    </script>
    </head>
    <body onFocus="statusMsg('')">
    <FORM NAME= "queryForm" onSubmit = "return checkForm()" ACTION="Welcome.html">
    <TABLE Border="0" cellspacing="2" cellpadding="4">
    <TR>     
    <TD ALIGN=left>Company Code:</TD>
    <TD WIDTH="20%"><SELECT Name=choiceMonths1 size=1 onFocus="statusMsg('ListMonth')">
    <option value="" selected>
    <OPTION Value="01">01
    <OPTION Value="02"> 02
    <OPTION Value="03"> 03
    <OPTION Value="04"> 04
    <OPTION Value="05"> 05
    <OPTION Value="06"> 06
    </SELECT></TD>
         <TR>
         <TD ALIGN=left>RegionID:</TD>
         <TD><select name=buList onFocus="statusMsg('ListBU')"> // onChange = "selectionMade()"
         <option value="" selected>
         <option value=Norht ALIGN="left">North
         <option value=East ALIGN="left">East
              <option value=South ALIGN="left">South
         <option value ALIGN="left">North</select></TD></TR>
    <TR>
         <TD ALIGN=left>Business Unit ID:</TD>
         <TD><select name=buList onFocus="statusMsg('ListBU')"> // onChange = "selectionMade()"
         <option value="" selected>
         <option value=TBR ALIGN="left">TBR
         <option value=BAL ALIGN="left">BAL
         <option value ALIGN="left">ABH</select></TD></TR>
    </TR></TABLE>
    <TABLE>
    <tr>
    <TD><INPUT TYPE=submit Value=Submit></TD>
    <TD><INPUT TYPE=button NAME=btnClose VALUE=Cancel SIZE=20 ALIGN= center onClick="Closer()"></TD>
         <TD><input type=reset VALUE= Clear Query SIZE=20 ALIGN= right></TD></TR></TABLE>
    </FORM>
    </BODY>
    </html>

    What i've done in the past in this same situation is to use radio buttons alongside my dropdown lists. Whenever a radio button is selected, the corresponding dropdown list is enabled, and the other lists are all disabled. Not too hard to implement in Javascript either. Use an onClick() and set the other fields to disabled, using document.form.field.disabled = true. (and obviously, set the one you want to disabled = false). But obviously, you're still going to want to know which one to retrieve later, right? Use a hidden tag and in the same Javascript onClick, you can dynamically set the variable to whatever you want. Here's a pretty compact example using 2 fields
    function enable(field)
         if(field == "firstName")
              document.myForm.firstName.disabled = false;
              document.myForm.lastName.disabled = true;
              document.myForm.searchBy.value = "firstName"
         else
              document.myForm.firstName.disabled = true;
              document.myForm.lastName.disabled = false;
              document.myForm.searchBy.value = "lastName"
    }Or something like that. Yeah, I know it's not the greatest javascript in the world, but i was just simplifying things to give an example. Hope this helps somewhat :)
    Simon

Maybe you are looking for

  • Sparse Dynamic Calc Member

    All, Is it better to have a sparse store member and calculating in Calcscript/Rule or sparse dynmic calc member with formula? Thank You

  • "Message number: FI311: Any commitment item has been entried in the positio

    Hello, when I try to post a customer invoice with fb70 tx , and I have created a derivation rule : cost center-->fund center, and also the G/L account that I am using in the posting has a commmitment item assigned , but the system shows the next erro

  • How can I reset and clear my iphone with no wifi

    How can I reset and clear m iphone without any wifi

  • Error message when playing iPlayer

    Hello, I recently purchased  Apple TV and have been trying to play iPlayer via my iPad 2 since, without joy.  iPlayer doesn't recognise it (the Airplay symbol doesn't pop up) and when I tried to stream 4OD it showed the message "an error occured".  A

  • Activity Type cost allocation

    Hello, I have an activity type for labor which i have setup in the routing of a BOM and have maitained the cost in KP26.   When I check the itemization costs in the production order, it displays the cost of the labor.  I issue and recieve the order,