JPH04241967A - Character pattern processing system - Google Patents

Character pattern processing system

Info

Publication number
JPH04241967A
JPH04241967A JP254691A JP254691A JPH04241967A JP H04241967 A JPH04241967 A JP H04241967A JP 254691 A JP254691 A JP 254691A JP 254691 A JP254691 A JP 254691A JP H04241967 A JPH04241967 A JP H04241967A
Authority
JP
Japan
Prior art keywords
character pattern
pattern data
converted
memory
character
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.)
Withdrawn
Application number
JP254691A
Other languages
Japanese (ja)
Inventor
Takeshi Niwada
剛 庭田
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 JP254691A priority Critical patent/JPH04241967A/en
Publication of JPH04241967A publication Critical patent/JPH04241967A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To make it unnecessary to convert character pattern so as to shorten processing time by preserving a converted character pattern data in a memory and reading out the preserved character pattern data for outputting at next outputting. CONSTITUTION:When a character pattern is to be outputted, a conversion output means 33 reads out a first character pattern data corresponding to a designated character code from a first memory 31 and converts it into a second character pattern data. At the same time that the converted second character pattern data is outputted, it is preserved in a second memory 32 together with a converted information 15. Thereafter, the conversion output means 33 refers to the converted information 15 so as to read out corresponding second character pattern data from the second memory 32 if the character pattern data to be outputted is completed already for outputting. When it is not converted yet, it is read out from the first memory 31 so as to convert to output. From a next access, the conversion of the character pattern will be unnecessary, so that the processing time can be shortened.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は文字パターン処理方式の
改良に関する。ワークステーションWS等のシステムで
は、通常、(1) 表示用文字パターン(行順次で配列
された文字パターン、以下ROW),印字用文字パター
ン(桁順次で配列された文字パターン、以下COLUM
N)の両方を持ち、表示時は表示用文字パターン,印字
時は印字用文字パターンを使用する、(2) どちらか
一方の文字パターンを持ち、使用する際にROW/CO
LUMN(R/C)変換処理を行い使用する,のどちら
かである。前者の場合、両方の文字パターンを備えるに
はコストがかかり,且つ装置の小型化という点からも問
題がある。このため、後者の方法が採用される場合が多
いが、データ量の増加に伴う変換処理の効率化が要求さ
れている。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to improvements in character pattern processing methods. In a system such as a workstation WS, there are usually (1) character patterns for display (character patterns arranged in row sequential order, hereinafter referred to as ROW), character patterns for printing (character patterns arranged in digit order, hereinafter referred to as COLUM);
(2) Has either character pattern and uses ROW/CO when used.
Either perform LUMN (R/C) conversion processing and use it. In the former case, it is costly to provide both character patterns, and there are also problems in terms of miniaturization of the device. For this reason, the latter method is often adopted, but as the amount of data increases, there is a demand for more efficient conversion processing.

【0002】0002

【従来の技術】図5は従来例(その1)の構成図、図6
は従来例(その2)の構成図、図7はR/C変換説明図
である。
[Prior art] Fig. 5 is a configuration diagram of a conventional example (part 1), and Fig. 6
is a configuration diagram of a conventional example (part 2), and FIG. 7 is an explanatory diagram of R/C conversion.

【0003】従来の装置では、一種類の文字パターン、
主として表示用文字パターンのみを持ち、そのパターン
を印字出力する際には、その都度、印字用文字パターン
に変換して印字出力している。表示用文字パターンはR
OWスキャン,印字用文字パターンはCOLUMNスキ
ャンが一般的であり、表示用文字パターンのみ備えた装
置では、ROWスキャンからCOLUMNスキャンに変
換(R/C変換)する変換作業が発生する。
[0003] In conventional devices, one type of character pattern,
It mainly has only character patterns for display, and each time that pattern is printed out, it is converted into a character pattern for printing and printed out. The display character pattern is R
OW scan and COLUMN scan are commonly used as character patterns for printing, and in a device equipped only with character patterns for display, conversion work is required to convert from ROW scan to COLUMN scan (R/C conversion).

【0004】図7は、24×24ドットで構成される表
示用文字パターン例および印字用文字パターン例を示し
たもので、表示用文字パターンは、例えばROM等に1
バイト単位に図示1,2,3・・・72の順に配列,記
憶されており、これを順次読出すことによりROWスキ
ャンのパターンデータが得られるようになっている。
FIG. 7 shows an example of a display character pattern and a print character pattern composed of 24×24 dots.
The data are arranged and stored in the order of 1, 2, 3, . . . , 72 in the figure in byte units, and pattern data for the ROW scan can be obtained by sequentially reading these data.

【0005】一方、印字出力装置に対しては、図示のよ
うに、1,2,3・・・72のごとく、COLUMNス
キャンのパターンデータを出力する必要があり、この配
列の印字用文字パターンを持たない場合は、表示用パタ
ーンをR/C変換する。このため、例えば、表示用文字
パターンの1,4,7,・・・,22番目の8バイトか
ら各1番目のビットを取り出し、これを1バイトに編集
して印字用文字パターンの1バイト目として出力する、
というような変換作業が行われる。
On the other hand, as shown in the figure, it is necessary to output COLUMN scan pattern data such as 1, 2, 3, . If not, the display pattern is R/C converted. For this reason, for example, extract the first bit from each of the 1st, 4th, 7th, ..., 22nd 8 bytes of the display character pattern, edit this into 1 byte, and add the 1st byte of the print character pattern. output as,
Such conversion work is performed.

【0006】図5は、変換処理を制御装置側で行う場合
を示したもので、制御装置1 のR/C変換部13aは
、印字指定された文字コードにより、表示用文字パター
ンデータをROM 12より読出し、前述したR/C変
換を行ってバッファ14に格納する。この変換された印
字用文字パターンは、回線を通じて印字出力装置2 に
送出され、印字出力装置2 では、一旦出力メモリ25
に格納した後、1行分の印字バッファ26に編集格納し
、印字メカ部27に出力して印字する。
[0006] FIG. 5 shows a case where the conversion process is performed on the control device side. The data is read from the buffer 14, subjected to the R/C conversion described above, and stored in the buffer 14. This converted character pattern for printing is sent to the print output device 2 through the line, and once in the print output device 2, it is sent to the output memory 25.
After storing the data in the print buffer 26 for one line, the data is edited and stored in the print buffer 26, and outputted to the printing mechanism section 27 for printing.

【0007】図6は、印字出力装置側でR/C変換を行
うシステムを示したもので、制御装置3 は、ROWス
キャンの表示用文字パターンを印字出力装置4 に出力
し、印字出力装置4 では、R/C変換部22a がR
/C変換を行う。
FIG. 6 shows a system that performs R/C conversion on the print output device side, in which the control device 3 outputs the ROW scan display character pattern to the print output device 4; Then, the R/C converter 22a converts R
/C conversion.

【0008】なお、いずれの場合も、R/C変換はその
都度行われる。
[0008] In either case, R/C conversion is performed each time.

【0009】[0009]

【発明が解決しようとする課題】表示用文字パターンを
印字用文字パターンに変換するとか、1 つの文字パタ
ーンを拡大, 縮小する等、文字パターンを変換して出
力する場合、従来ではその都度変換作業を行っていた。 このため、変換作業に無駄が発生し、印字時間等の処理
時間が遅くなるといった課題がある。
[Problem to be Solved by the Invention] Conventionally, when converting and outputting a character pattern, such as converting a character pattern for display into a character pattern for printing, or enlarging or reducing a single character pattern, conversion work was performed each time. was going on. Therefore, there is a problem that conversion work is wasted and processing time such as printing time becomes slow.

【0010】本発明は、上記課題に鑑み、パターン変換
作業を効率良く行う文字パターン処理方式を提供するこ
とを目的とする。
SUMMARY OF THE INVENTION In view of the above problems, it is an object of the present invention to provide a character pattern processing method that efficiently performs pattern conversion work.

【0011】[0011]

【課題を解決するための手段】図1の本発明の原理図に
おいて、31は第1のメモリで、第1の文字パターンデ
ータ群が格納されている。32は第2のメモリで、変換
し出力した第2の文字パターンデータが格納される。3
3は変換出力手段で、第1のメモリ31から指定の第1
の文字パターンデータを読出して第2の文字パターンデ
ータに変換し、変換した第2の文字パターンデータを出
力するとともに、変換済み情報15とともに第2のメモ
リ32に保存し、以後変換済み情報15を参照して、出
力対象文字のパターンデータが変換済みならば第2のメ
モリ32より対応する第2の文字パターンデータを読出
して出力し、未変換ならば第1のメモリより第1の文字
パターンデータを読出して変換する。
Means for Solving the Problems In the principle diagram of the present invention shown in FIG. 1, numeral 31 is a first memory in which a first character pattern data group is stored. A second memory 32 stores converted and outputted second character pattern data. 3
3 is a conversion output means which outputs a specified first output from the first memory 31;
The character pattern data is read out and converted into second character pattern data, and the converted second character pattern data is output and stored in the second memory 32 together with the converted information 15. From now on, the converted information 15 is If the pattern data of the output target character has been converted, the corresponding second character pattern data is read out from the second memory 32 and output; if the pattern data of the output target character has not been converted, the first character pattern data is read out from the first memory. Read and convert.

【0012】0012

【作用】変換出力手段33は、文字パターンを出力する
際、第1のメモリ31から指定された文字コードに対応
する第1の文字パターンデータを読出して第2の文字パ
ターンデータに変換する。そして変換した第2の文字パ
ターンデータを出力すると同時に、変換済み情報15と
ともに第2のメモリ32に保存する。以後変換出力手段
33は、変換済み情報15を参照して、出力対象の文字
パターンデータが変換済みならば第2のメモリ32より
対応する第2の文字パターンデータを読出して出力し、
未変換ならば、第1のメモリ31より読出し変換して出
力する。
[Operation] When outputting a character pattern, the conversion output means 33 reads first character pattern data corresponding to a designated character code from the first memory 31 and converts it into second character pattern data. Then, the converted second character pattern data is output and simultaneously stored in the second memory 32 together with the converted information 15. Thereafter, the conversion output means 33 refers to the converted information 15, and if the character pattern data to be output has been converted, reads out and outputs the corresponding second character pattern data from the second memory 32,
If it has not been converted, it is read out from the first memory 31, converted, and output.

【0013】以上により、文字パターンデータを変換し
て出力する場合、1文字につき1回の文字パターンデー
タの変換を行えばよく、次回のアクセス時からはその文
字パターンの変換が不要となるため、処理時間の短縮化
が図られる.
[0013] As described above, when converting and outputting character pattern data, it is only necessary to convert the character pattern data once for each character, and the conversion of the character pattern is not necessary from the next access. Processing time can be shortened.

【0014】[0014]

【実施例】以下、本発明の実施例を図を参照しつつ説明
する。図2は変換済み情報説明図、図3は一実施例の構
成図、図4は他の実施例を表す図である。
Embodiments Hereinafter, embodiments of the present invention will be explained with reference to the drawings. FIG. 2 is an explanatory diagram of converted information, FIG. 3 is a configuration diagram of one embodiment, and FIG. 4 is a diagram showing another embodiment.

【0015】図3にR/C変換機能を制御装置側に持た
せた場合を示す。制御装置10において、11は制御装
置10全体を制御するマイクロプロセッサユニットMP
U、12はROWスキャンの表示用文字パターンデータ
が格納されている読出し専用メモリROM(第1のメモ
リ31に対応)、13はR/C変換部(変換出力手段3
3に対応)、14はバッファ、15は、図示省略したメ
モリ領域の、例えば文字コードに対応するアドレスにセ
ットされる変換済み情報、16は変換済みの印字用文字
パターンデータが格納される印字用パターン格納メモリ
(第2のメモリ32に対応)である。その他全図を通じ
て同一符号は同一対象物を表す。
FIG. 3 shows a case where the R/C conversion function is provided on the control device side. In the control device 10, 11 is a microprocessor unit MP that controls the entire control device 10.
12 is a read-only memory ROM (corresponding to the first memory 31) in which character pattern data for display of ROW scan is stored; 13 is an R/C converter (conversion output means 3);
3), 14 is a buffer, 15 is converted information that is set to an address corresponding to a character code, for example, in a memory area (not shown), and 16 is a printing area in which converted printing character pattern data is stored. This is a pattern storage memory (corresponding to the second memory 32). The same reference numerals represent the same objects throughout all other figures.

【0016】変換済み情報15は、図2に示すように、
変換済みフラグ(1:変換済み、0:未変換)、文字パ
ターン格納アドレスから構成される。そして、すべての
文字について、変換済み情報15の格納領域および印字
用文字パターンデータの格納領域が用意される。
The converted information 15, as shown in FIG.
It consists of a converted flag (1: converted, 0: not converted) and a character pattern storage address. A storage area for converted information 15 and a storage area for printing character pattern data are prepared for all characters.

【0017】以上の構成によって、以下に示す処理が行
われる。図示しない文書データを印字出力する際、R/
C変換部13は、変換済み情報15を参照し、変換済み
フラグのオン/オフ(1/0)を検証する。最初はオフ
であるから、文字コードに基づいてROM12をアクセ
スし、前述したR/C変換を行い、バッファ14に格納
して印字出力装置2 に出力させる。同時に、その変換
した印字用文字パターンデータを印字用パターン格納メ
モリ16に格納し、且つ変換済み情報15をセットする
With the above configuration, the following processing is performed. When printing out document data (not shown), R/
The C conversion unit 13 refers to the converted information 15 and verifies whether the converted flag is on/off (1/0). Since it is initially off, the ROM 12 is accessed based on the character code, the above-mentioned R/C conversion is performed, the data is stored in the buffer 14, and the data is output to the print output device 2. At the same time, the converted printing character pattern data is stored in the printing pattern storage memory 16, and converted information 15 is set.

【0018】このようにして1度印字出力されると、そ
の文字コードの印字用文字パターンデータは印字用パタ
ーン格納メモリ16に保存され、且つ対応する変換済み
フラグはオンとなる。従って次回からは、変換済み情報
15を参照したとき、その文字コードの変換済みフラグ
はオンであるから、ROM12から表示用文字パターン
データを取出して変換することなく、変換済み情報15
で指定されたアドレスに基づき印字用パターン格納メモ
リ16をアクセスして、変換済みの印字用文字パターン
データを取り出して出力する。
Once printed out in this manner, the printing character pattern data of that character code is stored in the printing pattern storage memory 16, and the corresponding converted flag is turned on. Therefore, from the next time on, when you refer to the converted information 15, the converted flag for that character code will be on, so you will not have to retrieve the display character pattern data from the ROM 12 and convert it.
The printing pattern storage memory 16 is accessed based on the address specified in , and the converted printing character pattern data is taken out and output.

【0019】図4は印字出力装置側にR/C変換機能を
持つ場合を示したもので、印字出力装置20において、
21はMPU、22はR/C変換部(R/C変換部13
と同一機能) 、23は変換済み情報(変換済み情報1
5と同一) 、24は印字用パターン格納メモリ(印字
用パターン格納メモリ16と同一機能) 、25は出力
メモリ、26は印字バッファである。
FIG. 4 shows a case where the print output device side has an R/C conversion function, and in the print output device 20,
21 is an MPU, 22 is an R/C converter (R/C converter 13
), 23 is converted information (converted information 1
5), 24 is a printing pattern storage memory (same function as the printing pattern storage memory 16), 25 is an output memory, and 26 is a printing buffer.

【0020】ここで、制御装置3 から印字出力装置に
対し、■文字コードと、対応するROWスキャンの表示
用パターンデータ  ■文字コードのみ,のどちらかの
方法で出力する。■の場合、文字コード,表示用パター
ンデータを受け取った印字出力装置20では、R/C変
換部22が文字コードで変換済み情報23を参照し、変
換済みならば印字用パターン格納メモリ24から印字用
文字パターンデータを取り出して出力メモリ25に格納
し、未変換ならば、同時に受信した表示用文字パターン
データをR/C変換して出力メモリ25に格納するとと
もに変換済み印字用パターンデータを印字用パターン格
納メモリ24に保存し、且つ変換済み情報23をセット
する。
[0020] Here, the control device 3 outputs the character code to the print output device by either of the following methods: (1) the character code and the corresponding ROW scan display pattern data (2) only the character code. In the case of (3), in the print output device 20 that has received the character code and display pattern data, the R/C converter 22 refers to the converted information 23 using the character code, and if the conversion has been completed, prints from the print pattern storage memory 24. If not converted, the display character pattern data received at the same time is R/C converted and stored in the output memory 25, and the converted printing pattern data is stored in the output memory 25. It is stored in the pattern storage memory 24 and the converted information 23 is set.

【0021】■の場合は、受信した文字コードで変換済
み情報23を検索し、未変換ならば制御装置3 に未変
換を応答する。そして制御装置3 よりその表示用文字
パターンデータを出力させてR/C変換するように構成
する。
In the case of ■, the converted information 23 is searched for using the received character code, and if the character code has not been converted, a response indicating that the conversion has not been performed is sent to the control device 3. Then, the control device 3 is configured to output the display character pattern data and perform R/C conversion.

【0022】以上のごとく、1回印字出力すると、その
文字印字には、保存した変換済み印字用パターンデータ
を使用することになり、変換時間が短縮され、印字速度
が向上する。
As described above, when a character is printed out once, the stored converted printing pattern data is used for printing that character, which shortens the conversion time and improves the printing speed.

【0023】なお、以上の例では、全ての文字について
、変換済みのパターンデータを印字用パターン格納メモ
リ16,24 に保存するようにしているが、使用頻度
の高い文字のみを保存してもよい。
In the above example, converted pattern data for all characters is stored in the printing pattern storage memories 16 and 24, but only frequently used characters may be stored. .

【0024】また、R/C変換に適用した例を示したが
、24×24の文字パターンのみ所有して32×32の
パターンを作成(拡大変換)するとか、文字パターンに
ある情報を付加(反転,あるエリアを塗り潰す等)する
方法にも使用可能であることは勿論である。
[0024]Also, although an example of application to R/C conversion has been shown, it is possible to create a 32x32 pattern by owning only a 24x24 character pattern (enlargement conversion), or add certain information to a character pattern ( Of course, it can also be used for methods such as reversing the image, filling out a certain area, etc.

【0025】[0025]

【発明の効果】本発明は、変換済み文字パターンデータ
を保存しておき、次回よりその変換済み文字パターンデ
ータを使用するようにしたもので、制御装置または出力
装置の処理負担が軽減され、且つ処理時間が短縮される
効果がある。
[Effects of the Invention] The present invention saves converted character pattern data and uses the converted character pattern data next time, reducing the processing load on the control device or output device. This has the effect of shortening processing time.

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

【図1】  本発明の原理図[Figure 1] Principle diagram of the present invention

【図2】  変換済み情報説明図[Figure 2] Converted information explanatory diagram

【図3】  一実施例の構成図[Figure 3] Configuration diagram of one embodiment

【図4】  他の実施例を表す図[Figure 4] Diagram showing other embodiments

【図5】  従来例(その1)の構成図[Figure 5] Configuration diagram of conventional example (part 1)

【図6】  従
来例(その2)の構成図
[Figure 6] Configuration diagram of conventional example (part 2)

【図7】  R/C変換説明図[Figure 7] R/C conversion explanatory diagram

【符号の説明】[Explanation of symbols]

1、3、10  制御装置 2、4、20  印字出力装置 11、21  マイクロプロセッサユニットMPU12
  表示用パターン格納メモリ 13、22  R/C変換部 14  バッファ 15、23  変換済み情報 16、24  印字用パターン格納メモリ25  出力
メモリ 26  印字バッファ 31  第1のメモリ 32  第2のメモリ 33  変換出力手段
1, 3, 10 Control device 2, 4, 20 Print output device 11, 21 Microprocessor unit MPU12
Display pattern storage memory 13, 22 R/C converter 14 Buffer 15, 23 Converted information 16, 24 Print pattern storage memory 25 Output memory 26 Print buffer 31 First memory 32 Second memory 33 Conversion output means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  第1の文字パターンデータ群を格納し
た第1のメモリ(31)と、指定された文字コードに対
応する第1の文字パターンデータを所定の第2の文字パ
ターンデータに変換し出力する変換出力手段(33)と
、変換した該第2の文字パターンデータを格納する第2
のメモリ(32)とを有し、該変換出力手段(33)は
、前記変換し出力した第2の文字パターンデータを変換
済み情報(15)とともに前記第2のメモリ(32)に
保存し、以後該変換済み情報を参照して、出力対象文字
のパターンデータが変換済みならば該第2のメモリより
対応する第2の文字パターンデータを読出して出力し、
未変換ならば前記第1のメモリから第1の文字パターン
データを読出して前記変換を行うものであり、変換済み
の第2の文字パターンデータを第2のメモリに保存して
おき、次の出力時には保存した該第2の文字パターンデ
ータを読出して出力することを特徴とする文字パターン
処理方式。
Claim 1: A first memory (31) storing a first character pattern data group and converting the first character pattern data corresponding to a specified character code into predetermined second character pattern data. a conversion output means (33) for outputting, and a second conversion output means (33) for storing the converted second character pattern data;
the conversion output means (33) stores the converted and outputted second character pattern data together with the converted information (15) in the second memory (32); Thereafter, referring to the converted information, if the pattern data of the output target character has been converted, reading out the corresponding second character pattern data from the second memory and outputting it;
If it is not converted, the first character pattern data is read from the first memory and the conversion is performed, and the converted second character pattern data is stored in the second memory and the next output is performed. A character pattern processing method characterized in that the stored second character pattern data is sometimes read and output.
JP254691A 1991-01-14 1991-01-14 Character pattern processing system Withdrawn JPH04241967A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP254691A JPH04241967A (en) 1991-01-14 1991-01-14 Character pattern processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP254691A JPH04241967A (en) 1991-01-14 1991-01-14 Character pattern processing system

Publications (1)

Publication Number Publication Date
JPH04241967A true JPH04241967A (en) 1992-08-28

Family

ID=11532381

Family Applications (1)

Application Number Title Priority Date Filing Date
JP254691A Withdrawn JPH04241967A (en) 1991-01-14 1991-01-14 Character pattern processing system

Country Status (1)

Country Link
JP (1) JPH04241967A (en)

Similar Documents

Publication Publication Date Title
US4741635A (en) Print compressor
US5347617A (en) Printer having a multiple scan line printhead controller
JPH04241967A (en) Character pattern processing system
JPH0246490A (en) Memory circuit
JPS6321158A (en) Printer output device
JP2711673B2 (en) Image data transfer control method and device
JPS5856872B2 (en) Expanded character pattern encoder
JPH0563959A (en) Method and device for processing picture
JPH02196296A (en) Character generator
JPH07152357A (en) Data converting method and device therefor
JPS60168677A (en) Rule image generator
JPS5882378A (en) Print control system
JPH052642A (en) Picture processor
JPH044953B2 (en)
JPS63203342A (en) Japanese language line printer
JPH052641A (en) Method and device for processing picture
JPS60263984A (en) Dot data development system
JPH0550666A (en) Printer
JPH05242236A (en) Rotation processing device for pattern data
JPH04128069A (en) Printing control apparatus of printer
JPH0139357B2 (en)
JPS6345059A (en) Printing control system
JPS63294595A (en) Character generator
JPH02107459A (en) Contract printing method
JPH03127095A (en) Character generating device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980514