Support 805.461.7300
Sales
Our Technology. Your Success.
Tech Notes

Export the IM® Barcode during the Scripting process

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

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:

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.

If you want to export the Intelligent Mail barcode fields in a script without presorting, use this command instead:

com_Alias=ALIAS()
SELECT(com_Alias)
com_IMB=CREATEOBJECT("utilities")
com_IMB.iMailBc()
SELECT(com_Alias)

« Back to Tech Notes

AccuZIP's customer service is great. It keeps us from having down time and I'm always able to get a quick answer. don't have to worry about the size of the order I'm working with a client on. Most times, AccuZIP employees know more than the USPS employees. I've been able to navigate the lack of government employee training, which saves time, money and headaches.
M.L., Lansing, WV