Basic Assignments
 
Options & Settings
 
Main Time Information
Color Code: Yellow
Created By: Shannon Scoffield
Created Date/Time: 5/19/2014 1:49 pm
 
Action Status: Blank (new)
Show On The Web: Yes - (public)
 
Time Id: 2163
Template/Type: Other Documentation
Title/Caption: Brainstorming Drawing Barcodes 128-B in Flash
Start Date: 5/6/2010
Main Status: Active

click to enlarge - photo by: Shannon Scoffield -
click to enlarge - photo by: Shannon Scoffield -
click to enlarge - photo by: Shannon Scoffield -


Notes:
Drawing barcodes 128-B in Flash:
1. We need to be able to handle up to 25 characters
2. Need to be able to handle dynamic content
3. Printable from the web to specific sizes and specs
4. Variable length and sizes of output
5. Needs to be readable and correct for 128-B standards
Known:
- 128 characters, each has 11 positions, sizes and spaces are 1,2,3,4, I have a list of black/white (bars & spaces) codes in “bbwwbbwbbbw” format for each character.
- 128-B requires a start character, the value to encode, a check digit, and a stop character. The start and stop characters are standard but the check digit is a variable and will be one of the 128 characters.
- The system needs to be able to calculate and draw (render) on the fly.
- Most labels will be printed out using thermal transfer to sticker or label paper.
- With the 11 positions… I’m assuming that each character only gets 11 and the next one will start on 12 as the first new character. I will need to verify this.
- The check digit uses a special formula and then a special division valve. The actual results are not in the main division but in the remainder (left over value). This value then gets converted into a barcode symbol as well.
- Flash is capable of drawing bars to exact specs. A loop that gets proper specs could be used to create content on the fly. Flash is also capable of duplicating a master line or bar on the fly. Positioning and printing are both very precise within flash.
Technical Ideas:
- Because each character has a specific pattern. It would be ideal to get the value to decode, split it into an array with each letter or character in each index, do the math calc to figure the check digit and then process the output with correct instructions and spacing.
- Sketches, variables, etc. – See scan in photo gallery
- The above example uses a factor of 1. What if I need to shorten things up and used a factor or 0.5, 0.25, 0.01 (etc.).
- Working with zero kind of messes things up for basic math.
- Here is how the start & end value can be figured:
- You need:
o See scan in photo gallery
o Start with these values already set
o To get to the next – do this
- Say you have an array with the following values.
o See scan in photo gallery
- Two dimensional array, index 0=value, index 1=numeric look-up value
o See scan in photo gallery
- You would also need a look-up array that had instructions or code to make instructions.
o See scan in photo gallery
- Instructions would need to be:
o Start x card = _________
o Bar length = __________
o Start x card = _________
o Bar length = __________
o Start x card = _________
o Bar length = __________