I am currently developing a java application which does this:
1. enables the user to draw geomtrical shapes in a canvas. 2. enables the user to save the canvas as an image file(.png, .gif, .jpg) 3. enables the user to print the drawing in a canvas as a form of a hard copy, that is, you are able to access a printer device.
However, I have no idea on what to do on #3. Can anyone there help me?
A simple demonstration would be of great help. A sample code would also do.
Your response would be very much appreciated. Thanks in advance!!