Code: Select all
com_Alias=ALIAS()
SELECT("_printpresort")
com_IMB=CREATEOBJECT("utilities")
com_IMB.iMailBc()
SELECT(com_Alias)
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:
Code: Select all
IMBDIGITS+SUBSTR(barcode,2,11)
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:
Code: Select all
com_Alias=ALIAS()
SELECT(com_Alias)
com_IMB=CREATEOBJECT("utilities")
com_IMB.iMailBc()
SELECT(com_Alias)