The field background colors are not displayed in any version of Adobes 
Acrobat reader. The only "full" version I have is Acrobat 7. 

KEN





Re: [iText-questions] PDF Field background color not displayed or printed
From: Leonard Rosenthol <lrosenth@ad...> - 2011-12-08 14:38

Attachments: Message as HTML     
Note the word DRAFT there.  That means you are using a VERY OLD version of 
Adobe Acrobat (7, IIRC).

Upgrade to the latest version of Acrobat and try it with a MODERN 
validation tool.

Leonard

From: "KBogart@...>" <KBogart@...>>
Reply-To: Post here <itext-questions@...>>
Date: Wed, 7 Dec 2011 06:57:03 -0800
Cc: Post here <itext-questions@...>>
Subject: Re: [iText-questions] PDF Field background color not displayed or 
printed

I have updated my code base to iText 5.1.3 version and the problem still 
exists. When I run the analyze on the generated PDF, I get an error with 
regards to "appearance".

Used profile: "Compliant with PDF/A (Draft)"  - AP (appearance) contains 
only N entry is not true (296 matches on 10 pages)

I am setting the needAppearance option to true.

Could the the problem be that I am merging a collection of PDF files 
together and the last one in overrides the settings? I am also not seeing 
permissions or PDF properties like version/title/author getting retained.

I am creating a PDF version 1.7 with needAppearance of true, setting 
title/author etc, then merging in a collection of other PDF files. The 
resulting PDF does not show any of these properties.  What is the proper 
order to set these properties on a collection of merged forms?




Ken Bogart  |  Ameritas  |  IT Consultant
1876 Waycross Road, Cincinnati, OH 45240  |  p: 513-595-2299  |  f: 
513-595-2518  |  kbogart@...>




Ken Bogart/UnionCentral wrote on 12/05/2011 10:19:19 AM:

> From: Ken Bogart/UnionCentral
> To: itext-questions@...>
> Date: 12/05/2011 10:19 AM
> Subject: PDF Field background color not displayed or printed
>
> I have a Java servlet that collects forms and fills in field data
> while setting a background color on some fields.
> When the PDF is displayed in Acrobat, the field background color is
> not displayed unless the field is selected and will not print
> background colors.  Foxit reader in Chrome does display the
> background colors of the form field color correctly, but will not
> print the background color.
>
> I have used the setNeedsAppearances(true) on the PDF, but the
> background color is not displayed or printable.
>
> What am I missing?  Why won't the field background color display?
>
> Ken Bogart  |  Ameritas  |  IT Consultant
> 1876 Waycross Road, Cincinnati, OH 45240  |  p: 513-595-2299  |  f:
> 513-595-2518  |  kbogart@...>






Ken Bogart  |  Ameritas  |  IT Consultant
1876 Waycross Road, Cincinnati, OH 45240  |  p: 513-595-2299  |  f: 
513-595-2518  |  kbog...@ameritas.com


------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to