|
Quick Lists
|
|
Bug ID:
|
4683270
|
|
Votes
|
1
|
|
Synopsis
|
Start supporting CUPS printing in Linux JDK
|
|
Category
|
java:classes_2d
|
|
Reported Against
|
1.4
|
|
Release Fixed
|
1.5(tiger)
|
|
State
|
10-Fix Delivered,
request for enhancement
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
|
|
Submit Date
|
10-MAY-2002
|
|
Description
|
Currently printing uses BSD commands on Linux. That only provides
very limited options in combination with CUPS's BSD compatibility
layer:
E.g. I have one printer named br xxxxx . It has a default instance for
normal one-sided printing and two additional instances for for duplex
printing and two-sides-on-one duplex printing.
% lpstat -d -v
system default destination: br xxxxx /duplex
device for br xxxxx : ipp://192.168.1.20:631/ipp
device for br xxxxx /duplex: ipp://192.168.1.20:631/ipp
device for br xxxxx /papers: ipp://192.168.1.20:631/ipp
The current J2SE code only see one printer on Linux (Solaris should be
OK because it uses SYSV commands):
% java ListCUPSDestinations[1]
Unix Printer : br xxxxx
With a few modifications[2] I get better results:
% java ListCUPSDestinations
Unix Printer : br xxxxx /duplex
Unix Printer : br xxxxx
Unix Printer : br xxxxx /duplex
Unix Printer : br xxxxx /papers
|
|
Work Around
|
N/A
|
|
Evaluation
|
We will support this for 1.5.
xxxxx@xxxxx 2003-02-13
With the fix, the output would look like:
% java ListCUPSDestinations
IPP Printer : brother/duplex
IPP Printer : brother
IPP Printer : brother/papers
"IPP Printer" means that the printer has been queried using HTTP/IPP communication.
xxxxx@xxxxx 2003-07-23
=====================================
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |