Yours, Etc.: Origins and Uses of 8 Sign-Offs
1520s, from Middle French cap-à-pie, literally "head to foot." The more usual French form is de pied en cap. The French words are from Latin caput "head" (see head (n.)) + pedem "foot" (see foot (n.)).