Questions
Recently active
I'm trying to create a PDF file from an excel file and get error "Adobe PDF printer failed to create the PDF file." I have been using this tool for many years with no problem. I've tried this several times and get same error.
I am trying to find a formula that will extract from page 3 up to the last but two pages of a pdf. I then want to save the eo xtracted file and save it to a specific file on the C drive using the original file name with a prefix of INNER. All I have so far is the formula for extracting the pages -this.extractPages(2, this.numPages-3 );
How do I add the function for my form to self calculate cells? I have several that I want to add together but can't figure it out. When I'm in "prepare form" I right click on the cell and select properties, but there is not "calculate" option like I see in all the tutorials. Should I be in "prepare form" for this, or where should I go?Also, why don't I see all the tabs that I can see in the tutorials? I only have General, Appearance, Position and Options, but in the tutorial I see: General, Appearance, Position, Options, Actions, Format, Validate and Calculate.
We have fillable forms, I want to be able to add a row if the previous one is used. Is this possible with Acrobat or do I need Livecycle. Also, the forms need to be filled in on an Ipad.
I need to set/replace some values into a richText field, and I'm having a problem with the line endings.I am able to set the text, looping through the span objects, but I end up with a single paragraph, all of the line endings are gone.Even just setting the value to itself, without the code to do the text replacements, doesn't work:var spans = event.richValue;event.richValue = spans;orevent.richValue = event.richValue;I end up with the correct content, but all of the line endings are missing. And this is code that I modified from the javascript reference documentation. The code is in the Custom Format Script for the field.Can someone help me with an example of how to replace text (i.e replace '[NAME]' with 'John') in a richtext field and retain the line endings?
Hello,I have a document level javascript that is looking for character strings to determine a result.Why would it throw this error?function webaddress() { var one = this.getField("CompanyName"); var two = this.getField("WebAddress"); var three = this.getField("dealerCSZ"); var n = three.indexOf("MN,"); var n1 = three.indexOf("IN,"); var n2 = three.indexOf("OH,"); // evaluate address for proper name if (n.value>=1) { one.value='
Hi All,Right now, I am creating a quiz form where I have a start button.The user has to complete the form within 30 mins. if it exceeds more than 30 mins all the fields should automatically become readonly and the form should save and close.So, I need the proper timing functions for this form. Can anyone help me with this????.Thanks in advance.
Hi,Trying to create a preflight check, where named Spot colour has to hold certain values for CMYK (C=0 M=53 Y=100 K=0). Other than that should result in fail.So far I have this but it doesn't seem to work:Tried to use "Color values for fill" but it also doesn't work for me... Any ideas?
I'm trying figure out the scripting for a pet project I'm doing. I have five fields 4 are text and 1 is a drop down menu. I want to add 3 text fields together in the fourth field but I also want part of the calculation to be: if I select a certain thing from the drop down menu to add 10 any help would be awesome. I'm very new to this so take it easy lol.
Hello,I have written a plugin to search text from the PDF document using search plugin HFT functions.I can very well search the plain text without any special characters in it.But when search text contains special characters then It could not search the whole search text.Here is my code snippet:ASText searchKey = ASTextFromScriptText(searchText, kASEUnicodeScript);SearchQueryDataRec srcQuery;memset(&srcQuery, 0, sizeof (SearchQueryDataRec));srcQuery.size = sizeof(SearchQueryDataRec);srcQuery.query = searchKey;srcQuery.type = kSearchActiveDoc;srcQuery.match = kMatchAllWords;srcQuery.options = kWordOptionWholeWord | kSearchEveryWhere;srcQuery.scope = kSearchDocumentText;srcQuery.path = NULL;srcQuery.fs = NULL;srcQuery.maxDocs = 1;ASBool ret = SearchExecuteQueryEx(&srcQuery);ASTextDestroy(searchKey);For example:If I want to search the below highlighted text then It does not search.However I can very well search the below text:Please let me know where I am going wrong.Thanks.
I have an application that creates PDF documents with pages containing both a TIFF document and headers and footers rendered with vector text. Normally when you open a PDF and try to edit it, Acrobat DC Pro will automatically scan and OCR the current page so that you can copy from or edit the page. However, it refuses to do this on the PDFs generated by my application because of the vector text that exists on the pages. Is there a way to add the headers and footers in a way that will not prevent DC from auto-OCRing or is there a setting in DC that can change this behavior?
Hi, I am trying to create a Adobe Form which automatically add 36 hours to the previous date and time entered in the dd/mm/yy HH:MM format. I was wondering if there is any advice on how to do that on Adobe acrobat DC?
I am working with a VB .net application which actually saves selected PDF to PS and then using distiller it saves the PS file back to PDF which is "optimized" and smaller in size. Following is the code I am using [running in a loop for all files in a directory]: ''Kill Acrobat Process ''Kill Distiller Process Dim pdfFilePath As String = "E:/TestPDF/abcd.pdf" Dim convSplitedPage As Acrobat.AcroPDDoc = New Acrobat.AcroPDDoc convSplitedPage.Open(pdfFilePath) Dim Converter As New Object Converter = convSplitedPage.GetJSObjec
Hello,I have a document with a lot of different checkboxes and they all have their own specific category.I have the document so that when a user clicks on a checkbox under that specific category, a button displays a value of the number of checkmarks that are clicked under that specific category. The program will only display a value, if the checkbox string value is in the array which I DEFINE.I have had to manually type in the specific checkbox name into array to get this done, but I am looking to see if I can iterate through and select a specific set of checkboxes to then PUSH to an array, so I don't have to manually type the string names of 100+ checkboxes.Here is the code that I put in my custom calculation script of the text field which displays the number of checkboxes typed in:var checkboxes = ["holter-48hr", "holter-72hr", "holter-1wk", "holter-2wk", "cardio-ecgharmonic", "cardio-loop", "cardio-restingecg", "cardio-gxt" ]; var counter = 0; for (var i in checkbo
I need some java script help creating a PDF form/field named "Sales Tax" that does the following:Calculates the amount of tax from the "Search Fee" field based on "Zip" and "State" fields.Conditions are that if the "State" field is not "NY" the sales tax rate would be zero and thus the "Sales Tax" field would read $0.00. i.e. State: CA, Search Fee: $150.00, Sales Tax: $0.00IF the "State" field is "NY" then it would calculate the rate based off of the "Zip" field. i.e. State: NY, Zip: 10005, Search Fee: $150.00, Sales Tax: $13.31 (8.875% of $150)i.e. State: NY, Zip: 10005, Search Fee: $150.00, Sales Tax: $12.94 (8.625% of $150)Ideally the calculation would read an excel sheet with 2 columns (one for zip and for tax rate) but I would also be interested in the code that 'manually' covers the 11 sales tax rates of NY. Any help would be great.Thanks!
I am working on project where we have PDF files containing controls like text fields, check box etc. These controls are added using Adobe Acrobat 9.0 Professional. Here this file is passed as input to to C# application and it fills data to the controls added on PDF file. Output is file containing PDF template containing data from Database fields. We are currently performing manual testing for Output file. My questions are,1. Is there any utility/ feature using which we can check for alignment of text added in control?2. Is there any way using which we can test data in the merged file?
Recently, when adding a page to an acrobat XI form using "tools - insert from file" I have been getting a Geomark editor popup?I don't know why, it never used to happen, did I somehow change a setting?How do I remove it?
Hi,I am attempting to create an if statement in Adobe Pro (JavaScript).Below is an example of what I am trying to achieve. G150G210G330G410Text110Text1= G1-G2-G3At G4: If Text1>0 then Text1, if not greater then 0 then 0.Thank you for all the help!
I've looked over the forums, but can't see where this is answered. I'm combining anywhere from 4 - 6 separate .pdf files, then adding bookmarks, linking each .pdf to a master web page, then moving those files to a web server for our customers to view. I'm using Acrobat XI Pro.When I combine the .pdfs and view them on my computer, everything is fine. When I move the combined .pdf to our web server, text goes missing. See below. Is there anything that can be done? Combined files range in size from 24 MB to 59 MB.
Hello,I want to open a input box to receive some text after clicking on my custom menu item.Is there any API methods to do it?With normal C++, I am not able to achieve it.Thanks in advance!
Hi i made a button who triggers outlook to open a mail. but my problem is that it works even when all the required fields isnt filled out.My current code is this.mailDoc(true, "","cc@mail.com", "" ,"Titel","Standard text in mail");had to not use the preset email function becouse i wanted it to only set reciptents in CC and not the to field.Anyone know what code i can use to implement this feature? im compleatly new to this and would love to get some help
How can I set language of a document before exporting it to docx file in Adobe SDK?In Acrobat Pro DC you can set it by performing following steps:1. Export you PDF to any format2. Microsoft Word3. Settings icon4. Set language5. Select value in Document language dropdownHow can I do the same using Adobe SDK? Part of my code is as follows:Set gPDDoc = CreateObject("AcroExch.PDDoc")Set jso = gPDDoc.GetJSObjectCall jso.saveAs(WScript.Arguments(0), "com.adobe.acrobat.docx")I could find any suitable parameter here:http://help.adobe.com/livedocs/acrobat_sdk/10/Acrobat10_HTMLHelp/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Acrobat10…
Good day all,I am not familiar with javascript and I hope somebody can help me with this.I need to run a script on a large batch of files already selected and delete all but the first page in each file, then save all to a new folder while keeping the exact same file names.Any help is very much appreciated.I should also add that I will be running this script on Adobe XI Pro and that the PDF files have different number of pages each.
I have a document which I have made editable with lots of form fields (especially checkmarks).These checkmarks display certain options that the person can choose, and they are under their own "Category"If 2 checkmarks are selected under that specific category, is there a way that I can have something print ON the document that says "2 OPTIONS SELECTED " in a visually noticeable way? I understand this may take a bit of programming to achieve, but I would like to know what your thoughts are, and if there is a possibly simple way of doing this.Thank you!
I have several documents going under accessibility work (508). This is done manually.However, several documents contain the same text across them (some headings, some paragraphs, etc). Is is possible to do the following programmatically?Mark a document as "tagged pdf" (create a root tag)Search for the repeated text.Apply the desired tag (for example, H1, P, etc).I have been searching the Acrobat SDK but cannot find any methods for tagging a text selection. I haven't found anything on Javascript (I suppose the accessibility requires core functionality available only via the C++ API).
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.