There's nothing else in PDF to set the overprint. Maybe you can send me a simple PDF created with something else where the overprint works to see how it's done?
Best Regards, Paulo Soares > -----Original Message----- > From: Rogerio Cisi [SMTP:[EMAIL PROTECTED] > Sent: Thursday, July 31, 2003 17:45 > To: Paulo Soares > Cc: [EMAIL PROTECTED] > Subject: Re: [iText-questions] How to set overprint when writting a > text? > > > Hello, > > Using setOverPrintNonStroking or setOverPrintStroking I can�t take the > OverPrint effect. I have used Adobe Acrobat Professional 6 to verify this, > entering in the section Advanced - Separation Preview. Taking off the > black > color, if the page color is yellow, for instance, the space where before > was occupied by the text remains in white color, instead of assuming the > page color. > > The way to take a effect similar to OverPrint is to set the text color, in > CMYK, as beeing 0, 0, 0.23, 1, if the color page is 0, 0, 0.23, 0. > > Thank�s > > Rog�rio Rodrigues Lima Cisi > S�o Paulo - Brasil > e-mail : [EMAIL PROTECTED] > Fone : 3145-3900 ramal: 3967 > > > > > > > "Paulo > > Soares" Para: "Rogerio Cisi" > <[EMAIL PROTECTED]> > <[EMAIL PROTECTED] cc: > <[EMAIL PROTECTED]> > iste.pt> Assunto: Re: > [iText-questions] How to set overprint when writting a > text? > > 31/07/2003 > > 06:52 > > > > > > > > > > I've no idea. You can also put in the gs.setOverPrintNonStroking(true). > Are > you sure that the output device understands the overprint command? > > Best Regards, > Paulo Soares > > ----- Original Message ----- > From: "Rogerio Cisi" <[EMAIL PROTECTED]> > To: "Leonard Rosenthol" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]>; "Paulo Soares" > <[EMAIL PROTECTED]> > Sent: Wednesday, July 30, 2003 22:26 > Subject: Re: [iText-questions] How to set overprint when writting a text? > > > > Thank�s for your comments! > > You are right that OverPrint isn�t supported in AcrobatReader, but my > application will generate pages to be sent to press. In this situation, > we > need to make sure that OverPrint will be obeyed. > > Using the code that Paulo gave me I still did�t take the OverPrint > effect. > May I doing something wrong? > > > m_Document = new Document( pageSize ); > m_Writer = PdfWriter.getInstance(m_Document, new FileOutputStream( > ms_DirPDFout + strNomePag )); > m_Document.open(); > m_CB = m_Writer.getDirectContent(); > > m_CB.beginText(); > > PdfGState gs = new PdfGState(); > gs.setOverPrintStroking(true); > m_CB.setGState(gs); > > m_CB.showTextAligned( PdfContentByte.ALIGN_LEFT, "texto", mf_PosX, > mf_PosY, > 0 ); > m_CB.endText(); > > > > PS (to Paulo and others): parab�ns pela excelente ferramenta > desenvolvida!!! > > > Rog�rio Rodrigues Lima Cisi > e-mail : [EMAIL PROTECTED] > S�o Paulo - Brasil > Fone : 55-11-3145-3900 ramal: 3967 > > > > > > > Leonard > > Rosenthol Para: "Paulo Soares" > <[EMAIL PROTECTED]>, "Rogerio Cisi" > <[EMAIL PROTECTED] <[EMAIL PROTECTED]>, > <[EMAIL PROTECTED]> > sages.com> cc: > > Assunto: Re: > [iText-questions] How to set overprint when writting a > 30/07/2003 text? > > 17:15 > > > > > > > > > > At 08:55 PM 7/30/2003 +0100, Paulo Soares wrote: > > >You must set the graphic state: > > > >PdfContentByte cb = ....; > >PdfGState gs = new PdfGState(); > >gs.setOverPrintStroking(true); > >cb.setGState(gs); > > Do keep in mind that many Acrobat users still may not see this > correctly, since OverPrint Preview isn't supported in Reader - only in > "Full", Standard and Professional. And may be turned off by users. > > > Leonard > > ------------------------------------------------------------------------ > --- > Leonard Rosenthol > <mailto:[EMAIL PROTECTED]> > Chief Technical Officer <http://www.pdfsages.com> > PDF Sages, Inc. 215-629-3700 (voice) > > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 > /01 > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > > > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
