Unlock the power of Acrobat SDK through our community.
Recently active
I need to edit a PDF form but when I try to open it in Adobe Acrobat DC, it says I need Adobe LiveWire. I guess the original document was created using this software. I would like to test this before I buy it but apparently there is no free trial available for this software, therefore, I believe my only option is to recreate the form from scratch. I would also like to add a print button and a submit by email button so that someone can either print the document and submit or save it and email it to be printed. As far as I can see, it is not possible to do this in Adobe Acrobat DC. Can someone tell me which Adobe software can help me with these requirements? I believe you used to easily be able to add print buttons to a form using Adobe Acrobat Pro. It is very frustrating that Adobe seems to always take features out of their software. It makes it very confusing for customers to understand which software they need to use as it seems to be constant
Hello,After searching on the forum, i'm asking... hope it will not be duplicate 🙂We are trying to implement AIP/Purview on Adobe Reader.We are under an S3 office365 licence and configured lable policies working fine on office365 tooling. 4 levels emplemented C1,C2,C3,C4.. a classic. I used to test the following website : https://helpx.adobe.com/enterprise/kb/mpip-support-acrobat.html#mpip-labellingThe adobe reader version is I have deployed on my registry the following keys: in Computer\HKEY_CURRENT_USER\SOFTWARE\Adobe\Adobe Acrobat\DC\MicrosoftAIP bShowDMB (Dword) to 1in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Adobe\Adobe Acrobat\DC\FeatureLockDownbMIPLabelling (Dword) to 1in HKLM:\SOFTWARE\WOW6432Node\Policies\Adobe\Adobe Acrobat\DC\FeatureLockDownbMIPCheckPolicyOnDocSave (Dword) to 1 I can see the ribbon on my reader application : But :I can't update or change label. I'm locked. I can't see the "update" but
I have a script made in javascript that works well if I execute manually from each document.But my need is to have this executing on each PDF file open automatically:if (this.xfa !== undefined) { app.alert({ cMsg: "Warning: This document contains a XFA form!", nIcon: 2, Title: "XFA Document Detected" }); } else { app.alert({ cMsg: "This is a normal PDF.", nIcon: 3, Title: "Normal PDF" }); }When I have this script on javascript folder (C:\Program Files\Adobe\Acrobat DC\Acrobat\Javascripts), it doesn't work as expected and there are two behaviours happening:It always goes no "else" condition, even if the file contain XFA form, I guess that happens because "this.xfa" condition is not met. I tried to find in Adobe Acrobat SDK the reference alternatives but I couldn't find a way of solving/finding the reference.If I already have a file opened and try to open a second file, nothing happens. I guess because the script is only valid triggered at A
Has anyone written code to loop thru text (objects/labels? - NOT form fields) to retrieve blocks of text? Looping thru all words is a bit of a kludge - I have code to do this. Acrobat API must have a way to track text objects/labels in a document. Just can't find the right object to reference.
Hi, I have JS that will not work for me. My goal here is insert two PDFs after it find a page with the keyword "Please make checks payable to:". I can do it for a single PDF and add to the last page. The issue here is I can have two or more page with that keyword. I.E. A single PDF with hundreds of pages. the first instance the keyword could be found on page 3. So this is when I would like to add the two PDF then the next instance would be page 5. so this is when would like to add the same two PDFs. And this process would continue until it no long find the keyword. The problem here is all the files are downloaded as one PDF instead of single PDFs. This is my code: // Define the two PDFs to be insertedvar pdf1 = "C:/Users/MyName/Desktop/Billing Test/letterhead.pdf";var pdf2 = "C:/Users/MyName/Desktop/Billing Test/RATE - FY 25.pdf";// Function to insert PDFs after pages with specific textfunction insertPDFsAfterText() {var numPages = this.numPages;for (var i = numPages - 1; i
The calling sequence for PDFViewDestCreate() isPDViewDestination PDViewDestCreate(PDDoc doc, PDPage initialPage, ASAtom initialFitType, const ASFixedRectP initialRect, const ASFixed initialZoom, ASInt32 pageNumber) I want to set action on bookmarks to Inherit Zoom.There is not fit type for inheritZoom. I suspect to get inheritZoom, I set the initialFitType to ASAtom("XYZ") and initialZoom to PDViewDestNULL. Can anyone verify if that is correct? According to:https://opensource.adobe.com/dc-acrobat-sdk-docs/library/plugin/Plugins_Bookmark.html#creating-a-pdviewdestination-objectPossible fitTypes are:ValueDescriptionXYZDestination specified as upper-left corner point and a zoom factor.FitFits the page into the window, corresponding to the Acrobat viewer’s Fit Page menu item.FitHFits the width of the page into the window, corresponding to the Acrobat viewer’s Fit Width menu item.FitVFits the height of the page into a win
When I print a fillable form I have created it is now printing with the check boxes filled in. The form was created in InDesign and the .pdf was made into a fillable document with Acrobat Pro. This file has always worked in the past however today it started to print with every box filled in. It seems to only be happening on my computer, my coworker was able to print it correctly. This is happening for all of the forms I have tested so far today.
I'm trying to get the BasicPlugin.cpp to compile, but it's having difficulties with the PIHeaders.h file. An error shows saying that it's missing a dependency file "ASBasic.h". I've looked around in the plugin folder and found no such header file.In one of the header files included by PIHeaders.h, there is a conditional statement to include these two headers that I can't find in the SDK. Is there a step I missed after downloading the SDK? Am I legitimately missing these files or is there another step to the installation? Is there an installation guide for the SDK after downloading it? This is the Windows 2021 v3 of the Acrobat SDK.
I am using the starter.api extension as an example, all the extension does is a PIHandshake, set the extension name to ADBE:Starter, and set PluginImportReplaceAndRegister/PluginInit to true.when this extension is active, and Acrobat is in the "new Acrobat" UI, the Export a PDF button looks clickable, but when i bring the mouse cursor to it, it doesnt bring out the submenu. When it is in the old Acrobat UI, the "Export To" button does expand to the submenus. this happens in 2024.003.20112. Has anyone else run into this issue? do i have to enable anything special in the Plugin Initialization for it to behave in the "new Acrobat" ui?
Hi all, I am trying to write a script that subtracts a certain amount from the selected text box in Adobe Acrobat Pro DC. Can anyone offer me some advice? Sincere thanks.
I am stuck at this, so currently, I have a code to get the DS (and DA) string and modify the font number. I successfully modified them, but the freetext font size doesn't change. I also tried to scale the matrix and bbox, from AP>N but didn't work too. Any idea, please?
I am creating a PDF form and am wanting to restrict the user so they cannot paste text from another source into a text field on the form. Is this possible?I am using Acrobat Pro DC.Thanks.
Hello,I have scanned an old document, and am trying to edit the text inside. However, when I go to edit PDF, it does not allow me to edit the text itself. I OCR'd the document and it recognizes the text, but I am unable to edit it. I am currently using a trial version of Adobe Acrobat Pro DC.The file can be downloaded here Dropbox - Sample Page.pdf .
I am using Adboe Embed API to display PDFs. I works fine in all browsers, except that when using Firefox, the print function does not work. Strangely, if I load a sample Adobe file (eg. https://documentservices.adobe.com/view-sdk-demo/PDFs/Bodea%20Brochure.pdf) it prints OK. But if I use a URL for one of my own files, all that happens when I try to print in Firefox is that the PDF is dimmed for a few seconds - but no print dialogue appears. According to the release notes, a fix for Firefox printing was released on 27 June 2024. But I am still having problems. In all browsers except Firefox the print function works fine. Can anyone help please?
I get this message evertime I try to open a pdf on a specific website on my iPad."This application domain is not authorized to use the provided PDF Embed API Client ID"I have no idea how to fix. I tried to but I just got lost and had no idea what to do. Can someone please help. Thank you
Hi.I am finding the word I want using Excel VBA.There are about 530 pages in my PDF file.After processing about 400 pages, the error message "Microsoft Excel is waiting for another application to complete an OLE action. " always displayed from Excel, and Acrobat becomes "Not Responding". lRet = objAcroAVDoc.Open(PDFPath, "") lRet = objAcroApp.Show Set objAcroPDDoc = objAcroAVDoc.GetPDDoc() Set jso = objAcroPDDoc.GetJSObject pageNum = objAcroPDDoc.GetNumPages() For i = 0 To pageNum - 1 wordNum = jso.getPageNumWords(i) For j = 0 To wordNum - 1 wordStr = jso.getPageNthWord(i, j, False) If wordStr = MyFindWord Then ' Do some processing end if next nextMy PC : Windows11Acrobat Pro Version: 2024.002.21005 64bitExcel : 365 I tried the following, but it didn't change anything.1. Reinstall Acrobat2. Repair Acrobat3. Restart my PC4. Turn off "Enable Protected Mode at startup" and "Enable Enhanced Security"5. Delete thumbnails in C:\Users\Us
Hi, I know that the "Acrobat JavaScript API Reference" is online at https://opensource.adobe.com/dc-acrobat-sdk-docs/library/jsapiref/index.htmHowever, I always prefer (call me "old fashioned") the PDF version of such documents. I found a PDF version of the above document dated 2-1-21 (quite recent in the overall scheme of things) on a non-Adobe website. I'm wondering if Adobe still maintains/posts the PDF version of this document on their website, and thought that there might be a later version.Another PDF document I found on the non-Adobe website is "Developing Acrobat Applications Using JavaScript". I would also be interesed if Adobe maintains/posts later versions of this document on their website?Thanks for any thoughts anyone has on this.Dave
I use Abode Acrobat DC and I am particularly fond of the "Fill and Sign Tool". As a disabled professional, I like how clicking "Sign Yourself" would bring up an image of my actual signature and initials I used when I was stronger in the past. It was basically an electronic signature that looks like a wet signature for everyone involved. I have used this feature for years. Never had a problem with it. As a redundancy, I used the "Stamp Tool" to make a version of my signature for when I just need to sign, but not lock down a document for other signers, like what happens when you sign normally electronically. Then, yesterday in the middle of the day, suddenly my signature disappeared from the Fill and Sign Tool when I used it to fill and sign tax documents for a married couple (I am a tax attorney). I was just filling out a tax form and when finished, I signed it on behalf of one spouse with no issues. Yet 15 minutes
Im using the Javascript plugin with the following code var j = 3 for (var i = 0; i < 10; i++) { var line= this.getPageNthWord(0,j+i,false); var final2 = line.slice(-2); if (final2 == ""){ console.println("I AM A NEW LINE"); } //console.println(this.getPageNthWord(0, j+i,false)); console.println(line); //console.println(line.slice(-2)); }the output of this shows for example word1 word2word3 word4word5 word6word7word8word9work10 as expexted howeever i want to see what is the last word on the line the spaces in the console print are showing correctly but ive tried if line == "" and "\n" etc but nothing is telling me that its the space. Any suggestions?
Good afternoon,I am looking to automatically flatten my document when I place a dynamic stamp. I am pretty new to Java and have cobbled together code to make my stamp, learning on the way.I have tried adding this.flattenPages() to the script, but when I do Acrobat crashes when I place the stamp.I cannot install the menu bar script to add a flatten document button, because I don't have admin permissions.Thank you in advance for any help.Patrick
In the "SampleExtn" plugin that demonstrates how to write a plugin to work when Acrobat is running in protected mode, the plugin does not attempt to start the broker by calling sandboxpisdk::InitSandboxPIBrokerIPCChannel(L"SamplePIBroker.exe") until Adobe Acrobat has fully started, the SampleExtn plugin has been loaded, and the user selects an item from the menu for the SampleExtn plugin. For my company's Acrobat plugin, we require our users to sign into a server to enable the plugin's features. Until now, our plugin has never been made to work when Acrobat is in protected mode. Now we are enhancing it to do so. Until now, our plugin has always automatically signed the user into our server when the plugin is loaded, when Acrobat starts, if the user's login and password was saved from a previous login. Here is what is happening now that we have modified our plugin to work when Acrobat is in protected mode: START OF EVENT CHAIN Our plugin's P
For my company's Acrobat plugin, we require our users to sign into a server to enable the plugin's features. Just to be safe, I want to ask this probably paranoid question: Must ALL 3rd party plugins that run when Acrobat is in protected mode have their broker binaries submitted to Adobe for certifying? Or must only plugins that run when Acrobat is in protected mode AND when Acrobat is in "certified plugins only" mode have their broker binaries submitted to Adobe for certifying? Background for the question: Until now, our plugin has never been made to work when Acrobat is in protected mode. Now we are enhancing it to do so. Our plugin requires the user to have an account with us and sign in to enable the plugin's features. After the plugin sends the login request, it also makes network requests to download preferences and other things from our servers. In order for a plugin to make network requests when Acrobat is in protected mode, Developers need to
Hi All, Am looking for a JavaScript script to import comments from a different PDF document using the "Import Data File" option in Adobe Acrobat Pro. The script I have works to open the dialog box, but it does not allow for the selection of PDF files or import comments from a different file. This isn't the whole process. Prior to this, there is a resizing of the documents is step 1, which I have worked on and it is working fine.Kindly help me out to open the dialog box from comments section "Import Data File..."var cPathToFile = "/path/to/your/comments.fdf";// Replace with the actual path to your FDF/XFDF filethis.importAnFDF(cPathToFile);
I've used the below code for ~7 years, but have recently been getting the following error: "An error occurred: GeneralError: Operation failed.", in the console, but unfortunately, this is all the console shows, so I have been unable to troubleshoot and determine what is causing the error. All I know is that the signature field gets placed correctly, but the signature is not being applied. Any help is appreciated. Thanks! /* * sdkAddSignature.js * * * Folder Javascript Created by Acrobat SDK. * This JavaScript sample shows you can programmatically sign a PDF document using * your digital ID file. * * As a sample, this file has included all the digital signature information * except the path and password for the digital ID file to be used. * When you are ready to sign a PDF, click the newly added "Add My Signature" * menu item under the Edit>Acrobat SDK JavaScript menu. * * After you input the platform independent path and * the password through a
Hello I am new to Javascript and specifically Javascript + Adobe. At my jobs I use a lot of stamps in my pdf. I want to create a script, button, or tool that when clicked will count all the specific stamps in the document. Is there a way to do this or is there an easier way to go about counting my things on the document. Thank you
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.