JP2016043993A - Printer, control method and program - Google Patents
Printer, control method and program Download PDFInfo
- Publication number
- JP2016043993A JP2016043993A JP2014166706A JP2014166706A JP2016043993A JP 2016043993 A JP2016043993 A JP 2016043993A JP 2014166706 A JP2014166706 A JP 2014166706A JP 2014166706 A JP2014166706 A JP 2014166706A JP 2016043993 A JP2016043993 A JP 2016043993A
- Authority
- JP
- Japan
- Prior art keywords
- detector
- label
- print medium
- printing
- sensor
- 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
- Controlling Sheets Or Webs (AREA)
- Handling Of Sheets (AREA)
- Handling Of Continuous Sheets Of Paper (AREA)
Abstract
Description
本発明は、ラベル用紙に印刷を行う印刷装置等に関し、特に、印刷位置の前後に設けられる複数の検出センサーを切り替えて用いる場合に、適切な制御を行うことのできる印刷装置等に関する。 The present invention relates to a printing apparatus that performs printing on label paper, and more particularly, to a printing apparatus that can perform appropriate control when a plurality of detection sensors provided before and after a printing position are switched.
従来、長尺状の台紙にラベルが一定間隔で貼り付けられている構成のラベル用紙に対して印刷処理を行うラベルプリンターが用いられる。当該プリンターは、ラベルを印刷位置まで搬送して印刷を行い、その後、ピーラー機構でラベルを台紙から剥離し、ラベル発行口から作成したラベルを発行するように構成される。 2. Description of the Related Art Conventionally, a label printer that performs a printing process on a label sheet having a configuration in which labels are attached to a long mount at regular intervals is used. The printer is configured to perform printing by transporting the label to a printing position, and thereafter, the label is peeled off from the mount by a peeler mechanism, and the label created from the label issuing port is issued.
また、ラベル用紙の搬送路には、印刷位置の上流側と下流側にそれぞれ検出センサーが設けられ、これらセンサーの検出値が上記印刷処理の制御に用いられる。上流側のセンサーは、搬送されるラベルの特定位置を検出し、印刷位置への位置合わせ制御(頭出し制御)に用いられる。また、下流側センサーは、ラベルが正しく剥離されたか、また、剥離後のラベルがユーザーによって取り外されたかを検知するために用いられる。 Further, detection sensors are provided on the upstream side and the downstream side of the printing position in the conveyance path of the label paper, and the detection values of these sensors are used for controlling the printing process. The upstream sensor detects a specific position of the conveyed label, and is used for alignment control (cueing control) to the printing position. The downstream sensor is used to detect whether the label has been correctly peeled off and whether the label after peeling has been removed by the user.
関連する技術として、下記特許文献1では、印刷位置の下流側に設けられた2つのセンサーで、印字済みのラベルが張り付いたままの台紙が引き起こす紙ジャムを検出する技術が開示されている。
As a related technique,
上述した、印刷位置の上流側と下流側にそれぞれ検出センサーを備えるラベルプリンターでは、装置の合理化等の理由により、それら2つのセンサーの電源装置を共有にし、当該2つのセンサーを切り替えて使用しようとした場合、ラベル用紙搬送中に行うべき上流側センサーによる検出と下流側センサーによる検出がタイミング的に重なってしまうこともあり、装置レイアウトや制御タイミングにおいて工夫が必要である。 In the above-described label printer provided with detection sensors on the upstream side and the downstream side of the printing position, for the reason of rationalization of the device, the power supply device of these two sensors is shared, and the two sensors are switched and used. In this case, the detection by the upstream sensor and the detection by the downstream sensor that should be performed during the conveyance of the label paper may overlap in timing, and some device layout and control timing is required.
なお、上記特許文献1には、当該課題に対する解決策は示されていない。
In addition, the said
そこで、本発明の目的は、ラベル用紙に印刷を行う印刷装置であって、印刷位置の前後に設けられる2つの検出センサーを切り替えて用いる場合に、適切な制御、特に紙ジャム(紙づまり)の適切な検出を行うことのできる印刷装置、等を提供することである。 Therefore, an object of the present invention is a printing apparatus that prints on label paper, and when two detection sensors provided before and after the printing position are switched and used, appropriate control, particularly paper jam (paper jam) is detected. It is to provide a printing apparatus capable of performing appropriate detection.
上記の目的を達成するために、本発明の一つの側面は、印刷装置が、印刷媒体の搬送方向において印刷位置よりも上流に設けられた第1検出器と、前記搬送方向において印刷位置よりも下流に設けられた第2検出器と、前記第1検出器と前記第2検出器を切り替えて作動させる制御部と、を備え、前記制御部は、前記第1検出器の作動中に前記印刷媒体の所定位置を検出した後、前記第2検出器を作動させて、前記印刷媒体を所定距離搬送させる間に前記印刷媒体を検出しなければ不具合が発生したと判断する、ことである。 In order to achieve the above object, according to one aspect of the present invention, a printing apparatus includes a first detector provided upstream of a printing position in a conveyance direction of a print medium, and a printing device in the conveyance direction. A second detector provided downstream; and a control unit that switches and operates the first detector and the second detector, wherein the control unit performs the printing during the operation of the first detector. After detecting a predetermined position of the medium, the second detector is operated to determine that a problem has occurred unless the print medium is detected while the print medium is conveyed for a predetermined distance.
更に、上記発明において、その好ましい態様は、前記制御部は、前記印刷媒体を所定距離搬送させる間に前記第2検出器により前記印刷媒体を検出すると、前記第1検出器を作動させる、ことを特徴とする。 Further, in the above invention, a preferable aspect is that the control unit activates the first detector when detecting the print medium by the second detector while the print medium is conveyed by a predetermined distance. Features.
更にまた、上記発明において、その好ましい態様は、前記印刷媒体は、長尺の台紙に所定間隔で複数のラベルが貼付された用紙であり、前記第1検出器は、前記印刷装置の内部に配置され、前記ラベルを検出し、前記第2検出器は、前記印刷装置のラベル発行口に配置され、前記ラベルを検出する、ことを特徴とする。 Furthermore, in the above-described invention, a preferable aspect thereof is that the print medium is a sheet in which a plurality of labels are affixed to a long mount at a predetermined interval, and the first detector is disposed inside the printing apparatus. The label is detected, and the second detector is arranged at a label issuing port of the printing apparatus and detects the label.
更に、上記発明において、好ましい態様は、前記印刷媒体の所定位置は、前記ラベルの前記搬送方向における先端の位置である、ことを特徴とする。 Furthermore, in the above-mentioned invention, a preferred aspect is characterized in that the predetermined position of the print medium is a position of a leading end in the transport direction of the label.
更にまた、上記発明において、その好ましい態様は、更に、前記搬送方向において前記第2検出器よりも上流側にピーラー機構を備え、前記制御部は、前記第2検出器の作動中に前記ピーラー機構によって剥離された前記ラベルを検出する、ことを特徴とする。 Furthermore, in the above invention, a preferable aspect thereof is further provided with a peeler mechanism upstream of the second detector in the transport direction, and the control unit is configured to operate the peeler mechanism during the operation of the second detector. The label peeled by the step is detected.
更に、上記発明において、好ましい態様は、前記第1検出器と前記第2検出器の前記搬送方向における離間距離が、前記搬送方向における前記ラベルの長さと前記所定間隔を合わせた長さの2倍未満である、ことを特徴とする。 Furthermore, in the above invention, a preferred aspect is that a separation distance between the first detector and the second detector in the transport direction is twice a length obtained by adding the length of the label and the predetermined interval in the transport direction. It is characterized by being less than.
また、上記発明において、一つの態様は、前記第1検出器は、発光部と第1受光部及び第2受光部を備え、前記発光部と前記第1受光部で透過型光学センサーを構成し、前記発光部と前記第2受光部で反射型光学センサーを構成する、ことを特徴とする。 In the above invention, one aspect is that the first detector includes a light emitting unit, a first light receiving unit, and a second light receiving unit, and the light emitting unit and the first light receiving unit constitute a transmissive optical sensor. The light emitting unit and the second light receiving unit constitute a reflective optical sensor.
更に、上記発明において、好ましい態様は、前記第1検出器と前記第2検出器は、1つの電源装置を共用する、ことを特徴とする。 Furthermore, in the above-mentioned invention, a preferred aspect is characterized in that the first detector and the second detector share one power supply device.
上記の目的を達成するために、本発明の別の側面は、印刷媒体の搬送方向において印刷位置よりも上流に設けられた第1検出器と、前記搬送方向において印刷位置よりも下流に設けられた第2検出器と、を備える印刷装置の制御方法において、前記第1検出器と前記第2検出器を切り替えて作動させ、前記第1検出器の作動中に前記印刷媒体の所定位置を検出した後、前記第2検出器を作動させて、前記印刷媒体を所定距離搬送させる間に前記印刷媒体を検出しなければ不具合が発生したと判断する、ことである。 In order to achieve the above object, another aspect of the present invention is provided with a first detector provided upstream of the printing position in the transport direction of the print medium, and downstream of the printing position in the transport direction. And a second detector, wherein the first detector and the second detector are switched and operated, and a predetermined position of the print medium is detected during the operation of the first detector. After that, if the second detector is operated and the print medium is not detected while the print medium is conveyed for a predetermined distance, it is determined that a problem has occurred.
上記の目的を達成するために、本発明の更に別の側面は、印刷媒体の搬送方向において印刷位置よりも上流に設けられた第1検出器と、前記搬送方向において印刷位置よりも下流に設けられた第2検出器と、を備える印刷装置の制御装置に、前記第1検出器と前記第2検出器を切り替えて作動させ、前記第1検出器の作動中に前記印刷媒体の所定位置を検出した後、前記第2検出器を作動させて、前記印刷媒体を所定距離搬送させる間に前記印刷媒体を検出しなければ不具合が発生したと判断する処理を実行させるプログラムである。 In order to achieve the above object, still another aspect of the present invention provides a first detector provided upstream of the printing position in the transport direction of the print medium, and provided downstream of the printing position in the transport direction. A control device of a printing apparatus comprising: the second detector, wherein the first detector and the second detector are switched and operated, and a predetermined position of the print medium is set during the operation of the first detector. After the detection, the second detector is operated to execute a process of determining that a failure has occurred unless the print medium is detected while the print medium is conveyed by a predetermined distance.
本発明の更なる目的及び、特徴は、以下に説明する発明の実施の形態から明らかになる。 Further objects and features of the present invention will become apparent from the embodiments of the invention described below.
以下、図面を参照して本発明の実施の形態例を説明する。しかしながら、かかる実施の形態例が、本発明の技術的範囲を限定するものではない。なお、図において、同一又は類似のものには同一の参照番号又は参照記号を付して説明する。 Embodiments of the present invention will be described below with reference to the drawings. However, such an embodiment does not limit the technical scope of the present invention. In the drawings, the same or similar elements are denoted by the same reference numerals or reference symbols.
図1は、本発明を適用した印刷装置の外観斜視図であり、図2は、その内部構成を示す概略断面図であり、また、図3は、その主要部分を示す概略断面図である。図1及び図2に示すプリンター2が本発明を適用した印刷装置であり、当該印刷装置は、図3に示す第1センサー23(第1検出器)と第2センサー24(第2検出器)を切り替えて使用するように構成され、ラベル用紙の搬送中に、第1センサー23がラベル用紙(印刷媒体)の所定位置を検出した後、第2センサー24に切り替えてラベルの検出を行い、その後、再度第1センサーに切り替える制御を行う。また、第2センサー24が所定距離の搬送中にラベルを検出しない場合にはエラー発生と判断する制御を行う。これにより、第1センサー23と第2センサー24の電源装置を共有化しても適切な搬送制御と紙ジャム検出制御が可能になり、装置の部品数を減少させるなど合理化を行うことができる。
FIG. 1 is an external perspective view of a printing apparatus to which the present invention is applied, FIG. 2 is a schematic cross-sectional view showing its internal configuration, and FIG. 3 is a schematic cross-sectional view showing its main part. The
本実施の形態例に係るプリンター2は、一定幅の長尺状の台紙8に複数のラベル7が一定間隔で貼り付けられたラベル用紙に対して印刷を行い、ラベルを発行するラベルプリンターである。一例として、感熱紙であるラベルに印刷を行うサーマルヘッドを用いたラベルプリンターである。プリンター2が用いるラベル用紙には、各ラベルとラベルの間にラベル位置を検出するためのマーク9が付されたものがある(図5参照)。
The
図1及び2に示されるように、プリンター2は、全体として縦長の直方体形状をしたプリンターケース5を備え、その前面部分5Aには、上側にラベル発行口3が形成され、その下側に台紙排出口4が形成される。また、前面部分5Aには、ペーパーフィードボタン251、動作状態を知らせるためのLEDランプ252〜254などが配置される。
As shown in FIGS. 1 and 2, the
プリンターケース5の内部には、その下半部分にロール紙装填部が形成され、そこにはラベル用紙がロール状に巻かれた構成のロール紙6が装填される。ロール紙6から繰り出されるラベル7付きの台紙8は、搬送路11を通って、サーマルヘッド(印刷ヘッド)12とプラテンローラー13の間に導かれる。
Inside the
プラテンローラー13はサーマルヘッド12の印字面に押圧されており、当該サーマルヘッド12の印刷位置を規定する。サーマルヘッド12によって、台紙8の表面に貼り付けられたラベル7に印刷が行われた後は、台紙8は、全体として鋭角に折れ曲がっている台紙屈曲用ガイドを備えたピーラー機構223を経由して搬送される。印刷後のラベル7は、ピーラー機構223によって、台紙8から剥離して、ラベル発行口3から発行される。
The
これに対して、ラベル7が剥離された後の台紙8は、台紙屈曲用ガイドによって鋭角に屈曲された搬送経路に沿って搬送される。その後、台紙8はプリンター2の前面側に導かれて、台紙排出口4 からプリンター前方に排出される。
On the other hand, the
ここで、ラベル7付きの台紙8であるラベル用紙の搬送路11上には、ラベル用紙の搬送動作を制御するために用いる反射型及び透過型光学センサーである第1センサー23が配置される。透過型光学センサーは、ラベル用紙を挟んで配置された発光部23Aと受光部23Bとで構成される。反射型光学センサーは、ラベル用紙のマーク9が付された面側に配置された発光部23Aと受光部23Cとで構成される。また、ラベル発行口3の近傍には、当該ラベル発行口3から発行されるラベル7を検出するための透過型の光学センサーである第2センサー24が配置される。透過型の光学センサーは、ラベル7を挟んで配置された発光部24Aと受光部24Bとで構成される。
Here, a
図3に示されるように、第1センサー23は、サーマルヘッド12による印刷位置よりもラベル用紙の搬送方向において上流側に配置され、発光部23A及び二つの受光部23B及び23Cを備える。第1センサー23によって、ラベル用紙自体、または、ブラックマークでないマーク9が付された部分を検出する場合には、第1センサー23を透過型光学センサーとして使用し、受光部23Bの受光量によりラベル用紙を検出する。ラベル用紙の検出では、検出位置にラベル用紙自体がない場合、検出位置に台紙8のみがある場合、また、検出位置にラベル7がある場合によってそれぞれ受光量が異なり、これにより搬送されるラベル用紙の位置を判断する。
As shown in FIG. 3, the
また、ブラックマークでないマーク9が付された部分を検出する時には、同様に、検出位置に用紙がない場合、検出位置に台紙8のみがある場合、また、検出位置にマーク9がある場合によってそれぞれ受光量が異なり、これにより搬送されるラベル用紙の位置を判断することができる。なお、ブラックマークは、光を反射し難い黒色マークである。
Similarly, when detecting a portion with a mark 9 that is not a black mark, depending on whether there is no paper at the detection position, only the
また、ブラックマークであるマーク9を検出する場合には、第1センサー23を反射型光学センサーとして使用し、受光部23Cの受光量によりラベル用紙を検出する。このように使用するときにも、検出位置に用紙がある場合、また、検出位置にマーク9がある場合によってそれぞれ受光量が異なり、これにより搬送されるラベル用紙の位置を判断することができる。
Further, when detecting the mark 9 that is a black mark, the
また、第2センサー24は、サーマルヘッド12による印刷位置よりもラベル用紙の搬送方向において下流側に配置され、発光部24A及び受光部24Bを備える。検出位置に、ラベル7が有るか無いかによって受光部24Bの受光量が変化し、それによってラベル7の有無を判断する。
The
図4は、本プリンター2の機能構成図である。本プリンター2は、一例として、ホストコンピューター1から送信される印刷データに基づいて上述したラベル用紙に印刷を行い、ラベルを発行する。ホストコンピューター1は、プリンター2のホスト装置であり、印刷内容(印刷画像)を生成する所定のアプリケーションと、当該印刷内容をプリンター2用の印刷データとするドライバーを備える。
FIG. 4 is a functional configuration diagram of the
ホストコンピューター1から送信される上記印刷データは、制御コマンドと記録データを含んでいる。記録データは、ラベル7上に印刷する印刷内容(印刷画像)を表すデータであり、文字、グラフィクス、イメージ等を含んでいる。制御コマンドは、プリンター2における印刷処理を制御するためのコマンドであり、頭出しコマンド、改行コマンドなどがある。また、上述した頭出しコマンドは、各ラベルの印刷において、最初の印刷位置までラベル7を搬送することを要求するコマンドである。
The print data transmitted from the
次に、プリンター2は、図4に示すような機能構成であり、コントローラー21、機構部22(印刷実行部)、上述した第1センサー23と第2センサー24、及び操作部25等を備える。
Next, the
コントローラー21は、プリンター2の制御部であり、第1センサー23と第2センサー24の検出値等に基づいて機構部22の動作を制御する。なお、コントローラー21は、図示していないが、CPU(制御装置)、RAM、ROM、NVRAM、ASIC等で構成される。
The controller 21 is a control unit of the
また、コントローラー21は、図1に示すように、機能構成として、受信部211、コマンド解析部212、データ展開部213、印刷制御部214、ヘッド制御部217、及び、搬送制御部218を備える。
As shown in FIG. 1, the controller 21 includes a receiving
受信部211は、ホストコンピューター1から送信される印刷データを受信する部分であり、通信I/F、受信バッファ(RAM)等を備える。
The
コマンド解析部212は、受信部211が受信した印刷データを、順次、解釈する部分であり、制御コマンドを解釈した場合にはその結果を印刷制御部214へ通知し、記録データを解釈した場合には、当該データをデータ展開部213へ渡す。
The
データ展開部213は、記録データに基づいて機構部22で印刷を行うためのイメージデータを生成する部分である。具体的には、画像オブジェクト単位で表現されたデータを画素毎のデータに展開する処理を実行する。
The
印刷制御部214は、印刷処理全体を制御する部分であり、コマンド解析部212が解釈した制御コマンド、データ展開部213が展開したイメージデータ、及び第1センサー23と第2センサー24の検出値等に基づいて、機構部22の各制御部217、218に指示を出し、ラベル用紙への印刷を実行させる。本プリンター2では、第1センサー23及び第2センサー24の切り替え制御、紙ジャム検出制御に特徴があり、その具体的な内容については後述する。
The
次に、ヘッド制御部217及び搬送制御部218は、それぞれ、機構部22のヘッド部221及び搬送機構222を、印刷制御部214の指示に従って制御する部分である。
Next, the
なお、コマンド解析部212、データ展開部213、印刷制御部214、ヘッド制御部217、及び、搬送制御部218は、各部が行う処理内容を記述したプログラム、当該プログラムに従って動作するCPU、RAM等によって構成することができる。
Note that the
次に、機構部22には、ヘッド部221、搬送機構222、及びピーラー機構223が備えられる。ヘッド部221は、ラベル用紙に印刷処理を実行する部分であり、サーマルヘッド12等を備える。また、搬送機構222は、ラベル用紙を搬送方向F(図5を参照)に移動する処理を実行する部分であり、搬送路、搬送ローラー、モーター等を備える。また、ピーラー機構223は、ラベル7を台紙8から剥離する装置である。
Next, the mechanism unit 22 includes a
第1センサー23及び第2センサー24は、それぞれ、上述したような構成と配置位置で設けられるセンサーであり、同一の電源装置(図示せず)を共用する。従って、両者は同時に作動せず、印刷制御部214の制御によって切り替えて使用される。第1センサー23はラベル7又はマーク9の端部を検出し、その検出値は、ラベル7の所定の位置から印刷を開始する(頭出しの)ために用いられる。また、第2センサー24は、ピーラー機構223を経て剥離され、発行されたラベル7の有無を検出し、その検出値は、紙ジャムの発生判断及びユーザーによる発行されたラベル7の取外し判断に用いられる。
The
操作部25には、上述したペーパーフィードボタン251、LEDランプ252〜254などが備えられる。
The
図5は、搬送方向Fの位置関係を説明するための図である。図5の(A)は、第1センサー23と第2センサー24の搬送方向Fにおける離間距離(P1とP3の距離)をラベル用紙の長さと比較した図である。ここで、上述の通り、第1センサー23と第2センサー24は、それぞれ、印刷位置(サーマルヘッド12の位置)の上流側と下流側に設置されるので、第1センサー23、サーマルヘッド12、及び、第2センサー24の搬送方向Fの設置位置は、図5の右側に示されるP1、P2、P3の位置となる。P3の位置では、ラベル7は台紙8から剥離された状態であるが、図5では、模式的に台紙8も記載して説明する。
FIG. 5 is a diagram for explaining the positional relationship in the transport direction F. FIG. FIG. 5A is a diagram comparing the separation distance (distance between P1 and P3) of the
そして、後述するセンサーの切り替え制御によって問題なく印刷処理を実行するためには、上記離間距離(P1とP3の距離)は以下の条件を満たす必要がある。
条件(1):離間距離<X+2Y
条件(2):離間距離<2X+2Y
但し、X=ラベルの搬送方向Fの間隔、Y=ラベルの搬送方向Fの長さ、である。
In order to execute print processing without any problem by the sensor switching control described later, the separation distance (distance between P1 and P3) needs to satisfy the following conditions.
Condition (1): Separation distance <X + 2Y
Condition (2): Separation distance <2X + 2Y
However, X = interval in the label transport direction F, and Y = length in the label transport direction F.
条件(1)は、第1センサー23でラベル7の搬送方向Fの先端と搬送方向Fの後端の両方を検出する制御を行う場合に適用され、条件(2)は、第1センサー23でラベル7の搬送方向Fの先端のみを検出して制御を行う場合に適用される。
The condition (1) is applied when the
なお、マーク9が付されるラベル用紙では、例えば、図5の(A)に示すように、マーク9は、台紙8の端部のラベル7とラベル7の間に付される。当該マーク9の搬送方向Fの先端と搬送方向Fの後端を検出することは、ラベル7の後端と先端を検出することに相当する。
In the label sheet to which the mark 9 is attached, for example, as shown in FIG. 5A, the mark 9 is attached between the
上記条件を満たさない場合には、第1センサー23と第2センサー24を同時に作動しなくてはならないタイミングが発生し、適切な制御を行うことができない。従って、本プリンター2では、使用するラベル用紙の寸法(X、Y)に合わせて、上記条件(1)、(2)が満たされる位置に第1センサー23と第2センサー24が配置される。
When the above conditions are not satisfied, a timing at which the
以上説明したような構成を備える本プリンター2では、ホストコンピューター1から印刷データを受信すると、コマンド解析部212によるコマンドの解釈結果とデータ展開部213によって生成されたイメージデータに基づいて、印刷制御部214が、ラベル用紙の搬送とサーマルヘッド12による印刷を制御し、ラベル7への印刷がなされる。
In the
当該印刷処理では、ラベル用紙の搬送中に、第1センサー23の上記検出値に基づく所定タイミングでサーマルヘッド12による印刷が開始され、その後、印刷が進行すると、印刷後のラベル7がピーラー機構223を経て剥離し、剥離後のラベル7を第2センサー24で検出後、そのラベル7が所定位置(取外し位置)まで搬送されて、搬送が停止する。その後、第2センサー24によって、ラベル無しが検出されると、ユーザーが印刷後のラベルを取外したと判断し、次のラベルの処理を開始する。
In the printing process, printing by the
図6は、第1センサー23及び第2センサー24の制御の手順を例示したフローチャートである。以下、図5及び図6に基づいて、本プリンター2の特徴であるセンサーの切り替え制御及び紙ジャム検出制御について説明する。なお、ここで説明する制御は、ラベル用紙が搬送中の場合に行われる。また、第1センサー23でラベル7の搬送方向Fの先端と搬送方向Fの後端の両方を検出する場合、すなわち、条件(1)が適用される場合で説明する。
FIG. 6 is a flowchart illustrating the control procedure of the
まず、印刷制御部214は、作動中の第1センサー23により、ラベル7の搬送方向Fにおける後端を検出する(図6のステップS1)。この時点では、図5に示す例では、例えば、ラベル用紙は図5の(B)に示す位置にあり、1番目のラベル7の後端が検出される。
First, the
その後、印刷制御部214は、引き続き、第1センサー23により、ラベル7の搬送方向Fにおける先端を検出する(図6のステップS2)。この時点では、図5に示す例では、ラベル用紙は図5の(C)に示す位置にある。そして、2番目のラベルの先端が検出される。
Thereafter, the
なお、上述の通り、当該処理はラベル用紙の搬送中に行われ、作動中の第1センサー23は、所定の時間間隔で受光量の検出を行い、その検出値を受け取った印刷制御部214が上述した受光量の変化により、上記検出(S1、S2)を行う。
As described above, the processing is performed while the label sheet is being conveyed, and the
上記ラベル7の先端の検出を終えると、印刷制御部214は、直ちに、作動させるセンサーを、第1センサー23から第2センサー24に切り替える(図6のステップS3)。その後、第2センサー24が作動し、同様に、所定の時間間隔で受光量の検出を行う。
When the detection of the leading edge of the
その後、印刷制御部214は、第2センサー24からの検出値を受け取り、検出値を受け取る度に、受光量の変化に基づいてラベル7が検出されたか否かを判断する(図6のステップS4)。
Thereafter, the
当該判断は、ラベル7が検出される(図6のステップS4のYes)、又は、ラベル用紙が所定の距離搬送される(図6のステップ5のYes)、まで繰り返し実行される。なお、ステップS5の所定の距離は、ステップS2におけるラベル7の先端の検出後の搬送距離であり、具体的には、ラベルの搬送方向Fの長さYである。第1センサー23及び第2センサー24の配置位置が、上述した条件(1)を満たしているので、ラベル7がピーラー機構223で正常に剥離され、正常に搬送された場合には、この所定の距離搬送される間に、第2センサー24がラベル7を検出する。
This determination is repeatedly executed until the
従って、正常に処理が進めば、印刷制御部214はラベル7を検出する(図6のステップS4のYes)。図5に示した例では、ラベル用紙が図5の(D)に示される位置に来るまでは、ラベル7は検出されず、その後、搬送が進むとラベル7が検出される。例えば、図5の(E)に示された状態でラベル7が検出される。
Therefore, if the process proceeds normally, the
ラベル7が検出されると(図6のステップ4のYes)、印刷制御部214は、直ぐに、センサーを第1センサー23に切り替える(図6のステップS6)。すなわち、作動させるセンサー7を、第2センサー24から第1センサー23に切り替える。上述した条件(1)を満たすセンサーの位置関係から、このタイミングで第1センサー23を作動させれば、次の周期の端部検出に間に合うことになる。
When the
図5に示す例では、図5の(E)に示される状態で第1センサー23が作動するので、2番目のラベル7の後端を検出することができる。
In the example shown in FIG. 5, the
このように正常に処理が進めば、ステップS1に戻って、それ以降、同様の処理が繰り返して実行される。 If the process proceeds normally as described above, the process returns to step S1, and thereafter, the same process is repeatedly executed.
一方、ラベル7が検出されずに(図6のステップS4のNo)、ラベル用紙が所定の距離搬送されると(図6のステップ5のYes)、印刷制御部214は、ラベル7が正常に剥離されておらず紙ジャムの虞があると判断し、エラー処理を指示する(図6のステップS7)。具体的には、ラベル用紙の搬送を停止させ、LEDランプ252等を点灯させてユーザーにエラー発生を報知する。
On the other hand, if the
その後、エラーが解消されて、ラベル用紙が搬送状態になると処理がステップS6に移行し、上述したように処理が進行する。 Thereafter, when the error is resolved and the label sheet is in the transport state, the process proceeds to step S6, and the process proceeds as described above.
このようにして搬送中のセンサー制御が実行されるが、第1センサー23でラベル7の搬送方向Fの先端のみを検出して制御を行う場合、すなわち、条件(2)を満たすように構成されている場合には、ステップS1の処理がなくなり、また、ステップS5の所定の搬送距離はX(ラベルの搬送方向Fの間隔)+Y(ラベルの搬送方向Fの長さ)となる。その他は上述の場合と同様に処理が行われる。
In this way, the sensor control during the conveyance is executed. When the
以上説明したように、本実施の形態例に係るプリンター2では、印刷位置を挟んで上流側と下流側にそれぞれ設けられた用紙検出センサー(23、24)を切り替えて作動させる構成においても、ラベル7の剥離不良等に起因する紙ジャム等の不具合の検出を適確に行うことができる。
As described above, in the
また、上流側センサー(第1センサー23)による頭出し等の搬送制御も支障なく行うことができる。 Further, transport control such as cueing by the upstream sensor (first sensor 23) can be performed without any trouble.
また、本発明は、長尺の台紙に間隔を置いて複数のラベルが貼られた用紙に印刷を行い、印刷後のラベルをピーラーで剥離する印刷装置に適している。 Further, the present invention is suitable for a printing apparatus that performs printing on a sheet on which a plurality of labels are pasted at intervals on a long mount, and peels off the printed labels with a peeler.
また、上述した条件(1)、条件(2)を満たすような装置配置とすることにより、上述した適切な制御が実現される。 Moreover, the above-mentioned appropriate control is implement | achieved by setting it as apparatus arrangement | positioning which satisfy | fills the conditions (1) and conditions (2) which were mentioned above.
また、上流側センサー(第1センサー23)を反射型センサーとしても使用できる構成としたので、ブラックマークが付されたラベル用紙も使用することができる。 In addition, since the upstream sensor (first sensor 23) can be used as a reflective sensor, a label sheet with a black mark can also be used.
このように、2つのセンサーを切り替えて使用しても制御可能な構成としたので、それらの電源装置を共有化することができ、装置の部品数を減らすことができる。 Thus, since it was set as the structure which can be controlled even if it switches and uses two sensors, those power supply devices can be shared and the number of parts of an apparatus can be reduced.
また、上述の実施形態例におけるプリンターと印刷方式が異なるものであっても本発明を適用することができる。 Further, the present invention can be applied even if the printing method is different from the printer in the above-described embodiment.
本発明の保護範囲は、上記の実施の形態に限定されず、特許請求の範囲に記載された発明とその均等物に及ぶものである。 The protection scope of the present invention is not limited to the above-described embodiment, but covers the invention described in the claims and equivalents thereof.
1 ホストコンピューター、 2 プリンター、 3 ラベル発行口、 4 台紙排出口、 5 プリンターケース、 5A 前面部分、 6 ロール紙、 7 ラベル、 8 台紙、 9 マーク、 11 搬送路、 12 サーマルヘッド、 13 プラテンローラー、 21 コントローラー、 22 機構部、 23 第1センサー、 24 第2センサー、 25 操作部、 211 受信部、 212 コマンド解析部、 213 データ展開部、 214 印刷制御部、 217 ヘッド制御部、 218 搬送制御部、 221 ヘッド部、 222 搬送機構、 223 ピーラー機構、 251 ペーパーフィードボタン、 251−254 LEDランプ
DESCRIPTION OF
Claims (10)
前記搬送方向において印刷位置よりも下流に設けられた第2検出器と、
前記第1検出器と前記第2検出器を切り替えて作動させる制御部と、を備え、
前記制御部は、前記第1検出器の作動中に前記印刷媒体の所定位置を検出した後、前記第2検出器を作動させて、前記印刷媒体を所定距離搬送させる間に前記印刷媒体を検出しなければ不具合が発生したと判断する
ことを特徴とする印刷装置。 A first detector provided upstream of the printing position in the conveyance direction of the print medium;
A second detector provided downstream of the printing position in the transport direction;
A controller for switching and operating the first detector and the second detector,
The controller detects a predetermined position of the print medium during operation of the first detector, and then operates the second detector to detect the print medium while the print medium is conveyed by a predetermined distance. Otherwise, it is determined that a failure has occurred.
前記制御部は、前記印刷媒体を所定距離搬送させる間に前記第2検出器により前記印刷媒体を検出すると、前記第1検出器を作動させる
ことを特徴とする印刷装置。 In claim 1,
The control unit activates the first detector when detecting the print medium by the second detector while the print medium is conveyed by a predetermined distance.
前記印刷媒体は、長尺の台紙に所定間隔で複数のラベルが貼付された用紙であり、
前記第1検出器は、前記印刷装置の内部に配置され、前記ラベルを検出し、
前記第2検出器は、前記印刷装置のラベル発行口に配置され、前記ラベルを検出する
ことを特徴とする印刷装置。 In claim 1 or 2,
The print medium is a paper in which a plurality of labels are attached to a long mount at predetermined intervals,
The first detector is disposed inside the printing apparatus, detects the label,
The second detector is disposed at a label issuing port of the printing apparatus and detects the label.
前記印刷媒体の所定位置は、前記ラベルの前記搬送方向における先端の位置である
ことを特徴とする印刷装置。 In claim 3,
The printing apparatus, wherein the predetermined position of the print medium is a position of a tip in the transport direction of the label.
更に、前記搬送方向において前記第2検出器よりも上流側にピーラー機構を備え、
前記制御部は、前記第2検出器の作動中に前記ピーラー機構によって剥離された前記ラベルを検出する
ことを特徴とする印刷装置。 In claim 3 or 4,
Furthermore, a peeler mechanism is provided upstream of the second detector in the transport direction,
The control unit detects the label peeled off by the peeler mechanism during operation of the second detector.
前記第1検出器と前記第2検出器の前記搬送方向における離間距離が、前記搬送方向における前記ラベルの長さと前記所定間隔を合わせた長さの2倍未満である
ことを特徴とする印刷装置。 In any one of Claims 3 thru | or 5,
The printing apparatus is characterized in that a separation distance between the first detector and the second detector in the transport direction is less than twice a length of the label and the predetermined interval in the transport direction. .
前記第1検出器は、発光部と第1受光部及び第2受光部を備え、前記発光部と前記第1受光部で透過型光学センサーを構成し、前記発光部と前記第2受光部で反射型光学センサーを構成する
ことを特徴とする印刷装置。 In any one of Claims 1 thru | or 6,
The first detector includes a light emitting unit, a first light receiving unit, and a second light receiving unit, and the light emitting unit and the first light receiving unit constitute a transmissive optical sensor, and the light emitting unit and the second light receiving unit include A printing apparatus comprising a reflective optical sensor.
前記第1検出器と前記第2検出器は、1つの電源装置を共用する
ことを特徴とする印刷装置。 In any one of Claims 1 thru | or 7,
The first detector and the second detector share one power supply device. A printing apparatus, wherein:
前記第1検出器と前記第2検出器を切り替えて作動させ、前記第1検出器の作動中に前記印刷媒体の所定位置を検出した後、前記第2検出器を作動させて、前記印刷媒体を所定距離搬送させる間に前記印刷媒体を検出しなければ不具合が発生したと判断する
ことを特徴とする制御方法。 A control method for a printing apparatus, comprising: a first detector provided upstream of a printing position in a conveyance direction of a print medium; and a second detector provided downstream of a printing position in the conveyance direction. ,
The first detector and the second detector are switched to operate, and after detecting a predetermined position of the print medium during the operation of the first detector, the second detector is operated to operate the print medium. A control method comprising: determining that a problem has occurred if the print medium is not detected while the printer is transported for a predetermined distance.
前記第1検出器と前記第2検出器を切り替えて作動させ、前記第1検出器の作動中に前記印刷媒体の所定位置を検出した後、前記第2検出器を作動させて、前記印刷媒体を所定距離搬送させる間に前記印刷媒体を検出しなければ不具合が発生したと判断する処理を実行させる
ことを特徴とするプログラム。 In a control device of a printing apparatus comprising: a first detector provided upstream of a printing position in a conveyance direction of a print medium; and a second detector provided downstream of a printing position in the conveyance direction.
The first detector and the second detector are switched to operate, and after detecting a predetermined position of the print medium during the operation of the first detector, the second detector is operated to operate the print medium. A program for executing a process of determining that a failure has occurred if the print medium is not detected while the printer is transported for a predetermined distance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014166706A JP2016043993A (en) | 2014-08-19 | 2014-08-19 | Printer, control method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014166706A JP2016043993A (en) | 2014-08-19 | 2014-08-19 | Printer, control method and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2016043993A true JP2016043993A (en) | 2016-04-04 |
Family
ID=55634916
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014166706A Pending JP2016043993A (en) | 2014-08-19 | 2014-08-19 | Printer, control method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2016043993A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11230124B2 (en) | 2018-04-11 | 2022-01-25 | Hewlett-Packard Development Company, L.P. | Reprints of delayed pages |
-
2014
- 2014-08-19 JP JP2014166706A patent/JP2016043993A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11230124B2 (en) | 2018-04-11 | 2022-01-25 | Hewlett-Packard Development Company, L.P. | Reprints of delayed pages |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6728578B2 (en) | Printing device, printing device control method, and program | |
JP2009102097A (en) | Recording medium detection method and label printer | |
EP3360685B1 (en) | Printer and printer control method | |
JP2010064270A (en) | Thermal printer and control method thereof | |
US20190180265A1 (en) | Printer and merchandise information processing apparatus | |
JP4784330B2 (en) | Printing device | |
JP2017213763A (en) | Printer and print control device | |
JP2012111152A (en) | Image forming apparatus | |
JP2009169105A (en) | Image forming apparatus | |
JP7514977B2 (en) | Printer, printer control method and program | |
JP2012131165A (en) | Thermal printer, and method for detecting label sheet in thermal printer | |
JP2016043993A (en) | Printer, control method and program | |
JP6415364B2 (en) | Printing device | |
JP2007334077A (en) | Image forming apparatus | |
JP2010202307A (en) | Method for detecting recording paper and printer | |
JP2010188628A (en) | Genuine label and label printer | |
JP2005001887A (en) | Printer, control method and program of printer | |
JP5083942B2 (en) | Image forming apparatus | |
JP2001315738A (en) | Label printer and controlling method for the label printer | |
JP2005047193A (en) | Paper sheet and electronic device | |
US11628677B2 (en) | Printing apparatus and printing control method | |
JP6092050B2 (en) | Label detection apparatus and label detection method for label printer | |
JP2012176575A (en) | Printer and sheet feeding method | |
JP2010030088A (en) | Control method for printer, and printer | |
JP2011042171A (en) | Inkjet recording apparatus |