SourceForge Project Page

USPS Intelligent Mail (4-State Customer Barcode)

Example

Example USPS Intelligent Mail Customer Barcode symbol

Structure

The configuration for the default implementation is:

<barcode>
    <usps4cb>
        <module-width>{length:0.020in}</module-width>
        <track-height>{length:0.050in}</track-height>
        <ascender-height>{length:0.050in}</ascender-height>
        <interchar-gap-width>{length:0.025in}</interchar-gap-width>
        <quiet-zone enabled="{boolean:true}">{length:0.125in}</quiet-zone>
        <vertical-quiet-zone>{length:0.028in}</vertical-quiet-zone>
        <human-readable>
            <placement>{human-readable-placement:none}</placement>
            <font-name>{font-name:Helvetica}</font-name>
            <font-size>{length:8pt}</font-size>
        </human-readable>
    </usps4cb>
</barcode>

Notes

  • Please refer to the symbol specification for information about the valid ranges of the above configuration values.

Message format

  • Valid characters are 0-9
  • All other character all automatically removed for processing.

Links