JDK-4440236 : PrinterJob and JobAttributes and PageAttributes
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.3.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2001-04-11
  • Updated: 2001-04-11
  • Resolved: 2001-04-11
Related Reports
Duplicate :  
Description

Name: boT120536			Date: 04/11/2001


JDK 1.3.0 and UP.

In version 1.3 you added support for JobAttributes and PageAttributes as part
of the old Java 1 Printing API.  The problem is that the Java 1 Printing API
rasterizes text creating hugh slow print jobs and is therefore disfunctional
for any real printing tasks.  So you have to use Java 2 Printing API.  No
problem except you can not specify the printer or it's settings without
bringing up a the print dialog unless it's the default printer.  The easiest
solution is to support specifing JobAttributes and PageAttributes as part of
PrinterJob class creation just like you did for Java 1 print API.

Is it possible to have this added?

Or is there an undocumented way for the Java 2 Printing API to use a non-
default printer without using the printDialog?

I have read many messages about these kinds of critical issues.  So, I hope SUN
will add at least this to the Java 2 Printing API so that developers can use
either Java 1 or Java 2 Printing API providing them both the same base
capabilities.
(Review ID: 120564) 
======================================================================

Comments
EVALUATION The next API update release (aka merlin or JDK 1.4 )fixes all of these issues - the 1.1 API no longer rasterises text - the Java 2D printing API (PrinterJob) has API to select any printer you like and a lot more besides. Closing as dup of 4360752 : "Java Print Service API needed to provide access to printer capabilities"
11-06-2004

WORK AROUND Name: boT120536 Date: 04/11/2001 NONE ======================================================================
11-06-2004