Jump to content

2D barcode with variable page count


iprint2

Recommended Posts

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);

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...