Use Case 3: Towards a free Automated Document Factory

The script tab2afp.pl shows how to use afppowertools as a component of an Automated Document Factory. Suppose you have a folder with your input afps. You need to extract the indexes (for example with the script afp_tle2tab.pl), apply some sorting / postal optimisation program (not shown here). At the end you must have a tab file that describes the ultimate print job: each line says which document must be taken from which file at what offset. tab2afp.pl creates a file ready for printing, adding formdefs, IMM's, control codes (for example bar codes), adding white versos or separation pages and jogs (stack offset) if needed. The kind of output depends on configuration files that reside, by default, in /usr/share/afppowertools/config.