If keys only work sometimes such as 8 and 9, you have a faulty keyboard.
------------------
If anyone needs more information, the Samsung ER-5100 programming manual is here:
http://the-checkout-tech.com/manuals/cashregisters/Samsung2.php
Registerman
March 2012