Hi,

The below example is the XSL:FO sample file having a form-def/map.
I hope, you are looking for this ...

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"; xmlns:afp="http://xmlgraphics.apache.org/fop/extensions/afp";>
   <fo:layout-master-set>
<fo:simple-page-master master-name="a4" margin="5mm" page-height="297mm" page-width="210mm">
           <fo:region-body></fo:region-body>
       </fo:simple-page-master>
   </fo:layout-master-set>
   <fo:declarations>
<afp:include-form-map name="F1SAMP1" src="../../resources/f1samp.fde"/>
     </fo:declarations>
   <fo:page-sequence master-reference="a4">
       <afp:invoke-medium-map name="F1SAMP1"/>
       <fo:flow flow-name="xsl-region-body">
           <fo:block>This is a test</fo:block>
       </fo:flow>
   </fo:page-sequence>
</fo:root>

Venkat.
afp images wrote:
Hi EveryBody

        I am new to Afp and now i want to use form definitions for page
printing .plz can any body help me in writing form definitions.I have
searched for form definitions FORMDEF ABCD ;
COPYGROUP ABCD
DUPLEX NORMAL ;
SUBGROUP BOTH
COPIES 1 ; please suggest me how to implement in my xsl so that i can go
ahead with afp.

Thanks in advance..
Regards
NagaSekhar


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

Reply via email to