Hello Monks! I use this simple Script to generate reports:
use strict; use warnings; use PostScript::Convert; use PostScript::Report (); # Describe the report: my $desc = { report_header => [ HBox => { border => 0 }, [ VBox => { width => 100 }, { value => \'Foo Bar Recycling' }, { value => \'123 Any Street' }, { value => \'Your Town, USA' }, ], ], # end report_header stripe => [ 0.85, '#FF0' ], # Grey & yellow columns => { data => [ # Header is centered Column is right ju +stified [ 'Number' => 40, { align => 'center'}, { align => 'right +'} ], [ 'Letter' => 40 ], [ 'Text' => 320 ], # Both header and column are right justif +ied [ 'Right' => 60, { align => 'right'}, { align => 'right' +} ], ], }, # end columns }; # Generate sample data for the report: my $letter = 'A'; my @rows = map { my $r=[ $_, $letter, "$_ $letter", "Right $_" ]; ++$letter; $r } 1 .. 76; # Build the report and run it: my $rpt = PostScript::Report->build($desc); psconvert($rpt->run(\@rows), 'pdf_image.pdf');
In the output pdf is one header with columns. Now i need to generate a report with two or more header+column combinations in one report. Is there a way to get this with PostScript-Report??

In reply to PostScript-Report - Sections by kean

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.