Staple and punch PostScript operations supported by the ps2afp transform

The following tables list the subset of PostScript information transformed to Advanced Function Presentation (AFP) MO:DCA-P structured fields and triplets to support staple and punch operations. The changes described below should only be done by someone with extensive knowledge of the PostScript language, such as someone writing their own PostScript driver.

The << /Staple 3 information below is a particular example drawn from Default staple locations and Additional PostScript staple details. Both tables contain pertinent information for adding stapling operations to your PostScript data stream.

{ << /Staple 3  /StapleDetails << /Type 17 /Position 17 
         >> >> setpagedevice }
{ << /Staple 3  /StapleDetails << /Type 17 /Position 18 
         >> >> setpagedevice }

This example indicates that the printer will place two staples at the top of a page, whether the page has either a Portrait or a Landscape orientation.

/Staple 3
The key that introduces the StapleDetails Dictionary.
/Type 17