I think JavaHelp solved that problem - mostly - but it took a lot more
than an afternoon.

See if you can make use of JavaHelp in your app for this purpose.
I don't know how well that'll work for you but its  all I can think of
off-hand.

-phil.

> X-IPAddress: 142.158.212.80
> X-AntiAbuse: This header was added to track abuse, please include it with any
abuse report
> X-AntiAbuse: Primary Hostname - thunder6.cwihosting.com
> X-AntiAbuse: Original Domain - java.sun.com
> X-AntiAbuse: Originator/Caller UID/GID - [785 810] / [785 810]
> X-AntiAbuse: Sender Address Domain - thunder6.cwihosting.com
> Date: Fri, 16 Nov 2001 07:32:35 -0600
> From: John Simpson <[EMAIL PROTECTED]>
> Subject: [JAVA2D] How to Print the HTML contents of a JEditorPane
> To: [EMAIL PROTECTED]
>
> Hi,
>
> I desperately need to be able to print an HTML document from my Java
> application.
>
> I spent the entire afternoon yesterday trying to find a way to print
> the contents of a JEditorPane in a way that a line of text won't be cut
> in half between pages.
>
> My requirements are as follows:
> 1. Must be able to print multiple pages of HTML without cutting through
> a line of text on a page break.  Cutting an image in half is ok though.
> 2. Spool size needs to be small.
> 3. Must be Java code.  We don't have the budget to go and buy add-on's
> or libraries.
>
> If anyone knows the code or knows the title of a book that has this
> solution please respond.
>
> Thank you for all of your help.
>
> John Simpson
> [EMAIL PROTECTED]
> www.borngamer.com
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA2D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to