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 am especially motivated to take time to draw attention to Vince. In two instances, we potentially faced loss of product – significant loss, but thanks to everyone’s efforts, most notably Vince’s, we ended up with minor re-work and zero loss of stock. He’s patient and thorough, knowledgeable and resourceful. And he’s patient – A Big Plus when dealing with me. Long story short, the guy was able to not only produce a solution, but to prove to me the veracity of it. I hung up the phone saving thousands of dollars in catalog stock, not lost but salvaged, and my department had to spend just a wee bit of time on job re-work (which I was happy to do, all things considered). But I also hung up with a peculiar urge to write about Vince, incongruent as that may be since I rarely am moved to write letters of this sort. So… In a time of crisis, Vince was a terrific asset and ally. If I were his boss, I’d attempt a merit raise authorization, he was that exceptional.
H.D., Shawnee Mission, KS