Font representing
UPC (Universal Product Code) Barcode.
About UPC:
UPC has the following formatting:
ZnnnnnnYNNNNNNZ; where:
- Z - start/end guard bar
- Y - midlle guard bar
- n - digit from the first 6 numbers the code
- N - digit from the last 6 numbers of the code
How to use:
You'll have to convert your 12 digit code into 15 strings:
- first you type the start guard bar: Z
- first 6 numbers of your code, written as usual: 0 ... 9
- the middle guard bar:Y
- last 6 numbers of your code, using uppercase symbols: ), !, @, #, $, %, ^, &, *, (
- the end guard bar: Z
Example:
Barcode: 256015 495837
Type in: Z256015Y$(%*#&Z
Please Note:
the horizontal lines above and below the vertical bars are there only to ensure proper spacing between bars. You might want to remove that, although it won't interfere with barscanners.
- there should be no space between the characters, fontsruct generates them this way. You'll have to compensate.(corrected thanks to thalamic)
Update (03. Apr '09):
With Kerning support added to fontstruct, no more horizontal bars are needed. I shall update the tutorial illustration as well.
7 Comments
Great font, BTW. And thanks for decoding UPC.
I updated the font. I do hope they'll enable us to edit kerning, maybe drawing colored bricks for that...
I wonder, if you actually have tested your barcodes in real world. Using this font, compose a barcode of a known product (e.g. salted peanuts, or Jelly Beans, anything). Print it out (the proper size is crucial), and take it to the next superstore. Check it with the barcode scanner: it should indicate the same item, same price. 10/10
Actually, It's been used on at least 2 projects already. Nominal with is 27.4mm (1.04 in), which can be scaled 80%-200%. Nominal height is 1in, also this can be a lot shorter (e.g. 1/2 in, 12mm). Remember to check character width and spacing, they should be 100%.
Please sign in to comment.