Jan 15, 2012

How to Create Labels in a PDF With ColdFusion

,
ColdFusion is a program created by Adobe which allows users to edit PDF files using HTML and other codes. To create a PDF form with labels that need filling in, the PDF must first be created using LiveCycle. LiveCycle is another program created by Adobe and available in the current Adobe Suite. LiveCycle is an ideal option to use when creating a PDF form to be edited in ColdFusion because it will keep all the information and not flatten the file, unlike Microsoft Office.

Instructions

    • 1
      Open LiveCycle on your computer. Use LiveCycle’s preset forms to choose a form or create your own form which you would like to create labels for using ColdFusion.
    • 2
      Set all the preferences for your form in LiveCycle and click “File,” “Save” and enter in a name for the file to be saved as. LiveCycle should automatically save the file in the PDF file format; if it does not, select “PDF” from the drop-down menu in the “Save” window.
    • 3
      Open a blank template in ColdFusion to add the labels to the form you already created.
    • 4
      Type “<cfpdfform action="populate" source="DOCUMENT NAME"> into the template. Insert the name of your document where “Document Name” is written above, including the extension. Press “Enter.”
    • 5
      Tab over once and then enter “<cfpdfsubform name="FORM NAME">.” Insert your own chosen name for the form edits in the “Form Name” spot. Press “Enter.”
    • 6
      Tab over twice and enter “<cfpdfformparam name=”LABEL NAME".” Choose the label which you would like to fill in and use its correct name (from LiveCycle), enter it into the “Label Name” slot. Press “Enter.”
    • 7
      Tab over three times and enter whatever you would like to label to be filled out as, for example, “value="Bill Smith">.” Press “Enter.”
    • 8
      Continue filling in labels from your form in this same manner until all labels are filled in. Tab over twice and enter “</cfpdfsubform>.” Press “Enter,” tab over once and enter “</cfpdfform>.” This will complete the editing of the PDF form labels in ColdFusion.
    • 9
      Click “File” and “Save” to save the information as the name described in Step 5.
    • 10
      Enter the URL for the form (which can be found in the LiveCycle settings) into your Internet browser to view the labels you just added to your PDF form.

0 commentaires to “How to Create Labels in a PDF With ColdFusion”

Post a Comment

 

HowToYo Copyright © 2011 | Template design by O Pregador | Powered by Blogger Templates