Place the sugar, butter or margarine, eggs, and vanilla in a mixing bowl. Mix on low speed using the dough hook, just until the ingredients are combined.
Sift the flour with the cocoa powder; add to the dough and mix only until smooth.
Place the dough on a paper-lined sheet pan; press the dough as flat as possible.