Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Printing text file direct to the specific Printer in Java  RSS feed

tahir ahmed
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!