Correct serial cable pinout to connect printer to pc COM port

Hi all, I have a pc connected to a printer using a serial db9, 9 pins cable.

What is the pinout to ensure correct communication?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

☠ MASQ ☠Commented:
It should be standard RS232 - a few more obscure POS printers have specific pinouts but otherwise same as any other COM port connection.  If you're using a 9-25 pin adaptor anywhere in the connection make sure it isn't designed for a different function.

Standard 9-pin RS232 COM port pin-out
What is the printer?
Dr. KlahnPrincipal Software EngineerCommented:
My experience is that most serial printers it is a null modem cable, pins 2-3 crossed in the middle.  Most serial printers do not require the modem control signals.  However, a sizable minority of serial printers use a straight-through cable instead.  Look at the printer's user manual to see which is required -- null modem or straight-through -- or you may be in for frustration by using the wrong type of cable.

Rather than fabricate a null modem cable you can buy one on ebay for a few dollars.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ltpittAuthor Commented:
The null modem cable did its work perfectly: thanks!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.