Here is an asp version of printer friendly pages in :
http://coveryourasp.com/PrinterFriendly.asp

It will be very appreciated if someone can translate it to jsp .
thanks.


>From: "Haseltine, Celeste" <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: printer friendly pages
>Date: Wed, 15 Aug 2001 14:26:43 -0500
>
>James,
>
>Perhaps I do not understand your question, but why not consider writing
>your
>data contained in your HTML file into an XML file, and then format that XML
>data file for printing using an XSLT sheet?
>
>Celeste
>
>-----Original Message-----
>From: McKain, James (DPYUS) [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, August 15, 2001 12:47 PM
>To: [EMAIL PROTECTED]
>Subject: printer friendly pages
>
>
>
>Hello,
>I am a begginner reaching deep on this one....I am trying to create a
>servlet/jsp that takes an incoming html or php file and filters it out for
>printing.  I want the rich-text-only html to be turned into a simple 10
>point font printable document. Is there an easy way to do this?  I just
>want
>to pass an object (the html file) through a method(?) that will shrink the
>text, and condense data for minimal printer paper usage while preserving
>the
>formal (tabs and bullets) of the original.
>
>This sounds easy I guess, but I have no clue what I should be typing.
>help!
>
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to