> nothing wrong with the command, I assume there is nothing wrong with the > cable either (home made cable - any one have the specs for a > rs232 cable to > device that supports xon/xoff) or hyperterm is working some kind of magic > that my code isn't. It even works with hyperterm when I turn handshaking > off.
If you're using the same cable for Hyperterm as for your own program, then it can't be the problem. > > I am setting up the dcb block as follows > > case EHandshakeSoftware: > dcb.fOutxCtsFlow = false; // Disable CTS (Clear To Send) > dcb.fOutxDsrFlow = false; // Disable DSR (Data Set Ready) > dcb.fDtrControl = DTR_CONTROL_DISABLE; // Disable DTR (Data Terminal > Ready) > dcb.fRtsControl = RTS_CONTROL_DISABLE; // Disable RTS (Ready To Send) You may want to try various combinations of these. Unfortunately I'm very sketchy on how to use these, with the exception that RTS must be enabled for RS485 comms (so not applicable here). Sadly Hyperterm gives up no information on what these are set at, so that's no help. > What else should I be looking for to try and get this printer to recognise > the communication? > Well this is essentially a serial port question, I am getting quite > desperate and any additional advice will be helpful. What about the rest of the DCB parameters? Where are they initialised? You may remember that I said you must set them ALL if you're working on 2K or XP (or possibly NT). -- Jason Teagle [EMAIL PROTECTED]
