JP2011073158A - Recorder, method of controlling recorder, and program - Google Patents

Recorder, method of controlling recorder, and program Download PDF

Info

Publication number
JP2011073158A
JP2011073158A JP2009224064A JP2009224064A JP2011073158A JP 2011073158 A JP2011073158 A JP 2011073158A JP 2009224064 A JP2009224064 A JP 2009224064A JP 2009224064 A JP2009224064 A JP 2009224064A JP 2011073158 A JP2011073158 A JP 2011073158A
Authority
JP
Japan
Prior art keywords
pattern
recording
recording medium
image
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009224064A
Other languages
Japanese (ja)
Inventor
Noriyuki Yamamoto
敬之 山本
Toshihiro Hagiwara
敏浩 萩原
Masakatsu Hanaki
雅克 花木
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 JP2009224064A priority Critical patent/JP2011073158A/en
Publication of JP2011073158A publication Critical patent/JP2011073158A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To adequately detect a deviation in an operation of recording an image on a recording medium in a recorder that includes a conveyance section for conveying a recording medium and a recording section for recording an image while allowing the recording medium to be scanned in a width direction of the recording medium. <P>SOLUTION: This recorder includes a scanner 12 for reading an image recorded on a recording medium. After a first positional deviation detection pattern is recorded on a recording medium by moving a recording head 2 in the width direction, a second positional deviation detection pattern intersecting with the first positional deviation detection pattern is recorded on the recording medium by moving the recording head 2 in the width direction. The recorded images are read by the scanner 12. The deviation in the operation of recording the images on the recording medium is detected on the basis of a mode of the intersection between both the patterns. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、記録媒体の幅方向を走査しつつ画像を記録する記録部を備える記録装置、この記録装置の制御方法、及び、プログラムに関する。   The present invention relates to a recording apparatus including a recording unit that records an image while scanning the width direction of a recording medium, a control method for the recording apparatus, and a program.

従来、記録媒体を搬送方向に搬送する搬送ローラーと、記録媒体の幅方向に往復移動可能な記録ヘッドとを備え、記録ヘッドを記録媒体に対して幅方向に走査させつつ記録媒体に画像を記録する動作と、記録媒体を搬送方向に搬送する動作とを間欠的に行うことにより、記録媒体に所定の画像を記録する記録装置が知られている(例えば、特許文献1参照)。   Conventionally, a conveyance roller that conveys a recording medium in the conveyance direction and a recording head that can reciprocate in the width direction of the recording medium are provided, and an image is recorded on the recording medium while the recording head is scanned in the width direction with respect to the recording medium. There is known a recording apparatus that records a predetermined image on a recording medium by intermittently performing the operation to perform the operation to convey the recording medium in the conveyance direction (see, for example, Patent Document 1).

特開特開2008−126626号公報JP 2008-126626 A

上述した記録装置では、搬送ローラーと、記録ヘッド、記録ヘッドをキャリッジに搭載して移動させるキャリッジ機構とが協働して記録媒体への画像の記録を実行するが、これら部材の経年劣化や、記録装置を製造する過程で生じる個体差等により、記録媒体への画像の記録に係る動作のずれが生じ記録品質の低下に至る場合があり、当該ずれを適切に検出したいとするニーズがある。
本発明は、上述した事情に鑑みてなされたものであり、記録媒体を搬送方向に搬送する搬送部と、記録媒体の幅方向を走査しつつ画像を記録する記録部とによって記録媒体に画像を記録する記録装置において、記録媒体に対する画像の記録に係る動作のずれを適切に検出することを目的とする。
In the above-described recording apparatus, the conveyance roller, the recording head, and a carriage mechanism that moves the recording head mounted on the carriage cooperate to execute recording of an image on a recording medium. Due to individual differences or the like that occur in the process of manufacturing the recording apparatus, there may be a shift in operation related to image recording on the recording medium, leading to a decrease in recording quality, and there is a need to appropriately detect the shift.
The present invention has been made in view of the above-described circumstances, and an image is recorded on a recording medium by a transport unit that transports the recording medium in the transport direction and a recording unit that records an image while scanning the width direction of the recording medium. An object of the present invention is to appropriately detect a shift in operation related to image recording on a recording medium in a recording apparatus for recording.

上記目的を達成するために、本発明は、記録媒体の幅方向を往復走査可能に構成され、記録媒体に画像を記録する記録部備える記録装置であって、前記記録部を前記幅方向に走査させて第1パターンを記録媒体に記録した後、前記記録部を前記幅方向に走査させて前記第1パターンと交わる前記第2パターンを記録媒体に記録し、前記第1パターンと前記第2パターンとの交わりの態様に基づいて、記録媒体への画像の記録に係る動作のずれを検出することを特徴とする。
ここで、記録部を前記幅方向に走査させて第1パターンを記録媒体に記録した後、記録部を前記幅方向に走査させて第1パターンと交わる第2パターンを記録媒体に記録した場合において、記録媒体への画像の記録に係る動作のずれが生じている場合と、生じていない場合とでは、第1パターンと第2パターンとの交わりの態様が相違する。これを踏まえ、上記構成によれば、第1パターンと第2パターンとの交わりの態様に基づいて、適切に、記録媒体への画像の記録に係る動作のずれを検出することができる。
In order to achieve the above object, the present invention is a recording apparatus configured to be capable of reciprocating scanning in the width direction of a recording medium and having a recording unit for recording an image on the recording medium, and scanning the recording unit in the width direction. After the first pattern is recorded on the recording medium, the recording unit is scanned in the width direction to record the second pattern that intersects the first pattern on the recording medium. The first pattern and the second pattern Based on the manner of intersection with the image, a shift in operation related to recording of an image on a recording medium is detected.
Here, after the recording unit is scanned in the width direction and the first pattern is recorded on the recording medium, the recording unit is scanned in the width direction and the second pattern intersecting with the first pattern is recorded on the recording medium. The manner of intersection of the first pattern and the second pattern differs depending on whether or not there is a shift in the operation related to image recording on the recording medium. Based on this, according to the above configuration, it is possible to appropriately detect a shift in the operation related to the recording of the image on the recording medium based on the mode of intersection of the first pattern and the second pattern.

前記記録部を往方向に走査させて前記第1パターンを記録媒体に記録した後、前記記録部を所定の位置で折り返させ、折り返させた前記記録部を複方向に走査させて前記第2パターンを記録媒体に記録し、前記第1パターンと前記第2パターンとの交わりの態様に基づいて、前記往方向に走査する前記記録部により記録される画像と、前記複方向に走査する前記記録部により記録される画像との間における位置ずれを検出するようにしてもよい。
ここで、幅方向における往方向に記録部を走査させつつ画像を記録させた後、搬送部によって記録媒体を所定の距離だけ搬送させると共に記録部を所定の位置で折り返させ、折り返させた記録部を幅方向における複方向に走査させつつ画像を記録させるという動作を繰り返し実行することにより、記録媒体に対し所定の画像を記録する記録装置では、記録部が折り返す位置のずれによって、往方向に走査する記録部により記録される画像と、複方向に走査する記録部により記録される画像との間における位置ずれが発生することがある。そして、位置ずれが発生していない場合における第1パターンと第2パターンとの交わりの態様と、位置ずれが発生していない場合における第1パターンと第2パターンとの交わりの態様とは、相違する。これを踏まえ、上記構成によれば、第1パターンと第2パターンとの交わりの態様に基づいて、適切に、上記位置ずれを検出することができる。
特に、この構成によれば、第1パターンの記録媒体への記録と、第2パターンの記録媒体への記録との間で、搬送部による記録媒体の搬送を実行しない。従って、搬送部による記録媒体の搬送により生じるずれの影響を排除した状態で、上記位置ずれを検出でき、より確実かつ精密に上記位置ずれを検出できる。すなわち、記録ヘッドの移動に伴うずれを検出でき、記録ヘッドの移動に関する補正をすればよいことになる。
After the recording portion is scanned in the forward direction and the first pattern is recorded on the recording medium, the recording portion is folded back at a predetermined position, and the folded recording portion is scanned in a plurality of directions to form the second pattern. On the recording medium, and based on the intersection of the first pattern and the second pattern, an image recorded by the recording unit that scans in the forward direction, and the recording unit that scans in the multi-direction May be used to detect misalignment with the recorded image.
Here, after the image is recorded while scanning the recording unit in the forward direction in the width direction, the recording medium is conveyed by a predetermined distance by the conveyance unit, and the recording unit is folded at a predetermined position, and is folded. In a recording apparatus that records a predetermined image on a recording medium by repeatedly performing an operation of scanning an image in multiple directions in the width direction, scanning in the forward direction is caused by a shift in the position where the recording unit turns back. In some cases, a positional deviation may occur between an image recorded by the recording unit that performs recording and an image recorded by the recording unit that scans in multiple directions. And, the manner of intersection between the first pattern and the second pattern when no misalignment occurs and the manner of intersection between the first pattern and the second pattern when no misalignment occurs are different. To do. Based on this, according to the above configuration, it is possible to appropriately detect the displacement based on the manner of intersection of the first pattern and the second pattern.
In particular, according to this configuration, the recording medium is not conveyed by the conveying unit between the recording of the first pattern on the recording medium and the recording of the second pattern on the recording medium. Accordingly, it is possible to detect the above-described positional deviation in a state where the influence of the deviation caused by the conveyance of the recording medium by the conveyance unit is eliminated, and it is possible to detect the above-mentioned positional deviation more reliably and accurately. In other words, it is possible to detect a shift accompanying the movement of the recording head, and it is sufficient to correct the movement of the recording head.

また、上記発明の記録装置において、前記第1パターンは直線状の画像であり、前記第2パターンは前記第1パターンから所定の角度だけ傾いた直線状の画像であり、前記画像読取部によって読み取った前記第1パターン及び前記第2パターンの実際の交点の位置と、記憶部に記憶されているもので、前記位置ずれが発生していない場合における前記第1パターン及び前記第2パターンの交点の位置と、の比較により、前記位置ずれを検出するようにしてもよい。
この構成によれば、第1パターン及び第2パターンの実際の交点の位置と、上記位置ずれが発生していない場合における第1パターン及び第2パターンの交点の位置と、の比較に基づいて、適切に上記位置ずれを検出できる。
In the recording apparatus of the invention, the first pattern is a linear image, and the second pattern is a linear image inclined by a predetermined angle from the first pattern, and is read by the image reading unit. Further, the position of the actual intersection of the first pattern and the second pattern and the intersection of the first pattern and the second pattern stored in the storage unit when the positional deviation has not occurred. The positional deviation may be detected by comparison with the position.
According to this configuration, based on the comparison between the position of the actual intersection of the first pattern and the second pattern and the position of the intersection of the first pattern and the second pattern in the case where the positional deviation has not occurred, The positional deviation can be detected appropriately.

また、上記発明の記録装置において、記録媒体を搬送する搬送部を備え、前記記録部を前記幅方向に走査させて前記第1パターンを記録媒体に記録した後、前記第1パターンと前記第2パターンとが交わる範囲内で、前記搬送部によって記録媒体を所定の距離だけ搬送させ、さらに、前記記録部を前記幅方向に走査させて前記第2パターンを記録媒体に記録し、前記第1パターンと前記第2パターンとの交わりの態様に基づいて、前記搬送部による記録媒体の搬送のずれを検出するようにしてもよい。
ここで、記録部を幅方向に走査させて第1パターンを記録媒体に記録した後、第1パターンと第2パターンとが交わる状態が維持されるように搬送部によって記録媒体を所定の距離だけ搬送させ、さらに、記録部を前記幅方向に走査させて第2パターンを記録媒体に記録した場合おいて、搬送部による記録媒体の搬送のずれが生じている場合と、生じていない場合とでは、第1パターンと第2パターンとの交わりの態様が相違する。これを踏まえ、上記構成によれば、第1パターンと第2パターンとの交わりの態様に基づいて、適切に、搬送部による記録媒体の搬送のずれを検出することができる。
上述のように記録ヘッドの補正がされた後など、記録ヘッドの移動に伴うずれがない場合、記録ヘッドに伴い生じるずれの影響を排除した状態で、上記ずれを検出でき、より確実かつ精密に上記ずれを検出できる。すなわち、記録紙の搬送に伴うずれを検出でき、搬送部の搬送量に関する補正をすればよいことになる。
In the recording apparatus according to the invention, the recording apparatus further includes a conveyance unit that conveys a recording medium, and the recording unit is scanned in the width direction to record the first pattern on the recording medium, and then the first pattern and the second pattern are recorded. The recording medium is transported by a predetermined distance by the transport unit within a range where the pattern intersects, and the second pattern is recorded on the recording medium by scanning the recording unit in the width direction. And a deviation of the conveyance of the recording medium by the conveyance unit may be detected on the basis of the manner of intersection with the second pattern.
Here, after the recording unit is scanned in the width direction to record the first pattern on the recording medium, the conveyance unit moves the recording medium by a predetermined distance so that the state where the first pattern and the second pattern intersect is maintained. In the case where the recording unit is further scanned and the recording unit is scanned in the width direction and the second pattern is recorded on the recording medium, there is a case where there is a deviation in the conveyance of the recording medium by the conveyance unit and the case where it does not occur The manner of intersection between the first pattern and the second pattern is different. Based on this, according to the above configuration, it is possible to appropriately detect the deviation of the conveyance of the recording medium by the conveyance unit based on the manner of intersection of the first pattern and the second pattern.
If there is no displacement caused by the movement of the recording head, such as after the recording head has been corrected as described above, the displacement can be detected in a state where the influence of the displacement caused by the recording head is eliminated, and more reliably and accurately. The deviation can be detected. In other words, it is possible to detect a deviation associated with the conveyance of the recording paper, and it is sufficient to correct the conveyance amount of the conveyance unit.

また、上記発明の記録装置において、前記第1パターンは直線状の画像が前記幅方向に間隔をあけて、前記幅方向と平行に複数現された画像であり、前記第2パターンは、前記第1パターンに係る直線状の画像のそれぞれに対応して、当該第1パターンに係る直線状の画像から所定の角度だけ傾いた直線状の画像が前記幅方向に間隔をあけて、前記幅方向と平行に複数現された画像であり、前記第1パターンに係る直線状の画像のそれぞれ、及び、前記第2パターンに係る直線状の画像のそれぞれの前記画像読取部によって読み取った交点の位置と、記憶部に記憶されているもので、前記搬送部による記録媒体の搬送のずれが発生していない場合における前記第1パターンに係る直線状の画像のそれぞれ、及び、前記第2パターンに係る直線状の画像のそれぞれの交点の位置と、の比較により、前記搬送部による記録媒体の搬送のずれを検出するようにしてもよい。
この構成によれば、第1パターンに係る直線状の画像のそれぞれ、及び、第2パターンに係る直線状の画像のそれぞれの実際の交点と、搬送部による記録媒体の搬送のずれが発生していない場合における第1パターンに係る直線状の画像のそれぞれ、及び、第2パターンに係る直線状の画像のそれぞれの交点と、の比較により、搬送部による記録媒体の搬送のずれを検出することにより、適切に、搬送部による記録媒体の搬送のずれを検出できる。
In the recording apparatus of the above invention, the first pattern is an image in which a plurality of linear images appear parallel to the width direction at intervals in the width direction, and the second pattern is the first pattern. Corresponding to each of the linear images related to one pattern, linear images inclined by a predetermined angle from the linear image related to the first pattern are spaced apart in the width direction, and the width direction A plurality of parallel images, each of the linear images according to the first pattern, and the position of the intersection point read by the image reading unit of each of the linear images according to the second pattern; Each of the linear images according to the first pattern and the straight line according to the second pattern, which is stored in the storage unit, when there is no deviation in conveyance of the recording medium by the conveyance unit Of the position of each intersection of the image, by comparing it may be detecting a shift of the conveyance of the recording medium by the conveyance unit.
According to this configuration, there is a deviation between the actual intersection of each of the linear images related to the first pattern and each of the linear images related to the second pattern, and the conveyance of the recording medium by the conveyance unit. By detecting the deviation of the conveyance of the recording medium by the conveyance unit by comparing each of the linear images according to the first pattern and the intersection of each of the linear images according to the second pattern in the absence Accordingly, it is possible to appropriately detect the deviation of the conveyance of the recording medium by the conveyance unit.

また、上記発明の記録装置において、前記ずれが検出された場合、前記ずれを補正するようにしてもよい。記録ヘッドの移動に伴うずれの分、往方向または復方向の記録ヘッドの移動量を変えて補正することができる。または、搬送に伴うずれの分、記録紙の搬送量を変えて補正することができる。
この構成によれば、ずれが検出された場合、自動で、ずれが補正されるため、ユーザーの利便性を向上できる。
In the recording apparatus of the above invention, when the deviation is detected, the deviation may be corrected. Correction can be made by changing the amount of movement of the recording head in the forward direction or the backward direction by the amount of deviation accompanying the movement of the recording head. Alternatively, correction can be made by changing the conveyance amount of the recording paper by the amount of deviation accompanying conveyance.
According to this configuration, when a deviation is detected, the deviation is automatically corrected, so that convenience for the user can be improved.

また、上記目的を達成するために、本発明は、記録媒体の幅方向を往復走査可能に構成され、記録媒体に画像を記録する記録部と、記録媒体に記録された画像を読み取る画像読取部とを備える記録装置を制御して、前記記録部を前記幅方向に走査させて第1パターンを記録媒体に記録した後、前記記録部を前記幅方向に走査させて前記第1パターンと交わる前記第2パターンを記録媒体に記録し、記録後の画像を前記画像読取部によって読み取り、前記第1パターンと前記第2パターンとの交わりの態様に基づいて、記録媒体への画像の記録に係る動作のずれを検出することを特徴とする。
ここで、記録部を前記幅方向に走査させて第1パターンを記録媒体に記録した後、記録部を前記幅方向に走査させて第1パターンと交わる第2パターンを記録媒体に記録した場合において、記録場板への画像の記録に係る動作のずれが生じている場合と、生じていない場合とでは、第1パターンと第2パターンとの交わりの態様が相違する。これを踏まえ、上記制御方法によれば、第1パターンと第2パターンとの交わりの態様に基づいて、適切に、記録媒体への画像の記録に係る動作のずれを検出することができる。
In order to achieve the above object, the present invention is configured to be capable of reciprocating scanning in the width direction of a recording medium, and a recording unit that records an image on the recording medium, and an image reading unit that reads an image recorded on the recording medium The recording section is scanned in the width direction to record the first pattern on the recording medium, and then the recording section is scanned in the width direction to intersect the first pattern. Recording the second pattern on the recording medium, reading the recorded image by the image reading unit, and operating the recording of the image on the recording medium based on the mode of intersection of the first pattern and the second pattern It is characterized by detecting a shift of the distance.
Here, after the recording unit is scanned in the width direction and the first pattern is recorded on the recording medium, the recording unit is scanned in the width direction and the second pattern intersecting with the first pattern is recorded on the recording medium. The mode of intersection between the first pattern and the second pattern differs depending on whether or not there is a shift in the operation related to the recording of the image on the recording field plate. Based on this, according to the above control method, it is possible to appropriately detect a shift in operation related to recording of an image on a recording medium, based on the mode of intersection of the first pattern and the second pattern.

また、上記目的を達成するために、本発明は、記録媒体の幅方向を往復走査可能に構成され、記録媒体に画像を記録する記録部と、記録媒体に記録された画像を読み取る画像読取部とを備える記録装置を制御する制御部により実行されるプログラムであって、前記制御部を、前記記録部を前記幅方向に走査させて第1パターンを記録媒体に記録した後、前記記録部を前記幅方向に走査させて前記第1パターンと交わる前記第2パターンを記録媒体に記録し、記録後の画像を前記画像読取部によって読み取り、前記第1パターンと前記第2パターンとの交わりの態様に基づいて、記録媒体への画像の記録に係る動作のずれを検出するよう機能させることを特徴とする。
ここで、記録部を前記幅方向に走査させて第1パターンを記録媒体に記録した後、記録部を前記幅方向に走査させて第1パターンと交わる第2パターンを記録媒体に記録した場合において、記録場板への画像の記録に係る動作のずれが生じている場合と、生じていない場合とでは、第1パターンと第2パターンとの交わりの態様が相違する。これを踏まえ、上記プログラムを実行すれば、第1パターンと第2パターンとの交わりの態様に基づいて、適切に、記録媒体への画像の記録に係る動作のずれを検出することができる。
In order to achieve the above object, the present invention is configured to be capable of reciprocating scanning in the width direction of a recording medium, and a recording unit that records an image on the recording medium, and an image reading unit that reads an image recorded on the recording medium A program executed by a control unit that controls a recording apparatus comprising: the control unit scanning the recording unit in the width direction to record the first pattern on a recording medium; An aspect of the intersection of the first pattern and the second pattern in which the second pattern which is scanned in the width direction and intersects the first pattern is recorded on a recording medium, the image after recording is read by the image reading unit. Based on the above, it is made to function so as to detect a shift in operation related to recording of an image on a recording medium.
Here, after the recording unit is scanned in the width direction and the first pattern is recorded on the recording medium, the recording unit is scanned in the width direction and the second pattern intersecting with the first pattern is recorded on the recording medium. The mode of intersection between the first pattern and the second pattern differs depending on whether or not there is a shift in the operation related to the recording of the image on the recording field plate. Based on this, by executing the above program, it is possible to appropriately detect a shift in operation related to recording of an image on a recording medium based on the manner of intersection of the first pattern and the second pattern.

本発明によれば、記録媒体を搬送方向に搬送する搬送部と、記録媒体の幅方向を走査しつつ画像を記録する記録部とによって記録媒体に画像を記録する記録装置であって、記録媒体に対する画像の記録に係る動作のずれを適切に検出でき、補正できる。   According to the present invention, there is provided a recording apparatus that records an image on a recording medium by a transport unit that transports the recording medium in the transport direction and a recording unit that records an image while scanning the width direction of the recording medium. Therefore, it is possible to appropriately detect and correct a shift in operation related to image recording.

本実施形態に係るプリンターを記録媒体と共に模式的に示す図である。1 is a diagram schematically illustrating a printer according to an embodiment together with a recording medium. プリンターを記録媒体と共に模式的に示す図である。FIG. 2 is a diagram schematically illustrating a printer together with a recording medium. プリンター及びホストコンピューターの機能的構成を示すブロック図。FIG. 2 is a block diagram illustrating a functional configuration of a printer and a host computer. ホストコンピューターの動作を示すフローチャートである。It is a flowchart which shows operation | movement of a host computer. 第1、第2位置ずれ検出パターンを示す図である。It is a figure which shows the 1st, 2nd position shift detection pattern. 第1、第2位置ずれ検出パターンを座標系に展開した図である。It is the figure which expanded the 1st, 2nd position shift detection pattern to the coordinate system. ホストコンピューターの動作を示すフローチャートである。It is a flowchart which shows operation | movement of a host computer. 補正ステップ数テーブルを示す図である。It is a figure which shows a correction step number table. ホストコンピューターの動作を示すフローチャートである。It is a flowchart which shows operation | movement of a host computer. 第1、第2搬送ずれ検出パターンを示す図である。It is a figure which shows the 1st, 2nd conveyance deviation detection pattern. 第1、第2搬送ずれ検出パターンを座標系に展開した図である。It is the figure which expanded the 1st, 2nd conveyance deviation detection pattern to the coordinate system.

以下、図面を参照して本発明の実施形態について説明する。
図1及び図2は、インクジェット式のプリンター1の基本的な動作を説明するため、プリンター1が備える記録ヘッド2を記録媒体3と共に模式的に示す図である。
プリンター1は、記録媒体3を搬送方向(図1(A)の矢印Y1が示す方向)に搬送する送り動作を行うと共に、記録ヘッド2から記録媒体3にインクを吐出しつつ、記録ヘッド2を記録媒体3の幅方向(搬送方向と直行する方向であり、図1(A)の矢印Y2が示す方向)に走査させて、記録媒体3に文字や図形、絵柄等の画像を記録するインクジェット式のプリンターである。
このプリンター1は、ホストコンピューター5(図3)に接続されており、このホストコンピューター5から入力された制御データに基づいて記録媒体3に画像の記録を行う。制御データの内容については後述する。
記録媒体3としては、所定長さに切断されたカットシート、複数枚のシートが連接された連続シート、或いは、ロール状に巻かれたロール紙等が挙げられる。これらのシートは、普通紙、複写紙、厚紙等の紙類、あるいは合成樹脂製のシートであり、これらのシートにコーティングや浸潤等の加工を施したものを用いることもできる。また、カットシートの形態としては、例えば、PPC用紙や葉書等の定形サイズのカット紙に加え、通帳等の複数のシートを綴じた冊子形態のものや、封筒等の袋状に成形されたものが挙げられる。また、連続シートの形態としては、例えば、幅方向両端にスプロケットホールが穿設され、所定長さ毎に折り畳まれた連続紙が挙げられる。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
1 and 2 are diagrams schematically showing a recording head 2 provided in the printer 1 together with a recording medium 3 in order to explain the basic operation of the ink jet printer 1.
The printer 1 performs a feeding operation for transporting the recording medium 3 in the transport direction (the direction indicated by the arrow Y1 in FIG. 1A), and ejects the recording head 2 while discharging ink from the recording head 2 to the recording medium 3. Inkjet recording that scans in the width direction of the recording medium 3 (the direction perpendicular to the conveying direction and indicated by the arrow Y2 in FIG. 1A) and records images such as characters, figures, and patterns on the recording medium 3 Printer.
The printer 1 is connected to a host computer 5 (FIG. 3), and records an image on the recording medium 3 based on control data input from the host computer 5. The contents of the control data will be described later.
Examples of the recording medium 3 include a cut sheet cut to a predetermined length, a continuous sheet in which a plurality of sheets are connected, or a roll paper wound in a roll shape. These sheets are papers such as plain paper, copy paper, cardboard, etc., or sheets made of synthetic resin, and those obtained by applying coating or infiltration to these sheets can also be used. Moreover, as a form of the cut sheet, for example, in addition to a standard size cut paper such as PPC paper or a postcard, a booklet form in which a plurality of sheets such as a passbook are bound, or a bag shape such as an envelope Is mentioned. Moreover, as a form of a continuous sheet, for example, continuous paper in which sprocket holes are formed at both ends in the width direction and folded at a predetermined length can be cited.

プリンター1は、図1及び図2に示すように、幅方向に往復走査可能なキャリッジ6を備えている。このキャリッジ6には、インクを貯留したインクカートリッジ(不図示)が複数搭載されている。本実施形態では、キャリッジ6には、C(シアン)、K(ブラック)、Y(イエロー)、M(マゼンタ)の4色のインクをそれぞれ貯留した4個のインクカートリッジが搭載されている。
キャリッジ6には、記録媒体3に向かってインクを吐出する記録ヘッド2が搭載されている。記録ヘッド2の先端面には、インクを微細なインク粒として吐出するノズル穴7が多数開口している。記録ヘッド2は、例えばピエゾ素子を用いて構成されるアクチュエーターによって、インクカートリッジから供給されるインクを記録媒体3へ向かって押し出して、ノズル穴7から微細なインク粒を吐出する。
ノズル穴7は、4列のノズル列8−11をなして配置されている。各ノズル列8−11は、記録ヘッド2において搬送方向に延在して形成されると共に、各ノズル列8−11は、幅方向に所定間隔をあけて並んで形成されている。これら4つのノズル列8−11は、それぞれ異なるインクカートリッジからインクが供給され、それぞれ異なる色のインクを吐出する構成となっている。本実施形態では、ノズル列8はC(シアン)のインクカートリッジから、ノズル列9はK(ブラック)のインクカートリッジから、ノズル列10はY(イエロー)のインクカートリッジから、ノズル列11はM(マゼンタ)のカートリッジから供給されたインクを吐出する構成となっている。
なお、図1及び図2では、説明の便宜のため、ノズル列8−11を明示している。
プリンター1には、記録媒体3に記録された画像を光学的に読み取り可能なスキャナー12が設けられている(図1(A)参照、他の図では省略。)。記録媒体3に記録された画像をスキャナー12によって読み取る場合、記録媒体3への画像の記録が行われた後、スキャナー12に画像の記録が可能な態様で記録媒体3の搬送が実行される。
As shown in FIGS. 1 and 2, the printer 1 includes a carriage 6 that can reciprocate in the width direction. A plurality of ink cartridges (not shown) storing ink are mounted on the carriage 6. In the present embodiment, the carriage 6 is mounted with four ink cartridges that respectively store four color inks of C (cyan), K (black), Y (yellow), and M (magenta).
A recording head 2 that discharges ink toward the recording medium 3 is mounted on the carriage 6. A large number of nozzle holes 7 for discharging the ink as fine ink particles are opened at the front end surface of the recording head 2. The recording head 2 ejects ink supplied from the ink cartridge toward the recording medium 3 by an actuator configured using, for example, a piezo element, and ejects fine ink particles from the nozzle holes 7.
The nozzle holes 7 are arranged in four rows of nozzle rows 8-11. Each nozzle row 8-11 is formed to extend in the transport direction in the recording head 2, and each nozzle row 8-11 is formed side by side with a predetermined interval in the width direction. These four nozzle rows 8-11 are configured such that ink is supplied from different ink cartridges and discharges ink of different colors. In this embodiment, the nozzle row 8 is from a C (cyan) ink cartridge, the nozzle row 9 is from a K (black) ink cartridge, the nozzle row 10 is from a Y (yellow) ink cartridge, and the nozzle row 11 is from M ( The ink is supplied from a magenta cartridge.
In FIG. 1 and FIG. 2, the nozzle row 8-11 is clearly shown for convenience of explanation.
The printer 1 is provided with a scanner 12 that can optically read an image recorded on the recording medium 3 (see FIG. 1A, omitted in other drawings). When an image recorded on the recording medium 3 is read by the scanner 12, after the image is recorded on the recording medium 3, the recording medium 3 is transported in such a manner that the image can be recorded on the scanner 12.

図3は、プリンター1及びこのプリンター1を制御するホストコンピューター5の機能的構成を示すブロック図である。本実施形態では、これらプリンター1と、ホストコンピューター5とが協働して、記録装置として機能する。
図3に示すように、プリンター1は、プリンター側制御部15と、モーター駆動回路16と、キャリッジ駆動モーター17と、媒体送りモーター18と、ヘッド駆動回路19と、入力部20と、表示部21と、インターフェイス部22と、スキャナー12とを備えている。
プリンター側制御部15は、プリンター1の各部を中枢的に制御するものであり、演算実行部としてのCPUや、このCPUに実行される基本制御プログラムや、この基本制御プログラムに係るデータ等を不揮発的に記憶するROM、CPUに実行されるプログラムやこのプログラムに係るデータ等を一時的に記憶するRAM、その他の周辺回路等を備えている。なお、ROMには、位置ずれが発生していない場合における第1パターン及び第2パターンの交点の位置が記憶されている。
FIG. 3 is a block diagram illustrating a functional configuration of the printer 1 and the host computer 5 that controls the printer 1. In the present embodiment, the printer 1 and the host computer 5 cooperate to function as a recording device.
As shown in FIG. 3, the printer 1 includes a printer-side control unit 15, a motor drive circuit 16, a carriage drive motor 17, a medium feed motor 18, a head drive circuit 19, an input unit 20, and a display unit 21. And an interface unit 22 and a scanner 12.
The printer-side control unit 15 centrally controls each unit of the printer 1, and nonvolatilely stores a CPU as a calculation execution unit, a basic control program executed by the CPU, data related to the basic control program, and the like. A ROM for storing information, a program executed by the CPU, a RAM for temporarily storing data related to the program, and other peripheral circuits. The ROM stores the position of the intersection of the first pattern and the second pattern when no positional deviation has occurred.

モーター駆動回路16は、キャリッジ駆動モーター17に接続され、プリンター側制御部15の制御の下、キャリッジ駆動モーター17に対して駆動パルスを出力し、キャリッジ駆動モーター17を回転させる。このキャリッジ駆動モーター17の回転に応じて、キャリッジ6が幅方向を往復走査する。本実施形態では、キャリッジ駆動モーター17はステッピングモーターであり、その回転量は、モーター駆動回路16から出力される駆動パルスの数によって定められる。つまり、プリンター側制御部15は、所定のステップ数だけキャリッジ駆動モーター17を所定の回転方向に回転させるための駆動制御信号、換言すれば、当該ステップ数に対応する所定の距離だけ記録ヘッド2を所定の方向へ移動させるための駆動制御信号をモーター駆動回路16に出力し、モーター駆動回路16は、入力された駆動制御信号に基づいて、所定の回転方向に所定のステップ数だけキャリッジ駆動モーター17を回転させるような駆動パルスを生成し、出力する。
また、モーター駆動回路16は、媒体送りモーター18に接続され、プリンター側制御部15の制御の下、媒体送りモーター18に対して駆動パルスを出力し、媒体送りモーター18を所定方向に所定量だけ回転させる。この媒体送りモーター18の回転に応じて、記録媒体3に接触し、記録媒体3を搬送方向に搬送する搬送ローラー(不図示)が回転し、この搬送ローラーの回転に応じて記録媒体3が搬送方向に搬送される。
ヘッド駆動回路19は、記録ヘッド2に接続され、プリンター側制御部15の制御の下、記録ヘッド2のアクチュエーターを動作させることにより、ノズル列8−11のノズル穴7から所定量のインクを吐出させる。
The motor drive circuit 16 is connected to the carriage drive motor 17 and outputs a drive pulse to the carriage drive motor 17 under the control of the printer-side control unit 15 to rotate the carriage drive motor 17. The carriage 6 reciprocates in the width direction in accordance with the rotation of the carriage drive motor 17. In the present embodiment, the carriage drive motor 17 is a stepping motor, and the amount of rotation is determined by the number of drive pulses output from the motor drive circuit 16. That is, the printer-side control unit 15 drives the recording head 2 by a predetermined distance corresponding to the drive control signal for rotating the carriage drive motor 17 in a predetermined rotation direction by a predetermined number of steps. A drive control signal for moving in a predetermined direction is output to the motor drive circuit 16, and the motor drive circuit 16 carries the carriage drive motor 17 by a predetermined number of steps in a predetermined rotation direction based on the input drive control signal. Generates and outputs a driving pulse that rotates the motor.
The motor drive circuit 16 is connected to the medium feed motor 18 and outputs a drive pulse to the medium feed motor 18 under the control of the printer-side control unit 15 so that the medium feed motor 18 is moved by a predetermined amount in a predetermined direction. Rotate. A conveyance roller (not shown) that contacts the recording medium 3 and conveys the recording medium 3 in the conveyance direction rotates according to the rotation of the medium feeding motor 18, and the recording medium 3 conveys according to the rotation of the conveyance roller. Conveyed in the direction.
The head driving circuit 19 is connected to the recording head 2 and operates the actuator of the recording head 2 under the control of the printer-side control unit 15 to eject a predetermined amount of ink from the nozzle holes 7 of the nozzle row 8-11. Let

入力部20は、プリンター1の筐体に設けられた操作スイッチ等に接続され、ユーザーによる操作スイッチ等の操作を検出し、検出した操作に対応する操作信号をプリンター側制御部15に出力する。
表示部21は、プリンター1の筐体に設けられたLEDや液晶表示パネル等に接続され、プリンター側制御部15の制御の下、LEDや液晶表示パネル等に各種情報を表示する。
インターフェイス部22は、信号伝送ケーブル等を介してホストコンピューター5に接続され、プリンター側制御部15の制御の下、ホストコンピューター5との間で各種信号を送受信する。
スキャナー12は、記録媒体3に記録された画像を光学的に読み取り、読み取った画像を示すデータをプリンター側制御部15に出力する。プリンター側制御部15は、読み取った画像に係るデーを、ホスト側制御部25に出力する。
The input unit 20 is connected to an operation switch or the like provided in the casing of the printer 1, detects an operation of the operation switch or the like by the user, and outputs an operation signal corresponding to the detected operation to the printer-side control unit 15.
The display unit 21 is connected to an LED, a liquid crystal display panel, or the like provided in the housing of the printer 1, and displays various information on the LED, the liquid crystal display panel, or the like under the control of the printer-side control unit 15.
The interface unit 22 is connected to the host computer 5 via a signal transmission cable or the like, and transmits / receives various signals to / from the host computer 5 under the control of the printer-side control unit 15.
The scanner 12 optically reads an image recorded on the recording medium 3 and outputs data indicating the read image to the printer-side control unit 15. The printer-side control unit 15 outputs data relating to the read image to the host-side control unit 25.

一方、ホストコンピューター5は、ホスト側制御部25と、表示部26と、入力部27と、インターフェイス部28と、記憶部29とを備えている。
ホスト側制御部25は、ホストコンピューター5の各部を中枢的に制御するものであり、プリンター側制御部15と同様、CPU、ROM、RAMその他の周辺回路を備えている。
表示部26は、液晶表示パネルを備え、ホスト側制御部25の制御の下、ホスト側制御部25から入力される映像信号に係る画像を液晶表示パネルに表示する。なお、表示部26は、液晶表示パネルではなく、有機ELパネルやCRTを備えていてもよい。
入力部27は、マウスやキーボード等の入力デバイスに接続され、ユーザーによる入力デバイスの操作を検出し、検出した操作に対応する操作信号をホスト側制御部25に出力する。
インターフェイス部28は、信号電線ケーブル等を介してプリンター1に接続され、ホスト側制御部25の制御の下、プリンター1との間で各種信号を送受信する。
記憶部29は、ハードディスクや、EEPROM等を備え、各種データを書き換え可能に記憶する。図3に示すように、記憶部29には、補正ステップ数テーブル30が記憶されているが、この補正ステップ数テーブル30については、後述する。なお、記憶部29には、位置ずれが発生していない場合における第1パターン及び第2パターンの交点の位置が記憶されていてもよい。
On the other hand, the host computer 5 includes a host-side control unit 25, a display unit 26, an input unit 27, an interface unit 28, and a storage unit 29.
The host-side control unit 25 centrally controls each unit of the host computer 5 and includes a CPU, a ROM, a RAM, and other peripheral circuits, like the printer-side control unit 15.
The display unit 26 includes a liquid crystal display panel, and displays an image related to a video signal input from the host side control unit 25 on the liquid crystal display panel under the control of the host side control unit 25. The display unit 26 may include an organic EL panel or a CRT instead of the liquid crystal display panel.
The input unit 27 is connected to an input device such as a mouse or a keyboard, detects an operation of the input device by the user, and outputs an operation signal corresponding to the detected operation to the host-side control unit 25.
The interface unit 28 is connected to the printer 1 via a signal cable or the like, and transmits and receives various signals to and from the printer 1 under the control of the host-side control unit 25.
The storage unit 29 includes a hard disk, an EEPROM, and the like, and stores various data in a rewritable manner. As shown in FIG. 3, the correction step number table 30 is stored in the storage unit 29. The correction step number table 30 will be described later. Note that the storage unit 29 may store the position of the intersection of the first pattern and the second pattern when no positional deviation occurs.

このホストコンピューター5には、プリンタードライバー等のプリンター1を制御するためのプリンター制御用プログラム(プログラム)が記憶されており、ホストコンピューター5のホスト側制御部25は、プリンター制御用プログラムを読み出して、実行することにより、プリンター1を制御する。   The host computer 5 stores a printer control program (program) for controlling the printer 1 such as a printer driver. The host-side control unit 25 of the host computer 5 reads the printer control program, By executing, the printer 1 is controlled.

次いで、図1及び図2を用いて、ホストコンピューター5の制御の下、プリンター1が、記録媒体3に画像を記録する際の基本的な動作について説明する。
ここで、ホストコンピューター5では、所定のアプリケーションプログラムが動作しているものとする。このアプリケーションプログラムは、記録媒体3に記録可能な画像を表示部26の液晶表示パネルに表示する機能を有すると共に、ユーザーが当該画像を参照しつつ、マウスやキーボード等の入力デバイスを操作して、記録媒体3への画像の記録の開始を指示した場合、当該画像の画像データを、プリンター制御用プログラムに出力する機能を有する。
Next, a basic operation when the printer 1 records an image on the recording medium 3 under the control of the host computer 5 will be described with reference to FIGS. 1 and 2.
Here, it is assumed that a predetermined application program is running on the host computer 5. The application program has a function of displaying an image that can be recorded on the recording medium 3 on the liquid crystal display panel of the display unit 26, and the user operates an input device such as a mouse or a keyboard while referring to the image. When an instruction to start recording an image on the recording medium 3 is given, the image data of the image is output to a printer control program.

ユーザーによって画像の記録の開始が指示されると、プリンター側制御部15は、画像データに解像度変換処理、色補正処理、ハーフトーン処理、ラスタライズ処理の各処理を行い、記録媒体3に記録すべき画像全体のラスターデータを生成し、生成したラスターデータを含む制御データを生成する。この制御データは、プリンター1に画像の記録に係る動作を行わせるデータであり、上記ラスターデータの他、画像の記録の開始を指示する記録開始コマンド、記録ヘッド2を走査させることを指示する走査コマンド、記録媒体3を搬送方向に所定量だけ送ることを指示する送りコマンド等のコマンドを含んでいる。
ホスト側制御部25は、制御データを生成した後、当該制御データをプリンター側制御部15に出力する。
ホストコンピューター5から制御データが入力されると、プリンター側制御部15は、制御データに含まれる走査コマンド及び記録用ラスターデータに基づいて、各ノズル列8−11に形成された各ノズル穴7から所定量のインクを吐出しつつ、図1(A)の位置P1(起点位置)から図1(B)の位置P2(折り返し位置)へ往方向(矢印Y3に示す方向)に向かって記録ヘッド2を走査させる。これにより記録領域R1(図1(B))に対応する領域に画像が記録される。この記録領域R1の搬送方向における長さは、各ノズル列8−11のノズル列長T1(図1(A))によって規定される。
位置P1から位置P2へ至るまでの記録ヘッド2の走査には、プリンター側制御部15の制御の下、キャリッジ駆動モーター17が予め定められた所定のステップ数分回転することにより実行される。
When the start of image recording is instructed by the user, the printer-side control unit 15 should perform resolution conversion processing, color correction processing, halftone processing, and rasterization processing on the image data and record it on the recording medium 3. Raster data of the entire image is generated, and control data including the generated raster data is generated. The control data is data for causing the printer 1 to perform an operation related to image recording. In addition to the raster data, a recording start command for instructing start of image recording and scanning for instructing to scan the recording head 2. Commands and commands such as a feed command for instructing to send the recording medium 3 by a predetermined amount in the transport direction are included.
After generating the control data, the host side control unit 25 outputs the control data to the printer side control unit 15.
When control data is input from the host computer 5, the printer-side control unit 15 determines from the nozzle holes 7 formed in the nozzle rows 8-11 based on the scanning command and recording raster data included in the control data. While ejecting a predetermined amount of ink, the recording head 2 moves from the position P1 (starting position) in FIG. 1A to the position P2 (folding position) in FIG. 1B in the forward direction (the direction indicated by the arrow Y3). To scan. As a result, an image is recorded in an area corresponding to the recording area R1 (FIG. 1B). The length of the recording region R1 in the transport direction is defined by the nozzle row length T1 (FIG. 1A) of each nozzle row 8-11.
Scanning of the recording head 2 from the position P1 to the position P2 is executed by rotating the carriage drive motor 17 by a predetermined number of steps under the control of the printer-side control unit 15.

次に、プリンター側制御部15は、制御データに含まれる送りコマンドに基づいて、搬送方向に記録媒体3を搬送する。ここで、通常の画像の記録の実行時においては、送り量は、ノズル列長T1と同一の値である。
次に、プリンター側制御部15は、折り返し値として設定されている位置P2において記録ヘッド2を折り返し、記録用ラスターデータに基づいて、各色のノズル穴7から所定量のインクを吐出しつつ、位置P2から位置P1へ記録ヘッド2を走査させる。これにより、記録領域R1と連続する記録領域R2に対応する領域に画像が記録される。このようにして、制御データに基づいて、プリンター側制御部15は、記録ヘッド2の走査と、記録媒体3の搬送とを交互に行い記録媒体3に所定の画像を記録する。
Next, the printer-side control unit 15 transports the recording medium 3 in the transport direction based on the feed command included in the control data. Here, during execution of normal image recording, the feed amount is the same value as the nozzle row length T1.
Next, the printer-side control unit 15 folds the recording head 2 at the position P2 set as the wrapping value, and discharges a predetermined amount of ink from the nozzle holes 7 of each color based on the recording raster data. The recording head 2 is scanned from P2 to the position P1. As a result, an image is recorded in an area corresponding to the recording area R2 continuous with the recording area R1. In this way, based on the control data, the printer-side control unit 15 records a predetermined image on the recording medium 3 by alternately scanning the recording head 2 and transporting the recording medium 3.

本実施形態に係るホストコンピューター5は、位置ずれ検出・補正モード、及び、搬送ずれ検出モードの2つの動作モードに基づいて、プリンター1を動作させることができる。以下、位置ずれ検出・補正モード、及び、搬送ずれ検出モードについて説明する。   The host computer 5 according to the present embodiment can operate the printer 1 based on two operation modes, that is, a misregistration detection / correction mode and a transport misalignment detection mode. Hereinafter, the positional deviation detection / correction mode and the conveyance deviation detection mode will be described.

まず、位置ずれ検出・補正モードについて説明する。
上述したように、本実施形態に係るプリンター1では、記録ヘッド2は、往方向(図1(A)の矢印Y3)に向かって走査しつつ記録媒体3に画像を記録した後、所定の折り返し位置(図1(B)の位置P2)において折り返し、複方向(図1(A)の矢印Y4)に向かって走査しつつ記録媒体3に画像を記録する。
ここで、記録ヘッド2の折り返し位置は、所定の起点位置(図1(A)の位置P1)から、所定のステップ数分、キャリッジ駆動モーター17を回転させた場合に記録ヘッド2が至る位置、として管理される。ところが、キャリッジ6や、キャリッジ駆動モーター17、キャリッジ6とキャリッジ駆動モーター17を繋ぐ不図示のタイミングベルト、モーター駆動回路16等のキャリッジ6に関連する部材の経年劣化や、プリンター1を量産する上でのプリンター1毎の個体差に起因して、キャリッジ駆動モーター17を所定のステップ数分回転させた場合であっても、記録ヘッド2が想定された折り返し位置と異なる位置に至る場合がある。この場合、往方向に走査する記録ヘッド2によって記録される画像と、複方向に走査する記録ヘッド2によって記録される画像とにずれ(以下、このようなずれを「位置ずれ」という)が生じてしまう。
位置ずれ検出・補正モードとは、上述した位置ずれが発生しているか否かを検出すると共に、位置ずれが発生している場合は、当該位置ずれを補正する動作モードである。
First, the misregistration detection / correction mode will be described.
As described above, in the printer 1 according to this embodiment, the recording head 2 records an image on the recording medium 3 while scanning in the forward direction (arrow Y3 in FIG. 1A), and then performs predetermined folding. At the position (position P2 in FIG. 1B), the image is turned back and an image is recorded on the recording medium 3 while scanning in two directions (arrow Y4 in FIG. 1A).
Here, the return position of the recording head 2 is a position where the recording head 2 reaches when the carriage drive motor 17 is rotated by a predetermined number of steps from a predetermined starting position (position P1 in FIG. 1A). Managed as. However, the carriage 6, the carriage drive motor 17, the timing belt (not shown) that connects the carriage 6 and the carriage drive motor 17, the aging deterioration of members related to the carriage 6 such as the motor drive circuit 16, and the mass production of the printer 1. Even if the carriage drive motor 17 is rotated by a predetermined number of steps, the recording head 2 may reach a position different from the assumed folding position due to the individual difference of each printer 1. In this case, there is a deviation between the image recorded by the recording head 2 that scans in the forward direction and the image that is recorded by the recording head 2 that scans in the two directions (hereinafter, such deviation is referred to as “positional deviation”). End up.
The misregistration detection / correction mode is an operation mode for detecting whether or not the aforementioned misregistration has occurred, and correcting the misregistration when the misregistration has occurred.

図4は、位置ずれ検出・補正モードにおけるホストコンピューター5の動作を示すフローチャートである。なお、プリンター1に記録媒体3がセットされており、記録ヘッド2は、起点位置(図1(A)の位置P1)に位置しているものとする。
図4を参照して、ホストコンピューター5のホスト側制御部25は、プリンター側制御部15に制御データを出力して、記録ヘッド2を往方向に走査させつつ、記録媒体3に第1位置ずれ検出パターン40を記録させる(ステップSA1)。
FIG. 4 is a flowchart showing the operation of the host computer 5 in the misregistration detection / correction mode. It is assumed that the recording medium 3 is set in the printer 1 and the recording head 2 is located at the starting position (position P1 in FIG. 1A).
Referring to FIG. 4, the host-side control unit 25 of the host computer 5 outputs control data to the printer-side control unit 15 and scans the recording head 2 in the forward direction, while causing the recording medium 3 to shift the first position. The detection pattern 40 is recorded (step SA1).

図5(A)は、第1位置ずれ検出パターン40を模式的に示す図である。
図5(A)に示すように、第1位置ずれ検出パターン40は、複数(本実施形態では4つ)の第1位置ずれ検出モジュール41を含んで構成されるパターンである。第1位置ずれ検出モジュール41のそれぞれは、搬送方向に延びる長さT2の直線状の画像であり、第1位置ずれ検出パターン40では、各第1位置ずれ検出モジュール41が幅方向に間隔をあけて、幅方向と平行に現されている。
ステップSA1の処理後、ホスト側制御部25は、キャリッジ駆動モーター17が予め定められた所定のステップ数だけ回転し、記録ヘッド2が折り返し位置に至ったところで、キャリッジ駆動モーター17を逆回転することによって、記録ヘッド2を折り返す(ステップSA2)。ここで、通常の印刷動作時では、上述したように、記録ヘッド2の折り返しと共に、記録媒体3の搬送方向への搬送を実行するが、この位置ずれ検出・補正モードでは、記録媒体3の搬送方向への搬送を実行しない。
次いでホスト側制御部25は、記録ヘッド2を複方向に走査させつつ、第2位置ずれ検出パターン42を記録する(ステップSA3)。
FIG. 5A is a diagram schematically showing the first misregistration detection pattern 40.
As shown in FIG. 5A, the first misregistration detection pattern 40 is a pattern including a plurality (four in this embodiment) of the first misregistration detection modules 41. Each of the first misregistration detection modules 41 is a linear image having a length T2 extending in the transport direction. In the first misregistration detection pattern 40, the first misregistration detection modules 41 are spaced apart in the width direction. It is shown parallel to the width direction.
After the process of step SA1, the host-side control unit 25 rotates the carriage drive motor 17 in the reverse direction when the carriage drive motor 17 rotates by a predetermined number of steps and the recording head 2 reaches the return position. Thus, the recording head 2 is folded back (step SA2). Here, in the normal printing operation, as described above, the recording head 2 is folded and the recording medium 3 is transported in the transport direction. In this misregistration detection / correction mode, the recording medium 3 is transported. Do not carry in the direction.
Next, the host control unit 25 records the second misregistration detection pattern 42 while scanning the recording head 2 in multiple directions (step SA3).

図5(B)は、第2位置ずれ検出パターン42を模式的に示す図である。
図5(B)に示すように、第2位置ずれ検出パターン42は、複数(本実施形態では4つ)の第2位置ずれ検出モジュール43を含んで構成されるパターンである。第2位置ずれ検出モジュール43のそれぞれは、直線状の画像であり、第1位置ずれ検出パターン40の第1位置ずれ検出モジュール41のそれぞれと対応するように、幅方向に間隔をあけて、幅方向と平行に現されている。第2位置ずれ検出モジュール43のそれぞれは、搬送方向に対して、換言すれば、第1位置ずれ検出モジュール41が伸びる方向に対して、角度θ1だけ傾斜している。また、図5(B)に示すように、第2位置ずれ検出モジュール43の搬送方向における長さは、第1位置ずれ検出モジュール41と同様、長さT2である。
FIG. 5B is a diagram schematically illustrating the second misregistration detection pattern 42.
As shown in FIG. 5B, the second misregistration detection pattern 42 is a pattern including a plurality (four in this embodiment) of the second misregistration detection modules 43. Each of the second misregistration detection modules 43 is a linear image, and has a width in the width direction so as to correspond to each of the first misregistration detection modules 41 of the first misregistration detection pattern 40. Appears parallel to the direction. Each of the second misregistration detection modules 43 is inclined by an angle θ1 with respect to the transport direction, in other words, with respect to the direction in which the first misregistration detection module 41 extends. Further, as shown in FIG. 5B, the length of the second misregistration detection module 43 in the transport direction is the length T2 as in the first misregistration detection module 41.

図5(C)は、ステップSA3の処理を実行した後における記録媒体3の画像を模式的に示す図であり、特に、往方向に走査する記録ヘッド2によって記録される画像と、複方向に走査する記録ヘッド2によって記録される画像とのずれである位置ずれが発生していない場合に記録媒体3に記録される画像を示す図である。
図5(C)に示すように、ステップSA3の処理を実行した場合、第1位置ずれ検出パターン40の第1位置ずれ検出モジュール41のそれぞれと、第2位置ずれ検出パターン42の第2位置ずれ検出モジュール43のそれぞれが交点K1で交差した状態となる。特に、位置ずれが発生していない場合は、図5(C)に示すように、第1位置ずれ検出モジュール41の搬送方向における中間点C1と、交点K1とが同一点となるように第1位置ずれ検出モジュール41及び第2位置ずれ検出モジュール43が設定されている。
図4に戻り、ステップSA3の処理後、ホスト側制御部25は、プリンター側制御部15に制御データを出力して媒体送りモーター18及びスキャナー12を制御させ、記録媒体3に記録された第1位置ずれ検出パターン40及び第2位置ずれ検出パターン42の画像を読み取り、読み取った画像を示すビットマップ形式の画像データを生成する(ステップSA4)。
次いでホスト側制御部25は、画像データについて解析することにより位置ずれが発生しているか否かを検出する(ステップSA5)。ここで、ステップSA5の処理に係る動作について1例を挙げて説明する。
FIG. 5C is a diagram schematically showing an image on the recording medium 3 after the processing of step SA3 is executed. In particular, an image recorded by the recording head 2 that scans in the forward direction and a multi-direction are shown. FIG. 3 is a diagram showing an image recorded on a recording medium 3 when no positional deviation, which is a deviation from an image recorded by the recording head 2 that scans, has occurred.
As shown in FIG. 5C, when the process of step SA3 is executed, each of the first misalignment detection modules 41 of the first misalignment detection pattern 40 and the second misalignment of the second misalignment detection pattern 42 are obtained. Each of the detection modules 43 intersects at the intersection K1. In particular, when there is no misalignment, as shown in FIG. 5C, the first point is such that the intermediate point C1 in the transport direction of the first misregistration detection module 41 and the intersection K1 are the same point. A misregistration detection module 41 and a second misregistration detection module 43 are set.
Returning to FIG. 4, after the processing in step SA <b> 3, the host-side control unit 25 outputs control data to the printer-side control unit 15 to control the medium feed motor 18 and the scanner 12, and the first recorded on the recording medium 3. The image of the positional deviation detection pattern 40 and the second positional deviation detection pattern 42 is read, and bitmap format image data indicating the read image is generated (step SA4).
Next, the host-side control unit 25 detects whether or not a positional deviation has occurred by analyzing the image data (step SA5). Here, an example of the operation related to the process of step SA5 will be described.

図6は、ステップSA5の説明に利用するための、第1位置ずれ検出パターン40及び第2位置ずれ検出パターン42の図である。
例えば、ホスト側制御部25は、ビットマップ形式の画像データを解析し、1つの第1位置ずれ検出モジュール41と、この第1位置ずれ検出モジュール41に交わる第2位置ずれ検出モジュール43との組み合わせを抽出する。この抽出は、パターンマッチングや、画素毎の色検出等によって行われる。
次いでホスト側制御部25は、図6の各図に示すように、第1位置ずれ検出モジュール41を示す線分の中間点C1を原点とし、Y軸が第1位置ずれ検出モジュール41と重なって延びる座標系45に、抽出した第1位置ずれ検出モジュール41を示す線分、及び、第2位置ずれ検出モジュール43を示す線分を展開する。なお、第1位置ずれ検出モジュール41を示す線分、及び、第2位置ずれ検出モジュール43を示す線分は、Y軸の+方向に向かう方向が搬送方向となるように、座標系45に展開される。
次いでホスト側制御部25は、原点(=中間点C1)と、交点K1(=第2位置ずれ検出モジュール43を示す線分と座標系45におけるY軸との交点)とが異なる位置に存在するか否かを検出する。
位置ずれが生じていない場合は、図6(A)に示すように、交点K1が原点に位置する。これを踏まえ、ホスト側制御部25は、交点K1が原点に位置していることを検出することにより、位置ずれが発生していないことを検出する。
一方、位置ずれが生じている場合は、図6(B)に示すように、交点K1が原点よりもY軸の+方向に位置し、又は、図6(C)に示すように、交点K1が原点よりもY軸の−方向に位置する。これを踏まえ、ホスト側制御部25は、交点K1が原点に位置していないことを検出することにより、位置ずれが発生していることを検出する。
FIG. 6 is a diagram of the first misregistration detection pattern 40 and the second misregistration detection pattern 42 for use in explaining step SA5.
For example, the host-side control unit 25 analyzes the image data in the bitmap format, and a combination of one first misregistration detection module 41 and a second misregistration detection module 43 that intersects the first misregistration detection module 41. To extract. This extraction is performed by pattern matching, color detection for each pixel, or the like.
Next, as shown in each drawing of FIG. 6, the host-side control unit 25 uses the midpoint C1 of the line segment indicating the first misregistration detection module 41 as the origin, and the Y axis overlaps the first misregistration detection module 41. In the extended coordinate system 45, the extracted line segment indicating the first misalignment detection module 41 and the line segment indicating the second misalignment detection module 43 are developed. The line segment indicating the first misalignment detection module 41 and the line segment indicating the second misalignment detection module 43 are developed in the coordinate system 45 so that the direction toward the + direction of the Y axis is the transport direction. Is done.
Next, the host-side control unit 25 has an origin (= intermediate point C1) and an intersection K1 (= intersection of the line segment indicating the second misalignment detection module 43 and the Y axis in the coordinate system 45) at different positions. Whether or not is detected.
When there is no position shift, the intersection point K1 is located at the origin as shown in FIG. Based on this, the host-side control unit 25 detects that no misalignment has occurred by detecting that the intersection K1 is located at the origin.
On the other hand, if there is a positional shift, the intersection point K1 is positioned in the + direction of the Y axis from the origin as shown in FIG. 6B, or the intersection point K1 as shown in FIG. 6C. Is located in the negative direction of the Y axis from the origin. Based on this, the host-side control unit 25 detects that a positional deviation has occurred by detecting that the intersection point K1 is not located at the origin.

さて、前掲図4に戻り、ステップSA5の検出の結果、位置ずれが生じていないことが検出された場合(ステップSA6:NO)、プリンター1は位置ずれが生じていない正常な状態であるため、ホスト側制御部25は、処理を終了する。
一方、位置ずれが生じていることが検出された場合(ステップSA6:YES)、ホスト側制御部25は、位置ずれを補正するための補正処理(ステップSA7)を実行する。ここで、補正処理について詳述する。
Now, returning to FIG. 4 above, when it is detected as a result of the detection in step SA5 that no positional deviation has occurred (step SA6: NO), the printer 1 is in a normal state with no positional deviation. The host side control unit 25 ends the process.
On the other hand, when it is detected that a positional deviation has occurred (step SA6: YES), the host-side control unit 25 executes a correction process (step SA7) for correcting the positional deviation. Here, the correction process will be described in detail.

図7は、補正処理におけるホストコンピューター5の動作を示すフローチャートである。
ホスト側制御部25は、ステップSA3の処理によって記録媒体3に第2位置ずれ検出パターン42を記録したときに形成された第1位置ずれ検出モジュール41と第2位置ずれ検出モジュール43との交点K1と、第1位置ずれ検出モジュール41の中間点C1との距離を検出する。一例を挙げて具体的に説明すると、ホスト側制御部25は、第1位置ずれ検出モジュール41を示す線分と、第2位置ずれ検出モジュール43を示す線分とを上述した座標系45に展開した上で、原点(=中間点C1)と交点K1との距離に基づいて、中間点C1と交点K1との距離を検出する(ステップSB1)。
ここで、図6(B)に示すように、交点K1が原点よりもY軸の+方向に位置する場合と、図6(C)に示すように、交点K1が原点よりもY軸の−方向に位置する場合との相違点について説明する。
交点K1が原点よりもY軸の+方向に位置する場合(図6(B))は、記録ヘッド2の実際の折り返し位置が、位置ずれを生じさせない折り返し位置よりも複方向に向かう側に位置しており、このため、第1位置ずれ検出モジュール41に対する第2位置ずれ検出モジュール43の相対的な位置が、位置ずれを生じていない場合における相対的な位置と比較し、複方向側となり、これに伴って、交点K1が原点よりもY軸の+側に位置している状況となっている。
同様に、交点K1が原点よりもY軸−方向に位置する場合(図6(C))は、記録ヘッド2の実際の折り返し位置が、位置ずれを生じさせない折り返し位置よりも往方向に向かう側に位置しており、このため、第1位置ずれ検出モジュール41に対する第2位置ずれ検出モジュール43の相対的な位置が、位置ずれを生じていない場合における相対的な位置と比較し、往方向側となり、これに伴って、交点K1が原点よりもY軸の−側に位置している状況となっている。
さらに、原点と交点K1との距離は、位置ずれを生じさせない折り返し位置と実際の折り返し位置との距離に比例する。例えば、位置ずれを生じさせない折り返し位置に対して、実際の折り返し位置が複方向に向かうのに比例して、第1位置ずれ検出モジュール41に対する第2位置ずれ検出モジュール43の相対的な位置も複方向に向かい、これに応じて、交点K1は、原点に対してY軸の+側に変位する。同様に、位置ずれを生じさせない折り返し位置に対して、実際の折り返し位置が往方向に向かうのに比例して、第1位置ずれ検出モジュール41に対する第2位置ずれ検出モジュール43の相対的な位置も往方向に向かい、これに応じて、交点K1は、原点に対してY軸の−側に変位する。
さて、前掲図7に戻り、ステップSB1で中間点C1と交点K1との距離を検出した後、ホスト側制御部25は、記憶部29に記憶された補正ステップ数テーブル30を参照し(ステップSB2)、位置ずれを補正するために、現在起点位置から折り返し位置までのステップ数として設定されているステップ数(以下、「設定ステップ数」という)から増加又は減少するべきステップ数(以下、「補正ステップ」)を取得する(ステップSB3)。ここで、ステップSB2及びステップSB3の動作について詳述する。
FIG. 7 is a flowchart showing the operation of the host computer 5 in the correction process.
The host-side control unit 25 intersects K1 between the first misregistration detection module 41 and the second misregistration detection module 43 formed when the second misregistration detection pattern 42 is recorded on the recording medium 3 by the process of step SA3. And the distance from the intermediate point C1 of the first misregistration detection module 41 is detected. Specifically, the host-side control unit 25 develops a line segment indicating the first misregistration detection module 41 and a line segment indicating the second misalignment detection module 43 in the coordinate system 45 described above. Then, based on the distance between the origin (= intermediate point C1) and the intersection K1, the distance between the intermediate point C1 and the intersection K1 is detected (step SB1).
Here, as shown in FIG. 6B, when the intersection point K1 is located in the + direction of the Y axis from the origin, and as shown in FIG. 6C, the intersection point K1 is − of the Y axis from the origin. Differences from the case of being located in the direction will be described.
When the intersection point K1 is located in the + direction of the Y axis from the origin (FIG. 6B), the actual return position of the recording head 2 is located on the side toward the double direction from the return position that does not cause a positional shift. Therefore, the relative position of the second misalignment detection module 43 with respect to the first misalignment detection module 41 is on the multi-directional side compared to the relative position when no misalignment occurs. Accordingly, the intersection K1 is located on the + side of the Y axis from the origin.
Similarly, when the intersection point K1 is positioned in the Y-axis direction from the origin (FIG. 6C), the actual return position of the recording head 2 is on the forward direction from the return position that does not cause a positional shift. Therefore, the relative position of the second misalignment detection module 43 with respect to the first misalignment detection module 41 is compared with the relative position when no misalignment occurs, and the forward direction side Accordingly, the intersection K1 is located on the negative side of the Y axis from the origin.
Furthermore, the distance between the origin and the intersection K1 is proportional to the distance between the return position where no positional deviation occurs and the actual return position. For example, the relative position of the second misregistration detection module 43 with respect to the first misregistration detection module 41 is also proportional to the actual folding position in two directions with respect to the folding position where no misalignment occurs. In the direction, the intersection K1 is displaced to the + side of the Y axis with respect to the origin. Similarly, the relative position of the second positional deviation detection module 43 with respect to the first positional deviation detection module 41 is also proportional to the actual folding position in the forward direction with respect to the folding position that does not cause positional deviation. In the forward direction, the intersection K1 is displaced to the negative side of the Y axis with respect to the origin.
Now, referring back to FIG. 7, after detecting the distance between the intermediate point C1 and the intersection K1 in step SB1, the host-side control unit 25 refers to the correction step number table 30 stored in the storage unit 29 (step SB2). ), The number of steps (hereinafter referred to as “correction”) that should be increased or decreased from the number of steps set as the number of steps from the current starting position to the return position (hereinafter referred to as “set number of steps”) in order to correct the positional deviation. Step ") is acquired (step SB3). Here, the operation of step SB2 and step SB3 will be described in detail.

図8は、補正ステップ数テーブル30を模式的に示す図である。
図8に示すように、補正ステップ数テーブル30は、離間距離フィールド30aと、補正ステップ数フィールド30bとを備えている。
離間距離フィールド30aには、中間点C1と交点K1との距離を示す離間距離データが記憶される。本実施形態では、第1位置ずれ検出モジュール41及び第2位置ずれ検出モジュール43を座標系45に展開した場合において、原点に対しY軸+方向に交点K1が位置している場合、離間距離は正の値であり、原点に対しY軸−方向に交点K1が位置している場合、離間距離は負の値である。
補正ステップ数フィールドには、上述した補正ステップ数を示す補正ステップ数データが記憶される。
離間距離フィールド30aに記憶された離間距離データと、補正ステップ数フィールド30bに記憶された補正ステップ数データとは、以下のように対応づけられている。すなわち、1の離間距離データに対応づけて記憶されている補正ステップ数データは、当該離間距離データが示す距離だけ中間点C1と交点K1とを離間させるような位置ずれが発生している状況下において、当該位置ずれを解消するように折り返し位置を補正する際に、設定ステップ数から増減すべきステップ数を示す値となっている。従って、図8に示す補正ステップ数テーブル30の最上部のレコードの例で言えば、中間点C1と交点K1との離間距離が「+0.1mm」である場合、設定ステップ数を1ステップ増加することにより、位置ずれが解消することとなる。上述したように、位置ずれは折り返し位置のずれに起因して生じており、折り返し位置を適切に補正することによって位置ずれは解消する。
ステップSB3では、ホスト側制御部25は、補正ステップ数テーブル30を参照し、ステップSB1で取得した中間点C1と交点K1との距離を示す離間距離データが格納されたレコードを特定し、特定したレコードの補正ステップ数フィールド30bに記憶された補正ステップ数データを参照することにより、補正ステップを取得する。
FIG. 8 is a diagram schematically showing the correction step number table 30.
As shown in FIG. 8, the correction step number table 30 includes a separation distance field 30a and a correction step number field 30b.
The separation distance field 30a stores separation distance data indicating the distance between the intermediate point C1 and the intersection K1. In the present embodiment, when the first misalignment detection module 41 and the second misalignment detection module 43 are developed in the coordinate system 45, when the intersection K1 is located in the Y axis + direction with respect to the origin, the separation distance is When it is a positive value and the intersection point K1 is located in the Y-axis-direction with respect to the origin, the separation distance is a negative value.
In the correction step number field, correction step number data indicating the correction step number described above is stored.
The separation distance data stored in the separation distance field 30a and the correction step number data stored in the correction step number field 30b are associated as follows. In other words, the correction step number data stored in association with one separation distance data is such that a positional deviation that causes the intermediate point C1 and the intersection K1 to be separated by the distance indicated by the separation distance data occurs. In this case, the value indicates the number of steps to be increased or decreased from the set number of steps when correcting the folding position so as to eliminate the positional deviation. Therefore, in the example of the uppermost record in the correction step number table 30 shown in FIG. 8, when the separation distance between the intermediate point C1 and the intersection K1 is “+0.1 mm”, the set step number is increased by one step. As a result, the positional deviation is eliminated. As described above, the positional deviation occurs due to the deviation of the folding position, and the positional deviation is eliminated by appropriately correcting the folding position.
In step SB3, the host-side control unit 25 refers to the correction step number table 30 and identifies and identifies a record storing separation distance data indicating the distance between the intermediate point C1 and the intersection K1 acquired in step SB1. The correction step is acquired by referring to the correction step number data stored in the correction step number field 30b of the record.

前掲図7に戻り、ステップSB3の処理後、ホスト側制御部25は、ステップSB3で取得した補正ステップ数に基づいて、設定ステップ数を修正する(ステップSB4)。これにより、設定ステップ数が修正され、折り返し位置のずれによって生じていた位置ずれが解消する。
以上のようにして、位置ずれ検出・補正モードでは、位置ずれの検出、及び、位置ずれが発生している場合における補正が行われるが、上述したように、第1位置ずれ検出パターン40と第2位置ずれ検出パターン42の記録の間で、記録媒体3の搬送方向への搬送が実行されない。従って、記録媒体3の搬送方向への搬送によって生じる「ずれ」により全く影響を受けない状態で、位置ずれの検出等を実行することができる。
Returning to FIG. 7, after the process of step SB3, the host-side control unit 25 corrects the set step number based on the correction step number acquired in step SB3 (step SB4). As a result, the number of setting steps is corrected, and the positional deviation caused by the deviation of the folding position is eliminated.
As described above, in the misregistration detection / correction mode, misregistration detection and correction when misregistration occurs are performed. As described above, the first misregistration detection pattern 40 and the first misregistration pattern 40 During the recording of the two-position shift detection pattern 42, the conveyance of the recording medium 3 in the conveyance direction is not executed. Accordingly, it is possible to detect misalignment in a state where the recording medium 3 is not affected at all by the “deviation” caused by the conveyance in the conveyance direction.

次いで、搬送ずれ検出モードについて説明する。
上述したように、本実施形態に係るプリンター1では、通常の画像の記録時は、記録ヘッド2の往方向への走査及び画像の記録、記録媒体3の搬送方向への搬送、記録ヘッド2の複方向への走査及び画像の記録、記録媒体3の搬送方向への搬送・・・というように、記録ヘッド2による画像の記録と、記録媒体3の搬送方向への搬送が交互に行われる。ここで、記録媒体3を搬送方向へ送るための部材の経年劣化、例えば、搬送ローラー自体の「減り」や、複数の搬送ローラー間におけるバランスの悪化等や、プリンター1の製造過程で発生する個体差等に起因して、記録媒体3を搬送方向に搬送した場合に、記録媒体3が搬送方向からずれて搬送されてしまうことがある。
搬送ずれ検出モードとは、上述した搬送ずれが発生しているか否かを検出する動作モードである。
Next, the conveyance deviation detection mode will be described.
As described above, in the printer 1 according to the present embodiment, during normal image recording, scanning of the recording head 2 in the forward direction and recording of the image, conveyance of the recording medium 3 in the conveyance direction, and the recording head 2 are performed. Scanning in multiple directions and recording of an image, transport of the recording medium 3 in the transport direction, and so on, image recording by the recording head 2 and transport of the recording medium 3 in the transport direction are performed alternately. Here, aged deterioration of a member for feeding the recording medium 3 in the conveyance direction, for example, “reduction” of the conveyance roller itself, deterioration of balance between a plurality of conveyance rollers, etc., and an individual generated in the manufacturing process of the printer 1 Due to the difference or the like, when the recording medium 3 is transported in the transport direction, the recording medium 3 may be transported out of the transport direction.
The conveyance deviation detection mode is an operation mode for detecting whether or not the conveyance deviation described above has occurred.

図9は、搬送ずれ検出モードにおけるホストコンピューター5の動作を示すフローチャートである。なお、プリンター1に記録媒体3がセットされており、記録ヘッド2は、起点位置(図1(A)の位置P1)に位置しているものとする。また、事前に上述した位置ずれ検出・補正モードが実行されており、プリンター1に位置ずれは生じていないものとする。
図9を参照して、ホストコンピューター5のホスト側制御部25は、プリンター側制御部15に制御データを出力して、記録ヘッド2を往方向に走査させつつ、記録媒体3に第1搬送ずれ検出パターン46を記録させる(ステップSC1)。
FIG. 9 is a flowchart showing the operation of the host computer 5 in the conveyance deviation detection mode. It is assumed that the recording medium 3 is set in the printer 1 and the recording head 2 is located at the starting position (position P1 in FIG. 1A). Further, it is assumed that the above-described misregistration detection / correction mode has been executed in advance, and no misregistration has occurred in the printer 1.
Referring to FIG. 9, the host-side control unit 25 of the host computer 5 outputs control data to the printer-side control unit 15 and scans the recording head 2 in the forward direction while shifting the first conveyance to the recording medium 3. The detection pattern 46 is recorded (step SC1).

図10(A)は、第1搬送ずれ検出パターン46を模式的に示す図である。第1搬送ずれ検出パターン46は、第1位置ずれ検出パターン40と略同一形状のパターンであり、複数(本実施形態では4つ)の第1搬送ずれ検出モジュール47を含んで構成される。
ステップSC1の処理後、ホスト側制御部25は、プリンター側制御部15に制御データを出力して、媒体送りモーター18を回転させることによって、記録媒体3を搬送方向へ搬送する(ステップSC2)。このステップSC2における記録媒体3の搬送方向への搬送量は、通常の記録動作時と異なり、後述するステップSC4で複方向に走査する記録ヘッド2によって記録媒体3に記録された第2搬送ずれ検出パターン48と、第1搬送ずれ検出パターン46とが交差する範囲の搬送量となる。例えば、ノズル列8−11のノズル列長T1の半分の距離である。
次いでホスト側制御部25は、プリンター側制御部15に制御データを出力して、記録ヘッド2を折り返し位置にて折り返し(ステップSC3)、記録ヘッド2を複方向に走査させつつ、記録媒体3に第2搬送ずれ検出パターン48を記録する(ステップSC4)。
FIG. 10A is a diagram schematically illustrating the first conveyance deviation detection pattern 46. The first conveyance deviation detection pattern 46 is a pattern having substantially the same shape as the first positional deviation detection pattern 40, and includes a plurality (four in this embodiment) of first conveyance deviation detection modules 47.
After the process of step SC1, the host-side control unit 25 outputs control data to the printer-side control unit 15 and rotates the medium feed motor 18 to transport the recording medium 3 in the transport direction (step SC2). The transport amount in the transport direction of the recording medium 3 in step SC2 is different from that in the normal recording operation, and second transport deviation detection recorded on the recording medium 3 by the recording head 2 that scans in multiple directions in step SC4 described later. The conveyance amount is within a range where the pattern 48 and the first conveyance deviation detection pattern 46 intersect. For example, the distance is half the nozzle row length T1 of the nozzle row 8-11.
Next, the host-side control unit 25 outputs control data to the printer-side control unit 15, turns the recording head 2 back at the turn-back position (step SC3), and scans the recording head 2 in a plurality of directions while feeding it to the recording medium 3. The second conveyance deviation detection pattern 48 is recorded (step SC4).

図10(B)は、第2搬送ずれ検出パターン48を模式的に示す図である。
図10(B)に示すように、第2搬送ずれ検出パターン48は、複数(本実施形態では4つ)の第2搬送ずれ検出モジュール49を含んで構成される。第2搬送ずれ検出モジュール49のそれぞれは、搬送方向に対して所定の角度θ2だけ傾斜した直線状の画像であり、各第1搬送ずれ検出モジュール47と対応している。第2搬送ずれ検出モジュール49のそれぞれは、ステップSC4において記録媒体3に記録されたときに、対応する第1搬送ずれ検出モジュール47のそれぞれと交わるように設定される。
FIG. 10B is a diagram schematically showing the second conveyance deviation detection pattern 48.
As shown in FIG. 10B, the second conveyance deviation detection pattern 48 includes a plurality (four in this embodiment) of the second conveyance deviation detection modules 49. Each of the second conveyance deviation detection modules 49 is a linear image inclined by a predetermined angle θ2 with respect to the conveyance direction, and corresponds to each first conveyance deviation detection module 47. Each of the second conveyance deviation detection modules 49 is set so as to intersect with each of the corresponding first conveyance deviation detection modules 47 when it is recorded on the recording medium 3 in step SC4.

図10(C)は、ステップSC4の処理を実行した後における記録媒体3の画像を模式的に示す図であり、特に、搬送ずれが発生していない場合に記録媒体3に記録される画像を示す図である。
図10(C)に示すように、ステップSC4の処理を実行した場合、第1搬送ずれ検出パターン46の第1搬送ずれ検出モジュール47のそれぞれと、第2搬送ずれ検出パターン48の第2搬送ずれ検出モジュール49のそれぞれが交点K2で交差した状態となる。特に、搬送ずれが発生していない場合は、第1搬送ずれ検出モジュール47のそれぞれにおける交点K2の位置が同一となり、各交点K2を結んだ直線S1と、第1搬送ずれ検出モジュール47とが直交する状態となる。
図4に戻り、ステップSC4の処理後、ホスト側制御部25は、プリンター側制御部15に制御データを出力して媒体送りモーター18及びスキャナー12を制御させ、記録媒体3に記録された第1搬送ずれ検出パターン46及び第2搬送ずれ検出パターン48の画像を読み取り、読み取った画像を示すビットマップ形式の画像データを生成する(ステップSC5)。
次いでホスト側制御部25は、画像データについて解析することにより搬送ずれが発生しているか否かを検出する(ステップSC6)。ここで、ステップSC6の処理に係る動作について1例を挙げて説明する。
FIG. 10C is a diagram schematically showing an image on the recording medium 3 after executing the process of step SC4. In particular, an image recorded on the recording medium 3 when no conveyance deviation occurs is shown. FIG.
As shown in FIG. 10C, when the process of step SC4 is executed, each of the first conveyance deviation detection module 47 of the first conveyance deviation detection pattern 46 and the second conveyance deviation of the second conveyance deviation detection pattern 48 are displayed. Each of the detection modules 49 intersects at the intersection K2. In particular, when there is no conveyance deviation, the position of the intersection K2 in each of the first conveyance deviation detection modules 47 is the same, and the straight line S1 connecting the intersections K2 and the first conveyance deviation detection module 47 are orthogonal. It becomes a state to do.
Returning to FIG. 4, after the process of step SC <b> 4, the host-side control unit 25 outputs control data to the printer-side control unit 15 to control the medium feed motor 18 and the scanner 12, and the first recorded on the recording medium 3. The image of the conveyance deviation detection pattern 46 and the second conveyance deviation detection pattern 48 is read, and bitmap format image data indicating the read image is generated (step SC5).
Next, the host-side control unit 25 detects whether or not conveyance deviation has occurred by analyzing the image data (step SC6). Here, an example of the operation related to the process of step SC6 will be described.

図11は、ステップSC6の説明に利用するための、第1搬送ずれ検出パターン46及び第2搬送ずれ検出パターン48の図である。
例えば、ホスト側制御部25は、ビットマップ形式の画像データを解析し、第1搬送ずれ検出パターン46の全ての第1搬送ずれ検出モジュール47と、これら第1搬送ずれ検出モジュール47に交わる全ての第2搬送ずれ検出モジュール49との組み合わせを抽出する。この抽出は、パターンマッチングや、画素毎の色検出等によって行われる。
そして、ホスト側制御部25は、図11の各図に示すように、第1搬送ずれ検出モジュール47を示す線分であって、最も複方向側にある第1搬送ずれ検出モジュール47Lと、この第1搬送ずれ検出モジュール47Lに対応する第2搬送ずれ検出モジュール49Lとの交点K2を原点とし、Y軸が第1搬送ずれ検出モジュール47Lと重なって延びる座標系50に、抽出した全ての第1位置ずれ検出モジュール41を示す線分、及び、全ての第2位置ずれ検出モジュール43を示す線分を展開する。なお、第1搬送ずれ検出モジュール47を示す線分、及び、第2搬送ずれ検出モジュール49を示す線分は、Y軸の+方向に向かう方向が搬送方向となるように、かつ、X軸の+方向に向かう方向が往方向、−方向に向かう方向が複方向となるように、座標系50に展開される。
FIG. 11 is a diagram of the first conveyance deviation detection pattern 46 and the second conveyance deviation detection pattern 48 for use in the description of step SC6.
For example, the host-side control unit 25 analyzes the image data in the bitmap format, and all the first conveyance deviation detection modules 47 of the first conveyance deviation detection pattern 46 and all of the first conveyance deviation detection modules 47 that intersect with each other. A combination with the second conveyance deviation detection module 49 is extracted. This extraction is performed by pattern matching, color detection for each pixel, or the like.
Then, as shown in each drawing of FIG. 11, the host-side control unit 25 is a line segment indicating the first conveyance deviation detection module 47, the first conveyance deviation detection module 47 </ b> L closest to the multi-direction side, All of the extracted first coordinate systems 50 are extended to the coordinate system 50 extending from the intersection K2 with the second conveyance deviation detection module 49L corresponding to the first conveyance deviation detection module 47L, with the Y axis overlapping the first conveyance deviation detection module 47L. A line segment indicating the misregistration detection module 41 and a line segment indicating all the second misregistration detection modules 43 are developed. It should be noted that the line segment indicating the first conveyance deviation detection module 47 and the line segment indicating the second conveyance deviation detection module 49 are arranged such that the direction toward the + direction of the Y axis is the conveyance direction and the X axis is The coordinate system 50 is expanded so that the direction toward the + direction is the forward direction and the direction toward the-direction is the double direction.

次いでホスト側制御部25は、各第1搬送ずれ検出モジュール47及び各第2搬送ずれ検出モジュール49の交点K2を結ぶことによって形成される直線が、座標系50のX軸と同一直線上にあるか否かを検出する。
ここで、搬送ずれが生じていない場合は、図11(A)に示すように、各第1搬送ずれ検出モジュール47及び各第2搬送ずれ検出モジュール49の交点K2を結ぶことによって形成される直線が、座標系50のX軸と同一直線上に存在する。これを踏まえ、ホスト側制御部25は、各第1搬送ずれ検出モジュール47及び各第2搬送ずれ検出モジュール49の交点K2を結ぶことによって形成される直線が、座標系50のX軸と同一直線上に存在することを検出することにより、搬送ずれが発生していないことを検出する。
一方、搬送ずれが生じている場合は、図11(B)に示すように、各第1搬送ずれ検出モジュール47及び各第2搬送ずれ検出モジュール49の交点K2を結ぶことによって形成される直線が、座標系50のX軸に対して傾斜した状態となる。これを踏まえ、ホスト側制御部25は、各第1搬送ずれ検出モジュール47及び各第2搬送ずれ検出モジュール49の交点K2を結ぶことによって形成される直線が、座標系50のX軸に対して傾斜した状態であることを検出することにより、搬送ずれが発生していることを検出する。
Next, the host-side control unit 25 has a straight line formed by connecting the intersection K2 of each first transport deviation detection module 47 and each second transport deviation detection module 49 on the same straight line as the X axis of the coordinate system 50. Whether or not is detected.
Here, when there is no conveyance deviation, as shown in FIG. 11A, a straight line formed by connecting the intersections K2 of the first conveyance deviation detection modules 47 and the second conveyance deviation detection modules 49. Exists on the same straight line as the X axis of the coordinate system 50. Based on this, the host-side control unit 25 determines that the straight line formed by connecting the intersections K2 of the first conveyance deviation detection modules 47 and the second conveyance deviation detection modules 49 is the same as the X axis of the coordinate system 50. By detecting the presence on the line, it is detected that no conveyance deviation has occurred.
On the other hand, when a conveyance deviation occurs, as shown in FIG. 11B, a straight line formed by connecting the intersections K2 of the first conveyance deviation detection modules 47 and the second conveyance deviation detection modules 49 is formed. In this state, the coordinate system 50 is inclined with respect to the X axis. Based on this, the host-side control unit 25 determines that a straight line formed by connecting the intersections K2 of the first conveyance deviation detection modules 47 and the second conveyance deviation detection modules 49 with respect to the X axis of the coordinate system 50. By detecting that the vehicle is inclined, it is detected that a conveyance deviation has occurred.

さて、前掲図9に戻り、ステップSC6の検出の結果、搬送ずれが生じていないことが検出された場合(ステップSC7:NO)、プリンター1は搬送ずれが生じていない正常な状態であるため、ホスト側制御部25は、処理を終了する。
一方、搬送ずれが生じていることが検出された場合(ステップSC7:YES)、ホスト側制御部25は、表示部26を制御して、搬送ずれが生じている旨表示する(ステップSC8)。これにより、ユーザーや作業者等は、搬送ずれが生じていることを、迅速かつ確実に認識でき、当該認識に基づいて、搬送ローラーのチェック等や修理依頼等の必要な処理を実行することができる。
Now, returning to FIG. 9 above, if it is detected as a result of the detection at step SC6 that no conveyance deviation has occurred (step SC7: NO), the printer 1 is in a normal state with no conveyance deviation. The host side control unit 25 ends the process.
On the other hand, when it is detected that a conveyance deviation has occurred (step SC7: YES), the host-side control unit 25 controls the display unit 26 to display that a conveyance deviation has occurred (step SC8). As a result, a user, an operator, or the like can quickly and surely recognize that a transport deviation has occurred, and based on the recognition, a user can perform necessary processing such as a transport roller check or a repair request. it can.

以上説明したように、本実施形態では、記録ヘッド2を幅方向に走査させて第1位置ずれ検出パターン40を記録媒体3に記録した後、記録ヘッド2を幅方向に走査させて第1位置ずれ検出パターン40の第1位置ずれ検出モジュール41と交わる第2位置ずれ検出モジュール43を備える第2位置ずれ検出パターン42を記録媒体3に記録し、第1位置ずれ検出モジュール41と第2位置ずれ検出モジュール43との交わりの態様に基づいて、位置ずれを検出する。
これによれば、位置ずれが発生していない場合における第1位置ずれ検出モジュール41と第2位置ずれ検出モジュール43との交わりの態様と、位置ずれが発生している場合における第1位置ずれ検出モジュール41と第2位置ずれ検出モジュール43との交わりの態様が異なることを利用して、第1位置ずれ検出モジュール41と第2位置ずれ検出モジュール43との交わりの態様に基づいて、適切に、位置ずれを検出できる。
また、本実施形態では、記録ヘッド2を幅方向に走査させて第1搬送ずれ検出パターン46を記録媒体3に記録した後、記録ヘッド2を幅方向に走査させて第1搬送ずれ検出パターン46の第1搬送ずれ検出モジュール47と交わる第2搬送ずれ検出モジュール49を備える第2搬送ずれ検出パターン48を記録媒体3に記録し、第1搬送ずれ検出モジュール47と第2搬送ずれ検出モジュール49との交わりの態様に基づいて、搬送ずれを検出する。
これによれば、搬送ずれが発生していない場合における第1搬送ずれ検出モジュール47と第2搬送ずれ検出モジュール49との交わりの態様と、搬送ずれが発生している場合における第1搬送ずれ検出モジュール47と第2搬送ずれ検出モジュール49との交わりの態様が異なることを利用して、第1搬送ずれ検出モジュール47と第2搬送ずれ検出モジュール49との交わりの態様に基づいて、適切に、搬送ずれを検出できる。
As described above, in the present embodiment, the recording head 2 is scanned in the width direction to record the first misalignment detection pattern 40 on the recording medium 3, and then the recording head 2 is scanned in the width direction to move to the first position. A second positional deviation detection pattern 42 including a second positional deviation detection module 43 that intersects the first positional deviation detection module 41 of the deviation detection pattern 40 is recorded on the recording medium 3, and the first positional deviation detection module 41 and the second positional deviation are recorded. Based on the manner of intersection with the detection module 43, a positional deviation is detected.
According to this, the mode of intersection of the first positional deviation detection module 41 and the second positional deviation detection module 43 when no positional deviation occurs, and the first positional deviation detection when the positional deviation occurs. Based on the manner of intersection between the first positional deviation detection module 41 and the second positional deviation detection module 43, utilizing the fact that the manner of intersection between the module 41 and the second positional deviation detection module 43 is different, Misalignment can be detected.
In the present embodiment, the recording head 2 is scanned in the width direction to record the first conveyance deviation detection pattern 46 on the recording medium 3, and then the recording head 2 is scanned in the width direction to obtain the first conveyance deviation detection pattern 46. A second conveyance deviation detection pattern 48 including a second conveyance deviation detection module 49 intersecting with the first conveyance deviation detection module 47 is recorded on the recording medium 3, and the first conveyance deviation detection module 47 and the second conveyance deviation detection module 49 are recorded. The conveyance deviation is detected based on the crossing mode.
According to this, the mode of intersection of the first conveyance deviation detection module 47 and the second conveyance deviation detection module 49 when no conveyance deviation occurs, and the first conveyance deviation detection when the conveyance deviation occurs. Based on the manner of intersection between the first conveyance deviation detection module 47 and the second conveyance deviation detection module 49, utilizing the fact that the manner of intersection between the module 47 and the second conveyance deviation detection module 49 is different, Can detect transport deviation.

また、本実施形態に係るプリンター1は、往方向に記録ヘッド2を走査させつつ画像を記録させた後、記録媒体3を所定の距離だけ搬送させると共に記録ヘッド2を折り返し位置で折り返させ、折り返させた記録ヘッド2を複方向に走査させつつ画像を記録させるという動作を繰り返し実行することにより、記録媒体に対し所定の画像を記録する。そして、記録ヘッド2を往方向に走査させて第1位置ずれ検出パターン40を記録媒体3に記録した後、記録媒体3の搬送を実行せずに記録ヘッド2を折り返し位置で折り返させ、折り返させた記録ヘッド2を複方向に走査させて第2位置ずれ検出パターン42を記録媒体3に記録し、第1位置ずれ検出パターン40と第2位置ずれ検出パターン42との交わりの態様に基づいて、往方向に走査する記録ヘッド2により記録される画像と、複方向に走査する記録ヘッド2により記録される画像との間における位置ずれを検出する。
これによれば、位置ずれが発生していない場合における第1位置ずれ検出モジュール41と第2位置ずれ検出モジュール43との交わりの態様と、位置ずれが発生している場合における第1位置ずれ検出モジュール41と第2位置ずれ検出モジュール43との交わりの態様が異なることを利用して、第1位置ずれ検出モジュール41と第2位置ずれ検出モジュール43との交わりの態様に基づいて、適切に、位置ずれを検出できる。
特に、上記によれば、第1位置ずれ検出パターン40の記録媒体3への記録と、第2位置ずれ検出パターン42の記録媒体3への記録との間で、記録媒体3の搬送を実行しない。従って、記録媒体3の搬送により生じるずれの影響を排除した状態で、位置ずれを検出でき、より確実かつ精密に位置ずれを検出できる。
Further, the printer 1 according to the present embodiment records an image while scanning the recording head 2 in the forward direction, and then transports the recording medium 3 by a predetermined distance and folds the recording head 2 at the folding position. A predetermined image is recorded on the recording medium by repeatedly performing the operation of recording the image while the recorded recording head 2 is scanned in multiple directions. Then, after the recording head 2 is scanned in the forward direction and the first positional deviation detection pattern 40 is recorded on the recording medium 3, the recording head 2 is folded back at the folding position without carrying the recording medium 3. The recording head 2 is scanned in two directions to record the second positional deviation detection pattern 42 on the recording medium 3, and based on the manner of intersection of the first positional deviation detection pattern 40 and the second positional deviation detection pattern 42, A positional deviation between an image recorded by the recording head 2 scanning in the forward direction and an image recorded by the recording head 2 scanning in the multi-direction is detected.
According to this, the mode of intersection of the first positional deviation detection module 41 and the second positional deviation detection module 43 when no positional deviation occurs, and the first positional deviation detection when the positional deviation occurs. Based on the manner of intersection between the first positional deviation detection module 41 and the second positional deviation detection module 43, utilizing the fact that the manner of intersection between the module 41 and the second positional deviation detection module 43 is different, Misalignment can be detected.
In particular, according to the above, the conveyance of the recording medium 3 is not executed between the recording of the first misregistration detection pattern 40 on the recording medium 3 and the recording of the second misregistration detection pattern 42 on the recording medium 3. . Accordingly, it is possible to detect the positional deviation in a state where the influence of the deviation caused by the conveyance of the recording medium 3 is eliminated, and it is possible to detect the positional deviation more reliably and accurately.

また、本実施形態では、第1位置ずれ検出パターン40の第1位置ずれ検出モジュール41は直線状の画像であり、第2位置ずれ検出パターン42の第2位置ずれ検出モジュール43は第1位置ずれ検出モジュール41から所定の角度θ1だけ傾いた直線状の画像であり、第1位置ずれ検出モジュール41及び第2位置ずれ検出モジュール43の実際の交点K1と、位置ずれが発生していない場合における第1位置ずれ検出モジュール41及び第2位置ずれ検出モジュール43の交点K1と、の比較により、位置ずれを検出する。
これによれば、位置ずれが発生していない場合における第1位置ずれ検出モジュール41及び第2位置ずれ検出モジュール43の実際の交点K1と、位置ずれが発生している場合における第1位置ずれ検出モジュール41及び第2位置ずれ検出モジュール43の実際の交点K1とにずれが生じることを利用して、適切に上記位置ずれを検出できる。
In the present embodiment, the first misalignment detection module 41 of the first misalignment detection pattern 40 is a linear image, and the second misalignment detection module 43 of the second misalignment detection pattern 42 is the first misalignment. This is a linear image inclined from the detection module 41 by a predetermined angle θ1, and the actual intersection point K1 of the first misalignment detection module 41 and the second misalignment detection module 43 and the first misalignment when no misalignment has occurred. The positional deviation is detected by comparing with the intersection K1 of the first positional deviation detection module 41 and the second positional deviation detection module 43.
According to this, the actual position K1 of the first misalignment detection module 41 and the second misalignment detection module 43 when no misalignment occurs and the first misalignment detection when the misalignment occurs. By utilizing the fact that a deviation occurs between the module 41 and the actual position K1 of the second position deviation detection module 43, the position deviation can be detected appropriately.

また、本実施形態では、位置ずれが検出された場合、位置ずれを補正する。
これによれば、位置ずれが検出された場合、自動で、位置ずれが補正されるため、ユーザーの利便性を向上できる。
Further, in the present embodiment, when a positional deviation is detected, the positional deviation is corrected.
According to this, when the positional deviation is detected, the positional deviation is automatically corrected, so that the convenience for the user can be improved.

また、本実施形態では、記録ヘッド2を幅方向に走査させて第1搬送ずれ検出パターン46を記録媒体3に記録した後、第1搬送ずれ検出パターン46の第1搬送ずれ検出モジュール47と、第2搬送ずれ検出パターン48の第2搬送ずれ検出モジュール49とが交わる状態が維持されるように記録媒体3を所定の距離だけ搬送させ、さらに、記録ヘッド2を幅方向に走査させて第2搬送ずれ検出パターン48を記録媒体3に記録し、第1搬送ずれ検出パターン46の第1搬送ずれ検出モジュール47と、第2搬送ずれ検出パターン48の第2搬送ずれ検出モジュール49との交わりの態様に基づいて、搬送ずれを検出する。
これによれば、搬送ずれが発生している場合における第1搬送ずれ検出モジュール47と、第2搬送ずれ検出モジュール49との交わりの態様と、搬送ずれが発生していない場合における第1搬送ずれ検出モジュール47と、第2搬送ずれ検出モジュール49との交わりの態様とが異なることを利用して、適切に、搬送ずれを検出できる。
Further, in the present embodiment, after the recording head 2 is scanned in the width direction to record the first conveyance deviation detection pattern 46 on the recording medium 3, the first conveyance deviation detection module 47 of the first conveyance deviation detection pattern 46, The recording medium 3 is conveyed by a predetermined distance so as to maintain the state where the second conveyance deviation detection pattern 48 intersects the second conveyance deviation detection module 49, and further, the recording head 2 is scanned in the width direction to perform the second. A mode in which the conveyance deviation detection pattern 48 is recorded on the recording medium 3 and the first conveyance deviation detection module 47 of the first conveyance deviation detection pattern 46 and the second conveyance deviation detection module 49 of the second conveyance deviation detection pattern 48 are intersected. Based on the above, a conveyance deviation is detected.
According to this, the mode of intersection of the first conveyance deviation detection module 47 and the second conveyance deviation detection module 49 when the conveyance deviation occurs, and the first conveyance deviation when the conveyance deviation does not occur. By utilizing the fact that the detection module 47 and the second conveyance deviation detection module 49 are different from each other, conveyance deviation can be appropriately detected.

また、本実施形態では、第1搬送ずれ検出パターン46は、第1搬送ずれ検出モジュール47が幅方向に間隔をあけて、幅方向と平行に複数現された画像であり、第2搬送ずれ検出パターン48は、第1搬送ずれ検出モジュール47のそれぞれに対応して、第1搬送ずれ検出モジュール47に対して所定の角度θ2だけ傾いた第2位置ずれ検出モジュール43が幅方向に間隔をあけて、幅方向と平行に複数現された画像であり、第1搬送ずれ検出モジュール47のそれぞれと第2位置ずれ検出モジュール43のそれぞれとの実際の交点K2と、搬送ずれが発生していない場合における第1搬送ずれ検出モジュール47のそれぞれと第2位置ずれ検出モジュール43のそれぞれとの交点K2と、の比較により、搬送ずれを検出する。
これによれば、搬送ずれが発生していない場合における第1搬送ずれ検出モジュール47のそれぞれと第2位置ずれ検出モジュール43のそれぞれとの交点K2と、搬送ずれが発生している場合における第1搬送ずれ検出モジュール47のそれぞれと第2位置ずれ検出モジュール43のそれぞれとの交点K2とにずれが生じることを利用して、適切に、搬送ずれを検出できる。
In the present embodiment, the first conveyance deviation detection pattern 46 is an image in which a plurality of first conveyance deviation detection modules 47 appear in parallel with the width direction at intervals in the width direction. The pattern 48 corresponds to each of the first conveyance deviation detection modules 47, and the second position deviation detection module 43 inclined by a predetermined angle θ2 with respect to the first conveyance deviation detection module 47 is spaced apart in the width direction. A plurality of images appearing in parallel with the width direction, and the actual intersection K2 between each of the first conveyance deviation detection module 47 and each of the second positional deviation detection modules 43 and when no conveyance deviation occurs. By comparing the intersection K2 between each of the first conveyance deviation detection modules 47 and each of the second positional deviation detection modules 43, a conveyance deviation is detected.
According to this, the intersection K2 between each of the first conveyance deviation detection module 47 and each of the second positional deviation detection modules 43 when no conveyance deviation occurs, and the first when the conveyance deviation occurs. By utilizing the fact that a deviation occurs at each intersection K2 between each of the conveyance deviation detection modules 47 and each of the second position deviation detection modules 43, it is possible to detect the conveyance deviation appropriately.

なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。
例えば、上述した実施形態では、ホストコンピューター5がプリンター1を制御して、位置ずれ検出・補正モード、及び、搬送ずれ検出モードを実行していたが、プリンター1単体で、これら位置ずれ検出・補正モード、及び、搬送ずれ検出モードを行うようにしてもよい。この場合、プリンター1が記録装置として機能する。
また、上述したプリンター1は、インクジェット式のプリンターであったが、プリンターの種類はこれに限らず、例えば、記録ヘッドに設けられた記録ワイヤーをインクリボンを介して記録媒体3に打ち付けてドットを記録することにより画像を記録するドットインパクトプリンターであってもよい。すなわち、記録媒体3を搬送方向に搬送する搬送部と、記録媒体3の幅方向を走査する記録部とを備える任意のプリンターについて発明を適用可能である。
The above-described embodiment is merely an aspect of the present invention, and can be arbitrarily modified and applied within the scope of the present invention.
For example, in the above-described embodiment, the host computer 5 controls the printer 1 to execute the misalignment detection / correction mode and the transport misalignment detection mode. However, the misalignment detection / correction is performed by the printer 1 alone. A mode and a conveyance deviation detection mode may be performed. In this case, the printer 1 functions as a recording device.
The above-described printer 1 is an ink jet printer. However, the type of the printer is not limited to this, and for example, a recording wire provided in a recording head is struck against the recording medium 3 via an ink ribbon to form dots. It may be a dot impact printer that records an image by recording. In other words, the invention can be applied to any printer including a transport unit that transports the recording medium 3 in the transport direction and a recording unit that scans the width direction of the recording medium 3.

1…プリンター(記録装置)、3…記録媒体、5…ホストコンピューター(記録装置)、12スキャナー(画像読取部)、40…第1位置ずれ検出パターン、42…第2位置ずれ検出パターン、46…第1搬送ずれ検出パターン、48…第2搬送ずれ検出パターン。   DESCRIPTION OF SYMBOLS 1 ... Printer (recording apparatus), 3 ... Recording medium, 5 ... Host computer (recording apparatus), 12 scanner (image reading part), 40 ... 1st position shift detection pattern, 42 ... 2nd position shift detection pattern, 46 ... First conveyance deviation detection pattern, 48... Second conveyance deviation detection pattern.

Claims (8)

記録媒体の幅方向を往復走査可能に構成され、記録媒体に画像を記録する記録部を備える記録装置であって、
記録媒体に記録された画像を読み取る画像読取部を備え、
前記記録部を前記幅方向に走査させて第1パターンを記録媒体に記録した後、前記記録部を前記幅方向に走査させて前記第1パターンと交わる前記第2パターンを記録媒体に記録し、記録後の画像を前記画像読取部によって読み取り、前記第1パターンと前記第2パターンとの交わりの態様に基づいて、記録媒体への画像の記録に係る動作のずれを検出することを特徴とする記録装置。
A recording apparatus configured to be capable of reciprocating scanning in the width direction of a recording medium and including a recording unit that records an image on the recording medium,
An image reading unit for reading an image recorded on a recording medium;
The recording unit is scanned in the width direction to record the first pattern on the recording medium, and then the recording unit is scanned in the width direction to record the second pattern intersecting the first pattern on the recording medium, The image after recording is read by the image reading unit, and an operation shift related to recording of an image on a recording medium is detected based on an aspect of intersection of the first pattern and the second pattern. Recording device.
前記記録部を往方向に走査させて前記第1パターンを記録媒体に記録した後、前記記録部を所定の位置で折り返させ、折り返させた前記記録部を複方向に走査させて前記第2パターンを記録媒体に記録し、記録後の画像を前記画像読取部によって読み取り、前記第1パターンと前記第2パターンとの交わりの態様に基づいて、前記往方向に走査する前記記録部により記録される画像と、前記複方向に走査する前記記録部により記録される画像との間における位置ずれを検出することを特徴とする請求項1に記載の記録装置。   After the recording portion is scanned in the forward direction and the first pattern is recorded on the recording medium, the recording portion is folded back at a predetermined position, and the folded recording portion is scanned in a plurality of directions to form the second pattern. Is recorded on the recording medium, the recorded image is read by the image reading unit, and is recorded by the recording unit that scans in the forward direction based on the mode of intersection of the first pattern and the second pattern. The recording apparatus according to claim 1, wherein a position shift between an image and an image recorded by the recording unit that scans in the multi-direction is detected. 前記第1パターンは直線状の画像であり、前記第2パターンは前記第1パターンから所定の角度だけ傾いた直線状の画像であり、
前記画像読取部によって読み取った前記第1パターン及び前記第2パターンの交点の位置と、記憶部に記憶されているもので、前記位置ずれが発生していない場合における前記第1パターン及び前記第2パターンの交点の位置と、の比較により、前記位置ずれを検出することを特徴とする請求項2に記載の記録装置。
The first pattern is a linear image, and the second pattern is a linear image inclined by a predetermined angle from the first pattern,
The position of the intersection of the first pattern and the second pattern read by the image reading unit and the one stored in the storage unit, and the first pattern and the second pattern when the positional deviation does not occur The recording apparatus according to claim 2, wherein the positional deviation is detected by comparison with a position of an intersection of patterns.
記録媒体を搬送する搬送部を備え、
前記記録部を前記幅方向に走査させて前記第1パターンを記録媒体に記録した後、前記第1パターンと前記第2パターンとが交わる範囲内で、前記搬送部によって記録媒体を所定の距離だけ搬送させ、さらに、前記記録部を前記幅方向に走査させて前記第2パターンを記録媒体に記録し、記録後の画像を前記画像読取部によって読み取り、前記第1パターンと前記第2パターンとの交わりの態様に基づいて、前記搬送部による記録媒体の搬送のずれを検出することを特徴とする請求項1に記載の記録装置。
A transport unit for transporting the recording medium;
After the recording unit is scanned in the width direction and the first pattern is recorded on the recording medium, the conveying unit moves the recording medium by a predetermined distance within a range where the first pattern and the second pattern intersect. Further, the recording unit is scanned in the width direction to record the second pattern on a recording medium, the image after recording is read by the image reading unit, and the first pattern and the second pattern The recording apparatus according to claim 1, wherein a deviation in conveyance of the recording medium by the conveyance unit is detected based on a mode of intersection.
前記第1パターンは直線状の画像が前記幅方向に間隔をあけて、前記幅方向と平行に複数現された画像であり、前記第2パターンは、前記第1パターンに係る直線状の画像のそれぞれに対応して、当該第1パターンに係る直線状の画像から所定の角度だけ傾いた直線状の画像が前記幅方向に間隔をあけて、前記幅方向と平行に複数現された画像であり、
前記第1パターンに係る直線状の画像のそれぞれ、及び、前記第2パターンに係る直線状の画像のそれぞれの前記画像読取部によって読み取った交点の位置と、記憶部に記憶されているもので、前記搬送部による記録媒体の搬送のずれが発生していない場合における前記第1パターンに係る直線状の画像のそれぞれ、及び、前記第2パターンに係る直線状の画像のそれぞれの交点の位置と、の比較により、前記搬送部による記録媒体の搬送のずれを検出することを特徴とする請求項4に記載の記録装置。
The first pattern is an image in which a plurality of linear images appear in parallel with the width direction at intervals in the width direction, and the second pattern is an image of the linear image according to the first pattern. Corresponding to each, a plurality of linear images inclined by a predetermined angle from the linear image related to the first pattern appear in parallel with the width direction at intervals in the width direction. ,
Each of the linear images according to the first pattern and the position of the intersection read by the image reading unit of each of the linear images according to the second pattern are stored in the storage unit, Each of the linear images according to the first pattern and the position of each intersection of the linear images according to the second pattern when no deviation of the conveyance of the recording medium by the conveyance unit has occurred, The recording apparatus according to claim 4, wherein a shift in conveyance of the recording medium by the conveyance unit is detected by comparing the two.
前記ずれが検出された場合、前記ずれを補正することを特徴とする請求項1ないし5のいずれか1項に記載の記録装置。   The recording apparatus according to claim 1, wherein the deviation is corrected when the deviation is detected. 記録媒体の幅方向を往復走査可能に構成され、記録媒体に画像を記録する記録部と、記録媒体に記録された画像を読み取る画像読取部とを備える記録装置を制御して、
前記記録部を前記幅方向に走査させて第1パターンを記録媒体に記録した後、前記記録部を前記幅方向に走査させて前記第1パターンと交わる前記第2パターンを記録媒体に記録し、記録後の画像を前記画像読取部によって読み取り、前記第1パターンと前記第2パターンとの交わりの態様に基づいて、記録媒体への画像の記録に係る動作のずれを検出することを特徴とする記録装置の制御方法。
A recording apparatus configured to be capable of reciprocating scanning in the width direction of the recording medium, and having a recording unit that records an image on the recording medium and an image reading unit that reads an image recorded on the recording medium;
The recording unit is scanned in the width direction to record the first pattern on the recording medium, and then the recording unit is scanned in the width direction to record the second pattern intersecting the first pattern on the recording medium, The image after recording is read by the image reading unit, and an operation shift related to recording of an image on a recording medium is detected based on an aspect of intersection of the first pattern and the second pattern. Control method of recording apparatus.
記録媒体の幅方向を往復走査可能に構成され、記録媒体に画像を記録する記録部と、記録媒体に記録された画像を読み取る画像読取部とを備える記録装置を制御する制御部により実行されるプログラムであって、
前記制御部を、
前記記録部を前記幅方向に走査させて第1パターンを記録媒体に記録した後、前記記録部を前記幅方向に走査させて前記第1パターンと交わる前記第2パターンを記録媒体に記録し、記録後の画像を前記画像読取部によって読み取り、前記第1パターンと前記第2パターンとの交わりの態様に基づいて、記録媒体への画像の記録に係る動作のずれを検出するよう機能させることを特徴とするプログラム。
It is configured to be capable of reciprocating scanning in the width direction of the recording medium, and is executed by a control unit that controls a recording apparatus that includes a recording unit that records an image on the recording medium and an image reading unit that reads an image recorded on the recording medium. A program,
The control unit
The recording unit is scanned in the width direction to record the first pattern on the recording medium, and then the recording unit is scanned in the width direction to record the second pattern intersecting the first pattern on the recording medium, The image after recording is read by the image reading unit, and based on the mode of intersection of the first pattern and the second pattern, the function of detecting a shift in operation related to recording of the image on the recording medium is performed. A featured program.
JP2009224064A 2009-09-29 2009-09-29 Recorder, method of controlling recorder, and program Pending JP2011073158A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009224064A JP2011073158A (en) 2009-09-29 2009-09-29 Recorder, method of controlling recorder, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009224064A JP2011073158A (en) 2009-09-29 2009-09-29 Recorder, method of controlling recorder, and program

Publications (1)

Publication Number Publication Date
JP2011073158A true JP2011073158A (en) 2011-04-14

Family

ID=44017691

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009224064A Pending JP2011073158A (en) 2009-09-29 2009-09-29 Recorder, method of controlling recorder, and program

Country Status (1)

Country Link
JP (1) JP2011073158A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013212584A (en) * 2012-03-30 2013-10-17 Brother Industries Ltd Inkjet printer, gap detecting device, and method of obtaining variation of gap
JP2014014979A (en) * 2012-07-09 2014-01-30 Brother Ind Ltd Discharge adjustment pattern formation method, discharge adjustment method for inkjet head, and inkjet printer
JP2014014978A (en) * 2012-07-09 2014-01-30 Brother Ind Ltd Discharge adjustment pattern formation method, discharge adjustment method for inkjet head, and inkjet printer
JP2017119392A (en) * 2015-12-28 2017-07-06 ブラザー工業株式会社 Image formation apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013212584A (en) * 2012-03-30 2013-10-17 Brother Industries Ltd Inkjet printer, gap detecting device, and method of obtaining variation of gap
JP2014014979A (en) * 2012-07-09 2014-01-30 Brother Ind Ltd Discharge adjustment pattern formation method, discharge adjustment method for inkjet head, and inkjet printer
JP2014014978A (en) * 2012-07-09 2014-01-30 Brother Ind Ltd Discharge adjustment pattern formation method, discharge adjustment method for inkjet head, and inkjet printer
JP2017119392A (en) * 2015-12-28 2017-07-06 ブラザー工業株式会社 Image formation apparatus

Similar Documents

Publication Publication Date Title
JP5211891B2 (en) Recording method, recording apparatus, and operation control program
JP5371370B2 (en) Printer and object movement detection method
US6460963B1 (en) Bidirectional printing with dot dropout inspection
US9079425B2 (en) Print control method, printing method, and continuous sheet to be printed used in the method
JP2011073158A (en) Recorder, method of controlling recorder, and program
JP5959978B2 (en) Printing method and printing sheet used therefor
JP5256963B2 (en) Printing apparatus and printing method
JP5772076B2 (en) Printing method and printing apparatus
JP4193902B2 (en) Image recording apparatus, image recording method, image recording program, and printer driver
JP4162022B2 (en) Conveyance amount correction device, conveyance amount correction method, and program
JP5310153B2 (en) RECORDING CONTROL DEVICE, RECORDING DEVICE CONTROL METHOD, AND RECORDING CONTROL DATA GENERATION DEVICE
JP6610181B2 (en) Droplet discharge device
JP2014008660A (en) Inkjet recorder, and method for generating mask pattern
JP4780294B2 (en) Recording device, recording control program
JP4957582B2 (en) Printer driver, preview method and printing method
JP2011056869A (en) Image forming apparatus and information processor
JP6452422B2 (en) Image forming apparatus and method for producing printed matter
JP2007260934A (en) Printer and method for printing
JP5098858B2 (en) Liquid ejecting apparatus and liquid ejecting method
JP2009166423A (en) Recording controller, recording device, and recording control program
JP6296873B2 (en) Printing apparatus and recording position adjusting method
JP4604570B2 (en) Adjustment pattern forming method, adjustment pattern, printing method, and printing apparatus
JP5472806B2 (en) Image forming apparatus
JP6911468B2 (en) Image formation system
JP2022161140A (en) Inkjet recording device and recording method