Royal Mail Cleanmail CBC Tool
Instructions
This tool takes a UK postcode (and optionally a DPS), and returns its checksum character and CBC barcode for use with Royal Mail's Cleanmail system.
- Enter a postcode and DPS. If no DPS is entered, the default of 9Z is used.
- Choose what type of output you require.
- Normal: The output will be a web page with the postcode, DPS, checksum character and CBC barcode.
- Checksum: The output will be a plain text checksum character corresponding to the postcode and DPS.
- CBC Barcode: The output will be a GIF image of the CBC barcode.
- CBC String: The output will be a plain text string of the raw data behind the CBC barcode.
You can also read the Cleanmail manual from Royal Mail.
API
The following URLs can be used to bypass the interface:
- Checksum:
http://cleanmail.wackomenace.co.uk/index.php?postcode=[postcode]&dps=[dps]&action=checksum
- CBC Barcode:
http://cleanmail.wackomenace.co.uk/index.php?postcode=[postcode]&dps=[dps]&action=barcode
- CBC String:
http://cleanmail.wackomenace.co.uk/index.php?postcode=[postcode]&dps=[dps]&action=rawstring