Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Swing / AWT / SWT and the fly likes How to print Graphics as a DOC or PDF file ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to print Graphics as a DOC or PDF file ??" Watch "How to print Graphics as a DOC or PDF file ??" New topic
Author

How to print Graphics as a DOC or PDF file ??

Rajesh Nair
Greenhorn

Joined: Aug 22, 2001
Posts: 9
Hi all,
Can anybody tell me how to print java graphics in PDF or DOC format instead of printing on Printer
Thanks in Advance
Rajesh
Paul Bailey
Ranch Hand

Joined: Oct 20, 2000
Posts: 91
Did you find an answer to this?
Michael Szul
Ranch Hand

Joined: Sep 18, 2001
Posts: 57
The Java CookBook from O'Reilly has an example of producing the output as a servlet in a .pdf file with a basic add-on class, but doesn't use images.
Basically you're going to need to use a third party API (unless you make it yourself). The book does mention a few third party API's that do include image support, but I don't have it in front of me right now, so there names escape me.
 
Consider Paul's rocket mass heater.
 
subject: How to print Graphics as a DOC or PDF file ??
 
Similar Threads
How to convert doc files to pdf in Struts2
convert to pdf file format
Read Word/PDF
How to print windings characters in pdf using itext ?
Print Child Window