-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
1.4.0, 1.4.2, 6
-
generic, x86
-
generic, linux
Name: jg103975 Date: 02/04/2004
FULL PRODUCT VERSION :
java version "1.4.2_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03)
Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Linux 2.4.20-13.9
EXTRA RELEVANT SYSTEM CONFIGURATION :
in out network there is a custom printing solution installed and lpc/lpr are installed
in /usr/local/bin.
I don't have administrator access to create links in /usr/bin
A DESCRIPTION OF THE PROBLEM :
PrinterJob.printDialog() shows an error "No services found".
This is because the absolute paths to lpc/lpr are hard-coded.
If there is a reason not to look for these commands anywhere in the PATH,
the print dialog should at least allow to save the print job to a file.
REPRODUCIBILITY :
This bug can be reproduced always.
(Incident Review ID: 236916)
======================================================================
FULL PRODUCT VERSION :
java version "1.4.2_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03)
Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Linux 2.4.20-13.9
EXTRA RELEVANT SYSTEM CONFIGURATION :
in out network there is a custom printing solution installed and lpc/lpr are installed
in /usr/local/bin.
I don't have administrator access to create links in /usr/bin
A DESCRIPTION OF THE PROBLEM :
PrinterJob.printDialog() shows an error "No services found".
This is because the absolute paths to lpc/lpr are hard-coded.
If there is a reason not to look for these commands anywhere in the PATH,
the print dialog should at least allow to save the print job to a file.
REPRODUCIBILITY :
This bug can be reproduced always.
(Incident Review ID: 236916)
======================================================================
- duplicates
-
JDK-6520121 Cant' print: /usr/bin/lpr seems to be hardcoded in PSPrinterJob
-
- Closed
-
- relates to
-
JDK-8275923 Allow overriding the path to the lpr binary
-
- Open
-