Category Archives: Programming

Clear Image Field in PDF Form With Acrobat’s JavaScript

You’ve probably heard by now that the latest release of the Adobe Acrobat DC subscription version comes with a couple of new form field types (see here for more information). Image fields are not new, but they are now much … Continue reading

Posted in Acrobat, JavaScript, Programming, Tutorial | Tagged , , , | Leave a comment

Getting a Serial Number Into a Form Using SOAP

One request that shows up again and again on the Adobe Forums (or in the past on AcrobatUsers.com) is about how to generate a unique serial number or form number in a PDF file. The scenario is usually something like … Continue reading

Posted in Acrobat, JavaScript, PDF, Programming, Tutorial | Tagged , , , , , , | Leave a comment

Selective Flattening of Form Fields Using ABCpdf

Let’s assume you have a form with a lot of form fields, and somewhere during your forms workflow, you want to flatten some fields to “burn in” the information and convert it from an interactive field to static PDF content. … Continue reading

Posted in PDF, Programming | Tagged , , , | Leave a comment

How to Open a Document Attached to a PDF File

Have you ever wanted to attach a document (e.g. a MS Word file) to a PDF document, and give the user the ability to launch that file with just a click on a button? Usually, you have to save the … Continue reading

Posted in Acrobat, JavaScript, PDF, Programming, Tutorial | Tagged , , , , , , | 11 Comments

All About PDF Stamps

Putting “All About PDF Stamps” on the cover puts the bar pretty high when you write a book about PDF Stamps… But Thom Parker clears that bar without any problems! His book “All About PDF Stamps in Acrobat & Paperless … Continue reading

Posted in Acrobat, Books, JavaScript, PDF, Programming | Tagged , , , , | Leave a comment

Prevent the Save Dialog when Printing to the Adobe PDF Printer

This is from the category “Frequently Asked Questions” – this time how to programmatically specify an output filename when printing to the Adobe PDF printer. As you may know, the “Adobe PDF” printer allows you to create PDF files from … Continue reading

Posted in Acrobat, PDF, Programming | Tagged , , , , , | 6 Comments

The End is Here – of ADM that is

Adobe just released the Acrobat XI SDK, and as usual, there are a number of changes – new APIs, modified ones, and the final removal of ADM (that is the Adobe Dialog Manager). The release notes are here [PDF]. I’ve talked about this … Continue reading

Posted in Acrobat, PDF, Programming | Tagged , , , , | 1 Comment

The Trouble With the XREF Table

Have you ever tried to debug a problem with the XREF table in a PDF file? I’ve been debugging PDF problems for a long time, and every now and then I come across a file that has a corrupt XREF … Continue reading

Posted in PDF, Programming | Tagged , , | Leave a comment

Validating Field Contents

One of the questions I get asked again and again is how to validate a field value in an AcroForm with a custom validation script. Adobe provided a lot of infrastructure to do that with just a simple script. Let’s … Continue reading

Posted in Acrobat, PDF, Programming | Tagged , , , | 256 Comments

Acrobat JavaScripts – Where do they go?

JavaScripts in Acrobat can either be attached to a document – for example to validate a form field – or they can be loaded directly into the application as a folder level script. It’s pretty straight forward to figure out … Continue reading

Posted in Acrobat, JavaScript, mac, PDF, Programming | Tagged , , , , | 2 Comments