changewinds Posted October 2, 2012 Share Posted October 2, 2012 Hi, We're trying to copy a customer's 2D Datamatrix barcode, and they insist that the cell format needs to be fixed in 12x12 squares. (Meaning that if you would count the individual spaces that would make up the 2D barcode's grid, there would be 12 squares going across the barcode and 12 squares going up and down the height of the barcode). In FusionPro, it seems like the 2D barcodes always default to a 14x14 grid - is there any way to modify this? Thanks! -Gwen Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted October 2, 2012 Share Posted October 2, 2012 By default, the Data Matrix barcode is output at the minimum size required to encode the data. You can force it to a different size by changing the barcode format, like so: var barcode = new DataMatrixBarcode; barcode.preferredFormat = 2; return barcode.Make("some data");Where format 2 denotes a size of 14 x 14, per this table: http://www.idautomation.com/barcode-faq/2d/data-matrix/#DataMatrix_Formats The properties of the DataMatrixBarcode object are listed on the Building Blocks dialog, on the Objects node, under Barcodes, and then DataMatrixBarcode. You can also pass the format as a parameter to the MakeDataMatrixBarcode function, which is on the Functions tab under Barcode. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.