JDK-4223089 : Add ability to print a multi-page HTML document from an off-screen JEditorPane
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 1999-03-23
  • Updated: 2005-05-23
  • Resolved: 2005-05-23
Related Reports
Duplicate :  
Duplicate :  
Description

Name: dbT83986			Date: 03/23/99


There doesn't appear to be any way to print a MULTI-PAGE, OFF-SCREEN (i.e. never displayed) HTML document from a JEditorPane.

Refer to Q356 and Q573 in the jdk1.2 newsgroup and Q1160 in the swing newsgroup.
(Review ID: 55574)
======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang
25-09-2004

WORK AROUND Name: dbT83986 Date: 03/23/99 I've had some success printing multi-page HTML documents from a VISIBLE JEditorPane under Solaris, but the same code doesn't work under Windows (only the first page prints). ======================================================================
25-09-2004

EVALUATION There is a way to do this, but its more work than it should be. We will add support for printing in merlin. The approach will be to build a separate View hierarchy for the print job using a different ViewFactory from the factory used to build the interactive display. There will be differences between the views used. For example, images load asynchronously in display views but need to load synchronously for print views. timothy.prinzing@eng 2000-03-01 closing this bug as the diplicate of 4791649 [Text components need printing support] ###@###.### 2005-05-23 22:31:32 GMT
01-03-2000