Support 805.461.7300
Sales
Our Technology. Your Success.
Tech Notes

Modify script text to choose saved mailing statement info

When you build a Script and add the Print Presort, Reports… event to the Script, the 13th Parameter is the Name of the Statement you would like to use when the statement is printed. This parameter can be:

  • The Name of the Setting, e.g., My Statement
    • If just the name is used, AccuZIP6 looks inside the folder \AccuZIP6 5.0\Scripts\Presorts\Statements\ for a file with the same name and a .ini extension.
  • The Name of the Setting with Full Path
    • If this method is used, e.g., C:\Statements\My Statement.ini, AccuZIP6 uses the INI file at this location for the settings.
  1. Open the AccuZIP6 5.0 program.
  2. Open any database that you have previously presorted.
  3. From the File menu, choose Print, Presort.
  4. Click the Print Reports button.
  5. Check Mailing Statement box and the box next to the Statement Name drop down.
  6. Select a Saved Statement from the drop down and click Print.
  7. At this point, a new folder was created: \AccuZIP6 5.0\Scripts\Presort\Statement\
    • If you did a Periodical Presort, the new INI will contain Periodical Saved Statement settings, otherwise it will contain Statement information for all other statements.
  8. Inside that folder is a new file with the same name as the Saved Statement you selected in Step 6 above.
  9. You can now Quit AccuZIP6 and use this new INI file as your Template to create as many Saved Statement settings as you want.
  10. All you need to do each time before you run a script is modify the Script file (*.scr) located inside the \AccuZIP6 5.0\Scripts\ folder and the Event line named “Print Presort, Reports…”, specifically the 13th parameter:
Example:
Print Presort, Reports...[1,1,0,0,0,0,"06/22/2008",0,0,1,1,0,SettingName,0,0,0]
AccuZIP6 5.0 now looks in the \AccuZIP6 5.0\Scripts\Presorts\Statement\ folder for a file that matches the name of the Saved Setting in the “Print Presort, Reports…” event. If the saved name is a Pathname, then that INI file is used, example: Print Presort, Reports...[1,1,0,0,0,0,"06/22/2008",0,0,1,1,0,C:\SettingName.ini,0,0,0]

« Back to Tech Notes

I just wanted to let your team know how much I appreciate you. I'm still fairly new at doing mail data processing, and it if weren't for your active support -- even for the not so smart questions -- I probably wouldn't be doing as well in this job as I am now. I have much more to learn as I have seen, but I just wanted to say thank you for your help! You all are wonderful!
T.B., Greenville, SC