Skip to Content
Author's profile photo Former Member

Resizing 2D barcodes in Adobe forms

Please note that this technique is only relevant to older ADS versions, in the newer ones simply drag the edges of the barcode to the size you want.

Hello everyone,

This document explains how to resize 2D barcodes in transaction SFP.

The method we will use is to edit the value module width/height of the barcode by accessing the XML source.

I will demonstrate with a data matrix.

Select your barcode

ScreenHunter_02 Apr. 24 11.30.jpg

Open the XML source view

ScreenHunter_03 Apr. 24 11.31.jpg

The XML source will open with the line relevant to the barcode marked.

ScreenHunter_04 Apr. 24 11.31.jpg

Two lines below you can edit the values of moduleWidth and moduleHeight.

In this example I changed the values to 0.12in.

Certain barcodes have restrictions!

For instance, a datamatrix barcode must have equal moduleHeight and moduleWidth. If you get this wrong the barcode will not print!

After changing to your desired values save and return to design view.

ScreenHunter_05 Apr. 24 11.33.jpg

You may see a symbol like this.

Simply resize by dragging:

ScreenHunter_07 Apr. 24 11.40.jpg

And the end result:

ScreenHunter_06 Apr. 24 11.33.jpg

This is a simpler method than the one mentioned in Frederik Pena’s document Create Dynamic resizable Datamatrix barcode / images / Charts in Adobe Forms (Part 1 )

It is not dependant on a web API, however it is not dynamic.

I hope this helps you and thank you for reading.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.