are you trying to redeem the value from a paper bitcoin into your wallet so you can spend it electronically (in which case you need the Private Key which is labeled "Spend" on the the printed paper bitcoin)?
Yes. And I used the instructions on the wiki. But I had the code 4 error.
Odd. I suspect there is something wrong in the importprivkey command parameters you used, but I'm not sure what.
Generally when in wallet import format the private key will be start with a 5 and will be 51 characters long. Perhaps you had a copy/paste error when trying to get the private key to the command from the QR-Reader? You might want to double check the private key you used in the importprivkey command and compare it to the one from the QR-Code (or printed on the paper).
Assuming that you were trying to import the following private key:
5Kb8kLf9zgWQnogidDA76MzPL6TsZZY36hWXMssSzNydYXYB9KF
Your command should look like this:
importprivkey 5Kb8kLf9zgWQnogidDA76MzPL6TsZZY36hWXMssSzNydYXYB9KF "Testing import"
Nothing else extra, nothing missing.
If your wallet is encrypted with a password, you'll need to provide the password before you'll be able to run that command. That is the purpose of the command:
walletpassphrase "YourLongPassphrase" 600
The 600 indicates that the wallet private keys are to remain unlocked for the next 10 minutes (600 seconds).
If none of this helps, then you'll need to wait for someone more knowledgeable than me to discover this discussion. You may want to try posting a question about this over in one of the "Technical" fourms ("Technical Support" or "Technical Discussion"). You might have a better chance of finding someone who can help.