This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Building Blockchain Apps and have Michael Yuan on-line!
See this thread for details.
Win a copy of Building Blockchain Apps this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

PDFBox not printing images

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
Thank you my well lotioned goddess! Here, have my favorite tiny ad!
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!