Using a serial cable with Laserjet 5000

Can I use a regular serial cable to use with my printer?
I have 2 computers and one will use the parallell port and the other should use the Serial port.
Do I have to use a special Serial cable?
ajohansAsked:
Who is Participating?
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.

zombiwulfCommented:
1. Yes - the printer will autoswitch between the ports.
2. No - you just need a cable that is pin compatible with both ends.
3. You may have some issues when data arrives on one port while the printer is receiving data on the other port.


HP LaserJet 5000 Printer Family - Serial Cable Specifications

Serial communication is simply the transmission of data one bit at a time. With just one bit to transmit at a time, data can be transferred with a simple electrical circuit consisting of only two wires. In this fashion, an eight-bit byte is transmitted one bit at a time and the individual bits are reassembled into the original byte on the receiving end. Bit transmission occurs from the least significant bit to the most significant bit.


Data Terminal Equipment (DTE)
 Transmit on pin 2 and receive on pin 3. A printer is typically a DTE device.
 
Data Communications Equipment (DCE)
 Transmit on pin 3 and receive on pin 2. A modem is typically a DCE device.
 
Asynchronous Communication
 Asynchronous communication or start/stop transmission is the concept of enclosing a character with a start and stop bit. The RS-232 specification defines the standards for asynchronous serial communication.
 
Parity
 Parity is a method of error checking at the bit level.
 
HP LaserJet Serial Data Format
 Transmission is asynchronous, with one start bit, eight data bits and one stop bit. Parity is not used. HP LaserJet printers are DTE devices.
 
Serial Interface Protocol (handshaking)
 Handshaking is the method by which the flow of data between two devices is controlled. The two methods of flow control that are used by HP LaserJet printers are software flow control, in which one device controls another by the content of the data, and hardware flow control, in which one device can control another by changing the voltage on a wire.
 
Software Flow Control (software handshaking)
 Xon/Xoff is a data stream handshake protocol that sends Xon (DC1; 11 Hex) to the computer from the printer's transmit data pin when the printer is able to accept data and sends Xoff (DC3; 13 Hex) when the printer is not ready for data.
 
Hardware Flow Control (hardware handshaking)
 By definition, hardware handshaking is performed when two programs manipulate RS-232 control pins-DTR, DSR, RTS, and CTS to achieve a hardware-based form of flow control. In DTR/DSR handshaking, the sender asserts DTR (Data Terminal Ready) before sending the first character in a stream of data and waits for DSR (Data Set Ready) to be asserted in return. RTS/CTS handshaking is similar, but uses the Request To Send and Clear To Send pins rather than Data Terminal Ready. In either case, the sender delays transmitting data until the receiver is ready.
 

Hewlett-Packard offers the following serial cables and adapter for use with the printer:


HP Part Number
 Description
 
~~~~~~~~~~~~~~~~
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
C2932A
 9 to 9-pin M/F RS-232 Serial Cable, 3m
 
C2933A
 9 to 25-pin M/F RS-232 Serial Cable, 3m
 
C2909A
 9 to 25-pin M/F Serial Cable Adapter
 

With the C2909A serial cable adapter installed on the printer, you can connect a 25-pin cable connector to the printer. The adapter pin connections are shown below.

25 to 9 Pin Adapter (C2909A)


Standard DB-25
(female adapter end)
 Printer DB-9
(male adapter end)
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
2- Transmit Data
 2- Transmit Data
 
3- Receive Data
 3- Receive Data
 
6- Data Set Ready
 4- Data Set Ready
 
7- Signal Ground
 5- Signal Ground
 
20- Data Terminal Ready
 6- Data Terminal Ready
 

DB-9 Serial Cable Pin Outs


Computer DB-9
 Printer DB-9 (male cable end)
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
2- Receive Data
 2- Transmit Data
 
3- Transmit Data
 3- Receive Data
 
4- Data Terminal Ready
 4- Data Set Ready
 
5- Ground
 5- Ground
 
6- Data Set Ready
 6- Data Terminal Ready
 
8- Clear to Send
 8- Data Terminal Ready
 

DB-25 Serial Cable Pin Outs


Computer DB-25
 Printer DB-9 (male cable end)
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
3- Receive Data
 2- Transmit Data
 
2- Transmit Data
 3- Receive Data
 
20- Data Terminal Ready
 4- Data Set Ready
 
7- Ground
 5- Ground
 
6- Data Set Ready
 6- Data Terminal Ready
 
5- Clear to Send
 8- Data Terminal Ready
 

NOTE: The pin outs for the computer end are typical pin numbers. The actual pin numbers for your computer may be different. Check the documentation for your computer to verify the proper pin outs.

Pins not shown are not used by the printer.

Copyright Hewlett-Packard Co. 1998
This information is subject to change without notice and
is provided "as is" with no warranty.
Hewlett-Packard shall not be liable for any direct,
indirect, special, incidental or consequential damages
in connection with the use of this material.

0

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
MoondancerCommented:
This question was awarded, but never cleared due to the JSP-500 errors of that time.  It was "stuck" against userID -1 versus the intended expert whom you awarded.  This corrects the problem and the expert will now receive these points; points verified.

Please click on your Member Profile and select "View Question History" to navigate through any open or locked questions you may have to update and finalize them.  If you are an EE Pro user, you can also choose Power Search to find all your open questions.

This is the Community Support link, if help is needed, along with the link to All Topics which reflects many TAs recently added.

http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
http://www.experts-exchange.com/jsp/zonesAll.jsp
 
Thank you,
Moondancer
Moderator @ Experts Exchange
0
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
Printers and Scanners

From novice to tech pro — start learning today.