Unlock the power of Acrobat SDK through our community.
Recently active
I have made a PDB document with Acrobat Pro 2025 , containing a text field entry and a QR Code visualization (barcode component). The QR Code does well refresh when the text field is entered.However when I open the same document with Acrobat Reader 2025 . The QR Code stay a gray rectangle ,How can I avoid that issue ?I noticed the message when I inserted the barcode component : “A Barcode field encodes data that end-users type into a fillable PDF Form. Use of this type of field for paper forms processing requires Adobe’s Barcoded Paper Forms solution(Separate license required)”I notice the similar point I an previous post :What is the process to obtain that license today? Is it still “LiveCycle”?I use the 26 mouths Acobate Pro licence.Thanks in advance .BRArnaud
I’m trying to use Javascript to extract and save the first two pages of a document, and save that new document in the same folder as the main file. But I’m having trouble whenever the folder name contains a comma. Is there any workaround? Unfortunately removing the commas in the folder name isn’t an option. Script I’m using below: try { var doc = this; var srcPath = doc.path; var folderPath = srcPath.substring(0, srcPath.lastIndexOf("/")); var baseName = "Document.pdf"; var newPath = folderPath + "/" + baseName; var newDoc = doc.extractPages({ nStart: 0, nEnd: 1 }); newDoc.saveAs({ cPath: newPath }); newDoc.closeDoc();}
With my JavaScript, I invert the page order and simultaneously write the new page order to the console.To avoid the hassle of manually copying the sequence of numbers from the console, the new page order should also be immediately added to the clipboard so that it can be inserted into another program using STR+V.To do this, I create a temporary text field, insert the sequence of numbers, and copy it, hoping to then have it in the clipboard.Unfortunately, this only works sporadically and is more unreliable than reliable.I would be grateful for any tips on how I can improve this!var order = [];for (var i = this.numPages - 1; i >= 0; i--) { order.push(i + 1);}var orderStr = order.join(" ");console.println(orderStr);var f = this.addField("tempCopyField", "text", 0, [0, 0, 300, 20]);f.value = orderStr;f.setFocus();app.execMenuItem("SelectAll");app.execMenuItem("Copy");this.removeField("tempCopyField");Regardsyosimo
Hello everyone,We are currently analyzing a behavior in SAP Adobe Forms when generating PDF outputs (Purchase Order printouts). We have noticed that when the PO country is Switzerland (CH) and the language is German (DE), Italian (IT), or French (FR), the amounts are printed using apostrophes (’) as the thousands separator.However, when the language is English (EN) for the same country, the amounts are printed using a comma (,) instead.In the Adobe Forms layout (Patterns → Numeric Field), we can see that the thousands separator depends on the locale configuration, and that for the Swiss locales (de-CH, fr-CH, it-CH), the apostrophe appears as the default grouping separator.My question for the Adobe community is:Is this behavior the standard and expected formatting for Switzerland in Adobe Forms according to the locale definitions?More specifically, should the apostrophe (’) be used as the official thousands separator for the Switzerland-German, Switzerland-French, and Switzerland-Itali
I am familiar with using VBA to add data to fields of PDF Forms and to combine two PDF Files together.I am looking to work with PDF Portfolios - specifically, I need to be able to tell if a file is a portfolio, create a portfolio from separate PDF files, and add additional files to an existing portfolio.For determining if the file is a portfolio, the code I found online suggested this (after getting to the jso object): ' The key is the Doc.collection property in the Acrobat JavaScript API ' For a standard PDF, it returns a null object; for a portfolio, it returns a collection object If Not jso.Doc.collection Is Nothing Then IsPDFPortfolio = True End IfThe code is failing on the If statement for me with Error 438: Object does not support this property or method.After a lot of searching I found:https://opensource.adobe.com/dc-acrobat-sdk-docs/library/jsdevguide/JS_Dev_PDFCreation.html?highlight=collectionThat made me think I should be using:If Not D
I am looking for an efficient way to merge two PDFs: one with all odd pages scanned from a book, one with all even pages. This question has been posted many times in many different forums. I am unable to get the Javascript given in the following forum to work. https://forums.adobe.com/thread/286654. Generally, answers to this question are not helpful to me because 1) they provide instructions that apply to an earlier version of Adobe (I’m using Adobe Acrobat Pro DC), or 2) they involve purchasing software that I have found to be ineffective. A step by step post to complete code that can do the job and be pasted and saved as a custom command through the command Wizard (see the Jan 13, 2016 11:27 AM post at https://forums.adobe.com/thread/2063936, for an example of a good answer to a different question) would be much appreciated. Thanks, Carl
Hi all ,i am new to this community ,I am encountering an issue when attempting to save a PDF document using the PDDocSave function with the PDSaveCopy flag. The save operation fails with an "error opening the specified document" error for older PDFs (e.g., those beginning with %PDF-1.3), but works without issue for newer PDFs (e.g., %PDF-1.6).Observations:When I use other flags such as "PDSaveFull or PDSaveForceIncremental" operation on the problematic document using Adobe Acrobat Sdk, a new copy is created that works correctly with PDDocSave .This suggests that the "PDDocSave" process updates the document's internal structure to a newer version, effectively resolving the incompatibility.The call causing the issue is: PDDocSave(doc, PDSaveCopy, asPath, ASGetDefaultFileSys(), NULL, NULL);Core Question:What is the recommended method to programmatically upgrade or adapt an opened document's internal PDF version to a more recent, compatible version before performing operations like P
I am using the Adobe XMP Toolkit to add or modify XMP metadata in supported file formats. Currently, when XMP data is written and CloseFile() is called, the toolkit creates a temporary file and then replaces the original file with this temp file. From my understanding, this replacement is handled internally (possibly via the DeriveTemp API). Functionally, this works as expected. However, this approach is not ideal for my use case because when the original file is replaced the file attributes and permission are not same as previous. What I am looking for is a method or recommended approach to update or replace XMP metadata directly in the same file And also i found a method in TXMPFiles.incl_cpp. the method is: #if XMP_StaticBuild // ! Client XMP_IO objects can only be used in static builds. XMP_MethodIntro(TXMPFiles,bool):: OpenFile ( XMP_IO * clientIO, XMP_FileFormat format /*
We have a plugin and we have a custom toolbar where buttons are attached to the toolbar. When we are in old acrobat mode the buttons are aligned vertically but when we switch to new acrobat mode the buttons are aligned horizontally. Is it a new feature from acrobat side or there is an issue and I have to handle for new acrobat mode. Can anyone guide me why this difference is seen in button positioning?
Hello, I’m facing an issue with Adobe Acrobat Reader 25.1.20997.0 when doing automated printing.Issue Scenario:I have:One physical printerOne virtual printer driverI print PDFs in two ways:Manually from Acrobat UIProgrammatically from my Virtual printer driver using :ShellExecute with verb = "printto"ProblemWhile printing a file from Adobe Acrobat Reader I select the physical printer and the file is printed successfully.In the next instance, when I use "printto" verb programmatically from my Virtual printer driver, Adobe Acrobat Reader does not use the printer(my Virtual printer driver) passed via "printto", instead the file is printed to the physical printer selected in the previous instance. This issue occurs in PC with below configuration:OS: Microsoft Windows 11 Home 24H2Version: 10.0.26100 Build 26100I have tried Changing default printer to my virtual printer driver, adding delays, and retries which do not fix this issue. It
We are working on automating interactive PDFs created using Adobe Acrobat that rely on XFA for dynamic behavior, such as adding repeating rows using an Add button.Using backend processing with iText 7 in .NET, we are able to inspect and modify static AcroForm/XFA XML content and populate fixed fields successfully.However, we are unable to programmatically trigger the dynamic row creation behavior that works when the PDF is opened in Adobe Acrobat and the Add button is clicked. Our understanding is that this behavior depends on Adobe’s internal XFA runtime, which executes only within the Acrobat client and is not accessible via backend code or APIs.Can you please confirm the following:1. Is there any Adobe supported API or SDK that allows execution of XFA dynamic form logic outside Adobe Acrobat?2. Is the XFA runtime strictly limited to the Acrobat client environment?3. Is generating a static PDF with pre-rendered rows the recommended approach when the number of rows is known in advance
We are launching the adobe acrobat progrqamatically in Mac and When i launch Adobe Acrobat in Mac, the Acrobat helper is getting launched in some machines. We found a Prefernce which takes care of it. Acrobat->Preferences->Security(Enhanced)->Enable Protected Mode at Startup(Preview). When we disable it the acrobat is getting launched as expected but in few machines this settings is working vice versa, Meaning, when this setting is enabled the Acrobat is getting launched and when it is disabled the Acrobat Helper is getting launched. Is there a way to make it consistent in all the machines. Thanks.
Hello,I have been on the lookout for an Adobe DC plugin that has a calculator with tape. I can't seem to find one online. I was considering writing the plugin myself (I have a degree in Computer Science) but somewhere I read that I needed to purchase a license from Adobe to write and distribute plugins. Is this true? If so, what is the cost?Also, has anyone seen a plugin that does what I'm looking for?Best,--R
I work on pdf editor plugin for adobe acrobat pro. So my issue is whenever i open a window(lets say tool window of the plugin) and i click on the other adobe tools the plugin window gets closed. I was wondering if there is a way to keep the plugin window open unless u explicitly close it. but u have to be able to work with other adobe tools.i am thinking of ways to work with handle returned by the window
I need to create a menu item that creates a custom "Highlight Annotation" when selected. The user should be able to select some text and then press the menu item and a pop-up note should be displayed that has some static text in it plus the words that were highlighted. I have code that gets the text from the highlighted area, but I cannot create a proper highlight annotation. An annotation gets created but the text is not highlighted.Here is my code snippet:AVDoc avDoc = AVAppGetActiveDoc();// if a PDF is open, get its number of pagesPDDoc pdDoc = AVDocGetPDDoc (avDoc);ASFixedRect boundingRect;char data[512] = "NEW NOTE";int numPages = PDDocGetNumPages (pdDoc);PDPage page = NULL;PDAnnot annot,textannot;// Get the selected text as a text selectPDTextSelect pdtext =static_cast<PDTextSelect>(AVDocGetSelection(avDoc));// Get the bounding box for the selectionPDTextSelectGetBoundingRect(pdtext, &boundingRect);//Create a PDPage objectpage = PDDocAcquirePage(pdDoc,
Hello,After lot of trial and errors, now I am able to create a plugin to create a highlight annotation, get annotation, delete the annotation etc.Now, I want to do this DYNAMICALLY.What I mean is that, there will be our Windows desktop application which tries to communicate to the Acrobat using this plugin.So, Is there any way to communicate to acrobat plugin from external program?Is there any such kind event driven mechanism available in Acrobat SDK?What will be the possible solutions for this? I want to skip IAC in between because I want to make the solution very optimal.Thank you in advance!
Hi, I wanted to create a UI panel in acrobat Pro.I want it to appear when my plugin is loaded and I want to host a react app within the panel. User should be able to select contents within the panel and the panel should be able to interact with the pdf document. How can I go about creating such a thing using acrobat SDK and are there any samples avaialable which I can refer?
Hi,I was building a plugin for acrobat pro that adds a button to the edit toolbar and the button calls a function to add annotation to the selected text. I am using the Basic Plugin as my base and making changes to the BasicPluginInit.cpp file. I tried to replicate what I saw in the documentation here-https://opensource.adobe.com/dc-acrobat-sdk-docs/library/plugin/Plugins_Toolbutton.htmlUnfortunately, even though my plugin builds and I place the .api file at the correct address I am not able to see any additional items on the edit toolbar.Here is the code for my init.cpp file-/********************************************************************* ADOBE SYSTEMS INCORPORATED Copyright (C) 1998-2006 Adobe Systems Incorporated All rights reserved. NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or
I am running Windows 10 Pro 64 bit and Visual Studio 2019 and downloaded Acrobat SDK 2021, which claims to be 64-bit - but all kinds of sample subdirectories are still called 'win32'. I would have expected the sample files to build without errors but I am getting all kinds of errors about incorrect references or unavailable Windows SDK versions.I need to retrieve table borders (visibility and positions) from a PDF and want to create a plug-in for this as JavaScript does not allow me access to those properties in a PDF. Existing commercial plug-ins focus on OCR - which is not what I need. If there are better ways of getting this layout info from a PDF file I would love to hear about it. If I do have to create a plug-in then how do I get the Acrobat SDK to work with Visual Studio without throwing all those critical errors?
Hello, I would like to clarify the licensing requirements for using 3rd party plugins with Adobe Acrobat 2024.Is it possible to use 3rd party plugins with Acrobat 2024 Classic or Continuous without a Standard or Pro license?Does the free Acrobat Reader support 3rd party plugins, or is a paid license (Standard or Pro) required for plugin functionality? Thank you for your help everyone!
I am looking for an open source, simple Adobe Acrobat plugin (C++). That'd be convenient to get started to learn the plugin framework. Preference if the plugin do some text analysis (e.g., spell checking or extract all words starting with a capital letter).
I studied the following documentation:https://opensource.adobe.com/dc-acrobat-sdk-docs/acrobatsdk/index.htmlAdobe Acrobat SDK states that we can make use of JavaScript to develop PDF plugins / Add-on. https://opensource.adobe.com/dc-acrobat-sdk-docs/library/samples/Samples_JavaScript.htmlThis link explains JavaScript Samples and states that we can find these samples in the Adobe SDK JavaScript Samples folder After downloading Adobe SDK from https://developer.adobe.com/console/ I can only find samples for C++ code not for JavaScript samples. The folder "/Acrobat_DC_SDK_Windows_2021_v3/Adobe/Acrobat DC SDK/Version 1/JavaScriptSupport/" only contains a PDF file. Can anyone guide me, on where to find sample examples for the JavaScript add-ons?
Can we adjust the setting in Acrobat 9.0 Standard to partially edit a selected area of PDF docuents? I would like to know whether we can change its setting to narrow the scope of editing only to designated areas, and whether we can change the font, size or space betweenletters.
I am using the PDF Services SDK to convert PDF to Word, but I’ve run into an issue: after conversion, the fonts in the Word document are replaced with Trebuchet MS. The original PDF uses the fonts Effra Light and Effra Medium. The environment where the conversion takes place already has these fonts installed. Is there a way to ensure a correct conversion that preserves the original fonts? Thanks!
Hola, estamos desarrollando un proyecto con Android Studio y necesitamos utilizar varios PDF para incrustarles controles de combox de seleccion entre otros que grane informacion en una BD SQL, alguien sabe si Acrobat tiene alguna herramienta para esto?
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.