Here is a couple easy links:
In my experience, there is quite a bit of non-standard serial stuff available. So...get the manual for the printer and see what connections are actually on which pins of the 'serial' port you are trying to connect to. Also, the modular jack to DB-25 or DB-9 adapters are not all built the same. I usually buy the ones that allow us wire them however we want.
That being said, you probably need to build a straight RS-232 cable, and which control pins you use will be somewhat experimental.
It's sometimes tough with printers, many times I have made straight cables for the printer, and found that the program on the PC end doesnt implement the necessary control functions so it would never print. Confusing, let me see if I can give you some basics.
Ground needs to connect to ground
Transmit needs to connect to Receive
Receive needs to connect to Transmit
that is technically all you need....however if the PC or printer or both are looking for handshaking to be implemented, you need to make these wires connect:
RTS ----------- CTS
CTS ----------- RTS
DSR ----------- DTR
DTR ----------- DSR
That should give you full handshaking between the two devices, it MAY be necessary to tie CD to DSR on EACH end of the circuit (the CD pin just gets jumpered to the DSR on each end)
Now, if one end is in need of handshaking, but the other end isnt providing it, you may have to FOOL the device. We do that by wiring each end thusly:
Ground -------- Ground
Transmit ------ Receive
Receive ------- Transmit
CTS -| |- CTS
RTS -| |- RTS
DSR -| |- DSR
DTR -| |- DTR
CD -| |- CD
In case the ascii art is unclear, you only need three wires between the two plugs (ground, transmit, receive). At each plug, CTS connects to RTS, and DTR, DSR and CD get connected together.
As you can see, we are fooling each end into thinking that it is always ready to send and receive data. A few problems that might occur with this set up is data overflow. If you pump tons of data at the printer and it can't digest it all, it could try to tell the PC to stop, but it won't.
Geez I wish serial was easy, but frankly, it can be real trial and error. I use a serial breakout box to monitor the signals and turn things on and off, makes figuring out what you have to do a lot easier.
Hope that helps, good luck!
It is only my opinion, based on my experience and education...I am always willing to learn, educate me!
Daron J. Wilson, RCDD
daron.wilson@lhmorris.com