How to programmably modify the INI file for Presorting

All things related to the Script feature of AccuZIP6, including the Script Monitor.

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:

How to programmably modify the INI file for Presorting

Post by Eric » Fri Aug 14, 2009 8:27 am

Instructions on how to programmably modify the INI file for Presorting and printing of the Mailing Statement and CASS Certificate.

Create an INI that you will use as a Template. To do this:
 
a. Open any database, Validate the Records and open the Presort window.
b. Setup the presort window for any class and size you want.
c. Click Presort
d. When the presort is completed, print the Mailing Statement and CASS Certificate from the Print Presort window.
e. You now have a “Presort.ini” file inside the Presort Folder that you can use as a Template for running through the Script feature
f. Copy the “Presort.ini” file from the Presort Folder to the \AccuZIP6 5.0\Scripts\Presorts\ folder.
i. If there is not a “Presorts” folder inside the Scripts folder, create it.
g. You can rename the “Presort.ini” file to whatever name you want, i.e., STD AUTO LTRS.INI.  This will be the file you Modify, either directly, or by creating a copy of it programably and then modifying the copy.

Note: When the script runs, it uses the INI file inside the \AccuZIP6 5.0\Scripts\Presorts\ folder that matches the name of the Saved Setting in the Presort Setup window.  The Saved Setting name can be modified programmably and is located in the actual Script file (.scr).

The STD AUTO LTRS.INI contains all of the Presort and Mailing Statement settings.  You can open the file with any text Editor to see each [SECTION] and SETTING=

Below are a few setting examples that you can change:

a. ENTRY ZIP CODE

[PRESORT]
ENTRY ZIP=48180

b. Mail Piece Attributes – Do not change PIECE TYPE=  Instead, create a new INI for FLATS for example, then any changes to the attributes will be for flat size pieces.

[PIECE INFO]
PIECE HEIGHT=3.5000
PIECE LENGTH=5.0000
THICKNESS=0.0500
WEIGHT=0.07500

c. TRAY TOTALS

[TRAY SIZE]
MIN1FT=175
MAX1FT=205
MIN2FT=357
MAX2FT=420
d. STATEMENT INFORMATION AND CASS CERTIFICATE INFORMATION

[STATEMENTINFO]
PREPAREDFOR=Joe Smith|Your Company Inc. |100 Main St|Atascadero CA 93422-2500
MAILINGAGENT=ABC Inc.|100 Main St|Anywhere USA
PERMITHOLDER=Steve Belmonte|AccuZIP Inc. |3216 El Camino Real|Atascadero CA 93422-2500

*Note: MAILINGAGENT= is printed in both section B. and D. on CASS Certificate
Chat with an AccuZIP6 technician weekdays from 7-4 PST with AccuZIP6 Live Online Support

Post Reply