in reply to AFP file parsing and validation

Hiya Andreas ,

AFP is actually far more than just '...a complex system to control text and graphics on pages' - it also encapsulates print management capability e.g. alternate printer designation, output paper choice etc. etc. for typically mainframe environments.

Maybe this may be of some help to you ? There is also, not unexpectedly, quite a bit of info on publib, but that requires access to the IBM interweb.

HTH (a bit at least:-)

A user level that continues to overstate my experience :-))