Re: HP-41 Bar-Code checksum algorithm. Message #4 Posted by Diego Diaz on 29 Nov 2002, 5:19 a.m., in response to message #3 by Tony Duell (UK)
Hi!
Thank you both for your comments. Finally I've got the desired algorithm and... it was here at MoHPC!!:
http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/articles.cgi?read=42
An article posted by Dan McDonald (my gratitude for him), wich includes an Excell file "HP_ListA.xls" with an annotated macro for the barcode generation.
The "real thing" is fairly easy: (sum of bytes 2-16 (or the last byte if less in row) + previous row checksum byte) MOD 255.
Again, thanks and cheers from the middle of the Athlantic Ocean ;-)
|