Utility Mill

USPS_BarCode_String

Computes the bar code string from one or more address fields, with check digit and enclosing []'s


Output


Instructions / Discussion

USPS barcode format - barcode must be one of the following formats:

  • [ZZZZZK]
  • [ZZZZZPPPPK]
  • [ZZZZZPPPPDDK]

where:

  • [ - leading delimiter
  • Z - ZIP 5 code
  • P - + 4 code
  • D - Delivery Point (typically last 2 digits of house number)
  • K - check digit
  • ] - trailing delimiter

The check digit is computed such that the sum of all digits (including the check digit) modulo 10 is 0.

Utility Mill is another wonderful Blended Technologies project.

copyright, owned and operated by Blended Technologies LLC.

Powered by Python and the ineffable Web.py