Sample Parameter XML File
Every Parameter file will begin with these first two lines:
<?xml version="1.0" encoding="UTF-8"?>
<Presort_Parameters xmlns="http://WindowBook.com/Presort">
Every Parameter file will end with:
</Presort_Parameters>
Please ignore the headings, they have been added to call out the respective parts of this sample parameter file which has an input file, three output file types, reports, tray labels and placards.
This sample parameter XML file is similar to, but not the same as the parameter XML file that is provided with the installation of 1PP.
Job/Mailer Identification, Piece Attributes, IMbs and Containers
Example Job/Mailer Identification, Piece Attributes, IMBS & Containers
<?xml version="1.0" encoding="UTF-8"?>
<Presort_Parameters xmlns="http://WindowBook.com/Presort">
<Job_ID>TestData</Job_ID>
<Job_Name>TestData_Will_Make_IMbs</Job_Name>
<Mailer_Name>WindowBook</Mailer_Name>
<Mailer_City>Cambridge</Mailer_City>
<Mailer_State>MA</Mailer_State>
<Origin_Zip>02139</Origin_Zip>
<Origin_Zip4>3781</Origin_Zip4>
<Date_of_Mailing>2020-10-01</Date_of_Mailing>
<Processing_Option>Commingle</Processing_Option>
<Mail_Class>1</Mail_Class>
<Processing_Category>LT</Processing_Category>
<Full_Service>true</Full_Service>
<!--Service_Type_ID_Auto></Service_Type_ID_Auto>
<Service_Type_ID_Non_Auto></Service_Type_ID_Non_Auto -->
<Address_Correction_Option>ACS - CSR 1</Address_Correction_Option>
<IV_MTR>true</IV_MTR>
<USPS_Split_Type>Commingle</USPS_Split_Type>
<USPS_Split_Min>0</USPS_Split_Min>
<Container_Type>2-foot Tray</Container_Type>
<Pallet_Min_Tray_Layers>1</Pallet_Min_Tray_Layers>
<Pallet_Max_Tray_Layers>12</Pallet_Max_Tray_Layers>
<Pallet_Max_Weight>2000</Pallet_Max_Weight>
<Tray_Mark>T#</Tray_Mark>
<Logical_Tray_Mark>LT#</Logical_Tray_Mark>
<Pallet_Mark>P#</Pallet_Mark>
<Logical_Pallet_Mark>LP#</Logical_Pallet_Mark>
<Piece_MID>999123456</Piece_MID>
<Piece_Starting_Serial_Number>0</Piece_Starting_Serial_Number>
<Job_Default_Piece>
<Piece_ID>JOB</Piece_ID>
<Weight unit="oz">.4</Weight>
<Length unit="in">9.5</Length>
<Height>4.25</Height>
<Thickness>.04</Thickness>
<Ballot_Mail>false</Ballot_Mail>
</Job_Default_Piece>
Input and Output Files
Input File
Example Input File
<Input_File File_Format='Delimited' Delimiter=',' Record_Type='Input'>
<File_Name>./Test_Data.csv</File_Name>
<Field Name='From_input_File_sequence' Column='+1' />
<Field Name='Firm_Name' Column='+1' />
<Field Name='Name_Prefix' Column='+1' />
<Field Name='First_Name' Column='+1' />
<Field Name='Middle_Name' Column='+1' />
<Field Name='Last_Name' Column='+1' />
<Field Name='Full_Name' Column='+1' />
<Field Name='Title' Column='+1' />
<Field Name='Address_Line_1' Column='+1' />
<Field Name='Address_Line_2' Column='+1' />
<Field Name='City' Column='+1' />
<Field Name='State' Column='+1' />
<Field Name='ZIP_Code' Column='+1' />
<Field Name='ZIP4' Column='+1' />
<Field Name='Last_Line' Column='+1' />
<Field Name='Plus4' Column='+1' />
<Field Name='ZIP_11' Column='+1' />
<Field Name='ZIP_9' Column='+1' />
<Field Name='Delivery_Point' Column='+1' />
</Input_File>
Output Files
Output File for 5-digit Split
Example Output File for 5-Digit Split
<Output_File File_Format='Delimited' Delimiter=',' Record_Type='USPS_Split'>
<File_Name>./Out.csv</File_Name>
<Field Name='From_input_File_sequence' Column='+1' />
<Field Name='Firm_Name' Column='+1' />
<Field Name='Name_Prefix' Column='+1' />
<Field Name='First_Name' Column='+1' />
<Field Name='Middle_Name' Column='+1' />
<Field Name='Last_Name' Column='+1' />
<Field Name='Full_Name' Column='+1' />
<Field Name='Title' Column='+1' />
<Field Name='Address_Line_1' Column='+1' />
<Field Name='Address_Line_2' Column='+1' />
<Field Name='City' Column='+1' />
<Field Name='State' Column='+1' />
<Field Name='ZIP' Column='+1' />
<Field Name='ZIP4' Column='+1' />
<Field Name='Last_Line' Column='+1' />
<Field Name='ZIP_11' Column='+1' />
<Field Name='ZIP_9' Column='+1' />
<Field Name='Delivery_Point' Column='+1' />
</Output_File>
Output File for Production
Example Output File for Production
<Output_File File_Format='Delimited' Delimiter=',' Record_Type='Piece' Header='true'>
<File_Name>For_Production_All_Fields.csv</File_Name>
<Field Name='From_input_File_sequence' Column='+1' />
<Field Name='Firm_Name' Column='+1' />
<Field Name='Name_Prefix' Column='+1' />
<Field Name='First_Name' Column='+1' />
<Field Name='Middle_Name' Column='+1' />
<Field Name='Last_Name' Column='+1' />
<Field Name='Full_Name' Column='+1' />
<Field Name='Title' Column='+1' />
<Field Name='Address_Line_1' Column='+1' />
<Field Name='Address_Line_2' Column='+1' />
<Field Name='City' Column='+1' />
<Field Name='State' Column='+1' />
<Field Name='ZIP' Column='+1' />
<Field Name='ZIP4' Column='+1' />
<Field Name='Last_Line' Column='+1' />
<Field Name='ZIP_11' Column='+1' />
<Field Name='ZIP_9' Column='+1' />
<Field Name='Delivery_Point' Column='+1' />
<Field Name='Parent_Container_Destination' Column='+1' />
<Field Name='Parent_Container_Number' Column='+1' />
<Field Name='Container_Destination' Column='+1' />
<Field Name='Container_Number' Column='+1' />
<Field Name='Output_Record_Number' Column='+1' />
<Field Name='Piece_IMB_Text' Column='+1' />
<Field Name='Tray_Break_Mark' Column='+1' />
<Field Name='Pallet_Break_Mark' Column='+1' />
</Output_File>
Output File for Commingler
Example Output File for Commingler
<Output_File File_Format='Delimited' Delimiter=',' Record_Type='Piece' Header='true' >
<File_Name>IMBs_For_Commingler.csv</File_Name>
<Field Name='Piece_IMB_Text' Column='+1' />
<Field Name='imb_adr_ec' Column='+1' />
</Output_File>
Output Report for Pallets
Example Output Report for Pallets
<Output_File File_Format='Delimited' Delimiter=',' Record_Type='Parent_Container' Header='true' >
<File_Name>pallet_rpt.csv</File_Name>
<Field Name='Parent_Container_Number' Column='+1' />
<Field Name='Parent_Container_Destination' Column='+1' />
<Field Name='Parent_Container_Destination_Line' Column='+1' />
<Field Name='Subcontainer_Count' Column='+1' />
<Field Name='Parent_Container_Pieces' Column='+1' />
<Field Name='Parent_Container_Weight' Column='+1' />
</Output_File>
Output Report for Trays
Example Output Report for Trays
<Output_File File_Format='Delimited' Delimiter=',' Record_Type='Container' Header='true' >
<File_Name>tray_rpt.csv</File_Name>
<Field Name='Container_Number' Column='+1' />
<Field Name='Container_Destination' Column='+1' />
<Field Name='Container_Destination_Line' Column='+1' />
<Field Name='Container_Pieces' Column='+1' />
<Field Name='Container_Weight' Column='+1' />
</Output_File>
Output Summary Report
Example Output Summary Report
<Output_File File_Format='Text' Record_Type='Job_End' Form_File='Forms/Job_Summary.form' >
<File_Name>summary_rpt.txt</File_Name>
</Output_File>
Output PDF File with Two-Up Tray Labels
Example PDF File with Two-Up Tray Labels
<Output_File File_Format='Text' Record_Type='Job_Start' Form_File='Forms/two_up_start.form' >
<File_Name>tags.pdf</File_Name>
</Output_File>
<Output_File File_Format='Text' Record_Type='Container' Form_File='Forms/tray_tag.form' Append='true' >
<File_Name>tags.pdf</File_Name>
</Output_File>
<Output_File File_Format='PDF' Record_Type='Job_End' Form_File='Forms/endpdf.form' Append='true' >
<File_Name>tags.pdf</File_Name>
</Output_File>
Output PDF File for Pallet Placards
Example Output PDF File for Pallet Placards
<Output_File File_Format='Text' Record_Type='Job_Start' Form_File='Forms/pallet_placard_start.form' >
<File_Name>placard.pdf</File_Name>
</Output_File>
<Output_File File_Format='Text' Record_Type='Parent_Container' Form_File='Forms/pallet_placard.form' Append='true' >
<File_Name>placard.pdf</File_Name>
</Output_File>
<Output_File File_Format='PDF' Record_Type='Job_End' Form_File='Forms/endpdf.form' Append='true' >
<File_Name>placard.pdf</File_Name>
</Output_File>
See also