Answers.Body: <p>You might consider investing in commercial software that performs the address standardization and move update tasks. Those products should return the original data unchanged. Appended to the records is the standardized address. Print the letter with the original data fields and print the delivery address with the USPS fields.</p>
  
  <p>If the address on the letter shows through an envelope window, you’ll have to print the delivery address according to USPS standards to qualify for postage discounts.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-21T15:13:52.877Z
Answers.LastActivityDate: 2015-10-21T15:13:52.877Z
Answers.UserDisplayName: Mike Porter
Answers.Body: <p>The problem is that the standard is to have addresses all-caps, without punctuation, and with various <a href="http://pe.usps.gov/text/pub28/28apc_002.htm" rel="nofollow">standard abbreviations</a>.  Some clients have asked us if we could "fix" them in bulk to be mixed case, but I point out that the standardization will simply restore the all-caps the next time someone saves the address.</p>
  
  <p>Two options:</p>
  
  <ol>
  <li><p>You can use Smarty to modify your addresses.  You'll first need to <a href="http://wiki.civicrm.org/confluence/display/CRMDOC/Smarty+in+mail+templates" rel="nofollow">enable Smarty processing of mail templates</a>.  Then you'll need to assign your token(s) to a variable and then <a href="http://www.smarty.net/docs/en/language.modifiers.tpl#language.modifier.capitalize" rel="nofollow">output the variable with proper capitalization</a>:</p>
  
  <pre><code>{capture assign=address}{contact.street_address}{/capture}{capture assign=city}{contact.city}{/capture}
  {$address|capitalize:true:true}
  {$city|capitalize:true:true}, {contact.state_province} {contact.postal_code}
  </code></pre>
  
  <p>This will work, though have fun training your coworkers on how to use Smarty.  Also, words with internal capital letters ("MacArthur Blvd") will come out wrong ("Macarthur Blvd").</p>
  
  <p>You still will be missing periods on your abbreviations no matter what, however.</p></li>
  <li><p>You can use a different address standardization tool.  Most are paid, though at least one client has had luck with <a href="https://smartystreets.com/" rel="nofollow">SmartyStreets</a> giving them a free account because they're a charitable nonprofit.</p>
  
  <p>With SmartyStreets, you can use the <a href="https://civicrm.org/extensions/smartystreets" rel="nofollow">extension</a> that my coworker Tyrell built to auto-suggest standard addresses as you type.  We haven't confirmed it works perfectly for 4.6 yet (it definitely supports 4.4 and 4.5, though), but I don't know of any problem spots.  If you encounter problems, please let us know.</p></li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-20T14:17:44.850Z
Answers.LastActivityDate: 2015-10-20T14:17:44.850Z
Answers.UserDisplayName: Andie Hunt
Body: <p>We recently linked our CiviCRM database to the USPS address verification system, which saves me time verifying addresses and looking up the Zip+4 codes. However, Civi now makes the addresses all caps, which is a real pain when printing PDF letters which include the name and address of the contact in the letter. I find myself copying the address out to a text editor, converting it to initial caps, then pasting it into my Civi letter. Do you know of a way to automate this in Civi?</p>
  
Tags: <pdf><addresses>
Title: Is there a way to prevent USPS address standardization from making addresses all caps in PDF letters?
ThreadText: # Is there a way to prevent USPS address standardization from making addresses all caps in PDF letters?
  
  (Asked by: username_0 on 2015-10-20)
  
  We recently linked our CiviCRM database to the USPS address verification system, which saves me time verifying addresses and looking up the Zip+4 codes. However, Civi now makes the addresses all caps, which is a real pain when printing PDF letters which include the name and address of the contact in the letter. I find myself copying the address out to a text editor, converting it to initial caps, then pasting it into my Civi letter. Do you know of a way to automate this in Civi?
  
  **Tags:** pdf, addresses
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2015-10-20. Score: 3 | Accepted answer
  
  The problem is that the standard is to have addresses all-caps, without punctuation, and with various standard abbreviations.  Some clients have asked us if we could "fix" them in bulk to be mixed case, but I point out that the standardization will simply restore the all-caps the next time someone saves the address.
  Two options:
  
  You can use Smarty to modify your addresses.  You'll first need to enable Smarty processing of mail templates.  Then you'll need to assign your token(s) to a variable and then output the variable with proper capitalization:
  {capture assign=address}{contact.street_address}{/capture}{capture assign=city}{contact.city}{/capture}
  {$address|capitalize:true:true}
  {$city|capitalize:true:true}, {contact.state_province} {contact.postal_code}
  
  This will work, though have fun training your coworkers on how to use Smarty.  Also, words with internal capital letters ("MacArthur Blvd") will come out wrong ("Macarthur Blvd").
  You still will be missing periods on your abbreviations no matter what, however.
  You can use a different address standardization tool.  Most are paid, though at least one client has had luck with SmartyStreets giving them a free account because they're a charitable nonprofit.
  With SmartyStreets, you can use the extension that my coworker Tyrell built to auto-suggest standard addresses as you type.  We haven't confirmed it works perfectly for 4.6 yet (it definitely supports 4.4 and 4.5, though), but I don't know of any problem spots.  If you encounter problems, please let us know.
  
  
  ---
  
  ### Answer by username_1 on 2015-10-21. Score: 1
  
  You might consider investing in commercial software that performs the address standardization and move update tasks. Those products should return the original data unchanged. Appended to the records is the standardized address. Print the letter with the original data fields and print the delivery address with the USPS fields.
  
  If the address on the letter shows through an envelope window, you’ll have to print the delivery address according to USPS standards to qualify for postage discounts.
  
  
  ---
  
  