JPH0950357A - Print controller - Google Patents

Print controller

Info

Publication number
JPH0950357A
JPH0950357A JP7219674A JP21967495A JPH0950357A JP H0950357 A JPH0950357 A JP H0950357A JP 7219674 A JP7219674 A JP 7219674A JP 21967495 A JP21967495 A JP 21967495A JP H0950357 A JPH0950357 A JP H0950357A
Authority
JP
Japan
Prior art keywords
image
read
print
read image
printing
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.)
Granted
Application number
JP7219674A
Other languages
Japanese (ja)
Other versions
JP3344179B2 (en
Inventor
Satoya Komuro
覚哉 小室
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP21967495A priority Critical patent/JP3344179B2/en
Publication of JPH0950357A publication Critical patent/JPH0950357A/en
Application granted granted Critical
Publication of JP3344179B2 publication Critical patent/JP3344179B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To surely print the characters at a designated position and to improve the reproducibility of the print result even when a setting position shift is caused between a form that is shown for designation of the character input positions and a form that is used for print-out of the characters. SOLUTION: The image of a form is read by a reader 7 and stored in a main image memory 8 before the characters are printed on the form at a desired position. Then the image of the form is shown at a display part 3 and at the same time, the input positions are designated for the desired characters. These input positions are stored in a correction value storage part 12, and also the image is read out of the form that is presently set based on the designated input positions and then stored in a subsidiary image memory 11. Then a, correction value calculation processing part 10 compares a block image stored in the memory 8 and including the input parts of characters, for example characters, with a block image that is segmented out of the memory 11. The area segmented from the image 11 is continuously shifted until the coincidence is obtained between both block images, and the character printing positions are corrected based on the shift direction and the shift amound which are confirmed when the coincidence is obtained between both block images. Thus the desired characters can be printed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は記録紙に対し所望の
位置に文字、図形等の情報を印刷するための印刷制御装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print control apparatus for printing information such as characters and figures on a recording paper at a desired position.

【0002】[0002]

【従来の技術】この種の印刷制御装置は、原稿からイメ
ージを読取る読取部と、読取り時における上記読取部と
原稿との位置関係に従って原稿のイメージから表示画像
を形成する表示部と、この表示部に表示された表示画像
を編集処理する制御部と、該制御部によって編集処理さ
れた表示画像に基づいて記録部材への印刷を行う印刷部
と、を備えている。
2. Description of the Related Art A print control apparatus of this type includes a reading unit for reading an image from a document, a display unit for forming a display image from the image of the document according to the positional relationship between the reading unit and the document at the time of reading, and this display. A control unit that edits a display image displayed on the unit, and a printing unit that prints on a recording member based on the display image edited by the control unit are provided.

【0003】この印刷制御装置によれば、印刷前に一旦
用紙を読取ってその読取りイメージを画面上に表示さ
せ、例えば用紙が定型フォームをもっている場合、その
定型フォーム中の記入欄に文字や図形等のデータ入力を
行うことで、次に同じ用紙をセットしたときにその用紙
の記入欄に所望の文字や図形等の情報を印刷させること
ができる。
According to this print control device, the paper is read once before printing and the read image is displayed on the screen. For example, when the paper has a standard form, characters or figures are entered in the entry field of the standard form. By inputting the data, the information such as desired characters and figures can be printed in the entry field of the same paper when the same paper is set next time.

【0004】このように、定型フォームをもつ記録紙を
用意しておけば、その定型フォームそのものを印刷しな
くても定型フォーム中の記入欄に対して必要な事項を印
刷させることが可能である。
As described above, if the recording paper having the standard form is prepared, it is possible to print necessary items in the entry fields in the standard form without printing the standard form itself. .

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述し
た従来例による印刷制御装置では、給紙口に手操作で用
紙を位置決めするようにした構成なので、一回目の読取
り時の用紙セットと二回目の印刷時の用紙セットとの間
に位置ずれが生じる場合がある。定型フォームを読取っ
た段階では、その読取られた読取りイメージのイメージ
データに基づき記入位置を確認しながら文字編集を行う
ので、表示画面上の編集結果はレイアウト的ではあるが
完成状態に近いイメージを示すことになる。他方印刷の
段階では、再度セットされた用紙の読取りイメージの内
容が一回目の読取り時のものと同一であってもセット位
置の僅かなずれによって、表示画面上の編集結果と用紙
上の印刷結果との間に位置ずれが発生するので、印刷文
字が記入欄から外れる等、印刷結果の再現性が低くなる
という問題があった。
However, in the above-described conventional print control device, the paper is manually positioned at the paper feed port, and therefore the paper set at the time of the first reading and the paper set at the time of the second reading are set. There may be misalignment with the paper set during printing. When the standard form is read, the characters are edited while checking the entry position based on the read image data of the read image, so the edit result on the display screen shows a layout-like but near-complete image. It will be. On the other hand, at the printing stage, even if the contents of the read image on the reloaded paper are the same as those at the time of the first reading, the edit result on the display screen and the print result on the paper may be There is a problem that the reproducibility of the printing result is lowered, such as the printing character is out of the entry field because the positional deviation occurs between the and.

【0006】本発明の課題は、文字の入力位置を指定す
るために表示させた用紙とその文字を印刷出力するため
の用紙との間にセット上の位置ずれがあっても、指定さ
れた入力位置に確実に文字を印刷出力することで、印刷
結果の再現性を高くする印刷制御装置を提供することに
ある。
An object of the present invention is to provide a designated input even if there is a positional misalignment between a sheet displayed for designating a character input position and a sheet for printing out the character. It is an object of the present invention to provide a print control device that enhances the reproducibility of a print result by reliably printing out a character at a position.

【0007】[0007]

【課題を解決するための手段】請求項1記載の発明は、
印刷装置にセットされた用紙から読取った読取りイメー
ジを記憶するイメージ記憶手段と、前記読取りイメージ
を表示画面上に表示制御する表示制御手段と、前記表示
された読取りイメージ上において所望データの印刷出力
位置を任意に指定する出力位置指定手段と、前記指定さ
れた印刷出力位置に基づいて前記所望データの前記読取
りイメージ上における記憶位置を算出してその記憶位置
を位置情報として記憶する位置算出記憶手段と、前記所
望データを印刷する際に、現在、前記印刷装置にセット
されている用紙から新規にイメージを読取る読取り制御
手段と、前記読取り制御手段で読取った読取りイメージ
を、前記イメージ記憶手段に記憶されている読取りイメ
ージと比較して、これら読取りイメージ同士の上下左右
のずれ方向とそのずれ量とを検出する検出手段と、前記
検出されたずれ方向とそのずれ量とに応じて前記位置算
出記憶手段に記憶された位置情報を補正する補正手段
と、前記補正手段で補正された位置情報に基づいて、現
在、前記印刷装置にセットされている用紙に対して前記
所望データを印刷すべく制御する印刷制御手段と、を備
える。
According to the first aspect of the present invention,
Image storage means for storing a read image read from a sheet set in a printing device, display control means for controlling display of the read image on a display screen, and print output position of desired data on the displayed read image. An output position designating means for arbitrarily designating the storage position, and a position calculation storage means for calculating a storage position of the desired data on the read image based on the designated print output position and storing the storage position as position information. When printing the desired data, a read control means for newly reading an image from a sheet currently set in the printing device, and a read image read by the read control means are stored in the image storage means. Compared with the read image that is being read, Detection means for detecting the deviation amount, correction means for correcting the position information stored in the position calculation storage means in accordance with the detected deviation direction and the deviation amount, and the position corrected by the correction means. Print control means for controlling to print the desired data on a sheet currently set in the printing device based on the information.

【0008】以上の構成によれば、イメージ記憶手段に
より、印刷装置にセットされた用紙から読取った読取り
イメージを記憶し、表示制御手段により、その読取りイ
メージを表示画面上に表示制御し、出力位置指定手段に
より、その表示された読取りイメージ上において所望デ
ータの印刷出力位置を任意に指定する。そして、読取り
制御手段により、その指定された印刷出力位置に基づい
て所望データの読取りイメージ上における記憶位置を算
出してその記憶位置を位置情報として記憶すると、検出
手段により、所望データを印刷する際に、現在、印刷装
置にセットされている用紙から新規にイメージを読取
り、その読取りイメージを、イメージ記憶手段に記憶さ
れている読取りイメージと比較して、これら読取りイメ
ージ同士の上下左右のずれ方向とそのずれ量とを検出す
る。さらに、補正手段により、検出手段で検出されたず
れ方向とそのずれ量とに応じて位置算出記憶手段に記憶
された位置情報を補正し、印刷制御手段により、補正手
段で補正された位置情報に基づいて、現在、前記印刷装
置にセットされている用紙に対して前記所望データを印
刷すべく制御する。
According to the above construction, the image storage means stores the read image read from the paper set in the printing device, and the display control means controls the display of the read image on the display screen, and the output position. The designation means arbitrarily designates the print output position of the desired data on the displayed read image. Then, the reading control unit calculates a storage position of the desired data on the read image based on the designated print output position and stores the storage position as position information. When the detection unit prints the desired data. In addition, a new image is newly read from the paper currently set in the printing device, and the read image is compared with the read image stored in the image storage means, and the vertical and horizontal shift directions of these read images are compared with each other. The amount of deviation is detected. Further, the correction unit corrects the position information stored in the position calculation storage unit according to the displacement direction detected by the detection unit and the displacement amount, and the print control unit converts the position information corrected by the correction unit. Based on this, control is performed to print the desired data on the sheet currently set in the printing device.

【0009】したがって、最初に用紙から読み取った読
み取りイメージに対し、今回セットされた用紙から読み
取った読取りイメージが上下左右方向にずれていても、
最初の読取りイメージに対して指定した所望データを、
今回の読取りイメージの位置ずれに合せ、所望位置に確
実に印刷出力することで、印刷結果の再現性を向上させ
ることができる。
Therefore, even if the read image read from the sheet set this time is deviated in the vertical and horizontal directions from the read image initially read from the sheet,
The desired data specified for the first read image,
It is possible to improve the reproducibility of the print result by surely printing out at a desired position according to the positional deviation of the read image this time.

【0010】請求項2記載の発明は、前記補正手段が、
行単位に位置情報を補正することを特徴とする。このよ
うに、行単位に位置情報を補正するようにしたので、印
刷の途中で用紙がずれてきてもそのずれに即座に対処し
て、所望の位置への精密な印刷出力が可能である。
According to a second aspect of the present invention, the correction means comprises:
It is characterized in that the position information is corrected in units of rows. As described above, since the position information is corrected line by line, even if the paper is misaligned during printing, the misalignment can be immediately dealt with and precise print output to a desired position can be performed.

【0011】請求項3記載の発明は、前記検出手段が、
ずれ量が所定の印刷許容範囲を超えた場合にエラーを報
知することを特徴とする。このように、所望の印刷許容
範囲内のずれについては印刷を許容し、その範囲外につ
いてはエラーとしたので、極端な位置ずれによって危惧
されるジャム等の故障を未然に防止することができる。
According to a third aspect of the present invention, the detection means comprises:
An error is notified when the deviation amount exceeds a predetermined print allowable range. In this way, printing is allowed for deviations within the desired printing allowable range, and errors are made for those deviations outside the desired printing allowable range. Therefore, it is possible to prevent a failure such as a jam that may be caused by an extreme positional deviation.

【0012】請求項4記載の発明は、印刷装置にセット
された用紙から読取った第1の読取りイメージを記憶す
るイメージ記憶手段と、前記第1の読取りイメージを表
示画面上に表示制御する表示制御手段と、前記表示され
た第1の読取りイメージ上において所望データの印刷出
力位置を任意に指定する位置指定手段と、前記指定され
た印刷出力位置に基づいて、前記所望データの前記第1
の読取りイメージ上における記憶位置を算出してその記
憶位置を位置情報として記憶する位置算出記憶手段と、
前記所望データを印刷する際に、現在、前記印刷装置に
セットされている用紙から新規にイメージを読取る読取
り制御手段と、前記読取り制御手段で読取られた第2の
読取りイメージを、前記イメージ記憶手段に記憶されて
いる第1の読取りイメージと比較して、前記第1の読取
りイメージに対する前記第2の読取りイメージの回転状
態を検出する検出手段と、前記所望データを、前記印刷
装置にセットされている用紙に対して印刷する際は、前
記検出手段で検出された回転状態に応じて回転させて印
刷すべく制御する印刷制御手段と、を備える。
According to a fourth aspect of the present invention, image storage means for storing a first read image read from a sheet set in the printing device, and display control for controlling display of the first read image on a display screen. Means, position designating means for arbitrarily designating a print output position of desired data on the displayed first read image, and the first designating unit for the desired data based on the designated print output position.
Position calculation storage means for calculating a storage position on the read image of and storing the storage position as position information,
When printing the desired data, a read control unit that newly reads an image from a sheet currently set in the printing apparatus, and a second read image read by the read control unit are stored in the image storage unit. Detecting means for detecting the rotation state of the second read image with respect to the first read image as compared with the first read image stored in the first read image, and the desired data set in the printing device. When printing is performed on a sheet of paper, a print control unit that controls to print by rotating the sheet according to the rotation state detected by the detection unit is provided.

【0013】以上の構成によれば、イメージ記憶手段に
より、印刷装置にセットされた用紙から読取った第1の
読取りイメージを記憶し、表示制御手段により、第1の
読取りイメージを表示画面上に表示制御し、位置指定手
段により、表示された第1の読取りイメージ上において
所望データの印刷出力位置を任意に指定する。そして、
位置算出記憶手段により、指定された印刷出力位置に基
づいて、所望データの第1の読取りイメージ上における
記憶位置を算出してその記憶位置を位置情報として記憶
する。さらに、読取り制御手段により、所望データを印
刷する際に、現在、印刷装置にセットされている用紙か
ら新規にイメージを読取り、検出手段により、読取り制
御手段で読取られた第2の読取りイメージを、イメージ
記憶手段に記憶されている第1の読取りイメージと比較
して、第1の読取りイメージに対する第2の読取りイメ
ージの回転状態を検出し、印刷制御手段により、印刷装
置にセットされている用紙に対して所望データを印刷す
る際は、検出手段で検出された回転状態に応じて回転さ
せて印刷すべく制御する。
With the above arrangement, the image storage means stores the first read image read from the paper set in the printing device, and the display control means displays the first read image on the display screen. The position of the desired data is controlled to be arbitrarily designated on the displayed first read image by controlling the position. And
The position calculation storage means calculates the storage position of the desired data on the first read image based on the designated print output position and stores the storage position as position information. Further, when the desired data is printed by the reading control means, a new image is newly read from the sheet currently set in the printing device, and the second reading image read by the reading control means is detected by the detecting means. The rotation state of the second read image with respect to the first read image is detected in comparison with the first read image stored in the image storage means, and the print control means detects the rotation state of the sheet set in the printing device. On the other hand, when printing the desired data, control is performed so that the desired data is rotated and printed in accordance with the rotation state detected by the detection means.

【0014】したがって、最初に読み取った第1の読み
取りイメージに対し、今回セットされた用紙から読み取
った第2の読取りイメージが傾いて回転を生じていて
も、第1の読取りイメージに指定された所望データを、
第2の読取りイメージの回転状態に合せ、所望位置に確
実に印刷出力することで、印刷結果の再現性を向上させ
ることができる。
Therefore, even if the second read image read from the sheet set this time is tilted and rotated with respect to the first read image read first, the desired image specified in the first read image is obtained. Data
It is possible to improve the reproducibility of the print result by surely printing out at a desired position according to the rotation state of the second read image.

【0015】[0015]

【発明の実施の形態】以下に添付図面を参照して、本発
明に係る好適な実施の形態を詳細に説明する。 実施の形態1.図1は請求項1の発明に係る印刷制御装
置の一実施の形態を示すブロック図であり、図に示した
印刷制御装置は例えばシリアルプリンタタイプの印刷機
能を具備したワードプロセッサ等の電子機器に適用され
る。
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Embodiment 1. FIG. 1 is a block diagram showing an embodiment of a print control apparatus according to the invention of claim 1. The print control apparatus shown in the figure is applied to an electronic device such as a word processor having a serial printer type print function, for example. To be done.

【0016】上記印刷制御装置は、例えば、本装置全体
の制御を司るCPU1と、CPU1を動作させる各種の
プログラムを格納したROM2と、各種プログラムのワ
ークエリアとして使用するRAM3と、入力部4と、表
示部5と、印刷部6と、イメージリーダ(以下にリーダ
と称する)7と、メインイメージメモリ8と、入力文字
・位置情報テーブル9と、補正値算出処理部10と、サ
ブイメージメモリ11と、補正値記憶部12と、アドレ
ス、データ等の信号を伝送するバス13とを備えてい
る。
The above-mentioned print control apparatus is, for example, a CPU 1 which controls the entire apparatus, a ROM 2 which stores various programs for operating the CPU 1, a RAM 3 which is used as a work area for various programs, and an input section 4. A display unit 5, a printing unit 6, an image reader (hereinafter referred to as a reader) 7, a main image memory 8, an input character / position information table 9, a correction value calculation processing unit 10, and a sub image memory 11. A correction value storage unit 12 and a bus 13 for transmitting signals such as addresses and data are provided.

【0017】CPU1は、ROM2に格納された各種プ
ログラムに従って本装置を制御する。このROM2に
は、後述の図11及び図12に示したフローチャートに
従って本装置を動作させるためのプログラム等を格納し
ており、プログラム実行の際にはRAM3をワークエリ
アとして使用する。
The CPU 1 controls this device according to various programs stored in the ROM 2. The ROM 2 stores a program and the like for operating the present apparatus according to the flowcharts shown in FIGS. 11 and 12, which will be described later, and the RAM 3 is used as a work area when executing the program.

【0018】入力部4は、キー等の入力機器を具備して
いる。表示部5は、例えば文書処理等で作成・編集画面
や後述のリーダ7から入力される読取りイメージ等の画
像を表示する機器である。印刷部6はキャリッジを備
え、主走査及び副走査方向に移動して、文書等のイメー
ジを印刷する機器である。リーダ7は、印刷部4のキャ
リッジに併設された読取装置であり、キャリッジと一体
に移動自在である。
The input section 4 is provided with an input device such as a key. The display unit 5 is a device that displays an image such as a read / write screen input by a reader 7 (described later) or a creation / editing screen for document processing or the like. The printing unit 6 is a device that includes a carriage, moves in the main scanning direction and the sub scanning direction, and prints an image such as a document. The reader 7 is a reading device attached to the carriage of the printing unit 4, and is movable integrally with the carriage.

【0019】メインイメージメモリ8は、上記リーダ7
で用紙から読取ったイメージ(以下にイメージデータと
称する)を格納できるメモリ容量を有している。入力文
字・位置情報テーブル9は、例えば後述の図3に示され
る形式で、入力文字とその絶対位置情報とを対応させて
記憶するメモリである。
The main image memory 8 is the reader 7
It has a memory capacity capable of storing an image (hereinafter referred to as image data) read from paper. The input character / position information table 9 is a memory that stores the input character and its absolute position information in association with each other, for example, in the format shown in FIG.

【0020】補正値算出処理部10は、後述の図13に
示したフローチャートに従って補正値を算出するもので
あり、ここでの処理には、所定サイズ分(例えば500
×500ドット)のイメージデータを記憶するサブイメ
ージメモリ11と、図3に示した補正値記憶部12とが
使用される。
The correction value calculation processing unit 10 calculates a correction value according to the flow chart shown in FIG. 13, which will be described later. In this processing, a predetermined size (for example, 500) is used.
The sub-image memory 11 that stores image data of (× 500 dots) and the correction value storage unit 12 illustrated in FIG. 3 are used.

【0021】次に動作について説明する。図2は入力文
字・位置情報テーブル9の内容を説明する説明図であ
り、図3は補正値記憶部12の内容を説明する説明図で
ある。図4は使用される用紙の一例を示す上面図、図5
〜9はメモリの使用方法を説明する説明図、図10は図
4に示した用紙の印刷結果の一例を示す上面図、図11
〜13はデータ入力処理から印刷処理までを説明するフ
ローチャートである。以下の説明では、一例として図4
に示す如く記録紙40を使用する。この記録紙40は、
41〜45で示した記入欄を配してなる定型フォームを
有している。
Next, the operation will be described. FIG. 2 is an explanatory diagram for explaining the contents of the input character / position information table 9, and FIG. 3 is an explanatory diagram for explaining the contents of the correction value storage unit 12. FIG. 4 is a top view showing an example of used paper, and FIG.
9 is an explanatory view for explaining a method of using the memory, FIG. 10 is a top view showing an example of a printing result of the paper shown in FIG. 4, and FIG.
13 to 13 are flowcharts for explaining data input processing to printing processing. In the following description, as an example, FIG.
The recording paper 40 is used as shown in FIG. This recording paper 40 is
It has a fixed form formed by arranging the entry fields indicated by 41 to 45.

【0022】データ入力処理の開始が指示されると、不
図示の給紙口よりセット済みの記録紙40がリーダ7の
作動によってイメージ読取りされる。そのイメージデー
タは、例えば図5に示す如くメインイメージメモリ8に
格納される(図11;ステップS1〜3)。このメイン
イメージメモリ8において、8aは空き領域、50は記
録紙40のイメージデータ、51〜55は記入欄41〜
45に対応したイメージデータをそれぞれ示しており、
このイメージデータ50はメモリ内に余裕をもって記憶
される。
When the start of the data input process is instructed, the set recording paper 40 is image-read by the operation of the reader 7 from the paper feed port (not shown). The image data is stored in the main image memory 8 as shown in FIG. 5, for example (FIG. 11; steps S1 to S3). In the main image memory 8, 8a is an empty area, 50 is image data of the recording paper 40, and 51 to 55 are entry fields 41 to 41.
Image data corresponding to 45 are shown respectively,
This image data 50 is stored in the memory with a margin.

【0023】表示部5には、メインイメージメモリ8に
格納されている内容に相当するイメージが表示され(ス
テップS4)、その表示イメージに対して、データ(文
字、図形等のデータ)入力が開始される。
An image corresponding to the contents stored in the main image memory 8 is displayed on the display unit 5 (step S4), and data (data such as characters and figures) is input to the display image. To be done.

【0024】文字データを入力する前にその編集位置
(文字入力位置を含む)の指定をまち、カーソルによっ
て表示画面に位置指定がなされると(ステップS5)、
その指定位置に対応したメインイメージメモリ8上の絶
対位置(座標)を示す絶対位置情報(x,y)が算出さ
れる(ステップS6)。
Before inputting the character data, the editing position (including the character input position) is designated, and when the position is designated on the display screen by the cursor (step S5),
Absolute position information (x, y) indicating the absolute position (coordinates) on the main image memory 8 corresponding to the designated position is calculated (step S6).

【0025】この絶対位置情報(x,y)は、一文字或
いは連続した文字列を入力させるときの基点であり、こ
の位置指定をすることによって文字データを入力するこ
とができる。
This absolute position information (x, y) is a base point for inputting one character or a continuous character string, and character data can be input by designating this position.

【0026】次のステップS7及びS8において、例え
ば文字列“文字認識”が入力されると(図6参照)、
“文”、“字”、“認”、“識”の各文字のコードと、
その入力の基点となる絶対位置情報とが対応させて記憶
される(図2参照)。この文字列“文字認識”の場合に
は、絶対位置情報を座標(P,Q)として記憶され、図
6に示される如く、表示領域60が確保される。続いて
別の箇所にも文字入力を行う場合には、処理をステップ
S5に戻し操作終了の指示があるまで、上述した処理を
繰り返し実行する(ステップS9)。このようにしてデ
ータ入力処理が終了する。
In the next steps S7 and S8, for example, when the character string "character recognition" is input (see FIG. 6),
Codes for each letter of "sentence", "letter", "accept", "knowledge"
The absolute position information, which is the base point of the input, is stored in association with each other (see FIG. 2). In the case of the character string "character recognition", the absolute position information is stored as coordinates (P, Q), and the display area 60 is secured as shown in FIG. Then, in the case of inputting a character to another place, the process is returned to step S5 and the above-described process is repeatedly executed until an instruction to end the operation is given (step S9). In this way, the data input process is completed.

【0027】次に印刷処理について説明する。印刷処理
の開始が指示され、不図示の給紙口に用紙(データ入力
処理時と同様に記録紙40とする)がセットされると、
補正値算出処理に処理が移行する(ステップS11)。
この補正値補正処理を図13を参照して説明する。
Next, the print processing will be described. When the start of the printing process is instructed and the paper (the recording paper 40 is set similarly to the data input process) is set in the paper feed port (not shown),
The processing shifts to the correction value calculation processing (step S11).
This correction value correction processing will be described with reference to FIG.

【0028】まず、メインイメージメモリ8内で、有効
なイメージがサーチされる。ここで、有効なイメージと
は、例えば記入欄41〜45に相当するイメージデータ
71〜75のように、ある形状を構成する黒ドットをい
う。この例では、イメージの左上端位置を検出すること
で、サーチが終了する(ステップS21)。このように
して有効なイメージが検出されると、その位置は絶対位
置情報(座標(a,b))として補正値記憶部12に記
憶される(ステップS22)。
First, a valid image is searched in the main image memory 8. Here, the effective image refers to a black dot forming a certain shape, such as image data 71 to 75 corresponding to the entry fields 41 to 45. In this example, the search ends by detecting the upper left end position of the image (step S21). When a valid image is detected in this way, its position is stored in the correction value storage unit 12 as absolute position information (coordinates (a, b)) (step S22).

【0029】次に、リーダ7を、上記座標(a,b)に
対応した記録紙40上の位置に移動させ、現在、給紙口
にセットされている記録紙40から、所定サイズ分のメ
ージを読取る制御が実行される(ステップS23、S2
4)。このイメージ読取りによって読取られたイメージ
は、図7に示した如くサブイメージメモリ11に記憶さ
れる(ステップS25)。図7において、11aは空き
領域を示す。
Next, the reader 7 is moved to a position on the recording paper 40 corresponding to the above coordinates (a, b), and the image of a predetermined size is printed from the recording paper 40 currently set in the paper feed port. Is read (steps S23 and S2).
4). The image read by this image reading is stored in the sub-image memory 11 as shown in FIG. 7 (step S25). In FIG. 7, 11a indicates an empty area.

【0030】そして、メインイメージメモリ8より、基
点(座標(a,b))の位置からn×mドットサイズ分の
ブロックイメージ(ブロックイメージデータ)が切取ら
れる。このブロックイメージをIORGで示す。続いて
サブイメージメモリ11に格納された読取りイメージか
らも、座標(a,b)を基点とするn×mドットサイズ分
のブロックイメージ(ブロックイメージデータ)が切取
られる。このブロックイメージをICOMで示す。
Then, a block image (block image data) of n × m dot size is cut out from the position of the base point (coordinates (a, b)) from the main image memory 8. This block image is indicated by IORG. Then, from the read image stored in the sub-image memory 11, a block image (block image data) of n × m dot size with the coordinates (a, b) as the base point is cut off. This block image is indicated by ICOM.

【0031】次に、ブロックイメージIORGとICO
Mとがパターンマッチングによって比較される。その結
果、一致が得られなかった場合には処理はステップS2
9に移行し、一致が得られた場合には処理はステップS
32に移行する。
Next, the block images IORG and ICO
M and M are compared by pattern matching. As a result, if no match is obtained, the process proceeds to step S2.
If it is found that there is a match, the process proceeds to step S.
Move to 32.

【0032】ステップS29に処理が移行した場合に
は、ブロックイメージIORGに一致するブロックイメ
ージICOMのずれ量が所定の印刷許容範囲内に収まっ
ているか否か判断される。そのために、ブロックイメー
ジIORGとICOMとのパターンを一致させるよう
に、上記印刷許容範囲内において、ブロックイメージI
COMの切取り位置を、x(主走査)方向及びy(副走
査)方向にドット単位でシフトさせる処理が繰り返し実
行される(ステップS27〜S30)。また、上記ステ
ップS29において、次のシフトでずれ量が印刷許容範
囲を越えることを確認すると、例えば表示部5に用紙の
再セットをガイダンスするメッセージを表示させるエラ
ー処理が実行され、その後、処理はステップS11(図
12参照)に戻る。このように、メッセージを表示して
操作者にエラーを報知することで、ジャム等の故障を事
前に回避することができる。
When the process proceeds to step S29, it is determined whether or not the shift amount of the block image ICOM matching the block image IORG is within the predetermined print allowable range. Therefore, in order to match the patterns of the block image IORG and ICOM, the block image I is within the print allowable range.
The process of shifting the COM cutting position in dot units in the x (main scanning) direction and the y (sub scanning) direction is repeatedly executed (steps S27 to S30). Further, in step S29, if it is confirmed that the shift amount exceeds the print allowable range in the next shift, an error process for displaying a message for guiding the resetting of the paper on the display unit 5, for example, is executed. The process returns to step S11 (see FIG. 12). In this way, by displaying the message and notifying the operator of the error, it is possible to avoid a failure such as a jam in advance.

【0033】また、ステップS32に処理が移行した場
合には、ブロックイメージIORGに一致するブロック
イメージICOMのずれ量が所定の印刷許容範囲内のた
め、そのブロックイメージICOMの基点となる座標
(A,B)が補正値記憶部12に記憶される。さらにス
テップS33及びS34において、x方向及びy方向の
ずれ量をそれぞれ示す補正値Δa、Δbが次式(1)、
(2)によって求められる。 Δa=A−a ・・・ (1) Δb=B−b ・・・ (2)
Further, when the processing shifts to step S32, since the shift amount of the block image ICOM matching the block image IORG is within the predetermined print allowable range, the coordinates (A, B) is stored in the correction value storage unit 12. Further, in steps S33 and S34, the correction values Δa and Δb respectively indicating the shift amounts in the x direction and the y direction are expressed by the following equation (1),
It is obtained by (2). Δa = A−a (1) Δb = B−b (2)

【0034】そして、ステップS34により、上記補正
値Δa及びΔbが補正値記憶部12に記憶される。
Then, in step S34, the correction values Δa and Δb are stored in the correction value storage unit 12.

【0035】このようにして補正値算出処理が終了する
と、処理は再びステップS13(ず12参照)に戻る。
ステップS13以降は、入力文字・位置情報テーブル9
に格納されている最初の入力文字データ(キャラクタコ
ード)とその絶対位置情報(座標(P,Q))とが対応
させて読出され、その絶対位置情報が補正値記憶部12
に格納された補正値Δa,Δbにより補正される。これ
を次式(3)、(4)に示す。 P’=P+Δa ・・・ (3) Q’=Q+Δb ・・・ (4)
When the correction value calculation process is completed in this way, the process returns to step S13 (see step 12) again.
Input character / position information table 9 after step S13
The first input character data (character code) stored in the table and its absolute position information (coordinates (P, Q)) are read in association with each other, and the absolute position information is read out.
It is corrected by the correction values Δa and Δb stored in. This is shown in the following equations (3) and (4). P '= P + Δa (3) Q' = Q + Δb (4)

【0036】上記の補正後の絶対位置情報(座標
(P’,Q’))は、イメージデータにおいては図9に
示した位置に該当すると共に、現在、給紙口にセットさ
れている記録紙40に印刷するときの印刷開始位置を示
すものである。この印刷開始位置は図3に示した如く補
正値記憶部12に記憶される(ステップS14)。そし
て、ステップS15及びS16では、上記印刷開始位置
を絶対位置として印刷部6のキャリッジを移動させ、読
出された文字データに基づく印刷処理が制御される。さ
らに入力文字・位置情報テーブル9に文字データが格納
されている場合には、処理をステップS13に戻して上
述の処理が繰り返し実行される(ステップS17)。
The corrected absolute position information (coordinates (P ', Q')) corresponds to the position shown in FIG. 9 in the image data, and the recording paper currently set in the paper feed port. 40 shows the print start position when printing on 40. This print start position is stored in the correction value storage unit 12 as shown in FIG. 3 (step S14). Then, in steps S15 and S16, the carriage of the printing unit 6 is moved with the printing start position as the absolute position, and the printing process based on the read character data is controlled. Further, when character data is stored in the input character / position information table 9, the process is returned to step S13 and the above process is repeatedly executed (step S17).

【0037】以上により得られた印刷結果によれば、図
10に示した如く、表示画面上で指定した通りの位置に
文字が出力され、所定の記入欄41から文字列“文字認
識”がはみ出す等の不具合をなくすことができる。
According to the printing result obtained as described above, as shown in FIG. 10, the character is output at the specified position on the display screen, and the character string "character recognition" is projected from the predetermined entry field 41. It is possible to eliminate such problems.

【0038】以上説明したように発明の実施の形態1に
よれば、最初に記録紙40から読み取った読み取りイメ
ージに対し、今回セットされた記録紙40から読み取っ
た読取りイメージが上下左右方向にずれていても、最初
の読取りイメージに対して指定した所望の文字データ
を、今回の読取りイメージの位置ずれに合せて補正を加
えて印刷出力することで、印刷結果の再現性を向上させ
ることができる。
As described above, according to the first embodiment of the invention, the read image read from the recording paper 40 set this time is deviated in the vertical and horizontal directions from the read image read from the recording paper 40 first. Even if the desired character data specified for the first read image is corrected and printed according to the positional deviation of the current read image, the reproducibility of the print result can be improved.

【0039】以上の説明では、連続した文字列を一単位
としてずれを補正していたが、連続の有無に関係なく行
単位にずれを補正するようにしてもよい。この場合、ひ
とつの文字列が改行等により数行に亘って連続入力され
ているのであれば、最初に指定された基点を基に、次行
の先頭文字の基点(絶対位置)を算出し、これを文字コ
ードと対応させて入力文字・位置情報テーブル9に記憶
させることで、行単位に入力文字を管理することができ
る。これによれば、一行分の印刷を行う前に、同行の文
字印刷の開始位置を補正するので、例えば印刷中に記録
紙の途中から位置が微妙にずれてしまうような場合でも
正しい位置に精度高く文字を印刷することができる。な
お、入力文字に対する絶対位置の指定については、行単
位、文字列単位のいずれであってもよい。
In the above description, the deviation is corrected with a continuous character string as one unit, but the deviation may be corrected in units of line regardless of the presence or absence of the continuation. In this case, if one character string is continuously input over several lines by line feed etc., the base point (absolute position) of the first character of the next line is calculated based on the base point specified first, By storing this in the input character / position information table 9 in association with the character code, the input character can be managed line by line. According to this, since the start position of the character printing of the same line is corrected before printing one line, for example, even if the position is slightly deviated from the middle of the recording paper during printing, it is possible to obtain the correct position. You can print letters high. The absolute position for the input character may be specified on a line basis or a character string basis.

【0040】実施の形態2.前述の実施の形態1におい
ては、セットされる用紙の上下左右方向のずれを検出す
るようにしていたが、以下の実施の形態2によりセット
される用紙の傾きも補正対象に含めた場合についても説
明する。
Embodiment 2 In the first embodiment described above, the deviation in the vertical and horizontal directions of the set paper is detected, but the inclination of the set paper according to the following second embodiment is also included in the correction target. explain.

【0041】図14は請求項2の発明に係る印刷制御装
置の一実施の形態を示すブロック図であり、同図におい
て、図1と共通する構成については同様の番号を付し、
その説明を省略する。
FIG. 14 is a block diagram showing an embodiment of a print control apparatus according to the invention of claim 2. In FIG. 14, the same components as those in FIG.
The description is omitted.

【0042】図14に示した補正値算出処理部14は、
補正値記憶部15、第1ブロックイメージメモリ16、
及び第2ブロックイメージメモリ17を用いて補正値を
算出するものである。
The correction value calculation processing section 14 shown in FIG.
Correction value storage unit 15, first block image memory 16,
Also, the correction value is calculated using the second block image memory 17.

【0043】補正値記憶部15は、前述の補正値記憶部
12の記憶内容に、ブロックイメージIORGとICO
M間の相対的な傾きである回転角θを追加したものであ
る。第1ブロックイメージメモリ16は、メインメイン
イメージメモリ8から切取られたブロックイメージIO
RGを記憶するメモリ容量を有しており、第2ブロック
イメージメモリ17は、サブイメージメモリ11から切
取られたブロックイメージICOMを記憶するとともに
そのイメージを回転可能なメモリ容量(領域)を有して
いる。
The correction value storage unit 15 stores the block images IORG and ICO in the contents stored in the correction value storage unit 12 described above.
The rotation angle θ which is a relative inclination between M is added. The first block image memory 16 is a block image IO cut out from the main main image memory 8.
The second block image memory 17 has a memory capacity for storing the RG, and the second block image memory 17 has a memory capacity (area) capable of storing the block image ICOM cut out from the sub image memory 11 and rotating the image. There is.

【0044】次に動作について説明する。図16及び図
17は印刷時の読取りイメージが回転している場合のメ
モリの使用方法について説明する説明図であり、図18
及び19は印刷処理の手順について説明するフローチャ
ートである。なお、印刷処理は、ROM2に格納された
プログラムに従って実行されるものであるが、補正値算
出処理の部分については補正値算出処理部10によって
実行される。また、データ入力処理は、図11と同様の
ため、その説明を省略し、異なる印刷処理を中心に以下
に説明する。
Next, the operation will be described. FIG. 16 and FIG. 17 are explanatory diagrams for explaining how to use the memory when the read image at the time of printing is rotated.
Reference numerals 19 and 19 are flowcharts for explaining the procedure of the printing process. The print process is executed according to the program stored in the ROM 2, but the correction value calculation processing unit 10 executes the correction value calculation process part. Since the data input process is the same as that in FIG. 11, the description thereof will be omitted, and different print processes will be mainly described below.

【0045】まず、用紙である記録紙40がセットされ
ると、リーダ7を作動させてイメージ読取りが行われる
(ステップS41、S42)。その読取りイメージ(イ
メージデータ)は、例えば図11に示す如くサブイメー
ジメモリ11に格納される(ステップS43)。このサ
ブイメージメモリ11において、70は記録紙40のイ
メージデータ、71〜75は記入欄41〜45に対応し
たイメージデータをそれぞれ示している。
First, when the recording paper 40, which is a paper, is set, the reader 7 is operated to read an image (steps S41 and S42). The read image (image data) is stored in the sub-image memory 11 as shown in FIG. 11 (step S43). In the sub-image memory 11, 70 indicates image data of the recording paper 40, and 71 to 75 indicate image data corresponding to the entry columns 41 to 45, respectively.

【0046】続いて、ステップS44及びS45におい
て、図13のステップS21及びS22と同様に、既に
メインイメージメモリ8に格納済みのイメージデータに
基づいて有効なイメージの基点をサーチし、その基点の
座標(a,b)を補正値記憶部15に記憶させる処理が
実行される。そして、その基点からn×mドットサイズの
ブロックイメージIORGが切出され、第1ブロックイ
メージメモリ16に記憶される(ステップS46、S4
7)。
Subsequently, in steps S44 and S45, similar to steps S21 and S22 in FIG. 13, a valid image base point is searched based on the image data already stored in the main image memory 8, and the coordinates of the base point are searched. A process of storing (a, b) in the correction value storage unit 15 is executed. Then, a block image IORG of n × m dot size is cut out from the base point and stored in the first block image memory 16 (steps S46 and S4).
7).

【0047】さらにサブイメージメモリ11について
も、基点をサーチして、その基点からのブロックイメー
ジICOMの切出しと、第2ブロックイメージメモリ1
7への記憶が行われる(ステップS48〜S51)。な
お、ブロックイメージICOMの基点は、x座標を
A’、y座標をB’でそれぞれ示すものとし、これらも
補正値記憶部15に記憶される(図15参照)。
Further, with respect to the sub-image memory 11, the base point is searched, the block image ICOM is cut out from the base point, and the second block image memory 1 is extracted.
7 is stored (steps S48 to S51). The base point of the block image ICOM has an x coordinate indicated by A ′ and ay coordinate indicated by B ′, and these are also stored in the correction value storage unit 15 (see FIG. 15).

【0048】続いて、第1、第2ブロックイメージメモ
リ16,17からブロックイメージIORG,ICOM
が読出され、ブロックイメージ同士のパターンマッチン
グが実行される(ステップS52)。その結果、一致で
あれば、次のステップS55に処理が移行し、他方不一
致であれば、ステップS54の回転処理に処理が移行す
る(ステップS53)。
Subsequently, the block images IORG and ICOM are read from the first and second block image memories 16 and 17.
Is read, and pattern matching between block images is executed (step S52). As a result, if they match, the process proceeds to the next step S55, while if they do not match, the process proceeds to the rotation process of step S54 (step S53).

【0049】ステップS54の回転処理を介さずにステ
ップS55にそのまま処理が移行した場合には、、ブロ
ックイメージ間に相対的な傾きがないものとして、補正
値記憶部15に記憶された基点位置の座標(a,b)と
(A’,B’)との、x(主走査)方向及びy(副走
査)方向のずれ量(補正値Δa及びΔb)が前述の
(1)及び(2)式に従って算出され、補正値記憶部1
5に記憶される(ステップS56)。
When the process directly proceeds to step S55 without going through the rotation process of step S54, it is determined that there is no relative inclination between the block images and the base point position stored in the correction value storage unit 15 The shift amounts (correction values Δa and Δb) between the coordinates (a, b) and (A ′, B ′) in the x (main scanning) direction and the y (sub scanning) direction are the above-mentioned (1) and (2). Correction value storage unit 1 calculated according to the formula
5 is stored (step S56).

【0050】また、ステップS54は、例えば図17の
一例のように、最初の読取りイメージ中のイメージデー
タ51(図5参照)が、これに相当する、今回の読取り
によって得られたイメージデータ71のように角度θだ
け右上がりに傾きをもった場合に実行される処理であ
る。この場合には、ブロックイメージIORGを基準
に、第2ブロックイメージメモリ17内のブロックイメ
ージICOMを同イメージの座標(A’,B’)の位置
を基点に右回り、又は左回りに回転させてパターンマッ
チングする処理が実行される。この回転処理(ステップ
S54)を繰り返し実行することで、回転角θが求めら
れる。図16の例では、ブロックイメージICOMを、
基点(座標(A’,B’))を中心に、左方向にICO
M’の位置まで回転角θ分回転させることで、パターン
の一致が得られている。この回転角θは補正値記憶部1
5に記憶される。
In step S54, the image data 51 (see FIG. 5) in the first read image corresponds to the image data 71 obtained by the current reading, as in the example of FIG. As described above, the processing is executed when the inclination is inclined upward by the angle θ. In this case, based on the block image IORG, the block image ICOM in the second block image memory 17 is rotated clockwise or counterclockwise from the position of the coordinates (A ′, B ′) of the image as a base point. The process of pattern matching is executed. The rotation angle θ is obtained by repeatedly executing this rotation process (step S54). In the example of FIG. 16, the block image ICOM is
ICO to the left around the base point (coordinates (A ', B'))
The pattern coincidence is obtained by rotating to the position of M ′ by the rotation angle θ. This rotation angle θ is the correction value storage unit 1
5 is stored.

【0051】なお、ブロックイメージICOMに一定以
上の回転を与えても一致が得られない場合には、印刷上
のエラー回避等の理由から強制的に記録紙を再度セット
させるため、例えば再セットのメッセージを表示部3に
表示させるための処理が実行される。このメッセージを
表示させた後、処理はステップS41に戻り、用紙の再
セットをまつ状態となる。回転の限界については、5゜
程度が好適であるが、機構上又は処理上の都合で任意に
設定可能とする。
When the block image ICOM is rotated by a certain amount or more and no match is obtained, the recording paper is forcibly set again for reasons such as printing error avoidance. Processing for displaying the message on the display unit 3 is executed. After this message is displayed, the process returns to step S41, and the sheet is set again for resetting. The rotation limit is preferably about 5 °, but can be arbitrarily set due to mechanical or processing reasons.

【0052】このようにして、パターンの一致が得られ
補正値の算出までの処理が終了すると、ステップS57
に処理は移行して、図12のステップS13及びS14
と同様に、入力文字・位置情報テーブル9から文字デー
タを読出し、印刷開始位置(座標(P’,Q’))を求
める処理が実行される。なお、この印刷開始位置は現在
セットされている記録紙40の傾きすなわち回転角θに
よる回転状態によって必ずしも印刷の先頭位置であると
は限らないことを記しておく。
In this way, when the pattern matching is obtained and the processing up to the calculation of the correction value is completed, step S57.
The processing shifts to step S13 and step S14 in FIG.
Similarly to the above, the process of reading the character data from the input character / position information table 9 and obtaining the print start position (coordinates (P ′, Q ′)) is executed. It should be noted that the print start position is not always the print start position depending on the inclination of the currently set recording paper 40, that is, the rotation state according to the rotation angle θ.

【0053】次に、印刷開始位置を基準に、読出された
文字データに基づく文字パターンの角度を、回転角θに
従って回転させることで、印刷が制御される。この場合
にも、さらに入力文字・位置情報テーブル9に文字デー
タが格納されている場合には、処理をステップS57に
戻して上述の処理が繰り返し実行される(ステップS6
0)。
Next, printing is controlled by rotating the angle of the character pattern based on the read character data based on the printing start position according to the rotation angle θ. Also in this case, if character data is further stored in the input character / position information table 9, the process is returned to step S57 and the above process is repeatedly executed (step S6).
0).

【0054】以上により得られた印刷結果についても、
図10と同様に、表示画面上で指定した通りの位置に文
字が出力され、所定の記入欄から文字がはみ出す等の不
具合をなくすことができる。
Regarding the printing result obtained as described above,
As in the case of FIG. 10, the characters are output at the specified positions on the display screen, and it is possible to eliminate the problem that the characters protrude from the predetermined entry field.

【0055】以上説明したように発明の実施の形態2に
よれば、最初に読み取ったイメージブロックIORGに
対し、今回セットされた用紙から読み取ったイメージブ
ロックICOMが傾いて回転を生じていても、ブロック
イメージIORGに指定された所望の文字データを、ブ
ロックイメージICOMの回転状態に合せて補正して印
刷出力することで、印刷結果の再現性を向上させること
ができる。
As described above, according to the second embodiment of the invention, even if the image block ICOM read from the sheet set this time is tilted and rotated with respect to the image block IORG read first, the block is rotated. It is possible to improve the reproducibility of the print result by correcting the desired character data specified in the image IORG in accordance with the rotation state of the block image ICOM and printing it out.

【0056】さて、上述のパターン認識では、ステップ
S54の回転処理により、パターンが一致するまで、あ
るいは、不一致の限界まで、ブロックイメージを回転さ
せる処理が実行されていたが、本発明はこれに限定せ
ず、例えばベクトル情報を抽出して、そのベクトル情報
から回転角θを求めるようにしてもよく、これによっ
て、繰り返し角度を変えていくようなループ処理が不要
となるので、処理スピード等の面での効率化を図ること
ができる。
In the above-mentioned pattern recognition, the process of rotating the block image is executed by the rotation process of step S54 until the patterns match or the limit of the mismatch, but the present invention is not limited to this. Instead, for example, vector information may be extracted and the rotation angle θ may be obtained from the vector information. This eliminates the need for loop processing for changing the repeating angle, so that processing speed and other aspects are not required. It is possible to improve efficiency.

【0057】また、有効なイメージは、記録紙40の場
合のように矩形型の記入欄に限定されるものではなく、
文字入力の基点となる形状であれば、直線、曲線、波
形、円、楕円等のいずれの形状であってもよい。
Further, the valid image is not limited to the rectangular entry field as in the case of the recording paper 40,
Any shape such as a straight line, a curved line, a waveform, a circle, an ellipse or the like may be used as long as it is a base point for character input.

【0058】さらに、上述の印刷制御装置は、シリアル
プリンタタイプを例に挙げていたが、本発明はこれに限
定せず、ラインプリンタタイプにも適用可能である。
Further, although the above-mentioned print control device has been described by taking the serial printer type as an example, the present invention is not limited to this and can be applied to the line printer type.

【0059】[0059]

【発明の効果】請求項1記載の発明によれば、最初に用
紙から読み取った読み取りイメージに対し、今回セット
された用紙から読み取った読取りイメージが上下左右方
向にずれていても、最初の読取りイメージに対して指定
した所望データを、今回の読取りイメージの位置ずれに
合せ、指定位置に確実に所望データを印刷出力すること
で、印刷結果の再現性を向上させることができる印刷制
御装置を提供することができる。
According to the first aspect of the invention, even if the read image read from the sheet set this time is deviated in the vertical and horizontal directions with respect to the read image initially read from the sheet, the first read image is obtained. Provided is a print control device capable of improving reproducibility of print results by matching desired data designated with respect to this time with the positional deviation of the read image and surely printing the desired data at the designated position. be able to.

【0060】請求項2記載の発明によれば、行単位に位
置情報を補正するようにしたので、印刷の途中で用紙が
ずれてきてもそのずれに即座に対処して、所望の位置へ
の精密な印刷出力が可能である。
According to the second aspect of the invention, the position information is corrected line by line. Therefore, even if the paper is misaligned during printing, the misalignment is immediately dealt with, and the misalignment to the desired position is performed. Precise print output is possible.

【0061】請求項3記載の発明によれば、所定の印刷
許容範囲内のずれについては印刷を許容し、その範囲外
についてはエラー報知するようにしたので、極端な位置
ずれによって危惧されるジャム等の故障を未然に防止す
ることができる。
According to the third aspect of the present invention, the printing is permitted for the deviation within the predetermined printing allowable range, and the error notification is given for the deviation within the predetermined printing allowable range. It is possible to prevent the failure of the.

【0062】請求項4記載の発明によれば、最初に読み
取った第1の読み取りイメージに対し、今回セットされ
た用紙から読み取った第2の読取りイメージが傾いて回
転を生じていても、第1の読取りイメージに指定された
所望データを、第2の読取りイメージの回転状態に合
せ、指定位置に確実に所望データを印刷出力すること
で、印刷結果の再現性を向上させることができる印刷制
御装置を提供することができる。
According to the fourth aspect of the invention, even if the second read image read from the sheet set this time is tilted and rotated with respect to the first read image read first, the first read image is rotated. The print control device capable of improving the reproducibility of the print result by matching the desired data specified in the read image with the second read image and surely printing out the desired data at the specified position. Can be provided.

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

【図1】請求項1の発明に係る印刷制御装置の一実施の
形態(実施の形態1)を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment (embodiment 1) of a print control apparatus according to the invention of claim 1. FIG.

【図2】実施の形態1における入力文字・位置情報テー
ブルの内容の一例を示す図である。
FIG. 2 is a diagram showing an example of contents of an input character / position information table in the first embodiment.

【図3】実施の形態1における補正値記憶部の内容の一
例を示す図である。
FIG. 3 is a diagram showing an example of contents of a correction value storage unit according to the first embodiment.

【図4】記録紙の一例を示す上面図である。FIG. 4 is a top view showing an example of recording paper.

【図5】メインイメージメモリの使用方法を説明する図
である。
FIG. 5 is a diagram illustrating a method of using a main image memory.

【図6】サブイメージメモリの使用方法を説明する図で
ある。
FIG. 6 is a diagram illustrating a method of using a sub-image memory.

【図7】サブイメージメモリの使用方法を説明する図で
ある。
FIG. 7 is a diagram illustrating a method of using a sub-image memory.

【図8】サブイメージメモリの使用方法を説明する図で
ある。
FIG. 8 is a diagram illustrating a method of using a sub-image memory.

【図9】サブイメージメモリの使用方法を説明する図で
ある。
FIG. 9 is a diagram illustrating a method of using a sub-image memory.

【図10】印刷結果の一例を示す上面図である。FIG. 10 is a top view illustrating an example of a print result.

【図11】実施の形態1におけるデータ入力処理を説明
するフローチャートである。
FIG. 11 is a flowchart illustrating a data input process according to the first embodiment.

【図12】実施の形態1における印刷処理を説明するフ
ローチャートである。
FIG. 12 is a flowchart illustrating print processing according to the first embodiment.

【図13】図12の補正値算出処理を説明するフローチ
ャートである。
13 is a flowchart illustrating the correction value calculation process of FIG.

【図14】請求項2の発明に係る印刷制御装置の一実施
の形態(実施の形態2)を示すブロック図である。
FIG. 14 is a block diagram showing an embodiment (embodiment 2) of the print control apparatus according to the invention of claim 2;

【図15】実施の形態2における補正値記憶部の内容の
一例を示す図である。
FIG. 15 is a diagram showing an example of contents of a correction value storage unit in the second embodiment.

【図16】実施の形態2におけるメモリの使用方法につ
いて説明する図である。
16A and 16B are diagrams illustrating a method of using a memory in Embodiment 2.

【図17】回転角θを説明する図である。FIG. 17 is a diagram illustrating a rotation angle θ.

【図18】実施の形態2における印刷処理の手順につい
て説明するフローチャートである。
FIG. 18 is a flowchart illustrating a procedure of printing processing according to the second embodiment.

【図19】実施の形態2における印刷処理の手順につい
て説明するフローチャートである。
FIG. 19 is a flowchart illustrating a procedure of print processing according to the second embodiment.

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

1 CPU 2 ROM 3 RAM 4 入力部 5 表示部 6 印刷部 7 リーダ 8 メインイメージメモリ 9 入力文字・位置情報テーブル 10、14 補正値算出処理部 11 サブイメージメモリ 12、15 補正値記憶部 13 バス 16 第1ブロックイメージメモリ 17 第2ブロックイメージメモリ 40 用紙 41〜45 記入欄 50〜55,70〜75 イメージデータ 60 表示領域 θ 回転角 1 CPU 2 ROM 3 RAM 4 Input section 5 Display section 6 Printing section 7 Reader 8 Main image memory 9 Input character / position information table 10, 14 Correction value calculation processing section 11 Sub-image memory 12, 15 Correction value storage section 13 Bus 16 First block image memory 17 Second block image memory 40 Paper 41-45 Entry fields 50-55, 70-75 Image data 60 Display area θ Rotation angle

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】印刷装置にセットされた用紙から読取った
読取りイメージを記憶するイメージ記憶手段と、 前記読取りイメージを表示画面上に表示制御する表示制
御手段と、 前記表示された読取りイメージ上において所望データの
印刷出力位置を任意に指定する出力位置指定手段と、 前記指定された印刷出力位置に基づいて前記所望データ
の前記読取りイメージ上における記憶位置を算出してそ
の記憶位置を位置情報として記憶する位置算出記憶手段
と、 前記所望データを印刷する際に、現在、前記印刷装置に
セットされている用紙から新規にイメージを読取る読取
り制御手段と、 前記読取り制御手段で読取った読取りイメージを、前記
イメージ記憶手段に記憶されている読取りイメージと比
較して、これら読取りイメージ同士の上下左右のずれ方
向とそのずれ量とを検出する検出手段と、 前記検出されたずれ方向とそのずれ量とに応じて前記位
置算出記憶手段に記憶された位置情報を補正する補正手
段と、 前記補正手段で補正された位置情報に基づいて、現在、
前記印刷装置にセットされている用紙に対して前記所望
データを印刷すべく制御する印刷制御手段と、を備えた
印刷制御装置。
1. An image storage unit for storing a read image read from a sheet set in a printing device, a display control unit for controlling display of the read image on a display screen, and a desired image on the displayed read image. Output position designating means for arbitrarily designating a print output position of data, and calculating a storage position of the desired data on the read image based on the designated print output position and storing the storage position as position information. A position calculation storage means, a read control means for newly reading an image from a sheet currently set in the printing device when printing the desired data, and a read image read by the read control means, Compared with the read images stored in the storage means, these read images are vertically and horizontally A detection unit that detects the displacement direction and the displacement amount, a correction unit that corrects the position information stored in the position calculation storage unit according to the detected displacement direction and the displacement amount, and the correction unit. Based on the corrected position information,
And a print control unit that controls to print the desired data on a sheet set in the printing device.
【請求項2】前記補正手段は、行単位に位置情報を補正
することを特徴とする請求項1記載の印刷制御装置。
2. The print control apparatus according to claim 1, wherein the correction unit corrects the position information on a line-by-line basis.
【請求項3】前記検出手段は、ずれ量が所定の印刷許容
範囲を超えた場合にエラーを報知することを特徴とする
請求項1記載の印刷制御装置。
3. The print control apparatus according to claim 1, wherein the detection means notifies an error when the deviation amount exceeds a predetermined print allowable range.
【請求項4】印刷装置にセットされた用紙から読取った
第1の読取りイメージを記憶するイメージ記憶手段と、 前記第1の読取りイメージを表示画面上に表示制御する
表示制御手段と、 前記表示された第1の読取りイメージ上において所望デ
ータの印刷出力位置を任意に指定する位置指定手段と、 前記指定された印刷出力位置に基づいて、前記所望デー
タの前記第1の読取りイメージ上における記憶位置を算
出してその記憶位置を位置情報として記憶する位置算出
記憶手段と、 前記所望データを印刷する際に、現在、前記印刷装置に
セットされている用紙から新規にイメージを読取る読取
り制御手段と、 前記読取り制御手段で読取られた第2の読取りイメージ
を、前記イメージ記憶手段に記憶されている第1の読取
りイメージと比較して、前記第1の読取りイメージに対
する前記第2の読取りイメージの回転状態を検出する検
出手段と、 前記所望データを、前記印刷装置にセットされている用
紙に対して印刷する際は、前記検出手段で検出された回
転状態に応じて回転させて印刷すべく制御する印刷制御
手段と、を備えた印刷制御装置。
4. An image storage unit for storing a first read image read from a sheet set in a printing device; a display control unit for controlling display of the first read image on a display screen; Position specifying means for arbitrarily specifying a print output position of desired data on the first read image, and a storage position of the desired data on the first read image based on the specified print output position. A position calculation storage unit that calculates and stores the storage position as position information; a read control unit that newly reads an image from a sheet currently set in the printing device when printing the desired data; The second read image read by the read control means is compared with the first read image stored in the image storage means. Detecting means for detecting a rotation state of the second read image with respect to the first read image; and detecting means for detecting the desired data on a sheet set in the printing device by the detecting means. And a print control unit that controls to rotate and print according to the rotation state.
JP21967495A 1995-08-04 1995-08-04 Printing control device Expired - Fee Related JP3344179B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21967495A JP3344179B2 (en) 1995-08-04 1995-08-04 Printing control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21967495A JP3344179B2 (en) 1995-08-04 1995-08-04 Printing control device

Publications (2)

Publication Number Publication Date
JPH0950357A true JPH0950357A (en) 1997-02-18
JP3344179B2 JP3344179B2 (en) 2002-11-11

Family

ID=16739205

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21967495A Expired - Fee Related JP3344179B2 (en) 1995-08-04 1995-08-04 Printing control device

Country Status (1)

Country Link
JP (1) JP3344179B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005193421A (en) * 2003-12-26 2005-07-21 Konica Minolta Business Technologies Inc Imaging device/method, imaging program, recording medium and computer-readable recording medium in which imaging program is recorded

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005193421A (en) * 2003-12-26 2005-07-21 Konica Minolta Business Technologies Inc Imaging device/method, imaging program, recording medium and computer-readable recording medium in which imaging program is recorded

Also Published As

Publication number Publication date
JP3344179B2 (en) 2002-11-11

Similar Documents

Publication Publication Date Title
US4823395A (en) Image information recognition apparatus
US5123062A (en) OCR for sequentially displaying document layout according to recognition process
JPH10301701A (en) Device for inputting handwritten data and program storing medium for the same
JPH0950357A (en) Print controller
JP3443016B2 (en) Print control device, print control method, and recording medium
JP4785644B2 (en) Printing system and print data processing apparatus
JP2002077566A (en) Image corrector
JPH0888713A (en) Information processor
JPS638889A (en) Information processor
JP2010204898A (en) Printer and printing program
JP4068909B2 (en) Writing input device, writing input method, program, and storage medium
JPH11331558A (en) Method and device for correcting page position and recording medium
JPH05274470A (en) Optical character reader
JPH0256081A (en) Document inclination correcting device
JPH0483467A (en) Inclination correcting system for reading image
JPH05201093A (en) Editing and printing device
JP2000233544A (en) Print position control method and print position control program recording medium
JPH08321942A (en) Image processing unit and method for linking image of split pattern
JP2000298703A (en) Image processing device and its method and computer- readable memory
JPH07282188A (en) Facsimile ocr equipment
JPH1058765A (en) Information processor
JPH02141866A (en) Document preparing system
JPS6215673A (en) Catalog editing system
JPH08191363A (en) Digital copying machine
JPH04287184A (en) Print recognizing method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080830

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090830

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100830

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100830

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110830

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120830

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120830

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130830

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees