USPS Intelligent Mail Barcode Fonts

One font package generates the USPS Intelligent Mail barcode (IMb) for tracking, routing and sorting letters and flats, and also prints POSTNET.

Buy IMb Barcode FontsMail Routing Guide

What the Intelligent Mail Barcode Is

The Intelligent Mail barcode, also known as IMb, OneCode Solution, 4-State Customer Barcode, USPS4CB and 4-CB, is a tracing, routing, sorting and tracking symbology based on 4-state barcodes. It is the barcode used for IMb Tracing, OneCode Confirm and OneCode ACS. It combines the ZIP code routing data that POSTNET carried with the tracking data that PLANET carried, in one compact symbol.

Every IMb is made of 65 bars. Each bar is one of four types: ascender, descender, full bar or tracker. The barcode data is a 20-digit tracking code followed by an optional routing code of 0, 5, 9 or 11 digits, for a total of up to 31 digits.

Fields in an Intelligent Mail barcode
FieldLengthPurpose
Barcode Identifier2 digitsIdentifies the optional endorsement and the presort level
Service Type Identifier3 digitsIdentifies the mail class and the services requested
Mailer ID6 or 9 digitsIdentifies the mailer; obtained from USPS
Serial Number9 or 6 digitsUnique piece number; length depends on the Mailer ID length
Routing Code0, 5, 9 or 11 digitsThe ZIP Code, ZIP+4 or delivery point of the destination

Why It Matters for Mailers

As of January 27, 2013, USPS required the IMb on all automation letters and flats, and the POSTNET barcode no longer qualifies for automation prices. USPS still processes pieces that bear a POSTNET barcode so that mailers with preprinted stock are accommodated. Full-Service Intelligent Mail gives mailers access to the lowest automation prices, address correction and visibility into their own mailings. See the USPS PostalPro Intelligent Mail barcode page, the Federal Register rule that discontinued POSTNET for automation prices and the Postal Bulletin notice on POSTNET removal for the current requirements.

IMb Font Features

  • One package for the IMb family, generates the USPS Intelligent Mail barcodes, including IMb Tracing, IMpb, IM Tray Labels, OneCode Confirm and ACS, POSTNET, and the IM Container Barcode.
  • Font encoders included, format the data and add the start, stop and check characters so the output scans as a readable barcode.
  • Native source code, IMb encoders are available as source code in Visual Basic VBA, C++, C#.NET and Java.
  • Examples for common applications, FileMaker, Word, Excel, Access and Crystal Reports, including a Crystal Reports formula.
  • Several font formats, TrueType, PostScript, OpenType and PCL LaserJet soft fonts.
  • Code 128 and OCR-A included, the IDAutomationC128L font covers the USPS-L-3216 tray label, IMpb, the IMb container barcode and special services such as delivery confirmation. OCR-A is provided as a fallback for damaged or unreadable printed barcodes.
  • Legacy fonts, POSTNET, PLANET and FIM fonts are in a Legacy Fonts folder.

Fonts and Character Mapping

The font names are IDAutomationIMB with the n1 and n2 variants, IDAutomationPOSTNET, IDAutomationPLANET, IDAutomationFIM, IDAutomationC128L and IDAutomationOCRa. The n1 variant is the narrowest size allowed, with 24 bars per inch. The n2 variant narrows the bars by an additional 10 percent and is intended for inkjet and other heavy printing devices.

Each 4-state element sits at two character locations in the IDAutomationIMB font. USPS encoders produce uppercase letters and IDAutomation encoders produce lowercase letters, which keeps compatibility with the Universal Barcode Font.

IDAutomationIMB characters for each bar type
Bar typeCharacters
AscenderA or q
DescenderD or r
Full barF or p
TrackerT or s

Font Encoders and Applications

The IMb is encoded with the IntelligentMail(), OneCode() or IDAutomation_Uni_OneCode() functions, which are interchangeable and need an environment that supports Feature Level 7 or greater, such as the Crystal Reports UFL, Microsoft VBA for Excel and Access, or the Windows DLL. The Code128() function encodes data for IDAutomationC128L and the Postnet() function encodes data for IDAutomationPOSTNET.

  • Excel and Access use the VBA module. The pure VBA module for the IMb is included only with the licensed version.
  • Crystal Reports uses the font encoder formula or the UFL, so the encoding stays inside the report.
  • SSRS and Power BI report code supports USPS IMb along with Code 128, QR Code, Data Matrix and PDF417.
  • A Word mail merge works by linking a merge field to an Excel column that holds the pre-formatted text.
  • Developer licenses add .NET, Java, C++ and Oracle encoders, source code, web fonts and a silent installer.

Printing Specifications

At the recommended 12 point size, the IMb, POSTNET and PLANET fonts print with an X dimension of about 0.017 inch (specification 0.015 to 0.025), a full bar height of about 0.135 inch (specification 0.125 to 0.165), a tracker height of about 0.041 inch, and about 23 bars per inch (specification 22 to 24). Use 36 point for the FIM font and 16 point for Code 128 when it is used for GS1-128 special services. Font sizes can be tuned slightly, for example 12.1 point to print the barcode a little wider. Always verify printed symbols against the current USPS standards and with a verifier before a mailing, and see the USPS encoder software and fonts page for the official reference.

Buy IMb Barcode FontsPremiere Font PackagePOSTNET and PLANET

USPS, Intelligent Mail, IMb, IMpb, PLANET Code, OneCode ACS, OneCode Confirm, OneCode Solution and OneCode Vision are trademarks of the United States Postal Service.