JDK-4236038 : PrintJob: need ability to specify the printer to use, which tray, two sided, etc
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.2.1
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 1999-05-06
  • Updated: 1999-06-29
  • Resolved: 1999-06-29
Related Reports
Duplicate :  
Description

Name: skT88420			Date: 05/06/99


Would like the extension of the PrintJob method

public static PrinterJob getPrinterJob()

into

public static PrinterJob getPrinterJob(URL printer)

So we can specify the printer to use, of course it hasn't to be
an URL, it could even be some Printer-class (preferable!).

We need this feature, because we have to print lots of documents
and they are of different types. Now our app has to select the
printer automaticaly without prompting the user for it every time. It
has even to select the printer tray. Therefore the getPrinterJob
should take a Printer-instance as an argument, where the
Printer-class defines a printer, the tray and other optional settings
like double sided printing and so on.

The old version of our app, written in DOS, was able to do all
of this, we have it running in companies where 7 printers with
until to 5 trays get managed. Of course our new version has to
manage it also.

This is a critical part of our application!

Thanks
   Patrick
(Review ID: 57751) 
======================================================================

Comments
PUBLIC COMMENTS request for a list of printers is a duplicate of 4137899 request to be able to specify the tray is a duplicate of 4212010
10-06-2004

EVALUATION This feature will be added to the 1.1 API (Toolkit.getPrintJob) in kestrel, but should also be added to the 1.2 API (PrinterJob.getPrinterJob). david.mendenhall@eng 1999-05-06 ==================================== request for a list of printers is a duplicate of 4137899 request to be able to specify the tray is a duplicate of 4212010
06-05-1999