Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

AFP file parsing and validation

by andreas1234567 (Vicar)
on Oct 10, 2013 at 08:25 UTC ( #1057701=perlquestion: print w/replies, xml ) Need Help??

andreas1234567 has asked for the wisdom of the Perl Monks concerning the following question:

Honorable Monks

Advanced Function Presentation is a file format comparable to PDF. Developed by IBM in the 80's it is a complex system to control text and graphics on pages.

I am in charge of two systems that communicate using the AFP file format. I would like to understand whether it is possible to parse and validate these complex, binary files.

There is a module Parse::AFP by long time perl 6 and CPAN contributor Audrey Tang. It allows modification of AFP files and comes with a script that allows contents to be dumped to HTML.

Could anyone share their experience or insights on AFP file parsing and validation?

No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]

Replies are listed 'Best First'.
Re: AFP file parsing and validation
by Bloodnok (Vicar) on Oct 10, 2013 at 10:45 UTC
    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 :-))

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1057701]
Approved by kcott
Front-paged by Old_Gray_Bear
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2021-01-26 15:11 GMT
Find Nodes?
    Voting Booth?