File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Printing PDF files from a Java Program

 
chiranjeevi bigboss
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi...
Can anyone please let me know how to read and print the PDF files from a java program.
 
Adrian Ferreira
Ranch Hand
Posts: 118
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Do you need to interpret every kind of PDF file inside Java program? If so, I think you got a big problem.
Let me know if you got an easy solution.
Adrian
 
chiranjeevi bigboss
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi...
actually my task is to read a set of .pdf files from a directory on ur hard disk thru java code and print all of those .PDF files in a batch. That means i need to interpret all kinds of PDF files.
Can anyone please help me ...its very urgent....
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found a number of promising links by giong to www.google.com and searching for "java pdf". I'm completely unfamiliar with how PDF works, so I can't really offer any insight myself - other than to point out how invaluable google can be as a research tool. Good luck.
 
mziegler
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Two possibilities:
First: Use ghostscript as external program to print out pdf-files. (Open Source software available for different platforms). (If you use it on a unix-server without display attached use the nodisplay option.)
Second: Download the Acrobat Reader (www.adobe.com) in the java version and use this to print out the files.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic