I’m trying to create a print document with a data matrix barcode in it. I am creating a variable barcode based on data from a variable field in a CSV file. Typical data looks like the below:
I’m inserting it exactly as shown. However, when I print it, it doesn’t scan. When I compare it to expected output, it is close but not exact. I’ve tried using each endcoding option with no luck.
I’ve been doing some tests and when I use that exact string in the barcode script with TEXT encoding on the barcode, the resulting barcode works perfectly. See image below.
Are you sure you’re displaying the entire barcode on the page? By default, when you add a barcode object, it doesn’t necessarily match the size of the barcode itself. You need to either resize the box or set the Scale to Proportional.
I’m still having problems though. I am originally passing the string through variable field set up in datamapper. I tested yours out but it still isn’t working. See screen shots below:
I am expecting something more like mine without the Cross/Cartesian plane.
It really looks like the Auto Detect Encoding option is just not picking up the right encoding for this data. I’m running into the same issue when using that. Just won’t scan.
TEXT encoding gives the output like mine above with 4 squares. But C40 encoding gives an output more like what you want (single square) and is still scannable by my devices.