JP3369397B2 - Printing device and deviation test pattern printed by this device - Google Patents

Printing device and deviation test pattern printed by this device

Info

Publication number
JP3369397B2
JP3369397B2 JP07404696A JP7404696A JP3369397B2 JP 3369397 B2 JP3369397 B2 JP 3369397B2 JP 07404696 A JP07404696 A JP 07404696A JP 7404696 A JP7404696 A JP 7404696A JP 3369397 B2 JP3369397 B2 JP 3369397B2
Authority
JP
Japan
Prior art keywords
scale
print
deviation
printing
printing unit
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 - Fee Related
Application number
JP07404696A
Other languages
Japanese (ja)
Other versions
JPH08324012A (en
Inventor
要 伊賀
市川  隆
則安 藤井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Tec Corp
Original Assignee
Toshiba Tec 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 Toshiba Tec Corp filed Critical Toshiba Tec Corp
Priority to JP07404696A priority Critical patent/JP3369397B2/en
Publication of JPH08324012A publication Critical patent/JPH08324012A/en
Application granted granted Critical
Publication of JP3369397B2 publication Critical patent/JP3369397B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Impression-Transfer Materials And Handling Thereof (AREA)
  • Record Information Processing For Printing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Electronic Switches (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、一般に複数の画
像を用紙に重ねて印字する印字装置に関し、例えばこれ
ら画像の色を色成分とするカラー画像を形成するために
用いられる印字装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention generally relates to a printing apparatus which prints a plurality of images by superimposing them on a sheet, and more particularly to a printing apparatus which is used to form a color image having the colors of these images as color components.

【0002】[0002]

【従来の技術】カラー印字可能な印字装置は、それぞれ
イエロー,マゼンタ,シアン及びブラックの熱可溶性イ
ンクリボンを用いて印字を行なう4個の印字ユニットを
備える。 これら印字ユニットは用紙搬送路に沿って送
られる用紙に上述した色の色成分画像を重ねて印字する
ことによりカラー画像を形成する。各印字ユニットは用
紙を送るために用紙搬送路に直角に設定されるプラテン
ローラと、対応色の熱可溶性インクリボンを介してプラ
テンローラ上の用紙に押し当てられるサーマル印字ヘッ
ドとを有する。各サーマル印字ヘッドは、対応プラテン
ローラに対向して一列に並ぶ複数のドット発熱素子を有
し、対応色の色成分画像を形成するためにこれらドット
発熱素子により熱可溶性インクリボンのインクをドット
単位に熱溶融させ、溶融したインクを用紙に圧着させ
る。
2. Description of the Related Art A printing device capable of color printing comprises four printing units for printing using heat-soluble ink ribbons of yellow, magenta, cyan and black, respectively. These printing units form a color image by superposing and printing the color component images of the above-mentioned colors on the paper fed along the paper feed path. Each printing unit has a platen roller that is set at right angles to the paper transport path for feeding the paper, and a thermal print head that is pressed against the paper on the platen roller via a heat-soluble ink ribbon of the corresponding color. Each thermal print head has a plurality of dot heating elements arranged in a line facing the corresponding platen roller, and the dots of the ink of the heat-soluble ink ribbon are formed by these dot heating elements in order to form a color component image of the corresponding color. The ink is melted by heat and the melted ink is pressed against the paper.

【0003】このカラープリンタでは、4つの色成分画
像がカラー画像を形成するために適切に重ねられる必要
がある。これら色成分画像の印字位置は部品の成型及び
取付のような機械的要因あるいは印字タイミングの制御
のような電気的な要因によって相対的にずれる。これ
は、各色の印字ドットが他色の印字ドットに完全に重な
らない”色ずれ”として観察される。例えばサーマル印
字ヘッドの取付精度には限界があるため、この色ずれが
生産ラインで生じることは避けられない。従来の製品検
査では、検査員(オペレータ)がカラープリンタに偏差
テストパターンを印字させ、色成分画像の印字位置の相
対的なずれ、すなわち誤差を測定するために顕微鏡等を
用いて偏差テストパターンをチェックする。
In this color printer, four color component images need to be properly overlaid to form a color image. The printing positions of these color component images are relatively displaced due to mechanical factors such as molding and mounting of parts or electrical factors such as control of printing timing. This is observed as "color shift" in which the print dots of each color do not completely overlap the print dots of the other colors. For example, since the mounting accuracy of the thermal print head is limited, it is inevitable that this color shift will occur in the production line. In conventional product inspection, an inspector (operator) prints a deviation test pattern on a color printer, and the deviation test pattern is measured using a microscope or the like in order to measure the relative deviation of the printing positions of the color component images, that is, the error. To check.

【0004】図22は用紙搬送路に直角な主走査方向X
における位置ずれを測定するために印字された第1偏差
テストパターンを示し、図23は用紙搬送路に平行な副
走査方向Pにおける位置ずれを測定するために印字され
た第2偏差テストパターンを示す図である。これら第1
及び第2偏差テストパターンの各々はブラックバー1
1、イエローバー12、マゼンタバー13、及びシアン
バー14で構成される。ここで、ブラックバー11は他
のバー12、13、及び14の合計の長さよりも長い基
準バーとして設けられ、これらバー12、13、及び1
4はブラックバー11に平行でかつ所定距離Dだけ離さ
れるバーとして設けられる。バー11,12,13,1
4は、第1偏差テストパターンで主走査方向Xに直角に
伸び、第2偏差パターンにおいて副走査方向Pで直角に
伸びる。イエローバー12、マゼンタバー13、及びシ
アンバー14は、図22及び図23において破線で示す
位置に所定距離Dに対応して形成されなくてはならな
い。ところが実際の印字では、この位置からずれた実線
で示す位置に形成されることがある。こうした位置ずれ
はバー12から14の各々とバー11との間の距離と所
定距離Dとの差として測定され、この差をなくすように
バー12、13、及び14の印字位置がバー11の印字
位置に対して調整される。
FIG. 22 shows the main scanning direction X which is perpendicular to the paper transport path.
FIG. 23 shows a first deviation test pattern printed for measuring the positional deviation in FIG. 23, and FIG. 23 shows a second deviation test pattern printed for measuring the positional deviation in the sub-scanning direction P parallel to the paper transport path. It is a figure. These first
And each of the second deviation test patterns is a black bar 1
1, a yellow bar 12, a magenta bar 13, and a cyan bar 14. Here, the black bar 11 is provided as a reference bar longer than the total length of the other bars 12, 13, and 14, and these bars 12, 13, and 1 are provided.
4 is provided as a bar parallel to the black bar 11 and separated by a predetermined distance D. Bars 11, 12, 13, 1
Reference numeral 4 denotes the first deviation test pattern which extends at right angles in the main scanning direction X, and the second deviation pattern extends at right angles in the sub-scanning direction P. The yellow bar 12, the magenta bar 13, and the cyan bar 14 must be formed at the positions indicated by broken lines in FIGS. 22 and 23 so as to correspond to the predetermined distance D. However, in actual printing, it may be formed at a position indicated by a solid line deviating from this position. Such positional deviation is measured as a difference between the distance between each of the bars 12 to 14 and the bar 11 and the predetermined distance D, and the printing positions of the bars 12, 13, and 14 are printed by the bar 11 so as to eliminate this difference. Adjusted for position.

【0005】[0005]

【発明が解決しようとする課題】しかし、上述の検査方
法は顕微鏡のような道具を使用せずに位置ずれの測定を
行なうのが難しいという欠点を持つ。顕微鏡の使用は検
査員(オペレータ)の負担を増大させるという問題があ
る。さらに、印字位置の調整精度及び調整時間はこのオ
ペレータの熟練度に依存するという問題がある。
However, the above-mentioned inspection method has a drawback that it is difficult to measure the displacement without using a tool such as a microscope. There is a problem that the use of the microscope increases the burden on the inspector (operator). Further, there is a problem that the adjustment accuracy and the adjustment time of the print position depend on the skill level of the operator.

【0006】そこで、この発明の第1の目的は、用紙上
で重ねられる複数の画像の印字位置相互のずれを容易か
つ高精度で測定可能な偏差テストパターンを印字可能な
印字装置を提供することにある。
Therefore, a first object of the present invention is to provide a printer capable of printing a deviation test pattern capable of easily and highly accurately measuring the deviation between the printing positions of a plurality of images superimposed on a sheet. It is in.

【0007】また、この発明の第2の目的は、用紙上で
重ねられる複数の画像の印字位置相互のずれをこの偏差
テストパターンを用いて自動的に解消できる印字装置を
提供することにある。
A second object of the present invention is to provide a printer capable of automatically eliminating a shift between print positions of a plurality of images superimposed on a sheet by using this deviation test pattern.

【0008】また、この発明の第3の目的は、用紙上で
重ねられる複数の画像の印字位置相互のずれを容易かつ
高精度で測定可能な偏差テストパターンを提供すること
にある。
[0008] A third object of the present invention is to provide a measurable deviation test pattern a plurality of printing position mutual displacement of the image to be overlaid on the paper easily and highly accurately.

【0009】[0009]

【課題を解決するための手段】請求項1対応の発明は、
画像を重ねて印字可能に配置される複数の印字ユニット
と、 画像を重ねて印字するためにこれら印字ユニット
を制御する印字制御回路とを備え、前記印字制御回路は
テストモードにおいてこれら印字ユニットのうちの1基
準印字ユニットを制御して1偏差測定方向においてピッ
チMで並べられる複数の目盛バーを持つ基準スケールを
印字させ、前記基準印字ユニット以外の印字ユニットを
制御して前記1偏差測定方向においてピッチMから僅か
に異なるピッチNで並べられる目盛バーを持つ差分スケ
ールを前記基準スケールに隣接して並列に印字させ、前
記基準スケール及び差分スケールとにより構成される偏
差テストパターンから前記1偏差測定方向において前記
1基準印字ユニットの印字位置に対する他の印字ユニッ
トの印字位置のずれを測定し、前記他の印字ユニットの
印字位置を前記測定結果に応じて変更するテスト制御回
路と、前記基準印字ユニットを制御して前記1偏差測定
方向と異なる他の偏差測定方向においてピッチMで並べ
られる複数の目盛バーを持つ基準スケールを印字させ、
前記基準印字ユニット以外の印字ユニットを制御して前
記他の偏差測定方向においてピッチMから僅かに異なる
ピッチNで並べられる目盛バーを持つ差分スケールを前
記基準スケールに隣接して並列に印字させ、前記基準ス
ケール及び前記差分スケールとにより構成される第2の
偏差テストパターンから前記他の偏差測定方向において
前記基準印字ユニットの印字位置に対する前記他の印字
ユニットの印字位置のずれを測定し、前記他の印字ユニ
ットの印字位置を前記測定結果に応じて変更する第2の
テスト制御回路を有するものである。請求項2対応の発
明は、画像を重ねて印字可能に配置される複数の印字ユ
ニットのうちの1基準印字ユニットにより印字され1偏
差測定方向においてピッチMで並べられる複数の目盛バ
ーを持つ基準スケールと、前記1基準印字ユニット以外
の印字ユニットにより前記1基準スケールに隣接して並
列に印字され前記1偏差測定方向においてピッチMから
僅かに異なるピッチNで並べられる目盛バーを持つ差分
スケールと、前記ピッチNを前記ピッチMよりも所定長
だけ短かくして前記基準スケール及び前記差分スケール
で構成される第1詳細スケール部と、前記基準印字ユニ
ットにより印字され前記1偏差測定方向において前記ピ
ッチMで並べられる複数の目盛バーを持つ基準スケール
並びに、前記1基準印字ユニット以外の印字ユニットに
より前記基準スケールに隣接して並列に印字され前記1
偏差測定方向において前記ピッチMよりも前記所定長だ
け長いピッチLで並べられる目盛バーを持つ差分スケー
ルで構成される第2詳細スケール部とを有するものであ
る。請求項3対応の発明は、請求項2の発明において、
前記1基準印字ユニットにより印字され前記1偏差測定
方向において前記ピッチMで並べられる複数の目盛バー
を持つ基準スケール並びに、前記1基準印字ユニット以
外の印字ユニットにより前記基準スケールに隣接して並
列に印字され、前記基準スケールにおいて中央に位置す
る目盛バーと一直線に並らぶ目盛バーで構成される概略
スケール部とを有するものである。
The invention according to claim 1 is
Multiple printing units arranged so that images can be printed on top of each other
And these printing units to print images in layers.
And a print control circuit for controlling the
One of these printing units in test mode
The semi-printing unit is controlled to pick up in one deviation measurement direction.
A standard scale with multiple scale bars arranged
Print, and print units other than the standard print unit
It is controlled to slightly decrease from the pitch M in the 1 deviation measurement direction.
Difference scale with scale bars arranged at different pitches N
Print in parallel next to the standard scale,
A bias composed of a reference scale and a difference scale.
From the difference test pattern in the one deviation measurement direction
1 Other printing unit for the printing position of the reference printing unit
Of the printing position of the
Test control circuit that changes the print position according to the measurement results
And a reference scale having a plurality of scale bars arranged at a pitch M in another deviation measuring direction different from the one deviation measuring direction by controlling the reference printing unit,
A printing unit other than the reference printing unit is controlled to print a difference scale having scale bars arranged at a pitch N slightly different from the pitch M in the other deviation measurement direction in parallel adjacent to the reference scale; The deviation of the printing position of the other printing unit with respect to the printing position of the reference printing unit is measured in the other deviation measurement direction from the second deviation test pattern composed of the reference scale and the difference scale, and the other deviation measurement pattern is measured. It has a second test control circuit for changing the printing position of the printing unit according to the measurement result. The invention according to claim 2 is a reference scale having a plurality of scale bars which are printed by one reference printing unit of a plurality of printing units which are arranged so as to print images in an overlapping manner and which are arranged at a pitch M in one deviation measurement direction. A difference scale having scale bars printed in parallel adjacent to the one reference scale by a printing unit other than the one reference printing unit and arranged at a pitch N slightly different from the pitch M in the one deviation measurement direction; The pitch N is made shorter than the pitch M by a predetermined length, and a first detailed scale portion configured by the reference scale and the difference scale, and printed by the reference printing unit and arranged at the pitch M in the one deviation measuring direction. For reference scales with multiple scale bars and printing units other than the 1-reference printing unit Ri is printed in parallel and adjacent to said reference scale the 1
The second detailed scale section is composed of a difference scale having graduation bars arranged at a pitch L longer than the pitch M by the predetermined length in the deviation measuring direction. The invention corresponding to claim 3 is the same as the invention of claim 2,
A reference scale having a plurality of scale bars printed by the one reference printing unit and arranged at the pitch M in the one deviation measurement direction, and printed in parallel by a printing unit other than the one reference printing unit adjacent to the reference scale. The reference scale has a scale bar located at the center and a schematic scale portion composed of scale bars aligned in a straight line.

【0010】[0010]

【0011】[0011]

【0012】[0012]

【0013】[0013]

【0014】[0014]

【発明の実施の形態】以下、この発明の第1の実施の形
態を図1乃至図16を参照して説明する。このカラープ
リンタは、ラベル用紙またはタグ用紙に複数の色成分画
像を重ねて印字し、これら色成分画像によりカラー画像
を形成する印字装置として用いられる。ラベル用紙は複
数のラベルが利用可能領域として直列に並び、隣接する
2つのラベル間にギャップが設けられた用紙であり、タ
グ用紙は複数のタグが利用可能領域として直列に並び、
各タグの裏面に印字位置決めのためのマークが予め印刷
された用紙である。
BEST MODE FOR CARRYING OUT THE INVENTION A first embodiment of the present invention will be described below with reference to FIGS. This color printer is used as a printing apparatus that prints a plurality of color component images by superimposing them on a label paper or a tag paper, and forms a color image by these color component images. A label sheet is a sheet in which a plurality of labels are arranged in series as an available area and a gap is provided between two adjacent labels, and a tag sheet is a sheet in which a plurality of tags are arranged in an available area.
It is a sheet of paper on which a mark for printing positioning is printed in advance on the back surface of each tag.

【0015】図1はこのカラープリンタ20の内部構造
を概略的に示す図である。このカラープリンタ20は、
4個の印字ユニット21Y,21M,21C及び21
B、用紙ホルダ26、1対の搬送ローラ27、用紙切れ
センサ28、及び位置センサ29を備える。前記用紙ホ
ルダ26は、ラベル用紙またはタグ用紙のロール25を
回転自在に支持する。前記1対の搬送ローラ27は、用
紙ホルダ26から用紙を引き出して、用紙搬送路23に
供給する。前記印字ユニット21Y,21M,21C及
び21Bは、ドット印字ラインが平行となるように前記
用紙搬送路23上に等間隔で並べられ、イエロー,マゼ
ンタ,シアン及びブラックの色成分画像を、この用紙搬
送路23に沿って送られる用紙の一利用可能領域に重ね
て印字することによりカラー画像を形成する。
FIG. 1 is a diagram schematically showing the internal structure of the color printer 20. This color printer 20
4 printing units 21Y, 21M, 21C and 21
B, a paper holder 26, a pair of conveyance rollers 27, a paper shortage sensor 28, and a position sensor 29. The paper holder 26 rotatably supports a roll 25 of label paper or tag paper. The pair of conveying rollers 27 pulls out the sheet from the sheet holder 26 and supplies the sheet to the sheet conveying path 23. The printing units 21Y, 21M, 21C, and 21B are arranged at equal intervals on the paper transport path 23 so that the dot printing lines are parallel to each other, and the yellow, magenta, cyan, and black color component images are transferred to the paper transport path 23. A color image is formed by superposing and printing on one usable area of the paper fed along the path 23.

【0016】前記用紙切れセンサ28は、前記用紙ホル
ダ26及び前記搬送ローラ27間において用紙切れを検
出するために用いられ、例えば用紙切れを特定するため
に用紙の後端を検出する光透過型のエンドセンサで構成
される。前記位置センサ29は、前記印字ユニット21
Bと前記搬送ローラ27との間において用紙の利用可能
領域の位置を検出するために用いられ、例えばラベル用
紙の利用時に利用可能領域の位置を特定するためにギャ
ップを検出する光透過型のギャップセンサと、タグ用紙
の利用時に利用可能領域の位置を特定するためにマーク
を検出する光反射型のマークセンサとで構成される。
The paper-out sensor 28 is used to detect a paper-out between the paper holder 26 and the transport roller 27, and is, for example, a light-transmissive type that detects the trailing edge of the paper to identify the paper-out. It is composed of end sensors. The position sensor 29 is connected to the print unit 21.
A light-transmissive gap that is used to detect the position of the usable area of the sheet between B and the conveyance roller 27, and detects the gap to specify the position of the usable area when the label sheet is used, for example. It is composed of a sensor and a light-reflecting mark sensor that detects a mark in order to identify the position of the usable area when the tag paper is used.

【0017】前記印字ユニット21Y,21M,21C
及び21Bは、6インチ幅の用紙に印字できるサーマル
印字ヘッド22Y,22M,22C及び22Bと、プラ
テンローラ24Y,24M,24C及び24Bと、リボ
ンマガジン30Y,30M,30C及び30Bとをそれ
ぞれ有する。前記プラテンローラ24Y,24M,24
C及び24Bは、用紙搬送路23に直角に設定され、用
紙搬送路23の出口まで用紙を送るために搬送ローラ2
7と共に回転する。前記リボンマガジン30Y,30
M,30C及び30Bは、それぞれイエロー、マゼン
タ、シアン及びブラックの熱可溶性インクリボンを収容
し、前記印字ユニット21Y,21M,21C及び21
Bに着脱自在に装着される。
The printing units 21Y, 21M, 21C
And 21B have thermal print heads 22Y, 22M, 22C and 22B capable of printing on 6-inch wide paper, platen rollers 24Y, 24M, 24C and 24B, and ribbon magazines 30Y, 30M, 30C and 30B, respectively. The platen rollers 24Y, 24M, 24
C and 24B are set at right angles to the paper transport path 23, and transport rollers 2 are provided to transport the paper to the exit of the paper transport path 23.
Rotate with 7. The ribbon magazines 30Y, 30
M, 30C and 30B respectively contain yellow, magenta, cyan and black heat-soluble ink ribbons, and the printing units 21Y, 21M, 21C and 21
It is removably attached to B.

【0018】前記サーマル印字ヘッド22Y,22M,
22C及び22Bは、それぞれ前記リボンマガジン30
Y,30M,30C及び30からフィードされる熱可溶
性インクリボンを介して、前記プラテンローラ24Y,
24M,24C及び24B上の用紙に押し当てられる。
これらの前記サーマル印字ヘッド22Y,22M,22
C及び22Bの各々は、対応するプラテンローラに対向
して一列に並ぶ複数のドット発熱素子を有し、対応色の
色成分画像を印字するために、熱可溶性インクリボンの
インクをこれら発熱素子により画素となるドット単位で
熱溶融させこれを用紙に圧着する。
The thermal print heads 22Y, 22M,
22C and 22B are the ribbon magazines 30 respectively.
The platen roller 24Y, through the heat-soluble ink ribbon fed from Y, 30M, 30C and 30
It is pressed against the sheets on 24M, 24C and 24B.
These thermal print heads 22Y, 22M, 22
Each of C and 22B has a plurality of dot heating elements arranged in a line so as to face the corresponding platen roller, and in order to print the color component image of the corresponding color, the inks of the heat-soluble ink ribbon are heated by these heating elements. It is melted by heat in units of dots that form pixels, and this is pressed onto paper.

【0019】図2は、このカラープリンタ20の制御回
路を示す図である。この制御回路は、同時並列的に動作
可能なシステム制御部CT1及び印字制御部CT2を有
する。前記システム制御部CT1は、カラープリンタ2
0全体を制御するCPU( central processing unit)3
1、CPU31の制御プログラム及びその他の固定デー
タを格納するROM(read only memory)32、CPU3
1に入出力されるデータを一時的に格納するRAM(ran
dom access memory)33、CPU31に様々な周辺機器
を接続するための入出力ポート(input and output port
)34、外部のホストコンピュータから印字データ、印
字サイズデータ、印字フォーマットデータ等を制御コマ
ンドとして受信する通信インタフェース35、様々なデ
ータ及び信号を伝送するシステムバス36、オペレータ
により操作されるキーボード37、このキーボード37
からのキー信号を検出するキーボードコントローラ3
8、カラープリンタ20の動作状態等を表示する表示器
39、表示器39を制御する表示コントローラ40、及
び前記制御CT1から前記制御CT2に転送される様々
なデータを一時的に格納する通信バッファとなるデュア
ルポートRAM( D・P・RAM )41を有する。
FIG. 2 is a diagram showing a control circuit of the color printer 20. This control circuit has a system control unit CT1 and a print control unit CT2 that can operate in parallel simultaneously. The system control unit CT1 includes a color printer 2
0 CPU (central processing unit) that controls the whole 3
1. ROM (read only memory) 32 for storing the control program of the CPU 31 and other fixed data, CPU 3
RAM (ran that temporarily stores the data input / output to / from
dom access memory) 33, input / output port for connecting various peripheral devices to the CPU 31
) 34, a communication interface 35 for receiving print data, print size data, print format data, etc. as control commands from an external host computer, a system bus 36 for transmitting various data and signals, a keyboard 37 operated by an operator, Keyboard 37
Keyboard controller 3 for detecting key signals from
8, a display 39 for displaying the operating state of the color printer 20, a display controller 40 for controlling the display 39, and a communication buffer for temporarily storing various data transferred from the control CT1 to the control CT2. It has a dual port RAM (DP RAM) 41.

【0020】前記CPU31は、前記システムバス36
を介して、上述の回路構成部品32,33,34,3
5,38,40,及び41に接続される。前記表示コン
トローラ40は前記表示器39に接続され、前記キーボ
ードコントローラ38は前記キーボード37に接続され
る。このキーボート37はノーマルモード設定命令、テ
ストモード設定命令、数値データ等を入力するために用
いられる。前記RAM33は、イエロー、マゼンタ、シ
アン及びブラックという4色成分のドットイメージデー
タ及び様々な印字制御データを格納する領域を有する。
The CPU 31 is connected to the system bus 36.
Via the above-mentioned circuit components 32, 33, 34, 3
5, 38, 40, and 41. The display controller 40 is connected to the display 39, and the keyboard controller 38 is connected to the keyboard 37. The keyboard 37 is used for inputting a normal mode setting command, a test mode setting command, numerical data and the like. The RAM 33 has an area for storing dot image data of four color components of yellow, magenta, cyan and black and various print control data.

【0021】前記印字制御部CT2は、前記デュアルポ
ートRAM41に一時的に格納されたドットイメージデ
ータ及び印字制御データを処理するCPU42、このC
PU42の制御プログラム及び初期印字位置データ、そ
の他の固定データを格納するROM43、CPU42に
入出力されるデータを一時的に格納するRAM44、デ
ュアルポートRAM41から所定数のライン分ずつ転送
される4色成分のドットデータを一時的に格納する印字
バッファ45、様々なデータ及び信号を伝送するシステ
ムバス46、前記サーマル印字ヘッド22Y,22M,
22C及び22Bで構成されるヘッド部22、ヘッド部
22を駆動するヘッドコントロール部47、前記プラテ
ンローラ24Y,24M,24C,24B及び前記搬送
ローラ27に駆動力を供給するフィードモータ部48、
前記インクリボン30Y,30M,30C及び30Bに
駆動力を供給するリボンモータ部49、これらのフィー
ドモータ部48及びリボンモータ部49を制御するモー
タコントロール部50、テストモードで設定される補正
データを持続的に格納する不揮発性RAM51、前記位
置センサ29から前記印字ヘッド22B,22C,22
M及び22Yまでの距離に対応して決められた第1、第
2,第3及び第4の用紙搬送ステップ数を格納し、この
ステップ数をそれぞれカウントするタイマーカウンタ5
2及び、前記用紙切れセンサ28、前記位置センサ2
0、その他のセンサで構成されるセンサ群SNを有す
る。
The print controller CT2 processes the dot image data and print control data temporarily stored in the dual port RAM 41, and the CPU 42,
A ROM 43 for storing a control program of the PU 42, initial print position data, and other fixed data, a RAM 44 for temporarily storing data input / output to / from the CPU 42, and a four-color component transferred from the dual port RAM 41 for each predetermined number of lines. Print buffer 45 for temporarily storing the dot data of the above, a system bus 46 for transmitting various data and signals, the thermal print heads 22Y, 22M,
A head unit 22 composed of 22C and 22B, a head control unit 47 for driving the head unit 22, a feed motor unit 48 for supplying a driving force to the platen rollers 24Y, 24M, 24C, 24B and the transport roller 27,
A ribbon motor unit 49 that supplies a driving force to the ink ribbons 30Y, 30M, 30C, and 30B, a motor control unit 50 that controls the feed motor unit 48 and the ribbon motor unit 49, and correction data set in a test mode is maintained. Non-volatile RAM 51 for temporarily storing the printheads 22B, 22C, 22 from the position sensor 29.
A timer counter 5 for storing the number of first, second, third and fourth sheet conveyance steps determined corresponding to the distances to M and 22Y and counting the number of steps respectively.
2, the paper out sensor 28, the position sensor 2
It has a sensor group SN composed of 0 and other sensors.

【0022】前記CPU42は、システムバス46を介
して回路構成部品43,44,45,47,50,5
1,及び52に接続される。前記ヘッド部22は前記ヘ
ッドコントロール部47に接続され、前記フィードモー
タ部48及び前記リボンモータ部49は前記モータコン
トロール部50に接続される。前記CPU42は、前記
センサ群SN及び前記タイマーカウンタ52にそれぞれ
接続される割込端子を有する。前記フィードモータ部4
8は、前記プラテンローラ24Y,24M,24C,2
4B用のパルスモータと前記搬送ローラ27用のパルス
モータとで構成され、これらパルスモータの速度は調整
可能である。前記タイマーカウンタ52は、前記フィー
ドモータ部48のパルスモータを駆動する駆動パルスの
数を用紙搬送ステップ数としてカウントする。
The CPU 42 has circuit components 43, 44, 45, 47, 50, 5 via a system bus 46.
1, and 52. The head section 22 is connected to the head control section 47, and the feed motor section 48 and the ribbon motor section 49 are connected to the motor control section 50. The CPU 42 has interrupt terminals connected to the sensor group SN and the timer counter 52, respectively. The feed motor unit 4
8 is the platen rollers 24Y, 24M, 24C, 2
It is composed of a pulse motor for 4B and a pulse motor for the conveying roller 27, and the speeds of these pulse motors can be adjusted. The timer counter 52 counts the number of drive pulses for driving the pulse motor of the feed motor section 48 as the number of sheet carrying steps.

【0023】図3は、前記ヘッドコントロール部47及
び前記ヘッド部22の関係をさらに詳細に示す図であ
る。前記サーマル印字ヘッド22Y,22M,22C及
び22Bの各々は、例えば1280個のドット発熱素子
H1からH1280を前述した複数のドット発熱素子と
して有し、さらに図4に示すように1280ドット分の
ラインバッファを構成する2個の640ビットシフトレ
ジスタSR1及びSR2を有する。前記シフトレジスタ
SR1の第1から第640ビットは、ドット発熱素子H
1からH640にそれぞれ接続され、シフトレジスタS
R2の第1から第640ビットはドット発熱素子H64
1からH1280にそれぞれ接続される。
FIG. 3 is a diagram showing the relationship between the head control section 47 and the head section 22 in more detail. Each of the thermal print heads 22Y, 22M, 22C and 22B has, for example, 1280 dot heating elements H1 to H1280 as a plurality of dot heating elements described above, and further, as shown in FIG. It has two 640-bit shift registers SR1 and SR2. The 1st to 640th bits of the shift register SR1 correspond to the dot heating element H.
1 to H640 respectively, the shift register S
The first to 640th bits of R2 are the dot heating element H64
1 to H1280 respectively.

【0024】前記ヘッドコントロール部47は、前記サ
ーマル印字ヘッド22Y,22M,22C及び22Bに
それぞれ接続される4個のヘッドコントローラ48Y,
48M,48C及び48Bを有する。これらのヘッドコ
ントローラ48Y,48M,48C及び48Bの各々
は、印字バッファ45から対応色成分のドットデータを
1ライン分ずつ直接的に読出すことが可能である。1ラ
イン分のドットデータDATAは、印字ヘッドのドット
印字ラインに平行な主走査方向Xにおいて印字位置を変
更可能にするためドット発熱素子H1からH1280の
数よりも少ない、例えば1200ビットで構成される。
The head control section 47 includes four head controllers 48Y, which are connected to the thermal print heads 22Y, 22M, 22C and 22B, respectively.
It has 48M, 48C and 48B. Each of these head controllers 48Y, 48M, 48C and 48B can directly read the dot data of the corresponding color component for each line from the print buffer 45. The dot data DATA for one line is composed of, for example, 1200 bits, which is smaller than the number of dot heating elements H1 to H1280 in order to change the print position in the main scanning direction X parallel to the dot print line of the print head. .

【0025】前記各ヘッドコントローラ48Y,48
M,48C及び48Bは、通常ラインバッファの中央部
となる第41から第1240ビットに1ライン分のドッ
トデータDATAを設定し、非印字を表すドットデー
タ”0”をラインバッファの中央部の両側に位置する第
1から第40ビット及び第1241から第1280ビッ
トに設定する制御を行なう。この制御では、1ライン分
のドットデータDATAがドットデータDATA1及び
DATA2に分割され、さらに上述した必要数のドット
データ”0”がドットデータDATA1及びDATA2
に付加され、シフトクロックSCKと共に対応する印字
ヘッドのシフトレジスタSR1及びSR2にシリアルに
供給される。
Each of the head controllers 48Y, 48
M, 48C, and 48B set dot data DATA for one line in the 41st to 1240th bits, which is normally the center of the line buffer, and set dot data "0" representing non-printing on both sides of the center of the line buffer. The control is performed to set the 1st to 40th bits and the 1241st to 1280th bits, which are located at. In this control, the dot data DATA for one line is divided into dot data DATA1 and DATA2, and the necessary number of dot data "0" mentioned above is further divided into dot data DATA1 and DATA2.
And is serially supplied to the shift registers SR1 and SR2 of the corresponding print head together with the shift clock SCK.

【0026】前記ヘッドコントローラ48Y,48M,
48C及び48Bは、前記印字ヘッド22Y,22M,
22C及び22Bのラインバッファにおいて1ライン分
のドットデータDATAを格納する1領域の配置に対応
して決められたシフトクロックSCKの数を格納し、こ
のクロック数をカウントするカウンタ47Y,47M,
47C及び47Bをそれぞれ有し、各々シフトクロック
SCKが対応するカウンタに格納された数だけ出力され
た後で出力イネーブル信号OEを出力する。前記シフト
レジスタSR1及びSR2は、ドットデータ”0”が付
加されたドットデータDATA1及びDATA2をシフ
トクロックSCKに応答して順次シフトしながら格納
し、出力イネーブル信号OEに応答してパラレルに出力
する。ドット発熱素子H1からH1280は、前記シフ
トレジスタSR1及び前記シフトレジスタSR2で構成
されるラインバッファの第1から第1280ビットの内
容に応じて選択的に駆動される。ドット発熱素子H1か
らH1280の駆動電圧は駆動電圧端子VDから供給さ
れる。
The head controllers 48Y, 48M,
48C and 48B are the print heads 22Y, 22M,
In the line buffers 22C and 22B, counters 47Y, 47M for storing the number of shift clocks SCK determined corresponding to the arrangement of one area for storing the dot data DATA for one line and counting the number of clocks are stored.
47C and 47B, respectively, and each output the output enable signal OE after the shift clock SCK is output by the number stored in the corresponding counter. The shift registers SR1 and SR2 store the dot data DATA1 and DATA2 to which the dot data "0" is added while sequentially shifting in response to the shift clock SCK, and output in parallel in response to the output enable signal OE. The dot heating elements H1 to H1280 are selectively driven according to the contents of the 1st to 1280th bits of the line buffer composed of the shift register SR1 and the shift register SR2. The drive voltage for the dot heating elements H1 to H1280 is supplied from the drive voltage terminal VD.

【0027】ここで、上述したカラープリンタ20がノ
ーマルモードで行なう動作を説明する。CPU31及び
42は、電源投入に伴ってそれぞれ初期化処理を行な
う。これら初期化処理では、例えばカウンタ47Y,4
7M,47C、47B及びタイマーカウンタ51が、R
OM43に格納された初期印字制御データにより初期化
される。但し、補正データが不揮発性RAM51に格納
されている場合、初期印字制御データは、これら補正デ
ータに基づいて作成される印字制御データに置き換えら
れる。
Here, the operation of the above-mentioned color printer 20 in the normal mode will be described. The CPUs 31 and 42 respectively perform initialization processing when the power is turned on. In these initialization processes, for example, the counters 47Y, 4Y
7M, 47C, 47B and timer counter 51
It is initialized by the initial print control data stored in the OM 43. However, when the correction data is stored in the non-volatile RAM 51, the initial print control data is replaced with the print control data created based on these correction data.

【0028】このホストコンピュータが、印字データ、
印字サイズデータ、印字フォーマットデータを制御コマ
ンドとしてカラープリンタ20に供給すると、これら制
御コマンドは通信インターフェースを介してRAM33
に順次格納される。CPU31は、RAM31に格納さ
れた制御コマンドに基づいて、印字サイズデータ及び印
字フォーマットデータに対応する印字制御データ並びに
印字データに対応する4色成分のドットイメージデータ
をRAM33内に作成する処理を行う。CPU42は、
RAM33内に作成され、デュアルポートRAM41に
供給される印字制御データに基づいて印字サイズ及び印
字フォーマット等を決定し、モータコントロール部47
に用紙搬送を命じ、さらにデュアルポートRAM41に
格納された4色成分のドットイメージデータを所定ライ
ン数分ずつ印字バッファ45に転送する。
This host computer uses the print data,
When the print size data and print format data are supplied to the color printer 20 as control commands, these control commands are sent to the RAM 33 via the communication interface.
Are sequentially stored in. Based on the control command stored in the RAM 31, the CPU 31 performs a process of creating print control data corresponding to the print size data and print format data and dot image data of four color components corresponding to the print data in the RAM 33. CPU 42
The print size and print format are determined based on the print control data created in the RAM 33 and supplied to the dual port RAM 41.
Then, the dot image data of the four color components stored in the dual port RAM 41 is transferred to the print buffer 45 for each predetermined number of lines.

【0029】さらにCPU42は、位置センサ29から
の割込信号に応答してタイマーカウンタ52及びヘッド
コントローラ48Bの動作を命じる。このヘッドコント
ローラ48Bは、印字バッファ45からブラックのドッ
トデータを1ライン分読出し、この1ライン分のドット
データDATAをドットデータDATA1及びDATA
2に分割し、必要数のドットデータ”0”をこれらドッ
トデータDATA1及びDATA2に付加し、カウンタ
47Bに格納された数のシフトクロックSCKと共に印
字ヘッド22Bに出力する。こうしてドットデータDA
TA1及びDATA2が、印字ヘッド22Bのシフトレ
ジスタSR1及びSR2に必要数のドットデータ”0”
と共に格納される。このようにすることで、シフトレジ
スタを1つだけ使用する場合に比べて、約半分の時間で
データを格納でき、高速印字に適したプリンタとなる。
Further, the CPU 42 commands the operations of the timer counter 52 and the head controller 48B in response to the interrupt signal from the position sensor 29. The head controller 48B reads one line of black dot data from the print buffer 45, and outputs the dot data DATA for one line to the dot data DATA1 and DATA.
The data is divided into two, the required number of dot data "0" is added to these dot data DATA1 and DATA2, and the dot data "0" is output to the print head 22B together with the number of shift clocks SCK stored in the counter 47B. Dot data DA
TA1 and DATA2 are the required number of dot data "0" in the shift registers SR1 and SR2 of the print head 22B.
Is stored with. By doing so, the data can be stored in about half the time compared to the case where only one shift register is used, and the printer is suitable for high-speed printing.

【0030】この後、タイマーカウンタ52は用紙の利
用可能領域が印字ヘッド22Bに到達するタイミングで
割込信号を発生する。このとき、CPU42がブラック
の印字を許可し、ヘッドコントローラ48Bが出力イネ
ーブル信号OEを出力する。これにより、印字ヘッド2
2BはシフトレジスタSR1及びSR2の内容に応じて
駆動され、1ライン分の印字を行なう。この後、ヘッド
コントローラ48Bは、次の1ライン分のドットデータ
を印字バッファ45から読出し、上述したようにシフト
レジスタSR1及びSR2にドットデータ”0”と共に
格納し、さらに用紙が1ライン分送られたタイミングで
出力イネーブル信号OEを出力することにより、印字ヘ
ッド22Bを駆動する動作を繰り返す。
Thereafter, the timer counter 52 generates an interrupt signal at the timing when the usable area of the paper reaches the print head 22B. At this time, the CPU 42 permits black printing, and the head controller 48B outputs the output enable signal OE. As a result, the print head 2
2B is driven according to the contents of the shift registers SR1 and SR2, and performs printing for one line. After that, the head controller 48B reads the dot data for the next one line from the print buffer 45, stores it in the shift registers SR1 and SR2 together with the dot data "0" as described above, and further feeds the paper for one line. The operation of driving the print head 22B is repeated by outputting the output enable signal OE at the above timing.

【0031】また、CPU42は、用紙の利用領域が印
字ヘッド22Bに到達したときに、発生される割込信号
に応答してヘッドコントローラ48Cの動作を命じる。
このヘッドコントローラ48Cは、印字バッファ45か
らシアンのドットデータを1ライン分読出し、この1ラ
イン分のドットデータDATAをドットデータDATA
1及びDATA2に分割し、必要数のドットデータ”
0”をこれらドットデータDATA1及びDATA2に
付加し、カウンタ47Cに格納された数のシフトクロッ
クSCKと共に印字ヘッド22Cに出力する。
Further, the CPU 42 commands the operation of the head controller 48C in response to an interrupt signal generated when the paper use area reaches the print head 22B.
The head controller 48C reads the cyan dot data for one line from the print buffer 45, and outputs the dot data DATA for this one line to the dot data DATA.
Divide into 1 and DATA2, and the required number of dot data
0 "is added to these dot data DATA1 and DATA2, and output to the print head 22C together with the number of shift clocks SCK stored in the counter 47C.

【0032】こうして、ドットデータDATA1及びD
ATA2が印字ヘッド22CのシフトレジスタSR1及
びSR2に必要数のドットデータ”0”と共に格納され
る。この後、タイマーカウンタ52は用紙の利用可能領
域が印字ヘッド22Cに到達するタイミングで割込信号
を発生する。このとき、CPU42がシアンの印字を許
可し、ヘッドコントローラ48Cが出力イネーブル信号
OEを出力する。これにより、印字ヘッド22Cはシフ
トレジスタSR1及びSR2の内容に応じて駆動され、
1ライン分の印字を行なう。この後、ヘッドコントロー
ラ48Cは次の1ライン分のドットデータを印字バッフ
ァ45から読出し、上述したようにシフトレジスタSR
1及びSR2に必要数のドットデータ”0”と共に格納
し、さらに、用紙が1ライン分送られたタイミングで出
力イネーブル信号OEを出力することにより、印字ヘッ
ド22Cを駆動する動作を繰り返す。
Thus, the dot data DATA1 and D
ATA2 is stored in the shift registers SR1 and SR2 of the print head 22C together with the required number of dot data "0". After that, the timer counter 52 generates an interrupt signal at the timing when the usable area of the paper reaches the print head 22C. At this time, the CPU 42 permits cyan printing, and the head controller 48C outputs the output enable signal OE. As a result, the print head 22C is driven according to the contents of the shift registers SR1 and SR2,
Print one line. After that, the head controller 48C reads the dot data for the next one line from the print buffer 45, and as described above, the shift register SR.
1 and SR2 are stored together with the required number of dot data "0", and the output enable signal OE is output at the timing when the paper is fed by one line, thereby repeating the operation of driving the print head 22C.

【0033】また、CPU42は、用紙の利用領域が印
字ヘッド22Cに到達したとき発生される割込信号に応
答して、ヘッドコントローラ48Mの動作を命じる。ヘ
ッドコントローラ48Mは、印字バッファ45からマゼ
ンタのドットデータを1ライン分読出し、この1ライン
分のドットデータDATAをドットデータDATA1及
びDATA2に分割し、必要数のドットデータ”0”を
これらドットデータDATA1及びDATA2に付加
し、カウンタ47Mに格納された数のシフトクロックS
CKと共に印字ヘッド22Mに出力する。こうしてドッ
トデータDATA1及びDATA2が印字ヘッド22M
のシフトレジスタSR1及びSR2に必要数のドットデ
ータ”0”と共に格納される。
Further, the CPU 42 commands the operation of the head controller 48M in response to an interrupt signal generated when the utilization area of the paper reaches the print head 22C. The head controller 48M reads out magenta dot data for one line from the print buffer 45, divides the dot data DATA for one line into dot data DATA1 and DATA2, and outputs a required number of dot data "0" to these dot data DATA1. And DATA2 and the number of shift clocks S stored in the counter 47M.
Output to the print head 22M together with CK. In this way, the dot data DATA1 and DATA2 are transferred to the print head 22M.
And the necessary number of dot data "0" are stored in the shift registers SR1 and SR2.

【0034】この後、タイマーカウンタ52は用紙の利
用可能領域が印字ヘッド22Mに到達するタイミングで
割込信号を発生する。このとき、CPU42がマゼンタ
の印字を許可し、ヘッドコントローラ48Mが出力イネ
ーブル信号OEを出力する。これにより、印字ヘッド2
2MはシフトレジスタSR1及びSR2の内容に応じて
駆動され、1ライン分の印字を行なう。この後、ヘッド
コントローラ48Mは次の1ライン分のドットデータを
印字バッファ45から読出し、上述したようにシフトレ
ジスタSR1及びSR2に必要数のドットデータ”0”
と共に格納し、さらに用紙が1ライン分送られたタイミ
ングで出力イネーブル信号OEを出力することにより印
字ヘッド22Mを駆動する動作を繰り返す。
After that, the timer counter 52 generates an interrupt signal at the timing when the usable area of the paper reaches the print head 22M. At this time, the CPU 42 permits printing of magenta, and the head controller 48M outputs the output enable signal OE. As a result, the print head 2
The 2M is driven according to the contents of the shift registers SR1 and SR2, and performs printing for one line. After that, the head controller 48M reads the dot data for the next one line from the print buffer 45, and as described above, the required number of dot data "0" is stored in the shift registers SR1 and SR2.
The operation of driving the print head 22M is repeated by outputting the output enable signal OE at the timing when the sheet is stored and further fed by one line.

【0035】また、CPU42は、用紙の利用領域が印
字ヘッド22Mに到達したとき発生される割込信号に応
答してヘッドコントローラ48Yの動作を命じる。ヘッ
ドコントローラ48Yは、印字バッファ45からイエロ
ーのドットデータを1ライン分読出し、この1ライン分
のドットデータDATAをドットデータDATA1及び
DATA2に分割し、必要数のドットデータ”0”をこ
れらドットデータDATA1及びDATA2に付加し、
カウンタ47Yに格納された数のシフトクロックSCK
と共に印字ヘッド22Cに出力する。
Further, the CPU 42 commands the operation of the head controller 48Y in response to an interrupt signal generated when the utilization area of the paper reaches the print head 22M. The head controller 48Y reads one line of yellow dot data from the print buffer 45, divides this one line of dot data DATA into dot data DATA1 and DATA2, and outputs a required number of dot data "0" to these dot data DATA1. And added to DATA2,
The number of shift clocks SCK stored in the counter 47Y
It is also output to the print head 22C.

【0036】こうして、ドットデータDATA1及びD
ATA2が印字ヘッド22YのシフトレジスタSR1及
びSR2に必要数のドットデータ”0”と共に格納され
る。この後、タイマーカウンタ52は用紙の利用可能領
域が印字ヘッド22Yに到達するタイミングで割込信号
を発生する。このとき、CPU42がイエローの印字を
許可し、ヘッドコントローラ48Yが出力イネーブル信
号OEを出力する。これにより、印字ヘッド22Yはシ
フトレジスタSR1及びSR2の内容に応じて駆動さ
れ、1ライン分の印字を行なう。この後、ヘッドコント
ローラ48Yは次の1ライン分のドットデータを印字バ
ッファ45から読出し、上述したようにシフトレジスタ
SR1及びSR2にドットデータ”0”と共に格納し、
さらに用紙が1ライン分送られたタイミングで出力イネ
ーブル信号OEを出力することにより印字ヘッド22Y
を駆動する動作を繰り返す。印字ユニット21B,21
C,21M及び21Yは、上述のようにしてブラック、
シアン、マゼンタ及びイエローの色成分画像を用紙の利
用可能領域に重ねて印字する。
Thus, the dot data DATA1 and D
ATA2 is stored in the shift registers SR1 and SR2 of the print head 22Y together with the required number of dot data "0". Thereafter, the timer counter 52 generates an interrupt signal at the timing when the usable area of the paper reaches the print head 22Y. At this time, the CPU 42 permits yellow printing, and the head controller 48Y outputs the output enable signal OE. As a result, the print head 22Y is driven according to the contents of the shift registers SR1 and SR2, and prints for one line. After that, the head controller 48Y reads the dot data for the next one line from the print buffer 45 and stores it in the shift registers SR1 and SR2 together with the dot data "0" as described above.
Further, by outputting the output enable signal OE at the timing when the paper is fed by one line, the print head 22Y
The operation of driving is repeated. Printing units 21B, 21
C, 21M and 21Y are black as described above,
The cyan, magenta, and yellow color component images are overlaid and printed on the available area of the paper.

【0037】この第1の実施の形態のカラープリンタ2
0は、ノーマルモードに加えてテストモードでも動作す
る。このテストモードは、偏差テストパターンを印字ユ
ニット21B,21C,21M及び21Yにより印字
し、印字ユニット21Bの印字位置に対する印字ユニッ
ト21Y,21M及び21Cの印字位置のずれを、この
偏差テストパターンからオペレレータが測定し、キーボ
ード37の操作によって入力される測定結果に応じて印
字ユニット21Y,21M及び21Cの印字位置を変更
するために用いられる。システム制御部CT1のROM
32は、このテストモードで使用される第1及び第2テ
スト印字データを予め格納する。第1テスト印字データ
は、主走査方向Xの偏差テストパターンを印字するため
のデータであり、第2テスト印字データは、副走査方向
Pの偏差テストパターンを印字するためのデータであ
る。
The color printer 2 of the first embodiment
0 operates in the test mode in addition to the normal mode. In this test mode, the deviation test pattern is printed by the printing units 21B, 21C, 21M and 21Y, and the deviation of the printing position of the printing units 21Y, 21M and 21C from the printing position of the printing unit 21B is detected by the operator from this deviation test pattern. It is used to change the printing positions of the printing units 21Y, 21M and 21C in accordance with the measurement result input by operating the keyboard 37. ROM of system control unit CT1
32 stores in advance the first and second test print data used in this test mode. The first test print data is data for printing a deviation test pattern in the main scanning direction X, and the second test print data is data for printing a deviation test pattern in the sub scanning direction P.

【0038】テストモード設定命令がキーボード37か
ら入力されると、カラープリンタ20の制御回路は、図
5に示すテスト印字処理を行なう。このテスト印字処理
では、CPU31がROM32に格納された第1テスト
印字データを読出し、この第1テスト印字データに対応
する4色成分のドットイメージデータ並びに所定印字サ
イズ及び所定印字フォーマットの印字制御データをRA
M33内に作成するという主走査方向( X軸方向 )の偏
差テストパターンに関する前処理をステップST1で行
なう。さらに、CPU31はROM32に格納された第
2テスト印字データを読出し、この第2テスト印字デー
タに対応する4色成分のドットイメージデータ並びに所
定印字サイズ及び所定印字フォーマットの印字制御デー
タをRAM33内に作成するという副走査方向( 用紙の
搬送方向、P軸方向 )の偏差テストパターンに関する前
処理をステップST2で行なう。
When a test mode setting command is input from the keyboard 37, the control circuit of the color printer 20 performs the test print processing shown in FIG. In this test print processing, the CPU 31 reads the first test print data stored in the ROM 32, and outputs the dot image data of the four color components corresponding to the first test print data and the print control data of the predetermined print size and the predetermined print format. RA
Pre-processing relating to the deviation test pattern in the main scanning direction (X-axis direction) that is created in M33 is performed in step ST1. Further, the CPU 31 reads the second test print data stored in the ROM 32 and creates dot image data of four color components corresponding to the second test print data and print control data of a predetermined print size and a predetermined print format in the RAM 33. In step ST2, the pre-processing relating to the deviation test pattern in the sub-scanning direction (paper transport direction, P-axis direction) is performed.

【0039】ステップST3では、CPU42がRAM
33で作成され、デュアルポートRAM41に供給され
た主走査方向Xの偏差テストパターン用の4色成分のド
ットイメージデータを読出し、ノーマルモードと同様の
制御により、これらドットイメージデータに応じた4色
成分画像を印字ユニット21Y,21M,21C及び2
1Bで重ねて印字させ、これにより主走査方向Xの偏差
テストパターンを得るというパターン印字処理を行な
う。ステップST4では、CPU42がRAM33で作
成され、デュアルポートRAM41に供給された副走査
方向Pの偏差テストパターン用の4色成分のドットイメ
ージデータを読出し、ノーマルモードと同様の制御によ
りこれらドットイメージデータに応じた4色成分画像を
印字ユニット21Y,21M,21C及び21Bで重ね
て印字させ、これにより副走査方向Pの偏差テストパタ
ーンを得るというパターン印字処理を行なう。
At step ST3, the CPU 42 makes the RAM
The dot image data of the four color components for the deviation test pattern in the main scanning direction X created in 33 and supplied to the dual port RAM 41 are read, and the four color components corresponding to these dot image data are controlled by the same control as in the normal mode. Image printing units 21Y, 21M, 21C and 2
A pattern printing process is performed in which the pattern is printed by overlapping with 1B to obtain a deviation test pattern in the main scanning direction X. In step ST4, the CPU 42 reads the dot image data of the four color components for the deviation test pattern in the sub-scanning direction P, which is created in the RAM 33 and is supplied to the dual port RAM 41, and the dot image data is converted into these dot image data by the control similar to the normal mode. A corresponding four-color component image is printed by the printing units 21Y, 21M, 21C, and 21B in an overlapping manner, and a pattern printing process of obtaining a deviation test pattern in the sub-scanning direction P is performed.

【0040】ここで、上述のテスト印字処理によって印
字される偏差テストパターンの特徴を概略的に説明す
る。図6に示すように、各偏差テストパターンは、主走
査方向Xまたは副走査方向Pに対応する1偏差測定方向
において、ピッチMで並べられる複数の基準目盛バーR
Bを持つ基準スケールと、この偏差測定方向において、
ピッチMから僅かに異なるピッチNで並べられる差分目
盛バーDBを持つ差分スケールで構成される。 基準ス
ケールは、画像を重ねて印字可能に配置される印字ユニ
ット21B,21C,21M及び21Yのうちの1基準
印字ユニット21Bにより印字され、差分スケールは基
準印字ユニット21B以外の印字ユニット21C,21
M及び21Yの各々によって印字される。
Here, the features of the deviation test pattern printed by the above-mentioned test printing process will be schematically described. As shown in FIG. 6, each deviation test pattern includes a plurality of reference scale bars R arranged at a pitch M in one deviation measurement direction corresponding to the main scanning direction X or the sub-scanning direction P.
In the standard scale with B and this deviation measurement direction,
It is composed of a difference scale having a difference scale bar DB arranged at a pitch N slightly different from the pitch M. The reference scale is printed by one reference printing unit 21B of the printing units 21B, 21C, 21M and 21Y arranged so that images can be overlaid and printed, and the differential scale is printed by the printing units 21C, 21 other than the reference printing unit 21B.
Printed by each of M and 21Y.

【0041】ピッチMは例えば30ドットに設定され、
ピッチNはこのピッチMより僅かに少ない例えば29ド
ット( あるいは31ドット )に設定される。もしこれら
スケールの印字位置がずれていなければ、第0番目の差
分目盛バーDBが図6に示すように第0番目の基準目盛
バーRBと一直線に並び、第30番目の差分目盛バーD
Bが第29番目の基準目盛バーRBとも一直線に並ぶよ
うに印字される。もし、印字位置のずれが存在する場合
には、このずれをドット数M及びNの差に等しい1ドッ
トの精度で測定可能である。
The pitch M is set to 30 dots, for example,
The pitch N is set to, for example, 29 dots (or 31 dots), which is slightly smaller than the pitch M. If the print positions of these scales are not displaced, the 0th difference scale bar DB is aligned with the 0th reference scale bar RB as shown in FIG. 6, and the 30th difference scale bar D
B is printed so as to be aligned with the 29th reference scale bar RB. If there is a print position shift, this shift can be measured with an accuracy of 1 dot, which is equal to the difference between the dot numbers M and N.

【0042】この第1の実施の形態のカラープリンタ2
0は、ROM32に格納された第1及び第2テスト印字
データに対応して、それぞれ図7に示す主走査方向Xの
偏差テストパターン及び図8に示す副走査方向Pの偏差
テストパターンを実際に印字するよう構成される。
Color printer 2 of the first embodiment
0 indicates the deviation test pattern in the main scanning direction X shown in FIG. 7 and the deviation test pattern in the sub-scanning direction P shown in FIG. 8 corresponding to the first and second test print data stored in the ROM 32. It is configured to print.

【0043】図7に示す偏差テストパターンは、単一の
概略スケール部SC0、2個の詳細スケール部SC1及
びSC2並びに2個の補助スケール部SC3を有する。
概略スケール部SC0は、主走査方向Xにおいて詳細ス
ケール部SC1に隣接して設けられ、詳細スケール部S
C1は副走査方向Pにおいて詳細スケール部SC2に隣
接して設けられる。2個の補助スケール部SC3は、副
走査方向Pにおいて詳細スケール部SC1及びSC2に
それぞれ隣接して設けられる。
The deviation test pattern shown in FIG. 7 has a single rough scale section SC0, two fine scale sections SC1 and SC2, and two auxiliary scale sections SC3.
The rough scale portion SC0 is provided adjacent to the fine scale portion SC1 in the main scanning direction X, and the fine scale portion S0 is provided.
C1 is provided adjacent to the detailed scale portion SC2 in the sub-scanning direction P. The two auxiliary scale parts SC3 are provided adjacent to the detailed scale parts SC1 and SC2 in the sub-scanning direction P, respectively.

【0044】概略スケール部SC0は、副走査方向Pに
おいて所定距離離して並列的に配置される4個のブラッ
ク基準スケールと、これら基準スケールの間に配置され
るシアン、マゼンタ、イエローの差分目盛バーと、最外
郭ブラック基準スケールに沿って設けられる領域記号”
E”,”F”,”G”及び”H”を有する。4個のブラ
ック基準スケールは、主走査方向Xにおいて30ドット
のピッチで左から右に並ぶ黒の負側基準目盛バーRB、
ゼロ基準目盛バーRB、及び正側基準目盛バーRBをそ
れぞれ有する。
The rough scale section SC0 includes four black reference scales arranged in parallel in the sub-scanning direction P at a predetermined distance, and cyan, magenta, and yellow difference scale bars arranged between these reference scales. And the area symbol provided along the outermost black reference scale
E ”,“ F ”,“ G ”and“ H ”. The four black reference scales are black negative reference scale bars RB arranged from left to right at a pitch of 30 dots in the main scanning direction X,
It has a zero reference scale bar RB and a positive reference scale bar RB, respectively.

【0045】領域記号”E”,”F”,”G”及び”
H”は、主走査方向Xにおいてこれら負側基準目盛バー
RB、ゼロ基準目盛バーRB、及び正側基準目盛バーR
Bによって分割される領域をそれぞれ示す。もし印字位
置がずれていなければ、シアン、マゼンタ、イエローの
差分目盛バーDBは4個のブラック基準スケールのゼロ
基準目盛バーRBと一直線に並ぶ。”E”の領域は−3
1から−60ドットの位置ずれを表し、”F”の領域は
−1から−30ドットの位置ずれを表し、”G”の領域
は+1から+30ドットの位置ずれを表し、”H”の領
域は+31から+60ドットの位置ずれを表す。所定距
離は上述の差分目盛バーDBの長さにほぼ一致する。
Area symbols "E", "F", "G" and "
H ″ is the negative reference scale bar RB, the zero reference scale bar RB, and the positive reference scale bar R in the main scanning direction X.
Areas divided by B are shown respectively. If the print positions are not displaced, the cyan, magenta, and yellow differential scale bar DBs are aligned with the zero reference scale bars RB of the four black reference scales. The area of "E" is -3
1 to -60 dot displacement, "F" region represents -1 to -30 dot displacement, "G" region represents +1 to +30 dot displacement, "H" region Represents the positional deviation from +31 to +60 dots. The predetermined distance substantially coincides with the length of the difference scale bar DB described above.

【0046】詳細スケール部SC1は、副走査方向Pに
おいて所定距離離して並列的に配置される4個のブラッ
ク基準スケールと、これら基準スケールの間に配置され
るシアン、マゼンタ、イエローの差分スケールと、最外
郭ブラック基準スケールに隣接して設けられる識別記
号”GH”と、他の最外郭ブラック基準スケールに隣接
して設けられるバー番号”0”,”5”,”1
0”...とを有する。4個のブラック基準スケール
は、主走査方向Xにおいて30ドットのピッチで左から
右に並ぶ複数の基準目盛バーRBをそれぞれ有し、3個
のシアン、マゼンタ、イエロー差分スケールは、主走査
方向Xにおいて29ドットのピッチで左から右に並ぶ複
数の差分目盛バーDBをそれぞれ有する。
The detailed scale section SC1 includes four black reference scales arranged in parallel in the sub-scanning direction P at a predetermined distance, and a cyan, magenta, and yellow difference scale arranged between these reference scales. , An identification symbol "GH" provided adjacent to the outermost black reference scale, and bar numbers "0", "5", "1 provided adjacent to other outermost black reference scales.
The four black reference scales each have a plurality of reference scale bars RB arranged from left to right at a pitch of 30 dots in the main scanning direction X, and three cyan, magenta, and The yellow difference scale has a plurality of difference scale bars DB arranged from left to right at a pitch of 29 dots in the main scanning direction X.

【0047】各ブラック基準スケールの基準目盛バーR
Bは、主走査方向Xに伸びる直線で連結される。もし印
字位置がずれていなければ、シアン、マゼンタ、イエロ
ーの差分スケールの第0番目差分目盛バーDBは4個の
ブラック基準スケールの第0番目基準目盛バーRBと一
直線に並び、第30番目の差分目盛バーDBが第29番
目の基準目盛バーRBとも一直線に並ぶ。識別記号”G
H”は、概略スケール部SC0において領域記号”G”
及び”H”で示す領域に対応する詳細スケールであるこ
とを表す。バー番号”0”,”5”,”10”...
は、ブラック基準スケールの基準目盛バーRBの番号を
表す。所定距離は上述の差分目盛バーDBの長さにほぼ
一致する。
Reference scale bar R of each black reference scale
Bs are connected by a straight line extending in the main scanning direction X. If the print position is not displaced, the 0th difference scale bar DB of the difference scale of cyan, magenta, and yellow is aligned with the 0th reference scale bar RB of the four black reference scales, and the 30th difference scale is displayed. The scale bar DB is aligned with the 29th reference scale bar RB. Identification symbol "G
H "is the area symbol" G "in the schematic scale SC0.
And “H” represent the detailed scale corresponding to the area. Bar numbers "0", "5", "10". . .
Represents the number of the reference scale bar RB of the black reference scale. The predetermined distance substantially coincides with the length of the difference scale bar DB described above.

【0048】詳細スケール部SC2は、副走査方向Pに
おいて所定距離離して並列的に配置される4個のブラッ
ク基準スケールと、これら基準スケールの間に配置され
るシアン、マゼンタ、イエローの差分スケールと、最外
郭ブラック基準スケールに隣接して設けられる識別記
号”EF”と、他の最外郭ブラック基準スケールに隣接
して設けられるバー番号”0”,”5”,”1
0”...と有する。4個のブラック基準スケールは、
主走査方向Xにおいて30ドットのピッチで左から右に
並ぶ複数の基準目盛バーRBをそれぞれ有し、3個のシ
アン、マゼンタ、イエロー差分スケールは主走査方向X
において31ドットのピッチで左から右に並ぶ複数の差
分目盛バーDBをそれぞれ有する。
The detailed scale section SC2 includes four black reference scales arranged in parallel in the sub-scanning direction P at a predetermined distance, and a cyan, magenta, and yellow difference scale arranged between these reference scales. , An identification symbol "EF" provided adjacent to the outermost black reference scale and bar numbers "0", "5", "1 provided adjacent to other outermost black reference scales.
0 ″ ... and the four black reference scales are
A plurality of reference scale bars RB arranged from left to right at a pitch of 30 dots in the main scanning direction X are provided, and three cyan, magenta, and yellow differential scales are provided in the main scanning direction X.
In, each of the plurality of difference scale bars DB is arranged from left to right with a pitch of 31 dots.

【0049】各ブラック基準スケールの基準目盛バーR
Bは、主走査方向Xに伸びる直線で連結される。もし印
字位置がずれていなければ、シアン、マゼンタ、イエロ
ーの差分スケールの第0番目差分目盛バーDBは4個の
ブラック基準スケールの第0番目基準目盛バーRBと一
直線に並び、第30番目の差分目盛バーDBが第31番
目の基準目盛バーRBとも一直線に並ぶ。識別記号”E
F”は、概略スケール部SC0において領域記号”E”
及び”F”で示す領域に対応する詳細スケールであるこ
とを表す。バー番号”0”,”5”,”10”...
は、ブラック基準スケールの基準目盛バーRBの番号を
表す。所定距離は上述の差分目盛バーDBの長さにほぼ
一致する。
Reference scale bar R of each black reference scale
Bs are connected by a straight line extending in the main scanning direction X. If the print position is not displaced, the 0th difference scale bar DB of the difference scale of cyan, magenta, and yellow is aligned with the 0th reference scale bar RB of the four black reference scales, and the 30th difference scale is displayed. The scale bar DB is aligned with the 31st reference scale bar RB. Identification symbol "E
F "is a region symbol" E "in the schematic scale portion SC0.
, And a detailed scale corresponding to the area indicated by “F”. Bar numbers "0", "5", "10". . .
Represents the number of the reference scale bar RB of the black reference scale. The predetermined distance substantially coincides with the length of the difference scale bar DB described above.

【0050】補助スケール部SC3は、副走査方向Pの
位置ずれがないことを確認するために設けられ、主走査
方向Xに伸びる4本のブラック基準目盛バーRBと、主
走査方向Xに伸びこれら基準目盛バーRBの間に配置さ
れるシアン、マゼンタ、イエロー差分目盛バーDBを有
する。副走査方向Pの位置ずれがなければ、これら差分
目盛バーDBが基準目盛バーRBと一直線に並ぶ。これ
らの主走査方向Xにおける位置ずれを測定するための詳
細スケール部SC1及び詳細スケール部SC2と副走査
方向Pにおける位置ずれを確認するための補助スケール
部SC3とを設けることにより、幅の狭い用紙でも充分
な大きさのスケールを印字することができ、印字位置の
調整が行い易くなる。
The auxiliary scale section SC3 is provided for confirming that there is no displacement in the sub-scanning direction P, and four black reference scale bars RB extending in the main scanning direction X and those extending in the main scanning direction X are provided. It has cyan, magenta, and yellow differential scale bar DBs arranged between reference scale bars RB. If there is no displacement in the sub-scanning direction P, these differential scale bars DB are aligned with the reference scale bar RB. By providing the detailed scale portion SC1 and the detailed scale portion SC2 for measuring the positional deviation in the main scanning direction X and the auxiliary scale portion SC3 for confirming the positional deviation in the sub-scanning direction P, the paper having a narrow width is provided. However, a sufficiently large scale can be printed, and the print position can be easily adjusted.

【0051】図8に示す偏差テストパターンは、単一の
概略スケール部SC0、2個の詳細スケール部SC1及
びSC2並びに2個の補助スケール部SC3を有する。
概略スケール部SC0は、副走査方向Pにおいて詳細ス
ケール部SC1に隣接して設けられ、詳細スケール部S
C1は主走査方向Xにおいて詳細スケール部SC2に隣
接して設けられる。2個の補助スケール部SC3は、主
走査方向Xにおいて詳細スケール部SC1及びSC2に
それぞれ隣接して設けられる。概略スケール部SC0
は、主走査方向Xにおいて所定距離離して並列的に配置
される4個のブラック基準スケールと、これら基準スケ
ールの間に配置されるシアン、マゼンタ、イエローの差
分目盛バーと、最外郭ブラック基準スケールに沿って設
けられる領域記号”A”,”B”,”C”及び”D”を
有する。
The deviation test pattern shown in FIG. 8 has a single rough scale portion SC0, two fine scale portions SC1 and SC2, and two auxiliary scale portions SC3.
The general scale section SC0 is provided adjacent to the detailed scale section SC1 in the sub-scanning direction P, and the detailed scale section S0 is provided.
C1 is provided adjacent to the detailed scale portion SC2 in the main scanning direction X. The two auxiliary scale parts SC3 are provided adjacent to the detailed scale parts SC1 and SC2 in the main scanning direction X, respectively. Outline scale part SC0
Is four black reference scales arranged in parallel in the main scanning direction X at a predetermined distance, cyan, magenta, and yellow difference scale bars arranged between these reference scales, and the outermost black reference scale. With area symbols "A", "B", "C", and "D" provided along.

【0052】4個のブラック基準スケールは、副走査方
向Pにおいて30ドットのピッチで上から下に並ぶ黒の
負側基準目盛バーRB、ゼロ基準目盛バーRB、及び正
側基準目盛バーRBをそれぞれ有する。領域記号”
A”,”B”,”C”及び”D”は、副走査方向Pにお
いてこれら負側基準目盛バーRB、ゼロ基準目盛バーR
B、及び正側基準目盛バーRBによって分割される領域
をそれぞれ示す。
The four black reference scales are a black negative reference scale bar RB, a zero reference scale bar RB, and a positive side reference scale bar RB, which are arranged from top to bottom at a pitch of 30 dots in the sub-scanning direction P. Have. Area symbol "
A "," B "," C "and" D "are the negative reference scale bar RB and the zero reference scale bar R in the sub-scanning direction P.
B and the area divided by the positive reference scale bar RB are shown respectively.

【0053】もし印字位置がずれていなければ、シア
ン、マゼンタ、イエローの差分目盛バーDBは4個のブ
ラック基準スケールのゼロ基準目盛バーRBと一直線に
並ぶ。”A”の領域は−31から−60ドットの位置ず
れを表し、”B”の領域は−1から−30ドットの位置
ずれを表し、”C”の領域は+1から+30ドットの位
置ずれを表し、”D”の領域は+31から+60ドット
の位置ずれを表す。所定距離は上述の差分目盛バーDB
の長さにほぼ一致する。
If the printing positions are not shifted, the cyan, magenta, and yellow differential scale bars DB are aligned with the zero reference scale bars RB of the four black reference scales. The area "A" represents the positional deviation from -31 to -60 dots, the area "B" represents the positional deviation from -1 to -30 dots, and the area "C" represents the positional deviation from +1 to +30 dots. The area "D" represents the positional deviation from +31 to +60 dots. Predetermined distance is the above-mentioned difference scale bar DB
Almost matches the length of.

【0054】詳細スケール部SC1は、主走査方向Xに
おいて所定距離離して並列的に配置される4個のブラッ
ク基準スケールと、これら基準スケールの間に配置され
るシアン、マゼンタ、イエローの差分スケールと、最外
郭ブラック基準スケールに隣接して設けられる識別記
号”CD”と、他の最外郭ブラック基準スケールに隣接
して設けられるバー番号”0”,”5”,”1
0”...と有する。4個のブラック基準スケールは、
副走査方向Pにおいて30ドットのピッチで上から下に
並ぶ複数の基準目盛バーRBをそれぞれ有し、3個のシ
アン、マゼンタ、イエロー差分スケールは副走査方向P
において29ドットのピッチで上から下に並ぶ複数の差
分目盛バーDBをそれぞれ有する。
The detailed scale section SC1 includes four black reference scales arranged in parallel in the main scanning direction X at a predetermined distance and a difference scale of cyan, magenta and yellow arranged between these reference scales. , The identification code "CD" provided adjacent to the outermost black reference scale and the bar numbers "0", "5", "1 provided adjacent to the other outermost black reference scales.
0 ″ ... and the four black reference scales are
In the sub-scanning direction P, a plurality of reference scale bars RB arranged from the top to the bottom at a pitch of 30 dots are provided, and three cyan, magenta, and yellow difference scales are provided in the sub-scanning direction P.
In, there are a plurality of difference scale bars DB arranged from top to bottom with a pitch of 29 dots.

【0055】各ブラック基準スケールの基準目盛バーR
Bは、副走査方向Pに伸びる直線で連結される。もし印
字位置がずれていなければ、シアン、マゼンタ、イエロ
ーの差分スケールの第0番目差分目盛バーDBは4個の
ブラック基準スケールの第0番目基準目盛バーRBと一
直線に並び、第30番目の差分目盛バーDBが第29番
目の基準目盛バーRBとも一直線に並ぶ。識別記号”C
D”は、概略スケール部SC0において領域記号”C”
及び”D”で示す領域に対応する詳細スケールであるこ
とを表す。バー番号”0”,”5”,”10”...
は、ブラック基準スケールの基準目盛バーRBの番号を
表す。所定距離は上述の差分目盛バーDBの長さにほぼ
一致する。
Reference scale bar R of each black reference scale
Bs are connected by a straight line extending in the sub-scanning direction P. If the print position is not displaced, the 0th difference scale bar DB of the difference scale of cyan, magenta, and yellow is aligned with the 0th reference scale bar RB of the four black reference scales, and the 30th difference scale is displayed. The scale bar DB is aligned with the 29th reference scale bar RB. Identification code "C
D "is the area symbol" C "in the schematic scale SC0.
And a detailed scale corresponding to the area indicated by "D". Bar numbers "0", "5", "10". . .
Represents the number of the reference scale bar RB of the black reference scale. The predetermined distance substantially coincides with the length of the difference scale bar DB described above.

【0056】詳細スケール部SC2は、主走査方向Xに
おいて所定距離離して並列的に配置される4個のブラッ
ク基準スケールと、これら基準スケールの間に配置され
るシアン、マゼンタ、イエローの差分スケールと、最外
郭ブラック基準スケールに隣接して設けられる識別記
号”AB”と、他の最外郭ブラック基準スケールに隣接
して設けられるバー番号”0”,”5”,”1
0”...と有する。4個のブラック基準スケールは、
副走査方向Pにおいて30ドットのピッチで上から下に
並ぶ複数の基準目盛バーRBをそれぞれ有し、3個のシ
アン、マゼンタ、イエロー差分スケールは、副走査方向
Pにおいて31ドットのピッチで上から下に並ぶ複数の
差分目盛バーDBをそれぞれ有する。
The detailed scale section SC2 includes four black reference scales arranged in parallel at a predetermined distance in the main scanning direction X, and cyan, magenta, and yellow difference scales arranged between these reference scales. , The identification symbol "AB" provided adjacent to the outermost black reference scale, and the bar numbers "0", "5", "1 provided adjacent to the other outermost black reference scales.
0 ″ ... and the four black reference scales are
Each of the plurality of reference scale bars RB is arranged from top to bottom at a pitch of 30 dots in the sub-scanning direction P, and three cyan, magenta, and yellow difference scales are arranged from the top at a pitch of 31 dots in the sub-scanning direction P. Each has a plurality of difference scale bar DBs arranged below.

【0057】各ブラック基準スケールの基準目盛バーR
Bは、副走査方向Pに伸びる直線で連結される。もし印
字位置がずれていなければ、シアン、マゼンタ、イエロ
ーの差分スケールの第0番目差分目盛バーDBは4個の
ブラック基準スケールの第0番目基準目盛バーRBと一
直線に並び、第30番目の差分目盛バーDBが第31番
目の基準目盛バーRBとも一直線に並ぶ。識別記号”A
B”は、概略スケール部SC0において領域記号”A”
及び”B”で示す領域に対応する詳細スケールであるこ
とを表す。バー番号”0”,”5”,”10”...
は、ブラック基準スケールの基準目盛バーRBの番号を
表す。所定距離は上述の差分目盛バーDBの長さにほぼ
一致する。
Reference scale bar R of each black reference scale
Bs are connected by a straight line extending in the sub-scanning direction P. If the print position is not displaced, the 0th difference scale bar DB of the difference scale of cyan, magenta, and yellow is aligned with the 0th reference scale bar RB of the four black reference scales, and the 30th difference scale is displayed. The scale bar DB is aligned with the 31st reference scale bar RB. Identification symbol "A
B "is the area symbol" A "in the schematic scale SC0.
And a detailed scale corresponding to the area indicated by "B". Bar numbers "0", "5", "10". . .
Represents the number of the reference scale bar RB of the black reference scale. The predetermined distance substantially coincides with the length of the difference scale bar DB described above.

【0058】補助スケール部SC3は、主走査方向Xの
位置ずれがないことを確認するために設けられ、副走査
方向Pに伸びる4本のブラック基準目盛バーRBと、副
走査方向Pに伸びこれら基準目盛バーRBの間に配置さ
れるシアン、マゼンタ、イエロー差分目盛バーDBを有
する。主走査方向Xの位置ずれがなければ、これら差分
目盛バーDBが基準目盛バーRBと一直線に並ぶ。これ
らの副走査方向Pにおける位置ずれを測定するための詳
細スケール部SC1及び詳細スケール部SC2と主走査
方向Xにおける位置ずれを確認するための補助スケール
部SC3とを設けることにより、長さの短い用紙でも充
分な大きさのスケールを印字することができ、印字位置
の調整が行い易くなる。
The auxiliary scale portion SC3 is provided to confirm that there is no displacement in the main scanning direction X, and includes four black reference scale bars RB extending in the sub scanning direction P and those extending in the sub scanning direction P. It has cyan, magenta, and yellow differential scale bar DBs arranged between reference scale bars RB. If there is no displacement in the main scanning direction X, these difference scale bars DB are aligned with the reference scale bar RB. By providing the detailed scale portion SC1 and the detailed scale portion SC2 for measuring the positional deviation in the sub-scanning direction P and the auxiliary scale portion SC3 for confirming the positional deviation in the main scanning direction X, the length is short. It is possible to print a sufficiently large scale even on paper, and it becomes easy to adjust the printing position.

【0059】上述のカラープリンタ20では、オペレー
タが図7及び図8に示す偏差テストパターンを観察し、
印字ユニット21Bの印字位置に対する印字ユニット2
1C,21B,及び21Yの印字位置のずれを観察測定
する。主走査方向Xの位置ずれ測定において、オペレー
タは図7に示す偏差テストパターンの概略スケール部S
C0を最初にチェックし、この概略スケール部SC0に
おいてシアン、マゼンタ、及びイエロー差分目盛バーD
Bとブラックのゼロ基準目盛バーRBとの相対的な位置
関係を概略的に確認する。例えば、シアンの差分目盛バ
ーDBが概略スケール部SC0において、ゼロ基準目盛
バーRBと正側基準目盛バーRBとの間の”G”領域に
存在する場合、印字ユニット21Cの位置ずれは、主走
査方向Xにおいて+30ドットを越えない。
In the color printer 20 described above, the operator observes the deviation test patterns shown in FIGS. 7 and 8,
Printing unit 2 for printing position of printing unit 21B
Observe and measure the deviation of the printing positions of 1C, 21B, and 21Y. In the measurement of the positional deviation in the main scanning direction X, the operator uses the schematic scale portion S of the deviation test pattern shown in FIG.
C0 is checked first, and the cyan, magenta, and yellow difference scale bar D is checked at this rough scale section SC0.
The relative positional relationship between B and the black zero reference scale bar RB is roughly confirmed. For example, when the cyan differential scale bar DB is present in the "G" area between the zero reference scale bar RB and the positive reference scale bar RB in the rough scale section SC0, the positional deviation of the printing unit 21C is caused by the main scanning. Do not exceed +30 dots in direction X.

【0060】オペレータは、”G”領域に存在するシア
ンの差分目盛バーDBを確認した後、”G”領域に対応
する詳細スケール部SC1をチェックし、この詳細スケ
ール部SC1において、シアンの差分目盛バーDBと一
直線になる基準目盛バーRBを捜す。例えば、第11番
目の基準目盛バーRBがシアンの差分目盛バーDBと一
直線になる場合、印字ユニット21Cの位置ずれは主走
査方向Xにおいて+11ドットとなる。
After confirming the cyan differential scale bar DB existing in the "G" area, the operator checks the detailed scale portion SC1 corresponding to the "G" area, and in this detailed scale portion SC1, the cyan differential scale bar SC1 is displayed. Search for the standard scale bar RB that is aligned with the bar DB. For example, when the 11th reference scale bar RB is aligned with the cyan differential scale bar DB, the positional deviation of the printing unit 21C is +11 dots in the main scanning direction X.

【0061】オペレータは、この測定結果に対応する”
G11”という補正データを主走査方向Xにおいて印字
ユニット21Cの位置ずれを補正するために設定する。
シアンの差分目盛バーDBが正側基準目盛バーRBを越
える”H”領域に存在する場合には、印字ユニット21
Cの位置ずれが主走査方向Xにおいて+41ドット(3
0ドット+11ドット)となる。この場合、オペレータ
はこの測定結果に対応する”H11”という補正データ
を主走査方向Xにおいて印字ユニット21Cの位置ずれ
を補正するために設定する。
The operator responds to this measurement result "
The correction data "G11" is set to correct the positional deviation of the printing unit 21C in the main scanning direction X.
If the cyan differential scale bar DB exists in the "H" area beyond the positive reference scale bar RB, the printing unit 21
The positional deviation of C is +41 dots (3
0 dots + 11 dots). In this case, the operator sets the correction data "H11" corresponding to this measurement result in order to correct the positional deviation of the printing unit 21C in the main scanning direction X.

【0062】もし、シアンの差分目盛バーDBがゼロ基
準目盛バーRBと負側基準目盛バーRBとの間の”F”
領域に印字されている場合には、”F”領域に対応する
詳細スケール部SC2がチェックされる。さらに、マゼ
ンタ及びイエローの印字ユニット21M及び21Cの位
置ずれについても、シアンの印字ユニット21Cの位置
ずれ測定と同様に図7に示す偏差テストパターンから測
定される。
If the cyan difference scale bar DB is "F" between the zero reference scale bar RB and the negative side reference scale bar RB.
If it is printed in the area, the detailed scale portion SC2 corresponding to the "F" area is checked. Further, the positional deviation of the magenta and yellow printing units 21M and 21C is also measured from the deviation test pattern shown in FIG. 7, similarly to the positional deviation measurement of the cyan printing unit 21C.

【0063】他方、副走査方向Pの位置ずれ測定におい
て、オペレータは図8に示す偏差テストパターンの概略
スケール部SC0を最初にチェックし、この概略スケー
ル部SC0においてシアン、マゼンタ、及びイエロー差
分目盛バーDBとブラックのゼロ基準目盛バーRBとの
相対的な位置関係を概略的に確認する。例えば、シアン
の差分目盛バーDBが概略スケール部SC0においてゼ
ロ基準目盛バーRBと負側基準目盛バーRBとの間の”
B”領域に存在する場合、印字ユニット21Cの位置ず
れは副走査方向Pにおいて−30ドットを越えない。
On the other hand, in the measurement of the positional deviation in the sub-scanning direction P, the operator first checks the rough scale portion SC0 of the deviation test pattern shown in FIG. 8, and at this rough scale portion SC0, the cyan, magenta and yellow difference scale bars are checked. The relative positional relationship between the DB and the black zero reference scale bar RB is roughly confirmed. For example, the cyan difference scale bar DB is located between the zero reference scale bar RB and the negative reference scale bar RB in the rough scale section SC0.
When it exists in the B "area, the positional deviation of the printing unit 21C does not exceed -30 dots in the sub-scanning direction P.

【0064】オペレータは、”B”領域に存在するシア
ンの差分目盛バーDBを確認した後、”B”領域に対応
する詳細スケール部SC2をチェックし、この詳細スケ
ール部SC2においてシアンの差分目盛バーDBと一直
線になる基準目盛バーRBを捜す。例えば、第6番目の
基準目盛バーRBがシアンの差分目盛バーDBと一直線
になる場合、印字ユニット21Cの位置ずれは副走査方
向Pにおいて−6ドットとなる。オペレータはこの測定
結果に対応する”B6”という補正データを副走査方向
Pにおいて印字ユニット21Cの位置ずれを補正するた
めに設定する。
After confirming the cyan differential scale bar DB existing in the "B" area, the operator checks the detailed scale portion SC2 corresponding to the "B" area, and in the detailed scale portion SC2, the cyan differential scale bar DB is checked. Search for the standard scale bar RB that is in line with DB. For example, when the sixth reference scale bar RB is aligned with the cyan differential scale bar DB, the positional deviation of the printing unit 21C is -6 dots in the sub-scanning direction P. The operator sets correction data "B6" corresponding to this measurement result in order to correct the positional deviation of the printing unit 21C in the sub-scanning direction P.

【0065】シアンの差分目盛バーDBが負側基準目盛
バーRBを越える”A”領域に存在する場合には、印字
ユニット21Cの位置ずれが副走査方向Pにおいて−3
6ドット[(−30)+(−6)ドット]となる。この
場合、オペレータは、この測定結果に対応する”A6”
という補正データを副走査方向Pにおいて印字ユニット
21Cの位置ずれを補正するために設定する。
When the cyan differential scale bar DB exists in the area "A" that exceeds the negative reference scale bar RB, the positional deviation of the printing unit 21C is -3 in the sub-scanning direction P.
It becomes 6 dots [(-30) + (-6) dots]. In this case, the operator corresponds to this measurement result, "A6"
Correction data is set in order to correct the positional deviation of the printing unit 21C in the sub-scanning direction P.

【0066】もし、シアンの差分目盛バーDBがゼロ基
準目盛バーRBと正側基準目盛バーRBとの間の”C”
領域に印字されている場合には、”C”領域に対応する
詳細スケール部SC1がチェックされる。さらに、マゼ
ンタ及びイエローの印字ユニット21M及び21Cの位
置ずれについても、シアンの印字ユニット21Cの位置
ずれ測定と同様に図8に示す偏差テストパターンから測
定される。図9は、カラープリンタ20の制御回路によ
って行われる補正データ設定処理を示す図である。この
補正データ設定処理は、テストモードにおいて、図7及
び図8に示す主走査方向X及び副走査方向Pの偏差テス
トパターンを印字した後で行われる。オペレータは、印
字ユニット21Y,21M,21Cの位置ずれの測定結
果に対応する補正データをキーボード37またはホスト
コンピュータを介して入力する。主走査方向Xの補正デ
ータは、ステップST11で確認され、不揮発性RAM
51にステップST12で格納される。他方、主走査方
向Pの補正データはステップST13で確認され、不揮
発性RAM51にステップST14で格納される。ステ
ップST15では、補正データの設定が印字ユニット2
1Y,21M,21Cについて完了したかどうかチェッ
クされる。補正データ処理は、上述のステップを繰り返
し実行した後で終了する。
If the cyan differential scale bar DB is "C" between the zero reference scale bar RB and the positive reference scale bar RB.
If it is printed in the area, the detailed scale portion SC1 corresponding to the "C" area is checked. Further, the positional deviation of the magenta and yellow printing units 21M and 21C is also measured from the deviation test pattern shown in FIG. 8 similarly to the positional deviation measurement of the cyan printing unit 21C. FIG. 9 is a diagram showing a correction data setting process performed by the control circuit of the color printer 20. This correction data setting process is performed in the test mode after printing the deviation test pattern in the main scanning direction X and the sub scanning direction P shown in FIGS. The operator inputs the correction data corresponding to the measurement result of the positional deviation of the printing units 21Y, 21M, 21C via the keyboard 37 or the host computer. The correction data in the main scanning direction X is confirmed in step ST11, and the nonvolatile RAM
It is stored in step 51 in step ST12. On the other hand, the correction data in the main scanning direction P is confirmed in step ST13 and stored in the nonvolatile RAM 51 in step ST14. In step ST15, the correction data is set in the printing unit 2
It is checked whether it is completed for 1Y, 21M and 21C. The correction data processing ends after repeatedly executing the above steps.

【0067】図10は、カラープリンタ20の制御回路
で行われる補正処理を示す。この補正処理は図9に示す
補正データ設定処理の後または電源投入時に行われる。
主走査方向Xの補正データがステップST21で不揮発
性RAM51から読出されると、シフトクロックSCK
の数がステップST22でこの読出補正データに基づい
て求められ、さらにステップST23で対応印字ユニッ
トの印字制御データとしてヘッドコントロール部47の
対応カウンタにプリセットされる。例えば、補正データ
が”G11”であると、印字制御データは対応印字ユニ
ットの印字位置を主走査方向Xにおいて−11ドットだ
けシフトするシフトクロック数に設定される。
FIG. 10 shows a correction process performed by the control circuit of the color printer 20. This correction process is performed after the correction data setting process shown in FIG. 9 or when the power is turned on.
When the correction data in the main scanning direction X is read from the nonvolatile RAM 51 in step ST21, the shift clock SCK
Is obtained based on the read correction data in step ST22, and is preset in the corresponding counter of the head controller 47 as the print control data of the corresponding print unit in step ST23. For example, when the correction data is "G11", the print control data is set to the shift clock number that shifts the print position of the corresponding print unit by -11 dots in the main scanning direction X.

【0068】ステップST24では、主走査方向Xの補
正データが全て読出されたかチェックされる。もし、主
走査方向Xの補正データが読出されずに残っていれば、
ステップST21が再び実行される。ステップST24
で主走査方向Xの補正データが全て読出されたことが検
出されると、副走査方向Pの補正データがステップST
25で不揮発性RAM51から読出される。
In step ST24, it is checked whether all the correction data in the main scanning direction X have been read. If the correction data in the main scanning direction X remains without being read,
Step ST21 is executed again. Step ST24
When it is detected that all the correction data in the main scanning direction X have been read out in step ST, the correction data in the sub scanning direction P is determined in step ST.
At 25, it is read from the nonvolatile RAM 51.

【0069】続いて、用紙搬送ステップ数がステップS
T26でこの読出補正データに基づいて求められ、さら
にステップST27で対応印字ユニットの印字制御デー
タとしてタイマーカウンタ52にプリセットされる。例
えば、補正データが”B6”であると、印字制御データ
は対応印字ユニットの印字位置を副走査方向Pにおいて
+6ドットだけシフトする用紙搬送ステップ数に設定さ
れる。ステップST28では、主走査方向Xの補正デー
タが全て読出されたかチェックされる。もし、主走査方
向Xの補正データが読出されずに残っていれば、ステッ
プST25が再び実行される。
Then, the number of paper carrying steps is S
It is determined based on the read correction data at T26, and is further preset in the timer counter 52 as print control data of the corresponding print unit at step ST27. For example, if the correction data is "B6", the print control data is set to the number of paper transport steps that shifts the print position of the corresponding print unit by +6 dots in the sub-scanning direction P. In step ST28, it is checked whether all the correction data in the main scanning direction X have been read. If the correction data in the main scanning direction X remains without being read, step ST25 is executed again.

【0070】以下、印字ヘッド22Y,22M,22C
及び22Bをそれぞれ制御するヘッドコントローラ48
Y,48M,48C及び48Bの動作をさらに詳しく説
明する。これらヘッドコントローラ48Y,48M,4
8C及び48Bにおいて、カウンタ47Y,47M,4
7C及び47Bは初期状態で680というシフトクロッ
ク数を表す印字制御データをそれぞれ保持する。
Hereinafter, the print heads 22Y, 22M, 22C
And head controller 48 for controlling 22B respectively
The operation of Y, 48M, 48C and 48B will be described in more detail. These head controllers 48Y, 48M, 4
In 8C and 48B, counters 47Y, 47M, 4
7C and 47B hold print control data representing the shift clock number of 680 in the initial state, respectively.

【0071】ここでは、ヘッドコントローラ48Cの動
作を説明し、このヘッドコントローラ48Cと同様に構
成されるヘッドコントローラ48Y,48M及び48B
の動作説明を省略する。図10に示す補正処理では、カ
ウンタ47Y,47M及び47C内の印字制御データが
主走査方向Xにおいて印字ユニット21Y,21M及び
21Cの位置ずれをそれぞれ補正するために更新され、
カウンタ47B内の印字制御データは更新されない。
Here, the operation of the head controller 48C will be described, and the head controllers 48Y, 48M and 48B which are configured similarly to the head controller 48C will be described.
The description of the operation of is omitted. In the correction process shown in FIG. 10, the print control data in the counters 47Y, 47M and 47C are updated to correct the positional deviation of the print units 21Y, 21M and 21C in the main scanning direction X, respectively.
The print control data in the counter 47B is not updated.

【0072】図11は、位置ずれが主走査方向において
存在しない場合にヘッドコントローラ48Cによって行
われる動作を示す図である。この場合、ヘッドコントロ
ーラ48Cはカウンタ47Cに保持される印字制御デー
タに従って680個のシフトクロックSCKを印字ヘッ
ド22Cにおいて図4に示すラインバッファを構成する
シフトレジスタSR1及びSR2に順次供給すると共
に、これらシフトクロックSCKに同期して680個の
ドットデータをシフトレジスタSR1及びSR2にそれ
ぞれ供給する。
FIG. 11 is a diagram showing an operation performed by the head controller 48C when the positional deviation does not exist in the main scanning direction. In this case, the head controller 48C sequentially supplies 680 shift clocks SCK to the shift registers SR1 and SR2 forming the line buffer shown in FIG. 4 in the print head 22C in accordance with the print control data held in the counter 47C, and at the same time shifts these shifts. 680 dot data are supplied to the shift registers SR1 and SR2 in synchronization with the clock SCK.

【0073】図11に示すように、シフトレジスタSR
1は640ビット分のドットデータDATA1とこれに
続く40ビット分のドットデータ”00...0”を順
次受け取り、シフトレジスタSR2は80ビット分のド
ットデータ”00...0”とこれに続く600ビット
分のドットデータDATA2を順次受け取る。ドットデ
ータDATA1は、印字バッファ45からヘッドコント
ローラ48Cに読出される1ライン分のドットデータの
うちのドットデータD640からD1に対応する。ま
た、ドットデータDATA2は印字バッファ45からヘ
ッドコントローラ48Cに読出される1ライン分のドッ
トデータのうちのドットデータD1200からD601
に対応する。
As shown in FIG. 11, the shift register SR
1 sequentially receives 640-bit dot data DATA1 and the subsequent 40-bit dot data "00 ... 0", and the shift register SR2 receives 80-bit dot data "00 ... 0". The subsequent 600 bits of dot data DATA2 are sequentially received. The dot data DATA1 corresponds to the dot data D640 to D1 of the dot data for one line read from the print buffer 45 to the head controller 48C. The dot data DATA2 is the dot data D1200 to D601 of the dot data for one line read from the print buffer 45 to the head controller 48C.
Corresponding to.

【0074】シフトクロックSCK(C1からC40)
に割り当てられたドットデータD640からD601は
シフトレジスタSR1のオーバーフローにより削除さ
れ、シフトクロックSCK(C1からC40)に割り当
てられたドットデータ”00...0”はシフトレジス
タSR2のオーバーフローにより削除される。この結
果、ドットデータ”00...0”がラインバッファの
ビットR1からR40に格納され、ドットデータD1か
らD1200がラインバッファのビットR41からR1
240に格納され、ドットデータ”00...0”がラ
インバッファのビットR1241からR1280に格納
される。
Shift clock SCK (C1 to C40)
The dot data D640 to D601 assigned to the shift register SR1 are deleted due to overflow of the shift register SR1, and the dot data "00 ... 0" assigned to the shift clock SCK (C1 to C40) are deleted due to overflow of the shift register SR2. . As a result, the dot data “00 ... 0” is stored in the line buffer bits R1 to R40, and the dot data D1 to D1200 is stored in the line buffer bits R41 to R1.
240, and the dot data “00 ... 0” is stored in bits R1241 to R1280 of the line buffer.

【0075】図12は、主走査方向Xの位置ずれがシフ
トクロックSCKの数の増大により補正される場合にヘ
ッドコントローラ48Cによって行われる動作を示す図
である。カウンタ47Cに保持される印字制御データ
が”680+n”(nは40以下の正の整数)に更新さ
れた場合、ヘッドコントローラ48Cは、カウンタ47
Cに保持される印字制御データに従って680+n個の
シフトクロックSCKを印字ヘッド22Cにおいてシフ
トレジスタSR1及びSR2に順次供給すると共に、こ
れらシフトクロックSCKに同期して680+n個のド
ットデータをシフトレジスタSR1及びSR2にそれぞ
れ供給する。
FIG. 12 is a diagram showing an operation performed by the head controller 48C when the positional deviation in the main scanning direction X is corrected by the increase in the number of shift clocks SCK. When the print control data held in the counter 47C is updated to "680 + n" (n is a positive integer of 40 or less), the head controller 48C causes the counter 47C to
680 + n shift clocks SCK are sequentially supplied to the shift registers SR1 and SR2 in the print head 22C in accordance with the print control data held in C, and 680 + n dot data are shifted to the shift registers SR1 and SR2 in synchronization with these shift clocks SCK. Supply to each.

【0076】図12に示すように、シフトレジスタSR
1は640ビット分のドットデータDATA1とこれに
続く40+nビット分のドットデータ”00...0”
を順次受け取り、シフトレジスタSR2は80ビット分
のドットデータ”00...0”とこれに続く600−
nビット分のドットデータDATA2を順次受け取る。
ドットデータDATA1は、印字バッファ45からヘ
ッドコントローラ48Cに読出される1ライン分のドッ
トデータのうちのドットデータD640からD1に対応
する。また、ドットデータDATA2は印字バッファ4
5からヘッドコントローラ48Cに読出される1ライン
分のドットデータのうちのドットデータD1200から
D( 601−n )に対応する。
As shown in FIG. 12, the shift register SR
1 is 640-bit dot data DATA1 and 40 + n-bit dot data "00 ... 0" following this.
Sequentially, the shift register SR2 receives 80-bit dot data "00 ... 0" and the following 600-
The dot data DATA2 for n bits are sequentially received.
The dot data DATA1 corresponds to the dot data D640 to D1 of the dot data for one line read from the print buffer 45 to the head controller 48C. Also, the dot data DATA2 is stored in the print buffer 4
5 corresponds to the dot data D1200 to D (601-n) of the dot data for one line read to the head controller 48C.

【0077】シフトクロックSCK(C1からC(40
+n))に割り当てられたドットデータD640からD
( 601−n )は、シフトレジスタSR1のオーバーフ
ローにより削除され、シフトクロックSCK(C1から
C(40+n))に割り当てられたドットデータ”0
0...0”は、シフトレジスタSR2のオーバーフロ
ーにより削除される。この結果、ドットデータ”0
0...0”がラインバッファのビットR1からR(4
0+n)に格納され、ドットデータD1からD1200
がラインバッファのビットR(41+n)からR(12
40+n)に格納され、ドットデータ”00...0”
がラインバッファのビットR(1241+n)からR1
280に格納される。
The shift clocks SCK (C1 to C (40
+ N)) assigned to dot data D640 to D640
(601-n) is deleted due to the overflow of the shift register SR1, and the dot data "0" assigned to the shift clock SCK (C1 to C (40 + n))
0. . . 0 "is deleted by overflow of the shift register SR2. As a result, the dot data" 0 "is deleted.
0. . . 0 "is the bits R1 to R (4 of the line buffer
0 + n), and the dot data D1 to D1200
From the line buffer bits R (41 + n) to R (12
40 + n), and the dot data is “00 ... 0”.
Are bits R (1241 + n) to R1 of the line buffer
280.

【0078】図13は、主走査方向Xの位置ずれがシフ
トクロックSCKの数の減少により補正される場合にヘ
ッドコントローラ48Cによって行われる動作を示す図
である。カウンタ47Cに保持される印字制御データ
が”680−m”(mは40以下の正の整数)に更新さ
れた場合、ヘッドコントローラ48Cはカウンタ47C
に保持される印字制御データに従って680−m個のシ
フトクロックSCKを印字ヘッド22Cにおいてシフト
レジスタSR1及びSR2に順次供給すると共に、これ
らシフトクロックSCKに同期して680−m個のドッ
トデータをシフトレジスタSR1及びSR2にそれぞれ
供給する。
FIG. 13 is a diagram showing an operation performed by the head controller 48C when the positional deviation in the main scanning direction X is corrected by the decrease in the number of shift clocks SCK. When the print control data held in the counter 47C is updated to "680-m" (m is a positive integer of 40 or less), the head controller 48C determines the counter 47C.
680-m shift clocks SCK are sequentially supplied to the shift registers SR1 and SR2 in the print head 22C in accordance with the print control data held in the shift heads, and 680-m dot data are shifted in the shift registers in synchronization with the shift clocks SCK. Supply to SR1 and SR2 respectively.

【0079】図13に示すように、シフトレジスタSR
1は640ビット分のドットデータDATA1とこれに
続く40−mビット分のドットデータ”00...0”
を順次受け取り、シフトレジスタSR2は80ビット分
のドットデータ”00...0”とこれに続く600+
mビット分のドットデータDATA2を順次受け取る。
ドットデータDATA1は印字バッファ45からヘッ
ドコントローラ48Cに読出される1ライン分のドット
データのうちのドットデータD640からD1に対応す
る。また、ドットデータDATA2は印字バッファ45
からヘッドコントローラ48Cに読出される1ライン分
のドットデータのうちのドットデータD1200からD
(601+m)に対応する。
As shown in FIG. 13, the shift register SR
1 is 640-bit dot data DATA1 and 40-m-bit dot data "00 ... 0" following this.
Sequentially, the shift register SR2 receives 80 bits of dot data "00 ... 0" followed by 600+
The dot data DATA2 for m bits are sequentially received.
The dot data DATA1 corresponds to the dot data D640 to D1 of the dot data for one line read from the print buffer 45 to the head controller 48C. Further, the dot data DATA2 is stored in the print buffer 45.
From the dot data D1200 to D of the dot data for one line read from the head controller 48C
Corresponds to (601 + m).

【0080】シフトクロックSCK(C1からC(40
−m))に割り当てられたドットデータD640からD
(601+m)はシフトレジスタSR1のオーバーフロ
ーにより削除され、シフトクロックSCK(C1からC
(40−m))に割り当てられたドットデータ”0
0...0”はシフトレジスタSR2のオーバーフロー
により削除される。この結果、ドットデータ”0
0...0”がラインバッファのビットR1からR(4
0−m)に格納され、ドットデータD1からD1200
がラインバッファのビットR(41−m)からR(12
40−m)に格納され、ドットデータ”00...0”
がラインバッファのビットR(1241−m)からR1
280に格納される。
Shift clock SCK (C1 to C (40
-M)) to the dot data D640 to D640
(601 + m) is deleted due to overflow of the shift register SR1, and shift clock SCK (C1 to C
(40-m)) assigned to dot data “0
0. . . 0 "is deleted by overflow of the shift register SR2. As a result, dot data" 0 "
0. . . 0 "is the bits R1 to R (4 of the line buffer
0-m), and the dot data D1 to D1200
From the line buffer bits R (41-m) to R (12
40-m), and the dot data is "00 ... 0".
Is from line buffer bits R (1241-m) to R1
280.

【0081】また、副走査方向Pの位置ずれは、印字ユ
ニット21Y,21M,21C及び21Bの印字タイミ
ングを制御することにより補正される。印字ヘッド22
B,22C,22M及び22Yは、用紙の利用可能領域
が印字ヘッド22B,22C,22M及び22Yにそれ
ぞれ到達したときから駆動され始める。タイマーカウン
タ52は、位置センサ29から印字ヘッド22B,22
C,22M及び22Yまでの距離に対応して決められる
第1から第4の用紙搬送ステップ数を印字制御データと
して保持する。
The positional deviation in the sub-scanning direction P is corrected by controlling the print timing of the print units 21Y, 21M, 21C and 21B. Print head 22
B, 22C, 22M and 22Y start to be driven when the available area of the paper reaches the print heads 22B, 22C, 22M and 22Y, respectively. The timer counter 52 detects the print heads 22B and 22B from the position sensor 29.
The first to fourth number of sheet carrying steps determined corresponding to the distances to C, 22M and 22Y are held as print control data.

【0082】このカラープリンタ20では、位置センサ
29,印字ヘッド22B,22C,22M及び22Yが
互いに1000ドット分に対応する距離だけ互いに離さ
れて設置され、5個の駆動パルスが副走査方向Pにおい
て1ドット分用紙を搬送するためにフィードモータ部4
8のパルスモータに供給される。この場合、タイマーカ
ウンタ52は5000ステップ、10000ステップ、
15000ステップ、20000ステップという第1か
ら第4の用紙搬送ステップ数をそれぞれ表す第1から第
4の印字制御データを初期状態でそれぞれ保持する。
In this color printer 20, the position sensor 29 and the print heads 22B, 22C, 22M and 22Y are set apart from each other by a distance corresponding to 1000 dots, and five driving pulses are arranged in the sub-scanning direction P. The feed motor unit 4 is used to convey one dot of paper.
8 pulse motors. In this case, the timer counter 52 has 5000 steps, 10000 steps,
The 1st to 4th print control data representing the 1st to 4th sheet conveying step numbers of 15000 steps and 20000 steps, respectively, are held in the initial state.

【0083】位置ずれが副走査方向Pにおいて存在しな
い場合、CPU42は、位置センサ29からの割込信号
に応答してタイマーカウンタ52を動作させ、5000
ステップの用紙搬送ステップ数がカウントされたきにタ
イマーカウンタ52から発生される割込信号に応答して
印字ヘッド22Bの駆動開始をヘッドコントローラ48
Bに命じ、10000ステップの用紙搬送ステップ数が
カウントされたときにタイマーカウンタ52から発生さ
れる割込信号に応答して印字ヘッド22Cの駆動開始を
ヘッドコントローラ48Cに命じ、15000ステップ
の用紙搬送ステップ数がカウントされたきにタイマーカ
ウンタ52から発生される割込信号に応答して印字ヘッ
ド22Mの駆動開始をヘッドコントローラ48Mに命
じ、20000ステップの用紙搬送ステップ数がカウン
トされたときにタイマーカウンタ52から発生される割
込信号に応答して印字ヘッド22Yの駆動開始をヘッド
コントローラ48Yに命じる。図10に示す補正処理で
は、第2,第3,及び第4印字制御データが副走査方向
Pにおいて印字ユニット21Bに対する印字ユニット2
1C,21M及び21Yの位置ずれをそれぞれ補正する
ために更新される。
When the positional deviation does not exist in the sub-scanning direction P, the CPU 42 operates the timer counter 52 in response to the interrupt signal from the position sensor 29, and 5000.
The head controller 48 starts the drive of the print head 22B in response to an interrupt signal generated from the timer counter 52 every time the number of paper conveyance steps is counted.
B instructing the head controller 48C to start driving the print head 22C in response to an interrupt signal generated from the timer counter 52 when the number of sheet conveying steps of 10000 steps is counted, and the sheet conveying step of 15000 steps is performed. When the number is counted, the head controller 48M is instructed to start driving the print head 22M in response to an interrupt signal generated from the timer counter 52, and when the number of sheet conveyance steps of 20000 steps is counted, the timer counter 52 In response to the generated interrupt signal, the head controller 48Y is instructed to start driving the print head 22Y. In the correction process shown in FIG. 10, the second, third, and fourth print control data are printed by the printing unit 2 with respect to the printing unit 21B in the sub-scanning direction P.
It is updated to correct the positional deviations of 1C, 21M, and 21Y, respectively.

【0084】ここでは、印字ヘッド22Cの駆動開始タ
イミングを説明し、この印字ヘッド22Cと同様に構成
される印字ヘッド22Y,22M及び22Bの駆動開始
タイミングの説明を省略する。印字ヘッド22Cの位置
ずれが副走査方向Pにおいて、例えば−6ドットである
場合、タイマーカウンタ52内の用紙搬送ステップ数が
この位置ずれを補正するために10000+(6×5)
=10030ステップに更新される。
Here, the drive start timing of the print head 22C will be described, and the description of the drive start timing of the print heads 22Y, 22M, and 22B configured similarly to the print head 22C will be omitted. When the positional deviation of the print head 22C is, for example, −6 dots in the sub-scanning direction P, the number of paper conveyance steps in the timer counter 52 is 10000+ (6 × 5) in order to correct this positional deviation.
= 10030 steps are updated.

【0085】CPU42は、10030ステップの用紙
搬送ステップ数がカウントされたときにタイマーカウン
タ52から発生される割込信号に応答して印字ヘッド2
2Cの駆動開始をヘッドコントローラ48Cに命じる。
これにより、印字ヘッド22Cの印字位置は副走査方向
Pにおいて+6ドットだけ印字ヘッド22Bから離れる
ようにシフトされる。もしこの位置ずれが+6ドットで
あれば、用紙搬送ステップ数が10000−(6×5)
=9070ステップに更新される。
The CPU 42 responds to the interrupt signal generated from the timer counter 52 when the number of paper conveyance steps of 10030 is counted, in response to the print head 2.
The head controller 48C is instructed to start driving 2C.
As a result, the print position of the print head 22C is shifted by +6 dots in the sub-scanning direction P so as to be separated from the print head 22B. If this misalignment is +6 dots, the number of paper conveyance steps is 10,000- (6 × 5).
= 9070 steps are updated.

【0086】CPU42は、9070ステップの用紙搬
送ステップ数がカウントされたときに、タイマーカウン
タ52から発生される割込信号に応答して印字ヘッド2
2Cの駆動開始をヘッドコントローラ48Cに命じる。
これにより、印字ヘッド22Cの印字位置は副走査方向
Pにおいて−6ドットだけ印字ヘッド22Bに近づくよ
うにシフトされる。上述の主走査方向X及び副走査方向
Pの偏差テストパターンが図10に示す補正処理後に再
び印字されると、図14及び図15に示すように位置ず
れが実際に解消したことを確認できる。
The CPU 42 responds to the interrupt signal generated from the timer counter 52 when the number of paper conveyance steps of 9070 steps is counted, and the print head 2
The head controller 48C is instructed to start driving 2C.
As a result, the print position of the print head 22C is shifted so as to approach the print head 22B by -6 dots in the sub-scanning direction P. When the deviation test patterns in the main scanning direction X and the sub-scanning direction P described above are printed again after the correction processing shown in FIG. 10, it can be confirmed that the positional deviation has actually been eliminated as shown in FIGS. 14 and 15.

【0087】この第1の実施の形態のカラープリンタ2
0は、主走査方向X及び副走査方向Pの偏差テストパタ
ーンに規定する第1及び第2テスト印字データをROM
32に保持し、テストモードにおいて主走査方向X及び
副走査方向Pの偏差テストパターンを実際に印字する。
各偏差テストパターンは印字ユニット21Bにより印字
され対応偏差測定方向において、第1ピッチで並べられ
る複数の基準目盛バーを持つ基準スケールと、印字ユニ
ット21C,21M,21Yによりこの基準スケールに
隣接して並列に印字され対応偏差測定方向において、第
1ピッチから1ドットだけ異なる第2ピッチで並べられ
る差分目盛バーを持つ差分スケールとを備える。
Color printer 2 of the first embodiment
0 is a ROM for the first and second test print data that defines the deviation test pattern in the main scanning direction X and the sub scanning direction P.
32, the deviation test pattern in the main scanning direction X and the sub scanning direction P is actually printed in the test mode.
Each deviation test pattern is printed by the printing unit 21B, and in the corresponding deviation measurement direction, a reference scale having a plurality of reference scale bars arranged at the first pitch and the printing units 21C, 21M, and 21Y are arranged adjacent to the reference scale in parallel. And a difference scale having difference scale bars arranged at a second pitch different from the first pitch by one dot in the corresponding deviation measurement direction.

【0088】オペレータは、各偏差テストパターンにお
いて差分目盛バーと一直線になる基準目盛バーを捜し、
この基準目盛バーの順位から対応偏差測定方向において
印字ユニット21Bに対する印字ユニット21C,21
M,21Yの印字位置のずれを測定する。位置ずれは、
各偏差テストパターンにおいて基準目盛バーと差分目盛
バーの相対的な位置関係により表されるため、容易かつ
高精度で測定可能である。また、オペレータは顕微鏡を
用いずに位置ずれを測定できるため、オペレータへの負
担、測定時間及びオペレータによる測定値のばらつきを
低減できる。さらに、このカラープリンタ20はキーボ
ード37から入力される補正データに基づいて位置ずれ
を補正することが可能である。ちなみに、基準目盛バー
のピッチと差分目盛バーのピッチとの差が1ドットであ
る場合、この測定精度は1ドットまで向上する。
The operator searches for a reference scale bar that is in line with the difference scale bar in each deviation test pattern,
The printing units 21C, 21 with respect to the printing unit 21B in the corresponding deviation measurement direction from the order of the reference scale bar
Measure the deviation of the printing positions of M and 21Y. The displacement is
Since each deviation test pattern is represented by the relative positional relationship between the reference scale bar and the difference scale bar, measurement can be performed easily and with high accuracy. Further, since the operator can measure the positional deviation without using a microscope, it is possible to reduce the burden on the operator, the measurement time, and the variation in the measured value depending on the operator. Further, the color printer 20 can correct the positional deviation based on the correction data input from the keyboard 37. Incidentally, when the difference between the pitch of the reference scale bar and the pitch of the differential scale bar is 1 dot, this measurement accuracy is improved to 1 dot.

【0089】なお、この第1の実施の形態では、副走査
方向Pの偏差テストパターンが概略スケール部SC0並
びに詳細スケール部SC1及びSC2を有する。これら
詳細スケール部SC1及びSC2は、例えば印字ヘッド
22Bの発熱素子ラインに対する印字ヘッド22Y,2
2M,22C及び22Bの発熱素子ラインの傾きのずれ
を測定するために利用可能である。この場合、例えば図
16に示すように1対の詳細スケール部SC2(または
1対の詳細スケール部SC1)を主走査方向Xにおいて
用紙の両端に隣接するようできるだけ離して用紙上に配
置する制御が行われる。傾きのずれは、1対の詳細スケ
ール部SC2において差分目盛バーと一直線になる基準
目盛バーをそれぞれ捜し、これら基準目盛バーの順位の
差として測定される。このずれは、例えばRAM33内
にドットイメージパターンを作成する際に、このパター
ンを構成するドットの配置を変更することにより補正す
ることができる。
In the first embodiment, the deviation test pattern in the sub-scanning direction P has the rough scale portion SC0 and the fine scale portions SC1 and SC2. These detailed scale parts SC1 and SC2 are, for example, the print heads 22Y, 2 for the heating element line of the print head 22B.
It can be used to measure the deviation of the inclination of the heating element lines of 2M, 22C and 22B. In this case, for example, as shown in FIG. 16, a control for arranging the pair of detailed scale portions SC2 (or the pair of detailed scale portions SC1) on the sheet as close as possible to both ends of the sheet in the main scanning direction X is performed. Done. The deviation of the inclination is measured as a difference in the order of the reference scale bars by searching the differential scale bar and the reference scale bar that are aligned with each other in the pair of detailed scale portions SC2. This deviation can be corrected by changing the arrangement of the dots forming this pattern, for example, when creating a dot image pattern in the RAM 33.

【0090】以下、この発明の第2の実施の形態に係る
カラープリンタを図17から図21を参照して説明す
る。このカラープリンタは、主走査方向X及び副走査方
向Pの偏差テストパターンから自動的に位置ずれを測定
するために以下に述べることを除いて、前実施例のカラ
ープリンタと同様に構成される。このため、前実施例と
同様な部分を同一参照符号により表し、この部分の詳細
な説明を省略する。図17は、このカラープリンタ61
の内部構造を概略的に示す図であり、図18は、このカ
ラープリンタ61の制御回路を示す図である。
A color printer according to the second embodiment of the present invention will be described below with reference to FIGS. 17 to 21. This color printer is configured in the same manner as the color printer of the previous embodiment, except for the following, in order to automatically measure the positional deviation from the deviation test pattern in the main scanning direction X and the sub scanning direction P. Therefore, the same parts as those in the previous embodiment are designated by the same reference numerals, and the detailed description of these parts will be omitted. FIG. 17 shows the color printer 61.
19 is a diagram schematically showing the internal structure of FIG. 18, and FIG. 18 is a diagram showing a control circuit of the color printer 61.

【0091】カラープリンタ61は、図17に示すよう
にCCD(charge coupled device )イメージセンサ62
をさらに有する。このCCDイメージセンサ62は、テ
ストモードで印字ユニット21B,21C,21M及び
21Yによって処理された用紙を排出する用紙搬送路の
出口に隣接して配置され、主走査方向X及び副走査方向
Pの偏差テストパターンのカラー画像を読取る。このカ
ラー画像は、イメージセンサ62から入出力ポート34
に供給され、さらにRAM33に格納される。CPU3
1及び42の制御プログラムは、印字ユニット21Bの
印字位置に対する印字ユニット21C,21M及び21
Yの印字位置のずれを自動的に測定可能にするために変
更される。テストモードにおいて、このカラープリンタ
61の制御回路は、図19に示すようにステップST3
0でテスト印字処理を行ない、続いてステップST31
で補正処理を行なう。
As shown in FIG. 17, the color printer 61 includes a CCD (charge coupled device) image sensor 62.
Further has. The CCD image sensor 62 is disposed adjacent to the exit of the paper transport path that discharges the paper processed by the printing units 21B, 21C, 21M, and 21Y in the test mode, and the deviation in the main scanning direction X and the sub scanning direction P is detected. Read the color image of the test pattern. This color image is output from the image sensor 62 to the input / output port 34.
Are stored in the RAM 33. CPU3
The control programs 1 and 42 correspond to the printing units 21C, 21M and 21 corresponding to the printing positions of the printing unit 21B.
It is changed so that the deviation of the printing position of Y can be automatically measured. In the test mode, the control circuit of the color printer 61 controls the step ST3 as shown in FIG.
A test print process is performed with 0, and then step ST31
Perform correction processing with.

【0092】図20は、図19に示すテスト印字処理を
より詳細に示す図である。このテスト印字処理では、C
PU31がROM32に格納された第1テスト印字デー
タを読出し、この第1テスト印字データに対応する4色
成分のドットイメージデータ並びに所定印字サイズ及び
所定印字フォーマットの印字制御データをRAM33内
に作成するという主走査方向Xの偏差テストパターンに
関する前処理をステップST35で行なう。さらに、C
PU31はROM32に格納された第2テスト印字デー
タを読出し、この第2テスト印字データに対応する4色
成分のドットイメージデータ並びに所定印字サイズ及び
所定印字フォーマットの印字制御データをRAM33内
に作成するという副走査方向Pの偏差テストパターンに
関する前処理をステップST36で行なう。
FIG. 20 is a diagram showing the test printing process shown in FIG. 19 in more detail. In this test print process, C
The PU 31 reads the first test print data stored in the ROM 32 and creates dot image data of four color components corresponding to the first test print data and print control data of a predetermined print size and a predetermined print format in the RAM 33. Pre-processing relating to the deviation test pattern in the main scanning direction X is performed in step ST35. Furthermore, C
The PU 31 reads the second test print data stored in the ROM 32 and creates dot image data of four color components corresponding to the second test print data and print control data of a predetermined print size and a predetermined print format in the RAM 33. Pre-processing relating to the deviation test pattern in the sub-scanning direction P is performed in step ST36.

【0093】ステップST37では、CPU42が、R
AM33内に作成され、デュアルポートRAM41に供
給された主走査方向Xの偏差テストパターン用に格納さ
れた4色成分のドットイメージデータを読出し、ノーマ
ルモードと同様の制御によりこれらドットイメージデー
タに応じた4色成分画像を印字ユニット21Y,21
M,21C及び21Bで重ねて印字させ、これにより主
走査方向Xの偏差テストパターンを得るというパターン
印字処理を行なう。ステップST38では、CPU42
が、RAM33内に作成され、デュアルポートRAM4
1に供給された副走査方向Pの偏差テストパターン用に
格納された4色成分のドットイメージデータを読出し、
ノーマルモードと同様の制御によりこれらドットイメー
ジデータに応じた4色成分画像を印字ユニット21Y,
21M,21C及び21Bに重ねて印字させ、これによ
り副走査方向Pの偏差テストパターンを得るというパタ
ーン印字処理を行なう。
At step ST37, the CPU 42 causes the R
The dot image data of the four color components stored for the deviation test pattern in the main scanning direction X, which is created in the AM33 and is supplied to the dual port RAM 41, is read out, and the dot image data corresponding to these dot image data is controlled by the same control as in the normal mode. 4 color component image printing unit 21Y, 21
M, 21C and 21B are overlaid and printed, thereby performing a pattern printing process of obtaining a deviation test pattern in the main scanning direction X. In step ST38, the CPU 42
Is created in RAM33, and dual port RAM4
The dot image data of the four color components stored for the deviation test pattern in the sub-scanning direction P supplied to the No. 1 is read,
By the same control as the normal mode, the four color component images corresponding to these dot image data are printed by the printing unit 21Y,
21M, 21C, and 21B are overlapped and printed to obtain a deviation test pattern in the sub-scanning direction P, thereby performing a pattern printing process.

【0094】図21は、図20に示す補正処理をより詳
細に示す。この補正処理では、CPU31がステップS
T41で主走査方向X及び副走査方向Pの偏差テストパ
ターンの画像をCCDイメージセンサ62に順次読み取
らせる。CPU31は、ステップST42で主走査方向
Xの偏差テストパターンの画像を解析し、ステップST
43でこの偏差テストパターンの画像の解析結果から主
走査方向Xにおいて印字ユニット21Bに対する印字ユ
ニット21Y,21M及び21Cの位置ずれを測定し、
ステップST44でこの位置ずれに対応する補正データ
を不揮発性RAM51に格納する。
FIG. 21 shows the correction process shown in FIG. 20 in more detail. In this correction process, the CPU 31 executes step S
At T41, the CCD image sensor 62 sequentially reads the images of the deviation test patterns in the main scanning direction X and the sub scanning direction P. In step ST42, the CPU 31 analyzes the image of the deviation test pattern in the main scanning direction X, and in step ST
At 43, the positional deviation of the printing units 21Y, 21M and 21C with respect to the printing unit 21B in the main scanning direction X is measured from the analysis result of the image of the deviation test pattern,
In step ST44, the correction data corresponding to this displacement is stored in the non-volatile RAM 51.

【0095】さらにCPU31はステップST45で副
走査方向Pの偏差テストパターンの画像を解析し、ステ
ップST46でこの偏差テストパターンの画像の解析結
果から副走査方向Pにおいて印字ユニット21Bに対す
る印字ユニット21Y,21M及び21Cの位置ずれを
測定し、ステップST47でこの位置ずれに対応する補
正データを不揮発性RAM51に格納する。制御回路
は、図21に示す補正処理に続いて図10に示す補正処
理を行なう。これにより、タイマーカウンタ52並びに
カウンタ47Y,47M,及び47Cに格納された初期
印字制御データが不揮発性RAM51に格納された補正
データに基づいて更新される。
Further, in step ST45, the CPU 31 analyzes the image of the deviation test pattern in the sub-scanning direction P, and in step ST46, from the analysis result of the image of the deviation test pattern, the printing units 21Y and 21M for the printing unit 21B in the sub-scanning direction P are analyzed. And 21C are measured, and the correction data corresponding to this positional deviation are stored in the non-volatile RAM 51 in step ST47. The control circuit performs the correction process shown in FIG. 10 subsequent to the correction process shown in FIG. As a result, the initial print control data stored in the timer counter 52 and the counters 47Y, 47M, and 47C is updated based on the correction data stored in the nonvolatile RAM 51.

【0096】この第2の実施の形態のカラープリンタ6
1は、前述の第1の実施の形態のカラープリンタ20と
同様の長所を有すると共に、オペレータによる位置ずれ
の測定を不要にすることができる。従って、オペレータ
の負担及び位置ずれ補正時間をさらに低減することがで
きる。なお、上述の各実施の形態では、印字ユニット2
1Y,21M,21C及び21Bがインクリボン及びサ
ーマル印字ヘッドを用いて印字を行うように構成され
た。しかし、本発明はこれに限定されず、印字ユニット
21Y,21M,21C及び21Bは、例えばインクジ
ェット方式の印字ヘッドを用いて印字を行うように構成
されても良く、さらに電子写真処理される感光体ドラム
を用いて印字を行うように構成されても良い。
The color printer 6 according to the second embodiment
1 has the same advantages as the color printer 20 of the first embodiment described above, and can eliminate the need for the operator to measure the positional deviation. Therefore, the burden on the operator and the time required to correct the positional deviation can be further reduced. In each of the above embodiments, the printing unit 2
1Y, 21M, 21C and 21B were configured to print using the ink ribbon and thermal printhead. However, the present invention is not limited to this, and the printing units 21Y, 21M, 21C, and 21B may be configured to perform printing by using, for example, an inkjet type print head, and further, a photoconductor to be electrophotographic processed. The printing may be performed using a drum.

【0097】[0097]

【発明の効果】以上詳述したようにこの発明によれば、
用紙上で重ねられる複数の画像の印字位置相互のずれを
容易かつ高精度で測定可能な偏差テストパターンを印字
可能な印字装置を提供できる。また、用紙上で重ねられ
る複数の画像の印字位置相互のずれをこの偏差テストパ
ターンを用いて自動的に解消できる印字装置を提供でき
る。また、用紙上で重ねられる複数の画像の印字位置相
互のずれを容易かつ高精度で測定可能な偏差テストパタ
ンを提供できる。
As described above in detail, according to the present invention,
It is possible to provide a printing device capable of printing a deviation test pattern capable of easily and highly accurately measuring the deviation between the printing positions of a plurality of images superimposed on a sheet. Further, it is possible to provide a printing apparatus that can automatically eliminate the deviation between the printing positions of a plurality of images that are overlapped on a sheet by using this deviation test pattern. Further, it is possible to provide a deviation test pattern capable of easily and highly accurately measuring the deviation between the printing positions of a plurality of images superimposed on a sheet.

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

【図1】この発明の実施の形態のカラープリンタの内部
構造を概略的に示す図。
FIG. 1 is a diagram schematically showing an internal structure of a color printer according to an embodiment of the present invention.

【図2】同実施の形態のカラープリンタの制御回路を示
すブロック図。
FIG. 2 is a block diagram showing a control circuit of the color printer of the embodiment.

【図3】同実施の形態のカラープリンタのヘッドコント
ロール部及びヘッド部の関係を示すブロック図。
FIG. 3 is a block diagram showing a relationship between a head control unit and a head unit of the color printer according to the embodiment.

【図4】同実施の形態のカラープリンタの各サーマル印
字ヘッドに設けられる2個のシフトレジスタによって構
成されるラインバッファを示す図。
FIG. 4 is a diagram showing a line buffer including two shift registers provided in each thermal print head of the color printer of the embodiment.

【図5】同実施の形態のカラープリンタの制御回路で行
われるテスト印字処理を示すフローチャート。
FIG. 5 is a flowchart showing a test print process performed by the control circuit of the color printer of the same embodiment.

【図6】同実施の形態のカラープリンタで行われるテス
ト印字処理によって印字される偏差テストパターンの特
徴を説明するための図。
FIG. 6 is a diagram for explaining characteristics of a deviation test pattern printed by a test printing process performed by the color printer of the embodiment.

【図7】同実施の形態のカラープリンタで行われるテス
ト印字処理によって主走査方向の位置ずれを測定するた
めに印字された偏差テストパターンを示す図。
FIG. 7 is a diagram showing a deviation test pattern printed for measuring a positional deviation in the main scanning direction by a test printing process performed by the color printer of the embodiment.

【図8】同実施の形態のカラープリンタで行われるテス
ト印字処理によって副主走査方向の位置ずれを測定する
ために印字された偏差テストパターンを示す図。
FIG. 8 is a diagram showing a deviation test pattern printed for measuring a positional deviation in the sub-main scanning direction by a test printing process performed by the color printer of the embodiment.

【図9】同実施の形態のカラープリンタの制御回路で行
われる補正データ設定処理を示すフローチャート。
FIG. 9 is a flowchart showing a correction data setting process performed by the control circuit of the color printer of the same embodiment.

【図10】同実施の形態のカラープリンタの制御回路で
行われる補正処理を示すフローチャート。
FIG. 10 is a flowchart showing a correction process performed by the control circuit of the color printer according to the same embodiment.

【図11】同実施の形態のカラープリンタにおける位置
ずれが主走査方向において存在しない場合にヘッドコン
トローラによって行われる動作を示すタイムチャート。
FIG. 11 is a time chart showing an operation performed by the head controller when there is no positional deviation in the main scanning direction in the color printer of the same embodiment.

【図12】同実施の形態のカラープリンタにおける主走
査方向の位置ずれがシフトクロック数の増大により補正
される場合にヘッドコントローラによって行われる動作
を示すタイムチャート。
FIG. 12 is a time chart showing an operation performed by the head controller when the positional deviation in the main scanning direction in the color printer of the embodiment is corrected by the increase in the number of shift clocks.

【図13】同実施の形態のカラープリンタにおける主走
査方向の位置ずれがシフトクロック数の減少により補正
される場合にヘッドコントローラによって行われる動作
を示すタイムチャート。
FIG. 13 is a time chart showing an operation performed by the head controller when the positional deviation in the main scanning direction in the color printer of the embodiment is corrected by the reduction of the shift clock number.

【図14】同実施の形態のカラープリンタにおける補正
処理後に主走査方向の位置ずれを測定するために印字さ
れた偏差テストパターンを示す図。
FIG. 14 is a diagram showing a deviation test pattern printed for measuring the positional deviation in the main scanning direction after the correction processing in the color printer of the embodiment.

【図15】同実施の形態のカラープリンタの補正処理後
に副走査方向の位置ずれを測定するために印字された偏
差テストパターンを示す図。
FIG. 15 is a diagram showing a deviation test pattern printed for measuring the positional deviation in the sub-scanning direction after the correction processing of the color printer of the embodiment.

【図16】同実施の形態のカラープリンタのサーマル印
字ヘッドが主走査方向に平行であることを確認すること
が可能な偏差テストパターンを示す図。
FIG. 16 is a diagram showing a deviation test pattern capable of confirming that the thermal print head of the color printer of the embodiment is parallel to the main scanning direction.

【図17】この発明の第2の実施の形態のカラープリン
タの内部構造を概略的に示す図。
FIG. 17 is a diagram schematically showing an internal structure of a color printer according to a second embodiment of the invention.

【図18】同実施の形態のカラープリンタの制御回路を
示すブロック図。
FIG. 18 is a block diagram showing a control circuit of the color printer of the embodiment.

【図19】同実施の形態のカラープリンタの制御回路の
動作を説明するためのフローチャート。
FIG. 19 is a flowchart for explaining the operation of the control circuit of the color printer according to the same embodiment.

【図20】同実施の形態のカラープリンタで行われるテ
スト印字処理を示すフローチャート。
FIG. 20 is a flowchart showing a test printing process performed by the color printer of the embodiment.

【図21】同実施の形態のカラープリンタで行われる補
正処理を示すフローチャート。
FIG. 21 is a flowchart showing correction processing performed by the color printer according to the same embodiment.

【図22】従来のカラープリンタにおける主走査方向の
位置ずれを測定するために印字された第1偏差テストパ
ターンを示す図。
FIG. 22 is a diagram showing a first deviation test pattern printed for measuring the positional deviation in the main scanning direction in the conventional color printer.

【図23】従来のカラープリンタにおける副走査方向の
位置ずれを測定するために印字された第2偏差テストパ
ターンを示す図。
FIG. 23 is a diagram showing a second deviation test pattern printed for measuring the positional deviation in the sub-scanning direction in the conventional color printer.

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

22Y,22M,22C,22B…サーマル印字ヘッ
ド、 31,42…CPU、 32…ROM、 41…デュアルポートRAM、 48Y,48M,48C,48B…ヘッドコントロー
ラ、 SC0…概略スケール部、 SC1,SC2…詳細スケール部、 SC3…補助スケール部。
22Y, 22M, 22C, 22B ... Thermal print head, 31, 42 ... CPU, 32 ... ROM, 41 ... Dual port RAM, 48Y, 48M, 48C, 48B ... Head controller, SC0 ... Outline scale section, SC1, SC2 ... Details Scale part, SC3 ... Auxiliary scale part.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−153053(JP,A) 特開 昭61−31276(JP,A) 特開 平2−60785(JP,A) 特開 平3−246060(JP,A) 特開 平7−81190(JP,A) 特開 平2−125256(JP,A) 特開 平4−338625(JP,A) (58)調査した分野(Int.Cl.7,DB名) B41J 2/325 B41J 5/30 B41J 35/16 H04N 1/40 H04N 1/46 ─────────────────────────────────────────────────── ─── Continuation of the front page (56) Reference JP-A-4-153053 (JP, A) JP-A-61-31276 (JP, A) JP-A-2-60785 (JP, A) JP-A-3- 246060 (JP, A) JP-A-7-81190 (JP, A) JP-A-2-125256 (JP, A) JP-A-4-338625 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) B41J 2/325 B41J 5/30 B41J 35/16 H04N 1/40 H04N 1/46

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像を重ねて印字可能に配置される複数
の印字ユニットと、 画像を重ねて印字するためにこれら印字ユニットを制御
する印字制御回路とを備え、 前記印字制御回路はテストモードにおいてこれら印字ユ
ニットのうちの1基準印字ユニットを制御して1偏差測
定方向においてピッチMで並べられる複数の目盛バーを
持つ基準スケールを印字させ、前記基準印字ユニット以
外の印字ユニットを制御して前記1偏差測定方向におい
てピッチMから僅かに異なるピッチNで並べられる目盛
バーを持つ差分スケールを前記基準スケールに隣接して
並列に印字させ、前記基準スケール及び差分スケールと
により構成される偏差テストパターンから前記1偏差測
定方向において前記1基準印字ユニットの印字位置に対
する他の印字ユニットの印字位置のずれを測定し、前記
他の印字ユニットの印字位置を前記測定結果に応じて変
更するテスト制御回路と、 前記基準印字ユニットを制御して前記1偏差測定方向と
異なる他の偏差測定方向においてピッチMで並べられる
複数の目盛バーを持つ基準スケールを印字させ、前記基
準印字ユニット以外の印字ユニットを制御して前記他の
偏差測定方向においてピッチMから僅かに異なるピッチ
Nで並べられる目盛バーを持つ差分スケールを前記基準
スケールに隣接して並列に印字させ、前記基準スケール
及び前記差分スケールとにより構成される第2の偏差テ
ストパターンから前記他の偏差測定方向において前記基
準印字ユニットの印字位置に対する前記他の印字ユニッ
トの印字位置のずれを測定し、前記他の印字ユニットの
印字位置を前記測定結果に応じて変更する第2のテスト
制御回路を有することを特徴とする印字装置。
1. A plurality of printable images arranged so as to overlap each other.
Print units and control these print units to print images overlaid
And a print control circuit for controlling the print control circuit in the test mode.
Controls one standard printing unit of knit and measures one deviation
A plurality of scale bars arranged at a pitch M in a fixed direction
Print the standard scale you have,
Control the outside printing unit to move in the 1 deviation measurement direction.
Scales arranged at a pitch N slightly different from the pitch M
A difference scale with a bar next to the reference scale
Print in parallel, and use the reference scale and difference scale
From the deviation test pattern consisting of
The print position of the 1 standard print unit should be
Measure the deviation of the printing position of the other printing unit and
Change the printing position of the other printing unit according to the above measurement results.
A further test control circuit and the reference printing unit are controlled to print a reference scale having a plurality of scale bars arranged at a pitch M in another deviation measuring direction different from the one deviation measuring direction, and other than the reference printing unit. The printing unit is controlled to print a difference scale having scale bars arranged at a pitch N slightly different from the pitch M in the other deviation measurement direction in parallel adjacent to the reference scale. A deviation of the printing position of the other printing unit with respect to the printing position of the reference printing unit is measured in the other deviation measuring direction from a second deviation test pattern composed of a scale, and the printing position of the other printing unit is measured. A printing apparatus having a second test control circuit for changing the value according to the measurement result.
【請求項2】 画像を重ねて印字可能に配置される複数
の印字ユニットのうちの1基準印字ユニットにより印字
され1偏差測定方向においてピッチMで並べられる複数
の目盛バーを持つ基準スケールと、 前記1基準印字ユニット以外の印字ユニットにより前記
1基準スケールに隣接して並列に印字され前記1偏差測
定方向においてピッチMから僅かに異なるピッチNで並
べられる目盛バーを持つ差分スケールと、 前記ピッチNを前記ピッチMよりも所定長だけ短かくし
て前記基準スケール及び前記差分スケールで構成される
第1詳細スケール部と、前記基準印字ユニットにより印
字され前記1偏差測定方向において前記ピッチMで並べ
られる複数の目盛バーを持つ基準スケール並びに、前記
1基準印字ユニット以外の印字ユニットにより前記基準
スケールに隣接して並列に印字され前記1偏差測定方向
において前記ピッチMよりも前記所定長だけ長いピッチ
Lで並べられる目盛バーを持つ差分スケールで構成され
る第2詳細スケール部とを備えることを特徴とする偏差
テストパターン。
2. A reference scale having a plurality of scale bars, which are printed by one reference printing unit of a plurality of printing units arranged so as to print images in an overlapping manner and are arranged at a pitch M in one deviation measurement direction, A difference scale having scale bars that are printed in parallel adjacent to the one reference scale by a printing unit other than the one reference printing unit and are arranged at a pitch N slightly different from the pitch M in the one deviation measurement direction; A first detailed scale portion configured by the reference scale and the difference scale with a predetermined length shorter than the pitch M, and a plurality of scales printed by the reference printing unit and arranged at the pitch M in the one deviation measurement direction. The standard scale with a bar and printing units other than the standard printing unit described above A second detailed scale portion which is printed in parallel adjacent to the quasi-scale and has a graduated scale having scale bars arranged at a pitch L longer than the pitch M by the predetermined length in the one deviation measurement direction. Deviation test pattern characterized by.
【請求項3】 前記1基準印字ユニットにより印字され
前記1偏差測定方向において前記ピッチMで並べられる
複数の目盛バーを持つ基準スケール並びに、前記1基準
印字ユニット以外の印字ユニットにより前記基準スケー
ルに隣接して並列に印字され、前記基準スケールにおい
て中央に位置する目盛バーと一直線に並らぶ目盛バーで
構成される概略スケール部とを備えることを特徴とする
請求項に記載の偏差テストパターン。
3. A reference scale having a plurality of scale bars printed by the one reference printing unit and arranged at the pitch M in the one deviation measurement direction, and adjacent to the reference scale by a printing unit other than the one reference printing unit. 3. The deviation test pattern according to claim 2 , further comprising: a scale bar that is printed in parallel and that is located at the center of the reference scale and a schematic scale portion that is composed of scale bars that are aligned in a straight line.
JP07404696A 1995-03-30 1996-03-28 Printing device and deviation test pattern printed by this device Expired - Fee Related JP3369397B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP07404696A JP3369397B2 (en) 1995-03-30 1996-03-28 Printing device and deviation test pattern printed by this device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP7-74003 1995-03-30
JP7400395 1995-03-30
JP07404696A JP3369397B2 (en) 1995-03-30 1996-03-28 Printing device and deviation test pattern printed by this device

Publications (2)

Publication Number Publication Date
JPH08324012A JPH08324012A (en) 1996-12-10
JP3369397B2 true JP3369397B2 (en) 2003-01-20

Family

ID=26415151

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07404696A Expired - Fee Related JP3369397B2 (en) 1995-03-30 1996-03-28 Printing device and deviation test pattern printed by this device

Country Status (1)

Country Link
JP (1) JP3369397B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011104831A (en) * 2009-11-16 2011-06-02 Casio Computer Co Ltd Seal impression printer

Also Published As

Publication number Publication date
JPH08324012A (en) 1996-12-10

Similar Documents

Publication Publication Date Title
EP0735504B1 (en) Colour printer
US7789475B2 (en) Image forming apparatus
US20110211003A1 (en) Printing apparatus
EP0428370B1 (en) Recording apparatus
EP0730971A2 (en) Printing control method and apparatus using the same method
JP2019089302A (en) Printer and printing method
US6733101B2 (en) Printing apparatus and control method therefor
JP3369397B2 (en) Printing device and deviation test pattern printed by this device
JP2009223846A (en) Imposition print control unit, imposition print system, imposition print method and program
JP2011073158A (en) Recorder, method of controlling recorder, and program
US5570464A (en) Controller for a recording apparatus
EP1785281B1 (en) Image forming system, printing apparatus for the system, and image forming method
JP2006116845A (en) Method of controlling image forming apparatus
JP2004066595A (en) Recorder and recording method for pattern for registration
JP2004106415A (en) Recording system
JP2013195519A (en) Image forming apparatus
JP3307061B2 (en) Image recording device and host device
US20030044211A1 (en) Printer system which uses a plurality of print heads and which controls the print heads with a simple configuration to achieve high accuracy image printing
US7766443B2 (en) Image forming apparatus, method of compensating for error of conveyance distance of recording medium in the same and computer readable medium provided in the same
JP5117132B2 (en) Registration adjustment method between recording units
US8256868B2 (en) Image forming device and image forming system
EP1972448A1 (en) Ink jet recording device
JPH08323992A (en) Ink-jet recording device
US5820274A (en) Color printer and ink ribbon therefor
JP3680909B2 (en) Serial printer

Legal Events

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

Free format text: PAYMENT UNTIL: 20081115

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091115

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091115

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101115

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20101115

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111115

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111115

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121115

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20131115

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees