JP2017080917A - Printer and control method of the same - Google Patents
Printer and control method of the same Download PDFInfo
- Publication number
- JP2017080917A JP2017080917A JP2015208663A JP2015208663A JP2017080917A JP 2017080917 A JP2017080917 A JP 2017080917A JP 2015208663 A JP2015208663 A JP 2015208663A JP 2015208663 A JP2015208663 A JP 2015208663A JP 2017080917 A JP2017080917 A JP 2017080917A
- Authority
- JP
- Japan
- Prior art keywords
- recording medium
- cutting
- cutter
- printing
- transport
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Handling Of Sheets (AREA)
Abstract
Description
本発明は、カッターにより目標位置で印刷媒体を切断する印刷装置の制御方法および印刷装置に関する。 The present invention relates to a control method for a printing apparatus that cuts a print medium at a target position with a cutter, and a printing apparatus.
カッターおよび印刷機構を備える印刷装置は、印刷ジョブおよびカッターコマンドを受信すると、印刷ジョブの実行後に印刷媒体をカット位置まで搬送し、カッターを駆動して記録媒体を切断する制御を行う。この種の印刷装置において、連続印刷を行う場合に、印刷ジョブを行う毎にカッターまで記録媒体を搬送してカット動作を行うと、次の印刷を行う前に記録媒体を印刷位置までバックフィードさせなければならない。 Upon receiving a print job and a cutter command, a printing apparatus including a cutter and a printing mechanism performs control to transport the print medium to a cut position after the print job is executed and to drive the cutter to cut the recording medium. In this type of printing device, when continuous printing is performed, if the recording medium is transported to the cutter each time a print job is performed and the cutting operation is performed, the recording medium is back-fed to the printing position before the next printing. There must be.
そこで、連続印刷を行う場合の他の制御方法として、印刷ジョブを行い、次の印刷がある場合にはカット動作を保留して次の印刷ジョブを先に行い、印刷ジョブの実行に伴ってカット目標位置がカッターまで到達したときにカット動作を行って記録媒体を切断する制御方法を用いることもできる。このような制御方法を行えば、記録媒体をバックフィードさせる必要がなくなるので、記録媒体の搬送動作を効率的に行うことができる。特許文献1には、この種の制御方法で連続印刷を行う印刷装置(プリンター)が開示されている。
Therefore, as another control method for continuous printing, a print job is performed, and if there is a next print, the cutting operation is suspended and the next print job is performed first. It is also possible to use a control method for cutting the recording medium by performing a cutting operation when the target position reaches the cutter. By performing such a control method, there is no need to back-feed the recording medium, so that the recording medium can be transported efficiently.
特許文献1の印刷装置は、記録媒体(連続紙)の幅よりも広い領域に印刷可能なラインヘッド方式のプリンターであり、プラテンローラーによって記録媒体を搬送しながら、記録媒体よりも幅広なラインサーマルヘッドによって印刷を行う。一方、シリアルヘッド方式のプリンターは、記録媒体を一定距離ずつ搬送する動作と、シリアルヘッドを記録媒体の幅方向に走査して1行分ずつ印刷を行う動作と、を交互に行う。
The printing apparatus of
特許文献1のようなラインヘッド方式の印刷装置は、印刷途中で適宜、カット目標位置をカッターに位置決めすることができるが、シリアルヘッド方式の印刷装置の場合、1行分ずつ記録媒体を搬送するため、1行分搬送する途中でカット目標位置がカッターに到達するようにカット目標位置が設定されている場合、単に印刷途中で印刷動作を止めるだけではカット目標位置をカッターに位置決めすることはできない。従って、搬送動作およびカット動作を効率的に行うことはできない場合がある。
The line head type printing apparatus as in
本発明の課題は、以上の問題点に鑑みて、シリアルヘッド方式の印刷装置において、連続印刷を行う場合に、記録媒体の搬送動作とカット動作とを効率的に行うことにある。 In view of the above-described problems, an object of the present invention is to efficiently perform a recording medium conveyance operation and a cutting operation when performing continuous printing in a serial head type printing apparatus.
上記の課題を解決するために、本発明は、記録媒体の印刷および切断を行う印刷装置の制御方法であって、第1の印刷データに続き、少なくともカッターコマンドおよび第2の印刷データを受信する場合に、前記記録媒体を単位搬送量だけ搬送する単位搬送動作と、前記記録媒体への印刷と、を交互に行うことにより、前記第1の印刷データに基づく第1の印刷ジョブを実行する第1ステップと、前記カッターコマンドに基づく切断の実行を保留して前記第2の印刷データに基づく第2の印刷ジョブの実行を開始する第2ステップと、前記第2の印刷ジョブの実行、もしくは前記第2の印刷ジョブよりも後の印刷ジョブを実行していた場合の当該後の印刷ジョブの実行を途中で中断して、保留した前記カッターコマンドに基づく切断を実行する第3ステップと、前記中断した印刷ジョブを再開する第4ステップと、を行い、前記第3ステップでは、前記記録媒体におけるカット目標位置からカッターの切断位置までの距離である目標搬送距離が前記単位搬送量と一致した場合は、前記記録媒体を更に前記単位搬送量だけ搬送してから、保留した前記カッターコマンドに基づく切断を実行し、前記目標搬送距離が前記単位搬送量よりも小さい場合は、前記記録媒体を前記目標搬送距離だけ搬送してから、保留した前記カッターコマンドに基づく切断を実行し、しかる後に、前記単位搬送量と前記目標搬送距離との差分の距離だけ前記記録媒体を搬送することを特徴とする。 In order to solve the above-described problem, the present invention provides a control method for a printing apparatus that prints and cuts a recording medium, and receives at least a cutter command and second print data following the first print data. In this case, a first print job based on the first print data is executed by alternately performing a unit transport operation for transporting the recording medium by a unit transport amount and printing on the recording medium. A second step of suspending execution of cutting based on the cutter command and starting execution of a second print job based on the second print data; and execution of the second print job, or When a print job after the second print job has been executed, the execution of the subsequent print job is interrupted halfway, and cutting based on the held cutter command is executed. A third step and a fourth step of resuming the interrupted print job are performed. In the third step, a target transport distance that is a distance from the cut target position to the cutter cutting position on the recording medium is the unit. If it coincides with the transport amount, the recording medium is further transported by the unit transport amount, and then the cutting based on the held cutter command is performed, and when the target transport distance is smaller than the unit transport amount, After the recording medium is transported by the target transport distance, the cutting based on the held cutter command is performed, and then the recording medium is transported by a difference between the unit transport amount and the target transport distance. It is characterized by that.
また、本発明の印刷装置は、記録媒体を搬送する搬送機構と、前記記録媒体の搬送方向と交差する方向に移動する印刷ヘッドと、前記印刷ヘッドに対して搬送方向の下流側に配置され、前記記録媒体を切断するカッターと、前記印刷ヘッド、前記カッター、および前記搬送機構を制御する制御部と、を有し、前記制御部は、第1の印刷データに続き、少なくともカッターコマンドおよび第2の印刷データを受信する場合に、前記搬送機構によって前記記録媒体を単位搬送量だけ搬送する単位搬送動作と、前記印刷ヘッドによる前記記録媒体への印刷と、を交互に行って前記第1の印刷データに基づく第1の印刷ジョブを実行し、前記カッターコマンドに基づく切断の実行を保留して前記第2の印刷データに基づく第2の印刷ジョブの実行を開始し、前記第2の印刷ジョブの実行、もしくは前記第2の印刷ジョブよりも後の印刷ジョブを実行していた場合の当該後の印刷ジョブの実行を途中で中断して、保留した前記カッターコマンドに基づく前記カッターによる切断を実行し、前記中断した印刷ジョブを再開し、さらに、前記制御部は、前記カッターによる切断の際、前記記録媒体におけるカット目標位置からカッターの切断位置までの距離である目標搬送距離が前記単位搬送量と一致したと判断した場合は、前記搬送機構により前記記録媒体を更に前記単位搬送量だけ搬送してから、保留した前記カッターコマンドに基づく前記カッターによる切断を実行し、前記目標搬送距離が前記単位搬送量よりも小さいと判断した場合は、前記搬送機構により前記記録媒体を前記目標搬送距離だけ搬送してから、保留した前記カッターコマンドに基づく前記カッターによる切断を実行し、しかる後に、前記単位搬送量と前記目標搬送距離との差分の距離だけ前記記録媒体を搬送するように制御することを特徴とする。 Further, the printing apparatus of the present invention is disposed on the downstream side of the transport direction with respect to the print head, a transport mechanism that transports the recording medium, a print head that moves in a direction intersecting the transport direction of the recording medium, A cutter that cuts the recording medium; and a controller that controls the print head, the cutter, and the transport mechanism, the controller following the first print data, at least a cutter command and a second When the print data is received, a unit transport operation for transporting the recording medium by a unit transport amount by the transport mechanism and printing on the recording medium by the print head are performed alternately. The first print job based on the data is executed, the execution of the cutting based on the cutter command is suspended, and the execution of the second print job based on the second print data is started. The execution of the second print job or the execution of the subsequent print job when a print job after the second print job has been executed is interrupted, and the cutter command is suspended. The cutting by the cutter based on the above is executed, the interrupted print job is resumed, and the control unit is a distance from the cutting target position on the recording medium to the cutting position of the cutter when cutting by the cutter When it is determined that the target transport distance matches the unit transport amount, the transport mechanism further transports the recording medium by the unit transport amount, and then performs cutting by the cutter based on the held cutter command. When the target transport distance is determined to be smaller than the unit transport amount, the recording medium is moved by the transport mechanism to the target transport distance. And then cutting by the cutter based on the held cutter command, and then controlling the recording medium to be transported by the difference between the unit transport amount and the target transport distance. It is characterized by.
本発明によれば、単位搬送量の搬送動作と印刷動作を交互に行って印刷するシリアルヘッド方式の印刷装置において、単位搬送量ずつ搬送する動作のみではカッターにカット目標位置を位置決めできない場合に、単位搬送量よりも短い距離だけ記録媒体を搬送してカット目標位置をカッターに位置決めする。そして、カット動作を行った後、先に搬送した距離と単位搬送量との差分だけ記録媒体を搬送して印刷を再開する。このようにすると、シリアルヘッド方式で印刷する場合においても記録媒体をバックフィードする必要がないので、記録紙の搬送動作とカット動作とを効率的に行うことができる。従って、カット動作を伴う連続印刷のスループットを向上させることができる。 According to the present invention, in a serial head type printing apparatus that performs printing by alternately performing a conveyance operation and a printing operation of a unit conveyance amount, when the cutting target position cannot be positioned on the cutter only by the operation of conveying the unit conveyance amount, The recording medium is conveyed by a distance shorter than the unit conveyance amount, and the cut target position is positioned on the cutter. Then, after performing the cutting operation, the recording medium is conveyed by the difference between the previously conveyed distance and the unit conveyance amount, and printing is resumed. In this way, since it is not necessary to back-feed the recording medium even when printing by the serial head method, it is possible to efficiently perform the recording paper conveying operation and the cutting operation. Accordingly, it is possible to improve the throughput of continuous printing with a cutting operation.
本発明において、前記単位搬送量を指定するコマンドに基づき、前記単位搬送量を制御できる。このようにすると、カット目標位置の配置やラベルサイズ等に応じて単位搬送量を調節できる。 In the present invention, the unit transport amount can be controlled based on a command for designating the unit transport amount. In this way, the unit transport amount can be adjusted according to the arrangement of the cut target position, the label size, and the like.
本発明において、前記記録媒体は、長尺の台紙と、前記台紙上に配置されるラベルと、を備えるラベル紙であり、前記ラベルは、前記記録媒体の搬送方向に並んでおり、前記カット目標位置は、隣り合うラベルの間のギャップ上に位置する。このような記録媒体を用いれば、ラベルの連続印刷を行いつつ、ラベルを1枚ずつ切り離す処理を効率的に行うことができる。 In the present invention, the recording medium is a label sheet including a long mount and a label disposed on the mount, and the label is arranged in the transport direction of the recording medium, and the cut target The position is located on the gap between adjacent labels. By using such a recording medium, it is possible to efficiently perform the process of separating the labels one by one while continuously printing the labels.
本発明において、前記単位搬送量は1行分の搬送量であり、前記記録媒体の搬送方向と交差する方向に移動する印刷ヘッドを制御することにより印刷ジョブを実行することを特徴とする。 In the present invention, the unit carry amount is a carry amount for one line, and a print job is executed by controlling a print head that moves in a direction crossing the carrying direction of the recording medium.
以下に、図面を参照して、本発明を適用した印刷装置およびその制御方法の実施形態を説明する。 Hereinafter, embodiments of a printing apparatus and a control method thereof according to the present invention will be described with reference to the drawings.
(印刷装置)
図1は本発明を適用した印刷装置の説明図であり、図1(a)は印刷装置の主要部分の説明図、図1(b)は印刷装置の制御系を示す概略ブロック図である。印刷装置1は、ロール紙装填部2と、ロール紙装填部2に装填されるロール紙3から繰り出される記録媒体Pを搬送する搬送機構4と、記録媒体Pに印刷する印刷機構5と、記録媒体Pを切断するカッター6を備える。カッター6は、固定刃および可動刃と、固定刃に向けて可動刃を進退動させるカッターモーターを備えるオートカッターである。
(Printer)
FIG. 1 is an explanatory view of a printing apparatus to which the present invention is applied. FIG. 1 (a) is an explanatory view of a main part of the printing apparatus, and FIG. 1 (b) is a schematic block diagram showing a control system of the printing apparatus. The
搬送機構4は、印刷機構5の上流側に配置される紙送りローラー対41と、印刷機構5の下流側に配置される排紙ローラー対42を備える。紙送りローラー対41および排紙ローラー対42は、それぞれ、記録媒体Pに下方から当接する駆動ローラーと、駆動ローラーに上方から押し付けられる従動ローラーを備える。搬送機構4は、紙送りローラー対41の駆動ローラーと排紙ローラー対42の駆動ローラーを同期して回転させる紙送りモーター(図示省略)を備える。搬送機構4は、印刷機構5による印刷位置A(図2参照)、およびカッター6による切断位置B(図2参照)を経由する搬送路7に沿って記録媒体Pを搬送する。
The
印刷機構5は、印刷ヘッド51と、記録媒体Pの搬送方向と交差する方向に印刷ヘッド51を往復移動させる図示しないキャリッジを含むヘッド移動機構と、搬送路7の下側で記録媒体Pを支持する図示しないプラテンを備える。印刷ヘッド51は、記録媒体Pの幅方向に往復移動して記録媒体Pに1行分ずつ印刷するシリアルヘッド方式の印刷ヘッドであり、インクを吐出するインクジェットヘッド、あるいは、ドットインクパクトヘッドなどの各種の印刷方式のものを用いることができる。
The
図1(b)に示すように、印刷装置の制御系は、CPU、およびROM、RAMなどの記憶部を備えた制御部10を有する。制御部10には、図示しない通信部を介して、上位装置20から送信された印刷データやコマンドが入力される。制御部10の出力側には、搬送機構4、印刷機構5、およびカッター6等が接続される。制御部10は、上位装置20から受信した印刷データやコマンド、および記憶部から読み出したプログラムやデータ等に基づいて印刷装置1の制御を行う。以下に説明する制御部10による制御機能は、制御部10内でROMが記憶するファームウェアをCPUが読み出して実行することによって実現される。制御部10は、印刷データに基づいて記録媒体Pへの印刷を実行する印刷制御部11と、カッターコマンドに基づいて記録媒体Pの切断を実行するカット動作実行部12と、上位装置20から受信した設定コマンドに基づいて印刷装置1の動作設定を制御する設定管理部13を備える。
As shown in FIG. 1B, the control system of the printing apparatus includes a
(カット有り連続印刷の制御)
図2はカット有り連続印刷の実施過程を示す説明図であり、図3はカット有り連続印刷を実行する処理のフローチャートである。また、図4はカット有り連続印刷の中で行われる1パス印刷、第1のカット動作、および第2のカット動作のフローチャートである。図2に示すように、記録媒体Pは、長尺の台紙P1と、この台紙P1の表面に一定間隔で1列に貼り付けられたラベルP2を備えるラベル紙である。隣り合うラベルP2の間には、台紙P1のみの部分である一定幅のギャップGが設けられている。隣り合うラベルP2をカッター6で切り離すためのカット目標位置Cは、ギャップGの中央の位置である。なお、カット目標位置CはギャップGの範囲内であればギャップGの中央でなくてもよく、ラベルP2の先端から任意の距離だけ離れた位置に設定することができる。
(Control of continuous printing with cut)
FIG. 2 is an explanatory diagram showing a process of performing continuous printing with cut, and FIG. 3 is a flowchart of processing for executing continuous printing with cut. FIG. 4 is a flowchart of one-pass printing, first cutting operation, and second cutting operation performed in continuous printing with cutting. As shown in FIG. 2, the recording medium P is a label paper including a long mount P1 and labels P2 attached to the surface of the mount P1 in a single line at regular intervals. Between adjacent labels P2, a gap G having a certain width, which is only the mount P1, is provided. The cut target position C for separating the adjacent labels P2 with the
印刷制御部11は、印刷データを受信すると、印刷長さに対応する回数の1パス印刷(ステップS1:図3参照)を繰り返して印刷ジョブを実行する。1パス印刷は、図4(a)に示すように、搬送機構4を制御して記録媒体Pを単位搬送量dだけ搬送する処理(ステップS1a)と、印刷機構5を駆動し、記録媒体Pの幅方向に印刷ヘッド51を移動させて1行分の印刷を行う処理(ステップS1b)である。ここで、1パス印刷の単位搬送量dは、設定管理部13によって管理される。1パス印刷の単位搬送量dは、1行分の搬送量となる。設定管理部13は、上位装置20等から単位搬送量dを指定するコマンドを受信すると、印刷制御部11が行う単位搬送動作の単位搬送量dをコマンドで指定された距離に置き換える。この場合、行間のスペースが変更される。
When the
印刷装置1は、複数のラベルP2に印刷し、且つ、ラベルP2とラベルP2の間で記録媒体Pを切断するカット有りの連続印刷を行う。このような連続印刷を行うためのデータは、少なくとも第1の印刷データ、カッターコマンド、第2の印刷データを含んでおり、第2の印刷データの後に更に印刷データやカッターコマンドが続いていてもよい。図2(a)〜(e)は、このような印刷データに基づき、先頭のラベルP2を切断するまでの過程を示す。図2(a)は先頭のラベルP2に印刷した状態を示し、図2(b)は先頭のラベルP2を切り離すカッターコマンドを保留してn番目のラベルP2(n)への印刷を途中まで行った状態を示す。図2(c)は印刷を中断してカット目標位置Cを切断位置Bに位置決めした状態を示し、図2(d)はカット目標位置Cで記録媒体Pを切断し、先頭のラベルP2(1)を切り離した状態を示す。図2(e)は印刷を再開可能な位置に記録媒体Pを位置決めした状態を示す。
The
以下、図2〜図4を参照して、カット有り連続印刷を行うための制御を説明する。印刷制御部11は、連続印刷を開始すると、まず、第1の印刷データに基づき、先頭のラベルP2(1)への印刷(第1の印刷ジョブ)を行う。なお、印刷を開始する前に、不図示のセンサーによりラベルの先頭を検出して所定量搬送するいわゆる頭出し動作を行い、ラベルP2(1)の印刷領域の先頭がこの頭出し動作によって印刷位置Aに位置決めされているものとする。ラベルP2(1)への印刷は、先頭のラベルP2(1)の長さ分だけ1パス印刷(ステップS1)を繰り返すことにより行う。
Hereinafter, the control for performing continuous printing with cut will be described with reference to FIGS. When starting the continuous printing, the
印刷制御部11は、1パス印刷を繰り返すにあたって、1パス印刷を行う毎に、印刷を中断してカット動作を行うかを判定する処理を行う。すなわち、ステップS2では、カット位置の記憶の有無を判定する。カット位置は、後述するように、カッターコマンドを受信した場合に記憶される。先頭のラベルP2(1)に印刷している段階では、保留されているカッターコマンドはないので、カット位置の記憶はないと判定される(ステップS2:No)。続いて、ステップS3に進み、ラベルP2(1)への印刷が終了した否かを判定する。終了していない場合(ステップS3:No)、ステップS1に戻る。そして、先頭のラベルP2(1)への印刷が終了するまで、ステップS1〜S3を繰り返す(第1ステップ)。
When repeating the 1-pass printing, the
先頭のラベルP2(1)への印刷が終了すると(ステップS3:Yes)、ステップS4に進む。ステップS4、5では、2番目のラベルP2(2)への印刷の有無と、カットの有無を確認する。ステップS4では、第2の印刷データの有無を確認する。第2の印刷データがあれば、2番目のラベルP2(2)への印刷を行う(ステップS4:Yes)。続いてステップS5でカットの有無を確認する。カッターコマンドがある場合には(ステップS5:Yes)、カット有りであるため、ステップS6に進む。 When printing on the first label P2 (1) is completed (step S3: Yes), the process proceeds to step S4. In steps S4 and S5, the presence / absence of printing on the second label P2 (2) and the presence / absence of cutting are confirmed. In step S4, the presence or absence of the second print data is confirmed. If there is the second print data, printing on the second label P2 (2) is performed (step S4: Yes). Subsequently, in step S5, it is confirmed whether or not there is a cut. If there is a cutter command (step S5: Yes), since there is a cut, the process proceeds to step S6.
印刷制御部11は、ステップS6でカッターコマンドの実行を保留し、カット位置を記憶する。しかる後に2番目のラベルP2(2)への印刷を行う(第2ステップ)。カット位置は、先頭のラベルP2(1)と2番目のラベルP2(2)の間のカット目標位置Cである。従って、印刷制御部11は、カット目標位置Cの現在位置を記憶する。例えば、カット目標位置Cの現在位置(カット位置)を示す値として、カッター6による切断位置Bからカット目標位置Cまでの距離である目標搬送距離L1(図2(a)参照)を用いる。印刷制御部11は、カット位置(目標搬送距離L1)を記憶した場合には、1パス印刷を行う毎に、カット位置(目標搬送距離L1)を単位搬送量dだけ短縮した値に更新する。なお、カット位置を他の値で示しても良い。
The
印刷制御部11は、カット位置(目標搬送距離L1)の記憶後、2番目のラベルP2(2)への印刷(第2の印刷ジョブ)を開始する。第2の印刷ジョブ以降の印刷は、1パス印刷を行う毎に、カットのために印刷を中断するか否かを判定しながら行う。すなわち、ステップS6からステップS2に進み、ステップS2においてカット位置の記憶があるので(ステップS2:Yes)、ステップS7へ進む。ステップS7、8は、次の1パス印刷を行う前にカットを行うか否か、および、カットを行う場合の動作内容を決定するステップである。
After storing the cut position (target transport distance L1), the
まず、ステップS7では、単位搬送量d≧目標搬送距離L1(カット位置)を満たすか否かを判定する。満たさない場合には、(ステップS7:No)、カット動作の前に次の1パス印刷を実行可能であるので、ステップS3を経由してステップS1に戻り、2番目のラベルP2(2)への1パス印刷を行う。そして、単位搬送量d≧目標搬送距離L1(カット位置)を満たすか(ステップS7:Yes)、もしくは、2番目のラベルP2(2)への印刷が終了するまで(ステップS3:Yes)、1パス印刷を繰り返す。 First, in step S7, it is determined whether or not the unit transport amount d ≧ target transport distance L1 (cut position) is satisfied. If not satisfied (step S7: No), since the next one-pass printing can be executed before the cutting operation, the process returns to step S1 via step S3 and goes to the second label P2 (2). 1 pass printing is performed. Whether the unit transport amount d ≧ the target transport distance L1 (cut position) is satisfied (step S7: Yes), or until the printing on the second label P2 (2) is completed (step S3: Yes), 1 Repeat pass printing.
図2に示すように、印刷位置Aから切断位置Bまでの距離が長い場合には、2番目のラベルP2(2)の印刷が終わるまでにカット目標位置Cが切断位置Bに到達することはなく、先頭のラベルP2(1)を切り離すためのカット動作よりも先に、2番目よりもさらに後のラベルP2への印刷を引き続き行う。図2(b)に示すように、n番目のラベルP2(n)の印刷途中でカット目標位置Cが切断位置Bに到達する場合、このラベルP2(n)の印刷を中断して、ステップS7、S8の判定結果に応じた動作でカットを行う(第3ステップ)。 As shown in FIG. 2, when the distance from the printing position A to the cutting position B is long, the cutting target position C reaches the cutting position B before the printing of the second label P2 (2) is completed. Rather, before the cutting operation for cutting off the leading label P2 (1), the printing on the label P2 after the second is continued. As shown in FIG. 2B, when the cut target position C reaches the cutting position B during the printing of the nth label P2 (n), the printing of the label P2 (n) is interrupted, and step S7 is performed. Then, the cutting is performed by the operation according to the determination result of S8 (third step).
ステップS7、S8は、カット目標位置Cとカッター6との距離である目標搬送距離L1(カット位置)が単位搬送量dと一致するか、もしくは目標搬送距離L1が単位搬送量dよりも小さいか、を判定するステップである。ステップS7:Yesであり、且つ、ステップS8:Yesである場合は、目標搬送距離L1(カット位置)が単位搬送量dと一致する場合である。この場合、ステップS9に進んで第1のカット動作を行う。第1のカット動作では、図4(b)に示すように、まず、単位搬送量dだけ記録媒体Pを搬送する(ステップS9a)。続いて、保留中のカッターコマンドを実行して記録媒体Pをカットする(ステップS9b)。カット動作実行部12は、ステップS92において、カッターコマンドに基づいてカッター6を駆動し、記録媒体Pを切断する。この場合、目標搬送距離L1(カット位置)は、ラベル間のギャップGの範囲としてもよく、ある程度の幅を持つようにしてもよい。
In steps S7 and S8, whether the target transport distance L1 (cut position), which is the distance between the cut target position C and the
一方、ステップS7:Yesであり、且つ、ステップS8:Noである場合は、目標搬送距離L1が単位搬送量dよりも小さい場合である。この場合、ステップS10に進んで第2のカット動作を行う。第2のカット動作では、図4(c)に示すように、まず、目標搬送距離L1だけ記録媒体Pを搬送する(ステップS10a)。これにより、図2(c)に示すように、カット目標位置Cが切断位置Bに位置決めされる。次に、図2(d)に示すように、保留中のカッターコマンドを実行して記録媒体Pをカットする(ステップS10b)。続いて、単位搬送量dと目標搬送距離L1との差分(d−L1)だけ記録媒体Pを搬送する(ステップS10c)。つまり、単位搬送量dの搬送を、保留中のカッターコマンドの実行の前後で分割して行う。これにより、図2(e)に示すように、次の1パス印刷の開始位置が印刷位置Aに位置決めされる。 On the other hand, if Step S7 is Yes and Step S8 is No, the target transport distance L1 is smaller than the unit transport amount d. In this case, it progresses to step S10 and performs 2nd cutting operation. In the second cutting operation, as shown in FIG. 4C, first, the recording medium P is transported by the target transport distance L1 (step S10a). Thereby, the cut target position C is positioned at the cutting position B as shown in FIG. Next, as shown in FIG. 2D, the pending cutter command is executed to cut the recording medium P (step S10b). Subsequently, the recording medium P is transported by the difference (d−L1) between the unit transport amount d and the target transport distance L1 (step S10c). That is, the conveyance of the unit conveyance amount d is divided before and after the execution of the pending cutter command. As a result, the start position of the next one-pass printing is positioned at the printing position A as shown in FIG.
このように、ラベルP2(n)の印刷を中断してステップS9に進んだ場合、単位搬送量dずつ搬送が行われているので、カッターコマンドの実行後、特に搬送位置の調整を行わなくても次の1パス印刷の開始位置が印刷位置Aに位置決めされる。また、ステップS10に進んだ場合、カッターコマンドの実行の前後で合計して単位搬送量dの搬送が行われるので、次の1パス印刷の開始位置が印刷位置Aに位置決めされる。ステップS9、S10で保留中のカッターコマンドを実行するとともに次の1パス印刷の開始位置を印刷位置Aに位置決めした後は、ステップS3からステップS1に戻り、n番目のラベルP2(n)の印刷を再開する(第4ステップ)。 As described above, when the printing of the label P2 (n) is interrupted and the process proceeds to step S9, the conveyance is performed by the unit conveyance amount d. Therefore, after the cutter command is executed, the conveyance position is not particularly adjusted. The start position of the next one-pass printing is positioned at the printing position A. In addition, when the process proceeds to step S10, the unit transport amount d is transported in total before and after the execution of the cutter command, so that the start position of the next one-pass printing is positioned at the print position A. After executing the pending cutter command in steps S9 and S10 and positioning the start position of the next one-pass printing at the printing position A, the process returns from step S3 to step S1 to print the nth label P2 (n). Is resumed (fourth step).
ラベルP2への印刷が全て終了すると、ステップS4で次の印刷データがないと判定され(ステップS4:No)、ステップS11へ進む。ステップS11ではカットを行うか否か、具体的にはカッターコマンドもしくはカット位置の記憶の有無を確認する。カットを行う場合(ステップS11:Yes)、ステップS12に進む。ステップS12では、カット目標位置Cを切断位置Bに位置決めするための搬送動作を行う。続いて、ステップS13に進み、カッター6を駆動して記録媒体Pを切断する。一方、カットを行わない場合(ステップS11:No)、連続印刷を終了する。
When printing on the label P2 is completed, it is determined in step S4 that there is no next print data (step S4: No), and the process proceeds to step S11. In step S11, it is confirmed whether or not cutting is performed, specifically, whether or not a cutter command or a cutting position is stored. When cutting (step S11: Yes), the process proceeds to step S12. In step S12, a conveying operation for positioning the cut target position C at the cutting position B is performed. Then, it progresses to step S13 and the
(作用効果)
以上のように、本形態は、単位搬送量dの搬送動作と印刷動作を交互に行って印刷するシリアルヘッド方式の印刷装置1において、カットありの連続印刷を行う場合に、一旦カッターコマンドを保留し、カット目標位置Cが切断位置Bの近傍に移動したタイミングで印刷を中断してカット動作を行う。そして、カット動作を行うにあたって、単位搬送量dずつ搬送する動作のみではカッター6による切断位置Bにカット目標位置Cを位置決めできない場合には、単位搬送量dを分割することにより、切断位置Bにカット目標位置Cを位置決めする。すなわち、単位搬送量dよりも短い距離(目標搬送距離L1)だけ記録媒体Pを搬送してカット目標位置Cをカッター6による切断位置Bに位置決めする。そして、カット動作を行った後、先に搬送した距離(目標搬送距離L1)と単位搬送量dとの差分だけ記録媒体Pを搬送して印刷を再開する。本形態は、このような制御により、シリアルヘッド方式で印刷する場合においても記録媒体Pをバックフィードさせる必要がないので、不要な紙送りを削減できる。従って、記録媒体の搬送動作とカット動作とを効率的に行うことができる。よって、カットありの連続印刷を行う場合のスループットを向上させることができる。
(Function and effect)
As described above, the present embodiment temporarily holds a cutter command when performing continuous printing with a cut in the serial-head-
また、本形態では、記録媒体Pがラベル紙であるため、ラベルP2への連続印刷を行いつつ、ラベルP2を1枚ずつ切り離す処理を効率的に行うことができる。 In this embodiment, since the recording medium P is label paper, it is possible to efficiently perform the process of separating the labels P2 one by one while performing continuous printing on the label P2.
また、本形態では、設定管理部13は、上位装置20等から単位搬送量dを指定するコマンドを受信すると、単位搬送量dをコマンドで指定された距離に置き換える。従って、印刷装置1は、カット目標位置Cの配置やラベルサイズ等に応じて単位搬送量dを調節できる。
In the present embodiment, when the
1…印刷装置、2…ロール紙装填部、3…ロール紙、4…搬送機構、5…印刷機構、6…カッター、7…搬送路、10…制御部、11…印刷制御部、12…カット動作実行部、13…設定管理部、20…上位装置、41…紙送りローラー対、42…排紙ローラー対、51…印刷ヘッド、A…印刷位置、B…切断位置、C…カット目標位置、d…単位搬送量、G…ギャップ、L1…目標搬送距離、P…記録媒体、P1…台紙、P2…ラベル。
DESCRIPTION OF
Claims (5)
第1の印刷データに続き、少なくともカッターコマンドおよび第2の印刷データを受信する場合に、
前記記録媒体を単位搬送量だけ搬送する単位搬送動作と、前記記録媒体への印刷と、を交互に行うことにより、前記第1の印刷データに基づく第1の印刷ジョブを実行する第1ステップと、
前記カッターコマンドに基づく切断の実行を保留して前記第2の印刷データに基づく第2の印刷ジョブの実行を開始する第2ステップと、
前記第2の印刷ジョブの実行、もしくは前記第2の印刷ジョブよりも後の印刷ジョブを実行していた場合の当該後の印刷ジョブの実行を途中で中断して、保留した前記カッターコマンドに基づく切断を実行する第3ステップと、
前記中断した印刷ジョブを再開する第4ステップと、を行い、
前記第3ステップでは、
前記記録媒体におけるカット目標位置からカッターの切断位置までの距離である目標搬送距離が前記単位搬送量と一致した場合は、前記記録媒体を更に前記単位搬送量だけ搬送してから、保留した前記カッターコマンドに基づく切断を実行し、
前記目標搬送距離が前記単位搬送量よりも小さい場合は、前記記録媒体を前記目標搬送距離だけ搬送してから、保留した前記カッターコマンドに基づく切断を実行し、しかる後に、前記単位搬送量と前記目標搬送距離との差分の距離だけ前記記録媒体を搬送することを特徴とする印刷装置の制御方法。 A method for controlling a printing apparatus for printing and cutting a recording medium,
When receiving at least a cutter command and second print data following the first print data,
A first step of executing a first print job based on the first print data by alternately performing a unit transport operation for transporting the recording medium by a unit transport amount and printing on the recording medium; ,
A second step of suspending execution of cutting based on the cutter command and starting execution of a second print job based on the second print data;
Based on the held cutter command, the execution of the second print job or the execution of the subsequent print job when the print job after the second print job has been executed is interrupted. A third step of performing cutting;
And a fourth step of resuming the interrupted print job,
In the third step,
When the target transport distance, which is the distance from the cut target position on the recording medium to the cutter cutting position, coincides with the unit transport amount, the recording medium is transported by the unit transport amount and then held. Perform a command-based disconnection,
When the target transport distance is smaller than the unit transport amount, the recording medium is transported by the target transport distance, and then cutting based on the held cutter command is performed. A control method for a printing apparatus, wherein the recording medium is transported by a distance that is a difference from a target transport distance.
前記ラベルは、前記記録媒体の搬送方向に並んでおり、
前記カット目標位置は、隣り合うラベルの間のギャップ上に位置することを特徴とする請求項1または2に記載の印刷装置の制御方法。 The recording medium is a label paper comprising a long mount and a label disposed on the mount,
The labels are aligned in the transport direction of the recording medium,
The control method of a printing apparatus according to claim 1, wherein the cut target position is located on a gap between adjacent labels.
前記記録媒体の搬送方向と交差する方向に移動する印刷ヘッドを制御することにより印刷ジョブを実行することを特徴とする請求項1から3のいずれか一項に記載の印刷装置の制御方法。 4. The print job is executed by controlling a print head that moves in a direction that intersects the conveyance direction of the recording medium. A method for controlling a printing apparatus according to claim 1.
前記記録媒体の搬送方向と交差する方向に移動する印刷ヘッドと、
前記印刷ヘッドに対して搬送方向の下流側に配置され、前記記録媒体を切断するカッターと、
前記印刷ヘッド、前記カッター、および前記搬送機構を制御する制御部と、を有し、
前記制御部は、
第1の印刷データに続き、少なくともカッターコマンドおよび第2の印刷データを受信する場合に、
前記搬送機構によって前記記録媒体を単位搬送量だけ搬送する単位搬送動作と、前記印刷ヘッドによる前記記録媒体への印刷と、を交互に行って前記第1の印刷データに基づく第1の印刷ジョブを実行し、
前記カッターコマンドに基づく切断の実行を保留して前記第2の印刷データに基づく第2の印刷ジョブの実行を開始し、
前記第2の印刷ジョブの実行、もしくは前記第2の印刷ジョブよりも後の印刷ジョブを実行していた場合の当該後の印刷ジョブの実行を途中で中断して、保留した前記カッターコマンドに基づく前記カッターによる切断を実行し、
前記中断した印刷ジョブを再開し、
さらに、前記制御部は、
前記カッターによる切断の際、
前記記録媒体におけるカット目標位置からカッターの切断位置までの距離である目標搬送距離が前記単位搬送量と一致したと判断した場合は、前記搬送機構により前記記録媒体を更に前記単位搬送量だけ搬送してから、保留した前記カッターコマンドに基づく前記カッターによる切断を実行し、
前記目標搬送距離が前記単位搬送量よりも小さいと判断した場合は、前記搬送機構により前記記録媒体を前記目標搬送距離だけ搬送してから、保留した前記カッターコマンドに基づく前記カッターによる切断を実行し、しかる後に、前記単位搬送量と前記目標搬送距離との差分の距離だけ前記記録媒体を搬送するように制御することを特徴とする印刷装置。 A transport mechanism for transporting the recording medium;
A print head that moves in a direction that intersects the transport direction of the recording medium;
A cutter that is arranged on the downstream side in the transport direction with respect to the print head and cuts the recording medium;
A controller that controls the print head, the cutter, and the transport mechanism;
The controller is
When receiving at least a cutter command and second print data following the first print data,
A unit transport operation for transporting the recording medium by a unit transport amount by the transport mechanism and printing on the recording medium by the print head are alternately performed to perform a first print job based on the first print data. Run,
Suspending execution of cutting based on the cutter command and starting execution of a second print job based on the second print data;
Based on the held cutter command, the execution of the second print job or the execution of the subsequent print job when the print job after the second print job has been executed is interrupted. Cutting with the cutter,
Resume the interrupted print job,
Furthermore, the control unit
When cutting with the cutter,
When it is determined that the target transport distance, which is the distance from the cut target position on the recording medium to the cutter cutting position, matches the unit transport amount, the transport mechanism further transports the recording medium by the unit transport amount. After that, execute cutting by the cutter based on the held cutter command,
When it is determined that the target transport distance is smaller than the unit transport amount, the recording mechanism transports the recording medium by the target transport distance, and then performs cutting by the cutter based on the held cutter command. Thereafter, the printing apparatus is controlled so as to transport the recording medium by a distance that is a difference between the unit transport amount and the target transport distance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015208663A JP2017080917A (en) | 2015-10-23 | 2015-10-23 | Printer and control method of the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015208663A JP2017080917A (en) | 2015-10-23 | 2015-10-23 | Printer and control method of the same |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2017080917A true JP2017080917A (en) | 2017-05-18 |
Family
ID=58712307
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015208663A Pending JP2017080917A (en) | 2015-10-23 | 2015-10-23 | Printer and control method of the same |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2017080917A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3858627A1 (en) | 2020-01-30 | 2021-08-04 | Canon Kabushiki Kaisha | Image printing apparatus, control method of image printing apparatus, and program |
CN113320300A (en) * | 2020-02-28 | 2021-08-31 | 佳能株式会社 | Image forming apparatus with a toner supply unit |
EP4369175A1 (en) * | 2022-11-14 | 2024-05-15 | Canon Kabushiki Kaisha | Printing apparatus, method for controlling printing apparatus, and program |
-
2015
- 2015-10-23 JP JP2015208663A patent/JP2017080917A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3858627A1 (en) | 2020-01-30 | 2021-08-04 | Canon Kabushiki Kaisha | Image printing apparatus, control method of image printing apparatus, and program |
US11535478B2 (en) | 2020-01-30 | 2022-12-27 | Canon Kabushiki Kaisha | Image printing apparatus, control method of image printing apparatus, and storage medium |
CN113320300A (en) * | 2020-02-28 | 2021-08-31 | 佳能株式会社 | Image forming apparatus with a toner supply unit |
EP3871891A1 (en) | 2020-02-28 | 2021-09-01 | Canon Kabushiki Kaisha | Image forming apparatus |
US11535043B2 (en) | 2020-02-28 | 2022-12-27 | Canon Kabushiki Kaisha | Image forming apparatus |
CN113320300B (en) * | 2020-02-28 | 2024-04-16 | 佳能株式会社 | Image forming apparatus with a plurality of image forming units |
EP4369175A1 (en) * | 2022-11-14 | 2024-05-15 | Canon Kabushiki Kaisha | Printing apparatus, method for controlling printing apparatus, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6372483B2 (en) | Printing apparatus, printing method, and printing program | |
CN107856412B (en) | Printing apparatus and control method of printing apparatus | |
JP6368138B2 (en) | Control apparatus and control method | |
JP2016137627A (en) | Recorder, and method and program for controlling recorder | |
JP2009066815A (en) | Printer and printing system | |
JP2017080917A (en) | Printer and control method of the same | |
JP2018126925A (en) | Printer and printer control program | |
JP2010188567A (en) | Printer with auto-cutter, and control method thereof | |
JP2016055540A (en) | Image recording device | |
JP2016137628A (en) | Recorder, and method and program for controlling recorder | |
JP6540387B2 (en) | Printing apparatus control method and printing apparatus | |
US9764569B2 (en) | Printer, and method and computer-readable medium for the same | |
US9718290B2 (en) | Printer, and method and computer-readable medium for the same | |
JP2016007785A (en) | Printer and printer controller | |
JP2013184324A (en) | Image forming apparatus and image forming method | |
JP6394584B2 (en) | Printing device | |
JP6464851B2 (en) | Printing apparatus, printing method, and printing program | |
JP2015196319A (en) | Paper feeder and printer | |
JP5095789B2 (en) | Printing apparatus and conveying method of printing apparatus | |
JP5917073B2 (en) | Printing apparatus and printing control method | |
JP2012148515A (en) | Paper conveyance method for dot line printer | |
JP2022006631A (en) | Thermal printer and program | |
JP2010017870A (en) | Serial printer | |
JP5790154B2 (en) | Conveying apparatus, printing apparatus, and conveying method | |
JP2019139135A (en) | Image forming apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD05 | Notification of revocation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7425 Effective date: 20180906 |