A peripheral device for use with a data processing apparatus, said apparatus having a peripheral port with a set of terminal pins consisting of first to ninth pins disposed in a row, said first pin for conducting one of a power source and ground potential, said ninth pin for conducting the other of the power source and the ground potential, said second, third, seventh and eighth pins for conducting data signals, said fourth and fifth pins for conducting control signals, said apparatus having an interface means for communicating with said peripheral device with any of communication modes of a clocked parallel type, a clocked serial type, a three-wire handshake type and a TH/TR selection type and for determining which one of the communication modes to use for communicating with said peripheral device connected to the peripheral port based on the data signals received on said second, third, seventh and eighth pins, said peripheral device comprising:
- a plug connector detachably connectable to said peripheral port, said plug connector having a set of terminal pins consisting of first to ninth pins disposed in a row correspondingly to said first to ninth pins of the peripheral port;
- a cable including a plurality of wires connecting ones of the terminal pins of said plug connector with a printed circuit board of said peripheral device;
- means for supplying a data signal including identification data representing the communication mode of said peripheral device on said second, third, seventh and eighth pins in response to a first control signal supplied from said apparatus for requesting the identification data via the fourth and fifth pins;
- and
- means for supplying said apparatus with a data signal including manipulation data via at least one of said second, third, seventh and eighth pins in response to a second control signal supplied from said apparatus via at least one of said fourth and fifth pins.