Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2022-05-20 11:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (73 votes). Check out past polls.

    Notices?