Arduino serial communication with printer
RS232 signal lines have fixed directions.

If the arduino is talking to the computer, and the printer is talking to the computer, using the same cable, then I'm pretty sure you will need a null modem connection (RX / TX etc crossed over) between the Arduino and the printer.

Also the printer may use hardware flow control. If so, you will to connect up RTS / CTS and perhaps assert DTR.