James Jacob Ritty (29 October 1836 – 29 March 1918), saloon keeper and inventor, opened his first saloon in Dayton, Ohio in 1871, billing himself as a "Dealer in Pure Whiskies, Fine Wines, and Cigars." Some of Ritty's employees would take the customers' money and pocket it, rather than depositing the cash that was meant to pay for the food, drink, and other wares. In 1878 while on a steamboat trip to Europe, Ritty became intrigued by a mechanism that counted how many times the ship's propeller went around. He wondered whether something such as this could be made to record the cash transactions made at his saloon.

The Rittys opened a small factory in Dayton to manufacture cash registers while still operating the saloon. The company did not prosper and in 1881, James Ritty became overwhelmed with the responsibilities of running two businesses, and sold all his interests in the cash register business. The buyers were a group of investors including Jacob H. Eckert of Cincinnati, a china and glassware salesman who formed the National Manufacturing Company, and John and Frank Patterson, who were then in the coal and railroad business. John H. Patterson became majority owner in 1884, when the company was renamed The National Cash Register Company.

Ritty was not resentful that he did not benefit much from his invention and maintained friendly relations with John H. Patterson and many times was invited to attend various NCR meetings and conferences.

More Info: en.m.wikipedia.org