It's not clear what your alternatives are - they seem to be the same.
'A pen is to write with' is just about OK grammatically, but very awkward - a native speaker would never say that.
A more natural construction would be 'Pens are for writing with.' Note that it's more natural to use the plural form to talk about things in general. For example, if a child is sucking and chewing his pen, a teacher or parent might say 'Stop chewing your pen! Pens are for writing with - not eating!'