 In 1879 , James Ritty , a saloon owner , invented a mechanical cash register , paving way for its production through the National Cash Register Company , based in Dayton . The company prospered through the 21st century , producing automated teller machines , barcode scanners , and other related products , employing thousands . It was eventually relocated to Georgia in 2009 . 
