ELECTRONIC TYPEWRITER EQUIPPED WITH A PERSONAL COMPUTER

Abstract: An electronic typewriter equipped with a personal computer has a first processing unit (1) including a hard­ ware (101, 102, 103) capable of receiving a software such as a word processor for serving as a personal computer, a second processing unit (2) including a hardware (201, 202, 203) capable of receiving a software of an electronic typewriter, and a keyboard (302). A selection switch (10, 301) is provided for selecting between a personal computer mode and a typewriter mode.

Description: The present invention relates to an electronic typewriter, equipped with a computer functioning as a word processor or data processing system, and a keyboard for use both in a typewriter mode and a computer mode, and more particularly, to a typewriter which operates either in the typewriter mode or the computer mode according to the preamble of claim 1. Conventionally, when using a personal computer loaded with an application program such as a word processing program, character data inputted via a keyboard is edited, displayed on a display, and printed by a printer connected to the personal computer, thereby forming a document. On the other hand, when using an electronic typewriter, character data inputted via keys of a keyboard is printed onto a sheet at a printing portion thereof according to a system program, thereby forming a document. When typing a document using the word processor and it is required to insert sentences or words in a format different from the format presently set, the format must be changed. When it is required to type some short sentences or words immediately on a sheet, the word processor program must be ended. From EP-A-168 029, an electronic typewriter equipped with a personal computer is known which comprises a first processing unit including processing means for controlling operations of said first processing unit, storing means for storing a user application program, and display means for displaying data processed according to the user application program. Furthermore, a keyboard means, including character input keys and function keys, for inputting data is provided. When starting the known electronic typewriter, the system checks whether a floppy disc is inserted in the floppy disc drive and, if the floppy disc is inserted, it is further checked, whether a word processor application program is stored on the floppy disc. Merely if these two conditions are given, the system is switched over from the typewriter mode to the word processing mode. Accordingly, the known electronic typewriter is preset to the typewriter mode when turning on. Once the system is in the word processing mode, no switching back to the typewriter mode is possible unless the system is reset or main power is turned off and on. During this procedure, the floppy disc must be removed from the floppy disc drive since otherwise, the word processing mode is selected upon turning on the system. Accordingly, switching from the word processing mode to the typewriter mode is rather complicated and bothersome. From EP-A-200 222 a word processor capable to be used as an electronic typewriter is known. The word processor is provided with a single CPU, a keyboard means, a display means, printing means, and an image storage means for storing the image data of the display means. Upon switching over, by means of a selection switch means, from the word processor mode to the typewriter mode, the data shown at the display means are stored in the image storing means so that, upon switching back from the typewriter mode to the word processing mode, these data can be restored in order to establish the display shown immediately before switching over from the word processing mode to the typewriter mode. In the known word processor, all the data inputted through the keyboard means are fed to and processed by the sole processing unit. In each of the word processor and the typewriter mode, the CPU, i.e. the same CPU is operated. Therefore, the CPU must be switched between the operation of the word processing mode and that of the typewriter mode or vice versa. It is the object of the invention to provide an electronic typewriter equipped with a personal computer in which switching over from the typewriter mode to the computer mode and vice versa is performed quickly and comfortably for the user. According to the invention, this object is solved by an electronic typewriter provided with the features of claim 1. The features of preferred embodiments of the invention are mentioned in claims 2 to 4. According to the invention, the electronic typewriter is equipped with a second processing unit, coupled to the first processing unit through an interface means, for controlling a printer according to data transferred from the interface means. The interface means is operatively connected to the first processing unit in order to transfer data to and from the first processing unit. The selection switch means is operatively connected to both the first processing unit and the second processing unit. Both modes each causes only one of the first processing unit or the second processing unit to operate, with data inputted through the keyboard means, in accordance with the selected mode being inputted to the selected one of the first processing unit or second processing unit, exclusive of the other. Moreover, according to the invention, there is provided a distribution means, operatively connected to the keyboard means, for distributing data outputted from the keyboard means to either the first processing unit or the second processing unit according to the mode selected by the selection switch means, the data being processed by either the first processing unit or the second processing unit according to the mode selected. In the electronic typewriter according to the invention a separate processing unit for each mode is provided. Therefore, it is necessary to distribute the data inputted through the keyboard means to one of the two processing units. This is accomplished by the distribution means. The inputted data are merely fed to the selected one of the two processing units. These and other objects and features of the present invention will become clear from the following description taken in conjunction with a preferred embodiment thereof with reference to the accompanying drawings, in which: Fig. 1 is a perspective view of an electronic typewriter equipped with a personal computer according to the present invention; Fig. 2 is a block diagram of the electronic typewriter of Fig. 1, particularly showing the data flow under the personal computer mode; Fig. 3 is a block diagram which is the same as that shown in Fig. 2, but particularly showing the data flow under the typewriter mode; Fig. 4 is a block diagram of a display unit used in combination with the personal computer; Fig. 5 is a flow chart showing an operation carried out by a CPU provided for controlling the keyboard portion of the electronic typewriter equipped with the personal computer; and Fig. 6 is a flow chart showing an operation carried out by a CPU provided for controlling the typewriter portion of the electronic typewriter equipped with the personal computer. Referring to Fig. 1, a perspective view of an electronic typewriter equipped with a personal computer (hereinafter referred to as PC typewriter) according to a preferred embodiment of the present invention is shown. The PC typewriter comprises a computer portion generally indicated by a reference numeral 1, an electronic typewriter portion generally indicated by a reference numeral 2, and an alphanumeric keyboard portion 3. The computer portion 1 includes slots aligned side by side for receiving floppy disks 13 and 14 in which application programs or data to be processed by the computer are stored. The computer portion 1 further includes a display unit 4 for displaying the data to be processed and also for displaying the edited document when the PC typewriter is used as a word processor. The electronic typewriter portion 2 includes a printer equipped with a daisy-wheel type element and a correction tape for erasing erroneously printed characters, and a one-line display 5 which displays, for example, one line of the typed characters. The electronic typewriter portion 2 functions both as an editing typewriter in the electronic typewriter mode (hereinafter referred to as a typewriter mode) and a printer in the personal computer mode (hereinafter referred to as a PC mode). The keyboard portion 3, used both in the typewriter mode and the PC mode, includes arrays of alphanumeric keys 12 aligned longitudinally and horizontally, and a set of function keys 11 having various functions provided at one side thereof, and a mode selection key 10 whereby the PC mode is switched to the typewriter mode and vice versa. Some of the function keys are only used either in the PC mode or in the typewriter mode. The data produced by pressing any one of the keys 11 and 12 is transmitted either to CPU 201 or to CPU 301, depending on the mode selected by the mode selection key 10. Fig. 2 shows a block diagram of the PC typewriter together with data flow arrows under the PC mode. In the computer portion 1 in Fig. 2, there are provided a CPU 101 coupled to a ROM 103 and a RAM 102 to store system programs and various data to be used in CPU 101. The computer portion 1 further includes a buffer 104, a display interface 105, a key interface 106, a floppy disk controller 107 to control the floppy disks 13 and 14, a serial interface 108 to connect peripheral units to the computer portion 1, and a display controller 110 to control a liquid crystal display (hereinafter referred to as LCD) 4 provided with a back light panel. The RAM 102 stores an application program and processing data inputted by the keys of the keyboard 302 or the floppy disks 13 and 14. When the PC typewriter functions as a word processor, the RAM 102 stores the editing program of the word processor. In accordance with the editing program stored in RAM 102, the CPU 101 performs an editing of data inputted by the keys of the keyboard 302. The ROM 103 stores system programs and generates character patterns. The buffer 104 is a bidirectional buffer for transferring data to the printer portion 2 when the data from the computer portion 1 is needed to be printed. The display interface 105 provides the display controller 110 with data and timing signals. In response to a key depression, the key interface 106 transmits a code signal corresponding to the depressed key from the keyboard 302 to CPU 101. As shown in the typewriter portion 2 in Fig. 2, CPU 201 is connected with a ROM 202 and a RAM 203 for storing system programs and other data. The typewriter portion 2 is further provided with an interface 204 connected to the computer portion 1, a carriage controller 205, a head controller 206, and the one line display 5. The carriage controller 205 and the head controller 206 are operated under the PC mode by the commands from the computer portion 1. The carriage controller 205 controls a carriage driving circuit 210 for moving a carriage and a paper feed driving circuit 211. The paper feeding is performed by the rotation of a platen mounted on the typewriter. The head controller 206 controls a daisy-wheel driving circuit 212 for rotating the daisy-wheel type element, a printing ribbon shift driving circuit 213 for vertically shifting a printing ribbon to printing and non-printing positions, a printing ribbon feed driving circuit 214 for feeding the printing ribbon laterally, a hammer driving circuit 215 for giving a hammer impact onto the platen under an appropriately controlled pressure, a correction tape shift circuit 216 for vertically shifting a correction tape, and a correction tape feed circuit 217 for laterally feeding the correction tape. The correction tape shift circuit 216 and the correction tape feed circuit 217 are operable only under the typewriter mode. The CPU 201 operates according to the data transferred from the ROM 202 which stores system programs of the typewriter and the tables of the characters of the daisy-wheel and the positions in which the characters are printed, the RAM 203 which is used as the area of buffers of various functions such as an editing function, and the interface 204 which provides with the CPU 201 printing data and control commands transferred from the computer portion 1. Under the typewriter mode, CPU 201 produces commands to print characters on a sheet, or to erase characters printed on the sheet with a correction tape, according to the signals transmitted from the keyboard 302 through the multiplexer 304. Under the computer mode, such a correction function is not performed, and a print control is carried out by the CPU 201 according to the data transferred from the interface 204. Keyboard 302 in Fig. 2 includes a CPU 301 coupled to multiplexers 303 and 304. When the mode selection key 10 is switched to the PC mode, a signal representing the PC mode is applied to CPU 301, which then provides signals to multiplexers 303 and 304 so that the bidirectional data communication can be carried out between CPU 301 and keyboard 302. Also, when the mode selection key 10 is switched to the PC mode, CPU 301 carries out the key scan of the keyboard 302 in accordance with the program stored therein such that through multiplexer 303, CPU 301 provides the keyboard 302 with key scan signals at a very high frequency to find out if any of the keys is depressed. If one of the keys is depressed, a signal indicating the depression of that key is fed back to CPU 301 through multiplexer 304, as indicated by arrows shown in Fig. 2. Thereafter, CPU 301 produces a code signal representing the depressed key, through key interface 106, to CPU 101. On the other hand, when the mode selection key 10 is switched to the typewriter mode, a signal representing the typewriter mode is applied to CPU 301, which then provides signals to multiplexers 303 and 304 so that the bidirectional data communication can be carried out between CPU 201 and keyboard 302. Also, the signal representing the typewriter mode is transmitted from mode selection key 10, through CPU 301, to CPU 201. Accordingly, CPU 201 carries out the key scan of the keyboard 30202 in accordance with the program stored therein such that through multiplexer 303, CPU 201 provides the keyboard 302 with the key scan signals in a similar manner as described above, and a signal indicating the depression of a key is fed back to CPU 201 through multiplexer 304. It is to be noted that some keys are operable only in the PC mode, and some other keys are operable only in the typewriter mode. Furthermore, during the typewriter mode, CPU 301 provides the display controller 110 and the display interface 105 with an OFF signal. A power source circuit 100 is provided as shown in Figs. 2 and 3 to supply necessary electric power to the circuits. Referring to Fig. 4, display unit 4 comprises LCD 401 and a back light panel 402 composed of a cold cathode ray type. The LCD 401 has pixels arranged in a matrix, and each pixel becomes opaque when the driving electric potential applied between the row and column lines of the pixel becomes higher than a predetermined electric potential. Thus, the pixel illuminates by the back light panel 402. When the driving electric potential applied between the lines is lower than the predetermined electric potential, the light transmitted from the back light panel 402 permeates the LCD 401. The back light panel 402 is lighted upon receipt of an AC signal transmitted from a converter 410 which converts DC current into AC current upon application of DC power source +V when an OFF signal is not transmitted thereto. When an OFF signal is applied to the converter 410, it stops oscillating, thus an AC signal being not produced, with the result that the intensity of the back light attenuates (puts out). Thus, the back light is not allowed to permeate through the LCD 401, so that the characters displayed on the LCD 401 will be faded or can not be seen. As shown in Fig. 4, the display controller 110 is composed of shift registers 405 and 408, latch circuits 404 and 407, and drivers 403 and 406. In the PC mode, timing signals and dot data to be fed from the display interface 105 are serially transferred to the shift registers 405 and 408 through the display interface 105 which includes switching gates 409. The shift registers 405 and 408 provide the latch circuits 404 and 407 with the dot data. Drivers 403 and 406 consisting of segments in rows and columns provide signals to LCD 401 according to the dot data which are transferred from latch circuits 404 and 407. When an OFF signal is transferred from the CPU 301 to the switching gates 409, the switching gates are disabled. Thus, the shift registers 405 and 408 will not store any data to be displayed. The operation of the PC typewriter of this embodiment according to the present invention is described hereinafter. When the PC typewriter is set to the PC mode manually via mode selection switch 10, a signal is transmitted, as shown by arrows in Fig. 2, to CPU 201 through CPU 301. The CPU 201 carries out the system program stored in the ROM 202 to be used in the PC mode upon receipt of character data and printing commands transmitted through interface 204 from CPU 101. In the computer portion 1, the CPU 101 becomes operable when any one of the code signals is transmitted thereto through the key interface 106 upon depression of a key. That is, data outputted from the keyboard 302 is processed by the computer portion 1. For example, when the PC typewriter is functioning as a word processor, the data transferred from the keyboard 302 are applied to display controller 110 through the display interface 105, thereby the data being displayed on the LCD 401. The data is also stored in RAM 102 or in a floppy disk. According to a character printing instruction transferred from the keyboard 302, the data stored in the RAM 102 is transferred, some number of bits at a time, such as bits sufficient to accommodate one line data, to CPU 201 through buffer 104 and interface 204. Then, CPU 201 temporarily stores the data in RAM 203 and operates the carriage controller 205 and the head controller 206 to carry out one line printing corresponding to the temporarily stored data. When the computer mode is switched to the typewriter mode manually via mode selection switch 10, the signal produced by pressing the keys of the keyboard 302 is transmitted, as shown by arrows in Fig. 3, to the CPU 201. At this time, CPU 301 outputs an OFF signal, thereby disabling the switching gate 409. Accordingly, characters displayed on the LCD 401 disappear and the converter 410 is not oscillated and, therefore, the back light is put out. Thus, the operator can confirm that the PC typewriter is now in the typewriter mode. Thus, it is easy for the operator to check whether the PC typewriter is in the typewriter mode or not. The computer portion 1 and the typewriter portion 2 are provided with the CPUs, respectively in this embodiment, however, a key scan may be performed by one CPU. According to this embodiment, an LCD unit for use in the computer mode equipped with the back light panel 402 is used, however, a CRT (cathode-ray tube) or an EL (electroluminescence) may be used. In such a case, the control is carried out by cutting a power supply to a high voltage circuit connected thereto. The operation of the CPU 301 will be described in connection with the flow chart shown in Fig. 5. At step A1, CPU 301 is initialized. At step A2, it is detected whether or not the mode is the PC mode. If yes, the program goes to step A3 at which multiplexers 303 and 304 are operated to enable the communication between CPU 301 and keyboard 302. Then, the program goes to step A4 at which key scans are carried out. At step A5, it is detected whether or not any data is inputted. If not, the program returns to step A2. If yes, the program goes to step A6 at which the data which has been coded in the CPU 301 is transferred to the key interface 106. Then, the program returns to step A2. In this manner, the operation flow is repeated. If it is detected at step A2 that the mode is not the PC mode, the multiplexers 303 and 304 are operated to enable the communication between CPU 201 and keyboard 302. Then, the program goes to step A8 at which an OFF signal is produced, so that switching gate 409 shown in Fig. 4 is disabled, with the result that the characters displayed on LCD 401 disappear. Then, the program returns to step A2. Next, the operation of CPU 201 will be described in connection with the flow chart shown in Fig. 6. At step B1, CPU 201 is initialized. At step B2, it is detected whether or not the mode is the PC mode. If yes, the program goes to step B3 at which a key scan is suspended. Then, the program goes to step B4 at which it is detected whether or not any data is transferred from the interface 204. If not, the program repeats step B4 to wait for the data. If yes, the program goes to step B5 at which the received data is transferred to and temporarily stored in the key buffer provided with RAM 203. Then, the program goes to step B6 at which it is detected whether or not data stored in the key buffer in the RAM 203 is filled with one line data. If not, the program jumps to step B9. If yes, the program goes to step B7 at which a busy signal is transmitted to the interface 204 indicating that the key buffer is full. Then, the program goes to step B8 at which the printing of one line data in the key buffer is carried out. Thereafter, the program goes to step B9 at which it is detected whether or not the mode is the PC mode. If yes, the program returns to step B2. If not, that is, when the operator switches the mode selection switch 10 to the typewriter mode, the program goes to step B10 at which the printing of one line data now being carried out is continued so as to effect the mode change after printing the one line data stored in the key buffer. Then, the program returns to step B2. If it is detected at step B2 that the selected mode is not the PC mode, the program goes to step B11 at which it is detected whether or not an interruption has taken place. If not, the program goes to step B12 at which it is detected whether or not the key buffer provided with the RAM 203 is empty. If not, the program goes to step B13 at which an inputted data is displayed on the one line display 5 and the electronic typewriter control is effected by operating circuits 210-217. Then, the program returns to step B2. If yes at step B11, the program goes to step B14 at which key scans are carried out. Then, the program goes to step B15 at which it is detected whether or not any data has been inputted. If not, the program goes to step B12. If yes, the program goes to step B16 at which the inputted data is stored in the key buffer provided in RAM 203. Then, the program goes to step B17 at which the inputted key data is displayed on one line display 5. Then, the program goes to step B12, and then, goes to step B13, and thereafter, returns to step B2. As described above, the PC typewriter according to the present invention can be used as an electronic typewriter immediately while the PC typewriter is operated as a personal computer.

Claims: Elektronic typewriter equipped with a personal computer and being operable in a typewriter mode or in a word processor word, comprising: a first processing unit (1) including processing means (101) for controlling operations of said first processing unit (1), storing means (102,103) for storing a user application program, and display means (105,110,4) for displaying data processed according to the user application programm; keybord means (302), including character input keys and function keys, for inputting data; printer means (205,207,210-217) for printing in the typewriter mode and in the word processor mode; and selection switch means (10,301) for selecting either the typewriter mode or the word processor mode; characterized in that there is provided a second processing unit (2), coupled to said first processing unit (1) through an interface means (204), for controlling said printer means (205,207,210-217) according to data transferred from said interface means (204), said interface means (204) being operatively connected to said first processing unit (1), for transferring data to and from said first processing unit (1); said selection switch means (10,301) is operatively connected to said first processing unit (1) and said second processing unit (2), the typewriter mode and the word processor mode causing only one of said first processing unit (1) or said second processing unit (2) to operate, with data, inputted through said keyboard means (302) in accordance with the selected mode, being inputted to the selected one of said first processing unit (1) or said second processing unit (2), exclusive of the other; and distribution means (301,303,304), operatively connected to said keyboard means (302), for distributing data outputted from said keyboard means (302) to either said first processing unit (1) or said second processing unit (2) according to the mode selected by said selection switch means (10,301), said data being processed by either said first processing unit (1) or said second processing unit (2) according to the mode selected. Electronic typewriter according to claim 1, wherein said selection switch means (10,310) produces an off signal to said display means (105,110,4) for controlling the light emission from said display means (105,110,4) such that said display means (105,110,4) attenuates the light intensity thereof when said mode selection switch means (10,301) selects said second processing unit (2) to be operated. Electronic typewriter according to claim 1 or 2, wherein said display means (105,110,4) comprises a liquid crystal display (401) provided with a back light (402). Electronic typewriter according to claims 2 and 3, wherein said back light is turned off in response to said off signal.

Inventors: IIZUKA, TAIJI
Applicants: SHARP KABUSHIKI KAISHA
Application year: 1987
Main classification: G06F15
IPC codes: G06F17, G06K15, B41J3, G06F3, B41J5