iprint2 Posted June 1, 2017 Share 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 Link to comment Share on other sites More sharing options...
Dan Korn Posted June 1, 2017 Share 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 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.