When you say that it just "prints a string of numbers"... Do you mean it prints several characters in a row due to button chatter or does it continue sending characters constantly?
If it is chatter, take a look at the Bounce2 library and you may want to change library to LOCKOUT method using...