It depends on the reader. One very typical keyboard reader interface type is called "Keyboard wedge
". It has the simple interface identical to that of a keyboard:
You should check with the manufacturer if this is the case. If it is, you can develop your code using just a regular keyboard.
In all other cases, you probably need to have the hardware.