JP2000255131A - Image printing apparatus and method, and memory medium storing program readable by computer - Google Patents
Image printing apparatus and method, and memory medium storing program readable by computerInfo
- Publication number
- JP2000255131A JP2000255131A JP11058711A JP5871199A JP2000255131A JP 2000255131 A JP2000255131 A JP 2000255131A JP 11058711 A JP11058711 A JP 11058711A JP 5871199 A JP5871199 A JP 5871199A JP 2000255131 A JP2000255131 A JP 2000255131A
- Authority
- JP
- Japan
- Prior art keywords
- data
- host
- buffer
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、所定の通信媒体を
介してホストから受信する印刷データに基づく画像を出
力可能な画像印刷装置および画像印刷方法およびコンピ
ュータが読み出し可能なプログラムを格納した記憶媒体
に関するものである。[0001] 1. Field of the Invention [0002] The present invention relates to an image printing apparatus and an image printing method capable of outputting an image based on print data received from a host via a predetermined communication medium, and a storage medium storing a computer readable program. It is about.
【0002】[0002]
【従来の技術】従来の画像印刷装置では、あらかじめ決
まった特定の記入欄用の円形の原稿(例えば数字記入
欄)に印刷するためには、試しに印刷を行いその後、記
入欄への印刷結果のズレを定規などで計測し、該計測さ
れたずれ量を考慮してホストコンピュータの画像印刷装
置のドライバあるいは、アプリケーションソフトなどで
位置を修正して再印刷を行っていた。2. Description of the Related Art In a conventional image printing apparatus, in order to print on a predetermined circular document for a specific entry column (for example, a numeric entry column), printing is performed on a trial basis, and then the printing result in the entry column is printed. The deviation is measured by a ruler or the like, and the position is corrected by a driver of an image printing apparatus of a host computer or application software in consideration of the measured shift amount, and reprinting is performed.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、上記従
来技術では、特定の円形の記入欄に印刷結果が正しく印
刷されるまでに、少なくとも1枚の用紙を無駄にしなけ
ればならないという問題点と、原稿の記入欄と記入欄の
枠内に入れたい文字とのズレをユーザが計測し、それを
ホストコンピュータの画像印刷装置のドライバ等に修正
させるという複雑で時間のかかる面倒な作業を行わなけ
ればならないという問題点があった。However, in the above-mentioned prior art, at least one sheet of paper must be wasted before a print result is correctly printed in a specific circular entry box. The user has to perform a complicated and time-consuming and troublesome operation of measuring the misalignment between the text box and the character to be put in the frame of the text box, and causing the driver or the like of the image printing device of the host computer to correct it. There was a problem.
【0004】本発明は、上記の問題点を解決するために
なされたもので、読み取られて印刷バッファに展開され
る画像データを解析して前記ホストから受信する印刷デ
ータを記憶する印刷バッファに展開される前記所定の記
入領域の座標情報を生成し、該座標情報で設定される前
記印刷バッファ上の印刷領域に重ねられる前記ホストか
ら受信する印刷データが存在するかどうかを判別し、該
判別結果に基づいて前記ホストから受信する印刷データ
の印刷位置を前記座標情報で設定される印刷領域内に納
めるための印刷補正データを算出して、該印刷算出デー
タに従ってホストから再入力される印刷データの展開位
置を補正することにより、試し印刷を行わずに円形の記
入欄の印刷された原稿の記入欄にホストから入力される
所望の印刷データを位置ずれなく正常に印刷でき、用紙
を無駄にせず、時間も複雑な作業も必要なくなる画像印
刷装置および画像印刷方法およびコンピュータが読み出
し可能なプログラムを格納した記憶媒体を提供すること
である。SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and analyzes image data that is read and expanded in a print buffer, and expands the image data in a print buffer that stores print data received from the host. The coordinate information of the predetermined entry area to be generated is generated, and it is determined whether or not there is print data received from the host to be superimposed on a print area on the print buffer set by the coordinate information. The print correction data for storing the print position of the print data received from the host within the print area set by the coordinate information is calculated based on the print calculation data. By correcting the development position, desired print data input from the host into the entry field of the printed document in the circular entry field without performing test printing Position can successfully print without misalignment, without wasting paper, time necessary eliminates image printing apparatus and an image printing method, and a computer is also complex task is to provide a storage medium storing a readable program.
【0005】[0005]
【課題を解決するための手段】本発明に係る第1の発明
は、所定の通信媒体(双方向インタフェース,ネットワ
ークを含む)を介してホストから受信する印刷データに
基づく画像を出力可能な画像印刷装置であって、所定の
記入領域が円形で指定されるフォーム原稿を読み取る読
取り手段(図示しないスキャナ)と、前記読取り手段に
より読み取られて印刷バッファに展開される画像データ
を解析して前記ホストから受信する印刷データを記憶す
る印刷バッファ(図1に示す印刷バッファ104)に展
開される前記所定の記入領域の座標情報を生成する解析
手段(図1に示す画像処理部103,計算処理部11
6)と、前記解析手段により解析された前記座標情報で
設定される前記印刷バッファ上の印刷領域に重ねられる
前記ホストから受信する印刷データが存在するかどうか
を判別する判別手段(図1に示す画像処理部103,計
算処理部116)と、前記判別手段により前記印刷バッ
ファ上の印刷領域に重ねられる前記ホストから受信する
印刷データが存在すると判別された場合に、前記ホスト
から受信する印刷データの印刷位置を前記座標情報で設
定される印刷領域内に納めるための印刷補正データを算
出する算出手段(図1に示す計算処理部116)とを有
するものである。According to a first aspect of the present invention, there is provided an image printing apparatus capable of outputting an image based on print data received from a host via a predetermined communication medium (including a bidirectional interface and a network). A reading unit (scanner not shown) for reading a form document in which a predetermined entry area is designated by a circle; and an image data read by the reading unit and expanded in a print buffer, and analyzed by the host. Analysis means (image processing unit 103, calculation processing unit 11 shown in FIG. 1) for generating coordinate information of the predetermined entry area developed in a print buffer (print buffer 104 shown in FIG. 1) for storing print data to be received
6) and determining means for determining whether or not there is print data received from the host which is superimposed on a print area on the print buffer set by the coordinate information analyzed by the analyzing means (shown in FIG. 1). An image processing unit 103, a calculation processing unit 116) and, when the determination unit determines that there is print data received from the host to be superimposed on a print area on the print buffer, the print data received from the host is Calculating means (calculation processing unit 116 shown in FIG. 1) for calculating print correction data for placing the printing position within the printing area set by the coordinate information.
【0006】本発明に係る第2の発明は、前記ホストよ
り再送される印刷データの印刷位置を前記算出手段によ
る前記印刷補正データに基づいて補正して前記印刷バッ
ファ上に展開する制御手段(図1に示す画像処理部10
3)を有するものである。According to a second aspect of the present invention, there is provided control means for correcting a print position of print data retransmitted from the host based on the print correction data by the calculation means and developing the print position on the print buffer. Image processing unit 10 shown in 1
3).
【0007】本発明に係る第3の発明は、前記制御手段
(図1に示す画像処理部103)は、再送された印刷デ
ータをラスタ方向およびカラム方向に印刷補正データ分
だけ修正して前記印刷バッファに展開するものである。According to a third aspect of the present invention, the control means (the image processing unit 103 shown in FIG. 1) corrects the retransmitted print data in the raster direction and the column direction by the amount of the print correction data to perform the printing. It expands to a buffer.
【0008】本発明に係る第4の発明は、前記算出手段
により算出された前記印刷補正データを前記ホストに転
送する転送手段(図1に示すインタフェース101)を
有し、前記制御手段(図1に示す画像処理部103)
は、前記転送手段により転送された前記印刷補正データ
に基づいて前記ホストにより印刷位置が補正された印刷
データを前記印刷バッファに展開するものである。According to a fourth aspect of the present invention, there is provided a transfer means (interface 101 shown in FIG. 1) for transferring the print correction data calculated by the calculation means to the host, and the control means (FIG. 1) Image processing unit 103 shown in FIG.
And (c) developing, in the print buffer, print data whose print position has been corrected by the host based on the print correction data transferred by the transfer unit.
【0009】本発明に係る第5の発明は、前記解析手段
は、前記印刷バッファに展開される前記画像データをラ
スタ方向およびカラム方向にモニタして所定の記入領域
の座標情報を生成するものである。According to a fifth aspect of the present invention, the analysis means monitors the image data developed in the print buffer in a raster direction and a column direction to generate coordinate information of a predetermined writing area. is there.
【0010】本発明に係る第6の発明は、所定の通信媒
体(双方向インタフェース,ネットワークを含む)を介
してホストから受信する印刷データに基づく画像を出力
可能な画像印刷装置における画像印刷方法であって、所
定の記入領域が円形で指定されるフォーム原稿を読み取
る読取り工程(図3に示すステップ(3101))と、
前記読取り工程により読み取られて印刷バッファに展開
される画像データを解析して前記ホストから受信する印
刷データを記憶する印刷バッファに展開される前記所定
の記入領域の座標情報を生成する解析工程(図3に示す
ステップ(3102),(3103))と、前記解析工
程により生成された前記座標情報で設定される前記印刷
バッファ上の印刷領域に重ねられる前記ホストから受信
する印刷データが存在するかどうかを判別する判別工程
(図3に示すステップ(3104)〜(3106))
と、前記判別工程により前記印刷バッファ上の印刷領域
に重ねられる前記ホストから受信する印刷データが存在
すると判別された場合に、前記ホストから受信する印刷
データの印刷位置を前記座標情報で設定される印刷領域
内に納めるための印刷補正データを算出する算出工程
(図3に示すステップ(3105))とを有するもので
ある。A sixth invention according to the present invention relates to an image printing method in an image printing apparatus capable of outputting an image based on print data received from a host via a predetermined communication medium (including a bidirectional interface and a network). A reading step (step (3101) shown in FIG. 3) for reading a form document in which a predetermined entry area is designated by a circle;
An analysis step of analyzing image data read in the reading step and expanded in a print buffer to generate coordinate information of the predetermined entry area expanded in a print buffer storing print data received from the host (FIG. Steps (3102) and (3103) shown in FIG. 3), and whether there is print data received from the host that overlaps a print area on the print buffer set by the coordinate information generated by the analysis step. (Steps (3104) to (3106) shown in FIG. 3)
When it is determined that the print data received from the host is superimposed on the print area on the print buffer in the determination step, the print position of the print data received from the host is set by the coordinate information. And a calculation step (step (3105) shown in FIG. 3) of calculating print correction data to be contained in the print area.
【0011】本発明に係る第7の発明は、前記ホストよ
り再送される印刷データの印刷位置を前記算出工程によ
る前記印刷補正データに基づいて補正して前記印刷バッ
ファ上に展開する展開工程(図3に示すステップ(31
12)〜(3114))を有するものである。According to a seventh aspect of the present invention, there is provided a developing step of correcting a print position of print data retransmitted from the host based on the print correction data in the calculating step and developing the print position on the print buffer (FIG. Step 3 (31)
12) to (3114)).
【0012】本発明に係る第8の発明は、前記展開工程
は、再送された印刷データをラスタ方向およびカラム方
向に印刷補正データ分だけ修正して前記印刷バッファに
展開するものである。In an eighth aspect according to the present invention, in the developing step, the retransmitted print data is corrected in the raster direction and the column direction by an amount corresponding to the print correction data, and developed in the print buffer.
【0013】本発明に係る第9の発明は、前記算出工程
により算出された前記印刷補正データを前記ホストに転
送する転送工程(図示しない)を有し、前記展開工程
は、前記転送工程により転送された前記印刷補正データ
に基づいて前記ホストにより印刷位置が補正された印刷
データを前記印刷バッファに展開するものである。A ninth invention according to the present invention has a transfer step (not shown) for transferring the print correction data calculated in the calculation step to the host, and the development step includes the transfer step in the transfer step. The print data whose print position has been corrected by the host based on the corrected print correction data is developed in the print buffer.
【0014】本発明に係る第10の発明は、前記解析工
程は、前記印刷バッファに展開される前記画像データを
ラスタ方向およびカラム方向にモニタして所定の記入領
域の座標情報を生成するものである。According to a tenth aspect of the present invention, in the analyzing step, the image data developed in the print buffer is monitored in a raster direction and a column direction to generate coordinate information of a predetermined writing area. is there.
【0015】本発明に係る第11の発明は、所定の通信
媒体(双方向インタフェース,ネットワークを含む)を
介してホストから受信する印刷データに基づく画像を出
力可能な画像印刷装置を制御するコンピュータが読み出
し可能なプログラムを格納した記憶媒体であって、所定
の記入領域が円形で指定されるフォーム原稿を読み取る
読取り工程(図3に示すステップ(3101))と、前
記読取り工程により読み取られて印刷バッファに展開さ
れる画像データを解析して前記ホストから受信する印刷
データを記憶する印刷バッファに展開される前記所定の
記入領域の座標情報を生成する解析工程(図3に示すス
テップ(3102),(3103))と、前記解析工程
により生成された前記座標情報で設定される前記印刷バ
ッファ上の印刷領域に重ねられる前記ホストから受信す
る印刷データが存在するかどうかを判別する判別工程
(図3に示すステップ(3104)〜(3106))
と、前記判別工程により前記印刷バッファ上の印刷領域
に重ねられる前記ホストから受信する印刷データが存在
すると判別された場合に、前記ホストから受信する印刷
データの印刷位置を前記座標情報で設定される印刷領域
内に納めるための印刷補正データを算出する算出工程
(図3に示すステップ(3105))とを有するコンピ
ュータが読み出し可能なプログラムを記憶媒体に格納し
たものである。According to an eleventh aspect of the present invention, a computer for controlling an image printing apparatus capable of outputting an image based on print data received from a host via a predetermined communication medium (including a bidirectional interface and a network) is provided. A storage medium storing a readable program, wherein a reading step (step (3101) shown in FIG. 3) for reading a form document in which a predetermined entry area is designated by a circle; and a print buffer read by the reading step An analysis step (Step (3102) shown in FIG. 3) of analyzing the image data expanded in the step (3102) shown in FIG. 3 and generating coordinate information of the predetermined entry area expanded in a print buffer storing print data received from the host. 3103)) and a print area on the print buffer set by the coordinate information generated in the analysis step. Determination step of printing data received from the host to be overlaid to determine whether existing in (step (3104 shown in FIG. 3) to (3106))
When it is determined that the print data received from the host is superimposed on the print area on the print buffer in the determination step, the print position of the print data received from the host is set by the coordinate information. A computer-readable program having a calculation step (step (3105) shown in FIG. 3) of calculating print correction data to be contained in a print area is stored in a storage medium.
【0016】本発明に係る第12の発明は、前記ホスト
より再送される印刷データの印刷位置を前記算出工程に
よる前記印刷補正データに基づいて補正して前記印刷バ
ッファ上に展開する展開工程(図3に示すステップ(3
112)〜(3114))を有するコンピュータが読み
出し可能なプログラムを記憶媒体に格納したものであ
る。According to a twelfth aspect of the present invention, there is provided a developing step of correcting a print position of print data retransmitted from the host based on the print correction data in the calculating step and developing the print position on the print buffer (FIG. Step 3 (3
112) to (3114)) stored in a storage medium by a computer-readable program.
【0017】本発明に係る第13の発明は、前記展開工
程は、再送された印刷データをラスタ方向およびカラム
方向に印刷補正データ分だけ修正して前記印刷バッファ
に展開するコンピュータが読み出し可能なプログラムを
記憶媒体に格納したものである。According to a thirteenth aspect of the present invention, in the developing step, the computer-readable program for modifying the retransmitted print data in the raster direction and the column direction by print correction data and developing the corrected print data in the print buffer Is stored in a storage medium.
【0018】本発明に係る第14の発明は、前記算出工
程により算出された前記印刷補正データを前記ホストに
転送する転送工程(図示しない)を有し、前記展開工程
は、前記転送工程により転送された前記印刷補正データ
に基づいて前記ホストにより印刷位置が補正された印刷
データを前記印刷バッファに展開するコンピュータが読
み出し可能なプログラムを記憶媒体に格納したものであ
る。A fourteenth invention according to the present invention has a transfer step (not shown) for transferring the print correction data calculated in the calculation step to the host, and the development step includes the transfer step in the transfer step. A computer-readable program for developing print data, whose print position has been corrected by the host based on the print correction data, into the print buffer, is stored in a storage medium.
【0019】本発明に係る第15の発明は、前記解析工
程は、前記印刷バッファに展開される前記画像データを
ラスタ方向およびカラム方向にモニタして所定の記入領
域の座標情報を生成するコンピュータが読み出し可能な
プログラムを記憶媒体に格納したものである。In a fifteenth aspect of the present invention, in the analyzing step, the computer which monitors the image data expanded in the print buffer in a raster direction and a column direction to generate coordinate information of a predetermined writing area is provided. A readable program is stored in a storage medium.
【0020】[0020]
【発明の実施の形態】〔第1実施形態〕図1は、本発明
の第1実施形態を示す画像印刷装置の構成を説明するブ
ロック図であり、例えばホスト10と画像印刷装置11
とが所定の通信媒体を介して通信可能な印刷システムの
場合に対応する。DESCRIPTION OF THE PREFERRED EMBODIMENTS [First Embodiment] FIG. 1 is a block diagram illustrating the configuration of an image printing apparatus according to a first embodiment of the present invention.
Corresponds to the case of a printing system capable of communicating via a predetermined communication medium.
【0021】図において、10はホストで、例えば所定
のOSが組み込まれ、ハードディスク等のメモリ資源に
記憶されたアプリケーションプログラムを実行して種々
のデータ処理を実行するとともに、該データ処理された
印刷情報をインストールされるプリンタドライバを介し
て画像印刷装置が解析可能な印刷データを所定のプロト
コルで転送する。また、ホスト10は所定のインタフェ
ースポート(例えばパラレル,ネットワークカード等を
含む)を介して画像印刷装置11と通信可能に接続され
ている。Referring to FIG. 1, reference numeral 10 denotes a host, in which a predetermined OS is installed, for example, which executes an application program stored in a memory resource such as a hard disk to execute various data processing, and executes print data processed by the data processing. The print data that can be analyzed by the image printing apparatus is transferred by a predetermined protocol via a printer driver installed. The host 10 is communicably connected to the image printing apparatus 11 via a predetermined interface port (for example, including a parallel port, a network card, and the like).
【0022】画像印刷装置11において、101は入出
力インタフェースで、ホスト10と所定のプロトコルで
双方向に通信可能に構成され、印刷データ(制御コマン
ド,印刷データ,フォームデータ等を含む)を受信した
り、エンジン部のステータスをホスト10に転送する。
102は受信バッファで、図示しないRAM等の所定エ
リアに確保される。In the image printing apparatus 11, reference numeral 101 denotes an input / output interface which is configured to be capable of bidirectional communication with the host 10 by a predetermined protocol, and receives print data (including control commands, print data, form data, etc.). Or transfer the status of the engine unit to the host 10.
A receiving buffer 102 is secured in a predetermined area such as a RAM (not shown).
【0023】103は画像処理部で、後述する所定の画
像処理を実行する。104は印刷バッファで、画像処理
部103で画像処理されて出力される印刷すべき所定単
位の印刷データが展開処理される。105は印刷制御部
で、図示しないCPU,ROM等を備え、エンジン部の
動作を総括的に制御する。Reference numeral 103 denotes an image processing unit which executes predetermined image processing described later. Reference numeral 104 denotes a print buffer, which expands print data of a predetermined unit to be printed, which is output after being image-processed by the image processing unit 103. A print control unit 105 includes a CPU, a ROM, and the like (not shown), and comprehensively controls the operation of the engine unit.
【0024】106は画像入力制御部で、スキャナドラ
イバ110を介してモノクロスキャナから読み取られる
特定の記入欄用の円形のフォーマッタが印刷された原稿
(フォームシート)の画像データを印刷バッファ104
上に展開制御する。Reference numeral 106 denotes an image input control unit, which prints image data of a document (form sheet) on which a circular formatter for a specific entry field read from a monochrome scanner via a scanner driver 110 is printed by a print buffer 104.
Control expansion on top.
【0025】107はラスタカウンタで、展開されるラ
スタのデータをカウント処理する。108はカラムカウ
ンタで、印刷されるラスタイメージのカラム方向の画素
数をカウント処理する。109は印刷データ座標データ
メモリである。A raster counter 107 counts raster data to be developed. A column counter 108 counts the number of pixels in the column direction of the raster image to be printed. Reference numeral 109 denotes a print data coordinate data memory.
【0026】110はスキャナドライバで、図示しない
スキャナを駆動制御する。111はLFモータドライバ
で、図示しないLFモータを駆動制御する。112はキ
ャリッジモータドライバで、図示しない印刷ヘッド部の
主走査方向への往復動を駆動制御する。113は印刷ヘ
ッドドライバで、図示しない印刷ヘッドを印刷データに
基づいて駆動制御する。A scanner driver 110 drives and controls a scanner (not shown). An LF motor driver 111 drives and controls an LF motor (not shown). A carriage motor driver 112 drives and controls the reciprocation of a print head unit (not shown) in the main scanning direction. A print head driver 113 drives and controls a print head (not shown) based on print data.
【0027】114はワークバッファで、図示しないR
AM上に確保され、データ処理状態によりその確保可能
なメモリ領域が異なる。115はラスタバッファで、1
ラスタ分のデータが展開可能なメモリである。116は
計算処理部で、図示しないROM等のメモリに記憶され
た制御プログラムを実行して所定の計算処理(後述する
フローチャートに示す計算処理を含む)を実行する。1
17は表示処理部で、図示しないLED,LCD等に対
する状態表示あるいはメッセージ表示等を制御する。Reference numeral 114 denotes a work buffer, not shown.
The memory area secured on the AM and which can be secured depends on the data processing state. 115 is a raster buffer;
This is a memory that can expand raster data. A calculation processing unit 116 executes a control program stored in a memory such as a ROM (not shown) to execute predetermined calculation processing (including calculation processing shown in a flowchart described later). 1
Reference numeral 17 denotes a display processing unit which controls status display or message display on an LED, LCD, or the like (not shown).
【0028】なお、印刷ヘッドは、キャリッジに対して
着脱可能に構成され、スキャナヘッドと排他的に交換装
着可能に構成され、スキャナヘッドが原稿シート上を主
走査方向に走査されつつ、原稿シートの送りを制御する
ことにより、原稿シート上のラスタイメージを読み取り
可能に構成される場合もある。The print head is configured to be attachable to and detachable from the carriage, and is configured to be replaceable and mountable exclusively with the scanner head. The scanner head scans the original sheet in the main scanning direction, and In some cases, the raster image on the document sheet can be read by controlling the feeding.
【0029】図2は、図1に示したスキャナドライバ1
10を介して読み取られる円形輪郭線を含む原稿画像と
印刷データとの領域ずれを概念的に示す図であり、Xは
カラム方向を示し、Yはラスタ方向を示す。FIG. 2 shows the scanner driver 1 shown in FIG.
FIG. 3 is a diagram conceptually showing an area shift between a document image including a circular outline read through the print data and print data, where X indicates a column direction, and Y indicates a raster direction.
【0030】図において、PTSQは印刷領域を含む矩
形領域で、p,t,s,qは矩形領域PTSQ上の座標
位置を示す。AnBnCnDnは円形フォーマットを囲
む矩形領域を示す。p’,t’,s’,q’は矩形領域
AnBnCnDn上の座標位置を示す。In the figure, PTSQ is a rectangular area including a print area, and p, t, s, and q indicate coordinate positions on the rectangular area PTSQ. AnBnCnDn indicates a rectangular area surrounding the circular format. p ′, t ′, s ′, and q ′ indicate coordinate positions on the rectangular area AnBnCnDn.
【0031】図3は、本発明に係る画像印刷装置におけ
る第1のデータ処理手順の一例を示すフローチャートで
ある。なお、(3101)〜(3115)は各ステップ
を示す。FIG. 3 is a flowchart showing an example of a first data processing procedure in the image printing apparatus according to the present invention. Note that (3101) to (3115) indicate each step.
【0032】まず、ステップ(3101)で、スキャナ
により円形輪郭線を含む原稿より画像データを取り込
み、ステップ(3102)で、該取り込まれた画像デー
タを図1に示した印刷バッファ104へラスタイメージ
として展開する。First, in step (3101), image data is fetched from a document including a circular outline by a scanner, and in step (3102), the fetched image data is stored as a raster image in the print buffer 104 shown in FIG. expand.
【0033】次に、ステップ(3103)で、円形輪郭
線を囲む正方形の端点情報および中心座標を後述する手
順に従って検知し、ステップ(3104)で、ホスト1
0から画像データを受信し、ステップ(3105)で、
該受信した画像データを画像処理部103により印刷バ
ッファ104へ展開する。Next, in step (3103), the end point information and the center coordinates of the square surrounding the circular contour are detected according to the procedure described later, and in step (3104), the host 1 is detected.
0, image data is received, and in step (3105),
The received image data is expanded in the print buffer 104 by the image processing unit 103.
【0034】次に、ステップ(3106)で、印刷デー
タが矩形領域PTSQの枠線の端点付近かどうかを判定
し、NOならばステップ(3107)で、印刷データを
読み捨てて、ステップ(3105)に戻る。Next, in step (3106), it is determined whether or not the print data is near the end point of the frame line of the rectangular area PTSQ. If NO, the print data is read and discarded in step (3107), and the process proceeds to step (3105). Return.
【0035】一方、ステップ(3106)で、印刷デー
タが矩形領域PTSQの枠線の端点付近であると判定し
た場合には、ステップ(3108)で、円形輪郭線を囲
む矩形領域AnBnCnDn付近の印刷データをサーチ
し、ステップ(3109)で、印刷データの有無を判定
し、印刷データがないと判断された場合は、ステップ
(3116)で、図示しないエラー処理を実行し、処理
を終了する。On the other hand, if it is determined in step (3106) that the print data is near the end point of the frame of the rectangular area PTSQ, then in step (3108), the print data near the rectangular area AnBnCnDn surrounding the circular contour line is determined. Is determined in step (3109), and if it is determined that there is no print data, an error process (not shown) is executed in step (3116), and the process ends.
【0036】一方、ステップ(3109)で、印刷デー
タがあると判断された場合は、ステップ(3110)
で、輪郭線の領域と印刷データの位置のずれを検出し、
ステップ(3111)で、計算処理部116が後述する
手順に従ってずれを補正する印刷座標を計算する。On the other hand, if it is determined in step (3109) that there is print data, step (3110)
To detect the deviation between the outline area and the position of the print data,
In step (3111), the calculation processing unit 116 calculates the print coordinates for correcting the deviation according to a procedure described later.
【0037】次に、ステップ(3112)で、ホスト1
0に対して画像データの再送を要求し、ステップ(31
13)で、再送された画像データを受信し、ステップ
(3114)で、ステップ(3111)で計算された補
正値に従って印刷バッファ104に印刷データを展開し
て、ステップ(3115)で、印刷バッファ104に展
開された印刷データを印刷制御部105が読み出し、印
刷ヘッドドライバ113に引き渡して印刷を行い、処理
を終了する。Next, in step (3112), the host 1
0 requesting retransmission of image data, and step (31)
In step 13), the retransmitted image data is received, and in step (3114), the print data is expanded in the print buffer 104 in accordance with the correction value calculated in step (3111). The print control unit 105 reads out the print data expanded in the print data and transfers the print data to the print head driver 113 to perform printing, and ends the processing.
【0038】図4,図5は、本発明に係る画像印刷装置
における第2のデータ処理手順の一例を示すフローチャ
ートであり、輪郭線の位置データのサーチ処理手順の詳
細手順に対応する。なお、(3201)〜(3235)
は各ステップを示す。FIGS. 4 and 5 are flowcharts showing an example of the second data processing procedure in the image printing apparatus according to the present invention, and correspond to the detailed procedure of the search processing of the position data of the contour line. (3201) to (3235)
Indicates each step.
【0039】まず、画像印刷装置11は、2値のモノク
ロスキャナにより読み込まれたデータを印刷バッファ1
04に展開し、データが連続してあった場合には、展開
されたバッファのアドレスから、図2に示すようにカラ
ム方向(X方向)およびラスタ方向(Y方向)の座標デ
ータとして、ステップ(3201)で、ワークバッファ
114を含む各メモリに対するパラメータ等の初期化が
行われ、ステップ(3202)で、ラスタバッファ11
5にX方向に1ラスタ分の画像データを展開し、ステッ
プ(3203)で、1ラスタ分の画像データの展開が終
了したかどうかを判定し、展開が終了していないと判定
した場合には、ステップ(3202)へ戻り、展開が終
了していると判定した場合には、ステップ(3204)
で、Y方向に進み、次のラスタの画像データを展開して
いくとき、展開される画像データにおいてX方向で最初
に見つかる黒点の画像データの座標アドレスを始点(X
ni,Ynj)(n=1,2,3,………、i=1,2,
3,……、j=1,2,3,……)としてワークバッフ
ァ114上に記憶し、ステップ(3205)で、同一ラ
スタに連続する画像データがあるかないかのチェックを
行い、連続する画像データがあると判定した場合には、
ステップ(3224)で、次のアドレスへデータを展開
して、ステップ(3205)へ戻る。First, the image printing device 11 stores the data read by the binary monochrome scanner in the print buffer 1.
04, and if data is continuous, the address of the expanded buffer is used as coordinate data in the column direction (X direction) and the raster direction (Y direction) as shown in FIG. At 3201), initialization of parameters and the like for each memory including the work buffer 114 is performed, and at step (3202), the raster buffer 11 is initialized.
5, the image data for one raster is developed in the X direction. In step (3203), it is determined whether the development of the image data for one raster is completed. If it is determined that the development is not completed, Returning to step (3202), if it is determined that the development has been completed, step (3204)
When the raster data is advanced in the Y direction and the next raster image data is developed, the coordinate address of the image data of the first black point found in the X direction in the developed image data is set to the starting point (X
ni , Y nj ) (n = 1, 2, 3,..., i = 1, 2, 2)
3,..., J = 1, 2, 3,...) In the work buffer 114, and in step (3205), it is checked whether there is continuous image data on the same raster. If you determine that there is data,
In step (3224), the data is expanded to the next address, and the process returns to step (3205).
【0040】一方、ステップ(3205)で、連続する
画像データがないと判定した場合は、ステップ(320
6)で、X方向にサーチするためパラメータiを「1」
インクリメントし、ステップ(3207)で、その点の
座標データを終点(Xni,Ynj)(n=1,2,3,…
…、i=1,2,3,……、j=1,2,3,……)と
して記憶する。On the other hand, if it is determined in step (3205) that there is no continuous image data, step (320)
In step 6), the parameter i is set to "1" to search in the X direction.
The value is incremented, and in step (3207), the coordinate data of the point is changed to the end point (X ni , Y nj ) (n = 1, 2, 3,...).
.., I = 1, 2, 3,..., J = 1, 2, 3,.
【0041】次に、ステップ(3208)で、同一ラス
タ上に他の単点もしくは、連続するデータがあるかない
かチェックし、連続する画像データがあると判定した場
合には、ステップ(3209)で、パラメータnをイン
クリメントした上で、ステップ(3202)へ戻り、上
記と同様なステップ(3202)〜(3208)を繰り
返す。Next, at step (3208), it is checked whether or not there is another single point or continuous data on the same raster. If it is determined that there is continuous image data, then at step (3209), , The parameter n is incremented, and the process returns to step (3202) to repeat the same steps (3202) to (3208) as described above.
【0042】一方、ステップ(3208)で、連続する
画像データが無いと判定した場合には、ステップ(32
10)で、パラメータjを「1」インクリメントすると
ともに、パラメータnを「0」に設定して、ステップ
(3211)で、次のラスタをラスタバッファ115上
に展開して、ステップ(3212)で、1ラスタ分の画
像データの展開が終了したかどうかを判定し、展開が終
了していないと判定した場合には、ステップ(321
1)へ戻り、展開が終了していると判定した場合には、
ステップ(3213)で、黒点としてのデータがあれ
ば、そのデータのX座標と同じ、もしくは、それと前後
する値をもつ画像データが前のラスタにあるかどうかチ
ェックを行い、NOならば、ステップ(3222)で、
その前座標データから消去し、ステップ(3223)
で、カレントのラスタからラスタバッファ115への展
開を行い、ステップ(3203)へ戻って、同様な処理
を繰り返し行う。On the other hand, if it is determined in step (3208) that there is no continuous image data, step (32)
In step 10), the parameter j is incremented by “1”, and the parameter n is set to “0”. In step (3211), the next raster is developed on the raster buffer 115, and in step (3212), It is determined whether the development of the image data for one raster has been completed. If it is determined that the development has not been completed, the process proceeds to step (321).
Returning to 1), if it is determined that the development has been completed,
In step (3213), if there is data as a black point, it is checked whether image data having a value that is the same as the X coordinate of the data, or a value that is before or after the data exists in the previous raster. 3222)
Erase from the previous coordinate data, and step (3223)
Then, the raster is expanded from the current raster to the raster buffer 115, and the process returns to step (3203) to repeat the same processing.
【0043】一方、ステップ(3213)で、画像デー
タがあると判定した場合は、ステップ(3214)で展
開される画像データにおいてX方向で最初に見つかる黒
点の画像データの座標アドレスを始点(Xni,Ynj)
(n=1,2,3,……、i=1,2,3,……、j=
1,2,3,……)としてワークバッファ114上に記
憶し、ステップ(3215)で、同一ラスタに連続する
画像データがあるかないかのチェックを行い、連続する
画像データがあると判定した場合には、ステップ(32
16)で、次のアドレスへデータを展開して、ステップ
(3215)へ戻る。On the other hand, if it is determined in step (3213) that there is image data, the coordinate address of the first black point image data found in the X direction in the image data expanded in step (3214) is set to the starting point (X ni , Y nj )
(N = 1, 2, 3,..., I = 1, 2, 3,..., J =
..) Are stored in the work buffer 114, and it is checked in step (3215) whether there is continuous image data on the same raster, and it is determined that there is continuous image data. In step (32)
In step 16), the data is expanded to the next address, and the process returns to step (3215).
【0044】一方、ステップ(3215)で、連続する
画像データがないと判定した場合は、ステップ(321
7)で、X方向にサーチするためパラメータiを「1」
インクリメントし、ステップ(3218)で、その点の
座標データを終点(Xni,Ynj)(n=1,2,3,…
…、i=1,2,3,……、j=1,2,3,……)と
して記憶する。On the other hand, if it is determined in step (3215) that there is no continuous image data, step (321)
In step 7), the parameter i is set to "1" to search in the X direction.
The value is incremented, and in step (3218), the coordinate data of the point is changed to the end point (X ni , Y nj ) (n = 1, 2, 3,...).
.., I = 1, 2, 3,..., J = 1, 2, 3,.
【0045】そして、ステップ(3219)で、同一ラ
スタ上の終点を求め、さらに、同一ラスタ上に別の単点
あるいは、連続データがあるかないかチェックを行い、
同一ラスタ上に別の単点あるいは、連続データがあると
判定した場合には、ステップ(3220)で、nを
「1」インクリメントし、ステップ(3211)へ戻
り、同一ラスタ上に別の単点あるいは、連続データがな
いと判定した場合には、ステップ(3221)で、パラ
メータjがパラメータkよりも大きいかどうかを判定し
て、パラメータjがパラメータkよりも大きくないと判
定した場合には、ステップ(3210)へ戻る。Then, in step (3219), the end point on the same raster is obtained, and it is checked whether there is another single point or continuous data on the same raster.
If it is determined that there is another single point or continuous data on the same raster, n is incremented by “1” in step (3220), and the process returns to step (3211) to return another single point on the same raster. Alternatively, if it is determined that there is no continuous data, it is determined in step (3221) whether the parameter j is larger than the parameter k, and if it is determined that the parameter j is not larger than the parameter k, Return to step (3210).
【0046】このようにして、Y方向に上限Kまで展開
するまで同じ処理を繰り返して、円形の輪郭線の座標デ
ータをワークバッファ114上に記憶する。In this manner, the same processing is repeated until the data is expanded to the upper limit K in the Y direction, and the coordinate data of the circular outline is stored in the work buffer 114.
【0047】一方、ステップ(3221)で、パラメー
タjがパラメータkよりも大きいと判定された場合に
は、ステップ(3225)〜ステップ(3228)へ進
み、上記手順により求めた輪郭線座標データから、X座
標の最小値と最大値、Y座標の最小値と最大値を求め
て、輪郭データを囲む矩形の4つの単点の座標An (X
nmin,Ynmin)、Bn (Xnmax,Ynmin)、Cn (X
nmin,Ynmax)、Dn (Xnmax,Ynmax)を求める。On the other hand, if it is determined in step (3221) that the parameter j is larger than the parameter k, the process proceeds to steps (3225) to (3228), where the contour coordinate data obtained by the above procedure is used. The minimum value and the maximum value of the X coordinate and the minimum value and the maximum value of the Y coordinate are obtained, and the coordinates A n (X
nmin, Y nmin), B n (X nmax, Y nmin), C n (X
nmin, Y nmax), D n (X nmax, obtains the Y nmax).
【0048】そして、ステップ(3229)で、矩形の
横の長さΔXn を求め、ステップ(3230)で、矩形
の縦の長さΔYn を求める。Then, in step (3229), the horizontal length ΔX n of the rectangle is determined, and in step (3230), the vertical length ΔY n of the rectangle is determined.
【0049】次に、ステップ(3231)で、矩形の横
の長さΔXn と矩形の縦の長さΔYn の大きさを比較
し、計算処理部116により計算される相対差分値|Δ
Xn −ΔYn |が誤差εの範囲であるかどうかを判定し
て、誤差εの範囲でないと判定した場合、すなわち、円
形でないと判定した場合は、ステップ(3235)で、
エラー処理を実行して処理を終了する。Next, in step (3231), the horizontal length ΔX n of the rectangle is compared with the vertical length ΔY n of the rectangle, and the relative difference value | Δ calculated by the calculation processing unit 116 is calculated.
It is determined whether or not X n −ΔY n | is within the range of the error ε. If it is determined that X n −ΔY n | is not within the range of the error ε, that is, if it is determined that it is not circular, in step (3235),
Execute error processing and end the processing.
【0050】一方、ステップ(3231)で、誤差εの
範囲であると判定した場合は、すなわち、スキャナで取
り込んだ輪郭線を円形と判定し、ステップ(3232)
で、輪郭線の円の中心座標On (Onx,Ony)を計算処
理部116がOnx=(Xnmax+Xnmix)/2に従って計
算し、ステップ(3233)で、計算処理部116がO
ny=(Ynmax+Ynmin)/2に従って計算し、ステップ
(3234)で、輪郭線の円の半径Rn をRn =(ΔX
n +ΔYn )/4に従って計算して、処理を終了する。On the other hand, if it is determined in step (3231) that the error is within the range of the error ε, that is, it is determined that the contour line captured by the scanner is circular, and step (3232)
In the center coordinates O n (O nx, O ny ) of the circle of the contour line calculation processing unit 116 is calculated according to the O nx = (X nmax + X nmix) / 2, in step (3233), the calculation processing unit 116 O
ny = calculated according (Y nmax + Y nmin) / 2, in step (3234), the radius R n of the circle of the contour line R n = ([Delta] X
n + ΔY n ) / 4, and the process ends.
【0051】これにより、輪郭線のデータは、中心座標
と半径から得られた円の方程式(X−(Xnmax+
Xnmix)/2)2 +(Y−(Ynmax+Ynmix)/2)2
=Rn 2 )を満足する。また、Y座標は、ラスタに一致
するので、各ラスタでの円の輪郭線X座標は、下記数1
より得られる。As a result, the data of the contour line is calculated by the equation (X− (X nmax +
X nmix ) / 2) 2 + (Y− (Y nmax + Y nmix ) / 2) 2
= R n 2 ). Also, since the Y coordinate coincides with the raster, the contour X coordinate of the circle on each raster is given by
Is obtained.
【0052】[0052]
【数1】 で与えられる。このとき、小数点以下の端数は丸め処理
を行う。(Equation 1) Given by At this time, a fractional part is rounded.
【0053】次に、図2に示した矩形領域における印刷
領域AnBnCnDn内における印刷データをサーチし
てその領域内の印刷データでX座標の最小値、最大値ま
たは、Y座標の最小値、最大値を求める処理について図
6に示すフローチャートを参照して説明する。Next, the print data in the print area AnBnCnDn in the rectangular area shown in FIG. 2 is searched, and the minimum and maximum values of the X coordinate or the minimum and maximum values of the Y coordinate are searched for in the print data in that area. Will be described with reference to the flowchart shown in FIG.
【0054】図6は、本発明に係る画像印刷装置におけ
る第3のデータ処理手順の一例を示すフローチャートで
あり、X座標の最小値、最大値と、Y座標の最小値、最
大値を求める処理手順に対応する。なお、(3301)
〜(3321)は各ステップを示す。FIG. 6 is a flowchart showing an example of a third data processing procedure in the image printing apparatus according to the present invention. The processing for obtaining the minimum and maximum values of the X coordinate and the minimum and maximum values of the Y coordinate will be described. Corresponds to the procedure. (3301)
-(3321) show each step.
【0055】また、ホスト10から送信された印刷デー
タは、受信バッファ102に格納され、画像処理部10
3で画像データに変換され印刷バッファ102に展開さ
れる。先に求めた円形輪郭線を囲む矩形の端点Anのラ
スタより手前のラスタ(Yn1−C:ただし、Cはある自
然数の定数)までは、印刷バッファ104に展開される
画像データは読み捨てる。さらに、上記定数Cは、ΔY
n /2の小数点以下切り捨ての値とする。The print data transmitted from the host 10 is stored in the reception buffer 102 and is stored in the image processing unit 10.
In step 3, the image data is converted into image data and expanded in the print buffer 102. Image data developed in the print buffer 104 is discarded up to a raster (Y n1 -C: C is a constant of a certain natural number) before the raster of the rectangular end point An that surrounds the previously obtained circular contour line. Further, the constant C is ΔY
The value shall be rounded down to the nearest n / 2.
【0056】また、ラスタYn1−CからラスタYn1まで
の印刷データの座標データを記憶した状態で、Xn1−Δ
Xn /2≦X≦Xn1+ΔXn /2で、かつ、Yn1−ΔY
n /2≦Y≦Yn1+ΔYn /2で囲まれるの矩形領域
(図2の大きな正方形の領域)における印刷データをサ
ーチしその領域内の印刷データでX座標の最小値、最大
値、またY座標の最小値、最大値をとる4点p
(Xmem1,Ymem1),q(Xmem2,Ymem2),s(X
mem3,Ymem3),t(Xmem4,Ymem4)の座標データを
ステップ(3301)〜(3321)に示すアルゴリズ
ムに従って求める。In a state where the coordinate data of the print data from raster Y n1 -C to raster Y n1 is stored, X n1 -Δ
In X n / 2 ≦ X ≦ X n1 + ΔX n / 2, and, Y n1 -ΔY
The print data in a rectangular area (large square area in FIG. 2) surrounded by n / 2 ≦ Y ≦ Y n1 + ΔY n / 2 is searched, and the minimum and maximum values of the X coordinate and the print data in the area are searched. 4 points p that take the minimum and maximum values of the Y coordinate
(X mem1 , Y mem1 ), q (X mem2 , Y mem2 ), s (X
The coordinate data of mem3 , Ymem3 ) and t ( Xmem4 , Ymem4 ) are obtained according to the algorithm shown in steps (3301) to (3321).
【0057】次に、図7に示すフローチャートに従って
上記X座標の最小値、最大値、またY座標の最小値、最
大値に基づく補正ベクトルの算出処理について説明す
る。Next, a process of calculating a correction vector based on the minimum and maximum values of the X coordinate and the minimum and maximum values of the Y coordinate will be described with reference to the flowchart shown in FIG.
【0058】図7は、本発明に係る画像印刷装置におけ
る第4のデータ処理手順の一例を示すフローチャートで
あり、補正ベクトルの算出処理に手順に対応する。な
お、(3401)〜(3405)は各ステップを示す。FIG. 7 is a flowchart showing an example of a fourth data processing procedure in the image printing apparatus according to the present invention, and corresponds to a procedure for calculating a correction vector. Note that (3401) to (3405) indicate each step.
【0059】まず、ステップ(3401),(340
2)で、領域内の4点p(Xmem1,Ymem1),q(X
mem2,Ymem2),s(Xmem3,Ymem3),t(Xmem4,
Ymem4)に接するX軸、Y軸に平行な辺でできる長方形
PQSTのX軸に平行な辺の長さ|Xmem4−Xmem2|
が、|Xmem4−Xmem2|≦ΔXn /2となり、かつ、Y
軸に平行な辺の長さが|Ymem3−Ymem1|が、|Ymem3
−Ymem1|≦ΔYn /2となるかどうかを判定して、上
記条件が成立しないと判定した場合は、ステップ(34
05)で、印刷データが円形輪郭線内の領域に収まらな
いのでエラー処理、例えばエラーステータスをホスト1
0に返す処理を実行して、処理を終了する。First, steps (3401) and (340)
In 2), four points p (X mem1 , Y mem1 ), q (X
mem2, Y mem2), s ( X mem3, Y mem3), t (X mem4,
Y mem4 ) The length of the side parallel to the X-axis of the rectangle PQST formed by the side parallel to the X-axis and the Y-axis in contact with the Y-axis | X mem4 −X mem2 |
Becomes | X mem4 −X mem2 | ≦ ΔX n / 2, and Y
The length of the sides parallel to the axes | Y mem3 -Y mem1 | is, | Y mem3
It is determined whether −Y mem1 | ≦ ΔY n / 2, and if it is determined that the above condition is not satisfied, step (34)
05), the print data does not fit in the area within the circular outline, so that error processing, for example, error status
A process for returning to 0 is executed, and the process ends.
【0060】一方、ステップ(3401),(340
2)が共にYESと判定された場合には、ステップ(3
403)で、図2に示す矩形領域PQSTの対角線の交
点U((Xmem2+Xmem4)/2,(Ymem1+Ymem3/
2)と円形輪郭線の中心On ((Xnmax+Xnmix)/
2,(Ynmax+Ynmix)/2)とから印刷データを囲む
領域pqstと円形輪郭線との補正値ベクトル1E1
(E1x,E1y)を求める処理を行い、補正値ベクトル1
E1 の成分はそれぞれ、E1x={(Xnmax+Xnmix)−
(Xmem2+Xmem4)}/2,E1y={(Ynmax+
Ynmix)−(Ymem1+Ymem3)}/2となる。ただし、
E1x,E1yの小数点以下は、切り捨て、または切り上げ
を行う。On the other hand, steps (3401) and (340)
If both are determined to be YES, step (3)
In 403), intersection of diagonal lines U rectangular region PQST shown in FIG. 2 ((X mem2 + X mem4 ) / 2, (Y mem1 + Y mem3 /
Center O n 2) and the circular contour ((X nmax + X nmix) /
2, (Y nmax + Y nmix ) / 2) correction values between the region pqst the circular outline surrounding the print data from the vector 1E 1
(E 1x , E 1y ) is obtained, and the correction value vector 1 is obtained.
The components of E 1 are respectively E 1x = {(X nmax + X nmix ) −
(X mem2 + X mem4 )} / 2, E 1y = {(Y nmax +
Y NMIX) - a (Y mem1 + Y mem3)} / 2. However,
The decimal places of E 1x and E 1y are rounded down or rounded up.
【0061】これにより、印刷データを囲む領域pqs
tの4点p,q,s,tに補正値ベクトルE1 を加えて
補正された4点p’(p’x ,p’y ), q’(
q’x,q’y ),s’(s’x ,s’y ),t’
(t’x ,t’y )は、それぞれp’(Xmem1+E1x,
Ymem1+E1y),q’(Xmem2+E1x,Ymem2+
E1y),s’(Xmem3+E1x,Ymem3+E1y),t’
(Xmem4+E1x,Ymem4+E1y)となる。Thus, the area pqs surrounding the print data
Four points p ′ (p ′ x , p ′ y ), q ′ (corrected by adding a correction value vector E 1 to four points p, q, s, t of t)
q ' x , q' y ), s '(s' x , s ' y ), t'
(T ′ x , t ′ y ) is p ′ (X mem1 + E 1x ,
Y mem1 + E 1y ), q '(X mem2 + E 1x , Y mem2 +
E 1y ), s ′ (X mem3 + E 1x , Y mem3 + E 1y ), t ′
(X mem4 + E 1x , Y mem4 + E 1y ).
【0062】次に、ステップ(3404)で、補正され
た4点p’(p’x ,p’y ),q’( q’x ,q’
y ),s’(s’x ,s’y ),t’(t’x ,t’
y )と円形輪郭線の中心Onをそれぞれ結んでできるベ
クトルOn p’,On q’,On s’,On t’の平均
をとったベクトルを補正値ベクトルE2 p(E2x,
E2y)を求める。なお、補正値ベクトルE2 の成分はそ
れぞれ、E2x=((p’x +q’x +s’x +t’x )
/4−Onx),E2y=((p’y +q’y +s’y +
t’y )/4−Ony)となる。ただし、E2x,E2yの小
数点以下は、切り捨て、または切り上げを行う。Next, in step (3404), four points are corrected p '(p' x, p 'y), q' (q 'x, q'
y), s '(s' x, s 'y), t' (t 'x, t'
vector O by connecting y) and the center On of the circular contour each n p ', O n q' , O n s ', O n t' the average taken vector correction value vector E 2 p (E 2x ,
E 2y ). The components of the correction value vector E 2 are respectively E 2x = ((p ′ x + q ′ x + s ′ x + t ′ x )
/ 4-O nx), E 2y = ((p 'y + q' y + s' y +
t ' y ) / 4-O ny ). However, fractions below E 2x and E 2y are rounded down or rounded up.
【0063】これにより、図3に示したステップ(31
12)〜ステップ(3114)で、ホスト10ヘの印刷
データ再送要求を行い、印刷データを印刷バッファ10
4に展開する際に、先に求めた補正値分だけX方向Y方
向に印刷データをずらして展開を行い印刷が実行される
こととなる。As a result, the step (31) shown in FIG.
In steps 12) to (3114), a print data retransmission request is sent to the host 10, and the print data is
4, the printing is executed by shifting the print data in the X and Y directions by the correction value obtained earlier.
【0064】〔第2実施形態〕上記第1実施形態では、
画像印刷装置11でホスト10ヘの印刷データ再送要求
を行い、印刷データを印刷バッファ104に展開する際
に、先に求めた補正値分だけX方向Y方向に印刷データ
をずらして展開を行い印刷する場合について説明した
が、ホスト側のデータ処理資源を利用して、画像印刷装
置11で上述された各フローチャートに示す手順に従っ
て算出された補正値データをホスト10に転送して、ホ
スト10側で印刷データの出力位置を補正した補正済み
印刷データを受信して直接印刷するように構成してもよ
い。[Second Embodiment] In the first embodiment,
When the image printing apparatus 11 sends a print data retransmission request to the host 10 and develops the print data in the print buffer 104, the print data is developed by shifting the print data in the X and Y directions by the correction value previously obtained. However, the correction value data calculated by the image printing apparatus 11 in accordance with the procedure shown in each of the flowcharts described above is transferred to the host 10 using the data processing resources on the host side, and A configuration may be adopted in which corrected print data obtained by correcting the output position of the print data is received and printed directly.
【0065】なお、補正値ベクトル1E1 ,補正値ベク
トルE2 を求める処理は、第1実施形態とほぼ同一であ
るので、詳細な説明は省略する。The processing for obtaining the correction value vector 1E 1 and the correction value vector E 2 is almost the same as that in the first embodiment, and a detailed description thereof will be omitted.
【0066】本実施形態では、得られた補正データをホ
スト10に転送し、プリンタドライバ等の印刷制御プロ
グラムにより、補正データを加味して印刷位置が補正さ
れた画像データを作成し、画像印刷装置11の再送要求
にしたがって印刷データを転送するので、その印刷デー
タに基づいて円形のフォーマットに記入された、当該円
形内に位置ずれなく正常に印刷することができる。な
お、再送される印刷データは、PDLデータであっても
いいし、ビットマップデータであってもよい。In this embodiment, the obtained correction data is transferred to the host 10, and image data whose print position has been corrected in consideration of the correction data by a print control program such as a printer driver is prepared. Since the print data is transferred in accordance with the retransmission request of No. 11, it is possible to print normally in the circle written in a circular format based on the print data without any positional displacement. The retransmitted print data may be PDL data or bitmap data.
【0067】上記実施形態によれば、あらかじめ決まっ
た特定の記入欄用の円形のフォーマットが印刷された原
稿を読み取ることによって得られた記入欄の円形の枠線
の画像情報から画像印刷装置の印刷バッファの位置情報
として記憶し、印刷データを印刷バッファに展開した際
に枠線と重複する部分があるかどうかを調べる処理を行
い、また、重複していれば、記入欄の円形のどの粋線に
も重ならないようにラスタ方向とカラム方向に印刷デー
タを平行移動させて、印刷データが円形の記入欄に収ま
れば、各辺にもっとも近い印刷データの位置求め、その
平均値を求め、画像処理装置の印刷バッファ内において
印刷データが記入欄に正しく印刷できるようなラスタ方
向、カラム方向の補正値を算出するので、試し印刷を行
わずに円形の記入欄の印刷された原稿の記入欄に印刷を
正しくすることができ、用紙を無駄にせず、時間も複雑
な作業も必要なくなる。According to the above-described embodiment, the printing of the image printing apparatus is performed based on the image information of the circular frame of the entry column obtained by reading the document on which the predetermined circular format for the specific entry column is printed. It stores it as buffer position information and performs processing to check whether there is a part that overlaps with the frame line when the print data is expanded in the print buffer, and if so, which circular line in the entry column The print data is translated in the raster direction and column direction so that it does not overlap, and if the print data fits in the circular entry box, the position of the print data closest to each side is calculated, the average value is calculated, and image processing is performed. In the print buffer of the device, correction values in the raster direction and column direction are calculated so that print data can be correctly printed in the entry column, so circular entry without performing test printing Printed were able to correctly printed on the entry field of the document, without wasting paper, also eliminates the need for complicated work time.
【0068】以下、図8に示すメモリマップを参照して
本発明に係る画像印刷装置で読み出し可能なデータ処理
プログラムの構成について説明する。Hereinafter, the configuration of a data processing program readable by the image printing apparatus according to the present invention will be described with reference to a memory map shown in FIG.
【0069】図8は、本発明に係る画像印刷装置で読み
出し可能な各種データ処理プログラムを格納する記憶媒
体のメモリマップを説明する図である。FIG. 8 is a view for explaining a memory map of a storage medium for storing various data processing programs which can be read by the image printing apparatus according to the present invention.
【0070】なお、特に図示しないが、記憶媒体に記憶
されるプログラム群を管理する情報、例えばバージョン
情報,作成者等も記憶され、かつ、プログラム読み出し
側のOS等に依存する情報、例えばプログラムを識別表
示するアイコン等も記憶される場合もある。Although not shown, information for managing a group of programs stored in the storage medium, for example, version information, a creator, etc. are also stored, and information dependent on the OS or the like on the program reading side, for example, a program is stored in the storage medium. An icon or the like for identification display may also be stored.
【0071】さらに、各種プログラムに従属するデータ
も上記ディレクトリに管理されている。また、各種プロ
グラムをコンピュータにインストールするためのプログ
ラムや、インストールするプログラムが圧縮されている
場合に、解凍するプログラム等も記憶される場合もあ
る。Further, data dependent on various programs is also managed in the directory. Also, a program for installing various programs on a computer, and a program for decompressing a program to be installed when the program to be installed is compressed, may be stored in some cases.
【0072】本実施形態における図3〜図7に示す機能
が外部からインストールされるプログラムによって、ホ
ストコンピュータにより遂行されていてもよい。そし
て、その場合、CD−ROMやフラッシュメモリやFD
等の記憶媒体により、あるいはネットワークを介して外
部の記憶媒体から、プログラムを含む情報群を出力装置
に供給される場合でも本発明は適用されるものである。The functions shown in FIGS. 3 to 7 in this embodiment may be performed by a host computer by a program installed from the outside. In that case, CD-ROM, flash memory, FD
The present invention can be applied to a case in which a group of information including a program is supplied to an output device from a storage medium such as the above or from an external storage medium via a network.
【0073】以上のように、前述した実施形態の機能を
実現するソフトウエアのプログラムコードを記録した記
憶媒体を、システムあるいは装置に供給し、そのシステ
ムあるいは装置のコンピュータ(またはCPUやMP
U)が記憶媒体に格納されたプログラムコードを読出し
実行することによっても、本発明の目的が達成されるこ
とは言うまでもない。As described above, the storage medium storing the program codes of the software for realizing the functions of the above-described embodiments is supplied to the system or the apparatus, and the computer (or CPU or MP) of the system or the apparatus is supplied.
It goes without saying that the object of the present invention is also achieved when U) reads and executes the program code stored in the storage medium.
【0074】この場合、記憶媒体から読み出されたプロ
グラムコード自体が本発明の新規な機能を実現すること
になり、そのプログラムコードを記憶した記憶媒体は本
発明を構成することになる。In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.
【0075】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピー(登録商標)ディス
ク,ハードディスク,光ディスク,光磁気ディスク,C
D−ROM,CD−R,磁気テープ,不揮発性のメモリ
カード,ROM,EEPROM等を用いることができ
る。As a storage medium for supplying the program code, for example, a floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, C
D-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, EEPROM, etc. can be used.
【0076】また、コンピュータが読み出したプログラ
ムコードを実行することにより、前述した実施形態の機
能が実現されるだけでなく、そのプログラムコードの指
示に基づき、コンピュータ上で稼働しているOS(オペ
レーティングシステム)等が実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれることは言うまでもない。When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) And the like perform part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
【0077】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張ボー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書き込まれた後、そのプログラムコードの指
示に基づき、その機能拡張ボードや機能拡張ユニットに
備わるCPU等が実際の処理の一部または全部を行い、
その処理によって前述した実施形態の機能が実現される
場合も含まれることは言うまでもない。Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instruction of the program code, The CPU provided in the function expansion board or function expansion unit performs part or all of the actual processing,
It goes without saying that a case where the function of the above-described embodiment is realized by the processing is also included.
【0078】[0078]
【発明の効果】以上説明したように、本発明に係る第1
の発明によれば、所定の通信媒体を介してホストから受
信する印刷データに基づく画像を出力可能な画像印刷装
置であって、所定の記入領域が円形で指定されるフォー
ム原稿を読み取る読取り手段と、前記読取り手段により
読み取られて印刷バッファに展開される画像データを解
析して前記ホストから受信する印刷データを記憶する印
刷バッファに展開される前記所定の記入領域の座標情報
を生成する解析手段と、前記解析手段により解析された
前記座標情報で設定される前記印刷バッファ上の印刷領
域に重ねられる前記ホストから受信する印刷データが存
在するかどうかを判別する判別手段と、前記判別手段に
より前記印刷バッファ上の印刷領域に重ねられる前記ホ
ストから受信する印刷データが存在すると判別された場
合に、前記ホストから受信する印刷データの印刷位置を
前記座標情報で設定される印刷領域内に納めるための印
刷補正データを算出する算出手段とを有するので、用紙
無駄を伴う複数回の印刷処理を行うことなく、1回の印
刷処理で所定の記入領域が円形で指定されるフォームシ
ート上の該円形領域内にホストから受信する意図する画
像データを印刷するための補正データを精度よく算出す
ることができる。As described above, the first embodiment according to the present invention is described.
According to the invention, there is provided an image printing apparatus capable of outputting an image based on print data received from a host via a predetermined communication medium, wherein a reading means for reading a form document in which a predetermined entry area is designated by a circle; Analyzing means for analyzing image data read by the reading means and expanded in a print buffer to generate coordinate information of the predetermined entry area expanded in a print buffer for storing print data received from the host; and Determining means for determining whether there is print data received from the host that is superimposed on a print area on the print buffer set by the coordinate information analyzed by the analysis means; and If it is determined that print data received from the host is superimposed on a print area on the buffer, Calculation means for calculating the print correction data to fit the print position of the print data received from the print area set in the coordinate information, without performing a plurality of times of print processing with paper waste, Correction data for printing the intended image data received from the host in the circular area on the form sheet in which the predetermined entry area is designated by a circle can be accurately calculated in one printing process.
【0079】第2,第3の発明によれば、前記ホストよ
り再送される印刷データの印刷位置を前記算出手段によ
る前記印刷補正データに基づいて補正して前記印刷バッ
ファ上に展開する制御手段を有するので、用紙無駄を伴
う複数回の印刷処理を行うことなく、1回の印刷処理で
所定の記入領域が円形で指定されるフォームシート上の
該円形領域内にホストから受信する意図する画像データ
を位置ずれなく印刷することができる。According to the second and third inventions, the control means for correcting the print position of the print data retransmitted from the host based on the print correction data by the calculation means and developing the print data on the print buffer is provided. The image data intended to be received from the host in the circular area on the form sheet in which a predetermined entry area is designated by a circle in one printing process without performing a plurality of printing processes involving paper waste. Can be printed without displacement.
【0080】第4の発明によれば、前記算出手段により
算出された前記印刷補正データを前記ホストに転送する
転送手段を有し、前記制御手段は、前記転送手段により
転送された前記印刷補正データに基づいて前記ホストに
より印刷位置が補正された印刷データを前記印刷バッフ
ァに展開するので、画像印刷装置側のデータ展開処理負
担を軽減して、効率よく1回の印刷処理で所定の記入領
域が円形で指定されるフォームシート上の該円形領域内
にホストから受信する意図する画像データを位置ずれな
く印刷することができる。According to a fourth aspect of the present invention, there is provided a transfer means for transferring the print correction data calculated by the calculation means to the host, wherein the control means controls the print correction data transferred by the transfer means. The print data whose print position has been corrected by the host on the basis of the above is developed in the print buffer, so that the data development processing load on the image printing apparatus can be reduced, and a predetermined writing area can be efficiently created in one print processing. The intended image data received from the host can be printed in the circular area on the form sheet designated by a circle without displacement.
【0081】第5の発明によれば、前記解析手段は、前
記印刷バッファに展開される前記画像データをラスタ方
向およびカラム方向にモニタして所定の記入領域の座標
情報を生成するので、印刷バッファに実際に展開されて
いる画像データから円形の記入領域に対応する座標情報
を精度よく生成することができる。According to the fifth aspect, the analysis means monitors the image data developed in the print buffer in a raster direction and a column direction to generate coordinate information of a predetermined entry area. The coordinate information corresponding to the circular entry area can be accurately generated from the image data actually developed.
【0082】第6,第11の発明によれば、所定の通信
媒体を介してホストから受信する印刷データに基づく画
像を出力可能な画像印刷装置における画像印刷方法であ
って、あるいは所定の通信媒体を介してホストから受信
する印刷データに基づく画像を出力可能な画像印刷装置
を制御するコンピュータが読み出し可能なプログラムを
格納した記憶媒体であって、所定の記入領域が円形で指
定されるフォーム原稿を読み取る読取り工程と、前記読
取り工程により読み取られて印刷バッファに展開される
画像データを解析して前記ホストから受信する印刷デー
タを記憶する印刷バッファに展開される前記所定の記入
領域の座標情報を生成する解析工程と、前記解析工程に
より生成された前記座標情報で設定される前記印刷バッ
ファ上の印刷領域に重ねられる前記ホストから受信する
印刷データが存在するかどうかを判別する判別工程と、
前記判別工程により前記印刷バッファ上の印刷領域に重
ねられる前記ホストから受信する印刷データが存在する
と判別された場合に、前記ホストから受信する印刷デー
タの印刷位置を前記座標情報で設定される印刷領域内に
納めるための印刷補正データを算出する算出工程とを有
するので、用紙無駄を伴う複数回の印刷処理を行うこと
なく、1回の印刷処理で所定の記入領域が円形で指定さ
れるフォームシート上の該円形領域内にホストから受信
する意図する画像データを印刷するための補正データを
精度よく算出することができる。According to the sixth and eleventh aspects, there is provided an image printing method in an image printing apparatus capable of outputting an image based on print data received from a host via a predetermined communication medium, A storage medium storing a computer-readable program that controls an image printing apparatus capable of outputting an image based on print data received from a host via a host computer, wherein a predetermined entry area is specified as a circular form original. A reading step of reading and analyzing the image data read in the reading step and expanded in the print buffer to generate coordinate information of the predetermined entry area expanded in the print buffer storing print data received from the host; Analyzing step, and a print area on the print buffer set by the coordinate information generated by the analyzing step A determination step of printing data received from the host to be overlaid is determined whether there,
When it is determined that the print data received from the host is superimposed on the print area on the print buffer in the determination step, a print area in which the print position of the print data received from the host is set by the coordinate information A calculation step of calculating print correction data to be stored in the form sheet, so that a predetermined entry area is designated by a circle in one printing process without performing a plurality of printing processes involving waste of paper. Correction data for printing intended image data received from the host in the above circular area can be calculated with high accuracy.
【0083】第7,第12,第8,第13の発明によれ
ば、前記ホストより再送される印刷データの印刷位置を
前記算出工程による前記印刷補正データに基づいて補正
して前記印刷バッファ上に展開する展開工程を有するの
で、用紙無駄を伴う複数回の印刷処理を行うことなく、
1回の印刷処理で所定の記入領域が円形で指定されるフ
ォームシート上の該円形領域内にホストから受信する意
図する画像データを印刷するための補正データを精度よ
く算出することができる。According to the seventh, twelfth, eighth, and thirteenth aspects, the print position of the print data retransmitted from the host is corrected based on the print correction data in the calculating step, and the print position is corrected in the print buffer. Because it has a development process that develops to
Correction data for printing the intended image data received from the host in the circular area on the form sheet in which the predetermined entry area is designated by a circle can be accurately calculated in one printing process.
【0084】第9,第14の発明によれば、前記算出工
程により算出された前記印刷補正データを前記ホストに
転送する転送工程を有し、前記展開工程は、前記転送工
程により転送された前記印刷補正データに基づいて前記
ホストにより印刷位置が補正された印刷データを前記印
刷バッファに展開するので、画像印刷装置側のデータ展
開処理負担を軽減して、効率よく1回の印刷処理で所定
の記入領域が円形で指定されるフォームシート上の該円
形領域内にホストから受信する意図する画像データを位
置ずれなく印刷することができる。According to the ninth and fourteenth aspects, there is provided a transfer step of transferring the print correction data calculated in the calculation step to the host, and the developing step includes the step of transferring the print correction data transferred in the transfer step. Since the print data whose print position has been corrected by the host based on the print correction data is developed in the print buffer, the data development processing load on the image printing apparatus can be reduced, and a predetermined print processing can be efficiently performed in one print process. The intended image data received from the host can be printed in the circular area on the form sheet in which the entry area is specified as a circle without any displacement.
【0085】第10,第15の発明によれば、前記解析
工程は、前記印刷バッファに展開される前記画像データ
をラスタ方向およびカラム方向にモニタして所定の記入
領域の座標情報を生成するので、印刷バッファに実際に
展開されている画像データから円形の記入領域に対応す
る座標情報を精度よく生成することができる。According to the tenth and fifteenth aspects, in the analyzing step, the image data developed in the print buffer is monitored in the raster direction and the column direction to generate coordinate information of a predetermined writing area. It is possible to accurately generate coordinate information corresponding to a circular entry area from image data actually developed in a print buffer.
【0086】従って、試し印刷を行わずに円形の記入欄
の印刷された原稿の記入欄にホストから入力される所望
の印刷データを位置ずれなく正常に印刷でき、用紙を無
駄にせず、時間も複雑な作業も必要なくなる等の効果を
奏する。Therefore, the desired print data input from the host can be normally printed in the entry field of the printed original in the circular entry field without performing the test printing without any positional displacement, and the paper is not wasted and the time is shortened. This has the effect of eliminating the need for complicated work.
【図1】本発明の第1実施形態を示す画像印刷装置の構
成を説明するブロック図である。FIG. 1 is a block diagram illustrating a configuration of an image printing apparatus according to a first exemplary embodiment of the present invention.
【図2】図1に示したスキャナドライバを介して読み取
られる円形輪郭線を含む原稿画像と印刷データとの領域
ずれを概念的に示す図である。FIG. 2 is a diagram conceptually showing an area shift between a document image including a circular outline read by the scanner driver shown in FIG. 1 and print data.
【図3】本発明に係る画像印刷装置における第1のデー
タ処理手順の一例を示すフローチャートである。FIG. 3 is a flowchart illustrating an example of a first data processing procedure in the image printing apparatus according to the present invention.
【図4】本発明に係る画像印刷装置における第2のデー
タ処理手順の一例を示すフローチャートである。FIG. 4 is a flowchart illustrating an example of a second data processing procedure in the image printing apparatus according to the present invention.
【図5】本発明に係る画像印刷装置における第2のデー
タ処理手順の一例を示すフローチャートである。FIG. 5 is a flowchart illustrating an example of a second data processing procedure in the image printing apparatus according to the present invention.
【図6】本発明に係る画像印刷装置における第3のデー
タ処理手順の一例を示すフローチャートである。FIG. 6 is a flowchart illustrating an example of a third data processing procedure in the image printing apparatus according to the present invention.
【図7】本発明に係る画像印刷装置における第4のデー
タ処理手順の一例を示すフローチャートである。FIG. 7 is a flowchart illustrating an example of a fourth data processing procedure in the image printing apparatus according to the present invention.
【図8】本発明に係る画像印刷装置で読み出し可能な各
種データ処理プログラムを格納する記憶媒体のメモリマ
ップを説明する図である。FIG. 8 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by the image printing apparatus according to the present invention.
10 ホスト 11 画像印刷装置 102 受信バッファ 103 画像処理部 104 印刷バッファ 105 印刷制御部 106 画像入力制御部 116 計算処理部 Reference Signs List 10 Host 11 Image printing device 102 Receive buffer 103 Image processing unit 104 Print buffer 105 Print control unit 106 Image input control unit 116 Calculation processing unit
Claims (15)
する印刷データに基づく画像を出力可能な画像印刷装置
であって、 所定の記入領域が円形で指定されるフォーム原稿を読み
取る読取り手段と、 前記読取り手段により読み取られて印刷バッファに展開
される画像データを解析して前記ホストから受信する印
刷データを記憶する印刷バッファに展開される前記所定
の記入領域の座標情報を生成する解析手段と、 前記解析手段により解析された前記座標情報で設定され
る前記印刷バッファ上の印刷領域に重ねられる前記ホス
トから受信する印刷データが存在するかどうかを判別す
る判別手段と、 前記判別手段により前記印刷バッファ上の印刷領域に重
ねられる前記ホストから受信する印刷データが存在する
と判別された場合に、前記ホストから受信する印刷デー
タの印刷位置を前記座標情報で設定される印刷領域内に
納めるための印刷補正データを算出する算出手段と、を
有することを特徴とする画像印刷装置。1. An image printing apparatus capable of outputting an image based on print data received from a host via a predetermined communication medium, comprising: a reading unit for reading a form document in which a predetermined entry area is designated by a circle; Analyzing means for analyzing image data read by the reading means and expanded in a print buffer to generate coordinate information of the predetermined entry area expanded in a print buffer storing print data received from the host; Determining means for determining whether there is print data received from the host which is superimposed on a print area on the print buffer set by the coordinate information analyzed by the analysis means; and If it is determined that print data received from the host is superimposed on the upper print area, Image printing apparatus characterized by comprising calculating means for calculating a print correction data for pay printing position of the print data et received printing area set by the coordinate information.
印刷位置を前記算出手段による前記印刷補正データに基
づいて補正して前記印刷バッファ上に展開する制御手段
を有することを特徴とする請求項1記載の画像印刷装
置。2. The printing apparatus according to claim 1, further comprising control means for correcting a print position of the print data retransmitted from the host based on the print correction data by the calculation means and expanding the print position on the print buffer. An image printing apparatus as described in the above.
をラスタ方向およびカラム方向に印刷補正データ分だけ
修正して前記印刷バッファに展開することを特徴とする
請求項2記載の画像印刷装置。3. The image printing apparatus according to claim 2, wherein the control unit corrects the retransmitted print data in a raster direction and a column direction by an amount corresponding to print correction data, and develops the print data in the print buffer.
補正データを前記ホストに転送する転送手段を有し、 前記制御手段は、前記転送手段により転送された前記印
刷補正データに基づいて前記ホストにより印刷位置が補
正された印刷データを前記印刷バッファに展開すること
を特徴とする請求項1または3記載の画像印刷装置。4. A transfer unit for transferring the print correction data calculated by the calculation unit to the host, wherein the control unit controls the host based on the print correction data transferred by the transfer unit. The image printing apparatus according to claim 1, wherein the print data whose print position is corrected is developed in the print buffer.
開される前記画像データをラスタ方向およびカラム方向
にモニタして所定の記入領域の座標情報を生成すること
を特徴とする請求項1記載の画像印刷装置。5. The image processing apparatus according to claim 1, wherein the analysis unit monitors the image data developed in the print buffer in a raster direction and a column direction to generate coordinate information of a predetermined writing area. Image printing device.
する印刷データに基づく画像を出力可能な画像印刷装置
における画像印刷方法であって、 所定の記入領域が円形で指定されるフォーム原稿を読み
取る読取り工程と、 前記読取り工程により読み取られて印刷バッファに展開
される画像データを解析して前記ホストから受信する印
刷データを記憶する印刷バッファに展開される前記所定
の記入領域の座標情報を生成する解析工程と、 前記解析工程により生成された前記座標情報で設定され
る前記印刷バッファ上の印刷領域に重ねられる前記ホス
トから受信する印刷データが存在するかどうかを判別す
る判別工程と、 前記判別工程により前記印刷バッファ上の印刷領域に重
ねられる前記ホストから受信する印刷データが存在する
と判別された場合に、前記ホストから受信する印刷デー
タの印刷位置を前記座標情報で設定される印刷領域内に
納めるための印刷補正データを算出する算出工程と、を
有することを特徴とする画像印刷方法。6. An image printing method in an image printing apparatus capable of outputting an image based on print data received from a host via a predetermined communication medium, wherein a form document in which a predetermined entry area is designated by a circle is read. A reading step; analyzing the image data read in the reading step and expanded in the print buffer to generate coordinate information of the predetermined entry area expanded in the print buffer storing the print data received from the host; An analysis step; a determination step of determining whether there is print data received from the host that is superimposed on a print area on the print buffer set by the coordinate information generated by the analysis step; It is determined that there is print data received from the host that overlaps a print area on the print buffer. Case, the image printing method characterized by having a calculation step of calculating a print correction data for pay printing position of the print data received from the host to the printing area set by the coordinate information.
印刷位置を前記算出工程による前記印刷補正データに基
づいて補正して前記印刷バッファ上に展開する展開工程
を有することを特徴とする請求項6記載の画像印刷方
法。7. A developing step of correcting a print position of print data retransmitted from the host based on the print correction data in the calculating step and developing the print position on the print buffer. Image printing method as described.
をラスタ方向およびカラム方向に印刷補正データ分だけ
修正して前記印刷バッファに展開することを特徴とする
請求項7記載の画像印刷方法。8. The image printing method according to claim 7, wherein in the developing step, the retransmitted print data is corrected in a raster direction and a column direction by an amount corresponding to print correction data, and developed in the print buffer.
補正データを前記ホストに転送する転送工程を有し、 前記展開工程は、前記転送工程により転送された前記印
刷補正データに基づいて前記ホストにより印刷位置が補
正された印刷データを前記印刷バッファに展開すること
を特徴とする請求項6または8記載の画像印刷方法。9. A transfer step of transferring the print correction data calculated in the calculation step to the host, wherein the expanding step is performed by the host based on the print correction data transferred in the transfer step. 9. The image printing method according to claim 6, wherein the print data whose print position has been corrected is developed in the print buffer.
展開される前記画像データをラスタ方向およびカラム方
向にモニタして所定の記入領域の座標情報を生成するこ
とを特徴とする請求項6記載の画像印刷方法。10. The method according to claim 6, wherein the analyzing step monitors the image data developed in the print buffer in a raster direction and a column direction to generate coordinate information of a predetermined writing area. Image printing method.
信する印刷データに基づく画像を出力可能な画像印刷装
置を制御するコンピュータが読み出し可能なプログラム
を格納した記憶媒体であって、 所定の記入領域が円形で指定されるフォーム原稿を読み
取る読取り工程と、 前記読取り工程により読み取られて印刷バッファに展開
される画像データを解析して前記ホストから受信する印
刷データを記憶する印刷バッファに展開される前記所定
の記入領域の座標情報を生成する解析工程と、 前記解析工程により生成された前記座標情報で設定され
る前記印刷バッファ上の印刷領域に重ねられる前記ホス
トから受信する印刷データが存在するかどうかを判別す
る判別工程と、 前記判別工程により前記印刷バッファ上の印刷領域に重
ねられる前記ホストから受信する印刷データが存在する
と判別された場合に、前記ホストから受信する印刷デー
タの印刷位置を前記座標情報で設定される印刷領域内に
納めるための印刷補正データを算出する算出工程と、を
有することを特徴とするコンピュータが読み出し可能な
プログラムを格納した記憶媒体。11. A storage medium storing a computer-readable program for controlling an image printing apparatus capable of outputting an image based on print data received from a host via a predetermined communication medium, comprising: a predetermined entry area A reading step of reading a form original designated by a circle; and analyzing the image data read in the reading step and expanded in the print buffer, and expanding the image data in the print buffer storing print data received from the host. An analysis step of generating coordinate information of a predetermined entry area; and whether there is print data received from the host that overlaps a print area on the print buffer set by the coordinate information generated by the analysis step. A discriminating step of discriminating, and the discriminating step superimposed on a print area on the print buffer by the discriminating step. A calculation step of calculating print correction data for storing a print position of the print data received from the host in a print area set by the coordinate information, when it is determined that print data received from the host exists. A storage medium storing a computer-readable program, comprising:
の印刷位置を前記算出工程による前記印刷補正データに
基づいて補正して前記印刷バッファ上に展開する展開工
程を有することを特徴とする請求項11記載のコンピュ
ータが読み出し可能なプログラムを格納した記憶媒体。12. The printing method according to claim 11, further comprising the step of: correcting a print position of the print data retransmitted from the host based on the print correction data in the calculation step, and expanding the print position on the print buffer. A storage medium storing the computer-readable program according to the above.
タをラスタ方向およびカラム方向に印刷補正データ分だ
け修正して前記印刷バッファに展開することを特徴とす
る請求項12記載のコンピュータが読み出し可能なプロ
グラムを格納した記憶媒体。13. The computer-readable computer according to claim 12, wherein in the developing step, the retransmitted print data is corrected in a raster direction and a column direction by an amount corresponding to print correction data and is developed in the print buffer. Storage medium storing various programs.
刷補正データを前記ホストに転送する転送工程を有し、 前記展開工程は、前記転送工程により転送された前記印
刷補正データに基づいて前記ホストにより印刷位置が補
正された印刷データを前記印刷バッファに展開すること
を特徴とする請求項11または13記載のコンピュータ
が読み出し可能なプログラムを格納した記憶媒体。14. A transfer step for transferring the print correction data calculated in the calculation step to the host, wherein the expanding step is performed by the host based on the print correction data transferred in the transfer step. 14. The storage medium storing a computer-readable program according to claim 11, wherein the print data whose print position is corrected is developed in the print buffer.
展開される前記画像データをラスタ方向およびカラム方
向にモニタして所定の記入領域の座標情報を生成するこ
とを特徴とする請求項11記載のコンピュータが読み出
し可能なプログラムを格納した記憶媒体。15. The method according to claim 11, wherein in the analyzing step, the image data developed in the print buffer is monitored in a raster direction and a column direction to generate coordinate information of a predetermined writing area. A storage medium that stores a computer-readable program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11058711A JP2000255131A (en) | 1999-03-05 | 1999-03-05 | Image printing apparatus and method, and memory medium storing program readable by computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11058711A JP2000255131A (en) | 1999-03-05 | 1999-03-05 | Image printing apparatus and method, and memory medium storing program readable by computer |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2000255131A true JP2000255131A (en) | 2000-09-19 |
Family
ID=13092089
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP11058711A Pending JP2000255131A (en) | 1999-03-05 | 1999-03-05 | Image printing apparatus and method, and memory medium storing program readable by computer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2000255131A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2003016065A1 (en) * | 2001-08-14 | 2003-02-27 | Fujitsu Limited | Printing position correcting method and printing apparatus |
-
1999
- 1999-03-05 JP JP11058711A patent/JP2000255131A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2003016065A1 (en) * | 2001-08-14 | 2003-02-27 | Fujitsu Limited | Printing position correcting method and printing apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20070188485A1 (en) | Image formation processing simulation apparatus and image formation processing simulation method | |
US7916321B2 (en) | Document processing apparatus and document processing method | |
CN102999301A (en) | Image forming apparatus and image forming method | |
JPH10301736A (en) | Printing system, error information management method in printing system, and computer-readable recording medium recording error information management control program in printing system | |
US20230350617A1 (en) | Computer-readable storage medium, information processing device, and method for printing composite image | |
US8488182B2 (en) | Scanner driver for an information processing apparatus and copy system | |
US8199344B2 (en) | Image forming apparatus for performing a correction process and increasing the specific portion's length of a dashed line up to a specific length when it is smaller than the specific length | |
JP2007233671A (en) | Image processing apparatus, image processing method and image processing program | |
US20240193355A1 (en) | Information processing apparatus, control method thereof, and storage medium | |
US20070211265A1 (en) | Print Control System, Print Control Method, Print Control Program Storage Medium, And Printing System | |
JP2000255131A (en) | Image printing apparatus and method, and memory medium storing program readable by computer | |
CN115878055A (en) | Tracing file generation method and device, storage medium and computer equipment | |
JP2016200967A (en) | Image processing apparatus, image processing method, and program | |
JP2020021190A (en) | Printer driver | |
JP2020021189A (en) | Printer driver | |
KR100709364B1 (en) | Method and apparatus for generating pattern image | |
JP3702580B2 (en) | Print control apparatus, print control system, print control method, and computer-readable recording medium on which print control program is recorded | |
US20220301326A1 (en) | Ocr target area position acquisition system, computer-readable non-transitory recording medium storing ocr target area position acquisition program, hard copy, hard copy generation system, and computer-readable non-transitory recording medium storing hard copy generation program | |
JP2009223671A (en) | Printing system and printing apparatus | |
JP2006186414A (en) | Image reader, image reading method, system and program, and storage medium | |
JP4010386B2 (en) | Image forming apparatus | |
JP4886748B2 (en) | Image processing node and method for controlling an image processing node | |
JP2008257615A (en) | Print system, printer, computer, print program and print program verification method | |
JP4804181B2 (en) | Image processing device | |
JPH10138555A (en) | Image forming apparatus, method using the same, and printing apparatus |