Put something like <fo:block id="EndOfDocument"/> at the end of your
document.
Then wherever you need "page X of Y" insert,
page <fo:page-number/> of <fo:page-number-citation ref-id="EndOfDocument"/>

You might find http://zvon.org/xxl/xslfoReference/Output/index.html useful.
   Matthew L. Avizinis <mailto:[EMAIL PROTECTED]>
Gleim Publications, Inc.
   4201 NW 95th Blvd.
 Gainesville, FL 32606
(352)-375-0772 ext. 101
      www.gleim.com <http://www.gleim.com>


> -----Original Message-----
> From: Argyn Kuketayev [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 02, 2002 4:28 PM
> To: [EMAIL PROTECTED] Apache. Org (E-mail)
> Subject: how to print page count ?
>
>
> I've to print "page X of Y", where Y is a total number of pages. how?

Reply via email to