JPH0823740B2 - Font control method in terminal system - Google Patents

Font control method in terminal system

Info

Publication number
JPH0823740B2
JPH0823740B2 JP60070028A JP7002885A JPH0823740B2 JP H0823740 B2 JPH0823740 B2 JP H0823740B2 JP 60070028 A JP60070028 A JP 60070028A JP 7002885 A JP7002885 A JP 7002885A JP H0823740 B2 JPH0823740 B2 JP H0823740B2
Authority
JP
Japan
Prior art keywords
data
font
memory
code
block
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 - Lifetime
Application number
JP60070028A
Other languages
Japanese (ja)
Other versions
JPS61230188A (en
Inventor
恵 内野
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.)
Hitachi Ltd
Original Assignee
Hitachi 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
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP60070028A priority Critical patent/JPH0823740B2/en
Publication of JPS61230188A publication Critical patent/JPS61230188A/en
Publication of JPH0823740B2 publication Critical patent/JPH0823740B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Printers Characterized By Their Purpose (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、文字,図形などの可視的情報を、予め定め
られたフオントデータに基づいて表現する出力装置(例
えば、印字装置,キヤラクタデイスプレイ等)に関し、
特に、この型の複数台の装置が1台の制御装置によつて
制御される場合における、フオントデータの取扱いに関
する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Use of the Invention] The present invention relates to an output device (for example, a printing device, a character display, etc.) that expresses visible information such as characters and figures based on predetermined font data. ),
In particular, it relates to the handling of font data when a plurality of devices of this type are controlled by a single controller.

〔発明の背景〕[Background of the Invention]

主に表示端末に関して、端末装置のフオントメモリ
(キヤラクタジエネレータ用パターンメモリ)の容量の
節約を目的とするダイナミツクフオントローデイングの
各種方法が、既に提案されている(特開昭55−80143
号,同58−106634号等)。これは、複数の端末装置に共
通の制御装置がフオントデータの完全な組を常時保持し
ており、必要な部分のみが、状況に応じて各端末装置に
移される点に、その特徴がある。
With regard to display terminals, various methods of dynamic font loading have been already proposed for the purpose of saving the capacity of the font memory (pattern memory for character generator) of the terminal device (JP-A-55-80143).
No. 58-106634, etc.). This is characterized in that the control device common to a plurality of terminal devices always holds a complete set of font data, and only the necessary part is transferred to each terminal device depending on the situation.

一方、主に印字端末に関して、能率向上のために、複
数の受信バツフアを設け、ある受信バツフアの内容の印
字と並行して他の受信バツフアへの受信を行なうこと
が、既に知られている(特開昭57−161926号,同58−11
7036号等)。
On the other hand, it is already known that, mainly for a printing terminal, a plurality of receiving buffers are provided to improve the efficiency, and the contents of a certain receiving buffer are printed at the same time as reception to another receiving buffer ( JP-A-57-161926 and JP-A-58-11
7036, etc.).

前記の両技術を単に寄せ集めて、ダイナミツクフオン
トローデイングによるフオントメモリ容量の節約と、受
信及び出力の並列処理による能率向上とを、相加的に享
受するだけならば、特段の工夫も要しないであろう。し
かし、両者を有機的に結合することによつて、相加的効
果以上のものを得ることができれば、非常に有用な技術
となる。
If both technologies are simply put together and the effect of saving the font memory capacity by the dynamic font loading and the efficiency improvement by the parallel processing of the reception and the output are additively enjoyed, special measures are required. Will not. However, if more than the additive effect can be obtained by organically combining the two, it will be a very useful technique.

〔発明の目的〕[Object of the Invention]

本発明の目的は、ブロツク単位での受信と出力の並列
処理による処理能率の向上を果たすとともに、ダイナミ
ツクフオントローデイングによるフオントメモリ容量節
約の効果を一段と増大する、端末システムにおけるフオ
ント制御方法を提供することにある。
An object of the present invention is to provide a font control method in a terminal system, which not only improves the processing efficiency by parallel processing of reception and output in block units but also further increases the effect of saving font memory capacity by dynamic font loading. To do.

〔発明の概要〕[Outline of Invention]

本発明は、ブロツク単位での受信及び出力の並列処理
のためのメモリブロツクの管理と、ダイナミツクフオン
トローデイングのためのフオントデータの入替えの管理
とを有機的に連係させることにより、ダイナミツクフオ
ントローデイングの効率を、それ単独の場合よりも大幅
に向上させる。すなわち、本発明によれば、制御装置に
おいて、各端末装置のフオントメモリの各位置が、複数
のメモリブロツクのどれとどれのデータに必要なフオン
トデータを記憶しているのかが記録され、そして、この
記録は、各メモリブロツクの内容の出力が終了するたび
に更新される。どのメモリブロツク内のデータによつて
も使用されていないフオントデータを記憶しているフオ
ントメモリの位置には、新たに必要となつたフオントデ
ータが、制御装置から転送されうる。その結果、端末装
置のフオントメモリの内容は、頻繁に、各時点での必要
に応じて更新され、したがつて、小さい容量のフオント
メモリの有効な利用が実現される。
The present invention organically links the management of a memory block for parallel processing of reception and output on a block-by-block basis and the management of the replacement of font data for dynamic font loading, thereby providing a dynamic font. Improves loading efficiency significantly more than it would by itself. That is, according to the present invention, in the control device, each position of the font memory of each terminal device is recorded which one of the plurality of memory blocks and which data stores necessary font data, and This record is updated each time the output of the contents of each memory block is completed. The newly needed font data can be transferred from the control unit to a font memory location storing font data which is not used by any data in any of the memory blocks. As a result, the contents of the font memory of the terminal device are frequently updated as needed at each point in time, so that the effective use of the font memory having a small capacity is realized.

〔発明の実施例〕Example of Invention

第2図は、本発明が適用される端末システムの一例と
して、印字端末システムの構成を示す。制御装置1は、
ローカル通信路3により複数の印字端末装置2,2a〜2nと
接続され、また、通信回線16を介してホストコンピユー
タと接続される。制御装置1は、内部バス10により相互
接続されたマイクロコンピユータ(μcpu)11、メモリ
(MEM)12、端末接続アダプタモ(TA)13、フロツピー
デイスクアダプタ(FDA)14及びホスト通信アダプタ(C
A)15を備える。TA13はまたローカル通信路3に接続さ
れ、GDA14はフロツピーデイスク(FD)141に接続され、
CA15は通信回線16に接続される。端末装置2は、内部バ
ス20により相互接続されたマイクロコンピユータ(μcp
u)21、メモリ(MEM)22、制御装置接続アダプタ(TC
A)23、及び印字装置アダプタ(PRA)24を備える。PRA2
4は更に印字装置(PR)25に接続され、TCA23はローカル
通信路3に接続される。端末装置2a〜2nは端末装置2と
同様である。
FIG. 2 shows the configuration of a printing terminal system as an example of a terminal system to which the present invention is applied. The control device 1 is
It is connected to a plurality of printing terminal devices 2, 2a to 2n by a local communication path 3, and is also connected to a host computer via a communication line 16. The control device 1 includes a microcomputer (μcpu) 11, a memory (MEM) 12, a terminal connection adapter (TA) 13, a floppy disk adapter (FDA) 14, and a host communication adapter (C) interconnected by an internal bus 10.
A) equipped with 15. TA13 is also connected to the local communication path 3, GDA14 is connected to the floppy disk (FD) 141,
The CA 15 is connected to the communication line 16. The terminal device 2 is a microcomputer (μcp) interconnected by an internal bus 20.
u) 21, memory (MEM) 22, controller connection adapter (TC
A) 23 and a printer adapter (PRA) 24. PRA2
4 is further connected to a printer (PR) 25, and TCA 23 is connected to the local communication path 3. The terminal devices 2a to 2n are similar to the terminal device 2.

ホストコンピユータからの印字データは、通信回線16
を経て制御装置1に与えられ、ここで後述される処理を
受けた後、指定された端末装置に送られる。この処理の
ために、MEM12及びMEM22は、後述する諸種のテーブルを
含む。これらのテーブルの操作を含む印字データの処
理、制御装置1と端末装置2〜2n(以下端末装置2で代
表する)の間の通信、その他の動作の制御は、μcpu11
及びμcpu21によつて行なわれ、そのためのプログラム
は、MEM12及びMEM22にそれぞれ保持される。
Print data from the host computer is sent via the communication line 16
It is given to the control device 1 via the above, undergoes the processing described later here, and then sent to the designated terminal device. For this processing, the MEM 12 and the MEM 22 include various tables described later. The processing of print data including the operation of these tables, the communication between the control device 1 and the terminal devices 2 to 2n (hereinafter represented by the terminal device 2), and the control of other operations are performed by the μcpu11
And μcpu21, and the programs therefor are stored in MEM12 and MEM22, respectively.

第1図は、本発明に用いられるテーブル群を、模式的
に示す。制御装置1のMEM12は、漢字アドレステーブル
(CGATBL)100と主フオントメモリ(CGBUF)101を含む
単一キヤラクタ発生部と、各端末装置2〜2nごとに用意
された内部コードテーブル(CDTBL)102及びフオント制
御テーブル(USGTBL)103とを含む。本実施例における
フオントの各文字は24×24ドツトのパターンであるとす
れば、CGBUF101は、1文字あたり72バイトからなる文字
パターンデータF0〜Fxを、アドレスFA0〜FAxに保持す
る。ここに保持される文字の種類は、システムに対して
要求される文字のすべて(例えば、JIS第1及び第2水
準の文字セツトとユーザ設定文字を合せて約8000種)で
ある。CGATBL100は、これらのアドレスFA0〜FAxを、漢
字コードCD0〜CDxに対応するアドレスに保持する。これ
らのテーブルデータは、システムの休止期間中FD141に
保存され、制御装置1の電源投入時に、FD141からMEM12
に転送される。CDTBL102とUSGTBL103については、端末
装置のテーブルの後で説明する。
FIG. 1 schematically shows a table group used in the present invention. The MEM 12 of the control device 1 includes a single character generation unit including a kanji address table (CGATBL) 100 and a main font memory (CGBUF) 101, an internal code table (CDTBL) 102 provided for each terminal device 2 to 2n, and A font control table (USGTBL) 103. If each font character in this embodiment is a 24 × 24 dot pattern, the CGBUF 101 holds the character pattern data F 0 to F x consisting of 72 bytes per character at the addresses FA 0 to FA x . . The types of characters held here are all the characters required for the system (for example, about 8000 types including JIS first and second level character sets and user-set characters). CGATBL100 holds these addresses FA 0 ~FA x, to the address corresponding to the kanji code CD 0 ~CD x. These table data are stored in the FD141 during the system inactive period, and are stored in the FD141 and the MEM12 when the control device 1 is powered on.
Transferred to. The CDTBL102 and USGTBL103 will be described after the table of the terminal device.

端末装置2のMEM22は、データメモリ200と、フオント
メモリ201と、ブロツク管理テーブル202を含む。データ
メモリ200は、複数(本実施例では8個)のブロツクに
分解可能であり、各ブロツクに制御装置1からの印字デ
ータの1ブロツクが格納される。ブロツク管理テーブル
202は、データメモリ200の諸ブロツクを管理するための
テーブルであり、各ブロツク0〜7に対応するアドレス
に、ブロツクのステータスST0〜ST7と、ブロツクアドレ
スn0〜n7を格納する。ステータスST0〜ST7は、“ニユー
トラル",“データ転送中",“印字待ち",“印字中",“終
了報告”などの状態を表わす。ブロツクアドレスn0〜n7
は各ブロツクの終点アドレスを示す。ブロツクの先頭ア
ドレスは、ブロツク0ではデータメモリの先頭であり、
他のブロツクではその直前のブロツクの終点アドレスに
“1"を加えたものである。フオントメモリ201は、制御
装置1から後述のようにして送られたフオントの各文字
のパターンFp〜Fyを、内部漢字コードに対応するアドレ
スに保持する。本実施例では、内部漢字コードは0〜10
23である。ホスト計算機からの印字データ中の漢字コー
ドは、制御装置1により、後述のようにして、内部漢字
コードに変換される。
The MEM 22 of the terminal device 2 includes a data memory 200, a font memory 201, and a block management table 202. The data memory 200 can be disassembled into a plurality of blocks (eight in this embodiment), and one block of print data from the control device 1 is stored in each block. Block management table
Reference numeral 202 is a table for managing various blocks of the data memory 200, and stores the statuses ST 0 to ST 7 of the blocks and the block addresses n 0 to n 7 at the addresses corresponding to the blocks 0 to 7. The statuses ST 0 to ST 7 represent states such as “neutral”, “data transfer in progress”, “printing waiting”, “printing”, “end report” and the like. Block address n 0 to n 7
Indicates the end point address of each block. The start address of the block is the start of the data memory in block 0,
In other blocks, "1" is added to the end point address of the block immediately before it. The font memory 201 holds the patterns F p to F y of the characters of the font sent from the control device 1 as described later at the address corresponding to the internal Kanji code. In this embodiment, the internal kanji code is 0-10.
23. The Kanji code in the print data from the host computer is converted into the internal Kanji code by the control device 1 as described later.

制御装置1のCDTBL102は、内部漢字コード0〜1023に
対応するアドレスに、その内部漢字コードに対応付けら
れた漢字コードを保持する。USGTBL103は、内部漢字コ
ード0〜1023に対応して、その内部漢字コードがデータ
メモリ200のどのブロツクで使用されているかを示す情
報を保持する。すなわち、その各エントリは、ブロツク
0〜7に対応してビツト20〜27を持ち、そのビツトが
“1"ならば対応するブロツクが当該内部漢字コードを使
用中であり、“0"ならば使用していないことを示す。
The CDTBL 102 of the control device 1 holds the Kanji code associated with the internal Kanji code at addresses corresponding to the internal Kanji codes 0 to 1023. The USGTBL 103 holds information indicating in which block of the data memory 200 the internal Kanji code is used, corresponding to the internal Kanji code 0 to 1023. That is, each entry has bits 20 to 27 corresponding to blocks 0 to 7 , and if the bit is "1", the corresponding block is using the internal Kanji code, and if it is "0", If not, it indicates that it is not used.

制御装置1の動作は第3図のフローチヤートに示さ
れ、端末装置2の動作は第4図のフローチヤートに示さ
れている。今、漢字コードCDmが“漢”を表わし、CDn
“字”を表わすとする。また、フオントメモリ201及びC
DTBL102は空いており、そして、データメモリ200の全ブ
ロツクは“ニユートラル”の状態にあり、したがつて、
USGTBL103の内容もすべて“0"であるとする。
The operation of the control device 1 is shown in the flow chart of FIG. 3, and the operation of the terminal device 2 is shown in the flow chart of FIG. Now, it is assumed that the kanji code CD m represents "Kan" and CD n represents "character". Also, font memory 201 and C
The DTBL 102 is empty, and all blocks in the data memory 200 are in a "neutral" state, thus
It is also assumed that the contents of USGTBL103 are all "0".

制御装置1は、ホストコンピユータから印字データの
先頭ブロツクを受信すると、ブロツク管理テーブル202
のステータスST0を“データ転送中”に変更するととも
に、受信した印字データを、端末装置2のデータメモリ
200に、その先頭番地から順に、転送を行なう(第3図C
1)。漢字コード以外のデータは、そのまま転送される
(C2)。この転送過程において、印字データ中に漢字コ
ードCDm300が検出されると、CDTBL102がサーチされる
(C3)。CDmが存在しないことが判明すると、USGTBL103
がサーチされ、ブロツク0〜7のいずれによつても使用
されていない(20〜27がすべて“0"の)内部漢字コード
の一つ“n"が、適当なアルゴリズムに従つて決定される
(C4)。続いて、CDTBL102の“n"に対応するアドレスに
CDmが書込まれ(C5)、次いで、CGATBL100からCDmに対
応するCGBUF101のアドレスFAmが取出され、これを用い
て更にCGBUF101から“漢”の文字パターン301が読出さ
れて、端末装置2に転送され、フオントメモリ201の
“n"に対応するアドレスに書込まれる(C6)。データメ
モリ200には、CDmの代りに、内部漢字コード“n"が転送
され(C7)、USGTBL103の“n"に対応するエントリの20
ビツトが、使用中の旨を示す“1"にセツトされる(C
8)。
When the control device 1 receives the first block of print data from the host computer, the block management table 202
Status ST 0 of the terminal device 2 is changed to “data transfer in progress” and the received print data is stored in the data memory of the terminal device 2.
The data is transferred to 200 in order from the first address (Fig. 3C).
1). Data other than Kanji code is transferred as is (C2). When the Kanji code CD m 300 is detected in the print data during this transfer process, the CDTBL 102 is searched (C3). If it turns out that CD m does not exist, USGTBL103
Is searched for, and one of the internal kanji codes "n" which is not used by any of blocks 0 to 7 (20 to 27 are all "0") is determined according to an appropriate algorithm. (C4). Then, enter the address corresponding to “n” in CDTBL102.
CD m is written (C5), then the address FA m of CGBUF101 corresponding to CD m is taken out from CGATBL100, and using this, the character pattern 301 of “Chinese” is further read out from CGBUF101, and the terminal device 2 And is written to the address corresponding to “n” in the font memory 201 (C6). The data memory 200, instead of the CD m, internal kanji code "n" is transferred (C7), 2 0 entries corresponding to "n" of USGTBL103
The bit is set to "1" indicating that it is in use (C
8).

他方、ステツプC3におけるCDTBLのサーチの結果、当
該漢字コードCDmが存在することが判明すれば(例え
ば、再度CDmが受信されたとき)、そのCDmが保持されて
いたアドレスに対応する内部漢字コード“n"が、CDm
代りに、データメモリ200に転送され(C7)、USGTBLの
対応するビツトが“1"にセツトされるのみで、この漢字
コードの処理は完了する。
On the other hand, if the result of the CDTBL search at step C3 reveals that the Chinese character code CD m exists (for example, when CD m is received again), the internal code corresponding to the address where the CD m is held. The kanji code "n" is transferred to the data memory 200 (C7) instead of the CD m , and the corresponding bit of the USGTBL is set to "1", and this kanji code processing is completed.

ブロツク0の印字データの転送が終ると、ブロツク管
理テーブル202のブロツク0に対応するエントリにおい
て、終点アドレスフイールドに今転送の終わつたデータ
ブロツクの最終アドレスn0をセツトするとともに、ステ
ータスST0を“印字待ち”に変更する(C9)。この後、
制御装置1は、ホストコンピユータからの次のブロツク
の転送を待ち、次のブロツクを受信すると、前記動作を
繰返す。この過程で、ステツプC4において、新しい漢字
コードが受信された時に、USGTBL103のサーチの結果、
すべての内部漢字コードが使用中であることが判明する
と、印字データの転送は休止され、端末装置2からの、
印字中のブロツクの印字が終了した旨の報告を待つ。
When the transfer of the print data of block 0 is completed, in the entry corresponding to block 0 in the block management table 202, the end address field is set to the final address n 0 of the data block that has just been transferred, and the status ST 0 is set to " Change to "Waiting for printing" (C9). After this,
The controller 1 waits for the transfer of the next block from the host computer, and when the next block is received, repeats the above operation. In this process, when a new Kanji code is received in step C4, the result of the search of USGTBL103 is
When all the internal kanji codes are found to be in use, the transfer of print data is suspended and the
Wait for the report that the printing of the block being printed is completed.

端末装置2において、ブロツク管理テーブル202のブ
ロツク0のステータスST0が、第3図のステツプC9にお
いて“印字待ち”にセツトされると、端末装置2は、印
字を開始するにあたり、ステータスST0を“印字中”に
変更するとともに、終点アドレスn0を読出して、適当な
レジスタに格納する(T1)。それから、データメモリ20
0の先頭アドレスから順にデータが読出されて、PRA24を
経てPR25に送られる。この過程において、内部漢字コー
ド“n"が検出れると、フオントメモリ201の“n"に対応
するアドレスへのアクセスが行なわれ、内部漢字コード
“n"に対応する“漢”の文字パターン302が読出され
て、PR25に送られる(T2)。内部漢字コード以外のコー
ド(英数カナコード等)は、他の内蔵固定フオントメモ
リを参照して、通常の方法により印字される(T3)。ブ
ロツク0の印字が終了すると、ブロツク管理テーブル20
2のステータスST0は“終了報告中”に変更され(T4)、
次のブロツクのステータスST1が“印字待ち”であれ
ば、次のブロツクに対して前記の処理が繰返される。
In the terminal device 2, when the status ST 0 of the block 0 in the block management table 202 is set to “print waiting” in step C9 of FIG. 3, the terminal device 2 sets the status ST 0 at the start of printing. While changing to "printing", the end point address n 0 is read and stored in an appropriate register (T1). Then the data memory 20
Data is sequentially read from the start address of 0 and sent to PR25 via PRA24. In this process, when the internal kanji code “n” is detected, the address corresponding to “n” in the font memory 201 is accessed, and the character pattern 302 of “kanji” corresponding to the internal kanji code “n” is generated. It is read and sent to PR25 (T2). Codes other than internal Kanji codes (alphanumeric and kana codes, etc.) are printed by the normal method by referring to other built-in fixed font memory (T3). After printing block 0, block management table 20
The status ST 0 of 2 is changed to "end report" (T4),
If the status ST 1 of the next block is “waiting for printing”, the above process is repeated for the next block.

第3図に戻つて、ブロツク管理テーブル202のステー
タスST0が“終了報告中”を示すことが、制御装置1に
より検出されると、USGTBL103中のすべての20ビツト
は、未使用を示す“0"にリセツトされ(C10)、併せ
て、ステータスST0は“ニユートラル”に変更される(C
11)。ここで、他のブロツクのデータ転送が休止中であ
れば、USGTBL103が改めてサーチされる(C4)。その結
果、その時点で使用されていない内部漢字コードとして
再び“n"が得られたとすれば、CDTBL102の“n"に対応す
るアドレスにあつた漢字コードCDmは、待機中の漢字コ
ードCDn310に置換される(C5)。次いで、CGATBL100か
らCDnに対応するCGBUF101のアドレスFAnが読出され、こ
れを用いてCGBUF101からCDnに対応する文字パターン
“字"311が読出されて、端末装置2のフオントメモリ20
1において、内部漢字コード“n"に対応するアドレスの
内容を置換する(C6)。この新たに定められた内部漢字
コード“n"は、データメモリ200に転送され、以下、前
述したのと同じ処理が繰返される。
Connexion back to Figure 3, the status ST 0 of block management table 202 to show "end report in", is detected by the control unit 1, all 2 0 bits in USGTBL103 indicates unused " It is reset to 0 "(C10), and the status ST 0 is also changed to" neutral "(C
11). Here, if the data transfer of another block is suspended, USGTBL103 is searched again (C4). As a result, if "n" is obtained again as an internal kanji code that is not used at that time, the kanji code CD m at the address corresponding to "n" of the CDTBL102 is the waiting kanji code CD n. It is replaced with 310 (C5). Next, the address FA n of CGBUF 101 corresponding to CD n is read from CGATBL 100, the character pattern “letter” 311 corresponding to CD n is read from CGBUF 101 using this, and the font memory 20 of the terminal device 2 is read.
In 1, the contents of the address corresponding to the internal kanji code “n” are replaced (C6). This newly defined internal kanji character code "n" is transferred to the data memory 200, and thereafter, the same processing as described above is repeated.

フオントデータには、漢字パターンの他に、グラフイ
ツク出力のための図形要素パターンが含まれてもよい。
また、前記の実施例では、印字データのブロツク分けが
ホストコンピユータによつて既になされているが、制御
装置1がホストコンピユータから連続的に送られる印字
データを、適当な長さごとに区切つて、内部的なブロツ
クを形成してもよい。ブロツク管理テーブル202による
前述のブロツク管理は、任意長の内部的ブロツクの形成
を可能にする。フオントメモリ201に要求される収容可
能なフオントパターンの個数(種類)は、内部漢字コー
ドが2バイトで形成されるとして、最大ブロツクサイズ
(バイト)の半分以上ということになる。
In addition to the Chinese character pattern, the font data may include a graphic element pattern for graphic output.
Further, in the above-described embodiment, the block division of the print data is already performed by the host computer, but the control device 1 divides the print data continuously sent from the host computer into appropriate lengths. Internal blocks may be formed. The block management described above by the block management table 202 allows the formation of internal blocks of arbitrary length. The number (type) of font patterns that can be stored in the font memory 201 is half or more of the maximum block size (byte), assuming that the internal Kanji code is formed by 2 bytes.

また、本発明は、印字端末システムに限らず、表示端
末システムにも適用できる。
Further, the present invention is applicable not only to the printing terminal system but also to the display terminal system.

〔発明の効果〕〔The invention's effect〕

本発明によれば、ブロツク単位での受信と出力の並列
処理による能率向上と、ダイナミツクフオントローデイ
ングによる端末装置内のフオントメモリ容量の節約とい
う2種の効果が、単に相加されるのではなく、前者にお
けるブロツク単位での処理を利用して、フオントメモリ
の内容の更新をブロツク単位で行なうことにより、フオ
ントメモリ容量の一層の節約、換言すれば、一定容量の
フオントメモリによる一層多様な文字,記号,図形など
の出力が、達成される。
According to the present invention, two effects of efficiency improvement by parallel processing of reception and output in block units and saving of the font memory capacity in the terminal device by dynamic font loading may not simply be added. Instead, by utilizing the former block-based processing to update the contents of the font memory block by block, further saving of the font memory capacity, in other words, more diverse characters by the constant capacity of the font memory is achieved. Output of symbols, figures, etc. is achieved.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明に関連する各種テーブルの模式図、第2
図は本発明の適用対象の一例としての印字端末システム
のブロツクダイヤグラム、第3図は本発明による制御装
置での処理のフローチヤート、第4図は本発明による端
末装置での処理のフローチヤートである。 12……制御装置のメモリ、22……端末装置のメモリ、25
……プリンタ、100……漢字アドレステーブル、101……
主フオントテーブル、102……内部コードテーブル、103
……フオント制御テーブル、200……データメモリ、201
……フオントメモリ、202……ブロツク管理テーブル。
FIG. 1 is a schematic diagram of various tables related to the present invention, and FIG.
FIG. 3 is a block diagram of a printing terminal system as an example of the application of the present invention, FIG. 3 is a flow chart of processing in a control device according to the present invention, and FIG. 4 is a flow chart of processing in a terminal device according to the present invention. is there. 12 …… control device memory, 22 …… terminal device memory, 25
…… Printer, 100 …… Kanji address table, 101 ……
Main font table, 102 ... Internal code table, 103
...... Font control table, 200 ...... Data memory, 201
…… Font memory, 202 …… Block management table.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】使用される全フオントデータを保持する制
御装置と、出力データブロックをそれぞれ記憶するため
の複数のブロツクに分割可能なデータメモリ及び一部の
フオントデータを記憶するためのフオントメモリを備え
出力データの受信と出力とをブロツク単位で並行して遂
行可能な複数の端末装置とを有する端末システムにおい
て、各端末装置に対して前記制御装置が行なう、 前記制御装置から前記データメモリの複数のブロツクの
一つに出力データブロツクを転送する間に必要の生じた
フオントデータを前記フオントメモリの使用されていな
い位置に転送する転送過程と、 前記フオントメモリ内の各位置についてそこに保持され
ているフオントデータを前記データメモリの各ブロツク
が使用中か否かを示す使用表示を前記制御装置内のテー
ブルに設定する使用表示設定過程と、 前記データメモリの各ブロツクからの出力の終了時にそ
のデータメモリブロツクについての前記使用表示をリセ
ツトする使用表示リセツト過程と、 を含む端末システムにおけるフオント制御方法。
1. A control device for holding all used font data, a data memory which can be divided into a plurality of blocks for respectively storing output data blocks, and a font memory for storing a part of the font data. In a terminal system having a plurality of terminal devices capable of concurrently performing reception and output of output data in block units, a plurality of data memories from the control device are performed by the control device for each terminal device. A transfer step of transferring the font data generated during the transfer of the output data block to one of the blocks of the memory to an unused location of the font memory, and for each location in the font memory held there. The control device displays a usage display indicating whether or not each block of the data memory is using the font data that is present. Font control method in a terminal system including a used display setting process, and a use display reset process for resetting the use indication of the data memory bromide attaches to the end of the output from each block of the data memory to be set in the table.
【請求項2】特許請求の範囲1において、 その転送過程は、当該フオントデータが転送される前記
フオントメモリ内の位置に対応する内部コードをそのフ
オントデータに対応する出力データコードに割当てて両
コードの対応関係を前記制御装置内の他のテーブルに記
録する過程と、前記出力データコードを前記内部データ
コードで置換する過程とを含み、 その使用表示設定過程における使用表示の設定と使用表
示リセツト過程における使用表示のリセツトは、前記内
部コードに対する使用表示の設定とリセツトとして実行
される、 端末システムにおけるフオント制御方法。
2. The transfer process according to claim 1, wherein an internal code corresponding to a position in the font memory to which the font data is transferred is assigned to an output data code corresponding to the font data. Recording the correspondence relationship of the above in another table in the control device and replacing the output data code with the internal data code. Setting of the use display and use display resetting process in the use display setting process. The method of resetting the usage display in step (1) is executed as setting and resetting of the usage display for the internal code.
【請求項3】特許請求の範囲2において、その転送過程
は、前記記録された内部コードと出力デーコードの対応
関係を調べる過程と、処理中の出力データコードに割当
てられた内部コードが存在するときはその内部コードで
前記出力データコードを置換し、割当てられた内部コー
ドが存在しないときは前記使用表示を調べてどのデータ
メモリブロック内のデータによつても使用されていない
内部コードを割当てるとともにこの内部コードに対応す
る前記フォントメモリ内の位置に当該出力データコード
に対応するフオントデータを転送する過程とを含み、 その使用表示設定過程は、出力データコードが既に割当
てられていた内部コードで置換されたときと、内部コー
ドが新たに割当てられたときのいずれにおいても使用表
示の設定を行なう、 端末システムにおけるフオント制御方法。
3. The transfer process according to claim 2, wherein the transfer process includes a process of checking the correspondence between the recorded internal code and the output data code, and an internal code assigned to the output data code being processed. When the output data code is replaced with the internal code, and when the assigned internal code does not exist, the usage indication is checked and an internal code which is not used by data in any data memory block is assigned. Transferring the font data corresponding to the output data code to a position in the font memory corresponding to the internal code, and the use display setting process replaces the output data code with the internal code already assigned. Is set or the internal code is newly assigned, the use display is set. A font control method in a terminal system.
JP60070028A 1985-04-04 1985-04-04 Font control method in terminal system Expired - Lifetime JPH0823740B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60070028A JPH0823740B2 (en) 1985-04-04 1985-04-04 Font control method in terminal system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60070028A JPH0823740B2 (en) 1985-04-04 1985-04-04 Font control method in terminal system

Publications (2)

Publication Number Publication Date
JPS61230188A JPS61230188A (en) 1986-10-14
JPH0823740B2 true JPH0823740B2 (en) 1996-03-06

Family

ID=13419729

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60070028A Expired - Lifetime JPH0823740B2 (en) 1985-04-04 1985-04-04 Font control method in terminal system

Country Status (1)

Country Link
JP (1) JPH0823740B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2714022B2 (en) * 1988-08-24 1998-02-16 株式会社日立製作所 Character data management system and character data management method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5580143A (en) * 1978-12-13 1980-06-17 Fujitsu Ltd Picture output unit
JPS5652481A (en) * 1979-10-03 1981-05-11 Hitachi Ltd Control system of character pattern
JPS57161926A (en) * 1981-03-30 1982-10-05 Fujitsu Ltd Control system for data print
JPS5880143A (en) * 1981-11-06 1983-05-14 Toshiba Corp Display of video tape recorder
JPS58184184A (en) * 1982-04-21 1983-10-27 株式会社東芝 Foreign language pattern memory managing system

Also Published As

Publication number Publication date
JPS61230188A (en) 1986-10-14

Similar Documents

Publication Publication Date Title
JPH05108534A (en) System constituting and setting method for data processing system, data processing system and expanding device for data processing system
JPH02227763A (en) Data transfer control system
JPH0823740B2 (en) Font control method in terminal system
EP0120481A2 (en) Method and device for selecting a character shape for each character of a text, e.g. of Arabic, according to four classes
JPS6214689A (en) Character output controller
JPS6035687B2 (en) Print data control device
US5450543A (en) Flag-based high-speed I/O data transfer
KR0183749B1 (en) A printer
JPS602715B2 (en) Kanji bit pattern management method for kanji printers
JPH03114856A (en) Printer data management system
JPS5987567A (en) Variable length data storage controlling system
JPH0523445B2 (en)
JPH06238963A (en) Print controller
JPH0512150A (en) Font server and printer
JPH051491B2 (en)
JPH0535457B2 (en)
JPH0740605A (en) Printing method and printer
JPH058454A (en) Bar code printer
JPH01169645A (en) Memory
JPH0596811A (en) Printing method
JPS6279544A (en) Memory response system
JPH05208526A (en) Printer
JPH1027126A (en) Address conversion device
JPS6188292A (en) Display controller
JPH0796639A (en) Printer