7.1
2013-09-23

ONECODE

Barcode functions and fonts are deprecated in PrintShop Mail 7.0 for Windows. We strongly advise using the Barcode Object instead.

Syntax ONECODE(BarcodeID, ServiceTypeID, MailerID, SerialNo [,Zipcode])
Description Computes a ONECODE solution barcode. OnceCode is now named Intelligent Mail Barcode or IMB.
Example ONECODE("10","042","123456","123456789",[""])

Result

Parameter description

BarcodeID

String of 2 digits. The first digit should be in the range of 0-9, the second digit should be in the range of 0-4.

ServiceTypeID

String of 3 digits

MailerID

String of 6 or 9 digits, depending on the SerialNo length. Both together should total 15 characters.

SerialNo

String of 9 or 6 digits depending on the length of MailerID.

Zipcode

Optional string of 0, 5, 9 or 11 digits corresponding to a zip code. Should not contain dashes (-).

For more information about the ONECODE barcode, which is now named the Intelligent Mail Barcode or IMB, please visit www.ribbs.usps.gov/onecodesolution.