This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Is it really so hard to print the contents of a text file in Java?  RSS feed

 
Renato Veneroso
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,
I've looked for some example code to do so but I haven't found. I've read Sun tutorials, articles and other tutorials but unfortunately I haven't found a simple example code that shows me how to send the contents of a text file straight to a network printer. I read Jean-Pierre Dub´┐Ż (which I found by reading messages from this forum) and he says rendering text is one of the most complex tasks in Java. Well, I think I have to believe in him. But what if I'm making things harder than they actually are? I mean, I may not have understood what's on tutorials and on the messages on this forum so I ask you: is it really so hard to print the contents of a text file in Java?
Thanks in advance.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!