Questions
Recently active
Hi,Using Adobe Pro I created a new form that a user can fill in digitally. But I know a certain part of my customers prefer to print it first and then fill it in. The form has two drop down list fields. If printed the user can’t see the values in this lists. I thought about creating a print form along in the same document. If the user fills in the form I want it to print page 1 and if the fields are empty I want to automatically print page 2 and 3. I tried the “will print” JavaScript but did not succeed yet. Can anyone help me out?
Does the Adobe SDK support conversion of htm / html files to pdf silently? How is the support / performance for HTML5 based files?
I have created a form and has an email option but I am wondering if I can have the JS automatically save the document with the person's name and then ask to whom it would be sent to. The person's name is a field.
Hello I have a PDF form that I have made. It has a dropdown box with 0,1,2,3 I would like a check box to tick if 1,2 or 3 is selected.Could someone please help me
I have a PDF with many layers that are hidden or shown based on javascripts and field values. I'm trying to print to post script and the application freezes and then crashes about 30 seconds later. I'm able to print to post script with another pdf, but this one in particular will not work. It's a pretty large file (13mb), so I thought I would try to flatten it and reduce the file size, but I still have the same problem. Below is the function I'm using to print:function PrintThis(){var pp = this.getPrintParams();pp.fileName = "/filepath/something.ps";pp.printerName = "";pp.interactive = pp.constants.interactionLevel.silent;pp.pageHandling = pp.constants.handling.none; if(typeof(PrintToLoc) == "function"){ PrintToLoc(this, pp); } else{ app.alert("Missing system access priviledges. " + "Please contact administrator."); }}Are there any
I have a field called "MileageRate". I would like that field to toggle between read-only and "read-write" when clicking a button. This way, each year that the mileage rate changes I can just enter the new rate, then make read-only again without having to actually use the "prepare form" functionality of acrobat to make that change. Is there a javascript I can use for that? I don't have any sample to enter here because I don't know how to write javascript... but I've become quite talented at copying and pasting .Any help is appreciated, thanks!Ariel
Hello,We are using Acrobat plug-in to save PDF from our application. For one particular scenario we are trying to save a non-english filename (like Chinese, Japanese, Korean, etc) to PDF. We are using AFExecuteThisScript to call the saveAs method to actually save the PDF file.As per documentation we found here:ASBool AFExecuteThisScript (PDDoc pdd, const char * cScript, char ** pRetValue)AcroForm Methods Executes a JavaScript script.Parameters: pdd The PDDoc in which the script is to be executed. cScript A string containing the text of the script to be executed. If Unicode, the string must begin with 0xFEFF and end with 2 null bytes. If this is not the case, it is assumed to be in the application's language encoding, as returned by AVAppGetLanguageEncoding. pRetValue To get a return value from the execution o
Hi there!Hoping someone might be able to help explain this to me.. I searched for a while and can't find any similar occurrences.I just went to add a footer to a document I'm working on (manually - using the "Header & Footer" tool). As soon as the options window came up, the JS console also popped up and started going haywire with errors. Each time I typed a letter or clicked anything on the Header & Footer options window, the console showed another block of the same errors. In all there were over 600 lines of the same errors repeating.They are all mostly reference errors claiming that several of my document level functions are not defined - when they most definitely are.Does the Header & Footer tool cause some sort of JS event? And if so, why wouldn't it recognize the functions? I'm super confused here. An example of the errors is below.Thank you!ReferenceError: no_zero is not defined1:Field:FormatTypeError: f is null1:Document-Level:addTodayReferenceError: no_zero is not
When viewing pdf on the web using adobe sdk, can I disable the toolbar and hands up display?
J'ai enregistrer un fichier de Texas-Instrument une partie de ce fichier ne peu s'imprimerJ'en suis a me poser la question: Ne faudrait-il pas prendre l'abonnement afin de pouvoir l'imprimer en entier; Car Texas-Instrument me certifie que le fichier et au complet soi 617 pages et il manque de la 212 a la 535 Les pages apparaissent sur l'écran mais ne peuvent s'imprimer Es une manière de @faire prendre l'abonnement pour pouvoir imprimer la totalitée
I'm likely out of my element here... but here goes!I created a file in excel and made a form with it in Adobe Acrobat XI Standard (in Windows).I have 3 dropdown lists that I want to be dependent - or cascade? For example - if the category "BOILER" is chosen, then the Sub-Category only allows a list containing "Alpa, Beta, or Charlie" as it's 3 choices... and if Beta is chosen as the Sub-Category(1), then the Sub-Category(2) only has a list containing 1033, 1003, 10003Is that realistic or too complicated for a beginner like me?
I've searched about as much as I can search while I'm in the office. Problem is this, when I go to measure tools, select the perimeter measurement type and click to start measuring the line that shows while in the process of measuring looks to be around 12pt thickness. After completing the measurement the line can be edited with the properties option, and I've tried make these default etc. The line after completing the measurement is fine, but the line while in the process of measuring is still gigantic no matter what I do. FYI it's my boss's computer that's having this problem so there is no telling what he did and I haven't be able to find an option in preferences that has to do with the "preview" line or whatever we want to call it.Windows 7 64 bitadobe acrobat pro 11.0.17
I cannot highlight text without getting a comment as well, jus want to highlight text. I believe a made changes to the comments tool but I cannot figure out what I need to remove to highlight only in Edit PDF
I have thought of two approaches to this because my folder with 2000 PDF files contains many files that only have one page. 1) Somehow find a way to determine the PDF files with more than one page, then run a script to extract and save the first page of every PDF with > one page i.e., to another folder.2) Run a javascript in Adobe Acrobat XI to extract the first page of all 2000 PDF files in my folder and save the resulting PDFs to another folder.I wish if possible to do this without all 2000 PDF windows opening up during the process---which will no doubt crash my computer if I try to do this will all 2000 PDF files!So far, I have tried using the Action Wizard which carries out 3 steps:Execute JavaScript: this.extractPages(0);Delete pages:from 2 to 3SaveAdd to original file name a "1" after the original file nameOutput: PDFIf I do it like this, all the files within my folder start to open. I ended the task before anything like 2000 PDFs were opened. Also, this delete option failed a
I cannot identify why I am receiving this message:ERROR MESSAGE: RangeError: Invalid argument value.Field.display:2:Field rdo.Trid:Mouse EnterSCRIPT: this is a mouse enter script attached to a radio button and manipulates the text field, "txt.HelpPage6".var help6 = this.getField("txt.HelpPage6"); help6.display = display.visible; help6.value = "\rNOTE: Although the lender's and owner's premiums will populate automatically when you click here, you may change their values in the 'Premium' field in the cost columns of Section 17.a. or 17.b. To reinstate the auto-generated premiums simply click here again."COMMENT: This script worked just as intended for three days before this error surfaced and no changes have been made in the relevant fields.
Hello all, So I have a problem with calculations and pre-filled values from an external website/program. In my case, I am uploading the form to a web-based program. When printing the form from there, it should auto-fill the form with the data it has inside the system. This works fine for single values, but not for calculations. So let's say the example is: Value 1: form code 'value_1' -->external system will automatically populate it with the value 'x' (number)Value 2: form code 'value_2' -->external system will automatically populate with the value 'y' (%)Value 3: should be the sum of Value 1 x Value 2 y, so: value_1 times value_2 = xySo before printing the document, all fields are empty. Only when printing, they should be populated with all 3 values. However, when I try to do this, the calculation never works. What I have tried so far: - Formatting the fields to percentage, numbers etc,. -->no effect- Maintaining the calculation in the extra settings tab -->does not calcu
Good morning,I have two codes that I've used to do similar functions, but I'm having trouble combining them.This code:var emptyFields = []; for (var i=0; i<this.numFields; i++) { var f= this.getField(this.getNthFieldName(i)); if (f.type!="button" && f.required && f.display==display.visible) { if (f.valueAsString==f.defaultValue) { f.strokeColor = color.red; emptyFields.push(f.name); } else { f.strokeColor = color.transparent; } } } if (emptyFields.length>0) { app.alert("YOU MUST COMPLETE THE FO
As we all know, when we view PDFs with Acrobat, by using Shortcut keys "Ctrl+F", we can find the words we wanted. But I noticed that, if the words, especially Chinese characters, sorted in other order, it doesn't work well sometimes. The text layout is usually from left to right and top to bottom in the page, however, the text can be scrambled in order to achieve a beautiful design effect. If the words were arranged in a more complex form, when we wanted to find them together, the effect was not satisfactory.Please look at the following screenshots:In the PDF file, there are two famous Chinese poems, "年年有今日" & “岁岁有今朝”. The former three pictures showed that by using "Ctrl+F", each Chinese character in "年年有今日" could be found. Theoretically speaking, all the characters in "岁岁有今朝" should be found in the same. Unfortunately, as the latter two pictures show, the Chinese characters in a horizontal arrangement coud be found, while none could be found in a verticle lines arrangement. In oth
Hi,I've been experience this particular problem, it seems that every time I sanitized a PDF the size increased from 4MG to 44.5MG. I'm sanitizing the pdf directly from Adobe Acrobat. Does someone knows a better way to sanitized a pdf without increasing the size (no more than 10MG max.)?Please comment if you have a solution.Daniela
So I have an email in outlook, using PDFMaker I've appended the email to an existing pdf portfolio. The fields displayed in this portfolio are From, Subject, Date, Attachments, Size. The append to Adobe pdf function populates these fields in the portfolio correctly for the imported pdf converted email. What I need is to be able to do that programmatically through VBA or JS.I'm using VBA to convert hundreds of emails to pdf and then append them to the associated pdf portfolios. I'm using the JS object to run importDataObject on the portfolios to bring in the email pdf. This requires privilege and I'm 95% certain I've figured that part out using the JS console in Acrobat. What I can't figure out is setting the field values for the portfolio.I can take the appended pdf from the PDFMaker function and extract it, 100% intact, and re-add it to the same portfolio and all of the field data is wiped. All I see in the From field is the name of the pdf. So it can't just be a matter of setting the
I downloaded "Adobe Acrobat XI SDK for Windows" on the official website and tried to compile the sample "BasicPlugin" with VS2015 on Win7, but the generated API file is incomplete and the Output window does not prompt the PDB file generation. Then I trid again with the same IDE on Win10, it worked. Here are some screenshots:VS2015 on Win7VS2015 on Win10I wanna know what caused the difference? Please do not hesitate to enlighten, thanks!!!
HiI have searched the forums but can't find the answer to my question so I'm hoping someone on here can help.I have a form in Adobe XI with a number of grouped radio buttons, if a user selects N/A on Section 1.1 I want all the subsequent questions in section 1.1 to auto populate the N/A radio button but if Yes or No is selected they should be able to select a radio button on the other questions. Ideally, if N/A is selected they should also see a message telling them to go to the next question.My form will look something like thisSection 1.1 - If N/A is selected all other questions in the group will all populate with N/A and a message will appear telling the user to go the next Section. Alternatively if Yes or No is selected the user should select a response to the other questions.Can this be done? I'd appreciate help on this one, I'm still a novice but have picked up some really useful information on this forum.Ellen
Hello. I am using javascript to read a data file to populate and save a large number of PDF forms (about 2000). The script works perfectly and populates the form fields with the data in the file. I then need to send each form out to be signed (using Adobe sign). This works perfectly as well. However, I would like to pre-populate the Signer's Email in the Signature field using the signers_email from the data file as each form is created from the data file.I cannot figure out how to do this in the Javascript. Right now I have to enter the email address from Adobe Sign. This is tedious AND may lead to typos! Any ideas?Thank you!PS If I manually enter the Sender's Email in the field properties (directly) and then access Adobe Sign, the email address is auto-populated in the To: line. So...how do I programmatically assign a value to the Sender's Email field (via Javascript) using signers_email from data file?Manually entered Signer's Email in Field PropertiesAdobe Send automatically populat
I've created a time sheet and it's in a PDF format. On the top of the form I have a From and To field. If someone enters 10/13/2018 in the from field, I need the To field to populate a date 14 days after (10/26/18). I also would like for the dates within the time sheet to populate. For example: Sat would populate as 10/13/2018, Sun would populate to 10/14/2018, Mon would populate to 10/15/2018 all the way to Fri. Below is an image of the time sheet. I've found JavaScripts online so I know it's possible. My issue is formatting the script based on where the names of my fields need to go. If someone could please provide the script and within the script show me where I enter the field names that would be greatly appreciated. I have never done this before so it's like learning another language.
Hey guys,Hope all is well.I am facing an issue with protection and hoped someone could help.I have the below code working fine to generate a .txt file and saving it with a specific extension (.dbk).The issue I have is, I can only generate the file if my pdf is unprotected (i.e., I have to leave the security settings to "Any changes allowed, except extracting pages).Is there any way I can prevent the user to be able to edit the file and, at the same time, allow him to run the below code?All help is greatly appreciated!var cMyC = this.getField("DecRec").value;var cpf = this.getField("CPF").value;var NR_CPF = cpf.slice(0,1)+cpf.slice(1,2)+cpf.slice(2,3)+cpf.slice(4,5)+cpf.slice(5,6)+cpf.slice(6,7)+cpf.slice(8,9)+cpf.slice(9,10)+cpf.slice(10,11)+cpf.slice(12,13)+cpf.slice(13,14);var retif_sim_nao = this.getField("Tipo_Declaracao").value;var ret_ori = "";var save_exerc = this.getField("Combo_Exercicio").value;save_exerc = save_exerc.slice(10,14);var save_anobase = this.getField("Combo_Ano-C
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.