This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
If your OS and printer supports it, you can access a printer like you would a file, like in this example from the old Java Programmer's FAQ:
One thing I feel the need to point out, PrintStream and PrintWriter don't actually have anything to do with printing-to-paper. Their purpose is to make it easy to write formatted representations of objects to a stream, along with some other convenience features. [ October 09, 2008: Message edited by: Joe Ess ]