H04N1/00127—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture

H04N1/00278—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a printing apparatus, e.g. a laser beam printer

H04N1/32—Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device

H04N1/32561—Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device using a programmed control device, e.g. a microprocessor

G—PHYSICS

G06—COMPUTING; CALCULATING; COUNTING

G06K—RECOGNITION OF DATA; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS

G06K2215/00—Arrangements for producing a permanent visual presentation of the output data

G06K2215/0002—Handling the output data

G06K2215/0005—Accepting output data; Preparing data for the controlling system

Abstract

An image data communication system for controlling an image reader and an image recorder has an optical system for reading an image, a signal processor for processing the read image, microprocessors for controlling image reading and image data communication, and serial circuits for supplying control data. The system allows connection of image readers and image recorders of different types.

Description

This application is a continuation of application Ser. No. 291,349 filed Dec. 29, 1988, which is a continuation of application Ser. No. 041,635, filed Apr. 23, 1987, which is a continuation of application Ser. No. 594,866, filed Mar. 29, 1984, now abandoned.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to an image data communication control system for controlling an image data transmitter for transmitting image data and an image data receiver for receiving the transmitted image data and performing an image output processing such as image recording.

2. Description of the Prior Art

Developments are being made in electronic OA equipment such as image readers and word processors, electrophotographic copying machines or printers such as laser beam printers as output devices for computers and the like, display devices such as CRT displays, and electronic file devices such as floppy devices. However, image data transmitters such as image readers and image data receivers such as laser beam printers use different image data communication control systems depending on the type of such transmitters or receivers and the like. When the control systems are different, control and response data are also different. In view of this, image data are conventionally transmitted in parallel through different channels for different control and response data. This does not allow a connection between image data transmitters and receivers of different types for the purpose of image data communication therebetween.

SUMMARY OF THE INVENTION

It is an object of the present invention to provide a solution to the above-mentioned problems.

It is another object of the present invention to provide a general-purpose image data communication control system which can be used for devices of many different types.

It is still another object of the present invention to provide an image data communication control system which allows standardization for connection of different devices.

It is still another object of the present invention to provide an image data communication control system which can perform image data communication in accordance with a relatively simple configuration and control sequence.

It is still another object of the present invention to provide an image data communication control system which is capable of high-speed image data transmission.

The above and other objects and features of the present invention will become apparent from the following description and the appended claims when taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a perspective view showing an example of a combination of an image reader and an image recorder to which the present invention can be applied;

FIG. 2 is a block diagram showing an example of the configuration of the image reader shown in FIG. 1;

FIG. 3 is a block diagram showing an example of the configuration of the image recorder shown in FIG. 1;

FIG. 4 is a block diagram showing an example of the configuration of a transmission cable shown in FIGS. 2 and 3;

FIGS. 5A to 5G are timing charts showing the signals at the respective parts shown in FIG. 4;

FIGS. 6A to 6I are circuit diagrams showing examples of the configuration of an interface section for performing signal transmission shown in FIG. 4;

FIG. 7 is a front view showing an example of a connector for connecting signal lines shown in FIG. 4;

FIG. 8 is a flow chart showing the operation of the-image reader shown in FIG. 2;

FIG. 9, consisting of FIGS. 9A and 9B, is a flow chart showing the operation of the image recorder shown in FIG. 3; and

FIG. 10 is a representation showing the sequence of signal generation when the flow charts shown in FIGS. 8 and 9 are executed.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

FIG. 1 shows an example of an image reader 1 and an image recorder 2 to which an image data communication control system of the present invention is applied. The image reader 1 and the image recorder 2 are connected through a transmission cable 3. Image data of an original read by the image reader 1 is transmitted to the image recorder 2 through the transmission cable 3 and is reproduced on a recording paper sheet (not shown). Various other signals such as control data or response data signals for controlling the image reproduction are also transmitted through the transmission cable 3.

FIG. 2 shows an example of the configuration of the image reader 1 shown in FIG. 1. Referring to FIG. 2, light from an original placed on an original table (not shown) is focused through optical lenses 101 and 102 on CCDs 103 and 104 driven by a CCD drive circuit 105. Outputs from the CCDs 103 and 104 are supplied to amplifiers 107 and 106, respectively, to be amplified. Simultaneously, the original and the optical system are moved relative to each other to sequentially scan the original. Detailed description of such scan means is omitted as being well known to those in the art.

The amplified image signals from the amplifiers 107 and 106 are supplied to A/D converters 108 and 109 and are converted into multi-valued digital image signals. The signals from the A/D converters 108 and 109 are supplied to binarizing circuits 110 and 111. Binary digital image signals VD1 and VD2 from the binarizing circuits 110 and 111 are supplied to an image processing circuit 112. In synchronism with a horizontal sync signal BD to be described later, the image processing circuit 112 transmits to the image recorder 2 a serial image signal VD0 corresponding to the input digital image signals. The horizontal sync signal BD is supplied from the image recorder 2 and is used as a timing signal.

A CPU 113 performs various arithmetic operations and logical discriminations for image reading or image data transmission. The CPU 113 comprises a microcomputer which controls the various elements connected to a bus B1 therethrough. A control memory (ROM) 114 stores a control program for the CPU 113. A rewritable random-access memory (RAM) 115 for temporarily storing various data from the respective elements can be used as a work memory for the arithmetic operations and logical discriminations of the CPU 113. A key and display driving circuit 116 scans the key matrix of a controller (control panel) 117 and drives the display. An I/O port 118 is connected to an interface and drive circuit (both not shown) and is partially used for communication between the image reader and the image recorder. An interface for serial signal 120 supplies a control command to the image recorder 2 and performs communication processing to allow reception of response data. The CPU 113 operates in accordance with the control sequence of the program stored in the ROM 114 and uses the RAM 115, the I/O port 118, a timer circuit 119, the interface for serial signal, the key display driving circuit 116, and the like, to perform control of overall image transmission.

FIG. 3 shows an example of a configuration of the image recorder 2 shown in FIG. 1. A CPU 200 performs various arithmetic operations and logical discriminations to allow image data reception and image recording. The CPU 200 comprises a microcomputer which controls various elements connected to a bus B2 therethrough. An interface for serial signal 201 receives the control command through the transmission cable 3 from the interface 120 (FIG. 2) of the image reader 1. The interface 201 also supplies the response data to the interface 120 of the image reader 1.

A control memory (ROM) 203 stores a control program of the CPU 200. A random-access memory (RAM) 204 is used for temporarily storing data from the various elements connected to the bus B2 and is used as a work memory of the CPU 200. An I/O port 205 is connected to an input interface (I/F) 207 and a drive circuit 208 for driving a load such as a motor (not shown) or a high-voltage transformer, and is also connected to the image reader 1. A display circuit 206 displays various states of the recorder such as the absence of recording paper sheets or the occurrence of a jam. The serial image signal transmitted from the interface 120 of the image reader 1 through the transmission cable 3 is received by the interface 201 of the image recorder 2 and is processed by the CPU 200. The CPU 200 operates in accordance with the program stored in the ROM 203 and uses the RAM 204, a timer circuit 202, the I/O port 205 and the like for overall control of the recorder.

A laser driver 209 drives a semiconductor laser 210 in accordance with the image signal VD0 from the image process circuit 112. A laser beam from the laser 210 is collimated into parallel beams by a collimator lens 211. These parallel beams are then reflected by a polygonal mirror 212 and scanned in the main scan direction (indicated by arrow Y in FIG. 3) approximately parallel to a photosensitive drum 214. The beams reflected by the polygonal mirror 212 become incident on the photosensitive drum 214 rotating in the subscan direction through an f-θ lens 213 which performs light-intensity correction.

An electrostatic latent image corresponding to the image signal VD0 is formed on the surface of the photosensitive drum 214. The image is then developed with a developer by the electrostatic recording method. The developed image is fixed on a recording paper sheet. The recording paper sheet with the image fixed thereon is then discharged onto a discharge tray (not shown). Since the electrostatic recording method is a known technique, the details thereof will not be described.

Before the laser beams scanned by the polygonal mirror 212 are irradiated onto the photosensitive drum 14, they are also supplied to an optical fiber 215 arranged at the side of the photosensitive drum 214. A photosensor 216 connected to the optical fiber 215 converts the light into an electric signal. This signal from the photosensor 216 is supplied as a horizontal sync signal BD to the image processing circuit 112 of the image reader 1.

FIG. 4 shows an example of signal lines constituting the transmission cable 3 shown in FIGS. 1 to 3. The signal transmission directions of signal lines 301 to 312 are indicated by the corresponding arrows. Table 1 below shows the names of the signals shown in FIG. 4 and the main properties thereof.

The input signals, output signals and input/output signals shown in Table 1 above refer to the image recorder 2 (to be referred to as a printer 2 hereinafter). Therefore, an input signal is a signal which is supplied from the image reader 1 (hereinafter referred to as a controller 1) to the printer 2. Signals BD, RDY, VSREQ, SBSY, SC, SCLK, CBSY, PRNT, and VSYNC have the high level of a TTL (transistor-transistor logic) as false and the low level thereof as true. Signals PPRDY and CPRDY have the high level of the TTL as true and the low level thereof as false.

The contents of the various signals will now be described in detail with reference to FIG. 4 and Table 1.

1 Printer Power Ready Signal PPRDY

The signal PPRDY is a status signal which indicates that power is supplied to the printer 2 and transmission/reception of the interface signals between the controller 1 and the printer 2 can be started. The signal PPRDY is supplied to the controller 1 through the signal line 303. When power supply to the printer 2 is stopped, the signal PPRDY goes false, as shown in FIG. 5A. The portions indicated by hatched lines in FIG. 5A represent unknown durations wherein the signal state is unknown due to transients of occurring with power on or power off. When the signal PPRDY goes false, the signals which have been received by the printer 2 are reset or cleared. Therefore, when the signal PPRDY goes true again, the controller 1 executes the control initialization upon resumption of power supply to the printer 2.

2 Controller Power Ready Signal CPRDY

The signal CPRDY is a status signal which indicates that power is supplied to the CPU 113 of the controller 1 and transmission/reception of the interface signal between the controller 1 and the printer 2 can be started. The signal CPRDY is supplied to the printer 2 through the signal line 312. When power supply is stopped, the controller 1 renders the signal CPRDY to fall to the false level, as shown in FIG. 5B. As in the case described above, the portions indicated by hatched lines in FIG. 5B indicate periods when the status is unknown. When the signal CPRDY goes false, the other interface signals which have already been received are neglected, the contents thereof are cancelled (cleared), and the status busy signal SBSY to be described later goes false. If there is a recording paper sheet in the convey path of the printer 2, the sheet is conveyed and the initial state immediately after resumption of power to the printer 2. After the controller 1 renders the signal CPRDY true, it executes the control procedure after the power of the printer 2 is turned on.

3 Ready Signal RDY

The signal RDY is a status signal which represents whether the printer 2 can start or continue printing. The signal RDY is supplied to the controller 1 through the signal line 304. When printing cannot be either started or continued, e.g., when there is no more recording paper, the printer 2 renders the signal RDY false. When the printer 2 renders the signal RDY false in this manner, the printer 2 will not accept any print start request or print continue request. When the factors which have contributed to render the signal RDY false have been all eliminated, the printer 2 renders the signal RDY true.

4 Paper Feed Signal PRNT

The signal PRNT is a special control signal of the controller 1 which instructs the printer 2 to perform paper feeding. The signal PRNT is supplied to the printer 2 through the signal line 310. When the ready signal RDY described above is false, the printer 2 neglects the signal PRNT.

5 Vertical Sync Data Request Signal VSREQ

The signal VSREQ is a special control signal which indicates that the printer 2 can now receive the vertical sync signal VSYNC to be described later. The signal VSREQ is supplied to the controller 1 through the signal line 305. As shown in FIG. 5C, after the true state of the signal VSREQ is confirmed, the vertical sync signal VSYNC is produced. When the printer 2 receives the signal VSYNC after production of the signal VSREQ, it renders the signal VSREQ false.

6 Vertical Sync Signal VSYNC

The signal VSYNC is a vertical sync signal for instructing the information data output from the controller 1 to the printer 2 and the paper feed for the printer 2. The signal VSYNC is supplied to the printer 2. As shown in FIGS. 5D and 5E, the printer 2 receives the image signal VD0 to be described later in accordance with the true state of the signal VSYNC. However, the printer 2 neglects the signal VSYNC which is received while the request signal VSREQ is false.

The portions indicated by the hatched lines in FIGS. 5D and 5E represent the reception duration of the image signal VD0. The portions indicated by the cross-hatched lines in FIG. 5E represent "don't care" durations in which the influence of the signal PRNT is neglected. "Sheet feed"* in FIG. 5E represents the timing of the paper feed operation of the printer 2. "PRNT sense"* in FIG. 5E represents the output timing of a sensor for detecting the paper feed timing.

7 Horizontal Sync Signal BD

The signal BD is a horizontal sync signal of image data which indicates that the laser beam is at the start point of main scan. The signal BD is supplied to the controller 1 through the signal line 302. As shown in FIG. 5F, the controller 1 supplies to the printer 2 the image signal VD0 obtained by one scan operation after time t from the leading edge of the signal BD. Note that the portions indicated by the hatched lines in FIG. 5F indicate the transmission durations of the image signal VD0.

8 Image Signal VD0

The signal VD0 is an image signal which is transmitted from the controller 1 to the printer 2 through the signal line 301. The signal VD0 is a bit-serial signal in which bits correspond to white or black dots consecutively. The signal VD0 changes with the TTL high level being false and the TTL low level being true. The printer 2 records a black-and-white image in correspondence with the true or false level of the signal VD0 in accordance with the raster scanning method. The controller 1 produces the signal VD0 in synchronism with the vertical sync signal VSYNC for image data in the subscan direction and in synchronism with the horizontal sync signal BD for image data in the main scan direction (See FIGS. 5D and 5F).

9 Status/Command Signal SC

The signal SC is a serial 8-bit signal having 8 bits (one byte) as a single message block and is bidirectionally serially transmitted through the signal line 307.

The signal SC is, in one case, transferred as command data, i.e., a command signal (control signal) from the controller 1 to the printer 2, and, in the other case, as status data, i.e., a status signal (response signal) from the printer 2 to the controller 1. When the signal SC is transferred as the command data, it is called the command signal COMMAND. When the signal SC is transferred as the status data, it is called the status signal STATUS. As will be described later, both the controller 1 and the printer 2 use the sync signal SCLK for fetching the signal SC and use the busy signal SBSY or CBSY for input/output control of the signal SC (FIG. 5G). In response to a 1-byte command signal COMMAND from the controller 1, the printer 2 sends the 1-byte status signal STATUS. Details of the signals COMMAND and STATUS will be described later.

○ Status Busy Signal SBSY

The signal SBSY is a control signal which indicates a reception permit of the status signal STATUS from the printer 2 and is supplied to the controller 1 through the signal line 306. As shown in FIG. 5G, after confirming that the command signal CBSY to be described later is false, the printer 2 renders the signal SBSY true. The controller 1 monitors the true duration of the signal SBSY and also input of 8 pulses of the serial clock signal SCLK to be described later during the true duration of the signal SBSY. When an abnormality is detected (i.e., when less than 8 pulses of the serial clock signal SCLK are detected during the true duration of the signal SBSY), the controller 1 retransmits the command signal COMMAND. When an abnormality is detected (i.e., when the true duration of the signal SBSY is abnormal), the controller 1 renders the controller power ready signal CPRDY false so as to initialize the interface.

○ Command Busy Signal CBSY

The signal CBSY is a control signal which indicates a reception permit of the command signal COMMAND and is produced prior to production of the command signal COMMAND from the controller 1. The signal CBSY is supplied to the printer 2 through the signal 309. As shown in FIG. 5G, after confirming that the status busy signal SBSY is false, the controller 1 renders the signal CBSY true. The printer 2 monitors input of 8 pulses of the serial block signal SCLK during the true duration of the signal CBSY. When the number of serial clock pulses received in the true duration of the signal CBSY is less than 8, the printer 2 sends back a status signal STATUS indicating a parity error. Upon reception of the status signal STATUS indicating a parity error, the controller 1 retransmits a command signal COMMAND.

○ Serial Clock Signal SCLK

The signal SCLK is a pulse signal which is used by the printer 2 to fetch the command signal COMMAND and by the controller 1 to fetch the status signal STATUS. The signal SCLK is transmitted through the signal line 308. The signal SCLK for allowing the printer 2 to fetch the command signal COMMAND is produced by the controller 1. Meanwhile, the signal SCLK for allowing the controller 1 to fetch the status signal STATUS is produced by the controller 1. Which one of the controller 1 and the printer 2 is to produce the signal SCLK is determined in accordance with the command signal COMMAND. The details of this determination procedures will be described later. However, either one of the controller 1 and the printer 2 alone can produce the signal SCLK for the two purposes, and the procedures of this determination can be omitted. As shown in FIG. 5G, the signal SCLK is produced in the form of 8 pulses after the true state of the command busy signal CBSY or the status busy signal SBSY is confirmed. The controller 1 or the printer 1 produces the command signal COMMAND or the status signal STATUS at the timing of the trailing edge of the signal SCLK and fetches the produced signal at the leading edge thereof. Of the signals described above, those which are produced by the I/O ports 118 and 205 are basic control signals for performing the basic operations for image recording.

FIG. 6A shows the circuit for transmitting the signals CBSY, PRNT and VSYNC. FIG. 6B shows the circuit for transmitting the signals RDY, VSREQ and SBSY. FIG. 6C shows the circuit for transmitting the signal CPRDY. FIG. 6D shows the circuit for transmitting the signal PPRDY. FIG. 6E shows the circuit for transmitting the signals SC and SCLK. The circuits shown in FIGS. 6A to 6E include output driver ICs (integrated circuits, e.g., SN7438 or equivalents) 501, 519 and 535 at the side of the controller 1; input buffer ICs (e.g., SN74LS14 or equivalents) 510, 527 and 541 at the side of the controller 1; output driver ICs (e.g., SN7438 or equivalents) 518, 534, and 543 at the side of the printer 2; and input buffer ICs (e.g., SN74LS14 or equivalents) 509, 526 and 548 at the side of the printer 2. Pull-up resistors 502, 505, 514, 517, 520, 533, 538 and 544 are included for guaranteeing the high level. Pull-down resistors 506, 513, 523, 530, 542 and 545 are included for impedance matching and low level guarantee. Paired resistors and capacitors 507 and 508, 511 and 512, 524 and 525, 528 and 529, 539 and 540, and 546 and 547, respectively, constitute noise removal CR circuits.

FIGS. 6F and 6G show examples of the circuit for transmitting the signal VD0. FIGS. 6H and 6I show examples of the circuit for transmitting the signal BD. The system of the present invention uses the circuit shown in FIG. 6F or 6H and that shown in FIG. 6G or 6I. The circuits shown in FIGS. 6F to 6I include line driver ICs (e.g., SN75113 or equivalents) 549 and 568; line receiver ICs (e.g., SN75115 or equivalents) 553 and 560; output driver ICs (e.g., F240 or equivalents); and input buffer ICs (e.g., F240 or equivalents) 559 and 569. Resistors 552 and 565 are included for removing noise. Pull-up resistors 557 and 570 are for guaranteeing the high level. Pull-down resistors 558 and 571 are for impedance matching and low level guarantee. Paired resistors and capacitors 561 and 562, and 563 and 564 are for removing the noise. A power source voltage Vcc is, for example, 5 V.

FIG. 7 shows an example of a connector for connecting the signal lines 301 to 312. Note that a connector 600 is connected at the position indicated by the broken lines in FIGS. 6A to 6I. The connector 600 may comprise a 37-pin D-SUB connector. Table 2 below shows the pin arrangement of this connector.

Tables 3-1 and 3- 2 below shows examples of the command signal COMMAND (to be referred to as a command hereinafter) which are transmitted through the SC signal line 307. Tables 4A to 4K show examples of the status signal STATUS (to be referred to as a status hereinafter) which are transmitted through the SC signal line 307.

The status or command shown in Table 4 or Tables 3-1, 3-2, respectively, comprises 8 bits and is transmitted onto the SC signal line 307 from its MSB (bit 7). The LSB (bit 0) is a parity bit in either of the status or command. A parity in this case is an odd parity. The command is coded from the MSB to bit 1 excluding the parity bit. The command can be a status request command for requesting the printer status data (error, paper size, etc.) to the printer 2 or a command for requesting execution of the operation of the printer 2.

Upon reception of one of status request commands SR0 to SR9, the printer 2 sends back the corresponding status (statuses 0 to 9) to the controller 1. Upon reception of one of the execution commands EC0 to EC14, the printer 2 executes the operation corresponding to the received command and sends back the status 0 (overall status) to the controller 1. When an error is caused in the received command at the printer 2 (e.g., when the parity error is caused or 8 pulses of the busy signal CBSY are not received during the true duration of the sync signal SCLK), the printer 2 sends back the parity error status to the controller 1. When there is no processing corresponding to the input command, the printer 2 sends back the command error status to the controller 1.

The commands shown in Tables 3-1 and 3-2 above will first be described. In the code column of Tables 3-1 and 3-2 , the codes of the commands are indicated in the hexadecimal notation including the parity bit. The column of status request/execution indicates whether the corresponding command is a status request command or an execution command. The column of function indicates the function of each command. The column of the corresponding status indicates the contents (Table 4) of the status which is supplied from the printer 2 to the controller 1 when the command is received by the printer 2 without any error. The status request commands SR0 to SR9 are for requesting the statuses corresponding to the respective commands to the printer 2.

The execution commands EC0 and EC1 are commands which indicate which one of the controller 1 and the printer 2 is to produce the serial clock signal SCLK for the status signal. These commands must be produced first when the power of the printer 2 is turned on. However, these commands can be omitted and the printer 2 can always produce the signal SCLK. When the status signal STATUS is supplied to the controller 1 and the signal SCLK is not produced from the designated side, the controller 1 retransmits either the command EC0 or EC1. The command EC0 indicates the mode wherein the signal SCLK is produced by the controller 1 and the command EC1 indicates the mode wherein the signal SCLK is produced by the printer 2.

Commands EC2 and EC3 are for instructing or releasing the pause mode of the printer 2. Commands EC4 and EC5 are related to rotation of the drum 214 of the printer 2 (FIG. 3). Note that the command EC4 instructs start of drum rotation. Upon reception of the command EC4, the printer 2 starts the initial rotation of the drum 214 if the drum 214 has been stopped, and performs the initial processing for the printing operation (image recording). However, if the drum 214 is being rotated at the time when the command EC4 is received, the printer 2 continues to rotate the drum 214. Commands EC12 and EC13 are for instructing the start of drum rotation in the case of the interrupt. The printer 2 also performs a special operation during the interrupt in accordance with the type of command received. For example, the printer 2 also performs control of the sorter (not shown) connected to the printer 2, or the like.

Command EC5 is a command for instructing stop of the drum rotation. Upon reception of the command EC5, the printer 2 performs the postprocessing of the image recording and stops the drum 214. However, if the printer is in the printing process (image recording) when the command EC5 is received, the printer performs the instructed operation after such image recording is completed. Commands EC6, EC7, EC8 and EC9 are for instructing the method of paper feed for the printer 2. When one of these commands EC6, EC7, EC8 and EC9 is received, the printer 2 continues to feed the recording paper sheets in accordance with the method corresponding to the received command until the next command is received. Commands EC10 and EC11 are for instructing the power saving mode. The printer 2 operates in the power saving mode upon reception of the command EC10, and releases the power saving mode upon reception of the command EC11. Command EC14 is for releasing the retransmission request of the command data from the printer 2.

The statuses shown in Tables 4(A) to 4(K) will now be described.

Each of statuses shown in Tables 4(A) to 4(K) consists of 8 bits, and its LSB (bit 0) is an odd parity bit. Each bit is "1" when the corresponding phenomenon (right column) is occurring and is "0" when such phenomenon is not occurring.

Table 4(A) shows a command error status When a command error occurs, bit 7 is "1" and bit 6 is "0". When a parity error occurs, bit 7 is "1" and bit 6 is also "1". When this status is generated, the controller 1 must produce the command again.

Table 4(B) shows a status 0 (overall status). The status indicates the overall status of the printer 2 and is returned to the controller 1 from the printer 2 when the controller 1 produces the status 0 request command SR0 or one of the execution commands EC0 to EC14. Bit 7 is "0". Bit 6 indicates a print request. Bit 6 is "1" when the paper feed can be performed by the signal PRNT. Bit 6 is "0" after the signal PRNT is received or when the paper feed cannot be performed upon reception of the signal PRNT. Bit 5 indicates that the paper feed is being performed. Bit 5 is "1" when there is a paper sheet being fed in the printer 2 and is "0" when all the paper sheets have been discharged onto a tray (not shown). When a jam or misprint occurs, but 5 goes to "0" and at this timing the retransmission request number due to an error is determined. Bit 4 is "1" when a misprint is caused during the printing operation. Details of the misprint are indicated by a status 3 (misprint status). Bit 3 is "1" when the printer 2 is in the wait mode due to a low temperature of the fixing unit and is "0" when the wait mode is released. Bit 2 indicates that the printer 2 is in the pause mode and the details of the pause mode are indicated by a status 9 to be described later. Bit 1 indicates occurrence of an operator call error or a serviceman call error which is indicated by the status 1 and status 2, respectively. Details of such an error are indicated in the status 1 or status 2 to be described later.

Table 4(C) shows the status 1 (operator call error status). Table 4(D) indicates the status 2 (serviceman call error status). In either of the statuses 1 and 2, a bit corresponding to an error which has been caused is "1" and is "0" when such an error is released. Table 4(E) shows a status 3 (misprint status). The status 3 indicates the details of a misprint.

Table 4(F) shows a status 4 (retransmission request number status). The status 4 indicates, in a binary number of bits 1 to 6, the number of images requested to be retransmitted due to a jam or a misprint. Tables 4(G) and 4(H) show statuses to indicate the paper size of the upper and lower cassettes, respectively, of the printer 2. More specifically, Table 4(G) shows a status 5 (lower cassette paper size status) while Table 4(H) shows a status 6 (upper cassette paper size status). In either of statuses 5 and 6, the paper size is indicated by 6 bits 1 to 6. Table 5 below shows the correspondence between the codes and the corresponding paper sizes. The codes in Table 5 show 6-bit binary numbers in the hexadecimal notation.

Table 4(I) shows a status 7 (application status). The status 7 indicates connection or disconnection of application equipment such as a sorter with the printer 2. Table 4(J) shows a status 8 (sorter error detail status) which indicates details of a sorter error. Table 4(K) shows a status 9 (pause detail status) which indicates the details of the pause mode.

FIGS. 8 and 9 show examples of flow charts for executing the communication control of the respective signals described above. The flow charts include steps STP801 to STP811 and STP901 to STP918, respectively.

The flow chart shown in FIG. 8 shows the control sequence of a program stored in the ROM 114 at the side of the controller 1. The flow chart shown in FIG. 9, beginning in FIG. 9A and continuing in FIG. 9B, shows the control sequence of a program stored in the ROM 203 at the side of the printer 2. These flow charts will now be described with reference to these figures.

When the printer (image recorder) 2 is operating normally (STP901), the ready signal RDYis true (STP902). When a copy key is on at the controller (image reader, reader) 1 (STP801 and STP802), the drum start command EC4 is produced by the controller 1 (STP803). When the drum start command EC4 is received (STP904), the printer 2 starts initial rotation (STP905). When the printer 2 completes the initial rotation and the paper feed can be performed (STP906), a print request is produced by a signal STATUS of status 0 (STP907).

When the signal STATUS indicating the print request is true (STP804 and STP805), the controller 1 renders the print signal PRNT true (STP806). Then, the printer 2 starts paper feeding (STP908 and STP909). When the printer 2 starts paper feeding and the paper sheet reaches a given position (STP910) and the image signal VD0 can now be received, the printer 2 renders the request signal VSREQ true (STP911) and temporarily stops the paper feeding operation (paper conveying operation) (STP912). This temporary stop of the paper feeding operation is performed so as to perform restart of recording in STP914 at a proper timing on the recording paper sheet by the signal VSYNC in accordance with the image signal VD0.

The horizontal sync signal BD is periodically produced from the printer 2. After the reception of the request signal VSREQ, the controller 1 starts image reading in synchronism with the horizontal sync signal BD (STP807 and STP808). In other words, prior to the image reading, the controller 1 transmits the vertical sync signal VSYNC in response to the request signal VSREQ. Thereafter, the controller 1 periodically produces the image signal VD0 in synchronism with the horizontal sync signal BD (STP809; FIGS. 5C to 5F).

When the vertical sync signal VSYNC is received (STP913), the printer 2 restarts the paper feeding operation and thereafter performs image recording on the recording paper sheet in accordance with the image signal VD0 (STP914). When the image recording on the recording paper sheet (printing paper sheet) is performed in this manner and the paper sheet is discharged (STP915), the printer 2 renders false the signal STATUS of status 0 indicating the paper feeding operation of the paper sheet and signals to the controller 1 the end of sheet discharging (STP916).

Upon reception of the signal indicating the end of paper discharging (STP810), the controller 1 sends a signal COMMAND (drum stop command EC5) (STP811). Upon reception of this signal, the printer 2 stops operating (STP917 and STP918). For the sake of easy understanding, the transmission/reception of various signals is shown in the order according to which it occurs.

In the embodiment described above, since the control response data (command and status data) of image data comprises a serial signal consisting of a plurality of bits, the number of signal lines can be reduced. In addition to this, the system of the present invention can be applied generally and allows connection by the same connection method of image data transmitters (controllers) and image data receivers (printers) of different types. In the embodiment described above, since the image data transmission is performed in accordance with a predetermined control sequence using a serial bit signal, high-quality image data communication can be performed with a simple configuration and control sequence. Furthermore, since the above embodiment uses a separate transmission line for image data, high-speed image data transmission can be performed.

In the embodiment described above, the image data transmitter was an image reader and the image data receiver was an image recorder. However, the present invention is not limited to this. For example, the image data transmitter can be various types of input devices such as a pattern reader or an image data storage device, e.g., a word processor, a computer, or a magnetic disc. The image data receiver can be various types of input devices such as printers, e.g., an ink jet printer or electronic storage devices, e.g., a CRT display or a floppy disc. The system of the present invention can be applied to image data communication between such input and output devices. In the embodiment described above, the status/command signal is a serial 8-bit signal. However, the present invention is not limited to this. The status/command signal can have a different bit configuration. According to the present invention, the control data and the like are coded and the coded data are transmitted. Therefore, the configuration of the transmission line, connector and the like can be simplified to allow standardization of connection between the input and output devices.

Since the control/response data is coded in accordance with the present invention, connection of various types of devices can be performed if the codes are standardized.

For example, when a thermal transfer-type recording apparatus is used in place of a recording apparatus which uses a laser, as shown in FIG. 3, as an image recording apparatus, easy connection with the image transmitter can be performed by simply adding some other types of command and status shown in Tables 3 and 4. In this case, the command error status and the like shown in Table 4(A) can be commonly used. Of the signal lines shown in FIG. 4, those which are not required are not used.

As has been described above, according to the present invention, control data for controlling image output and response data responding to such control data are transmitted/received in accordance with a predetermined control sequence by means of a serial signal having a predetermined bit configuration. Accordingly, the present invention provides a general-purpose image data communication control system which allows connection of various types of devices by the same connection method.

The present invention is not limited to the particular embodiment described above, and various changes and modifications may be made within the spirit and scope of the present invention.

Claims (24)

wherein said receiving means has image forming means for forming an image on a recording medium in accordance with the outputted image data,

wherein said image data output means has first transmission means for outputting coded command data to said receiving means, the coded command data indicating a command to said image forming means and being transmitted to said receiving means in accordance with first clock pulses, said first clock pulses being used by said receiving means to fetch the command data,

wherein said receiving means has second transmission means for transmitting coded status data corresponding to the coded command data to said image data output means, the coded status data indicating a status of said image forming means and being transmitted to said image data output means in accordance with second clock pulses, said second clock pulses being used by the image data output means to fetch the status data,

wherein said system has a first mode in which said first transmission means produces the second clock pulses and a second mode in which said second transmission means produces the second clock pulses, and

wherein said image data communication control system is operative in either said first mode or said second mode.

2. A system according to claim 1, wherein the coded command data is serially transmitted to said receiving means in response to the first clock pulses and wherein the coded status data is serially transmitted to said image data output means in response to the second clock pulses.

3. A system according to claim 1, wherein said second transmission means receives the coded command data from said first transmission means and thereupon serially transmits the coded status data corresponding to the received coded command data to said image data output means.

4. A system according to claim 1, wherein said receiving means has image sync signal generating means for determining an output timing of the image data from said image data output means.

5. A system according to claim 2, wherein said first transmission means transmits, prior to transmission of the coded command data, a first instruction signal for allowing reception of the coded command data, into said receiving means.

6. A system according to claim 5, wherein said second transmission means transmits, prior to transmission of the coded status data, a second instruction signal for allowing reception of the coded status data, into said image data output means.

7. A system according to claim 5, wherein said receiving means monitors whether a predetermined number of serial clock pulses have been inputted during transmission of the control data enable signal.

8. A system according to claim 6, wherein said outputting means monitors whether a predetermined number of serial clock pulses have been inputted during transmission of the response data enable signal.

9. A system according to claim 1, wherein said first transmission means produces the first clock pulses for transmission of the coded command data to said receiving means, wherein said system has a first line for transmitting only the image data and a second line used in common for bidirectional transmission of the first clock pulses and the second clock pulses, and wherein the first clock pulses and second clock pulses are transmitted through said second line.

10. A system according to claim 9, wherein the coded command data and the coded status data are transmitted through a third line, which is used in common for such transmission.

11. A system according to claim 1, wherein said image data output means has reading means for reading an original sheet to output image data.

12. A system according to claim 1, wherein the first mode or the second mode is selected on the basis of the coded command data.

13. A system according to claim 1, wherein when an error occurs during image forming operation by said image forming means, said second transmission means is capable of transmitting to said image data output means information associated with the error as coded status data.

14. A system according to claim 13, wherein said information associated with the error includes the number of pages of image data to be re-sent.

wherein said receiving means has image reproducing means for reproducing an image in accordance with the output image data,

wherein said image data output means has first transmission means for outputting coded command data to said receiving means, the outputted coded command data indicating a command to said image reproducing means and being transmitted to said receiving means in accordance with first clock pulses, said first clock pulses being used by said receiving means to fetch the command data,

wherein said receiving means has second transmission means for transmitting coded status data corresponding to the coded command data to said image data output means, the coded status data indicating a status of said image reproducing means and being transmitted to said image data output means in accordance with second clock pulses, said second clock pulses being used by the image data output means to fetch the status data,

wherein said system includes a first line for transmitting the image data and a second line used in common for bidirectional transmission of the coded command data and the coded status data,

wherein said system has a first mode in which said first transmission means produces the second clock pulses and a second mode in which said second transmission means produces the second clock pulses, and

wherein said image data communication control system is operative in either said first mode or said second mode.

16. A system according to claim 15, wherein said first transmission means produces a predetermined number of the first clock pulses for transmission of the coded command data to said receiving means, in relation to the one coded command data, and wherein the coded command data is serially transmitted to said receiving means in response to the predetermined number of first clock pulses.

17. A system according to claim 16, wherein said second transmission means produces a predetermined number of the second clock pulses, independent from the first clock pulses, for transmission of the coded status data to said image data output means, in relation to the one coded status data, and wherein the coded status data is serially transmitted to said image data output means in response to the predetermined number of second clock pulses.

18. A system according to claim 15, wherein the first mode or the second mode is selected on the basis of the coded command data.

19. A system according to claim 15, wherein said image data output means has reading means for reading an original sheet to output image data.

20. A system according to claim 19 wherein said, image reproducing means reproduces an image on a recording medium in accordance with the outputted image data.

21. A system according to claim 1, wherein the coded command data includes a signal representing an operational instruction to said image forming means, and said coded status data includes a signal representing a state of said image forming means.

22. A system according to claim 20, wherein the coded command data includes a signal representing an operational instruction to said image reproducing means, and said coded status data includes a signal representing a state of said image reproducing means.

23. A system according to claim 15, wherein said first transmission means transmits, prior to transmission of the coded command data, a first instruction signal for allowing reception of the coded command data, into said receiving means, and wherein said second transmission means transmits, prior to transmission of the coded status data, a second instruction signal for allowing reception of the coded status data, into said image data output means.

24. A system according to claim 15, wherein said system has a third line used in common for bidirectional transmission of the first clock pulses and the second clock pulses.