Create the Intelligent Mail Barcode in a script

Information and solutions relating to printing and exporting the intelligent mail barcode.

Moderators: Chrissy, Steve, Terry, Donna, Dave, Eric, MartyH, Kristen, Geoff, Vince

Post Reply
User avatar
Eric
Moderator
Posts: 1909
Joined: Tue Sep 19, 2006 3:29 pm
Contact:

Create the Intelligent Mail Barcode in a script

Post by Eric » Tue Jul 22, 2008 8:08 am

Here is the Command to create the Intelligent Mail Barcode during the Scripting process.

Add a Command Event AFTER the Presort Mail… event with the following Syntax:

Code: Select all

com_Alias=ALIAS()
SELECT("_printpresort")
com_IMB=CREATEOBJECT("utilities")
com_IMB.iMailBc()
SELECT(com_Alias)
This command will create two fields, IMBARCODE, 65-CHARACTERS and IMBDIGITS 20-CHARACTERS.

When you are setting up the Export Event, you can add two new fields to the Export:

IMBARCODE, Character, 65
Example: DTTFDFFADDFFTFFDATTDFTDDATDDTDDFTDFTTFTDTDTFFFFFDATDTTTFAAFDAAAFT
Note: This is the column you can use with our USPS4CB, Regular 16 point font to print the IM® Barcode

IMBDIGITS, Character, 31

You must also enter this Expression to get all 31-characters:
Expression:

Code: Select all

IMBDIGITS+SUBSTR(barcode,2,11)
Example: 00702123456000002038 + the Delivery Point Barcode
Note: The IMBDIGITS is not used for printing, but can be used to track and for knowing what the IMBARCODE represents.
Chat with an AccuZIP6 technician weekdays from 7-4 PST with AccuZIP6 Live Online Support

Post Reply