-
Enhancement
-
Resolution: Fixed
-
P5
-
1.2.0, 1.2.1, 1.2.2_006, 1.3.0
-
beta
-
generic, sparc
-
generic, solaris_2.6
Name: el35337 Date: 05/13/98
In my app. I know the number of pages a document
has, but do not have them loaded (there might be
20,000 pages). Due to this fact, the
PrinterJob().setup(Book) is not very help since it
takes a Book object...something that I create
after I know what is to be printed. Using the
coventional method I would have to create my
Book with all 20,000 pages just to print page 1.
Is there a way I can get a list of
the current printers and then be able to create
a properties button (like in Word97) to set
specific parameters if necessary. (This would be
kind of generic in Solaris, but would be a the
driver specific dialog box in Windows.)
(Review ID: 28861)
======================================================================
Name: krT82822 Date: 11/02/99
java version "1.3beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3beta-O)
Java(TM) HotSpot Client VM (build 1.3beta-O, mixed mode)
0. Download JDK1.3 Beta or latest JDK 1.3;
1. Check out the JDK1.3 docs and realize that Java STILL doesn't support
enumeration of printers.
----------
more comments from user:
I am sorry I forgot to mention that I was pertaining to the API and NOT to the Java print dialog box (if that's your impression). We are using Sun JDK 1.3Beta
VM for Windows XX. I was hoping that there is some sort of API call to enumerate the printers. We want to be able to display just one dialog for every print (our
dialog not Java's) and we were somehow happy to know that 1.2 and 1.3 supports background printing. We have our own parameters in this dialog and we want
to be able to list in this dialog the available printers for the user to choose from. We can't afford to display the Java print dialog, otherwise, the user would have to
"OK" multiple times.
(Review ID: 97324)
======================================================================
- duplicates
-
JDK-4236038 PrintJob: need ability to specify the printer to use, which tray, two sided, etc
-
- Closed
-
- relates to
-
JDK-4645377 java2D printing in 1.3.1 is requested to be improved
-
- Resolved
-