> So, this is kind of two or three questions in one: >=20 > * Need to generate random code and pasted it in a document. > * Keep a list of generated codes. > * Create the pdf for the customer to make a hardcopy of the document. You could do a barcode, but I would also look at printing a number in an OC= R font.=20 IIRC OCR1 is the font across the bottom of checks, but OCR2 is a much nicer= looking font, but again designed to be machine readable with a minimum of = errors. --=20 Scanned by iCritical. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .