Is it really so hard to print the contents of a text file in Java?
posted 12 years ago
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.