*
The moose likes Beginning Java and the fly likes printer and canvas Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "printer and canvas" Watch "printer and canvas" New topic
Author

printer and canvas

mario tan
Greenhorn

Joined: Mar 09, 2005
Posts: 10
hi guys!

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!!


-mario
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: printer and canvas