File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: printer and canvas
 
Similar Threads
Print Stylesheet
Layout
Printing API Question
How to get text file printed in Java program or From JSP page?
curves and the html5 canvas