The Postnet barcode function is specified in IDAutomation Barcode Fonts, Components and Applications to create a USPS Postnet or Planet barcode, which encodes numbers only. The DataToEncode is a single string of numbers and can include dashes and spaces.
- Using the Postnet barcode option with a font encoder returns text formatted to the Postnet Barcode Fonts.
- Using Uni_Postnet and Uni_Planet with a universal barcode font encoder returns text formatted to the Universal Barcode Font, a single cross-platform font that creates several barcode types.
- The Postnet or Planet barcode option in all components and applications will produce an image.
- The function does not create Intelligent Mail barcodes. To generate Intelligent Mail, use the OneCode or IntelligentMail function.
The Postnet barcode function may also be used to format data to the Planet Barcode Font in the same way.
When using this function with the Universal Barcode Font, only the XS, S or M size of the font may be used. XS is the normal version, S has the bars narrow by 10% and the M font has the bars narrow by 20%.
Fig. 1. Postnet barcode encoding “12345-1234”.
The above Postnet barcode was created with the Barcode Image Generator. A free online barcode generator is also available for testing purposes. The Postnet and Planet barcode type is easily read and verified with the IDAutomation 2D USB Barcode Scanner.