Article View: comp.lang.postscript
Article #61Re: Zip Code "Bar Codes"
From: Gregory Lee Silvus
Date: Thu, 29 Oct 1992 17:44
Date: Thu, 29 Oct 1992 17:44
38 lines
1793 bytes
1793 bytes
In article <1992Oct23.173146.20984@unlv.edu> robert@unlv.edu (Robert Cray) writes: Does anyone have postscript code that will generate the zip+4 bar code for a zip-code? Actually I have the postscript code to generate the No, I don't, but I did sit down and figure out the bar code. The long strokes are "1s" and the short are "0s". The things listed at the top are observations that may be obvious to some, but important nonetheless. If you write a program to generate these, please mail it to me, or post it. Thanks, gReg Zip Code Bar Code 1. The Zip Code Bar Code resides below all mailing information, although this constraint is being relaxed. 2. The bar code is a distance 2 code capable of detecting one error per number in the string. 3. The Zip Code is preceded and followed by a single tall stroke. 4. The last digit in the bar code is the number required to make the Zip Code sum to a mod 10 number. 5. Each code word contains exactly two long strokes and three short strokes. 6. The code appears to be both rotational and linear. 0 11000 1 00011 2 00101 3 00110 4 01001 5 01010 6 01100 7 10001 8 10010 9 10100
Technical Details
Message-ID:
<SILVUS.92Oct29124450@vauxhall.ece.cmu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!fs7.ece.cmu.edu!fs7.ece.cmu.edu!silvusReferences:
<1992Oct23.173146.20984@unlv.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!fs7.ece.cmu.edu!fs7.ece.cmu.edu!silvus From: silvus@vauxhall.ece.cmu.edu (Gregory Lee Silvus) Subject: Re: Zip Code "Bar Codes" In-Reply-To: robert@unlv.edu's message of 23 Oct 92 17:31:46 GMT Message-ID: <SILVUS.92Oct29124450@vauxhall.ece.cmu.edu> Sender: news@fs7.ece.cmu.edu (USENET News System) Organization: Carnegie-Mellon Univerity References: <1992Oct23.173146.20984@unlv.edu> Distribution: usa Date: Thu, 29 Oct 1992 17:44:50 GMT Lines: 39