With Release 4.0A, the spool system is making available the SAPGOF (Generic Output Format) exchange format. This exchange format allows customers to finish formatting and post-process R/3 output requests.
More information is available in the R/3 Printing Guide (Help -> R/3 Library -> BC -> Printing Guide).
See also the SAPscript Raw Data Interface (RDI) for related functionality.