Hi Jan, See comments below.
Jan Bösenberg (INCORS GmbH) wrote:
I am currently implementing some printing functionality for our app and found a number of limitations with javax.print.PrintService. For example: - the attributes PrinterMakeAndModel and PrinterInfo never seem to provide any information
This is RFE # 4673400.
- there is no ServiceUIFactory available for any of my print services - setting Chromaticity to monochrome still produces color prints on our color laser printer (and I can select color mode for our black and white printer)
We don't support Chromaticity.MONOCHROME in unix/linux. In Windows, we set the correct setting of dmColor in DEVMODE but somehow some drivers ignore it and we can't do anything about that. Workaround is to use printer's native dialog where it provides a way to set it to monochrome/grayscale.
- the PrintQuality attribute never seems to be supported
This is supported but most drivers use PrinterResolution instead of PrintQuality so to workaround this, you can set PrinterResolution.
All these limitations are not really severe, but since I have to implement our own print dialog amyway, I am wondering if they will be fixed in future or if they are simply a result of the way java accesses the OS print services. In the last case I could simply omit some options in our print dialog. My two simple questions are: Do these limitations only exist on some systems? And is there are chance that (some of) the limitations of PrintService will be fixed in Java 7 or 8?
These limitations exist because of driver limitation or behavior but we will try to address the RFE above in the next major release. Jennifer =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".