This week's book giveaway is in the Testing forum. We're giving away four copies of Data Structures the Fun Way: An Amusing Adventure with Coffee-Filled Examples and have Jeremy Kubica on-line! See this thread for details.
I am new to java and I am trying to print the text file to a specific Printer using java by passing the file name with location and the printer name. While I google I found the code given below but open the file dialog to select the file and then it open the Print dialog to select the printer but I need directly with out user intervention.
If any body can help me on this will highly appreciate.