Gift Voucher Barcode Specification
Readysell allows for barcoded gift vouchers to be sold and redeemed. In order to use this functionality, the gift voucher barcodes will need to follow a specific format.
The barcode format is Code3of9 Extended as this format supports an extended ASCII character set. There is a free version available at http://www.barcodesinc.com/free-barcode-font/ - the font is called "Free of 9 Extended".
Using the Free of 9 Extended Font
- When using the font you will need to put an asterisk (*) character at the start and end of any barcodes you generate.
- 22px is a good font size to use if printing the barcode onto a business-card sized card.
- Microsoft Word can cause some kerning changes when using the font rendering the barcode unreadable. Try using WordPad instead.
As for the specification, all gift card barcodes should work as follows:
G|AAAAAABBBBBBB
Where AAAAAA is the value of the gift card (all 0 for unspecified value) and BBBBBBB is the unique identifying number for the gift card.
Here are some examples:
- G|0000001234567 - Unspecified value gift card with a unique identifier of 1234567
- G|0100000000001 - $100 gift card with a unique identifier of 1
- G|0050000000123 - $50 gift card with a unique identifier of 123
- G|1234561234567 - $1234.56 gift card with a unique identifier of 1234567