I use stamper.getOverContent(i) to add text watermark to PDF document. It
looks great on screen - with the watermark letters showing transparency. But
when I print it out on laser jet printer, the non stroke part of the letters
is all blank, doesn't show transparent effect like the screen does. I tried to
set different values with the following mothods, but it still didn't turn out
the transparent effect. What should I do to get the transparent effect on
printer?
PdfGState gstate = new PdfGState();
gstate.setFillOpacity(0.5f);
gstate.setStrokeOpacity(0.1f);
gstate.setOverPrintNonStroking(false);
gstate.setOverPrintStroking(true);
Thanks,
Paul
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions