Output apparatus having automatic selection of data reception means

Abstract: A data output apparatus is equipped with a wireless data receiving unit, for wireless data reception from an external equipment, and a cable data receiving unit for data reception, through a cable, from the external equipment, and is capable of automatically selecting the data received by the cable data receiving unit when a cable is connected thereto, thereby dispensing with the trouble of switching the receiving units and connecting or disconnecting the cable.

Description: The present invention relates to an output method for dot data, enabling transmission and reception of data by cable or wireless, and an apparatus therefor. There has been developed a printer capable of data printing by receiving the printing data by a cable or by wireless from a host computer. In such a printer, a wireless transmission/reception unit is constructed detachably from the main body of the printer, and is connected in front of a unit for transmission/reception by a cable. When said printer receives the printing data from the host computer through the cable transmission/reception unit, said wireless transmission/reception unit is detached from the main body, and the cable transmission/reception unit is directly connected to an interface cable from the host computer. Such prior technology has been associated with the following drawbacks: (1) At the switching from the cable transmission mode to the wireless transmission mode, the wireless transmission/reception unit has to be mounted on the main body, and in such a mounted state, the cable transmission/reception by direct cable connection of the host computer and the cable transmission/reception unit is inhibited. (2) Also when the wireless transmission/reception unit is detached and the interface cable is not connected to the cable transmission/reception unit, the printing data cannot be received from the host computer. Consequently, when the wireless reception of the printing data cannot be conducted for example due to an unfavorable air condition, it has been necessary to detach the wireless transmission/reception unit from the main body and to connect the interface cable for cable transmission. Also when the wireless reception becomes possible due to a favorable air condition, it has been necessary to connect the wireless transmission/reception unit on the main body. Document WO 87/04280 discloses a method of and system for price marking. The function of the above system is to charge a price memory from a master unit via either a wireless connection or a cable connection and to print the price via a printing unit on a medium. Document EP 0 389 261 A2 discloses a compact-type device for reproducing data, such as an electronic pocket book, an electronic dictionary and the like. The data to be reproduced are stored on an optical recording medium. Such a device is e.g. connected to a printer via a cable. Data to be displayed may be received via an aerial or from a data bank through a modem and the like. Document EP 0 356 104 discloses a letter data control system. A letter output control device stores letter data for transmission to output devices such as printers. The data are converted to be printed as dot data. In consideration of the foregoing, it is an object of the present invention to provide an improved output method for printing print data, and to provide a corresponding apparatus. This object is achieved, for example, by an output apparatus according to independent claim 1. Furthermore, this object is achieved by an output method according to independent claim 13. Advantageous further developments of the present invention are as set out in the respective dependent claims. Preferred embodiments of the present invention are described herein below in detail by way of example with reference to the accompanying drawings, in which: Fig. 1 is a partial block diagram of a printer control unit of a laser beam printer, constituting an embodiment of the present invention; Fig. 2 is a cross-sectional view of a laser beam printer constituting an embodiment of the present invention; Fig. 3 is a block diagram of a cable transmission/reception unit of the laser beam printer of said embodiment; Fig. 4 is a view showing the circuit configuration when a cable is connected to the cable transmission/reception unit of the laser beam printer of said embodiment; Fig. 5 is a view showing the circuit configuration when a cable is connected to the cable transmission/reception unit of another embodiment of the present invention; Fig. 6 is a timing chart showing signal exchange between the laser beam printer of said embodiment and a host computer; and Fig. 7 is a flow chart showing the control sequence of a main control unit of the printer control unit of the laser beam printer constituting an embodiment of the present invention. Now the present invention will be clarified in detail by preferred embodiments thereof shown in the attached drawings. Fig. 2 is a cross-sectional view showing the internal structure of an ordinary laser beam printer (LBP), in which character patterns and fixed form data can be registered from an unrepresented data source, such as a host computer. The LBP 100 can receive and memorize character information (character codes), form information and macro instructions for example from an externally connected host computer, generate character patterns and form patterns according to these information, and form an image on a recording sheet. There are also provided an operation panel 300 including switches, LED's etc. for operation, and a printer control unit 101 for controlling the entire printer 100 and analyzing the character information etc. supplied from the host computer. Said printer control unit 101 principally converts the character information into a video signal of corresponding character patterns, for supply to a laser driver 102. The laser driver on-off drives a semiconductor laser 103 according to the entered video signal. The laser beam is laterally deflected and scans an electrostatic drum 106, thereby forming an electrostatic latent image of character patterns, which is developed by a developing unit 107 provided around the drum 106, and is transferred onto a recording sheet. Said recording sheets, in cut form, are contained in a cassette loaded in the LBP 100, fed in succession by a feed roller 109 and transport rollers 110, 111 and supplied to the electrostatic drum 106. Fig. 1 is a partial block diagram of a printer control unit 101 of the LBP 100 of the present embodiment. There are provided a cable transmission/reception unit 11 for receiving printing data from an unrepresented host computer or the like through an interface cable; a wireless transmission/reception unit 12 for wireless reception of the printing data from said host computer or the like; input buffers 13, 14 for storing the printing data respectively entered from Lhe cable transmission/reception unit 11 and the wireless transmission/reception unit 12; an input selector 15 for selecting the cable reception data from the input buffer 13 or the wireless reception data from the input buffer 14 for supply to a page memory 16, respectively when a signal 124 from an AND gate 22 is at the high-level state or at the low-level state; a page memory 16 for storing the printing data in the unit of a page; and a bit map memory 17 for storing bit-developed image data, obtained from character codes stored in the page memory 16 by referring to a character font memory 19. A control unit 18, for controlling the entire printer control unit 101, controls the processing of printing data including the aforementioned character codes, form information and macro instructions, and also control the printing process. A character font memory 19 memorizes character patterns in bit map data format, corresponding to character codes. A scan buffer 20 is composed of two buffers 201, 202 constituting so-called double buffer, in which data from the bit map memory 17 are stored in a buffer while the other releases data. A parallel-serial converter 21 converts the parallel data, read from the scan buffer 20, into serial data, which are utilized for driving a semiconductor laser 103. Fig. 3 is a detailed circuit diagram of the cable transmission/reception unit 11 in the LBP 100 of the present embodiment. In Fig. 3 there are provided input buffers 205, 206; a latch circuit 208 for latching the printing buffer; an inverter circuit 209; and an output buffer 207. Fig. 3 shows a state in which the cable transmission/reception unit 11 is not connected to the unrepresented host computer through the interface cable. In this state, the input of the inverter circuit 209 is pulled up to a high level state by a pull-up resistor 210, whereby said inverter circuit 209 provides a low-level output signal 130. Said signal 130 is supplied to the aforementioned AND gate 22, whereby the signal 124 is shifted to the low-level state and the input selector 105 selects the wireless reception data from the input buffer 14. Thus, when the printing data are transmitted by wireless transmission from the unrepresented host computer, said data are supplied through the input buffer 14 and stored in the page memory 16. When the printing data of a page are stored in the page memory 16, the main control unit 18 reads said printing data from the page memory 16, then obtains dot pattern data by referring to the character font memory 19 and develops the obtained data in the bit map memory 17. When the printing data of a page are developed in the bit map memory 17, the main control unit 18 sends a printing start signal 121 to a printing mechanism shown in Fig. 2. Said printing mechanism is of so-called raster scanning type, such as a laser beam printer, and releases a horizontal synchronization (BD) signal 122 and a vertical synchronization signal 123 when the printing operation is enabled. The main control unit 18 controls the data write-in and read-out in and from the scan buffer 21 in synchronization with said signals 122, 123. Said scan buffer 21 is composed of buffers 201, 202 of a respective capacity corresponding to dot patterns of a scanning line, functioning so-called double buffers in which printing data are read from one of the buffers and are sent to the printing mechanism while the printing data of a next line are written into the other buffer. The printing dot data, read from said scan buffer 21 are converted, by the parallel-serial converter 21, into serial data and supplied to the printing mechanism. Fig. 4 shows a state in which the cable transmission/reception unit 11 is connected to the interface cable of the host computer, wherein same components and signals as those in Fig. 3 are represented by same numbers. In Fig. 4 there are shown an output interface 501 of the host computer, with output buffers 502, 503 and an input buffer 504, and an interface cable 505. As will be apparent from Fig. 4, when the interface cable 505 is connected, a signal line 224 is shortcircuited with a ground line GND in the cable 505, whereby the output signal 130 of the inverter 209 assumes a high-level state. Therefore, at the data input, when the main control unit 18 shifts the signal line 129 to the high-level state, the AND gate 22 releases a high-level output and the input selector 15 selects the data from the input buffer 13 for supply to the page memory 16. Thus, when the interface cable with the host computer is connected to the cable transmission/reception, unit 11, the printing data received through said unit 11 are automatically selected and printed. Fig. 5 is a block diagram showing a modification of this embodiment, wherein same components as those in Fig. 4 are represented by same numbers and will not be explained further. In this case, instead of short-circuiting to the ground line GND in the interface cable 505, there is utilized one of the ground lines in said cable 505. Such method is possible because the interface cable usually contains plural ground lines. This method provides an advantage that the cable 505 need not be a special cable as shown in Fig. 4. Also the cable/wireless reception may be switched, when the interface cable is connected, in such a manner that the reception mode is switched to the cable mode when the wireless received data contain an error. Fig. 6 is a timing chart showing the timing of reception of printing data in the LBP 100 of the present embodiment. The printing data 222 are sent from the host computer, in synchronization with a strobe signal 221. Said printing data 222 are latched by the latch circuit 208 of the cable transmission/reception unit 11 at the upshift edge of said strobe signal 221, and are subsequently supplied as printing data 126 to the input buffer 13. Upon completion of the storage of the entered printing data 126, said input buffer 13 sends back a pulse signal 125 to the cable transmission/reception unit 11. Said pulse signal 125 is forwarded as a ready signal 223 from said cable transmission/reception unit 11 to the host computer, which, in response, identifies that the next data transfer is enabled and sends the next data to the cable transmission/reception unit 11. If the input buffer 13 is incapable of storing the data transferred from the cable transmission/reception unit 11 for example because the input buffer 13 is full, the pulse signal 125 is not returned to the cable transmission/reception unit 11. Thus the ready signal 223 is not sent from the cable transmission/reception unit 11 to the host computer, which therefore enters a stand-by state for releasing the next data. When the wireless transmission/reception unit 12 is selected for example by an instruction from the operation panel 300, the main control unit 18 shifts the signal 129 to the low level state, whereby the output of the AND gate 22 is shifted to the low level and the input selector 15 selects the output of the input buffer 14 for supply to the page memory 16. Also when the operation panel 300 instructs an automatic selection mode, the main control unit 18 selects either of the input buffers 13, 14 that has at first stored the printing data of a page, based on signals 130, 131 from said input buffers 13, 14. Fig. 7 is a flow chart showing the above-explained control sequence of the main control unit 18, and a corresponding control program is stored in a program memory of the main control unit. At first a step S1 discriminates whether the wireless reception is selected by the operation panel 300, and, in case of the wireless reception, the sequence proceeds to a step S5 for releasing a low-level signal on the signal line 129. On the other hand, in case the wireless reception is not selected, the sequence proceeds to a step S2 for discriminating whether the automatic selection mode has been selected. In case of the automatic selection mode, the sequence proceeds to a step S3 which selects either of the input buffers 13, 14, that has at first received and stored the printing data of a page. If a next step S4 identifies that the wireless received data in the input buffer 14 has reached one-page amount at first, the sequence proceeds to the step S5 to release a low-level signal on the signal line 129 for selecting the wireless received data, whereby the input selector 15 selects the data of the input buffer 14. On the other hand, if the step S4 identifies that the wireless reception is not selected or if the cable reception is selected, the sequence proceeds to a step S6 for releasing a high-level signal to the signal line 129. Thus, when the interface cable 505 is connected to the cable transmission/reception unit 11, a high-level signal is released to the signal line 130, whereby the input selector 15 selects the data of the input buffer 13 for storage in the page memory 16. A next step S7 discriminates whether the page memory 16 has become full with the printing data of a page, and, when it has been full, a next step S8 develops said printing data into bit map data by referring to the character font memory 19, and stores thus developed data in the bit map memory 117. A next step S9 sends a print start signal 121 to the printing mechanism, and awaits the entry of a horizontal synchronization signal 122 therefrom. In response to the entry of said horizontal synchronization signal 123, a step S10 sends bit data of a line to the scan buffer 20 in synchronization with said signal. Then a step S11 discriminates whether the printing of a page has been completed, and, if not, the sequence returns to the step S9 for repeating the above-explained procedure. Said step S10 effects control in such a manner as to store the data of a next line in the buffer 202 while data are released from the buffer 201 as mentioned before, and to switch the data releasing buffer at every entry of the horizontal synchronization signal 122. The present embodiment has been explained by a configuration employing a laser beam printer, but the present invention is not limited to such configuration and is applicable to any equipment that can effect wireless or cable exchange of data with an external equipment, such as a printer of other types, a display apparatus, a memory apparatus or a communication apparatus. Also the present invention may be applied to a system consisting of plural equipment or to an apparatus consisting of a single equipment. Furthermore, the present invention is naturally applicable to a case in which the present invention is achieved by providing a system or an apparatus with a program attaining the present invention. As explained in the foregoing, the present invention provides an advantage of instructing the data transmission/reception by wireless or cable in a simple manner. Also the present invention can reduce the trouble of interface switching, since the cable data reception is automatically selected when the interface cable is connected. Also the main control unit 18 may execute a control program, stored therein, for control the display in order to display, by characters for symbols on the operation panel 300, whether the cable transmission/reception unit or the wireless transmission/reception unit is currently selected. As explained in the foregoing, the present invention allows to use a wireless transmission/reception unit and a cable transmission/reception unit, and to automatically determine the unit to be used for data reception, according to whether the cable is connected to the cable reception unit. Also according to another aspect of the present invention, the cable or wireless reception may be arbitrarily selected when the cable is connected.

Claims: An output apparatus comprising: wireless data reception means (12) for wireless reception of print data from an external apparatus; cable data reception means (11) for reception of print data through a cable from an external apparatus; characterized by selection means (15) for selecting on the basis of a selection condition whether to print an image based on the print data received by said wireless data reception means or the print data received by said cable data reception means. An output apparatus according to claim 1, further comprising input means (300) for inputting the selection condition. An output apparatus according to claim 1, wherein on the basis of the selection condition to select the print data received by said cable data reception means if a cable is connected, said selection means selects the print data received by said cable data reception means. An output apparatus according to claim 1, wherein on the basis of the selection condition to forcedly select the print data received by said wireless data reception means, said selection means selects the print data received by said wireless data reception means. An output apparatus according to claim 1, wherein on the basis of the selection condition to select the print data received by one of said wireless data reception means and said cable data reception means which was employed in the previous reception, said selection means selects the print data received by one of said wireless data reception means and said cable data reception means. An output apparatus according to claim 1, wherein said output apparatus is a printing apparatus. An output apparatus according to claim 1, further comprising output means (18) for generating and outputting a dot pattern based on the received print data. An output apparatus according to claim 1, wherein said output apparatus is a laser beam printer (100). An output apparatus according to claim 1, further comprising: first memory means (13) for storing the print data received by said cable data reception means (11); second memory means (14) for storing the print data received by said wireless data reception means (12), wherein said selection means (15) is adapted to select the print data stored in said second memory means if said second memory means stores a predetermined amount of the received print data before said first memory means stores the predetermined amount of the received print data, and to select the print data stored in said first memory means if said first memory means stores a predetermined amount of the received print data before said second memory means stores the predetermined amount of the received print data. An output apparatus according to claim 9, wherein the predetermined amount of the received print data is one page of print data. An output apparatus according to claim 9, further comprising generating means (18) for generating image data based on the print data stored in one of said first and second memory means selected by said selecting means and a printing unit for outputting said image data. An output apparatus according to claim 9, wherein said output apparatus is a laser beam printer (100). An output method comprising the steps of: receiving print data from an external apparatus via wireless data reception means (12); receiving print data through a cable from an external apparatus via cable data reception means (11), characterized by the step of selecting on the basis of a selection condition whether to print an image based on the print data received by said wireless data reception means (12) or the print data received by said cable data reception means (11). An output method according to claim 13, wherein on the basis of the selection condition to select the print data received by said cable data reception means if a cable is connected, said selecting step selects the print data received by said cable data reception means. An output method according to claim 13, wherein on the basis of the selection condition to forcedly select the print data received by said wireless data reception means, said selecting step selects the print data received by said wireless data reception means. An output method according to claim 13, wherein on the basis of the selection condition to select the print data received by one of said wireless data reception means and said cable data reception means which was employed in the previous reception, said selecting step selects the print data received by one of said wireless data reception means and said cable data reception means. An output method according to claim 13, wherein a printing apparatus is used for outputting. An output method according to claim 13, further comprising an output step for generating and outputting a dot pattern based on the received print data. An output method according to claim 13, wherein said output step is performed by means of a laser beam printer. An output method according to claim 13, further comprising the steps of: storing the print data received by said cable data reception means in first memory means (13); storing the print data received by said wireless data reception means in second memory means (14), wherein in said selecting step the print data stored in said second memory means is selected if said second memory means stores a predetermined amount of the received print data before said first memory means stores the predetermined amount of the received print data, and the print data stored in said first memory means is selected if said first memory means stores a predetermined amount of the received print data before said second memory means stores the predetermined amount of the received print data. An output method according to claim 20, further comprising the step of: generating image data based on the print data stored in one of said first and second memory means selected in said selecting step.

Inventors: UEDA SHIGERU, UEDA, SHIGERU, UEDA, SHIGERU, C/O CANON KABUSHIKI KAISHA
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1993
Main classification: G06F3
IPC codes: G06F3, G06F13