Maintenance Notice

The bugs.java.com site will be undergoing maintenance on 15th Dec 2017 21:00 PST to 16th Dec 2017 1:00 AM PST.
JDK-4673400 : Support javax.print.attribute.standard.PrinterMakeAndModel etc.
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: windows_nt
  • CPU: x86
  • Submitted: 2002-04-23
  • Updated: 2016-03-22
Description

Name: rl43681			Date: 04/23/2002


FULL PRODUCT VERSION :
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

FULL OPERATING SYSTEM VERSION :
Windows NT Version 4.0

A DESCRIPTION OF THE PROBLEM :
For attributes like

javax.print.attribute.standard.PrinterMakeAndModel
javax.print.attribute.standard.PrinterLocation
javax.print.attribute.standard.PrinterInfo

javax.print.PrintService.getAttribute should return
meaningful information obtained from the Windows OS, instead
of empty strings.

This bug can be reproduced always.
(Review ID: 145208) 
======================================================================

Comments
EVALUATION In Windows, this information can be retrieved from PRINTER_INFO_X structure. ###@###.### 2003-02-18
2003-02-18