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]

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.