There are many factors involved in communicating with an RS-232 device from a PC. Among them are correct baud rate setting for the device, proper software configuration and proper cabling. There is one very simple test that will help simplify the task of troubleshooting your RS-232 system, which is sometimes called the "Loop-Back" test. Basically, this test will verify that your PC's serial port is working properly, and that the RS-232 software that you are using is operating correctly, and that you are connected to the proper port. It is a common mistake to connect a serial device to the printer port, since many believe this to be a 25-pin RS-232 port. One important thing to remember is that an RS-232 port on an IBM or compatible PC is always a male connector, and may be either 9 or 25-pin. A printer port is always a 25-pin female connector.
To perform a "Loop-Back" test, follow these simple steps. (these instructions are for an IBM or compatible. It is, however, similar for other computers)
This test will only verify that your computer and software is working properly. If you have determined that your PC's RS-232 port is working correctly, then you need to check your cabling and need to make sure that your device is configured for the same baud rate, parity and stop-bits as your computer's serial port. Check your device's documentation to see if it requires handshaking, or if it requires any special configuration.