I am trying to do learn about printing from a Java program. I have put in the sample demo code from a book on Java. The code compiles fine. Code is attached.
When I execute it & press the PrintAbove button, I get the following error - see image.
Probably something is missing in my environment, but I cannot figure out what. Would appreciate any help.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).