JP2548019Y2 - Serial type image scanner printer - Google Patents

Serial type image scanner printer

Info

Publication number
JP2548019Y2
JP2548019Y2 JP1990013532U JP1353290U JP2548019Y2 JP 2548019 Y2 JP2548019 Y2 JP 2548019Y2 JP 1990013532 U JP1990013532 U JP 1990013532U JP 1353290 U JP1353290 U JP 1353290U JP 2548019 Y2 JP2548019 Y2 JP 2548019Y2
Authority
JP
Japan
Prior art keywords
data
print
printing
paper
range
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP1990013532U
Other languages
Japanese (ja)
Other versions
JPH03105062U (en
Inventor
俊彦 古市
幹夫 半田
武夫 田村
博朗 富樫
Original Assignee
鈴鹿富士ゼロックス株式会社
日本電気ホームエレクトロニクス株式会社
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 鈴鹿富士ゼロックス株式会社, 日本電気ホームエレクトロニクス株式会社 filed Critical 鈴鹿富士ゼロックス株式会社
Priority to JP1990013532U priority Critical patent/JP2548019Y2/en
Publication of JPH03105062U publication Critical patent/JPH03105062U/ja
Application granted granted Critical
Publication of JP2548019Y2 publication Critical patent/JP2548019Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Facsimiles In General (AREA)
  • Facsimile Scanning Arrangements (AREA)

Description

【考案の詳細な説明】 A.考案の目的 1)産業上の利用分野 本考案はシリアル型イメージスキャナプリンタに関す
る。
[Detailed description of the invention] A. Purpose of the invention 1) Industrial application field The invention relates to a serial type image scanner printer.

2)従来の技術 従来、副走査方向に紙送りされる原稿に対向して配置
されるとともに主走査方向に沿って往復駆動されるキャ
リッジにイメージスキャナの光センサ部材(原稿を照明
する光源、受光素子列および前記原稿からの反射光を前
記受光素子に結像させる撮像光学系等から構成された部
材、以下「イメージセンサ」という)および印字ヘッド
を支持したシリアル型イメージスキャナプリンタが知ら
れている。
2) Prior Art Conventionally, an optical sensor member of an image scanner (a light source for illuminating an original, 2. Description of the Related Art A serial image scanner printer supporting an element array and a member including an imaging optical system for forming reflected light from the document on the light receiving element and the like, hereinafter referred to as an "image sensor", and a print head is known. .

次に、従来のシリアル型イメージスキャナプリンタの
概略を第12,13図により説明する。
Next, an outline of a conventional serial type image scanner printer will be described with reference to FIGS.

第12図において、シリアル型イメージスキャナプリン
タ01は、その前面に操作パネルPaが設けられ、その上面
中央部にローラカバー02を挟んで左右に延びる用紙吸入
口03および用紙排出口04が設けられている。前記用紙吸
入口03の後側にはシートガイド05が装着され、前記用紙
排出口04の前側には着脱自在なキャノピー06が設けられ
ている。
In FIG. 12, a serial type image scanner printer 01 is provided with an operation panel Pa on a front surface thereof, and a paper inlet port 03 and a paper discharge port 04 extending right and left with a roller cover 02 interposed therebetween at the center of the upper surface. I have. A sheet guide 05 is mounted on the rear side of the paper inlet 03, and a detachable canopy 06 is provided on the front side of the paper outlet 04.

前記ローラカバー02およびキャノピー06の下側には第
13図に示すように、無端状のキャリッジ駆動ベルト07に
下面が固着されるとともに主走査方向Xに延設されたガ
イドバー08に沿って案内されるキャリッジBが配設され
ている。そして、熱転写紙等の印字用紙または原稿等の
用紙(前記印字用紙および原稿を含めて、以下単に「用
紙」ということにする)Aは紙送りローラ09および図示
しない案内部材等によってプラテンPの表面に搬送さ
れ、さらに副走査方向Yに紙送りされる。前記ガイドバ
ー08に沿って主走査方向Xに往復駆動されるキャリッジ
Bは、印字ヘッド支持部材B1およびイメージセンサ支持
部材B2から構成されている。前記印字ヘッド支持部材B1
は、印字ヘッドHを支持するとともに、インクリボンカ
セット010が着脱自在に装着されるように構成されてい
る。
Below the roller cover 02 and canopy 06
As shown in FIG. 13, there is provided a carriage B whose lower surface is fixed to an endless carriage driving belt 07 and which is guided along a guide bar 08 extending in the main scanning direction X. A sheet A such as a printing sheet such as a thermal transfer sheet or a document (hereinafter, simply referred to as “sheet” including the printing sheet and the document) is fed to a surface of the platen P by a paper feed roller 09 and a guide member (not shown). , And further fed in the sub-scanning direction Y. The carriage B reciprocally driven in the main scanning direction X along the guide bar 08 includes a print head support member B1 and an image sensor support member B2. The print head support member B1
Is configured to support the print head H and to detachably mount the ink ribbon cassette 010.

前記イメージセンサ支持部材B2には、図示しない原稿
照明用光源、撮像光学系および受光素子列等のイメージ
スキャナ用の光センサ部材すなわちイメージセンサImが
支持されている。
The image sensor supporting member B2 supports a light sensor member for image scanner such as a document illuminating light source, an imaging optical system, and a light receiving element array, not shown, that is, an image sensor Im (not shown).

そして、前述のような構成を備えた従来のシリアル型
イメージスキャナプリンタは、その後面下部に図示しな
いセントロニクス接続端子およびRS232-C接続端子等が
配設されており、図示しない印字制御用のセントロニク
ス接続ケーブルおよび画像読取制御用のRS232-C接続ケ
ーブル等を介してパソコン本体と接続されて使用され
る。
In the conventional serial image scanner printer having the above-described configuration, a Centronics connection terminal (not shown) and an RS232-C connection terminal (not shown) are provided at a lower rear portion thereof, and a Centronics connection for print control (not shown) is provided. It is used by being connected to a personal computer via a cable and an RS232-C connection cable for image reading control.

従来、前述のようなシリアル型イメージスキャナプリ
ンタ01またはイメージスキャナを持たない普通のシリア
ル型プリンタ等を用いて所定のフォーマットに印刷され
た用紙の所定の記入欄に印字をする場合、たとえば、第
14図に示すような用紙Aの記入欄(すなわち、印字範
囲)A1およびA2に適当な文字または数字等を印字する場
合、前記印字ヘッドHが印字する印字範囲は、用紙Aの
セット時に自動的に定まる基準点P0(x0,y0)を基準と
して定められる。但し、前記(x0,y0)は、それぞれ用
紙Aの左上端点を原点(0,0)として左方(主走査方向
X)にx軸を、下方(副走査方向Y)にy軸をとった場
合の座標を示す。そして前記x0,y0は、たとえばA4用紙
の場合x0=2mm、y0=15mm程度に設定されている。
Conventionally, when printing in a predetermined entry field of a sheet printed in a predetermined format using the serial image scanner printer 01 or an ordinary serial printer without an image scanner as described above, for example,
When appropriate characters or numbers are printed in the entry fields (that is, printing ranges) A1 and A2 of the paper A as shown in FIG. 14, the printing range printed by the print head H is automatically set when the paper A is set. Is determined with reference to a reference point P0 (x0, y0). However, the (x0, y0) has the x-axis leftward (main scanning direction X) and the y-axis downward (sub-scanning direction Y) with the upper left point of the paper A as the origin (0, 0). Indicates the coordinates of the case. For example, x0 and y0 are set to about x0 = 2 mm and y0 = about 15 mm in the case of A4 paper.

すなわち、前記第14図に示す用紙Aの点P1(x1,y1)
および点Q1(x10,y10)を対角線の両端とする長方形の
範囲すなわち部分的な印字範囲A1に印字を行う際、前記
用紙Aの左上のコーナーの点P0の座標を(0,0)とし、
基準点P0′の座標を(x0,y0)とした場合、従来は手作
業により前記点P0(0,0)から前記印字範囲A1の左上の
点(以下、「印字開始点」という)P1(x1,y1)までの
寸法x1,y1を実測して主スキップ長データ(x1-x0)およ
び副スキップ長データ(y1-y0)の値を計算する。さら
に、前記印字開始点P1(x1,y1)と、前記印字範囲A1の
右下の点(以下、「印字終了点」という)Q1(x10,y1
0)とによって定まる印字範囲A1の寸法すなわち、フィ
ールド幅(x10-x1)およびフィールド高(y10-y1)を実
測する。
That is, the point P1 (x1, y1) of the sheet A shown in FIG.
And when printing in a rectangular area having both ends of a diagonal with the point Q1 (x10, y10), that is, a partial print area A1, the coordinates of the point P0 of the upper left corner of the paper A are set to (0, 0);
In the case where the coordinates of the reference point P0 'are (x0, y0), conventionally, the point P0 (0, 0) is manually and upper-left point of the print range A1 (hereinafter, referred to as "print start point") P1 ( The values of the main skip length data (x1-x0) and the sub skip length data (y1-y0) are calculated by actually measuring the dimensions x1, y1 up to (x1, y1). Further, the printing start point P1 (x1, y1) and a lower right point of the printing range A1 (hereinafter referred to as “printing end point”) Q1 (x10, y1)
0), the field width (x10-x1) and the field height (y10-y1) are actually measured.

前記副スキップ長データ(y1-y0)、主スキップ長デ
ータ(x1-x0)、フィールド高v1=(y10-y1)およびは
フィールド幅h1=(x10-x1)の値は、用紙Aの前記印字
範囲A1に印字を行うために必要な印字範囲データである
ので、キーボード等の適当な入力装置によりホストコン
ピュータの記憶装置に記憶させる。
The values of the sub-skip length data (y1-y0), the main skip length data (x1-x0), the field height v1 = (y10-y1) and the field width h1 = (x10-x1) are the values of the printing on the paper A. Since it is print range data necessary for printing in the range A1, it is stored in a storage device of the host computer by a suitable input device such as a keyboard.

次に、ホストコンピュータの内部メモリまたは外部メ
モリに記憶された画像情報等の印字データをシリアル型
イメージスキャナプリンタ01で印字する際、まず、用紙
Aをシリアル型イメージスキャナプリンタ01にセットす
る。そして、ホストコンピュータは、前記メモリに記憶
された印字データを読出してシリアル型イメージスキャ
ナプリンタ01に出力するとともに、印字範囲を指定する
印字範囲データをも同時にシリアル型イメージスキャナ
プリンタ01に出力していた。そして、シリアル型イメー
ジスキャナプリンタ01は入力された印字データを入力さ
れた印字範囲データによって定まる印字範囲A1,A2等に
印字していた。
Next, when printing the print data such as the image information stored in the internal memory or the external memory of the host computer by the serial image scanner printer 01, first, the paper A is set on the serial image scanner printer 01. Then, the host computer reads out the print data stored in the memory and outputs it to the serial type image scanner printer 01, and simultaneously outputs the print range data designating the print range to the serial type image scanner printer 01. . Then, the serial type image scanner printer 01 prints the input print data in the print ranges A1, A2, etc. determined by the input print range data.

3)考案が解決しようとする課題 ところで、シリアル型イメージスキャナプリンタ1に
より所定の印字範囲に印字する場合には、前記印字ヘッ
ドH(またはキャリッジB)が用紙A上の所定の印字範
囲に移動したときに印字信号を前記印字ヘッドHに入力
する必要がある。この場合、用紙A上の副走査方向およ
び主走査方向における印字ヘッドHの位置を常時検出す
る必要がある。
3) Problems to be Solved by the Invention By the way, when printing is performed in a predetermined printing range by the serial type image scanner printer 1, the print head H (or the carriage B) is moved to a predetermined printing range on the paper A. Sometimes it is necessary to input a print signal to the print head H. In this case, it is necessary to always detect the position of the print head H on the paper A in the sub-scanning direction and the main scanning direction.

前記用紙A上における印字ヘッドHの副走査方向の位
置は、用紙上端検出センサが用紙上端を検出してからの
用紙の紙送り量を検出することにより、容易に正しく検
出することが可能であが、前記用紙A上における印字ヘ
ッドHの主走査方向の位置は、前記ホームセンサSHを
基準位置とする印字ヘッドの移動量によって検出してい
る。このため、シリアル型イメージスキャナプリンタ1
にセットされた用紙Aが所定の正しいセット位置(すな
わち、前記ホームセンサSHから主走査方向に所定距離
だけ離れた位置)にセットされている場合は、用紙A上
の所定の印字範囲A1,A2に正しく印字を行うことが可能
である。しかしながら、用紙Aの実際のセット位置が所
定の正しいセット位置から主走査方向にずれている場合
には、用紙A上の所定の印字範囲A1,A2からずれた位置
に印字が行われてしまうという問題点があった。
The position of the print head H in the sub-scanning direction on the sheet A can be easily and correctly detected by detecting the sheet feed amount of the sheet after the sheet upper end detection sensor detects the sheet upper end. However, the position of the print head H on the paper A in the main scanning direction is detected by the movement amount of the print head with the home sensor SH as a reference position. Therefore, the serial type image scanner printer 1
Is set at a predetermined correct setting position (that is, a position separated from the home sensor SH by a predetermined distance in the main scanning direction), the predetermined printing ranges A1 and A2 on the paper A are set. It is possible to print correctly on the printer. However, if the actual set position of the paper A is shifted from the predetermined correct set position in the main scanning direction, printing is performed at a position shifted from the predetermined print ranges A1 and A2 on the paper A. There was a problem.

また、印字範囲データに誤差が含まれている場合に
は、用紙Aが正しい位置にセットされていても、所定の
印字範囲に正しく印字を行えないという問題点もあっ
た。
Further, when an error is included in the printing range data, there is a problem that printing cannot be performed correctly in a predetermined printing range even if the sheet A is set at a correct position.

本考案は前述の事情に鑑み、シリアル型イメージスキ
ャナプリンタにセットされた印字用紙の実際のセット位
置が所定の正しいセット位置からずれている場合や印字
範囲データに誤差が含まれている場合でも、印字用紙の
所定の印字範囲に正しく印字を行えるようにすることを
課題とする。
In view of the above-described circumstances, the present invention considers the case where the actual setting position of the printing paper set in the serial type image scanner printer is deviated from a predetermined correct setting position or the printing range data contains an error, An object of the present invention is to enable printing to be performed correctly in a predetermined printing range of printing paper.

B.考案の構成 1)課題を解決するための手段 前記課題を解決するために、本出願の第1考案のシリ
アル型イメージスキャナプリンタは、第1図のクレーム
対応図に示した構成を備えている。すなわち、本出願の
第1考案のシリアル型イメージスキャナプリンタは、 主走査方向Xに延設されたプラテンPの表面に沿って
配置された用紙Aを読取走査するイメージセンサImおよ
び前記用紙Aに印字する印字ヘッドHを支持するキャリ
ッジBと、このキャリッジBを主走査方向Xに沿って往
復駆動するキャリッジ駆動装置D1と、前記キャリッジB
の位置信号x1,x2,…を出力するキャリッジ位置検出手段
T1と、前記用紙Aを副走査方向Yに所定ピッチで紙送り
する用紙駆動装置D2と、用紙Aの位置信号y1,y2,…を出
力する用紙位置検出手段T2と、印字データおよび印字範
囲指定データが入力されるとともに印字範囲指定データ
で指定される位置に前記印字ヘッドHが在るときに前記
印字データに応じた印字ヘッド駆動用の印字信号を出力
する印字信号出力手段Qと、前記イメージセンサImの出
力信号に応じて前記用紙Aの画像データを出力する画像
データ出力手段Rと、を備えたシリアル型イメージスキ
ャナプリンタにおいて、 前記画像データ出力手段Rの出力信号と、画像データ
読取位置情報と、印字範囲データとを用い、印字範囲デ
ータによって定まる前記用紙A上の所定の印字範囲の印
字基準位置を示すために印刷された目印を検出して印字
基準位置データを出力する印字基準位置検出手段S1と、
前記印字基準位置データを用い前記印字範囲データを補
正して前記印字範囲指定データを出力する印字範囲補正
手段S2とを設けたことを特徴とする。
B. Configuration of the Invention 1) Means for Solving the Problems In order to solve the above-mentioned problems, the serial image scanner printer of the first invention of the present application has the configuration shown in the claim correspondence diagram of FIG. I have. That is, the serial type image scanner printer of the first invention of the present application includes an image sensor Im for reading and scanning a sheet A arranged along the surface of a platen P extending in the main scanning direction X and printing on the sheet A. A carriage B for supporting a print head H, a carriage driving device D1 for reciprocally driving the carriage B in the main scanning direction X,
Carriage position detecting means for outputting the position signals x1, x2,.
T1, a paper driving device D2 for feeding the paper A at a predetermined pitch in the sub-scanning direction Y, paper position detecting means T2 for outputting position signals y1, y2,... Of the paper A, print data and print range designation Print signal output means Q for outputting a print signal for driving a print head according to the print data when the print head H is located at a position designated by print range designation data while data is being input; An image data output means R for outputting image data of the paper A in response to an output signal of the sensor Im; a serial type image scanner printer comprising: an output signal of the image data output means R; And the print range data, and detects and prints a mark printed to indicate a print reference position of a predetermined print range on the paper A determined by the print range data. A print reference position detecting means S1 for outputting reference position data,
A print range correcting unit for correcting the print range data using the print reference position data and outputting the print range designation data.

前記前記画像データ読取位置情報としては、たとえば
前記キャリッジ位置検出手段T1または用紙位置検出手段
T2からの出力信号を直接または間接に用いることがで
き、また、前記印字範囲データは、ホストコンピュータ
からシリアル型イメージスキャナプリンタに伝送した
り、シリアル型イメージスキャナプリンタに設けられた
メモリから読み出したりすることができる。さらに、前
記印字範囲補正手段S2から読み出された印字範囲指定デ
ータは、前記印字信号出力手段Qに直接入力したり、ま
た一旦バッファメモリ等に記憶させてから間接的に前記
印字信号出力手段に入力することもできる。
As the image data reading position information, for example, the carriage position detecting unit T1 or the sheet position detecting unit
The output signal from T2 can be used directly or indirectly, and the print range data is transmitted from a host computer to a serial image scanner printer or read from a memory provided in the serial image scanner printer. be able to. Further, the print range designation data read from the print range correction means S2 is directly input to the print signal output means Q, or is temporarily stored in a buffer memory or the like and then indirectly sent to the print signal output means. You can also enter it.

2)作用 前述の構成を備えた本考案のシリアル型イメージスキ
ャナプリンタにより印字用紙の所定の印字範囲に印字を
行う際には、所定の印字範囲毎に印字基準位置検出用の
目印が印刷された用紙を用いる。印字基準位置検出手段
S1は、前記画像データ出力手段Rの出力信号と、画像デ
ータ読取位置情報と、印字範囲データとを用い、印字範
囲データに対応する前記用紙A上の所定の印字範囲の印
字基準位置を示す前記目印を検出して印字基準位置デー
タを出力する。そして、前記印字範囲補正手段S2は、前
記印字基準位置データを用い印字範囲データを補正して
前記印字範囲指定データを出力する。そして、印字デー
タおよび印字範囲指定データが入力される前記印字信号
出力手段Qは、印字範囲指定データで指定される所定の
印字範囲に前記印字ヘッドHが在るときに前記印字デー
タに応じた印字ヘッド駆動用の印字信号を出力する。こ
のとき、前記印字データは所定の印字範囲に印字され
る。
2) Operation When printing is performed in a predetermined printing range of printing paper by the serial image scanner printer of the present invention having the above-described configuration, a mark for detecting a printing reference position is printed for each predetermined printing range. Use paper. Print reference position detection means
S1 uses the output signal of the image data output means R, image data reading position information, and printing range data, and indicates a printing reference position of a predetermined printing range on the paper A corresponding to printing range data. The mark is detected and the print reference position data is output. Then, the print range correction means S2 corrects the print range data using the print reference position data and outputs the print range designation data. The print signal output means Q, to which print data and print range designation data are input, performs printing according to the print data when the print head H is in a predetermined print range specified by the print range designation data. Outputs a print signal for driving the head. At this time, the print data is printed in a predetermined print range.

3)実施例 以下、図面にもとずいて本考案によるシリアル型イメ
ージスキャナプリンタの一実施例について説明する。
3) Embodiment An embodiment of a serial type image scanner printer according to the present invention will be described below with reference to the drawings.

第2図は同実施例が有する機能の概略説明図である。
第2図において、前記第1図の要素に対応する要素には
同一の符号を付して重複する説明は省略する。
FIG. 2 is a schematic explanatory diagram of functions of the embodiment.
In FIG. 2, elements corresponding to the elements in FIG. 1 are denoted by the same reference numerals, and redundant description will be omitted.

印字基準位置検出手段S1は、前記キャリッジ位置検出
手段T1および用紙位置検出手段T2から入力されるキャリ
ッジ位置および用紙位置等の画像データ読取位置情報
と、前記画像データ出力手段Rから入力される画像デー
タと、印字範囲データとを用いて、印字基準位置データ
を検出し、この検出された印字基準位置データを印字範
囲補正手段S2に出力している。
The printing reference position detecting means S1 includes image data reading position information such as a carriage position and a paper position input from the carriage position detecting means T1 and the paper position detecting means T2, and image data input from the image data outputting means R. The print reference position data is detected using the print range data and the print range data, and the detected print reference position data is output to the print range correction means S2.

そして、印字範囲検出手段S4は、前記キャリッジ位置
検出手段T1および用紙位置検出手段T2から入力される画
像データ読取位置情報と、画像データ出力手段Rから入
力される画像データとから検出される印字範囲データを
前記印字範囲記憶手段S3に出力している。この印字範囲
記憶手段S3は、シリアル型イメージスキャナプリンタ1
に設けられたメモリ装着用コネクタP a1およびそれに着
脱自在なラムカード等のカード型メモリMeとから構成さ
れている。この印字範囲記憶手段S3は、前記印字範囲検
出手段S4から出力された印字範囲データを記憶するとと
もに記憶した印字範囲データを前記印字基準位置検出手
段S1および印字範囲補正手段S2に出力するように構成さ
れている。また、スキュー信号出力手段S5は、前記キャ
リッジ位置検出手段T1および用紙位置検出手段T2から入
力される画像データ読取位置情報と、画像データ出力手
段Rから入力される画像データとから用紙のスキュー
(傾き)を検出して、スキュー量が所定値以上の場合に
は、スキュー信号をスキュー告知手段S6に出力してい
る。このスキュー告知手段は、スキュー信号が入力され
たとき、警報ランプを点灯してスキューを告知するよう
に構成されている。
The print range detecting means S4 is a print range detected from the image data reading position information input from the carriage position detecting means T1 and the paper position detecting means T2 and the image data input from the image data output means R. The data is output to the print range storage means S3. This printing range storage means S3 is a serial image scanner printer 1
And a card-type memory Me such as a ram card detachable therefrom. The print range storage means S3 is configured to store the print range data output from the print range detection means S4 and output the stored print range data to the print reference position detection means S1 and the print range correction means S2. Have been. The skew signal output unit S5 is configured to skew (tilt) a sheet based on image data reading position information input from the carriage position detecting unit T1 and the sheet position detecting unit T2 and image data input from the image data output unit R. ) Is detected, and when the skew amount is equal to or more than the predetermined value, a skew signal is output to the skew notifying unit S6. The skew notification means is configured to turn on an alarm lamp to notify a skew when a skew signal is input.

第3〜5図は前記第2図に示した機能を有するシリア
ル型イメージスキャナプリンタの詳細説明図である。
FIGS. 3 to 5 are detailed illustrations of a serial image scanner printer having the functions shown in FIG.

第3〜4図に示したシリアル型イメージスキャナプリ
ンタ1の外観図は、前述の第12図および第13図に示した
従来のシリアル型イメージスキャナプリンタ01と同一で
あるので、前述の従来例で説明したのと同一の構成要素
に対応する本実施例の構成要素には、従来例の構成要素
の符号の上位桁の0(ゼロ)を省略した符号を使用し
て、それらの重複する詳細な説明は省略する。
Since the external view of the serial type image scanner printer 1 shown in FIGS. 3 and 4 is the same as the conventional serial type image scanner printer 01 shown in FIGS. For the components of the present embodiment corresponding to the same components as described above, the same reference numerals as those of the conventional example are omitted by omitting the high-order digits of 0 (zero), and their detailed details are omitted. Description is omitted.

第3,4図においてシリアル型イメージスキャナプリン
タ1の前面には操作パネルPaが設けられており、この操
作パネルPaの下部左側にはリセットスイッチSW Rが配設
され、同下部の右側には印字範囲データを記憶するラム
カード等のカード型メモリMeおよび図示しないフォント
ロムカード等が着脱自在に装着されるメモリ装着用コネ
クタP a1が設けられている。
3 and 4, an operation panel Pa is provided on the front surface of the serial type image scanner printer 1, a reset switch SW R is provided on the lower left side of the operation panel Pa, and a printing operation is provided on the lower right side of the operation panel Pa. A card memory Me such as a ram card for storing range data and a memory mounting connector Pa1 to which a font rom card (not shown) and the like are removably mounted are provided.

また、前記操作パネルPaには、押す度にコンピュータ
等外部からのデータを受信できる状態(セレクト状態)
と受信できない状態(ディセレクト状態)とを繰り返す
SELスイッチ(Select Switch)SW0、ディセレクト状態
で用紙をセットするときに自動頭出しをするとともに用
紙がセットされた状態で1回押す毎に1行づつ(1/6イ
ンチ)紙送りするL.Fスイッチ(Line Feed Switch)SW
1、用紙が挿入されていてディセレクト状態のとき次のT
OF位置(ページの第1印字行)まで紙送りするT.O.Fス
イッチ(Top of Form Switch)SW2、スピード選択スイ
ッチSW3、フォントカードのフォントまたは内蔵フォン
トのいずれを使用するかを選択するフォント切換スイッ
チSW4、綿密度切換スイッチSW5、および階調モード選択
スイッチSW6等が設けられている。
Each time the operation panel Pa is pressed, the operation panel Pa can receive data from an external device such as a computer (select state).
And the state that cannot be received (deselect state)
SEL switch (Select Switch) SW0, LF switch that performs automatic cueing when setting paper in the deselected state and feeds the paper one line (1/6 inch) each time the paper is set and pressed once. (Line Feed Switch) SW
1, When paper is inserted and deselected, the next T
TOF switch (Top of Form Switch) SW2 for feeding paper to the OF position (first printing line of the page), speed selection switch SW3, font changeover switch SW4 for selecting whether to use the font of the font card or the built-in font, A cotton density changeover switch SW5, a gradation mode selection switch SW6, and the like are provided.

前記セレクトスイッチSW0には外部からの信号を受付
ける状態で点灯する緑色の表示用発光ダイオード(すな
わち、「セレクトランプ」)LED0が併設され、L.Fスイ
ッチSW1には、用紙のスキュー量が一定値以上のときに
点灯するスキュー告知用発光ダイオードLED1が併設さ
れ、スピード選択スイッチSW3には中速印字モードで点
灯し高速印字モードで消灯する緑色の表示用発光ダイオ
ード(すなわち「印字モード表示ランプ」)LED2が併設
され、フォント切り換えスイッチSW4にはフォントカー
ドのフォントを用いて印字するモードが選択されている
ときに点灯する緑色の表示用発光ダイオード(すなわち
「フォント表示ランプ」)LED3が併設されている。ま
た、前記綿密度切換スイッチSW5にはイメージセンサの
選択されている綿密度読取モード180dpi、160dpiまたは
90dpiに応じて点灯する緑色の表示用発光ダイオード
(すなわち「読取モード表示ランプ」)LED4、LED5およ
びLED6が併設されている。さらに、前記階調モード選択
スイッチSW6には選択されているイメージセンサの階調
読取モード(2階調モード、ディザモード、また多階調
モード)に応じて点灯する緑色の表示用発光ダイオード
(すなわち「階調モード表示ランプ」)LED7、LED8およ
びLED9が併設されている。
The select switch SW0 is provided with a green display light emitting diode (that is, a “select lamp”) LED0 that lights up in a state of receiving a signal from the outside, and the LF switch SW1 has a skew amount of the paper of a predetermined value or more. A skew notification light-emitting diode LED1 that is lit at the same time is provided, and a speed display switch SW3 is provided with a green display light-emitting diode (that is, a "print mode display lamp") LED2 that lights up in the medium-speed printing mode and turns off in the high-speed printing mode. The font changeover switch SW4 is provided with a green display light emitting diode (that is, a "font display lamp") LED3 that is turned on when the mode of printing using the font of the font card is selected. The cotton density changeover switch SW5 has a cotton density reading mode of 180 dpi, 160 dpi or
Green display light-emitting diodes (ie, “reading mode display lamps”) LED4, LED5, and LED6 that light up according to 90 dpi are provided side by side. Further, the gradation mode selection switch SW6 has a green display light-emitting diode (that is, a green display light-emitting diode) that lights according to the gradation reading mode (two gradation mode, dither mode, or multi-gradation mode) of the selected image sensor. "Gradation mode display lamp") LED7, LED8 and LED9 are provided side by side.

そして、前記操作パネルPaの上部右側には、電源投入
時に点灯する赤色の表示用発光ダイオード(すなわち
「電源ランプ」)LED10、印字用紙または原稿等の用紙
Aがセットされていないときに点灯する赤色の表示用発
光ダイオード(すなわち「用紙検出表示ランプ」)LED1
1および印字リボンが無くなったときに点灯する赤色の
表示用発光ダイオード(すなわち「リボンエンプティ表
示ランプ」)LED12が配設されている。前記電源ランプL
ED10は、前記シリアル型イメージスキャナプリンタ1の
第2図中、左側壁下部に配設された電源スイッチ(図示
せず)がオンになって電源が投入されたときに点灯する
ようになっている。
On the upper right side of the operation panel Pa, a red display light emitting diode (that is, a "power lamp") LED10 that is turned on when the power is turned on, a red light that is turned on when paper A such as printing paper or a document is not set. Light emitting diode for indicating (ie, "paper detection indicator lamp") LED1
1 and a red light-emitting diode (that is, a “ribbon empty display lamp”) LED12 that is lit when the print ribbon runs out. The power lamp L
The ED 10 is illuminated when a power switch (not shown) provided at a lower portion of the left side wall in FIG. 2 of the serial type image scanner printer 1 is turned on and the power is turned on. .

第5図において、シリアル型イメージスキャナプリン
タ1のキャリッジ駆動装置D1は、キャリッジ駆動用ステ
ップモータM1およびこのキャリッジ駆動用ステップモー
タM1によって往復駆動される無端状のキャリッジ駆動ベ
ルト7等から構成されている。このキャリッジ駆動ベル
ト7に下面が固着されるとともに主走査方向Xに延設さ
れたガイドバー8に沿って案内される合成樹脂製のキャ
リッジBは、印字ヘッド支持部材B1とイメージセンサ支
持部材B2とを備えている。前記キャリッジBは、主走査
方向Xに延設されたプラテンPの表面に沿って主走査方
向Xに沿って往復駆動される。なお、前記プラテンPの
表面は黒色に着色されている。
In FIG. 5, a carriage driving device D1 of the serial type image scanner printer 1 includes a carriage driving step motor M1, an endless carriage driving belt 7 reciprocally driven by the carriage driving step motor M1, and the like. . A carriage B made of a synthetic resin whose lower surface is fixed to the carriage driving belt 7 and guided along a guide bar 8 extending in the main scanning direction X includes a print head supporting member B1, an image sensor supporting member B2, It has. The carriage B is reciprocated along the main scanning direction X along the surface of a platen P extending in the main scanning direction X. The surface of the platen P is colored black.

前記プラテンPの左端側にはシェーディング補正用の
補正板Fが固定されており、この補正板Fはその表面を
一様な白色に着色され、且つその表面と原稿Aの読取走
査される面とが略同一平面に在るように配設されてい
る。
A correction plate F for shading correction is fixed to the left end side of the platen P. The correction plate F is colored uniformly white on its surface, and its surface and the surface on which the original A is scanned are scanned. Are disposed on substantially the same plane.

熱転写紙等の記録紙または原稿等の用紙Aは紙送り用
ステップモータM2、これによって回転駆動される紙送り
ローラ9および図示しない案内部材等から構成された用
紙駆動装置D2によって主走査方向Xに延設されたプラテ
ンPの表面に沿って副走査方向Yに搬送される。そし
て、前記用紙A等は前記キャリッジBが用紙Aの一走査
ラインに沿って移動される度に用紙駆動装置D2によって
副走査方向Yに所定のピッチで紙送りされる。
A recording paper such as a thermal transfer paper or a paper A such as an original is moved in the main scanning direction X in a main scanning direction X by a paper feed step motor M2, a paper feed roller 9 rotated by the paper feed roller 9 and a paper drive device D2 composed of a guide member (not shown). The sheet is conveyed in the sub-scanning direction Y along the surface of the extended platen P. Each time the carriage B is moved along one scanning line of the sheet A, the sheet A or the like is fed at a predetermined pitch in the sub-scanning direction Y by the sheet driving device D2.

前記キャリッジBの印字ヘッド支持部材B1には熱転写
式の印字ヘッドHが支持されており、また、前記印字ヘ
ッド支持部材B1の上面はインクリボンカセット10が着脱
自在に装着されるように構成されている。
A print head H of a thermal transfer type is supported on a print head support member B1 of the carriage B, and an upper surface of the print head support member B1 is configured such that an ink ribbon cassette 10 is detachably mounted. .

前記キャリッジBのイメージセンサ支持部材B2には、
図示しない原稿照明用の光源と、ミラー、ロッドレンズ
アレー等を有する撮像光学系と、複数の受光素子列を有
する反射光量検出手段等から構成されたイメージセンサ
Imが支持されており、反射光量検出手段は前記光源によ
って照明された前記原稿Aまたは補正板Fからの反射光
を、前記撮像光学系を介して受光するように配設されて
いる。また、イメージセンサ支持部材B2には左右方向読
取位置(原稿Aからの反射光が入射する位置)指示用目
印12および上下方向読取開始位置(前記受光素子列の一
番上に配置された受光素子の位置)指示用目印13が設け
られている。
The image sensor supporting member B2 of the carriage B includes
An image sensor including an unillustrated light source for illuminating a document, an imaging optical system having a mirror, a rod lens array, and the like, and a reflected light amount detection unit having a plurality of light receiving element arrays
Im is supported, and the reflected light amount detecting means is arranged to receive the reflected light from the document A or the correction plate F illuminated by the light source via the imaging optical system. The image sensor supporting member B2 has a mark 12 for indicating a reading position in the left-right direction (a position where the reflected light from the document A is incident) and a reading start position in the vertical direction (the light-receiving element arranged at the top of the light-receiving element row). Position) indicating mark 13 is provided.

そして、前記印字ヘッドHは適当な接続ケーブルを介
して接続された制御ユニットUの印字ヘッド駆動回路20
によって駆動されるようになっている。また、前記反射
光量検出手段Gによって検出された検出信号は適当な接
続用ケーブルを介して制御ユニットUのシェーディング
補正回路21に入力されている。
The print head H is connected to the print head drive circuit 20 of the control unit U connected via an appropriate connection cable.
It is adapted to be driven by. The detection signal detected by the reflected light amount detection means G is input to the shading correction circuit 21 of the control unit U via an appropriate connection cable.

前記制御ユニットUは、印字ヘッド駆動回路20、シェ
ーディング補正回路21およびマイコン22等から構成され
ており、前記マイコン22は、中央処理装置CPU、ランダ
ムアクセスメモリRAM、リードオンリーメモリROM、およ
び入出力インターフェイスI/O等から構成されている。
The control unit U includes a print head drive circuit 20, a shading correction circuit 21, a microcomputer 22, and the like.The microcomputer 22 includes a central processing unit CPU, a random access memory RAM, a read only memory ROM, and an input / output interface. It is composed of I / O, etc.

また、第5図に示すように、前記制御ユニットUに
は、前記キャリッジBがホームポジションに在ることを
検出するホームポジションセンサSHの出力信号Ih、前
記用紙Aの有無を検出する用紙検出センサSPの出力信
号Ip、および、第3,4図に示した操作パネルPaの各種ス
イッチSWi(i=0〜6)からの入力信号が入力されて
いる。
As shown in FIG. 5, the control unit U includes an output signal Ih of a home position sensor SH for detecting that the carriage B is at the home position, and a paper detection sensor for detecting the presence or absence of the paper A. An SP output signal Ip and input signals from various switches SWi (i = 0 to 6) of the operation panel Pa shown in FIGS. 3 and 4 are input.

そして、制御ユニットUは、前記キャリッジ駆動用ス
テップモータM1の駆動信号O m1、紙送り用ステップモー
タM2の駆動信号O m2、および前記キャリッジB上の反射
光量検出手段駆動用信号O im等を出力している。
The control unit U outputs a drive signal O m1 for the carriage drive step motor M1, a drive signal O m2 for the paper feed step motor M2, a signal O im for driving the reflected light amount detecting means on the carriage B, and the like. doing.

さらに、前記制御ユニットUは、印字部制御用のセン
トロニクス接続ケーブル23およびイメージスキャナ部制
御用のRS232-C接続ケーブル24を介してパソコン25と接
続されている。
Further, the control unit U is connected to a personal computer 25 via a Centronics connection cable 23 for controlling the printing unit and an RS232-C connection cable 24 for controlling the image scanner unit.

次に、前述の構成を備えたシリアル型イメージスキャ
ナプリンタの実施例の作用を説明する。その作用はマイ
コン22のROMに記憶されたプログラムによって行われ
る。
Next, the operation of the embodiment of the serial type image scanner printer having the above configuration will be described. The operation is performed by a program stored in the ROM of the microcomputer 22.

第6A図に示した用紙Aは、図示しない所定の文字また
は図形等が所定のフォーマットで印刷された伝票または
確認申請書等であり、文字または数字を印字すべき印字
範囲A1と、A2とが設けられている。
The paper A shown in FIG. 6A is a slip or a confirmation application form in which predetermined characters or figures (not shown) are printed in a predetermined format, and a printing range A1 and A2 in which characters or numbers are to be printed are included. Is provided.

先ず、前記用紙Aの印字範囲を定める印字範囲データ
を読み取り記憶する作用について説明する。
First, the operation of reading and storing print range data that defines the print range of the paper A will be described.

第7A〜7D図は、印字範囲データ読み取りのフローの説
明図である。このフローを行う際には、第6A図に示すよ
うに前記印字範囲A1,A2を真っ黒にベタ塗りした用紙A
を用いる。
7A to 7D are explanatory diagrams of the flow of reading the print range data. When performing this flow, as shown in FIG. 6A, the paper A in which the printing ranges A1 and A2 are solid black
Is used.

この印字範囲読み取りフローは前記線密度切替スイッ
チSW5を押した状態で電源スイッチをオンにすること、
またはホストコンピュータから定められた指令コードを
受信することによりスタートする。
This print range reading flow is to turn on the power switch while pressing the linear density switch SW5,
Alternatively, the processing is started by receiving a command code determined from the host computer.

この印字範囲読み取りフローにおいては、まず、第7
A,7B図のスキューチェックフローにより用紙Aのスキュ
ーがチェックされる。
In this print range reading flow, first, the seventh
The skew of the paper A is checked by the skew check flow shown in FIGS.

ステップ31においてL.FスイッチSW2が押されたかどう
かが判断される。ノー(NO)の場合はステップ31が繰り
返し実行される。イエス(YES)の場合はステップ32に
移る。
In step 31, it is determined whether or not the LF switch SW2 has been pressed. If no (NO), step 31 is repeatedly executed. If yes, go to step 32.

ステップ32において用紙を初期セット位置(第8A図参
照)にローディングする。これは前記紙送り用ステップ
モータM2を回転させて用紙Aをセット位置まで吸入する
ことにより行われる。この用紙Aがセット位置にある状
態では、用紙Aの上端は前記プラテンPを通り越してお
り、前記印字ヘッドHやイメージセンサImよりも上方に
配置されている。そして、紙送り方向(副走査方向Y)
に沿って列設された印字ヘッドHの複数の印字ドットお
よびイメージセンサImの複数の受光素子の一番上に配置
されたものは、前記用紙Aが正確に配置されていれば用
紙A上端か所定距離だけ下方の位置で用紙に対向してい
る(第8A図実線のIm参照)。
In step 32, the sheet is loaded to the initial setting position (see FIG. 8A). This is performed by rotating the paper feed step motor M2 and sucking the paper A to the set position. When the sheet A is in the set position, the upper end of the sheet A passes through the platen P and is disposed above the print head H and the image sensor Im. And the paper feed direction (sub-scan direction Y)
The uppermost one of the plurality of print dots of the print head H and the plurality of light receiving elements of the image sensor Im, which are arranged along the line, may be the upper end of the sheet A if the sheet A is correctly arranged. The sheet faces the sheet at a position below by a predetermined distance (see Im of the solid line in FIG. 8A).

次にステップ33において、前記キャリッジBを主走査
方向の所定位置(たとえば、前記ホームポジションセン
サSHからのキャリッジBの主走査方向Xの移動距離に
よって定まる位置)x01まで移動させる(第8A図二点鎖
線位置、第8B図実線位置参照)。
Next, at step 33, the carriage B is moved to a predetermined position x01 in the main scanning direction (for example, a position determined by the moving distance of the carriage B from the home position sensor SH in the main scanning direction X) (two points in FIG. 8A). The position of the chain line, see the position of the solid line in FIG. 8B).

次にステップ34において、前記セットされた用紙Aを
紙送り方向Yと逆方向へ1ステップ(1ドット分)移動
させる。
Next, in step 34, the set sheet A is moved one step (one dot) in the direction opposite to the sheet feeding direction Y.

次にステップ35において、イメージセンサImの受光素
子列の一番上に配置された受光素子が用紙A上端を検出
したかどうかが判断される。この判断は、前記受光素子
列の一番上に配置された受光素子がプラテンP表面の黒
色を検出したかどうかによって判断される。このステッ
プ35においてノー(NO)の場合には前記ステップ34に戻
り、イエス(YES)の場合(第8B図二点鎖線位置、第8C
図実線位置参照)にはステップ36に移る。
Next, in step 35, it is determined whether the light receiving element arranged at the top of the light receiving element row of the image sensor Im has detected the upper end of the sheet A. This determination is made based on whether or not the light receiving element arranged at the top of the light receiving element row detects black on the surface of the platen P. In the case of no (NO) in this step 35, the process returns to the step 34, and in the case of yes (YES) (the position indicated by the two-dot chain line in FIG.
The process moves to step 36 (see the position of the solid line in the figure).

ステップ36において、用紙Aの第1上端位置y01の値
およびこのときのキャリッジBの位置x01がマイコン22
のランダムアクセスメモリRAMまたはCPUのレジスタ等に
記憶される。前記y01の値は、(前記ステップ34の1ス
テップ当りの紙送り量)×(ステップ34の実行回数)と
して算出される。
In step 36, the value of the first upper end position y01 of the sheet A and the position x01 of the carriage B at this time are stored in the microcomputer 22.
Is stored in a random access memory RAM or a register of the CPU. The value of y01 is calculated as (the paper feed amount per step in step 34) × (the number of executions of step 34).

次にステップ37において、用紙を紙送り方向へ2mm移
動させる。たとえば、前記イメージセンサImが24個の受
光素子を有し、その配列密度が8ドット/mmであるなら
ば、前記2mmは16ドット分の移動に相当する。
Next, in step 37, the paper is moved by 2 mm in the paper feed direction. For example, if the image sensor Im has 24 light receiving elements and the array density is 8 dots / mm, the 2 mm corresponds to a movement of 16 dots.

次にステップ38において、前記位置x01にあるキャリ
ッジBを左方(第8D図実線位置→二点鎖線位置の方向参
照)へ1ステップ(1ドット分)移動させる。
Next, at step 38, the carriage B at the position x01 is moved one step (one dot) to the left (see the direction of the solid line position → the two-dot chain line position in FIG. 8D).

次にステップ39において、イメージセンサImの受光素
子列の一番上の受光素子が用紙左端を検出したかどうか
が判断される。この判断は、前記受光素子列の一番上に
配置された受光素子がプラテンP表面の黒色を検出した
かどうかによって判断される。このステップ39において
ノー(NO)の場合には前記ステップ38に戻り、ステップ
38および39を繰り返し実行する。ステップ39でイエス
(YES)の場合(第8D図二点鎖線位置、第8E図実線位置
のIm参照)、そのときのキャリッジBの位置x02′が用
紙の左端位置である。このx02′の値は、前記ホームポ
ジションセンサSHで検出されるキャリッジBの位置を
基準位置として、その基準位置からの用紙左端までのmm
単位の距離として検出する。この場合その距離は、前記
x01の値から、(前記ステップ38の1ステップ当りの移
動距離)×(ステップ38の実行回数)の値を減算するこ
とにより検出される。ステップ39でイエスになると、次
にステップ40において用紙Aの左端位置を記憶する。
Next, in step 39, it is determined whether or not the uppermost light receiving element of the light receiving element row of the image sensor Im has detected the left end of the sheet. This determination is made based on whether or not the light receiving element arranged at the top of the light receiving element row detects black on the surface of the platen P. If the determination in step 39 is no (NO), the process returns to step 38, and
Repeat steps 38 and 39. In the case of YES in step 39 (see the position indicated by the two-dot chain line in FIG. 8D and the position Im in the solid line in FIG. 8E), the position x02 ′ of the carriage B at that time is the left end position of the sheet. The value of x02 'is mm from the reference position to the left end of the sheet from the position of the carriage B detected by the home position sensor SH.
Detect as a unit distance. In this case, the distance is
It is detected by subtracting the value of (moving distance per one step of step 38) × (the number of times of execution of step 38) from the value of x01. If the answer is affirmative in step 39, then in step 40 the left end position of the sheet A is stored.

次にステップ41において、キャリッジBを右方へ2mm
(16ドット分)移動させる(第8E図のImの実線位置→二
点鎖線位置方向への移動参照)と、その位置x02は、x02
=x02′+2(mm)となる。
Next, in step 41, the carriage B is moved rightward by 2 mm.
(16 dots) (see the movement of the solid line position of Im → the position of the two-dot chain line in FIG. 8E), the position x02 becomes x02
= X02 '+ 2 (mm).

次に第7B図のステップ42において、前記セットされた
用紙を紙送り方向と逆方向へ1ステップ(1ドット分)
移動させる。
Next, in step 42 of FIG. 7B, the set paper is moved one step (for one dot) in the direction opposite to the paper feeding direction.
Move.

次にステップ43において、イメージセンサImの受光素
子列の一番上の受光素子が用紙上端を検出したかどうか
が判断される。この判断は、前記受光素子列の一番上に
配置された受光素子がプラテンP表面の黒色を検出した
かどうかによって判断される。このステップ43において
ノーの場合には前記ステップ42に戻り、イエス(YES)
の場合(第8F図二点鎖線位置の用紙A参照)にはステッ
プ44に移る。
Next, in step 43, it is determined whether the uppermost light receiving element of the light receiving element row of the image sensor Im has detected the upper end of the sheet. This determination is made based on whether or not the light receiving element arranged at the top of the light receiving element row detects black on the surface of the platen P. If no in step 43, the process returns to step 42, and the answer is yes.
In the case of (2) (see the sheet A at the position indicated by the two-dot chain line in FIG. 8F), the process proceeds to step 44.

ステップ44において、用紙の第2上端位置y02の値お
よびキャリッジBの位置x02の値を記憶する。このy02の
値は、前記吸入した用紙のセット位置を基準として、そ
の基準位置からの用紙上端までのmm単位の距離であり、
(y01-2)mmに(前記ステップ42の1ステップ当りの紙
送り量)×(ステップ42の実行回数)の値y02′を加算
して、y02=y01−2+y02′として算出される。
In step 44, the value of the second upper end position y02 of the sheet and the value of the position x02 of the carriage B are stored. The value of y02 is a distance in mm from the reference position to the upper end of the sheet with reference to the set position of the sucked sheet,
(Y01-2) mm is added with a value y02 'of (paper feed amount per step in the above step 42) x (number of times of execution of step 42), and is calculated as y02 = y01-2 + y02'.

次にステップ45において、スキュー値Qを次式により
算出する。
Next, at step 45, the skew value Q is calculated by the following equation.

Q=(y01−y02)/(x01−x02) =(y01−y02)/x0 但し、x0=(x01−x02) 次にステップ46においてスキュー値Qが許容値Qaを越
えているかどうかが判断される。ステップ46においてイ
エスの場合はステップ47に移り、ノーの場合はステップ
48に移る。
Q = (y01−y02) / (x01−x02) = (y01−y02) / x0 where x0 = (x01−x02) Next, in step 46, it is determined whether or not the skew value Q exceeds the allowable value Qa. You. If yes in step 46, proceed to step 47; if no, step
Move to 48.

ステップ47において、エラーランプ(スキュー告知用
発光ダイオード)LED1が点灯される。
In step 47, the error lamp (skew notification light emitting diode) LED1 is turned on.

次にステップ49においてエラーが解除されたかどうか
が判断される。この判断は用紙が除去されたかどうかに
よって判断される。ノーの場合はステップ49を繰り返し
実行する。イエスの場合はステップ50に移る。
Next, at step 49, it is determined whether or not the error has been cleared. This determination is made based on whether the sheet has been removed. If no, step 49 is repeatedly executed. If yes, go to step 50.

ステップ50において、エラーランプLED1を消灯する。
そして、前記ステップ31に戻る。
In step 50, the error lamp LED1 is turned off.
Then, the process returns to step 31.

前記ステップ46においてノーの場合は前記ステップ48
に移り、用紙Aを前記初期セット位置に移送する。これ
は、用紙送り方向(副走査方向)Yと逆方向に用紙をた
とえば15mmだけ紙送りすることにより行う。このとき、
イメージセンサImは第6B図に示すように、その受光素子
列の一番上の受光素子が用紙A左端から2mm、上端から1
5mmの位置に在り、前記印字ヘッドHはイメージセンサI
mから主走査方向Xに所定距離xaだけ離れて配置されて
いる。
If no in step 46, step 48
Then, the sheet A is transferred to the initial setting position. This is performed by feeding the sheet by, for example, 15 mm in the direction opposite to the sheet feeding direction (sub-scanning direction) Y. At this time,
As shown in FIG. 6B, the uppermost light receiving element of the image sensor Im is 2 mm from the left end of the sheet A and 1 mm from the upper end, as shown in FIG. 6B.
The print head H is located at a position of 5 mm and the image sensor I
It is arranged at a predetermined distance xa in the main scanning direction X from m.

次に、ステップ51において、1行分(イメージセンサ
Imの受光素子列の受光素子の数が24であるならば24ライ
ン分)データを読み込む。この1行分のデータの読み込
みは、キャリッジBを一旦前記ホームセンサSHの位置
まで左方に移動してから右方に移動しながら行う。この
場合読み取られるデータは、最初はプラテンPを検出し
ている黒のデータ13(以下、黒のデータのことを「黒ビ
ット」という)であり、用紙Aの左端より右方へ移動す
ると用紙Aの白のデータとなる。そして、用紙Aに黒の
ベタ塗り部分があると、その部分で読み取られるデータ
は黒ビットとなる。そして、1行分のデータを読み取っ
てからステップ52に移る。
Next, in step 51, one line (image sensor
If the number of light receiving elements in the light receiving element row of Im is 24, the data is read for 24 lines). The reading of one line of data is performed while the carriage B is temporarily moved leftward to the position of the home sensor SH and then moved rightward. In this case, the data to be read is black data 13 (hereinafter, black data is referred to as a “black bit”) for detecting the platen P. When the data is moved rightward from the left end of the paper A, the paper A is read. White data. If the paper A has a solid black portion, the data read in that portion becomes black bits. Then, the process proceeds to step 52 after reading the data for one line.

ステップ52において、N=1と置く。 In step 52, N = 1 is set.

次にステップ53において、前記1行分(第6B図参照)
に含まれる24ラインの中の上から第Nラインの用紙A上
のデータに黒ビットが有るかどうか探索する。黒ビット
が在る場合にはステップ54に移り、無い場合にはステッ
プ56に移る。
Next, in step 53, the above-mentioned one line (see FIG. 6B)
Is searched for black bits in the data on the sheet A of the N-th line from the top of the 24 lines included in. If there is a black bit, the process proceeds to step 54; otherwise, the process proceeds to step 56.

ステップ54において黒ビット開始位置を記憶する。こ
の記憶する黒ビット開始位置(すなわち、第6B図に示す
用紙A左上端点P0(0,0)を基準点とするX−Y座標)
を前記マイコン22のラムRAMに記憶する。
In step 54, the black bit start position is stored. The black bit start position to be stored (that is, the XY coordinate with reference to the upper left point P0 (0,0) of the sheet A shown in FIG. 6B)
Is stored in the RAM RAM of the microcomputer 22.

次にステップ55において前記黒ビット長を前記ラムRA
Mに記憶する。
Next, in step 55, the black bit length is stored in the RAM RA.
Remember in M.

次にステップ56においてN=N+1と置く。 Next, in step 56, N = N + 1 is set.

次にステップ57においてN=25かどうか判断する。ノ
ー(N)の場合には前記ステップ53に戻り、イエス(YE
S)の場合にはステップ58に移る。
Next, in step 57, it is determined whether N = 25. If no (N), the process returns to the step 53, and the answer is yes (YE
In the case of S), the process proceeds to step 58.

ステップ58において前記1行(24ライン)分の中の黒
ビット開始位置および黒ビット長が略一致するブロック
(ここで、ブロックとは連続する黒ビットの固まりを意
味するものとする)を抽出する。
In step 58, a block in which the black bit start position and the black bit length in the one row (24 lines) substantially match (here, block means a block of continuous black bits) is extracted. .

次にステップ59において前記抽出したブロックの黒ビ
ット開始位置の座標(たとえば第6B図の第1行目の読み
取りの場合には、黒ビット開始位置の座標は(x1,y1)
である)を記憶する。ただし黒ビット開始位置のX座標
x1は、各ラインの黒ビットの開始位置の平均値とする。
Next, in step 59, the coordinates of the black bit start position of the extracted block (for example, in the case of reading the first row in FIG. 6B, the coordinates of the black bit start position are (x1, y1)
Is stored. Where X coordinate of black bit start position
x1 is an average value of the start positions of the black bits of each line.

次にステップ60において前記抽出したブロックの黒ビ
ット終端位置Q11の座標(たとえば第6B図の第1行目の
読み取りの場合には、黒ビット終端位置Q11の座標は(x
10,y1+Δy11)である)を記憶する。ただし黒ビットの
終端位置のX座標x10は、黒ビット長の平均値を前記黒
ビットの開始位置の座標x1に加算した値とする。
Next, in step 60, the coordinates of the black bit end position Q11 of the extracted block (for example, in the case of reading the first row in FIG. 6B, the coordinates of the black bit end position Q11 are (x
10, y1 + Δy11) is stored. However, the X coordinate x10 of the end position of the black bit is a value obtained by adding the average value of the black bit length to the coordinate x1 of the start position of the black bit.

次にステップ61において黒ビット開始位置および黒ビ
ット長が略一致するブロックが他に有るかどうかを判断
する。イエスの場合には前記ステップ58に戻り、ノーの
場合にはステップ62に移る。
Next, in step 61, it is determined whether or not there is another block whose black bit start position and black bit length substantially match. If yes, return to step 58; if no, proceed to step 62.

ステップ62において1行分紙送りする。 In step 62, paper is fed by one line.

次にステップ63において用紙終端(下端)かどうかを
判断する。ノーの場合には前記ステップ51に戻り、イエ
スの場合には第7D図のステップ64に移る。
Next, in step 63, it is determined whether or not the sheet is at the end (lower end). If no, the process returns to step 51, and if yes, the process proceeds to step 64 in FIG. 7D.

ステップ64において各行毎の前記黒ビットのブロック
を合成する。たとえば、第6B図に示す第3、4、5行目
のブロックA11,A12,A13を合成する。
In step 64, the black bit block for each row is synthesized. For example, the blocks A11, A12, and A13 on the third, fourth, and fifth rows shown in FIG. 6B are synthesized.

次にステップ65において合成されたブロックの左上端
の座標データ(たとえば、第6B図の印字範囲A1の場合に
は座標x1,y1)を記憶する。
Next, the coordinate data of the upper left corner of the block synthesized in step 65 (for example, coordinates x1 and y1 in the case of the print range A1 in FIG. 6B) is stored.

次にステップ66において合成されたブロックの縦、横
の長さ(たとえば、第6B図の印字範囲A1の場合にはv1,h
1)を記憶する。
Next, the vertical and horizontal lengths of the block synthesized in step 66 (for example, v1, h in the case of the print range A1 in FIG. 6B)
Remember 1).

次にステップ67において前記ステップ65,66で得られ
たデータ(印字範囲データ)を前記コネクタP a1に装着
されたカード型メモリMeに書き込んで記憶させる。この
カード型メモリMeに記憶された印字範囲データは第6C図
で示される。
Next, in step 67, the data (printing range data) obtained in steps 65 and 66 is written and stored in the card type memory Me mounted on the connector Pa1. The print range data stored in the card type memory Me is shown in FIG. 6C.

次にステップ68において他に合成するブロックが有る
かどうか判断する。イエスの場合には前記ステップ64に
戻り、ノーの場合には印字範囲データ読み取りのフロー
を終了する。
Next, in step 68, it is determined whether there is another block to be combined. If the determination is yes, the process returns to step 64; if the determination is no, the flow of reading the print range data ends.

次に第7E図および第9A図により、前記印字範囲データ
を記憶したカード型メモリMeが装着されたシリアル型イ
メージスキャナプリンタ1を用いて、ホストコンピュー
タの内部メモリまたは外部メモリに記憶された画像情報
等の印字データを所定のフォーマット用紙に印字する機
能(すなわち、第2図の印字基準位置検出手段S1および
印字範囲補正手段S2が有する機能)を実現する印字フロ
ー(処理)について説明する。この印字フローでは、所
定のフォーマット用紙として印字範囲が黒枠で囲まれた
用紙を使用する。
Next, referring to FIGS. 7E and 9A, the image information stored in the internal memory or the external memory of the host computer using the serial image scanner printer 1 having the card type memory Me storing the print range data attached thereto. A print flow (process) for realizing a function of printing print data such as a print data on a predetermined format paper (that is, a function of the print reference position detecting means S1 and the print range correcting means S2 in FIG. 2) will be described. In this print flow, a sheet whose print range is surrounded by a black frame is used as a predetermined format sheet.

この印字フローはたとえば、ホストコンピュータから
定められた指令コードおよびフォーマット選択コードを
受信することにより開始される。
This printing flow is started, for example, by receiving a command code and a format selection code determined from the host computer.

所定のフォーマット用紙への印字フローがスタートす
ると、ステップ71において、シリアル型イメージスキャ
ナプリンタ1は、ホストコンピュータから印字すべきデ
ータを受け取る。この受け取るデータは第6D図に示すよ
うに、各データ間がキャリッジリターンコードC/Rと、
ラインフィードコードL/Fとによって区切られたデータ
であり、データ1は前記第1印字範囲に印字すべきデー
タであり、データ2は前記第2印字範囲に印字すべきデ
ータである。なお、印字すべきフォーマット用紙に印字
範囲がn箇所ある場合には、この第6D図に示すように、
データ3,4,…,nもホストコンピュータから受け取ること
になる。この受け取られたデータ1,2,…,nはシリアル型
イメージスキャナプリンタ1の前記ラムRAM等のメモリ
に一時記憶される。
When the printing flow on a predetermined format paper starts, in step 71, the serial type image scanner printer 1 receives data to be printed from the host computer. As shown in FIG. 6D, the received data includes a carriage return code C / R between each data,
Data 1 is data to be printed in the first print range, and data 2 is data to be printed in the second print range. If the format paper to be printed has n printing ranges, as shown in FIG. 6D,
Data 3, 4,..., N are also received from the host computer. The received data 1, 2,..., N are temporarily stored in a memory such as the RAM of the serial type image scanner printer 1.

次にステップ72において、フォーマットされた印字す
べき用紙のスキューチェックと用紙のセットを行う。こ
のステップ72のフローは、前記第7A,7B図に示したフロ
ーと同様に行う。そしてその際、第7A図のステップ40に
示すように用紙左端位置を記憶しておく。
Next, in step 72, a skew check of the formatted paper to be printed and setting of the paper are performed. The flow of this step 72 is performed in the same manner as the flow shown in FIGS. 7A and 7B. At this time, the left end position of the sheet is stored as shown in step 40 of FIG. 7A.

次にステップ73においてn=1と置く。 Next, in step 73, n = 1 is set.

次にステップ74において、前記ステップ67でカード型
メモリMeに記憶された第n(最初はn=1)印字範囲デ
ータ(第6C図参照)から第n印字範囲の重心位置Gの座
標を算出する。
Next, in step 74, the coordinates of the center of gravity G of the n-th print range are calculated from the n-th (n = 1 at first) print range data (see FIG. 6C) stored in the card type memory Me in step 67. .

次にステップ75において、用紙Aを紙送りするととも
にキャリッジBを移動してイメージセンサImの受光素子
列の中心を前記第n印字範囲の重心位置へ移動させる。
このときの、用紙A上におけるイメージセンサImの相対
的位置の移動経路は第9A図の破線で示される。なお、イ
メージセンサImの移動(すなわち、キャリッジBの移
動)は常に前記ホームセンサSHの位置を基準として行
われる。したがってイメージセンサImは、前記重心点G
の前記ホームセンサSHを基準とするX座標の位置まで
移動させられる。そして、前記ホームセンサSHを基準
とする前記重心点GのX座標の値は、用紙が正しく(理
想状態で)セットされたと仮定したときの用紙を左端位
置の座標(ホームセンサSHを基準とする座標で既知の
座標)と、前記ステップ74で算出した用紙Aの左端を基
準位置とする重心点GのX座標との和である。
Next, in step 75, the sheet A is fed and the carriage B is moved to move the center of the light receiving element array of the image sensor Im to the center of gravity of the n-th printing range.
The moving path of the relative position of the image sensor Im on the sheet A at this time is indicated by a broken line in FIG. 9A. The movement of the image sensor Im (that is, the movement of the carriage B) is always performed with reference to the position of the home sensor SH. Therefore, the image sensor Im has the center of gravity G
Is moved to the position of the X coordinate based on the home sensor SH. The value of the X coordinate of the center of gravity G with respect to the home sensor SH is determined based on the coordinates of the left end position (based on the home sensor SH) when the paper is assumed to be set correctly (in an ideal state). This is the sum of the X coordinate of the center of gravity G with the left end of the sheet A calculated in step 74 as a reference position.

次にステップ76において用紙Aを紙送りすることによ
り、キャリッジB(イメージセンサIm)を第9A図で示す
ように用紙A上で上方へ移動させて、第n印字範囲の枠
の上縁を探索する。そして、印字用紙Aの上端を基準位
置とする第n印字範囲の枠の上縁のY座標の値(すなわ
ち、印字基準位置のY座標の値)yn′を記憶する。
Next, in step 76, by feeding the sheet A, the carriage B (image sensor Im) is moved upward on the sheet A as shown in FIG. 9A to search for the upper edge of the frame in the n-th printing range. I do. Then, the value of the Y coordinate of the upper edge of the frame of the n-th printing range with the upper end of the printing paper A as the reference position (that is, the value of the Y coordinate of the printing reference position) yn 'is stored.

次にステップ77において、キャリッジB(イメージセ
ンサIm)を第9A図で示すように用紙A上で前記枠の上縁
に沿って左方へ移動させて、第n印字範囲の枠の左側縁
を探索する。そして、印字用紙Aの左端を基準位置とす
る第n印字範囲の枠の左側縁のX座標の値(すなわち、
印字基準位置のX座標の値)xn′を記憶する。
Next, in step 77, the carriage B (image sensor Im) is moved to the left along the upper edge of the frame on the sheet A as shown in FIG. Explore. Then, the value of the X coordinate of the left edge of the frame of the n-th printing range with the left end of the printing paper A as the reference position (ie,
The value (x coordinate value) xn 'of the printing reference position is stored.

次にステップ78において、前記第6C図に示す第n印字
範囲データの相対垂直位置ynおよび相対水平位置xnを前
記yn′およびxn′で置き換えて得られる印字範囲指定デ
ータ(すなわち、第n印字範囲の枠の左上端位置を基準
とする印字範囲データ)で指定される領域に、第n印字
データ(第6D図参照)を印字する。この印字の際、n=
1の場合には、前記ホストコンピュータから受け取った
印字データ(第6D図参照)の中で最初のキャリッジリタ
ーンコードC/RおよびラインフィードコードL/Fで区切ら
れるまでのデータ1を前記を前記第1印字範囲指定デー
タで指定される印字範囲に印字する。
Next, in step 78, print range designation data (ie, the n-th print range) obtained by replacing the relative vertical position yn and the relative horizontal position xn of the n-th print range data shown in FIG. The n-th print data (see FIG. 6D) is printed in the area specified by the print range data based on the upper left position of the frame. At the time of this printing, n =
In the case of 1, the data 1 up to the first carriage return code C / R and the line feed code L / F in the print data received from the host computer (see FIG. 6D) are 1 Prints in the print range specified by the print range specification data.

次にステップ79においてn=n+1と置く。 Next, in step 79, n = n + 1 is set.

次にステップ80においてホストコンピュータから伝送
された全てのデータを印字したかどうか判断する。この
判断は伝送された印字データ(前記第6D図参照)がバッ
ファ(RAM)に残っていないかどうか、または、FF(改
ページ指令)の有無によりにより行う。ノーの場合は前
記ステップ74に戻り、イエスの場合はステップ81に移
る。
Next, in step 80, it is determined whether or not all the data transmitted from the host computer has been printed. This determination is made based on whether or not the transmitted print data (see FIG. 6D) remains in the buffer (RAM), or whether or not there is a FF (page break command). If no, the process returns to step 74, and if yes, the process proceeds to step 81.

ステップ81は、異なる印刷用紙数枚に続けて印字を行
うための処理である。このステップ81において、全ての
印刷用紙に印字したかどうか判断する。この判断は、第
6D図に示すFF(改ページ指令)の有無により行う。ノー
の場合は前記ステップ71に戻り、イエスの場合は処理を
終了する。
Step 81 is a process for performing printing on several different printing papers successively. In this step 81, it is determined whether or not printing has been performed on all printing papers. This decision
This is performed depending on the presence or absence of FF (page break command) shown in Fig. 6D. If no, the process returns to step 71, and if yes, the process ends.

次に第7E図および第9A図により説明した前記印字デー
タを所定のフォーマット用紙に印字する機能(すなわ
ち、第2図の印字基準位置検出手段S1および印字範囲補
正手段S2が有する機能)を実現するフロー(処理)の第
2実施例を、第7F図および第9B図により説明する。
Next, the function of printing the print data described above with reference to FIGS. 7E and 9A on a predetermined format paper (that is, the function of the print reference position detecting means S1 and the print range correcting means S2 of FIG. 2) is realized. A second embodiment of the flow (processing) will be described with reference to FIGS. 7F and 9B.

この印字フローでは、所定のフォーマット用紙として
印字範囲の左上端にマークM(第9B図参照)が印刷され
ている用紙を使用する。
In this print flow, a sheet on which a mark M (see FIG. 9B) is printed at the upper left corner of the print range is used as a predetermined format sheet.

この第7F図で示す印字フローの第2実施例は、前記第
7E図のステップ74〜78の処理の代わりに下記のステップ
84〜86の処理を行う点で前記第7E図と相違しているがそ
の他の処理は同じである。
The second embodiment of the printing flow shown in FIG.
The following steps are used instead of steps 74 to 78 in 7E
FIG. 7E is different from FIG. 7E in that steps 84 to 86 are performed, but the other steps are the same.

ステップ84において、用紙Aを紙送りするとともにキ
ャリッジBを移動してイメージセンサImの受光素子列の
最上段の受光素子を、メモリカード上の前記第n印字範
囲の左上端の位置(すなわち、前記ステップ65で記憶さ
れた左上端の位置)より左方へ2mm、上方へ2mmの位置に
移動させる。
In step 84, the paper A is fed and the carriage B is moved to move the uppermost light receiving element of the light receiving element row of the image sensor Im to the upper left position of the n-th printing range on the memory card (that is, the above-mentioned position). It is moved to a position 2 mm to the left and 2 mm upward from the upper left position stored in step 65).

次にステップ85において用紙Aを紙送りするととも
に、キャリッジB(イメージセンサIm)を移動させて、
第n印字範囲の左上端位置を中心とする4mm四方の領域
を探索し、印字基準位置となる前記印刷されたマークM
(第9B図参照)の位置X,Y座標の正確な値yn′,xn′を検
出し、記憶する。
Next, in step 85, the sheet A is fed, and the carriage B (image sensor Im) is moved.
A search is made for a 4 mm square area centered on the upper left position of the n-th printing range, and the printed mark M serving as a printing reference position is searched.
The correct values yn ', xn' of the position X, Y coordinates (see FIG. 9B) are detected and stored.

次にステップ86において、前記第6C図に示す第n印字
範囲データの相対垂直位置ynおよび相対水平位置xnを前
記yn′およびxn′で置き換えて得られる印字範囲指定デ
ータ(すなわち、第n印字範囲の枠の左上端位置を基準
とする印字範囲データ)で指定される領域に、第n印字
データ(第6D図参照)を印字する。
Next, in step 86, the print range designation data (ie, the n-th print range) obtained by replacing the relative vertical position yn and the relative horizontal position xn of the n-th print range data shown in FIG. The n-th print data (see FIG. 6D) is printed in the area specified by the print range data based on the upper left position of the frame.

以上、本考案によるシリアル型イメージスキャナプリ
ンタの実施例を詳述したが、本考案は、前述の実施例に
限定されるものではなく、実用新案登録請求の範囲に記
載された本考案を逸脱することなく、種々の設計変更を
行うことが可能である。
As described above, the embodiment of the serial type image scanner printer according to the present invention has been described in detail. However, the present invention is not limited to the above-described embodiment, and deviates from the present invention described in the claims for utility model registration. Various design changes can be made without the need.

たとえば、印字範囲データを記憶するメモリは、メモ
リ装着用コネクタに着脱自在な他の形状(たとえばカー
ド型ではなく、リードピン付ブロック形状)とすること
も可能であり、また、シリアル型イメージスキャナプリ
ンタ内部に離脱不能に内臓することも可能である。さら
に、印字範囲データはホストコンピュータから伝送する
ことも可能である。
For example, the memory for storing the print range data may have another shape (for example, not a card type but a block shape with lead pins) detachable from the memory mounting connector. It is also possible to have internal organs irremovably. Further, the print range data can be transmitted from the host computer.

また、前記ステップ33または37の処理において、1ス
キャン時の印字ライン数および読み取りライン数が24ラ
インの場合(すなわち、使用されている印字ドット数お
よび受光素子数が24個の場合)、前記1ステップの移動
量を24ライン分とすることも可能である。この場合、前
記ステップ33を一回実行する度に用紙は24ドット分移動
しているので、前記ステップ33をn回実行したとき、前
記24個の受光素子の下からm個が白(用紙検出)で、m
+1個以上が黒(プラテン検出)になった場合には、前
記基準位置から用紙上端の位置までのドット数は、24×
(n−1)+mとして算出される。なお、8ドット/mm
のドット密度の場合には前記24×(n−1)+mを8で
割ることにより、y1の値をmm単位で算出することも可能
である。
In the processing of step 33 or 37, when the number of print lines and the number of read lines in one scan is 24 (that is, when the number of print dots and the number of light receiving elements used are 24), The movement amount of the step can be set to 24 lines. In this case, the sheet is moved by 24 dots each time the step 33 is executed once. Therefore, when the step 33 is executed n times, m of the 24 light receiving elements from the bottom are white (paper detection). ), M
When +1 or more is black (platen detection), the number of dots from the reference position to the position of the top edge of the paper is 24 ×
It is calculated as (n-1) + m. 8 dots / mm
In the case of the dot density of, the value of y1 can be calculated in mm by dividing the above 24 × (n−1) + m by 8.

さらに、前記スキューの検出方法として、たとえば、
第10A,10B図に示すような方法を採用することも可能で
ある。すなわち、キャリッジBが主走査方向Xの所定位
置にあるとき(イメージセンサImが第10A図実線位置に
あるとき)に、24個の受光素子列の下側12個が用紙を検
出し、上側12個がプラテンPを検出する位置まで用紙A
を紙送りする。その状態で、キャリッジBを所定距離x0
だけ主走査方向Xに移動し、その移動位置(第10A図二
点鎖線、第10B図実線で示すイメージセンサImの位置)
で前記受光素子列の下側何個が用紙の白色を検出し、上
側何個がプランテンPの黒色を検出しているか調べるこ
とにより前記スキュー量を検出することができる。たと
えば、前記移動位置において第10B図に示すように、受
光素子列の下側r個が用紙を検出しており、上側24-r個
がプラテンPを検出している場合、そのスキュー量Q
は、Q=(r−12)/x0で算出することができる。この
場合予め、前記x0の値を設定しておくことにより、キャ
リッジBの位置検出信号を用いずにスキュー量Qを算出
することが可能である。さらにまた、第11図に示すよう
な方法でスキューQを検出することも可能である。すな
わち、キャリッジBが主走査方向Xの所定位置x01にあ
るとき(イメージセンサImが第11図実線位置にあると
き)に、24個の受光素子列の下側12個が用紙の白色を検
出し、上側12個がプラテンPの黒色を検出する位置まで
用紙Aを紙送りする。その状態でキャリッジBを主走査
方向Xに移動し、用紙の白色を検出する受光素子の数が
一個増減するまでの移動距離(たとえば24個の受光素子
列の下側13が白色を検出するまで、または上側13個が黒
色を検出するまでのキャリッジBの移動距離)xを検出
する。この移動距離xの大きさによってスキュー量を検
出することができる。
Further, as a method of detecting the skew, for example,
It is also possible to adopt a method as shown in FIGS. 10A and 10B. That is, when the carriage B is at a predetermined position in the main scanning direction X (when the image sensor Im is at the position indicated by the solid line in FIG. 10A), the lower 12 of the 24 light receiving element rows detect the sheet and the upper 12 Paper A until the position where the platen P is detected
Paper feed. In this state, the carriage B is moved a predetermined distance x0.
Only in the main scanning direction X, and the movement position (the position of the image sensor Im indicated by the two-dot chain line in FIG. 10A and the solid line in FIG. 10B)
The skew amount can be detected by examining how many lower parts of the light receiving element row detect white of the paper and how many upper parts detect black of the plantain P. For example, at the moving position, as shown in FIG. 10B, when the lower r number of light receiving element rows detect the paper and the upper 24-r number detect the platen P, the skew amount Q
Can be calculated by Q = (r−12) / x0. In this case, by setting the value of x0 in advance, it is possible to calculate the skew amount Q without using the position detection signal of the carriage B. Furthermore, the skew Q can be detected by a method as shown in FIG. That is, when the carriage B is at the predetermined position x01 in the main scanning direction X (when the image sensor Im is at the position of the solid line in FIG. 11), the lower 12 of the 24 light receiving element rows detect the white color of the paper. Then, the paper A is fed to a position where the upper 12 pieces detect the black color of the platen P. In this state, the carriage B is moved in the main scanning direction X, and the moving distance until the number of light receiving elements for detecting the white color of the paper increases or decreases by one (for example, until the lower side 13 of the 24 light receiving element rows detects white). Or the moving distance x of the carriage B until the upper 13 blacks are detected as black. The skew amount can be detected based on the magnitude of the moving distance x.

そして、第2図に示した本考案の各種手段を実現する
ための第5図の制御ユニットUは、マイコン22を用いて
構成する代わりに、ワイヤードロジックを用いて構成す
ることも可能である。
The control unit U shown in FIG. 5 for realizing the various means of the present invention shown in FIG. 2 can be configured using wired logic instead of using the microcomputer 22.

そしてまた、従来も行われているがホストコンピュー
タ25からシリアル型イメージスキャナプリンタ1に印字
データを送る際、第6E図に示すように印字データの前に
修飾コマンドを付けることにより、第6F図および第6G図
に示すように、印字位置を制御することも可能である。
第6F図は印字位置が横方向に種々制御された状態を示す
図であり、第6G図は印字位置が横方向には均等割り付け
で制御され、且つ縦方向に種々制御された状態を示す図
である。
In addition, when the print data is sent from the host computer 25 to the serial type image scanner printer 1 which has been conventionally performed, by adding a decoration command before the print data as shown in FIG. As shown in FIG. 6G, it is also possible to control the printing position.
FIG. 6F is a diagram showing a state in which the printing position is variously controlled in the horizontal direction, and FIG. 6G is a diagram showing a state in which the printing position is controlled in the horizontal direction by equal allocation and variously controlled in the vertical direction. It is.

C.考案の効果 前述の本考案のシリアル型イメージスキャナプリンタ
は、前記画像データ出力手段の出力信号と、画像データ
読取位置情報と、印字範囲データとを用い、印字範囲デ
ータによって定まる前記用紙上の所定の印字範囲の印字
基準位置を示す目印を検出して印字基準位置データを出
力する印字基準位置検出手段と、前記印字基準位置デー
タを用い前記印字範囲データを補正して前記印字範囲指
定データを出力する印字範囲補正手段とを設けたので、
シリアル型イメージスキャナプリンタにセットされた印
字用紙の実際のセット位置が所定の正しいセット位置か
らずれている場合や印字範囲データに誤差が含まれてい
る場合または用紙が変形している場合でも、印字用紙の
所定の印字範囲が正確に印字を行うことができる。
C. Effects of the Invention The serial image scanner printer of the invention described above uses the output signal of the image data output means, the image data reading position information, and the printing range data, and prints on the paper determined by the printing range data. A printing reference position detecting means for detecting a mark indicating a printing reference position of a predetermined printing range and outputting printing reference position data, and correcting the printing range data using the printing reference position data to obtain the printing range designation data. Since the print range correction means to output is provided,
Even if the actual setting position of the printing paper set in the serial image scanner printer is out of the predetermined correct setting position, the printing range data contains an error, or the paper is deformed, printing is performed. Printing can be performed accurately in a predetermined printing range of the paper.

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

第1図は本考案によるシリアル型イメージスキャナの構
成を示すクレーム対応図、第2図は本考案のシリアル型
イメージスキャナプリンタの一実施例が有する機能を示
す図、第3図は同シリアル型イメージスキャナの一実施
例とこれに接続されたホストコンピュータの外観図、第
4図は第2図の矢視III部分の拡大図、第5図は同実施
例の構成説明図、第6A,6B図は同実施例の作用の説明図
で第6A図は用紙Aの印字範囲A1,A2を示す図、第6B図は
その印字範囲データを読み取り走査する場合の説明図、
第6C図はメモリに記憶された前記印字範囲A1,A2のデー
タを示す図、第6D図はホストコンピュータから伝送され
る印字データの一例の説明図、第6E図はホストコンピュ
ータから伝送される印字データの他の一例の説明図、第
6F図および第6G図は前記第6E図に示す印字データによっ
て印字位置が制御された状態の説明図、第7A〜F図は同
実施例のフローチャート、第8A〜8F図は同実施例のスキ
ュー検出フローの説明図、第9A,9B図はそれぞれ印字フ
ローの異なる実施例の作用説明図、第10A,10B図は同実
施例のスキュー検出フローの第1変形例の説明図、第11
図は同実施例のスキュー検出フローの第2変形例の説明
図、第12,13図は従来のシリアル型イメージスキャナプ
リンタの概略説明図、第14図は所定のフォーマットを有
する用紙の所定の印字範囲に印字を行う場合の従来の作
業説明図である。 A……原稿、B……キャリッジ、H……印字ヘッド、Im
……イメージセンサ、D1……キャリッジ駆動装置、D2…
…用紙駆動装置、Me……メモリ(カード型メモリ)、P
プラテン、P a1……メモリ装着用コネクタ、Q……印字
信号出力手段、R……画像データ出力手段、S1……印字
基準位置検出手段、S2……印字範囲補正手段、S3……印
字範囲記憶出手段、S4……印字範囲検出手段、T1……キ
ャリッジ位置検出手段、T2……用紙位置検出手段、X…
…主走査方向、Y……副走査方向、
FIG. 1 is a claim correspondence diagram showing a configuration of a serial type image scanner according to the present invention, FIG. 2 is a diagram showing functions of an embodiment of the serial type image scanner printer of the present invention, and FIG. FIG. 4 is an external view of an embodiment of a scanner and a host computer connected to the scanner, FIG. 4 is an enlarged view of a portion III in FIG. 2, FIG. 5 is a configuration explanatory view of the embodiment, FIGS. 6A and 6B. FIG. 6A is a diagram illustrating the printing range A1 and A2 of the paper A, FIG. 6B is a diagram illustrating the reading and scanning of the printing range data,
FIG. 6C is a diagram showing the data of the print ranges A1 and A2 stored in the memory, FIG. 6D is an explanatory diagram of an example of print data transmitted from the host computer, and FIG. 6E is a print transmitted from the host computer. Explanatory drawing of another example of data,
6F and 6G are explanatory diagrams of a state in which the printing position is controlled by the printing data shown in FIG. 6E, FIGS. 7A to 7F are flowcharts of the embodiment, and FIGS. 8A to 8F are skews of the embodiment. FIGS. 9A and 9B are explanatory diagrams of an operation of an embodiment having different printing flows, and FIGS. 10A and 10B are explanatory diagrams of a first modification of the skew detection flow of the embodiment.
FIG. 12 is an explanatory view of a second modification of the skew detection flow of the embodiment, FIGS. 12 and 13 are schematic explanatory views of a conventional serial image scanner printer, and FIG. 14 is a predetermined printing on a sheet having a predetermined format. FIG. 11 is an explanatory diagram of a conventional operation when printing is performed in a range. A: Original, B: Carriage, H: Print head, Im
…… Image sensor, D1 …… Carriage drive device, D2…
… Paper drive, Me …… Memory (card type memory), P
Platen, Pa1 ... Memory mounting connector, Q ... Print signal output means, R ... Image data output means, S1 ... Print reference position detection means, S2 ... Print range correction means, S3 ... Print range storage Output means, S4 ... print range detecting means, T1 ... carriage position detecting means, T2 ... paper position detecting means, X ...
... Main scanning direction, Y ... Sub-scanning direction,

───────────────────────────────────────────────────── フロントページの続き (72)考案者 田村 武夫 大阪府大阪市淀川区宮原3丁目5番24号 日本電気ホームエレクトロニクス株式 会社内 (72)考案者 富樫 博朗 大阪府大阪市淀川区宮原3丁目5番24号 日本電気ホームエレクトロニクス株式 会社内 (56)参考文献 特開 昭61−54761(JP,A) ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Takeo Tamura 3-5-24 Miyahara, Yodogawa-ku, Osaka, Japan Inside the NEC Electronics Corporation (72) Inventor Hiroaki Togashi 3-chome, Miyahara, Yodogawa-ku, Osaka, Osaka No. 5-24 Inside NEC Home Electronics Co., Ltd. (56) References JP-A-61-54761 (JP, A)

Claims (3)

(57)【実用新案登録請求の範囲】(57) [Scope of request for utility model registration] 【請求項1】主走査方向(X)に延設されたプラテン
(P)の表面に沿って配置された用紙(A)を読取走査
するイメージセンサ(Im)および前記用紙(A)に印字
する印字ヘッド(H)を支持するキャリッジ(B)と、
このキャリッジ(B)を主走査方向(X)に沿って往復
駆動するキャリッジ駆動装置(D1)と、前記キャリッジ
(B)の位置信号(x1,x2,…)を出力するキャリッジ位
置検出手段(T1)と、前記用紙(A)を副走査方向
(Y)に所定ピッチで紙送りする用紙駆動装置(D2)
と、用紙(A)の位置信号(y1,y2,…)を出力する用紙
位置検出手段(T2)と、印字データおよび印字範囲指定
データが入力されるとともに印字範囲指定データで指定
される位置に前記印字ヘッド(H)が在るときに前記印
字データに応じた印字ヘッド駆動用の印字信号を出力す
る印字信号出力手段(Q)と、前記イメージセンサ(I
m)の出力信号に応じて前記用紙(A)の画像データを
出力する画像データ出力手段(R)と、を備えたシリア
ル型イメージスキャナプリンタにおいて、 前記画像データ出力手段(R)の出力信号と、画像デー
タ読取位置情報と、印字範囲データとを用い、印字範囲
データによって定まる前記用紙(A)上の所定の印字範
囲の印字基準位置を示すために印刷された目印を検出し
て印字基準位置データを出力する印字基準位置検出手段
(S1)と、前記印字基準位置データを用い前記印字範囲
データを補正して前記印字範囲指定データを出力する印
字範囲補正手段(S2)とを設けたシリアル型イメージス
キャナプリンタ。
1. An image sensor (Im) for reading and scanning a sheet (A) arranged along the surface of a platen (P) extending in a main scanning direction (X) and printing on the sheet (A). A carriage (B) for supporting the print head (H);
A carriage driving device (D1) for reciprocatingly driving the carriage (B) along the main scanning direction (X); and a carriage position detecting means (T1) for outputting position signals (x1, x2,...) Of the carriage (B). And a paper driving device (D2) for feeding the paper (A) at a predetermined pitch in the sub-scanning direction (Y).
Paper position detecting means (T2) for outputting a position signal (y1, y2,...) Of the paper (A), and a position where print data and print range designation data are inputted and designated by the print range designation data. A print signal output means (Q) for outputting a print signal for driving a print head according to the print data when the print head (H) is present;
m) for outputting image data of the sheet (A) in response to the output signal of (m), wherein the output signal of the image data output means (R) is Using the image data reading position information and the printing range data, detecting a mark printed to indicate a printing reference position of a predetermined printing range on the paper (A) determined by the printing range data, and detecting the printing reference position. A serial type provided with a printing reference position detecting means (S1) for outputting data, and a printing range correcting means (S2) for correcting the printing range data using the printing reference position data and outputting the printing range designation data; Image scanner printer.
【請求項2】メモリ装着用コネクタ(P a1)とこのメモ
リ装着用コネクタ(P a1)に着脱可能で且つ前記印字範
囲データを記憶する印字範囲メモリ(Me)とから構成さ
れた印字範囲記憶手段(S3)が設けらた請求項1記載の
シリアル型イメージスキャナプリンタ。
2. A printing range storage means comprising a memory mounting connector (Pa1) and a printing range memory (Me) detachable from the memory mounting connector (Pa1) and storing the printing range data. 2. The serial image scanner printer according to claim 1, wherein (S3) is provided.
【請求項3】前記画像データ出力手段(R)の出力信号
および画像データ読取位置情報を用いて用紙(A)の印
字範囲データを出力する印字範囲検出手段(S4)を設
け、この印字範囲検出手段(S4)の出力する前記印字範
囲データを前記印字範囲記憶手段(S3)に記憶させるよ
うにした請求項2記載のシリアル型イメージスキャナプ
リンタ。
3. A printing range detecting means (S4) for outputting printing range data of a sheet (A) using an output signal of said image data output means (R) and image data reading position information, and detecting said printing range. 3. The serial image scanner printer according to claim 2, wherein said print range data output by said means (S4) is stored in said print range storage means (S3).
JP1990013532U 1990-02-14 1990-02-14 Serial type image scanner printer Expired - Lifetime JP2548019Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1990013532U JP2548019Y2 (en) 1990-02-14 1990-02-14 Serial type image scanner printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1990013532U JP2548019Y2 (en) 1990-02-14 1990-02-14 Serial type image scanner printer

Publications (2)

Publication Number Publication Date
JPH03105062U JPH03105062U (en) 1991-10-31
JP2548019Y2 true JP2548019Y2 (en) 1997-09-17

Family

ID=31516943

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1990013532U Expired - Lifetime JP2548019Y2 (en) 1990-02-14 1990-02-14 Serial type image scanner printer

Country Status (1)

Country Link
JP (1) JP2548019Y2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2605064C2 (en) * 2012-06-20 2016-12-20 БРАУН ГмбХ Personal appliance with sensor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6154761A (en) * 1984-08-24 1986-03-19 Brother Ind Ltd Image input device

Also Published As

Publication number Publication date
JPH03105062U (en) 1991-10-31

Similar Documents

Publication Publication Date Title
US7530686B2 (en) Recording method, recording apparatus, and computer-readable storage medium for performing borderless recording on skewed media
US5083218A (en) Hand-held image reading apparatus
US8646866B2 (en) Recording apparatus, recording method, program, and computer system
CN1524702A (en) Method and apparatus for printing on a partially-printed medium
AU2007203556B2 (en) Calibration chart configuration system
JP2548019Y2 (en) Serial type image scanner printer
US11934708B2 (en) Image forming device and control method of image forming device that implement an adjustment pattern group for liquid adjustment
JP2534410Y2 (en) Serial type image scanner printer
RU2477512C1 (en) Recording device and processing method executed by recording device
CN1138633C (en) Image forming device
JPH08298568A (en) Input/output equipment
JPH07242044A (en) Recording apparatus
JP2523862Y2 (en) Serial type image scanner printer
JP2001058396A (en) Printer
CN1055436C (en) Ideographic typewriter and method
JPH0451657A (en) Serial type image scanner printer
JP3523370B2 (en) Data symbol reading device
CN113199876B (en) Printing apparatus and control method
JP5750292B2 (en) Electronic blackboard equipment
JP2005267485A (en) Image forming system
JPH0619244Y2 (en) Image scanner
US6535145B1 (en) Ideographic keyboard and method
JPS60208156A (en) Picture printer
JPH07287477A (en) Image forming device
JP5775743B2 (en) Electronic blackboard equipment