Advanced Function Presentation data stream (AFPDS) is a printer-independent data stream that composes full pages within a document. Many of the page elements you can use with AFP are special objects called resources.
AFPDS files can be generated on i5/OS as well as many other platforms. These operating systems can send AFPDS files to each other for printing on AFP-configured printers.
Also see AFP