• Post Reply Bookmark Topic Watch Topic
  • New Topic

PDFBox not printing images  RSS feed

David Johns
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!