• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Printing PDF files from a Java Program

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi...
Can anyone please let me know how to read and print the PDF files from a java program.
 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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....
 
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic