Since the records are public, I can't see it being illegal to post in the paper. But, then again, I know nothing and I'm blonde.
So, how people vote in an election is a matter of public record.