How to find the available printers using java when the program is running in weblogic??
Posted on 2006-06-29
I need to find all available network lan printers which support given document flavor using java API.
When i run the following code standalone, i am able to find the printers.
PrintService mPrintServices = PrintServiceLookup.lookupPrintServices(aDocFlavor, aPrintRequestAttributeSet);
But the same code when it is getting executed in weblogic environment by a message driven been it is not able to find all network lan printers except local printer.
It is on the same windows machine.
Do i need to configure anything in weblogic to make the printers visible to weblogic or should i have to disable any ports?
***This is urgent looking for suggestions***