javax.print to failing detect printer on client machine
Hi All,
I have web application deployed on UNIX machine.
I have code to print labels/reports using javax.print API.
I tested the code during development phase on Windows/Tomcat server and it could detect the printer on my mahcine and print the labels.
But when deployed on UNIX server, the application can't detect printer on my machine any more. It seems the JPS API will detect the printer only on the machine running the server. So I guess it is looking for printer on UNIX instead on printer on my machine.
Is there anyway to detect print services on client's machine from server application using JPS( javax.print )? I want it t be done without displaying the print dialog to user. Also I don't want to use javascript to achieve such printing. I want to try to keep same code as it is but only it should be able to detect printers on client machine not on server. It should be automatic printin g from server to client printer.
Any help is appreciated.

