23.10.2013 Views

FAST Forth Native-Language Embedded Computers

FAST Forth Native-Language Embedded Computers

FAST Forth Native-Language Embedded Computers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A great advantage of pre-barcoding is that you get the<br />

savings without the hassle of pre-sorting. One thousand<br />

letters that are five-digit pre-barcoded, without sorting,<br />

will cost nine dollars less to mail than zip+4 pre-sorted<br />

($0.233 vs. $0.242, first class). The longer (DPBC) barcode<br />

will get you even more savings.<br />

Some of the new barcode readers can also handle flats,<br />

i.e., large envelopes and magazines. Whether pre-barcoded<br />

batch discounts will be extended to these isn't settled yet,<br />

but publishers should keep in touch with the postal<br />

service.<br />

Getting the zip code information can be a problem. The<br />

five-digit code is widely distributed, but the +4 code takes<br />

a bit more doing. The +4 code for California alone takes<br />

four volumes, making a stack twice as high as the national<br />

codes. It's obvious that looking them up from printed<br />

references works only for an individual with a short<br />

mailing list.<br />

For businesses, it's a job for computers. The USPS will<br />

start you off with a free, one-time search of the zip codes<br />

with data from your address files. After that, third parties<br />

specializing in zip codes will upgrade your label database<br />

for a fee. CD-ROMs with nationwide zip+4 codes are also<br />

available, if you have the capability of doing it yourself.<br />

To make implementing pre-barcoded mail less painful,<br />

the postal service has published informative booklets<br />

explaining all.<br />

For help in designing mail to work with barcode<br />

scanners and in upgrading your databases, the USPS has<br />

Mailpiece Design Analysts and Business Consultants avail-<br />

able at their district centers. You can reach one via mail or<br />

toll-free telephone. The analyst I spoke with was eager to<br />

help and knew her zip code technology. The USPS is<br />

trying harder.<br />

Figure Three. Barcode dimensions.<br />

Bar width 0.01 5" to 0.025"<br />

Tall bar height 0.115 to0.135"<br />

Short bar height 0.040 to 0.060<br />

Space between bars 0.01 2" to 0.040"<br />

Pitch 22 * 2 barslinch<br />

Dots should touch, but can be up to 0.005" apart.<br />

Bar rotation (leaning) or pattern skew (tilt): less<br />

than 5 degrees total.<br />

Lenath of code minimum maximum<br />

five-digi t 1.245" to 1.625"<br />

nine-digit 2.075" to 2.625<br />

eleven-digit 2.495" to 3.125"<br />

9<br />

\ Return Wdwss<br />

: RETRDDR ( -- a1 a! a1 ai n 1<br />

" Your Name"<br />

" Your Street Rddress"<br />

" Your Hmtwn, CR"<br />

" Your-Zipcode" 4 ;<br />

\S<br />

Enclose each line of address block in quote ?narks ('1.<br />

Last line NST be zipcode. Number is # of lirs.<br />

18<br />

\ Envelope Rddress<br />

: (FIDDR) ( addr-blk.. . - 1 \ Stack has addr len of addr CVs<br />

PRINTINS W<br />

3 SURP 2* 1- DO<br />

CR I ROLii I ROLL PLIE<br />

-2 +LC@ SPRCE TYPE ( zip 1 CR<br />

PRI#TING OFF ;<br />

11<br />

\ Envelope Rddress<br />

: FRRDDR ( -- )<br />

RPOSt B RWS ! RETRDDR lFIDDR) ;<br />

: WDDR ( addr-bl k.. . -- 1<br />

RPOS# @ WOS !<br />

)R 3WP ZIP2 R) (RDDR) ;<br />

: VTFIE ( -- 1<br />

PRINTING ON VTRI @ 0 DO CR LOOP PRINTING OFF ;<br />

: ENV ( addr-blk.. . - 1<br />

9 VTFIWI ! B RPOS# ! 40 RF)OS# ! 1'1 2PSPFICE IS PSPFICE<br />

LETTER PRRDDR VTM FdDDR KRNCE'L ;<br />

12<br />

8 \ Label Haker<br />

1<br />

2: SETCM (n-- 1 \ Ccll L.3<br />

3 DLP 1 3 BENEEN NOT IF DRW 3 THEN<br />

4 1-22*4+RWS!;<br />

e<br />

6 : SEWEL ( addr-blk - 1<br />

7 lXP1 BLPI LETTER 8 ( lpi 1 OVER - VTM# ! ;<br />

9 : R21P ( a 1 - ) \ Single print zipbar<br />

18 STRTZIP PZIPMR STOPZIP ;<br />

11<br />

12 : LZIPI ( addr-blk - )<br />

13 1XPI ZIWS lW1 1R 2DW RZIP R) ;<br />

14<br />

1 1<br />

March 1994 April 30 <strong>Forth</strong> Dimensions

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!