add this codes to your rml file:<drawRightString x="19.5cm" y="0.3cm">Page: <pageNumber/> from <pageCount/></drawRightString>