Yes, you need OP.  OPM is an extra option on top of OP...

Leonard

On May 28, 2008, at 6:31 AM, 熊田貢 wrote:

> Hi Paulo,
>
> Does it have something to do with "OP" key?
> The generated PDF has "OPM" key, but does not have "OP"
> key.
>
>
> Are you setting overprint view in the viewer?
>
> Paulo
>
>
>> Hello all,
>>
>> I tried the following code, but the first rectangle is
>> knocked-out.
>> I want the first rectangle over-printed by the second
>> one.
>>
>> -----------------------------------------------
>> cb.setCMYKColorFillF(1f, 0f, 0f, 0f);
>> cb.rectangle(40, 40, 20, 20);
>> cb.fill();
>>
>> PdfGState gState = new PdfGState();
>> gState.setOverPrintMode(1);
>> cb.setGState(gState);
>>
>> PdfSpotColor spotColor = new PdfSpotColor(
>>     "testSpotColor", 1f, new CMYKColor(
>>         0f, 1f, 0f, 0f));
>> cb.setColorFill(spotColor, 1.0f);
>> cb.rectangle(50, 50, 20, 20);
>> cb.fill();
>> -----------------------------------------------
>>
>> Any help would be appreciated.
>>
>> best regards,
>> KuMi
>
>
> Aviso Legal:
> Esta mensagem e destinada exclusivamente ao destinatario. Pode  
> conter informacao confidencial ou legalmente protegida. A  
> incorrecta transmissao desta mensagem nao significa a perca de  
> confidencialidade. Se esta mensagem for recebida por engano, por  
> favor envie-a de volta para o remetente e apague-a do seu sistema  
> de imediato. E proibido a qualquer pessoa que nao o destinatario de  
> usar, revelar ou distribuir qualquer parte desta mensagem.
>
> Disclaimer:
> This message is destined exclusively to the intended receiver. It  
> may contain confidential or legally protected information. The  
> incorrect transmission of this message does not mean the loss of  
> its confidentiality. If this message is received by mistake, please  
> send it back to the sender and delete it from your system  
> immediately. It is forbidden to any person who is not the intended  
> receiver to use, distribute or copy any part of this message.
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Do you like iText?
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Or leave a tip: https://tipit.to/itexttipjar
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Do you like iText?
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Or leave a tip: https://tipit.to/itexttipjar
>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to