Figure:
Serial ports (DB-9 or DB-25 male connector) and parallel port (DB-25 female connector).