Archer's Goon (1984 Book)

A novel by  Diana Wynne Jones. The protagonist's father—an author—is visited by a mysterious figure, who demands that he write two thousand words of gibberish.