Sorry! your code works fine in windows.
Actually my default printer was set as pdf printer
i too got it working in windows. However in LINUX it still
pop a dialog. Now working to findout why so?
will post the solution one i get it for linux
meanwhile if anyone gets any thing on silent printing in
java
kindly reply! Dont close the
thread yet!
Thanks everyone!