cancel
Showing results for 
Search instead for 
Did you mean: 

Barcode, how to center and fit to area in Adobe Form

Former Member
0 Kudos

Hi Gurus,

I need your help.  I have developped labels with Barcode, but the user want to have all Barcode printed in center of the area and fit to this area.

The barcode will be printed for a product number from 5 digits to 8 digits.

Thanks a lot for your help.

JC

Accepted Solutions (0)

Answers (1)

Answers (1)

diego_santos
Employee
Employee
0 Kudos

Hi Former Member,

You can use the XML parameters of Adobe LiveCycle Designer.

In the below example I've modified the moduleWidth and moduleHeight to increase the Data Matrix barcode in the screen.


   <field name="DataMatrixBarCode1" y="12.7mm" x="31.75mm" w="231.775mm" h="158.75mm" access="readOnly">

            <ui>

               <barcode type="dataMatrix" dataLength="30" moduleWidth="0.3in" moduleHeight="0.3in"/>

            </ui>

            <value>

               <text>1234567890</text>

            </value>

         </field>

With that, you will also need to adjust the barcode field size in the layout.

Regards,

Diego