If the poor handwriting is resulted of improper pencil grip, then there are a couple of things you can try:

(1) monkey bar. This is the most efficient grip training exercise. More hanging time means better handwriting.

(2) cotton balls. Put a couple of contton balls in her palm. This will help her to have better sense of three-finger gripping.