iprint2 Posted June 1, 2017 Posted June 1, 2017 I am needing to use a 2D barcode. My problem is that in the first line of code the “02” I need to be the page count with a zero before it. This page count is variable per record. Any idea how to make that happen. I tried to put the page count rule in there, but it didn’t seem to work. var dataforbarcode = “02" + Field('SEQUENCE'); var dmbarcodeobj = new DataMatrixBarcode; dmbarcodeobj.encodingmode = "C40"; dmbarcodeobj.pointSize = 4; return dmbarcodeobj.Make(dataforbarcode); Quote
Dan Korn Posted June 1, 2017 Posted June 1, 2017 Check the "Re-evaluate this rule for every text flow" box in the Rule Editor, and change the first line to this: var dataforbarcode = FormatNumber("00", FusionPro.Composition.totalPages); Quote
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.