Thanks for the reply.  The example PDF can be found at 
http://www.nohupgaming.com/files/FirstPage.pdf and the code can be found at 
http://www.nohupgaming.com/files/Code_Snippet.txt.  It pretty much follows the 
example for text replacement.  I am replacing placeholder values such as 
{First_Recipient_Name} with the actual values in a post-processing update.  As 
you will see in the file there are letters that work in one place and not 
others.  The title is Test System Letter, the first recipient should be Sally 
Green and the last recipient should be Anthony Jarmon.  Thanks in advance for 
any insight.

Thanks...

Michael Bain
Senior Software Engineer
McKesson Care Management

Telephone: 757.436.1646 

McKesson Corporation
www.mckesson.com

"Finish each day and be done with it.  You have done what you could.  Some 
blunders and absurdities no doubt crept in; forget them as soon as you can.  
Tomorrow is a new day.  You shall begin it serenely and with too high a spirit 
to be encumbered with your old nonsense." -Ralph Waldo Emerson
Confidentiality Notice: This e-mail message, including any attachments, is for 
the sole use of the intended recipient(s) and may contain confidential and 
privileged information. Any unauthorized review, use, disclosure or 
distribution is prohibited. If you are not the intended recipient, please 
contact the sender by reply e-mail and destroy all copies of the original 
message.

-----Original Message-----
From: Maruan Sahyoun [mailto:[email protected]] 
Sent: Sunday, May 19, 2013 2:07 AM
To: [email protected]
Subject: Re: Using PDFBox to write strings to a file, some characters not 
showing

Hi Michael,

unfortunately the attachment didn't make it. Could you provide that on a public 
download section?

Would you have some sample code to replicate the issue you are describing?

BR
Maruan Sahyoun

Am 18.05.2013 um 04:23 schrieb "Bain, Michael" <[email protected]>:

> I am using PDFBox to write/replace strings to an existing PDF file and am 
> having intermittent oddities occur where random characters will not display.  
> After researching the files it appears the characters are in place but not 
> showing, almost as if they are formatted to white text.  I can select the 
> character's slot, copy and paste it into notepad, and the correct character 
> is returned.  Not sure if attachments work, but I have attached an example 
> page in case they do.  I am just not sure if I am missing something.  When I 
> process through the page tokens there doesn't appear to be anything other 
> than a string field in play.
>  
> Thanks...
>  
> Michael Bain
> Senior Software Engineer
> McKesson Care Management
>  
> Telephone: 757.436.1646
>  
> McKesson Corporation
> www.mckesson.com
>  
> "Finish each day and be done with it.  You have done what you could.  Some 
> blunders and absurdities no doubt crept in; forget them as soon as you can.  
> Tomorrow is a new day.  You shall begin it serenely and with too high a 
> spirit to be encumbered with your old nonsense." -Ralph Waldo Emerson
> 
> Confidentiality Notice: This e-mail message, including any attachments, is 
> for the sole use of the intended recipient(s) and may contain confidential 
> and privileged information. Any unauthorized review, use, disclosure or 
> distribution is prohibited. If you are not the intended recipient, please 
> contact the sender by reply e-mail and destroy all copies of the original 
> message.
>  

Reply via email to