|HP41 barcodes: this one called my attention|
Message #1 Posted by Luiz C. Vieira (Brazil) on 5 Apr 2012, 6:56 p.m.
I decided to open a new topic about this because, maybe, it is of common interest.
After opening this page pointed out by Raymond Wiker (original message) I decided to inspect the source code (HTML) of the resulting bar coded page and surprisingly found a sequence of HTML codes like this one:
<rect fill="black" height="30" width="1.575" y="44" x="20"></rect>
I mean, the bars are actually drawn as rectangles with height="30" and width="1.575" for 'zero' or width="3.3249999999999997" for 'one'. y="44" is the relative location of ROW 1, being y="86" for ROW 2, y="128" for ROW 3 and so. The x="20" is the vertical alignment (column) of the bar, and it goes higher (rightmost) for each new bar, depending on the previous one being a '0' or a '1'.
It has probably taken some time to get to this format, but once the bars are generated this way, I guess the printout will be clean and free of bleeding (shaded areas between spaces and bars).
I liked it very much!
Edited: 6 Apr 2012, 12:06 a.m.