It prints just fine.
The only reason that it doesn't display is that you have the "Hilight existing
fields" option turned on in Adobe Acrobat/Reader. If you turn that off (the
button in the purple bar at the top of the window) then the yellow displays
just fine.
Leonard
From: "kbog...@ameritas.com<mailto:kbog...@ameritas.com>"
<kbog...@ameritas.com<mailto:kbog...@ameritas.com>>
Reply-To: Post here
<itext-questions@lists.sourceforge.net<mailto:itext-questions@lists.sourceforge.net>>
Date: Fri, 9 Dec 2011 04:39:08 -0800
To: Post here
<itext-questions@lists.sourceforge.net<mailto:itext-questions@lists.sourceforge.net>>
Subject: Re: [iText-questions] PDF Field background color not displayed or
printed
Here is an example file. On page 3, the address block field should be shaded
yellow. The color is in the field when you click in it, but it needs to be
displayed and printable. It does display and print in non-Adobe readers.
Ken Bogart | Ameritas | IT Consultant
1876 Waycross Road, Cincinnati, OH 45240 | p: 513-595-2299 | f:
513-595-2518 | kbog...@ameritas.com<mailto:kbog...@ameritas.com>
From: Leonard Rosenthol <lrose...@adobe.com<mailto:lrose...@adobe.com>>
To: Post here
<itext-questions@lists.sourceforge.net<mailto:itext-questions@lists.sourceforge.net>>
Date: 12/08/2011 05:19 PM
Subject: Re: [iText-questions] PDF Field background color not displayed
or printed
________________________________
Then you need to post an actual PDF
From: "kbog...@ameritas.com<mailto:kbog...@ameritas.com>"
<kbog...@ameritas.com<mailto:kbog...@ameritas.com>>
Reply-To: Post here
<itext-questions@lists.sourceforge.net<mailto:itext-questions@lists.sourceforge.net>>
Date: Thu, 8 Dec 2011 12:45:55 -0800
To: Post here
<itext-questions@lists.sourceforge.net<mailto:itext-questions@lists.sourceforge.net>>
Subject: Re: [iText-questions] PDF Field background color not displayedor
printed
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<http://sourceforge.net/mailarchive/message.php?msg_id=28513228>
From: Leonard Rosenthol <lrosenth@ad...> - 2011-12-08 14:38
Attachments: Message as
HTML<http://sourceforge.net/mailarchive/attachment.php?list_name=itext-questions&message_id=CB060B93.1254C%25lrosenth%40adobe.com&counter=1>
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<mailto: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<mailto: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
------------------------------------------------------------------------------
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