JPH05229233A - Printing equipment - Google Patents

Printing equipment

Info

Publication number
JPH05229233A
JPH05229233A JP4031909A JP3190992A JPH05229233A JP H05229233 A JPH05229233 A JP H05229233A JP 4031909 A JP4031909 A JP 4031909A JP 3190992 A JP3190992 A JP 3190992A JP H05229233 A JPH05229233 A JP H05229233A
Authority
JP
Japan
Prior art keywords
data
printing
image
rule
ruled line
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
Application number
JP4031909A
Other languages
Japanese (ja)
Inventor
Kunihiko Matsuzawa
邦彦 松沢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP4031909A priority Critical patent/JPH05229233A/en
Publication of JPH05229233A publication Critical patent/JPH05229233A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To provide a printing equipment, which automatically corrects the blur and mackle of rule and in which even a straight line to be in a manually inputted image is converted into a clear straight line for printing and with which paginal printing is possible. CONSTITUTION:The printing equipment concerned has an interpreting part 1, an autograph part 2, a printing part 3, a data checking means 4, a data correcting means 5 and a data writing means 6. The interpreting part 1 interprets inputted printing data. The autograph part 2 expands the printing data into image and stores them in an image memory so as to print the image on paper at the printing part 3. When data correction instruction is specified, the data checking means 4 checks whether a rule blurs or mackles by reading the image data in the image memory or not. The data correcting means 5 corrects the blur and mackle of the rule. The data writing means 6 sends back the corrected rule to the image memory. When the paginal correction of rule in the image memory comes to an end, the printing part 3 prints the image data on paper.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は印刷装置に関し、特にペ
ージ単位で印刷する印刷装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing device, and more particularly to a printing device for printing in page units.

【0002】[0002]

【従来の技術】従来の印刷装置は、たとえば、プリンタ
の場合、受信された印刷データをプリンタが理解できる
プリンタコマンドを解釈してページデータを作成してい
た。このページデータを基に描画部は1ドット1ビット
単位である画像メモリに展開し、展開された画像データ
のイメージで用紙に印刷していた。この場合、一旦画像
メモリに書き込んでしまうとデータの修正はできなかっ
た。すなわち、データの修正を行うには、印刷装置では
修正ができないため、その上位装置で行う必要があっ
た。
2. Description of the Related Art A conventional printing apparatus, for example, in the case of a printer, creates page data by interpreting received print data into a printer command that the printer can understand. Based on this page data, the drawing unit develops in the image memory, which is a unit of 1 dot per 1 dot, and prints on the paper with the image of the developed image data. In this case, once the data was written in the image memory, the data could not be corrected. That is, in order to correct the data, it cannot be corrected by the printing apparatus, and therefore, it is necessary to perform the correction by the upper apparatus.

【0003】[0003]

【発明が解決しようとする課題】この従来の印刷装置で
は、印刷データが罫線のとき罫線に少しずれやぶれがあ
った場合、コンピュータで修正するので面倒であった。
また気付かないで印刷してしまうこともあった。また、
入力装置がスキャナであるときは使用される画像データ
が手書きである場合には罫線が完全に直線でない場合が
多く、きれいに印刷できない。そして、きれいに印刷す
るためには、コンピュータで画像データを修正するか、
アプリケーションソフトで修正しなければならず、不便
であった。本発明の目的は、罫線のずれやぶれを自動的
に修正し、定規を使用しない手書き入力の場合でも自動
的に直線に変換して印刷できる印刷装置を提供すること
である。
In this conventional printing apparatus, when the print data is a ruled line, if the ruled line is slightly misaligned or shaken, it is troublesome because it is corrected by the computer.
Also, sometimes I printed without even realizing it. Also,
When the input device is a scanner, if the image data used is handwritten, the ruled lines are often not perfectly straight lines, and printing cannot be performed neatly. Then, in order to print nicely, you should correct the image data with a computer,
It was inconvenient because it had to be corrected with application software. An object of the present invention is to provide a printing apparatus that automatically corrects deviations and blurring of ruled lines and can automatically convert straight lines even when handwriting input without using a ruler for printing.

【0004】[0004]

【課題を解決するための手段】本発明による印刷装置
は、印刷データ内の罫線のずれやぶれを検出するデータ
チェック手段と、検出されたずれやぶれを修正して印刷
データを書き換えるデータ修正手段と、修正された印刷
データを画像メモリに格納するデータ書き込み手段とを
有する。
A printing apparatus according to the present invention comprises a data checking means for detecting a deviation or a blur of a ruled line in print data, a data correcting means for rewriting the print data by correcting the detected deviation or a blur, Data write means for storing the modified print data in the image memory.

【0005】[0005]

【作用】印刷データ修正命令が指定されると、画像メモ
リ内にある印刷データを読み出し、罫線のぶれやずれを
修正し、修正された印刷データを画像メモリに戻した
後、この印刷データに基いて印刷を行うので、罫線が正
しく印刷される。
When the print data correction command is specified, the print data in the image memory is read out, the blurring or deviation of the ruled line is corrected, and the corrected print data is returned to the image memory. The ruled lines are printed correctly as they are printed.

【0006】[0006]

【実施例】次に図面を参照しながら本発明の実施例につ
いて説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0007】図1は本発明の一実施例の印刷装置のブロ
ック図であり、図2は図1の印刷装置における罫線修正
の動作に関するフローチャートである。
FIG. 1 is a block diagram of a printing apparatus according to an embodiment of the present invention, and FIG. 2 is a flowchart relating to a ruled line correction operation in the printing apparatus of FIG.

【0008】この印刷装置は、解釈部1と描画部2と印
刷部3と、データチェック手段4とデータ修正手段5と
データ書き込み手段6とからなり、入力される印刷デー
タはイメージスキャナや手書き、キーボードなどによっ
て入力され、コンピュータやアプリケーションソフトウ
ェアなどでデータ作成されたものである。
This printing apparatus comprises an interpreting unit 1, a drawing unit 2, a printing unit 3, a data checking unit 4, a data correcting unit 5 and a data writing unit 6, and the input print data is an image scanner or handwriting. It is input by the keyboard and created by the computer or application software.

【0009】解釈部1は送られてきた印刷データから、
描画部2で画像イメージが作成できるように解釈する。
描画部2は解釈部1で解釈された印刷データより実際に
印刷する画像イメージに展開し、画像メモリ(不図示)
に格納する。
The interpreter 1 uses the sent print data to
The drawing unit 2 interprets the image so that it can be created.
The drawing unit 2 expands the print data interpreted by the interpretation unit 1 into an image image to be actually printed, and an image memory (not shown).
To store.

【0010】コントロールパネル、またはコマンドによ
って印刷データ修正命令が指定されている場合は、デー
タチェック手段4は画像メモリ内の画像データを読み取
り、データ修正用メモリ(不図示)に格納し、一方、罫
線の位置や種類などに関する罫線データを別途作成す
る。そして、データ修正用メモリ内で前述の罫線データ
を基に罫線の位置を探し、罫線の両端を結ぶ線が罫線の
両端を直線で結んだ正しい罫線と一致するかどうかを見
て、ずれやぶれがないかをチェックする。データ修正手
段5は、データチェック手段4により発見された誤り部
分即ち上述のずれやぶれを当該罫線の両端を直線で結ん
だ場合の罫線と一致するように画像データを修正し、再
び、データ修正用メモリに格納する。一回の罫線修正が
終了したら、データ書き込み手段6は修正データ用メモ
リ内の画像データを画像メモリに戻す。1ページ分の画
像メモリ内の罫線の修正が終了したら印刷命令コマンド
の送信により印刷部3は用紙に印刷し、次ページの印刷
データのチェックに進む。
When the print data correction command is designated by the control panel or the command, the data check means 4 reads the image data in the image memory and stores it in the data correction memory (not shown), while the ruled line is drawn. Separately create ruled line data related to the position and type of. Then, the position of the ruled line is searched for in the data correction memory based on the above-mentioned ruled line data, and it is checked whether the line connecting both ends of the ruled line matches the correct ruled line connecting both ends of the ruled line. Check for any. The data correction unit 5 corrects the image data so that the erroneous portion found by the data check unit 4, that is, the above-mentioned shift or blur is matched with the ruled line when the both ends of the ruled line are connected by a straight line, and again for data correction. Store in memory. When one ruled line correction is completed, the data writing unit 6 returns the image data in the correction data memory to the image memory. When the correction of the ruled lines in the image memory for one page is completed, the printing unit 3 prints on the paper by transmitting the print command command, and proceeds to check the print data of the next page.

【0011】データ修正命令が指定されなかった場合は
データチェック手段4以下の各手段4,5,6を経ず、
直接印刷部3で印刷を開始する。
If the data correction command is not designated, the data check means 4 and the following means 4, 5 and 6 are skipped,
The direct printing unit 3 starts printing.

【0012】次に、図2のフローチャートについて説明
する。
Next, the flowchart of FIG. 2 will be described.

【0013】印刷データ修正命令が指定されている場合
に、印刷データが画像メモリ内にあるかどうかをチェッ
クする(ステップ11)。印刷データがあれば、前述し
た罫線データより、罫線の検索を行う(ステップ1
2)。罫線が見つかったら、罫線データより得られるそ
の罫線を引くのに使用されたコマンドや画像イメージか
ら、その罫線の両端の位置を知る(ステップ13,1
4)。次に、その罫線の種類が実線か、点線かなど罫線
の属性を調べる(ステップ15)。ステップ14,15
で得られた情報より、正しい罫線を作成し、データ修正
用メモリに格納する(ステップ16)。次に印刷データ
内の罫線とステップ16で作成された正しい罫線を読み
出して、比較をする(ステップ17)。比較の結果、誤
りがあったらそのアドレスを知ることにより正しい罫線
に一致するように書き換える(ステップ18,19)。
1回の罫線の修正が終了したら、データ修正用メモリを
解放する(ステップ20)。そして、ステップ11へ戻
り、そのページの印刷データがなくなるまでは次の罫線
に対する処理を行う。またステップ18で誤りがなかっ
た場合も同様に次の罫線に対する処理を行う。1ページ
分の印刷データの修正が終了したら、印刷を開始する
(ステップ21)。そして次のページの印刷データをチ
ェックするためステップ11へ戻る(ステップ22)。
全ページの印刷データについて修正が終了したらデータ
修正作業を終了する。
When the print data correction command is designated, it is checked whether the print data is in the image memory (step 11). If there is print data, a ruled line is searched from the ruled line data described above (step 1
2). When the ruled line is found, the positions of both ends of the ruled line are known from the command used to draw the ruled line obtained from the ruled line data and the image image (steps 13, 1).
4). Next, the attribute of the ruled line such as whether the type of the ruled line is a solid line or a dotted line is checked (step 15). Steps 14 and 15
A correct ruled line is created from the information obtained in step 3 and stored in the data correction memory (step 16). Next, the ruled line in the print data and the correct ruled line created in step 16 are read out and compared (step 17). If there is an error as a result of the comparison, the address is known to rewrite it so that it matches the correct ruled line (steps 18 and 19).
When the ruled lines have been corrected once, the data correction memory is released (step 20). Then, the process returns to step 11, and the process for the next ruled line is performed until there is no print data for the page. If there is no error in step 18, the next ruled line is processed in the same manner. When the correction of the print data for one page is completed, printing is started (step 21). Then, the process returns to step 11 to check the print data of the next page (step 22).
When the correction of the print data of all pages is completed, the data correction work is ended.

【0014】[0014]

【発明の効果】以上、説明したように本発明は、コマン
ドでデータ修正命令を指定すると、ずれやぶれのない完
全な直線の罫線に自動的に修正されるので、罫線が誤っ
てずれたりぶれたりした場合でも上位装置のコンピュー
タで修正する必要がなくなり、また、ユーザが罫線がぶ
れたりずれたりしているのに気付かずに印刷してしまう
のを防止できる効果がある。
As described above, according to the present invention, when a data correction instruction is designated by a command, the ruled line is automatically corrected to a perfectly straight ruled line without misalignment or blurring. Even in such a case, there is no need to make corrections on the computer of the host device, and it is possible to prevent the user from printing without knowing that the ruled lines are blurred or misaligned.

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

【図1】本発明の一実施例の印刷装置のブロック図であ
る。
FIG. 1 is a block diagram of a printing apparatus according to an embodiment of the present invention.

【図2】図1の印刷装置の動作に関するフローチャート
である。
FIG. 2 is a flowchart regarding the operation of the printing apparatus in FIG.

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

1 解釈部 2 描画部 3 印刷部 4 データチェック手段 5 データ修正手段 6 データ書き込み手段 DESCRIPTION OF SYMBOLS 1 Interpretation section 2 Drawing section 3 Printing section 4 Data check means 5 Data correction means 6 Data writing means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ページ単位で印刷する印刷装置におい
て、 印刷データ内の罫線のずれやぶれを検出するデータチェ
ック手段と、 検出されたずれやぶれを修正して印刷データを書き換え
るデータ修正手段と、 修正された印刷データを画像メモリに格納するデータ書
き込み手段とを有することを特徴とする印刷装置。
1. In a printing apparatus for printing in page units, a data check means for detecting deviation or blurring of ruled lines in print data, and a data correction means for correcting the detected deviation or blurring to rewrite print data are corrected. And a data writing unit that stores the print data in the image memory.
JP4031909A 1992-02-19 1992-02-19 Printing equipment Pending JPH05229233A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4031909A JPH05229233A (en) 1992-02-19 1992-02-19 Printing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4031909A JPH05229233A (en) 1992-02-19 1992-02-19 Printing equipment

Publications (1)

Publication Number Publication Date
JPH05229233A true JPH05229233A (en) 1993-09-07

Family

ID=12344120

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4031909A Pending JPH05229233A (en) 1992-02-19 1992-02-19 Printing equipment

Country Status (1)

Country Link
JP (1) JPH05229233A (en)

Similar Documents

Publication Publication Date Title
JPH05229233A (en) Printing equipment
JPS6243876B2 (en)
JP4659609B2 (en) Printer
US7320552B2 (en) Image forming apparatus
KR0146901B1 (en) Logo inserting printer
JP2001157019A (en) Reader and data processing system
JP3047980B2 (en) Data output device
JP3330855B2 (en) Printer system, printer operation control method, and recording medium
JP2641332B2 (en) Printer device
JPH0330974A (en) Page printer control system
JP2977132B2 (en) Printer
JP2595399B2 (en) Document processing method
JPH0583384B2 (en)
JPS62250768A (en) Printing device
JP3226226B2 (en) Character processing method and apparatus
JPH0493275A (en) Image filing device
JP2000225745A (en) Printing control device and program recording medium thereof
JPH08132684A (en) Braille block copy output system and braille block copy outputting method
JP2001202261A (en) Image forming device
JPS62251884A (en) Recorder
JPH0225346A (en) Printing control device
JPH01139267A (en) Color recording apparatus
JPS63209964A (en) Word processor
JPH0273467A (en) Electronic filing system
JPH096863A (en) Method and system for document image generation