upvote
I think back in the days before office workers that happened to do their work on a computer had access to the ancient relatives of "Microsoft Word"/"Libreoffice Writer", it was pretty normal for printers to take care of plain text files, with about as much fidelity as manual operation of a classic purely mechanical Typewriter.

Since then printers progressively forgot how to cope with such "documents", though IIRC good-old HP "PCL" should only require about a bare minimum of framing/job control to get a modern printer to handle ASCII plain text.

reply
deleted
reply
TextEdit.app supports printing, so does Notepad.exe (unless they removed that recently).
reply
I've done the same from a raspberry pi to a receipt printer, just piping to lp0
reply
vim/nvim at least have :print
reply