On this Page
PostNet
Deprecated
This barcode was used by the US Postal Service. It is deprecated. Users are strongly encouraged to use the USPS Intelligent Mail barcode.
PostNet is for U.S. addresses only. It supports zip (5 digits), zip+4 (9 digits), and zip+4 + "delivery point" (11 digits total). All formats encode an internally generated check digit as well.
Options
- BarcodePostNetBarWidth n - set the width of a bar. n should be in units understandable by DocOrigin, see Script Units. 0 means auto calculate bar width to make the rendered barcode fit the designed width.
- BarcodePostNetRatio n - sets the space/bars ratio. n should be a decimal number somewhere between 1 and 2 to fit width limits. 0 means auto-calculate space width to make the rendered barcode fit the designed width.
(As of 3.1.002.07)
Some useful use cases are:
- Use "BarcodePostNetBarWidth n" and "BarcodePostNetRatio 0" - auto calculate space width to make the rendered barcode occupy barcode designed width.
- Use "BarcodePostNetBarWidth 0" and "BarcodePostNetRatio n" - auto calculate bar and space widths to make the rendered barcode occupy the barcode designed width and keep the desired space/bar ratio.
Note that:
- The width of the bars must be between 0.015" and 0.025".
- The width of the bar/space pairs must be between 0.045" and 0.050".
Consider BarcodePostNetBarWidth .02in BarcodePostNetRatio 1.4