[go: up one dir, main page]

JP2011218710A - Printer and control method of moving body - Google Patents

Printer and control method of moving body Download PDF

Info

Publication number
JP2011218710A
JP2011218710A JP2010092028A JP2010092028A JP2011218710A JP 2011218710 A JP2011218710 A JP 2011218710A JP 2010092028 A JP2010092028 A JP 2010092028A JP 2010092028 A JP2010092028 A JP 2010092028A JP 2011218710 A JP2011218710 A JP 2011218710A
Authority
JP
Japan
Prior art keywords
current
moving body
stop position
carriage
printing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2010092028A
Other languages
Japanese (ja)
Inventor
Hiroshi Katayama
博 片山
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 JP2010092028A priority Critical patent/JP2011218710A/en
Publication of JP2011218710A publication Critical patent/JP2011218710A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

【課題】移動体が今回の移動を停止した後に移動体を再び同じ方向へ移動させることが必要になる頻度を一層低減できる印刷装置及び移動体の制御方法を提供する。
【解決手段】現在位置(N−1回目の停止位置)から、キャリッジの目標位置POSDへの走査を開始する(S40)。次回(N+1回目)のドット形成範囲が把握できた場合(S50でYES)、N+1回目のファーストドット位置から算出されるキャリッジ起動位置と、N回目のラストドット位置から算出されるキャリッジ停止位置とのうち、起動位置に対してどちらが遠い位置であるかを判断する(S60)。次回のキャリッジ起動位置の方が遠い場合、目標位置をN+1回目のキャリッジ起動位置に再設定し、今回のキャリッジ停止位置の方が遠い場合、目標位置をN回目のキャリッジ停止位置に再設定する。一方、N+1回目のドット形成範囲が把握できなかった場合(S50でNO)、目標位置POSDまで移動する。
【選択図】図10
The present invention provides a printing apparatus and a method for controlling a moving body that can further reduce the frequency with which the moving body needs to be moved again in the same direction after stopping the current movement.
Scanning from a current position (N-1 stop position) to a carriage target position POSD is started (S40). When the next (N + 1) th dot formation range is ascertained (YES in S50), the carriage start position calculated from the N + 1 first dot position and the carriage stop position calculated from the Nth last dot position Of these, it is determined which is far from the starting position (S60). If the next carriage start position is farther, the target position is reset to the (N + 1) th carriage start position, and if the current carriage stop position is farther, the target position is reset to the Nth carriage stop position. On the other hand, if the N + 1th dot formation range cannot be grasped (NO in S50), the movement to the target position POSTD is performed.
[Selection] Figure 10

Description

本発明は、インクジェットプリンターやインパクトドットプリンターなどのシリアルプリンターにおいて、キャリッジの無駄な走行を減らすように制御を行う印刷装置及び移動体の制御方法に関する。   The present invention relates to a printing apparatus and a moving body control method for performing control so as to reduce unnecessary travel of a carriage in a serial printer such as an ink jet printer or an impact dot printer.

例えば特許文献1には、キャリッジが主走査方向に移動(主走査)しながらその下部に設けられた記録ヘッドからインク滴を噴射して、用紙に画像や文書を印刷するシリアル式のプリンターが開示されている。印字データはキャリッジの1回の移動(1パス)分ずつ送られてきて、各回の印字データから各回のファーストドット位置とラストドット位置が決まる。そして、ファーストドット位置に加速距離(助走距離)を付加した位置がキャリッジの起動位置として求められ、ラストドット位置に減速距離(制動距離)を付加した位置がキャリッジの停止位置として求められる。   For example, Patent Document 1 discloses a serial printer that prints an image or a document on a sheet by ejecting ink droplets from a recording head provided below the carriage while moving the carriage in the main scanning direction (main scanning). Has been. The print data is sent for each movement (one pass) of the carriage, and the first dot position and the last dot position are determined from each print data. Then, a position obtained by adding the acceleration distance (running distance) to the first dot position is obtained as the carriage start position, and a position obtained by adding the deceleration distance (braking distance) to the last dot position is obtained as the carriage stop position.

この特許文献1にはキャリッジの走行を効率よく行うためにスーパーロジカルシークと呼ばれるキャリッジの制御方法が開示されている。この制御方法では、今回(N回目)の主走査を行っている間に、次回(N+1回目)の主走査でのファーストドット位置Pfd(N+1)を把握する。そして、次回(N+1回目)のファーストドット位置Pfd(N+1)から、今回の走行方向へ、加速時に最低必要な助走距離Lauxを加算した距離Lauxだけずらした位置Pf_end(N+1)に、今回の目標停止位置Pstp(N)を設定する。この目標停止位置Pstp(N)でキャリッジが停止するように減速を行う。   This Patent Document 1 discloses a carriage control method called superlogical seek in order to efficiently run the carriage. In this control method, the first dot position Pfd (N + 1) in the next (N + 1) main scan is grasped while the current (Nth) main scan is being performed. Then, from the next (N + 1) first dot position Pfd (N + 1) to the current travel direction, the position Pf_end (N + 1) shifted by the distance Laux, which is the addition of the minimum required travel distance Laux during acceleration, Set the current target stop position Pstp (N). Deceleration is performed so that the carriage stops at the target stop position Pstp (N).

特開2005−169973号公報Japanese Patent Laid-Open No. 2005-169973

しかしながら、特許文献1によると、スーパーロジカルシークを用いた場合、今回頁の最終回(最終行)のキャリッジ停止位置は、次回のファーストドット位置が存在しないため、最終行のラストドット位置から最短距離(減速距離分のみ)の停止位置でキャリッジが停止することになる。   However, according to Patent Document 1, when the super logical seek is used, since the next first dot position does not exist in the carriage stop position of the last time (last line) of the current page, the shortest distance from the last dot position of the last line. The carriage stops at the stop position (only for the deceleration distance).

ところで、最終行の印字が終了していれば、キャリッジが減速中であっても次頁の給紙は開始できる。このとき給送された用紙の先端が記録ヘッドに接触すると、用紙がインクで汚れる虞があるので、このような接触を回避するため、キャリッジをその移動方向(主走査方向)において用紙が給送される範囲から外れた位置になるべく速やかに退避させることが好ましい。また、次頁の1回目の印字動作においてファーストドット位置がどの位置になったとしても、キャリッジを改めて適切な起動位置まで移動させる手間が省けるように、印刷時の移動範囲の両端より外側の位置に待機させることが好ましい。   By the way, if the printing of the last line is finished, feeding of the next page can be started even when the carriage is decelerating. If the leading edge of the fed paper comes into contact with the recording head at this time, the paper may be stained with ink. To avoid such contact, the paper is fed in the moving direction (main scanning direction). It is preferable to retreat as quickly as possible to a position outside the range. Also, no matter what position the first dot position is in the first printing operation on the next page, the position outside the both ends of the moving range at the time of printing is saved so that the trouble of moving the carriage to the appropriate starting position can be saved. It is preferable to make it wait.

複数頁を印刷するときの改頁の際に、今回頁の最終回のラストドット位置から決まる停止位置で停止したキャリッジを、改めて待機位置まで移動させる動作が必要であった。この動作はキャリッジの待機位置への移動を遅らせることになる。このため、給送された用紙が記録ヘッドに接触する頻度が増えて用紙がインクで汚れ易くなったり、キャリッジが用紙と記録ヘッドとの接触を回避できる位置まで退避できるタイミングまで待って用紙の給送を開始する場合は、そのタイミングを待った分だけ給送動作の開始タイミングが遅れ、複数枚印刷時のスループットを低下させる原因になる。また、給送以外の場面でも、次回の印字データが遅れたために次回のドット形成範囲を取得できない場合、スーパーロジカルシークでは今回のラストドット位置から決まる停止位置でキャリッジが停止することになる。このため、今回の減速中又は停止後に次回のドット形成範囲を取得できた場合は、キャリッジの停止後に、ロジカルシークで改めてキャリッジを次回の起動位置まで移動させる無駄な動作が発生してしまう場合もあった。   At the time of page break when printing a plurality of pages, it is necessary to move the carriage stopped at the stop position determined from the last dot position of the last time of the current page to the standby position again. This operation delays the movement of the carriage to the standby position. For this reason, the frequency at which the fed paper comes into contact with the recording head increases, so that the paper is easily smudged with ink, or waits until the carriage can be retracted to a position where contact between the paper and the recording head can be avoided. When starting the feeding, the start timing of the feeding operation is delayed by the amount of waiting for the timing, which causes a decrease in throughput when printing a plurality of sheets. Further, even in a case other than feeding, if the next dot formation range cannot be acquired because the next print data is delayed, the super logical seek stops the carriage at a stop position determined from the current last dot position. For this reason, if the next dot formation range can be acquired during the current deceleration or after the stop, a wasteful operation of moving the carriage to the next starting position again by logical seek may occur after the carriage stops. there were.

本発明は、上記課題に鑑みてなされたものであり、その目的の一つは、移動体が今回の移動を停止した後に移動体を再び同じ方向へ移動させることが必要になる頻度を一層低減できる印刷装置及び移動体の制御方法を提供することにある。   The present invention has been made in view of the above problems, and one of its purposes is to further reduce the frequency at which the moving body needs to move again in the same direction after stopping the current movement. Another object of the present invention is to provide a printing apparatus and a method for controlling a moving body.

上記目的を達成するために、本発明は、印刷手段を備えた移動体が移動する過程で前記印刷手段が媒体に印刷を施す印刷装置であって、前記移動体を駆動させる動力源と、前記移動体の移動方向において今回の起動位置から今回の停止位置よりも遠くに位置する暫定停止位置を目標位置として、前記動力源を駆動させて前記移動体を移動させる制御手段と、前記移動体が前記起動位置から前記暫定停止位置に向かって移動する過程で、次回の印字データに基づき決まる前記移動体の次回の起動位置と、今回の印字データに基づき決まる前記移動体の今回の停止位置とを比較し、今回の起動位置に対してより遠い一方の位置を判別する判定手段と、前記判定手段が判別した前記一方の位置を、前記暫定停止位置に替えて今回の目標位置として再設定する再設定手段と、を備え、前記設定手段による前記再設定がなされた場合は、前記移動体が再設定された前記一方の位置で停止し、前記判定手段による判定が不能な場合は、前記移動体は前記暫定停止位置まで移動して停止することを要旨とする。   In order to achieve the above object, the present invention provides a printing apparatus in which the printing unit performs printing on a medium in a process in which a moving body including a printing unit moves, and a power source that drives the moving body; Control means for moving the moving body by driving the power source with a temporary stop position located farther than the current stopping position from the current starting position in the moving direction of the moving body as a target position; and In the process of moving from the start position toward the temporary stop position, the next start position of the mobile body determined based on the next print data and the current stop position of the mobile body determined based on the current print data In comparison, the determination means for determining one position farther from the current start position and the one position determined by the determination means are replaced with the provisional stop position as the current target position. Resetting means for determining, when the resetting by the setting means is made, the mobile body stops at the one position where the resetting is reset, and when the determination by the determination means is impossible, The gist is that the moving body moves to the temporary stop position and stops.

この発明によれば、移動体は暫定停止位置に向かって移動し、その移動過程で、次回の印字データに基づき決まる移動体の次回の起動位置と、今回の印字データに基づき決まる移動体の今回の停止位置とを比較し、今回の起動位置に対してより遠い一方の位置が判別され、当該判別された一方の位置を暫定停止位置に替えて、今回の目標位置として再設定される。この場合、移動体は再設定された一方の位置で停止する。一方、判定時において次回の印字データがなく判定手段による判別が不能な場合は、目標位置の再設定が行われず、移動体は暫定停止位置まで移動する。この暫定停止位置は、移動体の今回の停止位置よりも進行方向先方(遠方)に位置する。よって、移動体が今回の移動を停止した後に移動体を再び同じ方向へ移動させることが必要になる頻度を一層低減できる。   According to this invention, the moving body moves toward the temporary stop position, and in the moving process, the next starting position of the moving body determined based on the next print data and the current time of the moving body determined based on the current print data. Is compared with the current stop position, one of the positions farther from the current start position is determined, and the determined one position is changed to the temporary stop position and reset as the current target position. In this case, the moving body stops at the reset position. On the other hand, if there is no next print data at the time of determination and determination by the determination means is impossible, the target position is not reset and the moving body moves to the temporary stop position. This temporary stop position is located further in the traveling direction (distant) than the current stop position of the moving body. Therefore, it is possible to further reduce the frequency with which it is necessary to move the moving body in the same direction again after the moving body stops the current movement.

本発明の印刷装置では、前記再設定手段による前記再設定がなされた場合に、前記判定手段が前記次回の起動位置と前記今回の停止位置とのうちどちらを前記一方の位置と判別しても、前記移動体が再設定された前記一方の位置で停止する場合は前記暫定停止位置に至る手前で停止するように、前記暫定停止位置は位置設定されている。   In the printing apparatus according to the aspect of the invention, when the resetting is performed by the resetting unit, the determination unit determines which of the next start position and the current stop position is the one position. The temporary stop position is set so that when the moving body stops at the reset one position, it stops before reaching the temporary stop position.

この発明によれば、移動体が再設定された一方の位置で停止する場合は、暫定停止位置に至る手前で停止する。よって、判定時に次回の印字データがなく、判定不能になっても、今回の起動位置に対して今回の停止位置及び次回の起動位置よりもより遠くの暫定停止位置で移動体を停止させることができる。よって、移動体が今回の移動を停止した後に移動体を再び同じ方向へ移動させることが必要になる頻度をさらに一層低減できる。   According to the present invention, when the moving body stops at one of the reset positions, it stops before reaching the temporary stop position. Therefore, even if there is no next print data at the time of determination and the determination becomes impossible, the moving body can be stopped at the current stop position and the temporary stop position farther than the current start position and the next start position. it can. Therefore, the frequency with which it is necessary to move the moving body in the same direction again after the moving body stops the current movement can be further reduced.

本発明の印刷装置では、前記判定手段は、今回の印字データに基づき取得される前記移動体の今回の移動過程で前記印刷手段が最後にドットを形成するラストドット位置から決まる今回の停止位置と、次回の印字データに基づき取得される前記移動体の次回の移動過程で前記印刷手段が最初にドットを形成するファーストドット位置から決まる次回の起動位置とを比較して、前記今回の起動位置からより遠くにある一方の位置を判別し、前記再設定手段は、前記暫定停止位置に替えて、前記一方の位置を今回の目標位置として再設定する。   In the printing apparatus of the present invention, the determination unit includes a current stop position determined from a last dot position at which the printing unit finally forms a dot in the current movement process of the moving body acquired based on current print data. In the next movement process of the moving body acquired based on the next print data, the printing unit compares the first activation position determined from the first dot position where dots are first formed, and the current activation position One position farther away is determined, and the resetting means resets the one position as the current target position instead of the temporary stop position.

この発明によれば、今回のラストドット位置から決まる今回の停止位置と、次回のファーストドット位置から決まる次回の起動位置とのうち、前記暫定停止位置よりも今回の起動位置からの移動距離を短くできる一方の位置が、暫定停止位置に替えて、今回の目標位置として再設定される。よって、移動体が今回の移動を停止した後に移動体を再度同じ方向へ移動させることが必要になる頻度を一層低減できる。   According to the present invention, of the current stop position determined from the current last dot position and the next start position determined from the next first dot position, the movement distance from the current start position is shorter than the temporary stop position. One of the possible positions is reset as the current target position in place of the temporary stop position. Therefore, it is possible to further reduce the frequency with which it is necessary to move the moving body in the same direction again after the moving body stops the current movement.

本発明の印刷装置では、前記暫定停止位置は、印刷時における前記移動体の最大移動範囲の両端を含むその外側の範囲に設定されている。
この発明によれば、印刷時における前記移動体の最大移動範囲の両端を含むその外側の範囲に設定された暫定停止位置に向かって移動体は移動する。このため、次回の印字データがなく暫定停止位置まで移動して停止した場合に、次回の起動位置に移動する必要がない。
In the printing apparatus of the present invention, the temporary stop position is set to an outer range including both ends of the maximum moving range of the moving body during printing.
According to this invention, the moving body moves toward the provisional stop position set in the outer range including both ends of the maximum moving range of the moving body during printing. For this reason, when there is no next print data and it moves to a temporary stop position and stops, it is not necessary to move to the next starting position.

本発明の印刷装置では、前記制御手段が前記暫定停止位置に向かって前記移動体の移動を開始させる前に、当該移動体の現在位置が今回の印字動作が可能な適切な起動位置であるか否かを判定する起動位置判定手段を更に備え、前記制御手段は、前記起動位置判定手段が適切な起動位置でないと判定した場合に、前記移動体を今回の印字データに基づき決まる今回の起動位置へ移動させてから、前記暫定停止位置に向かって移動させる。   In the printing apparatus of the present invention, before the control means starts the movement of the moving body toward the temporary stop position, is the current position of the moving body an appropriate starting position capable of the current printing operation? A starting position determining means for determining whether the moving body is determined based on the current print data when the starting position determining means determines that the starting position determining means is not an appropriate starting position. And then move toward the provisional stop position.

この発明によれば、移動体の現在位置が今回の印字動作が可能な適切な起動位置でなかった場合、移動体を今回の印字データに基づき決まる今回の起動位置へ移動させてから、暫定停止位置に向かって移動させるので、何らかの原因で前回の停止位置がずれた場合でも、今回の印字動作を適切に行うことができる。   According to the present invention, when the current position of the moving body is not an appropriate starting position capable of the current printing operation, the moving body is moved to the current starting position determined based on the current printing data and then temporarily stopped. Since it is moved toward the position, even if the previous stop position is deviated for some reason, the current printing operation can be appropriately performed.

本発明の印刷装置では、前記制御手段が前記移動体を前記暫定停止位置へ向かって移動させる制御と、当該移動の過程において前記判定手段が行う前記判別と前記再設定手段が行う前記再設定とを、次回の印字データが取得されることのない前記移動体の最終回の移動過程において少なくとも行い、当該最終回の移動過程において前記移動体を前記暫定停止位置まで移動させる。   In the printing apparatus of the present invention, the control unit moves the moving body toward the temporary stop position, the determination performed by the determination unit in the course of the movement, and the reset performed by the resetting unit. Is performed at least in the final moving process of the moving body from which the next print data is not acquired, and the moving body is moved to the temporary stop position in the final moving process.

この発明によれば、少なくとも移動体の最終回の移動過程において、移動体を暫定停止位置まで移動させることができる。例えば最終回の印字を終えた後の改頁のときに、移動体を今回の停止位置より移動方向遠方の暫定停止位置まで速やかに移動させることができる。この場合、例えば給送されてきた次頁の媒体が印刷手段に接触する頻度を低減しやすい。   According to the present invention, the moving body can be moved to the temporary stop position at least in the final moving process of the moving body. For example, at the time of page break after finishing the last printing, the moving body can be quickly moved from the current stop position to a provisional stop position farther in the movement direction. In this case, for example, it is easy to reduce the frequency with which the medium of the next page that has been fed contacts the printing means.

本発明の印刷装置では、前記制御手段が前記移動体を前記暫定停止位置へ向かって移動させる制御と、当該移動過程において前記判定手段が行う前記判別と前記再設定手段が行う前記再設定とを、前記移動体の毎回の移動で行う。   In the printing apparatus according to the aspect of the invention, the control unit moves the moving body toward the temporary stop position, and the determination performed by the determination unit and the resetting performed by the resetting unit in the movement process. The moving body is moved every time.

この発明によれば、移動体の毎回の移動過程で、制御手段による移動体を暫定停止位置へ向かって移動させる制御と、移動過程において判定手段による判別と再設定手段による再設定とが行われる。よって、印刷中の毎回の移動において、印字データが遅れるなどして判定手段による判別時にないときには、移動体を暫定停止位置まで移動させることができ、停止後の次回の起動位置まで移動させる余分な動作を極力回避できる。   According to the present invention, in each moving process of the moving body, the control unit moves the moving body toward the temporary stop position, and the determination unit determines and resets the resetting unit in the moving process. . Therefore, in every movement during printing, when the printing data is delayed and the determination means does not make a determination, the moving body can be moved to the temporary stop position, and an extra movement to move to the next start position after the stop. The operation can be avoided as much as possible.

本発明の印刷装置では、媒体を給送する給送手段を更に備え、前記印刷手段は、前記移動体の移動過程で前記給送された媒体に印刷を施す構成であり、前記給送手段は、前記印刷手段による最終回の印字動作終了後、前記移動体が最終回の停止位置に停止する前に、次の媒体の給送を開始する。   The printing apparatus of the present invention further includes a feeding unit that feeds the medium, and the printing unit is configured to perform printing on the fed medium in a moving process of the moving body, and the feeding unit includes: After the last printing operation by the printing unit, the feeding of the next medium is started before the moving body stops at the last stop position.

この発明によれば、給送手段が、印刷手段による最終回の印字動作終了後、移動体が最終回の停止位置に停止する前に、次の媒体の給送を開始しても、移動体が暫定停止位置まで移動することにより、給送された次の媒体が印刷手段に接触する頻度を低減できる。   According to the present invention, even if the feeding unit starts feeding the next medium after the printing unit finishes the last printing operation and before the moving unit stops at the final stop position, By moving to the temporary stop position, it is possible to reduce the frequency with which the next medium fed contacts the printing means.

本発明は、印刷手段を備えた移動体が移動する過程で前記印刷手段が媒体に印刷を施す当該移動体の制御方法であって、前記移動体の移動方向において今回の印字データに基づき決まる今回の停止位置よりも、今回の起動位置から遠くに位置する暫定停止位置を目標位置として、前記移動体を移動させる移動ステップと、前記移動体が前記起動位置から前記暫定停止位置に向かって移動する過程で、次回の印字データに基づき決まる前記移動体の次回の起動位置と、今回の印字データに基づき決まる前記移動体の今回の停止位置とを比較して、今回の起動位置に対してより遠い一方の位置を判別する判定ステップと、前記判定ステップで判別した前記一方の位置を、前記暫定停止位置に替えて、今回の目標位置として再設定する再設定ステップと、前記再設定ステップで再設定がなされた場合、前記移動体を前記再設定された前記目標位置で停止させ、一方、前記判定ステップで判定不能により前記再設定がなされなかった場合、前記移動体を前記暫定停止位置まで移動して停止させる停止制御ステップと、を備えたことを要旨とする。この発明によれば、上記の印刷装置の発明と同様の作用効果を得ることができる。   The present invention is a method for controlling a moving body in which the printing means performs printing on a medium in the course of movement of the moving body having a printing means, and this time is determined based on current print data in the moving direction of the moving body. A moving step of moving the moving body with a temporary stop position located farther from the current starting position as a target position than the current stopping position, and the moving body moves from the starting position toward the temporary stopping position. In the process, the next start position of the mobile body determined based on the next print data is compared with the current stop position of the mobile body determined based on the current print data, and is farther from the current start position. A determination step for determining one position, and a reset step for resetting the one position determined in the determination step as the current target position in place of the temporary stop position. When the resetting is performed in the resetting step, the moving body is stopped at the reset target position. On the other hand, when the resetting is not performed due to the determination being impossible in the determination step, the moving unit is stopped. And a stop control step of moving and stopping the body to the provisional stop position. According to the present invention, it is possible to obtain the same effects as those of the above-described printing apparatus.

一実施形態におけるプリンターの斜視図。1 is a perspective view of a printer according to an embodiment. 給送機構を示す模式側面図。The schematic side view which shows a feeding mechanism. プリンターの電気的構成を説明するブロック図。FIG. 3 is a block diagram illustrating an electrical configuration of a printer. 印字と搬送・給送の動作タイミングを示すグラフ。The graph which shows the operation timing of printing and conveyance / feeding. キャリッジの速度制御に用いられる速度制御テーブル。A speed control table used for carriage speed control. 印刷動作のシーケンス図。The sequence diagram of printing operation. (a)(b)逆スーパーロジカルシーク動作の説明図。(A) (b) Explanatory drawing of reverse super logical seek operation | movement. キャリッジの移動開始位置と移動終了位置との決め方を示すグラフ。The graph which shows how to determine the movement start position and movement end position of a carriage. メモリーに格納された印字データを示す模式図。FIG. 3 is a schematic diagram showing print data stored in a memory. 印字駆動制御ルーチンのフローチャート。5 is a flowchart of a print drive control routine.

以下、本発明を具体化した第一実施形態を図1〜図10に従って説明する。図1は、記録装置の基本構成を示す斜視図である。
図1に示すように、印刷装置としてのプリンター11は、シリアル式のインクジェットプリンターである。プリンター11には、本体フレーム12内に架設されたガイド軸13に案内されて主走査方向Xに往復移動可能なキャリッジ14が設けられている。キャリッジ14はその背面側で固定された無端状のタイミングベルト15を介してキャリッジモーター(以下、CRモーター16と称す)の駆動軸と動力伝達可能に連結されており、CRモーター16が往復回転駆動されることにより主走査方向Xに往復移動する。
Hereinafter, a first embodiment embodying the present invention will be described with reference to FIGS. FIG. 1 is a perspective view showing a basic configuration of the recording apparatus.
As shown in FIG. 1, a printer 11 as a printing apparatus is a serial ink jet printer. The printer 11 is provided with a carriage 14 that is guided by a guide shaft 13 installed in the main body frame 12 and can reciprocate in the main scanning direction X. The carriage 14 is connected to a drive shaft of a carriage motor (hereinafter referred to as a CR motor 16) via an endless timing belt 15 fixed on the back side thereof so that power can be transmitted, and the CR motor 16 is driven to reciprocate. As a result, it reciprocates in the main scanning direction X.

キャリッジ14の下部には印刷手段の一例である記録ヘッド17が設けられている。記録ヘッド17と対向する下方位置には、記録ヘッド17のノズル開口面と記録媒体としての用紙Pとの間隔を規定するプラテン18が配置されている。また、キャリッジ14の上部に着脱可能に装填されたブラック・カラーの各インクカートリッジ19,20から供給されたインクが、記録ヘッド17の各ノズルから用紙Pに対して噴射(吐出)可能となっている。   A recording head 17, which is an example of a printing unit, is provided below the carriage 14. A platen 18 that defines an interval between the nozzle opening surface of the recording head 17 and the paper P as a recording medium is disposed at a lower position facing the recording head 17. Further, the ink supplied from the black color ink cartridges 19 and 20 detachably loaded on the carriage 14 can be ejected (discharged) from the nozzles of the recording head 17 to the paper P. Yes.

プリンター11の背面側には、多数枚の用紙Pを積重可能な給紙トレイ21を有する給送手段の一例としてのリア給送装置22が設けられ、またプリンター11の前側下部には、給紙カセット24を備えた給送手段の一例としてのフロント給送装置25が設けられている。リア給送装置22とフロント給送装置25は切り替えて使用される自動給紙装置(ASF)であり、給紙モーター(以下、ASFモーター23と称す)が駆動されることで、選択された側が用紙Pの給送動作を行う。   The rear side of the printer 11 is provided with a rear feeding device 22 as an example of a feeding unit having a paper feed tray 21 on which a large number of sheets P can be stacked. A front feeding device 25 is provided as an example of feeding means provided with the paper cassette 24. The rear feeding device 22 and the front feeding device 25 are automatic paper feeding devices (ASFs) that are used by switching, and a selected side is driven by driving a paper feeding motor (hereinafter referred to as ASF motor 23). The paper P is fed.

また、紙送りモーター(以下、PFモーター27と称す)が駆動されることにより用紙搬送経路上においてプラテン18を挟んだ前後両側に設けられた搬送ローラー対28及び排出ローラー対29(いずれも図2参照)が回転駆動され、用紙Pが副走査方向Yに搬送される。そして、キャリッジ14を主走査方向Xに往復動させながら記録ヘッド17のノズルから用紙Pにインクを噴射する印字動作と、用紙Pを副走査方向Yに紙送りする紙送り動作とを略交互に繰り返すことで、用紙Pに印刷が施される。   Further, when a paper feed motor (hereinafter referred to as PF motor 27) is driven, a transport roller pair 28 and a discharge roller pair 29 (both shown in FIG. 2) provided on both sides of the platen 18 on the paper transport path. Is rotated, and the paper P is conveyed in the sub-scanning direction Y. A printing operation for ejecting ink from the nozzles of the recording head 17 to the paper P while reciprocating the carriage 14 in the main scanning direction X and a paper feeding operation for feeding the paper P in the sub-scanning direction Y are alternately performed. By repeating, printing is performed on the paper P.

また、図1において、本体フレーム12内には、ガイド軸13に沿って張設されるリニアエンコーダー30が設けられている。リニアエンコーダー30は、キャリッジ14の移動距離に比例する数のパルスを出力する。プリンター11はその出力パルスを検出して把握されるキャリッジ14の移動位置、移動速度及び移動方向に基づいて、キャリッジ14の速度制御及び位置制御を行う。   In FIG. 1, a linear encoder 30 that is stretched along the guide shaft 13 is provided in the main body frame 12. The linear encoder 30 outputs a number of pulses proportional to the moving distance of the carriage 14. The printer 11 performs speed control and position control of the carriage 14 based on the movement position, movement speed, and movement direction of the carriage 14 that is grasped by detecting the output pulse.

図1においてキャリッジ14の移動経路上の一端位置(同図における右端位置)は、キャリッジ14が非印刷時に待機するホーム位置HP(図7、図8参照)となっており、ホーム位置HPに配置されたキャリッジ14の直下には、記録ヘッド17のノズルをクリーニングするメンテナンス装置31が配置されている。ホーム位置HPから離れる方向側(図1において左方向)には印刷範囲が設定されている。この印刷範囲とは、最大幅の用紙が給送された場合でも、その用紙の幅全域を印刷できる範囲である。印刷中のキャリッジ14はこの印刷範囲での印刷ができる移動範囲を移動する。よって、キャリッジ14が移動範囲の両端のいずれか一方の位置にあるときには、その位置から移動(走行)を開始すれば、キャリッジ14は用紙上のどの位置からでも印刷を行うことができる。本実施形態では、このような位置をPOSD,POSFと呼ぶ。この位置POSD,POSFは、給紙時におけるキャリッジ14の待機位置となる。また、この位置POSD,POSFは、キャリッジ14の1行(1パス)毎の移動を制御する後述のキャリッジ主走査制御(印字駆動制御)において1パスの移動を開始した後における暫定的な目標停止位置となる暫定停止位置に相当する。   In FIG. 1, one end position on the movement path of the carriage 14 (right end position in FIG. 1) is a home position HP (see FIGS. 7 and 8) where the carriage 14 stands by when not printing, and is arranged at the home position HP. A maintenance device 31 for cleaning the nozzles of the recording head 17 is disposed immediately below the carriage 14. A print range is set on the side away from the home position HP (left direction in FIG. 1). This print range is a range in which the entire width of the paper can be printed even when the paper with the maximum width is fed. The carriage 14 during printing moves within a moving range in which printing can be performed within this printing range. Therefore, when the carriage 14 is located at either one of both ends of the movement range, the carriage 14 can perform printing from any position on the sheet by starting movement (running) from that position. In the present embodiment, such positions are referred to as POSD and POSF. The positions POSD and POSF are standby positions of the carriage 14 during paper feeding. The positions POSD and POSF are provisional target stops after the movement of one pass is started in later-described carriage main scanning control (printing drive control) for controlling the movement of the carriage 14 for each line (one pass). This corresponds to a temporary stop position.

図2は、フロント給送装置、搬送機構及び記録ヘッドを示す模式側面図である。
プリンター11の底部には、用紙を装置前方からセット可能に構成されたフロント給送装置25が設けられている。フロント給送装置25は、給紙カセット24、給送ローラー(ピックアップローラー)35、中間ローラー36、リタードローラー37及びアシストローラー38を備えている。給送ローラー35は揺動軸40aを中心に揺動する揺動部材40に設けられ、揺動部材40が図示しない付勢手段により下方へ付勢されることにより常に最上位の用紙Pに接する状態となっている。
FIG. 2 is a schematic side view illustrating the front feeding device, the transport mechanism, and the recording head.
A front feeding device 25 configured to be able to set paper from the front of the apparatus is provided at the bottom of the printer 11. The front feeding device 25 includes a paper feeding cassette 24, a feeding roller (pickup roller) 35, an intermediate roller 36, a retard roller 37 and an assist roller 38. The feeding roller 35 is provided on a swinging member 40 that swings around a swinging shaft 40a, and the swinging member 40 is always in contact with the uppermost sheet P by being biased downward by a biasing means (not shown). It is in a state.

図3に示すように、給紙カセット24の給送方向下流側近傍位置に配置されている中間ローラー36にはリタードローラー37が当接・離間するようになっており、このリタードローラー37は当接時には中間ローラー36に対して従動回転する。また、中間ローラー36の外周面においてリタードローラー37の当接箇所より下流側の位置で当接しているアシストローラー38は、中間ローラー36による用紙Pの下流側への搬送をアシストする。   As shown in FIG. 3, a retard roller 37 is brought into contact with and separated from an intermediate roller 36 disposed in the vicinity of the downstream side of the sheet feeding cassette 24 in the feeding direction. At the time of contact, it rotates following the intermediate roller 36. Further, the assist roller 38 that is in contact with the outer peripheral surface of the intermediate roller 36 at a position downstream of the contact position of the retard roller 37 assists the conveyance of the paper P to the downstream side by the intermediate roller 36.

搬送ローラー対28は、中間ローラー36とアシストローラー38の回転により給送された用紙Pを、搬送駆動ローラー41と搬送従動ローラー42との間にニップして搬送方向下流側へ搬送する。また、排出ローラー対29は、記録ヘッド17の対応位置よりも搬送方向下流側位置で、排出駆動ローラー43と排出従動ローラー44との間に用紙Pをニップして搬送方向下流側へ用紙Pを搬送する。   The transport roller pair 28 nips the paper P fed by the rotation of the intermediate roller 36 and the assist roller 38 between the transport driving roller 41 and the transport driven roller 42 and transports the paper P downstream in the transport direction. Further, the discharge roller pair 29 nips the paper P between the discharge driving roller 43 and the discharge driven roller 44 at the downstream position in the transport direction from the corresponding position of the recording head 17 and feeds the paper P downstream in the transport direction. Transport.

給送ローラー35は、ASFモーター23(図1参照)の駆動により回転駆動される。中間ローラー36、搬送駆動ローラー41及び排出駆動ローラー43は、PFモーター27(図1参照)の駆動により回転駆動される。   The feeding roller 35 is rotationally driven by driving of the ASF motor 23 (see FIG. 1). The intermediate roller 36, the conveyance drive roller 41, and the discharge drive roller 43 are rotationally driven by driving the PF motor 27 (see FIG. 1).

また、中間ローラー36とリタードローラー37とのニップ点を挟んだ給送方向における両側位置には、後端センサー45と先端センサー46とがそれぞれ設けられている。また、アシストローラー38と搬送ローラー対28との間には、給送途中の用紙Pの先端を検出するための紙検出センサー47が配置されている。   Further, a rear end sensor 45 and a front end sensor 46 are provided at both side positions in the feeding direction across the nip point between the intermediate roller 36 and the retard roller 37. Further, a paper detection sensor 47 for detecting the leading edge of the paper P that is being fed is disposed between the assist roller 38 and the transport roller pair 28.

給送時には、ASFモーター23及びPFモーター27が駆動される。ASFモーター23の駆動により給送ローラー35が回転し、最上位の用紙Pが給紙カセット24から送り出される。送り出された用紙Pは、分離斜面24aに沿って送られた後、中間ローラー36とリタードローラー37間にニップされ、PFモーター27により回転する中間ローラー36によってその先端が搬送ローラー対28にニップされる。この給送過程の途中で用紙Pの先端が紙検出センサー47により検知され、この検知位置を基準(原点)としてPFモーター27の回転量を計数するPFカウンター75(図3参照)の計数値が頭出し位置までの送り量に相当する値に達すると、ASFモーター23及びPFモーター27の駆動が停止され、用紙Pが頭出しされる。頭出し以後の搬送中の用紙Pの搬送位置は、PFカウンター75の計数値により把握される。   At the time of feeding, the ASF motor 23 and the PF motor 27 are driven. As the ASF motor 23 is driven, the feeding roller 35 rotates, and the uppermost sheet P is fed out from the sheet feeding cassette 24. The fed paper P is fed along the separation slope 24 a, and then nipped between the intermediate roller 36 and the retard roller 37, and its leading end is nipped by the transport roller pair 28 by the intermediate roller 36 rotated by the PF motor 27. The During the feeding process, the leading edge of the paper P is detected by the paper detection sensor 47, and the count value of a PF counter 75 (see FIG. 3) that counts the rotation amount of the PF motor 27 with this detection position as a reference (origin). When the value corresponding to the feed amount up to the cueing position is reached, the driving of the ASF motor 23 and the PF motor 27 is stopped and the paper P is cueed. The conveyance position of the paper P being conveyed after cueing is grasped by the count value of the PF counter 75.

頭出し完了後、印刷動作が開始される。印刷動作では、CRモーター16によりキャリッジ14を主走査方向Xに一回移動させる過程で記録ヘッド17からインク滴を吐出して用紙Pに一行分の印字を行う印字動作と、印字後の用紙Pを次行の印字位置まで搬送する紙送り動作とが略交互に実施され、これにより用紙Pへの印刷が進められる。印刷終了後の用紙Pは、排出ローラー対29にニップされた状態で、装置前方側に設けられた図示しないスタッカーへと排出される。   After the cueing is completed, the printing operation is started. In the printing operation, the CR motor 16 moves the carriage 14 once in the main scanning direction X to eject ink droplets from the recording head 17 to print one line on the paper P, and the printed paper P Is carried out almost alternately with the paper feeding operation for transporting the paper to the printing position on the next line, whereby the printing on the paper P is advanced. The paper P after printing is discharged to a stacker (not shown) provided on the front side of the apparatus while being nipped by the discharge roller pair 29.

ところで、本実施形態では、先行用紙P1の印刷の途中から後続用紙P2の給送を開始し、先行用紙P1と後続用紙P2との間に所定の間隔(ギャップ)を保持したまま搬送と給送とを並行に進める。   By the way, in this embodiment, feeding of the succeeding sheet P2 is started in the middle of printing of the preceding sheet P1, and conveyance and feeding are performed while maintaining a predetermined interval (gap) between the preceding sheet P1 and the succeeding sheet P2. And proceed in parallel.

詳しくは、先行用紙P1の後端が後端センサー45に検出されると、ASFモーター23が駆動されて後続用紙P2の給紙(予備給紙)を開始する。そして、後続用紙P2の先端が先端センサー46に検出されると、その検出位置からさらに所定量の給送が行われたことが給紙制御部71内のASFカウンター(図示せず)の計数値から把握されると、ASFモーター23の駆動が停止される。この結果、後続用紙P2は中間ローラー36とリタードローラー37とのニップ点の手前に先端が位置した状態で待機する。その後、先行用紙P1が搬送されるときに、後続用紙P2が同速度かつ同送り量で同期して給送されることで、必要な間隔(例えば3〜10mmの範囲内の値)を確保しつつ後続用紙P2の給送が進められる。よって、先行用紙P1の印刷が終わって排紙するときに、既に後続用紙P2が先端センサー46に検知されていれば、排紙から直ちに給紙に制御モードが切り替えられる。そして、後続用紙P2の給送が行われることで、このとき駆動されるPFモーター27により各ローラー対28,29が回転駆動することにより先行用紙P1の排紙も同時に進められるようになっている。   More specifically, when the trailing edge of the preceding paper P1 is detected by the trailing edge sensor 45, the ASF motor 23 is driven to start feeding the subsequent paper P2 (preliminary paper feeding). When the leading edge of the succeeding paper P2 is detected by the leading edge sensor 46, it is counted from an ASF counter (not shown) in the paper feed control unit 71 that a predetermined amount has been fed from the detected position. From this, the driving of the ASF motor 23 is stopped. As a result, the succeeding paper P2 stands by in a state where the leading edge is positioned before the nip point between the intermediate roller 36 and the retard roller 37. Thereafter, when the preceding paper P1 is transported, the subsequent paper P2 is fed synchronously at the same speed and with the same feed amount, so that a necessary interval (for example, a value within a range of 3 to 10 mm) is secured. Meanwhile, the feeding of the succeeding paper P2 is advanced. Therefore, when the preceding sheet P1 is printed and discharged, if the subsequent sheet P2 is already detected by the leading edge sensor 46, the control mode is switched from discharging to sheet feeding immediately. By feeding the succeeding sheet P2, the pair of rollers 28 and 29 are driven to rotate by the PF motor 27 driven at this time, so that the discharge of the preceding sheet P1 is simultaneously advanced. .

図3は、プリンター11の電気的構成を示す概略構成図である。プリンター11は、コントローラー50、通信インターフェイス(以下、「通信I/P51」と記す)、CRモーター16、ASFモーター23、PFモーター27、リニアエンコーダー30、後端センサー45、先端センサー46、紙検出センサー47、ロータリーエンコーダー52等を備える。   FIG. 3 is a schematic configuration diagram illustrating an electrical configuration of the printer 11. The printer 11 includes a controller 50, a communication interface (hereinafter referred to as “communication I / P51”), a CR motor 16, an ASF motor 23, a PF motor 27, a linear encoder 30, a rear end sensor 45, a front end sensor 46, and a paper detection sensor. 47, a rotary encoder 52 and the like.

また、コントローラー50は、コンピューター53、ASFモーター駆動回路54、PFモーター駆動回路55、CRモーター駆動回路56、及びヘッド駆動回路57を備える。記録ヘッド17はコントローラー50とフレキシブル配線ケーブルを介して接続されており、ヘッド駆動回路57は実際には記録ヘッド17に内蔵されている。   The controller 50 includes a computer 53, an ASF motor drive circuit 54, a PF motor drive circuit 55, a CR motor drive circuit 56, and a head drive circuit 57. The recording head 17 is connected to the controller 50 via a flexible wiring cable, and the head driving circuit 57 is actually built in the recording head 17.

リニアエンコーダー30は、一定ピッチ(例えば1/180インチ(=2.54/180cm))毎に多数のスリットが形成されたテープ状の符号板30aと、キャリッジ14に設けられた発光素子と受光素子とを有する光学式センサー30bとを備える。キャリッジ14が移動するときに発光素子から出射されてスリットを透過した光を受光素子が受光することで、光学式センサー30bが、90度位相のずれたA相とB相の2つのエンコーダーパルス信号ES1,ES2を出力する。   The linear encoder 30 includes a tape-shaped code plate 30a in which a large number of slits are formed at a constant pitch (for example, 1/180 inch (= 2.54 / 180 cm)), and a light emitting element and a light receiving element provided on the carriage 14. And an optical sensor 30b. When the carriage 14 moves, the light receiving element receives the light emitted from the light emitting element and transmitted through the slit, so that the optical sensor 30b has two encoder pulse signals of A phase and B phase that are 90 degrees out of phase. ES1 and ES2 are output.

ロータリーエンコーダー52は、図3に示すように、PFモーター27と動力伝達可能に連結された軸部(例えば駆動ローラー41の軸部)の端部に固定された円板状の符号板52aと、その符号板52aのスリットを透過した光を受光して、90度位相のずれた2つのエンコーダーパルス信号ES3,ES4を出力する光学式センサー52bとを有する。これらエンコーダーパルス信号ES1,ES2及びエンコーダーパルス信号ES3,ES4は、コンピューター53に入力される。   As shown in FIG. 3, the rotary encoder 52 includes a disk-shaped code plate 52 a fixed to an end of a shaft portion (for example, a shaft portion of the drive roller 41) connected to the PF motor 27 so as to be capable of transmitting power. An optical sensor 52b that receives light transmitted through the slit of the code plate 52a and outputs two encoder pulse signals ES3 and ES4 that are 90 degrees out of phase. These encoder pulse signals ES 1 and ES 2 and encoder pulse signals ES 3 and ES 4 are input to the computer 53.

コントローラー50は、通信I/F51を介してホスト装置90(例えばパーソナルコンピュータ等)から印刷データを受信する。受信した印刷データPDはコントローラー50内のコンピューター53に入力される。また、コンピューター53は、CPU、ASIC(Application SpecificIC)、ROM、RAMを備えている。図3においてコンピューター53内には、CPUがROMに記憶されたプログラムを実行することによりソフトウェアとして構築される機能部分と、ASIC内の各種回路によりハードウェアとして構築される機能部分とを、機能毎に分けた複数の機能ブロックを示している。   The controller 50 receives print data from the host device 90 (for example, a personal computer) via the communication I / F 51. The received print data PD is input to the computer 53 in the controller 50. The computer 53 includes a CPU, an ASIC (Application Specific IC), a ROM, and a RAM. In FIG. 3, in the computer 53, a functional part constructed as software by the CPU executing a program stored in the ROM and a functional part constructed as hardware by various circuits in the ASIC are separated for each function. A plurality of functional blocks are shown.

コンピューター53は、バッファー60、コマンド解析部61、ジョブコントロール部62、シーケンス制御部63、画像処理部64、及びメモリー65を備える。コマンド解析部61、ジョブコントロール部62及びシーケンス制御部63は、CPUがプログラムを実行することにより構成される制御機能を果たす部分であり、それぞれ制御上の上位層・中位層・下位層の関係にある。また、画像処理部64は、本例ではASIC内の画像処理回路及びCPUがプログラムを実行して構築される画像処理機能部により構成され、印刷データPDに含まれる画像データに所定の画像処理を施してヘッド駆動回路57が記録ヘッド17を制御する際に使用可能なヘッド制御データを生成する。また、バッファー60及びメモリー65は、RAMの所定記憶領域により構成される。バッファー60は、画像処理部64が画像処理を施す途中のデータを一時格納するためにも使用される。   The computer 53 includes a buffer 60, a command analysis unit 61, a job control unit 62, a sequence control unit 63, an image processing unit 64, and a memory 65. The command analysis unit 61, the job control unit 62, and the sequence control unit 63 are portions that perform a control function configured by the CPU executing a program, and the relationship between the upper layer, middle layer, and lower layer on control, respectively. It is in. In this example, the image processing unit 64 includes an image processing circuit in the ASIC and an image processing function unit that is constructed by the CPU executing a program, and performs predetermined image processing on the image data included in the print data PD. Thus, head control data that can be used when the head drive circuit 57 controls the recording head 17 is generated. Further, the buffer 60 and the memory 65 are configured by a predetermined storage area of the RAM. The buffer 60 is also used for temporarily storing data that is being processed by the image processing unit 64.

ホスト装置90からプリンター11へは、キャリッジ14が1回の主走査で印字するのに必要な1行分の印字データずつ順次転送される。この印字データは通信I/F51を介して受信されてコントローラー50内のコンピューター53に取り込まれ、バッファー60に一時格納される。   From the host device 90 to the printer 11, the print data for one line necessary for the carriage 14 to print in one main scan is sequentially transferred. This print data is received via the communication I / F 51, taken into the computer 53 in the controller 50, and temporarily stored in the buffer 60.

コマンド解析部61は、印刷データPD中のコマンドを解釈し、コマンドの指示に従ってジョブコントロール部62に対して、給送指示、紙送り指示、印刷指示、排紙指示を含む各種の指示を行う。コマンド解析部61は、1行分の印字データをバッファー60から読み取る。印字データは、コマンドと画像データとを含み、コマンド解析部61はコマンドを解釈することにより、その下位層に指示すべき給送、紙送り(搬送)、印字、排紙などの種類を判断する。コマンド解析部61は解釈したコマンドの内容を実行させるべくその下位層のジョブコントロール部62にその内容を指示する。   The command analysis unit 61 interprets a command in the print data PD, and gives various instructions including a feeding instruction, a paper feeding instruction, a printing instruction, and a paper discharge instruction to the job control unit 62 according to the instruction of the command. The command analysis unit 61 reads print data for one line from the buffer 60. The print data includes a command and image data, and the command analysis unit 61 interprets the command to determine the type of feed, paper feed (conveyance), print, paper discharge, etc. to be instructed to the lower layer. . The command analysis unit 61 instructs the job control unit 62 of the lower layer to execute the content of the interpreted command.

また、コマンド解析部61は演算部66を有する。この演算部66は、1パス分の印字データ中の画像データに基づき今回(N回)のファーストドット位置Fnとラストドット位置Lnとを演算する。ここで、Fn及びLnの添字「n」は、現在の頁におけるN回目(N行目)の印字であることを示す。演算部66が算出したファーストドット位置Fnとラストドット位置Lnは、メモリー65に格納される。また、演算部66は、ファーストドット位置Fnに基づきキャリッジ14の起動位置PSnを算出するとともに、ラストドット位置Lnに基づきキャリッジ14の停止位置PTnを算出する。   Further, the command analysis unit 61 has a calculation unit 66. The calculating unit 66 calculates the current (N times) first dot position Fn and the last dot position Ln based on the image data in the print data for one pass. Here, the subscript “n” of Fn and Ln indicates the Nth (Nth line) printing on the current page. The first dot position Fn and the last dot position Ln calculated by the calculation unit 66 are stored in the memory 65. The calculation unit 66 calculates the start position PSn of the carriage 14 based on the first dot position Fn, and calculates the stop position PTn of the carriage 14 based on the last dot position Ln.

図9はメモリーに格納されたデータの模式図である。メモリー65には複数回分のデータF,L,PS,PTが格納されている。図9の例では3回(3行)分のデータが格納されている。すなわち、前回(N−1回目)のファーストドット位置Fn-1、ラストドット位置Ln-1、起動位置PSn-1、停止位置PTn-1と、今回(N回目)のファーストドット位置Fn、ラストドット位置Ln、起動位置PSn、停止位置PTnと、次回(N+1回目)のファーストドット位置Fn+1、ラストドット位置Ln+1、起動位置PSn+1、停止位置PTn+1とがそれぞれ格納されている。   FIG. 9 is a schematic diagram of data stored in the memory. The memory 65 stores data F, L, PS, PT for a plurality of times. In the example of FIG. 9, data for three times (three rows) is stored. That is, the previous (N-1) first dot position Fn-1, the last dot position Ln-1, the start position PSn-1, the stop position PTn-1, and the current (Nth) first dot position Fn, last dot. The position Ln, the start position PSn, the stop position PTn, the next (N + 1) first dot position Fn + 1, the last dot position Ln + 1, the start position PSn + 1, and the stop position PTn + 1 are stored. .

図3に示すシーケンス制御部63内のCR制御部73は、メモリー65にアクセスすることが可能になっており、キャリッジ14の今回の起動位置PSnと停止位置PTnを取得できれば、今回(N回目)の印字駆動(キャリッジ駆動)を行うことができる。今回の印字駆動を行うときには、通常、次回のデータFn+1,Ln+1,PSn+1,PTn+1も格納されている。しかし、ホスト装置90からの印字データの転送が遅れるなど、何らかの原因で印字データが遅延した場合は、今回のキャリッジ14の移動(印字駆動)中に、メモリー65に次回のデータFn+1,Ln+1,PSn+1,PTn+1も格納されていないことも起こりうる。   The CR control unit 73 in the sequence control unit 63 shown in FIG. 3 can access the memory 65, and if the current start position PSn and stop position PTn of the carriage 14 can be acquired, this time (Nth). Printing driving (carriage driving) can be performed. When the current print drive is performed, the next data Fn + 1, Ln + 1, PSn + 1, and PTn + 1 are usually stored. However, if the print data is delayed for some reason, such as the transfer of print data from the host device 90 is delayed, the next data Fn + 1, Ln is stored in the memory 65 during the current movement (print drive) of the carriage 14. It is possible that +1, PSn + 1, and PTn + 1 are not stored.

ジョブコントロール部62は、コマンド解析部61から指示を受け付けると、その指示に応じた内容を下位層のシーケンス制御部63に要求する。この要求には、指示の内容に応じて、給紙要求、紙送り要求(搬送要求)、印刷要求、排紙要求などがある。詳しくは、ジョブコントロール部62は、要求部67及び重ね合わせ演算部68を備える。要求部67は、上記の各種要求をシーケンス制御部63に出す。このとき、ジョブコントロール部62は、要求に対するシーケンス制御部63からの応答を確認しつつ次の要求を出すタイミングを制御する。本実施形態では、印字駆動と搬送動作との各動作時期を一部重複させる重ね合わせ制御を行っている。このとき、重ね合わせ演算部68は、印字駆動の開始時期と、搬送動作の開始時期を演算する。そして、要求部67は、その演算された印字駆動の開始時期になると印刷要求を出し、搬送動作の開始時期になると紙送り要求を出すようになっている。   When the job control unit 62 receives an instruction from the command analysis unit 61, the job control unit 62 requests the lower layer sequence control unit 63 for contents corresponding to the instruction. This request includes a paper feed request, a paper feed request (conveyance request), a print request, a paper discharge request, and the like according to the content of the instruction. Specifically, the job control unit 62 includes a request unit 67 and an overlay calculation unit 68. The request unit 67 issues the above various requests to the sequence control unit 63. At this time, the job control unit 62 controls the timing of issuing the next request while confirming the response from the sequence control unit 63 to the request. In the present embodiment, overlay control is performed to partially overlap the operation timings of the print drive and the transport operation. At this time, the overlay calculation unit 68 calculates the print drive start time and the transport operation start time. The request unit 67 issues a print request when the calculated print drive start time comes, and issues a paper feed request when the transport operation start time comes.

ここで、印字駆動と搬送動作との各動作時期を一部重複させるPF・CR重ね合わせ制御では、紙送り動作の終了と同時に印字動作(インク噴射)が開始されるようにCRモーター16の起動タイミングを制御するとともに、印字動作(インク噴射)の終了と同時に紙送り動作が開始されるようにPFモーター27の起動タイミングを制御する。このPF・CR重ね合わせ制御はシーケンス制御部63が行うが、ジョブコントロール部62はシーケンス制御部63からの動作終了の旨の応答を監視し、適切な起動タイミングになると、要求部67が印刷要求(キャリッジ起動要求)や紙送り要求を出す。   Here, in the PF / CR superposition control in which the operation timings of the print drive and the transport operation are partially overlapped, the CR motor 16 is started so that the print operation (ink ejection) is started simultaneously with the end of the paper feed operation. In addition to controlling the timing, the start timing of the PF motor 27 is controlled so that the paper feeding operation is started simultaneously with the end of the printing operation (ink ejection). The PF / CR superposition control is performed by the sequence control unit 63, but the job control unit 62 monitors a response to the end of the operation from the sequence control unit 63. (Carriage activation request) or paper feed request is issued.

図4はPF・CR重ね合わせ制御を説明するグラフである。図4において最上段は、キャリッジ14の速度プロファイルを示すグラフであり、このグラフにおいて横軸がキャリッジ位置x、縦軸がキャリッジ速度Vとなっている。本実施形態のCR速度プロファイルは、キャリッジ14が起動位置PSから定速度に達するまでの加速領域と、定速度に保持される定速領域と、定速度から停止位置PTで停止するまでの減速領域とからなる。   FIG. 4 is a graph for explaining the PF / CR superposition control. 4 is a graph showing the speed profile of the carriage 14. In this graph, the horizontal axis is the carriage position x and the vertical axis is the carriage speed V. The CR speed profile of the present embodiment includes an acceleration area until the carriage 14 reaches a constant speed from the start position PS, a constant speed area held at a constant speed, and a deceleration area until the carriage 14 stops at the stop position PT. It consists of.

また、図4において中段は、紙送り動作の速度プロファイルを示すグラフであり、このグラフにおいて横軸が用紙Pの搬送位置、縦軸が用紙Pの搬送速度となっている。さらに図4において最下段は、給紙動作の速度プロファイルを示すグラフであり、このグラフにおいて横軸が給送中の用紙の位置(給送位置)、縦軸が用紙の給送速度となっている。   4 is a graph showing the speed profile of the paper feeding operation. In this graph, the horizontal axis represents the transport position of the paper P, and the vertical axis represents the transport speed of the paper P. 4 is a graph showing the speed profile of the paper feeding operation. In this graph, the horizontal axis represents the position of the paper being fed (feed position), and the vertical axis represents the paper feed speed. Yes.

まず、図4の最上段のグラフを参照して、キャリッジ14の起動位置PSと停止位置PTの演算方法を説明する。起動位置PSと停止位置PTの演算には、ファーストドット位置Fnとラストドット位置Lnを用いる。1パス分の印刷を行う際のCRモーター16の速度プロファイルは、図4の最上段のグラフに示すように、加速領域と定速領域と減速領域のうち、本例では定速領域で印字動作(インク噴射)が行われる。このため、定速領域の始点がファーストドット位置F、定速領域の終点がラストドット位置Lになるように起動位置PSと停止位置PTとを計算する。すなわち、起動位置PSから定速度に達するまでに必要な加速距離Da(助走距離)を、ファーストドット位置Fに対しそのときの進行方向と逆方向に付加することで、起動位置PSは演算される。また、定速度から停止位置PTに達するまでに必要な減速距離Db(制動距離)を、ラストドット位置Lに対しそのときの進行方向側に付加することで、停止位置PTは演算される。なお、キャリッジ14の加速領域の途中から印字動作(インク噴射)を開始し、減速領域の途中まで印字を行う加減速印刷を採用してもよい。   First, the calculation method of the start position PS and the stop position PT of the carriage 14 will be described with reference to the uppermost graph in FIG. For the calculation of the start position PS and the stop position PT, the first dot position Fn and the last dot position Ln are used. As shown in the uppermost graph of FIG. 4, the speed profile of the CR motor 16 when printing for one pass is the printing operation in the constant speed area in this example among the acceleration area, the constant speed area, and the deceleration area. (Ink ejection) is performed. Therefore, the start position PS and the stop position PT are calculated so that the start point of the constant speed region is the first dot position F and the end point of the constant speed region is the last dot position L. That is, the starting position PS is calculated by adding the acceleration distance Da (running distance) necessary to reach a constant speed from the starting position PS in the direction opposite to the traveling direction at that time with respect to the first dot position F. . Further, the stop position PT is calculated by adding the deceleration distance Db (braking distance) necessary for reaching the stop position PT from the constant speed to the traveling direction side at that time with respect to the last dot position L. Acceleration / deceleration printing in which printing operation (ink ejection) is started from the middle of the acceleration area of the carriage 14 and printing is performed to the middle of the deceleration area may be employed.

また、印字駆動が終了すると、印字制御部74はジョブコントロール部62へ印字動作終了の旨を応答する。ジョブコントロール部62はこの印字動作終了の旨の応答を受け付けると、紙送制御部72に対して紙送り要求を送る。   When the print drive is completed, the print control unit 74 responds to the job control unit 62 that the print operation is completed. When the job control unit 62 receives a response indicating the end of the printing operation, the job control unit 62 sends a paper feed request to the paper feed control unit 72.

一方、ジョブコントロール部62の重ね合わせ演算部68は、次回(次パス)でキャリッジ起動位置PSn+1からファーストドット位置Fn+1に達するまでの所要時間ΔT(本例では加速領域の移動に要する加速時間)を計算する。さらに重ね合わせ演算部68は、今回の紙送り終了位置PEから搬送方向の逆方向に遡って所要時間ΔT分の搬送距離ΔSを計算し、紙送り終了位置PEから搬送距離ΔSだけ手前の搬送位置を、印刷要求(キャリッジ起動要求)を行うべきタイミングとなる起動要求位置として算出する。   On the other hand, the overlay calculation unit 68 of the job control unit 62 takes the required time ΔT until it reaches the first dot position Fn + 1 from the carriage activation position PSn + 1 in the next (next pass) (in this example, it is necessary for moving the acceleration region). Acceleration time) is calculated. Further, the overlay calculation unit 68 calculates a transport distance ΔS corresponding to the required time ΔT from the current paper feed end position PE in the reverse direction of the transport direction, and the transport position just before the paper feed end position PE by the transport distance ΔS. Is calculated as an activation request position that is the timing at which a print request (carriage activation request) should be made.

ジョブコントロール部62は、用紙の紙送り動作中に紙送り終了位置PEまでの残り搬送量Srを監視し、残り搬送量Srが搬送距離ΔSに達したと判断すると、CR制御部73に対して印刷要求(キャリッジ起動要求)を送る。   The job control unit 62 monitors the remaining transport amount Sr to the paper transport end position PE during the paper transport operation, and determines that the remaining transport amount Sr has reached the transport distance ΔS, the CR control unit 73 Send print request (carriage activation request).

また、ジョブコントロール部62は、最終回(最終パス)の印字駆動の過程で、シーケンス制御部63から印字動作終了の旨の応答を受け付けると、排紙要求を行う。但し、そのとき、次頁の印字データがあり(つまり次頁の印刷あり)、かつ後続用紙P2が既に先端センサー46を検知していて後続用紙P2の給送が既に開始済みの状態にあった場合は、排紙要求の直後に連続して給紙要求を送る。このため、図4における最下段のグラフに示すように、印字動作終了とほぼ同時に給紙動作が開始され、後続用紙P2が給送されることで先行用紙P1が排紙される。給紙動作は連続して頭出し動作まで行われ、後続用紙P2は次頁の印刷開始位置に頭出しされる。   In addition, when the job control unit 62 receives a response indicating the end of the printing operation from the sequence control unit 63 in the final-time (final pass) printing drive process, the job control unit 62 issues a paper discharge request. However, at that time, there is print data of the next page (that is, printing of the next page), and the succeeding paper P2 has already detected the leading edge sensor 46, and the feeding of the succeeding paper P2 has already started. In this case, a paper feed request is sent continuously immediately after the paper discharge request. Therefore, as shown in the lowermost graph in FIG. 4, the paper feeding operation is started almost simultaneously with the end of the printing operation, and the preceding paper P1 is discharged by feeding the succeeding paper P2. The paper feeding operation is continuously performed until the cueing operation, and the succeeding paper P2 is cueed to the printing start position on the next page.

図5はCRモーター16を制御する際に用いられる速度テーブルを示す。メモリー65には、CRモーター16を速度制御するためのキャリッジ用の速度テーブルTa,Tbが記憶されている。速度テーブルTaはCRモーター16の加速領域で用いられる加速テーブルであり、速度テーブルTbはCRモーター16の減速領域で用いられる減速テーブルである。図5に示すように、加速テーブルTaは、キャリッジ14の起動位置を原点とする移動方向における各位置x11,x12,…,x1nに対して、リニアエンコーダー30からのエンコーダーパルス信号ES1,ES2の周期t11,t12,…,t1nが設定されている。また、減速テーブルTbは、キャリッジ14の減速開始位置を原点とする移動方向における各位置x21,x22,…,x2nに対して、リニアエンコーダー30からのエンコーダーパルス信号ES1,ES2の周期t21,t22,…,t2nが設定されている。ここで、周期Tはキャリッジ14の移動速度に反比例する値である。このため、加速テーブルTaでは、位置xの値か大きくなるほど周期tは徐々に小さくなり、一方、減速テーブルTbでは、位置xの値か大きくなるほど周期tは徐々に大きくなる。そして、CR制御部73は、キャリッジ14の起動位置からの位置xを監視し、各位置xに応じた周期tになるような指令値をCRモーター駆動回路56に出力する。   FIG. 5 shows a speed table used when the CR motor 16 is controlled. The memory 65 stores carriage speed tables Ta and Tb for controlling the speed of the CR motor 16. The speed table Ta is an acceleration table used in the acceleration area of the CR motor 16, and the speed table Tb is a deceleration table used in the deceleration area of the CR motor 16. As shown in FIG. 5, the acceleration table Ta has a cycle of encoder pulse signals ES1, ES2 from the linear encoder 30 for each position x11, x12,..., X1n in the movement direction with the starting position of the carriage 14 as the origin. t11, t12,..., t1n are set. Further, the deceleration table Tb has a period t21, t22 of encoder pulse signals ES1, ES2 from the linear encoder 30 for each position x21, x22,..., X2n in the movement direction with the deceleration start position of the carriage 14 as the origin. ..., t2n is set. Here, the period T is a value inversely proportional to the moving speed of the carriage 14. Therefore, in the acceleration table Ta, the period t gradually decreases as the value of the position x increases. On the other hand, in the deceleration table Tb, the period t increases gradually as the value of the position x increases. The CR control unit 73 monitors the position x from the starting position of the carriage 14 and outputs a command value to the CR motor driving circuit 56 so as to have a cycle t corresponding to each position x.

図6は、コマンド解析部61、ジョブコントロール部62及びシーケンス制御部63のシーケンス図を示す。図6に示すように、コマンド解析部61は、通信I/F51で受信されたてバッファー60に1パス分の印字データが蓄積される度に、印字データをバッファー60から読み込んで、印字データ中のコマンドを解析する。このため、N−1回目の印字データが受信されると、その解析の結果、N−1回目の印刷指示、N−1回目の紙送り指示を順次送る。次にN回目の印字データが受信されると、その解析の結果、N回目の印刷指示、N回目の紙送り指示を順次送り、さらにN+1回目の印字データが受信されると、その解析の結果、N+1回目の印刷指示を順次送る。このとき、N+1回目の印字データが、現在の頁の最終回の場合は、N+1回目の印刷指示の次に、排紙指示と給紙指示がほぼ同時に送られる。そして、給紙指示の後、次頁1回目の印字データが受信され、1回目の印刷指示を送る。   FIG. 6 shows a sequence diagram of the command analysis unit 61, job control unit 62, and sequence control unit 63. As shown in FIG. 6, the command analysis unit 61 reads the print data from the buffer 60 every time print data for one pass is stored in the buffer 60 received by the communication I / F 51, Parses commands. For this reason, when the (N-1) th print data is received, as a result of the analysis, an (N-1) th print instruction and an (N-1) th paper feed instruction are sequentially sent. Next, when the Nth print data is received, as a result of the analysis, the Nth print instruction and the Nth paper feed instruction are sequentially sent, and when the (N + 1) th print data is received, the analysis result is obtained. , N + 1 printing instructions are sequentially sent. At this time, if the (N + 1) th print data is the last print of the current page, the discharge instruction and the paper feed instruction are sent almost simultaneously after the (N + 1) th print instruction. After the paper feed instruction, the first print data of the next page is received and the first print instruction is sent.

また、ジョブコントロール部62は、N−1回目の印刷指示を受け付けると、シーケンス制御部63の動作を監視し、N−2回目の紙送り動作終了のタイミングでN−1回目の印刷要求を出し、N−1回目の印字動作終了のタイミングでN−1回目の紙送り要求を出す。同様に、N回目の印刷指示を受け付けると、シーケンス制御部63の動作を監視し、N−1回目の紙送り動作終了のタイミングでN回目の印刷要求を出し、N回目の印字動作終了のタイミングでN回目の紙送り要求を出す。このように印刷指示を受け付けてから、印刷要求を出すまでには所定のタイムラグがあるので、図6に示すように、シーケンス制御部63がN回目の印刷要求を受け付けたときには、コマンド解析部61はN+1回目の印字データの解析を終えており、メモリー65には図9に示すように、N+1回目のデータFn+1,Ln+1,PSn+1,PTn+1も通常は格納されている。そして、今回の頁の最終回の印刷要求を受け付けて最終回の印字動作を終了すると、シーケンス制御部63はジョブコントロール部62から排紙要求と給紙要求をほぼ同時に受け付ける。その結果、シーケンス制御部63は給紙動作を開始する。   In addition, when the job control unit 62 receives the (N-1) th print instruction, the job control unit 62 monitors the operation of the sequence control unit 63 and issues the (N-1) th print request at the end of the (N-2) th paper feed operation. , The (N-1) th paper feed request is issued at the timing of the completion of the (N-1) th printing operation. Similarly, when an N-th printing instruction is received, the operation of the sequence control unit 63 is monitored, an N-th printing request is issued at the timing of the (N−1) -th paper feeding operation, and the N-th printing operation is completed. The Nth paper feed request is issued. Since there is a predetermined time lag between receiving the print instruction and issuing the print request in this way, as shown in FIG. 6, when the sequence control unit 63 receives the Nth print request, the command analyzing unit 61 Has completed the analysis of the print data of the (N + 1) th time, and the memory 65 normally stores the data Fn + 1, Ln + 1, PSn + 1, PTn + 1 of the (N + 1) th time as shown in FIG. . When the final print request for the current page is received and the final print operation is completed, the sequence control unit 63 receives the paper discharge request and the paper feed request from the job control unit 62 almost simultaneously. As a result, the sequence control unit 63 starts a paper feeding operation.

図3に示すシーケンス制御部63は、給紙制御部71、紙送制御部72、CR制御部73、印字制御部74を備える。シーケンス制御部63が給紙要求を受け付けると、給紙制御部71がASFモーター駆動回路54を介してASFモーター23を駆動させるとともに、紙送制御部72がPFモーター駆動回路55を介してPFモーター27を駆動させることにより、後続用紙P2を給送して印刷開始位置まで頭出しする。   The sequence control unit 63 shown in FIG. 3 includes a paper feed control unit 71, a paper feed control unit 72, a CR control unit 73, and a print control unit 74. When the sequence control unit 63 receives a paper feed request, the paper feed control unit 71 drives the ASF motor 23 via the ASF motor drive circuit 54, and the paper feed control unit 72 passes the PF motor via the PF motor drive circuit 55. By driving No. 27, the succeeding paper P2 is fed and headed to the print start position.

また、シーケンス制御部63が紙送り要求を受け付けると、紙送制御部72がPFモーター駆動回路55を介してPFモーター27を駆動させることにより紙送りを行う。このとき、先端センサー46が後続用紙P2を検知済みの状態にあれば、給紙制御部71がASFモーター駆動回路54を介してASFモーター23を駆動させることにより、後続用紙P2の給送動作も紙送り動作に同期して行われる。この結果、先行用紙P1の搬送動作(紙送り動作)と共に後続用紙P2の給送動作も一緒に進められる。紙送制御部72は、PFカウンター75とPF駆動指令部76とを備える。ロータリーエンコーダー52からのエンコーダーパルス信号ES3,ES4に基づき用紙Pの搬送位置を計数する。PF駆動指令部76は、PFモーター駆動回路55を介してPFモーター27を駆動させて紙送りを行う。このPFカウンター75の計数値はジョブコントロール部62も取得でき、重ね合わせ演算部68が算出した起動要求位置に搬送位置が達すると、ジョブコントロール部62はCR制御部73に対して印刷要求を送る。   When the sequence control unit 63 receives a paper feed request, the paper feed control unit 72 drives the PF motor 27 via the PF motor drive circuit 55 to feed the paper. At this time, if the leading edge sensor 46 has detected the succeeding sheet P2, the sheet feeding control unit 71 drives the ASF motor 23 via the ASF motor driving circuit 54, so that the succeeding sheet P2 is also fed. This is performed in synchronization with the paper feeding operation. As a result, the feeding operation of the preceding paper P1 and the feeding operation of the succeeding paper P2 are advanced together. The paper feed control unit 72 includes a PF counter 75 and a PF drive command unit 76. Based on encoder pulse signals ES3 and ES4 from the rotary encoder 52, the transport position of the paper P is counted. The PF drive command unit 76 drives the PF motor 27 via the PF motor drive circuit 55 to feed the paper. The count value of the PF counter 75 can also be acquired by the job control unit 62. When the conveyance position reaches the start request position calculated by the overlay calculation unit 68, the job control unit 62 sends a print request to the CR control unit 73. .

また、シーケンス制御部63が印刷要求を受け付けると、CR制御部73がCRモーター駆動回路56を介してCRモーター16を駆動させてキャリッジ14を主走査方向に移動させて今回(N回目)の印字駆動制御を行う。印字駆動制御を行うためにCR制御部73は、起動位置判定手段の一例としての第1判定部81、ロジカルシーク部82、停止位置設定部83、判定手段の一例としての第2判定部84、再設定手段の一例としての停止位置再設定部85、CR駆動指令部86及びCRカウンター87を備える。なお、本実施形態では、停止位置設定部83及びCR駆動指令部86により、制御手段の一例が構成される。   When the sequence control unit 63 receives a print request, the CR control unit 73 drives the CR motor 16 via the CR motor drive circuit 56 to move the carriage 14 in the main scanning direction, thereby printing this time (Nth). Drive control is performed. In order to perform print drive control, the CR control unit 73 includes a first determination unit 81 as an example of an activation position determination unit, a logical seek unit 82, a stop position setting unit 83, and a second determination unit 84 as an example of a determination unit. A stop position resetting unit 85, a CR drive command unit 86, and a CR counter 87 are provided as an example of resetting means. In the present embodiment, the stop position setting unit 83 and the CR drive command unit 86 constitute an example of a control unit.

CRカウンター87は、リニアエンコーダー30からのエンコーダーパルス信号ES1,ES2に基づき主走査方向Xにおけるキャリッジ14の位置(以下、「キャリッジ位置と称す」を計数する。また、CR制御部73は、キャリッジ駆動時にリニアエンコーダー30から入力する一方のエンコーダーパルス信号ES1の立ち上がりエッジ検出時に他方のエンコーダーパルス信号ES2がHiかLowかを判別して、キャリッジ移動方向を把握する。CRカウンター87は、リニアエンコーダー30から入力される2相のエンコーダーパルス信号ES1,ES2のエッジの数を計数する。そして、CRカウンター87は、キャリッジ14がホーム位置HPから離れる80桁側へ向かう移動方向(往動)のときに計数値をインクリメントし、キャリッジ14がホーム位置HPへ近づく1桁側へ向かう移動方向(復動)のときに計数値をデクリメントすることで、ホーム位置HPを原点とするキャリッジ位置を管理する。   The CR counter 87 counts the position of the carriage 14 in the main scanning direction X (hereinafter referred to as “carriage position”) based on the encoder pulse signals ES1 and ES2 from the linear encoder 30. The CR control unit 73 also drives the carriage. Sometimes, when the rising edge of one encoder pulse signal ES1 input from the linear encoder 30 is detected, it is determined whether the other encoder pulse signal ES2 is Hi or Low, and the carriage moving direction is grasped. The number of edges of the input two-phase encoder pulse signals ES1 and ES2 is counted, and the CR counter 87 is counted when the carriage 14 is in the moving direction (forward movement) toward the 80th digit away from the home position HP. Increment the number, Yarijji 14 by decrementing the count value when the moving direction toward one digit side closer to the home position HP (backward), manages a carriage position to the home position HP as the origin.

図7は、N回目の印字駆動制御を説明するグラフである。CRカウンター87の計数値として与えられるキャリッジ位置を計測するスケールは、ホーム位置HPを原点として1桁側(ホーム位置側)から80桁側(反ホーム位置側)へ向かうに連れて大きな値をとる。想定される最大幅の用紙の幅全域の印刷を可能にするキャリッジ14の移動範囲に対してこの移動範囲の両端よりも外側の位置に、キャリッジ14が給送時に待機する待機位置POSD,POSFが設定されている。これら2つの待機位置POSD,POSFのうち、今回のキャリッジ14の進行方向に向かって先方に位置する側の位置が、キャリッジ14が今回の1行分の移動過程における暫定的な目標位置(暫定停止位置)になる。キャリッジ14が待機位置POSD,POSFのうちいずれか一方に位置する状態からは、用紙上のどの位置にファーストドット位置Fnが存在しても、その現在位置から移動を開始(加速)すれば必ず印刷を行うことができ、ロジカルシーク動作は常に不要になる。   FIG. 7 is a graph for explaining the Nth print drive control. The scale for measuring the carriage position given as the count value of the CR counter 87 takes a large value from the home position HP toward the 80th digit side (the non-home position side) from the first digit side (home position side). . Waiting positions POSD and POSF where the carriage 14 waits at the time of feeding are positioned outside the both ends of the moving range of the carriage 14 that enables printing of the entire width of the assumed maximum width of the sheet. Is set. Of these two standby positions POSD and POSF, the position on the side ahead in the traveling direction of the current carriage 14 is the temporary target position (temporary stop in the moving process of the current line for one line). Position). From the state in which the carriage 14 is positioned at either one of the standby positions POSD and POSF, regardless of the position on the paper where the first dot position Fn exists, printing always starts if the movement starts (accelerates) from the current position. The logical seek operation is not always necessary.

第1判定部81は、N−1回目のキャリッジ停止位置(現在位置)と、N回目のファーストドット位置Fnから算出されるキャリッジ起動位置との比較に基づき現在位置から加速可能な否かを判定する。   The first determination unit 81 determines whether or not acceleration can be performed from the current position based on a comparison between the N−1th carriage stop position (current position) and the carriage activation position calculated from the Nth first dot position Fn. To do.

ロジカルシーク部82は、第1判定部81が現在位置から加速可能ではないと判定した場合に、ロジカルシークを行い、今回(N回目)のファーストドット位置Fnから算出されるキャリッジ起動位置PSnへキャリッジ14を移動させるようにCR駆動指令部86に指示する。このCR駆動指令部86は、メモリー65から読み込んだ加速テーブルTa及び減速テーブルTbに基づいて速度指令値をCRモーター駆動回路56に出力することにより、CRモーター16を駆動させて速度制御する。   When the first determination unit 81 determines that acceleration is not possible from the current position, the logical seek unit 82 performs logical seek and carriage to the carriage start position PSn calculated from the current (Nth) first dot position Fn. The CR drive command unit 86 is instructed to move 14. The CR drive command unit 86 controls the speed by driving the CR motor 16 by outputting a speed command value to the CR motor drive circuit 56 based on the acceleration table Ta and the deceleration table Tb read from the memory 65.

停止位置設定部83はこの暫定停止位置を目標位置として設定する。つまり、停止位置設定部83は、キャリッジ14が前回(N−1回目)の移動を終了した停止位置(つまり今回(N回目)の起動位置)において、2つの待機位置POSD,POSFのうち現在位置から今回(N回目)の進行方向に向かって先方に位置する側の待機位置を今回(N回目)の目標位置(暫定停止位置)として設定する。例えば図7の例では、同図左側の待機位置POSFが目標位置(暫定停止位置)として設定される。   The stop position setting unit 83 sets this temporary stop position as a target position. That is, the stop position setting unit 83 is the current position of the two standby positions POSD and POSF at the stop position where the carriage 14 has finished the previous (N-1) th movement (that is, the current (Nth) start position). From this time (Nth), the standby position on the side ahead in the traveling direction is set as the current (Nth) target position (temporary stop position). For example, in the example of FIG. 7, the standby position POSF on the left side of the figure is set as the target position (temporary stop position).

第2判定部84は、N+1回目のドット形成範囲が把握できたか否かを判定する。この判定は、本例の場合、ドット形成範囲が把握できた場合にコマンド解析部61が演算してメモリー65に格納したN+1回目のデータFn+1,Ln+1,PSn+1,PTn+1が存在するかどうかで判定する。また、第2判定部84は、N+1回目のファーストドット位置Fn+1から算出されるキャリッジ起動位置PSn+1と、N回目のラストドット位置Lnから算出されるキャリッジ停止位置PTnとのうち、起動位置に対してどちらが遠い位置であるかを判定する。   The second determination unit 84 determines whether or not the (N + 1) th dot formation range has been grasped. In this example, in this example, when the dot formation range can be grasped, the N + 1th data Fn + 1, Ln + 1, PSn + 1, PTn + 1 calculated by the command analysis unit 61 and stored in the memory 65 are obtained. It is determined whether or not there exists. Further, the second determination unit 84 activates among the carriage activation position PSn + 1 calculated from the (N + 1) th first dot position Fn + 1 and the carriage stop position PTn calculated from the Nth last dot position Ln. It is determined which is far from the position.

停止位置再設定部85は、停止位置設定部83が先に暫定停止位置POSD又はPOSFに設定していた目標位置を再設定する。第2判定部84の判定結果に応じた方法で目標位置の再設定を行う。詳しくは、起動位置に対して遠いのが、N+1回目のキャリッジ起動位置PSn+1である場合は、目標位置をN+1回目のキャリッジ起動位置PSn+1へ変更する。つまり、それまで暫定的に待機位置(暫定停止位置)POSD又はPOSFに設定していた目標位置を、N+1回目のキャリッジ起動位置PSn+1に再設定する。一方、起動位置に対して遠いのが、N回目のキャリッジ停止位置PTnである場合は、目標位置をN回目のキャリッジ停止位置PTnへ変更する。つまり、それまで暫定的に待機位置(暫定停止位置)POSD又はPOSFに設定していた目標位置を、N回目のキャリッジ停止位置PTnに再設定する。   The stop position resetting unit 85 resets the target position previously set by the stop position setting unit 83 as the temporary stop position POSD or POSF. The target position is reset by a method according to the determination result of the second determination unit 84. Specifically, when the N + 1th carriage activation position PSn + 1 is far from the activation position, the target position is changed to the N + 1th carriage activation position PSn + 1. That is, the target position that has been tentatively set to the standby position (temporary stop position) POSD or POSF until then is reset to the N + 1th carriage activation position PSn + 1. On the other hand, if it is the Nth carriage stop position PTn that is far from the start position, the target position is changed to the Nth carriage stop position PTn. That is, the target position that has been provisionally set to the standby position (provisional stop position) POSD or POSF until then is reset to the Nth carriage stop position PTn.

次に印字駆動制御について図10に示すフローチャートに基づいて、図7及び図8を参照しつつ説明する。コンピューター53は、前回のキャリッジ14の移動中に印字動作(インク噴射)を監視しつつ、前回の印字動作を終了すると、図10に示す今回(N回目)の印字駆動制御ルーチンを実行する。この印字駆動制御ルーチンは具体的にはコンピューター53のCR制御部73が行う。この印字駆動制御ルーチンは1行毎に毎回実行される。   Next, the print drive control will be described with reference to FIGS. 7 and 8 based on the flowchart shown in FIG. When the previous printing operation is completed while monitoring the printing operation (ink ejection) during the previous movement of the carriage 14, the computer 53 executes the current (Nth) printing drive control routine shown in FIG. Specifically, this print drive control routine is performed by the CR control unit 73 of the computer 53. This print drive control routine is executed every line.

図7(a)に示すように、前回(N−1回目)においてキャリッジ14がファーストドット位置Fn-1から算出されるキャリッジ起動位置PSn-1から主走査を開始し、ファーストドット位置Fn-1から開始した印字動作をラストドット位置Ln-1で終了すると、コンピューター53はN回目の印字駆動制御ルーチン(図10)の実行を開始する。   As shown in FIG. 7A, in the previous time (N-1th), the carriage 14 starts main scanning from the carriage activation position PSn-1 calculated from the first dot position Fn-1, and the first dot position Fn-1 When the printing operation started from is finished at the last dot position Ln-1, the computer 53 starts executing the Nth print drive control routine (FIG. 10).

図10において、まずステップS10では、キャリッジ14が停止したか否かを判断する。キャリッジ14が停止していなければそのまま待機し、キャリッジ14が停止していれば次のステップS20に進む。   In FIG. 10, first, in step S10, it is determined whether or not the carriage 14 has stopped. If the carriage 14 is not stopped, the process waits as it is. If the carriage 14 is stopped, the process proceeds to the next step S20.

ステップS20では、N−1回目のキャリッジ停止位置(現在位置)と、N回目のファーストドット位置Fnから計算されるキャリッジ起動位置との比較に基づき現在位置から加速可能な否かを判断する。つまり、現在位置から加速しても今回のファーストドット位置Fnに到達するまでにインク噴射してもよい目標速度に到達できるか否かを判断する。現在位置から加速可能でなければステップS30に進み、現在位置から加速可能であればステップS40に進む。N−1回目の印字駆動制御が正常に行われていれば、現在位置は、N回目のファーストドット位置Fnから算出されるキャリッジ起動開始位置か、N−1回目のラストドット位置Ln-1から算出されるキャリッジ起動開始位置か、n前回の暫定停止位置(POSD又はPOSF)になっているので、現在位置から加速可能と判断される。万一、キャリッジ14が移動中に何らかの原因で目標位置に到達する手前で停止してしまった場合だけ、現在位置から加速可能でないと判断される。   In step S20, it is determined whether or not acceleration is possible from the current position based on a comparison between the N-1th carriage stop position (current position) and the carriage activation position calculated from the Nth first dot position Fn. That is, it is determined whether or not the target speed at which ink can be ejected before reaching the current first dot position Fn can be reached even when accelerating from the current position. If acceleration is not possible from the current position, the process proceeds to step S30, and if acceleration is possible from the current position, the process proceeds to step S40. If the (N-1) th print drive control is normally performed, the current position is the carriage start position calculated from the Nth first dot position Fn or the (N-1) th last dot position Ln-1. Since it is the calculated carriage start position or the previous temporary stop position (POSD or POSF), it is determined that acceleration is possible from the current position. In the unlikely event that the carriage 14 stops before reaching the target position for some reason during the movement, it is determined that acceleration cannot be performed from the current position.

ステップS30では、ロジカルシークを行い、今回(N回目)のファーストドット位置Fnから算出されるキャリッジ起動位置PSnへ移動する。前述のとおり何らかの原因で目標位置より手前で停止してしまった場合でも、現在位置からロジカルシークを行うことで、今回のファーストドット位置Fnから算出されるキャリッジ起動位置PSnへ移動し、この移動先の現在位置からキャリッジ14は加速可能となる。   In step S30, logical seek is performed, and the carriage is moved to the carriage activation position PSn calculated from the current (Nth) first dot position Fn. As described above, even if the vehicle stops before the target position for some reason, it moves to the carriage start position PSn calculated from the current first dot position Fn by performing a logical seek from the current position. The carriage 14 can be accelerated from the current position.

ステップS40では、現在位置から、目標位置POSD又はPOSFへキャリッジ14の走査を開始する。すなわち、コンピューター53(停止位置設定部85)はキャリッジ14の目標位置として暫定停止位置POSD又はPOSFを設定し、CRモーター16を駆動させてキャリッジ14を現在位置から暫定停止位置POSD又はPOSFに向かって移動を開始させることで、今回(N回目)のキャリッジ14の走査を開始する。   In step S40, scanning of the carriage 14 is started from the current position to the target position POSD or POSF. That is, the computer 53 (stop position setting unit 85) sets the temporary stop position POSD or POSF as the target position of the carriage 14, drives the CR motor 16, and moves the carriage 14 from the current position toward the temporary stop position POSD or POSF. By starting the movement, scanning of the carriage 14 this time (Nth) is started.

ステップS50では、N+1回目のドット形成範囲が把握できたか否かを判断する。この判断は、具体的には、ドット形成範囲が把握できた場合に、コマンド解析部61が演算してメモリー65に格納したN+1回目のデータFn+1,Ln+1,PSn+1,PTn+1があるか否かで判断する。すなわち、コンピューター53のCR制御部73は、メモリー65にアクセスしてN+1回目のデータが存在するかどうかを確認する。N+1回目のドット形成範囲が把握できた場合はステップS60に進み、それを把握できなかった場合はステップS90に進む。   In step S50, it is determined whether or not the (N + 1) th dot formation range has been grasped. Specifically, this determination is made when the dot formation range can be grasped, and the N + 1th data Fn + 1, Ln + 1, PSn + 1, PTn + calculated by the command analysis unit 61 and stored in the memory 65. Judge whether there is 1 or not. That is, the CR control unit 73 of the computer 53 accesses the memory 65 to check whether or not the (N + 1) th data exists. If the N + 1-th dot formation range can be grasped, the process proceeds to step S60, and if it cannot be grasped, the process proceeds to step S90.

ステップS60では、N+1回目のファーストドット位置Fn+1から算出されるキャリッジ起動位置PSn+1と、N回目のラストドット位置Lnから算出されるキャリッジ停止位置PTnとのうち、起動位置に対してどちらが遠い位置であるかを判断する。起動位置に対して遠いのが、N+1回目のキャリッジ起動位置PSn+1である場合はステップS70に進む。一方、起動位置に対して遠いのが、N回目のキャリッジ停止位置PTnである場合はステップS80に進む。   In step S60, whichever of the carriage activation position PSn + 1 calculated from the (N + 1) th first dot position Fn + 1 and the carriage stop position PTn calculated from the Nth last dot position Ln is selected with respect to the activation position. Judge whether the position is far away. If the N + 1th carriage activation position PSn + 1 is far from the activation position, the process proceeds to step S70. On the other hand, if the Nth carriage stop position PTn is far from the start position, the process proceeds to step S80.

ステップS70では、目標位置をN+1回目のキャリッジ起動位置PSn+1へ変更する。つまり、それまで暫定的に待機位置(暫定停止位置)POSD又はPOSFに設定していた目標位置を、N+1回目のキャリッジ起動位置PSn+1に再設定する。   In step S70, the target position is changed to the (N + 1) th carriage activation position PSn + 1. That is, the target position that has been tentatively set to the standby position (temporary stop position) POSD or POSF until then is reset to the N + 1th carriage activation position PSn + 1.

一方、ステップS80では、目標位置をN回目のキャリッジ停止位置PTnへ変更する。つまり、それまで暫定的に待機位置(暫定停止位置)POSD又はPOSFに設定していた目標位置を、N回目のキャリッジ停止位置PTnに再設定する。   On the other hand, in step S80, the target position is changed to the Nth carriage stop position PTn. That is, the target position that has been provisionally set to the standby position (provisional stop position) POSD or POSF until then is reset to the Nth carriage stop position PTn.

そして、次のステップS90では、印字動作が終了するまで待機する。そして、今回(N回目)の印字動作が終了すると、N回目の印字駆動制御を終了し、これに入れ替わり、N+1回目の印字駆動制御を開始する。このとき、N+1回目が今回になるので、図10において今回をN回目として同様の制御が行われる。   In the next step S90, the process waits until the printing operation is completed. When the current (Nth) printing operation is completed, the Nth printing drive control is terminated, and the N + 1th printing drive control is started. At this time, since the (N + 1) th time is the current time, the same control is performed with the current time as the Nth time in FIG.

なお、S40の処理が移動ステップに相当し、S60の処理が判定ステップに相当し、S70,S80の処理が再設定ステップに相当する。また、本実施形態において、CR駆動指令部86が、再設定されなかった際の暫定停止位置、又は再設定された目標位置にキャリッジ14を停止させる制御が、停止制御ステップに相当する。   Note that the process of S40 corresponds to a movement step, the process of S60 corresponds to a determination step, and the processes of S70 and S80 correspond to a resetting step. In the present embodiment, the control for stopping the carriage 14 at the temporary stop position when the CR drive command unit 86 is not reset or the reset target position corresponds to the stop control step.

図7(a)に示すように、前回(N+1回目)の移動過程で印字動作が終了すると、N回目の印字駆動制御が開始され、キャリッジ14が前回の停止位置PTn-1に停止するまで待機する。そして、キャリッジ14が停止すると、この停止位置は今回の起動位置に一致するので、この今回の起動位置PSnから暫定停止位置POSFに向かってキャリッジ14を移動させる。この移動過程で、N回目の停止位置PTnとN+1回目の起動位置PSn+1とを比較するが、図7(a)の例では、N+1回目の起動位置PSn+1の方が今回の起動位置PSnに対して遠くに位置する。よって、目標位置が暫定停止位置POSFに替えて、N+1回目の起動位置PSn+1に再設定される。その後、キャリッジ14がN回目を停止位置PTnで停止すると、その停止位置がN+1回目の起動位置PSn+1に一致するので、その現在位置からN+1回目の移動を開始できる。   As shown in FIG. 7A, when the printing operation is completed in the previous (N + 1) th moving process, the Nth printing drive control is started and waits until the carriage 14 stops at the previous stop position PTn-1. To do. When the carriage 14 stops, the stop position coincides with the current start position, so the carriage 14 is moved from the current start position PSn toward the temporary stop position POSF. In this movement process, the Nth stop position PTn is compared with the N + 1th start position PSn + 1. In the example of FIG. 7A, the N + 1th start position PSn + 1 is the current start position. Located far from PSn. Therefore, the target position is reset to the (N + 1) th activation position PSn + 1 instead of the provisional stop position POSF. Thereafter, when the carriage 14 stops at the Nth stop position PTn, the stop position coincides with the (N + 1) th start position PSn + 1, so that the N + 1th movement can be started from the current position.

また、図7の(b)の例では、今回の起動位置PSnから暫定停止位置POSFに向かってキャリッジ14が移動する移動過程で、N回目の停止位置PTnとN+1回目の起動位置PSn+1とを比較するが、N回目の停止位置PTnの方が今回の起動位置PSnに対して遠くに位置する。よって、目標位置が暫定停止位置POSFに替えて、N回目の停止位置PTnに再設定される。その後、キャリッジ14がN回目を停止位置PTnで停止すると、その停止位置がN+1回目の起動位置PSn+1よりもN+1回目の移動方向と逆方向側に位置するので、その現在位置からN+1回目の移動を開始できる。   In the example of FIG. 7B, the Nth stop position PTn and the (N + 1) th start position PSn + 1 in the moving process in which the carriage 14 moves from the current start position PSn toward the temporary stop position POSF. However, the N-th stop position PTn is located farther from the current start position PSn. Therefore, the target position is reset to the Nth stop position PTn instead of the provisional stop position POSF. Thereafter, when the carriage 14 stops at the Nth stop position PTn, the stop position is located on the opposite side of the N + 1th moving direction from the N + 1th start position PSn + 1. You can start moving.

さらに図8は、最終回のパスの際の印字駆動制御を示している。この最終回のパスでは、キャリッジ14は今回(N回目)の起動位置PSnから暫定停止位置POSFに向かって移動を開始し、その移動過程において次回が排紙のため印字データがなく、N+1回目のドット形成範囲が把握できない(S50でNO)。このため、目標位置の再設定は行われず、キャリッジ14は暫定停止位置POSFまで移動して停止する。   Further, FIG. 8 shows print drive control during the final pass. In this final pass, the carriage 14 starts moving from the current (Nth) start position PSn toward the provisional stop position POSF, and in the moving process, there is no print data because the next time paper is discharged, and the N + 1th pass. The dot formation range cannot be grasped (NO in S50). Therefore, the target position is not reset and the carriage 14 moves to the temporary stop position POSF and stops.

このとき、本実施形態では、図4に示すように、最終回の印字動作が終了すると、排紙要求と給紙要求がほぼ同時に出され、直ちに給紙動作が開始される。しかし、このときのキャリッジ14は図8に示すように印字動作(同図のハッチング部)を終了しても、そのまま暫定停止位置POSFまで移動する。このため、キャリッジ14は、用紙P2が給送されてくる範囲から速やかに退避することができる。この結果、給送されてきた用紙P2が記録ヘッド17に接触する頻度が低減され、この種の接触に起因して用紙P2が汚れる事態を効果的に低減できる。   At this time, in this embodiment, as shown in FIG. 4, when the final printing operation is completed, the paper discharge request and the paper feed request are issued almost simultaneously, and the paper feed operation is immediately started. However, the carriage 14 at this time moves to the temporary stop position POSF as it is even after the printing operation (hatched portion in the figure) is completed as shown in FIG. For this reason, the carriage 14 can be quickly retracted from the range in which the paper P2 is fed. As a result, the frequency with which the fed paper P2 contacts the recording head 17 is reduced, and the situation in which the paper P2 is soiled due to this type of contact can be effectively reduced.

以上詳述したように、本実施形態では、以下に示す効果を得ることができる。
(1)今回のキャリッジ停止位置を再設定するための判定時に次回の印字データがなくても、今回の停止後に再度同じ方向へキャリッジ14を移動させることが必要になる頻度を低減できる。例えば印刷中の各回のパスにおいて、再設定するための判定時に次回の印字データがなくても、そのパスにおいてキャリッジ14の停止後にロジカルシークを行わずに済む。また、最終回のパスであることに起因して今回の頁の印字データがなくなり再設定のための判定時に次回の印字データがない場合(S50でNO)、キャリッジ14はそのまま暫定停止位置POSD又はPOSFまで移動して、次頁の用紙P2が給送される範囲から速やかに退避できる。例えば最終回のパスにおいて今回の停止位置PTnでキャリッジ14が一旦停止した後に再度同じ方向へキャリッジ14が移動することになると、キャリッジ14の退避の遅れが原因で、給送されてきた用紙P2が記録ヘッド17に接触し、用紙P2が汚れる心配がある。しかし、本実施形態によれば、キャリッジ14は途中で停止することなく速やかに退避するので、給送されてきた用紙P2が記録ヘッド17に接触する頻度を低減でき、この種の接触が原因で発生する用紙P2の汚れを効果的に低減できる。
As described above in detail, in the present embodiment, the following effects can be obtained.
(1) Even if there is no next print data at the time of determination for resetting the current carriage stop position, it is possible to reduce the frequency with which the carriage 14 needs to be moved again in the same direction after the current stop. For example, in each pass during printing, even if there is no next print data at the time of determination for resetting, it is not necessary to perform a logical seek after the carriage 14 stops in that pass. If there is no print data for the current page due to the last pass and there is no next print data at the time of determination for resetting (NO in S50), the carriage 14 remains as it is at the temporary stop position POSD or By moving to the POSF, it is possible to quickly evacuate from the range where the paper P2 of the next page is fed. For example, when the carriage 14 is once again moved in the same direction after the carriage 14 is temporarily stopped at the current stop position PTn in the final pass, the fed paper P2 is caused by a delay in retracting the carriage 14. There is a concern that the paper P2 may come into contact with the recording head 17 and become dirty. However, according to the present embodiment, the carriage 14 is quickly retracted without stopping in the middle, so that the frequency with which the fed paper P2 contacts the recording head 17 can be reduced, and this kind of contact is the cause. Contamination of the generated paper P2 can be effectively reduced.

(2)前回のキャリッジ14が停止するまで待って(S10)、この停止以後、今回の印字動作(インク噴射)終了までの期間に、今回のキャリッジ停止位置を決定する処理(S60〜S80等)を行う。よって、次回の印字データが多少遅れても、次回のドット形成範囲が把握できる(S50で肯定判定)頻度が増し、なるべく次回のファーストドット位置Fn+1を確認して今回のキャリッジ停止位置を決められる頻度を増やすことができる。この結果、キャリッジ14が無駄に暫定停止位置POSD又はPOSFまで移動することを極力回避できる。   (2) Wait until the previous carriage 14 is stopped (S10), and determine the current carriage stop position after this stop until the end of the current printing operation (ink ejection) (S60 to S80, etc.) I do. Therefore, even if the next print data is somewhat delayed, the frequency of grasping the next dot formation range (affirmative determination in S50) increases, and the next first dot position Fn + 1 is confirmed as much as possible to determine the current carriage stop position. Can be increased. As a result, it is possible to avoid the carriage 14 from moving to the temporary stop position POSD or POSF as much as possible.

(3)特に前回のキャリッジ14の移動を停止以後、今回のキャリッジ14の起動前に、今回のキャリッジ停止位置を決定する処理(S60〜S80等)を開始できるので、キャリッジ14がファーストドット位置Fnに到達するまでに再設定を終えることができる。例えば今回のファーストドット位置Fnがラストドット位置Lnと同じ位置や近傍位置であるなどドット形成範囲が非常に短い場合でも、今回のラストドット位置Lnから算出されるキャリッジ停止位置に再設定された場合にはキャリッジ14をなるべく再設定位置に停止させることができる。よって、再設定時期の遅れが原因でキャリッジ14が再設定された停止位置を過ぎて停止する事態を極力回避できる。   (3) Since the process (S60 to S80, etc.) for determining the current carriage stop position can be started after the previous movement of the carriage 14 is stopped and before the current carriage 14 is started, the carriage 14 is moved to the first dot position Fn. You can finish resetting until you reach. For example, even when the dot formation range is very short, such as the current first dot position Fn is the same position as or the position near the last dot position Ln, the carriage stop position calculated from the current last dot position Ln is reset. The carriage 14 can be stopped at the reset position as much as possible. Therefore, it is possible to avoid as much as possible the situation where the carriage 14 stops after the reset position where the carriage 14 is reset due to a delay in the resetting time.

(3)今回頁の最終パスの印刷時は暫定停止位置POSD又はPOSFまで移動する。このため、給送された次頁の用紙P2が記録ヘッド17に接触することをなるべく回避することができる。   (3) When printing the final pass of the current page, the printer moves to the temporary stop position POSD or POSF. For this reason, it is possible to prevent the fed paper P2 of the next page from coming into contact with the recording head 17 as much as possible.

(4)また、キャリッジ14が次頁の用紙P2と記録ヘッド17とが接触しない位置(例えば待機位置POSD又はPOSFあるいはその近傍位置)まで退避するのを待ってから、次頁の用紙P2の給送を開始する構成した場合に、次頁の給紙所要時間を短縮できる。   (4) Also, after waiting for the carriage 14 to retreat to a position where the paper P2 of the next page and the recording head 17 do not contact (for example, the standby position POSD or POSF or a position near it), the supply of the paper P2 of the next page is performed. When the feeding is started, the time required for feeding the next page can be shortened.

(5)N−1回目のキャリッジ停止位置(現在位置)と、N回目のファーストドット位置Fnから計算されるキャリッジ起動位置との比較に基づき現在位置から加速可能な否かを判断し、現在位置から加速可能でなければ、ロジカルシークを行い(S30)、今回(N回目)のファーストドット位置Fnから算出されるキャリッジ起動位置PSnへ移動する。よって、前回のキャリッジ移動で何らかの原因で目標位置より手前で停止してしまった場合でも、今回のファーストドット位置Fnから算出されるキャリッジ起動位置PSnへ移動し、この移動先からキャリッジ14を起動することで、今回の印刷を確実に行うことができる。   (5) Based on a comparison between the N-1th carriage stop position (current position) and the carriage start position calculated from the Nth first dot position Fn, it is determined whether or not acceleration is possible from the current position, and the current position If acceleration is not possible, logical seek is performed (S30), and the carriage is moved to the carriage start position PSn calculated from the current (Nth) first dot position Fn. Therefore, even if the previous carriage movement stops for some reason before the target position, it moves to the carriage activation position PSn calculated from the current first dot position Fn and activates the carriage 14 from this movement destination. Thus, the current printing can be performed reliably.

なお、上記実施形態は以下のような形態に変更することもできる。
・前記実施形態では印字駆動制御ルーチンを毎回(毎パス)実行したが、最終回(最終パス)だけ実行する構成でもよい。最終回であるか否かは、例えば上位層であるコマンド解析部61が排紙コマンドにより判断し、その最終回である旨の情報をメモリー65に格納しておくことで、シーケンス制御部63がその情報にアクセスできるようにすればよい。このように最終回のみ実行する構成であっても、最終パスにおける印字動作終了後にキャリッジ14を、給送される用紙と記録ヘッドが接触しうる範囲の外側へ速やかに退避させることができるので、用紙と記録ヘッドの接触に起因する用紙の汚れを極力回避できる。また、キャリッジ14が用紙Pと記録ヘッド17とが接触しないタイミング位置まで退避するのを待ってから用紙の給送を開始する構成の場合は、今回頁の最終パスの印字動作終了から、次回頁の用紙給送終了までの給送所要時間を極力短縮することができる。
In addition, the said embodiment can also be changed into the following forms.
In the above-described embodiment, the print drive control routine is executed every time (every pass). However, the print drive control routine may be executed only the last time (final pass). Whether or not it is the final time is determined by, for example, the upper layer command analysis unit 61 based on the paper discharge command, and information indicating the final time is stored in the memory 65, so that the sequence control unit 63 You can make that information accessible. Even in such a configuration that is executed only the last time, the carriage 14 can be quickly retracted to the outside of the range in which the fed paper and the recording head can contact after the printing operation in the final pass is completed. It is possible to avoid the contamination of the paper due to the contact between the paper and the recording head as much as possible. Also, in the case where the feeding of the paper is started after waiting for the carriage 14 to be retracted to the timing position where the paper P and the recording head 17 do not contact, the printing of the next page from the end of the printing operation of the final pass of the current page is started. It is possible to shorten the time required for feeding until the end of paper feeding.

・前回のキャリッジ14の移動停止以後、今回の印字動作終了までの期間内であれば、今回のキャリッジ停止位置を再設定するタイミングは適宜変更してよい。但し、キャリッジ14が今回のファーストドット位置Fnに到達するまでに再設定することが好ましい。例えばドット形成範囲が非常に短い場合(ファーストドット位置Fnとラストドット位置Lnが同じ又は近傍の場合)でも、再設定した停止位置を目標に減速することができる。   The timing for resetting the current carriage stop position may be changed as appropriate within the period from the previous stop of carriage 14 movement until the end of the current printing operation. However, it is preferable to reset the carriage 14 until it reaches the current first dot position Fn. For example, even when the dot formation range is very short (when the first dot position Fn and the last dot position Ln are the same or in the vicinity), the reset stop position can be decelerated to the target.

・暫定停止位置はPOSD又はPOSFに限定されない。例えば1桁側の暫定停止位置をホーム位置HPとしてもよい。また、キャリッジが動力源の動力を給送装置へ伝達させるクラッチをレバーの操作で接続させる構成の場合は、キャリッジがクラッチを切り換えできるクラッチ切換位置を暫定停止位置としてもよい。   -The temporary stop position is not limited to POSD or POSF. For example, the temporary stop position on the 1-digit side may be set as the home position HP. In addition, when the carriage is configured to connect a clutch that transmits the power of the power source to the feeding device by operating the lever, a clutch switching position at which the carriage can switch the clutch may be set as a temporary stop position.

・前記実施形態では、暫定停止位置を予め決められた位置としたが、印刷条件等に応じて可変させる構成としてもよい。例えば暫定停止位置を用紙サイズに応じて可変にしてもよい。この場合、そのときのサイズの用紙において、用紙上のどの位置にファーストドット位置Fnが存在しても必ず加速可能な位置を、用紙サイズ(主走査方向サイズ)に応じて設定する。   In the above-described embodiment, the temporary stop position is a predetermined position. However, the temporary stop position may be varied according to the printing conditions. For example, the temporary stop position may be made variable according to the paper size. In this case, a position that can be accelerated regardless of the position of the first dot position Fn on the sheet of the current size is set according to the sheet size (size in the main scanning direction).

・暫定停止位置は、印刷時おけるキャリッジ14の最大移動範囲の外側に限定されない。今回のラストドット位置Lnから算出されるキャリッジ停止位置PTnよりも、今回の起動位置PSnから進行方向へ遠くに位置すれば足りる。この場合、暫定停止位置は、予め決められた固定の位置としてもよいし、パス毎に今回のラストドット位置Lnに応じて決める可変としてもよい。可変とする場合、例えば今回のラストドット位置Lnに対して進行方向先に所定距離(例えば最大用紙幅の10〜50%の範囲内の値であってこの値分を付加しても印刷時のキャリッジ最大移動範囲を超えない範囲内の値)を付加する構成などが挙げられる。   The temporary stop position is not limited to the outside of the maximum movement range of the carriage 14 during printing. It suffices if it is located farther in the traveling direction from the current activation position PSn than the carriage stop position PTn calculated from the current last dot position Ln. In this case, the temporary stop position may be a fixed position determined in advance, or may be variable depending on the last dot position Ln for each pass. In the case of variable, for example, a predetermined distance (for example, a value within a range of 10 to 50% of the maximum paper width) with respect to the current last dot position Ln, even if this value is added, And a configuration in which a value within a range not exceeding the maximum carriage movement range is added.

・ファーストドット位置Fnに基づく起動位置PSnの算出と、ラストドット位置Lnに基づく停止位置PTnの算出は、シーケンス制御部63が行ってもよい。
・次頁の給紙を行う際にキャリッジが待機位置POSD又はPOSFに達してから次頁の給紙を開始する構成でもよい。この場合、今回頁の最終行の印字動作終了後にキャリッジ14が早期に待機位置POSD又はPOSFに到達できるので、次頁の給紙にかかる給紙所要時間を短縮できる。この結果、印刷装置において複数頁を印刷する際のスループットを向上できる。
The sequence control unit 63 may calculate the start position PSn based on the first dot position Fn and the stop position PTn based on the last dot position Ln.
A configuration may be adopted in which the feeding of the next page is started after the carriage reaches the standby position POSD or POSF when feeding the next page. In this case, since the carriage 14 can reach the standby position POSD or POSF at an early stage after the printing operation for the last line of the current page is completed, the time required for feeding the next page can be shortened. As a result, throughput when printing a plurality of pages in the printing apparatus can be improved.

・前記実施形態では、インクジェット式のプリンター11が採用されているが、印刷装置として、インク以外の他の流体を噴射したり吐出したりする流体噴射装置を採用してもよい。また、微小量の液滴を吐出させる液体噴射ヘッド等を備える各種の液体噴射装置に流用可能である。この場合、液滴とは、上記液体噴射装置から吐出される液体の状態を言い、粒状、涙状、糸状に尾を引くものも含むものとする。また、ここでいう液体とは、液体噴射装置が噴射させることができるような材料であればよい。例えば、物質が液相であるときの状態のものであればよく、粘性の高い又は低い液状体、ゾル、ゲル水、その他の無機溶剤、有機溶剤、溶液、液状樹脂、液状金属(金属融液)のような流状体、また物質の一状態としての液体のみならず、顔料や金属粒子などの固形物からなる機能材料の粒子が溶媒に溶解、分散または混合されたものなどを含む。また、液体の代表的な例としては上記実施形態で説明したようなインクや液晶等が挙げられる。ここで、インクとは一般的な水性インクおよび油性インク並びにジェルインク、ホットメルトインク等の各種液体組成物を包含するものとする。液体噴射装置の具体例としては、例えば液晶ディスプレイ、EL(エレクトロルミネッセンス)ディスプレイ、面発光ディスプレイ、カラーフィルタの製造などに用いられる電極材や色材などの材料を分散または溶解のかたちで含む液体を噴射する液体噴射装置を挙げることができる。さらにバイオチップ製造に用いられる生体有機物を噴射する液体噴射装置、精密ピペットとして用いられ試料となる液体を噴射する液体噴射装置、捺染装置やマイクロディスペンサ等であってもよい。さらに、時計やカメラ等の精密機械にピンポイントで潤滑油を噴射する液体噴射装置、光通信素子等に用いられる微小半球レンズ(光学レンズ)などを形成するために紫外線硬化樹脂等の透明樹脂液を基板上に噴射する液体噴射装置、基板などをエッチングするために酸又はアルカリ等のエッチング液を噴射する液体噴射装置を採用してもよい。そして、これらのうちいずれか一種の液体噴射装置に本発明を適用することができる。また、流体は、トナーなどの粉粒体でもよい。なお、本明細書でいう流体には、気体のみからなるものは含まないものとする。   In the above-described embodiment, the ink jet printer 11 is employed. However, a fluid ejecting apparatus that ejects or ejects fluid other than ink may be employed as the printing apparatus. Further, the present invention can be used for various liquid ejecting apparatuses including a liquid ejecting head that ejects a minute amount of liquid droplets. In this case, the droplet refers to the state of the liquid ejected from the liquid ejecting apparatus, and includes liquid droplets having a granular shape, a tear shape, and a thread shape. The liquid here may be any material that can be ejected by the liquid ejecting apparatus. For example, it may be in a state in which the substance is in a liquid phase, such as a liquid with high or low viscosity, sol, gel water, other inorganic solvents, organic solvents, solutions, liquid resins, liquid metals (metal melts ) And liquids as one state of the substance, as well as those obtained by dissolving, dispersing or mixing particles of a functional material made of solid materials such as pigments and metal particles in a solvent. Further, representative examples of the liquid include ink and liquid crystal as described in the above embodiment. Here, the ink includes general water-based inks and oil-based inks, and various liquid compositions such as gel inks and hot-melt inks. As a specific example of the liquid ejecting apparatus, for example, a liquid containing a material such as an electrode material or a coloring material used for manufacturing a liquid crystal display, an EL (electroluminescence) display, a surface emitting display, a color filter, or the like in a dispersed or dissolved state. A liquid ejecting apparatus for ejecting can be given. Further, it may be a liquid ejecting apparatus that ejects a bio-organic matter used for biochip manufacturing, a liquid ejecting apparatus that ejects liquid as a sample used as a precision pipette, a printing apparatus, a microdispenser, or the like. In addition, transparent resin liquids such as UV curable resin to form liquid injection devices that pinpoint lubricant oil onto precision machines such as watches and cameras, and micro hemispherical lenses (optical lenses) used in optical communication elements. A liquid ejecting apparatus that ejects a liquid onto the substrate or a liquid ejecting apparatus that ejects an etching solution such as an acid or an alkali to etch the substrate may be employed. The present invention can be applied to any one of these liquid ejecting apparatuses. Further, the fluid may be a granular material such as toner. In addition, the fluid referred to in this specification does not include a fluid consisting only of a gas.

・インクジェット式プリンターに限定されない。シリアルプリンターであればどのような記録方式でもよい。ドットインパクト式プリンターや熱転写式プリンターなどでもよい。   -It is not limited to an ink jet printer. Any recording method may be used as long as it is a serial printer. A dot impact printer or a thermal transfer printer may be used.

11…印刷装置の一例としてのプリンター、13…ガイド軸、14…移動体の一例としてのキャリッジ、15…タイミングベルト、16…動力源の一例としてのCRモーター、17…印刷手段の一例としての記録ヘッド、22…給送手段の一例としてのリア給送装置、23…ASFモーター(給送手段の動力源の一例)、24…給紙カセット、28…搬送ローラー対、29…排出ローラー対、25…給送手段の一例としてのフロント給送装置、27…PFモーター(搬送手段の動力源の一例)、30…リニアエンコーダー、35…給送ローラー、36…中間ローラー、45…後端センサー、46…先端センサー、47…紙検出センサー、54…ASFモーター駆動回路、55…PFモーター駆動回路、56…CRモーター駆動回路、57…ヘッド駆動回路、60…バッファー、61…コマンド解析部、62…ジョブコントロール部、63…シーケンス制御部、64…画像処理部、65…メモリー、66…演算部、67…要求部、68…重ね合わせ演算部、71…給紙制御部、72…紙送制御部、73…CR制御部、74…印字制御部、81…起動位置判定手段の一例としての第1判定部、82…ロジカルシーク部、83…制御手段の一例を構成する停止位置設定部、84…判定手段の一例としての第2判定部、85…再設定手段の一例としての停止位置再設定部、86…制御手段の一例を構成するCR駆動指令部、87…CRカウンター、P…媒体の一例である用紙、Fn-1…前回(N−1回目)のファーストドット位置、Ln-1…前回(N−1回目)のラストドット位置、PSn-1…前回(N−1回目)の起動位置、PTn-1…前回(N−1回目)の停止位置、Fn…今回(N回目)のファーストドット位置、Ln…今回(N回目)のラストドット位置、PSn…今回(N回目)の起動位置、PTn…今回(N回目)の停止位置、Fn+1…次回(N+1回目)のファーストドット位置、Ln+1…次回(N+1回目)のラストドット位置、PSn+1…次回(N+1回目)の起動位置、PTn+1…次回(N+1回目)の停止位置、POSD,POSF…暫定停止位置(目標位置)。   DESCRIPTION OF SYMBOLS 11 ... Printer as an example of printing apparatus, 13 ... Guide shaft, 14 ... Carriage as example of moving body, 15 ... Timing belt, 16 ... CR motor as example of power source, 17 ... Recording as example of printing means Head, 22 ... Rear feeding device as an example of feeding means, 23 ... ASF motor (an example of power source of feeding means), 24 ... Paper feed cassette, 28 ... Conveying roller pair, 29 ... Discharge roller pair, 25 ... Front feeding device as an example of feeding means, 27 ... PF motor (an example of power source of conveying means), 30 ... Linear encoder, 35 ... Feeding roller, 36 ... Intermediate roller, 45 ... Rear end sensor, 46 ... tip sensor, 47 ... paper detection sensor, 54 ... ASF motor drive circuit, 55 ... PF motor drive circuit, 56 ... CR motor drive circuit, 57 ... f Drive circuit, 60 ... buffer, 61 ... command analysis unit, 62 ... job control unit, 63 ... sequence control unit, 64 ... image processing unit, 65 ... memory, 66 ... calculation unit, 67 ... request unit, 68 ... superposition Arithmetic unit 71... Paper feed control unit 72... Paper feed control unit 73... CR control unit 74 .. print control unit 81 .. first determination unit as an example of start position determination unit 82. 83: Stop position setting unit constituting an example of control means, 84: Second determination part as an example of determination means, 85 ... Stop position resetting part as an example of resetting means, 86 ... Structure of one example of control means CR driving command section, 87... CR counter, P... Paper as an example of medium, Fn-1... First (N-1) first dot position, Ln-1 .. Last (N-1) last dot Position, PSn-1 ... Previous (N-1th) start position, PTn-1 ... last (N-1th) stop position, Fn ... current (Nth) first dot position, Ln ... current (Nth) last dot position, PSn ... current (Nth) start position, PTn ... current (Nth) stop position, Fn + 1 ... next (N + 1) first dot position, Ln + 1 ... next (N + 1) last dot position, PSn +1: Next (N + 1) start position, PTn + 1: Next (N + 1) stop position, POSD, POSF: Temporary stop position (target position).

Claims (9)

印刷手段を備えた移動体が移動する過程で前記印刷手段が媒体に印刷を施す印刷装置であって、
前記移動体を駆動させる動力源と、
前記移動体の移動方向において今回の起動位置から今回の停止位置よりも遠くに位置する暫定停止位置を目標位置として、前記動力源を駆動させて前記移動体を移動させる制御手段と、
前記移動体が前記起動位置から前記暫定停止位置に向かって移動する過程で、次回の印字データに基づき決まる前記移動体の次回の起動位置と、今回の印字データに基づき決まる前記移動体の今回の停止位置とを比較し、今回の起動位置に対してより遠い一方の位置を判別する判定手段と、
前記判定手段が判別した前記一方の位置を、前記暫定停止位置に替えて今回の目標位置として再設定する再設定手段と、を備え、
前記設定手段による前記再設定がなされた場合は、前記移動体が再設定された前記一方の位置で停止し、
前記判定手段による判定が不能な場合は、前記移動体は前記暫定停止位置まで移動して停止することを特徴とする印刷装置。
A printing apparatus in which the printing unit performs printing on a medium in the process of moving a moving body including a printing unit,
A power source for driving the moving body;
Control means for moving the moving body by driving the power source with a temporary stop position located farther than the current stop position from the current start position in the moving direction of the moving body,
In the process of moving the moving body from the starting position toward the temporary stop position, the next starting position of the moving body determined based on the next print data and the current position of the moving body determined based on the current print data. A determination means for comparing the stop position and determining one position farther from the current start position;
Resetting means for resetting the one position determined by the determining means as the current target position in place of the temporary stop position;
When the resetting is performed by the setting unit, the moving body stops at the one position where the moving body is reset,
When the determination by the determination unit is impossible, the moving body moves to the temporary stop position and stops.
前記再設定手段による前記再設定がなされた場合に、前記判定手段が前記次回の起動位置と前記今回の停止位置とのうちどちらを前記一方の位置と判別しても、前記移動体が再設定された前記一方の位置で停止する場合は前記暫定停止位置に至る手前で停止するように、前記暫定停止位置は位置設定されていることを特徴とする請求項1に記載の印刷装置。   When the resetting is performed by the resetting unit, the moving unit resets regardless of which of the next start position and the current stop position is the one position. The printing apparatus according to claim 1, wherein the temporary stop position is set so that the temporary stop position stops before reaching the temporary stop position when stopping at the one position. 前記判定手段は、今回の印字データに基づき取得される前記移動体の今回の移動過程で前記印刷手段が最後にドットを形成するラストドット位置から決まる今回の停止位置と、次回の印字データに基づき取得される前記移動体の次回の移動過程で前記印刷手段が最初にドットを形成するファーストドット位置から決まる次回の起動位置とを比較して、前記今回の起動位置からより遠くにある一方の位置を判別し、
前記再設定手段は、前記暫定停止位置に替えて、前記一方の位置を今回の目標位置として再設定することを特徴とする請求項1又は2に記載の印刷装置。
The determination means is based on the current stop position determined from the last dot position where the printing means finally forms a dot in the current movement process of the moving body acquired based on the current print data and the next print data. One position that is farther from the current activation position by comparing with the next activation position determined from the first dot position at which the printing means first forms dots in the next movement process of the acquired moving body Determine
The printing apparatus according to claim 1, wherein the resetting unit resets the one position as a current target position instead of the temporary stop position.
前記暫定停止位置は、印刷時における前記移動体の最大移動範囲の両端を含むその外側の範囲に設定されていることを特徴とする請求項1乃至3のいずれか一項に記載の印刷装置。   4. The printing apparatus according to claim 1, wherein the temporary stop position is set to an outer range including both ends of a maximum movement range of the moving body during printing. 5. 前記制御手段が前記暫定停止位置に向かって前記移動体の移動を開始させる前に、当該移動体の現在位置が今回の印字動作が可能な適切な起動位置であるか否かを判定する起動位置判定手段を更に備え、
前記制御手段は、前記起動位置判定手段が適切な起動位置でないと判定した場合に、前記移動体を今回の印字データに基づき決まる今回の起動位置へ移動させてから、前記暫定停止位置に向かって移動させることを特徴とする請求項1乃至4のいずれか一項に記載の印刷装置。
An activation position for determining whether or not the current position of the movable body is an appropriate activation position capable of the current printing operation before the control means starts moving the movable body toward the temporary stop position. A determination unit;
When the control unit determines that the start position determination unit is not an appropriate start position, the control unit moves the moving body to the current start position determined based on the current print data and then moves toward the temporary stop position. The printing apparatus according to claim 1, wherein the printing apparatus is moved.
前記制御手段が前記移動体を前記暫定停止位置へ向かって移動させる制御と、当該移動の過程において前記判定手段が行う前記判別と前記再設定手段が行う前記再設定とを、次回の印字データが取得されることのない前記移動体の最終回の移動過程において少なくとも行い、当該最終回の移動過程において前記移動体を前記暫定停止位置まで移動させることを特徴とする請求項1乃至5のいずれか一項に記載の印刷装置。   The next print data includes the control by which the control unit moves the moving body toward the temporary stop position, the determination performed by the determination unit in the course of the movement, and the reset performed by the resetting unit. 6. The method according to claim 1, wherein the moving body is acquired at least in a final movement process of the moving body that is not acquired, and the moving body is moved to the temporary stop position in the final movement process. The printing apparatus according to one item. 前記制御手段が前記移動体を前記暫定停止位置へ向かって移動させる制御と、当該移動過程において前記判定手段が行う前記判別と前記再設定手段が行う前記再設定とを、前記移動体の毎回の移動で行うことを特徴とする請求項6に記載の印刷装置。   The control means moves the moving body toward the temporary stop position, and the determination performed by the determination means and the resetting performed by the resetting means during the movement process are performed each time the moving body is moved. The printing apparatus according to claim 6, wherein the printing apparatus is moved. 媒体を給送する給送手段を更に備え、
前記印刷手段は、前記移動体の移動過程で前記給送された媒体に印刷を施す構成であり、
前記給送手段は、前記印刷手段による最終回の印字動作終了後、前記移動体が最終回の停止位置に停止する前に、次の媒体の給送を開始することを特徴とする請求項1乃至7のいずれか一項に記載の印刷装置。
A feeding means for feeding the medium;
The printing means is configured to perform printing on the fed medium in the moving process of the moving body,
2. The feeding device according to claim 1, wherein after the last printing operation by the printing unit is finished, the feeding of the next medium is started before the moving body stops at the last stop position. The printing apparatus as described in any one of thru | or 7.
印刷手段を備えた移動体が移動する過程で前記印刷手段が媒体に印刷を施す当該移動体の制御方法であって、
前記移動体の移動方向において今回の印字データに基づき決まる今回の停止位置よりも、今回の起動位置から遠くに位置する暫定停止位置を目標位置として、前記移動体を移動させる移動ステップと、
前記移動体が前記起動位置から前記暫定停止位置に向かって移動する過程で、次回の印字データに基づき決まる前記移動体の次回の起動位置と、今回の印字データに基づき決まる前記移動体の今回の停止位置とを比較して、今回の起動位置に対してより遠い一方の位置を判別する判定ステップと、
前記判定ステップで判別した前記一方の位置を、前記暫定停止位置に替えて、今回の目標位置として再設定する再設定ステップと、
前記再設定ステップで再設定がなされた場合、前記移動体を前記再設定された前記目標位置で停止させ、一方、前記判定ステップで判定不能により前記再設定がなされなかった場合、前記移動体を前記暫定停止位置まで移動して停止させる停止制御ステップと、
を備えたことを特徴とする移動体の制御方法。
A method for controlling the moving body in which the printing means performs printing on a medium in the process of moving the moving body having a printing means,
A moving step of moving the moving body with a temporary stop position positioned far from the current starting position as a target position, rather than the current stopping position determined based on the current print data in the moving direction of the moving body;
In the process of moving the moving body from the starting position toward the temporary stop position, the next starting position of the moving body determined based on the next print data and the current position of the moving body determined based on the current print data. A determination step of comparing the stop position and determining one position farther from the current start position;
A resetting step of resetting the one position determined in the determination step as a current target position instead of the temporary stop position;
When resetting is performed in the resetting step, the moving body is stopped at the reset target position. On the other hand, when the resetting is not performed due to the determination being impossible in the determining step, the moving body is A stop control step for moving to the temporary stop position and stopping;
A method for controlling a moving object comprising:
JP2010092028A 2010-04-13 2010-04-13 Printer and control method of moving body Withdrawn JP2011218710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010092028A JP2011218710A (en) 2010-04-13 2010-04-13 Printer and control method of moving body

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010092028A JP2011218710A (en) 2010-04-13 2010-04-13 Printer and control method of moving body

Publications (1)

Publication Number Publication Date
JP2011218710A true JP2011218710A (en) 2011-11-04

Family

ID=45036294

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010092028A Withdrawn JP2011218710A (en) 2010-04-13 2010-04-13 Printer and control method of moving body

Country Status (1)

Country Link
JP (1) JP2011218710A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7669780B2 (en) 2021-04-30 2025-04-30 ブラザー工業株式会社 LIQUID EJECTION APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7669780B2 (en) 2021-04-30 2025-04-30 ブラザー工業株式会社 LIQUID EJECTION APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM

Similar Documents

Publication Publication Date Title
US8882224B2 (en) Printing apparatus and printing method
US8783817B2 (en) Recording device and recording method
US20150124017A1 (en) Liquid ejecting apparatus
JP2012183740A (en) Fluid ejection device, flushing method, and flushing program
JP7131263B2 (en) image forming system
JP6248737B2 (en) Printing device
US8297727B2 (en) Recording apparatus and recording method using the same, with an extended stop position of the recording unit
US20090057981A1 (en) Serial recording apparatus and method of feeding recording medium
US11590780B2 (en) Printing apparatus, printing method, and storage medium
JP5720316B2 (en) printer
JP2012020518A (en) Printing device, and method of controlling preparation operation in the same
JP2011218710A (en) Printer and control method of moving body
JP5569133B2 (en) Liquid ejector
JP2012121713A (en) Conveyance device, and recording apparatus and method
JP2012126039A (en) Carrying device, recording apparatus and recording method
JP2012020517A (en) Printing device, and method of controlling preparation operation in the same
JP6256091B2 (en) Printing device
JP2007152584A (en) Liquid ejecting apparatus and flushing method in liquid ejecting apparatus
JP2012153061A (en) Printing apparatus, printing method, and program
JP5549380B2 (en) Printing device
JP2012158001A (en) Device and method for ejecting liquid
JP6186819B2 (en) Recording apparatus and recording apparatus control method
JP5040283B2 (en) Recording method and recording apparatus in recording apparatus
JP2013001062A (en) Recording apparatus, and recording method
JP2009292093A (en) Recorder, and control method for recorder

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20130702