I think it means to write a bank check, in order to pay money to someone.
Actually, I had to google it, because I've never heard this phrase before. I assume it's American English, rather than British English. In British English, the phrase would be "to write someone a cheque" (note the different spelling of "check" in American English and "cheque" in British English).
Can any Americans confirm this? (I may be wrong!)