• Post Reply Bookmark Topic Watch Topic
  • New Topic

Printing PDF files from a Java Program

 
chiranjeevi bigboss
Greenhorn
Posts: 12
  • 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
  • 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
  • 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
  • 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
  • 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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!