Questions
Actividad reciente
The following page stongly suggests that there are three ways to do this: https://opensource.adobe.com/dc-acrobat-sdk-docs/. See "Compress documents" in the Feature Comparision table. It looks like you can do it via DC, PDFL or Acrobat SDKs. I have Acrobat Standard installed on this computer. .Net is my preferred route, but I can use Python or execute a command line program from either of those. Is this possible? If a .Net approach is available, what references do I have to add to my project (which specific assemblies/DLLs)? Ideally someone could provide a *complete* code example. I don't necessarily need to fine tune the compression. I just need functionality very similar to manual "Optimize PDF" in Acrobat Standard. I would like to stay within the Adobe 'ecosystem' and not rely on some third part that may come with issues or unnacceptable (low quality/resolution) output files. Thanks!
Guys can you exapnd your python SDK, I want to compress PDF files using the API.right now I am using GhostScript and python to acomplish it. ThanksEran
I am trying to establish a weighted average calculation where the number of fields that are part of the calculation could vary between 7-10 depending on how many factors get considered. This is for an employee performance review and we've created checkbox groups for each factor. This is the formula currently being used but need to adjust so we can use a variable number of factors to be considered per employee: (0.7 * ((Group1 + Group2 + Group3 + Group4 + Group5 + Group6 + Group7 + Group8 + Group9 + Group10) / 10)) + (0.3 * ((Group11 + Group12 + Group13 + Group14 + Group15) /5)) Any advice?
New York requires the completion of its RP-5217-PDF form for all real estate closings. The form automatically generates a bar code. My office uses Apple/Mac computers and the barcode appears in all versions of Adobe Reader and Acrobat Pro prior to DC. The DC version shows the form without a barcode. The form is found here: https://www.tax.ny.gov/pdf/current_forms/orpts/rp5217.pdf Is there a preference setting in DC that I am missing, or is the form broken for the newest version of Adobe's software on a Mac? Please help.
I have an Avery Label template and lets say there are six labels on a sheet I want to add a print check box on each lable and if the box is checked it will print that particular lable if not it wont. Is that possible?
Hello everyone, I have the following problem.The signature field may only be writable when text1 and checkbox1 are filled in. If not, the message should appear which text/boxes are not yet filled in. Only then can the e-signature be set. I have found this code. The message appears, but it can be confirmed with ok and it is still possible to set the signature. In addition, all required fields are queried. However, only text1 and checkbox1 are to be queried as to whether they are filled. Can someone please help me? Thank you very much. this.getField("Signature").readonly = !validateRequiredFields(this); function validateRequiredFields(doc) {var emptyFields = [];for (var i=0; i<doc.numFields; i++) {var f = doc.getField(doc.getNthFieldName(i));if (f!=null && f.type!="button" && f.required && f.valueAsString==f.defaultValue) {emptyFields.push(f.name);}} if (emptyFields.length>0) {app.alert("Bitte noch folgende felder ausfüllen:\n" + emptyFields.j
I am not sure if this is the correct place to post about this, but here goes nothing... I am trying to extract data from Layers within a PDF drawing into some usable format, JSON, XML etc. I am working on CAD exports of drawings in PDF format. I am able to interrogate the various Layers within PDF XChange Editor, each of which relates to a Reference within the CAD model (Building Outline, Fence, Hedge etc.). I want to be able to extract all of the metadata from each of the Layers and display this in JSON/XML format (Fill Color, Opacity, Stroke Color, Stroke Opacity, Border Width etc.). Please can you let me know if this is possible with the Adobe PDF Extract API or any other API / services? Thanks.
I need to be able to click on one of these numbers; each number will populate a different text into the text box below. I have read many of the Q & A's here are some are close to what I need, but do not work for my specific issue. Any help will be greatly appreciated!
I recently installed acrobat DC, now every file/photo etc on my computer has been converted to adobe and it can't be opened. A pop up box says the files are encrypted. How can I uninstall this and get my files back?
Hello,I'm developing plug-in for Acrobat and Reader and it works fine except one case when user enable Protected mode. Plugin initialization successfully completed but then Plugin unload called and that's it (tested on Reader).Is it possible to third party plug-ins works in Adobe when Protected Mode is on?If this is possible what should I modify in my project that Adobe allow my plug-in works in protected mode?I know that protected mode restrict write rights and to be able to write log it should be stored at Temp folder.
I am the developer of a third party plugin and facing the issue of loading third party plugins into acrobat when the option "Enable Protected Mode at startup" is checked. Can you tell me what changes are required for plugin application to load with protected mode. Can you please tell me where can I find the example for such a plugin in acrobat SDK, I searched the whole sdk(Acrobat SDK 2021), but couldn't find anything related to that. Please help me to find it.your help would be highly appreciated.
Hi,we have an application that connects to Adobe Acrobat via DDE. The connect to the DDE server is fine and also DocOpen works without problems. But we send DocSaveAs it fails on newly installed Acrobat 2022. The same application works fine with Acrobat 2015.Do you know about any changes on the DDE commands?Thanks for your help.
Hi all, I have not long started using JavaScript in my fillable forms, I have found the below script online that locks all fillable fields after a button is pressed & a password is entered correctly (function() { // Prefix for group field names. Change to match what you want to use. // Rename the fields you want to lock to match this prefix (e.g., "SITE.NAME") var f_prefix = "SITE"; // Your chosen password goes here var pw = "1234"; // Get a reference to the first field in the group var f = getField(f_prefix).getArray()[0]; //Determine new readonly state, which is the opposite of the current state var readonly = !f.readonly; var readonly_desc = readonly ? "lock" : "unlock"; //Prompt user for the password var resp = app.response({ cQuestion: "To" + readonly_desc + "the fields, enter the password:", cTitle: "Enter password", bPassword: true, cLabel: "Password" }); switch (resp) { case pw: getField(f_p
Using file base javascript I have creaded some anotations, including a stamp, which becomes an anotation, I want to group them so that they can be selected as a group and deleted in case the user changes his/her mind. I dont know now to do this or if it can be done. In my code I place a stamp and then I create a line and circle. I want them to act as a unit. Thanks.
I have some text fields which act as lines. I have to do this because the line spacing does not match up for the font size I have chosen. I do not want to change the font size nor the lines' spacing. I have not found a way to change a text field's line spacing reliably. What I would therefore like to do is focus the next line (text field) when the user commits their input using the Enter key. Solutions I've found online use some strange work-arounds and have not worked for me so far. The OnBlur event fires only when the field loses focus using the Tab key or the mouse buttons, not when the Enter key is used. My idea was to get the current field's tab number and simply change the focus to the next-greatest one when the user hits Enter. I haven't been able to find any API that returns the tab number, nor one that gets a field via its tab number, which is incredibly strange. I would like to avoid having to specify the explicit field name every time.
Hi, I have a mixture of Word/PDF documents which I would like to print in the right sequence using MS Word VBA. Everything works fine. My code for printing PDF documents using DDE is as follows:Dim RetValDim chanNo'Open Adobe AcrobatRetVal = Shell("C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\Acrobat.exe", vbHide)chanNo = DDEInitiate("AcroViewA21", "Control")'File is opened and displayed with DocOpenDDEExecute chanNo, "[DocOpen(""" & myDoc & """)]"'Print the fileDDEExecute chanNo, "[FilePrintTo(""" & myDoc & """,""" & myPrinter & ""","""")]"'Close PDF fileDDEExecute chanNo, "[DocClose(""" & myDoc & """)]"'Close AcrobatDDEExecute chanNo, "[AppExit( )]" Where myDoc and myPrinter need to be defined. I have read that DDE is now old technology and is only available for backwards compatibility and that OLE should be used instead. I am not a programmer, so I'm not sure how important this is. Can someone please provide an OLE solution to d
Dear Adobe, our company starts blocking java scripts in Adobe (Reader and Pro) how you use calculation fields after that? What is the alternative to javascript? How can these fields be used afterwards? Whats the nextgen for this ? "Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Acrobat Reader\DC\FeatureLockDown " "bDisableJavaScript" "1" kind regardsJohn
Hi ! I cannot create a dynamic stamp, to use in a personalized way, I don't know how to enter the scrip so that the date and time is printed at the time of sealing, helpp
I'm sure this is simple; however I am very new to acrobat and javascript.Here is what I want to do: I have a CheckBox field and a Text field. If the checkbox is "checked" I want to populate the text field with a specific numeric value. If it is left "unchecked" there would be no value or 0 value. Any help is appreciated.
If written the following script and I've found that it's working some of the time but not all of the time. For example when I have the size as 1/6 and the cost anywhere from 275-396 the value should be 7.00 but it puts it as 5.00. When I type 397 it changes to 7.00. I can't determine why it's not calculating correctly every time. var size=(this.getField("KegSize").value);var cost=Number(this.getField("KegCost").value);var ABV=Number(this.getField("ABV").value);if (size="1/6")var product1=Number(cost/640);if (size="1/4")var product2=Number(cost/992);if (size="1/2")var product3=Number(cost/1984);if ((ABV>1)&&(product1>.2))event.value="7.00"; else if ((ABV>1)&&(product1<.2))event.value="5.00"; else if (ABV<1) event.value="";if ((ABV>1)&&(product2>.2))event.value="7.00"; else if ((ABV>1)&&(product2<.2))event.value="5.00"; else if (ABV<1) event.value="";if ((ABV>1)&&(product3>.2))event.value="7.00"; else
If the value from box 1 is greater than the sum that generates into box 2, I need a text box to become visable with a warning in it. Question 1: Do I put the code in box 2 to make the text box pop up or in the properties for the text box?Question 2: Why isn't this working.? var v1 = Number(this.getField(“Box1”).valueAsString);var v2 = Number(this.getField(“Box2”).valueAsString);if (v1 > v2){event.target.display = display.visible;}else{event.target.display = display.hidden;
Updating a customer's old InDesign files. Part of the task is doing a find/replace, swapping out all the old Type 1 fonts (all OfficinaSans) with OpenType fonts. InDesign did that with no problem. BUT! When I export these new files to a PDF and look at the font list, it still shows OfficinaSans as a Type 1 font. Am I doing something wrong, or do I just not understand something fundamental? Incidentally, I not only tried File>Export to a Print PDF ... I also printed to a PS file, and Distilled it. Same result ... PDF looks like all Type 1 fonts.Using Windows 10 ... latest updates of InDesign and Acrobat. Thanks to anyone who can 'splain this to me!
Hi everyone, I would like to embed/upload a 3D PDF with an 3d object in my Angular app. The object can then be saved accordingly in PDF, e.g. be rotated. I haven't found much there at the moment.Is this basically possible with the API / SDK? Thank you.
I have 7 Goups of radio buttons (Group 22 - 27 & Group 36). Each group has 2 choices, YES and NO. What Java Script do I need to make a NO selection in Group 26 automatically make Groups 22-27 show NO? But also not affecting the ability to select either YES or NO in Groups 22-27 should a YES be selected in Group 36. I am NOT a programmer or JAVA user just FYI I have no experience.
Hi, The text callout feature is not working on all the devices. When I use the text callout, the text and the graphics disappear. This behavior is on my devices where Adobe Acrobat Pro is installed. I uninstalled the 32 bit version of Adobe Acrobat Pro and installed the 64 bit version but the problem persists. Thank you for your support to get this issue fixed as it impacts my productivity.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
¿Ya tiene cuenta? Iniciar sesión
¿Aún no tienes una cuenta? Crea una cuenta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.