Jump to content

Variable 2D Barcode


INGuser

Recommended Posts

Good Afternoon,

I am preparing an Agent/ Owner mailing where I need to create a single page letter for each owner in the data file. However I need to group these letters by agent so that each agent gets a single envelope containing all their letters.

Once these letters are printed we would like to put them on our inserter and have them auto insert into envelopes based on the information in the 2D barcode. Is it possible to write a rule so that each page gets a 2D barcode that has a demand feed on the last page of the set for each agent? The rule that I currently use for inserting a 2d Barcode is below:

barcodeData = "";

barcodeData = "G"; //If this is the last page in the document, the value = "G" else the value = "0"

barcodeData += "0";

barcodeData += "01"; //this is the # of sheets of paper in the document--

recNum = FusionPro.Composition.inputRecordNumber;

barcodeData += FormatNumber("000000", recNum);

barcodeData += "01"; //this is the sheet # in document --

barcodeData += "000";

var DMbarcode = new DataMatrixBarcode;

DMbarcode.pointSize = 3;

DMbarcode.preferredFormat = 7;

return DMbarcode.Make(barcodeData);

I also need to know if there is a way to code the output within fusion pro to get offset each group as it comes off the printer.

I am attaching a sample letter template and data file. I am also attaching a pdf with notes on how I would like to be able to code the bar codes for each page of the letter.

INGUser Agent Owner Sample.zip

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...