Serial RS-232 RTS/CTS handshake in C#.Net 2008

Ehsan Mihankhah
Hello,
    I am using Bixelon SPP-100 Thermal Printer on a "Micro2440 + 7 inch
LCD" (256MB). I can work with the thermal printer in C#.Net 2008 in windows
XP using serial RS-232 (direct ESC/POS commands) with no problems. when I
use the exact code in Windows CE 6.00 with compact framework 3.5, it does
not work. Printer works with RS232C protocol (RS232 level, not TTL level)
with 115200 bit rate and CTS/RTS handshake (8 data bits, 1 stop bit, no
parity).
    Is there any issue with CTS/RTS handshake in 2440 board?
    Is there difference with COM1, COM2 and COM3? (all of them have DB9
connector on my board)?

Khalid Nawaz Khan
Well, the same code should work.
If you're connecting TTL levels then both sides must be on same voltage
levels.
RTS/CTS also need to be handshake during serial communication.

Nguyen Cong Thanh
Hi,
As I seen, the pin out of COM port of Mini2440 assigned wrong way (2-Tx,
3-Rx, 5-GND).
Normally, with 9p-male: 2-Rx, 3-Tx, 5-Gnd

davef
Think you find that the mini2440 is not set up like you think.

http://en.wikipedia.org/wiki/Data_terminal_equipment

Search for <RS232 cable crossover> on the forum.

Nguyen Cong Thanh
I mean can not connect the printer directly to POS (via RS232) to the
motherboard mini2440 althought it is OK when be connected to PC. To solve,
the simple way is swap pin2 and pin3 of COM of mini2440.