JP2010202307A - Method for detecting recording paper and printer - Google Patents

Method for detecting recording paper and printer Download PDF

Info

Publication number
JP2010202307A
JP2010202307A JP2009047676A JP2009047676A JP2010202307A JP 2010202307 A JP2010202307 A JP 2010202307A JP 2009047676 A JP2009047676 A JP 2009047676A JP 2009047676 A JP2009047676 A JP 2009047676A JP 2010202307 A JP2010202307 A JP 2010202307A
Authority
JP
Japan
Prior art keywords
paper
recording paper
light amount
photosensor
label
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2009047676A
Other languages
Japanese (ja)
Inventor
Masahiko Yamada
雅彦 山田
Hiroyuki Endo
寛之 遠藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2009047676A priority Critical patent/JP2010202307A/en
Publication of JP2010202307A publication Critical patent/JP2010202307A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Controlling Sheets Or Webs (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method for detecting recording paper accurately detecting the presence or absence of recording paper by using a transmissive photosensor and a reflective photosensor even to label paper using a thin continuous paper or transparent mount. <P>SOLUTION: In a conveyance passage A of a printer 1, the transmissive photosensor 26 and the reflective photosensor 27 are arranged. As thresholds for determination of the transmissive photosensor 26, two-stage thresholds of a lower side transmitted light amount threshold SLt and an upper side transmitted light amount threshold SHt are set, and as thresholds for determination of the reflective photosensor 27, two-stage thresholds of a lower side reflective light amount threshold SLr and an upper side reflective light amount threshold SHr are set. When printing is performed in a label paper P1, a label paper P2 with a mark, a continuous paper P3 with a mark, and a continuous paper P4 without a mark, the level of detection output of the transmissive photosensor 26 and the reflective photosensor 27 is determined by using the thresholds for determination in accordance with the kinds of paper, and the presence or absence of the recording paper 12a and the kind of paper of the recording paper 12a are determined based on a determination result. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、ラベル紙やマーク付き記録紙、連続紙などの各種の記録媒体を透過型および
反射型の光学センサーで検出するプリンター、および、このようなプリンターにおける記
録紙検出方法に関する。
The present invention relates to a printer that detects various recording media such as label paper, marked recording paper, and continuous paper with transmissive and reflective optical sensors, and a recording paper detection method in such a printer.

長尺の台紙の上に一定間隔でラベルを貼り付けたラベル紙、長尺の連続紙、あるいは連
続紙やラベル紙の表面に一定間隔でブラックマークなどのマークを印刷したマーク付きの
記録紙などの各種の記録紙に印刷するプリンターにおいて、記録紙の搬送路に沿って反射
型や透過型の光学センサーを配置したものが用いられている。このようなプリンターでは
、記録紙を搬送しながら記録紙を透過した透過光あるいは記録紙からの反射光を光学セン
サーによって受光(検出)し、受光出力(検出出力)の結果に基づき、記録紙の有無や用
紙種類、記録紙上のラベルやマークの位置などの検出を行う。
Label paper with labels attached at regular intervals on a long mount, continuous continuous paper, or recording paper with marks that have black marks or other marks printed on the surface of continuous paper or label paper at regular intervals, etc. In these printers that print on various types of recording paper, a printer in which a reflective or transmissive optical sensor is arranged along the recording paper conveyance path is used. In such a printer, transmitted light transmitted through the recording sheet or reflected light from the recording sheet is received (detected) by an optical sensor while the recording sheet is conveyed, and the recording sheet is detected based on the result of the received light output (detected output). Detection of presence / absence, paper type, label / mark position on recording paper, etc.

特許文献1には、反射型フォトセンサーと透過型フォトセンサーを記録紙の搬送路を挟
んで対峙させて配置したプリンターが記載されている。特許文献1のプリンターは、反射
型フォトセンサーと透過型フォトセンサーによる受光光量(検出光量)の多少(高低)を
判定し、この高低判定結果の組み合わせに基づいて記録紙の有無や記録紙上の位置決め基
準であるラベルの端部やマークの位置等を検出し、記録紙の用紙種類を判定している。
Patent Document 1 describes a printer in which a reflection type photo sensor and a transmission type photo sensor are arranged facing each other across a conveyance path of a recording paper. The printer of Patent Document 1 determines the amount (high or low) of the amount of light received (detected light amount) by the reflective photosensor and the transmissive photosensor, and based on the combination of the high and low determination results, the presence or absence of recording paper and positioning on the recording paper The end of the label as a reference, the position of the mark, and the like are detected, and the paper type of the recording paper is determined.

特開2007−106556号公報JP 2007-106556 A

ここで、反射型フォトセンサーと透過型フォトセンサーによる検出光量の高低判定に用
いる閾値の設定方法については特許文献1には詳細には記載されていないが、以下に説明
するように、記録紙の種類によっては、記録紙の有無を正確に検出できない場合がある。
Here, although a method for setting a threshold value used for the determination of the level of the detected light amount by the reflection type photosensor and the transmission type photosensor is not described in detail in Patent Document 1, as described below, as described below, Depending on the type, the presence or absence of recording paper may not be detected accurately.

図7(a)は、従来例の透過型フォトセンサーの閾値を示す説明図である。透過型フォ
トセンサーが被検出対象を透過した受光量を透過光量として縦軸とする。この図に示すよ
うに、透過型フォトセンサーの閾値Stはラベル部分からの透過光量L1のレベルよりも
高く、台紙部分からの透過光量L2のレベルよりも低く設定してある。また、図7(b)
は、従来例の反射型フォトセンサーの閾値を示す説明図である。反射型フォトセンサーが
被検出対象を反射した受光量を反射光量として縦軸とする。この図に示すように、反射型
フォトセンサーの閾値Srはマーク付き記録紙のマーク部分からの反射光量L3のレベル
よりも高く、マークが付されていない紙の地色部分からの反射光量L4のレベルよりも低
くなるように設定してある。
FIG. 7A is an explanatory diagram showing threshold values of a conventional transmissive photosensor. The amount of received light that has passed through the detection target by the transmission type photosensor is defined as the amount of transmitted light on the vertical axis. As shown in this figure, the threshold value St of the transmissive photosensor is set higher than the level of the transmitted light amount L1 from the label portion and lower than the level of the transmitted light amount L2 from the mount portion. In addition, FIG.
These are explanatory drawings which show the threshold value of the reflection type photosensor of the conventional example. The amount of light received by the reflection type photosensor that reflects the detection target is defined as the amount of reflected light on the vertical axis. As shown in this figure, the threshold value Sr of the reflection type photosensor is higher than the level of the reflected light amount L3 from the mark portion of the marked recording paper, and the reflected light amount L4 from the ground color portion of the paper not marked. It is set to be lower than the level.

上記のような閾値Stの設定によれば、透過型フォトセンサーの受光出力(検出出力)
に基づいて台紙部分とラベル部分との透過光量の変化を検出して、ラベルを検出できる。
このとき、台紙部分がさらに透過率の高い透明台紙等である場合も考えられるが、透明台
紙からの透過光量L5は通常の不透明な台紙からの透過光量L2よりもさらに大きいので
、不透明な台紙の場合と同様にラベルの検出が可能である。
According to the setting of the threshold value St as described above, the light reception output (detection output) of the transmission type photosensor.
Based on this, it is possible to detect the label by detecting the change in the amount of transmitted light between the mount portion and the label portion.
At this time, a case where the mount portion is a transparent mount or the like having a higher transmittance may be considered. However, since the transmitted light amount L5 from the transparent mount is further larger than the transmitted light amount L2 from the normal opaque mount, The label can be detected as in the case.

ここで、記録紙がラベル紙ではなく連続紙である場合、通常は、ラベル紙の台紙部分よ
りも連続紙の方が厚手の紙が用いられ、連続紙の方が透過率が低い。そのため、連続紙に
対する透過型フォトセンサーの受光出力(検出出力)は、常に閾値Stよりも低いことが
想定される。よって、透過型フォトセンサーの検出出力に基づき、連続紙の有無を検出す
ることが可能であった。
Here, when the recording paper is not a label paper but a continuous paper, normally, the continuous paper is thicker than the mount of the label paper, and the continuous paper has a lower transmittance. Therefore, it is assumed that the light reception output (detection output) of the transmissive photosensor for continuous paper is always lower than the threshold value St. Therefore, it was possible to detect the presence or absence of continuous paper based on the detection output of the transmission type photosensor.

しかしながら、従来よりもさらに透過率の高い薄手の連続紙等を用いたときには、この
薄手の連続紙からの透過光量L6のレベルは、閾値Stよりも高くなってしまう場合があ
る。よって、このような場合には、透過型フォトセンサーの検出出力に基づいて連続紙の
有無を検出すると、誤検出が発生してしまうという問題点があった。
However, when thin continuous paper or the like having a higher transmittance than before is used, the level of the transmitted light amount L6 from the thin continuous paper may be higher than the threshold value St. Therefore, in such a case, there is a problem that erroneous detection occurs when the presence or absence of continuous paper is detected based on the detection output of the transmissive photosensor.

一方、上記のような閾値Srの設定によれば、反射型フォトセンサーの受光出力(検出
出力)に基づいて、マーク部分と紙の地色部分との反射光量の変化を検出して、連続紙や
ラベル紙の表面あるいは裏面に付されたブラックマークなどを検出できる。
On the other hand, according to the setting of the threshold value Sr as described above, a change in the amount of reflected light between the mark portion and the ground color portion of the paper is detected on the basis of the light reception output (detection output) of the reflective photosensor, and the continuous paper And black marks on the front or back of the label paper can be detected.

ここで、記録紙がマークが付されていない連続紙やラベル紙である場合、通常は、マー
クが付されていない連続紙やラベル紙からの反射光量は閾値Srよりも常に高いことが想
定される。そのため、反射型フォトセンサーの検出出力に基づき、マーク無しの連続紙の
有無やラベル紙の有無を検出することが可能であった。
Here, when the recording paper is a continuous paper or label paper without a mark, it is normally assumed that the amount of reflected light from the continuous paper or label paper without a mark is always higher than the threshold value Sr. The For this reason, it is possible to detect the presence or absence of unmarked continuous paper or the presence of label paper based on the detection output of the reflective photosensor.

しかしながら、透明台紙にラベルを貼ったラベル紙を用いた場合、透明台紙からの反射
光量L7は不安定であって閾値Srよりも低くなる可能性がある。また、通常よりも反射
率が低い低反射率台紙からの反射光量は閾値Srよりも常に低くなる可能性がある。よっ
て、このような場合、透明台紙を含む低反射率台紙の部分をマークであると誤判定してし
まうおそれがある。また、反射型フォトセンサーの検出出力に基づいて透明台紙を含む低
反射率台紙を用いたラベル紙の有無を検出すると、誤検出が発生してしまうという問題点
があった。
However, when a label sheet with a label attached to a transparent mount is used, the amount of reflected light L7 from the transparent mount is unstable and may be lower than the threshold value Sr. Further, the amount of light reflected from the low reflectance mount having a lower reflectance than usual may always be lower than the threshold value Sr. Therefore, in such a case, there is a possibility that the portion of the low reflectance mount including the transparent mount is erroneously determined as a mark. Further, if the presence or absence of label paper using a low-reflectance mount including a transparent mount is detected based on the detection output of the reflective photosensor, there is a problem in that erroneous detection occurs.

上記のような問題点に鑑みて、本発明の課題は、反射型フォトセンサーと透過型フォト
センサーを用いて記録紙上のマークやラベルを検出し、且つ、これらのセンサーを用いて
記録紙の有無を検出するプリンターにおいて、薄手の連続紙や透明台紙などの低反射率台
紙を用いたラベル紙などに対しても記録紙の有無等を正確に検出できる記録紙検出方法を
提案することにある。
In view of the above problems, an object of the present invention is to detect a mark or a label on a recording sheet using a reflection type photosensor and a transmission type photosensor, and to detect the presence or absence of the recording sheet using these sensors. It is an object of the present invention to propose a recording paper detection method that can accurately detect the presence / absence of a recording paper even on a label paper using a low-reflectance mount such as a thin continuous paper or a transparent mount.

上記の課題を解決するために、本発明は、複数の用紙種類の記録紙を択一的に装填する
プリンターにおける記録紙検出方法であって、
前記記録紙を搬送する搬送路に反射型フォトセンサーと透過型フォトセンサーを設置し
ておき、
前記反射型フォトセンサーによる受光出力の判定に用いる複数の反射光量閾値を予め設
定しておくと共に、前記透過型フォトセンサーによる受光出力の判定に用いる複数の透過
光量閾値を予め設定しておき、
前記記録紙の印刷または搬送を行うときには、
当該印刷または搬送を開始する前に、前記複数の反射光量閾値のいずれか一つ、および
、前記複数の透過光量閾値のいずれか一つを判定用閾値として設定しておき、
当該判定用閾値と、前記反射型フォトセンサーおよび前記透過型フォトセンサーの受光
出力に基づき、前記搬送路における前記記録紙の有無または前記用紙種類を検出すること
を特徴としている。
In order to solve the above problems, the present invention provides a recording sheet detection method in a printer that selectively loads a plurality of recording sheet types.
A reflection type photo sensor and a transmission type photo sensor are installed in the conveyance path for conveying the recording paper,
A plurality of reflected light amount threshold values used for determination of the light reception output by the reflection type photosensor are set in advance, and a plurality of transmission light amount threshold values used for determination of the light reception output by the transmission type photosensor are set in advance,
When printing or transporting the recording paper,
Before starting the printing or conveyance, set any one of the plurality of reflected light amount thresholds and one of the plurality of transmitted light amount thresholds as a determination threshold,
The presence or absence of the recording paper or the paper type in the transport path is detected based on the determination threshold and the light reception outputs of the reflective photosensor and the transmissive photosensor.

本発明では、このように、反射型フォトセンサーと透過型フォトセンサーの各々につい
て複数の閾値を設定しておくので、記録紙の用紙種類やその仕様に応じて適切な閾値の組
み合わせを選択して使い分けることができる。これにより、他の記録紙と同じ閾値設定で
は誤検出される可能性が高い、透過率や反射率の高い薄手の連続紙や透明台紙を含む低反
射率台紙を用いたラベル紙などに対しては、異なる閾値を用いることができる。よって、
様々な用紙種類の記録紙の有無や用紙種類や位置等を高精度に検出でき、誤検出の発生を
抑制できる。
In the present invention, a plurality of threshold values are set for each of the reflection type photo sensor and the transmission type photo sensor in this way, so that an appropriate combination of threshold values is selected according to the paper type of the recording paper and its specifications. Can be used properly. As a result, it is highly likely to be erroneously detected with the same threshold setting as other recording papers, such as thin continuous paper with high transmittance and reflectance, and label paper using low reflectance board including transparent backing paper, etc. Can use different thresholds. Therefore,
Presence / absence of recording sheets of various paper types, paper types and positions, etc. can be detected with high accuracy, and the occurrence of erroneous detection can be suppressed.

本発明において、前記透過型フォトセンサーの受光出力が前記判定用閾値として設定し
た前記透過光量閾値よりも高く、且つ、前記反射型フォトセンサーの受光出力が前記判定
用閾値として設定した前記反射光量閾値よりも低い場合に、前記搬送路における前記記録
紙の紙無し状態と判定することができる。透過型フォトセンサーおよび反射型フォトセン
サーの検出位置に記録紙がない紙無し状態のときには、反射型フォトセンサーの受光出力
(検出出力)が低く、且つ、透過型フォトセンサーの受光出力(検出出力)が高いことが
想定される。よって、これらの2つのセンサーの検出出力の判定結果を組み合わせること
により、記録紙の有無をより高精度に検出できる。
In the present invention, the received light output of the transmissive photosensor is higher than the transmitted light amount threshold set as the determination threshold, and the received light output of the reflective photosensor is set as the determination threshold. If it is lower than that, it can be determined that the recording sheet is out of paper in the transport path. When there is no recording paper at the detection position of the transmission type photosensor and reflection type photosensor, the light reception output (detection output) of the reflection type photosensor is low and the light reception output (detection output) of the transmission type photosensor is low. Is expected to be high. Therefore, by combining the determination results of the detection outputs of these two sensors, the presence or absence of recording paper can be detected with higher accuracy.

また、前記複数の用紙種類の記録紙が、長尺の台紙に一定間隔でラベルが貼られたラベ
ル紙と、一定間隔でマークが付されたマーク付き記録紙を含む場合には、前記ラベル紙の
印刷または搬送を行うときには、前記透過型フォトセンサーの受光出力に基づいて前記ラ
ベルを検出し、前記マーク付き記録紙の印刷または搬送を行うときには、前記反射型フォ
トセンサーの受光出力に基づいて前記マークを検出することができる。このように、ラベ
ルの部分は台紙の部分よりも透過率が低いので、ラベル検出器として透過型フォトセンサ
ーを用いることができる。また、マークの部分はマーク以外の部分よりも反射率が低いの
で、マーク検出器として反射型フォトセンサーを用いることができる。また、このように
、ラベル検出用あるいはマーク検出用のセンサーの検出出力に基づいて記録紙の有無を検
出すれば、記録紙の有無を検出するための専用のセンサーを設ける必要がない。
Further, when the recording paper of the plurality of paper types includes a label paper in which a label is pasted on a long mount and a recording paper with a mark having a mark attached at a constant interval, the label paper When printing or transporting, the label is detected based on the light receiving output of the transmissive photosensor, and when printing or transporting the marked recording paper, the label is detected based on the light receiving output of the reflective photosensor. Marks can be detected. Thus, since the label portion has a lower transmittance than the mount portion, a transmissive photosensor can be used as the label detector. In addition, since the mark portion has a lower reflectance than the portion other than the mark, a reflective photosensor can be used as the mark detector. In addition, as described above, if the presence or absence of the recording paper is detected based on the detection output of the label detection or mark detection sensor, it is not necessary to provide a dedicated sensor for detecting the presence or absence of the recording paper.

ここで、前記複数の用紙種類の記録紙が、前記ラベルよりも透過率が高い連続紙を含む
場合には、前記複数の透過光量閾値に、前記ラベルを透過する透過光量よりも高く、且つ
、前記ラベル紙の台紙を透過する透過光量よりも低い下側透過光量閾値と、前記連続紙を
透過する透過光量よりも高い上側透過光量閾値を含めておき、前記ラベル紙の印刷または
搬送を行うときには、前記下側透過光量閾値を前記判定用閾値として用い、前記連続紙の
印刷または搬送を行うときには、前記上側透過光量閾値を前記判定用閾値として用いると
よい。このようにすれば、ラベル部分よりも透過率が高い連続紙からの透過光量が常に閾
値よりも低くなるので、透過型フォトセンサーおよび反射型フォトセンサーの検出出力の
組み合わせによる記録紙の有無の判定における誤判定を防止できる。また、このような連
続紙については、記録紙上の位置決め基準としてラベルを検出する必要がなく、マークを
検出すればよいので、ラベル検出用の閾値として通常用いている下側透過光量閾値の代わ
りに上側透過光量閾値を用いても、位置決め基準を誤検出することはない。よって、位置
決め基準の検出精度を低下させずに、紙無し検出における検出精度を向上させることがで
きる。
Here, when the recording paper of the plurality of paper types includes continuous paper having a higher transmittance than the label, the plurality of transmitted light amount thresholds are higher than the transmitted light amount transmitted through the label, and When printing or transporting the label paper by including a lower transmitted light amount threshold value lower than the transmitted light amount transmitted through the mount of the label paper and an upper transmitted light amount threshold value higher than the transmitted light amount transmitted through the continuous paper The lower transmitted light amount threshold value may be used as the determination threshold value, and when the continuous paper is printed or conveyed, the upper transmitted light amount threshold value may be used as the determination threshold value. In this way, since the amount of light transmitted from continuous paper having a higher transmittance than the label portion is always lower than the threshold value, determination of the presence or absence of recording paper by combining the detection output of the transmission type photosensor and the reflection type photosensor Can prevent erroneous determination. Also, for such continuous paper, it is not necessary to detect the label as a positioning reference on the recording paper, and it is only necessary to detect the mark. Therefore, instead of the lower transmission light amount threshold value that is normally used as the threshold value for label detection, Even if the upper transmitted light amount threshold is used, the positioning reference is not erroneously detected. Therefore, the detection accuracy in the absence of paper can be improved without reducing the detection accuracy of the positioning reference.

また、前記複数の用紙種類の記録紙が、前記台紙として低反射率台紙を用いたラベル紙
を含む場合には、前記複数の反射光量閾値に、前記マーク付き記録紙のマーク部分による
反射光量よりも高く、且つ、前記マーク付き記録紙のマーク以外の部分による反射光量よ
りも低い上側反射光量閾値と、前記低反射率台紙による反射光量よりも低い下側反射光量
閾値を含めておき、前記マーク付き記録紙の印刷または搬送を行うときには、前記上側反
射光量閾値を前記判定用閾値として用い、前記低反射率台紙のラベル紙の印刷または搬送
を行うときには、前記下側反射光量閾値を前記判定用閾値として用いるとよい。このよう
にすれば、透明台紙の部分からの不安定な反射光や他の低反射率台紙からの低い反射光が
常に閾値よりも高くなるので、透過型フォトセンサーおよび反射型フォトセンサーの検出
出力の組み合わせによる記録紙の有無の判定における誤判定を防止できる。また、このよ
うな透明台紙を含む低反射率台紙を用いたラベル紙の場合、検出したラベルの端部を位置
決め基準とすることができ、マークを検出する必要がないので、マーク検出用の閾値とし
て通常用いている上側反射光量閾値の代わりに下側反射光量閾値を用いても、位置決め基
準を誤検出することはない。よって、位置決め基準の検出精度を低下させずに、紙無し検
出における検出精度を向上させることができる。
Further, when the recording paper of the plurality of paper types includes a label paper using a low-reflectance mount as the mount, the reflected light amount by the mark portion of the marked recording paper is set to the plurality of reflected light amount threshold values. And an upper reflected light amount threshold value lower than the reflected light amount by the portion other than the mark of the marked recording paper and a lower reflected light amount threshold value lower than the reflected light amount by the low reflectance mount, When printing or transporting attached recording paper, the upper reflected light amount threshold value is used as the determination threshold value, and when performing printing or transporting of the low-reflectance mount label paper, the lower reflected light amount threshold value is used for the determination. It is good to use as a threshold value. In this way, unstable reflected light from the transparent mount and low reflected light from other low-reflectance mounts are always higher than the threshold, so the detection output of the transmissive photosensor and reflective photosensor It is possible to prevent erroneous determination in the determination of the presence or absence of recording paper by the combination of Further, in the case of a label paper using a low reflectance mount including such a transparent mount, the detected label end can be used as a positioning reference, and there is no need to detect a mark. Even if the lower reflected light amount threshold value is used instead of the normally used upper reflected light amount threshold value, the positioning reference is not erroneously detected. Therefore, the detection accuracy in the absence of paper can be improved without reducing the detection accuracy of the positioning reference.

また、本発明は、複数の用紙種類の記録紙を択一的に装填するプリンターにおける記録
紙検出方法であって、
前記記録紙を搬送する搬送路に反射型フォトセンサーと透過型フォトセンサーを設置し
ておき、
前記反射型フォトセンサーによる受光出力の判定に用いる少なくとも2つの反射光量閾
値を予め設定しておくと共に、前記透過型フォトセンサーによる受光出力の判定に用いる
少なくとも2つの透過光量閾値を予め設定しておき、
前記記録紙に印刷するときまたは前記記録紙を搬送するときには、
前記記録紙の用紙種類を設定すると共に、前記複数の反射光量閾値のいずれか一つ、お
よび、前記複数の透過光量閾値のいずれか一つを判定用閾値として設定しておき、
前記判定用閾値と、前記反射型フォトセンサーおよび前記透過型フォトセンサーの受光
出力に基づき、前記搬送路における前記記録紙の有無または前記用紙種類を検出すること
を特徴とする。
このように、記録紙の用紙設定と共に、反射光量閾値や透過光量閾値の最適な一つをそ
れぞれ判定用閾値として設定することにより、誤検出の発生を抑制できる。
Further, the present invention is a recording paper detection method in a printer that selectively loads recording paper of a plurality of paper types,
A reflection type photo sensor and a transmission type photo sensor are installed in the conveyance path for conveying the recording paper,
At least two reflected light amount threshold values used for determination of the received light output by the reflective photosensor are set in advance, and at least two transmitted light amount threshold values used for determination of the received light output by the transmissive photosensor are set in advance. ,
When printing on the recording paper or transporting the recording paper,
In addition to setting the paper type of the recording paper, any one of the plurality of reflected light amount threshold values and one of the plurality of transmitted light amount threshold values are set as determination threshold values,
The presence / absence of the recording paper or the paper type in the transport path is detected based on the determination threshold value and light reception outputs of the reflection type photosensor and the transmission type photosensor.
In this way, by setting the optimum one of the reflected light amount threshold value and the transmitted light amount threshold value as the determination threshold value together with the paper setting of the recording paper, occurrence of erroneous detection can be suppressed.

ここで、前記記録紙への印刷または前記記録紙の搬送を開始する前に、上位装置から受
信したコマンドに基づいて、前記判定用閾値を設定することができる。このようにすれば
、印刷を行う際にプリンターを手動で操作する必要がない。また、印刷ジョブ中に用紙種
類に応じたコマンドを含めておけば、印刷ジョブとは別に閾値の設定コマンドを送信する
必要がなくなる。
Here, before the printing on the recording paper or the conveyance of the recording paper is started, the determination threshold value can be set based on a command received from the host apparatus. In this way, there is no need to manually operate the printer when performing printing. If a command corresponding to the paper type is included in the print job, it is not necessary to transmit a threshold setting command separately from the print job.

次に、本発明のプリンターは、
上記の記録紙検出方法により、前記搬送路における前記記録紙の有無を検出することを
特徴としている。
Next, the printer of the present invention is
The presence or absence of the recording paper in the conveyance path is detected by the recording paper detection method described above.

本発明によれば、反射型フォトセンサーと透過型フォトセンサーの各々について複数の
閾値を設定しておき、記録紙の用紙種類に応じて適切な閾値の組み合わせを選択して判定
用閾値として用いる。これにより、記録紙の用紙種類に応じて適切な閾値を使い分けるこ
とができ、他の記録紙と同じ閾値設定では誤検出される可能性が高い、透過率や反射率の
高い薄手の連続紙や透明台紙を含む低反射率台紙を用いたラベル紙などに対しては、異な
る閾値を用いることができる。よって、様々な用紙種類の記録紙の有無や用紙種類や位置
等を正確に検出でき、誤検出の発生を抑制できる。
According to the present invention, a plurality of threshold values are set for each of the reflection type photo sensor and the transmission type photo sensor, and an appropriate combination of threshold values is selected according to the paper type of the recording paper and used as the determination threshold value. This makes it possible to use an appropriate threshold depending on the paper type of the recording paper. If the same threshold setting is used for other recording papers, there is a high possibility of erroneous detection. Different threshold values can be used for label paper using a low-reflectance mount including a transparent mount. Therefore, it is possible to accurately detect the presence / absence of recording sheets of various paper types, paper types, positions, and the like, and to suppress the occurrence of erroneous detection.

本発明を適用したプリンターの外観斜視図である。1 is an external perspective view of a printer to which the present invention is applied. プリンターの内部構造を示す縦断面図である。It is a longitudinal cross-sectional view which shows the internal structure of a printer. プリンターの制御系を示す概略ブロック図である。It is a schematic block diagram which shows the control system of a printer. 記録紙の説明図である。It is explanatory drawing of a recording paper. 透過型フォトセンサーおよび反射型フォトセンサーの判定用閾値の説明図である。It is explanatory drawing of the threshold value for determination of a transmission type photosensor and a reflection type photosensor. 記録紙検出モードの設定表である。It is a setting table of recording paper detection modes. 従来例の透過型フォトセンサーおよび反射型フォトセンサーの判定用閾値の説明図である。It is explanatory drawing of the threshold value for determination of the transmission type photosensor of a prior art example, and a reflection type photosensor.

以下に、図面を参照して、本発明を適用したプリンターの実施の形態を説明する。   Embodiments of a printer to which the present invention is applied will be described below with reference to the drawings.

(全体構成)
図1は本発明に係るプリンターの外観斜視図であり、図2はプリンターの縦断面図であ
る。プリンター1は、全体としてほぼ直方体形状をしたプリンター本体2と、当該プリン
ター本体2の前面に取り付けた開閉蓋3とを有している。プリンター本体2の外装ケース
の前面には、所定幅の排出口4が形成されている。開閉蓋3に搭載されている排紙ガイド
5を前方に引くと、開閉蓋3が下端部を中心として前方にほぼ水平となるまで開き、プリ
ンター内部に形成されているロール紙収納部7が開放状態となる。同時に、ロール紙収納
部7から排出口4に到る搬送路Aが開放状態となる。ロール紙収納部7には、一定幅の長
尺状の記録紙12aをロール状に巻き付けたロール紙12が、プリンター幅方向に向いた
横置き状態で転動可能に収納されている。
(overall structure)
FIG. 1 is an external perspective view of a printer according to the present invention, and FIG. 2 is a longitudinal sectional view of the printer. The printer 1 includes a printer body 2 having a substantially rectangular parallelepiped shape as a whole, and an opening / closing lid 3 attached to the front surface of the printer body 2. A discharge port 4 having a predetermined width is formed on the front surface of the outer case of the printer body 2. When the paper discharge guide 5 mounted on the opening / closing lid 3 is pulled forward, the opening / closing lid 3 opens until it becomes almost horizontal with the lower end as the center, and the roll paper storage portion 7 formed inside the printer is opened. It becomes a state. At the same time, the transport path A from the roll paper storage unit 7 to the discharge port 4 is opened. In the roll paper storage unit 7, a roll paper 12 in which a long recording paper 12 a having a constant width is wound in a roll shape is stored so as to be rollable in a horizontally placed state facing the printer width direction.

ロール紙収納部7の上側には、プリンター本体フレーム10の上端にヘッドユニットフ
レーム9が水平に取り付けられている。ヘッドユニットフレーム9には、インクジェット
ヘッド13、インクジェットヘッド13を搭載しているキャリッジ(図示省略)等が配置
されている。インクジェットヘッド13の下側にはプリンター前後方向に水平に延びるプ
ラテンフレーム18が配置されている。プラテンフレーム18の上端にはプラテン8がプ
リンター幅方向に水平に取り付けられている。プラテン8は、インクジェットヘッド13
に一定のギャップで対峙しており、インクジェットヘッド13の印刷位置を規定している
。プラテン8はプリンター幅方向に長い扁平な直方体形状をしており、往復移動するイン
クジェットヘッド13のプリンター幅方向の印刷領域を規定している。
A head unit frame 9 is horizontally attached to the upper end of the printer main body frame 10 above the roll paper storage unit 7. The head unit frame 9 is provided with an inkjet head 13, a carriage (not shown) on which the inkjet head 13 is mounted, and the like. A platen frame 18 that extends horizontally in the front-rear direction of the printer is disposed below the inkjet head 13. A platen 8 is attached to the upper end of the platen frame 18 horizontally in the printer width direction. The platen 8 is an inkjet head 13.
And the print position of the inkjet head 13 is defined. The platen 8 has a flat rectangular parallelepiped shape that is long in the printer width direction, and defines a printing area in the printer width direction of the inkjet head 13 that reciprocates.

プラテンフレーム18の後端には下方に湾曲しているテンションガイド20が取り付け
られている。ロール紙収納部7にロール紙12を装填すると、このロール紙12から引き
出された記録紙12aは、繰り出しローラー20aおよびテンションガイド20を経由す
る搬送路Aに沿って上方に引き出された後に前方に湾曲するように引き出され、プラテン
8の後端からインクジェットヘッド13による印刷位置を経由して、搬送路Aの水平部分
に引き出される。そして、紙送りモーターおよび紙送りローラーなどを備えている記録紙
搬送手段によって搬送路Aの水平部分に沿って搬送される。
A tension guide 20 that is curved downward is attached to the rear end of the platen frame 18. When the roll paper 12 is loaded into the roll paper storage unit 7, the recording paper 12 a drawn from the roll paper 12 is drawn upward along the conveyance path A passing through the feeding roller 20 a and the tension guide 20, and then forward. It is pulled out so as to be bent, and is pulled out from the rear end of the platen 8 to the horizontal portion of the transport path A via the printing position by the inkjet head 13. And it is conveyed along the horizontal part of the conveyance path A by the recording paper conveyance means provided with a paper feed motor and a paper feed roller.

ロール紙12から引き出される記録紙12aは、記録紙搬送手段により、プラテン8の
表面に吸引された状態で搬送され、インクジェットヘッド13による印刷位置を通過する
。印刷位置では、キャリッジを紙幅方向に往復移動させながら、そこに搭載されているイ
ンクジェットヘッド13により印刷が行われる。記録紙12aの幅方向への一連の行印刷
が終了した後は、記録紙搬送手段が駆動されて、所定ピッチだけ記録紙12aが送り出さ
れる。この後に、次の行印刷が行われる。このように、記録紙12aは、所定ピッチで間
欠的に送り出されながらインクジェットヘッド13によって印刷が施される。その後、印
刷済みの記録紙12aが排出口4から排出された状態で搬送が停止し、排出口4の近傍に
配置されたオートカッターによって記録紙12aの印刷部分が切断され、印刷済みの記録
紙片が発行される。
The recording paper 12 a pulled out from the roll paper 12 is conveyed while being sucked to the surface of the platen 8 by the recording paper conveying means, and passes through the printing position by the inkjet head 13. At the printing position, printing is performed by the inkjet head 13 mounted thereon while reciprocating the carriage in the paper width direction. After a series of line printing in the width direction of the recording paper 12a is completed, the recording paper conveying means is driven to feed the recording paper 12a by a predetermined pitch. After this, the next line printing is performed. Thus, the recording paper 12a is printed by the inkjet head 13 while being intermittently sent out at a predetermined pitch. Thereafter, the conveyance is stopped in a state in which the printed recording paper 12a is discharged from the discharge port 4, and the print portion of the recording paper 12a is cut by an auto cutter arranged in the vicinity of the discharge port 4, and the printed recording paper piece Is issued.

(センサー)
搬送路Aのインクジェットヘッド13よりも上流側には、透過型フォトセンサー26お
よび反射型フォトセンサー27が配置されている。透過型フォトセンサー26は、搬送路
Aを挟んで上側に配置した発光素子と下側に配置した受光素子を備えており、上方から搬
送路Aに向けて検査光を照射し、下方への透過光を検出する。反射型フォトセンサー27
は発光素子および受光素子を備えており、下方から搬送路Aに向けて検査光を照射して、
下方へ戻ってきた反射光を検出する。なお、透過型フォトセンサー26の発光素子および
受光素子は搬送路を挟んで逆に配置してもよい。
(sensor)
A transmission type photosensor 26 and a reflection type photosensor 27 are disposed on the upstream side of the inkjet head 13 in the transport path A. The transmissive photosensor 26 includes a light emitting element disposed on the upper side of the conveyance path A and a light receiving element disposed on the lower side. The transmissive photosensor 26 irradiates inspection light toward the conveyance path A from above and transmits downward. Detect light. Reflective photo sensor 27
Is equipped with a light emitting element and a light receiving element, and irradiates inspection light toward the transport path A from below,
The reflected light returning downward is detected. Note that the light-emitting element and the light-receiving element of the transmissive photosensor 26 may be arranged oppositely across the conveyance path.

(制御系)
図3は、プリンター1の制御系を示す概略ブロック図である。プリンター1の制御系は
、CPUおよびROM、RAMなどの記憶部31を備えた制御部30を中心に構成されて
いる。記憶部31には、制御に用いる閾値や制御プログラムなどが記憶されている。
(Control system)
FIG. 3 is a schematic block diagram illustrating a control system of the printer 1. The control system of the printer 1 is configured around a control unit 30 including a storage unit 31 such as a CPU, ROM, and RAM. The storage unit 31 stores a threshold used for control, a control program, and the like.

制御部30の入力側には、ホストコンピューターなどの上位機器32が接続されており
、上位機器32から制御部30に印刷指令や印刷データが供給される。また、制御部30
の入力側には、透過型フォトセンサー26および反射型フォトセンサー27が接続されて
いる。制御部30は、上位機器32から印刷指令や印刷データを受信すると、透過型フォ
トセンサー26および反射型フォトセンサー27の検出出力に基づいて、搬送路A上の記
録紙12aを検出する。また、制御部30は、図示しない開閉検出器の検出出力に基づい
てロール紙収納部7の開閉を検出したときに、ロール紙12の交換が行われたと判断して
、新たに装填された記録紙12aの検出や頭出し動作を行う。
A host device 32 such as a host computer is connected to the input side of the control unit 30, and a print command and print data are supplied from the host device 32 to the control unit 30. Also, the control unit 30
A transmissive photosensor 26 and a reflective photosensor 27 are connected to the input side. When the control unit 30 receives a print command or print data from the host device 32, the control unit 30 detects the recording paper 12 a on the conveyance path A based on the detection outputs of the transmissive photosensor 26 and the reflective photosensor 27. In addition, the control unit 30 determines that the roll paper 12 has been replaced when the opening / closing of the roll paper storage unit 7 is detected based on the detection output of an open / close detector (not shown), and the newly loaded recording is performed. The paper 12a is detected and a cueing operation is performed.

制御部30の出力側には、ヘッドドライバー13aを介してインクジェットヘッド13
が接続されると共に、モータードライバーを介してキャリッジモーター(図示省略)およ
び紙送りモーター(図示省略)が接続されている。制御部30は、上位機器32から受信
した印刷指令や印刷データに基づき、キャリッジモーターを駆動制御して、インクジェッ
トヘッド13をプラテン8の幅方向に移動させながら記録紙12aに印刷を行うと共に、
紙送りモーターを駆動制御して、インクジェットヘッド13の動作に連動させて所定量ず
つ記録紙12aを搬送する。また、制御部30は、記録紙12a上の印刷開始位置をプラ
テン8上に規定されている印刷位置に位置合わせするための搬送動作や、記録紙12aの
印刷済み部分をオートカッターによる切断位置まで送り出すための搬送動作を行う。
The inkjet head 13 is connected to the output side of the control unit 30 via a head driver 13a.
And a carriage motor (not shown) and a paper feed motor (not shown) are connected via a motor driver. The control unit 30 drives and controls the carriage motor based on the print command and print data received from the host device 32 to print on the recording paper 12a while moving the inkjet head 13 in the width direction of the platen 8,
By driving and controlling the paper feed motor, the recording paper 12a is conveyed by a predetermined amount in conjunction with the operation of the inkjet head 13. In addition, the control unit 30 performs a conveying operation for aligning the printing start position on the recording paper 12a with the printing position defined on the platen 8, and the printed portion of the recording paper 12a up to the cutting position by the auto cutter. Carry out the transfer operation to send out.

(記録紙検出方法)
図4は、プリンター1の印刷用紙として用いられる記録紙12aの説明図である。プリ
ンター1は、長尺の剥離台紙12bの表面に一定間隔で定型のラベル12cが剥離可能な
状態で貼り付けられているラベル紙P1、各ラベル12c上の所定位置にブラックマーク
12dが付されているマーク付きラベル紙P2、連続紙の表面に一定間隔でブラックマー
ク12dが付されているマーク付き連続紙P3、ブラックマーク12dが付されていない
マーク無し連続紙P4などの複数種類の記録紙12aを印刷用紙として用いることが想定
されている。ここで、ラベル紙P1およびマーク付きラベル紙P2には、剥離台紙12b
として低反射率台紙(透明台紙などの高透過率で反射光量が不安定な台紙を含む)を用い
たものが含まれる。また、マーク付き連続紙P3やマーク無し連続紙P4には、従来より
も薄手の透過率の高いものが含まれる。
(Recording paper detection method)
FIG. 4 is an explanatory diagram of the recording paper 12a used as the printing paper of the printer 1. The printer 1 has a label paper P1 attached to the surface of a long release board 12b in a state where a regular label 12c can be peeled at regular intervals, and a black mark 12d is attached to a predetermined position on each label 12c. A plurality of types of recording paper 12a, such as a labeled paper P2 with a mark, a continuous paper P3 with a black mark 12d on the surface of the continuous paper, and a non-marked continuous paper P4 without a black mark 12d. Is assumed to be used as printing paper. Here, the label paper P1 and the marked label paper P2 include the peeling mount 12b.
And a low-reflectance mount (including a mount with a high transmittance and an unstable amount of reflected light, such as a transparent mount). Further, the continuous paper P3 with marks and the continuous paper P4 without marks include paper that is thinner and has a higher transmittance than before.

図5(a)は、透過型フォトセンサー26の判定用閾値の説明図、図5(b)は反射型
フォトセンサー27の判定用閾値の説明図である。本実施形態では、上記の各用紙種類の
記録紙12aの有無および記録紙12a上のラベルやマークの検出を行って記録紙12a
の用紙種類を判定するために、各センサーについて、図5(a)(b)に示すような上下
2つの閾値を設定しておく。
FIG. 5A is an explanatory diagram of the determination threshold value of the transmissive photosensor 26, and FIG. 5B is an explanatory diagram of the determination threshold value of the reflective photosensor 27. In the present embodiment, the recording paper 12a is detected by detecting the presence or absence of the recording paper 12a of each paper type and the label or mark on the recording paper 12a.
In order to determine the paper type, two upper and lower threshold values as shown in FIGS. 5A and 5B are set for each sensor.

透過型フォトセンサー26用の2つの閾値としては、ラベル紙P1におけるラベル12
cが貼られた部分を透過する透過光量L1よりも高く、且つ、剥離台紙12bの部分を透
過する透過光量L2よりも低い下側透過光量閾値SLtと、マーク付き連続紙P3あるい
はマーク無し連続紙P4の各部分を透過する透過光量L6よりも高い上側透過光量閾値S
Htの2つが設定してある。ここで、上側透過光量閾値SHtは、マーク付き連続紙P3
あるいはマーク無し連続紙P4として薄手の透過率の高い紙が用いられることを想定して
設定されるため、下側透過光量閾値SLtよりも高い値となっている。また、上側透過光
量閾値SHtは、剥離台紙12bとして透明台紙などの高透過率台紙を用いた場合の透過
光量L5よりも低い値となっている。
Two thresholds for the transmissive photosensor 26 include the label 12 on the label paper P1.
a lower transmitted light amount threshold SLt that is higher than the transmitted light amount L1 that passes through the part to which c is attached and lower than the transmitted light amount L2 that passes through the part of the peeling mount 12b, and the continuous paper P3 with marks or the continuous paper without marks Upper transmitted light amount threshold value S higher than transmitted light amount L6 transmitted through each part of P4
Two of Ht are set. Here, the upper transmitted light amount threshold value SHt is the continuous paper P3 with a mark.
Alternatively, since it is set on the assumption that thin paper with high transmittance is used as the unmarked continuous paper P4, the value is higher than the lower transmission light amount threshold SLt. The upper transmitted light amount threshold value SHt is lower than the transmitted light amount L5 when a high transmittance mount such as a transparent mount is used as the peeling mount 12b.

一方、反射型フォトセンサー27用の2つの閾値としては、マーク付き連続紙P3およ
びマーク付きラベル紙P2に付されたブラックマーク12dの部分による反射光量L3よ
りも高く、且つ、ブラックマーク12d以外の部分(紙の地色の部分)による反射光量L
4よりも低い上側反射光量閾値SHrと、透明台紙を含む低反射率台紙を用いた剥離台紙
12bによる反射光量L7よりも確実に低い下側反射光量閾値SLrの2つが設定してあ
る。ここで、上側反射光量閾値SHrは、紙の地色部分が透明でなく低反射率でもないこ
とを想定して設定されており、且つ、下側反射光量閾値SLrは、剥離台紙12bとして
反射光量が不安定な透明台紙を含む低反射率台紙が用いられることを想定して設定されて
いる。よって、下側反射光量閾値SLrが上側反射光量閾値SHrよりも低い値となって
いる。
On the other hand, the two threshold values for the reflective photosensor 27 are higher than the amount of reflected light L3 by the portion of the black mark 12d attached to the marked continuous paper P3 and the marked label paper P2, and other than the black mark 12d. Reflected light quantity L by the part (the background part of the paper)
Two threshold values are set: an upper reflected light amount threshold value SHr lower than 4 and a lower reflected light amount threshold value SLr that is surely lower than the reflected light amount L7 by the peeling mount 12b using the low reflectance mount including the transparent mount. Here, the upper reflected light amount threshold value SHr is set on the assumption that the ground color portion of the paper is neither transparent nor low in reflectance, and the lower reflected light amount threshold value SLr is the reflected light amount as the peeling mount 12b. Is set on the assumption that a low reflectance mount including an unstable transparent mount is used. Accordingly, the lower reflected light amount threshold SLr is lower than the upper reflected light amount threshold SHr.

図6は、記録紙12aの各用紙種類に対応付けて設定されている記録紙検出モードの設
定表である。この表に、各記録紙検出モードで用いる判定用閾値と、これらの判定用閾値
を用いて記録紙12aからの透過光量あるいは反射光量の高低判定を行った場合の想定結
果(想定される各センサーの検出出力)を示している。想定される高低判定の結果は、判
定用閾値よりも透過光量あるいは反射光量の方が高い場合を「H」で示し、低い場合を「
L」で示している。また、この設定表に、記録紙12aの有無の判定基準、および、記録
紙12aの用紙種類の判定基準を示している。
FIG. 6 is a setting table of recording sheet detection modes set in association with each sheet type of the recording sheet 12a. In this table, the thresholds for determination used in each recording paper detection mode and the assumed results when the transmitted light amount or the reflected light amount from the recording paper 12a is determined using these determination threshold values (presumed sensors) Detection output). Assumed results of the height determination are indicated by “H” when the transmitted light amount or the reflected light amount is higher than the determination threshold, and when it is low,
L ”. In addition, this setting table shows criteria for determining the presence or absence of the recording paper 12a and criteria for determining the paper type of the recording paper 12a.

制御部30は、印刷指令や印刷データに含めて、あるいは、印刷開始前の所定のタイミ
ングで、上位機器32から、印刷対象の記録紙12aに対応する記録紙検出モードを設定
するためのコマンドを受信する。制御部30は、このコマンドを受信すると、上記のSL
t、SHt、SLr、SHrの各閾値の中から、コマンドで指定された記録紙検出モード
に対応付けて設定されている閾値の組み合わせを、判定用閾値として設定する。各記録紙
検出モードに対応する閾値の組み合わせは、制御部30の記憶部31に予め記憶させてお
いてもよいし、記録紙検出モードを設定するためのコマンドに含めておいてもよい。また
、印刷指令や印刷データに印刷対象の記録紙12aの用紙種類を指定するデータを含めて
おき、この用紙種類に基づき、記憶部31に予め記憶させておいた記録紙検出モードおよ
び判定用閾値を読み出して設定してもよい。
The control unit 30 includes a command for setting a recording sheet detection mode corresponding to the recording sheet 12a to be printed from the host device 32 at a predetermined timing before being included in the print command or print data, or at a predetermined timing before the start of printing. Receive. When the control unit 30 receives this command, the SL 30
Of the threshold values t, SHt, SLr, and SHr, a combination of threshold values set in association with the recording sheet detection mode specified by the command is set as a determination threshold value. The combination of threshold values corresponding to each recording sheet detection mode may be stored in advance in the storage unit 31 of the control unit 30 or may be included in a command for setting the recording sheet detection mode. Further, data specifying the paper type of the recording paper 12a to be printed is included in the print command and print data, and the recording paper detection mode and determination threshold value stored in advance in the storage unit 31 based on the paper type. May be read and set.

制御部30は、上位機器32から印刷指令や印刷データを受信すると、記録紙12aを
インクジェットヘッド13による印刷位置まで搬送して印刷を開始する。そして、このと
きに、透過型フォトセンサー26および反射型フォトセンサー27による検出位置におい
て記録紙12aの検出処理を行う。すなわち、記録紙12aを所定長さ以上搬送しながら
透過型フォトセンサー26および反射型フォトセンサー27による検出動作を行い、透過
型フォトセンサー26および反射型フォトセンサー27の検出出力が、現在の判定用閾値
として設定されている値よりも高いか低いかを判定する。そして、判定結果に基づき、記
録紙12aの有無を判定する。また、記録紙12aが検出されたとき、すなわち、紙無し
状態ではないと判定したときには、記録紙12aの用紙種類の判定を行う。
When receiving a print command or print data from the host device 32, the control unit 30 conveys the recording paper 12 a to the printing position by the inkjet head 13 and starts printing. At this time, the recording paper 12a is detected at the detection position by the transmissive photosensor 26 and the reflective photosensor 27. That is, the detection operation by the transmissive photosensor 26 and the reflective photosensor 27 is performed while conveying the recording paper 12a for a predetermined length or more, and the detection outputs of the transmissive photosensor 26 and the reflective photosensor 27 are used for the current determination. It is determined whether the value is higher or lower than the value set as the threshold value. Based on the determination result, the presence or absence of the recording paper 12a is determined. When the recording paper 12a is detected, that is, when it is determined that the recording paper 12a is not in the no-paper state, the paper type of the recording paper 12a is determined.

ここで、各記録紙検出モードにおける記録紙12aの有無および用紙種類の判定につい
て説明する。まず、記録紙検出モードがラベル紙P1を印刷対象とするラベル検出モード
である場合には、透過型フォトセンサー26の閾値は下側透過光量閾値SLtが選択され
、反射型フォトセンサー27の閾値は下側反射光量閾値SLrが選択されている。この設
定では、プリンター1に装填されている記録紙12aがラベル紙P1やマーク付きラベル
紙P2である場合には、透過光量に対する判定結果は、剥離台紙12bの位置では常に「
H」となり、ラベル12cの位置では常に「L」となる。この結果は、剥離台紙12bが
透明台紙である場合も同様である。また、プリンター1に装填されている記録紙12aが
マーク付き連続紙P3やマーク無し連続紙P4である場合には、これらの連続紙の透過率
が低い場合には「L」となり、透過率が高い場合には「H」となる。一方、反射光量に対
する判定結果は、判定用閾値として下側反射光量閾値SLrを選択していることにより、
ラベル紙P1、マーク付きラベル紙P2、マーク付き連続紙P3、マーク無し連続紙P4
の全ての記録紙12aに対して、常に「H」となる。
Here, the presence / absence of the recording paper 12a and the determination of the paper type in each recording paper detection mode will be described. First, when the recording paper detection mode is the label detection mode for printing the label paper P1, the lower transmission light amount threshold SLt is selected as the threshold of the transmissive photosensor 26, and the threshold of the reflective photosensor 27 is The lower reflected light amount threshold value SLr is selected. In this setting, when the recording paper 12a loaded in the printer 1 is the label paper P1 or the marked label paper P2, the determination result for the transmitted light amount is always “at the position of the peeling mount 12b.
H ”and always“ L ”at the position of the label 12c. This result is the same when the peeling mount 12b is a transparent mount. Further, when the recording paper 12a loaded in the printer 1 is the continuous paper P3 with marks or the continuous paper P4 without marks, when the transmittance of these continuous papers is low, it becomes “L” and the transmittance is low. When it is high, it becomes “H”. On the other hand, the determination result for the reflected light amount is that the lower reflected light amount threshold value SLr is selected as the determination threshold value.
Label paper P1, labeled paper P2 with mark, continuous paper P3 with mark, continuous paper P4 without mark
It is always “H” for all the recording sheets 12a.

ここで、記録紙12aの有無の判定基準、すなわち、紙無し状態であると判定するため
の条件は、図6の設定表に示すように、透過光量が「H」、且つ、反射光量が「L」とな
ることである。ラベル検出モードでは、反射光量については、どの種類の記録紙12aに
対しても常に「H」の判定結果が得られる。従って、この判定基準に従って紙無しの判定
を行えば、記録紙12aが透過型フォトセンサー26および反射型フォトセンサー27に
よる検出位置に存在しているときに、紙無し状態であると誤判定することがない。
Here, the criteria for determining the presence or absence of the recording paper 12a, that is, the condition for determining that there is no paper, are as follows. The transmitted light amount is “H” and the reflected light amount is “ L ". In the label detection mode, with respect to the amount of reflected light, a determination result of “H” is always obtained for any type of recording paper 12a. Accordingly, if it is determined that there is no paper according to this determination criterion, it is erroneously determined that the recording paper 12a is out of paper when the recording paper 12a is present at a detection position by the transmissive photosensor 26 and the reflective photosensor 27. There is no.

ラベル検出モードにおいて紙無し状態ではないと判定した場合には、透過型フォトセン
サー26の検出出力に基づき、用紙種類の判定を行う。すなわち、この場合には、少なく
とも各ラベル12cの搬送方向の長さ(ラベル長)以上記録紙12aを搬送する間の透過
型フォトセンサー26の検出出力を監視し、この間に、透過型フォトセンサー26の検出
出力が「H」から「L」に、あるいはその逆に変化したか否かを判定する。ラベル検出モ
ードでは、透過型フォトセンサー26の閾値として下側透過光量閾値SLtが選択されて
いるので、透過型フォトセンサー26の検出出力に基づいてラベル12cの端部の位置を
検出できる。よって、検出したラベル12cの端部の位置を基準として印刷を行うことが
できる。一方、変化がなかった場合には、装填されている記録紙12aがマーク付き連続
紙P3あるいはマーク無し連続紙P4であると判定する。この場合には、印刷対象とは異
なる用紙種類の記録紙12aが検出されたことになるので、制御部30は用紙種違いと判
定し、所定のエラー処理を行う。
If it is determined in the label detection mode that there is no paper, the paper type is determined based on the detection output of the transmissive photosensor 26. That is, in this case, the detection output of the transmissive photosensor 26 is monitored while the recording paper 12a is conveyed at least as long as the length of each label 12c in the conveying direction (label length). It is determined whether or not the detection output has changed from “H” to “L” or vice versa. In the label detection mode, the lower transmitted light amount threshold value SLt is selected as the threshold value of the transmissive photosensor 26. Therefore, the position of the end of the label 12c can be detected based on the detection output of the transmissive photosensor 26. Therefore, it is possible to perform printing based on the detected position of the end of the label 12c. On the other hand, when there is no change, it is determined that the loaded recording paper 12a is the marked continuous paper P3 or the unmarked continuous paper P4. In this case, since the recording paper 12a having a paper type different from that to be printed is detected, the control unit 30 determines that the paper type is different and performs predetermined error processing.

次に、記録紙検出モードがマーク付き連続紙P3を印刷対象とするBM検出モードであ
る場合には、透過型フォトセンサー26の閾値は上側透過光量閾値SHtが選択され、反
射型フォトセンサー27の閾値は上側反射光量閾値SHrが選択されている。この設定で
は、透過光量に対する判定結果は、プリンター1に装填されている記録紙12aがマーク
付き連続紙P3やマーク無し連続紙P4である場合には、常に「L」となる。また、ラベ
ル紙P1やマーク付きラベル紙P2である場合には、ラベル12cの位置では常に「L」
となるが、剥離台紙12bの位置では、剥離台紙12bが透明台紙であれば「H」となり
、透明台紙でない場合には「L」あるいは「H」となる。一方、反射光量に対する判定結
果は、マーク付きラベル紙P2あるいはマーク付き連続紙P3のブラックマーク12dの
部分に対しては常に「L」となるが、透明台紙などの反射光量が不安定な台紙の部分に対
しては「L」あるいは「H」となり、透明台紙以外の低反射率台紙の場合には、反射光量
は「L」となる。そして、反射光量が不安定でなく、低反射率でもない通常の剥離台紙1
2bの部分、およびラベル12cのブラックマーク12dを除く部分に対しては「H」と
なる。
Next, when the recording paper detection mode is the BM detection mode for printing the marked continuous paper P3, the upper transmission light amount threshold SHt is selected as the threshold of the transmission photosensor 26, and the reflection photosensor 27 As the threshold value, the upper reflected light amount threshold value SHr is selected. In this setting, the determination result for the transmitted light amount is always “L” when the recording paper 12a loaded in the printer 1 is the continuous paper P3 with marks or the continuous paper P4 without marks. In the case of the label paper P1 or the labeled label paper P2, the label 12c is always “L”.
However, at the position of the peeling mount 12b, it becomes “H” if the peeling mount 12b is a transparent mount, and “L” or “H” if it is not a transparent mount. On the other hand, the determination result for the reflected light amount is always “L” for the black mark 12d portion of the labeled paper P2 with marks or the continuous paper P3 with marks, but for a mount with a unstable reflected light amount such as a transparent mount. “L” or “H” for the portion, and in the case of a low reflectance mount other than the transparent mount, the amount of reflected light is “L”. And the normal peeling mount 1 whose reflected light quantity is neither unstable nor low reflectivity
It becomes “H” for the portion 2b and the portion excluding the black mark 12d of the label 12c.

BM検出モードにおける記録紙12aの有無の判定基準は、ラベル検出モードと同様に
、透過光量が「H」、且つ、反射光量が「L」となることである。BM検出モードでは、
マーク付き連続紙P3およびマーク無し連続紙P4については、上側透過光量閾値SHt
を選択しているため、透過光量に対する判定結果が必ず「L」となり、紙無し状態である
と誤判定することがない。また、ラベル紙P1あるいはマーク付きラベル紙P2について
は、ラベル12cの位置での透過光量に対する判定結果が必ず「L」になるので、少なく
ともラベル間ギャップの長さ以上記録紙12aを搬送する間の検出出力を監視すれば、透
過光量に対する判定結果が必ず「L」となる。よって、この判定基準に従って紙無しの判
定を行えば、記録紙12aが透過型フォトセンサー26および反射型フォトセンサー27
による検出位置に存在しているときに、紙無し状態であると誤判定することがない。
The criterion for determining the presence or absence of the recording paper 12a in the BM detection mode is that the amount of transmitted light is “H” and the amount of reflected light is “L”, as in the label detection mode. In the BM detection mode,
For the continuous paper P3 with mark and the continuous paper P4 without mark, the upper transmitted light amount threshold value SHt
Therefore, the determination result for the transmitted light amount is always “L”, and there is no erroneous determination that there is no paper. For the label paper P1 or the labeled label paper P2, the determination result with respect to the amount of transmitted light at the position of the label 12c is always “L”, so that the recording paper 12a is conveyed at least as long as the length of the gap between labels. If the detection output is monitored, the determination result for the transmitted light amount is always “L”. Therefore, if it is determined that there is no paper according to this determination criterion, the recording paper 12a is transferred to the transmissive photosensor 26 and the reflective photosensor 27.
When it is present at the detection position, the paper is not erroneously determined to be out of paper.

BM検出モードにおいて紙無し状態ではないと判定した場合には、反射型フォトセンサ
ー27の検出出力に基づき、用紙種類の判定を行う。すなわち、この場合には、各ラベル
12cの搬送方向の長さ(ラベル長)以上記録紙12aを搬送する間の反射型フォトセン
サー27の検出出力を監視し、この間に、反射型フォトセンサー27の検出出力が「H」
から「L」に、あるいはその逆に変化したか否かを判定する。BM検出モードでは、反射
型フォトセンサー27の閾値は上側反射光量閾値SHrが選択されている。よって、反射
型フォトセンサー27の検出出力に基づいてブラックマーク12dの位置を検出でき、検
出したブラックマーク12dの位置を基準として印刷を行うことができる。一方、ブラッ
クマーク12dが検出されない場合には、装填されている記録紙12aがラベル紙P1あ
るいはマーク無し連続紙P4であると判定する。この場合には、印刷対象とは異なる用紙
種類の記録紙12aが検出されたことになるので、制御部30は用紙種違いと判定し、所
定のエラー処理を行う。
If it is determined in the BM detection mode that there is no paper, the paper type is determined based on the detection output of the reflective photosensor 27. That is, in this case, the detection output of the reflective photosensor 27 is monitored while the recording paper 12a is transported by a length in the transport direction of each label 12c (label length). Detection output is “H”
It is determined whether or not it has changed from “L” to “L” or vice versa. In the BM detection mode, the upper reflected light amount threshold value SHr is selected as the threshold value of the reflective photosensor 27. Therefore, the position of the black mark 12d can be detected based on the detection output of the reflective photosensor 27, and printing can be performed using the detected position of the black mark 12d as a reference. On the other hand, when the black mark 12d is not detected, it is determined that the loaded recording paper 12a is the label paper P1 or the unmarked continuous paper P4. In this case, since the recording paper 12a having a paper type different from that to be printed is detected, the control unit 30 determines that the paper type is different and performs predetermined error processing.

続いて、記録紙検出モードがマーク付きラベル紙P2を印刷対象とするBMラベル検出
モードである場合には、透過型フォトセンサー26の閾値は下側透過光量閾値SLtが選
択され、反射型フォトセンサー27の閾値は上側反射光量閾値SHrが選択されている。
この設定では、透過光量に対する判定結果は、ラベル検出モードと同様に、透明台紙を含
む剥離台紙12bの位置では常に「H」となり、ラベル12cの位置では常に「L」とな
る。また、マーク付き連続紙P3やマーク無し連続紙P4については、連続紙の透過率が
低い場合には「L」となり、透過率が高い場合には「H」となる。一方、反射光量に対す
る判定結果は、BM検出モードと同様に、ブラックマーク12dの部分に対しては常に「
L」となるが、透明台紙などの反射光量が不安定な台紙の部分に対しては「L」あるいは
「H」となり、透明台紙以外の低反射率台紙の場合には、反射光量は「L」となる。そし
て、反射光量が不安定でなく、低反射率でもない通常の剥離台紙12bの部分、およびラ
ベル12cのブラックマーク12dを除く部分に対しては「H」となる。
Subsequently, when the recording paper detection mode is the BM label detection mode for printing the marked label paper P2, the lower transmission light amount threshold SLt is selected as the threshold of the transmission photosensor 26, and the reflection photosensor. As the threshold value 27, the upper reflected light amount threshold value SHr is selected.
In this setting, as in the label detection mode, the determination result for the transmitted light amount is always “H” at the position of the peeling mount 12b including the transparent mount, and is always “L” at the position of the label 12c. Further, for the continuous paper P3 with marks and the continuous paper P4 without marks, it becomes “L” when the transmittance of the continuous paper is low, and becomes “H” when the transmittance is high. On the other hand, the determination result for the amount of reflected light is always “
“L”, but “L” or “H” for a portion of the mount such as a transparent mount where the amount of reflected light is unstable. In the case of a low reflectance mount other than the transparent mount, the amount of reflected light is “L”. " Then, it is “H” for the portion of the normal peeling mount 12b where the amount of reflected light is not unstable and the reflectance is not low, and the portion of the label 12c excluding the black mark 12d.

BMラベル検出モードにおける記録紙12aの有無の判定基準、すなわち、紙無し状態
であると判定するための条件は、ラベル検出モードおよびBM検出モードと同様に、透過
光量が「H」、且つ、反射光量が「L」となることである。BMラベル検出モードでは、
ラベル紙P1あるいはマーク付きラベル紙P2については、BM検出モードと同様に、ラ
ベル12cの位置での透過光量に対する判定結果が必ず「L」になるので、少なくともラ
ベル間ギャップの長さ以上記録紙12aを搬送する間の検出出力を監視すれば、透過光量
に対する判定結果が必ず「L」となる。一方、マーク付き連続紙P3あるいはマーク無し
連続紙P4については、ブラックマーク12dを除く部分に対しては反射光量に対する判
定結果が必ず「H」になるので、少なくともブラックマーク12dの搬送方向の長さ以上
記録紙12aを搬送する間の検出出力を監視すれば、透過光量に対する判定結果が必ず「
H」となる。よって、この判定基準に従って紙無しの判定を行えば、記録紙12aが透過
型フォトセンサー26および反射型フォトセンサー27による検出位置に存在していると
きに、紙無し状態であると誤判定することがない。
The criteria for determining the presence or absence of the recording paper 12a in the BM label detection mode, that is, the condition for determining that there is no paper is the same as in the label detection mode and the BM detection mode. The amount of light is “L”. In the BM label detection mode,
As for the label paper P1 or the labeled label paper P2, as in the BM detection mode, the determination result with respect to the amount of transmitted light at the position of the label 12c is always “L”, so that the recording paper 12a is at least longer than the length of the gap between labels. If the detection output during monitoring is monitored, the determination result for the transmitted light amount is always “L”. On the other hand, for the continuous paper P3 with marks or the continuous paper P4 without marks, the determination result for the amount of reflected light is always “H” for the portions other than the black mark 12d, so at least the length of the black mark 12d in the transport direction. If the detection output during the conveyance of the recording paper 12a is monitored, the determination result for the transmitted light amount is always “
H ". Therefore, if it is determined that there is no paper according to this determination criterion, it is erroneously determined that the recording paper 12a is out of paper when the recording paper 12a is present at a detection position by the transmissive photosensor 26 and the reflective photosensor 27. There is no.

BMラベル検出モードにおいて紙無し状態ではないと判定した場合には、反射型フォト
センサー27の検出出力に基づき、用紙種類の判定を行う。すなわち、この場合には、B
M検出モードと同様に、ラベル長以上記録紙12aを搬送する間の反射型フォトセンサー
27の検出出力に基づいてブラックマーク12dを検出し、検出したブラックマーク12
dの位置を基準として印刷を行うことができる。一方、ブラックマーク12dが検出され
ない場合には、装填されている記録紙12aが印刷対象とは異なることになるので、用紙
種違いと判定して所定のエラー処理を行う。
If it is determined in the BM label detection mode that there is no paper, the paper type is determined based on the detection output of the reflective photosensor 27. That is, in this case, B
Similar to the M detection mode, the black mark 12d is detected based on the detection output of the reflective photosensor 27 while the recording paper 12a is conveyed for the label length or longer, and the detected black mark 12 is detected.
Printing can be performed based on the position of d. On the other hand, when the black mark 12d is not detected, the loaded recording paper 12a is different from the printing target, so that it is determined that the paper type is different and predetermined error processing is performed.

続いて、記録紙検出モードがマーク無し連続紙P4を印刷対象とする連続紙検出モード
である場合には、透過型フォトセンサー26の閾値は上側透過光量閾値SHtが選択され
、反射型フォトセンサー27の閾値は上側反射光量閾値SHrが選択されている。この設
定は、上述したBM検出モードと同じ設定である。また、この連続紙検出モードにおける
記録紙12aの有無の判定基準は、他の検出モードと同様に、透過光量が「H」、且つ、
反射光量が「L」となることである。従って、連続紙検出モードにおいても、他の検出モ
ードと同様の判定方法により、誤判定を発生させずに、記録紙12aの有無を判定するこ
とが可能である。
Subsequently, when the recording paper detection mode is the continuous paper detection mode for printing the unmarked continuous paper P4, the upper transmission light amount threshold value SHt is selected as the threshold value of the transmission type photosensor 26, and the reflection type photosensor 27 is selected. As the threshold value, the upper reflected light amount threshold value SHr is selected. This setting is the same setting as the BM detection mode described above. In addition, the determination criterion for the presence or absence of the recording paper 12a in this continuous paper detection mode is that the amount of transmitted light is “H”, as in the other detection modes, and
The amount of reflected light is “L”. Accordingly, even in the continuous paper detection mode, it is possible to determine the presence / absence of the recording paper 12a by the same determination method as in the other detection modes without causing erroneous determination.

連続紙検出モードにおいて紙無し状態ではないと判定した場合には、透過型フォトセン
サー26と反射型フォトセンサー27の検出出力に基づき、用紙種類の判定を行う。すな
わち、連続紙検出モードでは、透過型フォトセンサー26の閾値は上側透過光量閾値SH
tが選択されているので、ラベル長以上記録紙12aを搬送する間の透過型フォトセンサ
ー26の検出出力に基づいてラベル12cを検出し、ラベル12cが検出された場合には
、用紙種違いと判定することができる。一方、ラベル12cが検出されない場合には、更
に、反射型フォトセンサー27の検出出力に基づいてブラックマーク12dの位置を検出
する。反射型フォトセンサー27の閾値は上側反射光量閾値SHrが選択されているので
、ブラックマーク12dを確実に検出でき、マーク無し連続紙P4とマーク付き連続紙P
3を判別することができる。よって、用紙種違いを正確に判定することができる。
If it is determined that there is no paper in the continuous paper detection mode, the paper type is determined based on the detection outputs of the transmissive photosensor 26 and the reflective photosensor 27. That is, in the continuous paper detection mode, the threshold of the transmissive photosensor 26 is the upper transmitted light amount threshold SH.
Since t is selected, the label 12c is detected based on the detection output of the transmission type photosensor 26 while the recording paper 12a is conveyed for the label length or longer, and if the label 12c is detected, the paper type is different. Can be determined. On the other hand, when the label 12c is not detected, the position of the black mark 12d is further detected based on the detection output of the reflective photosensor 27. Since the upper reflected light amount threshold value SHr is selected as the threshold value of the reflection type photosensor 27, the black mark 12d can be detected with certainty, the unmarked continuous paper P4 and the marked continuous paper P.
3 can be discriminated. Therefore, it is possible to accurately determine the paper type difference.

本実施形態では、以上のように、透過型フォトセンサー26と反射型フォトセンサー2
7の2種類のセンサーの検出結果を用いてAND判定を行うことにより記録紙12aの有
無を判定しており、その際、2種類のセンサーの判定用閾値を2段階設定し、印刷対象の
記録紙12aの用紙種類に応じて、適切な判定用閾値の組み合わせを用いている。これに
より、他の記録紙12aと同じ閾値設定では誤検出される可能性が高い薄手のマーク付き
連続紙P3やマーク無し連続紙P4、あるいは、剥離台紙12bとして透明台紙を含む低
反射率台紙を用いたラベル紙P1やマーク付きラベル紙P2などを含む様々な用紙種類に
ついても、誤検出を発生させずに記録紙12aの有無を検出することができる。
In the present embodiment, as described above, the transmissive photosensor 26 and the reflective photosensor 2 are used.
7 is used to determine the presence or absence of the recording paper 12a by performing AND determination using the detection results of the two types of sensors. At this time, the determination thresholds of the two types of sensors are set in two stages, and the print target is recorded. An appropriate combination of thresholds for determination is used according to the paper type of the paper 12a. As a result, a thin-mark continuous paper P3 or unmarked continuous paper P4 that is likely to be erroneously detected with the same threshold setting as the other recording paper 12a, or a low-reflectance mount including a transparent mount as the release mount 12b is used. The presence / absence of the recording paper 12a can be detected without causing erroneous detection of various types of paper including the label paper P1 and the labeled label paper P2 used.

また、透過型フォトセンサー26は記録紙12a上の各ラベル12cを検出するための
ラベル検出器として設置されるものであり、反射型フォトセンサー27はブラックマーク
12dを検出するためのマーク検出器として設置されるものである。そして、上記の2段
階の閾値設定は、ラベル検出器が必要な場合に透過型フォトセンサー26をラベル検出器
として機能させ、マーク検出器が必要な場合に反射型フォトセンサー27をマーク検出器
として機能させるように設定されている。よって、専用のセンサーを設けずに、マーク検
出器およびラベル検出器を用いて紙無し検出を行うことができる。
The transmissive photosensor 26 is installed as a label detector for detecting each label 12c on the recording paper 12a, and the reflective photosensor 27 is a mark detector for detecting the black mark 12d. It will be installed. The two-stage threshold setting described above allows the transmissive photosensor 26 to function as a label detector when a label detector is required, and the reflective photosensor 27 as a mark detector when a mark detector is required. It is set to work. Therefore, it is possible to detect the absence of paper using a mark detector and a label detector without providing a dedicated sensor.

なお、上記実施形態では、透過型フォトセンサー26と反射型フォトセンサー27の判
定用閾値をそれぞれ2段階に設定しておいたが、3段階以上の判定用閾値を設定しておき
、用紙の仕様に応じて使い分けても良い。
In the above-described embodiment, the determination threshold values of the transmission type photosensor 26 and the reflection type photosensor 27 are set in two stages, but three or more determination threshold values are set, and the sheet specifications are set. You may use properly according to.

また、上記実施形態では、印刷指令や印刷データを受信した場合に行う印刷ジョブ実行
の際の紙無し検出について説明していたが、ロール紙12を装填したときの頭出しのため
の搬送など、印刷動作を伴わない記録紙12aの搬送の際にも同様の方法で紙無し検出や
用紙種類の検出を行うことができる。この場合には、予め搬送対象の用紙種類や記録紙検
出モードを設定しておけばよい。
Further, in the above-described embodiment, the detection of the absence of paper at the time of executing a print job performed when a print command or print data is received has been described. However, conveyance for cueing when the roll paper 12 is loaded, etc. Even when the recording paper 12a is transported without a printing operation, it is possible to detect the absence of paper and the type of paper by the same method. In this case, the paper type to be transported and the recording paper detection mode may be set in advance.

1…プリンター、2…プリンター本体、3…開閉蓋、4…排出口、5…排紙ガイド、7…
ロール紙収納部、8…プラテン、9…ヘッドユニットフレーム、10…プリンター本体フ
レーム、12…ロール紙、12a…記録紙、12b…剥離台紙、12c…ラベル、12d
…ブラックマーク、13…インクジェットヘッド、13a…ヘッドドライバー、18…プ
ラテンフレーム、20…テンションガイド、20a…繰り出しローラー、26…透過型フ
ォトセンサー、27…反射型フォトセンサー、30…制御部、31…記憶部、32…上位
機器、A…搬送路、L1、L2、L5、L6…透過光量、L3、L4、L7…反射光量、
P1…ラベル紙、P2…マーク付きラベル紙、P3…マーク付き連続紙、P4…マーク無
し連続紙、SHr…上側反射光量閾値、SLr…下側反射光量閾値、SHt…上側透過光
量閾値、SLt…下側透過光量閾値、Sr、St…閾値
DESCRIPTION OF SYMBOLS 1 ... Printer, 2 ... Printer main body, 3 ... Open / close lid, 4 ... Discharge port, 5 ... Discharge guide, 7 ...
Roll paper storage unit, 8 ... Platen, 9 ... Head unit frame, 10 ... Printer body frame, 12 ... Roll paper, 12a ... Recording paper, 12b ... Release sheet, 12c ... Label, 12d
DESCRIPTION OF SYMBOLS ... Black mark, 13 ... Inkjet head, 13a ... Head driver, 18 ... Platen frame, 20 ... Tension guide, 20a ... Feeding roller, 26 ... Transmission type photo sensor, 27 ... Reflection type photo sensor, 30 ... Control part, 31 ... Storage unit, 32 ... host device, A ... transport path, L1, L2, L5, L6 ... transmitted light amount, L3, L4, L7 ... reflected light amount,
P1 ... label paper, P2 ... marked label paper, P3 ... continuous paper with mark, P4 ... continuous paper without mark, SHr ... upper reflected light intensity threshold, SLr ... lower reflected light intensity threshold, SHt ... upper transmitted light intensity threshold, SLt ... Lower transmitted light amount threshold value, Sr, St ... threshold value

Claims (8)

複数の用紙種類の記録紙を択一的に装填するプリンターにおける記録紙検出方法であっ
て、
前記記録紙を搬送する搬送路に反射型フォトセンサーと透過型フォトセンサーを設置し
ておき、
前記反射型フォトセンサーによる受光出力の判定に用いる複数の反射光量閾値を予め設
定しておくと共に、前記透過型フォトセンサーによる受光出力の判定に用いる複数の透過
光量閾値を予め設定しておき、
前記記録紙の印刷または搬送を行うときには、
当該印刷または搬送を開始する前に、前記複数の反射光量閾値のいずれか一つ、および
、前記複数の透過光量閾値のいずれか一つを判定用閾値として設定しておき、
前記判定用閾値と、前記反射型フォトセンサーおよび前記透過型フォトセンサーの受光
出力に基づき、前記搬送路における前記記録紙の有無または前記用紙種類を検出すること
を特徴とする記録紙検出方法。
A recording paper detection method for a printer that selectively loads recording paper of a plurality of paper types,
A reflection type photo sensor and a transmission type photo sensor are installed in the conveyance path for conveying the recording paper,
A plurality of reflected light amount threshold values used for determination of the light reception output by the reflection type photosensor are set in advance, and a plurality of transmission light amount threshold values used for determination of the light reception output by the transmission type photosensor are set in advance,
When printing or transporting the recording paper,
Before starting the printing or conveyance, set any one of the plurality of reflected light amount thresholds and one of the plurality of transmitted light amount thresholds as a determination threshold,
A recording paper detection method, comprising: detecting the presence or absence of the recording paper in the transport path or the paper type based on the determination threshold value and light reception outputs of the reflective photosensor and the transmissive photosensor.
請求項1に記載の記録紙検出方法において、
前記透過型フォトセンサーの受光出力が前記判定用閾値として設定した前記透過光量閾
値よりも高く、且つ、前記反射型フォトセンサーの受光出力が前記判定用閾値として設定
した前記反射光量閾値よりも低い場合に、前記搬送路における前記記録紙の紙無し状態と
判定することを特徴とする記録紙検出方法。
The recording paper detection method according to claim 1,
When the light reception output of the transmission photosensor is higher than the transmission light amount threshold set as the determination threshold, and the light reception output of the reflection photosensor is lower than the reflection light threshold set as the determination threshold And determining that the recording sheet is out of paper in the transport path.
請求項1または2に記載の記録紙検出方法において、
前記複数の用紙種類の記録紙は、長尺の台紙に一定間隔でラベルが貼られたラベル紙と
、一定間隔でマークが付されたマーク付き記録紙を含み、
前記ラベル紙の印刷または搬送を行うときには、前記透過型フォトセンサーの受光出力
に基づいて前記ラベルを検出し、
前記マーク付き記録紙の印刷または搬送を行うときには、前記反射型フォトセンサーの
受光出力に基づいて前記マークを検出することを特徴とする記録紙検出方法。
In the recording paper detection method according to claim 1 or 2,
The recording paper of the plurality of paper types includes a label paper in which labels are pasted at a constant interval on a long mount, and a recording paper with a mark to which marks are attached at a constant interval,
When printing or transporting the label paper, the label is detected based on the light reception output of the transmissive photosensor,
A method for detecting a recording paper, wherein when the recording paper with a mark is printed or conveyed, the mark is detected based on a light reception output of the reflective photosensor.
請求項3に記載の記録紙検出方法において、
前記複数の用紙種類の記録紙は、前記ラベルよりも透過率が高い連続紙を含み、
前記複数の透過光量閾値は、前記ラベルを透過する透過光量よりも高く、且つ、前記台
紙を透過する透過光量よりも低い下側透過光量閾値と、前記連続紙を透過する透過光量よ
りも高い上側透過光量閾値を含み、
前記ラベル紙の印刷または搬送を行うときには、前記下側透過光量閾値を前記判定用閾
値として用い、
前記連続紙の印刷または搬送を行うときには、前記上側透過光量閾値を前記判定用閾値
として用いることを特徴とする記録紙検出方法。
In the recording paper detection method according to claim 3,
The recording paper of the plurality of paper types includes continuous paper having a higher transmittance than the label,
The plurality of transmitted light amount threshold values are lower than the transmitted light amount that passes through the label and lower than the transmitted light amount that passes through the mount, and the upper side that is higher than the transmitted light amount that passes through the continuous paper. Including transmitted light threshold,
When printing or transporting the label paper, the lower transmitted light amount threshold is used as the determination threshold,
A recording paper detection method, wherein when the continuous paper is printed or conveyed, the upper transmitted light amount threshold value is used as the determination threshold value.
請求項3または4に記載の記録紙検出方法において、
前記複数の用紙種類の記録紙は、前記台紙として低反射率台紙を用いたラベル紙を含み

前記複数の反射光量閾値は、前記マーク付き記録紙のマーク部分による反射光量よりも
高く、且つ、前記マーク付き記録紙のマーク以外の部分による反射光量よりも低い上側反
射光量閾値と、前記低反射率台紙による反射光量よりも低い下側反射光量閾値を含み、
前記マーク付き記録紙の印刷または搬送を行うときには、前記上側反射光量閾値を前記
判定用閾値として用い、
前記低反射率台紙のラベル紙の印刷または搬送を行うときには、前記下側反射光量閾値
を前記判定用閾値として用いることを特徴とする記録紙検出方法。
In the recording paper detection method according to claim 3 or 4,
The recording paper of the plurality of paper types includes label paper using a low reflectance mount as the mount,
The plurality of reflected light amount threshold values are higher than a reflected light amount by a mark portion of the marked recording paper and lower than a reflected light amount by a portion other than the mark of the marked recording paper, and the low reflection amount Including a lower reflected light amount threshold value lower than the reflected light amount by the rate mount,
When printing or transporting the marked recording paper, the upper reflected light amount threshold is used as the determination threshold,
A recording paper detection method, wherein when the label sheet of the low reflectance mount is printed or conveyed, the lower reflected light amount threshold value is used as the determination threshold value.
複数の用紙種類の記録紙を択一的に装填するプリンターにおける記録紙検出方法であっ
て、
前記記録紙を搬送する搬送路に反射型フォトセンサーと透過型フォトセンサーを設置し
ておき、
前記反射型フォトセンサーによる受光出力の判定に用いる少なくとも2つの反射光量閾
値を予め設定しておくと共に、前記透過型フォトセンサーによる受光出力の判定に用いる
少なくとも2つの透過光量閾値を予め設定しておき、
前記記録紙に印刷するときまたは前記記録紙を搬送するときには、
前記記録紙の用紙種類を設定すると共に、前記複数の反射光量閾値のいずれか一つ、お
よび、前記複数の透過光量閾値のいずれか一つを判定用閾値として設定しておき、
前記判定用閾値と、前記反射型フォトセンサーおよび前記透過型フォトセンサーの受光
出力に基づき、前記搬送路における前記記録紙の有無または前記用紙種類を検出すること
を特徴とする記録紙検出方法。
A recording paper detection method for a printer that selectively loads recording paper of a plurality of paper types,
A reflection type photo sensor and a transmission type photo sensor are installed in the conveyance path for conveying the recording paper,
At least two reflected light amount threshold values used for determination of the received light output by the reflective photosensor are set in advance, and at least two transmitted light amount threshold values used for determination of the received light output by the transmissive photosensor are set in advance. ,
When printing on the recording paper or transporting the recording paper,
In addition to setting the paper type of the recording paper, any one of the plurality of reflected light amount threshold values and one of the plurality of transmitted light amount threshold values are set as determination threshold values,
A recording paper detection method, comprising: detecting the presence or absence of the recording paper in the transport path or the paper type based on the determination threshold value and light reception outputs of the reflective photosensor and the transmissive photosensor.
請求項1ないし6のいずれかの項に記載の記録紙検出方法において、
前記記録紙への印刷または前記記録紙の搬送を開始する前に、上位装置から受信したコ
マンドに基づいて、前記判定用閾値を設定することを特徴とする記録紙検出方法。
In the recording paper detection method according to any one of claims 1 to 6,
A recording paper detection method, wherein the determination threshold value is set based on a command received from a host device before printing on the recording paper or conveyance of the recording paper is started.
請求項1ないし7のいずれかの項に記載の記録紙検出方法により、前記搬送路における
前記記録紙の有無を検出することを特徴とするプリンター。
A printer that detects the presence or absence of the recording paper in the conveyance path by the recording paper detection method according to claim 1.
JP2009047676A 2009-03-02 2009-03-02 Method for detecting recording paper and printer Withdrawn JP2010202307A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009047676A JP2010202307A (en) 2009-03-02 2009-03-02 Method for detecting recording paper and printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009047676A JP2010202307A (en) 2009-03-02 2009-03-02 Method for detecting recording paper and printer

Publications (1)

Publication Number Publication Date
JP2010202307A true JP2010202307A (en) 2010-09-16

Family

ID=42964199

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009047676A Withdrawn JP2010202307A (en) 2009-03-02 2009-03-02 Method for detecting recording paper and printer

Country Status (1)

Country Link
JP (1) JP2010202307A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101321566B1 (en) 2012-04-24 2013-10-23 주식회사 빅솔론 Printing control method for label printer
JP2015124046A (en) * 2013-12-26 2015-07-06 キヤノン株式会社 Image formation apparatus
CN113646809A (en) * 2019-03-14 2021-11-12 劳雷尔银行机械株式会社 Paper sheet detection device, paper sheet detection method, and paper sheet processing device
WO2022202097A1 (en) * 2021-03-26 2022-09-29 京セラドキュメントソリューションズ株式会社 Image formation device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101321566B1 (en) 2012-04-24 2013-10-23 주식회사 빅솔론 Printing control method for label printer
JP2015124046A (en) * 2013-12-26 2015-07-06 キヤノン株式会社 Image formation apparatus
CN113646809A (en) * 2019-03-14 2021-11-12 劳雷尔银行机械株式会社 Paper sheet detection device, paper sheet detection method, and paper sheet processing device
US11858775B2 (en) 2019-03-14 2024-01-02 Laurel Bank Machines Co., Ltd. Paper sheet detection device, paper sheet detection method, and paper sheet processing device
WO2022202097A1 (en) * 2021-03-26 2022-09-29 京セラドキュメントソリューションズ株式会社 Image formation device

Similar Documents

Publication Publication Date Title
JP5082755B2 (en) Recording medium detection method and label printer
EP2149454B1 (en) Paper width determination method for a label printer, printing control method for a label printer, and a label printer
JP6728578B2 (en) Printing device, printing device control method, and program
JP5217737B2 (en) Paper width detection method for label printer, printing control method for label printer, and label printer
JP5371283B2 (en) Recording device
US8646996B2 (en) Method of setting paper in a printer, and a printer
JP2010202307A (en) Method for detecting recording paper and printer
JP2006289887A (en) Method of loading recording paper of printer
JP2010036440A (en) Reprinting controlling method of printer, and printer
JP5309767B2 (en) Paper width detection method for label printer, printing control method for label printer, and label printer
JP5668280B2 (en) Printing apparatus and edge detection method of printing medium
JP2010030190A (en) Positioning method of recording paper and printer
JP2005022130A (en) Method for positioning recording paper sheet for printer, program for performing this method in computer, recording medium recording this program for printer, recording paper sheet for printer, and printer
JP2009234021A (en) Label carrying method of label printer and label printer
JP2010247523A (en) Label printer and method for preventing printing page from dropping out
US11298960B2 (en) Printer device and control method of printer device
JP2010023387A (en) Method for cutting recording paper in printer and printer
JP4428132B2 (en) Continuous paper mark detection method, mark detection detection mechanism, and printer
JP2013063834A (en) Printing apparatus, and control method thereof
JP2010023386A (en) Method for cutting recording paper in printer and printer
JP2013075764A (en) Image recorder
JP5609999B2 (en) Printer reprint control method and printer
JP2005001887A (en) Printer, control method and program of printer
CN108621604B (en) Printing device
JP2010030088A (en) Control method for printer, and printer

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20120605