How to use RS232 in that case?

Are you using an UNO?
You can use Serial.print(ln) instructions.
If the Arduino is the DTE device, you may need to set RTS and/or DTR.
If the Arduino is the DCE device, you may have to set CTS and/or DSR.