The moose likes Swing / AWT / SWT / JFace and the fly likes How to print Graphics as a DOC or PDF file ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply 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.
 
 
subject: How to print Graphics as a DOC or PDF file ??
 
Threads others viewed
convert to pdf file format
How to print windings characters in pdf using itext ?
How to convert doc files to pdf in Struts2
Read Word/PDF
Print Child Window
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture