AccuZIP Users Community Forum Index AccuZIP Users Community
Tech Support, product information, postal news, and everything else concerning AccuZIP, Inc.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Export the IM® Barcode during the Scripting process

 
Post new topic   Reply to topic    AccuZIP Users Community Forum Index -> Scripting (Automating AccuZIP6)
View previous topic :: View next topic  
Author Message
Dave
Site Admin


Joined: 20 Sep 2006
Posts: 619

PostPosted: Tue Jul 22, 2008 2:18 pm    Post subject: Export the IM® Barcode during the Scripting process Reply with quote

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

Code:
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:
Code:
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:

Code:
com_Alias=ALIAS()
SELECT(com_Alias)
com_IMB=CREATEOBJECT("utilities")
com_IMB.iMailBc()
SELECT(com_Alias)
Back to top
View user's profile Send private message
Eric
Moderator


Joined: 19 Sep 2006
Posts: 1898

PostPosted: Fri Aug 26, 2016 3:43 pm    Post subject: Export the IMPB in a script Reply with quote

To export the Intelligent Mail PACKAGE Barcode, add a Command Event AFTER the Presort Mail… and Print Presort, Reports… events to generate the IMpb and the eVS file with the following Syntax:

Code:
com_Alias=ALIAS()
SELECT("_printpresort")
com_IMB=CREATEOBJECT("utilities")
com_IMB.iMailpb()
=evs()
SELECT(com_Alias)

_________________
Chat with an AccuZIP6 technician weekdays from 7-4 PST with AccuZIP6 Live Online Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AccuZIP Users Community Forum Index -> Scripting (Automating AccuZIP6) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group