Skip navigation
Currently Being Moderated

Flattened PDF Form and Barcode not displaying

Apr 18, 2011 7:28 AM

I see there are a lot of discussions that are not answered in this forum, so I am guessing this will go unanswered as well.  But I am looking for a solution for the issue in the subject. I have a simple PDF form built in LiveCycle that I am populating with Coldfusion. Once the form is populated I then flatten the form. The barcode appears up to the flattening point which is when it disappears. The characters that populated the barcode field ARE displaying but the image is not.

 

Is there a solution?

 
Replies
  • Currently Being Moderated
    Apr 18, 2011 7:48 AM   in reply to dujsu

    If the barcode value does not change once the form is rendered, then the barcode should not disappear. However, if there is code in the "calculate" event or any event following the initial render of the form then the barcode will disappear if you have not properly Reader Extended the form.

     

    You can experiment with this using Acrobat. Open your form in Acrobat instead of the free Adobe Reader and see if you get the same results. If it works in Acrobat but not in Reader then it's a calculate / licensing problem.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 18, 2011 9:32 AM   in reply to dujsu

    How are you flattening the forms?  I'm assuming PDFg or Output?

     

    Also, be sure your barcode looks something like this:

     

    <field name="PDF417BarCode1" y="50.8mm" w="66.7mm" h="25.4mm" access="readOnly">

    <

    ui>

    <

    barcode type="pdf417" dataLength="10" moduleWidth="0.0133in" moduleHeight="0.02661in" errorCorrectionLevel="5"/>

    </

    ui>

    <

    value>

    <

    text>1234567890</text>

    </

    value>

    </

    field>

     

    and not...

     

    <field name="PaperFormsBarcode1" w="82.55mm" h="44.45mm" access="readOnly">

    <

    ui>

    <

    barcode type="pdf417" moduleWidth="0.338mm" moduleHeight="0.676mm" errorCorrectionLevel="5">

     

    <?templateDesigner decodeMethod 2?>

     

    <?templateDesigner delimiter '\t'?></barcode>

    </

    ui>

    <

    calculate>

    <

    script contentType="application/x-javascript">

    ...

     

    ...completely void of script and the value in only the <text> element.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 15, 2012 2:09 PM   in reply to dujsu

    Did you ever find a solution to this? I'm having the same problem (disappearing barcodes replaced by the values they are supposed to encode). But i'm not sure whether the form flattening is the problem in my case. Just wondering.

     

    Thanks,

    Bruce

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 15, 2012 5:39 PM   in reply to jbrucedenham

    Hi Bruce, there are a number of reasons why a barcode would gray out or disappear. It's either not propery extended by Reader Extensions, or the capacity of the barcode itself has been overrun. What kind of barcode are you trying to fill?

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 3, 2012 5:54 AM   in reply to sixteenlabs

    If the form is an interactive Dynamic Form (derived from an .XDP) you built using LiveCycle Designer, the only supported way of "flattening" it (making it nonInteractive with no form fields) is via LiveCycle Output (8.1.2+). Do you have this product module?

     

    LiveCycle Barcoded Forms can only accept two types of input for scanning: An Image file, such as TIFF (greyscale @ 300 DPI provides best scan results) for example, and a flat PDF (no form fields).

     

    In order to see the barcode in Adobe Reader, assuming it is a 2D Barcode, such as PDF417, you would need Adobe 2D barcode Reader Extension Rights enabled for the PDF.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points