JP2738302B2 - Printing device - Google Patents

Printing device

Info

Publication number
JP2738302B2
JP2738302B2 JP6160895A JP16089594A JP2738302B2 JP 2738302 B2 JP2738302 B2 JP 2738302B2 JP 6160895 A JP6160895 A JP 6160895A JP 16089594 A JP16089594 A JP 16089594A JP 2738302 B2 JP2738302 B2 JP 2738302B2
Authority
JP
Japan
Prior art keywords
printing
print information
unit
print
character data
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
JP6160895A
Other languages
Japanese (ja)
Other versions
JPH0825764A (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.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP6160895A priority Critical patent/JP2738302B2/en
Publication of JPH0825764A publication Critical patent/JPH0825764A/en
Application granted granted Critical
Publication of JP2738302B2 publication Critical patent/JP2738302B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は印字装置に関し、特に印
字のカスレやズレ等の誤印字に対しても印字装置内でエ
ラー訂正する方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus and, more particularly, to a method for correcting an error in a printing apparatus, even if the printing is erroneous, such as printing blur or misalignment.

【0002】[0002]

【従来の技術】従来、この種のエラー訂正方式は、印字
後印字パターンを光学的に読みとって印字結果を上位装
置に通知し、上位装置で再試行等のエラー訂正を行って
いた。
2. Description of the Related Art Conventionally, in this type of error correction system, a printing pattern is optically read after printing, a printing result is notified to a host device, and error correction such as retry is performed by the host device.

【0003】また、実開昭59−59341号公報に印
字前の文字データと印字後の文字データとを比較して正
しい印字が行われたかどうかを検査する検査手段を設け
たドットプリンタが開示されており、また実開昭63−
134760号公報に誤印字を検出して、再印字するよ
うに制御する制御回路を設けたプリンタ付電子機器が開
示されている。
Further, Japanese Utility Model Laid-Open Publication No. 59-59341 discloses a dot printer provided with inspection means for comparing character data before printing with character data after printing to check whether correct printing has been performed. 63-
Japanese Patent Application Publication No. 134760 discloses an electronic device with a printer provided with a control circuit for detecting erroneous printing and performing control to perform reprinting.

【0004】[0004]

【発明が解決しようとする課題】しかし、従来のエラー
訂正方式は、エラーの訂正を上位装置が行うようになっ
ていたので、印字装置と上位装置とのデータ転送の機会
が増え、チャネル効率を悪化させるとともに、エラー訂
正に時間がかかるという欠点があった。
However, in the conventional error correction method, errors are corrected by a higher-level device, so that opportunities for data transfer between a printing device and a higher-level device are increased, and channel efficiency is reduced. In addition to the worsening, there is a disadvantage that error correction takes time.

【0005】また、印字前と印字後の文字データを比較
し、正しい印字が行われていない場合に再印字させるプ
リンタにおいては、再印字を何回繰り返しても正しい印
字がなされない場合は時間を浪費していた。
Further, in a printer which compares character data before and after printing and reprints when correct printing is not performed, if correct printing is not performed even if reprinting is repeated many times, time is required. Wasted.

【0006】そこで、本発明の目的は、印字装置のみで
エラー訂正の処理が行なえ、かつ再印字が繰り返される
ことによる時間の浪費を一定以下にすることができる印
字装置を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a printing apparatus capable of performing error correction processing only by a printing apparatus and reducing a waste of time due to repeated reprinting to a certain level or less.

【0007】[0007]

【課題を解決するための手段】本発明によれば、上位装
置から印字情報を受け取って印字を行う印字装置であっ
て、前記上位装置から受け取った印字情報を印字する印
字手段と、印紙された印字情報を読み取る光学読み取り
手段と、印字前の印字情報と前記読み取り手段で読み取
られた印字情報とが不一致のとき、前記印字手段に対し
て再印字指示を行い、一致が検出されるまで再印字制御
を行う制御手段と、前記制御手段による再印字の回数が
所定値に達したときに異常告知をなす手段とを備えたこ
とを特徴とする印字装置が得られる。
According to the present invention, there is provided a printing apparatus for receiving print information from a higher-level device and performing printing, comprising: a printing unit for printing the print information received from the higher-level device; Optical reading means for reading the printing information, and when the printing information before printing and the printing information read by the reading means do not match, a reprint instruction is issued to the printing means and reprinting is performed until a match is detected. A printing apparatus is provided, comprising: control means for performing control; and means for making an abnormality notification when the number of reprints performed by the control means reaches a predetermined value.

【0008】[0008]

【作用】上位装置から印字情報を受け取った印字装置
は、印字装置内にて印字するとともに、印字前の文字デ
ータと印字後の文字データとを比較し、文字データが不
一致の場合は、所定の回数を限度として再印字を繰り返
す。そして、所定の回数に達したときは上位装置に対し
て異常告知を行う。
The printing device, which has received the printing information from the host device, prints in the printing device and compares the character data before printing with the character data after printing. Repeat printing again up to the number of times. When the predetermined number of times has been reached, an abnormality notification is made to the host device.

【0009】[0009]

【実施例】以下、本発明の一実施例について添付図面を
参照しながら説明する。
An embodiment of the present invention will be described below with reference to the accompanying drawings.

【0010】図1は、本発明に係る印字装置の一実施例
の構成図である。ただし、同図中の上位装置は印字装置
には含まれない。
FIG. 1 is a configuration diagram of an embodiment of a printing apparatus according to the present invention. However, the host device in the figure is not included in the printing device.

【0011】上位装置は説明の都合上、同図に含めたも
のである。なお、本実施例は1ページ分のデータを印字
するいわゆるページプリンタについて説明するが、これ
に限定するものではなく、たとえば、1ライン単位また
は複数ページ単位に印字するプリンタでもよい。印字装
置は、上位装置10から受け取った1ページ分の文字デ
ータを印字する印字部1と、印字された文字データを読
み取る光学文字読み取り部2と、印字前の文字データと
印字後の文字データとを比較して印字エラーを検出する
印字エラー検出部3と、印字エラー検出部3の検出結果
に基づいて印字部1を制御する印字制御部4とにより構
成される。
The upper device is included in FIG. 1 for convenience of explanation. In this embodiment, a so-called page printer that prints one page of data will be described. However, the present invention is not limited to this. For example, a printer that prints data in units of one line or a plurality of pages may be used. The printing device includes a printing unit 1 that prints the character data of one page received from the host device 10, an optical character reading unit 2 that reads the printed character data, character data before printing and character data after printing. , A print error detecting section 3 for detecting a print error, and a print control section 4 for controlling the printing section 1 based on the detection result of the print error detecting section 3.

【0012】また、エラー検出部3は上位装置10から
印字制御部4を介して入力された印字情報を1ページ分
格納する印字情報バッファ3aと、光学文字読み取り部
2で読み取った文字データを格納する読み取り結果バッ
ファ3bと、印字情報バッファ3aと読み取り結果バッ
ファ3bに格納された文字データを比較する比較部3c
とを備える。なお、印字情報は、印字位置情報と文字デ
ータとからなる。
The error detecting unit 3 stores a print information buffer 3a for storing one page of print information input from the host device 10 via the print control unit 4, and stores character data read by the optical character reading unit 2. Reading result buffer 3b, and a comparing unit 3c for comparing character data stored in the printing information buffer 3a with the reading result buffer 3b
And The print information includes print position information and character data.

【0013】また、印字制御部4は、比較部3cの比較
結果に基づいて、印字部1に再印字させるか否かを判別
するエラー判別部4aと、再印字する場合に印字情報バ
ッファ3aに格納された文字データを読み取る再印字部
4bと、再印字された回数を計数するカウンタ4cとか
らなる。
The print control unit 4 has an error determination unit 4a for determining whether or not the printing unit 1 should reprint based on the comparison result of the comparison unit 3c, and a print information buffer 3a for reprinting. It comprises a reprint unit 4b for reading stored character data and a counter 4c for counting the number of reprints.

【0014】次に、印字装置の動作について説明する。
まず、上位装置10から印字制御部4に印字指令および
1ページ分の印字情報が入力されると、印字制御部4は
この1ページ分の印字情報をエラー検出部3内の印字情
報バッファ3aに格納する。そして、この印字情報バッ
ファ3aから文字データを読み出して印字部1で印字す
る。
Next, the operation of the printing apparatus will be described.
First, when a print command and one page of print information are input from the host device 10 to the print control unit 4, the print control unit 4 sends the one page of print information to the print information buffer 3 a in the error detection unit 3. Store. Then, the character data is read from the print information buffer 3a and printed by the printing unit 1.

【0015】次に、印字された文字データは光学文字読
み取り部2で読み取られ、読み取り結果バッファ3bに
格納される。すると比較部3cは、印字情報バッファ3
aに格納されている印字前の文字データと読み取り結果
バッファ3bに格納されている印字後の文字データとを
比較する。そして、両者の文字データが一致した場合
は、印字情報バッファ3aから印字されていない位置を
読み取り、この位置の文字データが読み取り結果バッフ
ァ3bに読み取られていないことを確認する。そして、
この確認がなされた後に比較部3cからエラー判別部4
aに「一致」の結果通知がなされる。この結果通知を受
けたエラー判別部4aは上位装置10に対し、印字が正
常であることを示す印字結果を通知する。
Next, the printed character data is read by the optical character reading unit 2 and stored in the reading result buffer 3b. Then, the comparison unit 3c sets the print information buffer 3
The character data before printing stored in a is compared with the character data after printing stored in the reading result buffer 3b. If the two character data match, a position where no printing is performed is read from the print information buffer 3a, and it is confirmed that the character data at this position is not read by the reading result buffer 3b. And
After this confirmation is made, the comparing unit 3c sends the error judgment unit 4
The result of "match" is notified to "a". The error discriminating unit 4a, having received the result notification, notifies the host device 10 of a printing result indicating that printing is normal.

【0016】一方、印字情報バッファ3aに格納されて
いる印字前の文字データと読み取り結果バッファ3bに
格納されている印字後の文字データとが一致しない場合
は、比較部3cからエラー判別部4aに「不一致」の結
果通知がなされる。この「不一致」通知を受けたエラー
判別部4aは、再印字部4bに再印字の指示をするとと
もにカウンタ4cを「1」にする。
On the other hand, if the character data before printing stored in the print information buffer 3a does not match the character data after printing stored in the reading result buffer 3b, the comparing unit 3c sends the error data to the error discriminating unit 4a. The result of the "mismatch" is notified. The error discriminating unit 4a that has received the "mismatch" notification instructs the reprinting unit 4b to perform reprinting and sets the counter 4c to "1".

【0017】すると、再印字部4bは印字情報バッファ
3aから、先に印字したのと同一印字位置の文字データ
を読み込み、この文字データを印字部3に送って印字さ
せる。
Then, the reprint unit 4b reads the character data at the same print position as that previously printed from the print information buffer 3a and sends the character data to the print unit 3 for printing.

【0018】そして、印字された文字データを再度光学
文字読み取り部2で読み取らせた後、比較部3cで印字
前の文字データとの比較を行う。そして、比較の結果
「一致」が確認された場合は、前述したように印字制御
部4を介して上位装置10に対して印字が正常になった
ことを示す印字結果を通知する。
After the printed character data is again read by the optical character reading unit 2, the comparison unit 3c compares it with the character data before printing. Then, when the result of the comparison indicates “match”, as described above, the print control unit 4 notifies the host device 10 of a print result indicating that the print is normal.

【0019】また、比較部3cで比較した結果再度「不
一致」となった場合は、比較部3cからエラー判別部4
aに「不一致」の結果通知がなされる。この「不一致」
通知を受けたエラー判別部4aは、再印字部4bに再印
字の指示をするとともにカウンタ4cを更に1つカウン
トアップし「2」にする。そして、前述したのと同様の
再印字を行う。この再印字でも印字が正常にならない場
合は、この再印字の動作を更に繰り返して行う。
If the result of comparison by the comparing section 3c becomes "mismatch" again, the comparing section 3c sends the error discriminating section 4
"a" is notified of the result. This "mismatch"
Upon receiving the notification, the error discriminating unit 4a instructs the reprinting unit 4b to perform reprinting, and further increments the counter 4c by one to “2”. Then, the same reprinting as described above is performed. If the printing does not become normal even after the reprinting, the reprinting operation is further repeated.

【0020】ところで、カウンタには所定の数、たとえ
ば「5」を上限の数値としてセットしておく。この場
合、再印字が5回継続した場合は、5回目の再印字の比
較結果が「不一致」となってもエラー判別部4aは再印
字部4bに対し、再印字の指示は行わず、上位装置10
に対し異常であることを示す印字結果を通知する。そし
て、この通知をした後、エラー判別部4aはカウンタ4
cを「0」にリセツトする。
Incidentally, a predetermined number, for example, "5" is set as an upper limit value in the counter. In this case, if reprinting is continued five times, even if the comparison result of the fifth reprinting is “mismatch”, the error determination unit 4a does not instruct the reprinting unit 4b to perform reprinting, and Apparatus 10
Is notified of a print result indicating that the printer is abnormal. After the notification, the error determination unit 4a sets the counter 4
c is reset to "0".

【0021】そして、印字情報バッファ3aに格納され
た1ページ分の文字データの印字が終了すると、印字制
御部4は印字情報バッファ3aおよび読み取り結果バッ
ハファ3bをクリアし、次ページ分の印字情報を待つ。
When printing of one page of character data stored in the print information buffer 3a is completed, the print controller 4 clears the print information buffer 3a and the read result buffer 3b, and prints the next page of print information. wait.

【0022】なお、本実施例では印字情報バッファ3a
を印字用と再印字用の文字データバッファとして共用さ
せたが、それぞれ別個に設けてもよい。
In this embodiment, the print information buffer 3a
Are shared as character data buffers for printing and reprinting, but may be provided separately.

【0023】[0023]

【発明の効果】本発明によれば、印字装置で印字エラー
の訂正を行うようにしたので、上位装置のエラー処理に
かかる負担が軽減されるとともに、チャネルの効率も上
がり短時間でエラー訂正を行うことができる。
According to the present invention, since a printing device corrects a printing error, the burden of error processing on a host device can be reduced, and the efficiency of the channel can be increased to correct the error in a short time. It can be carried out.

【0024】また、印字後の印字イメージを読み取っ
て、エラーチェックするためカスレやズレ等の誤印字に
も効果がある。
Further, since a printed image after printing is read and an error check is performed, it is also effective for erroneous printing such as blurring or misalignment.

【0025】また、再印字の回数を制限するカウンタを
設けたので、再印字が繰り返されることによる時間の浪
費を一定以下にすることができる。
Further, since a counter for limiting the number of times of reprinting is provided, waste of time due to repetition of reprinting can be kept below a certain level.

【0026】さらに、ページ単位で印字される印字装置
にも適用することができるので、汎用性を高めることが
できる。
Further, since the present invention can be applied to a printing apparatus for printing in page units, versatility can be improved.

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

【図1】本発明に係る印字装置の一実施例の構成図であ
る。
FIG. 1 is a configuration diagram of an embodiment of a printing apparatus according to the present invention.

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

1 印字部 2 光学文字読み取り部 3 印字エラー検出部 3a 印字情報バッファ 3b 読み取り結果バッファ 3c 比較部 4 印字制御部 4a エラー判別部 4b 再印字部 4c カウンタ 10 上位装置 Reference Signs List 1 printing unit 2 optical character reading unit 3 printing error detecting unit 3a printing information buffer 3b reading result buffer 3c comparing unit 4 printing control unit 4a error discriminating unit 4b reprinting unit 4c counter 10 host device

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 上位装置から印字情報を受け取って印字
を行う印字装置であって、前記上位装置から受け取った
印字情報を印字する印字手段と、印紙された印字情報を
読み取る光学読み取り手段と、印字前の印字情報と前記
読み取り手段で読み取られた印字情報とが不一致のと
き、前記印字手段に対して再印字指示を行い、一致が検
出されるまで再印字制御を行う制御手段と、前記制御手
段による再印字の回数が所定値に達したときに異常告知
をなす手段とを備えたことを特徴とする印字装置。
1. A printing device that receives print information from a host device and performs printing, comprising: a printing unit that prints the print information received from the host device; an optical reading unit that reads the printed print information; Control means for instructing the printing means to reprint when the previous print information and the print information read by the reading means do not match, and performing reprint control until a match is detected; and A means for giving an abnormality notification when the number of reprints by the printer reaches a predetermined value.
【請求項2】 前記印字情報は、ページ単位の印字情報
であることを特徴とする請求項1記載の印字装置。
2. The printing apparatus according to claim 1, wherein the print information is print information in page units.
【請求項3】 前記制御手段は、印字前の印字情報と印
字後の印字情報とを比較する比較手段を有し、この比較
結果に基づいて再度印字指示を行うよう構成したことを
特徴とする請求項1または2記載の印字装置。
3. The printing apparatus according to claim 2, wherein said control means has a comparing means for comparing the print information before printing and the print information after printing, and is configured to give a print instruction again based on a result of the comparison. The printing device according to claim 1.
JP6160895A 1994-07-13 1994-07-13 Printing device Expired - Lifetime JP2738302B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6160895A JP2738302B2 (en) 1994-07-13 1994-07-13 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6160895A JP2738302B2 (en) 1994-07-13 1994-07-13 Printing device

Publications (2)

Publication Number Publication Date
JPH0825764A JPH0825764A (en) 1996-01-30
JP2738302B2 true JP2738302B2 (en) 1998-04-08

Family

ID=15724687

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6160895A Expired - Lifetime JP2738302B2 (en) 1994-07-13 1994-07-13 Printing device

Country Status (1)

Country Link
JP (1) JP2738302B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000033393A (en) * 1998-11-23 2000-06-15 윤종용 System for preventing print error and method thereof
EP1065057A4 (en) 1998-12-25 2001-04-18 Seiko Epson Corp Printing method and printing apparatus for inspecting dot skip and recorded medium on which program therefor is recorded
JP3900723B2 (en) 1998-12-25 2007-04-04 セイコーエプソン株式会社 Dot drop inspection method, printing apparatus, and recording medium recording program therefor
JP3552598B2 (en) * 1999-07-07 2004-08-11 富士ゼロックス株式会社 Continuous media printer
JP2021011074A (en) * 2019-07-08 2021-02-04 日本電産サンキョー株式会社 Medium issuing device and medium issuing method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2706839B2 (en) * 1990-05-29 1998-01-28 株式会社田村電機製作所 Impact printer
JPH0668240A (en) * 1992-08-17 1994-03-11 Sony Corp Character inspection device and character inspection method

Also Published As

Publication number Publication date
JPH0825764A (en) 1996-01-30

Similar Documents

Publication Publication Date Title
JP2738302B2 (en) Printing device
JPS637955A (en) Bar code printing system
JP3150305B2 (en) Image processing method
JPS59129182A (en) Printing apparatus
JP3250118B2 (en) Printing device data management method
JP3076612B2 (en) Line thermal printer
JPS63272145A (en) Dump output device
JP2946780B2 (en) Barcode printer and control method thereof
JPS5967766A (en) System for detecting abnormal print of printer
JPH05162360A (en) Thermal recording device
JP2584296B2 (en) Page printer
JPH06135103A (en) Printer
JPH01142923A (en) Print control circuit
JPH03146378A (en) Correction on deviation in printing of passbook printer
JP2859523B2 (en) Printing control method for document printing system
JP2001353939A (en) Image-forming apparatus
JPH0336071A (en) Erroneous printing detection apparatus
JPH02286382A (en) Printing apparatus
JPS63105563A (en) Omr error notice system by facsimile equipment
JPS63199664A (en) Character processing system for printer
JPS5922766A (en) Space control system of line dot printer
JPH05162363A (en) Thermal recording device
JPS63178316A (en) Chinese character printing device
JPH04357068A (en) Printing control apparatus
JP2003005923A (en) Printing controller