To beat soundly. The phrase may have originated in the practice of using cards as targets in pistol-shooting.

1

1861.  “I wish I had control of chain-lightning for a few minutes,” says O., the droll fellow of our company. “I ’d make it come thick and heavy, and knock spots out of Secession.”Atlantic Monthly, vii. p. 747/1 (June).

2