JPH0314070A - External character control system of output device - Google Patents

External character control system of output device

Info

Publication number
JPH0314070A
JPH0314070A JP1148286A JP14828689A JPH0314070A JP H0314070 A JPH0314070 A JP H0314070A JP 1148286 A JP1148286 A JP 1148286A JP 14828689 A JP14828689 A JP 14828689A JP H0314070 A JPH0314070 A JP H0314070A
Authority
JP
Japan
Prior art keywords
character
registration
character pattern
area
registered
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.)
Pending
Application number
JP1148286A
Other languages
Japanese (ja)
Inventor
Masaki Fukushima
正基 福島
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1148286A priority Critical patent/JPH0314070A/en
Publication of JPH0314070A publication Critical patent/JPH0314070A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To control the registration and deletion of external characters with the simple constitution of only a registration table by moving the character code and character pattern of registration information on an external character which is registered last to free areas of a registration table and a character pattern memory obtained by external character deletion every time an external character is deleted. CONSTITUTION:When one external character is deleted, the character code of the registration information which is registered last is moved to the character code area in the registration table 12 where the deleted registration information is stored and the character pattern indicated by the character pattern storage address of the registration information on the deleted external character is moved to the area on the character pattern memory which is indicated by the character pattern storage address of the registration information on the deleted external character. Then registration information on a new external character is registered at the tail of the registration table 12 and its character pattern is registered at the tail of the character pattern memory. Consequently, it is not necessary to provided another table for controlling whether or not there is a garbage free area on the character pattern memory and the registration and deletion of external characters are controlled with the simple constitution of only the registration table 12.

Description

【発明の詳細な説明】 〔概 要〕 内字と外字を装備する印刷装置等の出力装置における外
字の登録及び抹消を管理する外字管理方式に関し、 外字の登録及び抹消処理の手続き及び構成を簡略化して
その処理を効率化することを目的とし、内字及び外字の
文字パターンを格納する文字パターンメモリと、文字コ
ードとその文字パターンに対する文字パターンメモリ上
のアドレスとを含む登録情報を管理する登録テーブルと
を備えた出力装置の外字管理方式において、一つの外字
が抹消されたときは、抹消外字の登録情報が格納されて
いた登録テーブルの文字コード領域に、最後に登録した
登録情報の文字コードを移動し、前記抹消外字の登録情
報の文字パターン格納アドレスが指示する文字パターン
メモリ上の領域に、前記外字は、その登録情報の文字パ
ターン格納アドレスが指示する文字パターンを移動し、
新規の外字は、その登録情報を登録テーブルの外字は、
その登録情報を登録し、その文字パターンは、文字パタ
ーンメモリ上の外字は、その文字パターン格納領域を格
納するように構成する。
[Detailed Description of the Invention] [Summary] Regarding the external character management method for managing the registration and deletion of external characters in an output device such as a printing device equipped with internal characters and external characters, the procedure and configuration of the external character registration and deletion process are simplified. A registration system that manages registration information including a character pattern memory that stores character patterns of internal characters and external characters, and character codes and addresses on the character pattern memory for the character patterns. In the external character management method of an output device equipped with a table, when one external character is deleted, the character code of the last registered registration information is stored in the character code area of the registration table where the registration information of the deleted external character was stored. and moves the character pattern indicated by the character pattern storage address of the registration information of the deleted non-standard character to an area on the character pattern memory indicated by the character pattern storage address of the registration information of the deleted non-standard character,
For new external characters, the registration information for the external characters in the registration table is
The registration information is registered, and the character pattern is configured such that the external character on the character pattern memory is stored in the character pattern storage area.

〔産業上の利用分野〕[Industrial application field]

本発明は、印刷装置等の出力装置において常時使用する
ための内字と一時的に使用され使用後は抹消されること
のある外字の登録及び抹消を管理する外字管理方式に関
する。
The present invention relates to an external character management system for managing the registration and deletion of internal characters for constant use in an output device such as a printing device and external characters that are temporarily used and may be deleted after use.

〔従来の技術〕[Conventional technology]

印刷装置が印刷に使用する文字には、一般に装置内に固
定的に登録されていて常時使用される内字と、−時的に
登録され使用後は抹消されることのある外字とが装備さ
れている。外字は必要に応じて上位のホストより転送さ
れて印刷装置内に登録され、使用後不要になったときは
随時抹消される。
The characters that a printing device uses for printing are generally equipped with internal characters that are permanently registered in the device and are used all the time, and external characters that are temporarily registered and deleted after use. ing. External characters are transferred from a higher-level host and registered in the printing device as needed, and are deleted at any time when they are no longer needed after use.

外字管理方式はこのような外字の登録及び抹消に関する
処理を行うものであり、以下第5図を参照して、従来の
外字管理方式について説明する。
The private character management system performs processing related to registration and deletion of such private characters, and the conventional private character management system will be explained below with reference to FIG. 5.

第5図に於いて、21はビットマツプメモリ構成の文字
パターンメモリであり、外字の各文字コードに対応する
文字パターンがドットイメージで格納される。211゜
〜211nは各文字パターンが格納される領域であり、
中央部分に示されている白地の領域211には、外字が
抹消されたことよって生じた空き領域(以下、虫食い空
き領域という)である。212は、まだ文字パターンが
格納されないで残っている空き領域である。なお、虫食
い空き領域は、一般に複数箇所存在する。
In FIG. 5, numeral 21 is a character pattern memory having a bitmap memory structure, in which character patterns corresponding to each character code of a non-standard character are stored in the form of dot images. 211° to 211n are areas where each character pattern is stored,
A white area 211 shown in the center is an empty area (hereinafter referred to as a moth-eaten empty area) created by erasing external characters. Reference numeral 212 indicates a remaining free area in which no character pattern is stored. Note that there are generally multiple moth-eaten vacant areas.

22は登録テーブルであり、登録されている各文字の文
字コードとその文字パターンに対する文字パターンメモ
リ上の文字パターン格納アドレスとが対になった登録情
報(1)〜(n)が格納される。各文字コード領域にお
ける4桁の数字(aOao)等は、文字コードの例を示
したものである。
A registration table 22 stores registration information (1) to (n) in which the character code of each registered character and the character pattern storage address on the character pattern memory for that character pattern are paired. The four-digit number (aOao), etc. in each character code area shows an example of the character code.

登録情報(k)は、虫食い空き領域211にの登録情報
であり、文字コードが(0)であるとき、空き領域であ
ることを示す。すなわち、外字が抹消されてその領域が
空き領域になったとき、対応する登録情報の文字コード
は(0)にクリアされる。
Registration information (k) is registration information for the moth-eaten free area 211, and when the character code is (0), it indicates that it is a free area. That is, when a private character is deleted and the area becomes a free area, the character code of the corresponding registration information is cleared to (0).

SPは、最後に登録した次の領域(破線で示す領域21
1、や、)の位置を示すポインタである。
The SP is the next area registered last (area 21 indicated by the broken line).
This is a pointer indicating the position of 1, , etc.

この構成において、図示しない上位のホストより外字が
送られて来たときは、次のような手順により、外字の登
録が行われる。
In this configuration, when a non-standard character is sent from a higher-level host (not shown), the non-standard character is registered according to the following procedure.

■ 最初に登録テーブル22の上から順に検索を行い、
文字コードが(0)になっている空き領域すなわち虫食
い空き領域を調べる。
■ First, search from the top of the registration table 22,
Check the free space whose character code is (0), that is, the moth-eaten free space.

■ 空き領域が検出されたときは、その空き領域に新規
な外字の登録情報を登録する。その場合文字パターンの
アドレスは変わらないので、その文字コード領域に新規
外字の文字コードが登録される。続いて、その登録情報
の文字パターン格納アドレスの指示する文字パターンメ
モリ21上の空き領域(虫食い空き領域)に新規な外字
の文字パターンが展開される。
■ When a free space is detected, register new external character registration information in the free space. In this case, since the address of the character pattern does not change, the character code of the new non-standard character is registered in the character code area. Subsequently, a new non-standard character character pattern is developed in the empty area (moth-eaten empty area) on the character pattern memory 21 indicated by the character pattern storage address of the registration information.

第5図の場合は、登録情報21.1 (k)の領域が空
き領域として検出され、新規外字の登録情報が登録され
る。そして、文字パターンメモリ21の虫食い空き領域
211kに新規外字の文字パターンが展開、格納される
In the case of FIG. 5, the area of registration information 21.1 (k) is detected as a free area, and the registration information of a new non-standard character is registered. Then, the character pattern of the new non-standard character is developed and stored in the moth-eaten empty area 211k of the character pattern memory 21.

■ 虫食い空き領域が検出されないときは、登録テーブ
ルのポインタSPの指示する領域すなわち外字は、その
文字パターン格納領域の次の領域(破線で示す領域) 
211.。1に登録される。
■ If no moth-eaten free area is detected, the area pointed to by pointer SP of the registration table, that is, the external character, is the area next to the character pattern storage area (the area indicated by the broken line).
211. . Registered as 1.

次に、登録されている外字を抹消するときは、上位のホ
ストより抹消したい外字の文字コードが送られて来る。
Next, when deleting a registered custom character, the upper host sends the character code of the custom character to be deleted.

印刷装置は、登録テーブル22を検索して、この文字コ
ードと同じ登録情報の文字コードを(0)にクリアする
。更に、この抹消登録情報の文字パターン格納アドレス
が指示する文字パターンメモリ21上の領域にある文字
パターンをクリアする。
The printing device searches the registration table 22 and clears the character code of the registration information that is the same as this character code to (0). Further, the character pattern in the area on the character pattern memory 21 indicated by the character pattern storage address of this deletion registration information is cleared.

以上のよつにして、外字に対する登録及び抹消処理がホ
ストからの指示により随時行われる。
In the manner described above, registration and deletion processing for external characters is performed at any time according to instructions from the host.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来の外字管理方式におては、外字の抹消があると文字
パターンメモリ内に虫食い空き領域が生じるので、新規
外字の登録を行うときは、前述のように登録テーブルに
よって文字パターンメモリにおける虫食い空き領域の有
無を検索し、虫食い空き領域が有るときはその領域に新
規外字の登録情報を設定し、無いときは、通常の登録す
なわち最後に登録を行った次の領域に登録するようにし
ていた。
In the conventional custom character management system, when a custom character is deleted, a moth-eaten free space is created in the character pattern memory, so when registering a new custom character, the registration table is used to remove the moth-eaten free space in the character pattern memory. It searches for the presence or absence of an area, and if there is a moth-eaten free area, the registration information for a new external character is set in that area, and if there is not, it is registered as normal registration, that is, in the area following the last registration. .

このように、従来の外字管理方式は、新規外字の登録を
行うときには、登録テーブルによって文字パターンメモ
リにおける虫食い空き領域の有無の検索を必ず行ってい
たので、登録手続きが複雑で処理に時間が掛かるという
問題があった。
In this way, in the conventional custom character management system, when registering a new custom character, a search is always performed using the registration table to see if there is a moth-eaten free space in the character pattern memory, making the registration procedure complicated and time-consuming. There was a problem.

これを解決するために、登録テーブルとは別に虫食い空
き領域の有無だけを管理するテーブルを別に設ける外字
管理方式がある。
In order to solve this problem, there is a non-standard character management method that provides a table separate from the registration table that manages only the presence or absence of moth-eaten free areas.

しかしながら、この管理方式は、2個の管理テーブルを
必要とすること、2個の管理テーブルを参照する必要が
あること、外字の抹消があるたびに虫食い空き領域の管
理テーブルの内容を更新する必要があること等のため、
処理手続きが簡略化されないうえに、装置の構成が大き
くなるという問題があった。
However, this management method requires two management tables, it is necessary to refer to the two management tables, and it is necessary to update the contents of the management table of the moth-eaten free space every time a non-standard character is deleted. Due to the fact that there is
There was a problem that the processing procedure was not simplified and the configuration of the device became large.

本発明は、外字の登録及び抹消のための手続きを簡略化
してその処理を効率化するとともに、登録テーブル内の
空き領域の管理を不要にして装置の構成を簡単化す・る
ように改良した印刷装置等の出力装置の外字管理方式を
提供することを目的とする。
The present invention is an improved printing method that simplifies the procedure for registering and deleting external characters to make the process more efficient, and also simplifies the configuration of the device by eliminating the need to manage free space in the registration table. The purpose is to provide a system for managing external characters for output devices such as devices.

〔課題を解決するための手段〕[Means to solve the problem]

前述の課題を解決するために本発明が採用した手段を、
第1図を参照して説明する。第1図は、本発明の原理図
を示したものである。
The means adopted by the present invention to solve the above-mentioned problems are as follows:
This will be explained with reference to FIG. FIG. 1 shows a principle diagram of the present invention.

第1図において、11は文字パターンメモリであり、外
字の各文字コードに対応する文字パターンがドットイメ
ージで格納される。111゜〜111nは各文字パター
ンが格納される領域であり、右上側部分に示されている
白地の領域111には、外字が抹消されたことよって生
じた空き領域すなわち虫食い空き領域である。112は
、まだ文字パターンが格納されないで残っている空き領
域である。
In FIG. 1, 11 is a character pattern memory, in which character patterns corresponding to each character code of a non-standard character are stored in the form of dot images. 111° to 111n are areas in which each character pattern is stored, and the blank area 111 shown in the upper right portion is an empty area created by erasing external characters, that is, a moth-eaten empty area. Reference numeral 112 indicates a remaining free area in which no character pattern is stored.

12は登録テーブルであり、登録されている各文字の文
字コードとその文字パターンに対する文字パターンメモ
リ上の文字パターン格納アドレスとが対になった登録情
報(1)〜(n)が格納される。各文字コード領域にお
ける4桁の数字(aoao)等は、文字コードの例を示
したものである。
Reference numeral 12 denotes a registration table, which stores registration information (1) to (n) in which the character code of each registered character is paired with the character pattern storage address on the character pattern memory for that character pattern. The four-digit number (aoao), etc. in each character code area shows an example of the character code.

登録情報(ロ)は、虫食い空き領域211にの登録情報
であり、文字コードが(0)であるとき空き領域である
ことを示す。すなわち、外字が抹消されてその領域が空
き領域になったとき、対応する登録情報の文字コードは
(0)にクリアされる。
Registration information (b) is registration information for the moth-eaten free area 211, and when the character code is (0), it indicates that it is a free area. That is, when a private character is deleted and the area becomes a free area, the character code of the corresponding registration information is cleared to (0).

なお、登録情報は、登録テーブル12内ではその登録順
に上から下に順番に登録され、文字パターンメモリ11
上では、文字パターンが左上から右下へ順次展開されて
いくものとする。
The registration information is registered in the registration table 12 from top to bottom in the order of registration, and is stored in the character pattern memory 11.
In the above example, it is assumed that the character pattern is developed sequentially from the upper left to the lower right.

以上説明した文字パターンメモリ11及び登録テーブル
12を用いて、本発明の印刷装置等の出力装置の外字管
理方式は次のように構成される。
Using the character pattern memory 11 and registration table 12 described above, the external character management system of an output device such as a printing device according to the present invention is configured as follows.

すなわち、常時使用するための内字と一時的に使用され
使用後は抹消されることのある外字とに分け、両者の各
文字の文字パターンをドットイメージで格納する文字パ
ターンメモリ(11)と、文字コードとその文字パター
ンに対する文字パターンメモリ(11)上のアドレスと
を含む登録情報を管理する登録テーブル(12)とを備
えた出力装置の字管理方式において、 (a)  一つの外字が抹消されたときは、抹消外字の
登録情報が格納されていた登録テーブル(12)の文字
コード領域に、登録テーブルに登録した登録情報の文字
コードを移動する処理ステップと、 (b)  前記抹消外字の登録情報の文字パターン格納
アドレスが指示する文字パターンメモリ(11)上の領
域に、前記登録情報の文字パターン格納アドレスが指示
する文字パターンを移動する処理ステップと、 (C)  新規の外字は、その登録情報を登録テーブル
(12)の外字は、その登録情報を登録し、その文字パ
ターンは、文字パターンメモリ(11)上の外字は、そ
の文字パターン格納領域を格納する処理ステップ、 を備えるように構成される。
That is, a character pattern memory (11) stores the character pattern of each character in the form of a dot image, divided into internal characters for constant use and external characters that are used temporarily and may be deleted after use; In a character management method for an output device that includes a registration table (12) that manages registration information including a character code and an address in the character pattern memory (11) for that character pattern, (a) one non-standard character is deleted; (b) a processing step of moving the character code of the registered information registered in the registration table to the character code area of the registration table (12) in which the registered information of the deleted external character was stored; (b) registration of the deleted external character; a processing step of moving the character pattern indicated by the character pattern storage address of the registration information to an area on the character pattern memory (11) indicated by the character pattern storage address of the information; (C) registering the new external character; A processing step of registering the registration information for the private characters in the information registration table (12), and storing the character pattern storage area for the private characters in the character pattern memory (11), for the character patterns thereof. be done.

〔作 用〕[For production]

図示しない上位ホストより外字の抹消が指示されると、
その文字コードに対応する登録テーブル12と文字パタ
ーンメモリ11の領域が空き領域になったものと考えて
、本発明の外字管理方式における外字の抹消及び登録処
理は、次の手順にしたがって行われる。なお、抹消外字
の登録情報は登録情報(2)であり、それに対応する文
字パターンメモリIf上の領域(虫食い空き領域)は領
域111にであり、最後に登録された外字(Qとする)
の登録情報は登録情報(n)であり、それに対応する文
字パターンメモリ11上の領域は領域111nであると
する。
When a higher-level host (not shown) instructs you to delete external characters,
Considering that the areas of the registration table 12 and character pattern memory 11 corresponding to the character code are now empty areas, the deletion and registration process of a non-standard character in the non-standard character management system of the present invention is performed according to the following procedure. The registered information of the deleted non-standard character is registration information (2), the corresponding area (moth-eaten free area) on the character pattern memory If is area 111, and the last registered non-standard character (let be Q)
It is assumed that the registration information is registration information (n), and the corresponding area on the character pattern memory 11 is an area 111n.

■ 図示しない上位ホストより抹消する外字が指示され
ると、印刷装置は抹消対象外字の登録情報(2)が格納
されている登録テーブル12内の領域の文字コード領域
に、最後に登録テーブル12に登録した外字Qの登録情
報(n)の文字コード(1,4a 5 )を移動して登
録する(第1図(A)及び(B)参照)。
■ When a non-illustrated external character is instructed to be deleted from a higher-level host, the printing device writes the character code area of the area in the registration table 12 in which the registration information (2) of the non-standard character to be deleted is stored, and finally writes it to the registration table 12. The character code (1,4a 5 ) of the registration information (n) of the registered external character Q is moved and registered (see FIGS. 1(A) and (B)).

■ 前記抹消外字の登録情報(ト)の文字パターン格納
アドレスが指示する文字パターンメモリ11上の虫食い
空き領域111kに、前記外字は、その登録情報(n)
の指示する外字Qの文字パターンを移動して展開する(
第1図(C)及び(D)参照)。
■ The registered character (n) of the deleted external character is stored in the moth-eaten free area 111k on the character pattern memory 11 indicated by the character pattern storage address of the registration information (g) of the deleted external character.
Move and expand the character pattern of the external character Q indicated by (
(See Figures 1 (C) and (D)).

以上の処理により、登録情報板)のあった領域に外字Q
の登録情報(n)の文字コードが移動され、抹消外字の
文字パターンのあった領域111kに領域111nにあ
った外字Qの文字パターンが移動される。したがって、
登録テーブル12内の外字Qの登録情報(nlのあった
領域及び文字パターンメモリll上の外字Qの文字パタ
ーンのあった領域111nは、第1図(B)及び(C)
に示すようにいずれも空き領域にな・る。しかしながら
、それ以外の登録テーブル12及び文字パターンメモリ
11の領域には、空き領域は存在しない。
With the above processing, the external character Q is added to the area where the registration information board) was located.
The character code of registration information (n) is moved, and the character pattern of the non-standard character Q in the area 111n is moved to the area 111k where the character pattern of the deleted non-standard character was. therefore,
The registration information of the external character Q in the registration table 12 (the area where nl was located and the area 111n where the character pattern of the external character Q on the character pattern memory ll was located are shown in FIGS. 1(B) and (C).
As shown in the figure, both become empty areas. However, there is no free space in other areas of the registration table 12 and character pattern memory 11.

■ その後に上位ホストより新規外字に対する登録の指
示があったときは、その登録情報は登録テーブル12め
外字は、その領域すなわち元の登録情報(n)のあった
領域に登録し、その文字パターンを文字パターンメモリ
11の外字は、その領域すなわち元の外字Qの文字パタ
ーンのあった領域111nに展開する。
■ After that, when there is an instruction to register a new non-standard character from the upper host, the registration information is registered in registration table 12. The non-standard character is registered in that area, that is, the area where the original registration information (n) was, and the character pattern is The external character in the character pattern memory 11 is developed in its area, that is, the area 111n where the original character pattern of the external character Q was located.

以下同様にして、上位ホストより外字の抹消指示があっ
たときは、その都度直ちに前記■及び■の抹消処理を行
い、新規外字の登録指示があったときは、前記■の登録
処理を行う。
In the same way, whenever there is an instruction to delete a private character from the host, the deletion processing of (2) and (2) is immediately performed, and when there is an instruction to register a new private character, the registration processing of (2) is performed.

なお、前記抹消処理■及び■において、■と■の処理順
序を逆にして、■−−■の順に抹消処理を行うようにし
てもよい。
Note that in the erasure processing (1) and (2), the processing order of (1) and (2) may be reversed, and the erasure processing may be performed in the order of (2) - (2).

以上のように、外字の抹消がある毎に、それによって生
じた登録テーブル及び文字パターンメモリの空き領域へ
最後に登録した外字の登録情報の文字コード及びその文
字パターンを移動するようにしたので、文字パターンメ
モリ上の虫食い空き領域の有無を管理するための別個の
テーブルを設ける必要がなくなり、登録テーブルだけの
簡単な構成で外字の登録及び抹消を管理することができ
る。
As described above, each time a custom character is deleted, the character code and its character pattern of the registration information of the last registered custom character are moved to the resulting free space in the registration table and character pattern memory. There is no need to provide a separate table for managing the presence or absence of moth-eaten free space on the character pattern memory, and registration and deletion of external characters can be managed with a simple configuration of only the registration table.

また新規外字の登録時は、文字パターンメモリ上の虫食
い空き領域の有無を検索する必要はなく、直ちに登録テ
ーブル及び文字パターンメモリの外字は、その領域にそ
の登録情報及び文字パターンを登録及び展開することが
できるので、新規外字の登録処理を簡単かつ効率良く行
うことができる。これにより、外字管理処理手続きを全
体的に簡略化することが可能となり、外字管理処理効率
を全体的に向上させることができる。
Also, when registering a new custom character, there is no need to search for the presence or absence of moth-eaten free space on the character pattern memory, and the registration information and character pattern of the custom character in the registration table and character pattern memory are immediately registered and developed in that area. Therefore, the registration process for new external characters can be performed easily and efficiently. This makes it possible to simplify the entire non-standard character management processing procedure, and to improve the overall non-standard character management processing efficiency.

[実施例] 本発明の実施例を、第2図、第3A図〜第3D図図及び
第4図を参照して説明する。第2図は本発明の一実施例
の実施に使用する印刷装置の説明図、第3A図〜第3D
図は同実施例の外字抹消/登録処理方式の説明図、第4
図は同実施例の処理フローチャートである。
[Example] An example of the present invention will be described with reference to FIGS. 2, 3A to 3D, and 4. FIG. 2 is an explanatory diagram of a printing device used in carrying out an embodiment of the present invention, and FIGS. 3A to 3D.
The figure is an explanatory diagram of the non-standard character deletion/registration processing method in the same embodiment.
The figure is a processing flowchart of the same embodiment.

(A)印刷装置の構成 第2図において、文字パターンメモリ11及び登録テー
ブル12については、第1図で説明したとおりである。
(A) Configuration of Printing Apparatus In FIG. 2, the character pattern memory 11 and registration table 12 are the same as described in FIG. 1.

13は描画プロセッサ、14はビットマツプメモリ、1
5はプリンタコントローラ、16はプリンタ、17は主
プロセツサ、18はコントロールメモリ、19はDMA
コントローラである。
13 is a drawing processor, 14 is a bitmap memory, 1
5 is a printer controller, 16 is a printer, 17 is a main processor, 18 is a control memory, 19 is a DMA
It is a controller.

描画プロセッサ13は、プリンタ16に印刷する文書の
各文字パターンをビットマツプメモリ14上に展開する
処理を行う。
The drawing processor 13 performs a process of developing each character pattern of a document to be printed on the printer 16 onto the bitmap memory 14.

プリンタコントローラ15は、ビットマツプメモリ14
上に展開された文書の各文字パターンを読み出してプリ
ンタ16に印刷する処理及び外字の抹消/登録時の文字
パターン展開/移動処理等を行う。
The printer controller 15 has a bitmap memory 14.
A process of reading out each character pattern of the document developed above and printing it on the printer 16, a process of character pattern development/movement at the time of deletion/registration of external characters, etc. are performed.

コントロールメモリ18には、登録テーブル12が設け
られる他、主プロセツサ17の制御プログラム、描画コ
ントローラ13の描画処理用のバッファ(いずれも図示
せず)等が設けられている。
The control memory 18 is provided with a registration table 12, a control program for the main processor 17, a buffer for drawing processing by the drawing controller 13 (none of which are shown), and the like.

DMAコントローラ19は、描画プロセッサ13及び文
字パターンメモリ12とコントロールメモリ18間の直
接データ転送、コントロールメモリ18内部の各メモリ
間の直接データ転送を制御する。
The DMA controller 19 controls direct data transfer between the drawing processor 13 and character pattern memory 12 and the control memory 18, and direct data transfer between each memory within the control memory 18.

主プロセツサ17は、印刷装置内の前記各部の動作及び
全体の印刷動作を管理、制御する。
The main processor 17 manages and controls the operations of each section within the printing apparatus and the overall printing operation.

(B)実施例の動作 本発明の一実施例の動作を、第3A図〜第3D図及び第
4図を参照して説明する。
(B) Operation of Embodiment The operation of an embodiment of the present invention will be explained with reference to FIGS. 3A to 3D and FIG. 4.

第3A図〜第3D図において、SPは、次に登録要求の
あった文字パターンの登録情報を格納する領域の位置を
示すポインタである。
In FIGS. 3A to 3D, SP is a pointer indicating the location of the area where registration information for the next character pattern requested for registration is stored.

SPeは、外字の抹消によって生じる文字パターンメモ
リ11上の虫食い空き領域の位置を示すポインタである
。SP’は、外字の抹消処理によって移動するポインタ
SPの位置を示す。その他の内容については、第1図で
説明したとおりである。
SPe is a pointer indicating the position of a moth-eaten empty area on the character pattern memory 11 caused by deletion of a non-standard character. SP' indicates the position of the pointer SP to be moved by the deletion process of the private characters. The other contents are as explained in FIG. 1.

また第4’[D (A)は外字抹消時の処理フローチャ
ートを示し、同図(B)は外字登録時の処理フローチャ
ートを示したものである。以下第4図の処理フローチャ
ートの処理ステップに従って、実施例の抹消及び登録処
理動作を説明する。なお以下の各処理は、特に断らない
限り主プロセツサ17によって行われる。また、抹消外
字の登録情報は登録情報(2)であり、それに対応する
文字パターンメモリ11上の領域(虫食い空き領域)は
領域111にであり、最後に登録された外字(Qとし、
その文字コードはr14a5Jとする)の登録情報は登
録情報(n)であり、それに対応する文字パターンメモ
リll上の領域は領域111nであるとする(第3A図
参照)。
Further, 4'[D (A) shows a processing flowchart when a custom character is deleted, and FIG. 4B shows a processing flowchart when a custom character is registered. The deletion and registration processing operations of the embodiment will be described below in accordance with the processing steps of the processing flowchart of FIG. 4. Note that each of the following processes is performed by the main processor 17 unless otherwise specified. Further, the registration information of the deleted private character is registration information (2), the corresponding area (moth-eaten empty area) on the character pattern memory 11 is the area 111, and the last registered private character (Q,
Assume that the registration information of the character code r14a5J) is registration information (n), and the corresponding area on the character pattern memory 11 is area 111n (see FIG. 3A).

これらの登録情報(0)〜(n)・・・は、登録テーブ
ル12をメモリで構成した場合、このメモリ内の格納位
置の先頭メモリアドレスである。
These registration information (0) to (n), . . . are the first memory addresses of the storage positions in the memory when the registration table 12 is configured with a memory.

(1)抹消処理動作 ■ ステップ311 既に登録済みの外字を抹消する場合は、図示しない上位
ホストより抹消外字の文字コードが印刷装置に送られる
(1) Deletion Processing Operation■ Step 311 When deleting a custom character that has already been registered, the character code of the custom character to be deleted is sent to the printing device from an upper host (not shown).

■ ステップS 12 印刷装置の主プロセツサ17は、登録テーブル12を参
照して、この抹消外字が最後に登録された文字(すなわ
ち文字Q)であるか判断する。この判断は、抹消外字と
外字は、その登録文字Qの文字コード(14a 5)と
を比較することにより行われる。
(2) Step S12 The main processor 17 of the printing device refers to the registration table 12 and determines whether this erased character is the last registered character (ie, character Q). This determination is made by comparing the character code (14a5) of the registered character Q between the deleted external character and the external character.

■ ステップ311 抹消外字が外字は、その登録文字Qであるときは、登録
テーブル12にある文字Qの文字コード、すなわち登録
情報(n)の文字コード(14a5)を(0)にクリア
する。更に、文字パターンメモリ11の領域111nに
あ文字Qの文字パターンをクリアする。にれにより、文
字Qの抹消される。
(2) Step 311 When the deleted external character is the registered character Q, the character code of the character Q in the registration table 12, that is, the character code (14a5) of the registration information (n), is cleared to (0). Furthermore, the character pattern of the character Q is cleared in the area 111n of the character pattern memory 11. The letter Q is erased by the letter Q.

■ ステップSI4 主プロセ・ンサ17は、登録テーブル12内の登録情報
の位置を指示するポインタSPを、つ前の登録情報(旧
登録情報(n))の位置に移す。
(2) Step SI4 The main processor 17 moves the pointer SP indicating the position of the registered information in the registration table 12 to the position of the previous registered information (old registered information (n)).

これにより、次に登録される新規外字は、今回抹消され
た登録情報(n)の領域に登録されることになる。これ
は、前述のように登録情報は、登録テーブル12内では
その登録順に上から下に順番に登録され、文字パターン
メモリll上では、文字パターンが左上から右下へ順次
展開されるからである。
As a result, the next new external character to be registered will be registered in the area of the currently deleted registration information (n). This is because, as mentioned above, the registration information is registered in the registration table 12 from top to bottom in the registration order, and in the character pattern memory 12, character patterns are developed sequentially from the upper left to the lower right. .

■ ステップ315 ステップSIzにおいて抹消外字が外字は、その登録文
字Qでないときは、主プロセツサ17は、登録情報(n
)の領域にある外字は、その登録文字Qの文字コード(
14a 5)を、抹消外字の登録情報(ト)の文字コー
ド領域に上書きする。登録情報(ト)の位置にポインタ
SPeをセットする(第3A図及び第3B図の(a)参
照)。
■ Step 315 If the deleted private character is not the registered character Q in step SIz, the main processor 17 uses the registration information (n
) is the character code of the registered character Q (
14a 5) is overwritten in the character code area of the registration information (g) of the deleted external character. A pointer SPe is set at the position of the registration information (g) (see (a) in FIGS. 3A and 3B).

■ ステップS I6 主プロセツサ17は、描画プロセッサ13に指示して、
ポインタSPの一つ前の登録情報の文字パターン格納ア
ドレスが指示する文字パターンメモリll上の文字パタ
ーン、すなわち外字は、その登録文字Qの文字パターン
を、ポインタSPeの指す登録情報の文字パターン格納
アドレスが指示する文字パターンメモリ11上の領域、
すなわち抹消外字の文字パターンのあった領域111k
に移動して上書きさせる(第3C図(b)参照)。
■ Step SI6 The main processor 17 instructs the drawing processor 13 to
The character pattern in the character pattern memory ll pointed to by the character pattern storage address of the registration information immediately before the pointer SP, that is, the external character, is the character pattern of the registered character Q at the character pattern storage address of the registration information pointed to by the pointer SPe. The area on the character pattern memory 11 indicated by
In other words, the area 111k where the character pattern of the deleted external character was located
and overwrite it (see Figure 3C (b)).

■ ステップSl? 主プロセツサ17は、ポインタSPの一つ前の旧登録情
報(n)の領域にある外字は、その登録文字Qの文字コ
ード(14a 5)を(0)にクリアして、旧登録情報
(n)を空き領域にする(第3C図(a)参照)。
■ Step Sl? The main processor 17 clears the character code (14a 5) of the registered character Q to (0) for the external character in the area of the old registration information (n) immediately before the pointer SP, and clears the character code (14a5) of the registered character Q to (0), and ) becomes a free area (see Figure 3C (a)).

■ ステップS14 主プロセツサ17は、前述の■におけるステップsea
と同様に、登録テーブルI2内の登録情報の位置を指示
するポインタS′Pを、一つ前の登録情報(登録情報(
n))の位置SP’に移す。
■Step S14 The main processor 17 executes step S14 in step S14 described above.
Similarly, the pointer S'P indicating the position of the registered information in the registration table I2 is moved to the previous registered information (registered information (
n)) to position SP'.

これにより、次に登録される新規外字は、今回抹消され
た登録情報(n)の領域に登録される。
As a result, the next new external character to be registered is registered in the area of the registered information (n) that has been deleted this time.

以上のようにして、第3D図(a)及び(b)に示すよ
うに登録テーブル12及び文字パターンメモリILの更
新が行われ、上位ホストより指示された外字に対する抹
消処理が終了する。外字の抹消処理か終了した時点で、
登録テーブル12及び文字パターンメモリ11上には、
図示のように空き領域は存在しない。
In the above manner, the registration table 12 and the character pattern memory IL are updated as shown in FIGS. 3D (a) and (b), and the deletion process for the external characters instructed by the host is completed. When the deletion process of external characters is completed,
On the registration table 12 and character pattern memory 11,
As shown in the figure, there is no free space.

以下同様にして、上位ホストより登録外字に対する抹消
指示がある毎に、前述のステップS 11〜ステップS
1.の各処理が繰り返されて、登録外字に対する抹消処
理が行われる。
Thereafter, in the same manner, each time there is an instruction to delete a registered non-registered character from the upper host, the steps S11 to S described above are performed.
1. The above processes are repeated to perform the deletion process on the registered non-standard characters.

(2)登録処理動作 ■ ステップSZI 新規外字の登録を行うときは、上位ホストより新規外字
の文字コードが、印刷装置に送られる。
(2) Registration processing operation ■ Step SZI When registering a new non-standard character, the upper host sends the character code of the new non-standard character to the printing device.

■ ステップSz2 主プロセツサ17は、登録テーブル12のポインタSP
の指示する登録情報の文字コード領域に新規外字の文字
コードを登録する。
■ Step Sz2 The main processor 17 uses the pointer SP of the registration table 12.
Register the character code of the new external character in the character code area of the registration information specified by .

この登録領域は、前述の抹消処理動作で説明したように
最下段の既登録領域の次の空き領域であり、その文字パ
ターン格納アドレスは、文字パターンメモリ11上の最
終既登録領域の次の空き領域を指示する。
As explained in the deletion processing operation above, this registered area is the free area next to the registered area at the bottom, and the character pattern storage address is the free area next to the last registered area on the character pattern memory 11. Indicate the area.

■ ステップSzz 主プロセツサ17は、描画プロセッサーに指示し、ステ
ップSt2で登録した登録情報の文字パターン格納アド
レスに従って、文字パターンメモリll上の最終既登録
領域の次の空き領域に、新規外字の文字パターンを展開
させる。
■ Step Szz The main processor 17 instructs the drawing processor to store the character pattern of the new external character in the free area next to the last registered area on the character pattern memory 1 according to the character pattern storage address of the registered information registered in step St2. Expand.

■ ステップS!4 主プロセツサ17は、登録テーブル12内の登録情報の
位置を指示するポインタSPを、一つ次の登録情報の位
置に進める。
■ Step S! 4 The main processor 17 advances the pointer SP indicating the position of registered information in the registration table 12 to the next position of registered information.

以下、上位ホストより新規外字の登録指示がある毎に前
述のステップS X1〜ステツプ324の処理が繰り返
されて、登録情報は登録テーブル12内ではその登録順
に上から下に順番に登録され、文字パターンメモリll
上では、文字パターンが左上から右下へ順次展開されて
いく。
Thereafter, each time there is an instruction to register a new external character from the upper host, the above-mentioned processes from step S pattern memory ll
Above, the character pattern is developed sequentially from the top left to the bottom right.

以上本発明の一実施例について説明したが、本発明の実
施例はこれに限定されるものではない。
Although one embodiment of the present invention has been described above, the embodiment of the present invention is not limited thereto.

例えば、抹消処理において、ステップS15とステップ
S 11+の処理順番を入替えて行うようにしてもよい
。また、本発明は印刷装置に限らず、表示装置等の出力
装置にも適用可能である。
For example, in the deletion process, the processing order of step S15 and step S11+ may be changed. Furthermore, the present invention is applicable not only to printing devices but also to output devices such as display devices.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば次の諸効果が得ら
れる。
As explained above, according to the present invention, the following effects can be obtained.

(1)外字の抹消がある毎に、それによって生じた登録
テーブル及び文字パターンメモリの空き領域へ最後に登
録した外字の登録情報の文字コード及びその文字パター
ンを移動するようにしたので、文字パターンメモリ上の
虫食い空き領域の有無を管理するための別個のテーブル
を設ける必要がなくなり、登録テーブルだけの簡単な構
成で外字の登録及び抹消を管理することができる。
(1) Every time a custom character is deleted, the character code and its character pattern of the registration information of the last registered custom character are moved to the free space in the registration table and character pattern memory created by the deletion. There is no need to provide a separate table for managing the presence or absence of moth-eaten free space on the memory, and registration and deletion of external characters can be managed with a simple configuration of only the registration table.

(2)新規外字の登録時は、文字パターンメモリ上の虫
食い空き領域の有無を検索する必要はなく、直ちに登録
テーブル及び文字パターンメモリの外字は、その領域に
その登録情報及び文字パターンを登録及び展開すること
ができるので、新規外字の登録処理を簡単かつ効率良く
行うことができる。これにより、外字管理処理手続きを
全体的に簡略化することが可能となり、外字管理処理効
率を全体的に向上させることができる。
(2) When registering a new non-standard character, there is no need to search for the presence or absence of moth-eaten free space on the character pattern memory. Since it can be expanded, the registration process of new external characters can be performed easily and efficiently. This makes it possible to simplify the entire non-standard character management processing procedure, and to improve the overall non-standard character management processing efficiency.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の原理図、 第2図は本発明の一実施例の実施に使用する印刷装置の
説明図、 第3A図は同実施例の外字抹消/登録処理方式第3B図
は同実施例の外字抹消/登録処理方式の説明図、 第3C図は同実施例の外字抹消/登録処理方式第3D図
は同実施例の外字抹消/登録処理方式の説明図、 第4図は同実施例の処理フローチャート、第5図は従来
の印刷装置の外字管理方式の説明図である。 第1図及び第2図において、 11−・・文字パターンメモリ、I:l”−登録テーブ
ル、13−描画プロセッサ、14−ビットマツプメモリ
、15− プリンタコントローラ、16−・プリンタ、
17−・主プロセツサ、18−・−コントロールメモリ
、19− DMAコントローラである。
Fig. 1 is a diagram of the principle of the present invention, Fig. 2 is an explanatory diagram of a printing device used to implement an embodiment of the present invention, Fig. 3A is a non-standard character deletion/registration processing method of the same embodiment, and Fig. 3B is the same. FIG. 3C is an explanatory diagram of the custom character deletion/registration processing method of the embodiment. FIG. 3D is an explanatory diagram of the custom character deletion/registration processing method of the same embodiment. FIG. 5, which is a processing flowchart of the embodiment, is an explanatory diagram of a conventional character management system of a printing device. 1 and 2, 11--Character pattern memory, I:l"-Registration table, 13-Drawing processor, 14-Bit map memory, 15-Printer controller, 16-Printer,
17--Main processor, 18--Control memory, 19--DMA controller.

Claims (1)

【特許請求の範囲】 常時使用するための内字と一時的に使用され使用後は抹
消されることのある外字とに分け、両者の各文字の文字
パターンをドットイメージで格納する文字パターンメモ
リ(11)と、文字コードとその文字パターンに対する
文字パターンメモリ(11)上のアドレスとを含む登録
情報を管理する登録テーブル(12)とを備えた出力装
置の外字管理方式において、 (a)一つの外字が抹消されたときは、抹消外字の登録
情報が格納されていた登録テーブル(12)の文字コー
ド領域に、登録テーブルに登録した登録情報の文字コー
ドを移動する処理ステップと、 (b)前記抹消外字の登録情報の文字パターン格納上の
領域に、前記登録情報の文字パターン格納アドレスが指
示する文字パターンを移動する処理ステップと、 (c)新規の外字は、その登録情報を登録テーブル(1
2)の最後の登録情報の次に登録し、その文字パターン
は、文字パターンメモリ(11)上の最後の文字パター
ン格納領域の次に格納する処理ステップ、 を備えたことを特徴とする出力装置における外字管理方
式。
[Claims] A character pattern memory (character pattern memory) that stores character patterns of each character in the form of dot images, dividing internal characters for constant use and external characters for temporary use and erasing them after use. 11) and a registration table (12) for managing registration information including character codes and addresses on the character pattern memory (11) for the character patterns, (a) one When a private character is deleted, a processing step of moving the character code of the registration information registered in the registration table to the character code area of the registration table (12) in which the registration information of the deleted private character was stored; a processing step of moving the character pattern indicated by the character pattern storage address of the registered information to the area on the character pattern storage area of the registration information of the deleted private character; (c) for the new private character, the registered information is stored in the registration table (1
2) A processing step of registering the character pattern next to the last registered information and storing the character pattern next to the last character pattern storage area on the character pattern memory (11). External character management method in .
JP1148286A 1989-06-13 1989-06-13 External character control system of output device Pending JPH0314070A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1148286A JPH0314070A (en) 1989-06-13 1989-06-13 External character control system of output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1148286A JPH0314070A (en) 1989-06-13 1989-06-13 External character control system of output device

Publications (1)

Publication Number Publication Date
JPH0314070A true JPH0314070A (en) 1991-01-22

Family

ID=15449374

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1148286A Pending JPH0314070A (en) 1989-06-13 1989-06-13 External character control system of output device

Country Status (1)

Country Link
JP (1) JPH0314070A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4530523A (en) * 1982-01-15 1985-07-23 Proni Industries, Inc. Unitary cantilever clamp action fitting with a split end

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4530523A (en) * 1982-01-15 1985-07-23 Proni Industries, Inc. Unitary cantilever clamp action fitting with a split end

Similar Documents

Publication Publication Date Title
US4760608A (en) Image processing method and apparatus
JPH0314070A (en) External character control system of output device
JPH0814842B2 (en) Image processing method and apparatus
JP3169596B2 (en) Database management device
JPH08314780A (en) File management system
JP2723109B2 (en) Image processing method
JPH0340171A (en) Method and device for editing document
JPH0377126A (en) Method and device for processing data
JPH1091768A (en) Electronic filing device and method
JP3428775B2 (en) Job number management system
JP2627555B2 (en) How to manage user-defined characters in word processors
JPH0667945A (en) Electronic filing device
JPH02239319A (en) Picture information output device
JP3116568B2 (en) Printing equipment
JPH0779399B2 (en) Equipment
JP3323019B2 (en) Printer control device
JP3060497B2 (en) Marker segment registration / redraw method
JPH03136465A (en) Picture forming device
JPS6027926A (en) External character control system of terminal equipment
JPH10261100A (en) Ad system and recording medium
JPH033266B2 (en)
JPS6257031B2 (en)
JPH0622028B2 (en) Document creation / editing device
JPH01237740A (en) System for replacing variable length data
JPH01188986A (en) Data mapping input device for image data