You may say "He prefers writing to dictating" or "he prefers to write rather than to dictate", but not "he prefers to write than to dictate".