Do you want to talk to the parallel port or to a printer?

Try opening the file "LPT1:" and writing to it.