[Xmlgraphics-fop Wiki] Update of "ExtensionsForPostScript " by SimonSteiner

Apache Wiki <[email protected]>
Newsgroups gmane.text.xml.fop.cvs
Message-ID <[email protected]>
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Xmlgraphics-fop Wiki" for change notification.

The "ExtensionsForPostScript" page has been changed by SimonSteiner:
https://wiki.apache.org/xmlgraphics-fop/ExtensionsForPostScript?action=diff&rev1=15&rev2=16

  
  Use case: The user can add special setup code, for example, initializing
  the InputAttributes dictionary used for media selection.
+ 
+ Add after fo:layout-master-set:
+ {{{
+ <fo:declarations>
+   <ps:ps-setup-code name="media-selection">
+     <![CDATA[<< /MediaType (letterhead) >> setpagedevice]]>
+   </ps:ps-setup-code>
+ </fo:declarations>
+ }}}
  
  == fo:simple-page-master ==
  
@@ -80, +89 @@

  %%EndPageSetup
  %FOPBeginRegionViewport: xsl-region-body
  [...]
- }}}
- 
- To add to start of the postscript output use after fo:layout-master-set:
- {{{
- <fo:declarations>
-   <ps:ps-page-setup-code name="media-selection">
-     <![CDATA[<< /MediaType (letterhead) >> setpagedevice]]>
-   </ps:ps-page-setup-code>
- </fo:declarations>
  }}}
  
  == ps:ps-page-trailer-code-before ==
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.