getPrintJob

I am using prToolkit = java.awt.Toolkit.getDefaultToolkit();prnJob = prToolkit.getPrintJob(mframe, "text", jobattr, pageattr);I want to disable some of the options on PrintDialog box such as number of copies, and Print Range.Please advise.Thank you!!
[292 byte] By [Angel6a] at [2007-11-27 5:49:43]
# 1

I looked through the api for PrintJob and Toolkit, but didn't see any way to control the gui that pops up, only the parameters that get passed to it. I was going to suggest you could copy the code from the source and create your own custom popup, but I couldn't find the implementation for that method.

hunter9000a at 2007-7-12 15:36:39 > top of Java-index,Java Essentials,Java Programming...
# 2
Thank you!!I was trying to avoid writing my own code.
Angel6a at 2007-7-12 15:36:39 > top of Java-index,Java Essentials,Java Programming...