Communicating with LPT is implementation dependent. So is the ability to exercise precise time control at 22 Khz. If it's critical, you're going to have to, at least, get down to driver level. For a modern desktop multi-processing system, you might even need some hardware support.