JPS5942357B2 - Character pattern error check method - Google Patents

Character pattern error check method

Info

Publication number
JPS5942357B2
JPS5942357B2 JP54085958A JP8595879A JPS5942357B2 JP S5942357 B2 JPS5942357 B2 JP S5942357B2 JP 54085958 A JP54085958 A JP 54085958A JP 8595879 A JP8595879 A JP 8595879A JP S5942357 B2 JPS5942357 B2 JP S5942357B2
Authority
JP
Japan
Prior art keywords
character
memory
character pattern
code
pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP54085958A
Other languages
Japanese (ja)
Other versions
JPS5611584A (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 JP54085958A priority Critical patent/JPS5942357B2/en
Publication of JPS5611584A publication Critical patent/JPS5611584A/en
Publication of JPS5942357B2 publication Critical patent/JPS5942357B2/en
Expired legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明はプリンタ制御装置における誤つた文字パターン
の発生をチェックする方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for checking the occurrence of erroneous character patterns in a printer control device.

プリンタにとつて、印字化けは致命的な欠陥となる。従
来、インパクト・プリンタにおいては、誤印字率をある
程度やむを得ないものとしていた。他方、レーザプリン
タの様なノンインパクト・プリンタは、そのラスタスキ
ャンという方式上、誤印字を起す可能性は極めて少くな
つた。しかるに、このようなプリンタの制御装置は、融
通性をもたせるためにミニコンピュータ等の小形の処理
装置が使われることが多いので、エラーのチェックは、
従来の処理装置で使われているデータ系のパリテイチェ
ックか処理装置の1命令レベルのプログラムチェックの
いずれか一方もしくは両方で行なわれている。しかし、
このようなパリテイチェックや1命令レベルのグログラ
ムチエツクでは、どうしてもチェックしきれない場合が
でてくる。従えば、パリテイチェックは2ビットエラー
等はチェックできないし、また命令レベルのチェックも
1つの命令としての矛盾点をチェックしているにすぎな
いため、フォーマットに矛盾のある命令と間違えた場合
はチェックにはひつかかるが、フォーマットの適合した
命令と間違つた場合ι九 チェックにひつかからず結果
としては誤印字となり、プリンタにとつて重大な障害と
なり、その影響は大である。したがつて本発明は、ノン
インパクト・プリンタ等の制御装置における誤つた文字
パターンの発生をチェックする方式を提供することにあ
り、特に実施が容易で力つ信頼度の高いチェック方式を
提供することにある。
For printers, garbled print is a fatal defect. Conventionally, in impact printers, the rate of printing errors has been considered unavoidable to some extent. On the other hand, non-impact printers such as laser printers have an extremely low possibility of printing errors due to their raster scanning method. However, in order to provide flexibility, such printer control devices often use small processing devices such as minicomputers, so error checking is difficult.
This is performed by either or both of the data system parity check used in conventional processing devices and the program check at the single instruction level of the processing device. but,
With such a parity check or a single-instruction level grammatical check, there will be cases where the check cannot be completed. Accordingly, the parity check cannot check for 2-bit errors, etc., and the instruction level check only checks for inconsistencies in a single instruction, so if the parity check is mistaken for an instruction with a format inconsistency, It takes a while to check, but if you make a mistake with an instruction that has a compatible format, the check will not work and the result will be incorrect printing, which will cause a serious problem for the printer, and the impact will be great. SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a method for checking the occurrence of erroneous character patterns in a control device such as a non-impact printer, and in particular, to provide a check method that is easy to implement, powerful, and highly reliable. It is in.

ノンインパクト・プリンタ等の制御装置は、一般に、当
該装置で発生し得るすべて9文字パターンを記憶してい
るメモリと、頻繁に使う文字を格納しているフォントメ
モリと、各々のメモリ内の文字パターン格納アドレスを
求めるためのテーブルメモリと、コード変換テーブルメ
モリを持つている。
A control device such as a non-impact printer generally has a memory that stores all nine character patterns that can be generated in the device, a font memory that stores frequently used characters, and a character pattern in each memory. It has table memory for finding storage addresses and code conversion table memory.

大部分の文字パターンは、コート変換テーブルメモリを
ひくことによりフォントメモリから求められる。従つて
コード変換テーブルメモリとフォントメモリの内容の正
常性が非常に重要となる。本発明は、あらかじめ各文字
パターンに固有のコードを付加してメモリに記憶してお
き、装置外部より与えられる文字コードと、それに応じ
てメモリから読出された文字パターンに付加された固有
のコードとを比較手段で比較することにより・コード変
換テーブルと、文字パターン記憶メモリの正常性、つま
り発生された文字パターンの妥当性をチエツクする。次
に、本発明の一実施例を添付図面にしたがつて説明する
Most character patterns are determined from the font memory by drawing the code conversion table memory. Therefore, the normality of the contents of the code conversion table memory and font memory is very important. The present invention adds a unique code to each character pattern and stores it in memory in advance, and combines the character code given from outside the device and the unique code added to the character pattern read from the memory in accordance with the character code. The normality of the code conversion table and the character pattern storage memory, that is, the validity of the generated character pattern, is checked by comparing the characters with the comparison means. Next, one embodiment of the present invention will be described with reference to the accompanying drawings.

第1図は、本発明によるプリンタ制御装置の一実施例の
要部のみを簡略化して示すプロツク図である。
FIG. 1 is a simplified block diagram showing only the essential parts of an embodiment of a printer control device according to the present invention.

図において、1は文字コードレジスタ、2は文字パター
ンの発生等を制御する制御回路、3はコード変換テーブ
ル、4は文字パターンメモl八5は比較回路、6は編集
メモリでぁる。文字パターンメモリ4には各文字コード
に対する文字パターンが、例えば第2図に示すように3
2ビツトX32ビツトのビツトパターンとして格納され
ているが、それに対応する文字コード(2バイト)も付
加されて格納されている。
In the figure, 1 is a character code register, 2 is a control circuit for controlling the generation of character patterns, 3 is a code conversion table, 4 is a character pattern memory, 5 is a comparison circuit, and 6 is an editing memory. The character pattern memory 4 stores character patterns for each character code, for example, 3 as shown in FIG.
Although it is stored as a 2-bit x 32-bit bit pattern, the corresponding character code (2 bytes) is also added and stored.

次に動作を説明すれば、外部から受けとつた文字コード
(例えば漢字コード)は、文字コードレジスタ1を介し
て制御回路2に入力される。制御回路2ゆ外部から送ら
れてきた文字コードに従つてコード変換テーブルメモリ
3を索引し、対応する文字パターンが文字パターンメモ
リ4に登録されているかどうかを調べる。もし登録され
ていれば、その文字パターンの文字パターンメモリ4内
のアドレスを求める。このような方法は、在来のプリン
タ制御装置やキヤシユメモリのアドレス変換で実施され
ている周知の技術であるので、これ以上は説明しない。
このようにして求めた文字パターンアドレスで文字パタ
ーンメモリ4を読み出す。このようにして読出された文
字パターンの先頭の2バイト、すなわち文字コードを比
較回路5に導く。比較回路5は、外部からの前記文字コ
ードと前記文字パターンメモリ4から送られてきた文字
コードとを比較し、この二つが一致しているか否かを判
定する。不一致が検出されれば、エラーと判定して制御
回路2にエラー報告を行なう。チエツク結果に異常がな
ければ(一致がとれれば)、文字コードに続いて文字パ
ターンメモリ4から読出されるデータすなわち文字パタ
ーンを編集メモリ6に割付け、ページ編集処理を行なう
。ページ編集処理は文字コードに従つた文字パターンを
文字パターンメモリ4をアクセスして取り出し、編集エ
リア上に出力イメージのビツトパターンで並べる操作で
あり、制御回路2の指示により実施される。編集メモリ
6上に編集されたページパターン(その一例を第3図に
示す。)はラスタ(用紙の横方向の1ドツト行)ごとに
プリンタに出力される。尚、編集メモリ6への文字単位
の文字パターンの書き込み、およびラスタ順のドツトデ
ータの読み出しに際して、仮にビツト誤りがあつたとし
ても文字の一部に欠陥を生じるのみであり、印字化けと
いう最悪の事態にはなり得ない。
Next, the operation will be described. A character code (for example, a kanji code) received from the outside is input to the control circuit 2 via the character code register 1. The control circuit 2 indexes the code conversion table memory 3 according to the character code sent from the outside, and checks whether the corresponding character pattern is registered in the character pattern memory 4. If it is registered, the address of that character pattern in the character pattern memory 4 is determined. Since such a method is a well-known technique implemented in conventional printer control devices and cache memory address conversion, it will not be described further.
The character pattern memory 4 is read out using the character pattern address obtained in this way. The first two bytes of the character pattern thus read out, that is, the character code, are led to the comparison circuit 5. The comparison circuit 5 compares the character code from the outside with the character code sent from the character pattern memory 4, and determines whether or not the two match. If a mismatch is detected, it is determined that it is an error and an error report is sent to the control circuit 2. If there is no abnormality in the check result (if a match is found), the data read out from the character pattern memory 4 following the character code, that is, the character pattern, is allocated to the editing memory 6, and page editing processing is performed. The page editing process is an operation of accessing the character pattern memory 4 to take out character patterns according to character codes and arranging them on the editing area according to the bit pattern of the output image, and is executed according to instructions from the control circuit 2. The page pattern edited on the editing memory 6 (an example of which is shown in FIG. 3) is output to the printer for each raster (one dot line in the horizontal direction of the paper). Note that even if a bit error occurs when writing a character pattern in character units to the editing memory 6 and reading dot data in raster order, it will only result in a defect in a part of the character, and the worst case of garbled printing will occur. It cannot become a situation.

従つて本発明のチエツク方式によつて編集メモリへの書
き込みまでの正常性がチエツクされれば印字化けの可能
性はほぼ皆無となる。つまり誤つた文字パターンが印刷
されるということがなくなる。以上に詳細に説明したよ
うに、本発明によれば印字化けを確実に防止できる。
Therefore, if the normality of the data up to writing to the editing memory is checked by the checking method of the present invention, there is almost no possibility of garbled printing. In other words, an incorrect character pattern will not be printed. As described above in detail, according to the present invention, garbled print can be reliably prevented.

しかし、本発明はその実施が極めて容易であるという利
点も有する〇
However, the present invention also has the advantage of being extremely easy to implement.

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

第1図は本発明の一実施例の要部のみ示すプロツク図、
第2図は第1図中の文字パターンメモリ内に記憶されて
いる文字パターンと文字コードのビツト構成例を示す図
、第3図は第2図中の編集メモリ内に得られるページパ
ターンの一例を示す図である。 1・・・・・・文字コードレジスタ、2・・・・・・制
御回路、3・・・・・・コード変換テーカレ、4・・・
・・・文字パターンメモリ、5・・・・・・比較回路、
6・・・・・・編集メモリ。
FIG. 1 is a block diagram showing only the essential parts of an embodiment of the present invention;
Figure 2 is a diagram showing an example of the bit configuration of character patterns and character codes stored in the character pattern memory in Figure 1, and Figure 3 is an example of a page pattern obtained in the editing memory in Figure 2. FIG. 1... Character code register, 2... Control circuit, 3... Code conversion taker, 4...
...Character pattern memory, 5...Comparison circuit,
6...Editing memory.

Claims (1)

【特許請求の範囲】[Claims] 1 外部から与えられる文字コードにしたがつてメモリ
から文字パターンを読出し、それをプリンタへ供給する
プリンタ制御装置において、該メモリ内の各文字パター
ンに固有のコードを付加しておき、外部から与えられた
文字コードと、それに対して該メモリから読出された文
字パターンに付加されたコードとを比較手段によつて比
較することにより該文字パターンのエラーをチェックす
ることを特徴とする文字パターン・エラー・チェック方
式。
1. In a printer control device that reads a character pattern from a memory according to a character code given from an external source and supplies it to a printer, a unique code is added to each character pattern in the memory, and a unique code is added to each character pattern in the memory. Errors in the character pattern are checked by comparing the character code added to the character pattern read from the memory by a comparing means. Check method.
JP54085958A 1979-07-09 1979-07-09 Character pattern error check method Expired JPS5942357B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54085958A JPS5942357B2 (en) 1979-07-09 1979-07-09 Character pattern error check method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54085958A JPS5942357B2 (en) 1979-07-09 1979-07-09 Character pattern error check method

Publications (2)

Publication Number Publication Date
JPS5611584A JPS5611584A (en) 1981-02-04
JPS5942357B2 true JPS5942357B2 (en) 1984-10-15

Family

ID=13873246

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54085958A Expired JPS5942357B2 (en) 1979-07-09 1979-07-09 Character pattern error check method

Country Status (1)

Country Link
JP (1) JPS5942357B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58140783A (en) * 1982-02-15 1983-08-20 富士ファコム制御株式会社 Memory checking system for character generator
JPS58164037U (en) * 1982-04-26 1983-11-01 松下電器産業株式会社 dot printer control device
US4517321A (en) * 1983-05-20 1985-05-14 Union Carbide Corporation Preimpregnated reinforcements and high strength composites therefrom
JPS60131284A (en) * 1983-12-20 1985-07-12 Fuji Xerox Co Ltd Controlling method for printer
JPS60175081A (en) * 1984-02-22 1985-09-09 株式会社日立製作所 Self-diagnosing system for display unit

Also Published As

Publication number Publication date
JPS5611584A (en) 1981-02-04

Similar Documents

Publication Publication Date Title
JPS60116464A (en) Printer
JPS5942357B2 (en) Character pattern error check method
US4947343A (en) Document processing system for detecting an overlap in two characters
JPS62271189A (en) Mark read control system
KR910009064B1 (en) Method for compensating character size of printer
US4782339A (en) Method and apparatus for displaying text on a single-line display of a text station
CA1301349C (en) Bounded word replace function for an electronic typewriter
JPS59111861A (en) Control system for printing
JP2946780B2 (en) Barcode printer and control method thereof
JPS61177269A (en) Detecting circuit for missing of character
JPS6338318B2 (en)
JPH0213631B2 (en)
JPS58188398A (en) Memory error detection and correction device
JPH0378652B2 (en)
JPH0442193B2 (en)
KR900008897B1 (en) Printing method of electronic type writer
JPS6371357A (en) Printing output control apparatus
JPH0698792B2 (en) Printer device
JPS60107374A (en) Printer
JPH0486274A (en) Pattern generation system
JPH02286382A (en) Printing apparatus
JPS6359569A (en) Dot matrix printer
JPS6071265A (en) Printer
JPH01262166A (en) Error correction system for printer
JPS5967766A (en) System for detecting abnormal print of printer