Created attachment 28834 [details] new postscript extension This patch adds a new FOP PostScript extension that allows setting up code just before the %PageTrailer comment. The use case behind this enhancement was the need to include a stapling command in the document that is sent to the printer, but the extension can be used in any other situation that requires a command just before the %PageTrailer.
Created attachment 28835 [details] sample test case the attached sample FO shows how to use the new extension
Created attachment 28836 [details] output of test case in the particular example, the command '<</Staple 0>> setpagedevice', is added before the %PageTrailer of the last page.
Created attachment 28838 [details] new postscript extension (replaces previous submission)
applied at http://svn.apache.org/viewvc?rev=1343072&view=rev thanks luis! please verify and close if satisfied
verified. wiki updated too.