Hi, 
 Please look at the below program and especially
margin settings of body and table.
 If I print this out in HP printer,Lexmark printer and
if I measure the paper output
 with a Millimeter scale or ruler.The margins all
sides seems to vary by plus or minus
 2-6 mm with HP printer and Lexmark.Even if I compare
my printer output with the original 
 paper document in SUNLIGHT,its varying.
 
 If this is the case how can we assure that we can
produce the exact Paper document with
 PDF using XSL:fo which is printer portable. ??
 
 Is PDF is printer portable ?
 
 Please advice me where i'm going wrong.
 
 Regards
 Balaji

Code start:
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
  <fo:layout-master-set>
    <fo:simple-page-master master-name="currency-page"
                       page-width="210mm"       
                       page-height="297mm">       
       <fo:region-body
                        margin-top="10mm"
                        margin-bottom="7mm"
                        margin-left="20mm"
                        margin-right="7mm"
       />                             
       <fo:region-start/>
    </fo:simple-page-master>
  </fo:layout-master-set>

<fo:page-sequence master-reference="currency-page">
    <fo:static-content flow-name="xsl-region-start">  
 
      <fo:block font-size="3mm"text-align="start">Some
text will go here later
      </fo:block>
    </fo:static-content>
<fo:flow flow-name="xsl-region-body">
        <fo:table border="0.015mm solid black">
                <fo:table-column column-width="183mm"/>         
          <fo:table-body>
            <fo:table-row height="280mm">                   
              <fo:table-cell><fo:block>A border
with,10,7,20,7mm</fo:block>
              </fo:table-cell>      
            </fo:table-row>
        </fo:table-body>
        </fo:table>
</fo:flow>
</fo:page-sequence>
</fo:root>
Code end:

http://movies.yahoo.com.au - Yahoo! Movies
- Vote for your nominees in our online Oscars pool.

Reply via email to