[go: up one dir, main page]

JP2024011675A - Recording device, control method and program - Google Patents

Recording device, control method and program Download PDF

Info

Publication number
JP2024011675A
JP2024011675A JP2022113885A JP2022113885A JP2024011675A JP 2024011675 A JP2024011675 A JP 2024011675A JP 2022113885 A JP2022113885 A JP 2022113885A JP 2022113885 A JP2022113885 A JP 2022113885A JP 2024011675 A JP2024011675 A JP 2024011675A
Authority
JP
Japan
Prior art keywords
label
sensor
printing
length
printed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2022113885A
Other languages
Japanese (ja)
Inventor
優人 稲生
Masahito Inao
祥司 尾高
Shoji Otaka
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.)
Canon Finetech Nisca Inc
Original Assignee
Canon Finetech Nisca Inc
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 Canon Finetech Nisca Inc filed Critical Canon Finetech Nisca Inc
Priority to JP2022113885A priority Critical patent/JP2024011675A/en
Publication of JP2024011675A publication Critical patent/JP2024011675A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Ink Jet (AREA)
  • Handling Of Sheets (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

To reduce the influence due to connection even when a connected continuous sheet is fed.SOLUTION: A recording device includes: conveyance means which conveys a recording medium in which a plurality of labels are arranged with a prescribed interval in the conveyance direction; a sensor which detects the labels arranged in the recording medium; printing means which prints an image on the label detected by the sensor; and control means. The control means acquires information on a predetermined length in the conveyance direction of the label arranged in the recording medium, calculates the length in the conveyance direction of the first label detected by the sensor on the basis of the output of the sensor, and performs control so as to perform printing of the image of the printing object with respect to the first label on the second label detected by the sensor after the first label according to the result of comparing the calculated length with the length in the conveyance direction of the label indicated by the acquired information.SELECTED DRAWING: Figure 7

Description

本開示は、連続した記録媒体に記録を行う記録装置に関する。 The present disclosure relates to a recording device that records on a continuous recording medium.

ラベルが所定間隔で配置されている連続用紙を搬送して、搬送された連続用紙上のラベルに対して画像を印刷するプリンタがある。 There is a printer that transports continuous paper on which labels are arranged at predetermined intervals and prints images on the labels on the transported continuous paper.

特許文献1には、搬送された連続用紙のラベルにおける印字位置を決めるために、マーク検出モードと送り量検出モードを有するプリンタが記載されている。マーク検出モードでは、連続用紙のマークをセンサで検知し、マークの位置を基準として印字位置の位置決めを行う。送り量検出モードでは、予め設定された単位用紙長に基づいて用紙送り量を基準として印字位置の位置決めを行う。特許文献1のプリンタでは、マークが検知できなかった場合は、送り量基準モードで印刷を継続することが記載されている。 Patent Document 1 describes a printer that has a mark detection mode and a feed amount detection mode in order to determine the printing position on a label of a conveyed continuous paper. In the mark detection mode, a sensor detects a mark on continuous paper, and the printing position is determined based on the position of the mark. In the feed amount detection mode, the print position is determined based on the paper feed amount based on a preset unit paper length. The printer of Patent Document 1 describes that if a mark cannot be detected, printing is continued in the feed amount reference mode.

特開2008-238484号公報Japanese Patent Application Publication No. 2008-238484

例えば、印刷の前処理を行う際のトラブルにより連続用紙が切断された場合、切断箇所をテープなどの接続部材でつなぎ合わせることがある。そして、テープでつなぎ合わせた連続用紙がプリンタに給紙されて、その連続用紙が印刷に用いられることがある。 For example, if a continuous sheet of paper is cut due to trouble during pre-processing for printing, the cut portions may be joined together using a connecting member such as tape. Continuous sheets of paper connected with tape are sometimes fed to a printer and used for printing.

図9に示すように、ラベル同士が重なるように連続用紙をテープ900でつなぎ合わせた場合、つなぎ合わされたラベルに画像901が印刷されてしまうことがある。つなぎ合わされたラベルは成果物として使用できないが、特許文献1の方法では、つなぎ合わされたラベルに画像が印刷された場合でも、次のラベルには次ページの画像が印刷されてしまう。このため、特許文献1の方法では、欠落ページが発生してしまう。 As shown in FIG. 9, when continuous sheets of paper are joined together with tape 900 so that the labels overlap each other, an image 901 may be printed on the joined labels. Although the joined labels cannot be used as a product, in the method of Patent Document 1, even if an image is printed on the joined labels, the image of the next page will be printed on the next label. Therefore, in the method of Patent Document 1, missing pages occur.

また、特許文献1の方法では、マークが正しく検知できなかった場合は、送り量検出モードで次のラベルへ印刷を行っている。しかしながら、図9に示すように、つなぎ合わされた箇所のラベルは、つなぎ合わされたことにより、予め設定した単位用紙長とは異なる長さとなっていることがある。このため、予め設定した単位用紙長に基づく用紙送り量によって印刷を行うと、適切ではない位置に画像902が印刷されてしまう。また、特許文献1には、マークを検知した結果、ラベルが短く検出された場合の処理については記載されていない。 Furthermore, in the method of Patent Document 1, if a mark cannot be detected correctly, printing is performed on the next label in the feed amount detection mode. However, as shown in FIG. 9, the labels at the joined locations may have a length different from the preset unit paper length due to the joining. Therefore, if printing is performed using a paper feed amount based on a preset unit paper length, the image 902 will be printed at an inappropriate position. Further, Patent Document 1 does not describe a process to be performed when a short label is detected as a result of detecting a mark.

本発明はこのような課題を鑑みてなされたものであり、その目的は、つなぎ合わされた連続用紙が給紙された場合でも、つなぎ合わされたことによる影響を軽減することが可能な記録装置を提供することにある。 The present invention has been made in view of these problems, and an object of the present invention is to provide a recording device that can reduce the effects of splicing even when spliced continuous paper is fed. It's about doing.

本開示の記録装置は、複数のラベルが所定の間隔を空けて配置された記録媒体を、搬送方向に搬送する搬送手段と、前記記録媒体に配置されたラベルを検出するためのセンサと、前記センサに基づき検出されたラベルに画像を印刷する印刷手段と、前記記録媒体に配置されたラベルへ画像を印刷するための制御をする制御手段と、を有する記録装置であって、前記制御手段は、前記記録媒体に配置されたラベルの前記搬送方向における予め決められた長さの情報を取得し、前記センサに基づき検出された第1のラベルの前記搬送方向の長さを、前記センサの出力に基づき算出し、前記算出された長さと前記取得された情報が示すラベルの前記搬送方向の長さとを比較した結果に応じて、前記第1のラベルの次に前記センサに基づき検出される第2のラベルへは、前記第1のラベルに対する印刷対象の画像の印刷が行われるように制御することを特徴とする。 The recording device of the present disclosure includes: a conveying means for conveying a recording medium in which a plurality of labels are arranged at predetermined intervals in a conveying direction; a sensor for detecting the labels arranged on the recording medium; A recording device comprising a printing means for printing an image on a label detected based on a sensor, and a control means for controlling printing of an image on a label placed on the recording medium, the control means comprising: , acquire information on a predetermined length in the transport direction of a label placed on the recording medium, and calculate the length of the first label in the transport direction detected based on the sensor as an output of the sensor. and the length of the label detected based on the sensor next to the first label according to the result of comparing the calculated length and the length of the label in the transport direction indicated by the acquired information. The second label is characterized in that the image to be printed on the first label is controlled to be printed on the second label.

本開示によれば、つなぎ合わされた連続用紙が給紙された場合でも、つなぎ合わされたことによる影響を軽減することができる。 According to the present disclosure, even when spliced continuous paper is fed, the influence of splicing can be reduced.

記録装置の内部構成を示す概略図である。FIG. 2 is a schematic diagram showing the internal configuration of a recording device. 記録装置に給紙される記録紙を説明するための図である。FIG. 3 is a diagram for explaining recording paper fed to a recording device. 記録装置の制御に係る構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration related to control of the recording device. 切断箇所がつなぎ合わせた記録紙を説明するための概略図である。FIG. 3 is a schematic diagram illustrating recording paper in which cut points are joined together. 印刷シーケンスを説明するためのフローチャート。A flowchart for explaining a print sequence. 印刷対象ページの印刷処理を説明するためのフローチャート。A flowchart for explaining printing processing of a page to be printed. 印刷結果を説明するための図である。FIG. 3 is a diagram for explaining a print result. 印刷対象ページの印刷処理を説明するためのフローチャート。A flowchart for explaining printing processing of a page to be printed. 比較例の印刷結果を説明するための図である。FIG. 7 is a diagram for explaining a printing result of a comparative example.

以下、図面を参照して本開示の技術な実施形態を説明する。 Hereinafter, technical embodiments of the present disclosure will be described with reference to the drawings.

<実施形態1>
[内部構成]
図1は、インクジェット記録ヘッドを搭載した本実施形態の記録装置100の内部構造の概略を示す側断面図である。図1に示すように、記録装置100は、USBケーブルを介してホストコンピュータ(以下、ホスト)101と接続されている。
<Embodiment 1>
[Internal configuration]
FIG. 1 is a side sectional view schematically showing the internal structure of a printing apparatus 100 according to this embodiment, which is equipped with an inkjet printing head. As shown in FIG. 1, the recording device 100 is connected to a host computer (hereinafter referred to as host) 101 via a USB cable.

記録装置100は記録紙の幅全体に渡って複数のノズルを配列した4つのフルライン記録ヘッド(以下、記録ヘッド)102~105を記録紙の搬送方向に沿って備えている。4つの記録ヘッド102~105はそれぞれ、ブラックインク、シアンインク、マゼンタインク、イエローインクを吐出して印刷を行い、4つの記録ヘッドから吐出される4色のインクにより、画像データに基づくフルカラー画像を印刷する。 The recording apparatus 100 includes four full-line recording heads (hereinafter referred to as recording heads) 102 to 105 in which a plurality of nozzles are arranged across the entire width of the recording paper along the conveyance direction of the recording paper. Each of the four recording heads 102 to 105 performs printing by ejecting black ink, cyan ink, magenta ink, and yellow ink, and the four color inks ejected from the four recording heads create a full-color image based on image data. Print.

画像データは、ホスト101で生成される。ホスト101は、4色のインクに対応したブラック(K)成分、シアン(C)成分、マゼンタ(M)成分、イエロー(Y)成分に色値が分離され、濃度で色値が指定された画像データを記録装置100に送信する。記録装置100では、記録紙106を給紙し、押さえローラ107と搬送ベルト108で挟持して記録ヘッド102~105がある方向(搬送方向)へ記録紙106が搬送される。 Image data is generated by the host 101. The host 101 is an image in which color values are separated into black (K) component, cyan (C) component, magenta (M) component, and yellow (Y) component corresponding to four color inks, and color values are specified by density. Send the data to the recording device 100. In the recording apparatus 100, a recording paper 106 is fed, held between a press roller 107 and a conveyance belt 108, and conveyed in a direction (conveyance direction) in which the recording heads 102 to 105 are located.

図2は、本実施形態の記録紙106を説明するための図である。図2の上の図は、記録紙106を表しており、本実施形態の記録紙106は、ロール状の記録媒体(連続用紙ともいう)である。また記録紙106は、いわゆるラベル紙であり、連続した台紙201にラベル202が搬送方向に所定の間隔で仮着されて配置されている。ラベルとラベルの間に設けられている間隔をギャップ203とよび、ギャップ203は台紙201だけで構成されている。 FIG. 2 is a diagram for explaining the recording paper 106 of this embodiment. The upper diagram in FIG. 2 shows the recording paper 106, and the recording paper 106 of this embodiment is a roll-shaped recording medium (also referred to as continuous paper). The recording paper 106 is a so-called label paper, and labels 202 are temporarily attached to a continuous mount 201 at predetermined intervals in the transport direction. The space provided between the labels is called a gap 203, and the gap 203 is made up of only the backing paper 201.

端部検知センサ109は、発光部および受光部を有する光電式センサである。発光部は光を照射し、その光は記録紙106を透過して、透過した光を受光部が受光する。そして端部検知センサ109は、透過光の光量を表す電圧値を出力する。用紙の透過度が高いほど透過光量が大きいため大きな電圧値が出力される。このため端部検知センサ109の検知結果に基づき、搬送された記録紙106の搬送方向における各位置の透過度を検出することができる。 The end detection sensor 109 is a photoelectric sensor having a light emitting part and a light receiving part. The light emitting section emits light, the light passes through the recording paper 106, and the light receiving section receives the transmitted light. Then, the edge detection sensor 109 outputs a voltage value representing the amount of transmitted light. The higher the transparency of the paper, the greater the amount of transmitted light, so a larger voltage value is output. Therefore, based on the detection result of the edge detection sensor 109, the transmittance of each position in the conveyance direction of the conveyed recording paper 106 can be detected.

図2の下の図は、図2の記録紙106を端部検知センサ109が検知した結果を表すグラフである。図2の下のグラフの縦軸は電圧値であり横軸は、記録紙106の搬送方向における位置である。記録紙106におけるギャップ203の位置とラベル202の位置との透過度は異なる。ラベル202のある位置は、台紙201の上にラベル202が仮着されているためギャップ203よりも透過度が低い。即ち、ラベル202のある位置を端部検知センサ109が検知した結果出力される電圧値は、ギャップ203を検知した場合の電圧値よりも低くなる。このため、端部検知センサ109の検知結果に基づき、電圧値が閾値Thよりも低くなった位置を検出することで、搬送された記録紙106におけるラベル202の位置を検出することができる。なお、ラベル202の端部のうち、搬送方向の端部を先端と、搬送方向と反対方向の端部を後端とよぶ。 The lower diagram in FIG. 2 is a graph showing the result of detection of the recording paper 106 in FIG. 2 by the edge detection sensor 109. The vertical axis of the lower graph in FIG. 2 is the voltage value, and the horizontal axis is the position of the recording paper 106 in the transport direction. The position of the gap 203 on the recording paper 106 and the position of the label 202 have different degrees of transparency. The position where the label 202 is located has lower transparency than the gap 203 because the label 202 is temporarily attached on the mount 201. That is, the voltage value output as a result of the end detection sensor 109 detecting a certain position of the label 202 is lower than the voltage value when the gap 203 is detected. Therefore, the position of the label 202 on the transported recording paper 106 can be detected by detecting the position where the voltage value is lower than the threshold Th based on the detection result of the edge detection sensor 109. Note that among the ends of the label 202, the end in the transport direction is called a leading edge, and the end in the opposite direction to the transport direction is called a rear end.

各記録ヘッド102~105は、ラベル202の先端からの搬送量に基づく印刷タイミングに従ってインクをラベル202に吐出することにより画像の印刷を行う。搬送量は、搬送ベルト108に同期して信号を出力する不図示のエンコーダの出力をカウントすることにより導出される。 Each of the recording heads 102 to 105 prints an image by ejecting ink onto the label 202 according to printing timing based on the amount of transport from the leading edge of the label 202. The amount of conveyance is derived by counting the output of an encoder (not shown) that outputs a signal in synchronization with the conveyor belt 108.

記録装置100は、ページ単位の画像データを受信するものとする。記録装置100は、1ページ分の画像を1つのラベルに対して印刷を行う。ラベル202の先端の検出と印刷タイミングの決定とを繰り返すことで、搬送された記録紙106に含まれるラベルに順次、印刷対象ページの画像の印刷が行われる。 It is assumed that the recording device 100 receives image data in units of pages. The recording device 100 prints one page worth of images on one label. By repeating the detection of the leading edge of the label 202 and the determination of the printing timing, images of pages to be printed are sequentially printed on the labels included in the transported recording paper 106.

[機能構成]
図3は、記録装置100の制御に係るハードウェア構成を示すブロック図である。記録装置100の制御部であるコントローラ300は、CPU301、ROM302、RAM303、イメージバッファメモリ304~307、ヘッド駆動回路308、モータドライバ310、制御回路320を有する。
[Functional configuration]
FIG. 3 is a block diagram showing a hardware configuration related to control of the recording apparatus 100. A controller 300, which is a control unit of the recording apparatus 100, includes a CPU 301, a ROM 302, a RAM 303, image buffer memories 304 to 307, a head drive circuit 308, a motor driver 310, and a control circuit 320.

CPU301は、ROM302に格納されている制御プログラムをRAM303上の作業領域を用いて実行して各構成を制御する。また、コントローラ300では、RAM303は、各種データ処理の作業領域や受信バッファとして使用される。イメージバッファメモリ304~307は、画像展開部としてブラック、シアン、マゼンタ、イエローの各色成分濃度データを格納するのに用いられる。ヘッド駆動回路308は記録ヘッド102~105を駆動するために用いられる。モータドライバ310は、各色の記録ヘッド102~105が記録を行うのに最適な状態に保つためのクリーニング動作、および記録動作を制御する各種モータ309を駆動する。ASICの制御回路320は、各種動作の制御、および記録紙106のラベルの端部を検出するための端部検知センサ109を制御する。 The CPU 301 executes a control program stored in the ROM 302 using a work area on the RAM 303 to control each configuration. Further, in the controller 300, the RAM 303 is used as a work area for various data processing and as a reception buffer. Image buffer memories 304 to 307 are used as image development units to store color component density data of black, cyan, magenta, and yellow. A head drive circuit 308 is used to drive the recording heads 102-105. The motor driver 310 drives various motors 309 that control cleaning operations and recording operations to keep the recording heads 102 to 105 of each color in an optimal state for recording. The ASIC control circuit 320 controls various operations and the edge detection sensor 109 for detecting the edge of the label on the recording paper 106.

また、記録装置100は、ホスト101から送信された画像データやクリーニングコマンドなどを、USBケーブルを介して受信するためのUSBコントローラ312を有する。記録装置100のインタフェースはUSBに限られず、有線または無線ネットワークを介してホスト101と接続されていてもよい。記録装置100は、ホスト101から受信した各種コマンド命令に従って動作する。 The recording apparatus 100 also includes a USB controller 312 for receiving image data, cleaning commands, etc. transmitted from the host 101 via a USB cable. The interface of the recording device 100 is not limited to USB, and may be connected to the host 101 via a wired or wireless network. The recording device 100 operates according to various commands received from the host 101.

[記録紙のつなぎ合わせについて]
図4は、記録紙106のつなぎ合わせについて説明するための図である。印刷の前処理を行う際のトラブル等によりロール状の記録紙106は、途中で切断されてしまうことがある。図4(a)の記録紙106は、ギャップ203内の切断箇所401で切断された後の記録紙を表す図である。記録紙106が切断された場合、記録紙106の切断箇所401をテープでつなぎ合わせることが行われる。そして、テープで切断箇所401がつなぎ合わされた記録紙106が記録装置100に給紙される。
[About joining recording paper]
FIG. 4 is a diagram for explaining how to join the recording sheets 106 together. The roll-shaped recording paper 106 may be cut midway due to troubles during pre-processing for printing. The recording paper 106 in FIG. 4A is a diagram showing the recording paper after being cut at the cutting location 401 within the gap 203. When the recording paper 106 is cut, the cut portions 401 of the recording paper 106 are joined together with tape. Then, the recording paper 106 with the cut points 401 joined together with tape is fed to the recording apparatus 100.

テープで切断箇所401をつなぎ合わさせる場合、図4(a)の矢印を結び合わせた位置を台紙201の上面、下面、または上面および下面の両方からテープでつなぎ合わせ、連続する記録紙106とする。つなぎ合わせ方によっては、図4(b)~(d)に示すように、端部検知センサ109の検知の結果検出されるラベルの位置が本来の位置とは異なって検出されてしまうことがある。 When connecting the cut points 401 with tape, connect the positions where the arrows in FIG. . Depending on the method of joining, the position of the label detected as a result of detection by the edge detection sensor 109 may be different from the original position, as shown in FIGS. 4(b) to 4(d). .

図4(b)~(d)は、図4(a)の記録紙106の切断箇所401をテープでつなぎ合わせた後の記録紙106の例をそれぞれ示す図である。図4(b)~(d)の斜線部はテープの位置および大きさを表す。ギャップ203におけるテープのある領域は、テープの無い領域よりも透過度は下がるため、端部検知センサ109が出力する電圧値は低くなることになる。 FIGS. 4(b) to 4(d) are diagrams each showing an example of the recording paper 106 after the cut portions 401 of the recording paper 106 in FIG. 4(a) are joined together with tape. The shaded areas in FIGS. 4(b) to 4(d) represent the position and size of the tape. Since the area where the tape exists in the gap 203 has lower transmittance than the area where there is no tape, the voltage value output by the edge detection sensor 109 will be lower.

図4(b)は、ギャップ203の範囲内にテープが含まれるように切断箇所401をつなぎ合わせた例である。本来、ギャップ203は、台紙201のみが含まれるためラベル202のある領域よりも透過率が高い。このため、図2を用いて説明したように、ギャップ203を端部検知センサ109検知した結果得られる電圧値は閾値より高くなる。一方、図4(b)ではギャップ203内で、切断箇所401がテープでつなぎ合わされている。このためギャップ203内であってもテープのある領域(斜線部)とテープの無い領域では透過率が異なる。即ち、ギャップ内において切断箇所をつなぎ合わせているテープのある領域(斜線部)では透過率が低下して、電圧値が閾値を下回ってしまう。このため、電圧値と閾値とを比較すると、制御上、ギャップ203内にラベルがあると判定されてしまう。このため、制御上ではギャップ203内に短いラベルがあるかのように処理が行われてしまう。 FIG. 4B shows an example in which the cut points 401 are joined together so that the tape is included within the gap 203. Originally, the gap 203 contains only the backing paper 201 and therefore has a higher transmittance than the area where the label 202 is located. Therefore, as explained using FIG. 2, the voltage value obtained as a result of detecting the gap 203 by the end detection sensor 109 becomes higher than the threshold value. On the other hand, in FIG. 4(b), the cut portions 401 are joined together with tape within the gap 203. Therefore, even within the gap 203, the transmittance is different between the area where the tape is present (shaded area) and the area where there is no tape. That is, in a certain region (shaded region) of the tape connecting the cut points within the gap, the transmittance decreases and the voltage value falls below the threshold value. Therefore, when the voltage value is compared with the threshold value, it is determined that there is a label within the gap 203 for control purposes. Therefore, in terms of control, processing is performed as if there were a short label within the gap 203.

図4(c)は、切断箇所401をギャップ203の幅を超える幅のテープにてつなぎ合わせた例である。ギャップ203は全てテープで覆われているため、ギャップを端部検知センサ109が検知した結果取得される電圧値は、ラベル202を検知した場合に取得される電圧値と同等か近似した値になる。このため、制御上は2つ分のラベルの長さのある1つのラベルがあると判定されてしまう。 FIG. 4(c) is an example in which the cut portions 401 are connected with a tape having a width exceeding the width of the gap 203. Since the gap 203 is entirely covered with tape, the voltage value obtained as a result of detecting the gap by the edge detection sensor 109 is equal to or similar to the voltage value obtained when the label 202 is detected. . Therefore, in terms of control, it is determined that there is one label that is the length of two labels.

図4(d)は、ラベルを重ね合わせて切断箇所をつなぎ合わせた例を示す図である。図4(c)と同様にギャップ203はテープ又は他方のラベルで覆われるため、取得される電圧値はラベルと同等か近似した値になる。このため、制御上は長いラベルがあるかのように処理される。 FIG. 4(d) is a diagram showing an example in which labels are overlapped and cut points are joined. As in FIG. 4(c), the gap 203 is covered with tape or the other label, so the obtained voltage value is equal to or similar to the label. Therefore, for control purposes, it is processed as if there were a long label.

[フローチャート]
図5は本実施形態の記録装置100で実行される印刷シーケンスのフローを説明するためのフローチャートである。図5のフローチャートで示される一連の処理は、コントローラ300のCPUがROMに記憶されているプログラムコードをRAMに展開し実行することにより行われる。また、図5におけるステップの一部または全部の機能をASICや電子回路等のハードウェアで実現してもよい。なお、各処理の説明における記号「S」は、当該フローチャートにおけるステップであることを意味し、以後のフローチャートにおいても同様とする。
[flowchart]
FIG. 5 is a flowchart for explaining the flow of a print sequence executed by the recording apparatus 100 of this embodiment. The series of processes shown in the flowchart of FIG. 5 is performed by the CPU of the controller 300 loading the program code stored in the ROM into the RAM and executing it. Furthermore, some or all of the functions of the steps in FIG. 5 may be realized by hardware such as an ASIC or an electronic circuit. Note that the symbol "S" in the description of each process means a step in the flowchart, and the same applies to subsequent flowcharts.

図5のフローチャートは、ホスト101から画像データを含む印刷データと印刷開始指示が送信され、印刷動作を開始した後に開始される。印刷動作が開始されると搬送機構(搬送ベルト108)が搬送方向に記録紙106の搬送に開始する。即ち、図5のフローチャートが開始されると、記録紙106の搬送についても開始される。ホスト101から送信された印刷データには、印刷が行われる用紙(ラベル)のサイズ、用紙(ラベル)の種類の情報が含まれる。即ち、記録紙106に含まれるラベルにおける予め測定して決められたサイズおよびラベルの種類がホストから送信される。 The flowchart in FIG. 5 is started after print data including image data and a print start instruction are transmitted from the host 101 and a print operation is started. When the printing operation is started, the transport mechanism (transport belt 108) starts transporting the recording paper 106 in the transport direction. That is, when the flowchart of FIG. 5 is started, the conveyance of the recording paper 106 is also started. The print data transmitted from the host 101 includes information on the size of paper (label) on which printing is performed and the type of paper (label). That is, the size and type of label included in the recording paper 106, which have been measured and determined in advance, are transmitted from the host.

S501においてコントローラ300は、印刷データから記録紙106に含まれるラベルのサイズおよびラベルの種類の情報を取得する。なお、ラベルの情報は、印刷データ以外から取得してもよい。また、ラベルのサイズおよびラベルの種類は、予めROM302に保存されていてもよい。 In S501, the controller 300 acquires information about the size and type of label included in the recording paper 106 from the print data. Note that the label information may be acquired from sources other than print data. Furthermore, the label size and label type may be stored in the ROM 302 in advance.

コントローラ300は、端部検知センサ109の検知結果を随時取得して、搬送された記録紙106に含まれるラベルの先端が検出されたかを監視している。S502においてコントローラ300は、端部検知センサ109で検知した結果得られた電圧値を随時取得して、取得された電圧値が閾値Th以下となったかを判定する。電圧値が閾値Th以下となったとき、制御上、記録紙106上のラベルの先端が検出されたことになる。コントローラ300がラベルの先端を検出した場合(S502がYES)、S503へ進む。 The controller 300 constantly acquires the detection results of the edge detection sensor 109 and monitors whether the leading edge of the label included in the transported recording paper 106 has been detected. In S502, the controller 300 acquires the voltage value obtained as a result of detection by the end detection sensor 109 at any time, and determines whether the acquired voltage value is equal to or less than the threshold Th. When the voltage value becomes equal to or less than the threshold Th, it means that the leading edge of the label on the recording paper 106 has been detected for control purposes. If the controller 300 detects the leading edge of the label (YES in S502), the process advances to S503.

S503においてコントローラ300は、印刷指示にて指定されている印刷対象ページの画像の印刷処理を開始する。ホスト101から送信される画像データは、ページ単位の画像データが送信されるものとして説明する。1ページ分の画像データが、1つのラベルに印刷する画像のデータに相当する。1ページごとに印刷対象ページが選択されて、印刷対象ページの画像に対する印刷処理がS503で行われる。最初は、1ページ目の画像の印刷処理が行われることになる。S503の処理の詳細は、後述する。 In S503, the controller 300 starts printing the image of the page to be printed specified in the print instruction. The image data transmitted from the host 101 will be described on the assumption that image data is transmitted in units of pages. One page of image data corresponds to image data printed on one label. A page to be printed is selected page by page, and printing processing is performed on the image of the page to be printed in step S503. Initially, printing processing for the first page image will be performed. Details of the process in S503 will be described later.

S504においてコントローラ300は、未印刷のページがあるか判定する。未印刷のページがあると判定された場合(S504がYES)、再度S502へ戻り、印刷対象ページを次に検出されたラベルへ印刷するために、次のラベルの先端を検出されたかを監視する。未印刷のページがないと判定された場合(S504がNO)、印刷シーケンスは終了する。 In S504, the controller 300 determines whether there are any unprinted pages. If it is determined that there is an unprinted page (S504 is YES), the process returns to S502 again and monitors whether the leading edge of the next label is detected in order to print the page to be printed on the next detected label. . If it is determined that there are no unprinted pages (NO in S504), the print sequence ends.

図6は本実施形態における印刷対象ページの画像の印刷処理を説明するためのフローチャートである。図6を用いてS503の処理の詳細を説明する。 FIG. 6 is a flowchart for explaining the printing process of the image of the print target page in this embodiment. The details of the process in S503 will be explained using FIG. 6.

S601においてコントローラ300は、印刷対象ページの画像が印刷される印刷対象のラベルの測長を開始する。即ち、S502でラベルの先端が検出されてからラベルの後端が検出されるまでの搬送量(距離)の測定を開始する。コントローラ300は、不図示のエンコーダの入力信号をカウントすることで、搬送量を導出することができる。 In S601, the controller 300 starts measuring the length of the label to be printed on which the image of the page to be printed is printed. That is, in S502, measurement of the conveyance amount (distance) from when the leading edge of the label is detected to when the trailing edge of the label is detected is started. The controller 300 can derive the conveyance amount by counting input signals from an encoder (not shown).

また、コントローラ300は、印刷対象ページの画像を印刷するためのインクの吐出開始位置までのカウントを開始する。吐出開始位置とは、印刷対象のラベルにおけるインクが初めて吐出される位置のことを指す。吐出開始位置は、ラベルの先端が検出されてから所定の搬送量だけ搬送されたときの位置であり、所定の搬送量は、記録ヘッド102~105と端部検知センサ109との位置、印刷対象ページの画像データに基づき算出される。コントローラ300は、不図示のエンコーダの入力信号をカウントすることで、所定の搬送量だけ搬送されたかを導出できる。 Further, the controller 300 starts counting up to the ink ejection start position for printing the image of the print target page. The ejection start position refers to the position on the label to be printed where ink is ejected for the first time. The ejection start position is the position when the leading edge of the label is detected and the label has been transported by a predetermined transport amount. Calculated based on page image data. The controller 300 can derive whether a predetermined conveyance amount has been conveyed by counting input signals from an encoder (not shown).

S602においてコントローラ300は、不図示のエンコーダの入力信号をカウントした結果、印刷対象のラベルの吐出開始位置に到達したかを判定する。印刷開始位置に到達したと判定された場合(S602がYES)、S603に進む。 In S602, the controller 300 counts input signals from an encoder (not shown) and determines whether the ejection start position of the label to be printed has been reached. If it is determined that the printing start position has been reached (YES in S602), the process advances to S603.

S603においてコントローラ300は、記録ヘッド102~105にインクの吐出を開始させ、検出された印刷対象のラベルへ印刷対象ページの画像の印刷を開始させる。 In S603, the controller 300 causes the recording heads 102 to 105 to start ejecting ink, and starts printing the image of the page to be printed on the detected label to be printed.

コントローラ300は、端部検知センサ109が検知した結果得られた電圧値を随時取得しており、S604では、コントローラ300は、取得された電圧値が閾値Thより大きくなったかを電圧値が取得された都度判定する。電圧値が閾値Thより大きくなった場合、制御上、今回検出された印刷対象のラベルの後端が検出されたことになる。コントローラ300がラベルの後端を検出した場合(S604がYES)、S605へ進む。 The controller 300 acquires the voltage value obtained as a result of detection by the edge detection sensor 109 at any time, and in S604, the controller 300 determines whether the acquired voltage value has become larger than the threshold Th. Judge each time. When the voltage value becomes larger than the threshold Th, it means that the trailing edge of the currently detected label to be printed has been detected for control purposes. If the controller 300 detects the rear end of the label (YES in S604), the process advances to S605.

S605においてコントローラ300は、S601で測長を開始した時からのデータから今回検出された印刷対象のラベルの搬送方向の長さを算出する。例えば、コントローラ300は、S502で先端が検出されてからS604で後端が検出されるまでの記録紙106の搬送量(距離)に基づき、検出された印刷対象のラベルの搬送方向の長さを算出できる。 In S605, the controller 300 calculates the length of the currently detected label to be printed in the transport direction from the data from the time when length measurement was started in S601. For example, the controller 300 calculates the length of the detected label to be printed in the transport direction based on the transport amount (distance) of the recording paper 106 from when the leading edge is detected in S502 to when the trailing edge is detected in S604. It can be calculated.

S606においてコントローラ300は、S501で取得された印刷データで指定されたラベルの搬送方向における長さと、S605で算出された長さが等しいかを判定する。S606においてコントローラ300は、完全に等しいかを判定するわけではなく、S605で算出された長さに、マージンを考慮した値によって決定された値を加味した値の範囲内に、印刷データで指定されたラベルの長さが含まれるか判定する。例えば、コントローラ300は、印刷データで指定されたラベルの長さが、S605で算出されたラベルの長さ±5mm以内であるかを判定する。換言すれば、S605で算出された長さと、印刷データで指定されたラベルの搬送方向の長さと、の差が所定の値以下(例えば5mm以下)であるか判定される。 In S606, the controller 300 determines whether the length in the transport direction of the label specified by the print data acquired in S501 is equal to the length calculated in S605. In step S606, the controller 300 does not determine whether the length is completely equal, but the length calculated in step S605 plus the value determined by the value that takes into account the margin, the length specified by the print data. Determine whether the length of the given label is included. For example, the controller 300 determines whether the length of the label specified in the print data is within ±5 mm of the label length calculated in S605. In other words, it is determined whether the difference between the length calculated in S605 and the length of the label in the transport direction specified by the print data is less than or equal to a predetermined value (for example, less than 5 mm).

印刷データで指定されたラベルの長さと、S605で算出された長さが等しいと判定された場合(S606がYES)、今回検出された印刷対象のラベルは、切断箇所をつなぎ合わせているテープなどが含まれていない正常なラベルと考えられる。このため、今回検出された印刷対象のラベルに印刷対象ページの画像が適切に印刷されたことになる。よって、S607に進み、コントローラ300は、残りのページがある場合は、印刷対象ページを次ページに変更する。そして、次に検出されるラベルに対して変更後の印刷対象ページの画像を印刷するためにS502~S503の印刷処理が行われる。 If it is determined that the length of the label specified in the print data and the length calculated in S605 are equal (YES in S606), the label to be printed that is detected this time is the tape that connects the cut points, etc. It is considered a normal label that does not contain. Therefore, the image of the page to be printed was appropriately printed on the label to be printed that was detected this time. Therefore, the process advances to step S607, and if there are remaining pages, the controller 300 changes the page to be printed to the next page. Then, the printing process of S502 to S503 is performed to print the image of the changed print target page on the next detected label.

一方、印刷データで指定されたラベルの長さと、S605で算出された長さが等しくないと判定された場合(S606がNO)、今回検出された印刷対象のラベルは、正常でないラベルと考えられる。例えば、切断箇所をつなぎ合わせているテープが含まれていると考えられる。このため、印刷対象ページの画像が印刷されていても成果物として用いることができない。よって、S608に進み、コントローラ300は、印刷対象ページの画像の印刷が途中であった場合には、記録ヘッド102~105にインクの吐出を停止させて、印刷対象のラベルへの印刷対象ページの画像の印刷処理を中断させる。なお、記録紙106の搬送は停止されずに続けられる。そしてS607とは異なり、S608では印刷対象ページを次ページに変更しない。また、印刷対象ページの画像が印刷済みであった場合にはS608では何もしない。 On the other hand, if it is determined that the length of the label specified in the print data and the length calculated in S605 are not equal (NO in S606), the label to be printed that is detected this time is considered to be an abnormal label. . For example, it may include tape that connects the cut points. Therefore, even if the image of the page to be printed is printed, it cannot be used as a product. Therefore, the process advances to S608, and if the image of the page to be printed is in the middle of being printed, the controller 300 causes the recording heads 102 to 105 to stop ejecting ink, and prints the page to be printed on the label to be printed. Interrupts the image printing process. Note that the conveyance of the recording paper 106 continues without being stopped. Unlike S607, the page to be printed is not changed to the next page in S608. Furthermore, if the image of the page to be printed has already been printed, nothing is done in S608.

そして、次のS502~S503では、次に検出されたラベルを印刷対象のラベルとし、再度、今回の印刷対象ページを印刷対象ページとして印刷処理が行われる。 Then, in the next steps S502 and S503, the next detected label is set as the label to be printed, and the printing process is performed again with the current page to be printed as the page to be printed.

図7は切断箇所におけるつなぎ合わせ方法がそれぞれ異なる状態における本実施形態の印刷処理の結果を説明するための図である。 FIG. 7 is a diagram for explaining the results of the printing process of this embodiment in a state where the joining methods at the cut points are different.

図7(a)は、2枚目のラベルと3枚目のラベルとの間のギャップ203にある切断箇所をギャップ203の幅より小さな幅のテープにてつなぎ合わせた記録紙106の例を示している。図4(b)で説明したように、ギャップ203の範囲内に切断箇所をつなぎ合わせたテープが含まれるため、ギャップ203内にラベルがあるかのように判定される領域ができている。 FIG. 7(a) shows an example of the recording paper 106 in which the cut points in the gap 203 between the second label and the third label are joined together with a tape having a width smaller than the width of the gap 203. ing. As described with reference to FIG. 4B, since the gap 203 includes the tape that connects the cut points, there is an area within the gap 203 where it is determined as if there is a label.

図6のフローチャートでは、端部検知センサ109によってラベルの先端が検出されてから吐出開始位置に到達するまではラベルの後端を検出しないフローとなっている。しかしながら、記録紙106によっては吐出開始位置に到達する前に、ラベルの後端を端部検知センサ109が検出する場合もある。図7(a)の記録紙106がその例である。吐出開始位置に到達する前に、ラベルの後端が端部検知センサ109を通過してラベルの後端が検出された場合、例えば、ラベルへの印刷を中止して搬送を継続させる。 In the flowchart of FIG. 6, the trailing end of the label is not detected from the time when the leading end of the label is detected by the end detection sensor 109 until the end of the label reaches the ejection start position. However, depending on the recording paper 106, the end detection sensor 109 may detect the rear end of the label before reaching the ejection start position. The recording paper 106 in FIG. 7(a) is an example. If the rear end of the label passes through the edge detection sensor 109 and is detected before reaching the discharge start position, for example, printing on the label is stopped and conveyance is continued.

具体的には、コントローラ300は、図7(a)に示すように2ページ目の「Sample Print 2」の画像を印刷した後、印刷対象ページを3ページ目に変更する(S607)。そして、次のS503では、3ページ目の画像「Sample Print 3」を印刷する処理を行う。コントローラ300は、位置701でラベルの先端を制御上検出して、ラベルの長さの測定を開始し(S601)、先に、位置702でラベルの後端を制御上検出する(S604)。そして、コントローラ300は、位置701から位置702までの長さと、印刷データで指定されたラベルの長さを比較して、長さが等しくいないと判定する(S606がNO)。このため、コントローラ300は3ページ目の画像の印刷をいったん中止させる。しかし、記録紙106の搬送は継続する(S608)。そして、印刷対象ページを3ページ目としたまま、S502に戻り、S502~S503において、次に検出されたラベルに対して再度、3ページ目の画像「Sample Print 3」の印刷処理を実行する。よって、次の先端が検出された位置703から吐出開始位置に到達したら「Sample Print 3」を印刷するためのインクの吐出が開始される。 Specifically, as shown in FIG. 7A, the controller 300 prints the image of the second page "Sample Print 2" and then changes the page to be printed to the third page (S607). Then, in the next step S503, a process of printing the third page image "Sample Print 3" is performed. The controller 300 starts measuring the length of the label by controllingly detecting the leading end of the label at position 701 (S601), and first, controllingly detecting the trailing end of the label at position 702 (S604). Then, the controller 300 compares the length from position 701 to position 702 and the length of the label specified in the print data, and determines that the lengths are not equal (S606 is NO). Therefore, the controller 300 temporarily stops printing the image on the third page. However, the conveyance of the recording paper 106 continues (S608). Then, the process returns to S502 with the third page as the print target page, and in S502 to S503, the printing process of the image "Sample Print 3" of the third page is executed again on the next detected label. Therefore, when the next leading edge reaches the ejection start position from the detected position 703, ejection of ink for printing "Sample Print 3" is started.

図7(b)は、2枚目のラベルと3枚目のラベルとの間のギャップにある切断箇所をギャップの幅より大きな幅のテープにてつなぎ合わせた例を示している。図4(c)を用いて説明したように、2枚目のラベルと3枚目のラベルが1枚のラベルかのように制御上検出される。 FIG. 7(b) shows an example in which the cut portions in the gap between the second label and the third label are joined together with a tape having a width larger than the width of the gap. As explained using FIG. 4(c), the second label and the third label are detected in the control as if they were one label.

コントローラ300は、図7(b)が示すように1ページ目の「Sample Print 1」の画像を印刷した後、印刷対象ページを2ページ目に変更する(S607)。そして、次のS503では、2ページ目の画像「Sample Print 2」を印刷する処理を行う。コントローラ300は、位置704でラベルの先端を制御上検出して、ラベルの長さの測定を開始し(S601)、その後、画像「Sample Print 2」の印刷が開始させる(S603)。そして、位置705でラベルの後端を制御上検出する(S604)。 As shown in FIG. 7B, the controller 300 prints the image of "Sample Print 1" on the first page, and then changes the page to be printed to the second page (S607). Then, in the next step S503, processing for printing the second page image "Sample Print 2" is performed. The controller 300 controllably detects the leading edge of the label at position 704, starts measuring the length of the label (S601), and then starts printing the image "Sample Print 2" (S603). Then, the trailing end of the label is detected at position 705 (S604).

コントローラ300は、位置704から位置705までの長さと、印刷データで指定されたラベルの長さを比較して、長さが等しくいないと判定する(S606がNO)。後端を検出した時点で印刷対象ページである2ページ目の画像「Sample Print 2」の印刷は終了している。しかし、図6(b)に示すように2ページ目の画像が印刷された2枚目のラベルにはテープが含まれるため成果物として使用できない。このため、印刷対象ページを2ページ目としたまま(S608)、S502に戻る。そして、次のS502~S503において、次に検出されたラベルに対して再度、2ページ目の画像「Sample Print 2」の印刷処理を実行する。よって、次の先端が検出された位置706から吐出開始位置に到達したら「Sample Print 2」の印刷をするためのインクの吐出が開始される。 The controller 300 compares the length from position 704 to position 705 with the length of the label specified in the print data, and determines that the lengths are not equal (S606 is NO). At the time when the trailing edge is detected, printing of the image "Sample Print 2" of the second page, which is the page to be printed, has been completed. However, as shown in FIG. 6(b), the second label on which the image of the second page is printed contains tape and cannot be used as a product. Therefore, the process returns to S502 while leaving the page to be printed as the second page (S608). Then, in the next steps S502 and S503, the printing process of the second page image "Sample Print 2" is executed again for the next detected label. Therefore, when the next leading edge reaches the ejection start position from the detected position 706, ejection of ink for printing "Sample Print 2" is started.

図7(c)は、ラベルを重ね合わせて切断箇所をつなぎ合わせた例を示す図である。図7(b)と同様に制御上は、2枚目のラベルと3枚目のラベルにかけて1枚の長いラベルがあるかのようにラベルが検出される。2ページ目の画像「Sample Print 2」は2枚目のラベルにのみいったん印刷される。S606では、2枚目のラベルの先端の位置707と、3枚目のラベルの後端の位置708との長さと、印刷データで指定されたラベルの長さとが比較されるため、長さが等しくいないと判定される(S606がNO)。よって、印刷対象ページを次ページに変更せず、図7(b)と同様に、次の先端が検出された位置709から吐出開始位置に到達したら「Sample Print 2」の印刷が実行される。 FIG. 7(c) is a diagram showing an example in which labels are overlapped and cut points are joined. Similarly to FIG. 7(b), in terms of control, labels are detected as if there were one long label spanning the second and third labels. The image "Sample Print 2" on the second page is once printed only on the second label. In S606, the lengths of the leading edge position 707 of the second label and the trailing edge position 708 of the third label are compared with the length of the label specified in the print data. It is determined that they are not equal (S606 is NO). Therefore, without changing the page to be printed to the next page, printing of "Sample Print 2" is executed when the ejection start position is reached from the position 709 where the next leading edge is detected, similarly to FIG. 7(b).

図7(d)は、2枚目のラベルが印刷データで指定されたラベルの長さよりも短くなるように、つなぎ合わされた記録紙106に対して印刷処理が行われた場合の印刷結果を説明するための図である。 FIG. 7(d) illustrates the printing result when printing processing is performed on the spliced recording paper 106 so that the second label is shorter than the length of the label specified in the print data. This is a diagram for

コントローラ300は、図7(d)が示すように1ページ目の「Sample Print 1」の画像を印刷した後、印刷対象ページを2ページ目に変更する(S607)。そして、次のS503では、2ページ目の画像「Sample Print 2」を印刷する処理を行う。コントローラ300は、位置710でラベルの先端を制御上検出して、ラベルの長さの測定を開始し(S601)、その後、画像「Sample Print 2」の印刷が開始される(S603)。そして、位置711でラベルの後端を制御上検出する(S604)。 As shown in FIG. 7D, the controller 300 prints the image of "Sample Print 1" on the first page, and then changes the page to be printed to the second page (S607). Then, in the next step S503, processing for printing the second page image "Sample Print 2" is performed. The controller 300 controllably detects the leading edge of the label at position 710 and starts measuring the length of the label (S601), and then starts printing the image "Sample Print 2" (S603). Then, the trailing end of the label is detected at position 711 (S604).

コントローラ300は、位置710から位置711までの長さと、印刷データで指定されたラベルの長さを比較して、長さが等しくいないと判定する(S606がNO)。後端(位置711)を検出した時点で印刷対象ページである2ページ目の画像「Sample Print 2」の印刷は終了していない。このため、コントローラ300は、2ページ目の画像の印刷は途中ではあるがインクの吐出を中断させる。しかし記録紙106の搬送は停止させない(S608)。そして、印刷対象ページを2ページ目としたまま、図5のS502に戻る。そして、次のS502~S503において、次に検出されたラベルに対して再度、2ページ目の画像「Sample Print 2」の印刷処理を実行する。 The controller 300 compares the length from position 710 to position 711 with the length of the label specified in the print data, and determines that the lengths are not equal (S606 is NO). At the time when the trailing edge (position 711) is detected, printing of the image "Sample Print 2" of the second page, which is the page to be printed, has not finished. Therefore, the controller 300 interrupts ink ejection even though printing of the second page image is in progress. However, the conveyance of the recording paper 106 is not stopped (S608). Then, the process returns to S502 in FIG. 5, leaving the page to be printed as the second page. Then, in the next steps S502 and S503, the printing process of the second page image "Sample Print 2" is executed again for the next detected label.

なお、ラベルのサイズによっては、ページの印刷処理を実施している最中に次のラベルの先端が検出されることもある。その場合、2ページ以上のページを印刷対象ページとして、複数ページの印刷処理が並行して実行されてもよい。 Note that depending on the size of the label, the leading edge of the next label may be detected while the page is being printed. In that case, printing processing for multiple pages may be executed in parallel, with two or more pages as pages to be printed.

以上説明したように本実施形態によれば、搬送された記録紙から検出されたラベルの長さが、印刷データで指定された長さと異なる場合でも、用紙サイズエラーして搬送を停止することなく印刷シーケンスを継続する。そして、搬送された記録紙から検出されたラベルの長さが、印刷データで指定された長さと異なる場合は、印刷対象ページを変更しない。このため、印刷指示を受けたページの一部が欠落することなく、成果物として利用可能な全てのページ分のラベルを出力することが可能となる。このように本実施形態では、搬送を中断せずかつページが欠落することなく、成果物として利用可能なラベルを出力することが可能となる。 As described above, according to this embodiment, even if the length of the label detected from the conveyed recording paper is different from the length specified in the print data, the conveyance will not be stopped due to a paper size error. Continue printing sequence. If the length of the label detected from the conveyed recording paper is different from the length specified in the print data, the page to be printed is not changed. Therefore, it is possible to output labels for all pages that can be used as a product without missing any part of the pages for which printing has been instructed. In this manner, in this embodiment, it is possible to output a label that can be used as a product without interrupting transportation and without missing pages.

なお、ホスト101から送信される印刷指示は、同一画像を複数枚(n枚)のラベルに印刷する印刷指示である場合がある。この場合の図6の処理について説明する。 Note that the print instruction sent from the host 101 may be a print instruction to print the same image on a plurality of (n) labels. The processing in FIG. 6 in this case will be explained.

S606において印刷データで指定されたラベルの長さと、検出されたラベルの長さが等しいと判定された場合は、S607に進む。S607においてコントローラ300は、今回の印刷がi枚目の印刷であった場合、印刷枚数をi+1にインクリメントする。そして、S504では現在の印刷枚数がn以下であるかが判定され、現在の印刷枚数がn以下の場合、次のS503ではi+1枚目の印刷を実行させる。S504で現在の印刷枚数がnより大きいと判定された場合は、印刷シーケンスは終了となる。 If it is determined in S606 that the length of the label specified in the print data is equal to the length of the detected label, the process advances to S607. In S607, if the current printing is the i-th printing, the controller 300 increments the number of printed sheets to i+1. Then, in S504, it is determined whether the current number of printed sheets is n or less, and if the current number of printed sheets is n or less, printing of the i+1th sheet is executed in the next S503. If it is determined in S504 that the current number of printed sheets is greater than n, the printing sequence ends.

一方、S606において印刷データで指定されたラベルの長さと、検出されたラベルの長さが等しくないと判定された場合はS608に進む。S608においてコントローラ300は、印刷枚数をインクリメントしない。そして、今回の印刷がi枚目の印刷であった場合、コントローラ300は、次のS503でもi枚目の印刷が行われるように制御する。 On the other hand, if it is determined in S606 that the length of the label specified in the print data and the length of the detected label are not equal, the process advances to S608. In S608, the controller 300 does not increment the number of printed sheets. If the current printing is the i-th printing, the controller 300 controls so that the i-th printing is performed in the next step S503 as well.

<実施形態2>
実施形態1では、端部検知センサの検知結果に基づき算出されたラベルの長さと、印刷データで指定されたラベルの長さが異なる場合でも、エラーとせずに、搬送を継続させ印刷処理を続ける方法を説明した。しかしながら、検出されたラベルの長さが印刷データで指定された長さと異なる場合、エラーとして検出され、以後の印刷動作すなわち搬送を停止するように制御されることを望むユーザも存在すると考えられる。例えば、テープによるつなぎ合わせがされていない連続用紙が記録装置100に給紙されたとする。この場合、検出されたラベルの長さが印刷データで指定された長さと異なるということは、何らかの異常が生じたことが考えられるため、記録紙の搬送を停止して印刷動作を停止させることが望まれる。
<Embodiment 2>
In the first embodiment, even if the length of the label calculated based on the detection result of the edge detection sensor is different from the length of the label specified in the print data, the conveyance is continued without an error, and the printing process continues. I explained the method. However, if the length of the detected label is different from the length specified in the print data, there may be users who wish to be controlled so that it is detected as an error and the subsequent printing operation, ie, transportation, is stopped. For example, assume that continuous paper that has not been joined with tape is fed to the recording apparatus 100. In this case, if the length of the detected label is different from the length specified in the print data, it is possible that some kind of abnormality has occurred, so it is recommended to stop conveyance of the recording paper and stop the printing operation. desired.

そこで本実施形態では、印刷継続モードを有効にするか無効にするかを切り替え可能に構成されている記録装置100について説明する。印刷継続モードは、検知したラベルの長さと印刷データで指定されたラベルの長さが異なる場合でも記録紙の搬送を止めないで印刷シーケンスを継続させるモードである。印刷継続モードの切り替えは、例えば、ユーザの指示によって切り替えられる。本実施形態では、印刷継続モードを無効に切り替えることにより、検出されたラベルの長さが印刷データで指定された長さと異なる場合に、エラーとして記録紙の搬送を停止できるようにする。本実施形態については、実施形態1からの差分を中心に説明する。特に明記しない部分については実施形態1と同じ構成および処理である。 Therefore, in this embodiment, a recording apparatus 100 that is configured to be able to switch between enabling and disabling the print continuation mode will be described. The print continuation mode is a mode in which the print sequence is continued without stopping the conveyance of the recording paper even if the detected label length differs from the label length specified in the print data. The printing continuation mode is switched by, for example, a user's instruction. In this embodiment, by disabling the print continuation mode, if the length of the detected label is different from the length specified in the print data, it is possible to stop conveyance of the recording paper as an error. This embodiment will be described with a focus on the differences from the first embodiment. Unless otherwise specified, the configuration and processing are the same as those in the first embodiment.

図8は本実施形態における印刷対象ページの印刷処理を説明するためのフローチャートである。図8を用いて本実施形態におけるS503の処理の詳細を説明する。 FIG. 8 is a flowchart for explaining the printing process of the page to be printed in this embodiment. The details of the process of S503 in this embodiment will be explained using FIG. 8.

S801~S807は、S601~S607と同様である。 S801 to S807 are similar to S601 to S607.

S806においてコントローラ300が、印刷データで指定されたラベルの長さと、S805で算出された長さが等しくないと判定した場合、処理はS808へ進む。 If the controller 300 determines in S806 that the length of the label specified in the print data and the length calculated in S805 are not equal, the process advances to S808.

S808においてコントローラ300は、前述した印刷継続モードが無効に設定されているかを判定する。例えば、ユーザが、印刷継続モードを「OFF」に設定した場合、印刷継続モードは無効と判定される。印刷継続モードが無効と判定された場合(S808がYES)、S809に処理を進める。S809においてコントローラ300は、用紙サイズのエラーを発生させる。そして、S810においてコントローラ300は、搬送機構に記録紙106の搬送を停止させて、印刷シーケンスを中断させる。その後、エラーが解消した場合、コントローラ300は、搬送機構に記録紙106の搬送を再開させて印刷シーケンスを再開させる。 In S808, the controller 300 determines whether the above-described print continuation mode is set to be disabled. For example, if the user sets the print continuation mode to "OFF," the print continuation mode is determined to be invalid. If it is determined that the print continuation mode is invalid (S808 is YES), the process advances to S809. In S809, the controller 300 generates a paper size error. Then, in S810, the controller 300 causes the transport mechanism to stop transporting the recording paper 106 and interrupts the printing sequence. Thereafter, if the error is resolved, the controller 300 causes the transport mechanism to resume transporting the recording paper 106 and restart the printing sequence.

一方、印刷継続モードが有効と判定された場合(S808がNO)、S811へ進む。S811は図6のS608と同じ処理である。即ち、印刷シーケンスは継続し、現在の印刷対象ページを次に検出されたラベルに印刷するための処理が行われる。 On the other hand, if it is determined that the print continuation mode is valid (NO in S808), the process advances to S811. S811 is the same process as S608 in FIG. That is, the printing sequence continues, and processing is performed to print the current page to be printed on the next detected label.

以上説明したように本実施形態では、モードを選択することで、用紙サイズエラーを発生させるか否かを切り替えることが可能である。また本実施形態でも、モードを有効にすることで、用紙サイズエラーとして搬送機構に記録紙106の搬送を停止させることなく、印刷シーケンスを継続することができる。 As described above, in this embodiment, by selecting a mode, it is possible to switch whether or not to generate a paper size error. Also in this embodiment, by enabling the mode, the printing sequence can be continued without causing the transport mechanism to stop transporting the recording paper 106 due to a paper size error.

なお、記録紙を交換した後、印刷データに含まれる記録紙の情報を変更する処理をユーザが忘れた場合、検出されたラベルの長さが印刷データで指定された長さと異なると判定されてしまうと考えられる。このように印刷データに含まれるラベルの情報が間違っていた場合は、エラーを発生させることが望ましい。このため、記録紙を交換した後に検出された1枚目のラベルについては、印刷継続モードが有効であっても、印刷データで指定された長さと異なると判定された場合にはエラーとして処理されてもよい。例えば、S808でNOと判定された場合、コントローラ300は、現在の印刷処理が記録紙を交換した後の最初のラベルへの印刷処理であるかを判定する。そして、最初のラベルへの印刷処理と判定された場合は、S809へ遷移しエラーを発生させてもよい。また、最初のラベルへの印刷と判定されなかった場合は、S811へ遷移するように図8のフローチャートの処理が行われればよい。 Note that if the user forgets to change the chart paper information included in the print data after replacing the chart paper, the length of the detected label may be determined to be different from the length specified in the print data. It is thought that it will be put away. If the label information included in the print data is incorrect in this way, it is desirable to generate an error. Therefore, even if continuous printing mode is enabled for the first label detected after replacing the recording paper, if it is determined that the length is different from the length specified in the print data, it will be treated as an error. You can. For example, if the determination in S808 is NO, the controller 300 determines whether the current printing process is printing on the first label after replacing the recording paper. If it is determined that printing is to be performed on the first label, the process may proceed to S809 and generate an error. Further, if it is not determined that printing is to be performed on the first label, the process in the flowchart of FIG. 8 may be performed to transition to S811.

また、図8のフローチャートでは、印刷データで指定されたラベルの長さと、検出されたラベルの長さが異なると連続して判定されても、以後の処理は変わらないものとして説明した。複数のラベルに対して連続して、印刷データで指定されたラベルの長さと検出されたラベルの長さが等しくないと、判定されるケースとして、記録紙106が適切に搬送されていないケースが想定される。このため、印刷データで指定されたラベルの長さと、検出されたラベルの長さが異なると判定された回数によって以後の処理を切り替えてもよい。例えば、S806でNOと判定された場合、コントローラ300は、図5の印刷シーケンスが開始されてからS806でNOと判定された回数が所定数を超えたかを判定する。そしてS806でNOと判定された回数が所定数を超えた場合は、印刷継続モードが無効であっても、S809へ遷移しエラーを発生させてもよい。 Furthermore, in the flowchart of FIG. 8, the description has been made assuming that the subsequent processing does not change even if it is successively determined that the length of the label specified in the print data and the length of the detected label are different. An example of a case where it is determined that the length of the label specified in the print data and the length of the detected label are not equal to each other for a plurality of labels in succession is a case where the recording paper 106 is not conveyed appropriately. is assumed. Therefore, subsequent processing may be switched depending on the number of times it is determined that the length of the label specified in the print data and the length of the detected label are different. For example, if the determination in S806 is NO, the controller 300 determines whether the number of times the determination in S806 has been NO exceeds a predetermined number since the print sequence in FIG. 5 was started. If the number of times the determination in S806 is NO exceeds a predetermined number, the process may proceed to S809 and generate an error even if the print continuation mode is invalid.

また、検出されたラベルの長さの上限を設け、上限を超えた場合は、印刷継続モードが有効であっても、S809へ遷移しエラーを発生させてもよい。 Further, an upper limit may be set for the length of the detected label, and if the upper limit is exceeded, the process may proceed to step S809 and an error may occur even if the print continuation mode is enabled.

<その他の実施形態>
上述した実施形態は、記録ヘッドがインクを吐出して画像を形成するインクジェット方式の記録装置について説明したが、本開示の技術が適用可能な記録装置は、インクジェット方式の記録装置に限られない。他にも、例えば、サーマルヘッドによりインクリボンのインクを転写して画像を形成する熱転写方式の記録装置についても、本開示の技術を適用可能である。
<Other embodiments>
In the embodiments described above, an inkjet recording device in which a recording head ejects ink to form an image has been described, but a recording device to which the technology of the present disclosure can be applied is not limited to an inkjet recording device. In addition, the technology of the present disclosure can also be applied to, for example, a thermal transfer recording device that forms an image by transferring ink from an ink ribbon using a thermal head.

本開示は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。 The present disclosure provides a system or device with a program that implements one or more functions of the embodiments described above via a network or a storage medium, and one or more processors in a computer of the system or device reads and executes the program. This can also be achieved by processing. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

<その他>
上述した実施形態の開示は、以下の構成を含む。
<Others>
The disclosure of the embodiments described above includes the following configurations.

(構成1)
複数のラベルが所定の間隔を空けて配置された記録媒体を、搬送方向に搬送する搬送手段と、
前記記録媒体に配置されたラベルを検出するためのセンサと、
前記センサに基づき検出されたラベルに画像を印刷する印刷手段と、
前記記録媒体に配置されたラベルへ画像を印刷するための制御をする制御手段と、を有する記録装置であって、
前記制御手段は、
前記記録媒体に配置されたラベルの前記搬送方向における予め決められた長さの情報を取得し、
前記センサに基づき検出された第1のラベルの前記搬送方向の長さを、前記センサの出力に基づき算出し、
前記算出された長さと前記取得された情報が示すラベルの前記搬送方向の長さとを比較した結果に応じて、前記第1のラベルの次に前記センサに基づき検出される第2のラベルへは、前記第1のラベルに対する印刷対象の画像の印刷が行われるように制御する
ことを特徴とする記録装置。
(Configuration 1)
a conveyance means for conveying a recording medium in which a plurality of labels are arranged at predetermined intervals in a conveyance direction;
a sensor for detecting a label placed on the recording medium;
printing means for printing an image on the label detected based on the sensor;
A recording device comprising: a control means for controlling printing of an image on a label placed on the recording medium,
The control means includes:
obtaining information on a predetermined length of a label placed on the recording medium in the transport direction;
Calculating the length of the first label in the transport direction detected by the sensor based on the output of the sensor,
According to the result of comparing the calculated length and the length of the label indicated by the acquired information in the conveying direction, the second label detected based on the sensor after the first label is . A recording apparatus, comprising: controlling an image to be printed on the first label to be printed.

(構成2)
前記制御手段は、
前記算出された長さと前記取得された情報が示すラベルの前記搬送方向の長さとを比較した結果に基づき、前記センサに基づき検出された前記第1のラベルが正常であるかを決定し、
前記第1のラベルが正常でないと決定した場合、前記第1のラベルの次に前記センサに基づき検出される第2のラベルへは、前記第1のラベルに対する印刷対象の画像の印刷が行われるように制御する
ことを特徴とする構成1に記載の記録装置。
(Configuration 2)
The control means includes:
Based on the result of comparing the calculated length and the length of the label in the transport direction indicated by the acquired information, it is determined whether the first label detected based on the sensor is normal;
If it is determined that the first label is not normal, an image to be printed on the first label is printed on a second label that is detected next to the first label based on the sensor. The recording device according to configuration 1, wherein the recording device is controlled as follows.

(構成3)
前記制御手段は、
前記算出された長さと、前記取得された情報が示す前記印刷対象のラベルの前記搬送方向の長さと、の差が所定の値以下である場合、前記センサに基づき検出された前記第1のラベルは正常と決定し
前記算出された長さと、前記取得された情報が示す前記印刷対象のラベルの前記搬送方向の長さと、の差が所定の値より大きい場合、前記センサに基づき検出された前記第1のラベルは正常でないと決定する
ことを特徴とする構成2に記載の記録装置。
(Configuration 3)
The control means includes:
If the difference between the calculated length and the length of the label to be printed in the transport direction indicated by the acquired information is less than or equal to a predetermined value, the first label detected based on the sensor is determined to be normal, and if the difference between the calculated length and the length of the label to be printed in the transport direction indicated by the acquired information is larger than a predetermined value, the length detected based on the sensor is determined to be normal. The recording device according to configuration 2, wherein the first label is determined to be abnormal.

(構成4)
前記制御手段は、
前記センサに基づき検出された前記第1のラベルが正常であると決定した場合、次に前記センサに基づき検出される前記第2のラベルへ印刷は、前記第1のラベルへ印刷した画像の次のページの画像の印刷が行われるように制御する
ことを特徴とする構成2または3に記載の記録装置。
(Configuration 4)
The control means includes:
If it is determined that the first label detected based on the sensor is normal, printing on the second label detected based on the sensor is performed after the image printed on the first label. 4. The recording device according to configuration 2 or 3, wherein the recording device is controlled so that the image of the page is printed.

(構成5)
前記制御手段は、
前記センサに基づき検出された前記第1のラベルが正常でないと決定した場合、印刷対象ページを変更しないで、次に前記センサに基づき検出される前記第2のラベルへの印刷が行われるように制御する
ことを特徴とする構成2または3に記載の記録装置。
(Configuration 5)
The control means includes:
If it is determined that the first label detected based on the sensor is not normal, then printing is performed on the second label detected based on the sensor without changing the page to be printed. The recording device according to configuration 2 or 3, characterized in that:

(構成6)
同一の画像を、前記記録媒体に配置された所定の枚数のラベルに印刷する場合、
前記制御手段は、前記センサに基づき検出された前記第1のラベルが正常でないと決定した場合、前記第1のラベルへの印刷は印刷枚数としてカウントしない
ことを特徴とする構成2に記載の記録装置。
(Configuration 6)
When printing the same image on a predetermined number of labels arranged on the recording medium,
The recording according to configuration 2, wherein when the control means determines that the first label detected by the sensor is not normal, printing on the first label is not counted as the number of prints. Device.

(構成7)
前記センサに基づき検出された前記第1のラベルが正常でないと決定した場合であって、かつ、前記印刷手段が前記第1のラベルに対して印刷している場合、前記搬送手段は前記記録媒体の搬送を停止しないで、前記印刷手段は行っている印刷を停止する
ことを特徴とする構成2から6の何れか1項に記載の記録装置。
(Configuration 7)
If it is determined that the first label detected based on the sensor is not normal, and if the printing means is printing on the first label, the conveyance means 7. The recording apparatus according to any one of configurations 2 to 6, wherein the printing means stops printing without stopping the conveyance of the image.

(構成8)
前記センサに基づき検出された前記第1のラベルが正常でないと決定した場合であって、かつ、前記印刷手段が前記第1のラベルに対して印刷する前である場合、
前記搬送手段は、前記記録媒体の搬送を停止しないで、前記印刷手段は、前記第1のラベルへの印刷は行わない
ことを特徴とする構成2から7の何れか1項に記載の記録装置。
(Configuration 8)
If it is determined that the first label detected based on the sensor is not normal, and the printing means has not yet printed on the first label,
8. The recording device according to any one of configurations 2 to 7, wherein the conveying means does not stop conveying the recording medium, and the printing means does not print on the first label. .

(構成9)
前記記録装置は、所定のモードを有効にするか無効にするかを切り替え可能に構成されており、
前記制御手段は、
前記所定のモードが有効である場合は、前記センサに基づき検出された前記第1のラベルが正常でないと決定した場合であっても、前記搬送手段に前記記録媒体の搬送を停止させない
ことを特徴とする構成2から8の何れか1項に記載の記録装置。
(Configuration 9)
The recording device is configured to be able to switch between enabling and disabling a predetermined mode,
The control means includes:
When the predetermined mode is enabled, the transport means does not stop transporting the recording medium even if it is determined that the first label detected by the sensor is not normal. 9. The recording device according to any one of configurations 2 to 8.

(構成10)
前記制御手段は、
前記所定のモードが無効である場合で、かつ、前記センサに基づき検出された前記第1のラベルが正常でないと決定した場合、エラーとして前記搬送手段に前記記録媒体の搬送を停止させる
ことを特徴とする構成9に記載の記録装置。
(Configuration 10)
The control means includes:
If the predetermined mode is invalid and it is determined that the first label detected by the sensor is not normal, the transport means is caused to stop transporting the recording medium as an error. The recording device according to configuration 9.

(構成11)
前記制御手段は、
前記所定のモードが有効である場合であっても、前記記録媒体が給紙された後、最初に前記センサに基づき検出されたラベルが正常でないと決定した場合は、エラーとして前記搬送手段に前記記録媒体の搬送を停止させる
ことを特徴とする構成9または10に記載の記録装置。
(Configuration 11)
The control means includes:
Even if the predetermined mode is valid, if it is determined that the first label detected by the sensor after the recording medium is fed is not normal, the transport means will receive the label as an error. 11. The recording apparatus according to configuration 9 or 10, characterized in that conveyance of the recording medium is stopped.

(構成12)
前記制御手段は、
前記記録媒体のラベルの先端および後端を前記センサの出力に基づき検出し、前記先端および前記後端の距離を算出することで、前記センサに基づき検出されたラベルの前記搬送方向の長さを算出する
ことを特徴とする構成1から11の何れか1項に記載の記録装置。
(Configuration 12)
The control means includes:
By detecting the leading edge and trailing edge of the label of the recording medium based on the output of the sensor and calculating the distance between the leading edge and the trailing edge, the length of the label detected by the sensor in the conveying direction is calculated. 12. The recording device according to any one of configurations 1 to 11, characterized in that the recording device calculates the following:

(構成13)
前記記録媒体は、接続部材でつなぎ合わされた箇所を含む
ことを特徴とする構成1から12のいずれか1項に記載の記録装置。
(Configuration 13)
13. The recording device according to any one of configurations 1 to 12, wherein the recording medium includes a portion connected by a connecting member.

(構成14)
複数のラベルが所定の間隔を空けて配置された記録媒体を、搬送方向に搬送する搬送手段と、
前記記録媒体に配置されたラベルを検出するためのセンサと、
前記センサに基づき検出されたラベルに画像を印刷する印刷手段と、を有する記録装置の制御方法であって、
前記記録媒体に配置されたラベルの前記搬送方向における予め決められた長さの情報を取得する工程と、
前記センサに基づき検出された第1のラベルの前記搬送方向の長さを、前記センサの出力に基づき算出する工程と、
前記算出された長さと前記取得された情報が示すラベルの前記搬送方向の長さとを比較した結果に応じて、前記第1のラベルの次に前記センサに基づき検出される第2のラベルへは、
前記第1のラベルに対する印刷対象の画像の印刷が行われるように制御する工程と、
を含むことを特徴とする制御方法。
(Configuration 14)
a conveyance means for conveying a recording medium in which a plurality of labels are arranged at predetermined intervals in a conveyance direction;
a sensor for detecting a label placed on the recording medium;
A method for controlling a recording device, comprising: printing means for printing an image on a label detected based on the sensor,
acquiring information on a predetermined length in the transport direction of a label placed on the recording medium;
calculating the length of the first label in the transport direction detected by the sensor based on the output of the sensor;
According to the result of comparing the calculated length and the length of the label in the transport direction indicated by the acquired information, a second label detected based on the sensor after the first label is ,
controlling so that the image to be printed is printed on the first label;
A control method characterized by comprising:

(構成15)
コンピュータに、構成14に記載の制御方法の各工程を実行させるためのプログラム。
(Configuration 15)
A program for causing a computer to execute each step of the control method according to configuration 14.

100 記録装置
106 記録紙
108 搬送ベルト
109 端部検知センサ
300 コントローラ
100 Recording device 106 Recording paper 108 Conveyor belt 109 End detection sensor 300 Controller

Claims (15)

複数のラベルが所定の間隔を空けて配置された記録媒体を、搬送方向に搬送する搬送手段と、
前記記録媒体に配置されたラベルを検出するためのセンサと、
前記センサに基づき検出されたラベルに画像を印刷する印刷手段と、
前記記録媒体に配置されたラベルへ画像を印刷するための制御をする制御手段と、を有する記録装置であって、
前記制御手段は、
前記記録媒体に配置されたラベルの前記搬送方向における予め決められた長さの情報を取得し、
前記センサに基づき検出された第1のラベルの前記搬送方向の長さを、前記センサの出力に基づき算出し、
前記算出された長さと前記取得された情報が示すラベルの前記搬送方向の長さとを比較した結果に応じて、前記第1のラベルの次に前記センサに基づき検出される第2のラベルへは、前記第1のラベルに対する印刷対象の画像の印刷が行われるように制御する
ことを特徴とする記録装置。
a conveyance means for conveying a recording medium in which a plurality of labels are arranged at predetermined intervals in a conveyance direction;
a sensor for detecting a label placed on the recording medium;
printing means for printing an image on the label detected based on the sensor;
A recording device comprising: a control means for controlling printing of an image on a label placed on the recording medium,
The control means includes:
obtaining information on a predetermined length of a label placed on the recording medium in the transport direction;
Calculating the length of the first label in the transport direction detected by the sensor based on the output of the sensor,
According to the result of comparing the calculated length and the length of the label in the transport direction indicated by the acquired information, a second label detected based on the sensor after the first label is . A recording apparatus, comprising: controlling an image to be printed on the first label to be printed.
前記制御手段は、
前記算出された長さと前記取得された情報が示すラベルの前記搬送方向の長さとを比較した結果に基づき、前記センサに基づき検出された前記第1のラベルが正常であるかを決定し、前記第1のラベルが正常でないと決定した場合、前記第1のラベルの次に前記センサに基づき検出される第2のラベルへは、前記第1のラベルに対する印刷対象の画像の印刷が行われるように制御する
ことを特徴とする請求項1に記載の記録装置。
The control means includes:
Based on the result of comparing the calculated length and the length of the label in the transport direction indicated by the acquired information, it is determined whether the first label detected based on the sensor is normal; If it is determined that the first label is not normal, the image to be printed on the first label is printed on a second label detected based on the sensor after the first label. The recording device according to claim 1, wherein the recording device is controlled to.
前記制御手段は、
前記算出された長さと、前記取得された情報が示す前記印刷対象のラベルの前記搬送方向の長さと、の差が所定の値以下である場合、前記センサに基づき検出された前記第1のラベルは正常と決定し
前記算出された長さと、前記取得された情報が示す前記印刷対象のラベルの前記搬送方向の長さと、の差が所定の値より大きい場合、前記センサに基づき検出された前記第1のラベルは正常でないと決定する
ことを特徴とする請求項2に記載の記録装置。
The control means includes:
If the difference between the calculated length and the length of the label to be printed in the transport direction indicated by the acquired information is less than or equal to a predetermined value, the first label detected based on the sensor is determined to be normal, and if the difference between the calculated length and the length of the label to be printed in the transport direction indicated by the acquired information is larger than a predetermined value, the length detected based on the sensor is determined to be normal. The recording device according to claim 2, wherein the first label is determined to be abnormal.
前記制御手段は、
前記センサに基づき検出された前記第1のラベルが正常であると決定した場合、次に前記センサに基づき検出される前記第2のラベルへ印刷は、前記第1のラベルへ印刷した画像の次のページの画像の印刷が行われるように制御する
ことを特徴とする請求項2に記載の記録装置。
The control means includes:
If it is determined that the first label detected based on the sensor is normal, printing on the second label detected based on the sensor is performed after the image printed on the first label. 3. The recording apparatus according to claim 2, wherein the recording apparatus controls printing of the image of the page.
前記制御手段は、
前記センサに基づき検出された前記第1のラベルが正常でないと決定した場合、印刷対象ページを変更しないで、次に前記センサに基づき検出される前記第2のラベルへの印刷が行われるように制御する
ことを特徴とする請求項2に記載の記録装置。
The control means includes:
If it is determined that the first label detected based on the sensor is not normal, then printing is performed on the second label detected based on the sensor without changing the page to be printed. The recording device according to claim 2, wherein the recording device is configured to control.
同一の画像を、前記記録媒体に配置された所定の枚数のラベルに印刷する場合、
前記制御手段は、前記センサに基づき検出された前記第1のラベルが正常でないと決定した場合、前記第1のラベルへの印刷は印刷枚数としてカウントしない
ことを特徴とする請求項2に記載の記録装置。
When printing the same image on a predetermined number of labels arranged on the recording medium,
3. The control means does not count printing on the first label as the number of prints if it is determined that the first label detected based on the sensor is not normal. Recording device.
前記センサに基づき検出された前記第1のラベルが正常でないと決定した場合であって、かつ、前記印刷手段が前記第1のラベルに対して印刷している場合、前記搬送手段は前記記録媒体の搬送を停止しないで、前記印刷手段は行っている印刷を停止する
ことを特徴とする請求項2に記載の記録装置。
If it is determined that the first label detected based on the sensor is not normal, and if the printing means is printing on the first label, the conveyance means 3. The recording apparatus according to claim 2, wherein the printing means stops printing without stopping the conveyance of the image.
前記センサに基づき検出された前記第1のラベルが正常でないと決定した場合であって、かつ、前記印刷手段が前記第1のラベルに対して印刷する前である場合、前記搬送手段は、前記記録媒体の搬送を停止しないで、前記印刷手段は、前記第1のラベルへの印刷は行わない
ことを特徴とする請求項2に記載の記録装置。
If it is determined that the first label detected based on the sensor is not normal and the printing means has not yet printed on the first label, the conveying means The recording apparatus according to claim 2, wherein the printing unit does not print on the first label without stopping conveyance of the recording medium.
前記記録装置は、所定のモードを有効にするか無効にするかを切り替え可能に構成されており、
前記制御手段は、
前記所定のモードが有効である場合は、前記センサに基づき検出された前記第1のラベルが正常でないと決定した場合であっても、前記搬送手段に前記記録媒体の搬送を停止させない
ことを特徴とする請求項2に記載の記録装置。
The recording device is configured to be able to switch between enabling and disabling a predetermined mode,
The control means includes:
When the predetermined mode is valid, the transport means does not stop transporting the recording medium even if it is determined that the first label detected by the sensor is not normal. 3. The recording device according to claim 2.
前記制御手段は、
前記所定のモードが無効である場合で、かつ、前記センサに基づき検出された前記第1のラベルが正常でないと決定した場合、エラーとして前記搬送手段に前記記録媒体の搬送を停止させる
ことを特徴とする請求項9に記載の記録装置。
The control means includes:
If the predetermined mode is invalid and it is determined that the first label detected by the sensor is not normal, the transport means is caused to stop transporting the recording medium as an error. The recording device according to claim 9.
前記制御手段は、
前記所定のモードが有効である場合であっても、前記記録媒体が給紙された後、最初に前記センサに基づき検出されたラベルが正常でないと決定した場合は、エラーとして前記搬送手段に前記記録媒体の搬送を停止させる
ことを特徴とする請求項9に記載の記録装置。
The control means includes:
Even if the predetermined mode is valid, if it is determined that the first label detected by the sensor after the recording medium is fed is not normal, the transport means will receive the label as an error. The recording apparatus according to claim 9, characterized in that conveyance of the recording medium is stopped.
前記制御手段は、
前記記録媒体のラベルの先端および後端を前記センサの出力に基づき検出し、前記先端および前記後端の距離を算出することで、前記センサに基づき検出されたラベルの前記搬送方向の長さを算出する
ことを特徴とする請求項1に記載の記録装置。
The control means includes:
By detecting the leading edge and trailing edge of the label of the recording medium based on the output of the sensor and calculating the distance between the leading edge and the trailing edge, the length of the label detected by the sensor in the conveying direction is calculated. The recording device according to claim 1, wherein the recording device calculates.
前記記録媒体は、接続部材でつなぎ合わされた箇所を含む
ことを特徴とする請求項1から12のいずれか1項に記載の記録装置。
The recording device according to any one of claims 1 to 12, wherein the recording medium includes a portion connected by a connecting member.
複数のラベルが所定の間隔を空けて配置された記録媒体を、搬送方向に搬送する搬送手段と、
前記記録媒体に配置されたラベルを検出するためのセンサと、
前記センサに基づき検出されたラベルに画像を印刷する印刷手段と、を有する記録装置の制御方法であって、
前記記録媒体に配置されたラベルの前記搬送方向における予め決められた長さの情報を取得する工程と、
前記センサに基づき検出された第1のラベルの前記搬送方向の長さを、前記センサの出力に基づき算出する工程と、
前記算出された長さと前記取得された情報が示すラベルの前記搬送方向の長さとを比較した結果に応じて、前記第1のラベルの次に前記センサに基づき検出される第2のラベルへは、前記第1のラベルに対する印刷対象の画像の印刷が行われるように制御する工程と、
を含むことを特徴とする制御方法。
a conveyance means for conveying a recording medium in which a plurality of labels are arranged at predetermined intervals in a conveyance direction;
a sensor for detecting a label placed on the recording medium;
A method for controlling a recording device, comprising: printing means for printing an image on a label detected based on the sensor,
acquiring information on a predetermined length in the transport direction of a label placed on the recording medium;
calculating the length of the first label in the transport direction detected by the sensor based on the output of the sensor;
According to the result of comparing the calculated length and the length of the label indicated by the acquired information in the conveying direction, the second label detected based on the sensor after the first label is , controlling so that the image to be printed is printed on the first label;
A control method characterized by comprising:
コンピュータに、請求項14に記載の制御方法の各工程を実行させるためのプログラム。 A program for causing a computer to execute each step of the control method according to claim 14.
JP2022113885A 2022-07-15 2022-07-15 Recording device, control method and program Pending JP2024011675A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022113885A JP2024011675A (en) 2022-07-15 2022-07-15 Recording device, control method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022113885A JP2024011675A (en) 2022-07-15 2022-07-15 Recording device, control method and program

Publications (1)

Publication Number Publication Date
JP2024011675A true JP2024011675A (en) 2024-01-25

Family

ID=89621671

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022113885A Pending JP2024011675A (en) 2022-07-15 2022-07-15 Recording device, control method and program

Country Status (1)

Country Link
JP (1) JP2024011675A (en)

Similar Documents

Publication Publication Date Title
EP2361778B1 (en) Print control method and print apparatus
US8955959B2 (en) Print apparatus
EP2397338B1 (en) Image forming apparatus
US8967890B2 (en) Continuous sheet recording apparatus and method of controlling sorter in response to conveyance failure
US8767267B2 (en) Print method and print apparatus
JP6045221B2 (en) Printing method and printing apparatus
US6592198B2 (en) Recording apparatus with control of a recording medium conveying mechanism
JP2008012815A (en) Conveyance control apparatus, recording apparatus equipped with the apparatus, and conveyance control method
JP5917073B2 (en) Printing apparatus and printing control method
JP2023064223A (en) image forming device
JP2024011675A (en) Recording device, control method and program
EP1785281B1 (en) Image forming system, printing apparatus for the system, and image forming method
JP7328782B2 (en) Recording device and control method
JP4733575B2 (en) Inkjet recording device
JP2015009388A (en) Recording device and recording method
JP2005238556A (en) Image forming apparatus, and image formation control program
JP2023048316A (en) image forming device
JP4688187B2 (en) Image forming apparatus
JP2016055571A (en) Inkjet printing method and inkjet printing apparatus
US20240326474A1 (en) Recording system and post-processing device
JP6615278B2 (en) Printing device
JP3007094B2 (en) Recording device
JP4616518B2 (en) Recording device
JP2002178576A (en) Recording apparatus
JP2020069663A (en) Image formation apparatus