File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

printer and canvas

mario tan

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

I agree. Here's the link:
subject: printer and canvas
It's not a secret anymore!