JP2003237153A - Thermal printer - Google Patents

Thermal printer

Info

Publication number
JP2003237153A
JP2003237153A JP2002045034A JP2002045034A JP2003237153A JP 2003237153 A JP2003237153 A JP 2003237153A JP 2002045034 A JP2002045034 A JP 2002045034A JP 2002045034 A JP2002045034 A JP 2002045034A JP 2003237153 A JP2003237153 A JP 2003237153A
Authority
JP
Japan
Prior art keywords
paper
platen
print head
thermal printer
setting process
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002045034A
Other languages
Japanese (ja)
Inventor
Takao Akiyama
隆雄 秋山
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.)
SII P and S Inc
Original Assignee
SII P and S Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SII P and S Inc filed Critical SII P and S Inc
Priority to JP2002045034A priority Critical patent/JP2003237153A/en
Publication of JP2003237153A publication Critical patent/JP2003237153A/en
Pending legal-status Critical Current

Links

Landscapes

  • Handling Of Sheets (AREA)
  • Electronic Switches (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a paper setting process function of a thermal printer which can surely set papers while saving wasteful feeding of papers. <P>SOLUTION: The thermal printer for printing in a state with the paper held between a platen and a printing head is provided with a paper setting process control means 41 for controlling a paper feed motor 15A which rotates to drive the platen at a paper setting process time when a leading end of the paper fed along a paper introduction path is inserted between the platen and the printing head, and a load detecting circuit 44 for detecting a change of a quantity of electricity which reflects a rotational load of the paper feed motor 15A. When the paper feed motor 15A is rotated to drive and the load detecting circuit detects the paper presence at the paper setting process time, the driving of the paper feed motor 15A is stopped on the basis of the detection. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、プラテンと印字
ヘッドの間に用紙を押圧して印字を行なうサーマルプリ
ンタに関し、例えばキャッシュレジスタに搭載されるよ
うなサーマルプリンタに適用して有用な技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a thermal printer which presses a sheet between a platen and a print head to perform printing, and more particularly to a technique useful when applied to a thermal printer mounted on a cash register.

【0002】[0002]

【従来の技術】例えば、店舗のキャッシュレジスタに搭
載されるプリンタとして、近年、ダイレクトラインサー
マルプリンタが良く使われている。ダイレクトラインサ
ーマルプリンタは、発熱体を感熱紙に接触させて印字を
行うプリンタのうち、印字ヘッドに少なくとも1ライン
分の印字を行なう複数の発熱体が配列され、印字ヘッド
を用紙に対して横方向(ライン方向)に移動させること
なく、用紙を縦方向に間歇的におくりながら印字ヘッド
を駆動していくことで印字を行なうように構成されたも
のである。
2. Description of the Related Art For example, a direct line thermal printer has been widely used in recent years as a printer installed in a cash register of a store. A direct line thermal printer is a printer that performs printing by bringing a heating element into contact with a thermal paper, and a plurality of heating elements that print at least one line are arranged on the print head. Printing is performed by driving the print head while intermittently moving the paper in the vertical direction without moving it in the (line direction).

【0003】このようなダイレクトラインサーマルプリ
ンタにおいては、上記印字ヘッドにプラテンを押し当て
て、用紙が印字ヘッドに押圧された状態で印字が行なわ
れるのが一般的である。用紙はロール紙が用いられ、プ
ラテンが回転することで用紙が縦方向に送られる。
In such a direct line thermal printer, it is general that a platen is pressed against the print head so that printing is performed while the paper is pressed by the print head. Roll paper is used as the paper, and the paper is fed in the vertical direction by rotating the platen.

【0004】[0004]

【発明が解決しようとする課題】上記のようなダイレク
トラインサーマルプリンタにおいて用紙をセットする方
式は大きく分けて2種類ある。1つは印字ヘッドとプラ
テンとの押圧を解除するヘッドリリース機構を設け、用
紙をセットする際に印字ヘッドをプラテンから離してそ
の間に用紙を挿入する方式である。もう1つは用紙が無
い状態でプラテンを回転させ、回転しているプラテンと
印字ヘッドとの間に用紙の先端を挿入することで、プラ
テンにより用紙を自動的に印字ヘッドの間に送り込むよ
うにした自動挿入方式である。
There are roughly two types of methods for setting paper in the above-mentioned direct line thermal printer. One is a system in which a head release mechanism that releases the pressing force between the print head and the platen is provided, and when setting the paper, the print head is separated from the platen and the paper is inserted between them. The other is to rotate the platen with no paper and insert the leading edge of the paper between the rotating platen and the print head so that the platen automatically feeds the paper between the print heads. It is an automatic insertion method.

【0005】前者の方式は、印字ヘッド或いはプラテン
を移動させてその押圧を解除する操作が必要なので、キ
ャッシュレジスターなどの本体装置にサーマルプリンタ
を搭載する場合に、上記の解除操作を容易に行なうこと
ができる個所にサーマルプリンタを搭載する必要があり
本体装置の設計自由度が減るという課題がある。
The former method requires the operation of moving the print head or the platen to release the pressing force. Therefore, when the thermal printer is mounted on the main body device such as a cash register, the above releasing operation can be performed easily. Since it is necessary to mount a thermal printer at a location where it can be installed, there is a problem that the degree of freedom in designing the main body device is reduced.

【0006】また、印字ヘッドとプラテンとの間に僅か
な隙間しか開かない場合には、プラテンの摩擦抵抗が大
きいため、用紙を簡単に通すことが難しく、例えば、用
紙の先端を切ったり折り曲げたりして用紙を通しやすい
ように加工する必要が生じるなど、用紙の交換作業が煩
雑になるという課題があった。
When only a small gap is opened between the print head and the platen, the friction resistance of the platen is so great that it is difficult to easily pass through the paper. For example, the leading edge of the paper is cut or bent. Then, there is a problem that the work of replacing the paper becomes complicated because it is necessary to process the paper so that the paper can be easily passed through.

【0007】また、後者の自動挿入方式では、用紙をセ
ットする際にプラテンの回転期間が長いと、用紙の先端
がプラテン・印字ヘッド間に挿入された後にもプラテン
の回転がずっと続けられ、それにより用紙が大きく送ら
れて用紙の無駄が大きくなったり、無駄な用紙送りのた
めにセット処理の時間が長くなるという欠点が生じる。
一方、用紙をセットする際にプラテンの回転期間が短い
と、用紙の先端がプラテン・印字ヘッド間に挿入される
前にプラテンの回転が停止して用紙をセットすることが
出来なくなるという恐れがある。
In the latter automatic insertion method, when the platen is rotated for a long period of time when the paper is set, the platen continues to rotate even after the leading edge of the paper is inserted between the platen and the print head. As a result, a large amount of paper is fed and waste of paper is increased, and there is a drawback that the setting process takes a long time due to wasteful paper feeding.
On the other hand, if the rotation period of the platen is short when the paper is set, the rotation of the platen may stop before the leading edge of the paper is inserted between the platen and the print head, and the paper may not be set. .

【0008】また、上記の自動挿入方式を採用する場合
においては、用紙をプラテン・印字ヘッド間へと導く用
紙導入経路を設け、用紙をセットする際に、作業者が手
動で用紙を用紙導入経路に挿入して用紙の先端をプラテ
ン・印字ヘッド間まで送るようにするのが一般的であっ
た。このような構成の場合、用紙を送ってその先端がプ
ラテン・印字ヘッドに達するまでの時間は、その時々に
より或いは作業者の熟練度によりばらつき一定しない。
そのため、上記の自動挿入方式を採用する場合には、用
紙の挿入時間に余裕をみて、プラテンの回転時間は十分
に長めに設定されるのが通常だった。それゆえ、用紙の
無駄や処理時間の浪費は長いものになっていた。
Further, in the case of adopting the above-mentioned automatic insertion system, a paper introducing path for guiding the paper between the platen and the print head is provided, and when setting the paper, the operator manually inserts the paper into the paper introducing path. In general, the leading edge of the paper was fed between the platen and the print head. In the case of such a configuration, the time from when the paper is fed to when the leading edge of the paper reaches the platen / print head does not vary depending on the time or the skill of the operator.
Therefore, when the above-described automatic insertion method is adopted, it is usual that the rotation time of the platen is set to be sufficiently long with a margin for the paper insertion time. Therefore, waste of paper and waste of processing time are long.

【0009】また、用紙がプラテン・印字ヘッド間を通
過したところに用紙の有無を検出する光センサなどを設
け、用紙が出てきたところでプラテンの回転を止めるよ
うに制御することで用紙の無駄な送りを回避することも
考えられたが、キャッシュレジスタなどに搭載されるサ
ーマルプリンタでは、プラテンと印字ヘッドとが用紙排
出口に隣接した位置に配置されることが多いため、用紙
が出てきたところにスペースがなくセンサを設けること
が難しかった。また、スペースがあったとしても外部か
ら散乱光が入ってくるため、光センサなどでは正確な検
出をすることが難しかった。
Further, an optical sensor or the like for detecting the presence or absence of the paper is provided at the place where the paper passes between the platen and the print head, and the platen is controlled to stop the rotation when the paper comes out. It was possible to avoid feeding, but in thermal printers that are installed in cash registers, etc., the platen and print head are often located adjacent to the paper ejection port, so when paper comes out. It was difficult to install the sensor because there was no space in the room. Further, even if there is a space, scattered light enters from the outside, so that it is difficult to perform accurate detection with an optical sensor or the like.

【0010】また、本体装置の用紙排出口から離れた位
置にサーマルプリンタが搭載されるような場合でも、サ
ーマルプリンタ自体はユニット化され小型化が求められ
るので、用紙を排出部にスペースを設けてセンサを取り
付けるのは好ましくなかった。
Further, even when the thermal printer is mounted at a position away from the sheet discharge port of the main body apparatus, the thermal printer itself is required to be unitized and downsized. It was not preferable to attach the sensor.

【0011】この発明の目的は、プラテンや印字ヘッド
の周辺にセンサなどを設けずに、プラテンと印字ヘッド
との間に用紙が有るか無いかを検出可能とし、さらに、
用紙をセットする処理に自動挿入方式を採用した場合で
も、用紙の無駄な送りを省きつつ、用紙を確実にセット
することが可能な用紙セット処理機能を備えたサーマル
プリンタを提供することに有る。
An object of the present invention is to make it possible to detect whether or not there is a sheet between the platen and the print head without providing a sensor or the like around the platen or the print head.
It is an object of the present invention to provide a thermal printer having a paper setting processing function that can reliably set paper while eliminating wasteful feeding of the paper even when the automatic insertion method is used for the paper setting process.

【0012】[0012]

【課題を解決するための手段】本発明は、上記目的を達
成するため、プラテンと印字ヘッドとの間に用紙が挟ま
れた状態で印字が行われるサーマルプリンタにおいて、
上記プラテンを回転駆動する駆動モータの回転負荷が反
映される所定の電気量を検出する負荷検出手段を備え、
上記負荷検出手段の検出結果に基づき上記プラテンと印
字ヘッド間の用紙の有無が判別されるように構成された
ものである。
In order to achieve the above object, the present invention provides a thermal printer in which printing is performed with a sheet sandwiched between a platen and a print head.
A load detecting means for detecting a predetermined amount of electricity that reflects the rotation load of the drive motor for rotating the platen;
The presence / absence of paper between the platen and the print head is determined based on the detection result of the load detection means.

【0013】このような手段によれば、上記の負荷検出
手段により、光センサのような検出手段をプラテンや印
字ヘッドの周辺に設けなくても、プラテンと印字ヘッド
との間に用紙が有るか無いかを検出することが出来る。
According to such a means, even if the load detecting means does not provide a detecting means such as an optical sensor around the platen or the print head, is there a sheet between the platen and the print head? It is possible to detect if there is no.

【0014】さらに、本発明は、用紙を上記プラテンと
印字ヘッドとの間へ導く用紙導入経路と、該用紙導入経
路に沿って用紙が送られ該用紙の先端が上記プラテンと
印字ヘッドとの間へ挿入される用紙セット処理の際に上
記駆動モータの制御を行う用紙セット処理制御手段とを
備え、上記用紙セット処理制御手段は、上記用紙セット
処理の際に上記駆動モータを駆動させるとともに、上記
負荷検出手段により用紙有りの検出がなされた場合に、
該検出に基づき上記駆動モータの駆動を停止させるよう
に構成したものである。
Further, according to the present invention, a sheet introduction path for guiding the sheet between the platen and the print head, and a sheet fed along the sheet introduction path so that the front end of the sheet is between the platen and the print head. A sheet setting process control unit that controls the drive motor during a sheet setting process that is inserted into the sheet setting process, wherein the sheet setting process control unit drives the drive motor during the sheet setting process, and When the presence of paper is detected by the load detection means,
The drive of the drive motor is stopped based on the detection.

【0015】このような手段によれば、用紙をセットす
る際、用紙を用紙導入経路に沿ってプラテン・印字ヘッ
ド間へ送るまでの時間がばらついても、用紙がプラテン
・印字ヘッド間に挿入されてから適宜のタイミングでプ
ラテンが停止されるので、用紙を確実にセットすること
が出来るとともに、用紙の無駄な送りも省くことが出来
る。
According to such means, when the paper is set, the paper is inserted between the platen and the print head even if the time until the paper is sent between the platen and the print head along the paper introduction path varies. After that, the platen is stopped at an appropriate timing, so that the paper can be set with reliability and unnecessary feeding of the paper can be omitted.

【0016】具体的には、上記用紙導入経路の途中で用
紙の有無を検出する用紙検出センサを備え、上記用紙セ
ット処理制御手段は、上記用紙検出センサが用紙無しの
検出状態から用紙有りの検出状態に変化したことに基づ
き上記駆動モータの駆動を開始するとともに、上記負荷
検出手段により用紙有りの検出がなされてから上記駆動
モータを所定量駆動した後に該駆動モータを停止させる
ように構成すると良い。これにより、用紙セットにかか
るプラテンの動作の無駄が省け、用紙セット後の用紙の
排出長さも最適なものにすることが出来る。
Specifically, a paper detection sensor for detecting the presence / absence of paper is provided on the way of the paper introduction path, and the paper setting process control means detects the presence of paper from the detection condition of the paper detection sensor. The driving of the drive motor may be started based on the change in the state, and the drive motor may be driven by a predetermined amount after the presence of paper is detected by the load detection means, and then the drive motor may be stopped. . As a result, it is possible to eliminate the waste of the operation of the platen for setting the paper and to optimize the discharge length of the paper after setting the paper.

【0017】上記のような手段は、上記印字ヘッドと上
記プラテンとの接触部位が、外部に印字後の用紙を排出
する用紙排出口に隣接するように配置されているサーマ
ルプリンタに対して特に有用である。
The means as described above is particularly useful for a thermal printer in which the contact portion between the print head and the platen is arranged so as to be adjacent to the paper discharge port for discharging the printed paper to the outside. Is.

【0018】具体的には、上記印字ヘッドは、感熱紙に
少なくとも1ライン分のドット印字を行う複数の発熱体
が上記プラテンの回転軸の軸方向に沿って配列されてい
る構成のものである。
Specifically, the print head has a structure in which a plurality of heating elements for performing dot printing for at least one line on a thermal paper are arranged along the axial direction of the rotation axis of the platen. .

【0019】[0019]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0020】図1は、本発明の実施の形態のサーマルプ
リンタの構造を示す側面図である。
FIG. 1 is a side view showing the structure of a thermal printer according to an embodiment of the present invention.

【0021】この実施の形態のサーマルプリンタ1は、
例えば、レシートの印字を行なうためにキャッシュレジ
スタに搭載されるユニット装置であり、ほぼ直方体の筐
体に印字ヘッド10、プラテン15、および、用紙導入
路20などが設けられたものである。正面図や平面図は
省略するが、サーマルプリンタ1の筐体や用紙導入路2
0は、ロール紙Rの紙幅よりもやや幅広の大きさに形成
されたものであり、また、印字ヘッド10やプラテン1
5はロール紙Rの紙幅程度の幅を有すものである。
The thermal printer 1 of this embodiment is
For example, it is a unit device mounted in a cash register for printing a receipt, and is provided with a print head 10, a platen 15, a paper introduction path 20 and the like in a substantially rectangular parallelepiped casing. Although the front view and the plan view are omitted, the housing of the thermal printer 1 and the paper introduction path 2
0 is formed to be slightly wider than the paper width of the roll paper R, and the print head 10 and the platen 1
5 has a width of about the width of the roll paper R.

【0022】印字ヘッド10には、ドット印字を行なう
複数の発熱体がライン方向(幅方向)に並んで設けられ
ており、これらの発熱体が感熱紙であるロール紙に作用
してライン印字を行なう。印字ヘッド10は、支軸12
を中心に回動可能に支持され且つばね11によりプラテ
ン15に押圧された状態とされ、プラテン15に押圧さ
れた部分に上記の発熱体が配置される。
The print head 10 is provided with a plurality of heating elements for dot printing arranged side by side in the line direction (width direction). These heating elements act on roll paper, which is a thermal paper, to perform line printing. To do. The print head 10 has a spindle 12
It is rotatably supported around the platen and is pressed against the platen 15 by the spring 11, and the heating element is arranged in the part pressed by the platen 15.

【0023】プラテン15は回転軸16とともに回転可
能な状態で軸支され、この回転軸16はギヤを介して駆
動モータである紙送りモータ15A(図2)に接続され
ている。
The platen 15 is rotatably supported together with a rotary shaft 16, and the rotary shaft 16 is connected via a gear to a paper feed motor 15A (FIG. 2) which is a drive motor.

【0024】用紙導入路20は、筐体の上面側の導入口
からプラテン15の下側を通って印字ヘッド10とプラ
テン15との間に到達するように形成されている。ま
た、印字ヘッド10とプラテン15との間を過ぎると、
そのすぐ近傍にロール紙Rを筐体外に排出する排出口2
2が設けられている。
The sheet introduction path 20 is formed so as to reach between the print head 10 and the platen 15 from the introduction port on the upper surface side of the housing, through the lower side of the platen 15. Further, when passing between the print head 10 and the platen 15,
A discharge port 2 for discharging the roll paper R to the outside of the housing in the immediate vicinity thereof
Two are provided.

【0025】また、用紙導入路20の途中には、用紙の
有無を検出する用紙センサ(光センサなど)25が設け
られている。
A paper sensor (optical sensor or the like) 25 for detecting the presence or absence of paper is provided in the middle of the paper introduction path 20.

【0026】また、図1では省略しているが、このサー
マルプリンタ1には印字ヘッド10の位置をスライドさ
せて印字ヘッド10とプラテン15との押圧を解除する
ヘッドリリース機構と、印字ヘッド10がスライドされ
て押圧が解除されたことを検出するヘッドリリース検出
スイッチ13(図2)とが設けられている。
Although not shown in FIG. 1, the thermal printer 1 includes a print head 10 and a head release mechanism that slides the position of the print head 10 to release the pressure between the print head 10 and the platen 15. A head release detection switch 13 (FIG. 2) for detecting that the slide is released and the pressure is released is provided.

【0027】図2は、サーマルプリンタとそれを制御す
るコントローラの電気的な構成を示すブロック図であ
る。
FIG. 2 is a block diagram showing the electrical construction of the thermal printer and the controller for controlling it.

【0028】上記サーマルプリンタ1は、別体に構成さ
れたコントロール基盤40に配線接続されるとともに、
このコントロール基盤40上の制御回路により制御され
るように構成されている。
The thermal printer 1 is wire-connected to a control board 40 which is constructed separately, and
It is configured to be controlled by a control circuit on the control board 40.

【0029】制御回路には、サーマルプリンタ1の全体
的な制御を行ない用紙セット処理制御手段としても機能
するMPU(Micro Processing Unit)41と、MPU
41に作業用のメモリ空間を提供し印字データなどが格
納されるメモリ42と、MPU41の命令に基づき紙送
りモータ15Aに電力を供給し駆動させるモータドライ
バ43と、モータドライバ43の所定の電気量を監視し
て紙送りモータ15Aにかかる負荷の変化を検出する負
荷検出手段としての検出回路44と、サーマルプリンタ
1が搭載される本体装置のホストコンピュータ50など
とデータの入出力を行なうインターフェース45などが
設けられている。電源供給は外部の電源装置52から受
ける。
In the control circuit, an MPU (Micro Processing Unit) 41 that performs overall control of the thermal printer 1 and that also functions as a paper setting process control unit, and an MPU
A memory 42 for providing a working memory space to 41 for storing print data, a motor driver 43 for supplying power to drive the paper feed motor 15A based on a command from the MPU 41, and a predetermined amount of electricity of the motor driver 43. A detection circuit 44 as a load detection means for monitoring the change of the load applied to the paper feed motor 15A and an interface 45 for inputting / outputting data to / from the host computer 50 of the main body device in which the thermal printer 1 is mounted. Is provided. Power is supplied from an external power supply device 52.

【0030】図3は、図2のモータドライバ43と検出
回路44の第1の実施例を示す回路図である。
FIG. 3 is a circuit diagram showing a first embodiment of the motor driver 43 and the detection circuit 44 of FIG.

【0031】モータドライバ43は、2相ステッピング
モータからなる紙送りモータ15Aを対象にユニポーラ
駆動を行なうものであり、入力端子IN1,IN2とI
N3,IN4に順にパルス信号が入力されることで対応
するトランジスタTr1〜Tr4がオンされて、モータ
駆動電圧VLの端子から紙送りモータ15Aの対応する
巻線L1〜L4に電流を流し、それにより紙送りモータ
15Aを所定角ずつ回転させるようになっている。
The motor driver 43 carries out unipolar drive for the paper feed motor 15A consisting of a two-phase stepping motor, and has input terminals IN1, IN2 and I.
When the pulse signals are sequentially input to N3 and IN4, the corresponding transistors Tr1 to Tr4 are turned on, and a current is caused to flow from the terminals of the motor drive voltage VL to the corresponding windings L1 to L4 of the paper feed motor 15A. The paper feed motor 15A is adapted to rotate by a predetermined angle.

【0032】巻線L1〜L4に流れる電流の変化量は紙
送りモータ15Aのトルクにほぼ比例するため、この電
流値により紙送りモータ15Aにかかった回転負荷の大
きさを認識することが出来る。そして、この電流値が抵
抗R1,R2によりその上端ノードn1,n2において
電圧変換されて検出回路44に出力されるようになって
いる。これらの電位は、例えば、プラテン15と印字ヘ
ッド10の間にロール紙Rが押圧された状態で紙送りモ
ータ15Aが回転しているときには通常レベルの電位V
nとなり、ロール紙Rが無くプラテン15が印字ヘッド
10に直接接触した状態で回転しているときには低いレ
ベルの電位Vuとなる。すなわち、紙送りモータ15A
の回転負荷が反映された電気量となる。
Since the amount of change in the current flowing through the windings L1 to L4 is almost proportional to the torque of the paper feed motor 15A, the magnitude of the rotational load applied to the paper feed motor 15A can be recognized from this current value. Then, this current value is voltage-converted by the resistors R1 and R2 at the upper end nodes n1 and n2, and is output to the detection circuit 44. These potentials are, for example, the normal level potential V when the paper feed motor 15A is rotating with the roll paper R being pressed between the platen 15 and the print head 10.
n, and the potential Vu is at a low level when the platen 15 is rotating without the roll paper R in direct contact with the print head 10. That is, the paper feed motor 15A
The amount of electricity reflects the rotational load of.

【0033】検出回路44は、比較電位Vrefを生成
する抵抗R5,R6,R7,R8と、モータドライバ4
3から入力された電位を比較電位Vrefと比較するコ
ンパレータCMP1,CMP2と、これらコンパレータ
CMP1,CMP2の両出力を負論理形式でOR論理を
とる論理ゲートOR1等から構成される。上記の比較電
位Vrefは、上記通常レベルの電位Vnと低レベルの
電位Vuとの中間電位になるように設定されている。ま
た、抵抗R3,R4は、コンパレータCMP1,CMP
2の出力が不安定となったときに、この出力ノードの電
位をハイレベルに補償するものである。
The detection circuit 44 includes resistors R5, R6, R7 and R8 for generating the comparison potential Vref and the motor driver 4
It is composed of comparators CMP1 and CMP2 for comparing the potential input from 3 with the comparison potential Vref, and a logic gate OR1 for taking the OR logic of both outputs of these comparators CMP1 and CMP2 in the negative logic form. The comparison potential Vref is set to an intermediate potential between the normal level potential Vn and the low level potential Vu. The resistors R3 and R4 are connected to the comparators CMP1 and CMP.
When the output of 2 becomes unstable, the potential of this output node is compensated to a high level.

【0034】このような構成により、ロール紙Rが無い
状態で紙送りモータ15Aが回転駆動されたときには、
両コンパレータCMP1,CMP2の出力はともにハイ
レベルとされ、論理ゲートOR1の出力はハイレベルと
なる。一方、ロール紙Rがある状態で紙送りモータ15
Aが回転するときには、両コンパレータCMP1,CM
P2の何れかの出力がローレベルとなって、それにより
論理ゲートOR1の出力がローレベルとなる。そして、
これらの出力に基づき、プラテン15と印字ヘッド10
の間にロール紙Rがあるか否かがMPU41により判別
されるようになっている。
With this configuration, when the paper feed motor 15A is driven to rotate without the roll paper R,
The outputs of both comparators CMP1 and CMP2 are both at high level, and the output of the logic gate OR1 is at high level. On the other hand, with the roll paper R present, the paper feed motor 15
When A rotates, both comparators CMP1, CM
One of the outputs of P2 becomes low level, which causes the output of the logic gate OR1 to become low level. And
Based on these outputs, the platen 15 and the print head 10
The MPU 41 determines whether or not there is the roll paper R between the sheets.

【0035】図4は、図2のモータドライバ43と検出
回路44の第2の実施例を示す回路図である。第2の実
施例においてモータドライバを43A、検出回路を44
Aと記す。
FIG. 4 is a circuit diagram showing a second embodiment of the motor driver 43 and the detection circuit 44 of FIG. In the second embodiment, the motor driver is 43A and the detection circuit is 44A.
Write A.

【0036】このモータドライバ43Aは、2相ステッ
ピングモータに対してユニポーラ駆動を行なう駆動回路
であり、さらに、PWM(Pulse Width Modulation)駆
動により低消費電力化したものである。このモータドラ
イバ43Aでは、入力端子IN1,IN2とIN3,I
N4に順にパルス信号が入力されることで、対応するト
ランジスタTr5〜Tr8がオンされて、モータ駆動電
圧VLの端子から紙送りモータ15Aの対応する巻線L
1〜L4に電流を流し、それにより紙送りモータ15A
を所定角ずつ回転させる。その際、巻線L1〜L4に流
れる電流を抵抗R9,R10により電圧に変換して、こ
の電位をコンパレータCMP3,CMP4によりノコギ
リ波と比較することでPWM信号S1,S2を生成し、
このPWM信号S1,S2によりトランジスタTr9,
Tr12のオン期間を制御して、巻線L1〜L4に流れ
る電流を定電流化する。
The motor driver 43A is a drive circuit for unipolarly driving a two-phase stepping motor, and further has a PWM (Pulse Width Modulation) drive to reduce power consumption. In this motor driver 43A, the input terminals IN1, IN2 and IN3, I
When the pulse signals are sequentially input to N4, the corresponding transistors Tr5 to Tr8 are turned on, and the corresponding winding L of the paper feed motor 15A is fed from the terminal of the motor drive voltage VL.
A current is applied to 1 to L4, whereby the paper feed motor 15A
Is rotated by a predetermined angle. At that time, the currents flowing through the windings L1 to L4 are converted into voltages by the resistors R9 and R10, and this potential is compared with the sawtooth wave by the comparators CMP3 and CMP4 to generate the PWM signals S1 and S2,
With the PWM signals S1 and S2, the transistor Tr9,
The on period of Tr12 is controlled to make the current flowing through the windings L1 to L4 constant.

【0037】このような駆動回路の場合、紙送りモータ
15Aにかかる負荷の変化は、PWM信号S1,S2の
オンパルス期間の変化として表れ、例えば、プラテン1
5と印字ヘッド10の間にロール紙Rが有る状態で紙送
りモータ15Aが回転しているときには通常のオンパル
ス期間T0となる一方、ロール紙Rが無くプラテン15
が印字ヘッド10に直接接触した状態で回転していると
きには短いオンパルス期間T1となる。
In the case of such a drive circuit, a change in the load applied to the paper feed motor 15A appears as a change in the on-pulse period of the PWM signals S1 and S2.
When the paper feed motor 15A is rotating with the roll paper R between the sheet No. 5 and the print head 10, the normal on-pulse period T0 is reached, while the roll paper R is not present and the platen 15 is not present.
Is rotating while being in direct contact with the print head 10, the on-pulse period T1 is short.

【0038】検出回路44Aは、回転負荷が反映される
所定の電気量として上記の2相分のPWM信号S1,S
2を受けてこれらの信号を論理ゲートOR2で1つの信
号にまとめて出力するものである。論理ゲートG1〜G
3は、外部からのセレクト信号SELを受けたときだけ
信号出力を行なわせるためのものである。
The detection circuit 44A uses the PWM signals S1 and S for the above two phases as a predetermined amount of electricity that reflects the rotational load.
Upon reception of 2, these signals are collectively output as one signal by the logic gate OR2. Logic gates G1 to G
Reference numeral 3 is for outputting a signal only when receiving a select signal SEL from the outside.

【0039】MPU41は、上記検出回路44Aから供
給された信号のオンパルス幅を、内部のタイマ機能を用
いて計数することで、プラテン15と紙送りモータ15
Aとの間に用紙が有るか否かの判別を行なうことが出来
る。この第2実施例の場合には検出回路44AとMPU
41により負荷検出手段が構成される。
The MPU 41 counts the on-pulse width of the signal supplied from the detection circuit 44A using an internal timer function, so that the platen 15 and the paper feed motor 15
It is possible to determine whether or not there is a sheet between A and A. In the case of the second embodiment, the detection circuit 44A and the MPU
A load detecting unit is configured by 41.

【0040】次に、上記構成のサーマルプリンタ1にお
いて新たなロール紙Rをセットする際に実行される用紙
セット処理について説明する。
Next, a paper setting process executed when setting a new roll paper R in the thermal printer 1 having the above-mentioned configuration will be described.

【0041】図5には、図2のMPU41により実行さ
れる用紙セット処理のフローチャートを示す。
FIG. 5 shows a flowchart of the paper setting process executed by the MPU 41 of FIG.

【0042】この用紙セット処理は、例えば用紙センサ
25の検出信号により用紙導入路20に用紙がなくなっ
た場合や、ホストPC50から開始命令が入力された場
合などに開始される。用紙セット処理が開始されると、
先ず、ステップS1において用紙センサ25の検出出力
に基づき用紙なしから用紙有りの状態に変化したか、す
なわち、用紙導入路20の途中に用紙が挿入されたか否
かが判別され、用紙が挿入されて用紙有りに変化した場
合には次のステップS2に移行するが、用紙なしのまま
であればこのステップS1を繰り返す。
The paper setting process is started, for example, when there is no paper in the paper introducing path 20 due to the detection signal of the paper sensor 25 or when a start command is input from the host PC 50. When the paper setting process starts,
First, in step S1, it is determined based on the detection output of the paper sensor 25 whether or not the paper is present and the paper is present, that is, whether or not a paper is inserted in the paper introduction path 20 and the paper is inserted. If there is paper, the process proceeds to the next step S2, but if there is no paper, step S1 is repeated.

【0043】ステップS2では、ヘッドリリース検出ス
イッチ13(図2)の出力に基づき印字ヘッド10がリ
リースされたか否かを検出し、リリースされていれば自
動挿入方式の用紙セット処理は行なわないもとしてこの
セット処理を終了するが、リリースされていなければ自
動挿入方式のセット処理を行なうものとして次のステッ
プS3に移行する。
In step S2, whether or not the print head 10 has been released is detected based on the output of the head release detection switch 13 (FIG. 2). If the print head 10 has been released, the automatic insertion type paper setting process is not performed. Although this set process ends, if it has not been released, the process proceeds to the next step S3 assuming that the automatic insert type set process is performed.

【0044】ステップS3では、紙送りモータ15Aを
1ステップ送って、次のステップS4に移行する。
In step S3, the paper feed motor 15A is fed one step, and the process proceeds to the next step S4.

【0045】ステップS4では、用紙センサ25の検出
出力に基づき、用紙が用紙導入路20から引き出されて
いないかを確認し、用紙が挿入されたままであればその
まま次のステップS5に移行するが、用紙が引き出され
て無くなっている場合には、用紙の挿入に失敗して用紙
が引き抜かれたと想定して再びステップS1からの処理
を繰り返す。
In step S4, it is confirmed based on the detection output of the paper sensor 25 whether the paper is pulled out from the paper introducing path 20, and if the paper is still inserted, the process directly proceeds to the next step S5. If the paper has been pulled out and has run out, the processing from step S1 is repeated again assuming that the paper insertion has failed and the paper has been pulled out.

【0046】ステップS5では、上記のステップS3で
紙送りモータ15Aを回転駆動したときの検出回路44
の出力に基づき、プラテン15と印字ヘッド10との間
に用紙が挿入されていることを示すロウレベル出力があ
った場合にはステップS6に移行するが、用紙が無いこ
とを示すハイレベル出力の場合にはステップS3に戻っ
てステップS3〜S5の処理を繰り返す。
In step S5, the detection circuit 44 when the paper feed motor 15A is rotationally driven in step S3 described above.
If there is a low level output indicating that a sheet is inserted between the platen 15 and the print head 10 based on the output of step S6, the process proceeds to step S6, but if there is a high level output indicating that there is no sheet. To return to step S3, the process of steps S3 to S5 is repeated.

【0047】なお、第2実施例のモータドライバ43A
と検出回路44Aを用いた場合には、ステップS5にお
いて、MPU41の内部で検出回路44Aの出力信号の
オンパルス幅の期間が計数され、その期間が通常のオン
パルス期間T0に近ければステップS6に移行し、その
期間が短いオンパルス期間T1に近ければステップS3
に戻される。
Incidentally, the motor driver 43A of the second embodiment.
And the detection circuit 44A is used, in step S5, the period of the ON pulse width of the output signal of the detection circuit 44A is counted inside the MPU 41, and if the period is close to the normal ON pulse period T0, the process proceeds to step S6. If the period is close to the short on-pulse period T1, step S3
Returned to.

【0048】その結果、プラテン15と印字ヘッド10
との間に用紙が挿入されたと判別されてステップS6に
移行した場合には、該ステップにおいて紙送りモータ1
5Aを所定量回転させて用紙を少し送り、その後、ステ
ップS7において紙送りモータ15Aを停止させてこの
用紙セット処理を終了する。
As a result, the platen 15 and the print head 10
If it is determined that a sheet has been inserted between the sheet feeding path and the step S6, the sheet feeding motor 1
5A is rotated by a predetermined amount to feed the paper a little, and then, in step S7, the paper feed motor 15A is stopped to end the paper setting process.

【0049】以上のように、この実施の形態のサーマル
プリンタ1によれば、光センサのような検出手段をプラ
テン15や印字ヘッド10の周辺に設けなくても、検出
回路44(或いは検出回路44AとMPU41)により
紙送りモータ15Aの負荷を表わす電気量の変化を検出
することで、プラテン15と印字ヘッド10との間に用
紙が有るか無いかを検出することが出来る。
As described above, according to the thermal printer 1 of this embodiment, the detection circuit 44 (or the detection circuit 44A) can be provided without providing the detection means such as the optical sensor around the platen 15 or the print head 10. And MPU 41) detect the change in the amount of electricity representing the load of the paper feed motor 15A, it is possible to detect whether or not there is paper between the platen 15 and the print head 10.

【0050】そして、それにより、用紙セット処理の際
に、用紙がプラテン15と印字ヘッド10との間に挿入
されたことが検知できるので、ロール紙Rをゆっくり挿
入しようが素早く挿入しようが、常にロール紙Rの排出
量を一定にした状態で用紙セット処理を完了することが
出来る。そして、このような処理により、無駄な用紙送
りちを省きつつ、用紙を確実にセットすることが出来る
という利点が得られる。
As a result, it is possible to detect that the paper is inserted between the platen 15 and the print head 10 during the paper setting process, and whether the roll paper R is inserted slowly or quickly is always used. The paper setting process can be completed with the discharge amount of the roll paper R being constant. Further, by such a processing, there is an advantage that the paper can be reliably set while omitting the wasteful paper feeding.

【0051】なお、本発明は、上記実施の形態に限られ
るものではなく、様々な変更が可能である。例えば、実
施例ではプラテン15の回転負荷が反映される電気量と
して紙送りモータ15Aに流れる電流値やPWM信号の
オンパルス幅を例示したが、その他、同様に負荷が反映
される電気量であればどのようなものを用いても良い。
The present invention is not limited to the above embodiment, but various modifications can be made. For example, in the embodiment, the current value flowing in the paper feed motor 15A and the on-pulse width of the PWM signal are exemplified as the electric quantity that reflects the rotational load of the platen 15, but the electric quantity that similarly reflects the load is also used. Any kind may be used.

【0052】また、上記実施の形態では、プラテン15
と印字ヘッド10の間に用紙が無い場合よりも有る場合
の方が、紙送りモータ15Aに流れる電流値が大きくな
ったり(図3の場合)、或いは、PWM信号のオンパル
ス幅が広くなる(図4の場合)と説明したが、プラテン
15と用紙と印字ヘッド10の摩擦抵抗などの関係によ
り、上記電気量の変化の方向が逆転することもある。
Further, in the above embodiment, the platen 15
When there is paper between the print head 10 and the print head 10, the current value flowing in the paper feed motor 15A becomes larger (in the case of FIG. 3), or the on-pulse width of the PWM signal becomes wider (FIG. 3). 4), but the direction of change in the electric quantity may be reversed due to the relationship between the platen 15, the paper, and the friction resistance between the print head 10 and the like.

【0053】また、実施の形態では検出回路44,44
Aを、モータドライバ43やMPU41と別構成として
説明したが、これら検出回路44,44Aをモータドラ
イバ43,43Aと同一チップ上に設けたり、MPUに
組み込んで設けたりしても良い。また、図3の検出回路
44は設けずに、A/Dコンバータ内蔵のMPU41を
用いて、このA/Dコンバータにモータドライバ43の
ノードn1,n2の電位を直接入力し、その電位をMP
U41内部でデジタル値に変換して、用紙が挿入された
か否かの判別に用いるように構成することも出来る。
Further, in the embodiment, the detection circuits 44, 44
Although A has been described as a configuration different from the motor driver 43 and the MPU 41, these detection circuits 44 and 44A may be provided on the same chip as the motor drivers 43 and 43A or may be incorporated in the MPU. Further, the detection circuit 44 of FIG. 3 is not provided, and the MPU 41 with a built-in A / D converter is used to directly input the potentials of the nodes n1 and n2 of the motor driver 43 to this A / D converter, and the potential is MP
It can be configured so that it is converted into a digital value inside the U41 and used for determining whether or not a sheet is inserted.

【0054】[0054]

【発明の効果】以上説明したように、本発明に従うと、
プラテンと印字ヘッドの周辺に光センサのような検出手
段を設けることなく、プラテン・印字ヘッド間に用紙が
挿入されたか否かを検出することが出来る。
As described above, according to the present invention,
It is possible to detect whether or not a sheet is inserted between the platen and the print head without providing a detection means such as an optical sensor around the platen and the print head.

【0055】また、この用紙挿入の検出を用紙セット処
理に応用することで、無駄な用紙排出や、それによる処
理時間の浪費を省きつつ、用紙を確実にセットすること
が出来るという効果が得られる。
Further, by applying the detection of the paper insertion to the paper setting process, there is an effect that the paper can be surely set while eliminating wasteful paper discharge and wasted processing time. .

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施の形態のダイレクトラインサーマ
ルプリンタの構造を示す側面図である。
FIG. 1 is a side view showing a structure of a direct line thermal printer according to an embodiment of the present invention.

【図2】サーマルプリンタとそれを制御するコントロー
ラの電気的な構成を示すブロック図である。
FIG. 2 is a block diagram showing an electrical configuration of a thermal printer and a controller that controls the thermal printer.

【図3】図2のモータドライバと検出回路の第一例を示
す回路図である。
FIG. 3 is a circuit diagram showing a first example of a motor driver and a detection circuit of FIG.

【図4】図2のモータドライバと検出回路の第二例を示
す回路図である。
FIG. 4 is a circuit diagram showing a second example of the motor driver and the detection circuit of FIG.

【図5】図2のMPUにより実行される用紙セット処理
の手順を示すフローチャートである。
5 is a flowchart showing a procedure of a paper setting process executed by the MPU of FIG.

【符号の説明】[Explanation of symbols]

1 サーマルプリンタ 10 印字ヘッド 15 プラテン 20 用紙導入路 22 排出口 25 用紙センサ 40 コントロール基盤 41 MPU 43 モータドライバ 44 検出回路 R ロール紙 n1,n2 紙送りモータの負荷が反映される電位の出
力ノード S1,S2 PWM信号
1 Thermal Printer 10 Print Head 15 Platen 20 Paper Introductory Path 22 Ejection Port 25 Paper Sensor 40 Control Board 41 MPU 43 Motor Driver 44 Detection Circuit R Roll Paper n1, n2 Output Node S1 of Potential Reflecting Load of Paper Feed Motor S2 PWM signal

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 プラテンと印字ヘッドとの間に用紙が挟
まれた状態で、上記プラテンが回転することにより用紙
が送られ、且つ、上記印字ヘッドが印字駆動されて用紙
に印字が行われるように構成されたサーマルプリンタに
おいて、 上記プラテンを回転駆動する駆動モータの回転負荷が反
映される所定の電気量の変化を検出する負荷検出手段を
備え、 上記負荷検出手段の検出結果に基づき上記プラテンと印
字ヘッド間の用紙の有無が判別されるように構成されて
いることを特徴とするサーマルプリンタ。
1. A sheet is fed by rotating the platen while the sheet is sandwiched between the platen and the print head, and the print head is driven to print to print on the sheet. In the thermal printer configured as described above, a load detection unit that detects a change in a predetermined amount of electricity that reflects the rotational load of the drive motor that rotationally drives the platen is provided, and the platen is detected based on the detection result of the load detection unit. A thermal printer characterized in that the presence or absence of paper between print heads is determined.
【請求項2】 用紙を上記プラテンと印字ヘッドとの間
へ導く用紙導入経路と、 該用紙導入経路に沿って用紙が送られ該用紙の先端が上
記プラテンと印字ヘッドとの間へ挿入される用紙セット
処理の際に上記駆動モータの制御を行う用紙セット処理
制御手段とを備え、 上記用紙セット処理制御手段は、上記用紙セット処理の
際に上記駆動モータを駆動させるとともに、上記負荷検
出手段により用紙有りの検出がなされた場合に、該検出
に基づき上記駆動モータの駆動を停止させることを特徴
とする請求項1記載のサーマルプリンタ。
2. A paper introducing path for guiding the paper between the platen and the print head, and a paper is fed along the paper introducing path so that the front end of the paper is inserted between the platen and the print head. A paper setting process control means for controlling the drive motor during the paper setting process, wherein the paper setting process control means drives the drive motor during the paper setting process and 2. The thermal printer according to claim 1, wherein when the presence of paper is detected, the drive of the drive motor is stopped based on the detection.
【請求項3】 上記用紙導入経路の途中で用紙の有無を
検出する用紙検出センサを備え、 上記用紙セット処理制御手段は、上記用紙検出センサが
用紙無しの検出状態から用紙有りの検出状態に変化した
ことに基づき上記駆動モータの駆動を開始するととも
に、上記負荷検出手段により用紙有りの検出がなされて
から上記駆動モータを所定量駆動した後に該駆動モータ
を停止させるように構成されていることを特徴とする請
求項2記載のサーマルプリンタ。
3. A paper detection sensor for detecting the presence / absence of paper in the middle of the paper introduction path is provided, and the paper setting processing control means changes the detection status of the paper detection sensor from the absence of paper to the presence of paper. Based on this, the drive motor is started, and after the load detection unit detects the presence of paper, the drive motor is driven by a predetermined amount and then the drive motor is stopped. The thermal printer according to claim 2, which is characterized in that.
【請求項4】 上記プラテンと印字ヘッドとの接触部位
が、印字後の用紙を外部に排出する用紙排出口に隣接す
るように配置されていることを特徴とする請求項1〜3
の何れかに記載のサーマルプリンタ。
4. The contact portion between the platen and the print head is arranged so as to be adjacent to a paper discharge port for discharging the printed paper to the outside.
The thermal printer according to any one of 1.
【請求項5】 上記印字ヘッドは、少なくとも1ライン
分のドット印字を感熱紙に行う複数の発熱体がプラテン
回転軸の軸方向に沿って配列されている構成であること
を特徴とする請求項1〜4の何れかに記載のサーマルプ
リンタ。
5. The print head has a structure in which a plurality of heating elements for performing dot printing for at least one line on a thermal paper are arranged along an axial direction of a platen rotation shaft. The thermal printer according to any one of 1 to 4.
JP2002045034A 2002-02-21 2002-02-21 Thermal printer Pending JP2003237153A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002045034A JP2003237153A (en) 2002-02-21 2002-02-21 Thermal printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002045034A JP2003237153A (en) 2002-02-21 2002-02-21 Thermal printer

Publications (1)

Publication Number Publication Date
JP2003237153A true JP2003237153A (en) 2003-08-27

Family

ID=27784173

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002045034A Pending JP2003237153A (en) 2002-02-21 2002-02-21 Thermal printer

Country Status (1)

Country Link
JP (1) JP2003237153A (en)

Similar Documents

Publication Publication Date Title
US10239333B2 (en) Cutter, printer, and method of controlling cutter
US6046756A (en) Printer device
JP2756599B2 (en) Sheet transport device for recording device
JPH0781186A (en) Power-saving device for information-processing system
JP2003237153A (en) Thermal printer
US6312177B1 (en) Line printer
US4951235A (en) Option unit detecting apparatus for electronic equipment
JPS639563A (en) Control of line-feeding pulse motor in printer
JP5379833B2 (en) Thermal printer and program
US8664799B2 (en) Apparatus including power supply circuit
US8137015B2 (en) Image forming method for determining a position of an ink ribbon with a boundary line
JP2005250739A (en) Electronic device
JPH10258552A (en) Printer and sheet feeder
JP2849465B2 (en) Paper feed control device
JP3445921B2 (en) Media transport device
JP2781076B2 (en) Cooling fan control method
JP2658250B2 (en) Printer
JPH0646597A (en) Recording device
JP2023131229A (en) Printer
JPH0143327B2 (en)
JPH05254217A (en) Printer
JP2006096480A (en) Paper feeder and controlling method of stepping motor for paper feeder
JP2706012B2 (en) Data processing device
JP3433472B2 (en) Printer and control method of the printer
JPH0358318B2 (en)

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20040309