| Author |
Message |
rafiz2000
Joined: 2006-03-07
Posts: 336
|
ape ntah nie.....
Generating barcodes
Disregarding the space, divide the postal code into four subfields (e.g. K1-A-0-B1).
Locate the contents of each subfield in the encoding tables below and record the hexadecimal numbers that they correspond to. (e.g. K1-A-0-B1 becomes 32-07-A-C2.)
Convert those hex numbers to binary, and add leading zeroes where required.
Change the binary numbers into bars. "Zero" bits in the resulting binary numbers correspond to spaces in the barcode, while "one" bits correspond to printed bars, with the least significant bit of each number corresponding to the rightmost bar in each subfield of the barcode.
Add an "alignment" bar onto the end of the resulting barcode.
Count up the number of bars you have. If you get an even number, add another bar onto the start of the barcode.
Here are some examples of encoded postal codes. The colour used in these examples is meant to simulate the actual colour of the ink used to print the barcodes, however it does not exactly match. Select these examples to make them more visible.
A1B 2C3: | ||| Posted on 2006-09-13 23:25:01 |
|
|
| Author |
Comments |
rafiz2000
Joined: 2006-03-07
Posts: 336
|
nko search kt google..
Posted on 2006-09-13 23:47:12
|
jackpot42
Joined: 2006-09-12
Posts: 27
|
tak faham macam mana baca kot kot itu semua.
pasal apa kena tukar kot jadi no. ??
Posted on 2006-09-13 23:43:21
|
rafiz2000
Joined: 2006-03-07
Posts: 336
|
aku budak lagi baru blajaq...x reeti omputih....
nny aku tnya en.melo...n da gang.
Posted on 2006-09-13 23:38:42
|
jackpot42
Joined: 2006-09-12
Posts: 27
|
dont understand.
Can explain senang sikit macam mana hexadecimal corres dengan nombor.
Posted on 2006-09-13 23:31:28
|