Hi Joakim,

png images are supported. I guess the problem is the transparency. I'm not 
familiar with all details of that feature, it's perhaps not supported or broken.
You'll find the log messages in pdfbox.log. The loglevel can be adjusted in 
org.apache.pdfbox.exceptions.LoggingObject

Andreas Lehmkühler

P.S.: For the future please answer to the mailing-list so that everyone is able 
to participate in helping each other. Thanks in advance.

----- original Nachricht --------

Betreff: Re: Blank page when printing pdf
Gesendet: Mi, 15. Jul 2009
Von: Joakim Grahn

Hi again,
I just noticed that actually the prints are now working perfectly, apart from 
the issue with the images. The problem with the blank page was me forgetting to 
add the resources to the classpath, sorry about that.I'm guessing that the 
error might be that png images are currently not supported? (jpg images seem to 
work fine)Thanks// Joakim Grahn
2009/7/15 Joakim Grahn <ukiu...@gmail.com>
Hello Andreas,
Thank you for your quick answer. - When displaying the PDF in the pdf reader, 
it displays correctly, except for images that contain an alpha channel; These 
images become black in the areas where the transparency is supposed to be.- The 
PDF has portrait orientation.- I can't seem to locate the logs, could you 
please give me some hint where these are usually located?Thanks,// Joakim Grahn
2009/7/14 Andreas Lehmkühler <andr...@lehmi.de>
Hi Joakim,

> I'm trying to use PDFBox to print an existing PDF file with embedded fonts,
> using the PDDocument.print() function. I downloaded pdfbox from the
> subversion repository earlier today, so it should be up to date.. I'm on
> Mac
> OS X, the document I'm trying to write contains some tables and text with
> the regular Helvetica font. I can't seem to find a solution to this
> problem,
> so any help would be appreciated!
I've some further questions:

- Did you try to display the pdf with the PDFReader bundled with pdfbox? Was it 
ok, or just empty too?
- What orientation has the pdf portrait or landscape?
- Are there any suspicious entries in the log?

BR
Andreas Lehmkühler





--- original Nachricht Ende ----

Reply via email to