>my recollection is that cacography refers to either poor handwriting or to bad spelling.

yeah, OED gives it as the "opposite" of both calligraphy and orthography!