JP2008023787A - Printing method - Google Patents

Printing method Download PDF

Info

Publication number
JP2008023787A
JP2008023787A JP2006197241A JP2006197241A JP2008023787A JP 2008023787 A JP2008023787 A JP 2008023787A JP 2006197241 A JP2006197241 A JP 2006197241A JP 2006197241 A JP2006197241 A JP 2006197241A JP 2008023787 A JP2008023787 A JP 2008023787A
Authority
JP
Japan
Prior art keywords
line
printed
identification code
individual identification
printing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006197241A
Other languages
Japanese (ja)
Inventor
Masahiko Yoshida
昌彦 吉田
Hiroichi Nunokawa
博一 布川
Bunji Ishimoto
文治 石本
Tatsuya Nakano
龍也 中野
Yoichi Kakehashi
洋一 掛橋
Toru Miyamoto
徹 宮本
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2006197241A priority Critical patent/JP2008023787A/en
Publication of JP2008023787A publication Critical patent/JP2008023787A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To always make conditions of nozzles before printing of each line to be the same, when a plurality of lines for obtaining a correction value in a conveyance error are printed. <P>SOLUTION: This printing method comprises a step of allowing a printer to print a plurality of lines on a recording medium such that an operation of forming a line by moving a nozzle in a predetermined direction and ejecting ink from the nozzle and an operation of conveying a medium in a conveyance direction intersecting with the predetermined direction by a predetermined conveyance amount are alternately repeated a plurality of times by the printer, a step of allowing the printer to print an individual identification code on the medium for identifying the printer by ejecting the ink from the nozzle after printing the plurality of lines, a step of calculating to output a correction value according to a gap between the plurality of lines, a step of storing the correction value to a memory of the printer corresponding to the individual identification code by recognizing the individual identification code printed on the medium, and a step of allowing the printer to correct a target conveyance amount based on the correction value. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、印刷方法に関する。   The present invention relates to a printing method.

ヘッドが移動方向に移動し、その移動中にノズルからインクを吐出させる動作と、搬送方向に媒体を搬送させる動作とを交互に繰り返すことで印刷画像を完成させるインクジェットプリンタが知られている。
このようなプリンタでは、媒体を搬送させる際に搬送誤差が生じると、媒体上の正しい位置にインク滴が着弾せず、画質が劣化するおそれがある。
そこで、媒体の搬送誤差を補正するため、測定用パターンを印刷し、この測定用パターンを読み取った結果に基づいて算出した補正値を、搬送量に反映させる方法が提案されている。(特許文献1参照)
特開平5−96796号公報
There is known an ink jet printer that completes a print image by alternately repeating an operation of ejecting ink from a nozzle during the movement of the head and an operation of transporting the medium in the transport direction.
In such a printer, if a transport error occurs when transporting the medium, the ink droplets do not land at the correct position on the medium, and the image quality may deteriorate.
Therefore, in order to correct the conveyance error of the medium, a method has been proposed in which a measurement pattern is printed and a correction value calculated based on the result of reading the measurement pattern is reflected in the conveyance amount. (See Patent Document 1)
JP-A-5-96796

測定用パターンは、複数のラインとプリンタを識別するための個体識別コードから成る。そして、複数のラインの間隔に基づき、搬送誤差に対する補正値を算出する。
もし、測定用パターンを印刷する際に、個体識別コードを印刷した直後にラインを印刷すると、個体識別コード印刷後のノズルのメニスカス(ノズルで露出しているインクの自由表面)が安定する前にラインが印刷されるおそれがある。そうすると、吐出されるインク量が通常とは異なり、ラインの太さに影響が出てしまう。そして、搬送誤差に対する正確な補正値が得られなくなってしまう。
そこで、本発明では、搬送誤差の補正値を求めるための複数のラインを印刷する際に、各ラインを印刷する前のノズルの状態を常に同じにすることを目的とする。
The measurement pattern is composed of individual identification codes for identifying a plurality of lines and printers. Then, a correction value for the conveyance error is calculated based on the intervals between the plurality of lines.
If the line is printed immediately after printing the individual identification code when printing the measurement pattern, the nozzle meniscus after printing the individual identification code (the free surface of the ink exposed by the nozzle) is stabilized. Lines may be printed. If it does so, the amount of ink discharged will be different from usual, and the line thickness will be affected. In addition, an accurate correction value for the conveyance error cannot be obtained.
Therefore, an object of the present invention is to always make the state of the nozzles before printing each line the same when printing a plurality of lines for obtaining a correction value for a transport error.

前記課題を解決する発明は、ノズルを所定方向に移動させながら、前記ノズルからインクを吐出させてラインを形成する動作と、媒体が前記所定方向と交差する搬送方向に所定搬送量分だけ搬送される動作とを、印刷装置が交互に複数回繰り返すことで、複数のラインを前記媒体に印刷するステップと、前記印刷装置が、前記複数のラインを印刷した後、前記印刷装置を識別するための個体識別コードを、前記ノズルからインクを吐出させて前記媒体に印刷するステップと、前記複数のラインの間隔に基づいて、補正値を算出するステップと、前記媒体に印刷された前記個体識別コードを認識し、前記個体識別コードに対応する前記印刷装置のメモリに前記補正値を記憶させるステップと、前記印刷装置が、前記補正値に基づいて、目標搬送量を補正するステップと、を有する印刷方法である。   In the invention for solving the above-mentioned problem, an ink is ejected from the nozzle while moving the nozzle in a predetermined direction to form a line, and the medium is conveyed by a predetermined conveyance amount in a conveyance direction intersecting the predetermined direction. And a step of printing a plurality of lines on the medium by the printing device alternately repeating the operation a plurality of times, and the printing device for identifying the printing device after printing the plurality of lines. Printing an individual identification code on the medium by ejecting ink from the nozzle; calculating a correction value based on an interval between the plurality of lines; and the individual identification code printed on the medium. Recognizing and storing the correction value in the memory of the printing apparatus corresponding to the individual identification code, and the printing apparatus is configured to perform a target conveyance based on the correction value. And correcting the a printing method having a.

本発明の他の特徴は、本明細書、及び添付図面の記載により、明らかにする。   Other features of the present invention will become apparent from the description of this specification and the accompanying drawings.

===開示の概要===
本明細書の記載、及び添付図面の記載により、少なくとも次のことが明らかとなる。
=== Summary of disclosure ===
At least the following will become apparent from the description of the present specification and the accompanying drawings.

すなわち、ノズルを所定方向に移動させながら、前記ノズルからインクを吐出させてラインを形成する動作と、媒体が前記所定方向と交差する搬送方向に所定搬送量分だけ搬送される動作とを、印刷装置が交互に複数回繰り返すことで、複数のラインを前記媒体に印刷するステップと、前記印刷装置が、前記複数のラインを印刷した後、前記印刷装置を識別するための個体識別コードを、前記ノズルからインクを吐出させて前記媒体に印刷するステップと、前記複数のラインの間隔に基づいて、補正値を算出するステップと、前記媒体に印刷された前記個体識別コードを認識し、前記個体識別コードに対応する前記印刷装置のメモリに前記補正値を記憶させるステップと、前記印刷装置が、前記補正値に基づいて、目標搬送量を補正するステップと、を有する印刷方法を実現できること。
このような印刷方法によれば、各ラインを印刷する際のノズルの状態を常に同じにすることができる。
That is, printing is performed by moving a nozzle in a predetermined direction to discharge ink from the nozzle to form a line, and by moving a medium in a transport direction that intersects the predetermined direction by a predetermined transport amount. The apparatus repeats a plurality of times alternately to print a plurality of lines on the medium, and after the printing apparatus prints the plurality of lines, an individual identification code for identifying the printing apparatus, Ejecting ink from nozzles to print on the medium; calculating a correction value based on an interval between the plurality of lines; recognizing the individual identification code printed on the medium; Storing the correction value in the memory of the printing apparatus corresponding to the code; and a step in which the printing apparatus corrects the target carry amount based on the correction value. It can be realized a printing method having a flop, a.
According to such a printing method, the state of the nozzles when printing each line can always be the same.

かかる印刷方法であって、前記個体識別コードを印刷する際には、前記媒体を前記搬送方向に前記所定搬送量よりも少ない搬送量で搬送すること。
このような印刷方法によれば、媒体を微小送りしながら文字の印刷を完成させるため、解像度の高い文字の印刷が可能となる。但し、ノズルの所定方向(移動方向)の移動回数(パス)は増えるが、使用するノズル数を減らして印刷できる。また、解像度の高い文字の場合、文字サイズが小さくても正確に認識されるので、媒体を小さくすることが可能となる。
In this printing method, when the individual identification code is printed, the medium is transported in the transport direction by a transport amount smaller than the predetermined transport amount.
According to such a printing method, printing of characters is completed while finely feeding the medium, so that characters with high resolution can be printed. However, although the number of movements (passes) of the nozzle in a predetermined direction (movement direction) increases, printing can be performed with a reduced number of nozzles. In addition, in the case of a character with high resolution, even if the character size is small, it is recognized correctly, so that the medium can be made small.

かかる印刷方法であって、前記ノズルが複数ある場合に、前記個体識別コードは、前記ノズルを複数用いて印刷されること。
このような印刷方法によれば、解像度の高い文字の印刷が可能となる。複数のノズルを用いて印刷するということは、1回のパスでたくさんの画素にドットが形成され、パス数が減り、印刷時間が短縮される。また、媒体を小さくすることが可能となる。
In this printing method, when there are a plurality of nozzles, the individual identification code is printed using a plurality of the nozzles.
According to such a printing method, it is possible to print characters with high resolution. Printing using a plurality of nozzles means that dots are formed in many pixels in one pass, the number of passes is reduced, and the printing time is shortened. In addition, the medium can be made smaller.

かかる印刷方法であって、前記ノズルが前記搬送方向に並んで、ノズル列を形成し、前記個体識別コードは、1つの前記ノズル列を用いて印刷されること。
このような印刷方法によれば、複数のラインと個体識別コードを印刷する際に使用されるノズル列が1つであるため、1つのノズル列に対応するインクカートリッジのみを取り付ければよいことになる。
In this printing method, the nozzles are aligned in the transport direction to form a nozzle row, and the individual identification code is printed using one nozzle row.
According to such a printing method, since there is one nozzle row used when printing a plurality of lines and individual identification codes, it is only necessary to attach an ink cartridge corresponding to one nozzle row. .

かかる印刷方法であって、前記ノズルが前記搬送方向に並んで、ノズル列を形成し、前記個体識別コードは、複数の前記ノズル列を用いて印刷されること。
このような印刷方法によれば、文字を太く印刷することが可能となるので、文字を認識しやすくなる。微小送りしながら印刷しなくても、認識されやすい文字を印刷することができるので、パス数を減らすことができ、印刷時間が短縮される。また、媒体を小さくすることが可能となる。
In this printing method, the nozzles are aligned in the transport direction to form a nozzle row, and the individual identification code is printed using a plurality of the nozzle rows.
According to such a printing method, it is possible to print the character thickly, so that the character can be easily recognized. Since it is possible to print easily recognizable characters without printing while finely feeding, the number of passes can be reduced, and the printing time is shortened. In addition, the medium can be made smaller.

かかる印刷方法であって、前記ノズルが前記搬送方向に並んで、第1ノズル列と第2ノズル列を形成し、前記第1ノズル列は前記第2ノズル列に対して前記搬送方向にずれて配置され、前記個体識別コードは、前記第1ノズル列と前記第2ノズル列を用いて印刷されること。
このような印刷方法によれば、千鳥に配置されたノズル列を用いて文字が印刷されるので、解像度の高い文字の印刷が可能となる。そのため、微小送りしながら印刷しなくても、文字が認識されるので、パス数を減らすことができ、印刷時間が短縮される。また、媒体を小さくすることが可能となる。
In this printing method, the nozzles are aligned in the transport direction to form a first nozzle row and a second nozzle row, and the first nozzle row is shifted in the transport direction with respect to the second nozzle row. And the individual identification code is printed using the first nozzle row and the second nozzle row.
According to such a printing method, since characters are printed using the nozzle rows arranged in a staggered manner, characters with high resolution can be printed. Therefore, since characters are recognized without printing while finely feeding, the number of passes can be reduced and the printing time is shortened. In addition, the medium can be made smaller.

かかる印刷方法であって、前記印刷装置は前記媒体を第1ローラと第2ローラにより搬送し、前記第1ローラと前記第2ローラは、前記搬送方向に並んで配置され、前記第1ローラの方が前記第2ローラよりも上流側に位置し、前記複数のラインは、前記第1ローラと前記媒体が接触しているときに印刷されるラインであること。
このような印刷方法によれば、媒体が第1ローラと第2ローラによって搬送された場合の搬送誤差を算出することができる。即ち、搬送の特性が一緒の場合の搬送誤差を算出することができる。
In this printing method, the printing apparatus conveys the medium by a first roller and a second roller, and the first roller and the second roller are arranged side by side in the conveyance direction, and the first roller Is located upstream of the second roller, and the plurality of lines are lines printed when the first roller and the medium are in contact with each other.
According to such a printing method, it is possible to calculate a transport error when the medium is transported by the first roller and the second roller. That is, it is possible to calculate the transport error when the transport characteristics are the same.

かかる印刷方法であって、前記補正値を算出するステップには、前記媒体に印刷された前記複数のラインと前記個体識別コードをスキャナにより読み取とる動作が含まれ、前記補正値を算出するステップは、読み取った前記複数のラインの画像を基に前記補正値を算出するステップであり、前記個体識別コードの画像の傾きは前記複数のラインの画像の傾きとは別に補正されること。
このような印刷方法によれば、個体識別コードの画像の傾きに合った補正が行われるので、個体識別コードの内容が認識されやすくなる。
In this printing method, the step of calculating the correction value includes an operation of reading the plurality of lines printed on the medium and the individual identification code with a scanner, and the step of calculating the correction value includes The correction value is calculated based on the read images of the plurality of lines, and the inclination of the image of the individual identification code is corrected separately from the inclination of the images of the plurality of lines.
According to such a printing method, the correction corresponding to the inclination of the image of the individual identification code is performed, so that the content of the individual identification code is easily recognized.

かかる印刷方法であって、前記媒体には、前記複数のラインの画像の傾きを補正するための第1ラインと、前記個体識別コードの画像の傾きを補正するための第2ラインが印刷され、前記第2ラインは前記第1ラインよりも個体識別コードに近い位置に印刷されること。
このような印刷方法によれば、個体識別コードの画像の傾きに合った補正が行われるので、個体識別コードの内容が認識されやすくなる。
In this printing method, the medium is printed with a first line for correcting the inclination of the image of the plurality of lines and a second line for correcting the inclination of the image of the individual identification code, The second line is printed at a position closer to the individual identification code than the first line.
According to such a printing method, the correction corresponding to the inclination of the image of the individual identification code is performed, so that the content of the individual identification code is easily recognized.

また、複数のノズルを所定方向に移動させながら、前記ノズルからインクを吐出させてラインを形成する動作と、媒体が前記所定方向と交差する搬送方向に所定搬送量分だけ搬送される動作とを、印刷装置が交互に複数回繰り返すことで、複数のラインを前記媒体に印刷するステップと、前記印刷装置が、前記複数のラインを印刷した後、前記複数のノズルを前記所定方向に移動させながら、前記複数のノズルが前記搬送方向に並んで形成している複数のノズル列から前記媒体にインクを吐出させる動作と、前記媒体を前記搬送方向に前記所定搬送量よりも少ない搬送量で搬送する動作とを、交互に繰り返すことで、前記印刷装置を識別するための個体識別コードの印刷を印刷するステップと、前記媒体に印刷された前記複数のラインと前記個体識別コードをスキャナにより読み取とり、読み取った前記複数のラインの画像のラインの間隔に基づいて、補正値を算出するステップと、読み取った前記個体識別コードの画像を認識し、前記個体識別コードに対応する前記印刷装置のメモリに前記補正値を記憶させるステップと、前記印刷装置が、前記補正値に基づいて、目標搬送量を補正するステップと、を有する印刷方法であって、前記印刷装置は前記媒体を第1ローラと第2ローラにより搬送し、前記第1ローラと前記第2ローラは、前記搬送方向に並んで配置され、前記第1ローラの方が前記第2ローラよりも上流側に位置し、前記複数のラインは、前記第1ローラと前記媒体が接触しているときに印刷されるラインであり、前記個体識別コードの画像の傾きは前記複数のラインの画像の傾きとは別に補正され、前記媒体には、前記複数のラインの画像の傾きを補正するための第1ラインと、前記個体識別コードの画像の傾きを補正するための第2ラインが印刷され、前記第2ラインは前記第1ラインよりも個体識別コードに近い位置に印刷される、印刷方法を実現することもできる。
このような印刷方法によれば、既述のほぼ全ての効果を奏するため、本発明の目的が最も有効に達成される。
Further, an operation of forming a line by ejecting ink from the nozzles while moving a plurality of nozzles in a predetermined direction, and an operation of transporting the medium by a predetermined transport amount in a transport direction intersecting the predetermined direction. A step of printing a plurality of lines on the medium by alternately repeating the printing device a plurality of times, and the printing device printing the plurality of lines and then moving the plurality of nozzles in the predetermined direction. An operation of ejecting ink to the medium from a plurality of nozzle rows formed by the plurality of nozzles arranged in the transport direction, and transporting the medium in the transport direction with a transport amount smaller than the predetermined transport amount Printing the individual identification code for identifying the printing apparatus by alternately repeating the operation, the plurality of lines printed on the medium, and the line A body identification code is read by a scanner, a correction value is calculated based on line intervals of the read images of the plurality of lines, and the read image of the individual identification code is recognized. A printing method comprising: storing the correction value in a corresponding memory of the printing apparatus; and the printing apparatus correcting a target carry amount based on the correction value, wherein the printing apparatus includes: The medium is transported by a first roller and a second roller, and the first roller and the second roller are arranged side by side in the transport direction, and the first roller is located upstream of the second roller. The plurality of lines are lines that are printed when the first roller and the medium are in contact with each other, and the inclination of the image of the individual identification code is the plurality of lines. The medium has a first line for correcting the inclination of the image of the plurality of lines and a second line for correcting the inclination of the image of the individual identification code. It is also possible to realize a printing method in which printing is performed and the second line is printed at a position closer to the individual identification code than the first line.
According to such a printing method, the effects of the present invention can be most effectively achieved because almost all the effects described above can be achieved.

===インクジェットプリンタの構成===
印刷装置としてインクジェットプリンタを例にとり、本発明の実施形態を説明する。
=== Configuration of Inkjet Printer ===
An embodiment of the present invention will be described by taking an inkjet printer as an example of a printing apparatus.

〈構成〉
図1は本実施形態のプリンタ1の全体構成ブロック図である。外部装置であるコンピュータ60から印刷データを受信したプリンタ1は、コントローラ50により、各ユニット(搬送ユニット10、キャリッジユニット20、ヘッドユニット30)を制御し、媒体S(以下、紙Sとする)に画像を形成する。また、プリンタ1内の状況を検出器群40が監視し、その検出結果に基づいて、コントローラ50は各ユニットを制御する。図2Aは、プリンタ1の全体構成の概略図である。図2Bは、プリンタ1の全体構成の断面図である。図3は、搬送ユニット10の構成の説明図である。
<Constitution>
FIG. 1 is a block diagram showing the overall configuration of a printer 1 according to this embodiment. The printer 1 that has received print data from the computer 60 that is an external device controls each unit (conveyance unit 10, carriage unit 20, head unit 30) by the controller 50, and uses the medium S (hereinafter referred to as paper S). Form an image. Further, the detector group 40 monitors the situation in the printer 1, and the controller 50 controls each unit based on the detection result. FIG. 2A is a schematic diagram of the overall configuration of the printer 1. FIG. 2B is a cross-sectional view of the overall configuration of the printer 1. FIG. 3 is an explanatory diagram of the configuration of the transport unit 10.

コントローラ50は、プリンタ1の制御を行うための制御ユニットであり、インターフェース部51と、CPU52と、メモリ53と、ユニット制御回路54とを有する。インターフェース部51は、外部装置であるコンピュータ60とプリンタ1との間でデータの送受信を行うためのものである。CPU52は、プリンタ1全体の制御を行うための演算処理装置である。メモリ53は、CPU52のプログラムを格納する領域や作業領域等を確保するためのものであり、RAM、EEPROM等の記憶手段を有する。CPU52は、メモリ53に格納されているプログラムに従って、ユニット制御回路を有して各ユニットを制御する。   The controller 50 is a control unit for controlling the printer 1, and includes an interface unit 51, a CPU 52, a memory 53, and a unit control circuit 54. The interface unit 51 is for transmitting and receiving data between the computer 60 as an external device and the printer 1. The CPU 52 is an arithmetic processing unit for controlling the entire printer 1. The memory 53 is for securing an area for storing a program of the CPU 52, a work area, and the like, and has storage means such as a RAM and an EEPROM. The CPU 52 has a unit control circuit and controls each unit in accordance with a program stored in the memory 53.

搬送ユニット10は、紙Sを印刷可能な位置に送り込み、印刷時、搬送方向に所定の搬送量で紙Sを搬送させるためのものであり、給紙ローラ11と、搬送モータ12と、搬送ローラ13と、プラテン14と、排紙ローラ15とを有する。   The transport unit 10 feeds the paper S to a printable position, and transports the paper S by a predetermined transport amount in the transport direction during printing. The paper feed roller 11, the transport motor 12, and the transport roller 13, a platen 14, and a paper discharge roller 15.

ヘッドユニット30は、紙にインクを吐出するためのものであり、ヘッド31を有する。ヘッド31は、インク吐出部であるノズルを複数有する。そして、各ノズルには、各ノズルを駆動してインクを吐出させるための駆動素子であるピエゾ素子(不図示)が設けられている。   The head unit 30 is for ejecting ink onto paper and has a head 31. The head 31 has a plurality of nozzles that are ink ejection portions. Each nozzle is provided with a piezo element (not shown) which is a drive element for driving each nozzle to eject ink.

図4は、ヘッド31の下面(ノズル面)におけるノズルの配列を示す説明図である。ヘッド31の下面には、イエローインクノズル列Yと、マゼンタインクノズル列Mと、シアンインクノズル列Cと、ブラックインクノズル列Kが形成されている。各ノズル列は、各色のインクを吐出するための吐出口であるノズルを90個備えている。90個のノズルのうち、下流側のノズルほど若い番号が付されている(#i=#1〜#90)。また、各ノズル列のノズルは、搬送方向に沿って、一定の間隔Dでそれぞれ整列している。本実施形態では、ノズル列長を1インチ、間隔Dを90dpiとする。   FIG. 4 is an explanatory diagram showing the arrangement of nozzles on the lower surface (nozzle surface) of the head 31. A yellow ink nozzle row Y, a magenta ink nozzle row M, a cyan ink nozzle row C, and a black ink nozzle row K are formed on the lower surface of the head 31. Each nozzle row includes 90 nozzles that are ejection openings for ejecting ink of each color. Of the 90 nozzles, the downstream nozzles are assigned with lower numbers (# i = # 1 to # 90). In addition, the nozzles of each nozzle row are aligned at a constant interval D along the transport direction. In this embodiment, the nozzle row length is 1 inch and the interval D is 90 dpi.

キャリッジユニット20は、ヘッド31を移動方向に移動させるためのものであり、キャリッジ21と、キャリッジモータ22とを有する。   The carriage unit 20 is for moving the head 31 in the movement direction, and includes a carriage 21 and a carriage motor 22.

検出器群40には、リニア式エンコーダ41、ロータリー式エンコーダ42、紙検出センサ43、および光学センサ44等が含まれる。   The detector group 40 includes a linear encoder 41, a rotary encoder 42, a paper detection sensor 43, an optical sensor 44, and the like.

===印刷手順===
〈1:印刷命令受信〉
コントローラ50は、コンピュータ60から印刷命令及び印刷データを受信すると、印刷データに含まれる各種コマンドの内容を解析し、各ユニットを用いて、以下の処理を行う。
=== Printing procedure ===
<1: Print command received>
When the controller 50 receives a print command and print data from the computer 60, the controller 50 analyzes the contents of various commands included in the print data and performs the following processing using each unit.

〈2:給紙処理〉
コントローラ50は、給紙ローラ11を回転させ、印刷すべき紙Sを搬送ローラ13まで送る。紙検出センサ43が、給紙ローラ11から送られてきた紙Sの先端の位置を検出すると、コントローラ50は搬送ローラ13を回転させ紙Sを印刷開始位置(頭出し位置)に位置決めする。紙Sが印刷開始位置に位置決めされたとき、ヘッド31の少なくとも一部のノズルは、紙Sと対向している。
<2: Paper feed processing>
The controller 50 rotates the paper feed roller 11 and sends the paper S to be printed to the transport roller 13. When the paper detection sensor 43 detects the position of the leading edge of the paper S sent from the paper supply roller 11, the controller 50 rotates the transport roller 13 to position the paper S at the print start position (indexing position). When the paper S is positioned at the print start position, at least some of the nozzles of the head 31 are opposed to the paper S.

〈3:ドット形成処理〉
コントローラ50は、キャリッジモータ22を駆動し、キャリッジ21を移動方向に移動させる。ヘッド31は、キャリッジ21に設けられているため、ヘッド31もキャリッジ21と共に移動方向に移動する。キャリッジ21の移動方向への1回の移動をパスという。そして、コントローラ50は、キャリッジ21の移動中に、印刷データに基づいてノズルからインクを吐出させる。ノズルから吐出されたインク滴が紙S上に着弾すれば、紙S上にドットが形成される。移動するヘッド31からインクが断続的に吐出されるので、紙S上には移動方向に沿ったドット列が形成される。なお、キャリッジ21の移動方向の位置をリニア式エンコーダ41が検出し、キャリッジ21(ヘッド31)に取り付けられている光学センサ44が紙Sの端部の位置を検出する。図4に示すように光学センサ44は、ヘッド31の一番上流側にあるノズル#90とほぼ同じ位置にある。
<3: Dot formation processing>
The controller 50 drives the carriage motor 22 to move the carriage 21 in the movement direction. Since the head 31 is provided on the carriage 21, the head 31 also moves in the movement direction together with the carriage 21. One movement of the carriage 21 in the movement direction is called a pass. Then, the controller 50 ejects ink from the nozzles based on the print data while the carriage 21 is moving. When ink droplets ejected from the nozzles land on the paper S, dots are formed on the paper S. Since ink is intermittently ejected from the moving head 31, a dot row along the moving direction is formed on the paper S. The linear encoder 41 detects the position of the carriage 21 in the moving direction, and the optical sensor 44 attached to the carriage 21 (head 31) detects the position of the end of the paper S. As shown in FIG. 4, the optical sensor 44 is located at substantially the same position as the nozzle # 90 on the most upstream side of the head 31.

〈4:搬送処理〉
コントローラ50は、搬送モータ12を駆動し、搬送ローラ13を回転させて、紙Sを搬送方向に所定の搬送量分だけ搬送する。この搬送処理により、ヘッド31は、先ほどのドット形成処理によって形成されたドットの位置とは異なる位置に、ドットを形成することが可能になる。なお、印刷中の紙Sはプラテン14によって支持される。
<4: Transport processing>
The controller 50 drives the transport motor 12 and rotates the transport roller 13 to transport the paper S by a predetermined transport amount in the transport direction. By this carrying process, the head 31 can form dots at positions different from the positions of the dots formed by the previous dot formation process. The paper S being printed is supported by the platen 14.

紙Sの搬送量は、搬送ローラ13の回転量に応じて定まる。本実施形態の搬送ローラ13の円周の長さは1インチである。即ち、搬送ローラ13が1回転すると、紙Sが1インチ搬送される。(但し、実際には摩擦や搬送誤差(後述)の影響により、搬送ローラ13が1回転しても、紙Sが1インチ搬送されない場合もある。)そして、コントローラ50は、搬送ローラ13の回転量を検出ですることで、紙Sの搬送量を制御する。なお、搬送ローラ13の回転量はロータリー式エンコーダ42によって検出される。   The conveyance amount of the paper S is determined according to the rotation amount of the conveyance roller 13. The circumference of the conveyance roller 13 of this embodiment is 1 inch. That is, when the transport roller 13 rotates once, the paper S is transported for 1 inch. (However, due to friction and transport errors (described later), the paper S may not be transported 1 inch even if the transport roller 13 rotates once.) Then, the controller 50 rotates the transport roller 13. By detecting the amount, the transport amount of the paper S is controlled. The rotation amount of the transport roller 13 is detected by a rotary encoder 42.

ロータリー式エンコーダ42は、スケール421と検出部422とを有する。スケール421は、所定の間隔毎に設けられた多数のスリットを有する。このスケール421は、搬送ローラ13に設けられている。つまり、スケール421は、搬送ローラ13が回転すると、一緒に回転する。そして、搬送ローラ13が回転すると、スケール421の各スリットが検出部422を順次通過する。検出部422は、スケール421と対向して設けられており、プリンタ本体側に固定されている。ロータリー式エンコーダ42は、スケール421に設けられたスリットが検出部422を通過する毎に、パルス信号を出力する。搬送ローラ13の回転量に応じてスケール421に設けられたスリットが順次検出部422を通過するので、ロータリー式エンコーダ42の出力に基づいて、搬送ローラ13の回転量が検出される。   The rotary encoder 42 includes a scale 421 and a detection unit 422. The scale 421 has a large number of slits provided at predetermined intervals. The scale 421 is provided on the transport roller 13. That is, the scale 421 rotates together with the conveyance roller 13 as it rotates. When the transport roller 13 rotates, each slit of the scale 421 sequentially passes through the detection unit 422. The detection unit 422 is provided to face the scale 421 and is fixed to the printer main body side. The rotary encoder 42 outputs a pulse signal each time a slit provided in the scale 421 passes through the detection unit 422. Since the slits provided in the scale 421 sequentially pass through the detection unit 422 according to the rotation amount of the conveyance roller 13, the rotation amount of the conveyance roller 13 is detected based on the output of the rotary encoder 42.

〈5:排紙処理〉
コントローラ50は、印刷中の紙Sの排紙の判断を行う。印刷中の紙Sに印刷すべきデータが残っていれば、排紙は行われない。そして、コントローラ50は、印刷すべきデータがなくなるまで、ドット形成処理と搬送処理とを交互に繰り返し、画像を徐々に紙Sに印刷する。印刷中の紙Sに印刷すべきデータがなくなったところで、コントローラ50は、排紙ローラ15を回転させて紙Sを排紙する。この排紙ローラ15は、搬送ローラ13と同期して回転する。なお、排紙ローラ15の円周の長さは1インチである。
<5: Paper discharge processing>
The controller 50 determines whether or not to discharge the paper S being printed. If data to be printed remains on the paper S being printed, no paper is discharged. Then, the controller 50 alternately repeats the dot formation process and the conveyance process until there is no more data to be printed, and gradually prints the image on the paper S. When there is no more data to be printed on the paper S being printed, the controller 50 rotates the paper discharge roller 15 to discharge the paper S. The paper discharge roller 15 rotates in synchronization with the transport roller 13. The circumference of the paper discharge roller 15 is 1 inch.

===搬送誤差について===
ロータリー式エンコーダ42は搬送ローラ13の回転量を検出する。そして、コントローラ50は、搬送ローラ13の回転量に応じて、紙Sがどれ位搬送されたかを判断している。逆に言うと、コントローラ50は、紙Sを所定搬送量F搬送させるため、所定搬送量Fに応じた搬送ローラ13の回転量分だけ搬送ローラ13を回転させる。しかし、所定搬送量Fと搬送ローラ13の回転量の関係が、設計上(理論上)と実際の装置上で異なった場合、紙Sは所定搬送量Fを搬送されない。つまり、搬送誤差が生じる。搬送誤差が生じると、紙S上の正しい位置にドットが形成されなくなり、印刷された画像にスジが生じ、画像劣化が生じる。
=== About transport error ===
The rotary encoder 42 detects the rotation amount of the transport roller 13. Then, the controller 50 determines how much the paper S has been conveyed according to the rotation amount of the conveyance roller 13. In other words, the controller 50 rotates the transport roller 13 by the rotation amount of the transport roller 13 corresponding to the predetermined transport amount F in order to transport the paper S by the predetermined transport amount F. However, when the relationship between the predetermined conveyance amount F and the rotation amount of the conveyance roller 13 differs between design (theoretical) and the actual apparatus, the paper S is not conveyed by the predetermined conveyance amount F. That is, a conveyance error occurs. When a transport error occurs, dots are not formed at the correct position on the paper S, streaks occur in the printed image, and image degradation occurs.

図5Aは、設計上の搬送ローラ13の断面図である。搬送ローラ13の半径を半径r、搬送ローラ13の回転中心を中心O、中心角θに対応する搬送ローラ13の円周を円弧ABと円弧CDとする。中心Oから搬送ローラ13の円周までの距離が必ず半径rであるならば、円弧ABと円弧CDの長さは等しい。つまり、搬送ローラ13を角度θ(中心角θ)回転させれば、搬送ローラ13の円周上の位置に関係なく紙Sは円弧AB(円弧CD)の長さを搬送される。この中心角θと円弧ABの長さの関係が、設計上における搬送ローラ13の回転量と紙Sの搬送量の関係となる。しかし、実際の搬送ローラ13は製造誤差等によって、必ずしも中心Oから搬送ローラ13の円周までの距離が半径rであるわけではない。以下、AC成分の搬送誤差とDC成分の搬送誤差の2種類の搬送誤差について説明する。   FIG. 5A is a cross-sectional view of the designed conveying roller 13. The radius of the transport roller 13 is a radius r, the center of rotation of the transport roller 13 is a center O, and the circumference of the transport roller 13 corresponding to the center angle θ is an arc AB and an arc CD. If the distance from the center O to the circumference of the conveying roller 13 is always the radius r, the lengths of the arc AB and the arc CD are equal. That is, if the conveyance roller 13 is rotated by an angle θ (center angle θ), the paper S is conveyed by the length of the arc AB (arc CD) regardless of the circumferential position of the conveyance roller 13. The relationship between the central angle θ and the length of the arc AB is the relationship between the amount of rotation of the transport roller 13 and the transport amount of the paper S in design. However, the distance from the center O to the circumference of the transport roller 13 is not necessarily the radius r due to manufacturing errors and the like. In the following, two types of transport errors, AC component transport error and DC component transport error, will be described.

〈AC成分の搬送誤差〉
図5Bは、搬送ローラ13がつぶれて、断面が楕円形状になってしまった搬送ローラ131の断面図である。搬送ローラ131の中心O1から円周までの距離が、搬送ローラ131の円周上の位置によって異なる。中心O1から円周までの距離r1が設計上の半径r(図5A)よりも短い場合、その地点における中心角θに対応する円弧A1B1は、図5Aの円弧ABよりも短くなる(なお、図5Aから図5Dに示す角度θの大きさは全て等しいとする)。つまり、設計上の搬送ローラ13の半径rよりも装置上の搬送ローラ131の半径r1が短い場合、設計上での紙Sの搬送量よりも装置上の紙Sの搬送量の方が少なくなる。逆に、中心O1から円周までの距離r2が設計上の半径rよりも長い場合、その地点における中心角θに対応する円弧C1D1は、図5Aの円弧ABよりも長くなる。つまり、設計上の搬送ローラ13の半径rよりも装置上の搬送ローラ131の半径r2が長い場合、設計上での紙Sの搬送量よりも装置上での紙Sの搬送量の方が多くなる。
<AC component transport error>
FIG. 5B is a cross-sectional view of the transport roller 131 in which the transport roller 13 is crushed and the cross section has an elliptical shape. The distance from the center O1 of the transport roller 131 to the circumference varies depending on the position of the transport roller 131 on the circumference. When the distance r1 from the center O1 to the circumference is shorter than the designed radius r (FIG. 5A), the arc A1B1 corresponding to the center angle θ at that point is shorter than the arc AB in FIG. 5A to 5D are assumed to have the same angle θ). That is, when the radius r1 of the transport roller 131 on the apparatus is shorter than the designed radius r of the transport roller 13, the transport amount of the paper S on the apparatus is smaller than the transport amount of the paper S on the design. . On the contrary, when the distance r2 from the center O1 to the circumference is longer than the designed radius r, the arc C1D1 corresponding to the center angle θ at that point is longer than the arc AB in FIG. 5A. That is, when the radius r2 of the conveyance roller 131 on the apparatus is longer than the designed radius r of the conveyance roller 13, the conveyance amount of the paper S on the apparatus is larger than the conveyance amount of the paper S on the design. Become.

図5Cは、搬送ローラの回転中心が円の中心Oからずれてしまった搬送量ローラ132の断面図である。この場合も図5Bと同様に、搬送ローラ132の中心O2から円周までの距離が、搬送ローラ131の円周上の位置によって異なる。中心O2から円周までの距離r3が設計上の半径rよりも短い場合、設計上の紙Sの搬送量(円弧AB)よりも装置上の紙Sの搬送量(円弧A2B2)の方が少なくなる。そして、中心O2から円周までの距離r4が設計上の半径rよりも長い場合、設計上の紙Sの搬送量よりも装置上での紙Sの搬送量(円弧C2D2)の方が多くなる。つまり、搬送ローラ13の回転中心から搬送ローラ13の円周までの距離が、設計上と実際の装置上とで異なった場合に生じる搬送誤差がAC成分の搬送誤差である。   FIG. 5C is a cross-sectional view of the conveyance amount roller 132 in which the rotation center of the conveyance roller is deviated from the center O of the circle. In this case, as in FIG. 5B, the distance from the center O2 of the transport roller 132 to the circumference varies depending on the position of the transport roller 131 on the circumference. When the distance r3 from the center O2 to the circumference is shorter than the designed radius r, the transport amount of the paper S (arc A2B2) on the apparatus is smaller than the designed transport amount of the paper S (arc A AB). Become. When the distance r4 from the center O2 to the circumference is longer than the designed radius r, the transport amount of the paper S (arc C2D2) on the apparatus is larger than the transport amount of the designed paper S. . That is, an AC component transport error is a transport error that occurs when the distance from the rotation center of the transport roller 13 to the circumference of the transport roller 13 differs between the design and the actual apparatus.

また、搬送ローラ13の回転中心と、ロータリー式エンコーダ42のスケール421の回転中心がずれた場合にも、搬送誤差が生じる。図5Cを用いて説明するため、搬送ローラ13の回転中心が中心Oとなり、スケール421の回転中心が中心O2とする。搬送ローラ13が中心Oを回転中心として角度θ回転すると、紙Sは円弧ABの長さ分だけ搬送される。しかし、スケール421は、中心O2を回転中心として角度θ回転するので、紙Sが円弧ABよりも短い円弧A2B2の長さ分だけしか搬送されていないと検出してしまう。その結果、コントローラ50は必要以上に搬送ローラ13を回転させてしまい、搬送誤差が生じる。この搬送誤差もAC成分の搬送誤差である。   A transport error also occurs when the rotation center of the transport roller 13 and the rotation center of the scale 421 of the rotary encoder 42 are deviated. 5C, the rotation center of the transport roller 13 is the center O, and the rotation center of the scale 421 is the center O2. When the transport roller 13 rotates by the angle θ about the center O as the rotation center, the paper S is transported by the length of the arc AB. However, since the scale 421 rotates by the angle θ about the center O2, the sheet S is detected as being conveyed only by the length of the arc A2B2 shorter than the arc AB. As a result, the controller 50 rotates the transport roller 13 more than necessary, causing a transport error. This transport error is also an AC component transport error.

以上をまとめると、AC成分の搬送誤差は、搬送ローラ13の円周上のどの位置で紙Sを搬送するかによって、搬送誤差量が異なってくる。また、搬送ローラ13の円周の長さに関する搬送誤差(後述のDC成分の搬送誤差)は、AC成分の搬送誤差には含まれない。つまり、搬送ローラ13の円周の長さを設計上と実際の装置上とで等しいと考えられるため、搬送ローラ13が1回転すれば、AC成分の搬送誤差はゼロとなる。   In summary, the AC component transport error varies depending on the position on the circumference of the transport roller 13 where the paper S is transported. Further, a transport error (a DC component transport error, which will be described later) related to the circumference of the transport roller 13 is not included in the AC component transport error. In other words, since the circumferential length of the transport roller 13 is considered to be equal between the design and the actual apparatus, the transport error of the AC component becomes zero when the transport roller 13 rotates once.

〈DC成分の搬送誤差〉
DC成分の搬送誤差とは、製造誤差等により搬送ローラ13の円周の長さが設計上と実際の装置上とで異なる場合に発生する搬送誤差のことである。
<DC component transport error>
The DC component transport error is a transport error that occurs when the circumference of the transport roller 13 differs between the design and the actual apparatus due to a manufacturing error or the like.

図5Dは、設計上の搬送ローラ13と、設計上の搬送ローラ13よりも1回り大きい搬送ローラ133の断面図である。中心Oから装置上の搬送ローラ133までの距離r5の方が、中心Oから設計上の搬送ローラ13の円周までの距離rよりも長い。そして、装置上の搬送ローラ133の円周の長さは、設計上の搬送ローラ13の円周の長さよりも長い。この場合、同じ中心角θに対応する各搬送ローラの円弧の長さに関して、装置上の搬送ローラ133の円弧A3B3の方が、設計上の搬送ローラ13の円弧ABよりも長くなる。つまり、設計上の搬送ローラ13よりも円周が長い搬送ローラ133を角度θ回転させた場合、設計上の紙Sの搬送量(円弧AB)よりも装置上の紙Sの搬送量(円弧A3B3)の方が多くなる。逆に、設計上の搬送ローラ13よりも円周が短い搬送ローラ(不図示)を角度θ回転させた場合は、設計上の紙Sの搬送量よりも装置上の紙Sの搬送量の方が少なくなる。   FIG. 5D is a cross-sectional view of the designed conveying roller 13 and the conveying roller 133 that is one size larger than the designed conveying roller 13. The distance r5 from the center O to the conveying roller 133 on the apparatus is longer than the distance r from the center O to the designed circumference of the conveying roller 13. The circumferential length of the conveying roller 133 on the apparatus is longer than the designed circumferential length of the conveying roller 13. In this case, the arc A3B3 of the conveying roller 133 on the apparatus is longer than the designed arc AB of the conveying roller 13 with respect to the arc length of each conveying roller corresponding to the same central angle θ. That is, when the conveyance roller 133 having a longer circumference than the designed conveyance roller 13 is rotated by an angle θ, the conveyance amount of the paper S on the apparatus (arc A3B3) is larger than the conveyance amount of the design paper S (arc AB). ) Will be more. Conversely, when a conveyance roller (not shown) whose circumference is shorter than the designed conveyance roller 13 is rotated by an angle θ, the conveyance amount of the paper S on the apparatus is larger than the conveyance amount of the design paper S. Less.

以上をまとめると、DC成分の搬送誤差は、搬送ローラ13の円周上の位置に関わらず、紙Sの搬送量が増加すれば搬送誤差も増加する。即ち、紙Sの搬送量が増加すると、コントローラ50が指示した搬送量よりも多く(または少なく)搬送されてしまう度合いが増すということである。DC成分の搬送誤差は、搬送ローラ13の円周の長さに関係する誤差であるため、AC成分の搬送誤差のように搬送ローラ13が1回転しても誤差はゼロにはならない。   In summary, the DC component transport error increases as the transport amount of the paper S increases regardless of the position of the transport roller 13 on the circumference. That is, when the transport amount of the paper S increases, the degree that the paper S is transported more (or less) than the transport amount instructed by the controller 50 increases. Since the DC component transport error is an error related to the circumference of the transport roller 13, the error does not become zero even if the transport roller 13 makes one rotation like the AC component transport error.

===本実施形態の搬送誤差の補正について===
搬送誤差にはAC成分の搬送誤差とDC成分の搬送誤差の2種類ある。AC成分の搬送誤差は搬送ローラ13の位置によって搬送誤差量が変わってくる。そのため、AC成分の搬送誤差を補正するには、原点センサにより搬送ローラ13の回転開始位置を把握する必要がある。しかし、原点センサを設けるとコストアップとなってしまうため、本実施形態ではDC成分の搬送誤差のみを補正する。
=== About Correction of Carrying Error of this Embodiment ===
There are two types of transport errors: AC component transport errors and DC component transport errors. The AC component transport error varies depending on the position of the transport roller 13. Therefore, in order to correct the AC component transport error, it is necessary to grasp the rotation start position of the transport roller 13 by the origin sensor. However, since the cost is increased when the origin sensor is provided, only the DC component transport error is corrected in this embodiment.

DC成分の搬送誤差の原因は、製造誤差等による搬送ローラ13の円周の長さの誤差であり、個々のプリンタによって生じる誤差の特性が異なる。そのため、個々のプリンタ毎に補正量を求める必要がある。   The cause of the DC component transport error is an error in the circumferential length of the transport roller 13 due to a manufacturing error or the like. Therefore, it is necessary to obtain a correction amount for each printer.

図6は、搬送誤差補正のフロー図である。図7は、搬送誤差補正を行う時のシステム構成図である。プリンタ製造工場の検査工程にて、完成したプリンタ1とスキャナ70をコンピュータ60に接続する。プリンタ1は、テストシートTSに測定用パターンとして複数のラインを印刷する(S101)。この複数のラインは所定間隔おきに搬送方向に並んでいる。テストシートTSに印刷された測定用パターンと、基準シートSSに印刷された基準パターン(後述)をスキャナ70に読み取らせる(S102)。測定用パターンのラインの間隔と、コンピュータ60が印刷の際に指示したラインの間隔との差が搬送誤差となる。そして、コンピュータ60は搬送誤差に対する補正値を算出する(S103)。その後、コンピュータ60は、算出した補正値をプリンタ1内のメモリ53に記憶させる(S104)。以下に、DC成分の搬送誤差に対する補正方法について詳しく説明する。   FIG. 6 is a flowchart of conveyance error correction. FIG. 7 is a system configuration diagram when carrying error correction is performed. The completed printer 1 and scanner 70 are connected to the computer 60 in the inspection process at the printer manufacturing factory. The printer 1 prints a plurality of lines as measurement patterns on the test sheet TS (S101). The plurality of lines are arranged in the transport direction at predetermined intervals. The measurement pattern printed on the test sheet TS and the reference pattern (described later) printed on the reference sheet SS are read by the scanner 70 (S102). The difference between the line interval of the measurement pattern and the line interval instructed by the computer 60 during printing is a conveyance error. Then, the computer 60 calculates a correction value for the transport error (S103). Thereafter, the computer 60 stores the calculated correction value in the memory 53 in the printer 1 (S104). Hereinafter, a correction method for the DC component transport error will be described in detail.

===測定用パターンの印刷(S101)===
図8は、テストシートTSに印刷された測定用パターンを示している。測定用パターンは、複数のラインと個体識別コードからなる。図9は、テストシートTSとヘッド31の位置関係を示している。複数のラインのうち、紙の上端側のラインほど若い番号が付されている(L1〜L20、Lb1、Lb2)。また、n回目のキャリッジ21の移動方向への移動をパスnとする。そして、図9では説明の都合上、ヘッド31がテストシートTSに対して移動しているように描かれているが、実際にはテストシートTSがヘッド31に対して搬送方向に搬送される。
=== Printing Pattern for Measurement (S101) ===
FIG. 8 shows the measurement pattern printed on the test sheet TS. The measurement pattern includes a plurality of lines and an individual identification code. FIG. 9 shows the positional relationship between the test sheet TS and the head 31. Among the plurality of lines, the lower number is assigned to the line on the upper end side of the paper (L1 to L20, Lb1, Lb2). The nth movement of the carriage 21 in the movement direction is defined as a path n. For convenience of explanation, FIG. 9 illustrates that the head 31 is moved with respect to the test sheet TS, but the test sheet TS is actually conveyed with respect to the head 31 in the conveyance direction.

また、複数のラインのうち、テストシートTSの一番上端側のラインL1と、下端側のラインLb2と、個体識別コードの印刷位置に近いラインL16は、スキャナ70で読み込まれた画像の傾きを検出するために使用される。そのため、ラインL1とラインLb2とラインL16は、テストシートTSの移動方向に長く伸びたラインとなる。これ以外のライン(L2〜L15、L17〜L20、Lb1)は、テストシートTSの移動方向の中央部に、ラインL1よりも短く印刷される。これは、搬送誤差は紙Sの左右によって差があるからである。搬送誤差に対する補正効果が紙S全体に得られるような補正値を算出するために、テストシートTSの移動方向の中央に生じる搬送誤差を求める。そして、測定用パターンの印刷時間を出来る限り短縮するため、テストシートTSの中央部にのみ、短いラインを印刷している。   Of the plurality of lines, the uppermost line L1, the lowermost line Lb2, and the line L16 close to the print position of the individual identification code indicate the inclination of the image read by the scanner 70. Used to detect. Therefore, the line L1, the line Lb2, and the line L16 are lines that extend long in the moving direction of the test sheet TS. The other lines (L2 to L15, L17 to L20, Lb1) are printed shorter than the line L1 at the center in the moving direction of the test sheet TS. This is because the conveyance error differs depending on the right and left of the paper S. In order to calculate a correction value so that the correction effect for the conveyance error can be obtained for the entire paper S, a conveyance error occurring at the center in the moving direction of the test sheet TS is obtained. And in order to shorten the printing time of the pattern for measurement as much as possible, a short line is printed only in the central part of the test sheet TS.

図10Aは、パス1におけるヘッド31とテストシートTSと搬送ローラ13の位置関係を示している。図10Bは、パス2におけるヘッド31とテストシートTSと搬送ローラ13の位置関係を示している。図10Cは、非NIP状態でのヘッド31とテストシートTSと搬送ローラ13の位置関係を示している。   FIG. 10A shows the positional relationship among the head 31, the test sheet TS, and the transport roller 13 in pass 1. FIG. 10B shows the positional relationship among the head 31, the test sheet TS, and the conveyance roller 13 in pass 2. FIG. 10C shows the positional relationship among the head 31, the test sheet TS, and the transport roller 13 in the non-NIP state.

図10A及び図10Bのように、テストシートTS(媒体)が搬送ローラ13と従動ローラ16に挟まれている状態のことをNIP状態という。非NIP状態とは、テストシートTSが搬送ローラ13と従動ローラ16の間を外れた状態のことをいう。非NIP状態では、排紙ローラ15と従動ローラ17だけでテストシートTSが搬送される。即ち、NIP状態と非NIP状態では、搬送の特性が異なる。そのため、NIP状態で生じる搬送誤差と非NIP状態で生じる搬送誤差を分けて補正する必要がある。   A state in which the test sheet TS (medium) is sandwiched between the conveyance roller 13 and the driven roller 16 as shown in FIGS. 10A and 10B is referred to as an NIP state. The non-NIP state means a state in which the test sheet TS is separated from the conveyance roller 13 and the driven roller 16. In the non-NIP state, the test sheet TS is conveyed only by the paper discharge roller 15 and the driven roller 17. That is, the transport characteristics are different between the NIP state and the non-NIP state. Therefore, it is necessary to correct the transport error that occurs in the NIP state and the transport error that occurs in the non-NIP state separately.

なお、テストシートTSがNIP状態のときに印刷されるテストシートTSの領域を通常領域とし、テストシートTSが非NIP状態のときに印刷されるテストシートTSの領域を下端領域とする。また、テストシートTSが搬送ローラ13と従動ローラ16の間から外れたとき、ノズル#90と対向しているテストシートTSの位置をNIPラインとし、図9に示す。このNIPラインが通常領域と下端領域の境目となる。以下、測定用パターン(複数のラインと個体識別コード)の印刷について、通常領域と下端領域に分けて、説明する。   An area of the test sheet TS printed when the test sheet TS is in the NIP state is a normal area, and an area of the test sheet TS printed when the test sheet TS is in the non-NIP state is a lower end area. Further, when the test sheet TS is separated from between the conveying roller 13 and the driven roller 16, the position of the test sheet TS facing the nozzle # 90 is defined as an NIP line and is shown in FIG. This NIP line is the boundary between the normal area and the lower end area. Hereinafter, printing of measurement patterns (a plurality of lines and individual identification codes) will be described separately for a normal region and a lower end region.

〈通常領域でのラインの印刷〉
測定用パターンをテストシートTSに印刷するにあたり、まず、プリンタ1にセットされたテストシートTSが印刷開始位置まで搬送される。スキャナ70で読み取る際に、テストシートTSの上端から1mmの範囲はスキャン範囲に入らない可能性があるため、テストシートTSから1mm以上離れた場所がテストシートTSの印刷開始位置となる。
<Print line in normal area>
In printing the measurement pattern on the test sheet TS, first, the test sheet TS set in the printer 1 is conveyed to the printing start position. When reading by the scanner 70, there is a possibility that the range of 1 mm from the upper end of the test sheet TS may not fall within the scan range, so a location 1 mm or more away from the test sheet TS is the print start position of the test sheet TS.

印刷開始位置までテストシートTSが搬送された後、キャリッジ21が移動方向に移動しながら最初のライン(L1)が印刷される。1回のパスで、1本のラインが印刷される。ラインL1はマゼンタインク用ノズル列Mのノズル#90を用いて印刷される。できる限り多くのラインが通常領域に印刷されるように、一番上流側のノズル#90が用いられる。   After the test sheet TS is conveyed to the printing start position, the first line (L1) is printed while the carriage 21 moves in the moving direction. One line is printed in one pass. The line L1 is printed using the nozzle # 90 of the magenta ink nozzle row M. The most upstream nozzle # 90 is used so that as many lines as possible are printed in the normal area.

そして、ラインL1の印刷後、コントローラ50はテストシートTSを所定搬送量F分だけ搬送する。その後、パス2においてラインL2が印刷される。この所定搬送量Fと実際の搬送量との差が搬送誤差である。ところで、ロータリー式エンコーダ42は直接的にテストシートTSの搬送量を検知していない。そのため、実際の搬送量は実際に印刷されたラインL1とラインL2の間隔を計測して求める。   Then, after printing the line L1, the controller 50 transports the test sheet TS by a predetermined transport amount F. Thereafter, the line L2 is printed in pass 2. A difference between the predetermined transport amount F and the actual transport amount is a transport error. Incidentally, the rotary encoder 42 does not directly detect the transport amount of the test sheet TS. Therefore, the actual transport amount is obtained by measuring the interval between the actually printed lines L1 and L2.

このように、ラインが印刷される動作と、テストシートTSが所定搬送量F分だけ搬送される動作が交互に繰り返されることにより、テストシートTSの通常領域に複数のライン(L1からL20)が印刷される。本実施形態では、搬送ローラ13の円周の長さの4等分を所定搬送量Fとする。搬送ローラ13の円周の長さは1インチであるので、テストシートTSは1/4インチずつ搬送される。即ち、設計上では、搬送方向に隣り合うラインの間隔は1/4インチとなる。   As described above, the operation of printing a line and the operation of conveying the test sheet TS by the predetermined conveyance amount F are alternately repeated, so that a plurality of lines (L1 to L20) are formed in the normal region of the test sheet TS. Printed. In the present embodiment, four equal parts of the circumference of the transport roller 13 are set as the predetermined transport amount F. Since the circumference of the conveyance roller 13 is 1 inch, the test sheet TS is conveyed by 1/4 inch. That is, in design, the interval between adjacent lines in the transport direction is 1/4 inch.

また、ノズルの特性の違いが影響しないように、通常領域のラインは全て同じノズルによって印刷される。即ち、ラインL1からラインL20の全てが、マゼンタインク用ノズル列Mのノズル#90によって、印刷される。   Also, all the lines in the normal area are printed by the same nozzle so that the difference in nozzle characteristics is not affected. That is, all of the lines L1 to L20 are printed by the nozzle # 90 of the magenta ink nozzle row M.

〈個体識別コードの印刷〉
テストシートTSの通常領域に複数のラインが印刷された後、個体識別コードが印刷される。個体識別コードとは、プリンタ1を識別するための製造番号等である。これから算出される補正値が、誤って別のプリンタのメモリに記憶されないようにするために、個体識別コードもスキャナ70に読み込まれる。
<Printing of individual identification code>
After a plurality of lines are printed in the normal area of the test sheet TS, the individual identification code is printed. The individual identification code is a production number for identifying the printer 1 or the like. In order to prevent the correction value calculated from this from being stored in the memory of another printer by mistake, the individual identification code is also read into the scanner 70.

図11は、個体識別コード印刷時のテストシートTSとヘッド31の位置関係を示している。パス20で、ラインL20が印刷された後に、個体識別コードが印刷される。図11に示すようにパス20では、キャリッジ21(ヘッド31)が左から右に移動するため、個体識別コードはラインL20の右側に印刷される。個体識別コードを印刷する際には、ノズル#90だけでなく、マゼンタインク用のノズル列Mの全てのノズル(#1〜#90)を使用可能とする。即ち、ラインL1からラインL20は1つのノズルのみを用いて印刷されたが、個体識別コードは複数のノズルを用いて印刷される。但し、本実施形態のノズル間隔Dは90dpiであり、ノズル同士の間隔が比較的広い。その為、1つのノズル列のみを用いて1回のパスで文字を印刷しようとすると、文字にスジが生じてしまい、コンピュータ60が文字を認識できないおそれがある。そこで、パス20の後に、テストシートTSを所定搬送量Fよりも少ない搬送量で微小送りして、固体識別コードの印刷を完成させる。つまり、パス20の後に、テストシートTSを微小送り(1/360インチ)して、パス21からパス23において個体識別コードの印刷の続きを行う。本実施形態では、テストシートTSの微小送りを3回行って、個体識別コードの印刷を完了する。その結果、個体識別コードの文字の解像度が上がり、コンピュータ60が正確に文字を認識することができる。   FIG. 11 shows the positional relationship between the test sheet TS and the head 31 when the individual identification code is printed. In pass 20, after the line L20 is printed, the individual identification code is printed. As shown in FIG. 11, in the pass 20, since the carriage 21 (head 31) moves from left to right, the individual identification code is printed on the right side of the line L20. When printing the individual identification code, not only the nozzle # 90 but all the nozzles (# 1 to # 90) in the magenta ink nozzle row M can be used. That is, the lines L1 to L20 are printed using only one nozzle, but the individual identification code is printed using a plurality of nozzles. However, the nozzle interval D of this embodiment is 90 dpi, and the interval between the nozzles is relatively wide. For this reason, if characters are printed in one pass using only one nozzle row, streaks occur in the characters and the computer 60 may not be able to recognize the characters. Therefore, after the pass 20, the test sheet TS is finely fed by a carry amount smaller than the predetermined carry amount F to complete the printing of the solid identification code. That is, after pass 20, the test sheet TS is finely fed (1/360 inch), and printing of the individual identification code is performed in pass 21 to pass 23. In this embodiment, the test sheet TS is finely fed three times to complete the printing of the individual identification code. As a result, the resolution of the character of the individual identification code is increased, and the computer 60 can accurately recognize the character.

図12は、本実施形態の比較例として、ラインL8が印刷された後に個体識別コードが印刷される様子を示す図である。図12のように、仮に、ラインL20ではなくラインL8の印刷後に、個体識別コードが印刷されるとする。パス8(ラインL8を印刷するパス)では、キャリッジ21が左から右へ移動する。そして、テストシートTSが1/4インチ搬送された後、パス9において、キャリッジ21が右から左に移動しながら、まず、個体識別コードが印刷される。その直後にラインL9が印刷される。   FIG. 12 is a diagram illustrating a state in which the individual identification code is printed after the line L8 is printed as a comparative example of the present embodiment. As shown in FIG. 12, it is assumed that the individual identification code is printed after the line L8 is printed instead of the line L20. In pass 8 (pass for printing line L8), the carriage 21 moves from left to right. Then, after the test sheet TS is conveyed by ¼ inch, in pass 9, the individual identification code is printed while the carriage 21 moves from right to left. Immediately thereafter, line L9 is printed.

このような場合、個体識別コードを印刷したことで、メニスカス(ノズルで露出しているインクの自由表面)が完全に安定する前に、ラインL9を印刷される可能性がある。そうすると、吐出されるインク量が通常と異なり、ラインL9の太さと他のラインの太さが異なってしまう。さて、搬送誤差はラインL8とラインL9の間隔から求めるので、ラインの太さが異なると、ラインの正確な絶対位置(後述)が求められなくなる。その結果、正確な搬送誤差を求められなくなってしまう。   In such a case, printing the individual identification code may cause the line L9 to be printed before the meniscus (the free surface of the ink exposed by the nozzles) is completely stabilized. As a result, the amount of ejected ink is different from the normal amount, and the thickness of the line L9 is different from the thickness of the other lines. Now, since the conveyance error is obtained from the interval between the line L8 and the line L9, if the line thickness is different, the exact absolute position (described later) of the line cannot be obtained. As a result, an accurate conveyance error cannot be obtained.

そこで、本実施形態では、通常領域のライン(L1〜L20)が全て印刷された後に、個体識別コードを印刷している。そうすることで、通常領域のラインを印刷する際のノズルの状態は常に同じになる。通常領域のあるラインと、その次のラインを印刷する間に、テストシートTSが所定搬送量F分だけ搬送されるので、ノズルのメニスカスが安定する時間を十分に確保することが出来る。つまり、通常領域の全てのラインは、ノズルのメニスカスが安定している状態で印刷されるので、ラインの太さが全て一定になる。そして、正確な搬送誤差を導くことが出来る。   Therefore, in the present embodiment, the individual identification code is printed after all the lines (L1 to L20) in the normal area are printed. By doing so, the nozzle state at the time of printing the line in the normal region is always the same. Since the test sheet TS is conveyed by a predetermined conveyance amount F during printing of the line having the normal region and the next line, it is possible to sufficiently ensure the time for the meniscus of the nozzle to be stabilized. That is, all the lines in the normal area are printed in a state where the meniscus of the nozzle is stable, so that the line thickness is all constant. And an accurate conveyance error can be derived.

ところで、本実施形態では、文字の解像度を上げるため、テストシートTSを微小送しながら個体識別コードの印刷を完了させる。そのため、例えば、パス9で個体識別コードの一部を印刷し、その後、テストシートTSを微小送りながら個体識別コードの印刷を完成させ、更にテストシートTSを1/4インチ搬送させて、ラインL10を印刷したとする。そうすると、ラインL9とラインL10の間隔が1/4インチではなく、1/4インチに微小送りした分の長さが含まれる。言い換えると、ラインL9とラインL10の間隔には、3回の微小送りによる搬送誤差と、1/4インチ搬送されたときの搬送誤差が含まれてしまう。   By the way, in the present embodiment, in order to increase the resolution of characters, printing of the individual identification code is completed while finely feeding the test sheet TS. Therefore, for example, a part of the individual identification code is printed in pass 9, and then the individual identification code is printed while finely feeding the test sheet TS. Further, the test sheet TS is conveyed by 1/4 inch, and the line L10 is printed. Is printed. In this case, the distance between the line L9 and the line L10 is not 1/4 inch, but includes the length of minute feed to 1/4 inch. In other words, the distance between the line L9 and the line L10 includes a transport error due to three micro feeds and a transport error when transported by 1/4 inch.

また、もし、ラインL9とラインL10の間隔を1/4インチにしようとすると、個体識別コードの印刷後に、テストシートTSは1/4インチから微小送りした長さを引いた長さ(以下、1/4インチ弱とする)を搬送される。この場合、印刷された測定用パターンをみると、ラインL9とラインL10の間隔は、他の隣り合うラインの間隔と同様に(誤差を含まないと)1/4インチとなる。しかし、ラインL9が印刷されてからラインL10が印刷されるまでの搬送動作が、他のあるラインが印刷されてから次のラインが印刷されるまでの搬送動作と異なる。例えば、ラインL1が印刷された後、1回の搬送でテストシートTSは1/4インチ搬送され、ラインL2が印刷される。即ち、ラインL1とラインL2の間隔には、1回でテストシートTSが1/4インチ搬送されたときの搬送誤差が含まれる。これに対して、ラインL9の印刷後は、テストシートTSは3回微小送りされ、そして、1/4インチ弱搬送される。そのため、ラインL9とラインL10の間隔には、テストシートTSが3回微小送りされたときの搬送誤差と、テストシートTSが1/4インチ弱搬送されたときの搬送誤差が含まれてしまう。このように、ラインL9の後に個体識別コードを印刷しようとすると、ラインL9とラインL10の間隔に含まれる搬送誤差と、他の隣り合うラインの間隔が有する搬送誤差は、異なる種類の搬送誤差となってしまう。   If the interval between the line L9 and the line L10 is set to 1/4 inch, after printing the individual identification code, the test sheet TS is a length obtained by subtracting the length that is finely fed from 1/4 inch (hereinafter referred to as the following). (Less than 1/4 inch) is conveyed. In this case, when the printed measurement pattern is viewed, the interval between the line L9 and the line L10 is 1/4 inch (not including an error) in the same manner as the interval between other adjacent lines. However, the transport operation from the printing of the line L9 to the printing of the line L10 is different from the transport operation from the printing of a certain other line to the printing of the next line. For example, after the line L1 is printed, the test sheet TS is conveyed by 1/4 inch by one conveyance, and the line L2 is printed. That is, the interval between the line L1 and the line L2 includes a conveyance error when the test sheet TS is conveyed by 1/4 inch at a time. On the other hand, after the printing of the line L9, the test sheet TS is finely fed three times and is transported by a little less than 1/4 inch. For this reason, the distance between the line L9 and the line L10 includes a transport error when the test sheet TS is finely fed three times and a transport error when the test sheet TS is transported slightly less than 1/4 inch. As described above, when the individual identification code is printed after the line L9, the transport error included in the interval between the line L9 and the line L10 and the transport error included in the interval between other adjacent lines are different types of transport errors. turn into.

そこで、本実施形態のように、通常領域のラインを印刷した後に、個体識別コードを印刷することで、隣り合うラインの間隔は全て、1回でテストシートTSが1/4インチ搬送されたときの誤差が含まれるようになる。   Therefore, as in this embodiment, after printing the lines in the normal area, the individual identification code is printed, so that the intervals between adjacent lines are all one time when the test sheet TS is transported by 1/4 inch. Error is included.

また、通常領域のラインを印刷した後に個体識別コードを印刷するということは、テストシートTSを微小送りしながら、印刷することができるということになる。そうすれば、解像度が高い文字が印刷でき、コンピュータ60が正確に個体識別コードを認識し、正しいプリンタ1のメモリ53に補正値を記憶させることができる。   In addition, printing the individual identification code after printing the line in the normal area means that the test sheet TS can be printed while being finely fed. Then, characters with high resolution can be printed, and the computer 60 can accurately recognize the individual identification code and store the correction value in the correct memory 53 of the printer 1.

更に、本実施形態では測定用パターンのラインをテストシートTSの中央に印刷するので、個体識別コードを印刷するスペースが限られてしまう。もし、個体識別コードの文字の解像度が低いと、コンピュータ60が文字を認識するために、個体識別コードの文字を大きくしなければならない。そして、個体識別コードの文字の大きさに合わせて、テストシートTSのサイズも大きくする必要がある。テストシートTSが大きくなるということは、印刷量が増えて、印刷時間が増加してしまう。しかし、本実施形態のように、解像度の高い文字が印刷できれば、テストシートTSのサイズを大きくする必要はなく、印刷時間が短縮され、検査工程時間も短縮される。   Furthermore, since the measurement pattern line is printed in the center of the test sheet TS in this embodiment, the space for printing the individual identification code is limited. If the resolution of the character of the individual identification code is low, the character of the individual identification code must be enlarged in order for the computer 60 to recognize the character. Then, it is necessary to increase the size of the test sheet TS in accordance with the character size of the individual identification code. When the test sheet TS becomes large, the printing amount increases and the printing time increases. However, if characters with high resolution can be printed as in this embodiment, it is not necessary to increase the size of the test sheet TS, the printing time is shortened, and the inspection process time is also shortened.

以上をまとめると、通常領域の全てのラインを印刷した後に個体識別コードを印刷することで、以下のような効果が得られる。第1に、ノズルが常に同じ状態でラインを印刷することが出来る。第2に、通常領域の全てのライン間隔に、テストシートTSが所定間隔(1/4インチ)搬送されたときに生じる搬送誤差が含まれることになる。第3に、解像度の高い文字を印刷出来るので、コンピュータ60が正確に文字を認識することができる。そして、解像度の高い文字は、文字を大きく印刷しなくても、コンピュータ60が正確に認識できるので、テストシートTSのサイズを大きくする必要がなく、印刷時間が短縮され、検査時間も短縮される。   In summary, the following effects can be obtained by printing the individual identification code after printing all the lines in the normal area. First, lines can be printed with the nozzles always in the same state. Second, all line intervals in the normal region include a conveyance error that occurs when the test sheet TS is conveyed by a predetermined interval (1/4 inch). Third, since characters with high resolution can be printed, the computer 60 can accurately recognize the characters. Since the computer 60 can accurately recognize high resolution characters without printing large characters, it is not necessary to increase the size of the test sheet TS, the printing time is shortened, and the inspection time is also shortened. .

〈下端領域でのラインの印刷〉
図13Aは、テストシートTSの下端領域にラインLb1が印刷される様子を示している。図13Bは、テストシートTSの下端領域にラインLb2が印刷される様子を示している。テストシートTSの通常領域において、複数のラインと個体識別コードの印刷された後、下端領域に2本のラインLb1およびLb2が印刷される。
<Printing a line in the bottom area>
FIG. 13A shows a state where the line Lb1 is printed in the lower end region of the test sheet TS. FIG. 13B shows how the line Lb2 is printed in the lower end region of the test sheet TS. In the normal area of the test sheet TS, after printing a plurality of lines and the individual identification code, two lines Lb1 and Lb2 are printed in the lower end area.

テストシートTSが非NIP状態になると、コントローラ50は、マゼンタインク用ノズル#90で最初のラインLb1を印刷する。その後、コントローラ50は、排紙ローラ15を1回転させることにより、テストシートTSを1インチ搬送する。そして、マゼンタインク用ノズル#3でラインLb2を印刷する。このラインLb1とラインLb2の間隔は、設計上では3/90インチとなる。つまり、設計上のラインLb1とラインLb2の間隔(3/90インチ)と、実際に印刷されたラインLb1とラインLb2の間隔の差が下端領域における搬送誤差となる。   When the test sheet TS is in a non-NIP state, the controller 50 prints the first line Lb1 with the magenta ink nozzle # 90. Thereafter, the controller 50 conveys the test sheet TS by 1 inch by rotating the paper discharge roller 15 once. Then, the line Lb2 is printed by the magenta ink nozzle # 3. The distance between the line Lb1 and the line Lb2 is 3/90 inches in design. That is, the difference between the designed distance between the line Lb1 and the line Lb2 (3/90 inch) and the distance between the actually printed line Lb1 and the line Lb2 is a conveyance error in the lower end region.

下端領域の搬送誤差も、同じノズル(マゼンタインク用ノズル#90)で印刷された2本のラインの間隔から求められることが理想的である。しかし、排紙ローラ15によるAC成分の搬送誤差の影響が無くなるように、排紙ローラ15を1回転させると、テストシートTSの下端はノズル#90の下を通り過ぎてしまう。そこで、ラインLb1を印刷し、排紙ローラ15を1回転させた後でも、テストシートTSと対向している下流側のノズルでラインLb2を印刷する。最も下流側のノズル#1でラインLb2を印刷しようとすると、Lb1とLb2の間隔が1/90インチとなり、間隔が狭すぎるので測定しにくくなる。反対に、ノズル#1よりも上流側過ぎるノズルを用いてラインLb2を印刷すると、ラインLb2がスキャナ70で読み取れる範囲外に位置してしまう可能性がある。そこで、本実施形態では、ラインLb1とラインLb2の間隔が適度に開き、ラインLb2がスキャナ70の読み取り範囲内に印刷されるように、ノズル#3を用いてラインLb2を印刷する。   Ideally, the transport error in the lower end region is also obtained from the interval between two lines printed by the same nozzle (magenta ink nozzle # 90). However, if the paper discharge roller 15 is rotated once so that the influence of the AC component conveyance error by the paper discharge roller 15 is eliminated, the lower end of the test sheet TS passes under the nozzle # 90. Therefore, even after the line Lb1 is printed and the paper discharge roller 15 is rotated once, the line Lb2 is printed by the downstream nozzle facing the test sheet TS. When trying to print the line Lb2 with the nozzle # 1 on the most downstream side, the interval between Lb1 and Lb2 is 1/90 inch, and the interval is too narrow, making measurement difficult. Conversely, if the line Lb2 is printed using a nozzle that is too upstream of the nozzle # 1, the line Lb2 may be located outside the range that can be read by the scanner 70. Therefore, in the present embodiment, the line Lb2 is printed using the nozzle # 3 so that the space between the line Lb1 and the line Lb2 is appropriately opened and the line Lb2 is printed within the reading range of the scanner 70.

ところで、本実施形態では、テストシートTSに測定用パターンを印刷するために、1つのノズル列であるマゼンタインク用のノズル列Mのみを使用している。そのため、検査中のプリンタ1には、マゼンタインクのカートリッジを1つ取り付けてテストシートTSの印刷を行えばよいことになる。   By the way, in this embodiment, in order to print the measurement pattern on the test sheet TS, only the nozzle array M for magenta ink which is one nozzle array is used. Therefore, the test sheet TS may be printed by attaching one magenta ink cartridge to the printer 1 under inspection.

===測定用パターンと基準パターンの読み取り(S102)===
〈スキャナ70の構成〉
まず、測定用パターンの読み取りに用いられるスキャナ70の構成について説明する。図14Aは、スキャナ70の縦断面図である。図14Bは、上蓋71を外した状態のスキャナ70の上面図である。
=== Reading Measurement Pattern and Reference Pattern (S102) ===
<Configuration of Scanner 70>
First, the configuration of the scanner 70 used for reading the measurement pattern will be described. FIG. 14A is a longitudinal sectional view of the scanner 70. FIG. 14B is a top view of the scanner 70 with the upper lid 71 removed.

スキャナ70は、上蓋71と、原稿72が置かれる原稿台ガラス73と、この原稿台ガラス73を介して原稿72と対面しつつ副走査方向に移動する読取キャリッジ74と、読取キャリッジ74を副走査方向に案内する案内部75と、読取キャリッジ74を移動させるための移動機構76と、スキャナ70内の各部を制御するスキャナコントローラ(不図示)とを備えている。読取キャリッジ74には、原稿72に光を照射する露光ランプ77と、副走査方向と垂直な方向である主走査方向のラインの像を検出するラインセンサ78と、原稿72からの反射光をラインセンサ78へ導くための光学系79とが設けられている。図中の読取キャリッジ74の内部の破線は、光の軌跡を示している。   The scanner 70 includes an upper lid 71, a document table glass 73 on which the document 72 is placed, a reading carriage 74 that moves in the sub-scanning direction while facing the document 72 through the document table glass 73, and the scanning carriage 74 in the sub-scanning direction. A guide unit 75 for guiding in the direction, a moving mechanism 76 for moving the reading carriage 74, and a scanner controller (not shown) for controlling each unit in the scanner 70 are provided. In the reading carriage 74, an exposure lamp 77 that irradiates light to the original 72, a line sensor 78 that detects an image of a line in the main scanning direction that is perpendicular to the sub-scanning direction, and reflected light from the original 72 are lined. An optical system 79 for guiding to the sensor 78 is provided. A broken line inside the reading carriage 74 in the drawing indicates a locus of light.

原稿72の画像を読み取るとき、操作者は、上蓋71を開いて原稿72を原稿台ガラス73に置き、上蓋71を閉じる。そして、スキャナコントローラが、露光ランプ77を発光させた状態で読取キャリッジ74を副走査方向に沿って移動させ、ラインセンサ78により原稿72の表面の画像を読み取る。スキャナコントローラは、読み取った画像データをコンピュータ60のスキャナドライバへ送信し、これにより、コンピュータ60は、原稿72の画像データを取得する。   When reading the image of the document 72, the operator opens the upper cover 71, places the document 72 on the document table glass 73, and closes the upper cover 71. Then, the scanner controller moves the reading carriage 74 along the sub-scanning direction with the exposure lamp 77 emitted, and reads the image on the surface of the document 72 by the line sensor 78. The scanner controller transmits the read image data to the scanner driver of the computer 60, whereby the computer 60 acquires the image data of the document 72.

〈測定用パターンと基準パターンの読み取り〉
ところで、スキャナ70がテストシートTSの画像を読み取る際に、読み取り誤差が発生してしまうことがある。読み取り誤差とは、実際の画像の位置と読み取った画像の位置との差のことである。例えば、読取キャリッジ74を読み取り開始位置から1インチ移動させたとき、読み取り開始位置から実際には1インチ離れた画像を、読み取り開始位置から1インチと60μm離れた位置に画像があると読み取ってしまうことなどがある。そのため、スキャナで読み取ったテストシートTSのラインの間隔には、プリンタ1の搬送誤差とスキャナ70による読み取り誤差が含まれることになる。
<Reading measurement pattern and reference pattern>
Incidentally, when the scanner 70 reads an image on the test sheet TS, a reading error may occur. The read error is a difference between the actual image position and the read image position. For example, when the reading carriage 74 is moved 1 inch from the reading start position, an image that is actually 1 inch away from the reading start position is read if there is an image that is 1 inch and 60 μm away from the reading start position. There are things. Therefore, the line interval of the test sheet TS read by the scanner includes the conveyance error of the printer 1 and the reading error by the scanner 70.

そこで、本実施形態では、テストシートTSと基準シートSSも一緒にスキャナ70で読み取らせる。図15Aは、基準シートSSの説明図である。基準シートSSには、360dpi間隔に多数のラインが形成されており、予めスマートスコープ等の測定機器によりその間隔が正確であると確認されている。つまり、スキャナ70で読みとった基準シートSSのラインの間隔には、スキャナ70による読み取り誤差のみしか含まれていない。ゆえに、基準シートSSも一緒にスキャナ70で読み取ることで、テストシートTSのラインの間隔に含まれたスキャナ70の読み取り誤差を補正することができる。   Therefore, in this embodiment, the test sheet TS and the reference sheet SS are also read by the scanner 70 together. FIG. 15A is an explanatory diagram of the reference sheet SS. A large number of lines are formed at intervals of 360 dpi on the reference sheet SS, and the intervals are confirmed in advance by a measuring device such as a smart scope. That is, only the reading error by the scanner 70 is included in the line interval of the reference sheet SS read by the scanner 70. Therefore, the reading error of the scanner 70 included in the line interval of the test sheet TS can be corrected by reading the reference sheet SS together with the scanner 70.

図15Bは、原稿台ガラス73にテストシートTSと基準シートSSをセットした様子を上から見た図である。基準シートSSの各ラインとテストシートTSの各ラインが、スキャナ70の主走査方向に平行になるように、基準シートSSとテストシートTSがセットされている。また、基準シートSSとテストシートTSをセットする際に、この2枚のシートの反りを抑え、2枚のシートが原稿台ガラス73の所定の位置にセットされるような治具(不図示)を用いても良い。また、基準シートSSは、多数のプリンタの検査に対して使用されるので、紙ではなくPETフィルムなどの丈夫な素材で構成されている。   FIG. 15B is a view of the state in which the test sheet TS and the reference sheet SS are set on the platen glass 73 as viewed from above. The reference sheet SS and the test sheet TS are set so that each line of the reference sheet SS and each line of the test sheet TS are parallel to the main scanning direction of the scanner 70. Further, when the reference sheet SS and the test sheet TS are set, a jig (not shown) that suppresses the warpage of the two sheets and sets the two sheets at a predetermined position on the platen glass 73. May be used. Further, since the reference sheet SS is used for inspection of a large number of printers, the reference sheet SS is made of a strong material such as a PET film instead of paper.

そして、スキャナ70がテストシートTSと基準シートSSの画像を読み取った後、その画像データはコンピュータ60に伝送される。   Then, after the scanner 70 reads the images on the test sheet TS and the reference sheet SS, the image data is transmitted to the computer 60.

===補正値の算出(S103)===
図16は、補正値算出処理のフロー図である。補正値取得プログラムは、各処理をコンピュータ60に実行させるためのコードを有する。そして、コンピュータ60はそのコードに従って各処理を実行し、補正値を算出する。
=== Calculation of Correction Value (S103) ===
FIG. 16 is a flowchart of the correction value calculation process. The correction value acquisition program has a code for causing the computer 60 to execute each process. Then, the computer 60 executes each process according to the code and calculates a correction value.

〈画像の分割(S131)〉
図17Aは、スキャナ70から取得した画像データの示す画像が描かれている。図17Bは、分割された画像が描かれている。まず、コンピュータ60はスキャナ70からの画像データを、基準パターンの画像と測定用パターンの画像に分割する。これは、基準シートSSとテストシートTSが個々に傾いてスキャナ70にセットされたおそれがあるので、それぞれ別々に傾きを補正するためである。
<Image Division (S131)>
In FIG. 17A, an image indicated by the image data acquired from the scanner 70 is drawn. FIG. 17B shows a divided image. First, the computer 60 divides the image data from the scanner 70 into a reference pattern image and a measurement pattern image. This is because the reference sheet SS and the test sheet TS may be individually tilted and set on the scanner 70, so that the tilt is corrected separately.

また、測定用パターンの画像のうち図17Bに破線で囲った部分の画像データをコピーし、コンピュータ60内のメモリに保存する。破線で囲った部分には、個体識別コードと、個体識別コードの画像の傾きを補正するためのラインL16の画像が含まれるようにする。これは、テストシートTSの搬送中に、テストシートTSの傾きが変わってしまうことがあるので、テストシートの下端側に位置する個体識別コードの画像は、ライン(L1からL20)の画像とは別に、傾きを補正するためである。   Also, the image data of the portion surrounded by the broken line in FIG. 17B in the image of the measurement pattern is copied and stored in the memory in the computer 60. The portion surrounded by the broken line includes the individual identification code and the image of the line L16 for correcting the inclination of the image of the individual identification code. This is because the inclination of the test sheet TS may change during the conveyance of the test sheet TS. Therefore, the image of the individual identification code located on the lower end side of the test sheet is the image of the line (L1 to L20). Another reason is to correct the tilt.

つまり、各画像データ(基準パターン、測定用パターン、個体識別コード)の傾きを補正するために、スキャナ70で読み取った画像データ(図17A)を3つの画像データ(図17B)にする。   That is, in order to correct the inclination of each image data (reference pattern, measurement pattern, individual identification code), the image data read by the scanner 70 (FIG. 17A) is converted into three image data (FIG. 17B).

〈各画像の傾きの検出(S132)〉
図18Aは、スキャナ70で読み取った測定用パターンの画像の一部であり、傾きを検出する様子を示している。コンピュータ60内において、画像データの位置を特定するために、スキャナ座標系(x方向・y方向)を定める。ラインL1は、x方向に対して傾きθの大きさで、傾斜している。この傾きθを算出し、画像データの傾きを補正する。
<Detection of inclination of each image (S132)>
FIG. 18A shows a part of the image of the measurement pattern read by the scanner 70 and shows how the inclination is detected. In the computer 60, in order to specify the position of the image data, a scanner coordinate system (x direction / y direction) is determined. The line L1 is inclined with the magnitude of the inclination θ with respect to the x direction. This inclination θ is calculated, and the inclination of the image data is corrected.

まず、コンピュータ60は、画像データの中から、左からKX2番目の画素であって、上からKY1番目からJY個の画素を取り出す。同様に、左からKX3番目の画素であって、上からKY1番目からJY個の画素を取り出す。なお、取り出される画素の中にラインL1を示す画素が含まれるように、パラメータKX2、KX3、KY1及びJYが設定されている。   First, the computer 60 extracts KX2 pixels from the left and KY1 pixels from the top, from the image data, from the left. Similarly, the KX3th pixel from the left and the KY1th to JY pixels from the top are extracted. The parameters KX2, KX3, KY1, and JY are set so that the pixel indicating the line L1 is included in the extracted pixels.

図18Bは、取り出された画素の濃度を示すグラフである。グラフの横軸はy方向の画素の位置、グラフの縦軸は画素の濃度を示している。ラインL1はy方向にY画素分の幅を持った画像であるため、ラインL1のy方向の重心位置を決定する必要がある。そこで、コンピュータ60は、ラインL1のy方向の最高濃度位置を求める。最高濃度位置を中心とする所定の範囲を演算範囲とし、ラインL1のy方向の重心位置を求める。図中では、左からKX2番目の画素のうち、ラインL1のy方向の重心位置をKY2とし、左からKX3番目の画素のうち、ラインL1のy方向の重心位置をKY3とする。そして、コンピュータ60は、次式によりラインL1の傾きθを算出する。
θ=tan−1{(KY2−KY3)/(KX3−KX2)}
FIG. 18B is a graph showing the density of the extracted pixels. The horizontal axis of the graph indicates the pixel position in the y direction, and the vertical axis of the graph indicates the pixel density. Since the line L1 is an image having a width corresponding to Y pixels in the y direction, it is necessary to determine the position of the center of gravity of the line L1 in the y direction. Therefore, the computer 60 obtains the highest density position in the y direction of the line L1. A predetermined range centered on the highest density position is set as a calculation range, and the center of gravity position in the y direction of the line L1 is obtained. In the drawing, the centroid position in the y direction of the line L1 among the KX2 pixels from the left is KY2, and the centroid position in the y direction of the line L1 is KY3 among the KX3 pixels from the left. Then, the computer 60 calculates the inclination θ of the line L1 by the following equation.
θ = tan −1 {(KY2-KY3) / (KX3-KX2)}

なお、コンピュータ60は、測定用パターンの画像の傾きだけでなく、基準パターンの画像の傾き、個体識別コードの画像の傾きも検出する。傾きの検出方法は、上記の方法とほぼ同様であるので、説明を省略する。ところで、テストシートTSの搬送中にテストシートTSの傾きが変わってくることがある。そのため、テストシートTSの下端側に位置する個体識別コードの画像を、テストシートTSの上端側の傾き(ラインL1の傾き)に基づいて補正しても、個体識別コードの画像の傾きが補正されない可能性がある。傾きが補正されず、画像が傾いたままだと、コンピュータ60は正確に個体識別コードの内容を認識することができない。そこで、個体識別コード付近のラインL16の傾きθを個体識別コードの画像の傾きとして、画像データの傾きを補正する。   The computer 60 detects not only the inclination of the measurement pattern image but also the inclination of the reference pattern image and the individual identification code image. The method for detecting the tilt is almost the same as the above method, and thus the description thereof is omitted. Incidentally, the inclination of the test sheet TS may change during the conveyance of the test sheet TS. Therefore, even if the image of the individual identification code located on the lower end side of the test sheet TS is corrected based on the inclination of the upper end side of the test sheet TS (the inclination of the line L1), the inclination of the image of the individual identification code is not corrected. there is a possibility. If the tilt is not corrected and the image remains tilted, the computer 60 cannot accurately recognize the contents of the individual identification code. Therefore, the inclination of the image data is corrected using the inclination θ of the line L16 near the individual identification code as the inclination of the image of the individual identification code.

<各画像の傾きの補正(S133)>
次に、コンピュータ60は、S132において検出した傾きθに基づいて、画像を回転処理し、画像の傾きを補正する。測定用パターンの画像と基準パターンの画像と個体識別コードの画像の各傾きを、それぞれ検出した傾きθを用いて補正する。
<Correction of inclination of each image (S133)>
Next, the computer 60 rotates the image based on the inclination θ detected in S132 and corrects the inclination of the image. Each inclination of the measurement pattern image, the reference pattern image, and the individual identification code image is corrected using the detected inclination θ.

画像の回転処理のアルゴリズムには、バイリニア法が用いられる。このアルゴリズムは良く知られているので、説明は省略する。   A bilinear method is used as an algorithm for image rotation processing. Since this algorithm is well known, its description is omitted.

<印刷時の傾きの検出(S134)>
次に、コンピュータ60は、測定用パターンの印刷時の傾き(スキュー)を検出する。測定用パターンを印刷するときにテストシートTSの下端が搬送ローラ13から外れると、テストシートTSの下端がヘッド31に接触し、テストシートTSが動くことがある。このようなことが起こると、その測定用パターンにより算出された補正値が不適切なものになる。そこで、測定用パターンの印刷時の傾きを検出することにより、テストシートの下端がヘッド31に接触したか否かを検出し、接触した場合にはエラーとする。
<Detection of tilt during printing (S134)>
Next, the computer 60 detects an inclination (skew) during printing of the measurement pattern. If the lower end of the test sheet TS is removed from the transport roller 13 when the measurement pattern is printed, the lower end of the test sheet TS may come into contact with the head 31 and the test sheet TS may move. When this happens, the correction value calculated from the measurement pattern becomes inappropriate. Therefore, it is detected whether or not the lower end of the test sheet is in contact with the head 31 by detecting the inclination at the time of printing the measurement pattern.

図19は、測定用パターンの印刷時の傾きの検出の様子の説明図である。まず、コンピュータ60は、ラインL1(一番上のライン)とラインLb2(一番下のライン、テストシートTSの下端が搬送ローラ13を通過した後に形成されるライン)における左側の間隔YLと、右側の間隔YRとを検出する。そして、コンピュータ60は、間隔YLと間隔YRの差を算出し、この差が所定範囲内であれば次の処理(S135)へ進み、この差が所定範囲外であればエラーとする。   FIG. 19 is an explanatory diagram of how the inclination is detected when the measurement pattern is printed. First, the computer 60 calculates the left interval YL between the line L1 (the top line) and the line Lb2 (the bottom line, the line formed after the lower end of the test sheet TS passes through the conveyance roller 13), The right interval YR is detected. Then, the computer 60 calculates the difference between the interval YL and the interval YR. If the difference is within the predetermined range, the computer 60 proceeds to the next process (S135). If the difference is outside the predetermined range, an error is determined.

<余白量の算出(S135)>
図20は、余白量Xの説明図である。図中の実線の四角形(外側の四角形)は、S133の回転補正後の画像を示している。図中の点線の四角形(内側の斜めの四角形)は、回転補正前の画像を示している。回転補正後の画像を長方形状にするため、S133の回転補正処理が行われる際に、回転後の画像の四隅に直角三角形状の余白が付加される。
<Calculation of margin amount (S135)>
FIG. 20 is an explanatory diagram of the margin amount X. A solid square (outer square) in the figure indicates an image after the rotation correction in S133. A dotted-line rectangle (inner oblique rectangle) in the figure indicates an image before rotation correction. In order to make the image after rotation correction into a rectangular shape, right-angled triangular margins are added to the four corners of the rotated image when the rotation correction processing of S133 is performed.

回転補正し、余白が付加された測定用パターンの画像データのx方向の中央の地点から測定用パターンの各ラインまでの距離を各ラインの絶対位置とする。この場合、図20に示す余白量Xもラインの絶対位置に含まれることになる。基準シートSSとテストシートTSの傾きとは別個に傾きを補正しているため、基準シートSSとテストシートTSの余白量が異なる可能性がある。そうすると、基準パターンと測定用パターンの余白量Xが異なってしまう。そして、スキャナ70にセットした際の基準パターンと測定用パターンの相対的な位置関係がずれてしまう。   The absolute position of each line is the distance from the center point in the x direction of the image data of the measurement pattern to which the rotation is corrected and the margin is added to each line of the measurement pattern. In this case, the margin amount X shown in FIG. 20 is also included in the absolute position of the line. Since the inclinations of the reference sheet SS and the test sheet TS are separately corrected, the margin amounts of the reference sheet SS and the test sheet TS may be different. As a result, the margin amount X between the reference pattern and the measurement pattern is different. Then, the relative positional relationship between the reference pattern and the measurement pattern when set in the scanner 70 is shifted.

本実施形態では、基準パターンと測定用パターンの相対的な位置関係より、スキャナ70による読み取り誤差を補正する(後述)。そのため、基準パターンと測定用パターンの相対的な位置関係が余白量Xの差によってずれてしまわないように、余白量Xを差し引いて、各ラインの絶対位置を算出する。余白量Xは以下のように求める。
X=(w cosθ−w´/2)×tanθ
In this embodiment, the reading error by the scanner 70 is corrected based on the relative positional relationship between the reference pattern and the measurement pattern (described later). Accordingly, the absolute position of each line is calculated by subtracting the margin amount X so that the relative positional relationship between the reference pattern and the measurement pattern does not shift due to the difference in the margin amount X. The margin amount X is obtained as follows.
X = (w cos θ−w ′ / 2) × tan θ

<スキャナ座標系での各ラインの重心位置の算出(S136)>
次に、コンピュータ60は、スキャナ座標系での基準パターンと測定用パターンの各ラインの重心位置を算出する。なお、各画像における左上の画素の位置を、スキャナ座標系の原点とする。
<Calculation of Center of Gravity of Each Line in Scanner Coordinate System (S136)>
Next, the computer 60 calculates the barycentric position of each line of the reference pattern and the measurement pattern in the scanner coordinate system. The position of the upper left pixel in each image is the origin of the scanner coordinate system.

図21Aは、測定用パターンのラインの重心位置を算出する際に用いられる画像の範囲の説明図である。図中の点線で示す範囲の画像の画像データが、各ラインの重心位置を算出する際に用いられる。図21Bは、測定用パターンのラインの重心位置の算出の説明図である。横軸は、画素のy方向の位置を示している。縦軸は、画素の濃度を示している。画像の傾きを補正したとき(S132)と同様に、測定用パターンと基準パターンの各ラインの重心位置を求める。そして、各ラインの重心位置からS135で求めた余白量Xを差し引く。   FIG. 21A is an explanatory diagram of an image range used when calculating the barycentric position of the line of the measurement pattern. The image data of the image in the range indicated by the dotted line in the figure is used when calculating the barycentric position of each line. FIG. 21B is an explanatory diagram of calculation of the barycentric position of the line of the measurement pattern. The horizontal axis indicates the position of the pixel in the y direction. The vertical axis represents the pixel density. As in the case of correcting the inclination of the image (S132), the barycentric position of each line of the measurement pattern and the reference pattern is obtained. Then, the margin amount X obtained in S135 is subtracted from the center of gravity position of each line.

<測定用パターンの各ラインの絶対位置の算出(S137)>
次に、S136において求めた測定用パターンと基準パターンの重心位置(余白量Xを差し引いた値)より、コンピュータ60は、測定用パターンの各ラインの絶対位置を算出する。
<Calculation of absolute position of each line of measurement pattern (S137)>
Next, the computer 60 calculates the absolute position of each line of the measurement pattern from the barycentric position (a value obtained by subtracting the margin amount X) of the measurement pattern and the reference pattern obtained in S136.

測定用パターンのn番目のラインの重心位置L(n)とn+1番目のラインの重心位置L(n+1)の間隔は、所定搬送量F(1/4インチ)にプリンタ1による搬送量誤差とスキャナ70による読み取り誤差が加わった値となる。ゆえに、搬送誤差を補正する補正値を求めるため、読み取り誤差が含まれないラインの絶対位置を算出する必要がある。そのために、読み取り誤差のみが含まれている基準パターンのラインと、測定用パターンのラインの相対的な位置関係により、ラインの絶対位置を算出する。   The distance between the center-of-gravity position L (n) of the nth line of the measurement pattern and the center-of-gravity position L (n + 1) of the n + 1st line is conveyed by the printer 1 to a predetermined conveyance amount F (1/4 inch). A value obtained by adding a quantity error and a reading error by the scanner 70 is obtained. Therefore, in order to obtain a correction value for correcting the conveyance error, it is necessary to calculate the absolute position of the line that does not include the reading error. For this purpose, the absolute position of the line is calculated based on the relative positional relationship between the line of the reference pattern including only the reading error and the line of the measurement pattern.

図22は、基準パターンのラインと測定用パターンのラインの位置関係を示している。以下に、測定用パターンのn番目のラインL(n)の絶対位置の求め方について説明する。ラインL(n)は、基準パターンのi番目のラインK(i)とi+1番目のラインK(i+1)の間に位置する。また、ラインK(i)とラインK(i+1)の間隔をSとし、ラインK(i)とラインL(n)の間隔をS(m)とする。   FIG. 22 shows the positional relationship between the reference pattern line and the measurement pattern line. Hereinafter, how to obtain the absolute position of the nth line L (n) of the measurement pattern will be described. The line L (n) is located between the i-th line K (i) and the i + 1-th line K (i + 1) of the reference pattern. In addition, the interval between the line K (i) and the line K (i + 1) is S, and the interval between the line K (i) and the line L (n) is S (m).

ところで、基準パターンと測定用パターンは同時にスキャナ70に読み取られている。つまり、スキャナ70の読み取り開始位置からラインK(i)までの間隔が有する読み取り誤差量と、読み取り開始位置からラインL(n)までの間隔が有する読み取り誤差量は、ほぼ等しい。(但し、厳密に言えば、ラインK(i)とラインL(n)の間隔S(m)を読取キャリッジ74が移動する間にも読み取り誤差eは生じている。しかし、この誤差eは、プリンタ1による搬送誤差に比べたら大変微小であるため、誤差eはゼロとする。)ゆえに、基準パターンのラインK(i)及びラインK(i+1)と測定用パターンのラインL(n)の位置関係は、スキャナ70にセットした時と読み取った画像とで変わらない。そこで、まず、間隔Sに対するラインL(n)の比率Hを求める。
H=S(m)/S
={L(n)−K(i)}/{K(i+1)−K(i)}
By the way, the reference pattern and the measurement pattern are simultaneously read by the scanner 70. That is, the reading error amount that the interval from the reading start position of the scanner 70 to the line K (i) has is substantially equal to the reading error amount that the interval from the reading start position to the line L (n) has. (However, strictly speaking, a reading error e occurs while the reading carriage 74 moves in the interval S (m) between the line K (i) and the line L (n). Since the error e is very small compared to the conveyance error by the printer 1, the error e is zero.) Therefore, the positions of the line K (i) and the line K (i + 1) of the reference pattern and the line L (n) of the measurement pattern The relationship does not change between when the scanner 70 is set and when it is read. Therefore, first, a ratio H of the line L (n) to the interval S is obtained.
H = S (m) / S
= {L (n) -K (i)} / {K (i + 1) -K (i)}

そして、ラインK(i)とラインK(i+1)の重心位置から求めた間隔Sには読み取り誤差が含まれている可能性があるが、実際の基準パターンのライン間隔は1/36インチである。そこで、間隔Sを1/36インチとすることで、ラインK(i)に対するラインL(n)の絶対位置を求めることができる。ラインK(i)の絶対位置Ka(i)を基準とし、ラインL(n)の絶対位置La(n)を求める。
La(n)={Ka(i+1)−Ka(i)}×H+Ka(i)
=1/36インチ×H+Ka(i)
ここで、仮にラインK(i−1)を基準として、ラインK(i−1)の絶対位置Ka(i−1)をゼロとする。そうすると、ラインK(i−1)とラインK(i)の実際の間隔は1/36インチであるので、ラインK(i)の絶対位置Ka(i)は、1/36となる。こうすることで、ある基準に対するラインL(n)の絶対位置を求めることができる。本実施形態では、基準パターンの1番目のラインをゼロ(基準)として、測定用パターンの各ラインの絶対位置を求める。
The interval S obtained from the center of gravity positions of the lines K (i) and K (i + 1) may include a reading error, but the actual reference pattern line interval is 1/36 inch. . Therefore, by setting the interval S to 1/36 inch, the absolute position of the line L (n) with respect to the line K (i) can be obtained. Based on the absolute position Ka (i) of the line K (i), the absolute position La (n) of the line L (n) is obtained.
La (n) = {Ka (i + 1) −Ka (i)} × H + Ka (i)
= 1/36 inch x H + Ka (i)
Here, it is assumed that the absolute position Ka (i-1) of the line K (i-1) is zero with reference to the line K (i-1). Then, since the actual distance between the line K (i−1) and the line K (i) is 1/36 inch, the absolute position Ka (i) of the line K (i) is 1/36. By doing so, the absolute position of the line L (n) with respect to a certain reference can be obtained. In the present embodiment, the absolute position of each line of the measurement pattern is obtained by setting the first line of the reference pattern to zero (reference).

<補正値の算出(S138)>
次に、S137で求めた測定用パターンのラインの絶対位置La(n)により補正値を求める。補正値は、理論上のライン間隔と実際のライン間隔との差に基づいて算出する。パスnとパスn+1との間で行われた搬送動作の搬送誤差を補正する値をC(n)として、以下のように求める。
C(n)=理論上のライン間隔(1/4インチ)−(La(n+1)−La(n))
このようにして補正値C(1)〜補正値C(19)を算出する。
但し、下端領域にあるラインLb1及びLb2を用いて補正値Cbを算出する場合、ラインLb1とラインLb2の理論上のライン間隔は3/90インチとして計算する。
<Calculation of Correction Value (S138)>
Next, a correction value is obtained from the absolute position La (n) of the measurement pattern line obtained in S137. The correction value is calculated based on the difference between the theoretical line spacing and the actual line spacing. A value for correcting the transport error of the transport operation performed between pass n and pass n + 1 is determined as C (n) as follows.
C (n) = theoretical line spacing (1/4 inch) − (La (n + 1) −La (n))
In this way, the correction value C (1) to the correction value C (19) are calculated.
However, when the correction value Cb is calculated using the lines Lb1 and Lb2 in the lower end region, the theoretical line interval between the lines Lb1 and Lb2 is calculated as 3/90 inches.

<補正値の平均化(S139)>
さて、S138において求めた補正値C(n)には、DC成分の搬送誤差だけでなく、AC成分の搬送誤差も含まれている。AC成分の搬送誤差は搬送ローラ13の位置によって異なるが、本実施形態では原点センサなどで搬送ローラ13の位置を管理していない。そのため、補正値C(n)を基に実際に搬送誤差の補正をする際に、補正値C(n)を求めた時の搬送ローラ13の位置と、実際に搬送誤差を補正する際の搬送ローラ13の位置が異なってしまった場合、搬送誤差を正しく補正することができない。そこで、AC成分の搬送誤差を含まない、DC成分の搬送誤差のみを補正する補正値が必要となる。
<Averaging correction values (S139)>
The correction value C (n) obtained in S138 includes not only the DC component transport error but also the AC component transport error. Although the AC component transport error varies depending on the position of the transport roller 13, in this embodiment, the position of the transport roller 13 is not managed by an origin sensor or the like. Therefore, when the conveyance error is actually corrected based on the correction value C (n), the position of the conveyance roller 13 when the correction value C (n) is obtained and the conveyance when the conveyance error is actually corrected. If the position of the roller 13 is different, the conveyance error cannot be corrected correctly. Therefore, a correction value that corrects only the DC component transport error without the AC component transport error is required.

ところで、搬送ローラ13が1回転したときには、AC成分の搬送誤差は生じない。言い換えると、搬送ローラ13が1回転したときに生じる搬送誤差には、AC成分の搬送誤差は含まれず、DC成分の搬送誤差のみを含むこととなる。そこで、実際に搬送誤差を補正する際、補正値C(n)ではなく、搬送ローラ13が1回転する間に生じた4個の補正値C(n)を平均値化した補正値Ca(n)を用いる。
Ca(n)={C(n−1)+C(n)+C(n+1)+C(n+2)}/4
=[1インチ−{La(n+3)−La(n−1)}]/4
By the way, when the transport roller 13 makes one rotation, no AC component transport error occurs. In other words, the transport error that occurs when the transport roller 13 rotates once does not include the AC component transport error, but includes only the DC component transport error. Therefore, when the conveyance error is actually corrected, a correction value Ca (n) obtained by averaging four correction values C (n) generated during one rotation of the conveyance roller 13 instead of the correction value C (n). ) Is used.
Ca (n) = {C (n-1) + C (n) + C (n + 1) + C (n + 2)} / 4
= [1 inch- {La (n + 3) -La (n-1)}] / 4

図23は、測定用パターンのラインと補正値Caとの関係の説明図である。具体例を挙げると、補正値Ca(2)は以下のよう求めることができる。
Ca(2)={C(1)+C(2)+C(3)+C(4)}/4
=[1インチ−{La(5)−La(1)}]/4
FIG. 23 is an explanatory diagram of the relationship between the measurement pattern line and the correction value Ca. As a specific example, the correction value Ca (2) can be obtained as follows.
Ca (2) = {C (1) + C (2) + C (3) + C (4)} / 4
= [1 inch- {La (5) -La (1)}] / 4

ラインL1が印刷された後、搬送ローラ13が1回転して、ラインL5が印刷される。つまり、ラインL1とラインL5の間隔には、DC成分の搬送誤差のみが含まれるので、平均値化した補正値Ca(2)にはAC成分の搬送誤差が含まれていないことになる。このように、搬送ローラ13が1回転したときの搬送誤差を求めることで、AC成分の搬送誤差が含まれていないDC成分のみの搬送誤差が求められる。そのために、所定搬送量Fは、搬送ローラ13の円周の長さをn等分した長さに設定する。   After the line L1 is printed, the transport roller 13 rotates once and the line L5 is printed. That is, since the distance between the line L1 and the line L5 includes only the DC component transport error, the averaged correction value Ca (2) does not include the AC component transport error. In this way, by determining the transport error when the transport roller 13 makes one rotation, the transport error of only the DC component that does not include the AC component transport error is determined. Therefore, the predetermined transport amount F is set to a length obtained by dividing the circumference of the transport roller 13 into n equal parts.

そして、平均値化した補正値Ca(2)は、ラインL1とラインL5の間隔の中央付近の搬送誤差を補正するために用いられる。即ち、補正値Ca(2)は、ラインL2とラインL3の間隔の搬送誤差を補正するために用いられる。そして、本実施形態では、測定用パターンのラインを1/4インチごとに印刷し、補正値C(n)を求めるため、1インチごとではなく1/4インチの細かい範囲で搬送誤差を補正することができる。   The averaged correction value Ca (2) is used to correct a transport error near the center of the interval between the line L1 and the line L5. That is, the correction value Ca (2) is used to correct the conveyance error at the interval between the line L2 and the line L3. In this embodiment, the measurement pattern line is printed every 1/4 inch and the correction value C (n) is obtained, so that the conveyance error is corrected in a small range of 1/4 inch instead of every inch. be able to.

また、平均値化した補正値Ca(n)を算出する際にn−1がゼロ以下になる場合、補正値C(n−1)は補正値C(1)を適用する。例えば、平均値化した補正値Ca(1)は次式のように求める。
Ca(1)={C(1)+C(1)+C(2)+C(3)}/4
Further, when n-1 is equal to or smaller than zero when calculating the averaged correction value Ca (n), the correction value C (n-1) is applied to the correction value C (n-1). For example, the averaged correction value Ca (1) is obtained as follows.
Ca (1) = {C (1) + C (1) + C (2) + C (3)} / 4

平均値化した補正値Ca(n)を算出する際にn+1が20以上になる場合、補正値C(n+1)は補正値C(19)を適用する。例えば、平均値化した補正値Ca(19)は次式のように求める。
Ca(19)={C(18)+C(19)+C(19)+C(19)}/4
When n + 1 is 20 or more when calculating the averaged correction value Ca (n), the correction value C (19) is applied to the correction value C (n + 1). For example, the averaged correction value Ca (19) is obtained as follows.
Ca (19) = {C (18) + C (19) + C (19) + C (19)} / 4

コンピュータ60は、このようにして平均値化した補正値Ca(1)〜Ca(19)を算出する。なお、下端領域に用いられる補正値Cbは、AC成分の搬送誤差を含まないラインLb1とラインLb2の間隔から求められた搬送誤差であるため、S138で求めた補正値Cbを平均値化する必要はない。   The computer 60 calculates correction values Ca (1) to Ca (19) averaged in this way. Since the correction value Cb used for the lower end region is a transport error obtained from the interval between the line Lb1 and the line Lb2 that does not include the AC component transport error, it is necessary to average the correction value Cb obtained in S138. There is no.

また、S104において平均値化した補正値Ca(n)のデータをプリンタ1に記憶させる前に、傾きが補正された(S133)個体識別コードの画像データの内容と、補正値Ca(n)のデータを送信するプリンタ1の個体識別コードが等しいかを確認する必要がある。まず、コンピュータ60は、文字認識用プログラムに従って、メモリに保存されている個体識別コードの画像データの内容を文字として認識する。次に、コンピュータ60は、プリンタ1内のメモリ53に記憶されている個体識別コードのデータを受信する。そして、個体識別コードの画像データの内容とプリンタ1の個体識別コードが等しければ、コンピュータ60は、次の処理(補正値の記憶:S104)に進む。もし、個体識別コードの画像データの内容とプリンタ1の個体識別コードが一致しなければエラーとなる。   Further, before storing the data of the correction value Ca (n) averaged in S104 in the printer 1, the inclination is corrected (S133), the content of the image data of the individual identification code, and the correction value Ca (n). It is necessary to check whether the individual identification codes of the printers 1 that transmit data are equal. First, the computer 60 recognizes the content of the image data of the individual identification code stored in the memory as characters according to the character recognition program. Next, the computer 60 receives the data of the individual identification code stored in the memory 53 in the printer 1. If the content of the image data of the individual identification code and the individual identification code of the printer 1 are equal, the computer 60 proceeds to the next process (correction value storage: S104). If the content of the image data of the individual identification code and the individual identification code of the printer 1 do not match, an error occurs.

===補正値の記憶(S104)===
次に、コンピュータ60は、平均値化した補正値Ca(n)をプリンタ1のメモリ53に記憶させる。メモリ53には、補正値Ca(n)だけでなく、補正値Ca(n)の境界位置情報も記憶させる。境界位置情報とは、補正値Ca(n)がどの地点で用いられるのかを示す情報である。例えば、補正値Ca(1)に関連付けられる境界位置情報は、測定用パターンのラインL2の理論上の位置であり、補正値Ca(2)に関連付けられる境界位置情報は、測定用パターンのラインL3の理論上の位置である。この境界位置情報とは、補正値Ca(n)を適用する範囲の下端側の境界を示す情報である。
=== Storage of Correction Value (S104) ===
Next, the computer 60 stores the averaged correction value Ca (n) in the memory 53 of the printer 1. The memory 53 stores not only the correction value Ca (n) but also boundary position information of the correction value Ca (n). The boundary position information is information indicating at which point the correction value Ca (n) is used. For example, the boundary position information associated with the correction value Ca (1) is the theoretical position of the measurement pattern line L2, and the boundary position information associated with the correction value Ca (2) is the measurement pattern line L3. Is the theoretical position. This boundary position information is information indicating the boundary on the lower end side of the range to which the correction value Ca (n) is applied.

例えば、搬送前にノズル#90と対向する紙Sのある位置がラインL2の理論上の位置と一致し、搬送後にノズル#90と対向する紙Sの他の位置がラインL3の理論上の位置と一致する場合、補正値Ca(2)を用いて搬送誤差が補正される。   For example, the position of the paper S facing the nozzle # 90 before the conveyance coincides with the theoretical position of the line L2, and the other position of the paper S facing the nozzle # 90 after the conveyance is the theoretical position of the line L3. , The conveyance error is corrected using the correction value Ca (2).

なお、補正値Ca(1)の上端側の境界位置情報はゼロである。即ち、メモリ53に記憶される境界位置情報は、紙の上端を基準地点としている。また、非NIP状態では、補正値Cbのみしか用いないので、境界位置情報を一緒にメモリ53に記憶させる必要はない。   Note that the boundary position information on the upper end side of the correction value Ca (1) is zero. That is, the boundary position information stored in the memory 53 uses the upper end of the paper as a reference point. Further, in the non-NIP state, only the correction value Cb is used, and therefore it is not necessary to store the boundary position information in the memory 53 together.

プリンタ製造工場では、製造されるプリンタ毎に、各プリンタの個体の特徴を反映した補正値Ca(n)と境界位置情報がメモリ53に記憶される。   In the printer manufacturing factory, for each manufactured printer, the correction value Ca (n) reflecting the individual characteristics of each printer and boundary position information are stored in the memory 53.

===ユーザーの下での印刷時の搬送動作===
メモリ53 に記憶された補正値Ca(n)を実際に使用する際に、コントローラ50は、紙Sのどの位置に補正値Ca(n)が適用されるか管理する必要がある。本実施形態では、補正値Ca(n)を求めるためにノズル#90が用いられている。そのため、コントローラ50は、ノズル#90と対向する紙Sの位置(以下、基準位置とする)を基準として、どの補正値Ca(n)を適用するかを管理する。また、補正値Ca(1)の上端側の境界位置情報はゼロである。ゆえに、コントローラ50は、ノズル#90と移動方法に並んでいる光学センサ44が紙Sの上端を検知した地点を、境界位置の基準地点と判断する。
=== Conveying operation when printing under the user ===
When the correction value Ca (n) stored in the memory 53 is actually used, the controller 50 needs to manage to which position of the paper S the correction value Ca (n) is applied. In this embodiment, nozzle # 90 is used to obtain the correction value Ca (n). Therefore, the controller 50 manages which correction value Ca (n) is applied with reference to the position of the paper S facing the nozzle # 90 (hereinafter referred to as a reference position). The boundary position information on the upper end side of the correction value Ca (1) is zero. Therefore, the controller 50 determines that the point where the optical sensor 44 aligned with the nozzle # 90 and the moving method detects the upper end of the paper S is the reference point of the boundary position.

更に、実際にプリンタ1を使用する際の紙Sの目標搬送量fと、補正値Caを求めたときの搬送量(1/4インチ)が異なる場合には、目標搬送量fに合わせた補正値Ca´を求める必要がある。また、搬送前に紙Sの基準位置と、補正値Ca(n)の境界位置がずれていたり、目標搬送量fの範囲が2つの補正値Ca(n)とCa(n+1)の範囲をまたいだりする可能性がある。そのため、それぞれのケースに応じた補正値Ca´に換算する必要がある。   Further, when the target transport amount f of the paper S when the printer 1 is actually used differs from the transport amount (1/4 inch) when the correction value Ca is obtained, the correction according to the target transport amount f is performed. It is necessary to determine the value Ca ′. Further, the boundary position between the reference position of the paper S and the correction value Ca (n) is shifted before the conveyance, or the range of the target conveyance amount f crosses the two correction values Ca (n) and Ca (n + 1). There is a possibility of dripping. Therefore, it is necessary to convert to a correction value Ca ′ corresponding to each case.

図24Aは、第1のケースの補正値Ca´(n)の説明図である。搬送開始前の基準位置が補正値Ca(n)の上端側の位置と等しく、目標搬送量fが補正値Ca(n)の適用範囲L(1/4インチ)と等しい場合には、補正値Ca(n)がそのまま用いられる。   FIG. 24A is an explanatory diagram of the correction value Ca ′ (n) in the first case. When the reference position before the start of conveyance is equal to the position on the upper end side of the correction value Ca (n) and the target conveyance amount f is equal to the application range L (1/4 inch) of the correction value Ca (n), the correction value Ca (n) is used as it is.

図24Bは、第2のケースの補正値Ca´(n)の説明図である。搬送開始前と搬送後の基準位置が補正値Ca(n)の適用範囲内に位置し、目標搬送量fが補正値Ca(n)の適用範囲Lよりも短い場合、以下に示す補正値Ca´(n)を用いる。
Ca´(n)=Ca(n)×(f/L)
FIG. 24B is an explanatory diagram of the correction value Ca ′ (n) in the second case. When the reference position before and after the conveyance is within the application range of the correction value Ca (n) and the target conveyance amount f is shorter than the application range L of the correction value Ca (n), the correction value Ca shown below '(N) is used.
Ca ′ (n) = Ca (n) × (f / L)

図24Cは、第3のケースの補正値Ca´(n)の説明図である。搬送開始前の基準位置が補正値Ca(n)の適用範囲内に位置し、搬送後の基準位置が補正値Ca(n+1)の適用範囲内に位置するまで紙Sが搬送される場合、以下に示す補正値Ca´(n)を用いる。
Ca´(n)=Ca(n)×(f1/L)+Ca(n+1)×(f2/L)
FIG. 24C is an explanatory diagram of the correction value Ca ′ (n) in the third case. When the paper S is transported until the reference position before the start of transport is within the application range of the correction value Ca (n) and the reference position after the transport is within the application range of the correction value Ca (n + 1), The correction value Ca ′ (n) shown in FIG.
Ca ′ (n) = Ca (n) × (f1 / L) + Ca (n + 1) × (f2 / L)

図24Dは、第4のケースの補正値Ca´(n)の説明図である。搬送開始前の基準位置が補正値Ca(n)の適用範囲内に位置し、搬送後の基準位置が補正値Ca(n+2)の適用範囲内に位置するまで紙Sが搬送される場合、以下に示す補正値Ca´(n)を用いる。
Ca´(n)=Ca(n)×(f1/L)+Ca(n+1)
+Ca(n+2)×(f2/L)
FIG. 24D is an explanatory diagram of the correction value Ca ′ (n) in the fourth case. When the paper S is transported until the reference position before the start of transport is within the application range of the correction value Ca (n) and the reference position after the transport is within the application range of the correction value Ca (n + 2), The correction value Ca ′ (n) shown in FIG.
Ca ′ (n) = Ca (n) × (f1 / L) + Ca (n + 1)
+ Ca (n + 2) × (f2 / L)

なお、非NIP状態の搬送誤差に対しては補正値Cbを用いる。この補正値Cbは、紙Sが非NIP状態であるときに1インチ搬送される場合の補正量である。そのため、非NIP状態の搬送量fが1インチ(=L)でない場合は、以下に示す補正値Cb´を用いる。
Cb´=f/L
The correction value Cb is used for the transport error in the non-NIP state. The correction value Cb is a correction amount when the paper S is conveyed for 1 inch when it is in a non-NIP state. Therefore, when the transport amount f in the non-NIP state is not 1 inch (= L), the correction value Cb ′ shown below is used.
Cb ′ = f / L

また、テストシートTSと実際に印刷する用紙サイズが異なる場合、補正値Ca(n)の適用範囲を印刷用紙に適応することができない。そこで、印刷用紙の搬送特性とテストシートTSの搬送特性が近似している地点を対応させ、対応する地点の補正値Ca(n)を使用する。そうして、補正値Ca(n)を組み合わせ、印刷用紙用にデータを作成する。   Further, when the test sheet TS and the paper size to be actually printed are different, the application range of the correction value Ca (n) cannot be applied to the print paper. Therefore, a point where the conveyance characteristic of the printing paper and the conveyance characteristic of the test sheet TS are approximated is made to correspond, and the correction value Ca (n) at the corresponding point is used. Thus, the correction value Ca (n) is combined to create data for printing paper.

===実施形態2:個体識別コードの印刷===
前述の実施形態では、測定用パターンの個体識別コードを印刷する際に、1つのノズル列(マゼンタ用インクノズル列Mのノズル#1〜#90)を用いて印刷する。そして、文字を1つのノズル列のみで印刷する場合、印刷された文字にスジが生じてしまい、コンピュータ60が文字を認識できないおそれがあるので、テストシートTSを微小送りして、個体識別コードの印刷を行っている。
=== Embodiment 2: Printing of Individual Identification Code ===
In the above-described embodiment, when the individual identification code of the measurement pattern is printed, printing is performed using one nozzle row (nozzles # 1 to # 90 of the magenta ink nozzle row M). Then, when printing characters with only one nozzle row, streaks occur in the printed characters and the computer 60 may not be able to recognize the characters. Printing is in progress.

この実施形態2では、個体識別コードを印刷する際に、複数のノズル列を用いて印刷する。図4の4つのノズル列のうちの2列を用いた場合について説明する。2つのノズル列を用いるということは、1つの画素にドットを2回着弾することである。つまり、1つのノズル列のみを用いて印刷するよりも2つのノズル列を用いて印刷する方が、文字を太く印刷することができるので、個体識別コードの文字の認識率が上がる。   In the second embodiment, the individual identification code is printed using a plurality of nozzle rows. A case where two of the four nozzle rows in FIG. 4 are used will be described. Using two nozzle rows means that a dot is landed twice on one pixel. That is, printing using two nozzle rows can be performed thicker than printing using only one nozzle row, so that the character recognition rate of the individual identification code is increased.

その結果、テストシートTSを微小送りすることなく、1回のパスで個体識別コードの印刷を終了することも可能となり、測定用パターンの印刷時間を短縮することができる。但し、1回のパスで個体識別コードを印刷し、測定用パターンのラインを所定搬送量(1/4インチ)毎に印刷できたとしても、図12の比較例のようにライン(L8)とライン(L9)を印刷する間に個体識別コードを印刷することはできない。なぜなら、個体識別コードを印刷した直後に印刷されるラインは、メニスカスが完全に安定する前に印刷される可能性があるからである。そのため、実施形態2においても前述の実施形態と同様に、通常領域のラインが印刷された後に、個体識別コードが印刷される。また、2つのノズル列を用いるため、インクカートリッジを前述の実施形態よりも多く取り付ける必要がある。   As a result, it is possible to finish printing the individual identification code in one pass without finely feeding the test sheet TS, and the printing time for the measurement pattern can be shortened. However, even if the individual identification code is printed in one pass and the measurement pattern line can be printed for each predetermined conveyance amount (1/4 inch), the line (L8) is the same as the comparative example of FIG. The individual identification code cannot be printed while the line (L9) is printed. This is because the line printed immediately after printing the individual identification code may be printed before the meniscus is completely stabilized. For this reason, in the second embodiment as well, the individual identification code is printed after the line in the normal area is printed, as in the previous embodiment. Further, since two nozzle rows are used, it is necessary to install more ink cartridges than in the above-described embodiment.

ところで、2つのノズル列を用いるということは、インクを2色使用することも可能となる。例えば、マゼンタインクとブラックインクで、個体識別コードを印刷するとする。そうすることで、印刷された文字の色が濃くなるため、コンピュータ60が文字を認識しやすくなる。逆に、2つのノズル列を用いるからといって、インクを2色使用しなくてもよい。マゼンタインク用ノズル列Mとブラックインク用ノズル列Kを用いて、個体識別コードを印刷するとしても、コストの安いマゼンタインクのみしか使用しなくてもよい。その際には、ブラックインク用ノズル列にもマゼンタインクのカートリッジを取り付ける。   By the way, using two nozzle rows also makes it possible to use two colors of ink. For example, it is assumed that the individual identification code is printed with magenta ink and black ink. By doing so, since the color of the printed character becomes dark, the computer 60 can easily recognize the character. Conversely, using two nozzle rows does not require the use of two colors of ink. Even if the individual identification code is printed using the magenta ink nozzle row M and the black ink nozzle row K, only the magenta ink having a low cost may be used. At that time, a magenta ink cartridge is also attached to the black ink nozzle row.

===実施形態3:個体識別コードの印刷===
前述の実施形態では、測定用パターンの個体識別コードを印刷する際に、1つのノズル列(マゼンタ用インクノズル列M)を用いて印刷すると説明した。
=== Embodiment 3: Printing of Individual Identification Code ===
In the above-described embodiment, it has been described that, when the individual identification code of the measurement pattern is printed, printing is performed using one nozzle row (magenta ink nozzle row M).

図25は、ヘッド80の下面において、ノズル列が千鳥状に配列されている様子を示す図である。実施形態3では、ヘッド80を用いる。ヘッド80の下面には、2つのイエローインクノズル列Y1及びY2と、2つのマゼンタインクノズル列M1及びM2と、2つのシアンインクノズル列C1及びC2と、2つのブラックインクノズル列K1及びK2が形成されている。各ノズル列はノズルを90個備えており、ノズル列長は1インチである。つまり、ノズル間隔Dは、1/90インチとなる。また、同色インクの2つのノズル列のうち、右側のノズル列の方が左側のノズル列に比べ、搬送方向の上流側に1/180インチずれて配置されている。   FIG. 25 is a diagram illustrating a state in which nozzle rows are arranged in a staggered pattern on the lower surface of the head 80. In the third embodiment, the head 80 is used. On the lower surface of the head 80, two yellow ink nozzle rows Y1 and Y2, two magenta ink nozzle rows M1 and M2, two cyan ink nozzle rows C1 and C2, and two black ink nozzle rows K1 and K2 are provided. Is formed. Each nozzle row includes 90 nozzles, and the nozzle row length is 1 inch. That is, the nozzle interval D is 1/90 inch. Of the two nozzle rows of the same color ink, the right nozzle row is shifted by 1/180 inch upstream of the left nozzle row in the transport direction.

この実施形態3では、千鳥状にずれた2つのノズル列、マゼンタインク用ノズル列M1及びM2を用いて、個体識別コードを印刷する。その結果、前述の実施形態のように図4のヘッド31のうちの1つのノズル列のみを用いて印刷するよりも、千鳥状に配列された2つのノズル列を用いて印刷すると、印刷された文字の解像度が2倍となる。   In the third embodiment, the individual identification code is printed using the two nozzle rows shifted in a staggered manner, and the magenta ink nozzle rows M1 and M2. As a result, it was printed when printing was performed using two nozzle rows arranged in a staggered manner rather than printing using only one nozzle row of the head 31 of FIG. 4 as in the above-described embodiment. The character resolution is doubled.

その結果、テストシートTSを微小送りすることなく、1回のパスで個体識別コードの印刷を終了することも可能となるので、測定用パターンの印刷時間を短縮することができる。但し、実施形態3では1回のパスで個体識別コードを印刷することができるが、個体識別コードを印刷した直後に通常領域のラインを印刷しようとすると、メニスカスが完全に安定する前にラインが印刷される可能性がある。そのため、実施形態3においても前述の実施形態と同様に、通常領域のラインが印刷された後に、個体識別コードが印刷される。また、図4のヘッド31を用いるのに対して、図25のようなヘッド80を用いる方が、コストがかかる。   As a result, the printing of the individual identification code can be completed in one pass without finely feeding the test sheet TS, so that the measurement pattern printing time can be shortened. However, in the third embodiment, the individual identification code can be printed in one pass. However, if a line in the normal area is printed immediately after the individual identification code is printed, the line is printed before the meniscus is completely stabilized. May be printed. For this reason, in the third embodiment as well, the individual identification code is printed after the line in the normal area is printed, as in the previous embodiment. Further, it is more costly to use the head 80 as shown in FIG. 25 than to the head 31 shown in FIG.

===その他の実施形態===
上記の各実施形態は、主としてインクジェット方式のプリンタを有する印刷システムについて記載されているが、測定用パターン(複数のラインと個体識別コード)の印刷方法等の開示が含まれている。また、上記の実施形態は、本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。本発明は、その趣旨を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれることはいうまでもない。
=== Other Embodiments ===
Each of the above embodiments is described mainly for a printing system having an ink jet printer, but includes disclosure of a printing method for a measurement pattern (a plurality of lines and an individual identification code). The above-described embodiments are for facilitating understanding of the present invention, and are not intended to limit the present invention. The present invention can be changed and improved without departing from the gist thereof, and it is needless to say that the present invention includes equivalents thereof.

本実施形態のプリンタの全体構成ブロック図である。1 is an overall configuration block diagram of a printer according to an embodiment. 図2Aはプリンタの全体構成の概略図であり、図2Bはプリンタ全体構成の断面図である。2A is a schematic diagram of the overall configuration of the printer, and FIG. 2B is a cross-sectional view of the overall configuration of the printer. 搬送ユニットの構成の説明図である。It is explanatory drawing of a structure of a conveyance unit. ヘッドの下面におけるノズルの配列を示す説明図である。It is explanatory drawing which shows the arrangement | sequence of the nozzle in the lower surface of a head. 図5Aは設計上の搬送ローラの断面図であり、図5Bは搬送ローラがつぶれて断面が楕円形状になってしまった搬送ローラの断面図であり、図5Cは搬送ローラの回転中心が円の中心からずれてしまった搬送量ローラの断面図であり、図5Dは設計上の搬送ローラと設計上の搬送ローラよりも1回り大きい搬送ローラの断面図である。FIG. 5A is a cross-sectional view of the designed transport roller, FIG. 5B is a cross-sectional view of the transport roller in which the transport roller is crushed and has an elliptical cross section, and FIG. FIG. 5D is a cross-sectional view of the designed conveyance roller and a conveyance roller that is one turn larger than the designed conveyance roller. 搬送誤差補正のフロー図である。It is a flowchart of conveyance error correction. 搬送誤差補正を行う時のシステム構成図である。It is a system configuration diagram when carrying error correction. テストシートに印刷された測定用パターンを示している。The measurement pattern printed on the test sheet is shown. テストシートとヘッドの位置関係を示している。The positional relationship between the test sheet and the head is shown. 図10Aはパス1におけるヘッドとテストシートと搬送ローラの位置関係を示し、図10Bはパス2におけるヘッドとテストシートと搬送ローラの位置関係を示し、図10Cは非NIP状態でのヘッドとテストシートと搬送ローラの位置関係を示している。10A shows the positional relationship between the head, test sheet, and conveyance roller in pass 1, FIG. 10B shows the positional relationship between the head, test sheet, and conveyance roller in pass 2, and FIG. 10C shows the head and test sheet in the non-NIP state. And the positional relationship between the transport rollers. 個体識別コード印刷時のテストシートとヘッドの位置関係を示している。The positional relationship between the test sheet and the head when the individual identification code is printed is shown. 本実施形態の比較例として、ラインL8が印刷された後に個体識別コードが印刷される様子を示している。As a comparative example of the present embodiment, the individual identification code is printed after the line L8 is printed. 図13Aはテストシートの下端領域にラインLb1が印刷される様子を示し、図13Bはテストシートの下端領域にラインLb2が印刷される様子を示している。FIG. 13A shows how the line Lb1 is printed in the lower end area of the test sheet, and FIG. 13B shows how the line Lb2 is printed in the lower end area of the test sheet. 図14Aはスキャナの縦断面図であり、図14Bは上蓋を外した状態のスキャナの上面図である。FIG. 14A is a longitudinal sectional view of the scanner, and FIG. 14B is a top view of the scanner with the upper lid removed. 図15Aは基準シートの説明図であり、図15Bは原稿台ガラスにテストシートと基準シートをセットした様子を上から見た図である。FIG. 15A is an explanatory diagram of the reference sheet, and FIG. 15B is a view of the state in which the test sheet and the reference sheet are set on the platen glass as viewed from above. 補正値算出処理のフロー図である。It is a flowchart of a correction value calculation process. 図17Aはスキャナから取得した画像データの示す画像が描かれており、図17Bは分割された画像が描かれている。FIG. 17A shows an image indicated by image data acquired from the scanner, and FIG. 17B shows a divided image. 図18Aはスキャナで読み取った測定パターンの画像の一部で傾きを検出する様子を示しており、図18Bは取り出された画素の濃度のグラフである。FIG. 18A shows how the inclination is detected in a part of the image of the measurement pattern read by the scanner, and FIG. 18B is a graph of the density of the extracted pixel. 測定用パターンの印刷時の傾きの検出の様子の説明図である。It is explanatory drawing of the mode of the detection of the inclination at the time of printing of the pattern for a measurement. 余白量Xの説明図である。It is explanatory drawing of the margin amount X. FIG. 図21Aは測定用パターンのラインの位置を算出する際に用いられる画像の範囲の説明図であり、図21Bは測定用パターンのラインの重心位置の算出の説明図である。FIG. 21A is an explanatory diagram of an image range used when calculating the position of the line of the measurement pattern, and FIG. 21B is an explanatory diagram of calculation of the barycentric position of the line of the measurement pattern. 基準パターンのラインと測定用パターンのラインの位置関係を示している。The positional relationship between the reference pattern line and the measurement pattern line is shown. 測定用パターンのラインと補正値との関係の説明図である。It is explanatory drawing of the relationship between the line of a measurement pattern, and a correction value. 図24Aは第1のケースの補正値の説明図であり、図24Bは第2のケースの補正値の説明図であり、図24Cは第3のケースの補正値の説明図であり、図24Dは第4のケースの補正値の説明図である。24A is an explanatory diagram of the correction value of the first case, FIG. 24B is an explanatory diagram of the correction value of the second case, FIG. 24C is an explanatory diagram of the correction value of the third case, and FIG. These are explanatory drawings of correction values in the fourth case. ヘッドの下面において、ノズル列が千鳥状に配列されている様子を示す図である。It is a figure which shows a mode that the nozzle row is arranged in the zigzag form on the lower surface of the head.

符号の説明Explanation of symbols

1 プリンタ、
10 搬送ユニット、11 給紙ローラ、12 搬送モータ、13 搬送ローラ、
14 プラテン、15 排紙ローラ、16 従動ローラ、17 従動ローラ、
20 キャリッジユニット、21 キャリッジ、22 キャリッジモータ、
30 ヘッドユニット、31 ヘッド、
40 検出器群、41 リニア式エンコーダ、42 ロータリー式エンコーダ、
43 紙検出センサ、44 光学センサ、421 スケール、422 検出部、
50 コントローラ、51インターフェース部、52 CPU、53 メモリ、
60 コンピュータ、
70 スキャナ、71 上蓋、72 原稿、73 原稿台ガラス、
74 読取キャリッジ、75 案内部、76 移動機構、77 露光ランプ、
78 ラインセンサ、79 光学系、80 ヘッド、
TS テストシート、SS 基準シート
1 printer,
10 transport unit, 11 paper feed roller, 12 transport motor, 13 transport roller,
14 platen, 15 discharge roller, 16 driven roller, 17 driven roller,
20 Carriage unit, 21 Carriage, 22 Carriage motor,
30 head units, 31 heads,
40 detector groups, 41 linear encoder, 42 rotary encoder,
43 paper detection sensor, 44 optical sensor, 421 scale, 422 detection unit,
50 controller, 51 interface unit, 52 CPU, 53 memory,
60 computers,
70 Scanner, 71 Top cover, 72 Document, 73 Platen glass,
74 reading carriage, 75 guide section, 76 moving mechanism, 77 exposure lamp,
78 line sensor, 79 optical system, 80 heads,
TS test sheet, SS reference sheet

Claims (10)

ノズルを所定方向に移動させながら、前記ノズルからインクを吐出させてラインを形成する動作と、媒体が前記所定方向と交差する搬送方向に所定搬送量分だけ搬送される動作とを、印刷装置が交互に複数回繰り返すことで、複数のラインを前記媒体に印刷するステップと、
前記印刷装置が、前記複数のラインを印刷した後、前記印刷装置を識別するための個体識別コードを、前記ノズルからインクを吐出させて前記媒体に印刷するステップと、
前記複数のラインの間隔に基づいて、補正値を算出するステップと、
前記媒体に印刷された前記個体識別コードを認識し、前記個体識別コードに対応する前記印刷装置のメモリに前記補正値を記憶させるステップと、
前記印刷装置が、前記補正値に基づいて、目標搬送量を補正するステップと、
を有する印刷方法。
The printing apparatus includes an operation of ejecting ink from the nozzle while moving the nozzle in a predetermined direction to form a line, and an operation of conveying the medium by a predetermined conveyance amount in a conveyance direction intersecting the predetermined direction. Printing a plurality of lines on the medium by alternately repeating a plurality of times; and
After the printing device prints the plurality of lines, an individual identification code for identifying the printing device is printed on the medium by ejecting ink from the nozzle; and
Calculating a correction value based on an interval between the plurality of lines;
Recognizing the individual identification code printed on the medium and storing the correction value in a memory of the printing apparatus corresponding to the individual identification code;
The printing apparatus correcting the target carry amount based on the correction value;
A printing method comprising:
請求項1に記載の印刷方法であって、
前記個体識別コードを印刷する際には、前記媒体を前記搬送方向に前記所定搬送量よりも少ない搬送量で搬送する、
印刷方法。
The printing method according to claim 1, comprising:
When printing the individual identification code, the medium is transported in the transport direction with a transport amount smaller than the predetermined transport amount.
Printing method.
請求項1又は請求項2に記載の印刷方法であって、
前記ノズルが複数ある場合に、
前記個体識別コードは、前記ノズルを複数用いて印刷される、
印刷方法。
The printing method according to claim 1 or 2, wherein
When there are a plurality of the nozzles,
The individual identification code is printed using a plurality of the nozzles,
Printing method.
請求項3に記載の印刷方法であって、
前記ノズルが前記搬送方向に並んで、ノズル列を形成し、
前記個体識別コードは、1つの前記ノズル列を用いて印刷される、
印刷方法。
The printing method according to claim 3, wherein
The nozzles are aligned in the transport direction to form a nozzle row,
The individual identification code is printed using one of the nozzle rows.
Printing method.
請求項3に記載の印刷方法であって、
前記ノズルが前記搬送方向に並んで、ノズル列を形成し、
前記個体識別コードは、複数の前記ノズル列を用いて印刷される、
印刷方法。
The printing method according to claim 3, wherein
The nozzles are aligned in the transport direction to form a nozzle row,
The individual identification code is printed using a plurality of the nozzle rows.
Printing method.
請求項3に記載の印刷方法であって、
前記ノズルが前記搬送方向に並んで、第1ノズル列と第2ノズル列を形成し、
前記第1ノズル列は前記第2ノズル列に対して前記搬送方向にずれて配置され、
前記個体識別コードは、前記第1ノズル列と前記第2ノズル列を用いて印刷される、
印刷方法。
The printing method according to claim 3, wherein
The nozzles are aligned in the transport direction to form a first nozzle row and a second nozzle row,
The first nozzle row is arranged to be shifted in the transport direction with respect to the second nozzle row,
The individual identification code is printed using the first nozzle row and the second nozzle row.
Printing method.
請求項1から請求項6のいずれかに記載の印刷方法であって、
前記印刷装置は前記媒体を第1ローラと第2ローラにより搬送し、
前記第1ローラと前記第2ローラは、前記搬送方向に並んで配置され、前記第1ローラの方が前記第2ローラよりも上流側に位置し、
前記複数のラインは、前記第1ローラと前記媒体が接触しているときに印刷されるラインである、
印刷方法。
A printing method according to any one of claims 1 to 6,
The printing apparatus conveys the medium by a first roller and a second roller,
The first roller and the second roller are arranged side by side in the transport direction, and the first roller is located upstream of the second roller,
The plurality of lines are lines printed when the first roller is in contact with the medium.
Printing method.
請求項1から請求項7のいずれかに記載の印刷方法であって、
前記補正値を算出するステップには、前記媒体に印刷された前記複数のラインと前記個体識別コードをスキャナにより読み取とる動作が含まれ、前記補正値を算出するステップは、読み取った前記複数のラインの画像を基に前記補正値を算出するステップであり、
前記個体識別コードの画像の傾きは前記複数のラインの画像の傾きとは別に補正される、
印刷方法。
A printing method according to any one of claims 1 to 7,
The step of calculating the correction value includes an operation of reading the plurality of lines printed on the medium and the individual identification code with a scanner, and the step of calculating the correction value includes the step of calculating the plurality of lines read. Calculating the correction value based on the image of
The inclination of the image of the individual identification code is corrected separately from the inclination of the image of the plurality of lines.
Printing method.
請求項8に記載の印刷方法であって、
前記媒体には、前記複数のラインの画像の傾きを補正するための第1ラインと、前記個体識別コードの画像の傾きを補正するための第2ラインが印刷され、
前記第2ラインは前記第1ラインよりも個体識別コードに近い位置に印刷される、
印刷方法。
The printing method according to claim 8, comprising:
The medium is printed with a first line for correcting the inclination of the image of the plurality of lines and a second line for correcting the inclination of the image of the individual identification code,
The second line is printed at a position closer to the individual identification code than the first line.
Printing method.
複数のノズルを所定方向に移動させながら、前記ノズルからインクを吐出させてラインを形成する動作と、媒体が前記所定方向と交差する搬送方向に所定搬送量分だけ搬送される動作とを、印刷装置が交互に複数回繰り返すことで、複数のラインを前記媒体に印刷するステップと、
前記印刷装置が、前記複数のラインを印刷した後、前記複数のノズルを前記所定方向に移動させながら、前記複数のノズルが前記搬送方向に並んで形成している複数のノズル列から前記媒体にインクを吐出させる動作と、前記媒体を前記搬送方向に前記所定搬送量よりも少ない搬送量で搬送する動作とを、交互に繰り返すことで、前記印刷装置を識別するための個体識別コードの印刷を印刷するステップと、
前記媒体に印刷された前記複数のラインと前記個体識別コードをスキャナにより読み取とり、読み取った前記複数のラインの画像のラインの間隔に基づいて、補正値を算出するステップと、
読み取った前記個体識別コードの画像を認識し、前記個体識別コードに対応する前記印刷装置のメモリに前記補正値を記憶させるステップと、
前記印刷装置が、前記補正値に基づいて、目標搬送量を補正するステップと、
を有する印刷方法であって、
前記印刷装置は前記媒体を第1ローラと第2ローラにより搬送し、
前記第1ローラと前記第2ローラは、前記搬送方向に並んで配置され、前記第1ローラの方が前記第2ローラよりも上流側に位置し、
前記複数のラインは、前記第1ローラと前記媒体が接触しているときに印刷されるラインであり、
前記個体識別コードの画像の傾きは前記複数のラインの画像の傾きとは別に補正され、
前記媒体には、前記複数のラインの画像の傾きを補正するための第1ラインと、前記個体識別コードの画像の傾きを補正するための第2ラインが印刷され、
前記第2ラインは前記第1ラインよりも個体識別コードに近い位置に印刷される、
印刷方法。
An operation of forming a line by ejecting ink from the nozzles while moving a plurality of nozzles in a predetermined direction, and an operation of conveying a medium by a predetermined conveyance amount in a conveyance direction intersecting the predetermined direction are printed. Printing a plurality of lines on the medium by alternately repeating the device a plurality of times;
After the printing apparatus prints the plurality of lines, the plurality of nozzles are arranged in the transport direction to the medium while moving the plurality of nozzles in the predetermined direction. The individual identification code for identifying the printing apparatus is printed by alternately repeating the operation of ejecting ink and the operation of transporting the medium in the transport direction with a transport amount smaller than the predetermined transport amount. Printing step;
Reading the plurality of lines printed on the medium and the individual identification code with a scanner, and calculating a correction value based on a line interval of the read images of the plurality of lines;
Recognizing the read image of the individual identification code, and storing the correction value in the memory of the printing device corresponding to the individual identification code;
The printing apparatus correcting the target carry amount based on the correction value;
A printing method comprising:
The printing apparatus conveys the medium by a first roller and a second roller,
The first roller and the second roller are arranged side by side in the transport direction, and the first roller is located upstream of the second roller,
The plurality of lines are lines printed when the first roller and the medium are in contact with each other,
The inclination of the image of the individual identification code is corrected separately from the inclination of the image of the plurality of lines,
The medium is printed with a first line for correcting the inclination of the image of the plurality of lines and a second line for correcting the inclination of the image of the individual identification code,
The second line is printed at a position closer to the individual identification code than the first line.
Printing method.
JP2006197241A 2006-07-19 2006-07-19 Printing method Pending JP2008023787A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006197241A JP2008023787A (en) 2006-07-19 2006-07-19 Printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006197241A JP2008023787A (en) 2006-07-19 2006-07-19 Printing method

Publications (1)

Publication Number Publication Date
JP2008023787A true JP2008023787A (en) 2008-02-07

Family

ID=39114925

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006197241A Pending JP2008023787A (en) 2006-07-19 2006-07-19 Printing method

Country Status (1)

Country Link
JP (1) JP2008023787A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009258662A (en) * 2008-03-18 2009-11-05 Ricoh Co Ltd Image forming apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009258662A (en) * 2008-03-18 2009-11-05 Ricoh Co Ltd Image forming apparatus

Similar Documents

Publication Publication Date Title
JP5067017B2 (en) A system, a printer, and a method performed in the printer.
JP4432943B2 (en) Line position calculation method and correction value acquisition method
US7758139B2 (en) Liquid ejecting apparatus and transport method
JP4341658B2 (en) Correction value determination method and correction value determination device
JP4193894B2 (en) Correction value determination method, correction value determination device, and program
JP4162022B2 (en) Conveyance amount correction device, conveyance amount correction method, and program
JP4967816B2 (en) Conveying method and recording apparatus
JP4458076B2 (en) Line position calculation method, correction value acquisition method, and program
JP4192977B2 (en) Recording apparatus, conveyance amount correction method, and program
JP4900042B2 (en) Recording method
JP2008023787A (en) Printing method
JP4192978B2 (en) Recording apparatus, conveyance amount correction method, and program
JP2008044324A (en) Printing method
JP2008105345A (en) Recorder, recording method, and program
JP2008036840A (en) Fixture
JP2008120576A (en) Inclination calculating method
JP2008023899A (en) Line position calculation method, correction value acquisition method, and program
JP2009143136A (en) Liquid discharging device and correcting pattern forming method
JP2008012696A (en) Recording method
US20090267984A1 (en) Liquid Ejection Apparatus and Method for Forming Pattern
JP2008048359A (en) Test sheet reading method
JP2008055729A (en) Method for computing correction amount, correction amount computing device and program
JP2008124761A (en) Line detection method
JP2008055727A (en) Method for determining correction value, correction value determining device and program
JP2009137249A (en) Correction value acquisition method and liquid discharge apparatus