pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Roydor <...@ocas.ch>
Subject Re: Problem when I print a PDF with a "Watermark"
Date Wed, 09 Dec 2015 06:52:59 GMT
Sorry I forgot the printscreen

Vincent ROYDOR 

----- Mail original -----
De: "Vincent Roydor" <rov@ocas.ch>
À: "users" <users@pdfbox.apache.org>
Envoyé: Mercredi 9 Décembre 2015 07:49:49
Objet: Re: Problem when I print a PDF with a "Watermark"

When I launch debugger I have the same error : java.util.concurrent.ExecutionException: java.lang.NegativeArraySizeException
I put the stack trace in join file.

When I select a page with the "WaterMark" I have the error and no display.
Sorry I don't know what is the "group" in the tree.

I put a screen shot of the tree with the first (up) selected Xf3 is the "WaterMark" (visible
in TextView) and the second (down) is the text content in page. 

Vincent ROYDOR 

----- Mail original -----
De: "Tilman Hausherr" <THausherr@t-online.de>
À: "users" <users@pdfbox.apache.org>
Envoyé: Mardi 8 Décembre 2015 18:05:25
Objet: Re: Problem when I print a PDF with a "Watermark"

Am 08.12.2015 um 16:13 schrieb Vincent Roydor:
> Hi,
> When I try to print the join PDF with this code :
> /travailImpression = printService.createPrintJob();/
> /               HashPrintRequestAttributeSet printAttributs = 
> creerPrintAttributes(pImprimante, flavor, pDoc, unFormat);/
> /if(ImprimanteControleurImpl.getEcouteurPrintService().get(pImprimante.getPrintService()).isServiceAccepteJob()){/
> /                    travailImpression.print(docImpression, 
> printAttributs);/
> /                    jobsImpression.add(new 
> TravailImpression(travailImpression));/
> /                }/
> (the printing is TWO_SIDED_LONG_EDGE)
> The first page is good but the page 3 and 5 is white where the 
> "Watermark" would be printing.

Try displaying it with PDFDebugger. Does it also happen? If yes: open 
the "tree" and look for "group". If yes, then it is possibly one of the 
few things that we don't do properly, i.e. transparency groups.


To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org

View raw message