Not yet rated

Problem

I'm using Acrobat Pro 9 and need to insert the DCMI date issued into 1000 PDFs. Can someone provide a batch solution that I can use with Acrobat Pro 9 that doesn't corrupt the file? <dc:date.issued>2010</dc:date.issued> So far, I've tried using AF9, but it renders the PDF unopenable and unrepairable in Pro 9.

Solution

It is possible to batch process this action using Preflight and a custom fixup.

Detailed explanation

You can append a new entry to Dublin Core via Document Properties > Description > Additional metadata > Advanced > Append (and choose an XMP snippet you've created earlier), but this dialog is not visible to batch processing.


However, the Preflight tool has the ability to write any XMP value directly, and Preflight can be used as an action in a batch processing task.

 

These are the steps to follow:

 

Create a new Preflight Fixup

  1. Choose Advanced > Preflight
  2. Choose the wrench icon to show single fixups
  3. Click Options and choose Create New Preflight Fixup
  4. Give it a name, such as "Add DC issue.date"
  5. Select "Document info and Metadata" from the category list
  6. Select "Set XMP Metadata fields" from the fixup list (it's the last entry)
  7. Enter the following fields:
  • Namespace URI:  http://purl.org/dc/elements/1.1/
  • Prefix: dc
  • Property: issue.date
  • Value: 2010
  • When: Always

and click OK to store the new fixup.

Create a new Preflight profile using this fixup

  1. Switch to the Profiles view (left-most icon on the Preflight dialog header)
  2. Click Options and choose Create New Profile
  3. Give it a name, such as "Append DC"
  4. On the right side tree view, under your new Profile, click the "Fixups" gray circle.
  5. Choose your new fixup and press the left-arrow button to include it (the icon will change to a wrench).

The new profile will appear at the very top of the Preflight tree.

 

Create a batch sequence

  • Choose Advanced > Document processing > Batch processing
  • Choose New Sequence
  • Give it a name, such as "Add CD issue-date"
  • Press Select Commands
  • Choose Preflight - Preflight and press ADD>>
  • Double-click the Preflight entry on the right side, and choose your new Append DC profile from the list.
  • Suggestion : use the On Success options to store the converted PDF in a new folder.
  • Suggestion : use the Output Options dialog to save in the same folder but with a new name.

 

You can now run that sequence against any collection of PDFs, or use the new Preflight profile and fixup on individual files. You can also create a Preflight Droplet - an icon on your desktop which you can use to apply the fixup by a drag-drop.

 

If you want to alter the date, you need only edit the Fixup - everything else will refresh automatically.


+
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.

Report abuse

Related recipes