<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><span></span></div><div><div>While all this is very true (c'mon, this should be a well documented pattern / anti-pattern somewhere on the internets) .. How about this one -- use a FONT that is optically meant for easy visual discrimination of letters and numbers. Bonus -- font is easily scannable for image recognition. EG: Automotive VINs. Maintaining upper case only helps too.&nbsp;</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">OCR fonts have been out for years. We just have to get "label manufacturers" to put these kind of specs / requirements in the design doc prior to any label scanning.</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">Alternative #2 -- use a high density digital coding (data matrix codes, Semacode) and then just use our smart phones to read and repurpose. Wait.. We all do have smart phones, right?</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">Giant Mike&nbsp;</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature"><br><br>Sent from my iPhone</div><div><br>On Feb 10, 2016, at 8:07 AM, Brian Schenken &lt;<a href="mailto:brian.schenken@gmail.com">brian.schenken@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">It depends.&nbsp; The characters in serial numbers sometimes have a meaning - O could mean an item was assembled on production line O, etc. so you might have to change that logic a bit.&nbsp; Assuming that the characters are all meaningless, you'd still have a bit of work to do if you want the alphanumeric text to increment while excluding certain characters.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 10, 2016 at 6:34 AM, Leam Hall <span dir="ltr">&lt;<a href="mailto:leamhall@gmail.com" target="_blank">leamhall@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">+1, and lower case "ell". Depending on the font, uppercase "D" is often suspect on printed labels.<div class="HOEnZb"><div class="h5"><br>
<br>
On 02/09/16 23:18, DJ-Pfulio wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
1 line of code.&nbsp; B and 8 should be avoided as well as S and 5 too.<br>
<br>
On 02/09/16 20:45, Pete Hardie wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It's not a programmer failure - it's a requirements failure.&nbsp; Some<br>
marketeer or architect failed to specify<br>
"Serial number will not include letters I and O"<br>
<br>
<br>
On Tue, Feb 9, 2016 at 8:32 PM, Sean Kilpatrick &lt;<a href="mailto:kilpatms@gmail.com" target="_blank">kilpatms@gmail.com</a><br>
&lt;mailto:<a href="mailto:kilpatms@gmail.com" target="_blank">kilpatms@gmail.com</a>&gt;&gt; wrote:<br>
<br>
&nbsp; &nbsp; &nbsp;I know nothing of modern languages; I stopped learning&nbsp; how to program<br>
&nbsp; &nbsp; &nbsp;at Cobol, Algol, and Fortran.<br>
&nbsp; &nbsp; &nbsp;But I have a question spinning off this serial number: F9IANU000217.<br>
<br>
&nbsp; &nbsp; &nbsp;Given that only a few lines of code should be necessary to create serial<br>
&nbsp; &nbsp; &nbsp;numbers, how much more code would be needed to exclude upper case "I"<br>
&nbsp; &nbsp; &nbsp;and "O"?<br>
<br>
&nbsp; &nbsp; &nbsp;This is the first time I have ever seen an upper case "I" used in a<br>
&nbsp; &nbsp; &nbsp;serial number.&nbsp; The type face used for this serial number made it<br>
&nbsp; &nbsp; &nbsp;difficult to see that the third character was an "I" and not a "1".<br>
&nbsp; &nbsp; &nbsp;I have seen an upper case "O" used however, and that is even more<br>
&nbsp; &nbsp; &nbsp;stupid.<br>
<br>
&nbsp; &nbsp; &nbsp;For the record, the serial number above identifies an electronic device<br>
&nbsp; &nbsp; &nbsp;manufactured by a well-known company.&nbsp; It didn't work out of the box,<br>
&nbsp; &nbsp; &nbsp;and after an hour with tech support I was told to return it as<br>
&nbsp; &nbsp; &nbsp;defective.<br>
<br>
&nbsp; &nbsp; &nbsp;Which I will do.<br>
<br>
</blockquote>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br>
</blockquote>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</div></div></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Ale mailing list</span><br><span><a href="mailto:Ale@ale.org">Ale@ale.org</a></span><br><span><a href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a></span><br><span>See JOBS, ANNOUNCE and SCHOOLS lists at</span><br><span><a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a></span><br></div></blockquote></div></body></html>