Formatted Printing

2002-02-26 Thread Rasoul Hajikhani

Hello folks,
I have just writen an online ordering system for our company using
mod_perl. The user must also be able to print the form, preserving the
format. Since we use netscape (4.5) for Irix 6.5, I can't use the print
button of the browser, the format is not preserved. Any one know of any
modules/suggestions on this?
Thanks in advance
-r



Re: Formatted Printing

2002-02-26 Thread Paul Lindner

On Tue, Feb 26, 2002 at 07:12:55PM -0800, Rasoul Hajikhani wrote:
 Hello folks,
 I have just writen an online ordering system for our company using
 mod_perl. The user must also be able to print the form, preserving the
 format. Since we use netscape (4.5) for Irix 6.5, I can't use the print
 button of the browser, the format is not preserved. Any one know of any
 modules/suggestions on this?

One simple thing is to create a PDF file for the printable format.
Make sure you save it in ascii format, and put simple substitution
strings for each field.  Then just search, replace, and output to the
browser.

There are also PDF modules on CPAN if you're not into templates...

If fancy printing is not your thing, or you want full cross-platform
compatibility consider text/plain output..  You can even send that to
that 20 year old daisy wheel printer..

-- 
Paul Lindner[EMAIL PROTECTED]   | | | | |  |  |  |   |   |

mod_perl Developer's Cookbook   http://www.modperlcookbook.org/
 Human Rights Declaration   http://www.unhchr.ch/udhr/index.htm