Very bad idea. It would compromise the secrecy of the vote. I could pay you to vote for a given candidate, or threaten you, or whatever, and then ask to see the paper to make sure that you actually voted “correctly”.
Actually, when I think about it, it would be the same if only the code appeared on the paper. I could check by myself on the internet.
There should be no way to check for whom you actually voted.