Increase the gap between the tables, 70 seems about right
start_y => $boty - 70,
Update : If that doesn't work, try increasing the
start_h,
next_h parameters and use
$nextpage for the second table.
my ($nextpage, undef, $boty) = $pdftable->table(
$pdf,
$page,
$some_data,
x => $left_edge_of_table,
w => 495,
start_y => 750,
next_y => 750,
start_h => 750,
next_h => 750,
padding => 5,
padding_right => 10,
background_color_odd => "gray",
background_color_even => "lightblue",
);
$pdftable->table(
$pdf,
$nextpage,
$more_data,
x => $left_edge_of_table,
w => 500,
start_y => $boty - 10,
next_y => 750,
start_h => $boty - 10,
next_h => 750,
padding => 5,
padding_right => 10,
background_color_odd => "navy",
background_color_even => "red", #cell background color for even r
+ows
);
poj
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.