Howdy,
Yeah, this is not always an easy task.  Recent browsers are supporting
the CSS route better: the page-break-before and page-break-after CSS
elements are what you're looking for, google those.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Graham Reeds [mailto:[EMAIL PROTECTED]
>Sent: Friday, October 03, 2003 6:46 AM
>To: Tomcat Users List
>Subject: Re: Printing with page breaks.
>
>>>>>
>I want my users to be able to print out a list of messages they receive
>with
>a single click on a print button.
>
>Incorporating the messages into a single JSP is no problem but then
when
>they print this there are no page breaks.
>
>I have looked at the IETF's site at:
http://www.ietf.org/rfc/rfc2045.txt
>where the RFC's all are text documents with Form Feed characters in
them
>which produce page breaks.  I can replicate this functionality but
>unfortunately these page breaks don't work in IE.  It still prints
these
>characters out as an unknown special character.
>
>Can anybody tell me if they have seen a page anywhere on the web that
>prints
>on separate pages.  You can test if it does by choosing Print Preview
from
>the file menu, you don't have to waist paper ;-)
>
>My thanks for any help, even if it is just to confirm that this is not
>possible.
>>>>>
>
>If you are printing html then you can use CSS to allow you to format a
page
>correctly for printing, while not affecting the layout of the visual
page.
>Brett Merkey has written articles on this.  Check out this too
>http://www.alistapart.com/stories/goingtoprint/.  I haven't read it but
it
>may be helpful.
>
>G.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to