Printing
If I am using Visual Age for Java, how do I make the system.out.println method print to the printer, instead of the screen?
Is there any other Java code that prints to the printer?
Web Development
If I am using Visual Age for Java, how do I make the system.out.println method print to the printer, instead of the screen?
Is there any other Java code that prints to the printer?
by cwrobin6971
Actually, it is not quite that simple...
Java printing is still in its infancy so you actually have to create a print handler for things to work.
It is probably to long to go in to here but for a decent tutorial on Java printing go to:
http://java.sun.com/products/java-media/2D/forDevelopers/sdk12print.html
Sorry that is such a long URL but that is exactly the location of one of the tutorials out there.
Sun is currently working on a formalized version of a print API but don't expect to see it until JDK 1.4 comes out.
This discussion is closed to new replies.
Sort by Trending