Improve pen printing on Windows.