XML Publisher last page only content
In some cases in XML publisher reports, we need to get content in only last page of the report.
This requirement may come in case of generating cheques for invoices, Signature content on each report like invoice, packslips, purchase orders.
To do this add XML publisher content tag as
<?start@last-page:body?> <?end body?>
before this line add ‘Continuous Section Break’ of MS-Word in your rtf template file.
Click on Insert->Break menu in MS-Word and select ‘Continuous’ radious button in the break dialog that comes up.
Any content followed above tag line will be shown at footer part of your report.
In some cases if report fits on single page, then you can use
<?start@last-page-first:body?> <?end body?>
as last page content tag.
4 Responses to “XML Publisher last page only content”
August 3rd, 2009 saat: 11:08 am
Hi Sir,
I had done this …But In this When I use Continuous Section Break It Shows one extra Blank page and double of each page…If the file wants to print 2 pages it will show 5 pages….(double of each page and one extra blank page)
Plz help me to solve this…Its Urgent…
Regards
Chithambaram Perumal
August 3rd, 2009 saat: 11:21 pm
recheck your template once, and remove any blank pages in the template.
and also can you check your view output, it should return only one row.
August 10th, 2009 saat: 11:57 pm
[...] http://creativeslab.net/xml-publisher-last-page-only-content/ [...]
October 6th, 2009 saat: 10:00 am
As I Know can use to set printing something on the last page but I have a question how to printing ‘Continue’ on the pages which is not the last page and printing on the last page.
Leave a Reply