Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
Most wise monks:

We all know that "the web is not print". That is to say that HTML-formatted documents and their cousins are NOT meant for printing in a paginated fashion as are StarOffice docs, and so forth. Though I've tried time and again to pound this fact into the brains of coworkers and clients alike, sooner or later they all still demand that I take abstract data in one form or another and create a miracle by which this data can be printed in a nicely formatted and paginated document.

More details: I've got a database which contains several tables making up a telephone directory for the company. It's got all the bells and whistles for doing lookups on various criteria and works fantastic through the browser. But now I'm told that they also want to be able to take all of the telephone directory contents and print it in a nicely formatted office-like document.

Here's where I get to the perl-related stage: does anyone know of ways to take data like this and use a Perl module that can create paginated documents? Or am I really up the creek without a paddle?

Thanks for reading.


In reply to "The web is not print" by Kozz

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!
  • 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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others surveying the Monastery: (14)
    As of 2014-07-23 20:20 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My favorite superfluous repetitious redundant duplicative phrase is:









      Results (152 votes), past polls