JP2015163454A - printer - Google Patents

printer Download PDF

Info

Publication number
JP2015163454A
JP2015163454A JP2014039718A JP2014039718A JP2015163454A JP 2015163454 A JP2015163454 A JP 2015163454A JP 2014039718 A JP2014039718 A JP 2014039718A JP 2014039718 A JP2014039718 A JP 2014039718A JP 2015163454 A JP2015163454 A JP 2015163454A
Authority
JP
Japan
Prior art keywords
detection
carriage
start position
paper
side edge
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
JP2014039718A
Other languages
Japanese (ja)
Inventor
貴文 荻村
Takafumi Ogimura
貴文 荻村
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 JP2014039718A priority Critical patent/JP2015163454A/en
Publication of JP2015163454A publication Critical patent/JP2015163454A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a printer capable of starting printing onto a printing medium at a relatively early stage after detecting an end portion of the printing medium.SOLUTION: A detection end position x1 outside a sheet P is set from a detection start position x0 set to a proximity position inside the sheet P with respect to a side end position xe1 determined on the basis of size information of the sheet P, a carriage 22 is moved from the detection start position x0 to the detection end position x1, and the side end position xe1 is detected by a sheet width sensor 56 in the course of movement thereof. An acceleration start position p0 in a first pass executed subsequent to side end detection drive and the detection end position x1 are compared, and the acceleration start position p0 is set to the detection end position x1 when the acceleration start position p0 is positioned closer to a carriage travelling direction side at the time of the side end detection drive than the detection end position x1. On this account, the movement of the carriage 22 for printing in the first pass from a stop position where the side end detection drive is stopped can be started.

Description

本発明は、印刷媒体の端部を検出する機能を備えた印刷装置に関する。   The present invention relates to a printing apparatus having a function of detecting an end portion of a print medium.

この種の印刷装置では、給送された用紙等の印刷媒体に印刷ヘッドにより印刷が行われる。例えばシリアル式の印刷装置では、印刷ヘッドはキャリッジと共に走査方向に移動し、その移動途中で用紙の表面にインクを噴射して画像等を印刷する。   In this type of printing apparatus, printing is performed on a print medium such as fed paper by a print head. For example, in a serial type printing apparatus, the print head moves in the scanning direction together with the carriage, and prints an image or the like by ejecting ink onto the surface of the paper during the movement.

また、用紙が走査方向にずれて給送される位置ずれなどが発生しても、用紙に対して正しく画像等を印刷できるように、給送された用紙の走査方向(幅方向)の端部(側端)をセンサーで検出する機能を備えた印刷装置が知られている(例えば特許文献1等)。例えば特許文献1では、センサーを搭載したキャリッジの走査開始位置を用紙サイズの情報から決まる用紙の幅方向内側の用紙端寄りの位置に設定し、走査終了位置を用紙サイズの情報から決まる用紙の幅方向外側の用紙端寄りの位置に設定している。キャリッジを走査開始位置から走査方向に用紙の外側に向かって走査終了位置まで移動させてその移動途中でセンサーにより用紙の端部を検出する。   In addition, the edge of the fed paper in the scanning direction (width direction) so that an image or the like can be correctly printed on the paper even if the paper is misaligned in the scanning direction. A printing apparatus having a function of detecting (side end) with a sensor is known (for example, Patent Document 1). For example, in Patent Document 1, the scanning start position of a carriage equipped with a sensor is set to a position closer to the end of the sheet on the inner side in the sheet width direction determined from the sheet size information, and the scanning end position is determined based on the sheet size information. It is set at a position near the edge of the paper outside in the direction. The carriage is moved from the scanning start position to the scanning end position in the scanning direction toward the outside of the sheet, and the end of the sheet is detected by the sensor during the movement.

特開2004−182361号公報(例えば段落[0067]〜[0069]、図10、図12等)JP-A-2004-182361 (for example, paragraphs [0067] to [0069], FIG. 10, FIG. 12, etc.)

ところで、端部検出動作の終了後に実施される印刷のためのキャリッジの走査において、印刷データから決まる印字開始位置に到達したときにキャリッジが必要な速度に達しているためには、印字開始位置に到達するまでの助走距離が必要になる。そして、助走距離を確保できる加速開始位置(キャリッジ起動位置)からキャリッジの走査を開始する必要がある。   By the way, in the carriage scan for printing performed after the end detection operation is completed, when the carriage has reached the necessary speed when the print start position determined from the print data is reached, the print start position is The run-up distance to reach is required. Then, it is necessary to start scanning of the carriage from an acceleration start position (carriage activation position) that can secure a running distance.

キャリッジの検出終了位置よりも加速開始位置の方が、端部検出動作時のキャリッジ進行方向側に位置している場合、端部検出動作を終えて停止したキャリッジは検出終了位置から加速開始位置まで移動させる必要がある。従って、端部検出動作と印刷動作との間に、キャリッジを検出終了位置から加速開始位置まで移動させる一動作が必要になり、この一動作を行う際のキャリッジの加速と減速とが無駄に行われていた。よって、用紙の端部を検出した後、用紙への印刷が開始されるまでの待ち時間が比較的長く、これが印刷のスループットを低下させる原因となっている。   If the acceleration start position is located closer to the carriage movement direction during the edge detection operation than the carriage detection end position, the carriage that has stopped after the edge detection operation has been stopped from the detection end position to the acceleration start position. Must be moved. Therefore, one operation for moving the carriage from the detection end position to the acceleration start position is required between the edge detection operation and the printing operation, and the acceleration and deceleration of the carriage when performing this one operation is wasted. It was broken. Therefore, after detecting the edge of the sheet, the waiting time until printing on the sheet is started is relatively long, which causes a decrease in printing throughput.

本発明は、上記課題を解決するためになされたものであり、その目的は、印刷媒体の端部を検出した後、印刷媒体への印刷を比較的早期に開始できる印刷装置を提供することにある。   SUMMARY An advantage of some aspects of the invention is that it provides a printing apparatus that can start printing on a print medium relatively early after detecting an end of the print medium. is there.

以下、上記課題を解決するための手段及びその作用効果について記載する。
上記課題を解決する印刷装置は、印刷媒体に印刷を行う印刷ヘッドと、前記印刷媒体の搬送方向と交差する方向の端部を検出する検出部とを備え、前記印刷媒体の搬送方向に交差する走査方向に走査されるキャリッジと、前記キャリッジが走査される領域に前記印刷媒体を搬送する搬送部と、前記印刷装置を制御する制御部と、を有し、前記制御部は、前記印刷媒体の端部位置の内側の検出開始位置から外側の検出終了位置に向けて端部の検出を実行し、前記端部の検出を実行した後に前記印刷媒体に印刷データに基づく印刷を行うための前記キャリッジの加速開始位置が、前記検出終了位置よりも外側である場合に、前記キャリッジの加速開始位置を前記検出終了位置に設定する。
Hereinafter, means for solving the above-described problems and the effects thereof will be described.
A printing apparatus that solves the above problem includes a print head that prints on a print medium, and a detection unit that detects an end portion in a direction that intersects the conveyance direction of the print medium, and intersects the conveyance direction of the print medium. A carriage that is scanned in a scanning direction; a transport unit that transports the print medium to an area in which the carriage is scanned; and a control unit that controls the printing apparatus. Carriage for performing end detection from an inner detection start position to an outer detection end position and performing printing based on print data on the print medium after the end detection is performed The acceleration start position of the carriage is set as the detection end position when the acceleration start position is outside the detection end position.

この構成によれば、印刷媒体の端部の検出を実行した後に印刷媒体に印刷データに基づく印刷を行うためのキャリッジの加速開始位置が、検出終了位置よりも外側である場合に、キャリッジの加速開始位置が検出終了位置に設定される。そのため、印刷媒体の端部位置の内側の検出開始位置から外側の検出終了位置に向けて端部の検出を実行した際に、検出終了位置からキャリッジの加速を開始して印刷データに基づく印刷を行うことができる。このため、検出終了位置に停止したキャリッジを、その検出終了位置から印刷データに基づく印刷を行う際の加速開始位置へ移動させる必要がない。よって、印刷媒体の端部を検出した後、印刷媒体への印刷を比較的早期に開始できる。   According to this configuration, after the detection of the edge of the print medium is performed, the acceleration of the carriage is performed when the acceleration start position of the carriage for performing printing based on the print data on the print medium is outside the detection end position. The start position is set as the detection end position. Therefore, when edge detection is performed from the detection start position inside the edge position of the print medium toward the detection end position outside, the acceleration of the carriage is started from the detection end position and printing based on the print data is performed. It can be carried out. Therefore, it is not necessary to move the carriage stopped at the detection end position from the detection end position to the acceleration start position when performing printing based on the print data. Therefore, after the end of the print medium is detected, printing on the print medium can be started relatively early.

また、上記印刷装置では、前記キャリッジの移動距離が長いほど前記キャリッジの速度が高速になる構成であり、前記検出開始位置を第1検出開始位置とした場合、前記第1検出開始位置と前記検出終了位置までの第1移動距離を前記キャリッジが当該第1移動距離から決まる第1速度で移動するために要する第1所要時間と、前記第1検出開始位置を前記第1移動距離よりも長い第2移動距離となる第2検出開始位置に変更した場合に当該第2検出開始位置から前記キャリッジが前記第2移動距離から決まる第2速度で前記検出終了位置まで移動するために要する第2所要時間とを比較し、前記第2所要時間よりも前記第1所要時間の方が短い場合は前記検出開始位置を第1検出開始位置に保持し、前記第2所要時間の方が前記第1所要時間よりも短い場合は前記検出開始位置を前記第1検出開始位置から前記第2検出開始位置へ変更することが好ましい。   The printing apparatus is configured such that the longer the moving distance of the carriage, the higher the speed of the carriage. When the detection start position is the first detection start position, the first detection start position and the detection A first required time required for the carriage to move at a first speed determined from the first movement distance as a first movement distance to the end position, and a first detection start position longer than the first movement distance. The second required time required for the carriage to move from the second detection start position to the detection end position at a second speed determined from the second movement distance when the second detection start position is changed to two movement distances. And when the first required time is shorter than the second required time, the detection start position is held at the first detection start position, and the second required time is longer than the first required time. Is shorter than it is preferable to change the detection start position from the first detection start position to the second detection start position.

この構成によれば、第1検出開始位置から検出終了位置までの第1移動距離をキャリッジが第1移動距離から決まる第1速度で移動するために要する第1所要時間が求められる。また、第1移動距離よりも長い第2移動距離にしうる第2検出開始位置に第1検出開始位置を変更した場合、第2検出開始位置からキャリッジが第2移動距離から決まる第2速度で検出終了位置まで移動するために要する第2所要時間が求められる。そして、第1所要時間と第2所要時間とが比較される。第2所要時間よりも第1所要時間の方が短い場合は第1検出開始位置が保持される。一方、第2所要時間の方が第1所要時間よりも短い場合は第1検出開始位置から第2検出開始位置へ変更される。よって、第1検出開始位置から第2検出開始位置へ変更した場合、キャリッジが端部の検出のために検出終了位置まで移動するために要する所要時間が短く済む。このため、端部の検出を実行した後、印刷データに基づく印刷を速やかに開始できる。   According to this configuration, the first required time required for the carriage to move at the first speed determined from the first movement distance is obtained as the first movement distance from the first detection start position to the detection end position. In addition, when the first detection start position is changed to a second detection start position that can be a second movement distance that is longer than the first movement distance, the carriage is detected at a second speed determined from the second movement distance from the second detection start position. A second required time required to move to the end position is obtained. Then, the first required time and the second required time are compared. When the first required time is shorter than the second required time, the first detection start position is held. On the other hand, when the second required time is shorter than the first required time, the first detection start position is changed to the second detection start position. Therefore, when the first detection start position is changed to the second detection start position, the time required for the carriage to move to the detection end position for detecting the end portion can be shortened. For this reason, after detecting the edge, printing based on the print data can be started promptly.

上記印刷装置では、前記キャリッジは前記検出開始位置へ移動する前は、前記印刷媒体よりも前記走査方向の外側の待機位置に配置され、前記制御部は、印刷開始位置に搬送された前記印刷媒体に対して前記端部の検出を実行する構成であり、前記印刷媒体が前記印刷開始位置に搬送されて停止するまでに前記キャリッジの前記検出開始位置への移動を開始させることが好ましい。   In the printing apparatus, before the carriage moves to the detection start position, the carriage is disposed at a standby position outside the print medium in the scanning direction, and the control unit is configured to transfer the print medium to the print start position. It is preferable that detection of the edge is executed, and the movement of the carriage to the detection start position is started before the print medium is transported to the print start position and stopped.

この構成によれば、印刷媒体が印刷開始位置へ搬送し終わるまでにキャリッジは検出開始位置への移動を完了する。例えば印刷媒体の印刷開始位置への搬送が終わってから、キャリッジが検出開始位置に到達する構成であると、印刷媒体の印刷開始位置への搬送が終わってから、キャリッジが検出開始位置から移動を開始するまでに待ち時間が発生し、この待ち時間が、端部を検出した後に実施される印刷媒体への印刷の開始時期を遅らせる。しかし、印刷媒体が印刷開始位置へ搬送し終わるまでにキャリッジは検出開始位置への移動を完了する構成なので、この種の待ち時間を零又は短く済ませられるので、印刷を比較的早期に開始できる。   According to this configuration, the carriage completes moving to the detection start position until the print medium has been transported to the print start position. For example, if the carriage reaches the detection start position after the conveyance of the print medium to the print start position is completed, the carriage moves from the detection start position after the conveyance of the print medium to the print start position is completed. There is a waiting time until the start, and this waiting time delays the start time of printing on the printing medium that is performed after the end portion is detected. However, since the carriage completes the movement to the detection start position by the time the print medium has been transported to the print start position, this type of waiting time can be reduced to zero or shorter, so that printing can be started relatively early.

また、上記印刷装置では、前記制御部は、前記印刷媒体が前記印刷開始位置へ搬送される搬送途中に前記キャリッジを前記検出開始位置に到達させ、前記印刷媒体が前記印刷開始位置へ搬送し終わる前に前記キャリッジの前記検出開始位置からの移動を開始させ、当該キャリッジの移動途中で前記端部を検出することが好ましい。   In the printing apparatus, the control unit causes the carriage to reach the detection start position during conveyance of the print medium being conveyed to the print start position, and finishes conveying the print medium to the print start position. It is preferable that the movement of the carriage from the detection start position is started before the end portion is detected during the movement of the carriage.

この構成によれば、キャリッジは、印刷媒体が印刷開始位置へ搬送される搬送途中に検出開始位置に到達し、その印刷媒体の搬送が終わる前(つまり印刷媒体の搬送途中)に検出開始位置からの移動を開始する。このため、印刷媒体の印刷開始位置への搬送と、キャリッジの検出開始位置からの移動とが動作時期の一部を重ね合わせて行われる。よって、印刷媒体が印刷開始位置に停止してから、端部を検出したキャリッジによってその印刷媒体への印刷が開始されるまでの待ち時間が短く済む。   According to this configuration, the carriage reaches the detection start position during the conveyance of the print medium to the print start position, and the carriage starts from the detection start position before the print medium is conveyed (that is, during the conveyance of the print medium). Start moving. For this reason, the conveyance of the print medium to the print start position and the movement of the carriage from the detection start position are performed by overlapping a part of the operation timing. Therefore, the waiting time from when the print medium stops at the print start position to when printing on the print medium is started by the carriage that has detected the end portion can be shortened.

さらに上記印刷装置では、前記制御部は、前記キャリッジが前記検出開始位置から前記端部の位置まで移動するための所要時間を推定し、前記キャリッジを前記端部位置に到達したときには前記印刷媒体が前記印刷開始位置に停止している状態となるタイミングで前記キャリッジの前記検出開始位置からの移動を開始させ、停止状態にある前記印刷媒体の前記端部を検出することが好ましい。   Further, in the printing apparatus, the control unit estimates a time required for the carriage to move from the detection start position to the end position, and when the carriage reaches the end position, the print medium is It is preferable that movement of the carriage from the detection start position is started at a timing when the print medium is stopped at the print start position, and the end portion of the print medium in the stop state is detected.

この構成によれば、キャリッジが検出開始位置から端部位置に到達するまでの所要時間が推定される。キャリッジを端部位置に到達したときには印刷媒体が印刷開始位置に停止している状態となるタイミングで、キャリッジの検出開始位置からの移動を開始させる。よって、停止状態にある印刷媒体の端部を検出できるので、高い位置検出精度で端部の位置を検出できる。従って、印刷媒体の端部を比較的高い位置検出精度で検出できるうえ、印刷媒体が印刷開始位置へ搬送されてから比較的早期に印刷媒体への印刷を開始できる。   According to this configuration, the time required for the carriage to reach the end position from the detection start position is estimated. When the carriage reaches the end position, movement of the carriage from the detection start position is started at a timing when the print medium is stopped at the print start position. Therefore, since the edge part of the printing medium in a stopped state can be detected, the edge position can be detected with high position detection accuracy. Therefore, the edge of the print medium can be detected with a relatively high position detection accuracy, and printing on the print medium can be started relatively early after the print medium is conveyed to the print start position.

上記印刷装置では、前記制御部は、前記印刷媒体の情報が間違っている可能性がある不定である場合、前記キャリッジを前記走査方向の幅が最小サイズの印刷媒体の端部を検出可能な第3検出開始位置まで移動させ、当該第3検出開始位置から前記キャリッジの移動を開始して前記端部を検出することが好ましい。   In the printing apparatus, the control unit may detect an end of a print medium having a minimum width in the scanning direction when the information on the print medium is indefinite. It is preferable to move to the third detection start position, and start the movement of the carriage from the third detection start position to detect the end portion.

この構成によれば、印刷媒体の情報が不定である場合、キャリッジを走査方向の幅が最小サイズの印刷媒体の端部を検出可能な第3検出開始位置まで移動させ、第3検出開始位置からキャリッジの移動が開始されて端部が検出される。よって、印刷媒体の情報が不定であることに起因して端部が検出されない失敗の頻度を低減できる。   According to this configuration, when the information on the print medium is indefinite, the carriage is moved to the third detection start position where the end of the print medium having the minimum width in the scanning direction can be detected, and the third detection start position is The movement of the carriage is started and the end portion is detected. Therefore, it is possible to reduce the frequency of failure in which the edge portion is not detected due to indefinite information on the print medium.

また、上記印刷装置では、前記制御部は、前記検出開始位置で前記印刷媒体が非検出状態であって前記印刷媒体の前記端部の検出に失敗した場合、前記キャリッジを前記走査方向の幅が最小のサイズの印刷媒体の端部を検出可能な第3検出開始位置まで移動させ、当該第3検出開始位置から前記キャリッジの移動を開始して前記端部を検出することが好ましい。   In the printing apparatus, when the print medium is in a non-detection state at the detection start position and the detection of the end of the print medium fails, the control unit moves the carriage in the scanning direction. It is preferable that the end of the print medium having the minimum size is moved to a detectable third detection start position, and the carriage is started to move from the third detection start position to detect the end.

この構成によれば、検出開始位置で印刷媒体が非検出状態であって印刷媒体の端部の検出に失敗した場合、キャリッジを走査方向の幅が最小のサイズ(最小幅)の印刷媒体の端部を検出可能な第3検出開始位置まで移動させる。そして、第3検出開始位置からキャリッジの移動が開始されて端部が検出される。よって、当初の検出開始位置からの移動では端部を検出できない過小な幅の印刷媒体であることが原因で、端部の検出に失敗しても、キャリッジを第3検出開始位置から移動を開始させて端部の検出を行うので、当初の検出開始位置からの移動では端部を検出できないサイズの印刷媒体に対してもその端部を検出することができる。   According to this configuration, when the print medium is not detected at the detection start position and the end of the print medium fails to be detected, the carriage is moved to the end of the print medium having the minimum width (minimum width) in the scanning direction. Is moved to a detectable third detection start position. Then, the movement of the carriage is started from the third detection start position, and the end portion is detected. Therefore, even if the edge detection fails, the carriage starts to move from the third detection start position because the edge cannot be detected by the movement from the initial detection start position. Since the edge is detected, the edge can be detected even for a print medium having a size that cannot be detected by the movement from the initial detection start position.

さらに上記印刷装置では、前記制御部は、前記キャリッジが前記検出開始位置から前記検出終了位置まで移動する間に亘って前記検出部が前記印刷媒体を検出する状態が続き、前記印刷媒体の前記端部の検出に失敗した場合、前記検出終了位置を前記端部の検出を実行する際の前記キャリッジの進行方向延長上の位置に変更することが好ましい。   Furthermore, in the printing apparatus, the control unit continues the state in which the detection unit detects the print medium while the carriage moves from the detection start position to the detection end position, and the end of the print medium is continued. When the detection of the part fails, it is preferable that the detection end position is changed to a position on the extension in the traveling direction of the carriage when the end part is detected.

この構成によれば、キャリッジが検出開始位置から検出終了位置まで移動する間に亘って、検出部が印刷媒体を検出する状態が続き、印刷媒体の端部の検出に失敗した場合、検出終了位置が端部の検出を実行するキャリッジの進行方向延長上の位置に変更される。よって、当初の検出終了位置までのキャリッジの移動では端部を検出できない過大な幅の印刷媒体であっても、キャリッジが変更後の延長された検出終了位置まで移動することで、印刷媒体の端部を検出することができる。   According to this configuration, the detection unit continues to detect the print medium while the carriage moves from the detection start position to the detection end position, and the detection end position is detected when the detection of the edge of the print medium fails. Is changed to a position on the extension in the traveling direction of the carriage for detecting the end. Therefore, even if the print medium has an excessive width that cannot be detected by moving the carriage to the initial detection end position, the carriage moves to the extended detection end position after the change, so that the end of the print medium can be detected. Part can be detected.

また、上記印刷装置では、前記制御部は、前記検出部が前記端部を検出した端部位置が前記加速開始位置を過ぎていれば、前記端部が検出された時点で前記キャリッジの移動を停止させ、一方、前記端部位置が前記加速開始位置を過ぎていなければ、前記キャリッジが前記加速開始位置に到達するのを待ってから当該キャリッジの移動を停止させることが好ましい。   In the printing apparatus, the control unit may move the carriage when the end is detected if the end position where the detection unit detects the end is past the acceleration start position. On the other hand, if the end position does not pass the acceleration start position, it is preferable to wait for the carriage to reach the acceleration start position before stopping the movement of the carriage.

この構成によれば、検出部が端部を検出した端部位置が加速開始位置を過ぎていれば、端部が検出された時点でキャリッジは停止する。また、検出された端部位置が加速開始位置を過ぎていなければ、キャリッジは加速開始位置に到達するのを待って停止する。よって、キャリッジを常に検出終了位置まで移動させる構成に比べ、加速開始位置が検出終了位置よりも手前に位置する場合は、端部が検出された時点でキャリッジが停止することで、その停止位置から移動を開始するキャリッジによる印刷媒体への印刷をより早期に開始することができる。   According to this configuration, if the end position where the detection unit detects the end is past the acceleration start position, the carriage stops when the end is detected. If the detected end position does not pass the acceleration start position, the carriage stops after reaching the acceleration start position. Therefore, compared to the configuration in which the carriage is always moved to the detection end position, when the acceleration start position is positioned before the detection end position, the carriage stops when the end portion is detected. Printing on the print medium by the carriage that starts moving can be started earlier.

一実施形態におけるプリンターを示す斜視図。1 is a perspective view illustrating a printer according to an embodiment. プリンターの電気的構成を示すブロック図。FIG. 3 is a block diagram illustrating an electrical configuration of the printer. 支持台とキャリッジとを示す模式平面図。The schematic plan view which shows a support stand and a carriage. 側端検出駆動における検出開始位置と検出終了位置との設定方法を説明する模式図。The schematic diagram explaining the setting method of the detection start position in a side edge detection drive, and a detection end position. 側端検出駆動における検出開始位置を変更する方法を説明する模式図。The schematic diagram explaining the method to change the detection start position in side edge detection drive. コンピューターの機能構成を示すブロック図。The block diagram which shows the function structure of a computer. 用紙が不定である場合の側端検出駆動を説明し、(a)は検出準備走査、(b)は側端検出駆動をそれぞれ示す模式平面図。The side edge detection drive when the paper is indefinite will be described, (a) is a detection preparation scan, and (b) is a schematic plan view showing the side edge detection drive. 用紙が不定でない場合の側端検出駆動を説明し、(a)は検出準備走査、(b)は側端検出駆動、(c)は検出終了位置を変更した場合の側端検出駆動、(d)は検出開始位置を変更した場合の側端検出駆動、(e)は1パス目の印字動作をそれぞれ示す模式平面図。Side edge detection drive when the paper is not indefinite will be described, (a) is detection preparation scanning, (b) is side edge detection drive, (c) is side edge detection drive when the detection end position is changed, (d ) Is a side plan detection drive when the detection start position is changed, and (e) is a schematic plan view showing a first pass printing operation. (a),(b)は用紙サイズが想定より小さいことに起因する側端検出失敗時に実行される側端検出駆動を説明する模式平面図。(A), (b) is a schematic plan view explaining the side edge detection drive executed when the side edge detection fails due to the paper size being smaller than expected. (a),(b)は用紙サイズが想定より大きいことに起因する側端検出失敗時に実行される側端検出駆動を説明する模式平面図。(A), (b) is a schematic plan view explaining the side edge detection drive executed when the side edge detection fails due to the paper size being larger than expected. 端部検出制御プログラムを示すフローチャート。The flowchart which shows an edge part detection control program. 同じくフローチャート。Same flowchart.

以下、印刷装置の一例であるプリンターに具体化した一実施形態を、図面を参照して説明する。
図1に示すプリンター11は、スキャン機能、プリント機能、コピー機能及びファクシミリ機能を併せ持つ複合機である。プリンター11は、略直方体形状を有する装置本体12と、装置本体12の前面(図1では右手前面)に設けられた操作パネル13とを備えている。操作パネル13には、表示部14及び複数の操作スイッチからなる操作部15が設けられている。操作部15には、電源スイッチ15a、印刷開始ボタン15b及び各種モードを切り替えるモード切替えボタン15cなどが含まれる。なお、本実施形態の表示部14はその画面に表示されたボタンに触れるとそのボタンに対応する内容を選択入力可能なタッチパネルになっており、このタッチパネル機能も操作部の一部を構成する。
Hereinafter, an embodiment embodied in a printer which is an example of a printing apparatus will be described with reference to the drawings.
The printer 11 shown in FIG. 1 is a multifunction machine having both a scan function, a print function, a copy function, and a facsimile function. The printer 11 includes an apparatus main body 12 having a substantially rectangular parallelepiped shape, and an operation panel 13 provided on the front surface of the apparatus main body 12 (the front surface of the right hand in FIG. 1). The operation panel 13 is provided with a display unit 14 and an operation unit 15 including a plurality of operation switches. The operation unit 15 includes a power switch 15a, a print start button 15b, a mode switching button 15c for switching various modes, and the like. Note that the display unit 14 of the present embodiment is a touch panel that can select and input the content corresponding to the button displayed on the screen, and this touch panel function also constitutes a part of the operation unit.

図1に示すように、装置本体12の前面下部には、印刷媒体の一例としての用紙Pを複数枚(例えば100〜1000枚の範囲内の値)収容可能な複数(図1の例では二つ)の給送カセット16,17が、それぞれ装置本体12の対応する箇所に個別に設けられた各収容凹部に対して着脱可能な状態で装着されている。また、装置本体12の背面側には、傾斜した姿勢に配置される手差し型の給送トレイ19が設けられている。   As shown in FIG. 1, the lower part of the front surface of the apparatus main body 12 can accommodate a plurality of sheets (for example, values in the range of 100 to 1000 sheets) (two in the example of FIG. The feeding cassettes 16 and 17 are mounted in a detachable manner with respect to the respective accommodating recesses individually provided at corresponding positions of the apparatus main body 12. Further, a manual feed tray 19 disposed in an inclined posture is provided on the back side of the apparatus main body 12.

複数の給送カセット16,17のうちの一つから給送された用紙Pは、装置本体12内の背面側に配置された用紙反転経路(図示省略)に沿って反転した後、搬送方向Yに沿って印刷開始位置まで搬送される。これに対して、給送トレイ19から給送された用紙Pは比較的短い給送距離を経て印刷開始位置まで搬送される。このため、給送カセット16,17の一方から給送された用紙Pは、給送トレイ19から給送された用紙に比べ、若干斜めになる斜行や、搬送方向Yと交差する走査方向Xの位置ずれがより発生し易い。   The sheet P fed from one of the plurality of feeding cassettes 16, 17 is reversed along a sheet reversing path (not shown) disposed on the back side in the apparatus main body 12, and then the transport direction Y Are conveyed to the printing start position. In contrast, the paper P fed from the feed tray 19 is transported to the print start position via a relatively short feeding distance. Therefore, the sheet P fed from one of the feeding cassettes 16 and 17 is skewed slightly compared to the sheet fed from the feeding tray 19 and the scanning direction X intersecting the transport direction Y. Is more likely to occur.

図1に示すように、装置本体12内には、走査方向X(本例では幅方向)に延びるガイド軸21に案内されて往復移動可能なキャリッジ22が設けられている。キャリッジ22の下部に配置された印刷ヘッド23は、搬送される用紙P(図1では二点鎖線で示す)にインク滴を噴射可能な複数のノズルを有する。キャリッジ22が走査方向Xに往復移動しながらその移動途中でノズルからインク滴を噴射することで、用紙Pの表面に文書又は画像等の印刷が施される。印刷済みの用紙Pは、搬送方向Yへ送られて装置本体12の正面中段位置に開口する排出口24から排出され、例えば延出状態にあるスライド式の排出スタッカー25(排出トレイ)上に積載される。   As shown in FIG. 1, a carriage 22 that is reciprocally moved by being guided by a guide shaft 21 that extends in the scanning direction X (the width direction in this example) is provided in the apparatus main body 12. The print head 23 disposed below the carriage 22 has a plurality of nozzles capable of ejecting ink droplets onto the conveyed paper P (indicated by a two-dot chain line in FIG. 1). While the carriage 22 reciprocates in the scanning direction X, ink droplets are ejected from the nozzles during the movement, whereby a document or image is printed on the surface of the paper P. The printed paper P is sent in the transport direction Y and discharged from a discharge port 24 that opens to the front middle position of the apparatus main body 12. For example, the printed paper P is stacked on a slide-type discharge stacker 25 (discharge tray) in an extended state. Is done.

プリンター11は一例としてカラープリンターである。印刷ヘッド23には例えばシアン(C)、マゼンタ(M)、イエロー(Y)、黒(K)を含む複数色(例えば4〜10色の範囲内の色数)のインクを収容する不図示のインク供給源(一例としてインクカートリッジ又はインクタンク)から供給されたインクを色別に噴射するインク色と同数の複数のノズル列が形成されている。なお、プリンター11はグレイスケールのみ印刷可能なモノクロプリンターでもよい。   The printer 11 is a color printer as an example. The print head 23 stores ink of a plurality of colors (for example, the number of colors within a range of 4 to 10 colors) including cyan (C), magenta (M), yellow (Y), and black (K), for example. A plurality of nozzle rows are formed in the same number as the ink color that ejects ink supplied from an ink supply source (for example, an ink cartridge or an ink tank) for each color. The printer 11 may be a monochrome printer capable of printing only in gray scale.

図1に示すプリンター11では、装置本体12の下部が上述の印刷によって用紙Pに画像を形成する画像形成部26になっており、その上側にスキャナー部27が配置されている。スキャナー部27は、装置本体12の上面部に原稿読取り面を有する不図示の原稿台と、装置本体12の上側に原稿台に対して開閉可能に設けられたカバー28とを有する。カバー28の上部には、複数枚の原稿をセットしてスキャナー部27へ一枚ずつ給送可能な自動原稿給送ユニット29(オートドキュメントフィーダー)が設けられている。   In the printer 11 shown in FIG. 1, the lower part of the apparatus main body 12 is an image forming unit 26 that forms an image on the paper P by the above-described printing, and a scanner unit 27 is disposed on the upper side. The scanner unit 27 includes a document table (not shown) having a document reading surface on the upper surface of the apparatus body 12 and a cover 28 provided on the upper side of the apparatus body 12 so as to be openable and closable with respect to the document table. An automatic document feeding unit 29 (auto document feeder) capable of setting a plurality of documents and feeding them one by one to the scanner unit 27 is provided on the upper portion of the cover 28.

次に図2を用いてプリンター11の電気的構成を説明する。図2に示すように、プリンター11は、その全体的な制御を司る制御部の一例としてのコントローラー30、操作パネル13、スキャンエンジン31及びプリントエンジン32等を備える。また、プリンター11は、通信インターフェイス(以下「通信I/F35」と称す。)を備える。スキャンエンジン31は、ラインセンサーを有する走査ヘッド、走査ヘッドの動力源となる電動モーター及びラインセンサーの読み取り箇所を照明するランプ等を備える。   Next, the electrical configuration of the printer 11 will be described with reference to FIG. As shown in FIG. 2, the printer 11 includes a controller 30, an operation panel 13, a scan engine 31, a print engine 32, and the like as an example of a control unit that performs overall control. The printer 11 includes a communication interface (hereinafter referred to as “communication I / F 35”). The scan engine 31 includes a scanning head having a line sensor, an electric motor that is a power source of the scanning head, a lamp that illuminates a reading position of the line sensor, and the like.

図2に示すプリントエンジン32は、印刷ヘッド23、キャリッジ22の動力源となるキャリッジモーター36、給送カセット16,17及び給送トレイ19等から用紙Pを給送する動力源となる給送モーター37、給送された用紙Pを搬送する動力源となる搬送モーター38、印刷ヘッド23をクリーニングするクリーニング装置39等を備える。コントローラー30は、印刷ジョブデータPDに基づきプリントエンジン32を駆動制御して用紙Pに印刷する。また、コントローラー30は、スキャンエンジン31及びプリントエンジン32を駆動制御し、スキャンエンジン31で読み取った原稿データに基づく画像をプリントエンジン32に印刷させることにより原稿の「コピー」を行う。   The print engine 32 shown in FIG. 2 includes a feed motor serving as a power source for feeding the paper P from the print head 23, a carriage motor 36 serving as a power source for the carriage 22, the feed cassettes 16 and 17, the feed tray 19, and the like. 37, a transport motor 38 serving as a power source for transporting the fed paper P, a cleaning device 39 for cleaning the print head 23, and the like. The controller 30 controls the print engine 32 based on the print job data PD to print on the paper P. Further, the controller 30 drives and controls the scan engine 31 and the print engine 32, and causes the print engine 32 to print an image based on the document data read by the scan engine 31, thereby “copying” the document.

また、コントローラー30は、ホスト装置100から通信I/F35を介して受信した印刷ジョブデータPDを基にプリントエンジン32を駆動制御して文書や画像等を印刷する。なお、ホスト装置100には、パーソナルコンピューター、携帯情報端末(PDA(Personal Digital Assistants))、タブレットPC、スマートフォンなどが用いられる。   In addition, the controller 30 drives and controls the print engine 32 based on the print job data PD received from the host device 100 via the communication I / F 35 to print a document, an image, or the like. The host device 100 may be a personal computer, a personal digital assistant (PDA (Personal Digital Assistants)), a tablet PC, a smartphone, or the like.

図2に示すコントローラー30は制御部の一例を構成するコンピューター40を備える。コンピューター40は、CPU41(中央処理装置)、ASIC42(Application Specific IC(特定用途向けIC))、記憶部の一例としての不揮発性メモリー43及びRAM44を備えている。不揮発性メモリー43には、用紙Pの側端位置(端部位置の一例)を検出する側端検出処理を行うための図11及び図12に示す制御プログラムを含む各種のプログラム、及び側端検出処理に用いられる速度制御データVD(図6参照)を含む各種のデータが記憶されている。   The controller 30 shown in FIG. 2 includes a computer 40 that constitutes an example of a control unit. The computer 40 includes a CPU 41 (central processing unit), an ASIC 42 (Application Specific IC), a nonvolatile memory 43 and a RAM 44 as an example of a storage unit. The nonvolatile memory 43 includes various programs including a control program shown in FIGS. 11 and 12 for performing a side edge detection process for detecting a side edge position (an example of an edge position) of the paper P, and a side edge detection. Various data including speed control data VD (see FIG. 6) used for processing is stored.

図2に示すように、装置本体12内には、給送モーター37を動力源として各給送カセット16,17から用紙Pを一枚ずつ送り出す給送駆動部46が給送カセット毎に設けられている。各給送駆動部46は、給送カセット16,17にセットされた用紙群のうち最上位の一枚を給送方向下流側へ送り出す給送ローラー48(ピックアップローラー)を備える。また、給送トレイ19の基端部近傍位置に設けられた給送ローラー49が、給送モーター37の動力で回転駆動することにより、給送トレイ19上の用紙群のうち最上位の一枚が給送方向下流側へ送り出される。   As shown in FIG. 2, in the apparatus main body 12, a feeding drive unit 46 that feeds the paper P one by one from the feeding cassettes 16 and 17 using the feeding motor 37 as a power source is provided for each feeding cassette. ing. Each feeding drive unit 46 includes a feeding roller 48 (pickup roller) that feeds the uppermost one of the sheet groups set in the feeding cassettes 16 and 17 to the downstream side in the feeding direction. Further, the feeding roller 49 provided in the vicinity of the base end portion of the feeding tray 19 is rotationally driven by the power of the feeding motor 37, so that the uppermost sheet in the sheet group on the feeding tray 19 is driven. Is sent downstream in the feeding direction.

また、図2に示すように、コントローラー30の入力端子には、給送カセット16,17の取外し及び装着を検知可能なトレイセンサー51,52と、給送トレイ19上の用紙Pの有無を検知可能な紙有無センサー53とが接続されている。また、コントローラー30の入力端子には、紙検出センサー55、紙幅センサー56、リニアエンコーダー57及びエンコーダー58が電気的に接続されている。   As shown in FIG. 2, the input terminals of the controller 30 detect tray sensors 51 and 52 that can detect the removal and attachment of the feeding cassettes 16 and 17 and the presence or absence of the paper P on the feeding tray 19. A possible paper presence / absence sensor 53 is connected. In addition, a paper detection sensor 55, a paper width sensor 56, a linear encoder 57 and an encoder 58 are electrically connected to the input terminals of the controller 30.

紙検出センサー55は、給送経路上の所定位置に設けられた例えば接触式又は非接触式のスイッチ型センサーであり、給送された用紙Pの搬送方向Yにおける先端を検知する。紙幅センサー56は、キャリッジ22に設けられた非接触式センサーであり、用紙Pの搬送方向Yと交差する走査方向Xにおける側端を検出する。本例の紙幅センサー56は、光を照射可能な発光部と、発光部から照射された光の反射光を受光可能な受光部とを有する反射型の光学式センサーからなる。もちろん、紙幅センサー56を透過型の光学式センサーとし、搬送経路を挟んだ両側の発光部と受光部との間を通る光を用紙Pが遮ることでその側端を検出する構成としてもよい。   The paper detection sensor 55 is, for example, a contact type or non-contact type switch type sensor provided at a predetermined position on the feeding path, and detects the leading edge of the fed paper P in the transport direction Y. The paper width sensor 56 is a non-contact sensor provided in the carriage 22 and detects a side edge in the scanning direction X that intersects the transport direction Y of the paper P. The paper width sensor 56 of this example includes a reflective optical sensor having a light emitting unit capable of emitting light and a light receiving unit capable of receiving reflected light of light emitted from the light emitting unit. Of course, the paper width sensor 56 may be a transmissive optical sensor, and the side edge of the paper P may be detected by blocking the light passing between the light emitting unit and the light receiving unit on both sides of the conveyance path.

また、リニアエンコーダー57は、キャリッジ22の移動量、つまりキャリッジモーター36の回転量に比例する数のパルスを有するパルス信号を出力する。また、エンコーダー58は、搬送モーター38の回転量に比例する数のパルスを有するパルス信号を出力する。   The linear encoder 57 outputs a pulse signal having a number of pulses proportional to the amount of movement of the carriage 22, that is, the amount of rotation of the carriage motor 36. The encoder 58 outputs a pulse signal having a number of pulses proportional to the rotation amount of the transport motor 38.

コントローラー30は、紙検出センサー55が用紙Pの先端を検知すると、PFカウンター76(図6参照)にエンコーダー58からのパルスのエッジ数を計数させる。このため、コントローラー30は、用紙Pの先端が紙検出センサー55により検知されたときの位置を原点とする用紙Pの搬送方向Yの位置(搬送位置)に相当する計数値をPFカウンター76から取得する。   When the paper detection sensor 55 detects the leading edge of the paper P, the controller 30 causes the PF counter 76 (see FIG. 6) to count the number of edges of the pulses from the encoder 58. For this reason, the controller 30 acquires from the PF counter 76 a count value corresponding to the position (transport position) in the transport direction Y of the paper P with the position when the leading edge of the paper P is detected by the paper detection sensor 55 as the origin. To do.

また、コントローラー30は、キャリッジモーター36を駆動させてキャリッジ22が走査方向に移動しているときに紙幅センサー56から入力する検出電圧を監視し、その検出電圧が所定の閾値を切ったときのキャリッジ位置(つまり図6に示すCRカウンター75の計数値)から用紙Pの側端位置を取得する。なお、本実施形態では、走査方向Xにおける紙幅センサー56の位置をキャリッジ位置としている。   The controller 30 drives the carriage motor 36 to monitor the detection voltage input from the paper width sensor 56 when the carriage 22 is moving in the scanning direction, and the carriage when the detection voltage falls below a predetermined threshold value. The side edge position of the paper P is acquired from the position (that is, the count value of the CR counter 75 shown in FIG. 6). In the present embodiment, the position of the paper width sensor 56 in the scanning direction X is the carriage position.

次に、図3を参照して、用紙Pへの印刷が行われる印刷部の構成を説明する。図3に示すように、印刷部においてキャリッジ22が走査される領域(「走査領域」ともいう。)と対向する位置には、走査方向Xに沿って延びる長尺状の支持台60が設けられている。支持台60には、搬送方向Yの上流側に位置する上流側支持面部61と、上流側支持面部61に対して搬送方向Yの下流側に位置する中段支持面部62と、中段支持面部62に対して搬送方向Yの下流側に位置する下流側支持面部63とを有している。   Next, the configuration of a printing unit that performs printing on the paper P will be described with reference to FIG. As shown in FIG. 3, a long support base 60 extending along the scanning direction X is provided at a position facing a region where the carriage 22 is scanned (also referred to as “scanning region”) in the printing unit. ing. The support base 60 includes an upstream support surface portion 61 positioned upstream in the transport direction Y, an intermediate support surface portion 62 positioned downstream of the upstream support surface portion 61 in the transport direction Y, and an intermediate support surface portion 62. On the other hand, it has a downstream support surface portion 63 located on the downstream side in the transport direction Y.

図3に示すように、各支持面部61〜63には、鉛直方向上側(図3の紙面手前側)に突出し、かつ搬送方向Yに沿って延びる第1リブ64、第2リブ65及び第3リブ66がそれぞれ走査方向Xに一定の間隔で複数形成されている。用紙P(図1参照)は、第1〜第3リブ64〜66に裏面を支持された状態で搬送方向Yに搬送される。なお、図3において、支持台60上には、走査方向Xにおいて印刷ヘッド23による液体(インク)の噴射が行われる最大領域である印刷領域PAが設定されている。   As shown in FIG. 3, the support surface portions 61 to 63 project from the first rib 64, the second rib 65, and the third rib projecting upward in the vertical direction (front side in FIG. 3) and extending along the transport direction Y. A plurality of ribs 66 are formed at regular intervals in the scanning direction X. The sheet P (see FIG. 1) is transported in the transport direction Y with the back surface supported by the first to third ribs 64 to 66. In FIG. 3, a print area PA that is the maximum area in which the liquid (ink) is ejected by the print head 23 in the scanning direction X is set on the support base 60.

リニアエンコーダー57は、走査方向Xに沿って一定ピッチで開口する多数のスリットを有する符号板57aと、投光部から出射されてスリットを通過した光を受光部で受光するセンサー57bとを有し、センサー57bからキャリッジモーター36の回転量に比例する数のパルスを有するパルス信号を出力する。   The linear encoder 57 includes a code plate 57a having a large number of slits that open at a constant pitch along the scanning direction X, and a sensor 57b that receives light emitted from the light projecting unit and passed through the slit by the light receiving unit. The sensor 57b outputs a pulse signal having a number of pulses proportional to the amount of rotation of the carriage motor 36.

図3に示すように、搬送方向Yに支持台60を挟んだ上流側と下流側には、それぞれ搬送ローラー対67と排出ローラー対68とが設けられている。用紙Pは、搬送モーター38の動力によって回転する両ローラー対67,68に挟持(ニップ)された状態で搬送方向Yに搬送される。なお、本実施形態では、給送モーター37、給送ローラー48,49、搬送モーター38、搬送ローラー対67及び排出ローラー対68等の搬送系の構成部品により、搬送部の一例が構成されている。   As shown in FIG. 3, a transport roller pair 67 and a discharge roller pair 68 are provided on the upstream side and the downstream side of the support base 60 in the transport direction Y, respectively. The paper P is transported in the transport direction Y while being nipped (niped) between both roller pairs 67 and 68 that are rotated by the power of the transport motor 38. In the present embodiment, an example of the transport unit is configured by the components of the transport system such as the feed motor 37, the feed rollers 48 and 49, the transport motor 38, the transport roller pair 67, and the discharge roller pair 68. .

用紙Pを搬送方向Yに印刷開始位置まで搬送する給送動作(頭出し動作)中に、コンピューター40は、キャリッジモーター36を駆動させてキャリッジ22を待機位置の一例としてのホーム位置HPから、用紙Pの側端を検出するための側端検出駆動の検出開始位置まで移動させる検出準備走査を行う。さらにコンピューター40は、給送動作の完了前に、キャリッジモーター36を駆動させてキャリッジ22を走査方向Xにホーム位置HPに向かう方向へ移動させることで、この移動過程で紙幅センサー56からの検出信号に基づいて用紙Pの側端位置を検出する側端検出駆動を開始させる。   During the feeding operation (cueing operation) for transporting the paper P to the printing start position in the transport direction Y, the computer 40 drives the carriage motor 36 to move the carriage 22 from the home position HP as an example of the standby position. Detection preparation scanning is performed to move to the detection start position of the side edge detection drive for detecting the side edge of P. Further, the computer 40 drives the carriage motor 36 to move the carriage 22 in the scanning direction X in the direction toward the home position HP before the completion of the feeding operation, so that the detection signal from the paper width sensor 56 in this moving process. The side edge detection driving for detecting the side edge position of the paper P is started based on the above.

シリアル式のプリンター11では、キャリッジ22を走査方向Xに往復動させながら印刷ヘッド23のノズルから用紙Pにインクを噴射する印字動作と、用紙Pを搬送方向Yに次の印字位置までの搬送量だけ搬送する送り動作とを交互に繰り返すことで、用紙Pに文書や画像等が印刷される。そして、キャリッジ22が走査方向Xへ1回移動するパスごとに印刷ヘッド23からインクの噴射を開始する印刷開始位置(噴射開始位置)の決定に、側端検出駆動で検出された用紙Pの側端位置が用いられる。このため、用紙Pに対する印刷画像の走査方向Xにおける位置ずれを抑制できる。   In the serial type printer 11, a printing operation in which ink is ejected from the nozzles of the print head 23 onto the paper P while the carriage 22 is reciprocated in the scanning direction X, and the transport amount of the paper P in the transport direction Y to the next print position. A document, an image, or the like is printed on the paper P by alternately repeating the feeding operation for conveying only the paper. The side of the paper P detected by the side edge detection drive is used to determine the print start position (ejection start position) at which ink ejection starts from the print head 23 for each pass in which the carriage 22 moves once in the scanning direction X. An end position is used. For this reason, it is possible to suppress the positional deviation in the scanning direction X of the print image with respect to the paper P.

次に図4を参照して、側端検出駆動の際の検出開始位置と検出終了位置の決定方法について説明する。なお、図4に示す用紙Pの幅方向(走査方向X)両側の側端のうちホーム位置側(図4では右側)の側端を「第1側端SE1」と呼び、用紙Pの幅方向に第1側端と反対側(図4では左側)の側端を「第2側端SE2」と呼ぶ。   Next, with reference to FIG. 4, a method for determining the detection start position and the detection end position in the side edge detection drive will be described. Note that the side edge on the home position side (the right side in FIG. 4) among the side edges on both sides in the width direction (scanning direction X) of the paper P shown in FIG. 4 is referred to as a “first side edge SE1”. Further, the side end opposite to the first side end (left side in FIG. 4) is referred to as “second side end SE2”.

本実施形態のプリンター11には、印刷モードとして、ドラフトモード(高速印刷モード)と高品質モード(低速印刷モード)、両面印刷モード等がある。プリンター11は、用紙Pの側端位置を検出する方法として印刷モードに応じて2種類の側端検出方法を採用している。第1の方法は、用紙Pの幅方向の第1側端SE1を検出して第1側端SE1の位置を決定する方法である。第2の方法は、用紙Pの幅方向の第1側端SE1と第2側端SE2の両方を検出し、両方の側端位置のデータを基に紙幅(用紙の幅方向長さ)及び第1側端SE1の位置を決定する方法である。   The printer 11 of the present embodiment has a draft mode (high-speed print mode), a high quality mode (low-speed print mode), a double-sided print mode, and the like as print modes. The printer 11 employs two types of side edge detection methods as a method for detecting the side edge position of the paper P depending on the print mode. The first method is a method of determining the position of the first side end SE1 by detecting the first side end SE1 in the width direction of the paper P. In the second method, both the first side edge SE1 and the second side edge SE2 in the width direction of the paper P are detected, and the paper width (the length in the width direction of the paper) and the second side edge data are detected based on the data of both side edge positions. This is a method for determining the position of the one side end SE1.

複数の印刷モードのうちどの印刷モードが第1の方法をとり、他のどの印刷モードが第2の方法をとるかの情報は、予め不揮発性メモリー43に記憶されている。コンピューター40は、ユーザーにより操作部15の操作により選択された又は印刷ジョブデータPD中の印刷条件情報で指定された印刷モードを基に、給送時に行われる用紙Pの側端検出駆動を第1の方法で実行するか、第2の方法で実行するかを決定する。   Information on which print mode of the plurality of print modes takes the first method and which other print mode takes the second method is stored in the nonvolatile memory 43 in advance. The computer 40 performs first side edge detection driving of the paper P performed at the time of feeding based on the print mode selected by the user through the operation unit 15 or specified by the print condition information in the print job data PD. Whether to execute by the method of (2) or the second method is determined.

本実施形態では、第1の方法と第2の方法において第1側端SE1の位置を検出する側端検出駆動の内容は同じなので、以下、第1の方法による側端検出駆動について詳しく説明する。   In the present embodiment, since the contents of the side edge detection driving for detecting the position of the first side edge SE1 are the same in the first method and the second method, the side edge detection driving by the first method will be described in detail below. .

紙幅センサー56にとって、上流側支持面部61は暗部領域となり、用紙Pは明部領域となる。紙幅センサー56のスポット光が用紙Pの側端を横切ったとき、紙幅センサー56の反射光の受光量が大きく変化し、受光量が低下して紙幅センサー56の検出信号値が閾値を横切ったときのCRカウンター75の計数値により、用紙Pの第1側端SE1の位置が検出される。   For the paper width sensor 56, the upstream support surface 61 is a dark area, and the paper P is a bright area. When the spot light of the paper width sensor 56 crosses the side edge of the paper P, the amount of reflected light of the paper width sensor 56 changes greatly, the amount of received light decreases, and the detection signal value of the paper width sensor 56 crosses the threshold value. The position of the first side edge SE1 of the paper P is detected based on the count value of the CR counter 75.

側端検出駆動の開始前に、キャリッジ22はホーム位置HPから用紙Pの幅中央位置xc(センター位置)と第1側端SE1(以下、単に「側端SE1」ともいう。)との間に位置する検出開始位置x0まで移動する。そして、キャリッジ22は検出開始位置x0から検出終了位置x1まで移動する。ここで、検出開始位置x0と検出終了位置x1は、コンピューター40により用紙サイズごとに求められる。コンピューター40は印刷ジョブデータPD中の印刷条件情報又はユーザーにより操作部15を操作して入力された印刷条件情報中の用紙サイズ情報から決まる用紙サイズに応じた紙幅に基づいて想定される第1側端SE1の位置(以下、「側端位置xe1」ともいう。)を求める。そして、コンピューター40は側端位置xe1から走査方向プラス側(図4では左側である反ホーム位置側)に所定距離(所定ステップ数)の位置に検出開始位置x0を設定し、走査方向マイナス側(図4では右側であるホーム位置側)に所定距離の位置に検出終了位置x1を設定する。ここで、所定距離は、想定と実際の各側端位置xe1との想定される最大誤差よりも大きく且つなるべく短い距離に設定されている。所定距離は、一例として5〜20mmの範囲内の所定値にしている。このため、例えばA5判以上のサイズの用紙Pでは、検出開始位置x0は、用紙Pの幅中央位置xcよりも側端SE1寄りに位置する。   Before the start of the side edge detection drive, the carriage 22 is located between the home position HP and the width center position xc (center position) of the paper P and the first side edge SE1 (hereinafter also simply referred to as “side edge SE1”). It moves to the detection start position x0. Then, the carriage 22 moves from the detection start position x0 to the detection end position x1. Here, the detection start position x0 and the detection end position x1 are obtained for each paper size by the computer 40. The computer 40 is assumed to be based on the paper width corresponding to the paper size determined from the printing condition information in the print job data PD or the paper size information in the printing condition information input by operating the operation unit 15 by the user. The position of the end SE1 (hereinafter also referred to as “side end position xe1”) is obtained. Then, the computer 40 sets the detection start position x0 at a predetermined distance (predetermined number of steps) from the side end position xe1 to the plus side in the scanning direction (on the opposite home position side on the left side in FIG. 4). In FIG. 4, the detection end position x1 is set at a predetermined distance on the right side (home position side). Here, the predetermined distance is set to a distance that is larger than the assumed maximum error between the assumed and actual side end positions xe1 and as short as possible. The predetermined distance is set to a predetermined value within a range of 5 to 20 mm as an example. For this reason, for example, in the paper P having a size of A5 or larger, the detection start position x0 is positioned closer to the side end SE1 than the width center position xc of the paper P.

また図4の上段に示すように、キャリッジ22の移動時の速度プロファイルは、加速領域と定速領域と減速領域とからなる。キャリッジ速度が定速度V1に到達するためには助走距離として加速距離Sa1が必要であり、定速度V1から減速して停止するまでに減速距離Sd1が必要である。このため、検出開始位置x0から検出終了位置x1までの第1移動距離によってキャリッジ22に設定できる最高速度Vmax(同図の例では定速度V1)は決まる。   As shown in the upper part of FIG. 4, the speed profile when the carriage 22 moves includes an acceleration area, a constant speed area, and a deceleration area. In order for the carriage speed to reach the constant speed V1, an acceleration distance Sa1 is required as a running distance, and a deceleration distance Sd1 is required before the carriage speed decelerates and stops. For this reason, the maximum speed Vmax (constant speed V1 in the example of the figure) that can be set for the carriage 22 is determined by the first movement distance from the detection start position x0 to the detection end position x1.

本実施形態では、キャリッジ22の速度プロファイルは、最高速度Vmaxの異なる複数種用意されている。この場合、最高速度Vmaxごとに最低限必要な移動距離(最短移動距離)(加速距離と減速距離との和)は決まる。コンピューター40は、キャリッジ22の移動距離が決まると、その移動距離以下で一番長い最短移動距離(最小駆動ステップ数)に対応する最高速度Vmaxが設定された速度プロファイルデータを選択し、その選択した速度プロファイルデータに従ってキャリッジモーター36を速度制御する。   In this embodiment, a plurality of types of speed profiles of the carriage 22 are prepared with different maximum speeds Vmax. In this case, the minimum required moving distance (shortest moving distance) (sum of acceleration distance and deceleration distance) is determined for each maximum speed Vmax. When the moving distance of the carriage 22 is determined, the computer 40 selects the speed profile data in which the maximum speed Vmax corresponding to the longest shortest moving distance (the minimum number of drive steps) that is less than the moving distance is set, and the selected The carriage motor 36 is speed controlled according to the speed profile data.

次に図4の下段に示すように、側端検出駆動を終えたキャリッジ22は、1パス目の印刷のためにキャリッジ22の移動を開始する。このキャリッジ22の加速過程の途中の印字開始位置p1で印字を開始する加速中印字が行われる本例では、印字開始位置p1に達したときに必要な目標速度に達している必要がある。この場合、キャリッジ22の加速開始位置p0は、p0=p1+Snp−Sa2で与えられる。ここで、p1は印字開始位置、Snpは加速中印字距離(ステップ数)、Sa2は定速度Vc(最大速度)に到達するために必要な加速距離(ステップ数)である。なお、本例では、加減速中も印字を行うが、定速域でのみ印字を行う構成としてもよい。   Next, as shown in the lower part of FIG. 4, the carriage 22 that has finished the side edge detection drive starts moving the carriage 22 for the first pass printing. In this example in which printing during acceleration in which printing is started at the printing start position p1 in the middle of the acceleration process of the carriage 22 is performed, it is necessary to reach a required target speed when the printing start position p1 is reached. In this case, the acceleration start position p0 of the carriage 22 is given by p0 = p1 + Snp−Sa2. Here, p1 is a printing start position, Snp is a printing distance during acceleration (number of steps), and Sa2 is an acceleration distance (number of steps) necessary to reach a constant speed Vc (maximum speed). In this example, printing is performed even during acceleration / deceleration, but printing may be performed only in a constant speed range.

図4の下段に示す加速開始位置p0が同図上段に示す検出終了位置x1よりも側端検出駆動時のキャリッジ進行方向側(同図では右側)に位置する(p0<x1)場合、加速開始位置p0を検出終了位置x1に設定する。このため、側端検出駆動の終了後の停止位置から、1パス目の印字のためのキャリッジ22の移動(走査動作)を開始することが可能になっている。   When the acceleration start position p0 shown in the lower part of FIG. 4 is located closer to the carriage traveling direction side (right side in FIG. 4) than the detection end position x1 shown in the upper part of the figure (p0 <x1), acceleration starts. The position p0 is set to the detection end position x1. For this reason, it is possible to start the movement (scanning operation) of the carriage 22 for the first pass printing from the stop position after the end of the side edge detection drive.

また、側端検出駆動時のキャリッジ速度V1(第1速度)は、コンピューター40が速度制御データVD(図6参照)の中から、第1移動距離であるステップ数(x0−x1)以内で駆動可能な最大速度を選択することで設定される。詳しくは、不揮発性メモリー43には、キャリッジ22の最大速度とその最大速度で駆動可能な最短移動距離(ステップ数)とがそれぞれ対応付けられた複数種の速度プロファイルデータ群を含む速度制御データVD(図6参照)が記憶されている。コンピューター40は速度制御データVDを参照して、ステップ数(x0−x1)以内の最短移動距離で駆動可能な最大速度をキャリッジ速度V1として選択する。そして、コンピューター40が、キャリッジモーター36を駆動し、キャリッジ22を検出開始位置x0から検出終了位置x1まで第1速度V1(定速度)で移動させることにより側端検出駆動が行われる。   The carriage speed V1 (first speed) at the time of side edge detection driving is driven by the computer 40 within the number of steps (x0-x1) that is the first movement distance from the speed control data VD (see FIG. 6). Set by selecting the maximum possible speed. Specifically, the nonvolatile memory 43 includes speed control data VD including a plurality of types of speed profile data groups in which the maximum speed of the carriage 22 and the shortest movement distance (number of steps) that can be driven at the maximum speed are associated with each other. (See FIG. 6) is stored. The computer 40 refers to the speed control data VD and selects the maximum speed that can be driven with the shortest moving distance within the number of steps (x0−x1) as the carriage speed V1. Then, the computer 40 drives the carriage motor 36 to move the carriage 22 from the detection start position x0 to the detection end position x1 at the first speed V1 (constant speed), thereby performing side edge detection drive.

次に図5を参照して、検出開始位置x0を変更する設定処理について説明する。キャリッジを検出開始位置x0から検出終了位置x1まで移動させる第1移動距離(x0−x1)をより長くして、キャリッジ速度V1(第1速度)よりも高速なキャリッジ速度V2(第2速度)で移動できる第2移動距離を確保することで、側端検出駆動の所要時間を短くできる場合がある。   Next, a setting process for changing the detection start position x0 will be described with reference to FIG. The first movement distance (x0−x1) for moving the carriage from the detection start position x0 to the detection end position x1 is made longer, and the carriage speed V2 (second speed) is higher than the carriage speed V1 (first speed). By securing the second movable distance that can be moved, the time required for the side edge detection drive may be shortened.

コンピューター40は、第1移動距離のステップ数(x0−x1)以内の最短移動距離で駆動可能な最大のキャリッジ速度V1(第1速度)を取得し、キャリッジ22が第1速度V1で第1移動距離のステップ数(x0−x1)を移動する際の第1所要時間T1を計算する。詳しくは、コンピューター40は、第1速度V1に対応する速度プロファイルデータを用いて加速時間Ta1と減速時間Td1を取得し、加速時間Ta1と減速時間Td1と定速時間Tc1との和を計算して第1所要時間T1を求める(T1=Ta1+Td1+Tc1)。定速時間Tc1は、Tc1=((x0−x1)−Sa1−Sd1)/V1で与えられる。ここで、Sa1は加速距離、Sd1は減速距離である。   The computer 40 obtains the maximum carriage speed V1 (first speed) that can be driven with the shortest movement distance within the number of steps (x0−x1) of the first movement distance, and the carriage 22 performs the first movement at the first speed V1. A first required time T1 for moving the number of distance steps (x0−x1) is calculated. Specifically, the computer 40 acquires the acceleration time Ta1 and the deceleration time Td1 using the speed profile data corresponding to the first speed V1, and calculates the sum of the acceleration time Ta1, the deceleration time Td1, and the constant speed time Tc1. First required time T1 is obtained (T1 = Ta1 + Td1 + Tc1). The constant speed time Tc1 is given by Tc1 = ((x0−x1) −Sa1−Sd1) / V1. Here, Sa1 is an acceleration distance, and Sd1 is a deceleration distance.

また、コンピューター40は、速度制御データVDを参照して、キャリッジ速度V1よりも高速なキャリッジ速度V2(第2速度)と、第2速度V2に対応する最短移動距離(最小駆動ステップ数SB)を選択する。コンピューター40は、キャリッジ22が第2速度V2で第2移動距離である最小駆動ステップ数SBを移動する際の第2所要時間T2を計算する。すなわち、コンピューター40は、図5の下段に示す第2速度V2に対応する最小駆動ステップ数SB(=Sa3+Sd3)の速度プロファイルのデータを参照し、加速時間Ta3及び減速時間Td3を取得し、両時間Ta3,Td3の和を計算して、第2所要時間T2を取得する(T2=Ta3+Td3)。   Further, the computer 40 refers to the speed control data VD, and determines the carriage speed V2 (second speed) higher than the carriage speed V1 and the shortest moving distance (minimum driving step number SB) corresponding to the second speed V2. select. The computer 40 calculates the second required time T2 when the carriage 22 moves at the second speed V2 and the minimum driving step number SB that is the second movement distance. That is, the computer 40 refers to the speed profile data of the minimum driving step number SB (= Sa3 + Sd3) corresponding to the second speed V2 shown in the lower part of FIG. 5, acquires the acceleration time Ta3 and the deceleration time Td3, The sum of Ta3 and Td3 is calculated to obtain the second required time T2 (T2 = Ta3 + Td3).

コンピューター40は、第1所要時間T1よりも第2所要時間T2の方が短ければ(T1>T2が成立すれば)、設定済みの検出終了位置x1までの移動距離を第2移動距離SB(最小駆動ステップ数)にすることが可能な第2検出開始位置x3を計算する。検出終了位置x1が図5の例に示す加速開始位置p0である場合、第2検出開始位置x3は、x3=p0+SBにより計算される。また、検出終了位置x1が当初の設定値である場合、第2検出開始位置x3は、x3=x1+SBにより計算される。そして、この第2検出開始位置x3が検出開始位置x0として設定され(x0=x3)、キャリッジ速度が第1速度V1から第2速度V2に変更される。   If the second required time T2 is shorter than the first required time T1 (if T1> T2 is established), the computer 40 determines the movement distance to the set detection end position x1 as the second movement distance SB (minimum). The second detection start position x3 that can be made the number of drive steps) is calculated. When the detection end position x1 is the acceleration start position p0 shown in the example of FIG. 5, the second detection start position x3 is calculated by x3 = p0 + SB. When the detection end position x1 is the initial set value, the second detection start position x3 is calculated by x3 = x1 + SB. The second detection start position x3 is set as the detection start position x0 (x0 = x3), and the carriage speed is changed from the first speed V1 to the second speed V2.

一方、第2の方法の場合は、上記の方法で第1側端SE1を検出する側端検出駆動を行った後、キャリッジ22を用紙Pの内側の第2側端近傍の検出開始位置x0まで移動させる。そして、この検出開始位置x0から用紙Pの外側の領域に設定された検出終了位置x1までキャリッジ22を走査方向Xのプラス側へ移動させることで、その移動途中で紙幅センサー56により第2側端SE2を検出する。なお、1パス目の印字動作を反ホーム位置側から開始する場合において、加速開始位置p0を検出終了位置x1に変更し、また第1速度V1よりも高速な第2速度V2に変更した方が、所要時間が短く済む場合は、移動距離を長くした第2移動距離SB(最小駆動ステップ数)に対応する第2検出開始位置x3を、同様に検出開始位置に設定する。   On the other hand, in the case of the second method, after performing the side edge detection driving for detecting the first side edge SE1 by the above method, the carriage 22 is moved to the detection start position x0 in the vicinity of the second side edge inside the paper P. Move. Then, the carriage 22 is moved to the plus side in the scanning direction X from the detection start position x0 to the detection end position x1 set in the area outside the paper P, so that the paper side sensor 56 causes the second side end to move in the middle of the movement. SE2 is detected. When the first pass printing operation is started from the non-home position side, the acceleration start position p0 is changed to the detection end position x1, and the second speed V2 higher than the first speed V1 is changed. If the required time is short, the second detection start position x3 corresponding to the second movement distance SB (minimum number of drive steps) with a longer movement distance is set as the detection start position in the same manner.

図6は、コンピューター40内に構築される端部検出制御に係る機能構成を示す。コンピューター40は、印刷制御及び端部検出制御を司る印刷制御部71、側端検出駆動における検出開始位置と検出終了位置とを設定する設定部72、用紙Pの給送動作と側端検出駆動との動作時期を一部重ね合わせる条件を演算する重ね合せ演算部73、検出処理部74、CRカウンター75、PFカウンター76及び記憶部77を備える。記憶部77は例えば不揮発性メモリー43の記憶領域の一部からなり、速度制御データVDを記憶している。   FIG. 6 shows a functional configuration related to edge detection control constructed in the computer 40. The computer 40 includes a print control unit 71 that controls printing control and edge detection control, a setting unit 72 that sets a detection start position and a detection end position in the side edge detection drive, a paper P feeding operation, and a side edge detection drive. Are provided with a superposition calculation unit 73, a detection processing unit 74, a CR counter 75, a PF counter 76, and a storage unit 77 for calculating a condition for partially superimposing the operation timings. The storage unit 77 is composed of a part of the storage area of the nonvolatile memory 43, for example, and stores speed control data VD.

速度制御データVDは、最短移動距離(最小駆動ステップ数)と最大速度とがそれぞれ対応付けられた複数種の速度プロファイルデータを含むデータ群からなる。コンピューター40の印刷制御部71は、速度制御データVDの中から第1移動距離(ステップ数(x0−x1))以下の最短移動距離のうち一番長い最短移動距離に対応する第1速度V1の速度プロファイルを選択する。速度プロファイルのデータは、例えばキャリッジ22の加速開始位置p0(原点)からの移動距離と目標速度とが対応付けられたテーブルデータからなる。コンピューター40は、キャリッジ22が単位距離(単位ステップ数)Δxを進む度にテーブルデータを参照してそのときの移動距離に対応する目標速度を取得し、その取得した目標速度を用いてキャリッジモーター36をフィードバック制御又はフィードフォワード制御により速度制御する。   The speed control data VD includes a data group including a plurality of types of speed profile data in which the shortest movement distance (minimum driving step number) and the maximum speed are associated with each other. The print control unit 71 of the computer 40 sets the first speed V1 corresponding to the longest shortest moving distance among the shortest moving distances within the first moving distance (number of steps (x0−x1)) from the speed control data VD. Select a speed profile. The speed profile data includes, for example, table data in which the movement distance of the carriage 22 from the acceleration start position p0 (origin) and the target speed are associated with each other. The computer 40 refers to the table data each time the carriage 22 advances the unit distance (number of unit steps) Δx, acquires the target speed corresponding to the moving distance at that time, and uses the acquired target speed to perform the carriage motor 36. Is controlled by feedback control or feedforward control.

また、印刷制御部71は、入力した印刷ジョブデータPDに基づきその印刷ジョブにおける最初のページであるか否かを管理したり、センサー51〜53からの信号に基づきユーザーが用紙Pを交換した可能性のある操作を検出したりする。この操作の検出は、本例では給送カセット16,17の取外し及び装着の検出をもって行われる。また、コンピューター40は、用紙Pの紙種と用紙サイズとのうち少なくとも用紙サイズに関する情報(以下「用紙サイズ情報」という。)を、印刷ジョブの指令と共に印刷条件情報のうちの一つして取得する。   Further, the print control unit 71 can manage whether or not it is the first page in the print job based on the input print job data PD, or can replace the paper P by the user based on signals from the sensors 51 to 53. To detect specific operations. In this example, this operation is detected by detecting the removal and attachment of the feeding cassettes 16 and 17. Further, the computer 40 acquires at least information regarding the paper size (hereinafter referred to as “paper size information”) of the paper type and the paper size of the paper P as one of the print condition information together with a print job command. To do.

本実施形態では、用紙Pに対する側端検出駆動は、一つの印刷ジョブにおいて一枚目の用紙Pだけに行う。これは、一つの印刷ジョブ中では、紙種、用紙サイズ及び給送元(給送カセット16,17又は給送トレイ19)が同じであり、かつ同じ給送経路で給送される用紙P間で給送時の斜行や幅方向の位置ずれはおおよそ同じになる傾向が高いからである。印刷制御部71は、給送される用紙Pが、印刷ジョブの一枚目の用紙であるか否かを管理する用紙フラグを備え、印刷ジョブ中の一枚目の用紙Pであるときには用紙フラグをオン(「1」)にし、その印刷ジョブ中の二枚目以降の用紙Pであるときに用紙フラグをオフ(「0」)にする。そして、印刷制御部71は、用紙フラグがオンのときにそのとき給送される用紙Pに対して側端検出駆動を行い、用紙フラグがオフであるときには側端検出駆動を行わない。   In the present embodiment, the side edge detection driving for the paper P is performed only on the first paper P in one print job. This is because the paper type, paper size, and feeding source (feed cassette 16, 17 or feed tray 19) are the same in one print job, and between the sheets P fed by the same feed path. This is because the skew in feeding and the positional deviation in the width direction tend to be approximately the same. The print control unit 71 includes a paper flag for managing whether or not the paper P to be fed is the first paper in the print job. When the paper P is the first paper P in the print job, the paper flag Is turned on (“1”), and the paper flag is turned off (“0”) when the second and subsequent sheets P are in the print job. Then, the print control unit 71 performs side edge detection driving for the paper P fed at that time when the paper flag is on, and does not perform side edge detection driving when the paper flag is off.

また、コンピューター40は、給送カセット16,17の取外しと装着とを検出したり、あるいは給送トレイ19上の用紙が取り除かれた後に再び用紙がセットされたことを検出したりすると、その検出後にその給送元から最初に給送される用紙Pを「不定」であるとする。ここで、「不定」とは、給送元における用紙のサイズが変更された可能性があり、それまでの用紙サイズに関する設定情報が実際の用紙Pと異なっている可能性があり、用紙サイズ情報が正しいと確証をもてない状態をいう。コンピューター40の印刷制御部71は、給送元の用紙Pが不定であるか否かを管理する不定フラグを給送元ごとに備える。印刷制御部71は、センサー51〜53のいずれかにより給送元で用紙Pの交換の可能性のある操作が検出された場合、その操作検出後の最初の用紙Pが給送されて側端検出駆動が行われるまでは、その給送元に対応する不定フラグをオン(「1」)とする。一方、印刷制御部71は、その操作検出後に実施される側端検出駆動によって検出された側端の位置から用紙サイズ情報が正しいことが分かると、その給送元に対応する不定フラグをオフ(「0」)にする。   Further, when the computer 40 detects the removal and installation of the feeding cassettes 16 and 17 or detects that the paper is set again after the paper on the feeding tray 19 is removed, the detection is performed. Assume that the paper P that is fed first from the feeding source later is “undefined”. Here, “indefinite” means that there is a possibility that the paper size at the feeding source has been changed, the setting information regarding the paper size up to that time may be different from the actual paper P, and the paper size information The state that cannot be confirmed that is correct. The print control unit 71 of the computer 40 includes an indeterminate flag for managing whether or not the sheet P of the feeding source is undefined for each feeding source. When one of the sensors 51 to 53 detects an operation with the possibility of replacing the paper P at one of the sensors 51 to 53, the print controller 71 feeds the first paper P after the operation is detected. Until the detection driving is performed, the indefinite flag corresponding to the feeding source is turned on ("1"). On the other hand, when the print control unit 71 finds that the paper size information is correct from the position of the side edge detected by the side edge detection drive performed after detecting the operation, the print control unit 71 turns off the indefinite flag corresponding to the feeding source ( “0”).

設定部72は、用紙が不定である場合、側端検出駆動における検出開始位置を、プリンター11で使用が想定される用紙サイズのうち走査方向Xの幅が最小のサイズの側端SE1も検出可能な用紙Pの幅方向の中央位置xc(以下、「幅中央位置xc」ともいう。)に設定し、検出終了位置を検出限界位置xeに設定する。ここで、検出限界位置xeとは、プリンター11で使用が想定される最大幅の用紙の側端SE1を検出可能な検出終了位置である。検出限界位置xeは、例えばホーム位置HPよりも走査方向Xに若干プラス側の位置又はホーム位置HPに設定されている。   When the paper is indefinite, the setting unit 72 can detect the detection start position in the side edge detection drive as well as the side edge SE1 having the smallest width in the scanning direction X among the paper sizes assumed to be used in the printer 11. A center position xc in the width direction of the sheet P (hereinafter also referred to as “width center position xc”) is set, and the detection end position is set to the detection limit position xe. Here, the detection limit position xe is a detection end position at which the side edge SE1 of the maximum width paper that is expected to be used in the printer 11 can be detected. For example, the detection limit position xe is set to a position slightly on the plus side in the scanning direction X from the home position HP or to the home position HP.

演算部81は、用紙サイズ情報に基づいて検出開始位置x0と検出終了位置x1とを演算する。演算部81は、用紙Pが「不定」でない場合、まず用紙サイズ情報から決まる用紙の幅から想定される側端位置xe1を、例えば用紙の幅中央位置xcから用紙の幅Wpの2分の1の値を差し引いて演算する(xe1=xc−Wp/2)。そして、演算部81は、側端位置xe1に対して走査方向プラス側に所定距離(所定ステップ数)の位置を検出開始位置x0として演算し、側端位置xe1に対して走査方向マイナス側に所定距離の位置を検出終了位置x1として演算する。ここで、所定距離には、検出開始位置x0が用紙Pの幅中央位置xcよりも側端SE1寄りの位置となる値、一例として5〜30mmの範囲内の所定値が設定されている。そして、設定部72がこれら検出開始位置x0と検出終了位置x1を、対象の用紙Pに対する側端検出駆動で使用する設定値として設定する。   The computing unit 81 computes the detection start position x0 and the detection end position x1 based on the paper size information. When the paper P is not “indefinite”, the calculation unit 81 first sets the side edge position xe1 assumed from the paper width determined from the paper size information, for example, from the paper width center position xc to a half of the paper width Wp. Is calculated by subtracting the value of (xe1 = xc−Wp / 2). Then, the calculation unit 81 calculates a position a predetermined distance (predetermined number of steps) on the plus side in the scanning direction with respect to the side end position xe1 as the detection start position x0, and sets the position on the minus side in the scanning direction with respect to the side end position xe1. The position of the distance is calculated as the detection end position x1. Here, the predetermined distance is set to a value at which the detection start position x0 is closer to the side edge SE1 than the width center position xc of the paper P, for example, a predetermined value within a range of 5 to 30 mm. Then, the setting unit 72 sets the detection start position x0 and the detection end position x1 as setting values used in the side edge detection driving for the target paper P.

また、演算部81は、キャリッジ22が1回走査する過程でインクを噴射する印字制御に用いられる1パス分の印刷データを解析し、印字開始位置p1(最初ドット位置)を取得し、印字開始位置p1に必要な速度までキャリッジ22を加速可能な加速開始位置p0(キャリッジ起動位置)を演算する。判定部82は、検出開始位置x0よりも加速開始位置p0の方が側端検出駆動時のキャリッジ進行方向側に位置するか(x0>p0が成立するか)否かを判定する。設定部72は、x0>p0が不成立の場合、当初の検出終了位置x1を維持し、x0>p0が成立した場合、加速開始位置p0を検出終了位置x1に設定する(x1=p0)。   Further, the calculation unit 81 analyzes print data for one pass used for print control for ejecting ink while the carriage 22 scans once, obtains a print start position p1 (first dot position), and starts printing. An acceleration start position p0 (carriage activation position) at which the carriage 22 can be accelerated to the speed required for the position p1 is calculated. The determination unit 82 determines whether or not the acceleration start position p0 is positioned closer to the carriage traveling direction during the side edge detection drive than the detection start position x0 (x0> p0 is satisfied). The setting unit 72 maintains the initial detection end position x1 when x0> p0 is not established, and sets the acceleration start position p0 as the detection end position x1 when x0> p0 is established (x1 = p0).

さらに演算部81は、速度制御データVDを参照して、検出開始位置x0と検出終了位置x1とから決まる第1移動距離(x0−x1)(ステップ数)の移動に使用できる最大のキャリッジ速度V1(第1速度)を取得し、キャリッジ22を第1速度V1で第1移動距離(x0−x1)だけ移動させるために必要な第1所要時間T1を演算する。さらに演算部81は、キャリッジ速度V1よりも高速なキャリッジ速度V2でキャリッジ22を移動させることが可能な最短移動距離SB(最小駆動ステップ数)を取得し、検出終了位置x1までキャリッジ22にこの最短移動距離SBを移動させる場合の第2検出開始位置x3を求める(x3=p0+SB又はx1+SB)。さらに演算部81は、キャリッジ22を第2速度V2で第2移動距離SBだけ移動させるために必要な第2所要時間T2を演算する。   Further, the calculation unit 81 refers to the speed control data VD, and the maximum carriage speed V1 that can be used for the movement of the first movement distance (x0−x1) (number of steps) determined from the detection start position x0 and the detection end position x1. (First speed) is acquired, and a first required time T1 required to move the carriage 22 at the first speed V1 by the first movement distance (x0-x1) is calculated. Further, the calculation unit 81 obtains the shortest moving distance SB (minimum number of driving steps) that can move the carriage 22 at a carriage speed V2 higher than the carriage speed V1, and sends the shortest distance to the carriage 22 up to the detection end position x1. A second detection start position x3 in the case of moving the movement distance SB is obtained (x3 = p0 + SB or x1 + SB). Further, the calculation unit 81 calculates a second required time T2 necessary for moving the carriage 22 at the second speed V2 by the second movement distance SB.

判定部82は、第1所要時間T1よりも第2所要時間T2の方が短いか(T1>T2が成立するか)否かを判定する。設定部72は、T1>T2が不成立の場合、当初の検出開始位置x0の設定を維持し、一方、T1>T2が成立した場合、第2検出開始位置x3を検出開始位置x0に設定する(x0=x3)。   The determination unit 82 determines whether the second required time T2 is shorter than the first required time T1 (whether T1> T2 is satisfied). The setting unit 72 maintains the initial detection start position x0 when T1> T2 is not established, and sets the second detection start position x3 as the detection start position x0 when T1> T2 is established ( x0 = x3).

重ね合せ演算部73は、用紙Pを印刷開始位置まで搬送(給送)する給送動作と、キャリッジ22の側端検出駆動との動作時期の少なくとも一部を重ね合わせるASF・CR重ね合わせ制御に必要な制御パラメーターを演算する。そして、印刷制御部71は、給送系のモーター37,38の駆動停止前における制御パラメーターに従う起動タイミングでキャリッジモーター36の駆動を開始することで、用紙Pの給送動作とキャリッジ22の側端検出駆動との動作時期が一部重ね合わせられる。   The superposition calculation unit 73 performs ASF / CR superposition control for superimposing at least part of the operation timing of the feeding operation of transporting (feeding) the paper P to the printing start position and the side edge detection drive of the carriage 22. Calculate the necessary control parameters. The printing control unit 71 starts driving the carriage motor 36 at the start timing according to the control parameters before stopping the driving of the feeding motors 37 and 38, thereby feeding the paper P and the side edge of the carriage 22. A part of the operation timing with the detection drive is overlapped.

特に本例では、キャリッジ22がホーム位置HPから検出開始位置x0まで移動する検出準備走査が、用紙Pの給送動作の途中で完了し、その検出準備走査の停止位置である検出開始位置x0からキャリッジ22が走査方向Xのマイナス側へ移動を開始して行われる側端検出駆動が、用紙Pが給送動作を終える前に開始される。そして、給送動作の終了前にキャリッジ22と共に移動を開始した紙幅センサー56が用紙Pの想定される側端SE1の位置に到達する前に用紙Pの給送動作が完了するタイミングになるように、キャリッジモーター36の駆動開始時期を規定する制御パラメーターが設定されている。このため、紙幅センサー56が用紙Pの側端SE1を通過するときには用紙Pは停止状態にある。例えば用紙Pのスキューや幅方向ずれ等による側端SEの位置ずれを考慮し、紙幅センサー56が側端SE1を検出する時に用紙が停止しているタイミングになる条件を満たす制御パラメーターが重ね合せ演算部73により演算される。   In particular, in this example, the detection preparation scan in which the carriage 22 moves from the home position HP to the detection start position x0 is completed in the middle of the feeding operation of the paper P, and from the detection start position x0 that is the stop position of the detection preparation scan. The side end detection driving performed when the carriage 22 starts moving to the minus side in the scanning direction X is started before the paper P finishes the feeding operation. The timing at which the feeding operation of the paper P is completed before the paper width sensor 56 that has started moving together with the carriage 22 before the feeding operation ends reaches the position of the assumed side edge SE1 of the paper P. In addition, a control parameter that defines the drive start timing of the carriage motor 36 is set. For this reason, when the paper width sensor 56 passes the side edge SE1 of the paper P, the paper P is in a stopped state. For example, in consideration of the positional deviation of the side edge SE due to the skew of the paper P, the width direction deviation, etc., the control parameter satisfying the condition that becomes the timing when the paper stops when the paper width sensor 56 detects the side edge SE1 is the overlap calculation. Calculated by the unit 73.

詳しくは、重ね合せ演算部73は、側端検出駆動時のキャリッジ22が検出開始位置x0から、用紙サイズ情報から想定される側端位置xe1の直前の位置まで移動するために必要な所要時間Tpを計算する。本例では、特に検出開始位置x0から想定上の側端位置xe1までの距離(ステップ数)よりも、用紙Pのスキュー等による側端位置xe1の最大ずれ量に少しのマージンを加えた距離分だけ短い距離Spを用いる。そして、重ね合せ演算部73は、キャリッジ22がそのときの移動距離(x0−x1)から決まる速度V1又はV2で距離Spを移動する際の所要時間Tpを計算する。さらに重ね合せ演算部73は、用紙の給送動作において用紙Pが印刷開始位置に到達する時点よりも所要時間Tpだけ手前の搬送位置を特定できる、用紙Pが印刷開始位置に達するまでの残り搬送量ΔFp(以下、「設定値ΔFp」とも記す。)を、制御パラメーターとして計算する。   Specifically, the overlap calculation unit 73 requires the time Tp necessary for the carriage 22 during the side edge detection drive to move from the detection start position x0 to a position immediately before the side edge position xe1 assumed from the sheet size information. Calculate In this example, in particular, a distance obtained by adding a small margin to the maximum deviation amount of the side edge position xe1 due to the skew of the paper P, etc., rather than the distance (number of steps) from the detection start position x0 to the assumed side edge position xe1. Only a short distance Sp is used. Then, the overlay calculation unit 73 calculates a required time Tp when the carriage 22 moves the distance Sp at a speed V1 or V2 determined from the moving distance (x0−x1) at that time. Further, the overlapping calculation unit 73 can specify the transport position that is a short time before the time point when the paper P reaches the print start position in the paper feeding operation, and the remaining transport until the paper P reaches the print start position. An amount ΔFp (hereinafter also referred to as “set value ΔFp”) is calculated as a control parameter.

そして、印刷制御部71が、給送動作中に用紙Pの残り搬送量ΔFを監視し、この残り搬送量ΔFが設定値ΔFpに達すると、側端検出駆動を開始するべくキャリッジモーター36の駆動を開始する。この結果、用紙Pの給送動作中にホーム位置HPから移動を開始して検出開始位置x0に到着したキャリッジ22は、その給送動作が完了する前に、検出開始位置x0から移動を開始して側端検出駆動が行われる。こうして側端検出駆動が給送動作を終える前に開始され、キャリッジ22が検出開始位置x0から距離Spを移動する間の期間で給送動作と側端検出駆動との動作時期が重ね合わされる。そして、キャリッジ22が検出開始位置x0から距離Spだけ移動した時点で、用紙Pの給送動作が完了し用紙Pは印刷開始位置に到達して停止する。この用紙Pの停止直後に紙幅センサー56が側端SE1と対向する位置を通過する。このため、紙幅センサー56による側端位置xe1の検出は、停止状態にある用紙Pに対して行われる。   Then, the print controller 71 monitors the remaining transport amount ΔF of the paper P during the feeding operation, and when the remaining transport amount ΔF reaches the set value ΔFp, the carriage motor 36 is driven to start the side edge detection drive. To start. As a result, the carriage 22 that starts to move from the home position HP during the feeding operation of the paper P and arrives at the detection start position x0 starts to move from the detection start position x0 before the feeding operation is completed. The side edge detection drive is performed. Thus, the side edge detection driving is started before the feeding operation is finished, and the operation timing of the feeding operation and the side edge detection driving is overlapped during the period during which the carriage 22 moves the distance Sp from the detection start position x0. When the carriage 22 moves from the detection start position x0 by the distance Sp, the paper P feeding operation is completed, and the paper P reaches the print start position and stops. Immediately after the stop of the paper P, the paper width sensor 56 passes through a position facing the side edge SE1. For this reason, the detection of the side edge position xe1 by the paper width sensor 56 is performed on the paper P in the stopped state.

CRカウンター75は、キャリッジ22が原点位置にあるときにリセットされ、キャリッジ22の往動時にリニアエンコーダー57からのパルス信号のエッジを検知する度に計数値に「1」を加算し、一方、その復動時にリニアエンコーダー57からのパル信号のエッジを検知する度に計数値から「1」を減算する。これにより、CRカウンター75はキャリッジ22の走査方向Xにおける位置(キャリッジ位置)に相当する計数値を出力する。   The CR counter 75 is reset when the carriage 22 is at the origin position, and adds “1” to the count value every time the edge of the pulse signal from the linear encoder 57 is detected when the carriage 22 moves forward. Every time a pal signal edge from the linear encoder 57 is detected during the backward movement, “1” is subtracted from the count value. As a result, the CR counter 75 outputs a count value corresponding to the position (carriage position) of the carriage 22 in the scanning direction X.

PFカウンター76は、用紙の先端が紙検出センサー55に検知された際の位置を基準(原点)とする用紙の位置を示す第1計数値と、用紙の搬送開始位置を原点とする用紙の搬送中の相対位置を示す第2計数値とを計数する。PFカウンター76は、紙検出センサー55が用紙Pの搬送方向Yの先端を検出した時にリセットされ、その後、エンコーダー58からのパルス信号に基づき例えばパルスエッジ数を計数することで、搬送方向Yにおける用紙Pの位置を示す第1計数値を計数する。また、PFカウンター76は、用紙Pの搬送開始位置でリセットされ、その後、エンコーダー58からのパルス信号に基づき例えばパルスエッジ数を計数することで、搬送中の用紙の搬送開始位置(原点)からの搬送距離を示す第2計数値を計数する。また、印刷制御部71は、ASF・CR重ね合わせ制御を行うとき、PFカウンター76の第2計数値に基づき給送中の用紙Pが印刷開始位置に搬送されるまでの残り搬送量ΔFを把握し、残り搬送量ΔFが制御パラメーターから決まる設定値ΔFpに達すると、側端検出駆動を開始するべくキャリッジモーター36の駆動を開始する。   The PF counter 76 conveys the sheet with the first count value indicating the position of the sheet relative to the position (origin) when the leading edge of the sheet is detected by the sheet detection sensor 55 and the sheet conveyance start position as the origin. The second count value indicating the relative position is counted. The PF counter 76 is reset when the paper detection sensor 55 detects the leading edge of the paper P in the transport direction Y, and then counts, for example, the number of pulse edges based on the pulse signal from the encoder 58, thereby making the paper in the transport direction Y. A first count value indicating the position of P is counted. Further, the PF counter 76 is reset at the conveyance start position of the paper P, and then counts, for example, the number of pulse edges based on the pulse signal from the encoder 58, so that the PF counter 76 is moved from the conveyance start position (origin) of the paper being conveyed. A second count value indicating the transport distance is counted. Further, when performing the ASF / CR superposition control, the print control unit 71 grasps the remaining transport amount ΔF until the paper P being fed is transported to the print start position based on the second count value of the PF counter 76. When the remaining transport amount ΔF reaches a set value ΔFp determined from the control parameter, the carriage motor 36 is started to start the side edge detection drive.

検出処理部74は、側端検出駆動の過程で、紙幅センサー56からの検出電圧が閾値を切ると、そのときのCRカウンター75の計数値から側端SE1の位置を求める。そして、検出処理部74は求めた第1側端SE1の位置データを印刷制御部71に送る。   When the detection voltage from the paper width sensor 56 falls below the threshold value during the side edge detection drive, the detection processing unit 74 obtains the position of the side edge SE1 from the count value of the CR counter 75 at that time. Then, the detection processing unit 74 sends the obtained position data of the first side end SE1 to the print control unit 71.

印刷制御部71は、側端SE1の位置データに基づいて印刷処理を実行する。側端SE1の位置データは、走査方向Xにおいて印刷ヘッド23がインクの噴射を開始する実際の印字開始位置の決定に使用される。例えば用紙Pの幅方向両側に所定幅の余白が設定されている場合、印刷制御部71は、側端SE1の位置データからその設定通りの余白が確保される印字開始位置を決定する。また、印刷ヘッド23により用紙Pからはみ出してインクが噴射されると、支持台60がインクで汚れることになる。このため、印刷制御部71は、側端SE1の位置データを基に、印刷データのうち用紙Pの外側にはみ出すことになる部分を特定し、そのはみ出し部分の少なくとも一部を印刷不能状態にマスクするマスク処理を行う。このマスク処理により、用紙Pの外側へのインクの噴射に起因する支持台60のインクによる汚染が低減される。   The print control unit 71 executes print processing based on the position data of the side end SE1. The position data of the side end SE1 is used to determine the actual print start position at which the print head 23 starts to eject ink in the scanning direction X. For example, when margins having a predetermined width are set on both sides in the width direction of the paper P, the print control unit 71 determines a print start position at which the set margin is secured from the position data of the side edge SE1. Further, when the ink is ejected from the paper P by the print head 23, the support base 60 is stained with ink. For this reason, the print control unit 71 specifies a part of the print data that will protrude outside the paper P based on the position data of the side edge SE1, and masks at least a part of the protruded part in an unprintable state. A mask process is performed. By this masking process, the contamination of the support table 60 due to the ink ejection to the outside of the paper P is reduced.

なお、図6において、印刷制御部71、設定部72、重ね合せ演算部73及び検出処理部74は、図11及び図12に示す端部検出制御プログラムを実行することによりコンピューター40内に構築される機能部分である。これらの機能部分はソフトウェアにより構成されてもよいし、ソフトウェアとハードウェアとの協働で構成されてもよいし、ハードウェアにより構成されてもよい。   In FIG. 6, the print control unit 71, the setting unit 72, the overlay calculation unit 73, and the detection processing unit 74 are constructed in the computer 40 by executing the edge detection control program shown in FIGS. Functional part. These functional parts may be configured by software, may be configured by cooperation of software and hardware, or may be configured by hardware.

次に、図7及び図8を参照して、第1方法で用紙Pの側端位置を検出する場合のキャリッジ22の駆動方法を簡単に説明する。ここで、図7は用紙が「不定」である場合の側端検出駆動を示し、図8は用紙が「不定」ではない場合の側端検出駆動を示す。まず、用紙が「不定」である場合の側端検出駆動について説明する。   Next, a method for driving the carriage 22 when the side edge position of the paper P is detected by the first method will be briefly described with reference to FIGS. Here, FIG. 7 shows the side edge detection drive when the paper is “undefined”, and FIG. 8 shows the side edge detection drive when the paper is not “undefined”. First, the side edge detection drive when the paper is “undefined” will be described.

図7(a)に示すように、キャリッジ22をホーム位置HPから紙幅センサー56が用紙Pの幅方向の中央位置に対向する幅中央位置xc(検出開始位置)まで移動させる検出準備走査が、用紙Pの給送動作の途中に終了する。つまり、キャリッジ22は用紙Pの給送動作の完了前に、幅中央位置xcに到着する。   As shown in FIG. 7A, the detection preparation scanning in which the carriage 22 is moved from the home position HP to the width center position xc (detection start position) where the sheet width sensor 56 faces the center position in the width direction of the sheet P is performed on the sheet. It ends in the middle of the feeding operation of P. That is, the carriage 22 arrives at the width center position xc before the completion of the sheet P feeding operation.

そして、検出開始位置xcに停止したキャリッジ22は、用紙Pの給送動作の完了前に、図7(b)に示すように、その検出開始位置xcからの移動を開始し、その後、紙幅センサー56は、給送動作が完了して停止状態の用紙Pの側端SE1と対向する位置を通過する。つまり、キャリッジ22を、図8(b)に示す用紙P上の検出開始位置x0から、用紙Pの側端SE1よりも外側の領域に位置する検出限界位置xeまで移動させる側端検出駆動が行われる。この側端検出駆動の過程で、紙幅センサー56の検出信号に基づいて用紙Pの側端SE1が検出される。この場合、どのサイズの用紙Pも側端SE1が幅中央位置xcと検出限界位置xeとの間に存在するので、紙幅センサー56により側端SE1が必ず検出される。   Then, the carriage 22 stopped at the detection start position xc starts moving from the detection start position xc as shown in FIG. 7B before the paper P feeding operation is completed, and then the paper width sensor. 56 passes through a position facing the side edge SE1 of the paper P in the stopped state after the feeding operation is completed. That is, the side edge detection drive for moving the carriage 22 from the detection start position x0 on the paper P shown in FIG. 8B to the detection limit position xe located in the region outside the side edge SE1 of the paper P is performed. Is called. In the process of detecting the side edge, the side edge SE1 of the paper P is detected based on the detection signal of the paper width sensor 56. In this case, since the side edge SE1 is present between the width center position xc and the detection limit position xe in any size paper P, the side edge SE1 is necessarily detected by the paper width sensor 56.

例えば給送カセット16,17のいずれかが、ユーザーにより取り外された後に装着された場合、それまでの用紙サイズと異なる用紙Pに交換された可能性がある。また、このような給送カセット16,17のいずれかの取出しと装着の操作が検出された場合に、ユーザーにその給送カセットに収容された用紙Pの用紙サイズを含む印刷媒体情報の入力を促すメッセージが表示部14に表示される。そして、ユーザーが操作部15を操作して給送カセット16,17のうち該当する一つに対応する用紙サイズを含む印刷媒体情報を入力する機能をプリンター11は備えている。ユーザーが用紙サイズの入力設定を間違えたり、給送カセット16,17にサイズを間違えて用紙Pをセットしたりする虞があるので、このような操作の検出後に最初に給送される用紙Pは「不定」となる。このような「不定」の場合でも、用紙Pの側端SE1を確実に検出できる。また、紙幅センサー56が用紙Pの側端SE1を検出するときは、用紙Pは停止状態にあるので、紙幅センサー56により側端SE1の位置検出精度が高まる。   For example, when one of the feeding cassettes 16 and 17 is mounted after being removed by the user, there is a possibility that it has been replaced with a paper P different from the paper size so far. In addition, when an operation of taking out and installing any of the feeding cassettes 16 and 17 is detected, the user is requested to input printing medium information including the paper size of the paper P stored in the feeding cassette. A prompt message is displayed on the display unit 14. The printer 11 has a function for the user to input print medium information including a paper size corresponding to one of the feeding cassettes 16 and 17 by operating the operation unit 15. Since there is a possibility that the user makes a mistake in the paper size input setting or sets the paper P in the paper feeding cassettes 16 and 17 with the wrong size, the first paper P to be fed after detecting such an operation is “Undetermined”. Even in such an “undefined” case, the side edge SE1 of the paper P can be reliably detected. Further, when the paper width sensor 56 detects the side edge SE1 of the paper P, the paper P is in a stopped state, so that the position detection accuracy of the side edge SE1 is increased by the paper width sensor 56.

次に、図8を参照して、用紙が「不定」ではない場合の側端検出駆動について説明する。図8(a)に示すように、キャリッジ22をホーム位置HPから検出開始位置x0まで移動させる検出準備走査は、用紙Pの給送動作中に終了する。つまり、キャリッジ22は用紙Pの給送動作完了前に、検出開始位置x0に到着する。   Next, with reference to FIG. 8, the side edge detection drive when the paper is not “undefined” will be described. As shown in FIG. 8A, the detection preparation scan for moving the carriage 22 from the home position HP to the detection start position x0 ends during the paper P feeding operation. That is, the carriage 22 arrives at the detection start position x0 before the paper P feeding operation is completed.

そして、図8(b)に示すように、キャリッジ22を、用紙P上の検出開始位置x0から用紙Pの側端SE1よりも外側の領域に位置する検出終了位置x1まで移動させる側端検出駆動が行われる。この側端検出駆動の過程で、紙幅センサー56の検出信号に基づいて用紙Pの側端SE1が検出される。このとき、検出準備走査によって検出開始位置x0に停止したキャリッジ22は、用紙Pの給送動作完了前にその検出開始位置x0から移動を開始する。その後、紙幅センサー56が用紙Pの側端SE1と対向する位置に到達する直前に、給送動作が完了して用紙Pは停止する。そのため、紙幅センサー56はその停止状態にある用紙Pに対して側端SE1の検出を行う。紙幅センサー56が側端SE1を検出するときには、用紙Pは停止状態にあるので、紙幅センサー56により側端SE1の位置検出精度が高まる。   Then, as shown in FIG. 8B, the side edge detection drive for moving the carriage 22 from the detection start position x0 on the paper P to the detection end position x1 located in an area outside the side edge SE1 of the paper P. Is done. In the process of detecting the side edge, the side edge SE1 of the paper P is detected based on the detection signal of the paper width sensor 56. At this time, the carriage 22 stopped at the detection start position x0 by the detection preparation scan starts to move from the detection start position x0 before the paper P feeding operation is completed. Thereafter, immediately before the paper width sensor 56 reaches a position facing the side edge SE1 of the paper P, the feeding operation is completed and the paper P stops. Therefore, the paper width sensor 56 detects the side edge SE1 for the paper P in the stopped state. When the paper width sensor 56 detects the side edge SE1, since the paper P is in a stopped state, the position detection accuracy of the side edge SE1 is increased by the paper width sensor 56.

また、図8(c)に示すように、用紙サイズ情報から決まる検出終了位置x1よりもキャリッジ22の1パス目の加速開始位置p0の方が、側端検出駆動時のキャリッジ22の進行方向側に位置している場合(x1>p0)、キャリッジ22が検出開始位置x0から加速開始位置p0(変更後の検出終了位置x1)まで移動する側端検出駆動が行われる。この場合、キャリッジ22は、側端検出駆動を終えて停止した加速開始位置p0から、1パス目の印字のための走査を開始することができる。   Further, as shown in FIG. 8C, the acceleration start position p0 of the first pass of the carriage 22 is more in the traveling direction side of the carriage 22 during the side end detection driving than the detection end position x1 determined from the paper size information. (X1> p0), the side edge detection driving is performed in which the carriage 22 moves from the detection start position x0 to the acceleration start position p0 (detection end position x1 after change). In this case, the carriage 22 can start scanning for the first pass printing from the acceleration start position p0 that has been stopped after the side edge detection drive.

図8(d)の例では、当初の検出開始位置x0から検出終了位置x1(又はp0)までの距離をこの距離に応じた速度V1で移動する際の第1所要時間T1よりも、速度V1よりも高速な速度V2で駆動可能な最短移動距離を確保できる検出開始位置x3からその最短移動距離を速度V2で移動する際の第2所要時間T2の方が短くなる。この場合、用紙サイズ情報から決まる検出開始位置x0から検出開始位置x3に設定が変更される。そして、図8(a)に示すように、キャリッジ22をホーム位置HPから検出開始位置x3まで移動させる検出準備走査が行われる。検出準備走査は、用紙Pの給送動作中に終了する。つまり、キャリッジ22は用紙Pの給送動作の完了前に、検出開始位置x3に到着する。   In the example of FIG. 8D, the speed V1 is higher than the first required time T1 when the distance from the initial detection start position x0 to the detection end position x1 (or p0) is moved at the speed V1 corresponding to this distance. The second required time T2 for moving the shortest movement distance at the speed V2 from the detection start position x3 that can secure the shortest movement distance that can be driven at the higher speed V2 becomes shorter. In this case, the setting is changed from the detection start position x0 determined from the paper size information to the detection start position x3. Then, as shown in FIG. 8A, detection preparation scanning is performed in which the carriage 22 is moved from the home position HP to the detection start position x3. The detection preparation scan ends during the feeding operation of the paper P. That is, the carriage 22 arrives at the detection start position x3 before the paper P feeding operation is completed.

そして、図8(d)に示すように、検出準備走査を終えて停止したキャリッジ22は、用紙Pの給送動作完了前に、その検出開始位置x0(=x3)から移動を開始し、速度V1よりも高速な速度V2で検出終了位置x1(=p0)に向かって移動する。この側端検出駆動の過程で、紙幅センサー56の検出信号に基づいて用紙Pの側端SE1が検出される。このとき、紙幅センサー56が用紙Pの側端SE1と対向する位置に到達する直前に、給送動作が完了して用紙Pは停止する。そのため、紙幅センサー56はその停止状態にある用紙Pに対して側端SE1の検出を行う。紙幅センサー56が側端SE1を検出するときには、用紙Pは停止状態にあるので、紙幅センサー56により側端SE1の位置検出精度が高まる。用紙サイズ情報から決まる検出開始位置x0から検出開始位置x3に設定が変更された図8(d)の例では、変更前の検出開始位置x0から移動を開始した際の第1所要時間T1よりも短い第2所要時間T2(<T1)で検出終了位置x1まで移動できる。なお、図8(b),(c)の例は、2つの所要時間T1,T2がT1≦T2を満たし、当初の検出開始位置x0が維持された場合を示す。   Then, as shown in FIG. 8D, the carriage 22 that has stopped after the detection preparation scan has started moving from its detection start position x0 (= x3) before the completion of the feeding operation of the paper P, and the speed It moves toward the detection end position x1 (= p0) at a speed V2 that is faster than V1. In the process of detecting the side edge, the side edge SE1 of the paper P is detected based on the detection signal of the paper width sensor 56. At this time, immediately before the paper width sensor 56 reaches the position facing the side edge SE1 of the paper P, the feeding operation is completed and the paper P stops. Therefore, the paper width sensor 56 detects the side edge SE1 for the paper P in the stopped state. When the paper width sensor 56 detects the side edge SE1, since the paper P is in a stopped state, the position detection accuracy of the side edge SE1 is increased by the paper width sensor 56. In the example of FIG. 8D in which the setting is changed from the detection start position x0 determined from the paper size information to the detection start position x3, the first required time T1 when the movement is started from the detection start position x0 before the change is made. It can move to the detection end position x1 in a short second required time T2 (<T1). 8B and 8C show a case where the two required times T1 and T2 satisfy T1 ≦ T2 and the initial detection start position x0 is maintained.

そして、図8(b)〜(d)に示すように、側端検出駆動を終えて停止したキャリッジ22は加速開始位置p0(=x1)に位置する。このため、例えば図8(c),(d)の例では、図8(e)に示すように、その停止した加速開始位置p0からキャリッジ22は走査方向プラス側へ移動を開始して用紙Pに対して印字を行う。このため、印字開始前の用紙Pに対して側端検出駆動を行った割に、用紙Pの給送が完了してから1パス目の印字が開始されるまでの待機時間が比較的短くなる。   Then, as shown in FIGS. 8B to 8D, the carriage 22 that has stopped after the side edge detection driving is positioned at the acceleration start position p0 (= x1). Therefore, for example, in the example of FIGS. 8C and 8D, as shown in FIG. 8E, the carriage 22 starts moving to the plus side in the scanning direction from the stopped acceleration start position p0, and the paper P Is printed. For this reason, the waiting time from the completion of the feeding of the paper P to the start of the first pass printing is relatively short for the side edge detection driving for the paper P before the start of printing. .

次に、図9、図10を参照して、側端検出駆動の際に側端の検出に失敗した場合の対処処理として実施される側端検出駆動について説明する。まず図9を参照して、実際の用紙の幅が、用紙サイズ情報から想定される幅よりも狭いために側端検出に失敗した場合に実施される側端検出駆動について説明する。   Next, with reference to FIG. 9 and FIG. 10, the side end detection drive that is performed as a coping process when the side end detection fails during the side end detection drive will be described. First, with reference to FIG. 9, a description will be given of side edge detection driving that is performed when the side edge detection fails because the actual paper width is narrower than the width assumed from the paper size information.

図9(a)に実線で示すようにキャリッジ22が当初の検出開始位置x0に到達した時点で、用紙Pが検知されておらず(非検出状態)、側端の検出に失敗した場合、キャリッジ22を当初の検出開始位置x0から幅中央位置xcまで移動させる。このとき、キャリッジ22を当初の検出終了位置x1に向かって移動させずに、検出開始位置x0から幅中央位置xcへ直接移動させる。次に、図9(b)に示すように、キャリッジ22を幅中央位置xcから検出終了位置x1(=p0)まで移動させる側端検出駆動が行われる。この側端検出駆動によってキャリッジ22の移動途中に用紙Pの側端SE1が当初の検出開始位置x0よりも手前の位置で検出される。なお、図9(b)における側端検出駆動において、キャリッジ22を検出限界位置xeまで移動させたり、当初の検出開始位置x0(但しx0≦p0)まで移動させたりしてもよい。   As indicated by a solid line in FIG. 9A, when the carriage 22 reaches the initial detection start position x0, the sheet P is not detected (non-detection state), and the detection of the side edge fails. 22 is moved from the initial detection start position x0 to the width center position xc. At this time, the carriage 22 is directly moved from the detection start position x0 to the width center position xc without moving toward the original detection end position x1. Next, as shown in FIG. 9B, side edge detection driving is performed to move the carriage 22 from the width center position xc to the detection end position x1 (= p0). By this side edge detection drive, the side edge SE1 of the paper P is detected at a position before the initial detection start position x0 while the carriage 22 is moving. In the side edge detection drive in FIG. 9B, the carriage 22 may be moved to the detection limit position xe, or may be moved to the initial detection start position x0 (where x0 ≦ p0).

次に、図10を参照して、実際の用紙Pの幅が、用紙サイズ情報から想定される幅よりも広いために側端検出に失敗した場合に実施される側端検出駆動について説明する。
図10(a)に示すように用紙Pの幅が想定よりも広い場合、同図に実線で示す検出開始位置x0からキャリッジ22を検出終了位置x1まで移動させる側端検出駆動が行われた際、このキャリッジ22の移動区間の全域に亘って紙幅センサー56による用紙Pの検知状態が継続する。この結果、側端SE1は検出されない。この場合、当初の検出終了位置x1よりも側端検出駆動時のキャリッジ22の進行方向(走査方向Xのマイナス方向)延長上の検出限界位置xeを検出終了位置に再設定する。このため、図10(b)に示すように、当初の検出終了位置x1を検出開始位置x0に設定し、キャリッジ22をこの検出開始位置x0から検出限界位置xeまで移動させる側端検出駆動を行う。この場合、キャリッジ22を当初の検出終了位置x1で一旦停止させてもよいが、側端SE1が検出されていない場合は当初の検出終了位置x1に到達してもキャリッジ22の移動をそのまま継続し、その移動中に検出終了位置x1を検出限界位置xeに変更する再設定を行って検出限界位置xeまで移動させる方法を採用することが好ましい。
Next, with reference to FIG. 10, a description will be given of the side edge detection driving that is performed when the side edge detection fails because the actual width of the paper P is wider than the width assumed from the paper size information.
As shown in FIG. 10A, when the width of the paper P is wider than expected, when the side edge detection driving for moving the carriage 22 from the detection start position x0 indicated by the solid line to the detection end position x1 is performed. The detection state of the paper P by the paper width sensor 56 continues throughout the entire movement section of the carriage 22. As a result, the side end SE1 is not detected. In this case, the detection limit position xe on the extension of the traveling direction (minus direction of the scanning direction X) of the carriage 22 at the time of the side edge detection driving from the initial detection end position x1 is reset to the detection end position. Therefore, as shown in FIG. 10B, the initial detection end position x1 is set to the detection start position x0, and the side edge detection drive for moving the carriage 22 from the detection start position x0 to the detection limit position xe is performed. . In this case, the carriage 22 may be temporarily stopped at the initial detection end position x1, but if the side end SE1 is not detected, the carriage 22 continues to move even if it reaches the initial detection end position x1. It is preferable to adopt a method of changing the detection end position x1 to the detection limit position xe during the movement and moving the detection end position x1 to the detection limit position xe.

次にプリンター11の作用を説明する。
コンピューター40が図11及び図12にフローチャートで示される端部検出制御プログラムを実行することにより、プリンター11内で行われる用紙端部検出制御について説明する。コンピューター40は印刷ジョブデータPDを受信してその中のコマンドに基づく印刷実行命令を受け付けると、プリンター11による印刷を開始する。コンピューター40は、印刷ジョブデータPD中の印刷条件データを基に印刷モード及び用紙サイズ等の必要な情報を取得する。コンピューター40は、取得した印刷モードに応じたキャリッジ22の速度制御データVDの中からその時々の移動距離に対応する一つの速度制御データを選択する。
Next, the operation of the printer 11 will be described.
Paper edge detection control performed in the printer 11 when the computer 40 executes the edge detection control program shown in the flowcharts of FIGS. 11 and 12 will be described. When the computer 40 receives the print job data PD and receives a print execution command based on the command in the print job data PD, the computer 40 starts printing by the printer 11. The computer 40 acquires necessary information such as the print mode and the paper size based on the print condition data in the print job data PD. The computer 40 selects one speed control data corresponding to the moving distance from the speed control data VD of the carriage 22 corresponding to the acquired printing mode.

ここで、センサー51,52が給送カセット16又は17の取り出しと装着とを検出するか、センサー53の検出状態が用紙無し状態から用紙有り状態に切り換わるかされ、ユーザーが用紙Pを交換した可能性がある場合、用紙Pの紙種及び用紙サイズがそれまで設定されていたものと異なる可能性がある。このように用紙Pに関する情報が設定と異なる可能性のある「不定」である場合、コンピューター40は、用紙フラグを不定である旨を示す「1」に設定する。一方、給送カセット16,17内の用紙Pに関する情報が、過去の側端検出駆動の結果から設定どおりである場合、用紙フラグは「0」になっている。例えば用紙フラグが「1」であるときに、用紙側端検出駆動が行われてそのとき検出された側端の位置が用紙情報に基づき想定される側端位置(想定側端位置)と誤差範囲内で一致した場合、そのときの用紙情報が正しいと認識され、以後、その用紙情報が不揮発性メモリー43に記憶される。一方、検出された側端の位置が用紙サイズ情報に基づき想定される側端位置(想定側端位置)と誤差範囲内で一致しなかった場合、その検出された側端位置から規定される用紙サイズが不揮発性メモリー43内の所定領域に記憶される。コンピューター40は、図11及び図12で示されるフローチャートに従って用紙端部検出制御を実行する。   Here, the sensor 51, 52 detects whether the feeding cassette 16 or 17 is removed and mounted, or the detection state of the sensor 53 is switched from a paper-out state to a paper-out state, and the user replaces the paper P. If there is a possibility, the paper type and paper size of the paper P may be different from those previously set. As described above, when the information regarding the paper P is “indefinite” which may be different from the setting, the computer 40 sets the paper flag to “1” indicating that it is indefinite. On the other hand, when the information regarding the paper P in the feeding cassettes 16 and 17 is as set from the result of the past side edge detection drive, the paper flag is “0”. For example, when the paper flag is “1”, the paper side edge detection drive is performed, and the side edge position detected at that time is assumed based on the paper information (assumed side edge position) and error range. If they match, the paper information at that time is recognized as correct, and the paper information is stored in the nonvolatile memory 43 thereafter. On the other hand, if the detected position of the side edge does not coincide with the estimated side edge position (assumed side edge position) based on the paper size information within the error range, the sheet defined from the detected side edge position The size is stored in a predetermined area in the nonvolatile memory 43. The computer 40 executes paper edge detection control according to the flowcharts shown in FIGS.

まずステップS11では、不定であるか否かを判定する。本例では、用紙フラグが不定である旨を示す「1」であるか否かを判定する。用紙フラグが不定である旨を示す「1」であれば、ステップS12に進み、不定でなければ(用紙フラグが「0」であれば)ステップS16に進む。   First, in step S11, it is determined whether or not it is indefinite. In this example, it is determined whether or not the paper flag is “1” indicating that the paper flag is indefinite. If it is “1” indicating that the paper flag is indefinite, the process proceeds to step S12, and if it is not indefinite (if the paper flag is “0”), the process proceeds to step S16.

ステップS12では、キャリッジ22をホーム位置HPから走査方向Xのプラス側へ移動させて幅中央位置xcに配置する。すなわち、コンピューター40はキャリッジモーター36を駆動させ、図7(a)に示すように、キャリッジ22をホーム位置HPから走査方向Xのプラス側へ移動させて幅中央位置xcに停止させる。   In step S12, the carriage 22 is moved from the home position HP to the plus side in the scanning direction X and disposed at the width center position xc. That is, the computer 40 drives the carriage motor 36 to move the carriage 22 from the home position HP to the plus side in the scanning direction X and stop it at the width center position xc as shown in FIG.

ステップS13では、用紙Pを印刷開始位置まで搬送する頭出しを行う。本実施形態では、ASF・CR重ね合わせ制御によって、用紙の給送動作と、キャリッジ22の検出開始位置x0への移動動作は双方の動作時期が一部重ね合わされる。用紙Pが印刷開始位置への頭出しが完了する前に、キャリッジ22は幅中央位置xcに配置される。   In step S13, cueing for transporting the paper P to the print start position is performed. In the present embodiment, both the operation timings of the sheet feeding operation and the movement operation of the carriage 22 to the detection start position x0 are partially overlapped by the ASF / CR overlay control. Before the paper P is completely positioned to the print start position, the carriage 22 is disposed at the width center position xc.

ステップS14では、キャリッジを検出限界位置まで移動させる側端検出駆動を行う。つまり、紙幅センサー56による側端の検出を行いつつ、キャリッジ22を幅中央位置xc(検出開始位置)から検出限界位置xe(検出終了位置)まで移動させる。本例では特に頭出しが完了する前にキャリッジ22の幅中央位置xcからの移動を開始させる。そして、用紙Pが印刷開始位置に頭出しされて停止した後、紙幅センサー56が用紙Pの側端を走査方向Xに通過するようになっている。   In step S14, side edge detection driving for moving the carriage to the detection limit position is performed. That is, the carriage 22 is moved from the width center position xc (detection start position) to the detection limit position xe (detection end position) while detecting the side edge by the paper width sensor 56. In this example, the movement of the carriage 22 from the width center position xc is started before the cueing is completed. Then, after the paper P is cued and stopped at the printing start position, the paper width sensor 56 passes the side edge of the paper P in the scanning direction X.

このとき、図7(b)に示すように、キャリッジ22を幅中央位置xcから走査方向Xのマイナス側へ検出限界位置xeまで移動させるので、用紙サイズ情報から想定されるサイズの用紙Pに限らず、その想定サイズよりも走査方向Xの幅が小さな用紙Ps、大きな用紙Plを含むどのサイズの用紙Pであってもその側端SE1の検出が可能である。   At this time, as shown in FIG. 7B, since the carriage 22 is moved from the width center position xc to the minus side in the scanning direction X to the detection limit position xe, it is limited to the sheet P having a size assumed from the sheet size information. In other words, the side edge SE1 can be detected for any size paper P including paper Ps whose width in the scanning direction X is smaller than its assumed size and paper P1 which is large.

ステップS15では、側端を検出できたか否かを判定する。側端を検出できた場合(肯定判定の場合)は当該ルーチンを終了する。一方、側端を検出できなかった場合(否定判定の場合)はステップS26に進む。   In step S15, it is determined whether the side edge has been detected. When the side end can be detected (in the case of affirmative determination), the routine ends. On the other hand, if the side end cannot be detected (in the case of negative determination), the process proceeds to step S26.

ステップS26では、エラー処理を行う。例えば用紙の給送過程で紙ジャム等が発生して用紙が無かったり、紙幅センサー56がインクや紙粉等で汚れていたりした場合には、側端が検出されない。この場合、コンピューター40は表示部14にエラーメッセージを表示させる。例えば紙ジャムエラーやセンサー検出エラーの旨のメッセージが表示される。   In step S26, error processing is performed. For example, when a paper jam or the like occurs in the paper feeding process and there is no paper, or the paper width sensor 56 is stained with ink or paper dust, the side edge is not detected. In this case, the computer 40 displays an error message on the display unit 14. For example, a message indicating a paper jam error or a sensor detection error is displayed.

次に用紙が不定でない場合の処理について説明する。
ステップS16で、検出開始位置x0と検出終了位置x1を設定する。この各位置x0,x1の設定処理は、コンピューター40が図12にフローチャートで示す設定ルーチンを実行することにより行われる。用紙が不定でない場合に最初に行われる設定ルーチンの詳細を、図12を参照して説明する。
Next, processing when the paper is not indefinite will be described.
In step S16, a detection start position x0 and a detection end position x1 are set. The setting process of the positions x0 and x1 is performed by the computer 40 executing a setting routine shown in the flowchart of FIG. Details of the setting routine that is performed first when the paper is not indefinite will be described with reference to FIG.

まずステップS31では、用紙サイズ情報から検出開始位置x0と検出終了位置x1とを設定する。
ステップS32では、ステップ数(x0−x1)以内で駆動可能な最大のキャリッジ速度V1を選択する。詳しくは、コンピューター40は不揮発性メモリー43から、キャリッジ22の最大速度とその最大速度で駆動するために必要な最短移動距離(ステップ数)とがそれぞれ対応付けられた速度プロファイル群のデータを参照して、ステップ数(x0−x1)以内の移動距離で駆動可能な最大のキャリッジ速度V1を選択する。
First, in step S31, a detection start position x0 and a detection end position x1 are set from the paper size information.
In step S32, the maximum carriage speed V1 that can be driven within the number of steps (x0-x1) is selected. Specifically, the computer 40 refers to the data of the speed profile group in which the maximum speed of the carriage 22 and the shortest movement distance (number of steps) necessary for driving at the maximum speed are associated with each other from the nonvolatile memory 43. Thus, the maximum carriage speed V1 that can be driven with a moving distance within the number of steps (x0-x1) is selected.

ステップS33では、キャリッジが速度V1でステップ数(x0−x1)を移動する際の第1所要時間T1を計算する。すなわち、コンピューター40は、速度V1に対応する速度プロファイルにおける加速時間Ta1と減速時間Td1と定速時間Tc1との和を計算する(T1=Ta1+Td1+Tc1)。ここで、定速時間Tc1は、加速距離Sa1と減速距離Sd1とを用いて、Tc1=((x0−x1)−Sa1−Sd1)/V1で与えられる。   In step S33, a first required time T1 for calculating the number of steps (x0−x1) at the speed V1 is calculated. That is, the computer 40 calculates the sum of the acceleration time Ta1, the deceleration time Td1, and the constant speed time Tc1 in the speed profile corresponding to the speed V1 (T1 = Ta1 + Td1 + Tc1). Here, the constant speed time Tc1 is given by Tc1 = ((x0−x1) −Sa1−Sd1) / V1 using the acceleration distance Sa1 and the deceleration distance Sd1.

ステップS34では、印刷データから印字開始位置p1を取得する。印字開始位置p1は、用紙Pの側端検出駆動が終わったキャリッジ22が1パス目の走査のために移動している途中で印刷ヘッド23がインクの噴射を開始する位置である。   In step S34, the print start position p1 is acquired from the print data. The print start position p1 is a position where the print head 23 starts to eject ink while the carriage 22 that has finished the side edge detection drive of the paper P is moving for the first pass scanning.

ステップS35では、印字開始位置p1から加速開始位置p0を取得する(p0=p1−Snp)。ここで、Snpは、加速開始位置p0から印字開始位置p1までのキャリッジ22の移動距離に相当するステップ数である(図4参照)。Snpは、加速距離Sa2から、加速中印字が行われるステップ数Sapを差し引いた値である(Snp=Sa2−Sap)。   In step S35, the acceleration start position p0 is acquired from the print start position p1 (p0 = p1-Snp). Here, Snp is the number of steps corresponding to the moving distance of the carriage 22 from the acceleration start position p0 to the print start position p1 (see FIG. 4). Snp is a value obtained by subtracting the number of steps Sap at which printing during acceleration is performed from the acceleration distance Sa2 (Snp = Sa2-Sap).

ステップS36では、加速開始位置p0が検出終了位置x1よりも側端検出駆動時のキャリッジ進行方向側に位置するか(p0<x1が成立するか)否かを判定する。p0<x1が成立すれば、ステップS37に進み、p0<x1が不成立であれば当該ルーチンを終了する。このルーチンを終了した場合、ステップS31で設定された検出開始位置x0と検出終了位置x1が採用されることになる。   In step S36, it is determined whether or not the acceleration start position p0 is positioned closer to the carriage traveling direction than the detection end position x1 during the side edge detection driving (whether p0 <x1 is satisfied). If p0 <x1 is established, the process proceeds to step S37, and if p0 <x1 is not established, the routine is terminated. When this routine is finished, the detection start position x0 and the detection end position x1 set in step S31 are adopted.

ステップS37では、キャリッジの加速開始位置p0を検出終了位置x1に設定する(x1=p0)。つまり、当初の検出終了位置x1を側端検出駆動時のキャリッジ進行方向に加速開始位置p0まで延長する。   In step S37, the acceleration start position p0 of the carriage is set to the detection end position x1 (x1 = p0). That is, the initial detection end position x1 is extended to the acceleration start position p0 in the carriage traveling direction during the side edge detection drive.

次のステップS38では、キャリッジ速度V1より高速なキャリッジ速度V2と、速度V2の最小駆動ステップ数SBを選択する。つまり、コンピューター40は速度プロファイル群のデータを参照して、最高速度V2に対応付けられた最小移動距離に相当する最小駆動ステップ数SBを取得する。   In the next step S38, a carriage speed V2 higher than the carriage speed V1 and a minimum drive step number SB of the speed V2 are selected. That is, the computer 40 refers to the data of the speed profile group and acquires the minimum drive step number SB corresponding to the minimum movement distance associated with the maximum speed V2.

次のステップS39では、キャリッジが速度V2で最小駆動ステップ数SBを移動する際の第2所要時間T2を計算する。すなわち、コンピューター40は、速度V2に対応する速度プロファイルデータを参照して取得した加速時間Ta3と減速時間Td3との和を計算する(T2=Ta3+Td3)。   In the next step S39, a second required time T2 for calculating the minimum driving step number SB at the speed V2 is calculated. That is, the computer 40 calculates the sum of the acceleration time Ta3 and the deceleration time Td3 acquired with reference to the speed profile data corresponding to the speed V2 (T2 = Ta3 + Td3).

ステップS40では、第1所要時間T1よりも第2所要時間T2の方が短いか(T1>T2が成立するか)否かを判定する。T1>T2が成立すればステップS41に進み、T1>T2が不成立であれば当該ルーチンを終了する。このルーチンを終了した場合、ステップS31で設定された検出開始位置x0とステップS37で設定された検出終了位置x1(=p0)が採用されることになる。   In step S40, it is determined whether or not the second required time T2 is shorter than the first required time T1 (whether T1> T2 is satisfied). If T1> T2 is satisfied, the process proceeds to step S41. If T1> T2 is not satisfied, the routine is ended. When this routine is ended, the detection start position x0 set in step S31 and the detection end position x1 (= p0) set in step S37 are adopted.

ステップS41では、キャリッジ速度V2と、検出開始位置x0=p0+SBとを再設定する。つまり、コンピューター40は、側端検出駆動の際のキャリッジ速度を速度V1から速度V2に変更するとともに、それまで設定されていた検出開始位置x0を検出開始位置(p0+SB)又は(x0+SB)に変更する。   In step S41, the carriage speed V2 and the detection start position x0 = p0 + SB are reset. That is, the computer 40 changes the carriage speed during the side edge detection drive from the speed V1 to the speed V2, and changes the detection start position x0 set so far to the detection start position (p0 + SB) or (x0 + SB). .

こうしてコンピューター40による図12に示すプログラムの実行により、検出開始位置と検出終了位置とが設定されると(図11におけるS16の処理が終わると)、図11におけるステップS17以降の処理が行われる。   Thus, when the detection start position and the detection end position are set by the execution of the program shown in FIG. 12 by the computer 40 (when the processing of S16 in FIG. 11 is completed), the processing from step S17 onward in FIG. 11 is performed.

図11に示すステップS17では、キャリッジ22をホーム位置HPから走査方向Xのプラス側へ移動させて検出開始位置x0に配置する。すなわち、コンピューター40はキャリッジモーター36を駆動させ、図8(a)に示すように、キャリッジ22をホーム位置HPから走査方向Xのプラス側へ移動させて検出開始位置x0に停止させる。このときの検出開始位置には、想定される用紙サイズから決まる側端位置から走査方向Xのプラス側に所定距離の位置の場合(図8(a)における検出開始位置x0)、図8(a)の検出開始位置x0よりも走査方向Xのプラス側の位置x3に設定された検出開始位置x0がある。   In step S17 shown in FIG. 11, the carriage 22 is moved from the home position HP to the plus side in the scanning direction X and arranged at the detection start position x0. That is, the computer 40 drives the carriage motor 36 to move the carriage 22 from the home position HP to the plus side in the scanning direction X and stop it at the detection start position x0 as shown in FIG. The detection start position at this time is a position at a predetermined distance on the plus side in the scanning direction X from the side end position determined from the assumed paper size (detection start position x0 in FIG. 8A), and FIG. There is a detection start position x0 set at a position x3 on the plus side in the scanning direction X from the detection start position x0.

ステップS18では、用紙Pを印刷開始位置まで搬送する頭出しを行う。
ステップS19では、キャリッジを設定速度で検出終了位置x1まで移動させる側端検出駆動を行う。つまり、紙幅センサー56による側端の検出を行いつつ、キャリッジ22を検出開始位置x0から走査方向Xのマイナス側へ向かって検出終了位置x1まで移動させる側端検出駆動を行う。
In step S18, cueing is performed for transporting the paper P to the print start position.
In step S19, side edge detection driving is performed to move the carriage to the detection end position x1 at a set speed. That is, side edge detection driving is performed to move the carriage 22 from the detection start position x0 toward the minus side in the scanning direction X to the detection end position x1 while detecting the side edge by the paper width sensor 56.

ステップS20では、側端を検出できたか否かを判定する。側端が検出された場合(肯定判定の場合)は当該ルーチンを終了する。一方、側端が検出されなかった場合(否定判定の場合)はステップS21に進む。ここで、用紙Pの幅が想定される幅より狭い場合(図9参照)は、ステップS19の側端検出駆動において検出開始位置x0の段階で用紙Pが検知されないため、検出開始位置x0の段階で側端が検出できないことが分かる。一方、用紙Pの幅が想定される幅より広い場合(図10参照)は、ステップS19の側端検出駆動において検出開始位置x0から検出終了位置x1までの移動区間の全域に亘って用紙Pが検知されたことをもって、側端が検出できないことが分かる。   In step S20, it is determined whether or not the side edge has been detected. When the side end is detected (in the case of an affirmative determination), the routine ends. On the other hand, when the side end is not detected (in the case of negative determination), the process proceeds to step S21. Here, when the width of the sheet P is narrower than the assumed width (see FIG. 9), the sheet P is not detected at the stage of the detection start position x0 in the side edge detection drive of step S19, and therefore the stage of the detection start position x0. It can be seen that the side edge cannot be detected. On the other hand, when the width of the paper P is wider than the assumed width (see FIG. 10), the paper P is spread over the entire movement section from the detection start position x0 to the detection end position x1 in the side edge detection drive in step S19. It can be seen that the side edges cannot be detected when detected.

ステップS21では、用紙を検知できたか否かを判定する。用紙Pを検知できた場合はステップS24に進み、一方、用紙Pを検知できなかった場合はステップS22に進む。用紙Pの幅が想定される幅より狭い場合(図9参照)は用紙を検知できないので、ステップS22に進む。一方、用紙Pの幅が想定される幅より広い場合(図10参照)は用紙を検知できるので、ステップS24に進む。   In step S21, it is determined whether or not the sheet has been detected. If the paper P can be detected, the process proceeds to step S24. If the paper P cannot be detected, the process proceeds to step S22. If the width of the paper P is narrower than the expected width (see FIG. 9), the paper cannot be detected, and the process proceeds to step S22. On the other hand, if the width of the paper P is wider than the assumed width (see FIG. 10), the paper can be detected, and the process proceeds to step S24.

ステップS22では、キャリッジ22を幅中央位置xcへ移動させる。つまり、ステップS21で用紙を検知できなかった場合は、用紙サイズ情報から決まる用紙の幅よりも実際の用紙の幅が狭く、検出するべき側端SE1が当初の検出開始位置x0よりも走査方向Xのプラス側にあることになる。このため、キャリッジ22を幅中央位置xcまで一旦移動させる。このとき、幅中央位置xcが側端検出の失敗後の新たな検出開始位置x0(=xc)に再設定される。なお、実際の用紙Pの幅が想定よりも狭いことに起因する失敗時は、ステップS19の側端検出駆動における検出開始位置x0の段階で用紙Pが検知されず失敗であることが分かるので、キャリッジ22が検出開始位置x0にある時点で側端検出駆動は中断される。このため、キャリッジ22は検出開始位置x0から幅中央位置xcへ直接移動する。   In step S22, the carriage 22 is moved to the width center position xc. In other words, if the sheet cannot be detected in step S21, the actual sheet width is narrower than the sheet width determined from the sheet size information, and the side edge SE1 to be detected is in the scanning direction X from the initial detection start position x0. Will be on the plus side of Therefore, the carriage 22 is once moved to the width center position xc. At this time, the width center position xc is reset to a new detection start position x0 (= xc) after the failure of the side edge detection. In the case of failure due to the actual width of the paper P being narrower than expected, it can be seen that the paper P is not detected at the stage of the detection start position x0 in the side edge detection drive of step S19, so that it is a failure. The side edge detection drive is interrupted when the carriage 22 is at the detection start position x0. For this reason, the carriage 22 moves directly from the detection start position x0 to the width center position xc.

ステップS23では、キャリッジ22を検出終了位置x1まで移動させる側端検出駆動を行う。つまり、紙幅センサー56による側端の検出を行いつつ、キャリッジ22を幅中央位置xcから走査方向Xのマイナス側へ向かって検出終了位置x1まで移動させる側端検出駆動を行う。   In step S23, side edge detection driving for moving the carriage 22 to the detection end position x1 is performed. That is, side edge detection driving is performed to move the carriage 22 from the width center position xc toward the minus side in the scanning direction X to the detection end position x1 while detecting the side edge by the paper width sensor 56.

よって、図9(a)に示すように、当初の検出開始位置x0で用紙Pが検知されていないために用紙Pの側端検出が失敗した場合は、キャリッジ22は当初の検出開始位置x0からどのサイズの用紙も側端の検出が可能な検出開始位置である幅中央位置xcまで移動する。そして、図9(b)に示すように、キャリッジ22をこの幅中央位置xcから当初の検出終了位置x1まで移動させる側端検出駆動が行われる。この側端検出駆動におけるキャリッジ22の移動途中で、紙幅センサー56が側端SE1と対向する位置を通過し、用紙Pの側端SE1が検出される。   Therefore, as shown in FIG. 9A, when the detection of the side edge of the paper P fails because the paper P is not detected at the initial detection start position x0, the carriage 22 moves from the initial detection start position x0. The paper of any size moves to the width center position xc, which is the detection start position where the side edge can be detected. Then, as shown in FIG. 9B, side edge detection driving for moving the carriage 22 from the width center position xc to the initial detection end position x1 is performed. During the movement of the carriage 22 in this side edge detection drive, the paper width sensor 56 passes through a position facing the side edge SE1, and the side edge SE1 of the paper P is detected.

一方、ステップS24では、キャリッジ22を検出限界位置xeまで移動させる側端検出駆動を行う。つまり、紙幅センサー56による側端の検出を行いつつ、キャリッジ22を当初の検出終了位置x1から走査方向Xのマイナス側へ向かって検出限界位置xeまで移動させる側端検出駆動を行う。   On the other hand, in step S24, side edge detection driving for moving the carriage 22 to the detection limit position xe is performed. That is, while detecting the side edge by the paper width sensor 56, side edge detection driving is performed to move the carriage 22 from the initial detection end position x1 toward the detection limit position xe toward the minus side in the scanning direction X.

よって、図10(a)に示すように、用紙サイズ情報から想定される用紙の幅よりも実際の用紙Pの幅が広い場合、側端検出駆動によってキャリッジ22が当初の検出開始位置x0から当初の検出終了位置x1まで移動する移動区間の全域に亘って用紙Pの検知状態が継続し、側端SE1を検出できない。この場合、そのときの検出終了位置x1よりも側端検出駆動時のキャリッジ22の進行方向(走査方向Xのマイナス方向)延長上に位置する検出限界位置xeが検出終了位置として再設定される。このため、図10(b)に示すように、キャリッジ22をさらに検出開始位置x0(=x1)から検出限界位置xeまで移動させる側端検出駆動を行う。この場合、例えばキャリッジ22が当初の検出終了位置x1に達しても、キャリッジ22の移動はそのまま継続し、その移動中に検出終了位置x1が検出限界位置xeに変更され、キャリッジ22は検出限界位置xeまで移動して停止する。そして、このキャリッジ22の延長された区間を移動する途中で、紙幅センサー56が側端SE1と対向する位置を通過し、用紙Pの側端SE1が検出される。   Therefore, as shown in FIG. 10A, when the actual width of the paper P is larger than the width of the paper assumed from the paper size information, the carriage 22 is initially moved from the initial detection start position x0 by the side edge detection drive. The detection state of the paper P continues throughout the entire moving section that moves to the detection end position x1, and the side edge SE1 cannot be detected. In this case, the detection limit position xe positioned on the extension of the traveling direction (minus direction of the scanning direction X) of the carriage 22 at the time of the side edge detection drive than the detection end position x1 at that time is reset as the detection end position. For this reason, as shown in FIG. 10B, side edge detection driving is performed to further move the carriage 22 from the detection start position x0 (= x1) to the detection limit position xe. In this case, for example, even if the carriage 22 reaches the initial detection end position x1, the movement of the carriage 22 continues as it is, and the detection end position x1 is changed to the detection limit position xe during the movement, and the carriage 22 is moved to the detection limit position x1. Move to xe and stop. Then, during the movement of the extended section of the carriage 22, the paper width sensor 56 passes through a position facing the side edge SE1, and the side edge SE1 of the paper P is detected.

ステップS25では、側端を検出できたか否かを判定する。側端を検出できた場合(肯定判定の場合)は当該ルーチンを終了する。一方、側端を検出できなかった場合(否定判定の場合)はステップS26に進む。   In step S25, it is determined whether or not the side edge has been detected. When the side end can be detected (in the case of affirmative determination), the routine ends. On the other hand, if the side end cannot be detected (in the case of negative determination), the process proceeds to step S26.

ステップS26では、エラー処理を行う。例えば用紙の給送過程で紙ジャム等が発生して用紙が無かったり、紙幅センサー56がインクや紙粉等で汚れていたりした場合には、側端が検出されない。この場合、コンピューター40は表示部14にエラーメッセージを表示させる。   In step S26, error processing is performed. For example, when a paper jam or the like occurs in the paper feeding process and there is no paper, or the paper width sensor 56 is stained with ink or paper dust, the side edge is not detected. In this case, the computer 40 displays an error message on the display unit 14.

以上詳述した本実施形態によれば、以下に示す効果を得ることができる。
(1)側端検出駆動の検出開始位置x0と検出終了位置x1とが用紙サイズ情報に基づき、想定される側端位置を挟んだ側端近傍位置にそれぞれ設定される。印刷データから取得される1パス目の印字を行うキャリッジ22の加速開始位置p0が、検出終了位置x1よりも外側(側端検出駆動時のキャリッジ進行方向側)である場合(p0<x1)、キャリッジ22の加速開始位置p0を検出終了位置x1に設定する。このため、側端検出駆動を終了して停止した位置(x1=p0)から1パス目の印字を行うためのキャリッジ22の加速を開始することができる。従って、側端検出駆動を終えた停止位置から加速開始位置p0へキャリッジ22を移動させる必要がないので、無駄な加速と減速を実施しなくて済む。よって、側端検出駆動を終えた後、速やかに1パス目の印字を開始することができる。
According to the embodiment described in detail above, the following effects can be obtained.
(1) The detection start position x0 and the detection end position x1 of the side edge detection drive are set to positions near the side edge across the assumed side edge position based on the paper size information. When the acceleration start position p0 of the carriage 22 for performing the first pass printing obtained from the print data is outside the detection end position x1 (the carriage traveling direction side during the side edge detection drive) (p0 <x1). The acceleration start position p0 of the carriage 22 is set to the detection end position x1. For this reason, acceleration of the carriage 22 for performing the first pass printing can be started from the position (x1 = p0) where the side edge detection driving is stopped and stopped. Therefore, there is no need to move the carriage 22 from the stop position after the side edge detection drive to the acceleration start position p0, so that unnecessary acceleration and deceleration can be omitted. Therefore, the first pass printing can be started immediately after the side edge detection driving is completed.

(2)検出開始位置x0(第1検出開始位置の一例)から検出終了位置x1までの第1移動距離(x0−x1)をキャリッジ22が第1移動距離から決まる第1速度V1(第1速度)で移動するために要する第1所要時間T1を求める。また、第1移動距離よりも長い第2移動距離SBにしうる第2検出開始位置x3(第2検出開始位置の一例)に第1検出開始位置x0を変更した場合に、キャリッジ22が第2検出開始位置から第2移動距離から決まる第2速度で検出終了位置まで移動するために要する第2所要時間が求められる。そして、第1所要時間T1と第2所要時間T2とが比較される。第2所要時間T2よりも第1所要時間T1の方が短い(T1<T2)場合は第1検出開始位置x0に保持される。一方、第2所要時間T2の方が第1所要時間T1よりも短い場合は第1検出開始位置x0から第2検出開始位置x3へ変更される。よって、第1検出開始位置x0から第2検出開始位置x3へ変更した場合、キャリッジ22が用紙Pの側端の検出のために第2検出開始位置x3から検出終了位置x1まで移動するために要する所要時間が短く済む。このため、側端の検出を実行した後、印刷データに基づく印刷を速やかに開始できる。   (2) The first speed V1 (first speed) in which the carriage 22 determines the first movement distance (x0-x1) from the detection start position x0 (an example of the first detection start position) to the detection end position x1 based on the first movement distance. ) To obtain the first required time T1 required for moving. Further, when the first detection start position x0 is changed to the second detection start position x3 (an example of the second detection start position) that can be set to the second movement distance SB longer than the first movement distance, the carriage 22 performs the second detection. A second required time required to move from the start position to the detection end position at a second speed determined from the second movement distance is obtained. Then, the first required time T1 and the second required time T2 are compared. When the first required time T1 is shorter than the second required time T2 (T1 <T2), the first detection start position x0 is held. On the other hand, when the second required time T2 is shorter than the first required time T1, the first detection start position x0 is changed to the second detection start position x3. Therefore, when the first detection start position x0 is changed to the second detection start position x3, the carriage 22 is required to move from the second detection start position x3 to the detection end position x1 in order to detect the side edge of the paper P. The time required is short. For this reason, after detecting the side edge, printing based on the print data can be started promptly.

(3)印刷開始位置に搬送(頭出し)された用紙Pに対してその側端位置の検出を実行する構成であり、用紙Pの給送動作が終わるまでにキャリッジ22はホーム位置HPから検出開始位置x0への移動を完了する。つまり、用紙Pの給送動作と、キャリッジ22を側端検出駆動の検出開始位置x0に移動させる準備走査動作との動作時期が一部重ね合わされる。例えば用紙Pの給送動作が終わった後に、キャリッジ22が検出開始位置x0に到達する構成であると、用紙Pの給送動作が終わってから、キャリッジ22が検出開始位置x0から移動を開始するまでに待ち時間が発生する。しかし、本実施形態では、用紙Pの給送動作の完了前にキャリッジ22の検出開始位置x0に到達しているので、側端位置の検出を速やかに開始し、次の印刷を比較的早期に開始できる。   (3) The configuration is such that the detection of the side edge position of the paper P transported (cueed) to the printing start position is performed, and the carriage 22 is detected from the home position HP before the paper P is fed. The movement to the start position x0 is completed. That is, the operation timings of the sheet P feeding operation and the preparation scanning operation for moving the carriage 22 to the detection start position x0 of the side edge detection drive are partially overlapped. For example, if the carriage 22 reaches the detection start position x0 after the paper P feeding operation is finished, the carriage 22 starts moving from the detection start position x0 after the paper P feeding operation is finished. Waiting time occurs. However, in the present embodiment, the detection start position x0 of the carriage 22 has been reached before the completion of the paper P feeding operation, so the detection of the side edge position is quickly started and the next printing is performed relatively early. You can start.

(4)用紙Pが印刷開始位置へ搬送される給送動作の途中に、キャリッジ22は、検出開始位置x0に到達し、その用紙Pの給送動作の完了前に検出開始位置x0からの移動を開始してその移動途中で側端位置xe1を検出する。このため、用紙Pの給送動作と、キャリッジ22の側端検出駆動とが動作時期の一部を重ね合わせた状態で実施される。よって、給送された用紙Pが停止してから、側端SE1の検出を終えたキャリッジ22によって1パス目の印字が開始されるまでの待ち時間が短く済む。   (4) During the feeding operation in which the paper P is transported to the print start position, the carriage 22 reaches the detection start position x0 and moves from the detection start position x0 before the completion of the paper P feeding operation. And the side end position xe1 is detected during the movement. For this reason, the feeding operation of the paper P and the side edge detection driving of the carriage 22 are performed in a state where a part of the operation timing is overlapped. Therefore, the waiting time from when the fed paper P is stopped until the first pass printing is started by the carriage 22 that has finished detecting the side edge SE1 can be shortened.

(5)キャリッジ22が検出開始位置x0から側端位置xe1の直前の位置に到達するまでの所要時間Tpが推定され、給送動作が終了するまでの残り搬送量ΔFが所要時間Tp分の値ΔFpになると、キャリッジモーター36の駆動を開始してキャリッジ22の検出開始位置x0からの移動を開始させる。よって、用紙Pの給送動作と側端検出駆動との動作時期を一部重ね合わせつつ、紙幅センサー56により用紙Pの停止状態の下で側端SE1を検出することができる。従って、用紙Pの側端位置xe1を比較的高い位置検出精度で検出できるうえ、用紙Pの給送を終えてから比較的早期に1パス目の印字を開始できる。   (5) The required time Tp until the carriage 22 reaches the position immediately before the side end position xe1 from the detection start position x0 is estimated, and the remaining transport amount ΔF until the feeding operation ends is a value corresponding to the required time Tp. When ΔFp is reached, the drive of the carriage motor 36 is started, and the movement of the carriage 22 from the detection start position x0 is started. Accordingly, the side edge SE1 can be detected by the paper width sensor 56 under the stopped state of the paper P while partially overlapping the operation timings of the paper P feeding operation and the side edge detection driving. Therefore, the side edge position xe1 of the paper P can be detected with relatively high position detection accuracy, and the first pass printing can be started relatively early after the paper P is fed.

(6)給送元の用紙を交換する操作が検出された後の最初の用紙Pの給送であって、用紙サイズ情報が間違っている可能性のある「不定」である場合、キャリッジ22を最小幅の用紙Pの側端SE1を検出可能な用紙Pの幅中央位置xc(第3検出開始位置の一例)まで移動させる。そして、幅中央位置xcからキャリッジ22の移動を開始させて側端検出駆動を行う。よって、用紙サイズ情報が「不定」であることが原因で、用紙サイズ情報と実際の用紙サイズとが異なることに起因し、側端検出駆動で側端位置が検出されない失敗の頻度を低減できる。   (6) In the case of feeding the first paper P after the operation to replace the paper at the feeding source is detected and the paper size information is “indefinite” which may be wrong, the carriage 22 is The side edge SE1 of the minimum width paper P is moved to a width center position xc of the detectable paper P (an example of a third detection start position). Then, the movement of the carriage 22 is started from the width center position xc to perform side edge detection driving. Therefore, it is possible to reduce the frequency of failure in which the side edge position is not detected by the side edge detection driving due to the difference between the paper size information and the actual paper size because the paper size information is “undefined”.

(7)検出開始位置で用紙Pが非検出状態であって用紙Pの側端位置xe1の検出に失敗した場合、キャリッジ22を走査方向Xに最小幅の用紙の側端SE1を検出可能な幅中央位置xc(第3検出開始位置の一例)まで移動させる。そして、幅中央位置xcからキャリッジ22の移動が開始されて側端位置xe1が検出される。よって、当初の検出開始位置x0からの移動では側端SE1を検出できない過小な幅の用紙Pであっても、キャリッジ22を幅中央位置xcから移動を開始させて側端検出駆動を行うことで、その用紙Pの側端位置xe1を検出することができる。   (7) When the sheet P is in the non-detection state at the detection start position and the detection of the side edge position xe1 of the sheet P has failed, the carriage 22 can detect the side edge SE1 of the minimum width sheet in the scanning direction X. Move to the center position xc (an example of a third detection start position). Then, the movement of the carriage 22 is started from the width center position xc, and the side end position xe1 is detected. Therefore, even if the paper P has an excessively small width that cannot be detected by the movement from the initial detection start position x0, the movement of the carriage 22 is started from the width center position xc to perform the side edge detection driving. The side edge position xe1 of the paper P can be detected.

(8)キャリッジ22が検出開始位置x0から検出終了位置x1まで移動する間に亘って、紙幅センサー56が用紙Pを検出する状態が継続し用紙Pの側端SE1の検出に失敗した場合、検出終了位置x1が側端検出駆動時のキャリッジ22の進行方向延長上の位置に変更される。よって、当初の検出終了位置x1までのキャリッジ22の移動では側端を検出できない過大な幅の用紙Pであっても、キャリッジ22が側端検出駆動時のキャリッジ進行方向延長上の位置に変更された検出終了位置(本例では検出限界位置xe)まで移動することで、その用紙Pの側端位置xe1を検出することができる。   (8) While the carriage 22 moves from the detection start position x0 to the detection end position x1, the state in which the paper width sensor 56 continues to detect the paper P continues and the detection of the side edge SE1 of the paper P fails. The end position x1 is changed to a position on the extension in the traveling direction of the carriage 22 during the side edge detection drive. Therefore, even if the paper P has an excessive width that cannot be detected by the movement of the carriage 22 up to the initial detection end position x1, the carriage 22 is changed to a position on the extension of the carriage traveling direction during the side edge detection drive. The side end position xe1 of the paper P can be detected by moving to the detection end position (in this example, the detection limit position xe).

なお、上記実施形態は以下のような形態に変更することもできる。
・側端検出駆動時にキャリッジ22を検出開始位置x0から検出終了位置x1まで移動させる途中で側端を検出した際に、検出された側端位置xe1と加速開始位置p0とを比較し、その検出された側端位置xe1が加速開始位置p0を過ぎていれば(xe1≦p0)、その検出時点でキャリッジ22を停止させてもよい。また、このとき、検出された側端位置xe1が加速開始位置p0を過ぎていなければ(xe1>p0)、そのままキャリッジ22の移動を継続し、キャリッジ22を加速開始位置p0に停止させることが好ましい。この構成によれば、キャリッジ22を常に検出終了位置x1まで移動させる構成に比べ、側端検出駆動をより早期に停止し、その停止位置からキャリッジ22の1パス目の移動を開始して1パス目の印字をより早期に開始することができる。なお、上記の制御を、用紙サイズ情報が不定の場合の側端検出駆動(S14)及び側端の検出に失敗した場合の側端検出駆動(S23,S24)において実施してもよい。これら場合も同様の効果が得られる。
In addition, the said embodiment can also be changed into the following forms.
When the side edge is detected while moving the carriage 22 from the detection start position x0 to the detection end position x1 during the side edge detection drive, the detected side edge position xe1 is compared with the acceleration start position p0, and the detection is performed. If the determined side end position xe1 has passed the acceleration start position p0 (xe1 ≦ p0), the carriage 22 may be stopped at the time of detection. At this time, if the detected side end position xe1 does not pass the acceleration start position p0 (xe1> p0), it is preferable to continue the movement of the carriage 22 and stop the carriage 22 at the acceleration start position p0. . According to this configuration, compared to the configuration in which the carriage 22 is always moved to the detection end position x1, the side edge detection driving is stopped earlier, and the first pass of the carriage 22 is started from the stop position to perform one pass. Eye printing can be started earlier. The above control may be performed in the side edge detection drive (S14) when the paper size information is indefinite and the side edge detection drive (S23, S24) when the side edge detection fails. In these cases, the same effect can be obtained.

・実際の用紙Pの幅が想定より狭いために側端位置の検出に失敗した場合に変更される第3検出開始位置は、用紙Pの幅中央位置xcに限定されない。プリンター11で使用が想定される最小幅の定形サイズの印刷媒体(例えば定形紙)の側端を検出可能な検出開始位置であれば足りる。例えば幅中央位置xcよりも1〜20mmの範囲内の所定値だけホーム位置HP側の位置に第3検出開始位置を設定してもよい。また、失敗時に検出開始位置x0から幅中央位置xcに向かって移動する過程で紙幅センサー56により側端SE1を検出し、その検出された側端位置xe1よりも走査方向プラス側に所定距離(例えば1〜20mm)の位置を第3検出開始位置に設定してもよい。この場合、キャリッジ22を常に幅中央位置xcに移動させる構成に比べ、第3検出開始位置が幅中央位置xcよりホーム位置側にあるときは、キャリッジ22を当初の検出開始位置x0から第3検出開始位置まで移動させる所要時間が相対的に短く済むため、1パス目の印字をより早期に開始することができる。   The third detection start position that is changed when the detection of the side edge position fails because the actual width of the paper P is narrower than expected is not limited to the width center position xc of the paper P. A detection start position that can detect the side edge of a standard-size print medium (for example, a standard paper) having a minimum width assumed to be used by the printer 11 is sufficient. For example, the third detection start position may be set at a position on the home position HP side by a predetermined value within a range of 1 to 20 mm from the width center position xc. In addition, the side edge SE1 is detected by the paper width sensor 56 in the process of moving from the detection start position x0 toward the width center position xc in the case of failure, and a predetermined distance (for example, on the plus side in the scanning direction from the detected side edge position xe1). The position of 1 to 20 mm) may be set as the third detection start position. In this case, compared to the configuration in which the carriage 22 is always moved to the width center position xc, when the third detection start position is closer to the home position than the width center position xc, the carriage 22 is moved from the initial detection start position x0 to the third detection position. Since the time required to move to the start position is relatively short, the first pass printing can be started earlier.

・用紙の幅が想定より狭いために側端位置の検出に失敗した場合に変更される検出終了位置は当初の検出開始位置x0に限定さない。例えば検出開始位置x0よりも1〜20mmの範囲内の所定値だけホーム位置HP側の位置に検出終了位置を設定してもよい。また、失敗時に検出開始位置x0から幅中央位置xcに向かって移動する過程で紙幅センサー56により側端SE1を検出してもよい。また、このとき検出された側端位置xe1を基にこの側端位置xe1よりも走査方向プラス側に所定距離の位置に検出開始位置を再設定し、この側端位置xe1よりも走査方向マイナス側に所定距離の位置に検出終了位置を再設定してもよい。但し、検出終了位置と加速開始位置とを比較し、検出終了位置よりも加速開始位置の方が検出駆動時のキャリッジ進行方向側に位置する場合は、加速開始位置を検出終了位置に再設定する。この場合、幅中央位置xcを検出開始位置に再設定する構成に比べ、多くのケースで再設定した検出開始位置までの移動距離及び再設定した検出開始位置から検出終了位置までの移動距離が相対的に短く済むので、1パス目の印刷をより早期に開始することができる。   The detection end position that is changed when the detection of the side edge position fails because the paper width is narrower than expected is not limited to the initial detection start position x0. For example, the detection end position may be set to a position on the home position HP side by a predetermined value within a range of 1 to 20 mm from the detection start position x0. Further, the side edge SE1 may be detected by the paper width sensor 56 in the process of moving from the detection start position x0 toward the width center position xc in the case of failure. Further, based on the side end position xe1 detected at this time, the detection start position is reset to a position a predetermined distance on the plus side in the scanning direction from the side end position xe1, and the minus side in the scanning direction from the side end position xe1. Alternatively, the detection end position may be reset to a position at a predetermined distance. However, the detection end position and the acceleration start position are compared, and if the acceleration start position is located closer to the carriage traveling direction during detection driving than the detection end position, the acceleration start position is reset to the detection end position. . In this case, compared to the configuration in which the width center position xc is reset to the detection start position, the movement distance to the detection start position reset in many cases and the movement distance from the reset detection start position to the detection end position are relative. Therefore, the first pass printing can be started earlier.

・実際の用紙の幅が想定より広いために側端検出に失敗した場合に変更される検出終了位置は検出限界位置xeに限定さない。プリンター11で使用が想定される最大幅の定形サイズの印刷媒体(例えば定形紙)の側端を検出可能な検出終了位置であれば足りる。例えばホーム位置HPよりも1〜20mmの範囲内の所定値だけ印刷領域PA側に寄った位置に検出限界位置を設定してもよい。   The detection end position that is changed when the side edge detection fails because the actual paper width is wider than expected is not limited to the detection limit position xe. A detection end position that can detect the side edge of a standard-size print medium (for example, a standard paper) having the maximum width expected to be used in the printer 11 is sufficient. For example, the detection limit position may be set at a position close to the print area PA by a predetermined value within a range of 1 to 20 mm from the home position HP.

・前記実施形態において、用紙Pの給送動作と側端検出駆動との動作時期を一部重ね合わせる重ね合わせ制御は実施しなくてもよい。但し、用紙の給送動作を終えるまでに、キャリッジ22がホーム位置HPから検出開始位置x0への到達を完了するのが好ましい。例えば用紙Pの給送動作を終えると、これとほぼ同時にキャリッジ22の検出開始位置x0からの移動を開始させるシーケンスを実行する構成でもよい。なお、ホーム位置HPから移動を開始したキャリッジ22の検出開始位置x0への到着が、用紙Pの給送動作の完了時点よりも少し遅れても構わない。   In the embodiment, the overlay control for partially overlapping the operation timings of the sheet P feeding operation and the side edge detection drive may not be performed. However, it is preferable that the carriage 22 completes the arrival from the home position HP to the detection start position x0 before the paper feeding operation is completed. For example, when the feeding operation of the paper P is completed, a sequence for starting the movement of the carriage 22 from the detection start position x0 may be executed almost simultaneously. The arrival of the carriage 22 that has started to move from the home position HP to the detection start position x0 may be slightly delayed from the time when the paper P feeding operation is completed.

・前記実施形態において、側端検出駆動と給送動作との動作時期を一部重ね合わせるタイミングは、紙幅センサー56が側端位置に到達する直前に、給送動作が完了するタイミングに限定されない。例えば紙幅センサー56が、給送動作中の用紙Pに対して側端SE1を検出するタイミングでもよい。   In the embodiment, the timing at which the operation timings of the side edge detection drive and the feeding operation are partially overlapped is not limited to the timing at which the feeding operation is completed immediately before the paper width sensor 56 reaches the side edge position. For example, the timing at which the paper width sensor 56 detects the side edge SE1 for the paper P during the feeding operation may be used.

・前記実施形態において、一つの印刷ジョブ中の最初のページのみ側端検出駆動を行う構成に替え、全ページ又は所定枚数おきのページについて側端検出駆動を行ってもよい。
・用紙におけるキャリッジの待機位置側の第1側端位置だけを検出する第1の方法のみを採用してもよいし、用紙におけるキャリッジの走査方向両側の第1及び第2側端位置を検出する第2の方法のみを採用してもよい。
In the above-described embodiment, the side edge detection driving may be performed for all pages or every predetermined number of pages instead of the configuration in which the side edge detection driving is performed only for the first page in one print job.
Only the first method of detecting only the first side end position of the carriage on the standby position side of the paper may be employed, or the first and second side end positions of the paper on both sides in the scanning direction of the carriage are detected. Only the second method may be adopted.

・用紙サイズ情報に基づいて用紙サイズに応じた検出開始位置と検出終了位置とを設定したが、検出開始位置と検出終了位置は固定値であってもよい。このような固定値であっても、加速開始位置p0を検出終了位置x1に設定し直すことにより、側端検出駆動の終了位置からキャリッジ22の移動を開始して1パス目の印字を早期に開始することができる。また、このような固定値であっても、検出開始位置x0を検出開始位置x3に設定し直して速度V2でキャリッジを移動させることにより、側端検出駆動の所要時間を短くすることができる。   Although the detection start position and the detection end position corresponding to the paper size are set based on the paper size information, the detection start position and the detection end position may be fixed values. Even with such a fixed value, by resetting the acceleration start position p0 to the detection end position x1, the movement of the carriage 22 is started from the end position of the side edge detection drive, and the first pass printing is performed early. Can start. Even with such a fixed value, the time required for the side edge detection drive can be shortened by resetting the detection start position x0 to the detection start position x3 and moving the carriage at the speed V2.

・給送カセットや給送トレイなどの用紙の給送源に、セットされた用紙Pの幅を検出するセンサーを設け、このセンサーにより検出された幅の情報に基づいて検出開始位置と検出終了位置とを設定してもよい。   A sensor for detecting the width of the set paper P is provided in a paper feeding source such as a feeding cassette or a feeding tray, and a detection start position and a detection end position based on the width information detected by the sensor And may be set.

・印刷装置は、用紙P等の印刷媒体に印刷することができれば、インクジェット式プリンターに限定されず、ドットインパクト式プリンターであってもよい。また、印刷装置は、複合機に限らず、印刷機能だけを備えたプリンターであってもよい。   The printing apparatus is not limited to an ink jet printer as long as it can print on a printing medium such as paper P, and may be a dot impact printer. Further, the printing apparatus is not limited to a multifunction machine, and may be a printer having only a printing function.

・印刷媒体は、カット紙に限定されず、ロール紙でもよい。また、印刷媒体は用紙に限定されず、樹脂製のフィルム、金属箔、金属フィルム、樹脂と金属の複合体フィルム(ラミネートフィルム)、織物、不織布、セラミックシートなどであってもよい。   -The print medium is not limited to cut paper, but may be roll paper. The printing medium is not limited to paper, and may be a resin film, a metal foil, a metal film, a resin-metal composite film (laminate film), a woven fabric, a nonwoven fabric, a ceramic sheet, or the like.

11…印刷装置の一例としてのプリンター、12…装置本体、14…表示部、15…操作部、22…キャリッジ、23…印刷ヘッド、30…制御部の一例としてのコントローラー、36…キャリッジモーター、37…搬送部の一例を構成する給送モーター、38…搬送部の一例を構成する搬送モーター、40…制御部の一例を構成するコンピューター、43…記憶部の一例を構成する不揮発性メモリー、48,49…搬送部の一例を構成する給送ローラー、55…紙検出センサー、56…検出部の一例としての紙幅センサー、57…リニアエンコーダー、58…エンコーダー、67…搬送部の一例を構成する搬送ローラー対、68…搬送部の一例を構成する排出ローラー対、71…印刷制御部、72…設定部、73…重ね合わせ制御部、74…検出処理部、75…CRカウンター、76…PFカウンター、77…記憶部、81…演算部、82…判定部、P…印刷媒体の一例としての用紙、X…走査方向(幅方向)、Y…搬送方向、HP…待機位置の一例としてのホーム位置、SE1…端部の一例としての側端、x0…第1検出開始位置の一例である検出開始位置、x1…検出終了位置、x3…第2検出開始位置の一例である検出開始位置、xe…検出限界位置、xe1…側端位置、V1…第1速度の一例としてのキャリッジ速度、V2…第2速度の一例としてのキャリッジ速度、SB…第2移動距離の一例としての最短移動距離(最小駆動ステップ数)、VD…速度制御データ、T1…第1所要時間、T2…第2所要時間、Tp…所要時間。   DESCRIPTION OF SYMBOLS 11 ... Printer as an example of printing apparatus, 12 ... Apparatus main body, 14 ... Display part, 15 ... Operation part, 22 ... Carriage, 23 ... Print head, 30 ... Controller as an example of control part, 36 ... Carriage motor, 37 A feeding motor constituting an example of the conveying unit, 38 a conveying motor constituting an example of the conveying unit, 40 a computer constituting an example of the control unit, 43 a non-volatile memory constituting an example of the storage unit, 48, DESCRIPTION OF SYMBOLS 49 ... Feed roller which comprises an example of a conveyance part, 55 ... Paper detection sensor, 56 ... Paper width sensor as an example of a detection part, 57 ... Linear encoder, 58 ... Encoder, 67 ... Conveyance roller which comprises an example of a conveyance part Pair, 68... Discharge roller pair constituting an example of the transport unit, 71... Print control unit, 72... Setting unit, 73. Detection processing unit, 75 ... CR counter, 76 ... PF counter, 77 ... storage unit, 81 ... calculation unit, 82 ... determination unit, P ... paper as an example of print medium, X ... scanning direction (width direction), Y ... Transport direction, HP ... home position as an example of a standby position, SE1 ... side edge as an example of an end, x0 ... detection start position as an example of a first detection start position, x1 ... detection end position, x3 ... second Detection start position as an example of detection start position, xe ... detection limit position, xe1 ... side end position, V1 ... carriage speed as an example of first speed, V2 ... carriage speed as an example of second speed, SB ... th 2 Shortest travel distance (minimum number of drive steps) as an example of travel distance, VD: speed control data, T1: first required time, T2: second required time, Tp: required time.

Claims (9)

印刷装置であって、
印刷媒体に印刷を行う印刷ヘッドと、前記印刷媒体の搬送方向と交差する方向の端部を検出する検出部とを備え、前記印刷媒体の搬送方向に交差する走査方向に走査されるキャリッジと、
前記キャリッジが走査される領域に前記印刷媒体を搬送する搬送部と、
前記印刷装置を制御する制御部と、
を有し、
前記制御部は、
前記印刷媒体の端部位置の内側の検出開始位置から外側の検出終了位置に向けて端部の検出を実行し、
前記端部の検出を実行した後に前記印刷媒体に印刷データに基づく印刷を行うための前記キャリッジの加速開始位置が、前記検出終了位置よりも外側である場合に、前記キャリッジの加速開始位置を前記検出終了位置に設定する、ことを特徴とする印刷装置。
A printing device,
A carriage that scans in a scanning direction that intersects the transport direction of the print medium, and includes a print head that performs printing on the print medium, and a detection unit that detects an end portion in a direction that intersects the transport direction of the print medium;
A transport unit that transports the print medium to an area in which the carriage is scanned;
A control unit for controlling the printing apparatus;
Have
The controller is
Detecting the edge from the detection start position inside the edge position of the print medium toward the detection end position outside,
When the acceleration start position of the carriage for performing printing based on print data on the print medium after executing the detection of the edge is outside the detection end position, the acceleration start position of the carriage is A printing apparatus, characterized by being set to a detection end position.
前記キャリッジの移動距離が長いほど前記キャリッジの速度が高速になる構成であり、
前記検出開始位置を第1検出開始位置とした場合、前記第1検出開始位置と前記検出終了位置までの第1移動距離を前記キャリッジが当該第1移動距離から決まる第1速度で移動するために要する第1所要時間と、前記第1検出開始位置を前記第1移動距離よりも長い第2移動距離となる第2検出開始位置に変更した場合に当該第2検出開始位置から前記キャリッジが前記第2移動距離から決まる第2速度で前記検出終了位置まで移動するために要する第2所要時間とを比較し、前記第2所要時間よりも前記第1所要時間の方が短い場合は前記検出開始位置を第1検出開始位置に保持し、前記第2所要時間の方が前記第1所要時間よりも短い場合は前記検出開始位置を前記第1検出開始位置から前記第2検出開始位置へ変更する、ことを特徴とする請求項1に記載の印刷装置。
The longer the moving distance of the carriage, the higher the speed of the carriage.
When the detection start position is the first detection start position, the carriage moves at a first speed determined from the first movement distance at a first movement distance between the first detection start position and the detection end position. When the first required time required and the first detection start position are changed to a second detection start position that is a second movement distance longer than the first movement distance, the carriage is moved from the second detection start position to the first detection time. The second required time required to move to the detection end position at a second speed determined from two moving distances is compared, and if the first required time is shorter than the second required time, the detection start position Is held at the first detection start position, and when the second required time is shorter than the first required time, the detection start position is changed from the first detection start position to the second detection start position. That features The printing apparatus according to claim 1.
前記キャリッジは前記検出開始位置へ移動する前は、前記印刷媒体よりも前記走査方向の外側の待機位置に配置され、
前記制御部は、印刷開始位置に搬送された前記印刷媒体に対して前記端部の検出を実行する構成であり、
前記印刷媒体が前記印刷開始位置に搬送されて停止するまでに前記キャリッジの前記検出開始位置への移動を開始させる、ことを特徴とする請求項1又は2に記載の印刷装置。
Before the carriage moves to the detection start position, the carriage is disposed at a standby position outside the print medium in the scanning direction,
The control unit is configured to detect the edge of the print medium conveyed to a print start position;
3. The printing apparatus according to claim 1, wherein movement of the carriage to the detection start position is started before the print medium is transported to the print start position and stopped. 4.
前記制御部は、前記印刷媒体が前記印刷開始位置へ搬送される搬送途中に前記キャリッジを前記検出開始位置に到達させ、
前記印刷媒体が前記印刷開始位置へ搬送し終わる前に前記キャリッジの前記検出開始位置からの移動を開始させ、当該キャリッジの移動途中で前記端部を検出する、ことを特徴とする請求項3に記載の印刷装置。
The control unit causes the carriage to reach the detection start position while the print medium is being transported to the print start position.
4. The movement of the carriage from the detection start position is started before the print medium has been transported to the print start position, and the end portion is detected during the movement of the carriage. 5. The printing apparatus as described.
前記制御部は、前記キャリッジが前記検出開始位置から前記端部の位置まで移動するための所要時間を推定し、前記キャリッジが前記端部位置に到達したときには前記印刷媒体が前記印刷開始位置に停止している状態となるタイミングで前記キャリッジの前記検出開始位置からの移動を開始させ、停止状態にある前記印刷媒体の前記端部を検出する、ことを特徴とする請求項4に記載の印刷装置。   The controller estimates a time required for the carriage to move from the detection start position to the end position, and when the carriage reaches the end position, the print medium stops at the print start position. 5. The printing apparatus according to claim 4, wherein movement of the carriage from the detection start position is started at a timing when the printing medium is in a stopped state, and the end portion of the print medium in a stopped state is detected. . 前記制御部は、前記印刷媒体の情報が間違っている可能性がある不定である場合、前記キャリッジを前記走査方向の幅が最小のサイズの印刷媒体の端部を検出可能な第3検出開始位置まで移動させ、当該第3検出開始位置から前記キャリッジの移動を開始して前記端部を検出する、ことを特徴とする請求項1乃至5のいずれか一項に記載の印刷装置。   A third detection start position at which the control unit can detect an end portion of the print medium having a minimum width in the scanning direction when the information on the print medium is indefinite. 6. The printing apparatus according to claim 1, wherein the end of the carriage is detected by starting movement of the carriage from the third detection start position. 前記制御部は、前記検出開始位置で前記印刷媒体が非検出状態であって前記印刷媒体の前記端部の検出に失敗した場合、前記キャリッジを前記走査方向の幅が最小のサイズの印刷媒体の端部を検出可能な第3検出開始位置まで移動させ、当該第3検出開始位置から前記キャリッジの移動を開始して前記端部を検出する、ことを特徴とする請求項1乃至6のいずれか一項に記載の印刷装置。   When the print medium is in a non-detection state at the detection start position and fails to detect the end of the print medium, the control unit moves the carriage to a print medium having a minimum width in the scanning direction. The end portion is moved to a detectable third detection start position, and the carriage is moved from the third detection start position to detect the end portion. The printing apparatus according to one item. 前記制御部は、前記キャリッジが前記検出開始位置から前記検出終了位置まで移動する間に亘って前記検出部が前記印刷媒体を検出する状態が続き、前記印刷媒体の前記端部の検出に失敗した場合、前記検出終了位置を前記端部の検出を実行する際の前記キャリッジの進行方向延長上の位置に変更する、ことを特徴とする請求項1乃至7のいずれか一項に記載の印刷装置。   The control unit has failed to detect the edge of the print medium because the detection unit continues to detect the print medium while the carriage moves from the detection start position to the detection end position. 8. The printing apparatus according to claim 1, wherein the detection end position is changed to a position on an extension in a traveling direction of the carriage when the end portion is detected. . 前記制御部は、前記検出部が前記端部を検出した端部位置が前記加速開始位置を過ぎていれば、前記端部が検出された時点で前記キャリッジの移動を停止させ、一方、前記端部位置が前記加速開始位置を過ぎていなければ、前記キャリッジが前記加速開始位置に到達するのを待ってから当該キャリッジの移動を停止させる、ことを特徴とする請求項1乃至8のいずれか一項に記載の印刷装置。   The control unit stops the movement of the carriage when the end is detected if the end position where the detection unit detects the end is past the acceleration start position. 9. The movement of the carriage is stopped after waiting for the carriage to reach the acceleration start position if the part position does not pass the acceleration start position. The printing apparatus according to item.
JP2014039718A 2014-02-28 2014-02-28 printer Pending JP2015163454A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014039718A JP2015163454A (en) 2014-02-28 2014-02-28 printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014039718A JP2015163454A (en) 2014-02-28 2014-02-28 printer

Publications (1)

Publication Number Publication Date
JP2015163454A true JP2015163454A (en) 2015-09-10

Family

ID=54186611

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014039718A Pending JP2015163454A (en) 2014-02-28 2014-02-28 printer

Country Status (1)

Country Link
JP (1) JP2015163454A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018130956A (en) * 2017-02-17 2018-08-23 株式会社リコー Carrier device, carrying system, and processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018130956A (en) * 2017-02-17 2018-08-23 株式会社リコー Carrier device, carrying system, and processing method
JP7040070B2 (en) 2017-02-17 2022-03-23 株式会社リコー Transport equipment, transport system and processing method

Similar Documents

Publication Publication Date Title
CN107265151B (en) Printing device
CN107264079B (en) Printing device
JP6624039B2 (en) Inkjet recording device
JP2008247570A (en) Image printing device and its control method
KR101936982B1 (en) Printing apparatus, control method therefor, and storage medium
US10097712B2 (en) Printing device and method for controlling printer
JP2007145577A (en) Recording device and recording control program
JP4733575B2 (en) Inkjet recording device
JP6705260B2 (en) Inkjet recording device
JP2015163454A (en) printer
JP2007326235A (en) Inkjet printer and image forming apparatus
JP2020104946A (en) Sheet conveying device and image forming device including the same
JP6221385B2 (en) Printing device
JP2013043769A (en) Recording paper conveying device, and image forming apparatus
JP2011093132A (en) Complex image forming apparatus
JP2011051747A (en) Printer and end part detecting method of printing medium
JP6241307B2 (en) Printing device
JP4259574B2 (en) Recording apparatus and recording method in recording apparatus
JP6349848B2 (en) FEEDING DEVICE AND ELECTRONIC DEVICE HAVING FEEDING DEVICE
US8870476B2 (en) Image recording apparatus
JP2018039233A (en) Serial type recording device
JP6690561B2 (en) Image forming device
JP2019107904A (en) Ink jet recording apparatus and ink jet recording method
US20120242038A1 (en) Printing apparatus and printing method
JP6256091B2 (en) Printing device