I need to print to COM1 from my C program running under DOS and it "appears" that I might be able to use the bios function bioscom(cmd,byte,port) to accomplish this. (This function is in bios.h)
If this is the case, does anyone know how to address the handshaking requirements? Does the XON/XOFF signal from the printer appear by magic in the MSR (modem status register) or what?
I am unable to even find the term XON or XOFF in any of my hardware or programming books. Also, I am using Borland's C++ version 5.02 compiler.
Any help is greatly appreciated.