Here in Sweden you usually see a line to sign on, and below that another line to rewrite your name in a readable manner. That sort of makes sense, so I guess that is the common way to do it.
As for my own typing I went through school writing unreadable, I could not even read my own writing most of the time. Things changed when in my late teens when I started hanging out with the home guard and learnt how to write the army-style all-caps block letters.
15 years later I still use that style of hand writing, some letters have changed a little, but I think they still would pass the test as close enough. And I can actually read my own handwriting, even if I seldom do any these days.