CA1200910A - Terminal device for editing document and communicating data - Google Patents

Terminal device for editing document and communicating data

Info

Publication number
CA1200910A
CA1200910A CA000418623A CA418623A CA1200910A CA 1200910 A CA1200910 A CA 1200910A CA 000418623 A CA000418623 A CA 000418623A CA 418623 A CA418623 A CA 418623A CA 1200910 A CA1200910 A CA 1200910A
Authority
CA
Canada
Prior art keywords
data
control
program
character
document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
CA000418623A
Other languages
French (fr)
Inventor
Toshiaki Yamada
Hiroaki Ueno
Toshiya Ogawa
Tomoyuki Haganuma
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP56212194A external-priority patent/JPS58127229A/en
Priority claimed from JP57027504A external-priority patent/JPS58144944A/en
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Application granted granted Critical
Publication of CA1200910A publication Critical patent/CA1200910A/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0489Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using dedicated keyboard keys or combinations thereof
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/15Script supports connected to the typewriter or printer
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99951File or database maintenance
    • Y10S707/99956File allocation

Abstract

Abstract of the Disclosure A terminal device capable of preparing a document and communicating data includes a system control section having storage means in which are resident a control program for outputting received document data either to an output section or an external storage, and a supervisor program for alternately practicing the control program and another program necessary for system control. Based on these resident programs, the system control is practiced to permit received document data to be fed to the output section or the external storage even when local work such as prepara-tion of a document is under way. When printing operation is disabled due to a failure in a printer of the output section or the like after the received document data has been loaded in a memory of the communication control, the document data is immediately delivered to the external storage to open the document data storage area. Power is supplied only to the equipments which are indispensable for storing received document data in the memory, except for the duration of any local work such as preparation of document data.

Description

TERMINAL DEVICE FOR
EDITING DOCU~ENT AND COrlMUNICATING DATA

sackground of the Invention The present invention relates to a terminal unit which is capable of both preparing and editing a document and communicating data with a remote terminal device.
In parallel with the remarkable progress of office automation, there have recently been developed various terminal devices equivalent to a word processor which is capable of advanced data communication in addition to its original function or a telex terminal unit which is capable of document preparation or communi-cation processing in addition to its original function.
Such devices may be typified by a communication word processor and a telex terminal unit for international communication.
A document preparing terminal device capable of the two different functions generally comprises an input section equipped with a keyboard for inputting character data, form data and control data necessary for document transmission and system control~ a display section having a character display for displaying various data required for document preparation, an output section having a printer for printing out prepared document data and received document data, an external storage section accommodating a floppy disc for storing prepared document data or received document ~4 data, a communication control section for controlling the transmission and reception of documents, a section for connecting the terminal device to a communication line, and a system control section for controlliny the entire system according to a program. This bifunc-tional terminal unit, due to its very nature, may receives document data from a remote terminal device while it is operated for preparing a document. It is - desirable, therefore, that the terminal unit be capable of delivering the received document either to its output section or external storage without interrupting the preparation of a document.
However, a prior art terminal device of the type described cannot run in parallel a word processing program for preparing a document and a control program for delivering received data to the output section or the external storage. This is because the system control of the prior art device is furnished only with a memory in which a program for running and supervising one program is resident. When document data is received while the device is operating to prepare a document, it cannot be printed out or stored immediately but has to be done so after the document preparation or inter-rupting it.
Another drawback is that when the printing operation is disabled due to a failure in a printer or the like during reception of a document or waiting period, "failure" or "reception unable'l is displayed after the memory of the communication control has become full. This makes it impossible to receive any further document data.
Furthermore, such a terminal device is made up of a number of equipments which are usually connected to a common power source to be constantly supplied with power. This degrades the durability and ~2~

reliability of various e~uipments for which the constant supply of power is needless, particularly those constitu-ting the input section, display section and external storage, while inviting wasteful con-sumption of power.
Summary of the Invention A terminal device capable of editing a document and communicating data embodying the present invention includes input means for inputting character data, form data and control data which are necessary for preparing and transmitting data and system control and character data conversion instruction data for instructing the character data to be converted into predetermined character data, and outputting the input character data, form data and control data and the converted character data corresponding to the input character data, in response to a result of the input of the various data. Display means is supplied with the character data, form data and control data necessary for preparing a document and display control and character data conversion instruction data for instructing the character data to be converted into predetermined character data, thereby displaying the input character data and converted character data in ?5 response to a result of input of the various data.
Printer means is supplied with data of a prepared document, data of a received document and form data and control data which are necessary for print control, thereby printingout the prepared document data and received document data on a sheet in response to the various data. External s-torage means is supplied with data of a prepared documents,data of a received document and control data which is necessary for storage control, thereby storing the prepared document data and received document data in response to the various data. Communication control means receives data o a document to be transmitted and control data necessary for transmission control, so as to control the transmlssion of the prepared document data in response to the input data and the reception of a document transmitted to the terminal device from a remote terminal device. Fur-ther, a system control section controls the display means, printer means, external storage means and communication control means in response to the character data, converted character data, form data and control data fed from the data input means, and the received data fed from the communi-cation control section. The system control section is operated by general purpose software.
In accordance with the present invention, a terminal device capable of preparing a document and communicating data includes a system control section having storage means in which are resident a control program for outputting received document data either to an output section or an external storage, and a supervisor program for alternately practicing the control program and another program necessary for system control. ~ased on these resident programs, the system control is practiced to permit received document data to be fed to the output section or the external storage even when local work such as prepara-tion of a document is under way. When printing operation is disabled due to a failure in a printer of the output section or the like after the received document data has been loaded in a memory of the communication control, the document data is immediately delivered to the external storage to open the document data storage area. Power is supplied only to the equipments which are indispensable for storing received document data in the memory, except for the duration of any local work such as preparation of document data.
It is an object of the present invention to provide a terminal unit bifunctioning -to prepare and edit a document and communicate data which is exce]lent in the durability and reliability of its equipments, efficiently manipulatable, operable at a high speed, applicable for general purposes, and minimum in power consumption.
It is another object of the present invention to provide a generally improved terminal device for editing a document and communicating data.
Other objects, together with the foregoing, are attained in the embodiment described in the following description and il1ustrated in the accompanying drawings.
Brief Description of the Drawings E'ig. 1 is a schematic perspective view of a terminal device embodying the present invention;
Figs. 2 and 3 are block diagrams respectively showing the hardware construction and software construc-tion of the terminal device;
Fig. 4 is a diagram illustrating the basic sys-tem of MP/M (multiprogramming monitor control programming) which constitutes an operating system stored in a system control section;
Figs. 5 and 6 are a view of various keys arranged on a keyboard unit of Fig. 2 and a block diagram of a keyboard control section, respectively;
Figs. 7 - 9 are diagrams showing a status format a mode instruction format and a command instruction format of a parallel/serial conversion I/O of Fig. 6, respectively;
Figs. 10 - 12 are diagrams of graphic character codes which are used for the description of a keyboard g~

& console control program shown in Fig. 3;
Fig. 13 is a block diagram of a character display shown in Yig. 2;
Fig. 1~ is a diagram of a eharaeter block in a character generator shown in Fig. 11;
Fig. 15 is a diagram of graphie eharaeter codes which will be used for the description of a CRT control program shown in Fig. 3;
Figs. 16 and 17 are flowcharts respectively showing a display eontrol routine and a display data eonversion routine;
Fig. 18 is a diagram showing control eodes which will be used for the description of the CRT eontrol program of Fig. 3;
Fig. 19 is a bloek diagram of a thermal printer;
Figs. 20 and 21 are diagrams of graphic character control eodes used for the deseription of a printer control program shown in Fig. 3;
Figs. 22a ~ 22c are diagrams showiny different examples of eharaeter bloeks in the eharacter c~enerator shown in Fig. 19;
Fig. 2 3 is a diagram showing graphic characters s-tored in the eharaeter generator;
Fig. 24 is a bloek diagram showing the eonstrue-tions of a eommunieation eontrol and a line terminalunit shown in Fig. 2;
Fig. 25 is a flowehart sehematieally showing the entire CCU eontrol proyram of Fig. 3;
Figs. 26 - 28 are floweharts respeetively representing a CCU initialize routine, a document send routine and a doeument reeeive routing eaeh shown in Fig. 25;
Fig. 29 is a bloek diagram of a system control shown in Fig. 2;
Figs. 30 - 33 are flowcharts respectively showing ~3~

a foreground program, a background program, an inter rupt routine and a CCU receive routine used for tne description of the system control shown in Fig. 30;
and Fig. 34 is a flowchart representing the basic operating proeedure of the terminal unit.
Description of the Preferred Embodiment While the terminal device for editing a document and communicating data of the present invention is susceptible of numerous physical embodiments, depending upon the environment and requirements of use, a substantial number of the herein shown and described embodiment have been made,tested and used, and all have performed in an eminently satisfaetory manner.
Referring to Fig. 1 of the drawings, the terminal device generally comprises a keyboard 10 functioning as an input unit, a charaeter display 20 as a display unit, a thermal printer 30 as an output unit, a body 40 made up of an external storage, a eommunication control and a system control, and a section (not shown) for conneeting the deviee to a eommunieation line. Use is made of eurled eords or the like to eonnect the keyboard 10, character display 20 and thermal printer 30 with the body 40 while permitting them to be separated from the body 40 as for transportation.
Referring to ~igs. 2 and 3, hardware and software constructions of the terminal deviee are shown in bloek diagrams, respectively. In Fig. 2, the keyboard 10 comprises a keyboard unit 12 and a keyboard control 14. The character display 20 comprises a CRT display 22 and a CRT control 24 for eontrolling the operation of the CRT display 22. The thermal printer 30 eomprises a thermal printing seetion 32 and a printer eontrol 34 for controlling the thermal printer 32. The external storage is generally designated by the reference numeral 50 and made up of two floppy disc drives or FDD ' s 52 and 54 and an FDD control 56. The device further includes a communication control 60, a display 62, a line connector section (DCE) 70 and a system control 80. The FDD control 56 of the external storage 50 is constituted by the system control 80.
Referring also to Fig. 3, the functions of the various sections stated above will be outlined.
(i) Keyboard 10 The keyboard unit 12 has a number of keys which are operable to supply the keyboard control 14 with various data: character data representing alphabets or numerals, for example, and form data each of which is necessary for preparing a document, control data required for system control, and character data con-version instruction data for commanding the conversion of character data input through the keys into another predetermined character data. In response to these data, the keyboard control 14 supplies the system control 80 through an interface with the input data which has or has not been converted into the pre-determined character data. The keyboard 10 is controlled on the basis of a keyboard & console control program stored in the keyboard control 14 and an operating system or OS stored in the system control ~0 .
(ii) Character Display 20 The CRT control 24 is supplied from the keyboard 10, external storage 50, communication control 60 and system control 80 through an interface with the various data mentioned necessary for preparing a document as well as the conversion instruction of the input character data into another. In response to these data, the CRT display 22 displays thereon the input character data with or without conversion thereof.

The character display 20 is controlled by a CRT control program stored in the CRT control 24 and an operation system or OS and a display output program each stored in the system control 80.
(iii) Thermal Printer 30 The prin-ter control 34 receives through an interface the prepared document data dlsplayed on the character display 20, document data stored in a floppy disc loaded in the external storage 50, received document data received by the communication control 60 and form data and control data necessary for print control. The thermal printer 32 is controlled to operate its head and the like to print out the prepared or received document data on a heat-sensitive sheet.
The thermal printer 30 is controlled on the basis of a printer control program stored in the printer control 34 and an OS and a printer output control each stored in the system control 80.
(iv) External Storage 50 The FDD control 56 is supplied through an inter~
face with the prepared document data displayed on the character display 20, received document data in the communication control 60 and control data necessary for storage control. The prepared or received document data is stored in a floppy disc which is loaded in the FDD 52 or 54, while being converted into a format suitable for storage. The control over the external storage 50 is governed by an FDD control program stored in the FDD control 56 and an OS and a file maintenance program each stored in the system control 80. The floppy disos in the external storage 50 may also store various programs required for system control, e.g.
OS stored in the sys-tem control 80.
(v) Communication Control (CCU) 60 The communication control 60 is supplied with data of a document to be transmitted or -transmission document data stored in a floppy disc in -the external storage 50 and represen-ting a document to be trans-mitted from the terminal device, as well as control data necessary for transmisslon control. The trans-mission document data is once stored in storage means and then fed out to a communication line (line switching network) via a line interface and the conneetor section 70. The transmission control for the transmission document data occurs on the basis of a CCU control program stored in the communication control 60 and an OS and a CCU transmission program each stored in the system control 80.
Besides, the communieation control 60 receives document data from the line via the connector 70 and line interfaee. The reeeived doeument data is onee stored in storage means whi~e data indicative of the reeeption is delivered to the system eontrol 80. In response to a command from the system control 80, the eommunication eontrol 60 feeds the reeeived document data to the charaeter display 20, thermal printer 30 or external storage 50 or keeps it within the storage means. The reception control is governed by a CCU
eontrol program stored in a memory ~deseribed later) of the eommunication control 60 and an OS and a CCU
reception program stored in the system control 80.
The CCU control program, CCU transmission program and CCU reception program discussed above are provided with a design whieh can be processed simultaneously with other programssuch as a word processing program.
This allows the simultaneous processing of the programs to be supervised by the OS task prac-ticing and super-vising funetion of the system eontrol 80~ thereby enabling doeument data to be transmi-tted or received independently of -the operator's local work for writing out a document, for example.
The line connector sec-tion (DCE) 8 is adapted for interface control and the lilce between the communication control 60 of the terminal device and the line switching network. In the illustrated embodiment, -the section 8 comprises a domestic line terminal device (DSC) applicable to the digital switching network service and accords to the CCITT's advice in construction and function.
(vi) System Control (SCU) 80 The system control 80 receives character data, converted character data, form data and control data input through the keyboard 10 and reception data from the communication control 60. Based on these data, the system control 80 controls the entire system inclusive of the character display 20, thermal printer 30, external storage 50 and communication control 60 in accordance with those OS and other programs whose major functions are running and supervising tasks, supervising files and controlling an I/O unit.
Major controls performed by the system control 80 are as follows:
(1) controls related with preparing and editing a document such as the delivery of data necessary for preparing a document to the character display 20 and that of prepared document data to the thermal printer 30;
(2) controls related with communication such as the trans~er of the prepared document data -to the communication control 60 and that of received document data to the character display 20, thermal printer 30 or external storage 50;
(3) controls related with file maintenance such as the delivery of prepared document data or received document data to the external storage 50 and reading prepared document data or received document data from the external storage 50; and
(4) controls related with diagnosis such as diagnosis of the whole system and each section of the system and delivery of the result of diagnosis to the character display 20 or thermal printer 30.
The various programs of the system control 80 serve the following functions:
(a) OS: mainly supervising the task running and files and controlling I!O. The OS is the supervisor program adapted to alternately control the run of the CCU reception program, which is the control program, and other programs necessary for the system control (b) file maintenance program: mainly filing input and output data of the external storage 50 and supervising the files (c) word processing program: preparing and editing documents (d) display output program: converting input data into a format suitable for display and supply-ing the character display 20 with data necessary for display (e) printer output program: converting input data into a format suitable for printing and supply ing the thermal printer 30 with data necessary for printing (f) CCU transmission program: delivering trans-mission document data to the communication control 60 (g) CCU reception program: delivering received document data to the thermal printer 30 or external storage 50. The CCU reception program is the control program adapted to run the control for delivering received document data ~z~

to the thermal prin-ter 30 or external storage (h) self-diagnosis program: diagnosing the whole system and each section of the system (i) others: initializing the system and the like Such programs of the system control 80 are stored either in its ROM or in a floppy disc loaded in the external storage 50, depending upon the system construc-tion.
The control program, i.e., OS, file maintenance program and word processing program, are constituted by general purpose software. The OS is capable of multitask control and has a resident process function.
A certain process can be included in the OS and practiced alternately with another process.
In the illustrated embodiment, the OS and file maintenance program are constituted by MP/M (multi-programming monitor control programming) developed by Digital Research. The MP/M is the higher operating system for CP~M (control program for microprocessor) also developed by Digital Research and capable of multi-user lmulti-terminal) multiprogramming.
Referring to Fig. 4, the basic system of the MP/M is illustrated. In Fig. 4, XDOS is the core of the MP/M, BDOS supervises the disc files and each console, and XIOS supervises actual data input and output. The MP/M allows a program called "resident system process" to stay on the memory. A program designed by a user can be loaded in the resident system process and whether or not to do so is decided at the time of system generation. In this embodiment, the CCU reception program is inserted in the resident system process during generation. For the others, refer to MP/M User's Manual available from Digita~
Research.

g~

1 'I -Meanwhile, the word processing program eomprises WordStar developed by MicroPro Interna-tional Corporation, the details of whieh will become clear from WordStar User's Manual published by the same firm.
Now, each section of the termlnal device of the present invention will be described in detail with reference to Fig. 5 and onward as well.

Referring to Fig. 5, there is shown the layout of various keys which are earried on the keyboard unit 12, which is for German in this case. The keys include major function keys:
(a) Keys Related with Charaeter (Graphie Charaeter) Data & Charaeter Conversion Instruetion Data graphie eharaeter key: entry of graphie eharaeters on key tops DIAC key: entry of eharaeters with diaeritieal marks SY~lB key: entry of graphic characters other than the graphie eharae-ters on key tops (refered to as extra graphie charaeters hereinafter) ~ (shift) key: seleetion of one of two graphie eharacters on a key top or one of upper and lower ease eharaeters ~(colleetion) key: cancellation (b) Keys Related with Form Data ~ key: tabulation LHM, RHM keys: setting left- and right-hand margins TAB, TAB keys: setting and clearing tab 1~ and ~ keys: determining the eursor home position +, ~ : moving the cursor to the lef-t, right, up or down CENTE key: centering ~;~3~

SEARC key: searching keyword MERGE key: merging files ~, ~ keys: scrolling up or down the image surface ~-~ key: margin release 10, 12, 15 keys: designating horizontal spacing of 1/10", 1/12" or 1/15"
1, 1.5, 2 keys: designating vertical spacing of 1/6", 1/4" or 1/3"
JUSTI key: justification ~xx key: underline x key: bold character DELET key: deletion CHA~, WORD, LINE, BLOCK keys: designating a deletion unit which is character, word, line or block SP key: spacing ~c) Key Related with Control Data EOE' key: end of file PRI~JT key: print document SEND key: transmit document TELEX key: use in telex terminal unit specifica-tion CODE key: shift output code (later described) ~ key: carriage return It should be noted that control data is input by combinations of various keys as well.
The DIAC, SYMB, shift, 10, 12, 15, 1, 1.5, 2, JUSTI, x , x and TELEX keys are provided with light emitting diodes or I,ED's 120-132, respectively, to 0 display their operations.
~he keyboard unit 12 comprises -the keys shown in Fig. 5 and a key switch matrix which outputs code data corresponding to manipula-ted keys.
Referring to Fig. 6, the keyboard control 1fi 5 includes a cen~ral processing unit (CPU) 140, a program ROM 142, a conversion ROM 144, a RAM 146, a parallel of I/O 148 and a parallel/serial conversion I/O 150. The program ROM 142 stores the keyboard & console control program for running the input controls such as the conversion of character da-ta input through the keyboard unit 12. The conversion ROM 144 stores data (conversion table) which will be used for converting input character data into another predetermined character data. The RAM 146 not only stores various data but serves as a working area for running the programs. The parallel I/O 148 is adapted to transfer between the keyboard unit 12 and the CPU 140 the input 8-bit code data~
strobe signal, delete signal appearing upon depression of the DELET key, LED turn-on signals, etc. The parallel/serial I/O 150 transforms the parallel input character data, form data, control data and conversion character data into serial data and supplies them to the system control 80. The parallel I/O 148 and parallel/serial I/O 150 are controlled by the CPU 140 according to the control words shown in Table 1, which will appear at the end of the Description of the Preferred Embodiment. It will be noted in Table 1 that "D7 BUZZER ON" in (3) OUT F2 means energizing a buzzer associated with the keyboard unit 12, although not shown in the drawings.
The parallel/serial I/O 150 has a status format, a mode instruction format and a command instruction format which are shown in Figs.7 - 9, respectively.
In this embodiment, the mode instruction Eormat of the parallel/serial I/O 150 is the format which is determined by the conditions B1 = ' ~2 = 1, L1 = 1, L2 = 1, PEN = 0, EP = 0, S1 = 1 and S2 = 1.
The keyboard & console control program stored in the program ROM 142 of the keyboard control 14 will be described. It should be born in mind that, when the keys except the DELETE and CODE keys on the keyboard unit 12 are depressed, the keyboard unit 12 supplies the keyboard control 14 with 8-bi-t data shown in Fig.
10 which correspond to the depressed keys.
The keyboard & console control program fulfills the following functions (1) - (16).
(1) Data from the keys whieh do not require code conversion in the items (2) - (13) to follow are delivered as they are.
(2) DIAC key processing A eharacter with a diaeritieal mark is input by a code train "DIAC key eode + basic eharaeter eode + row hexa expression eode (Fig. 11)" shown in Fig. 10. It will be noted that the symbols "+" and "," used for indicating a code train are meaningless characters (the same applies to the following).
In this ease, the code eonversion (conversion of input eharaeter data) and the condition of the LED 120 are controlled.
(a) The LED 120 associated with the DIAC
key is turned off in the initial condition.
(b) In response to DIAC key data, a diacritieal mark eharacter input mode is set up and the LED 120 is turned on.
(c) When two characters of data are input, the code train is changed to "basic character code + 1OH + 08H + diacritical mark code (where b7 = O)" shown in Fig. 11 and the LED 120 is turned off.
(d) When the collect ( <~3 ) key data is input after the entry of DIAC key data or when the eollect key data is input after the entry of one character of data, the 35 diaeritical mark character input mode is cancelled and the LED 120 is turned off neglecting the other key inputs.
(e) Whether or not the diacritical mark character data (converted character data) given by converting input character data corresponds to any one of the characters with dlacritical marks shown in Table 2 is determined; the characters shown in Table 2 are allowed to be input. If the input is permissible, the converted char-acter data is entered. If impermissible, the buz~er is energized without entering the converged character data.
A practical examplc of the entry of a diacritical mark characler throuyh the DIAC key will be described.
In the case of the character "A", the basic character is determined as "A" and the row hexa expression of the symbol is "A" from Figs. 10 and 11 and Table 2. It will be noted that " 17 used for indicating characters and codes are meaningless characters (the same applies to the following).
The DIAC key, A key and A key are operated in the order named to input data of a code train "81H + 41H + 41H" so that the previous-ly mentioned code conversion occurs.
Determining the code of the diacritic ""
as b7 = 0, the code is expressed as "4AH".
As a result, a code train "41H + lOH + 08H +
4AH" indicative of the character wi-th diacritic "A" is ou-tput. Thus, the DIAC key is used to input character data conversion instruction data which commands conversion of character data into predetermined character - 19 ~

data. Based on the result of the input and the two characters of data entered after the DIAC key data, there is output character data with diacritical mark is output which is the character data given by converting the two characters of character data into predetermined character data.
(3) SYMB Key Processing An extra graphic character other than the graphic characters on key tops is input by a code train shown in Fig. 10 which is "SYMB key code +
row hexa expression code of character code shown in Fig. 11 + column hexa expression code of character code shown in Fig. 11" shown in Fig. 10.
In this case, the code conversion (conversion of input character data) and the condition of the LED 121 are controlled.
(a) The LED 121 associated with the SYMB
key is turned off in the initial condition.
(b) In response to SYMB key data, an extra graphic character input mode is set up and the LED 121 is turned on.
(c) In response to two characters of character data, they are converted into "code shown in Fig. 11" for 0/0 to 7/F of Fig. 11 and into "lOH + 10H + code shown in Fig. 11 (where b7 = O)" for 8/0 -to F/F shown in Fig. 11. The LED 121 is turned off.
(d) The same processing as in the DIAC key processing occurs in response to the input of collect ]cey data input after the entry of the SYMB key data.
(e) Whether or not the extra graphic character data (converted character data) given by converting input data coincides with any one ~æ~

of the permissible characters shown in Fig. 11 is determined. If permlssible, the converted character data is delivered; if impermissible, the buzzer is energized without delivering the converted character data.
A practical example of the input of an extra graphic character through the SY~IB
key will be described.
In the case of "<" in the area 0/0 -to 7/F of Fig. 11, it will be seen from Fig. 11 that the column hexa expression thereof is "3" and the row hexa expression is "C". Thus, depressing the SYMB key, 3 key and C key in this order enters data of a code train "81H +
33H + 43H" and carries out the code conversion previously discussed. The resulting output data is "3CH" indicative of "~".
Concerning "Æ " in the area 8/0-F/F of Fig. 11, it will be seen from Fig. 11 that the column hexa expression thereof is "E"
and the row hexa expression is "1". Thus depressing -the SYMB key, E key and 1 key in this order enters the data of a code train "81H -~ 45H + 31H" and the code conversion occurs. Making the code of the character " Æ " b7 = O gives the code as "61H". As a result, there appears the data of a code train "10H -~ 1OH + 61H" indicative of the character " ~".
In short, the SYMB key enters character data conversion instruction data which commands the conversion oE character data into extra graphic character data which is predetermined character data. Based on the ~Z~9~l~

result of the input and the two characters of character data input after the SYMB key, extra graphic character data is delivered which is the character data given by convert-ing the two characters of character data into predetermined character data.
(4) A, O, U & ~ Key Processing Data input through these keys are subjected to code conversion according to Table 3. In Table 3, "SF" means depression of the shift key.
(5) $, #, ~, 0, 2, 3 & ~ Key Processing Data input through these keys are output after the code conversion shown in Table 4. In Table 4, the characters in ~ ) of the output codes are the characters according to ASCII codes, while those in < > are the characters of the terminal device when b7 = 1.
(6) ` & ~ Key Processing Data input through these keys are output after the code conversion shown in Table 5, in which ( ) and < > have the same meanings as in Table 4.
(7) LHM, RHM, TAB, TAB, ~ , CENT, SEARC, ~ERGE,~ , EOF, PRINT & SEND Key Processing Data input through these keys are output after the code conversion shown in Table 6. In Table 6, "^" indicates the hold condition of the CODE key and "~" the 0/D key operation.
Concerning the CODE key, while depressing the P key makes the code b7-bo "01110000" as seen from Fig. 10, the CODE key depressed together with the P key changes the code to "00010000"
shifting the code from the 5th column to the 2nd.
(8) 10, 12 and 15 Key Processing (a) The LED 122 associated with -the 10 key 3~

is turned on under the initial condition.
(b) In response to data input through any one of the keys, this input data is output after the code conversion shown in Table 7.
The LED 122-124 associated with the key in question is turned on while the LED122-124 having been turned on is turned off.
(9) 1, 1.5 & 2 Key processing (a) The LED 125 associated with the 1 key is turned on under the initial condition.
(b) In response to data input through any one ~f the keys, the input data is output after the code conversion shown in Table 7.
The LED 125-127 associated with the key in question is turned on, while the LED 125-127 having been turned on is turned off.
(10) JUSTI Key Processing (a) The LED 128 is turned on under the initial condition.
(b) In response to the JUSTI key data, the input data is output after code conversion to ~OJ-(c) The LED 128 repeatedly turns on and off every time the JUSTI key data is entered.
(11) xxx Key Processing (a) The LED 129 is turned off under the initial condi-tion.
(b) The data input through this key is output after alternate code conversion to ~PS and ~PW.
(c) The LED 129 repeatedly turns on and off every time the xxx key data is entered.
(13) C~IAR, WORD, LINE & BLOCK Key Processing (a) When data is input through any one of the keys, whether or not data has been ~.3~

entered through the DELET key (delete signal DELET in Fig. 6) is determined. If so, the input data is output after the code conversion shown in Table 8; if not, the input data is neglected.
(b) Such determination is performed before storing the data from the key in a buffer.
(1~) TELEX Key Processing Where the terminal device is interconnected with a telex terminal unit, graphic characters which can be transmitted are limited by the telex terminal unit. Hence, for such an application, characters to be input are limited.
(a) The LED 131 is turned off under the initial condition.
Ib) The LED 131 iS repeatedly turned on and off in response to each input of TELEX key data.
(c) When the LED 131 is turned on, the permissible input character data is limited to the characters shown in Fig. 12. In response to the entry of any character other than those shown in Fig. 12~ the input character data is neglected and the buzzer is energized.
(d) The function keys are freely operable to enter data except for the DIAC and SYMB
keys.
(e) The entry of the diacritics "`"
and "'" are limited.
(15) EOF Key Processing Upon entry of EOF key data, the 10, 12, 15, 1~ 1.5, 2, JUSTI, xxx, x and TELEX key have their associated LED's 122-131 initialized.
(16) A 32-byte area is prepared as a buffer for buffering input data (FiFo structure). When this buffer becomes full, the subsequent input data is neglected and the buzzer is energized.
In this manner, the keyboard 10 supplies the system control 80 with character data or its converted version together with form data and control data, which are input through the various keys, in response to the result of input of such da-ta and character data conversion instruction through the DIAC or SYMB key.
Thus, an ordinary number oE keys suffice for the entry of all -the graphic characters shown in Fig. 11 and characters with diacritical marks shown in Table 2. It follows that, in a keyboard for German as in this embodiment, which involves characters with umlaut, these characters can be indicated on key -tops and entered as simply as other basic alphabets. Apart from German, any desired language such as English, French or Japanese can be input merely by replacing the conversion table with another.

Referring to Fig. 13, -the CRT display 22 includes a cathode ray tube or CTR 210, a video amplifier 212 for supplying the grid of the CRT 210 with an amplified video signal VD,ahorizontal deflection circuit 220 for controlling the horizontal deflection of the CRT 210 in response to a horizontal sync signal HS coupled thereto from the CRT control 24, and a vertical deflection circuit 230 for controlling the vertical deflection of the CRT 210 in response to a vertical sync signal VS
also fed from the CRT control 24. The horizontal deflection control 220 includes a drive circuit 222 supplied with the horizontal sync signal HS, a trans-former 224, an output circuit 226 for delivering a horizontal deflection control signal, and a high tension 35 circuit 228. The vertical deflection circuit 230 ~21~3~9~

includes a vertical oscillation circuit 232 supplied with the vertical sync signal VS, a drive circuit 234 and an output circuit 236 for delivering a vertical deflection control signal.
The CRT control 24 includes a central processing unit or CPU 240, a ROM 242, a RAM 244, a serial I/O
246, a parallel I/O 248, refresh memories (referred to as V-RAM's hereinafter) 250 and 252, character generators 254 and 256 t a CRT controller 258 and a video control circuit 260. The ROM 242 stores a CRT
control program for practicing a display control, while the RAM 244 stores character data or like data received (entered) and serves as a working area for running a program. The serial I/O 246 is allocated for the transfer of character data or like received data RD
via the driver 262. The parallel I/O is allocated for the transfer of control data which selects either one of the multiplexers 264 and 266. The V-RAM's 250 and 252 are respectively adapted to handle basic characters (characters other than those with distinctive phonetic symbols) and the characters with distinctive phonetic symbols. The V-RAM's 250 and 252 are selectively accessed by the CPU 240 or the CRT controller 258 vla the multiplexer 264 or 266.
The character generators 254 and 256 respectively store the basic characters and the characters with diacritical marks shown in FigO 15. As shown in Fig. 14, each of the characters with or without diacritical marks has an area defined by 16 dots vertically and 10 dots horizontally. The character generator 254 is adapted to process character data fed thereto from the V-RAM 250 via a latch 268 into a dot pattern indicative of a basic character.
Likewise, the character generator 256 is adapted to process character data fed thereto from the other V-RAM

~2~

252 via a latch 270 into a dot pattern indicative of a diacritical mark.
The CRT controller 258 is supplied with clock pulses or the like from a clock generator 272 and in turn supplies the horizontal deflection circuit 220 and vertical deflection circuit 230 with the horizontal sync signal HS and vertical sync signal VS, respective-ly. Also, the CRT controller 258 supplies the video control 260 with a video timing signal VT and a cursor signal KS. The parallel data from the character generator 254 is fed to a shift register 274 and that from the character generator 256 to a second shift register 276. The serial outputs of the shift registers 274 and 276 are combined together by an 15 OR gate 278. The output of the OR gate 278, which is the dot data of the basic character and diacritic, is supplied to -the video control circuit 260. Then, the video control 260 delivers a video signal VD to the video amplifier 212 in response to the video timing signal VT and cursor signal KS from the CRT controller 258.
The display control effected by the CRT control 24 over the CRT display 22 will be briefly described.
First, the CPU 240 writes data in the addresses 25 of the V-RAM' s 250 and 252 which correspond to a desired display area on the surface of the CRT 210, in response to display data. The CRT controller 258 accesses the V-RAM's 250 and 252 in synchronism with the video timing signal VT adapted for the display on the CRT 210. Then, the data of basic character and diacritic output from the V-RA~I's 250 and 252 are respectively converted by the character generators 254 and 256 into dot data of basic character and that of diacritic. The dot data are respectlvely 35 processed by the shift registers 274 and 276 in-to serial data, combined by the OR gate 278 and then coupled to the video control 260. As a result, the video control 260 causes the CRT 210 to display character data generating a video signal VD which corresponds to the data stored in the V-RAM's 250 and 252.
Now, the CRT control program stored in the ROM
242 of the CRT control 24 fulfills the following functions (1) - (5). The flow of a display control routine is shown in Fig. 16 and the flow of a display data conversion routine is shown in Fig. 17.
(1~ Character Data Conversion for Display This function will be described with reference to Figs. 15 - 17.
(i) Character data to be displayed having seven or eight bits in accordance with the Japanese Industrial Standards is received (entered). In this embodiment, the character construction in the character display 20 is made up of one start bit, eight data bits and two stop bits, 11 bits in total.
tii) All the characters in the area 2/0-2/F of Fig. 15 are entered as the code data shown in the same drawing and, there-fore, not subjected to any code conversion (conversion of character data to be displayed).
(iii) Of -the characters shown in A/1-F/F
of Fig. 15, each of the characters in C/O-~/F other than the diacritical marks (referred to as "special characters"
hereinafter) is input as 4-by-te code data "5E~ + 50H + code of special character (where b7 = 0)" as shown in Fig. 15. Thus, when ~3q~

the received data involves a code train "5EH + 50H", the received data is converted into a code train "5EH + 5OH + code of special character" to display the special character. This will be discussed in detail taking the special character " ~ " for example.
Concerning the character " ~ ", making the code of this character shown in Fig. 15 b7 = O gives a code "61H". Then, a code train "5EH = 50H + 61H" is entered. Although this received data should originally corres-pond to the display of " ~, P, a", the act~al display is " A, P,Æ '~ due to the previously stated code conversion to "5EH + 50H + ElH".
(iv) All the characters with dia-critical marks shown in Table 2 are input J as 4-byte code data shown in Fig. 15 which is "code of basic character + 5EH + 48H +
diacritical mark code (b7 = O)".
Thus, where the received data involves a code train "5EH + 48H" together with the basic character code, it is converted into a code train shown in Fig. 15 which is "basic character code + diacritical rnark code + 2DH + 2DH". This will be described taking "A" for example.
To display the character with dia-critical mark "A", the code of "" shown in Fig~ 15 is made b7 = O to give a code "4AH".
Then, a code train "41H, 5EH, 48H, 4AH" is entered which should originally be displayed as "A, ~, H, J". Nevertheless, as previously described, -the received data is converted into "41H, CAH + 2DH + 2DH" and, therefore, ~2~

displayed as "A", -, -".
As described above, to display a character other than the special characters and eharacters with diaeritieal marks, the 8-bit character eode shown in Fig. 15 of the intended character is input in the character display 20.
A special charaeter is displayed by entering the combination of the character data of the character eorresponding to b7 = 0 of the eode shown in Fig.
15 which indicates the desired special character, and additional character data "/\, P" which commands eonversion of the eharaeter data to predetermined eharaeter data for display. Further, a eharaeter with a diacritie is displayed by entering eharaeter data of the basie charaeter of the desired eharaeter in eombination with charaeter data " ~, H" which commands eonversion of the eharaeter data into the eharaeter data shown in Fig. 15 whieh eorresponds to b7 = 0 of the assoeiated eode.
Thus, appearing on the display is the eharaeter data or its eonverted version on the basis of the result of entry of the eharaeter data and eharaeter data conversion command data.
This permits all the eharacter data whieh ean be input through the keyboard 10 to be displayed on the character display 20.
(2) ~ormal Mode This function will be described with reference to Figs. 15 - 18.
(i) In the normal mode, the system maintains its stand-by state ready to write received data in the ~A 244.
(ii) When the received data is displayable eharacter data (character code) or S~B data of the control data (control codes) shown in Fi~. 18, the received data is displayed in the cursor position just before the reception and the cursor is advanced one column ahead.
Table 9 shows the relationship between the control data (control codes) and the received data and in which "B.P.F" in the remarks stands for basic page format.
(iii) l~hen the received data is a displayable control code, a processing which the data requires is performed as will be described.
(iv) When the received data is a code which corresponds to a blank both in FigsO 15 and 18, and when it is DEL code shown in Fig. 15, the data is neglected without being processed and the system maintains the previous mode.
(v) After a character or control code has been fully processed, the operation returns to the stand-by condition ready to write data in the RAM 244.
(3) Control Code When the received data is one of the control codes shown in Fig. 18 which has a control function, controls (i~ - (vi) shown below are selectively practiced.
(i) Screen Clear In response to an FF (OCH) code, the display on the entire screen is deleted. The cursor is moved to the first column on the first line on the display surface, which is the uppermost and leftmost position.
(ii) Return & Line Feed In response to a CR (ODH) code, the cursor i5 moved to the head of the existing line. Then, in response to an LF (OAH) code, the line is fed to the next with the cursor held in the same column position. This return and line feed operation does not erase the data from the cursor position over to the line end. If the cursor is in the final line when the LF code is received, the image surface is scrolled one line up while the cursor is set in -the same column position on the same final lineO
(iii) Tabulation In response to an ~T (09H) code, the cursor is set at 8-, 16-, 24-, 32-, 40-, 48-, 56-, 64-, 72- and ~0-column positions skipping each eight columns from the left to the right.
~iv) Backspace In response to a BS (08H) code, the cursor is returned one column to the left and the character already displayed is erased.
If the cursor is in the firs-t column, the received BS code is neglected without moving the cursor.
(v) Underline (see Fig. 17) Of the CSI sequence functions, when a code "~\S (5EH, 53H)" indicative of "underline start" and a code "/~W (5EH, 57H)" indicative of "under line end" are received, an underline is displayed between "/\S" and "Al~". Thus, this is another case in which the character data is converted into predetermined one.
(vi) ESC Sequence Mode An"ESC (LBH)" code is responded by an ESC sequence mode which will be described hereunder.
(4) ESC Sequence Mode In response to an ESC code, an ESC sequence mode is set up and a display character code received next is utili~ed as an ESC sequence function eode without having its associated character displayed.
(i) Cursor-Up Control When the sequence of "ESC (1BH) ~
A (41H)" code is received, the cursor is moved one line up in the same column position. If the cursor is on the first line, it is not moved and the received sequenee is neglected.
(ii) Cursor-Down Control When the sequence of "ESC l1BH) +
B (42H)" code is received, the cursor is moved one line down in the same column position. If the eursor is on the last line, the lmage surfaee is serolled one line up while the cursor is set in the same column position on the same last line.
(iii) Cursor Forward When the sequenee of "ESC (1BH)+ C (43H)"
eode is reeeived, the cursor is moved one column to the right. When the cursor is in the end column of a line in the event of reception of this sequence, the cursor is moved to the first column of the next line.
If the cursor lS in the end column of the last line, then the image surface is scrolled one line up and the cursor is set in the 3~ first column of the same last line.
(iv) Cursor Bac~. Forward In response to a code "ESC (lBH) + D (44H)", the cursor is moved one column to the left.
If the new position of the cursor is the first column, the cursor is no longer moved with .he subsequent received code neglected.
(v) Cursor Home Control In response to "ESC (lBH) + H (48H)"
code, the cursor is set in the flrst column on the first line which is the uppermost and leftmost position on the display surface.
(vi) Cursor Addressing In response to a code "ESC (1BH) + Y (59H)", an addressing mode is set up. The first one of two display character codes received next designates line no. and the second makes absolute designation of column no. Thus, the cursor can be set in any desired line and column position on the display surface accordin~ to the sequence of "ESC + Y + line designating character code". Tables 10 and 11 show cursor addressing designation codes.
Based on these Tables, the first column on the first line is designated, for example, by the sequence of "ESC + Y + SP + SP".
(vii) Screen Clear When the sequence of "ESC (1BH) + E (45H3"
code is received, the display on the whole screen is erased. The cursor is set at the first column on the first line which is the uppermost and leftmost position on the screen.
(viii) Screen Erase When the sequence of "ESC (1BH) + J (4AH)"
code is received, the part of the display from the existing cursor position to the end column on the last line. At this instant, the cursor is not moved.
(ix) Line Erase 3i When the sequence of "ESC (1BH) + K (4BH)"

code is received, the display is erased from the existing cursor position to the end column of the line. The cursor remains unmoved.
(x) Self-Diagnosis (a, When the sequence of "ESC (1BH) +
U (55H~" code is received, "H" is displayed all over the screen and the cursor is set at the first column on the first line (b) When the sequence of "ESC (1BH) +
V (56H)" code is received, displayable characters are displayed on the screen each at the interval of one space. The cursor is set at the first column on the first line.
(5) Received Signal Processing in ESC Sequence Mode When the ESC sequence mode is set up, the foregoing processings are selectively practiced depending upon the content of the character code received next. Thereafter, either the normal mode or the ESC sequence mode is set up. Table 12 shows the relationship between received character codes, functions and post-processing modes.
As described above, the character display 2 serves to display character data and converted character data input through the keyboard 10, in response to form and control data introduced simultaneously with the character data. This allows one to prepare and edit a document on the character display 20~

Referring to Fig. 19, the printer control 34 includes a CPU 340, a ROM 342, a R~ 344, an input buffer 346, a buffer RAM 348, a character generator 350, a line feed motor driver 352 and a cutter motor driver 354. The ROM 342 stores a printer 3~

control program for controlling -the operation of the printing section 32. The RAM 344 stores various data and serves as a working area for running programs.
The input buffer 346 is supplied with parallel data such as 8-bit print data PD and control data CD.
Alternatively, the print data and control data may be input according to the USASCII codes shown in Fig. 21;
the characters shown in the drawing are only illustra-tive.
The character generator 350 stores the characters shown in Fig. 23. Each of these characters comprises a dot pattern which is defined by 20 dots vertically and
12 dots horizontally in the case of a 1/10" character pitch, 16 dots vertically and 10 dots horizontally in the case of a 1/12" character pitch, and 15 dots vertically and 8 dots horizontally in the case of a 1/15" character pitch. Thus, the character generator 350 transforms character data into dot data. Concerning a character with a diaeritical mark, the eharacter generator 350 is supplied with data of its basic character and diaeritie to compose one charaeter. In Fig. 23, the symbols in the eolumn C
are for lower ease eharaeters and those in the column D are for upper case characters.
A shift register 356 processes the parallel data coupled thereto from the character generator 350 into serial data. The serial data is fed to the thermal printer section 32 via an OR gate, which receives underline data from the buffer RAM 348 at its other input terminal, and a bold print circuit 360 adapted for bold print control in response to bold data output from the buffer 3~8.
The thermal printer 30 includes a control panel (not shown) which carries various switches and display lamps having the instructing or displaying functions stated below.
POWER switch: turning on the power source P~PER FEED switch: momentary switch for feeding paper one line when operated once and becomes deactivated or feeds paper continuously up to TOF when operated continuously, the switch being effective only under offline condition.
OFFLINE/ONLINE switch momentary switch which is actuated into online state when the power source is turned on and, thereafterl alter-nately into online and offline states at each time of operation.
LINE FEED PITCH SELECT switch: specifying a line feed pitch of 1/6", ~/4" or 1/3", the switch being effective only undex offline condition.
CHARACTER PITCH SELECT switch: specifying a character pitch of 1/10", 1/12" or 1/15", the switch being effective under offline condition.
SELF-TEST switch: testing various functions and being effective under online condition.
HEAD RELEASE lever: enabling sheets to be loaded, releasing a head section, and setting up on-line mode.
AUTOMATIC CUTTER ON/OFF switch: controlling the drive of an automatic cutter POWER lamp: turning on when the power source is turned on.
ONLIWE lamp: displaying online condition and, when the offline switch or a SHEET EMPTY lamp is turned on, offline condition.
S~EET EMPTY lamp: turning on when sheet is absent or when the head is open and turning off when the online switch is turned on with the head closed, while flashing when the power source has failed.

~ 37 -The ROM 3~2 oE the printer control section 34 stores a printer control program which fulfills the functions discussed below with reference to Fig. 20.
(1) Format Con-trol (i) Space When a code SP (20H) is received, a printing head is moved one character to the right on the same line.
(ii) Backspace In response to a code BS (08H), the head is moved one character -to the le~t on the same line.
(iii) Line Feed In response to a code LF (OAH), the operating position is shifted to the corre-sponding character position on the next line.
If the LF code is received when an internal switch is in a new line position, a new line operation is per~ormed.
(iv) Reverse Line Feed In response to a code RLF (8DH), the operating position is shifted to the corre-sponding character position on the immediately preceding line.
(v) Page Feed In response to a code FF (OCH), the operating position is advanced to the corresponding character position on the first line of the next form (page). At this instant, a broken line (alternating "-" and SP codes) is printed out at the boundary between the successive pages as designated by a page format selection code, which will be described. ~hen the FF' code has arrived while the AUTOMATIC CUTTER ON/OFF switch is - 3~ -ON, the paper is cut at TOF. ~hen it has arrived while the AUTOMATIC CUTTER ON/OFF
switch is OFF, a broken line is printed out.
(vi) Return Line Feed In response to a code CR ~ODH), the operating position is shifted to the home position on the same line. This action occurs only when the CR code is preceded by or followed by an LF code.
(vii) Partial Line Lowering A PLD (8BH) code designates start-of-subscript or end-of-superscript. In response to this PLD code, the operating position is lowered 1/12" vertically and the charasters appearing up to the reception of the next PLU
(8CH) code are treated as a subscript.
viii) Partial Line Raising A PLD (8CH) code designates a start-of-superscript or end-of-subscript. In response to this code, the operating position is raised 1/12" vertically and the characters appearing up to the reception of the next PLD code are treated as a superscript.
(2) Display Control (i) Page Format Selection In response to a code "CSI (9BH) + Pn (parameter) + SP (20H) + J (~AH)", a page format is specified in accordance with the parameter Pn upon the arrival of the follow-ing FF (OCH) code. The relationship between the parameter Pn and the page format is as follows.
Pn = 0: standard page format, oriented longitudinally Pn = 1: standard page format, oriented transversely Pn = 2: A4 page format, oritented longitudinally Pn = 3: A4 page format, oriented trans-versely The default value of the parameter Pn is Pn = 0.
(ii) Selection of Graphic Modification In response to a code "CSI (9BH) ~ Pn (parameter) + m (6DH)", whether or not the following text requires an underline. The relationship between the parameter Pn and the underline is as follows.
Pn = 0: no underline or end underline Pn = 4~ start underline The default value of the parameter Pn is Pn = 0.
(iii) Horizontal Space Selection In response to a code "CSI (9BH) + Pn (parameter) + SP(20H) + X(4BH)", the spacing (pitch) of the following characters is determined. The parameter Pn is variable in any position of a paye and becomes effec-tive after the reception of the next CR (ODH) and LF (OAH) codes. The relationship between the parameter Pn and the character pitch is as follows.
Pn = 0: 1/10"
Pn = 1: 1/12"
Pn = 2: 1/15"
The default value of the parameter Pn is Pn = 0.
(iv) Vertical Space Selection In response to a code "CSI (9BH) + Pn 3~

~parameter) + SP(20H) -~ L (4CH)", the spacing (line feed pitch) between the lines of the following text is determined. The parameter Pn is variable at any position of a page and becomes effective when the next LF (OAH) or RLF (8DH) code is received. The relationship between the parameter Pn and the line feed pitch is as follows.
Pn = 0: 1/6"
Pn = 1: 1/4"
Pn = 2~ 1/3"
Pn = 3: 1/12"
The default value of the parameter is Pn = O.
(3) Print Control (i) Character Code Sequence (a) In response to a code "diacritical mark code + basic character code", a character with a diacritical mark shown in Table 2 is printed out.
(b) In response to a code "non-spaced underline code (CCH) + character code (20H-7FH, A1H-BFH, DOH-FEH)", a character with a non-spaced underline is printed out.
(c) In response to a code "character code -~ BSP (08H) + underline (5FH)Il, a character with a spaced underline is printed out.
(ii) Character Replacement In response to a SUB (1AH) code, an error mark "?" is printed out in the corresponding print position.
(4~ Other Controls (i) Bold-Faced Printing In response to a code "ESC (1BH) ~ B (42H)", bold printing (printing with the line thickened r3~

one dot in the horizontal direction) is started or terminated.
(ii) Left Margin Setting In response to a code "ESC (lBH) + O (4FH) + Pn (parameter)", the print position is immediately shifted to the column position which corresponds to the parameter Pn, at the existing character pitch. Thereafter, the left margin position does not change unless changed by the LMS code.
(iii) Restoration In response to a code "ESC (1BH) + R (52H)", the system is initialized to the condition which was set up when the power source was turned on, after the operation for all the data received up to that time has been completed.
(iv) Automatic Paper Cut In response to a code "ESC (lBH) ~ E (45H)", the paper is cut at TOF if the AUTOI~ATIC CUTTER
ON/OFF switch is ON and is cut at the then existing print position if the switch is OFF.
(v) Automatic New Line When character codes are input beyond the maximum allowable number of characters on the line during printing operation with a specified pitch, the line is automatically fed to continue the printing operation.
(vi) Self-Test The test characters (7FH, AOH, FEH1 shown in Fig. 23 are generated and printed ou-t auto~
matically.
Where the communication terminal unit is constituted by the thermal printer as discussed above, significant reliability of operation is achieved due to thermal printing which is one supply. Additionally, the printing ~Z~
- ~2 operation can be sped up due to the high printing rate.

The FDD's 52 and 54 of the external storage 50 comprise known 8" both-side double density drive floppy disc devices and, therefore, details thereof will not be described for simplicity. The FDD control 56 forms part of the system control 80 and, therefore, it will be described in detail in connection with system control 80.
CO~MUNICATION CONTROL (CCU) 60 Referring to Fig. 24, the communication control 60 includes a CPU 602, a ROM 604, a RAM 606 for storing document data, interfaces 608 and 610 and a line interface 612. The ROM 604 stores a CCU control program for the control of transfer of transmission document data and received document data. The RAM 606 temporarily stores such data while serving as a working area for practicing a program. The interface 608 ex-changes data with the system control 80. The interface 20 610 supplies data to the display lamp 62 which is adapted to store that the RAM 606 has stored trans-mission document data. Further, the line interface 612 exchan~es data with the line connecting section 70. Details of the interface 608 will be described later in connection with the system control 80.
Referring to Fig. 25, the CCU control program stored in the ROM 71 will be described in detail.
STEP 1: The communication control 60 is initialized.
The CCU initialize routine is shown in Fig. 26.
STEPS 2-10: In response to a command from the system control 80, the document send, RTC set, RTC read and self-test are selectively practiced depending on the received command. "RTC" in the drawing stands for real time clock.
STEPS 11, 12: In response to a call from another communication terminal unit, the document send control is effected.
Fig. 27 is a flowchart showing the document send routine practiced at the STEP 4 of Fig. 25. In Fig.
5 27, STEP 1: The communication control 60 receives from the system control (SCU) 80 the dial number of a desired remote station together with trans-mission document data.
STEP 2: Because the transmission document data from the system control 80 is in the WordStar (WS) format, it is trans~ormed into the format for word processing terminal units capable of interna-tional communication ~referred simply as "terminal unit (CWP) format" hereinafter). The transformed data is stored in the ~AM 606.
STEPS 3,4: After the format conversion, the terminal device is connected to the line.
STEPS 5~7: After the line connection, the transmission document data is transferred to the line connecting section 70 to be transmitted.
The result of transmission is notified to the system control 80.
STEPS 8 or 9: If the format conversion or the connection to the line has failed, the result is notified to the system control 80.
Referring to Fig. 28, the document receive routine at a STEP 12 will be described. In Fig. 28, STEPS 1, 2: In response to a call from a remote terminal unit, the communication control 60 performs a predetermined processing, receives document data coming in through the line connect-ing section 70, and stores them in the RAM 606 for a moment.
STEPS 3, 4: The communication control 60 informs the system control 80 of the storage of the received document data in the RAM 606 and receives a command from the system control 80.
STEPS 5-8: If the command from the system control 80 commands recording a-t the -thermal printer 30, the communication control 60 feeds the received document data -to the system con-trol 80. If the command commands storage in the external storage 50, the communication control 60 supplies the data to the system control 80 after transforming the format of the data.
STEP 9: If the command from the system control 80 instructs the communication control 60 to hold the data in the RAM 606, the latter main-tains the data in the RAM 606. ~owever, when the capacity of the P~1 606 has approached its limit, the supply of the data to the thermal printer 30 or the external storage 50 has priority to the data hold in the RAM 606.
Details of the conversion between the WordStar ~WS) format and the terminal unit (CWP) format at the STEP 2 of FigO 27 and STEP 8 of Fig. 28 will be later described in detail in conjunction with the printer 5 output program in SYSTEM CONTROL 80.
In this manner, the communication control 60 has the RAM 606 for storing document data so as to control the transmission and reception of document data independently of the operator's local work. When received document data is stored in the RP~I 606, the communication control 60 informs the system control 80 of the storage and delivers the data from or holds the data in the R~1 606 depending upon a command from the system control 80. With this construction, document data can be received from another terminal - ~5 -unit even though both terminal printer 30 and external storage 50 may be unusable. This promotes high speed data transmission.
The communication control 60 is connected to the line switching network by the line connecting section 70.
The protocol for the line connection, trans-mission and reception occurs according to various layers which conform to the CCITT's advice and are enumerated below:
~i) line switching interface (layers1, 2) (ii) link layer, network layer procedure (layers 2l 3) (iii3 transportation layer procedure (layer 4) (iv~ session document layer procedure (layer 5) For details of these layers, reEer -to CCITT's advice F~x, S.c, S.d, S.f, S.h, X.75 and Nippon Telegraph and Telephone Public Corporation's "Interfaces for Line Switching Services".

Referring to Fig. 29, the system control 80 comprises a CPU unit 810, a dynamic RAM or D-RAM unit 820, an interface unit 830 for the keyboard 10, character display 20 and thermal printer 30, and the FDD control 56 made up of an interface unit 840, a universal DMA unit 850, FDC controller formatter unit 860 and an FDD interface unit 870. The CPU unit 810 includes a CPU 811, a clock generator 812, an inter-rupt controller 813, a parallel I/O 81~ supplied with parallel data and a driver/buffer 815. The D-RAM unit 30 920 includes a D-RArl 821 having a storage space which is divided into a system area, banks #0 and #1, a D-RAM
controller 822 adapted to control the switching of the banks #0 and #1 from one to the other, and a driver/
buffer 823. The interface unit 830 includes a 35 driver/buffer 831, an interrupt controller 832, an interface 833 for the keyboard 10, an interface 834 for the character display 20 and an interface 835 for the thermal printer 30.
The interface unit 840 includes a boot ROM 841 for storing hoostrap, a boot ROM selector circuit 842, a driver/buffer 844, an I/O data bus driver/
buffer 845, an I/O control signal generator 846 and a DRQ, DACK, I/O, R/W driver/buffer 847. "DRQ" stands for DMA request, "DACK" for DMA request ac]~nowledged and R/W for read/write. The universal DMA unit 850 includes a driver/buffer 851, a DMA controller 852, and DRQ, DACK, I/O, R/W driver/buffer 853. The interface unit 840 and universal D~A unit 850 co-operate to constitute a CPU interface for the FDD ' s 52 and 54 which controls the exchange of commands, statuses, track addresses, sector addresses and like control data as well as the transfer of storage data.
The FDC controller formatter unit 860 includes an I/O data bus driver/receiver 861, a control signal 20 driver/buffer 862 and an FDC controller formatter 863.
This unit 860 functions to control the head position-ing based on storage data and control data from the interface unit 840 and to read or write data according to a format. The FDD interface unit 870 includes a 25 driver/receiver 871 and a data separator 872. This unit 870 controls the signal exchange between the FDC controller formatter 863 and the FDD' s 52 and 54 and separates read data into data and clock pulses.
In the system control 80 thus constructed, the previously mentioned operating system (OS), file maintenance program, word processing program, display output program, printer output program, CCU trans-mission program, CCU reception program and other programs are stored in a floppy disc. When the power source is turned on, a reset signal RESET is fed to Q5~

the boot ROM selector 842 so -that the OS, file maintenance program and CCU reception program are loaded in the system area of the D-RAM 821 in accordance with the bootstrap stored in the boot ROM 841. The other programs are selectively practiced by manipulating the keys on the keyboard 10 to input the file name of a selected program.
Then, based on the OS, a program corresponding to the file name is read from the floppy disc into the non-resident program area of the D-RAM 821.
Hereinafter will be described the various programs on which the operation of the system control 80 is based.
(1) OS & File Maintenance Program Concerning this program, reference is made to the MP/M User's Manual because it uses the general purpose MP/M software as already rnen-tioned.
(2) Wora Processing Program Again, this program uses the general purpose WordStar software and will become apparent from the WordStar User's Manual.
(3) Display Output Program The file of the WordStar (WS) format designated by keys on the keyboards 10 is read from the floppy disc. After format conversion, the file containing characters with diacritical mark symbols and special characters in terminal unit (CWP) format codes is supplied to the character display 20. The following functions (a) - (i) are satisfied.
(a) In response to manipulation of the keys OA > TY~ ~ ", the program is read from the file into the D-RAM 821. As the run begins, the character display 20 displays on its associated CRT 210 A~FILE~NAMEQ?
Then, the file name is input through the key-board 10 and, if it consists of lower case characters, they are converted into upper case characters.
(b) When the question in (a) is answeredonly by the "J " key, the control is returned to OS.
(c) When the file name input -through the keyboard 10 is read, whether the file name matches with the format of the MP/M file name is checked. If erroneous, the CRT 210 displays ~ ERROR~EILEGN~E~FORMAT
and displays the question in (a~ again.
(d) The designated file is opened. If the file is not found, the CRT 210 displays ~ ERROR~FILE~NOTAFOUND
and displays the question in (a).
(e) The data in the designated file is read out sequentially one block at a time by use of a system call.
(f) The read data is subjected to code conversion as shown in Table 13.
(g) The code-converted data is coupled to the character display 20 and displayed using a system call.
(h) Upon completion of the output to the character display, the question shown in (a) is displayed on the CRT 210.
(i) This program is performed under MP/M.
(4) Printer Output Program The file of the WordStar (WS~ format specified through the keys on the keyboard 10 is read from the floppy disc, transformed in-to codes of the v terminal unit (CWP) format, and fed to the thermal printer 30. This program fulfills -the following functions.
(a) The keys "OA > PRINT ~ " are de~ressed to read the file into the D-RAM 821. As the run begins, the CRT 210 of the character display 20 displays ~FILE~NAME~?
and inputs the file name which is entered through the keyboard 10.
(b) When the file name is input, whether or not it matches with the format of the MP/M
file name is checked and, if erroneous, the CRT 210 displays ~Q~ERROR~FILE~NAME~FORMAT
and the control returns to OS.
(c) The file is opened. If the file is not found, the CRT 210 displays ~ ERROR~FILEQNOT~FOUND
and the control returns to OS.
(d) If the file has been opened, a queue is read out for mu-tual exclusion which prevents the use of the thermal printer 30 from conflicting with the print program of the received document data. The queue if read out shows that the use of the thermal printer 30 has been permitted.
Ie) The data is read out block by block sequentially from the designated file by use of a system call.
(f) The read data is subjected to code conversion shown in Figs. 14 - 16. The codes not shown in these Tables are not converted.
(g) The data undergone code conversion and the data unnecessitated code conversion are ~f~

fed to and printed out by the thermal printer 30 using a system call.
(h) At the end-of-file, a message is written in the cross exclusion queue to indicate the end of use of the thermal printer 30 and the control returns to the OS.
(i) This program occurs under MP/M.
(jt Additionally, the status of the thermal printer may be read to control the irregular processing in accordance with the status.
(5) CCU Transmission Program The file of the WordStar format designated through the keyboard 10 is read from the floppy disc and fed to the communication control 60.
The dial num~er of a remote terminal device or addressee input through the keyboard 10 is also supplied to the communication control 60. This program satisfies the following functions (a) ~m).
(a) The keys "SEND ~ " are depressed so that the program is read from the file into the D-RAM 821. Then, the CRT 210 of the character display 20 displays ~Q~DOCUMENT~SEND~PROGRAM.
(b) The communication control 60 supplies the system control 80 with the date and time of real time clock in the control 60. The CRT 210 displays the data and time, for example, May 28, 1981, 11.42, as ~DATA~TIME~MAY. 28~'81~11.42 (c) The CRT 210 displays ~FILE~NAME~?
and the file name entered through the key~
hoard 10 is input.
(d) When the file name entered through the keyboard 10 is input, whether the file name matches with the format of the MP/M file name is checked and, if erroneous, the CRT
210 displays a~ ERROR~FILE~NAME~FORMAT
and then the question in Ic).
(e) The file is opened. If the file is not found, the CRT 210 displays ~ ERRORQFILEQNOT~FOUND
and then the same question as in (c).
(f) If the file has been opened, the CRT
210 displays ~DIAL~NUMBER~?
and the system control receives the addressee's dial number through the keyboard 10.
(g) Whether the dial nu~ber input through the keyboard 10 is a 7-digit number (in the case of NTT DDX) is checked, and, if not, the CRT 210 displays ~A~ERROR~DIAL~NUMBER
and the operation returns to (e).
(h) The dial number and the data of the designated file are fed to the communication control 60. The format (code) conversion for the data shown in Tables 14 - 16 is performed by the communication control 60 as previously described (see Fig. 27).
(i) The system control 80 receives the result of transmission from the communication control 60. If the transmission has been completed, the CRT 210 displays ~SEND~COMPLETION
but, if the transmission has failed due to error, G~ ERROR~XXX. A ~ X~SEND~FAIL

Here, "xxx...x" indlcates a kind of the error.
(j) The result of transmission fed from the communieation control 60 is s-tored in a predetermined file.
(k) The CRT 210 displays ~A~ERRORASYSTEM~n when any error has occured in the exchange of cormnands and responses between the communication control 60 and the system control 80. In this instance, "n" is a numeral.
(l) This program occurs under ÇIP/M.
(m) For preparing this program, reference is also made to a CCU interface program which will be described.
(6) CCU Reception Program The system control 80 receives document data reeeived by the cornmunication con~rol 60 and instructs to print out, store or hold the data in the communication control 60, depending upon the states of the thermal printer 30 and external storage 50. This program fulfills the following functions (a) - (k).
(a) This program is loaded in the D-RAM 821 simultaneously with initial loading of MP/M
and is capable of running whenever the communication control reeeives document data.
~b) This program remains in a waiting state until the communieation eontrol 60 requests by interruption to inform it of the reeep-tion of document data.
(c) Once out of the waiting state, the program checks whether or not the thermal printer 30 is usable and, if so, instructs the communication control 60 to feed the data to the system control 80.
(d) If the thermal printer 30 is unusable, fresh one of the files for storing received document data is searched and prepared.
Then, the communication control is instructed to supply the data to the system control 80.
As already mentioned, the format conversion as shown in Figs. 14 - 16 is carried out at the communication control 60 (see Fig. 283.
(e) If the thermal printer 30 is unusable and no fresh file is available, the system control 80 notifies the communication control 60 that it cannot accept the received document data.
(f) The system control 80 prints out the data fed from the communication control 60 on a paper sheet at the thermal printer 30 or stores the data in the file of the external storage 50.
(g) Before using the thermal printer 30, another program is employed to check whether or not the thermal printer 30 is in operation by use of the MP/M queue 'MX List~A'. If the thermal printer 30 is in use, this program is held in the waiting state by MP/M until the printer becomes usable.
(h~ The result of reception of the document data is stored in a predetermined file.
(i3 After the reception processing, the operation returns to (b).
(j) This program proceeds under MP/M.
(k) For preparing this program, reference is also made to a CCU interface program which will be described hereunder.

Ji 2~
- 5~ -The CCU interface program is re~erred to in preparing the CCU transmission and reception programs.
This program prevents the exchange of commands and responses between the communication control 60 and the system control 80 from conflicting with each other in the interface 610 of the communication control 60, due to the run of the CCU transmission and reception programs.
Referring to Fig. 29, the interface 608 of the cornmunication control 60 comprises an 8-bit output port 620 for the delivery of data from the system control 80 to the communication control 80, an 8-bit input port 622 for the delivery of data from the communication control 60 to the system control 80, a status port 622 for outputting status data, and an interrupt request terminal 626 for requesting the system control 80 an interruption. The status port 624 indicates a data set status at the output port 620 when do = 1, a data set status at the input port 622 when d1 = 1, and an idle state when d~ = 1 which in neither the transmission state nor the reception state.
Next, description will be made of the commands and responses exchanged between the communication control 60 and the system control 80.
(a) Commands The commands with which the system control 80 requests the communication control 60 to practice the various ~unctions are constituted by the code trains shown in Table 17.
(b) Responses Table 18 shows code trains which are the responses the communication control 60 makes upon accepting the commands from the system control 80. Table 19 shows code trains which are the responses the communication control makes when it does not accept the commands.
(c) Kinds of Commands and Responses Tables 20 - 22 show the kinds of commands and responses.
The kinds of such commands and responses will be described with reference to Tables 20 - 22.
(i) Function no. 1: The system control feeds a document to the communication control 60 in order to transmit a document which is stored in the document send file. An addressee's dial'number is added to the head of the document code train.
(ii) Function no. 2 (document receive): The system control is supplied with a document which the communicati,on control 60 received.
In this case, a response precedes a command, that is, the communication control delivers a response to request interruption when received a document. Then, the system control delivers a command with a parameter which designates the thermal printer 30 or the external storage 50.
(iii) Function no. 3 (RTC set): The data and time is set in the real time clock (RTC) included in the communication control 60.
(iv) Function no. 4 (RTC read): The data and time indication by the real time clock in the communication control is read.
(v) Function no. 5 (self-test): The communi-ca-tion control is caused to test itself.
Next, the CCU interface program will be described.
Referring to Figs. 30 - 33, there are shown the commands and responses which appear in a background program, foreground program, interrupt routine and CCU receive routine.

(a) ~oreground Routine The foreground routine is shown in FigO 30.
(i) CCU Idle The idle state of the communication control implies that the background routine (CCU reception program) is waiting. In this situation, the ~oreground routine is allowed to freely use the interface 608 thereby causing the exchange of commands and responses.
At this instant, the communication control must not respond to a call from the line until the processing of the function completes.
(ii) CCU Not Idle The non-idle state of the communication control implies that a received document is present in the R~1 606 of the communication control. While the communication control 60 is also non-idle during transmission, a command will never be delivered from the foreground routine during transmissionO In this case, the foreground program is main~
tained in the waiting state by CCU polling (see MP/M) until the communication control becomes idle. During this period of time, the background program rereceives the received document exclusively using the interface 608 (iii) Cancel Response This response appears when the communi-cation control 60 becomes busy after the Eoreground routine has sensed the CCU idle state. Then, the communication control 60 delivers a cancel response against a command from the foreground program, in order to give priority to the transfer of the received document to the system control 80.

(b) Background Program This program will be described with reference to Figs. 31 and 32.
The background program is resident in the D- ~ 821 of the system control 80 but, before the communication control 60 delivers a received document output request, it is held in a FLAG
WAIT (see MP/M) state. Then, as shown in Fig. 32, the background program inputs a response and sets FLAG by the interrupt routine in response to an interrupt request. Thus getting out OI the waiting state, the background program exclusively uses the interface 608 to accept the received document fed from the co~nunication control 60.
(c) CCU Receive Routine This program will be described with reference to Fig. 33.
When the received document is to be handed on to the system control 80, the CCU receive routine clears the CCU idle state so as to prevent the foreground routine from using the interface 608. Because the foreground routine may deliver a command just before clearing the CCU idle, the routine waits 40 msec, for example, and sees whether or not a command arrives. If it arrives, the routine delivers a cancel responsej if not, the routine supplies the system control with a print request response by interruption, delivers the received document, and then sets CCU idle.
Such hardware and software constructions prevent -the commands and responses from conflicting with each other at the interface 608 due to the CCU transmission and CCU reception programs.
I`hus, the system control 80 is designed to control the system based on the general purpose soft ware.

This readily permits the various units to be totally controlled for office automation.
Reference will also be made to Fig. 34 to describe the procedure for operating the terminal device described hereinabove.
(1) Preliminary Operation (STEPS 1-3) The floppy disc storing the OS, file maintenance program and the like for the system control 80 is loaded in the F~D 52 and, then, the main switch of the device is turned on. The OS, file maintenance program and CCU reception program are loaded in the D-RAM 821 of the system control 80, preparing the device for manipulation and reception. Thereafter, a floppy disc is loaded in the other FDD 54 to see whether the key-board 10 is manipulatable.(2) Preparation or Correction of Document (STEPS 4-12) Whether or not to use the file of the loaded floppy disc is decided and, if not, the floppy disc is replaced by another which has a desired file. The keyboard 10 is manipulated to input the names of editing programs (word processing program and display output program). Then, the word processing program and display program are read from the file of the floppy disc into the D-RAM 821 of the system control 80 and practiced. The operator is now ready to prepare or correct a document.
The operator, watching the character display 20, manipulates the keyboard 10 to input a desired file name to designate a format so that the desired file is displayed on the character display 20. Thereafter, the operator manipulates various keys such as the graphic character keys and form control keys, causing the character display 20 to display the input text and form thereon. The operator is now allowed to prepare or correct a document on the character display 20.

After the preparation or correction of the document, the operator depresses -the EOF key on the keyboard 10 to file various data concerned with the documen-t in the floppy disc.
(3) Transmission of Document (STEPS 13-19) The operator decides whether or not to transmit the doeument filed in the floppy dise and, if not, replaees the floppy disc with another which has filed a desired document. As the operator depresses the transmission (SEND ~ ) keys on the keyboard 10, the CCU transmission program is read out into the D-RAM
821 of the system control 80 and practiced. The operator, watching the character display 20, manipulates the keyboard 10 to input the file name and addressee's dial number, so that the desired document is trans-mitted to the addressee or remote terminal unit.
(4~ Document Printing (STEPS 20-24) The operator decides whether or not to print out the document filed in the loaded floppy dise and, if not, replaeed with another which has filed a desired doeument. The operator then depresses the print (PRINT ~ ) keys to eause the print output program to be read out into the D-RAM 821 of the system eontrol 80 and praetieed. Finally, the operator inputs the file name through the keyboard 10 while watehing the eharaeter display 20, the doeument thus being printed out on a sheet.
The terminal deviee diseussed above is furnished with a first power souree for supplying power to the 30 keyboard 10, eharaeter display 20, system control 80 and external storage 50 which are adapted for local work such as word processing, and a second power source for supplying power to the printer 30, communication control 60 and line connector 70 which are adapted for communication. While the first power source powers ~2~
~ 60 -the associated equipmen-ts only when local work is to be done, the second power source constantly powers the associated equipments for communication. With this arrangement, the terminal device of the present invention insuresthe communicating function all through the day, saves power consumption and remarkably prolongs the service life of each equipment.
In summary, it will be seen that the present invention provides a communication terminal device which achieves excellent operationability, reliability, durability and high speed operation while finding a wider range of application, in both the editing and communicating functions.
Various modifications will become possible for those skilled in the art after receiving the teachings of the present disclosure without departing from the scope thereof. For example, apart from the interna-tional communication, the terminal device may be constructed to accommodata the use of Japanese, for example, or to serve as a videotex or to have both the functions mentioned. The constructions of the keyboard 10, character display 20, thermal printer 30, external storage 50, communication control 60, line connector 70 are not limited to those shown and described but may be replaced with others.

g~

Table 1 (1~ I N F0 (4) OUT ~8 Do~iB DATA 1 Control Word Reg A = 90 DlKB DATA 2 D2KB DATA 3 (5) I N F9 DsKB DATA 6 D6KB DATA 7 (6) OUT F9 D7~B DATA 8 Ds KB DONE CLEAR
(2) OUT Fl (7) I N F8 ~ Unused Do1 0 LED ON R~D REAR
D~1 2 LED ON
D~1 5 LED ON (8) I N F9 D~1 5 LED ON STATUS READ
Ds 2 L ED ON
D6xxx l,ED ON (9) OUT F8 D7 x LED ON
R ~ D , MO D E I N S T R U C T 1 O N
(3) OUT F2 WR I TE

Do SYMB LED ON
Dl DIAC LED ON COM.~AND INSTRUCTI ON
D2 TELEX LE~D ON
D3 JUSTI LED ;)N CONTROL WRITE

c ~ c~ ~ o ~ o ~ 3 ~ :~ ~.. _ e~ oq ~ t~ ~ n o iD
t~ ~ X ~ C C ~ ~ ~ ~ ~ O Z ~ ~ ~ ~ ~ ~ ~ ~ W ~ ~ W ~ Basic Character cl , ~ o~ n~ Pl Acute c~ 0~ Gravity cn~ o) ~ -> ~ ~> n) P~ .
> o~ ~>X)~) ~ Clrcumflex . i~ ~ Diaeresis Umlaut Cl O~Z~ 1 Nasal N~ ~<~< y< ~ t~ arron c( ~ Breve ~b c~ 0~
C~ 0~ Double Acute Co ~ Ring D. n .
~- ~- ~- ~- Dot cl o~ ---I ~1 P~i Cl 01 ~1 ~1 ~I Macron ~ v~ ~ Cedilla ~c ~C ~ ~ Ogonek Tab l.e 3 Input Key Output Code Code 7 B A (a) 7 B
2 7C (o3 7D
. .
3 7D U ~i.i) 7 E
4 5 BA SF (A)2 4 5 5 CO SF (O)~ C

7 5E ~3 2 3 Table 4 Input Key Output Code Code ~10, 1 O, 2 2 4 ~P Ap ~p <$>
2 23 ~tlo, lo, 26 3 3C 10. 10. 2 3E ~ 1 o. 1 o, 30 6 0 2 1 o, 1 o, 32 6 7E 3 lo, I o, 33 ~ o, lo, 35 Tab le S

InputKey Output Code Code 9 E 1 . 1 0, 4 ~
2 9 F 10, 10, ~ 2 Tab le 6 Input Output Code KeyCode 3SI~ TAB ~ I
AON

59D ~ AQR
6 9C ~1 ~QE, 10 83 ~), AOX

139 7 S ENDR SE~l) J

Table 7 ICpdeKeyOutput 2 8 6 1 2~ CW~ 1 0J
3 8 7 1 5~W~ ~J
4 88 1 L~ 8J
5 8 ~ 1.5 L:H~ 1 2J

6 8A 2L~I~ 1 6J

Tab le 8 InputKeyOutput 9 6 CHAR ~ G
29 5WORD /\ T
39 4LINE ~ Y

9~

Table 9 Control Code Received Data Display Remarks P L D ~V (SE~ 56H~ ~ V Subscript start/end P L U AT (SEH, 54H~ ~ T Superscript start/end S U B SUB (1 AH) ? (3FH) CSI, 0, SP, J-PFS SP 0 ~PFS~ 0 LongitudinaI s.P.F.
CSI, 1, SP, J ~-PFS SP 1~PFS~ 1 Transverse B.P.F.
CSI, 0, SP, K C W SP 12 C W ~ 12 Horizontal space 1~10"
CS I, 1, SP, K C W SP 1 0 C W ~ 10 Horizontal space 1/12"
CS I, 2, SP, K C W SP 8 C W ~ 8 Horizontal space 1/15"
CSI, 0, SPI L L H SP ~ 8 L H v 8 Vertical space 1/6"
CSI, 1, SP, L L H SP 12 L H v 12 Vertical space 1/4"
CSI, 2, SP, L L H SP 16 L H v 16 Vertical space 1/3"
CS I, 3, SP, L L H SP 4 L H ~ 4 Vertical space 1/12"

Table lO

Q) - a) .
~ I ~ 1 o ~ o O
x ~ x 2 21 ! 19 3~ 2 3 Z~ ~ 20 33 3 4 23 ~ 21 34 4 6 25 ~ 23 36 6 7 26 & 24 37 7 8 27 ' 25 3~ 8 9 28 ( 26 39 9 10 2 9 ) 27 3A
11 2 A * 28 3B
12 2B ~ 29 3C <
13 2C , 30 3D
14 2D -- 31 3E >
15 2E . 32 3F 7 1 6" ~ / 33 40 ~ ~ ~ ~ ~ ~ ~ ~ Column No t~ ~ t~ t~ t~ t~ t~ t~ t~ !~ He C d W ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ w t~ ~ o xa o e J ~ ~ Character ~ ~7 c" t~ t~ t~ ~ t~ t~ t~ ~ t~ t~
~ ~ ~ ~ ~1 ~ ~ ~ ~ o ~ ~ ~ Column No w t~ ~ ~ ~ ~ ~ ~ ~ w w' ~ ~ w ~ H d exa Co e V 11 ~ - w ~ ~ ~ ~ ~ ~ ~ ~ O Character t~ ~ ~ ~ ~ ~ ~ ~ ~ Column No .
~ ~ ~ ~ ~ ~ ~ ~ ,~ ~ ~ ~ ~ ~ ~ ~ Hexa Code O Z ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Character C- 0~ cn ~ Cll Vl Vl V~ Vl Vl Vl Vl Vl tn vl ~
~ ~ t~ ~ o ~ ~ ~ ~ vl ~ ~ ~ ~ o ~ Column No l vl ~,- vl ~ u, vl v, vl v, vl u~ u- v, vl v-w ~ ~ ~ ~ ~ vl ~ w ~ ~ o Hexa Code I > ~ 0 A ~ ~ X ~ ~ ~ ~ ~ ~ ~ ~ Character O ~ n ~ C,~ ~ cn cvn CO lumn No w ~ ~ ~ ~ ~ v, ~ ~ ~ ~ O Hexa Code ~ ~ ~ ~ n ~ n ~ ~ C Character Table 12 Received Post-Process Character Code Functlon Mode Neglected Null ESC
Control Code BS Backspace ESC
HT Tab ESC
NL New line Normal CR, LF Return, Line feed ESC
FF Screen elear Normal ESC ESC Sequence ESC
Character code with no funetion Null Normal speeified ~ndefined Null ESC
Charaeter Code A. Cursol up eontrol null Normal B. Cursor down control Normal C. Cursor forward control Normal D. Cursor baekward eontrol Normal H. Cursor home control Normal E. Sereen clear Normal I. Read cursor address Normal J. Screen erase Normal K. Line erase Normal Y. Cursor addressing Normal P. Character normal display Normal Q. Character blink display Normal R. Character inverted display Normal ~.V. Self-diagosis Normal.

# One of NL and CR.LF is employed according to the designation.

Table 13 No. Wordstar Code Display Output BS (~H) BS (AH) SUB SUB

7 AS ~S

9 A P O D7 Of character in O made 1 10 Control codes other than No output 11 All dot command Output intact Table 14 No. Wordstar Terminal Remarks Code Device Code A S C S I + 4+m Underline start 2 A B ESC+B Bold start/end 3 A D E S C +D Double strike start/end 4 A X E S C +X Strike out start/end A V P LD Partial down start/Partial up end 6 A T P LU Partial line up start/partial line down end 7 ~ y ESC + Y , Ribhon lift start/end 8 A C A C . . Upon detection of AC, printer output program is stopped and restarted by operator's (SP) key strike 9 A A CSI +l+ SP~ K Specify 1/12" character pitch ~N CSI-~O+SP+K Specified 1/10" character pitch Il A K Null Neglect and omit this code l2 ~ F Null Same as above Tab le 15 Wordstar Terminal Remarks Code Device Code 13 ~ G Null Neglect and omit this code 14 ~ 0 Null Same as above A H B S Backspace
16 ~ Q RLF Reverse line feed
17 A W C SI+ O~m Underline end
18 ~ E ESC+ E Auto-paper cut
19 ~ R ESC + R Restore A L F F Form feed 21 ~ M C R Carriage return 22 A J L F Line feed 23 ~ LH n) CSI+ Pn~SP+L Interline pitch designation n = 4-~Pn= 3 (12 line/in) n = 8 ~Pn= 0 ( 6 line/in) n =12 ~Pn= 1 ( 4 line/in) n = 16 ~Pn= 2 ~ 3 line/in) Default value Pn-0 24 ~P L n ) Null Neglect and omit this code ~5 MT n ) Null Same as above 26 MB n ~ Null Same as above 27 ~ HM n~ Null Same as above 28 FM n J Null Same as above 29 oPC n J Null Same as above 30 P0 n J Null Same as above 31 ~ PA ) F F E`orm feed 32 C P n J Null Neglect and omit this code 33 ~ HE J Null Same as above 34 F0 J Null Same as above 35 ~ OP J Null Same as above Table l6 Wordstar Terminal ~o. Remarks Code Device Code 36 PN J Null Neglect and omit this code 37 ~ PN n J Null Same as above 38 CW n J CSI ~PD+SP+L Character pitch designation n = 12-~PD= O (10/in) D = 1 O~~Pn - 1 (12/in) n = 8 ~P~= 2 (15/in) Default value Pn = O
39 ~ S R n ~ Null Neglect and omit this code ~ UJ QFF ~ ESC+ J~ Microjustify off (or UJ O J) Thermal printer non-effictiv~
Daisy printer effective 41 UJ ON ~ ESC+ K Microjustify on (orUJ 1 ~) Thermal printer non-effectiv~
Daisy printer effective 42 BP OFF ~ ~SC+ P Bidirection print off (or-BP O J) 43 ~ BP ON ESC + Q ~idirection print on (or-BP 1 44 1G t~J Null In response to this code, remainlng text on the llne (or k~) inclusive of the code is not delivered ~PFS 0~ CSI+ 0~ SP+J Select longitudinal pa~e 4fi ~ PFS 1~ CSI+1~Sp ~J Select transverse pagefO t Table 17 Cc,mmand Header 1byte ( C ~ Character C) ~unction No. 1byte Parameter nbyte (sometimes n = O) Table lg Response Headet I byte ('R' ) Funtion No. 1 byte Parameter nbyte (sometimes n = O) Tab le 19 Response Heater R
Function No. C

Table ''O

N 0. Function Command Response Remarks.
1 Document Send C
r ~,v r ~ Document (Code train I A H
R

nY

Transmission n = O Complete n - 1 Character Improper n = 2 Dial number ~2~

Table 21 N O Function Command Response Remarks 2 Document Receive R Recieve by 2 Interrupt 'C' ~2 'n~

Printer n = P Output D = F File Output D = C Cancel IR
'2-Document ~Code train 3 Real Time C
Clock Set ' R' ' 3~

Y

~0 1 D 1 0 ~ Terminal D 1 device Code H
MI I O
~1 1 J

-74~

Table 22 0. ~unctionCommand Response Remarks 4 Real Time C
Clock Read 4.
'R' '4' Y

~0 1 D 1 0 Terminal D 1 unit Code H lo 5 Self-Text C Used under 5- Offline 'S' n' n = 0 Test Complete n = 1 Error 'R' Cancel Response

Claims (10)

THE EMBODIMENTS OF THE INVENTION IN WHICH AN EXCLUSIVE
PROPERTY OR PRIVILEGE IS CLAIMED ARE DEFINED AS FOLLOWS:
1. A terminal device capable of editing a document and communicating data, comprising.
input means for inputting character data, form data and control data which are necessary for preparing and transmitting data and system control and character data conversion instruction data for instructing the character data to be converted into predetermined character data, and outputting the input character data, form data and control data and the converted character data corre-sponding to the input character data, in response to a result of the input of said various data;
display means for receiving character data, form data and control data necessary for preparing a document and display control and character data conversion instruction data for instructing the character data to be converted into predetermined character data, and displaying the input character data and converted character data in response to a result of input of said data;
printer means for receiving data of a prepared document, data of a received document and form data and control data which are necessary for print control, and printing out the prepared document data and received document data on a sheet in response to said data;
external storage means for inputting data of a prepared document, data of a received document and control data which is necessary for storage control, and storing the prepared document data and received document data in response to said data;
communication control means for receiving data of a document to be transmitted and control data necessary for transmission control, so as to control the transmission of the prepared document data in response to said data and the reception of a document transmitted to the terminal device from a remote terminal device; and a system control section for controlling the display means, printer means, external storage means and communication control means in response to the character data, converted char-acter data, form data and control data fed from the input means, and the received data fed from the communication control means, said system control section comprising storage means for causing to be resident therein a control program for practicing a control which outputs the received document data to an output section or the external storage means, and a supervisor program for alter-nately practicing the control program and another program necessary for system control.
2. A terminal device as claimed in claim 1, in which the communication control means comprises a ROM which stores a CCU
control program for controlling the transmission of the transmis-sion document data.
3. A terminal device as claimed in claim 2, in which the communication control means further comprises a RAM having an area which functions as a working area for running the CCU control program A
4. A terminal device as claimed in claim 1, in which the storage means comprises a system area for storing the control pro-gram and supervisor program, an area for storing data and an area which functions as a working area.
5. A terminal device as claimed in claim 1, in which the control program comprises a CCU reception program and the super-visor program comprises an OS.
6. A terminal device as claimed in claim 1, in which the input means comprises a keyboard, and keyboard control means for controlling said keyboard, said keyboard control means including a program ROM for storing a keyboard & console control program, a conversion ROM for storing a conversion table for converting the input character data into the predetermined character data, and a RAM for storing the input character data and having an area which functions as a working area for practicing said program.
7. A terminal device as claimed in claim 1, in which the display means comprises a CRT display and CRT control means for controlling the CRT display, said CRT control means including a ROM
for storing a CRT control program and a RAM for storing the input character data and having an area which defines a working area for practicing said program.
8. A terminal device as claimed in claim 1, in which the printer means comprises a printer and a printer control means for controlling said printer, said printer control means including a ROM for storing a printer control program and a RAM for storing the input data and having an area which defines a working area for practicing said program.
9. A terminal device as claimed in claim 1, in which the external storage means comprises a floppy disc drive and floppy disc drive control means for storing a floppy disc drive control program.
10. A terminal device as claimed in claim 1, further com-prising a first power source for supplying power to the data input means, display means, external storage means and system control means, and a second power source for supplying power to the com-munication control means, said second power source being constantly turned on.
CA000418623A 1981-12-29 1982-12-24 Terminal device for editing document and communicating data Expired CA1200910A (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JPP56-212194 1981-12-29
JP56212194A JPS58127229A (en) 1981-12-29 1981-12-29 Communication terminal device
JP57027504A JPS58144944A (en) 1982-02-24 1982-02-24 Terminal device for document production communication
JPP57-027504 1982-02-24

Publications (1)

Publication Number Publication Date
CA1200910A true CA1200910A (en) 1986-02-18

Family

ID=26365432

Family Applications (1)

Application Number Title Priority Date Filing Date
CA000418623A Expired CA1200910A (en) 1981-12-29 1982-12-24 Terminal device for editing document and communicating data

Country Status (3)

Country Link
US (1) US4716543A (en)
CA (1) CA1200910A (en)
DE (1) DE3248521A1 (en)

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0657026B2 (en) * 1984-01-27 1994-07-27 キヤノン株式会社 Information processing method
JPS6438866A (en) * 1987-08-05 1989-02-09 Hitachi Ltd Document editing device
US4956805A (en) * 1987-09-22 1990-09-11 Anasazi, Inc. Circuitry for character translate functions
US5142678A (en) * 1988-12-21 1992-08-25 International Business Machines Corporation Method for a requesting user to use a marker to associate a document with an end user action
US5167030A (en) * 1989-08-23 1992-11-24 Helix Software Company, Inc. System for dynamically allocating main memory to facilitate swapping of terminate and stay resident communication program to increase available memory space
US5038279A (en) * 1990-05-22 1991-08-06 Lexmark International, Inc. Direct hot-keying with reset of printer parameters for a secondary application including a typewriter emulator
US7849393B1 (en) 1992-12-09 2010-12-07 Discovery Communications, Inc. Electronic book connection to world watch live
US8073695B1 (en) 1992-12-09 2011-12-06 Adrea, LLC Electronic book with voice emulation features
US7509270B1 (en) 1992-12-09 2009-03-24 Discovery Communications, Inc. Electronic Book having electronic commerce features
US7835989B1 (en) 1992-12-09 2010-11-16 Discovery Communications, Inc. Electronic book alternative delivery systems
US9053640B1 (en) 1993-12-02 2015-06-09 Adrea, LLC Interactive electronic book
US7861166B1 (en) 1993-12-02 2010-12-28 Discovery Patent Holding, Llc Resizing document pages to fit available hardware screens
US7865567B1 (en) 1993-12-02 2011-01-04 Discovery Patent Holdings, Llc Virtual on-demand electronic book
US8095949B1 (en) 1993-12-02 2012-01-10 Adrea, LLC Electronic book with restricted access features
JPH07334439A (en) * 1994-06-07 1995-12-22 Hisago Commun Kk Data communication system and its terminal equipment
US5711672A (en) * 1994-07-01 1998-01-27 Tv Interactive Data Corporation Method for automatically starting execution and ending execution of a process in a host device based on insertion and removal of a storage media into the host device
US5624265A (en) * 1994-07-01 1997-04-29 Tv Interactive Data Corporation Printed publication remote contol for accessing interactive media
JPH08147115A (en) * 1994-11-21 1996-06-07 Fuji Xerox Co Ltd Document processor
US5867394A (en) * 1996-03-01 1999-02-02 The Standard Register Company Document dispenser operational program downloading
US5790640A (en) * 1996-07-31 1998-08-04 Tassa; Menachem Apparatus and method for storing and transmitting data between a computer, a facsimile machine and a telephone network
US6421748B1 (en) * 1998-03-04 2002-07-16 Nadio.Com, Inc. System and method for a universal output driver
US6065071A (en) * 1998-03-26 2000-05-16 Nvidia Corporation Method and apparatus for trapping unimplemented operations in input/output devices
US7030863B2 (en) * 2000-05-26 2006-04-18 America Online, Incorporated Virtual keyboard system with automatic correction
US7286115B2 (en) 2000-05-26 2007-10-23 Tegic Communications, Inc. Directional input system with automatic correction
US6877098B1 (en) * 2000-06-12 2005-04-05 Sun Microsystems, Inc. System and method for directing access from a framebuffer to a virtual framebuffer when the framebuffer is powered off in a power management mode
KR100678072B1 (en) * 2006-01-17 2007-02-02 삼성전자주식회사 Method for replying message in wireless terminal

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4193112A (en) * 1976-01-22 1980-03-11 Racal-Milgo, Inc. Microcomputer data display communication system with a hardwire editing processor
US4195353A (en) * 1977-01-14 1980-03-25 Ricoh Company, Ltd. Word processor comprising improved editing means
US4180854A (en) * 1977-09-29 1979-12-25 Hewlett-Packard Company Programmable calculator having string variable editing capability
US4296476A (en) * 1979-01-08 1981-10-20 Atari, Inc. Data processing system with programmable graphics generator
US4298957A (en) * 1979-06-28 1981-11-03 Xerox Corporation Data processing system with character sort apparatus
NL8001559A (en) * 1980-03-17 1981-10-16 Philips Nv METHOD AND APPARATUS FOR CALCULATING THE DISCRETE FOURIER TRANSFORMATION USING TWO CIRCULAR FILTERS
GB2079995B (en) * 1980-07-16 1984-07-11 Suwa Seikosha Kk Portable data processing apparatus
US4398246A (en) * 1980-08-12 1983-08-09 Pitney Bowes Inc. Word processing system employing a plurality of general purpose processor circuits
US4399538A (en) * 1981-04-30 1983-08-16 Pitney Bowes Inc. Control system for inhibiting processing communications
US4433377A (en) * 1981-06-29 1984-02-21 Eustis Mary S Data processing with format varying
FR2509936B1 (en) * 1981-07-17 1986-12-19 Thomson Csf DISTURBANCE RECORDING SYSTEM
US4458311A (en) * 1981-10-09 1984-07-03 International Business Machines Corporation Text processor having an interactive display terminal which alternately functions as a data processing terminal
US4451900A (en) * 1981-12-29 1984-05-29 Atari, Inc. Method and apparatus for text editing display

Also Published As

Publication number Publication date
US4716543A (en) 1987-12-29
DE3248521A1 (en) 1983-07-14

Similar Documents

Publication Publication Date Title
CA1200910A (en) Terminal device for editing document and communicating data
US4910765A (en) Communication terminal apparatus having a relaying function
WO1994006230A2 (en) Multimedia message transmitter
EP0769177A1 (en) Virtual printer
EP0943986B1 (en) User interface for an information-processing system
US4642792A (en) Data processor printer setup through a remote display terminal
JP2742073B2 (en) Print control method and apparatus
US5946105A (en) Facsimile apparatus and control method therefor
US6906821B1 (en) Printing control method, printing control apparatus for producing/transmitting print command, computer program of printing control, and recording medium for recording computer program
EP0111691B1 (en) Data processing system with a printer setup through a remote display terminal
JPH06175794A (en) Print processing system
JPH11105367A (en) Form overlay printer
US4833447A (en) Input device
JP2002187327A (en) Method for setting printer
JPH0756696A (en) Remote operation printing system
JPH08125799A (en) Facsimile equipment and method for controlling facsimile equipment
JPH09131948A (en) Printer device
JPS62102329A (en) Printing device
JP2998092B2 (en) Electronic firing device
JPH0421478A (en) Data printing control system
JP3419117B2 (en) Printer
EP1571544B1 (en) Coordinated concurrent printing of print jobs containing pages that are incompatible with a single printer
JP2001047695A (en) Printer
JPH01314182A (en) Information processing system
JP2000353063A (en) Printing control method for generating and transmitting printing command, printing controller, and recording medium recording program for the same

Legal Events

Date Code Title Description
MKEX Expiry