Subject: | Titles to be displayed only in first page, But now it's printing automatically in all pages using Data::Report |
Date: | Mon, 18 Feb 2008 09:16:46 +0100 |
To: | bug-data-report [...] rt.cpan.org |
From: | "Abi Alias" <alias.abi [...] gmail.com> |
Hello,
I am using Data::Report <data::Report> module to make a Perl report and I
was able to create a nice report using this.
There are more than 1 pages in my report. But here I want the the titles to
be printed only in 1st page. Not in all pages. Can you please suggest the
solution?
This is the layout of my report.
$rep->set_layout ([
{ name => "nPosition", title => "Pos", width =>
3, align => ">" },
{ name => "nReference", title => "References", width =>
20, align => "<" },
{ name => "cWarehouseLocation", title => "WLoc", width =>
5, align => ">" },
{ name => "cHold", title => "Hold", width =>
4, align => ">" },
{ name => "nPieces", title => "Pieces", width =>
7, align => ">" },
{ name => "nWeight", title => "Weight", width =>
7, align => ">" },
{ name => "nCube", title => "Cube", width =>
7, align => ">" },
{ name => "cShipper", title => "Shipper", width =>
10, align => "<" },
{ name => "nHazardous", title => "Haz", width =>
3, align => ">" },
{ name => "cDestination", title => "Dest", width =>
5, align => ">" },
{ name => "cCargoDescription", title => "Cargo Description", width =>
40, align => "<" },
{ name => "cComments", title => "Comments", width =>
40, align => "<" }
]);
Thanks and Regards,
Abi Alias