JP2012030435A - Printer - Google Patents
Printer Download PDFInfo
- Publication number
- JP2012030435A JP2012030435A JP2010170635A JP2010170635A JP2012030435A JP 2012030435 A JP2012030435 A JP 2012030435A JP 2010170635 A JP2010170635 A JP 2010170635A JP 2010170635 A JP2010170635 A JP 2010170635A JP 2012030435 A JP2012030435 A JP 2012030435A
- Authority
- JP
- Japan
- Prior art keywords
- voltage value
- printing paper
- value
- printing
- conveyance
- 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.)
- Granted
Links
Images
Landscapes
- Printers Characterized By Their Purpose (AREA)
- Handling Of Sheets (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Electronic Switches (AREA)
Abstract
Description
本発明は、被印刷用紙に対し所望の印刷を行うプリンタに関する。 The present invention relates to a printer that performs desired printing on a printing paper.
従来、被印刷材(テープ)を搬送しつつ所望の文字を印刷する印刷装置(ラベル作成装置)において、予め被印刷材の搬送方向の所定位置に光吸収性の黒マークを印刷しておき、この黒マークを光学的に検出可能な用紙検出センサを備えることで被印刷材の搬送方向に対する位置を検出する技術が提案されている(例えば、特許文献1)。このような場合に使用される上記用紙検出センサは、一般的に投光器と受光器で構成される反射型センサであり、投光器からの投光による反射光を受光器で検出する。そして上記黒マークではそれ以外の部分に比べて反射光量が小さくなる挙動を利用して、用紙検出センサ上における当該黒マークの通過を検出する。 Conventionally, in a printing apparatus (label creation apparatus) that prints a desired character while conveying a printing material (tape), a light-absorbing black mark is printed in advance at a predetermined position in the conveyance direction of the printing material, There has been proposed a technique for detecting the position of the printing material in the conveyance direction by including a paper detection sensor that can optically detect the black mark (for example, Patent Document 1). The paper detection sensor used in such a case is a reflection type sensor generally composed of a projector and a light receiver, and the light reflected by the light projection from the projector is detected by the light receiver. The black mark detects the passage of the black mark on the paper detection sensor by utilizing the behavior that the amount of reflected light is smaller than that of the other portions.
ところで、上記のような反射型センサを用いて搬送制御等を行う印刷装置のうち、例えば被印刷材として紙の被印刷用紙を用いる通常のプリンタの場合、ユーザによっては、やや異質な被印刷用紙を用いる可能性がある。すなわち例えば、汚れがあったり黄ばんだりして通常の白い用紙よりも白色度が低い被印刷用紙を使用したり、色あせたりして古くなったりして光吸収性能が低下した(言い換えれば黒色度が低下した)黒マークを備えた被印刷用紙を使用する場合があり得る。本来であれば、前述のようにして、黒マークの光吸収性の性質により受光器で受光する反射光量が大きく減ることで黒マークが検出される。しかしながら、上記のように白色度の低下や黒色度の低下があると、黒マークと黒マーク以外の部分とにおいて受光器での受光量の変化挙動が緩和される。この場合、黒マークの検出精度が低下し、結果として、被印刷用紙の搬送制御や印刷制御が十分な精度で行えないおそれがあった。 By the way, in the case of a normal printer that uses paper printing paper as a printing material among printing apparatuses that perform conveyance control using the reflection type sensor as described above, depending on the user, printing paper that is slightly different in quality is used. May be used. In other words, for example, a paper to be printed that is dirty or yellowed and has a lower whiteness than normal white paper, or faded to become old and deteriorated in light absorption performance (in other words, the blackness is reduced). It may be possible to use printing paper with black marks that have been reduced. Originally, as described above, the black mark is detected by greatly reducing the amount of reflected light received by the light receiver due to the light-absorbing property of the black mark. However, when there is a decrease in whiteness or a decrease in blackness as described above, the behavior of change in the amount of light received by the light receiver is reduced between the black mark and the portion other than the black mark. In this case, the black mark detection accuracy is lowered, and as a result, there is a possibility that the conveyance control and the print control of the printing paper cannot be performed with sufficient accuracy.
本発明の目的は、ユーザが白色度や黒色度の低下した被印刷用紙を用いた場合であっても、搬送制御や印刷制御を高精度に行い、確実に被印刷用紙へ印刷を行える、プリンタを提供することにある。 An object of the present invention is to provide a printer that can accurately perform conveyance control and print control and reliably print on a printing paper even when the user uses printing paper with reduced whiteness and blackness. Is to provide.
上記目的を達成するために、第1の発明は、光吸収性の位置決め用マークを備えた被印刷用紙を搬送する搬送手段と、前記搬送手段により搬送される前記被印刷用紙に対し、所望の印刷を行うサーマルヘッドと、前記搬送手段により搬送される前記被印刷用紙の搬送経路に向かって投光可能な投光手段、及び、受光した光量に対応した検出電圧値を出力可能な受光手段、を備えた光学センサと、前記受光手段による前記検出電圧に関して予め定められた所定の初期しきい値を記憶する初期値記憶手段と、更新指示信号にしたがって、前記初期値記憶手段に記憶された前記初期しきい値に代えて新規しきい値を算出するしきい値更新手段と、前記しきい値更新手段による前記新規しきい値の算出後の、前記受光手段の前記検出電圧値が前記新規しきい値に到達したことによって、前記位置決め用マークの検出を行うマーク検出手段と、印刷指示信号の入力にしたがって、搬送を開始するように前記搬送手段を制御するとともに、前記マーク検出手段の検出結果に基づき前記搬送手段の搬送動作を制御する、印刷用搬送制御手段と、前記マーク検出手段の検出結果に基づき、前記サーマルヘッドの印刷動作を制御する印刷制御手段と、前記更新指示信号に応じて、前記被印刷用紙を所定距離だけ搬送するように前記搬送手段を制御する、更新用搬送制御手段と、を有し、前記初期しきい値は、前記受光手段による前記検出電圧値の範囲に対応して予め定められた所定の初期白対応電圧値Vw0及び初期黒対応電圧値Vb0と、初期係数k0を用いて算出した値Vb0+k0(Vw0-Vb0);(但しk0は1未満の数)であり、前記新規しきい値は、前記更新用搬送制御手段の制御に基づき前記搬送手段が前記所定距離だけ前記被印刷用紙を搬送する間の、前記受光手段により出力された前記検出電圧値に基づいて取得される実白対応電流値Vw1及び実黒対応電流値Vb1と新たに設定される実係数k1とを用いて算出した値Vb1+k1(Vw1−Vb1)であることを特徴とする。 In order to achieve the above object, the first invention provides a conveying means for conveying a printing paper provided with a light-absorbing positioning mark, and a desired printing paper conveyed by the conveying means. A thermal head for performing printing, a light projecting unit capable of projecting light toward a transport path of the printing paper transported by the transport unit, and a light receiving unit capable of outputting a detection voltage value corresponding to the received light amount, An initial value storage means for storing a predetermined initial threshold value predetermined for the detection voltage by the light receiving means, and the initial value storage means stored in the initial value storage means in accordance with an update instruction signal Threshold value updating means for calculating a new threshold value instead of the initial threshold value, and the detected voltage value of the light receiving means after the calculation of the new threshold value by the threshold value updating means is the new value. When the threshold value is reached, the mark detection means for detecting the positioning mark and the conveyance means to start conveyance according to the input of the print instruction signal, and the detection result of the mark detection means In response to the update instruction signal, a printing transport control unit that controls the transport operation of the transport unit based on the detection result, a print control unit that controls the printing operation of the thermal head based on the detection result of the mark detection unit, and An update conveyance control means for controlling the conveyance means so as to convey the printing paper by a predetermined distance, and the initial threshold corresponds to a range of the detection voltage value by the light receiving means. The predetermined initial white corresponding voltage value Vw0 and the initial black corresponding voltage value Vb0 and the value Vb0 + k0 (Vw0−Vb) calculated using the initial coefficient k0. ); (Where k0 is a number less than 1), and the new threshold value is calculated while the conveyance unit conveys the printing paper by the predetermined distance based on the control of the update conveyance control unit. A value Vb1 + k1 (Vw1−Vb1) calculated using the actual white corresponding current value Vw1 and actual black corresponding current value Vb1 acquired based on the detected voltage value output by the light receiving means and the newly set actual coefficient k1. ).
本願第1発明のプリンタでは、印刷の実行時には、搬送手段が被印刷用紙を搬送し、その搬送される途中の被印刷用紙に対してサーマルヘッドが所望の印刷を行う。被印刷用紙には光吸収性の位置決め用マークが設けられており、光学センサの投光手段からの投光による反射光が受光手段で検出されるとき、位置決め用マークではそれ以外の部分に比べて反射光量が小さくなる。このため、位置決め用マークに対し投光されたときは、光量に対応し受光手段から出力される検出電圧値が変化する(小さくなる、若しくは、大きくなる)。位置決め用マークにおけるこの挙動を利用して、マーク検出手段が位置決め用マークの検出を行い、この検出結果に基づいて印刷用搬送制御手段が搬送手段の搬送動作を制御するとともに印刷制御手段がサーマルヘッドの印刷動作を制御する。 In the printer according to the first aspect of the present invention, when printing is performed, the transport unit transports the printing paper, and the thermal head performs desired printing on the printing paper that is being transported. The paper to be printed is provided with a light-absorbing positioning mark. When reflected light from the light projecting means of the optical sensor is detected by the light receiving means, the positioning mark is compared with the other parts. This reduces the amount of reflected light. For this reason, when light is projected onto the positioning mark, the detection voltage value output from the light receiving means changes (decreases or increases) corresponding to the amount of light. Using this behavior in the positioning mark, the mark detecting means detects the positioning mark, and based on the detection result, the printing conveyance control means controls the conveying operation of the conveying means, and the printing control means is the thermal head. Control the printing operation.
ここで、上述の検出電圧値に基づく位置決め用マークの検出では、検出電圧と予め定められたしきい値との大小を比較することで、上記検出が行われる。本願第1発明においては、検出電圧値の範囲に対応して、所定の初期白対応電圧値Vw0及び初期黒対応電圧値Vb0に基づく、所定の初期しきい値Vb0+k0(Vw0-Vb0);(k0はkの初期値である初期係数で、1未満の数)が予め設定されており、これらVw0,Vb0,Vb0+k0(Vw0-Vb0)は、初期値記憶手段に記憶されている。 Here, in the detection of the positioning mark based on the detection voltage value described above, the detection is performed by comparing the detection voltage with a predetermined threshold value. In the first invention of the present application, a predetermined initial threshold value Vb0 + k0 (Vw0−Vb0) based on a predetermined initial white corresponding voltage value Vw0 and an initial black corresponding voltage value Vb0 corresponding to the range of the detected voltage value; Is an initial coefficient that is an initial value of k and is a number less than 1), and Vw0, Vb0, Vb0 + k0 (Vw0-Vb0) are stored in the initial value storage means.
この場合、被印刷用紙への印刷時において、搬送される被印刷用紙のうち位置決め用マーク以外の部位に投光された場合は検出電圧値が比較的大きくなる(又は比較的小さくなる)一方、位置決め用マークに投光された場合は検出電圧値が小さくなり(又は大きくなり)、すなわち所定の変動幅内で想定される大小変動となる。その変動の中で検出電圧値が上記初期しきい値に到達した場合に、そのことをもって位置決め用マークの検出を行うことができる。 In this case, at the time of printing on the printing paper, the detection voltage value is relatively large (or relatively small) when light is projected to a portion other than the positioning mark among the printing paper to be conveyed. When the light is projected onto the positioning mark, the detection voltage value becomes small (or becomes large), that is, the magnitude fluctuation assumed within a predetermined fluctuation range. When the detected voltage value reaches the initial threshold value in the fluctuation, the positioning mark can be detected accordingly.
ところで、ユーザによっては、例えば、汚れがあったり黄ばんだりして通常の白い用紙よりも白色度が低い被印刷用紙を使用したり、色あせたりして古くなったりして光吸収性能が低下した(言い換えれば黒色度が低下した)位置決め用マークを備えた被印刷用紙を使用する場合があり得る。本来であれば、前述のようにして、位置決め用マークの光吸収性の性質により受光手段での受光量が大きく減り検出電圧が大きく変化することで位置決め用マークが検出されるが、上記のように白色度の低下や黒色度の低下があると、位置決め用マークによる受光手段での受光量の変化挙動が緩和される。すなわち、上述の検出電圧の変化量が小さくなることで検出電圧の変動幅が小さくなり、その結果位置決め用マークに投光された場合でも受光量が上記初期しきい値Vb0+k0(Vw0-Vb0)へ到達せず、位置決め用マークの検出が困難となる可能性がある。 By the way, depending on the user, for example, a light-absorbing performance is deteriorated by using a printing paper having a lower whiteness than a normal white paper due to dirt or yellowing, or fading and becoming old. In other words, there may be a case in which a printing paper having a positioning mark (with reduced blackness) is used. Originally, as described above, the amount of light received by the light receiving means is greatly reduced due to the light-absorbing property of the positioning mark, and the positioning mark is detected by a large change in the detection voltage. If there is a decrease in whiteness or a decrease in blackness, the change in the amount of light received by the light receiving means by the positioning mark is alleviated. That is, when the amount of change in the detection voltage is reduced, the fluctuation range of the detection voltage is reduced. As a result, even when light is projected onto the positioning mark, the amount of received light reaches the initial threshold value Vb0 + k0 (Vw0-Vb0). It may not be possible to detect the positioning mark.
そこで、本願第1発明においては、しきい値更新手段が、更新指示信号に基づき、上記白色度の低下や黒色度の低下による影響を考慮した、新たなしきい値の算出を行う。すなわち、更新指示信号が発せられると、更新用搬送制御手段の制御により搬送手段が被印刷用紙を所定距離だけ搬送する。この所定距離だけ被印刷用紙が搬送される間の受光手段からの検出電圧値に基づき、しきい値更新手段が、上記係数kの値を、k0とは異なる値の実係数k1に設定するとともに、上記Vw0からVw1に変更し、上記Vb0からVb1に変更する。この結果、上記した変動幅よりも狭いことが想定される、上記白色度や黒色度の低下時の変動幅に対応し、新規しきい値Vb1+k1(Vw1−Vb1)を新たに設定することができる。これにより、実際に印刷を実行するときに印刷用搬送制御手段の制御により搬送手段が被印刷用紙の搬送を行ったとき、位置決め用マークに投光された場合の受光量に対応した電圧値を、当該新規しきい値よりも小さく(又は大きく)することができ、確実に位置決め用マークを検出することができる。 Therefore, in the first invention of the present application, the threshold value updating means calculates a new threshold value based on the update instruction signal in consideration of the influence of the decrease in whiteness and the decrease in blackness. In other words, when an update instruction signal is issued, the conveyance unit conveys the printing paper by a predetermined distance under the control of the update conveyance control unit. Based on the detected voltage value from the light receiving means while the printing paper is conveyed by this predetermined distance, the threshold value updating means sets the value of the coefficient k to a real coefficient k1 that is different from k0. , Vw0 is changed to Vw1, and Vb0 is changed to Vb1. As a result, it is possible to newly set a new threshold value Vb1 + k1 (Vw1−Vb1) corresponding to the fluctuation range when the whiteness or blackness is lowered, which is assumed to be narrower than the above fluctuation range. . As a result, when the conveyance means conveys the printing paper under the control of the printing conveyance control means when actually performing printing, a voltage value corresponding to the amount of light received when the positioning mark is projected is set. The threshold value can be made smaller (or larger) than the new threshold value, and the positioning mark can be reliably detected.
したがって、上記白色度や黒色度の低下による検出電圧の挙動に関係なく、位置決め用マークの検出を高精度に行うことができる。この結果、ユーザが通常より白色度が低い被印刷用紙を使用したり、黒色度が低下した位置決め用マークを備えた被印刷用紙を使用した場合等であっても、印刷用搬送制御や印刷制御を高精度に行いつつ、確実な被印刷用紙への印刷を行うことができる。 Therefore, the positioning mark can be detected with high accuracy regardless of the behavior of the detection voltage due to the decrease in whiteness or blackness. As a result, even if the user uses printing paper with a lower whiteness than normal or printing paper with positioning marks with reduced blackness, printing transport control and printing control Can be reliably printed on the paper to be printed.
第2発明は、上記第1発明において、前記更新用搬送制御手段の制御に基づき前記搬送手段が前記所定距離だけ前記被印刷用紙を搬送する間の前記受光手段による前記検出電圧値に基づき、前記被印刷用紙の白色度合いが、所定の白色基準に達しているかどうかを判定する白色度判定手段を有し、前記しきい値更新手段は、前記白色度判定手段により前記被印刷用紙の白色度合いが所定の白色基準に達していないと判定された場合、k1をk0より小さな値に設定することを特徴とする。 According to a second invention, in the first invention, based on the detection voltage value by the light receiving unit while the transport unit transports the printing paper by the predetermined distance based on the control of the update transport control unit, Whiteness determination means for determining whether the whiteness level of the printing paper has reached a predetermined whiteness standard, and the threshold value updating means determines whether the whiteness level of the printing paper is determined by the whiteness determination means. When it is determined that the predetermined white reference is not reached, k1 is set to a value smaller than k0.
これにより、例えば、ユーザが、汚れがあったり黄ばんだりして通常の白い用紙よりも白色度が低い被印刷用紙を使用した場合であっても、k1をk0より小さな値に設定することで、しきい値を黒色寄りの値に変更することができる。この結果、位置決め用マークの検出を高精度に行い、確実な被印刷用紙への印刷を行うことができる。 Thereby, for example, even when the user uses a printing paper that is dirty or yellowed and has a whiteness lower than that of a normal white paper, by setting k1 to a value smaller than k0, The threshold value can be changed to a value closer to black. As a result, the positioning marks can be detected with high accuracy, and printing on the printing paper can be performed reliably.
第3発明は、上記第1発明において、前記更新用搬送制御手段の制御に基づき前記搬送手段が前記所定距離だけ前記被印刷用紙を搬送する間の前記受光手段による前記検出電圧値に基づき、前記位置決め用マークの黒色度合いが、所定の黒色基準に達しているかどうかを判定する黒色度判定手段を有し、前記しきい値更新手段は、前記黒色度判定手段により、前記位置決め用マークの黒色度合いが所定の黒色基準に達していないと判定された場合、k1をk0より大きな値に設定することを特徴とする。 According to a third invention, in the first invention, based on the detection voltage value by the light receiving unit while the conveyance unit conveys the printing paper by the predetermined distance based on the control of the update conveyance control unit, Blackness determination means for determining whether or not the blackness level of the positioning mark has reached a predetermined blackness standard, and the threshold value updating means is configured such that the blackness level of the positioning mark is determined by the blackness level determination means. Is determined to have not reached the predetermined black reference, k1 is set to a value larger than k0.
これにより、例えば、ユーザが、色あせたりして古くなったりして光吸収性能が低下した(黒色度が低下した)位置決め用マークを備えた被印刷用紙を使用した場合であっても、k1をk0より大きな値に設定することで、しきい値を白色寄りの値に変更することができる。この結果、位置決め用マークの検出を高精度に行い、確実な被印刷用紙への印刷を行うことができる。 Thereby, for example, even when the user uses printing paper provided with a positioning mark whose light absorption performance is deteriorated due to fading or becoming old (blackness is reduced), k1 is set. By setting the value larger than k0, the threshold value can be changed to a value closer to white. As a result, the positioning marks can be detected with high accuracy, and printing on the printing paper can be performed reliably.
第4発明は、上記第1発明において、前記更新用搬送制御手段は、前記更新指示信号に応じて、複数枚の前記被印刷用紙に対応した前記所定距離を連続的に搬送するように前記搬送手段を制御し、前記光学センサは、前記連続的に搬送される複数枚の前記被印刷用紙それぞれに対し、前記投光手段が投光を行うと共に前記受光手段が検出電圧値を出力し、かつ、前記更新用搬送制御手段の制御に基づき前記搬送手段が前記所定距離だけ前記複数の被印刷用紙を搬送する間に、前記複数の被印刷用紙それぞれに対応して前記受光手段から出力される複数の前記検出電圧値に基づき、前記複数の被印刷用紙の白色度合いの変動幅を検出する白色変動幅検出手段、及び、前記複数の被印刷用紙にそれぞれ設けられた複数の前記位置決め用マークの黒色度合いの変動幅を検出する黒色変動幅検出手段、を設け、前記しきい値更新手段は、前記白色変動幅検出手段により検出された白色度合いの変動幅と、前記黒色変動幅検出手段により検出された黒色度合いの変動幅と、のうち、変動幅の小さいほうに対応するように、k1を設定し、かつ当該変動幅に応じて設定されたk1と、前記複数枚の被印刷用紙に関して前記受光手段より出力された前記複数の検出電圧値のうち白色度合いが最も低い印刷用紙に係わる検出電圧値と、前記複数枚の被印刷用紙の前記位置決めマークに関して前記受光手段により出力された前記複数の検出電圧値のうち黒色度合いが最も低いと位置決め用マークに係わる検出電圧値とに基づき、前記新規しきい値の算出を行うことを特徴とする。 According to a fourth aspect of the present invention, in the first aspect of the invention, the transport control unit for update is configured to continuously transport the predetermined distance corresponding to the plurality of sheets to be printed in response to the update instruction signal. The optical sensor is configured to project the light projecting unit and to output a detection voltage value to each of the plurality of sheets of paper to be continuously conveyed, and the light receiving unit outputs a detection voltage value; A plurality of light output from the light receiving means corresponding to each of the plurality of print sheets while the transfer means conveys the plurality of print sheets by the predetermined distance based on the control of the update conveyance control means. White variation width detecting means for detecting the variation width of the whiteness degree of the plurality of printing papers based on the detected voltage value, and black of the plurality of positioning marks respectively provided on the plurality of printing papers A black fluctuation width detecting means for detecting a fluctuation width of the degree, and the threshold value updating means is detected by the white fluctuation width detected by the white fluctuation width detection means and the black fluctuation width detection means. K1 is set so as to correspond to the smaller fluctuation range of the blackness degree, and k1 set in accordance with the fluctuation range and the light reception with respect to the plurality of printing sheets. A plurality of detection voltage values outputted by the light receiving means regarding the detection voltage value relating to the printing paper having the lowest whiteness among the plurality of detection voltage values outputted from the means, and the positioning marks of the plurality of printing papers. If the blackness is the lowest among the voltage values, the new threshold value is calculated based on the detected voltage value related to the positioning mark.
これにより、複数枚の被印刷用紙それぞれに対して光学センサにより検出した白色度合い及び黒色度合いのうち、最も劣悪な条件、すなわち白黒の差が少ない条件に基づいて、しきい値が変更される。この結果、複数枚の被印刷用紙いずれに対しても、確実に位置決め用マークの検出を高精度に行うことができ、印刷用紙への印刷を行うことができる。 As a result, the threshold value is changed based on the most inferior condition among whiteness and blackness detected by the optical sensor for each of a plurality of printing papers, that is, a condition with little difference between black and white. As a result, the positioning mark can be reliably detected with high accuracy on any of a plurality of sheets of printing paper, and printing on the printing paper can be performed.
第5発明は、上記第4発明において、前記更新用搬送制御手段は、複数枚の前記被印刷用紙を連続的に搬送するときに、各被印刷用紙ごとに搬送速度が互いに異なった値となるように前記搬送手段を制御する、搬送速度設定手段を備えることを特徴とする。 In a fifth aspect based on the fourth aspect, the update transport control means has different transport speeds for each printing paper when the plurality of printing papers are continuously transported. As described above, the apparatus includes a conveyance speed setting unit that controls the conveyance unit.
搬送される被印刷用紙の位置決め用マークに対し発光及び受光を行って光学的に検出を行う場合、光学センサから被印刷用紙までの距離が、検出精度に影響を与える場合がある。本願第5発明においては、搬送速度設定手段が、複数枚の被印刷用紙それぞれについて光学センサでの検出時における搬送速度を互いに異ならせる。搬送速度が互いに異なると、被印刷用紙から光学センサまでの距離も互いに異なることとなり、言い換えれば、精度が互いに微妙に異なる複数回の検出を実施することができる。これにより、初期しきい値補正を行うときの、光学センサの精度のばらつきの影響を低減し、さらに有効なしきい値の変更を行うことができる。 When optical detection is performed by emitting and receiving light on a positioning mark on a printing paper to be conveyed, the distance from the optical sensor to the printing paper may affect the detection accuracy. In the fifth invention of this application, the conveyance speed setting means makes the conveyance speeds different at the time of detection by the optical sensor for each of the plurality of printing sheets. If the conveyance speeds are different from each other, the distances from the printing paper to the optical sensor are also different from each other. In other words, a plurality of detections with slightly different accuracy can be performed. Thereby, it is possible to reduce the influence of variations in accuracy of the optical sensor when performing the initial threshold correction, and to further change the effective threshold.
本発明によれば、ユーザが白色度や黒色度の低下した被印刷用紙を用いた場合であっても、搬送制御や印刷制御を高精度に行い、確実に被印刷用紙へ印刷を行うことができる。 According to the present invention, even when the user uses a printing paper with reduced whiteness or blackness, the conveyance control and the printing control can be performed with high accuracy, and printing can be reliably performed on the printing paper. it can.
以下、本発明の一実施の形態を図面を参照しつつ説明する。本実施形態は、本発明を携帯型のプリンタに適用した場合の実施形態である。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings. This embodiment is an embodiment when the present invention is applied to a portable printer.
図1、図2、及び図3を用いて、本実施形態の携帯型プリンタ1の外観構成及び内部構造について説明する。以下では、図1中左下方向を前方、右上方向を後方、左上方向を左方、右下方向を右方として説明する。また、以下の説明において各部品について前後左右上下の各方向をいうときは、当該各部品が携帯型プリンタ1に取り付けられた状態での各方向に対応させて説明する。 The external configuration and internal structure of the portable printer 1 according to the present embodiment will be described with reference to FIGS. 1, 2, and 3. In the following description, the lower left direction in FIG. 1 is front, the upper right direction is rear, the upper left direction is left, and the lower right direction is right. Further, in the following description, when referring to the front, rear, left, right, top, and bottom directions for each component, description will be made in correspondence with each direction in a state in which each component is attached to the portable printer 1.
図1〜図3において、携帯型プリンタ1は、例えばPC端末や携帯電話等の外部機器2(後述の図4参照)より有線通信あるいは無線通信を介して受信した印刷データを、種々の被印刷用紙53に印刷する。この携帯型プリンタ1は、樹脂材料で構成された、装置外郭を構成する略直方体形状のハウジング100と、シャーシ組立体50とを組み付けることによって、概略組み立てられる。
1 to 3, the portable printer 1 is configured to print various types of print data received from an external device 2 (see FIG. 4 described later) such as a PC terminal or a mobile phone via wired communication or wireless communication. Print on
ハウジング100は、装置外郭上部を構成するトップカバー101と、装置外郭下部を構成するアンダーカバー102と、トップカバー101の上面前方側に開閉可能に設けられたカバー部材103とを備えている。
The
ハウジング100内には、搬送手段としてのプラテンローラ111と、サーマルヘッドの一種であるサーマルラインヘッド112とが設けられている。サーマルラインヘッド112は、後方側端部に軸部材113を備えた放熱板114上に設けられており、この放熱板114は上記サイドシャーシ部材130L,130Rにより軸部材113を中心に回動可能に支持されている。また、アンダーカバー102の内表面に設けられたメインシャーシ部材150には、上記サーマルラインヘッド112を支持する放熱板114をプラテンローラ111側に回動付勢する複数のコイルバネ115が設けられている。これにより、サーマルラインヘッド112は上記プラテンローラ111に圧接可能となっている。
In the
ハウジング100の後方側には、略棒状の充電式電池10を収容するバッテリ収納室105が設けられており、このバッテリ収納室105にはバッテリ室カバー170が着脱可能に設けられている。当該バッテリ室カバー170を取り外した状態では、上記バッテリ収納室105がハウジング100の背面部分に開口する。
On the rear side of the
シャーシ組立体50は、アンダーカバー102の内表面に設けられた、シャーシ組立体50の底部を構成するメインシャーシ部材150と、このメインシャーシ部材150の長手方向両側端部より立設される一対の上記サイドシャーシ部材130L,130Rとを備えている。サイドシャーシ部材130L,130Rは、軸孔131にプラテンローラ111の軸部材111aを挿通することにより、プラテンローラ111を回転可能に支持している。プラテンローラ111は、駆動モータ11により回転駆動されることで被印刷用紙53を搬送する。またサイドシャーシ部材130L,130Rは、サーマルラインヘッド112を備えた放熱板114を、前述した軸部材113を介して回動可能に支持している。
The
左側のサイドシャーシ部材130Lには、プラテンローラ111を駆動する駆動モータ11と、この駆動モータ11の駆動力をプラテンローラ111の上記軸部材111aに伝達する、複数のギアからなるギア機構132が設けられている。
The left
また、サイドシャーシ部材130L,130Rの上部には、ビーム部材140が架け渡され、ネジにより固定されている。そして、挿入口104から挿入された被印刷用紙53をプラテンローラ111とサーマルラインヘッド112との圧接部Pに案内するガイド部材120が、ハウジング100を構成するトップカバー101、アンダーカバー102、及びカバー部材103とは分離された別体として構成されており、上記ビーム部材140に固定されることによって、サイドシャーシ部材130L,130Rに設けられている。
A
ガイド部材120は、その上部に、シャーシ組立体50への組み付け時に略水平となる水平面121と、この水平面121から装置内部側に向けて傾斜した傾斜面122とを有している。これら水平面121及び傾斜面122上には、被印刷用紙53の案内方向に沿って形成された複数の突条部材123が、長手方向に並列して設けられている。
The
上記構成において、印刷時には、カバー部材103を閉じた状態でトップカバー101とカバー部材103との間に形成された挿入口104に上記被印刷用紙53が挿入される。挿入された被印刷用紙53は、挿入口104の下方に設けられたガイド部材120により、後述するプラテンローラ111とサーマルラインヘッド112との圧接部Pに案内される。プラテンローラ111は所定の圧接力で被印刷用紙53に接触し、被印刷用紙53を搬送する。この搬送される被印刷用紙53に対し、サーマルラインヘッド112が所望の印刷を行う。印刷完了後に、被印刷用紙53は、カバー部材103とアンダーカバー102との間に形成された排出口107より排出される。このとき、被印刷用紙53の搬送方向下流側の排出口107に向う搬送経路に、用紙検出センサ35(図1及び図3参照)が設けられている。この用紙検出センサ35の検出結果に基づきプラテンローラ111による搬送制御と、サーマルラインヘッド112による印刷制御が行われる(詳細は後述)。なお、紙詰まり等が生じた場合には、カバー部材103を開放することで、サーマルラインヘッド112からプラテンローラ111がリリースされ、容易に被印刷用紙53を引き出すことが可能となる。
In the above configuration, at the time of printing, the
次に、図4を用いて、携帯型プリンタ1の制御系について説明する。 Next, the control system of the portable printer 1 will be described with reference to FIG.
図4において、携帯型プリンタ1は、CPU12を有している。CPU12は、SDRAM13の一時記憶機能を利用しつつROM14に予め記憶されたプログラムに従って信号処理を行い、それによって携帯型プリンタ1全体の制御を行う。ROM14には、印字駆動制御プログラム等、制御上必要な各種のプログラムが格納されている。
In FIG. 4, the portable printer 1 has a
また、CPU12は、携帯型プリンタ1の電源のオン・オフ処理を行う電源回路15と、プラテンローラ111を駆動する駆動モータ11の駆動制御を行うモータ駆動回路16と、サーマルラインヘッド112の駆動制御を行うサーマルヘッド制御回路17とに接続されている。
In addition, the
またCPU12は、用紙検出センサ35と、用紙送り操作を行うためのフィードキー40(図1及び図3も参照)と、電源のオン・オフ操作を行うための電源キー30(図1及び図3も参照)とに接続されている。CPU12は、用紙検出センサ35の検出結果に基づき、挿入口104に被印刷用紙53が挿入されているか否かを検出する。
The
またCPU12は、電源キー30又はフィードキー40が押し下げられた場合に、当該押し下げられたキーに対応した処理を実行する。フィードキー40が押し下げられると、CPU12は、上記モータ駆動回路16に制御信号を出力し、駆動モータ11を駆動させてプラテンローラ111を回転させ、被印刷用紙53を所定量搬送するフィード処理を行う。このフィードキー40は、例えば被印刷用紙53の搬送方向途中位置から印刷を開始するために用紙送りをする場合や、搬送方向長さが所定の長さよりも長い被印刷用紙53を用いた場合において印刷終了後に用紙を排出するような場合に、操作される。一方、携帯型プリンタ1の電源オフ状態で電源キー30が押し下げられると、CPU12は、電源回路15に制御信号を出力して電源のオン処理を行い、電源オン状態で電源キー30が押し下げられると、電源回路15に制御信号を出力して電源のオフ処理を行う。
Further, when the
またCPU12は、USBインターフェース駆動回路21と、無線通信部22と、赤外線通信部23とに接続されている。USBインターフェース駆動回路21は、USB端子24(図1も参照)に接続されたUSBケーブル(図示省略)を介して上記外部機器2との間で行われる通信の制御を行う。また無線通信部22は、上記外部機器2との間で行われる赤外線以外の電波による無線通信の制御を行う。また赤外線通信部23は、上記外部機器2との間で行われる赤外線通信の制御を行う。なお、外部機器2は、例えば、CPU2aと、RAM2bと、ROM2cとを備えている。
The
上記構成の制御系において、携帯型プリンタ1で印刷を行う際には、操作者(ユーザ)は、PC端末や携帯電話等の外部機器2を用いて被印刷用紙53に印刷する印刷データの入力を行うとともに、印刷開始指示入力を行う。これにより、外部機器2から携帯型プリンタ1に、上記USBケーブル、又は、無線通信若しくは赤外線通信を介して、印刷データが送信される。このようにして外部機器2から印刷データが入力された場合、その印刷データが例えばSDRAM13のテキストメモリに記憶される。その記憶された印刷データは再び読み出され、制御回路の変換機能により所定の変換がされることで、ドットパターンデータが生成され、バッファ(例えばCPU12の内部に設けられる)に記憶される。そして、サーマルラインヘッド112がサーマルヘッド制御回路17を介して駆動され、各発熱素子が1ライン分の印字ドットに対応して選択的に発熱駆動されてバッファに記憶されたドットパターンデータの印刷を行う。また、これと同期して駆動モータ11がモータ駆動回路16を介して被印刷用紙53の搬送制御を行う。
In the control system configured as described above, when printing is performed by the portable printer 1, the operator (user) inputs print data to be printed on the
以上の基本構成及び動作において、本実施形態の携帯型プリンタ1の最大の特徴は、上記のような被印刷用紙53に対する搬送制御及び印刷制御を行うための、用紙検出センサ35による、被印刷用紙53及び被印刷用紙53上の上記黒マークPMの検出にある。以下、その詳細を図5〜図11により順を追って説明する。
In the above basic configuration and operation, the greatest feature of the portable printer 1 according to the present embodiment is that the paper to be printed by the
図5を用いて、用紙検出センサ35の回路構成を詳細に説明する。
The circuit configuration of the
図5において、用紙検出センサ35は、光学的手法を用いた光学センサである。この例では、用紙検出センサ35は、投光器35A(投光手段)及び受光器35B(受光手段)を備えている。投光器35Aは、被印刷用紙53に向けて投光する。受光器35Bは、上記投光器35Aから発せられ、上記被印刷用紙53から反射された反射光を受光し、受光した光量に対応する電圧を出力する。また、用紙検出センサ35は上述した投光器35Aと受光器35Bの他に、負荷抵抗Rを有している。この例の投光器35Aは発光ダイオードで構成されており、そのアノード端子71が抵抗R1を介して電源(電源電圧Vcc)に接続され、カソード端子72が接地されている。また、この例の受光器35Bはフォトトランジスタで構成されており、そのコレクタ端子73が電源に接続され、エミッタ端子74が検出電圧値Vを出力する出力端子であるとともに抵抗R2を介して接地されている。機構的な配置として、この例では、被印刷用紙53の搬送方向に沿って投光器35A、受光器35Bの順に並んで配置されている。
In FIG. 5, a
このような構成の用紙検出センサ35において、受光器35Bは、上記投光器35Aが点灯した際の被印刷用紙53を介した反射光Lrを受光し、それらの総受光量に応じたレベルの検出電圧値Vを出力する。この例では、受光器35Bを構成するフォトトランジスタのコレクタ側が電源側に接続されていることにより、上記総受光量が大きくなるほど高いレベルの検出電圧値Vを出力する(後述の図7参照)。
In the
次に図6を用いて、上記用紙検出センサ35の検出対象である、被印刷用紙53の構成を概念的に説明する。
Next, with reference to FIG. 6, the configuration of the
図6において、この例は、複数枚の被印刷用紙53がミシン目状の予定切断線Lcを介し結合した状態で、搬送される様子を示している。すなわち、被印刷用紙53には、各ページ相互間に上記予定切断線Lcが形成されている。また、各被印刷用紙53の幅方向(搬送方向に直交する方向)の片側(図示上側)には、予定切断線Lcを跨ぐように、光吸収性の(この例では黒色に塗りつぶされた)黒マークPM(位置決め用マーク)が印刷されている。
In FIG. 6, this example shows a state in which a plurality of
次に、上記構成の被印刷用紙53が搬送されて印刷されるときの、前述の用紙検出センサ35の発光・受光挙動を説明する。
Next, the light emission / light reception behavior of the above-described
まず、携帯型プリンタ1にロールホルダ(図示せず)がセットされ、ロールホルダに収納された用紙ロール(図示せず)から繰り出された被印刷用紙53が挿入口104に挿入される。挿入直後で被印刷用紙53の先端が用紙検出センサ35の検出範囲に到達していない(用紙検出センサ35よりも搬送方向の上流側に位置している)場合は、投光器35Aからの投光の被印刷用紙53による反射がない。このため、受光器35Bにおける反射光Lrの受光量はとても低い。そして、被印刷用紙53の先端が用紙検出センサ35の検出範囲に到達すると、投光器35Aからの投光の被印刷用紙53による反射光Lrが受光器35Bで受光され、プラテンローラ111が駆動されて被印刷用紙53の搬送(自動フィード)が開始される。
First, a roll holder (not shown) is set in the portable printer 1, and the
このように被印刷用紙53が排出口107に向って搬送されると、上記黒マークPMが、用紙検出センサ35の上記検出範囲内に到達する。このとき、上記投光器35Aからの投光による受光器35Bでの反射光Lrの強度が、黒マークPMの光吸収性により所定のしきい値(後に詳述する)より小さくなる。このことにより、上記黒マークPMの存在が検出される。黒マークPMが検出されると、この検出のタイミングを基準としてそれからプラテンローラ111の駆動力に基づき所定量の搬送を行った後に、サーマルラインヘッド112による被印刷用紙53の印刷領域への印刷が開始される。なお、上記黒マークPMの例えば終端の検出によって被印刷用紙53の搬送を停止して印刷待ち待機状態としておき、外部機器2からの印刷指示が入力したら、被印刷用紙53をわずかに逆方向に搬送してから、印刷が開始されるようにしてもよい。
When the
その後、被印刷用紙53が、プラテンローラ111の駆動力に基づき所定量だけ搬送され、当該被印刷用紙53が排出口107(図1参照)から排出されると、上記搬送が停止される。こうして、印刷の終了した被印刷用紙53は、ユーザによって予定切断線Lcにより切断され、1枚のシートとして分離される。以上のようにして、用紙検出センサ35による黒マークPMの検出タイミングを基準として、被印刷用紙53の搬送開始後の印刷制御及び搬送制御が行われる。
Thereafter, the
ところで、ユーザによっては、例えば、汚れがあったり黄ばんだりして通常の白い用紙よりも白色度が低い被印刷用紙53を挿入したり、色あせたりして古くなったりして光吸収性能が低下した(言い換えれば黒色度が低下した)黒マークPMを備えた被印刷用紙53を挿入する場合があり得る。本来であれば、前述のようにして、黒マークPMの光吸収性の性質により受光器35Bでの反射光Lrの受光量が大きく減り検出電圧が大きく変化することで黒マークPMが検出されるが、上記のように白色度の低下や黒色度の低下があると、黒マークPMによる受光器35Bでの受光量の変化挙動が緩和される。すなわち、上述の検出電圧値Vの変化量が小さくなることで検出電圧値Vの変動幅が小さくなり、その結果黒マークPMに投光された場合でも受光器35Bでの受光量が上記所定のしきい値よりも小さくならず、黒マークPMの検出が困難となる可能性がある。
By the way, depending on the user, for example, the
そこで本実施形態では、上記搬送及び印刷行程において、通常の被印刷用紙53(=用紙自体が通常の白色度を備えるとともに、黒マークPMも通常の黒色度を備えた被印刷用紙53)が挿入されることを前提に予め設定された、通常のしきい値(=初期しきい値)を、上記の白色度の低下や黒色度の低下に対応する値(=新規しきい値)へと更新することで、黒マークPMを高い精度で検出できるようにする。上記白色度の低下や黒色度の低下による影響を考慮した、しきい値の更新の原理について、図7を用いて説明する。
Therefore, in the present embodiment, in the transporting and printing processes, the normal printing paper 53 (= the
図7に示すタイムチャートでは、横軸に時間T(搬送量に対応)、縦軸に受光器35Bからの上記検出電圧Vをとって表している。なお、図示するすべての時間範囲で投光器35Aが常時点灯した状態を表し、図示の便宜上、A部〜E部中の投光範囲81は実際よりも大きく示している。
In the time chart shown in FIG. 7, the horizontal axis represents time T (corresponding to the transport amount), and the vertical axis represents the detection voltage V from the
(a)通常の白色度及びマーク黒色度を備えた被印刷用紙が挿入されたときの挙動
図7において、通常の白色度を備えかつ通常の黒マークPMの黒色度を備えた被印刷用紙53の搬送が開始された直後(T<T1である間)は、投光器35Aの投光範囲81は、被印刷用紙53の余白部分に位置する(図7中のA部参照)。この場合、受光器35Bからの出力電圧値Vは高いレベルの初期白対応電圧値Vw0となる。なお、この初期白対応電圧値Vw0は、上記図5中の電源が供給する電源電圧値Vccに近い電圧値となるが、センサ素子の特性ばらつきを考慮して、所定の白色基準電圧値Rwよりは大きくかつ上記Vccよりは小さい適宜の値となるように、予め(例えば工場出荷時の検査の際に)、設定されている。
(A) Behavior when a printing paper having normal whiteness and mark blackness is inserted In FIG. 7, a
その後、前述のように被印刷用紙53の搬送が進行すると、あるタイミング(T=T1)で投光器35Aの投光範囲81が黒マークPMに重なり始める。そして被印刷用紙53の搬送が進むにつれて、黒マークPMと投光範囲81との重なる範囲が増加する(図7中のB部参照)。黒マークPMは光吸収性を備えていることから、黒マークPMと投光範囲81との重なる範囲が増加するのにしたがって、受光器35Bでの反射光Lrの受光量が減少する。この結果、TがT1より大きくなると、検出電圧値Vは、上記初期白対応電圧値Vw0から右下がりに減少していく。
Thereafter, as the
その後、さらに被印刷用紙53の搬送が進行すると、あるタイミング(T=T2)で投光器35Aの投光範囲81が黒マークPMに完全に重なる(図7中のC部参照)。この状態では、上述のように減少してきた検出電圧値Vが下げ止まり、初期黒対応電圧値Vb0となる。なお、この初期黒対応電圧値Vb0も、上記初期白対応電圧値Vw0と同様、所定の黒色基準電圧値Rbより小さくかつ0よりは大きい適宜の値となるように、予め(例えば工場出荷時の検査の際に)、設定されている。この状態は、その後時間が経過してT=T3(後述)となるまで維持される。
Thereafter, when the conveyance of the
その後、さらに被印刷用紙53の搬送が進行すると、あるタイミング(T=T3)で投光器35Aの投光範囲81が黒マークPM外へ離脱し始める。そして被印刷用紙53の搬送が進むにつれて、黒マークPMと投光範囲81との重なる範囲が減少していく(図7中のD部参照)。この黒マークPMと投光範囲81との重なる範囲の減少にしたがい、受光器35Bでの反射光Lrの受光量が増加する。この結果、TがT3より大きくなると、検出電圧値Vは、上記初期黒対応電圧値Vb0から右上がりに増加していく。
Thereafter, when the conveyance of the
その後、さらに被印刷用紙53の搬送が進行すると、あるタイミング(T=T4)で投光器35Aの投光範囲81が黒マークPMから完全に離脱する(図7中のE部参照)。この結果、上述のように増加してきた検出電圧値Vが、前述の初期白対応電圧値Vw0まで復帰する。
Thereafter, when the conveyance of the
(b−1)白色度が低い被印刷用紙が挿入されたときの挙動
一方、図8(a)に示すように、汚れがあったり黄ばんだりして上記通常の白い被印刷用紙よりも白色度が低くなった被印刷用紙53が投入された場合は、搬送が開始された直後(前述したT≦T1の範囲に対応)おいては、受光器35Bからの検出電圧Vは、初期白対応電圧値Vw0と異なるレベルの(上記白色基準電圧値Rwよりも小さい)実白対応電圧値Vw1となる。これは、被印刷用紙53の黒マークPM以外の部分で上記通常の被印刷用紙より白色度が低いため、十分高い反射率で光を反射することができず、受光器35Bが十分な受光量で反射光Lrを受光できなくなるからである。
(B-1) Behavior when a printing paper with low whiteness is inserted On the other hand, as shown in FIG. 8 (a), the whiteness is higher than that of the normal white printing paper due to contamination or yellowing. In the case where the
その後、図7と同様に検出電圧値Vは右下がりに減少した後、あるタイミング(前述したT=T2に対応)において到達する、検出電圧値Vが下げ止まる値は、前述の初期黒対応電圧値Vb0よりも大きい実黒対応電圧値Vb1となる。そして、このタイミングからしばらくの間(前述した2≦T≦T3の範囲に対応)、検出電圧値Vは、この実黒対応電圧値Vb1に維持される。 Thereafter, similarly to FIG. 7, the detected voltage value V decreases to the right and then arrives at a certain timing (corresponding to T = T2 described above). The value at which the detected voltage value V stops decreasing is the aforementioned initial black corresponding voltage. The actual black corresponding voltage value Vb1 is larger than the value Vb0. For a while from this timing (corresponding to the range of 2 ≦ T ≦ T3 described above), the detected voltage value V is maintained at the actual black corresponding voltage value Vb1.
その後、再び、検出電圧値Vは右上がりに増加する。そして、あるタイミング(前述したT=T4に対応)となると、増加してきた検出電圧値Vは、前述の実白対応電圧値Vw1へと復帰する。 Thereafter, the detection voltage value V again increases to the right. At a certain timing (corresponding to T = T4 described above), the increased detected voltage value V returns to the actual white corresponding voltage value Vw1.
以上の説明から明らかなように、白色度が低くなった被印刷用紙53が用いられた場合は、図7に示した通常の白色度を備えた被印刷用紙53を用いた場合(図8(a)の破線に相当)に比べ、全体として図示中央寄りに特性線が変化する(図8(a)の実線への矢印参照)。特にこの場合、上記特性線の変化において、Vw0とVw1との差よりもVb0とVb1との差のほうが小さくなっている。すなわち、上記検出電圧値Vの変動幅の変動中心が、図中の下方(黒色寄り)へスライドした挙動となっている。この結果、被印刷用紙53の白色度が低下したことによる検出電圧値Vの変動幅(上記実白対応電圧値Vw1〜実黒対応電圧値Vb1)は、検出電圧値Vの変動幅(上記初期白対応電圧値Vw0〜初期黒対応電圧値Vb0)よりも小さくなるのである。この例では、検出電圧値Vの変動幅は、「Vw0−Vb0」より、「Vw1−Vb1」に縮小したことになる。
As is apparent from the above description, when the
(b−2)黒マークPMの黒色度が低い被印刷用紙が挿入されたときの挙動
一方、図8(b)に示すように、色あせたりして古くなったりして光吸収性能が低下した黒マークPMを備えた被印刷用紙53が投入された場合は、搬送が開始された直後(前述したT≦T1の範囲に対応)おいては、受光器35Bからの検出電圧Vは、初期白対応電圧値Vw0と異なるレベルの実白対応電圧値Vw1となる。
(B-2) Behavior when printing paper with low blackness of black mark PM is inserted On the other hand, as shown in FIG. When the
その後、図7と同様に検出電圧値Vは右下がりに減少した後、あるタイミング(前述したT=T2に対応)において到達する、検出電圧値Vが下げ止まる値は、前述の初期黒対応電圧値Vb0よりも大きい(上記黒色基準電圧値Rbよりも大きい)実黒対応電圧値Vb1となる。これは、被印刷用紙53の黒マークPMで通常の被印刷用紙の黒マークPMより黒色度が低いため、十分に光を吸収することができず、受光器35Bにある程度の受光量の反射光Lrが受光されてしまうからである。そして、このタイミングからしばらくの間(前述した2≦T≦T3の範囲に対応)、検出電圧値Vは、この実黒対応電圧値Vb1に維持される。
Thereafter, similarly to FIG. 7, the detected voltage value V decreases to the right and then arrives at a certain timing (corresponding to T = T2 described above). The value at which the detected voltage value V stops decreasing is the aforementioned initial black corresponding voltage. The actual black corresponding voltage value Vb1 is greater than the value Vb0 (greater than the black reference voltage value Rb). This is because the black mark PM of the
その後、再び、検出電圧値Vは右上がりに増加する。そして、あるタイミング(前述したT=T4に対応)となると、増加してきた検出電圧値Vは、前述の実白対応電圧値Vw1へと復帰する。 Thereafter, the detection voltage value V again increases to the right. At a certain timing (corresponding to T = T4 described above), the increased detected voltage value V returns to the actual white corresponding voltage value Vw1.
以上の説明から明らかなように、黒色度が低くなった黒マークPMを備えた被印刷用紙53が用いられた場合は、図7に示した通常の白色度を備えた被印刷用紙53を用いた場合(図8(b)の破線に相当)に比べ、全体として図示中央寄りに特性線が変化する(図8(b)の実線への矢印参照)。特に、この場合、上記特性線の変化において、Vw0とVw1との差よりもVb0とVb1との差のほうが大きくなっている。すなわち、上記検出電圧値Vの変動幅の変動中心が、図中の上方(白色寄り)へスライドした挙動となっている。この結果、上記同様、被印刷用紙53の黒マークPMの黒色度が低下したことによる検出電圧値Vの変動幅(上記実白対応電圧値Vw1〜実黒対応電圧値Vb1)は、検出電圧値Vの変動幅(上記初期白対応電圧値Vw0〜初期黒対応電圧値Vb0)よりも小さくなるのである。この例では、検出電圧値Vの変動幅は、「Vw0−Vb0」より、「Vw1−Vb1」に縮小したことになる。
As is clear from the above description, when the
(c)しきい値の設定
(c−1)しきい値の初期設定
本実施形態の携帯型プリンタ1では、基本的に、図7を用いて上述したような、黒マークPMの存在による検出電圧値Vの変動(初期白対応電圧値Vw0→初期黒対応電圧値Vb0→初期白対応電圧値Vw0)を用いて、黒マークPMが用紙検出センサ35に対向する位置となったことを検出し、これによって被印刷用紙53の搬送方向位置の検出を行うようになっている。具体的には、検出電圧値Vに係わる初期しきい値TH0(図7、図8(a)、図8(b)参照)が例えば工場出荷時等において予め設定されている。この初期しきい値TH0は、上記初期白対応電圧値Vw0と上記初期黒対応電圧値Vb0の間となるように、k0(各請求項記載の初期係数に相当する)を1未満の値として、
TH0=Vb0+k0(Vw0−Vb0) ・・ (式1)
により設定されている。式1より明らかなように、この初期しきい値TH0は、検出電圧値Vの変動幅であるVw0〜Vb0の区間の中に存在し、しきい係数kの値によってVw0に近づけたり、Vb0に近づけたりする設定ができるようにしたものである(k0はしきい係数kの初期値である)。これにより、図7における上記T1≦T≦T2の範囲において検出電圧値Vが減少していき、V=TH0に到達したときをもって、黒マークPMが用紙検出センサ35に対向する位置となったことを検出することができる。なお、上記初期白対応電圧値Vw0、初期黒対応値Vb0、初期しきい値TH0、しきい係数k0の値は、例えば上記ROM14又は別途設けたEEPROM等に予め記憶される(初期値記憶手段)。
(C) Setting of Threshold Value (c-1) Initial Setting of Threshold Value In the portable printer 1 of the present embodiment, basically detection based on the presence of the black mark PM as described above with reference to FIG. Using the fluctuation of the voltage value V (initial white-corresponding voltage value Vw0 → initial black-corresponding voltage value Vb0 → initial white-corresponding voltage value Vw0), it is detected that the black mark PM is at a position facing the
TH0 = Vb0 + k0 (Vw0−Vb0) (Equation 1)
It is set by. As is apparent from Equation 1, this initial threshold value TH0 exists in the interval of Vw0 to Vb0, which is the fluctuation range of the detected voltage value V, and approaches Vw0 depending on the value of the threshold coefficient k, or Vb0. It can be set to approach (k0 is the initial value of the threshold coefficient k). As a result, the detected voltage value V decreases in the range of T1 ≦ T ≦ T2 in FIG. 7, and the black mark PM is positioned to face the
(c−2)しきい値の更新の必要性
ここで、図8(a)及び図8(b)を用いて説明したように、被印刷用紙53の白色度が低下した場合や黒マークPMの黒色度が低下した場合に、検出電圧値Vの変動幅が縮小し、実白対応電圧値Vw1が初期白対応電圧値Vw0よりも小さくなったり実黒対応電圧値Vb1が初期黒対応電圧値Vb0よりも大きくなる傾向となる。この結果、変動幅の最小値である上記実黒対応電圧値Vb1が予め定めた上記初期しきい値TH0より大きくなったり、変動幅の最大値である上記実白対応電圧値Vw1が、予め定めた上記初期しきい値TH0より小さくなったりする可能性がある。この場合には、検出電圧値Vが黒マークPMの存在によりT1≦T≦T2において右下がりに減少しても、V=TH0となることがないため、黒マークPMの存在を検出できなくなり、携帯型プリンタ1における被印刷用紙53の搬送制御や印刷制御の精度が低下してしまう。
(C-2) Necessity of Update of Threshold Value Here, as described with reference to FIGS. 8A and 8B, when the whiteness of the
(c−3)しきい値の更新実行
本実施形態の携帯型プリンタ1では、以上に鑑み、予め式(1)により定められた上記初期しきい値TH0に代えて、新規な値に更新された新規しきい値TH1を用いる。この新規しきい値TH1は、本実施形態では、
TH1=Vb1+k1(Vw1−Vb1) ・・ (式2)
により算出する。実黒対応電圧値Vb1は、上述したように、印刷対象となる被印刷用紙53が実際に挿入されたときに受光器35Bから出力された黒マークPMによる検出電圧値Vの値であり、実白対応電圧値Vw1は、上述したように、印刷対象となる被印刷用紙53が実際に挿入されたときに受光器35Bから出力された被印刷用紙53による検出電圧値Vの値である。
(C-3) Threshold Value Update Execution In the portable printer 1 of the present embodiment, in view of the above, the threshold value is updated to a new value instead of the initial threshold value TH0 previously determined by the equation (1). The new threshold value TH1 is used. In the present embodiment, the new threshold value TH1 is
TH1 = Vb1 + k1 (Vw1-Vb1) (Equation 2)
Calculated by As described above, the actual black-corresponding voltage value Vb1 is a value of the detected voltage value V by the black mark PM output from the
この結果、式2より明らかなように、この新規しきい値TH1は、前述した、上記初期しきい値TH0の設定と同様の手法原理に立脚するものであり、検出電圧値Vの変動幅であるVw1〜Vb1の区間を1としたときに、そのk1倍の区間長さを当てはめて上記区間を区切るようにしたものに相当している。このように、初期しきい値TH0の場合のしきい係数k0と異なるしきい係数k1(各請求項記載の実係数に相当する)を用いて新規しきい値TH1を算出することにより、しきい値の更新(TH0→TH1)が行われる。 As a result, as is apparent from Equation 2, this new threshold value TH1 is based on the same method principle as the above-described setting of the initial threshold value TH0, and is based on the fluctuation range of the detected voltage value V. This is equivalent to a section in which the section is divided by applying a section length of k1 times when a section of Vw1 to Vb1 is 1. Thus, by calculating the new threshold TH1 using the threshold coefficient k1 (corresponding to the actual coefficient described in each claim) different from the threshold coefficient k0 in the case of the initial threshold TH0, the threshold is calculated. The value is updated (TH0 → TH1).
具体的には、被印刷用紙53の白色度が低下している場合には、本実施形態では、実際に測定された実白対応電圧値Vw1が上記白色基準電圧値Rwよりも小さくなっていることによって上記白色度の低下が認識され、上記k1の値が0.5よりも小さい値(この例では後述のように0.3)に設定される。これにより、図8(a)に示すように、上記式2により新たに設定される新規しきい値TH1は、更新前の初期しきい値TH0よりも、図8(a)中の下方(黒色寄り)へスライドした態様となる。
Specifically, when the whiteness of the
また、被印刷用紙53の黒マークPMの黒色度が低下している場合には、本実施形態では、実際に測定された実黒対応電圧値Vb1が上記黒色基準電圧値Rbよりも大きくなっていることによって上記黒色度の低下が認識され、上記k1の値が0.5よりも大きい値(この例では後述のように0.7)に設定される。これにより、図8(b)に示すように、上記式2により新たに設定される新規しきい値TH1は、更新前の初期しきい値TH0よりも、図8(b)中の上方(白色寄り)へスライドした態様となる。
Further, when the blackness of the black mark PM of the
なお、上記のしきい値の更新処理は、例えば、外部機器2の適宜の操作に基づきCPU2aに設けられた更新指示部44が出力した更新指示信号に基づき、携帯型プリンタ1のCPU12に設けられた更新処理部45等により実行される。
The threshold value update process is provided in the
以上の結果、ユーザが通常より白色度が低い被印刷用紙53を使用したり、黒色度が低下した黒マークPMを備えた被印刷用紙53を使用した場合等であっても、検出電圧値Vが黒マークPMの存在によりT1≦T≦T2において右下がりに減少したときに、確実にVがTH1に到達して黒マークPMの存在を検出できる。したがって、印刷用搬送制御や印刷制御を高精度に行いつつ、確実な被印刷用紙53への印刷を行うことができる。
As a result, even when the user uses the
なお、上述したように、本実施形態では、検出電圧値Vが減少して新規しきい値TH1に到達したことをもって、黒マークPMの存在を検出したが、これに限られない。すなわち、検出電圧値Vが増加して新規しきい値TH1に到達したことをもって、黒マークPMの存在を検出してもよい(後述の(3)の変形例を参照)。 As described above, in the present embodiment, the presence of the black mark PM is detected when the detected voltage value V decreases and reaches the new threshold value TH1, but the present invention is not limited to this. That is, the presence of the black mark PM may be detected when the detected voltage value V increases and reaches the new threshold value TH1 (see a modification example (3) described later).
以上説明したような機能を実現するために、携帯型プリンタ1のCPU12によって実行されるしきい値更新処理の制御内容を、図9を用いて説明する。
The control contents of the threshold update process executed by the
図9において、例えば印刷対象となる被印刷用紙53が挿入口104から挿入された状態で携帯型プリンタ1の電源がオンにされることにより、このフローが開始される。
In FIG. 9, for example, this flow is started by turning on the power of the portable printer 1 in a state where the
まずステップS10で、外部機器2のCPU12の更新指示部44から更新指示信号がCPU12の更新処理部45に入力されたかどうかが判定される。上記更新指示信号を入力するまで、判定が満たされずループ待機し、更新指示信号を入力したら、判定が満たされてステップS20に移る。なお、このように外部機器2から更新指示信号によらず、携帯型プリンタ1の適宜のボタン(電源ボタンを含む)やキーの操作により生成された信号を更新指示信号として取得し、この取得によって判定が満たされステップS20へ移行するようにしてもよい。
First, in step S <b> 10, it is determined whether or not an update instruction signal is input to the
ステップS20では、前述のようにしてROM14又はEEPROM等に記憶されていた、白色基準電圧値Rw、黒色基準電圧値Rb、及びしきい係数k0が、入力される。
In step S20, the white reference voltage value Rw, the black reference voltage value Rb, and the threshold coefficient k0 stored in the
その後、ステップS200に移り、上記被印刷用紙53が挿入された状態において受光器35Bから出力された実白対応電圧値Vw1及び実黒対応電圧値Vb1に基づき、上記しきい計数k1が決定される(詳細は後述)。
Thereafter, the process proceeds to step S200, and the threshold count k1 is determined based on the actual white corresponding voltage value Vw1 and the actual black corresponding voltage value Vb1 output from the
その後、ステップS40へ移り、上記ステップS200において取得された実白対応電圧値Vw1及び実黒対応電圧値Vb1と、決定されたしきい係数k1とに基づき、前述の式2を用いて、更新処理部45により、新規しきい値TH1=Vb1+k1(Vw1−Vb1)が算出される。その後、このフローを終了する。
Thereafter, the process proceeds to step S40, and based on the actual white corresponding voltage value Vw1 and actual black corresponding voltage value Vb1 acquired in step S200 and the determined threshold coefficient k1, the update process is performed using the above-described equation 2. The
次に、図10を用いて、上記ステップS200の詳細手順を説明する。 Next, the detailed procedure of step S200 will be described with reference to FIG.
まず、ステップS210において、CPU12が、モータ駆動回路16に制御信号を出力し、駆動モータ11によりプラテンローラ111を駆動させる。これにより、挿入口104に挿入されている被印刷用紙53の搬送が開始される。
First, in step S <b> 210, the
その後、ステップS220へ移り、受光器35Bから出力された、上記検出電圧値Vが取得される。
Thereafter, the process proceeds to step S220, and the detected voltage value V output from the
そして、ステップS230において、実白対応電圧値Vw1及び実黒対応電圧値Vb1が取得できたかどうかを判定する。具体的には、例えば、適宜のサンプリング周期又はその整数倍で受光器35Bから出力された検出電圧値が、図8(a)及び図8(b)における上記黒マークPMの検出開始時の右下がり挙動となる前の水平挙動となっている(すなわちある程度の時間範囲でほぼ一定値となっている)によって実白対応電圧値Vw1を取得できたと判定すればよい。同様に、適宜のサンプリング周期又はその整数倍で受光器35Bから出力された検出電圧値が、図8(a)及び図8(b)における上記黒マークPMの検出開始後の右下がり挙動のあとの水平挙動となっている(すなわちある程度の時間範囲でほぼ一定値となっている)ことによって実黒対応電圧値Vb1を取得できたと判定すればよい。実白対応電圧値Vw1及び実黒対応電圧値Vb1の両方が取得されるまで、ステップS220に戻って同様の手順を繰り返す。実白対応電圧値Vw1及び実黒対応電圧値Vb1の両方が取得されたら、ステップS230の判定が満たされて、ステップS240に移る。
In step S230, it is determined whether the actual white corresponding voltage value Vw1 and the actual black corresponding voltage value Vb1 have been acquired. Specifically, for example, the detection voltage value output from the
ステップS240では、上記ステップS220及びステップS230の繰り返しによって取得された上記実白対応電圧値Vw1が、上記ステップS20で取得された白色基準電圧値Rwより小さかった否かを判定する。取得された実白対応電圧値Vw1が白色基準電圧値Rwより小さかった場合(図8(a)参照)には、判定が満たされてステップS250に移る。ステップS250では、しきい係数k1が0.5よりも小さい0.3に設定される。その後、ステップS260に移る。 In step S240, it is determined whether or not the actual white corresponding voltage value Vw1 acquired by repeating steps S220 and S230 is smaller than the white reference voltage value Rw acquired in step S20. If the acquired actual white corresponding voltage value Vw1 is smaller than the white reference voltage value Rw (see FIG. 8A), the determination is satisfied, and the routine goes to Step S250. In step S250, the threshold coefficient k1 is set to 0.3 which is smaller than 0.5. Thereafter, the process proceeds to step S260.
一方、ステップS240で実白対応電圧値Vw1が白色基準電圧値Rw以上であった場合には、ステップS240の判定が満たされず、ステップS270に移る。ステップS270では、上記ステップS220及びステップS230の繰り返しによって取得された上記実黒対応電圧値Vb1が、上記ステップS20で取得された黒色基準電圧値Rbより大きかった否かを判定する。実黒対応電圧値Vb1が黒色基準電圧値Rbより大きかった場合(図8(b)参照)には、ステップS270の判定が満たされ、ステップS280に移る。ステップS280では、しきい係数k1が0.5より大きい0.7に設定される。その後、ステップS260に移る。 On the other hand, if the actual white-corresponding voltage value Vw1 is greater than or equal to the white reference voltage value Rw in step S240, the determination in step S240 is not satisfied, and the process proceeds to step S270. In step S270, it is determined whether or not the actual black corresponding voltage value Vb1 acquired by repeating steps S220 and S230 is greater than the black reference voltage value Rb acquired in step S20. When the actual black corresponding voltage value Vb1 is larger than the black reference voltage value Rb (see FIG. 8B), the determination in step S270 is satisfied, and the process proceeds to step S280. In step S280, the threshold coefficient k1 is set to 0.7, which is larger than 0.5. Thereafter, the process proceeds to step S260.
また、ステップS270において、実黒対応電圧値Vb1が黒色基準電圧値Rb以下であった場合には、判定が満たされず、ステップS290に移る。ステップS290では、しきい係数k1が初期値であるk0と同じ値に設定される。その後、ステップS260に移る。 In step S270, if the actual black corresponding voltage value Vb1 is equal to or lower than the black reference voltage value Rb, the determination is not satisfied, and the routine goes to step S290. In step S290, the threshold coefficient k1 is set to the same value as the initial value k0. Thereafter, the process proceeds to step S260.
上記ステップS250、ステップS280、ステップS290が終了したら、前述したようにステップS260に移る。ステップS260では、適宜の手法により、被印刷用紙53が所定の搬送終了位置まで到達したかどうかの判定が行われる。具体的には、例えば、上記黒マークPMの検出終了後の右上がり挙動のあとの水平挙動が所定の時間範囲で継続している(電圧値Vが長時間ほぼ一定となっている)ことによって搬送終了とすればよい。あるいは、前述のような左下がり及び右下がりの電圧値Vの挙動により黒マークPMが検出された後、上記例えばパルスモータからなる上記駆動モータ11へモータ駆動回路16から出力するパルス数をカウントし、そのカウント数によって上記黒マークPMからの搬送距離を決定して、所定距離の搬送によって搬送終了としてもよい。搬送終了位置に到達するまではステップS260の判定が満たされずループ待機し、搬送終了位置に到達したらステップS260の判定が満たされ、ステップS270に移る。
When step S250, step S280, and step S290 are completed, the process proceeds to step S260 as described above. In step S260, it is determined whether the
ステップS270では、CPU12が、モータ駆動回路16に制御信号を出力し、駆動モータ11によるプラテンローラ111の駆動を停止する。これにより、上記ステップS210より開始され継続していた被印刷用紙53の搬送が停止し、このフローを終了する。
In step S <b> 270, the
次に、上記の図9及び図10のフローによって新規しきい値TH1が求められている状態でCPU12により実行される、被印刷用紙53への印刷処理の制御内容を、図11を用いて説明する。
Next, the control contents of the printing process on the
図11において、例えば携帯型プリンタ1の電源がオンにされることにより、このフローが開始される。 In FIG. 11, for example, when the power of the portable printer 1 is turned on, this flow is started.
まず、ステップS300で、挿入口14から被印刷用紙53が挿入されたかどうかが判定される。具体的には、例えば、被印刷用紙53の先端が投光器35Aからの投光範囲に到達し受光器35Rにおいて所定の大きさの反射光Lrが受光されたかどうかによって判定される。被印刷用紙53が十分に挿入されるまではステップS300が判定が満たされずループ待機し、挿入されたら判定が満たされてステップS310に移る。
First, in step S300, it is determined whether or not the
ステップS310では、上記図10のステップS210と同様、CPU12が、モータ駆動回路16に制御信号を出力し、駆動モータ11によりプラテンローラ111を駆動させる。これにより、挿入口104に挿入されている被印刷用紙53の搬送が開始される。
In step S <b> 310, as in step S <b> 210 of FIG. 10, the
その後、ステップS320にて、受光器35Bから出力され取得された上記検出電圧値Vが、前述のようにして求められた新規しきい値TH1より小さいかどうかを判定する。検出電圧値Vが新規しきい値TH1以上である間は判定が満たされず、まだ用紙検出センサ35に対向する位置に黒マークPMが到達していないとみなされ、ループ待機する。検出電圧値Vが新規しきい値TH1より小さくなったらステップS320の判定が満たされ、搬送により用紙検出センサ35に対向する投光器35Aの投光範囲に黒マークPMが到達して黒マークPMが検出された(図7のB部の状態に相当)とみなし、ステップS330に移る。
Thereafter, in step S320, it is determined whether or not the detected voltage value V output and acquired from the
ステップ330では、受光器35Bから出力され取得された上記検出電圧値Vが、前述のようにして求められた新規しきい値TH1より大きくなったかどうかを判定する。検出電圧値Vが新規しきい値TH1以下である間は判定が満たされず、まだ用紙検出センサ35に対向する位置に黒マークPMが存在している(投光器35Aの投光範囲から完全には離脱していない)とみなされ、ループ待機する。検出電圧値Vが新規しきい値TH1より大きくなったらステップS330の判定が満たされ、搬送により投光器35Aの投光範囲から黒マークPMが完全に離脱した(図7のE部の状態に相当)とみなし、ステップS340に移る。
In
その後、ステップS340では、上記図10のステップS270と同様、CPU12が、モータ駆動回路16に制御信号を出力し、駆動モータ11によるプラテンローラ111の駆動を停止する。これにより、被印刷用紙53の搬送が停止し、その後のステップS350の印刷指示待ちの待機状態となる。
Thereafter, in step S340, as in step S270 of FIG. 10 described above, the
そして、ステップS350で、印刷指示があったか、すなわち上記外部機器2から印刷データを含む印刷指示信号が入力されたかどうか、が判定される。判定が満たされるまでループ待機し、印刷指示があるとステップS350の判定が満たされ、ステップS360に移る。 In step S350, it is determined whether a print instruction has been issued, that is, whether a print instruction signal including print data has been input from the external device 2. The loop waits until the determination is satisfied. If there is a print instruction, the determination in step S350 is satisfied, and the process proceeds to step S360.
ステップS360では、CPU12が、サーマルヘッド駆動回路17に制御信号が出力されてサーマルラインヘッド112が通電されるとともに、モータ駆動回路16に制御信号が出力されてプラテンローラ111による被印刷用紙53の搬送が再開される。これによって、前述のようにしてバッファに記憶されたドットパターンデータが順次被印刷用紙53に印刷される。
In step S <b> 360, the
その後、ステップS370にて、上記印刷データに対応した印刷が完了したかどうかを判定する。印刷データの印刷が完了するまでステップS370の判定が満たされず、ステップS340に戻って印刷を続行する。印刷データの印刷が完了するとステップS370の判定が満たされ、ステップS380に移る。 Thereafter, in step S370, it is determined whether printing corresponding to the print data is completed. Until the printing of the print data is completed, the determination in step S370 is not satisfied, and the process returns to step S340 to continue printing. When printing of the print data is completed, the determination at step S370 is satisfied, and the routine goes to step S380.
ステップS380では、上記図10のステップS260と同様、被印刷用紙53が所定の搬送終了位置まで到達したかどうかの判定が行われる。具体的には、例えば、先の黒マークPMの検出タイミング(ステップS320又はステップS330)の後、前述と同様、パルスモータからなる上記駆動モータ11へモータ駆動回路16から出力するパルス数をカウントし、そのカウント数によって上記黒マークPMからの搬送距離を決定して、所定距離の搬送によって搬送終了とすればよい。搬送終了位置に到達するまではステップS380の判定が満たされずループ待機し、搬送終了位置に到達したらステップS380の判定が満たされ、ステップS390に移る。
In step S380, as in step S260 of FIG. 10 described above, it is determined whether the
ステップS390では、上記ステップS270と同様、CPU12が、モータ駆動回路16に制御信号を出力し、駆動モータ11によるプラテンローラ111の駆動を停止する。これにより、このフローを終了する。
In step S390, as in step S270, the
以上において、上記ステップS240が、各請求項記載の白色度判定手段として機能し、上記ステップS270が黒色度判定手段として機能する。そして、ステップS250、ステップS280、及びステップS40が、しきい値更新手段として機能する。また、ステップS220、ステップS260、及びステップS270が、更新用搬送制御手段として機能する。 In the above, step S240 functions as the whiteness determination unit described in each claim, and step S270 functions as the blackness determination unit. And step S250, step S280, and step S40 function as a threshold value update means. Further, Step S220, Step S260, and Step S270 function as an update transport control unit.
また、上記ステップS320及びステップS330がマーク検出手段として機能し、ステップS360〜ステップS390が印刷用搬送制御手段として機能し、そのうちステップS360及びステップS370が印刷制御手段としても機能する。 Steps S320 and S330 function as mark detection means, and steps S360 to S390 function as printing conveyance control means. Of these, step S360 and step S370 also function as print control means.
以上説明したように、本実施形態の携帯型プリンタ1においては、ユーザが通常より白色度が低い被印刷用紙53を使用したり、黒色度が低下した黒マークPMを備えた被印刷用紙53を使用した場合等において、初期しきい値TH0=Vb0+k0(Vw0−Vb0)に代えて、しきい値TH1=Vb1+k1(Vw1−V1)を用いる。これにより、通常の被印刷用紙53を使用した場合の変動幅よりも狭いことが想定される、上記白色度や黒色度の低下時の変動幅に対応した、上記新規しきい値TH1を新たに設定することができる。この結果、上記のような白色度が低い被印刷用紙53や、黒色度が低下した黒マークPMを備えた被印刷用紙53を使用した場合等でも、その白色度や黒色度の低下による検出電圧の挙動に関係なく、黒マークPMの検出を高精度に行うことができる。この結果、上記のような被印刷用紙53を使用した場合等であっても、印刷用搬送制御や印刷制御を高精度に行いつつ、確実な被印刷用紙53への印刷を行うことができる。
As described above, in the portable printer 1 of the present embodiment, the user uses the
また、本実施形態では特に、上記ステップS240において、被印刷用紙53の白色度合いが所定の白色基準に達していない場合には、kをk0より小さな値のk1に設定する(上記の例ではk0=0.5より小さなk1=0.3とする)ことで、しきい値を黒色寄りの値に変更する。この結果、上記のように汚れがあったり黄ばんだりして通常の白い用紙よりも白色度が低い被印刷用紙53を使用した場合でも、黒マークPMの検出を確実に高精度に行い、被印刷用紙53への印刷を行うことができる。
In the present embodiment, in particular, in step S240, when the whiteness of the
また、本実施形態では特に、上記ステップS270において、黒マークPMの黒色度合いが所定の黒色基準に達していない場合には、kをk0より大きな値のk1に設定する(上記の例ではk0=0.5より大きなk1=0.7とする)ことで、しきい値を白色寄りの値に変更する。この結果、上記のように色あせたりして古くなったりして黒色度が低下した黒色マークPMを備えた被印刷用紙53を使用した場合であっても、黒マークPMの検出を確実に高精度に行い、被印刷用紙53への印刷を行うことができる。
In the present embodiment, in particular, when the black degree of the black mark PM does not reach a predetermined black reference in step S270, k is set to a value k1 larger than k0 (in the above example, k0 = By setting k1 = 0.7, which is larger than 0.5, the threshold value is changed to a value closer to white. As a result, the black mark PM can be reliably detected with high accuracy even when the
なお、上記実施形態においては、図9及び図10に示すしきい値更新処理と、図11に示す印刷処理を別処理として、それぞれ別々の操作により処理を実行したが、これに限られない。すなわち、図11に示すような印刷処理を実行する際に、自動的に図9及び図10に示すようなしきい値更新処理が実行されるようにしてもよい。 In the above-described embodiment, the threshold value update process illustrated in FIGS. 9 and 10 and the print process illustrated in FIG. 11 are performed as separate processes, but the process is performed separately. However, the present invention is not limited to this. That is, when the printing process as shown in FIG. 11 is executed, the threshold value update process as shown in FIGS. 9 and 10 may be automatically executed.
また、本発明は、上記実施形態に限られるものではなく、その趣旨及び技術的思想を逸脱しない範囲内で種々の変形が可能である。以下、そのような変形例を順を追って説明する。 The present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit and technical idea of the present invention. Hereinafter, such modifications will be described in order.
(1)複数枚の用紙で白色度・黒色度検出を行って係数k1を決める場合
例えば上述のようにユーザがロールホルダの用紙ロールから被印刷用紙53を繰り出して使用するとき、用紙ロールに連続的に含まれる複数の被印刷用紙53相互において、前述の汚れ・黄ばみ等による白色度の低下度合いや、前述の色あせ・経年等による黒色度の低下度合いが微妙に異なる場合がある。本変形例はこのような場合に対応するものであり、複数枚の被印刷用紙53それぞれにおける上記白色度の低下及び黒色度の低下に対応してさらに確実に高精度に黒マークPMの検出を行えるように、新規しきい値THmの算出を行う。
(1) When the whiteness / blackness detection is performed on a plurality of sheets to determine the coefficient k1, for example, as described above, when the user feeds out the printed
本変形例におけるしきい値の更新の原理を、上記実施形態の図7に相当する図12を用いて説明する。 The principle of threshold value updating in this modification will be described with reference to FIG. 12 corresponding to FIG. 7 of the above embodiment.
図12は、3枚の被印刷用紙53が挿入された場合それぞれの検出電圧値Vの挙動の一例を示している。この例では、それら3枚の被印刷用紙53の白色度が小さくなっている場合を例にとっている。前述したように、白色度が低くなった被印刷用紙53が用いられた場合は、通常の白色度を備えた被印刷用紙53を用いた場合に比べ、全体として図示中央寄りに特性線が変化する。特に、この変形例では、1枚目の被印刷用紙53において実白対応電圧値がVw1となり、実黒対応電圧値がVb1となっている。同様に、2枚目の被印刷用紙53において実白対応電圧値がVw1′で実黒対応電圧値がVb1′となっており、3枚目の被印刷用紙53において実白対応電圧値がVw1″で実黒対応電圧値がVb1″となっている。
FIG. 12 shows an example of the behavior of each detected voltage value V when three sheets of printing
各被印刷用紙53それぞれに係わる値を比較すると、実白対応電圧値はVw1>Vw1′>Vw1″の関係となっており、実黒対応電圧値はVb1>Vb1′>Vb1″の関係となっている。既に述べたように、実白対応電圧値Vwの値が低いほど当該用紙の白色度が低く、より黄ばみや汚れが生じていることとなる。同様に、実黒対応電圧値Vbの値が高いほど当該用紙の黒色マークPMの黒色度が低く、より色あせや経年劣化が生じていることとなる。そこで、本実施形態では、被印刷用紙53における高精度な搬送制御・印刷制御を確保するために、上記実白対応電圧値Vw1,Vw1′,Vw1″のうち最も条件が悪いVw1″と、上記実黒対応電圧値Vb1,Vb1′,Vb1″のうち最も条件が悪いVb1を、更新しきい値算出のために用いる。すなわち、上記式2を用いて算出を行う際、式2のVw1に代えて上記Vw1″を使用する。なお、この例では、上記実黒対応電圧値Vb1,Vb1′,Vb1″のうち最も条件が悪いのがVb1であるため、見かけ上、式2のVb1はそのまま適用されるが、もし条件が最も悪いのがVb1′やVb1″であった場合には、上記式のVb1に代え、Vb1′やVb1″が使用される。
Comparing the values relating to each
さらに、式2におけるk1の値の決定についても、上記実施形態とは異なった手法を用いる。上記実施形態では、実際に検出された実白対応電圧値Vw1又は実黒対応電圧値Vb1と白色基準電圧値Rw又は黒色基準電圧値Rbとの大小関係に応じて、k1の値を0.3としたり0.7とした。本変形例では、上記のような実白対応電圧値Vw1,Vw1′,Vw1″や実黒対応電圧値Vb1,Vb1′,Vb1″のばらつきが生じている状態でも確実な黒色マークPMの高精度検出を確保する観点から、それぞれのばらつき範囲(変動幅)に応じてk1の値を切り替える。すなわち、実白対応電圧値Vwの変動幅γw(この例ではVw1−Vw1″)と、実黒対応電圧値Vbの変動幅γb(この例ではVb1−Vb1″)とが、比較される。図示のようにγw>γbであった場合にはk1は0.5よりも小さい0.3とされ、この結果上記式2より算出される上記新規しきい値TH1は、初期しきい値TH0に比べて黒色寄り(言い換えれば変動幅が少ない側寄り)にスライドした態様で設定される。逆に、γw<γbであった場合にはk1は0.5よりも小さい0.7とされ、この結果上記式2より算出される上記新規しきい値TH1は、初期しきい値TH0に比べて白色寄り(上記同様、変動幅が少ない側寄りとなる)にスライドした態様で設定される。 Further, for the determination of the value of k1 in Equation 2, a method different from that in the above embodiment is used. In the above embodiment, the value of k1 is set to 0.3 depending on the magnitude relationship between the actually detected actual white corresponding voltage value Vw1 or actual black corresponding voltage value Vb1 and the white reference voltage value Rw or black reference voltage value Rb. Or 0.7. In this modified example, the black mark PM can be accurately obtained with high accuracy even when the actual white corresponding voltage values Vw1, Vw1 ′, Vw1 ″ and the actual black corresponding voltage values Vb1, Vb1 ′, Vb1 ″ are varied. From the viewpoint of ensuring detection, the value of k1 is switched according to each variation range (variation range). That is, the fluctuation range γw of the actual white corresponding voltage value Vw (in this example, Vw1−Vw1 ″) and the fluctuation range γb of the actual black corresponding voltage value Vb (in this example, Vb1−Vb1 ″) are compared. As shown in the figure, when γw> γb, k1 is set to 0.3 which is smaller than 0.5. As a result, the new threshold value TH1 calculated from the above equation 2 is set to the initial threshold value TH0. Compared to black (in other words, closer to the side with less fluctuation range), it is set in such a manner that it slides. Conversely, when γw <γb, k1 is set to 0.7, which is smaller than 0.5. As a result, the new threshold value TH1 calculated from the above equation 2 is compared with the initial threshold value TH0. Therefore, it is set in such a manner that it is slid toward white (similar to the above, the side closer to the side with less fluctuation).
本変形例の携帯型プリンタ1のCPU12によって実行される処理では、図9におけるステップS200のしきい係数決定処理に代えて、ステップS200′のしきい係数決定処理が実行される。当該ステップS200′の制御内容を、上記図10に対応する図13により説明する。
In the process executed by the
図13に示すステップS200′のフローでは、上記実施形態の図10に示したステップS200のフローのステップS240及びステップS270に代えて、ステップS245及びステップS275がそれぞれ新たに設けられている。また、ステップS230と上記新たに設けられたステップS245との間に、ステップS235とステップS237とが設けられている。 In the flow of step S200 ′ shown in FIG. 13, steps S245 and S275 are newly provided in place of steps S240 and S270 of the flow of step S200 shown in FIG. Further, Step S235 and Step S237 are provided between Step S230 and the newly provided Step S245.
すなわち、上記図10と同様のステップS210及びステップS220を経て、ステップS230において、実白対応電圧値Vw1及び実黒対応電圧値Vb1が取得されて判定が満たされたら、新たに設けたステップS235に移る。 That is, after the same step S210 and step S220 as in FIG. 10 above, and in step S230, the actual white corresponding voltage value Vw1 and the actual black corresponding voltage value Vb1 are obtained and the determination is satisfied, the newly provided step S235 is performed. Move.
ステップS235では、複数枚(この例では3枚)の被印刷用紙53の全枚数が終了したかどうかが判定される。この全枚数(このれいでは3枚)のカウントに際しては、処理前にユーザが事前に印刷対象(あるいは白色度・黒色度の検出対象)となる被印刷用紙53の枚数を手動入力しておくようにする。あるいは、被印刷用紙53での反射光Lrが受光されなくなった状態が所定時間継続したことをもってプラテンローラ11によりすべての被印刷用紙53が装置外へ排出されたことを認識し、それまでに通過した黒マークPMの数によって枚数を認識するようにしてもよい。全枚数の被印刷用紙53について、実白対応電圧値Vw1及び実黒対応電圧値Vb1が取得されるまで、ステップ220に戻って同様の手順を繰り返す。全枚数の被印刷用紙53について、実白対応電圧値Vw1及び実黒対応電圧値Vb1が取得されたらステップS235の判定が満たされ、新たに設けたステップS237に移る。
In step S235, it is determined whether or not all the plurality of sheets (three in this example) of the
ステップS237では、上記繰り返しの間のステップS230での取得結果に応じて、実白対応電圧値Vwの変動幅γwと、実黒対応電圧値Vbの変動幅γbとを算出する。前述したように図12の例では実白対応電圧値はVw1>Vw1′>Vw1″であるのでγw=Vw1−Vw1″となり、また実黒対応電圧値はVb1>Vb1′>Vb1″であるのでγb=Vb1−Vb1″となる。その後、新たに設けたステップS245に移る。 In step S237, the fluctuation range γw of the actual white corresponding voltage value Vw and the fluctuation range γb of the actual black corresponding voltage value Vb are calculated according to the acquisition result in step S230 during the above repetition. As described above, in the example of FIG. 12, the actual white corresponding voltage value is Vw1> Vw1 ′> Vw1 ″, so that γw = Vw1−Vw1 ″, and the actual black corresponding voltage value is Vb1> Vb1 ′> Vb1 ″. γb = Vb1−Vb1 ″. Thereafter, the process proceeds to newly provided step S245.
ステップS245では、上記ステップS237での算出結果に基づきγb<γwであるかどうかを判定する。実黒対応電圧値Vbの変動幅γbが実白対応電圧値Vwの変動幅γwより小さかった場合(図12参照)は判定が満たされ、図10と同様のステップS250に移りk1=0.3に設定する。一方、実黒対応電圧値Vbの変動幅γbが実白対応電圧値Vwの変動幅γw以上であった場合はステップS245の判定が満たされず、新たに設けたステップS275に移る。 In step S245, it is determined whether γb <γw based on the calculation result in step S237. If the fluctuation width γb of the actual black corresponding voltage value Vb is smaller than the fluctuation width γw of the actual white corresponding voltage value Vw (see FIG. 12), the determination is satisfied, and the routine proceeds to step S250 similar to FIG. Set to. On the other hand, if the variation range γb of the actual black corresponding voltage value Vb is equal to or larger than the variation range γw of the actual white corresponding voltage value Vw, the determination in step S245 is not satisfied, and the process proceeds to a newly provided step S275.
ステップS275では、上記ステップS237での算出結果に基づきγb>γwであるかどうかを判定する。実黒対応電圧値Vbの変動幅γbが実白対応電圧値Vwの変動幅γwより大きかった場合は判定が満たされ、図10と同様のステップS280に移りk1=0.3に設定する。一方、実黒対応電圧値Vbの変動幅γbと実白対応電圧値Vwの変動幅γwとが等しかった場合はステップS275の判定が満たされず、図10と同様のステップS290に移り、k1をk0と同じ値とする。 In step S275, it is determined whether γb> γw based on the calculation result in step S237. If the fluctuation width γb of the actual black corresponding voltage value Vb is larger than the fluctuation width γw of the actual white corresponding voltage value Vw, the determination is satisfied, and the process proceeds to step S280 similar to FIG. 10 to set k1 = 0.3. On the other hand, if the variation width γb of the actual black corresponding voltage value Vb is equal to the variation width γw of the actual white corresponding voltage value Vw, the determination in step S275 is not satisfied, and the routine proceeds to step S290 similar to FIG. 10, and k1 is changed to k0. Same value as.
ステップS250、ステップS280、ステップS290以降は図10と同様であるので説明を省略する。 Step S250, step S280, and step S290 and subsequent steps are the same as in FIG.
なお、前述したように、本変形例の携帯型プリンタ1のCPU12によって実行される処理では、図9のフローにおけるステップS40では、式2において、上記図13の手順で決定されたしきい係数k1と、上記ステップS200′での変動幅γb,γwの算出に関連して取得された最小の実白対応電圧値Vw(上記の例ではVw1″)及び最大の実黒対応電圧値Vb(上記の例ではVb1)とを用いて、新規しきい値TH1の算出が行われる。
As described above, in the process executed by the
以上において、ステップS237が、各請求項記載の白色変動幅検出手段として機能すると共に黒色変動幅検出手段としても機能する。また、上記ステップS40と、上記ステップS250、ステップS280、及びステップS290とが、しきい値更新手段として機能する。 In the above, step S237 functions as a white variation width detecting unit described in each claim and also functions as a black variation range detecting unit. Further, the step S40, the step S250, the step S280, and the step S290 function as a threshold value updating unit.
本変形例においては、上述したように、複数枚の被印刷用紙53それぞれに対して用紙検出センサ35により検出された白色度合い及び黒色度合いのうち、最も劣悪な条件、すなわち白黒の差が少ない条件に基づくしきい値k1へと更新される。この結果、複数枚の被印刷用紙53のいずれに対しても、確実に黒マークPMの検出を高精度に行い、被印刷用紙53への印刷を確実に行うことができる。
In the present modification, as described above, the worst condition among the whiteness level and the blackness level detected by the
なお、上記変形例において、複数枚の被印刷用紙53をプラテンローラ11で順次搬送しつつ、用紙検出センサ35から上記実白対応電圧値Vw1,Vw1′,Vw1″及び実黒対応電圧値Vb,Vb′,Vb″が取得される際、CPU12がモータ駆動回路16を制御することによって、各被印刷用紙53ごとに搬送速度を互いに異なる値とするようにしてもよい(搬送速度設定手段としての機能)。この場合、以下のような効果がある。
In the modified example, the actual white corresponding voltage values Vw1, Vw1 ′, Vw1 ″ and the actual black corresponding voltage value Vb, from the
すなわち、搬送される被印刷用紙53の黒マークPMに対し発光及び受光を行って光学的に検出を行う場合、用紙検出センサ35から被印刷用紙53までの距離が、検出精度に影響を与える場合がある。上記の手法では、複数枚の被印刷用紙53それぞれについて用紙検出センサ35での検出時における搬送速度を互いに異ならせる。このように搬送速度が互いに異なると、搬送中における被印刷用紙53から用紙検出センサ35までの距離も互いに異なることとなり、言い換えれば、精度が互いに微妙に異なる複数回の検出を実施することができる。これにより、初期しきい値TH0に対し新規しきい値TH1への更新を行うときの、用紙検出センサ35の精度のばらつきの影響を低減し、さらに有効なしきい値の変更を行うことができる。
That is, when optical detection is performed by emitting and receiving light on the black mark PM of the conveyed
但し、必ずしも各被印刷用紙53に対する搬送速度を互いに変えなくても良く、搬送速度を等速にしたまま検出を行ってもよい。この場合でも、各被印刷用紙53において微妙に白色度が異なる場合(黄ばみムラ等)や微妙に黒色マークPMの黒色度が異なる場合(色あせムラ等)に対応することができる。
However, it is not always necessary to change the conveyance speed for each
(2)受光器の出力電圧極性が逆の場合
上記実施形態においては、用紙検出センサ35の受光器35Bを構成するフォトトランジスタがコレクタ接地されていることにより(上記図5参照)、受光器35Bの受光量が大きいほど高いレベルの検出電圧値Vを出力していた。しかし、これに限られず、上記図5に対応する図14に示すように、受光器35Bのフォトトランジスタをエミッタ接地することで、受光器35Bの受光量が大きいほど低いレベルの検出電圧値Vを出力するようにしてもよい。
(2) When the output voltage polarity of the light receiver is reversed In the above embodiment, the phototransistor constituting the
この場合、上記図7に対応する図15、上記図8(a)に対応する図16(a)、上記図8(b)に対応する図16(b)、にそれぞれ示すように、白色側と黒色側とで、検出電圧値Vの大小関係が逆の挙動になる。しかしながらこの場合も、前述と同様の式1及び式2を共通に用いて、前述と同様の手法で、初期しきい値TH0の新規しきい値TH1への更新を行うことができ、同様の効果を得ることができる。 In this case, as shown in FIG. 15 corresponding to FIG. 7, FIG. 16 (a) corresponding to FIG. 8 (a), and FIG. 16 (b) corresponding to FIG. On the black side, the magnitude relationship of the detected voltage value V is reversed. However, also in this case, the initial threshold value TH0 can be updated to the new threshold value TH1 by the same method as described above using the same formulas 1 and 2 as described above, and the same effect can be obtained. Can be obtained.
なお、以上において、図4、図5、図14の各図中に示す矢印は信号の流れの一例を示すものであり、信号の流れ方向を限定するものではない。 In addition, in the above, the arrow shown in each figure of FIG.4, FIG.5, FIG.14 shows an example of the flow of a signal, and does not limit the flow direction of a signal.
また、図9、図10、図11、図13等に示すフローチャートは本発明を上記フローに示す手順に限定するものではなく、発明の趣旨及び技術的思想を逸脱しない範囲内で手順の追加・削除又は順番の変更等をしてもよい。 In addition, the flowcharts shown in FIGS. 9, 10, 11, 13 and the like do not limit the present invention to the procedures shown in the above-described flow, and additional procedures can be added within the scope not departing from the spirit and technical idea of the invention. You may delete or change the order.
また、以上既に述べた以外にも、上記実施形態や各変形例による手法を適宜組み合わせて利用しても良い。 In addition to those already described above, the methods according to the above-described embodiments and modifications may be used in appropriate combination.
その他、一々例示はしないが、本発明は、その趣旨を逸脱しない範囲内において、種々の変更が加えられて実施されるものである。 In addition, although not illustrated one by one, the present invention is implemented with various modifications within a range not departing from the gist thereof.
1 携帯型プリンタ
104 挿入口
111 プラテンローラ(搬送手段)
112 サーマルラインヘッド(サーマルヘッド)
35 用紙検出センサ(光学センサ)
35A 投光器(投光手段)
35B 受光器(受光手段)
53 被印刷用紙
Lr 反射光
PM 黒マーク(位置決め用マーク)
1
112 Thermal line head (thermal head)
35 Paper detection sensor (optical sensor)
35A Floodlight (lighting means)
35B Light receiver (light receiving means)
53 Paper to be printed Lr Reflected light PM Black mark (positioning mark)
Claims (5)
前記搬送手段により搬送される前記被印刷用紙に対し、所望の印刷を行うサーマルヘッドと、
前記搬送手段により搬送される前記被印刷用紙の搬送経路に向かって投光可能な投光手段、及び、受光した光量に対応した検出電圧値を出力可能な受光手段、を備えた光学センサと、
前記受光手段による前記検出電圧に関して予め定められた所定の初期しきい値を記憶する初期値記憶手段と、
更新指示信号にしたがって、前記初期値記憶手段に記憶された前記初期しきい値に代えて新規しきい値を算出するしきい値更新手段と、
前記しきい値更新手段による前記新規しきい値の算出後の、前記受光手段の前記検出電圧値が前記新規しきい値に到達したことによって、前記位置決め用マークの検出を行うマーク検出手段と、
印刷指示信号の入力にしたがって、搬送を開始するように前記搬送手段を制御するとともに、前記マーク検出手段の検出結果に基づき前記搬送手段の搬送動作を制御する、印刷用搬送制御手段と、
前記マーク検出手段の検出結果に基づき、前記サーマルヘッドの印刷動作を制御する印刷制御手段と、
前記更新指示信号に応じて、前記被印刷用紙を所定距離だけ搬送するように前記搬送手段を制御する、更新用搬送制御手段と、
を有し、
前記初期しきい値は、
前記受光手段による前記検出電圧値の範囲に対応して予め定められた所定の初期白対応電圧値Vw0及び初期黒対応電圧値Vb0と、初期係数k0を用いて算出した値Vb0+k0(Vw0-Vb0);(但しk0は1未満の数)であり、
前記新規しきい値は、
前記更新用搬送制御手段の制御に基づき前記搬送手段が前記所定距離だけ前記被印刷用紙を搬送する間の、前記受光手段により出力された前記検出電圧値に基づいて取得される実白対応電流値Vw1及び実黒対応電流値Vb1と新たに設定される実係数k1とを用いて算出した値Vb1+k1(Vw1−Vb1)である
ことを特徴とするプリンタ。 Transport means for transporting a printing paper provided with a light-absorbing positioning mark;
A thermal head for performing desired printing on the printing paper conveyed by the conveying means;
An optical sensor including a light projecting unit capable of projecting light toward a transport path of the printing paper transported by the transport unit, and a light receiving unit capable of outputting a detection voltage value corresponding to the received light amount;
An initial value storage means for storing a predetermined initial threshold value predetermined with respect to the detection voltage by the light receiving means;
Threshold value updating means for calculating a new threshold value instead of the initial threshold value stored in the initial value storage means in accordance with an update instruction signal;
Mark detection means for detecting the positioning mark when the detection voltage value of the light receiving means reaches the new threshold after the calculation of the new threshold by the threshold update means;
A conveyance control unit for printing that controls the conveyance unit to start conveyance according to an input of a print instruction signal, and controls a conveyance operation of the conveyance unit based on a detection result of the mark detection unit;
Print control means for controlling the printing operation of the thermal head based on the detection result of the mark detection means;
An update conveyance control means for controlling the conveyance means to convey the printing paper for a predetermined distance in response to the update instruction signal;
Have
The initial threshold is
A value Vb0 + k0 (Vw0−Vb0) calculated using a predetermined initial white corresponding voltage value Vw0 and an initial black corresponding voltage value Vb0, which are determined in advance corresponding to the range of the detection voltage value by the light receiving means, and an initial coefficient k0. (Where k0 is a number less than 1),
The new threshold is
An actual white corresponding current value acquired based on the detected voltage value output by the light receiving unit while the transport unit transports the printing paper by the predetermined distance based on the control of the update transport control unit. A printer having a value Vb1 + k1 (Vw1−Vb1) calculated by using Vw1 and an actual black corresponding current value Vb1 and a newly set actual coefficient k1.
前記更新用搬送制御手段の制御に基づき前記搬送手段が前記所定距離だけ前記被印刷用紙を搬送する間の前記受光手段による前記検出電圧値に基づき、前記被印刷用紙の白色度合いが、所定の白色基準に達しているかどうかを判定する白色度判定手段を有し、
前記しきい値更新手段は、
前記白色度判定手段により前記被印刷用紙の白色度合いが所定の白色基準に達していないと判定された場合、k1をk0より小さな値に設定する
ことを特徴とするプリンタ。 The printer according to claim 1.
Based on the detection voltage value by the light receiving unit while the conveyance unit conveys the printing paper by the predetermined distance based on the control of the update conveyance control unit, the whiteness degree of the printing paper is predetermined white Having whiteness determination means for determining whether or not the reference is reached,
The threshold update means includes
The printer, wherein when the whiteness determination means determines that the whiteness of the printing paper does not reach a predetermined whiteness standard, k1 is set to a value smaller than k0.
前記更新用搬送制御手段の制御に基づき前記搬送手段が前記所定距離だけ前記被印刷用紙を搬送する間の前記受光手段による前記検出電圧値に基づき、前記位置決め用マークの黒色度合いが、所定の黒色基準に達しているかどうかを判定する黒色度判定手段を有し、
前記しきい値更新手段は、
前記黒色度判定手段により、前記位置決め用マークの黒色度合いが所定の黒色基準に達していないと判定された場合、k1をk0より大きな値に設定する
ことを特徴とするプリンタ。 The printer according to claim 1.
Based on the detection voltage value by the light receiving means while the conveyance means conveys the printing paper for the predetermined distance based on the control of the update conveyance control means, the degree of blackness of the positioning mark is predetermined black It has a blackness determination means for determining whether or not the standard has been reached,
The threshold update means includes
The printer according to claim 1, wherein when the blackness determination means determines that the blackness of the positioning mark does not reach a predetermined black reference, k1 is set to a value larger than k0.
前記更新用搬送制御手段は、
前記更新指示信号に応じて、複数枚の前記被印刷用紙に対応した前記所定距離を連続的に搬送するように前記搬送手段を制御し、
前記光学センサは、
前記連続的に搬送される複数枚の前記被印刷用紙それぞれに対し、前記投光手段が投光を行うと共に前記受光手段が検出電圧値を出力し、
かつ、
前記更新用搬送制御手段の制御に基づき前記搬送手段が前記所定距離だけ前記複数の被印刷用紙を搬送する間に、前記複数の被印刷用紙それぞれに対応して前記受光手段から出力される複数の前記検出電圧値に基づき、前記複数の被印刷用紙の白色度合いの変動幅を検出する白色変動幅検出手段、及び、前記複数の被印刷用紙にそれぞれ設けられた複数の前記位置決め用マークの黒色度合いの変動幅を検出する黒色変動幅検出手段、を設け、
前記しきい値更新手段は、
前記白色変動幅検出手段により検出された白色度合いの変動幅と、前記黒色変動幅検出手段により検出された黒色度合いの変動幅と、のうち、変動幅の小さいほうに対応するように、k1を設定し、かつ
当該変動幅に応じて設定されたk1と、前記複数枚の被印刷用紙に関して前記受光手段より出力された前記複数の検出電圧値のうち白色度合いが最も低い印刷用紙に係わる検出電圧値と、前記複数枚の被印刷用紙の前記位置決めマークに関して前記受光手段により出力された前記複数の検出電圧値のうち黒色度合いが最も低いと位置決め用マークに係わる検出電圧値とに基づき、前記新規しきい値の算出を行う
ことを特徴とするプリンタ。 The printer according to claim 1.
The update transport control means includes:
In response to the update instruction signal, the conveying means is controlled to continuously convey the predetermined distance corresponding to the plurality of sheets to be printed,
The optical sensor is
For each of the plurality of sheets to be printed continuously conveyed, the light projecting unit projects light and the light receiving unit outputs a detection voltage value,
And,
While the transport unit transports the plurality of print sheets by the predetermined distance based on the control of the update transport control unit, a plurality of light output from the light receiving unit corresponding to each of the plurality of print sheets. Based on the detected voltage value, a white variation width detecting means for detecting a variation range of the whiteness degree of the plurality of printing papers, and a blackness degree of the positioning marks provided on the plurality of printing papers, respectively. Black fluctuation range detecting means for detecting the fluctuation range of
The threshold update means includes
K1 is set so as to correspond to the smaller one of the fluctuation width of the whiteness degree detected by the whiteness fluctuation width detection means and the fluctuation width of the blackness degree detected by the blackness fluctuation width detection means. K1 set according to the fluctuation range and the detection voltage relating to the printing paper having the lowest whiteness among the plurality of detection voltage values output from the light receiving unit with respect to the plurality of printing papers. And the new detection voltage value related to the positioning mark when the blackness is the lowest among the plurality of detection voltage values output by the light receiving unit with respect to the positioning marks of the plurality of print sheets. A printer characterized by calculating a threshold value.
前記更新用搬送制御手段は、
複数枚の前記被印刷用紙を連続的に搬送するときに、各被印刷用紙ごとに搬送速度が互いに異なった値となるように前記搬送手段を制御する、搬送速度設定手段を備える
ことを特徴とするプリンタ。 The printer according to claim 4.
The update transport control means includes:
And a conveyance speed setting unit that controls the conveyance unit so that the conveyance speeds of the respective printing papers are different from each other when the plural printing papers are continuously conveyed. Printer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010170635A JP5500372B2 (en) | 2010-07-29 | 2010-07-29 | Printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010170635A JP5500372B2 (en) | 2010-07-29 | 2010-07-29 | Printer |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012030435A true JP2012030435A (en) | 2012-02-16 |
JP5500372B2 JP5500372B2 (en) | 2014-05-21 |
Family
ID=45844469
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010170635A Active JP5500372B2 (en) | 2010-07-29 | 2010-07-29 | Printer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5500372B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8947483B1 (en) | 2013-07-24 | 2015-02-03 | Fujitsu Component Limited | Printer and mark detection method |
US9676204B2 (en) | 2015-09-18 | 2017-06-13 | Brother Kogyo Kabushiki Kaisha | Printer having light shielding structure preventing external light from entering into housing |
CN118457065A (en) * | 2024-07-10 | 2024-08-09 | 珠海芯烨电子科技有限公司 | Continuous dimming black mark detection method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09322127A (en) * | 1996-05-28 | 1997-12-12 | Sanyo Electric Co Ltd | Decision circuit for edtv-ii identification signal |
JP2000061893A (en) * | 1998-08-21 | 2000-02-29 | Toshiba Corp | Ticket issuing device and ticket issuing method |
JP2008120583A (en) * | 2006-11-15 | 2008-05-29 | Oki Electric Ind Co Ltd | Ticketing device and its ticketing method |
-
2010
- 2010-07-29 JP JP2010170635A patent/JP5500372B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09322127A (en) * | 1996-05-28 | 1997-12-12 | Sanyo Electric Co Ltd | Decision circuit for edtv-ii identification signal |
JP2000061893A (en) * | 1998-08-21 | 2000-02-29 | Toshiba Corp | Ticket issuing device and ticket issuing method |
JP2008120583A (en) * | 2006-11-15 | 2008-05-29 | Oki Electric Ind Co Ltd | Ticketing device and its ticketing method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8947483B1 (en) | 2013-07-24 | 2015-02-03 | Fujitsu Component Limited | Printer and mark detection method |
CN104339892A (en) * | 2013-07-24 | 2015-02-11 | 富士通电子零件有限公司 | Printer and mark detection method |
CN104339892B (en) * | 2013-07-24 | 2017-04-12 | 富士通电子零件有限公司 | Printer and mark detection method |
US9676204B2 (en) | 2015-09-18 | 2017-06-13 | Brother Kogyo Kabushiki Kaisha | Printer having light shielding structure preventing external light from entering into housing |
CN118457065A (en) * | 2024-07-10 | 2024-08-09 | 珠海芯烨电子科技有限公司 | Continuous dimming black mark detection method and device |
Also Published As
Publication number | Publication date |
---|---|
JP5500372B2 (en) | 2014-05-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8585303B2 (en) | Label producing apparatus with optical sensor and external light correction | |
JP2007091467A (en) | Recording apparatus and control method | |
JP2004059192A (en) | Printer | |
JP5500372B2 (en) | Printer | |
JP5982938B2 (en) | Image forming apparatus and medium edge determination method | |
JP6000194B2 (en) | Sheet detection apparatus and image forming apparatus | |
JP7077532B2 (en) | Printing device and control method of printing device | |
JP2011167859A (en) | Image forming device | |
US20170120631A1 (en) | Medium detection mechanism, medium detection method, and printing apparatus | |
JP5668280B2 (en) | Printing apparatus and edge detection method of printing medium | |
JP2010235217A (en) | Image recorder | |
JP2010058889A (en) | Paper size detection device | |
US11712906B2 (en) | Illuminator calibrations for media edge detections | |
JP2003254721A (en) | Device for discriminating printing sheet, printer, computer program, computer system, and method of discriminating printing sheet | |
JP2008238606A (en) | Printer | |
US6428131B1 (en) | Image forming apparatus determining presence/absence of ink while moving ink cartridge | |
JP2012091929A (en) | Printer | |
JP2006231871A (en) | Liquid jet apparatus, controlling method and program | |
JP2006346988A (en) | Printing apparatus and control method for the same | |
JP4248439B2 (en) | Paper edge detection device and printer using the same | |
JP3089578U (en) | Inkjet printer | |
JP2020199711A (en) | Image formation device and timing adjustment method | |
JP2012062184A (en) | Medium processing device and method of controlling the same | |
JP2010189075A (en) | Recorder, control method of recorder and control program | |
JP2012246120A (en) | Printing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130226 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131115 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131119 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140120 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20140213 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140226 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5500372 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |