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=14&rev2=15

- This page describes a proposal for FOP-specific extensions to XSL-FO to 
insert custom code into PostScript files at key places so people doing 
mass-printing can insert media selection code and stuff like that into the 
PostScript stream.
+ This page describes FOP-specific extensions to XSL-FO to insert custom code 
into PostScript files at key places so people doing mass-printing can insert 
media selection code and stuff like that into the PostScript stream.
  
  == Namespace URI ==
  
  xmlns:ps="http://xmlgraphics.apache.org/fop/postscript";
- 
- (...for now. Subject to change!)
  
  == fo:declaration ==
  
@@ -82, +80 @@

  %%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 ==

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to