aspose file tools*
The moose likes Other Open Source Projects and the fly likes PDFBox not printing images Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "PDFBox not printing images" Watch "PDFBox not printing images" New topic
Author

PDFBox not printing images

David Johns
Greenhorn

Joined: Sep 02, 2011
Posts: 1
I am trying to print a .pdf file using PDFBox. Inside our app we are
running an old version (0.7.3). One of our users said that they cannot
print PDF's with an image inside the file, it just leaves the image out.
So I am looking to upgrade our app to 1.6.0. However when I attempt to
run PDFBox in command mode to print the .pdf file, it stops where the
image is located (in the header) and does not print anything on the page
other than the first part of the header underline. I have a second PDF
file with an image and it just doesn't print the image but prints all of
the text.

I am running on a Windows 7 64 bit machine. I am just running this from
the command line, although I have the same problem when running with
1.6.0 through our application.

The image was generated by creating a Birt Report sent to PDF. I attempted to attach a .pdf file but the forum would not allow me to attach a .pdf file (or a .zip) file as an attachment.

Any ideas on why the image is not printing and how to get it to print? Also, does anyone have suggestions if there is another/better way to print a .pdf stream to a printer inside my java app?

Any help or direction on the issue would be greatly appreciated.

David Johns
Software Engineer
Columbia Ultimate
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: PDFBox not printing images