A pen was a writing instrument used on paper.
Onaya gave a pen used by the writer Revalus to Jake Sisko to write Anslem. (DS9: "The Muse")
Chakotay used a pen to write down his memories so he could remember a Ramuran female. (VOY: "Unforgettable")