You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by Apache Wiki <wi...@apache.org> on 2016/12/21 10:22:26 UTC
[Xmlgraphics-fop Wiki] Update of "ExtensionsForPostScript" by SimonSteiner
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: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org