JPH10157232A - Printer - Google Patents

Printer

Info

Publication number
JPH10157232A
JPH10157232A JP31796596A JP31796596A JPH10157232A JP H10157232 A JPH10157232 A JP H10157232A JP 31796596 A JP31796596 A JP 31796596A JP 31796596 A JP31796596 A JP 31796596A JP H10157232 A JPH10157232 A JP H10157232A
Authority
JP
Japan
Prior art keywords
roll paper
paper
cutter
printing
roll
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
JP31796596A
Other languages
Japanese (ja)
Inventor
Masashi Yamada
誠志 山田
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.)
TEC CORP
Original Assignee
TEC CORP
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TEC CORP filed Critical TEC CORP
Priority to JP31796596A priority Critical patent/JPH10157232A/en
Publication of JPH10157232A publication Critical patent/JPH10157232A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To correctly detect whether or not a paper-cutting operation is proper. SOLUTION: A roll paper 2 set on a paper path 6 is transferred by a roll paper-transferring part 9. In the middle of the transfer, a predetermined printing is conducted by a roll paper-printing part 8 arranged at the paper path 6. The roll paper 2 after printed is cut by a roll paper cutter 5a disposed at a terminal end of the paper path 6 and issued from the printer. After the roll paper 2 is cut by the roll paper cutter 5a, the roll paper 2 is sent in the opposite direction to a position where a leading end part of the roll paper 2 passes a roll paper sensor S between the roll paper-printing part 8 and roll paper cutter 5a. The presence/absence of the roll paper 2 is detected on the basis of an output of the roll paper sensor S. Whether the cutting operation to the roll paper is carried out properly or not is correctly detected at all times.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ロール紙に所定事
項を印字し、印字後のロール紙をカットして発行する形
式のプリンタに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer that prints predetermined items on roll paper, cuts the printed roll paper, and issues the cut print.

【0002】[0002]

【従来の技術】従来、ロール紙に所定事項を印字し、印
字後のロール紙をカッタでカットして発行するような形
式のプリンタは、例えば、チケット発行機、レシート発
行機、ラベル/タグ発行機等の各種のプリンタ装置に適
用され、広く普及している。このような形式のプリンタ
は、一般的に、通紙経路上にセットされたロール紙をロ
ール紙搬送部によって搬送し、その搬送途中で通紙経路
に配置されたロール紙印字部によって所定の印字を行
い、通紙経路の終端に配置されたロール紙カッタによっ
て印字後のロール紙をカットし発行するような構造を備
える。そして、ロール紙搬送部等の各部を動作プログラ
ムがインストールされたマイクロコンピュータ(以下、
マイコンと略称する)によって駆動制御し、これによっ
て各部に所望の動作を行わせている。
2. Description of the Related Art Conventionally, printers of a type in which predetermined items are printed on roll paper, and the printed roll paper is cut by a cutter and issued, for example, include a ticket issuing machine, a receipt issuing machine, and a label / tag issuing machine. It is applied to various printers such as printers and is widely used. In general, a printer of this type conveys roll paper set on a paper passing path by a roll paper conveying unit, and performs a predetermined printing by a roll paper printing unit arranged in the paper passing path during the conveyance. And a structure in which the roll paper after printing is cut and issued by a roll paper cutter disposed at the end of the paper passing path. Then, each unit such as the roll paper transport unit is connected to a microcomputer (hereinafter, referred to as a microcomputer) having an operation program installed.
Drive control is performed by a microcomputer, thereby causing each unit to perform a desired operation.

【0003】[0003]

【発明が解決しようとする課題】プリンタでは、正確な
動作を行わせるために、印字動作中における各部の動作
状況の監視が不可欠である。このため、印字動作中に
は、各種のセンサを用いて用紙ジャムや用紙カット動作
の監視等が実行される。
In a printer, it is essential to monitor the operation status of each part during a printing operation in order to perform an accurate operation. For this reason, during a printing operation, monitoring of a paper jam or a paper cutting operation is performed using various sensors.

【0004】ここで、用紙カット動作の監視に着目する
と、カッタの動作状況を監視するためのセンサの出力に
基づいてカッタが正常に動作しているかどうかを監視す
るようなことが一般に行われている。この場合、センサ
は、カッタの可動刃のポジションを見てカッタの動作状
況の適否を判定するのが一般的である。ところが、カッ
タの可動刃のポジションが正常でも、実際には用紙が正
常にカットされていない場合がある。このような場合、
カッタの可動刃のポジションを見てカッタの動作状況の
適否を判定する従来の用紙カット動作の監視方式では、
用紙カット動作の不良を正しく検出することができない
という問題がある。
Attention is paid to the monitoring of the paper cutting operation. In general, it is generally performed to monitor whether or not the cutter is operating normally based on the output of a sensor for monitoring the operating state of the cutter. I have. In this case, the sensor generally determines the appropriateness of the operating state of the cutter by looking at the position of the movable blade of the cutter. However, even if the position of the movable blade of the cutter is normal, the sheet may not actually be cut normally. In such a case,
In the conventional paper cutting operation monitoring method of judging the appropriateness of the operation state of the cutter by looking at the position of the movable blade of the cutter,
There is a problem that a failure in the paper cutting operation cannot be correctly detected.

【0005】本発明の目的は、用紙カット動作の適否を
正しく検出することができるプリンタを得ることであ
る。
An object of the present invention is to provide a printer capable of correctly detecting whether a sheet cutting operation is appropriate.

【0006】[0006]

【課題を解決するための手段】本発明のプリンタは、通
紙経路上にセットされたロール紙をロール紙搬送部によ
って搬送し、その搬送途中で通紙経路に配置されたロー
ル紙印字部によって所定の印字を行い、通紙経路の終端
に配置されたロール紙カッタによって印字後のロール紙
をカットし発行するようにしたプリンタにおいて、ロー
ル紙印字部とロール紙カッタとの間に配置されて通紙経
路中のロール紙の有無を検出するためのロール紙センサ
と、ロール紙カッタによるロール紙のカット後にロール
紙搬送部のドライバに所定パルス数だけ逆搬送方向の駆
動制御信号を付与するロール紙逆搬送手段と、ロール紙
センサの出力に基づいて逆搬送後のロール紙の有無を判
定するカット動作監視手段と、カット動作監視手段がロ
ール紙ありと判定するとエラー処理を行うエラー処理手
段とを備える。
According to the printer of the present invention, a roll paper set on a paper passing path is transported by a roll paper transport section, and a roll paper printing section arranged on the paper passing path in the middle of the transport. In a printer that performs predetermined printing and cuts and issues the printed roll paper by a roll paper cutter arranged at the end of the paper passing path, the printer is disposed between the roll paper printing unit and the roll paper cutter. A roll paper sensor for detecting the presence or absence of roll paper in the paper passing path, and a roll for applying a predetermined number of pulses of a drive control signal in the reverse transport direction to the driver of the roll paper transport unit after the roll paper is cut by the roll paper cutter. Paper reverse transport means, cut operation monitoring means for determining the presence or absence of roll paper after reverse transport based on the output of the roll paper sensor, and cut operation monitoring means determining that roll paper is present That when said error is processing means for performing error processing.

【0007】したがって、ロール紙カッタによるロール
紙のカット後、ロール紙逆搬送手段よりロール紙搬送部
のドライバに所定パルス数だけ逆搬送方向の駆動制御信
号が付与されると、ロール紙搬送部が逆搬送動作をして
ロール紙が通紙経路を逆搬送される。ここで、ロール紙
逆搬送手段によって出力される逆搬送方向の駆動制御信
号の「パルス数」は、ロール紙カッタに正しくカットさ
れたロール紙の先端部が少なくともロール紙センサを通
り過ぎるまでロール紙が逆搬送されるのに相当するパル
ス数である。したがって、ロール紙がロール紙カッタに
正しくカットされた場合には、カット動作監視手段によ
ってロール紙なしが検出されることになる。これに対
し、カット動作監視手段がロール紙ありと判定した場合
には、ロール紙がロール紙カッタに正しくカットされて
いないことになるため、この場合にはエラー処理手段に
よってエラー処理がなされる。
Therefore, after the roll paper is cut by the roll paper cutter, when a drive control signal in the reverse transport direction is given by the predetermined number of pulses to the driver of the roll paper transport unit from the roll paper reverse transport means, the roll paper transport unit is turned on By performing the reverse transport operation, the roll paper is transported backward in the paper passing path. Here, the `` pulse number '' of the drive control signal in the reverse transport direction output by the roll paper reverse transport means is such that the roll paper is cut by the roll paper cutter until at least the leading end of the roll paper passes through the roll paper sensor. This is the number of pulses corresponding to reverse conveyance. Therefore, when the roll paper is correctly cut by the roll paper cutter, the absence of the roll paper is detected by the cutting operation monitoring means. On the other hand, if the cut operation monitoring means determines that there is roll paper, it means that the roll paper has not been cut correctly by the roll paper cutter. In this case, error processing is performed by the error processing means.

【0008】ここで、ロール紙印字部とロール紙カッタ
との間に配置されて通紙経路中のロール紙の有無を検出
するためのロール紙センサは、本発明の必須の構成要素
ではあるが、このようなロール紙センサは、通紙経路中
のロール紙の有無を検出するために従来から一般的に用
いられている。したがって、本発明においては、既存の
ロール紙センサが用紙カット動作の適否を正しく検出す
るための処理に利用されることになり、部品の共通化が
図られる。
Here, the roll paper sensor disposed between the roll paper printing unit and the roll paper cutter for detecting the presence or absence of the roll paper in the paper passing path is an essential component of the present invention. Such a roll paper sensor has conventionally been generally used to detect the presence / absence of roll paper in a paper passing path. Therefore, in the present invention, the existing roll paper sensor is used for a process for correctly detecting the propriety of the paper cutting operation, and the components are shared.

【0009】[0009]

【発明の実施の形態】本発明の実施の一形態を図面に基
づいて説明する。
An embodiment of the present invention will be described with reference to the drawings.

【0010】図1は、プリンタの内部機構を示す縦断側
面図である。プリンタ1は、ロール紙2を収納保持する
ホッパ3を備え、プリンタ1内にはホッパ3から印字部
4を経てロール紙カッタ5aに至る通紙経路6が形成さ
れている。この通紙経路6は、ロール紙1を案内する一
対の用紙案内板7等によって形成されている。印字部4
は、ラインサーマルプリンタヘッドからなるロール紙印
字部8と、通紙経路6を介してラインサーマルプリンタ
ヘッドの図示しない発熱素子アレイが当接する位置に配
置されたプラテンローラ9及びその駆動モータ10(ロ
ール紙搬送部)とによって構成されている。プラテンロ
ーラ9の駆動モータ10にはステッピングモータが用い
られている。また、ロール紙カッタ5aとしては、その
形式を問わず種々の形式のものを用いることができる
が、本実施の形態ではロータリカッタが用いられてい
る。さらに、印字部4とロール紙カッタ5aとの間の通
紙経路6中には、印字部4の側に寄せてロール紙センサ
Sが配設されている。このロール紙センサSも、その形
式を問わずに用いることができるが、本実施の形態では
発光部と受光部とが並列配置された反射形センサが用い
られている。したがって、ロール紙センサSの出力は、
ロール紙2を検出している場合にはオンとなり、ロール
紙2を検出していない場合にはオフとなる。
FIG. 1 is a vertical sectional side view showing an internal mechanism of the printer. The printer 1 includes a hopper 3 for storing and holding the roll paper 2, and a paper passage 6 from the hopper 3 to the roll paper cutter 5 a via the printing unit 4 is formed in the printer 1. The paper passing path 6 is formed by a pair of paper guide plates 7 for guiding the roll paper 1 and the like. Printing unit 4
A platen roller 9 and a drive motor 10 (roller) arranged at a position where a heating element array (not shown) of the line thermal printer head comes in contact with a roll paper printing unit 8 composed of a line thermal printer head via a paper passage path 6 Paper transport unit). A stepping motor is used as the drive motor 10 for the platen roller 9. Further, as the roll paper cutter 5a, various types can be used regardless of the type, but in this embodiment, a rotary cutter is used. Further, a roll paper sensor S is disposed in the paper passing path 6 between the printing unit 4 and the roll paper cutter 5a so as to approach the printing unit 4 side. This roll paper sensor S can also be used in any form, but in the present embodiment, a reflection sensor in which a light emitting unit and a light receiving unit are arranged in parallel is used. Therefore, the output of the roll paper sensor S is
It turns on when the roll paper 2 is detected, and turns off when the roll paper 2 is not detected.

【0011】図2は、各部の電気的接続のブロック図で
ある。プリンタ1は、各種の演算処理を実行して各部を
集中的に制御するCPU11に複数個のROM及びRA
Mからなるメモリ12がバスライン13を介してバス接
続されたマイコン14を備える。メモリ12中のROM
はプリンタ1の動作プログラムを格納する媒体であり、
この動作プログラムに従った制御がマイコン14によっ
て行われる。ROMには動作プログラムの他に各種の固
定情報も記録されている。メモリ12中のRAMはレジ
スト機能を備え、各種の可変情報を一時的に格納する。
また、RAMの一部領域は印字バッファや画像メモリと
して利用され、各種のカウンタ領域として利用される。
図2中、メモリ12は1個しか設けられていないが、こ
れは概念的に示すに過ぎず、実際には複数個のROM及
びRAMが集合してメモリ12が構成されている。
FIG. 2 is a block diagram of the electrical connection of each part. The printer 1 includes a plurality of ROMs and RAs in a CPU 11 that executes various arithmetic processes and centrally controls each unit.
An M memory 12 includes a microcomputer 14 connected to a bus via a bus line 13. ROM in memory 12
Is a medium for storing an operation program of the printer 1, and
Control according to this operation program is performed by the microcomputer 14. Various fixed information is recorded in the ROM in addition to the operation program. The RAM in the memory 12 has a registration function, and temporarily stores various variable information.
Further, a part of the RAM is used as a print buffer or an image memory, and is used as various counter areas.
In FIG. 2, only one memory 12 is provided, but this is only a conceptual illustration, and the memory 12 is actually configured by a plurality of ROMs and RAMs.

【0012】このようなマイコン14に対しては、バス
ライン13を介在させ、ロール紙印字部8がそのドライ
バである印字部コントローラ15を介し、プラテンロー
ラ9の駆動モータ10がそのドライバである搬送部コン
トローラ16を介し、ロール紙カット部5がそのドライ
バであるカット部コントローラ17を介してそれぞれ接
続されている。ロール紙カット部5は、ロール紙カッタ
5aと図示しないカッタセンサとによって構成されてい
る。カッタセンサは、ロール紙カッタ5aの可動刃のポ
ジションを監視し、可動刃が初期位置に復帰しているか
どうかを判断するために用いられる。また、ロール紙セ
ンサS及び外部インターフェースコントローラ18もバ
スライン13を介してマイコン14に接続されている。
これらの各部は、マイコン14の統括制御下に置かれて
いる。
With respect to such a microcomputer 14, the bus line 13 is interposed, the roll paper printing unit 8 is passed through a printing unit controller 15 which is its driver, and the drive motor 10 of the platen roller 9 is its driver. The roll paper cutting section 5 is connected via a section controller 16 via a cutting section controller 17 which is its driver. The roll paper cutting unit 5 includes a roll paper cutter 5a and a cutter sensor (not shown). The cutter sensor is used to monitor the position of the movable blade of the roll paper cutter 5a and determine whether the movable blade has returned to the initial position. The roll paper sensor S and the external interface controller 18 are also connected to the microcomputer 14 via the bus line 13.
These units are placed under the overall control of the microcomputer 14.

【0013】例えば、外部インターフェースコントロー
ラ18を通じてホストコンピュータ19より印字データ
が送信されると、マイコン14では印字処理の動作プロ
グラムが起動される。印字処理の動作プログラムが起動
された場合、メモリ12内の一部領域に設定されたカウ
ンタ領域のうちの一部が、ステッピングモータである駆
動モータ10を駆動するためにマイコン14から搬送部
コントローラ16に送信されるモータ駆動パルスをカウ
ントするための領域として使用される。そこで、マイコ
ン14から駆動モータ10の搬送部コントローラ16に
モータ駆動パルスが送信される度に、メモリ12内のカ
ウンタ領域のモータ駆動パルスカウント値がインクリメ
ントされ、CPU11はこのカウンタ領域のカウント値
に基づいてロール紙2の搬送量をパルス管理する。
For example, when print data is transmitted from the host computer 19 through the external interface controller 18, the microcomputer 14 starts an operation program for printing processing. When the operation program of the printing process is started, a part of the counter area set in a partial area in the memory 12 is changed from the microcomputer 14 to the transport controller 16 to drive the drive motor 10 which is a stepping motor. Is used as an area for counting the motor drive pulses transmitted to the controller. Therefore, every time a motor drive pulse is transmitted from the microcomputer 14 to the transport controller 16 of the drive motor 10, the motor drive pulse count value in the counter area in the memory 12 is incremented. Pulse management of the transport amount of the roll paper 2.

【0014】印字動作としては、まず、マイコン14か
ら駆動モータ10の搬送部コントローラ16にモータ駆
動パルスが送信され、これに応じて搬送部コントローラ
16が駆動モータ10を駆動する。これにより、プラテ
ンローラ9が回転駆動され、これに応じてロール紙2が
ホッパ3から引き出されながら搬送される。この際、メ
モリ12内のカウンタ領域のモータ駆動パルスカウント
値が所定値を越えると、つまり、ロール紙2が所定量搬
送されると、CPU11はロール紙センサSの出力を検
索し、ロール紙センサSの配置位置におけるロール紙2
の有無を判定する。この時、ロール紙センサSの出力が
オフの場合、つまり、ロール紙2がロール紙センサSに
検出されない場合には、用紙ジャム等の異常事態が発生
しているものと判断してエラー処理が行われる。
In the printing operation, first, a motor drive pulse is transmitted from the microcomputer 14 to the transport unit controller 16 of the drive motor 10, and the transport unit controller 16 drives the drive motor 10 in response thereto. As a result, the platen roller 9 is driven to rotate, and accordingly, the roll paper 2 is conveyed while being pulled out from the hopper 3. At this time, when the motor drive pulse count value in the counter area in the memory 12 exceeds a predetermined value, that is, when the roll paper 2 is transported by a predetermined amount, the CPU 11 searches the output of the roll paper sensor S, Roll paper 2 at the position of S
Is determined. At this time, if the output of the roll paper sensor S is off, that is, if the roll paper 2 is not detected by the roll paper sensor S, it is determined that an abnormal situation such as a paper jam has occurred and error processing is performed. Done.

【0015】一方では、このような処理に並行し、CP
U11のマルチタスク機能によって別の処理が行われ
る。つまり、ホストコンピュータ19から送られた印字
データがメモリ12内に設定された印字バッファに送ら
れ、これがメモリ12内に設定された画像メモリに展開
される。そして、画像メモリに展開された画像データに
基づき、マイコン14から印字部コントローラ15に向
けてロール紙印字部8であるサーマルプリンタヘッドの
各発熱素子を発熱駆動させるためのデータが送信され、
これに応じて印字部コントローラ15がロール紙印字部
8を駆動する。この際、ロール紙2はプラテンローラ9
によって搬送され続けているため、ロール紙2の搬送動
作とロール紙2に対する印字動作とが同期的に行われ、
ロール紙2に印字データに従った内容の印字が行われ
る。
On the other hand, in parallel with such processing, the CP
Another process is performed by the multitasking function of U11. That is, the print data sent from the host computer 19 is sent to the print buffer set in the memory 12, and is expanded in the image memory set in the memory 12. Then, based on the image data developed in the image memory, data for driving each heating element of the thermal printer head, which is the roll paper printing unit 8, is transmitted from the microcomputer 14 to the printing unit controller 15;
In response, the printing unit controller 15 drives the roll paper printing unit 8. At this time, the roll paper 2 is
, The transport operation of the roll paper 2 and the printing operation on the roll paper 2 are performed synchronously,
Printing of the content according to the print data is performed on the roll paper 2.

【0016】そして、印字データにはその最後に印字終
了コマンドが含まれているために印字データの終了はC
PU11に認識される。そこで、CPU11が印字デー
タの終了を認識した場合には、ロール紙2を所定量だけ
搬送する処理がなされた後、印字処理のルーチンが終了
してカット処理のルーチンが実行される。図3は、カッ
ト処理の流れを示すフローチャートである。カット処理
においては、まず、マイコン14よりカット部コントロ
ーラ17に用紙カット命令信号が送信され、カット部コ
ントローラ17がロール紙カット部5を駆動する(ステ
ップS1)。これにより、ロール紙カット部5が用紙カ
ット動作を行い、ロール紙2がカットされる。この後、
ロール紙カット部5に含まれているカッタセンサの出力
に基づいてロール紙カッタ5aの状態が見られる(ステ
ップS2)。つまり、ロール紙カッタ5aの可動刃が初
期位置に復帰しているかどうかが判定される。この時、
ロール紙カッタ5aの可動刃が初期位置に復帰していな
ければロール紙カッタ5aに故障が生じていることにな
るので、この場合にはエラー処理を行う(ステップS
3)。この場合のエラー処理としては、ロール紙2の搬
送動作の停止、印字データの保存、エラーの表示等であ
る。
Since the print data includes a print end command at the end thereof, the end of the print data is C
It is recognized by the PU 11. Therefore, when the CPU 11 recognizes the end of the print data, a process of transporting the roll paper 2 by a predetermined amount is performed, and then the print processing routine ends and the cut processing routine is executed. FIG. 3 is a flowchart showing the flow of the cutting process. In the cutting process, first, a sheet cut command signal is transmitted from the microcomputer 14 to the cutting unit controller 17, and the cutting unit controller 17 drives the roll paper cutting unit 5 (step S1). Thus, the roll paper cutting unit 5 performs a paper cutting operation, and the roll paper 2 is cut. After this,
The state of the roll paper cutter 5a can be seen based on the output of the cutter sensor included in the roll paper cutting unit 5 (step S2). That is, it is determined whether the movable blade of the roll paper cutter 5a has returned to the initial position. At this time,
If the movable blade of the roll paper cutter 5a has not returned to the initial position, a failure has occurred in the roll paper cutter 5a. In this case, error processing is performed (step S).
3). The error processing in this case includes stopping the transport operation of the roll paper 2, saving print data, displaying an error, and the like.

【0017】これに対し、ロール紙カッタ5aの可動刃
が初期位置に復帰していると判定されれば、ロール紙2
の逆搬送動作が行われる(ステップS4、ロール紙逆搬
送手段)。つまり、マイコン14から駆動モータ10の
搬送部コントローラ16に逆搬送用のモータ駆動パルス
が送信され、これに応じて搬送部コントローラ16が駆
動モータ10を逆回転駆動する。この場合、駆動モータ
10はステッピングモータなので、その逆回転駆動は容
易になされる。そして、駆動モータ10が逆回転駆動さ
れるとプラテンローラ9が逆回転し、これによってロー
ル紙2が逆搬送される。この時のロール紙2の逆搬送量
は、メモリ12内のカウンタ領域のモータ駆動パルスカ
ウント値に基づくCPU11のパルス管理によって定め
られ、具体的には、用紙カット後のロール紙2の先端部
が少なくともロール紙センサSを通り過ぎるまでの搬送
量である。したがって、続くステップS5(カット動作
監視手段)で見られるロール紙センサSの出力は、ステ
ップS4でロール紙2が正しくカットされた場合にはオ
フしていることになる。そこで、この場合にはカット処
理のルーチンが終了して次の印字処理のルーチンが実行
される(ステップS6)。これに対し、ステップS4で
ロール紙センサSの出力がオンの場合には、ロール紙セ
ンサSの位置にロール紙2が位置し、ステップS3でロ
ール紙2が正しくカットされなかったことになる。そこ
で、この場合には、ステップS7でエラー処理が行われ
る(エラー処理手段)。この場合のエラー処理として
は、ロール紙2の搬送動作の停止、印字データの保存、
エラーの表示等である。このように、ステップS4でロ
ール紙2の逆搬送動作が行われ、ステップS5でロール
紙センサSの位置におけるロール紙2の有無が判定され
ることで、例えば、ロール紙カッタ5aの可動刃のポジ
ションが正常でも実際にはロール紙2が正常にカットさ
れていないような場合であっても、ロール紙カット動作
の適否が正しく判定される。
On the other hand, if it is determined that the movable blade of the roll paper cutter 5a has returned to the initial position,
Is performed (step S4, roll paper reverse transport means). That is, the microcomputer 14 transmits a reverse drive motor drive pulse to the transfer unit controller 16 of the drive motor 10, and the transfer unit controller 16 drives the drive motor 10 in the reverse rotation in response to this. In this case, since the drive motor 10 is a stepping motor, the reverse rotation drive is easily performed. When the drive motor 10 is driven in the reverse direction, the platen roller 9 rotates in the reverse direction, whereby the roll paper 2 is conveyed in the reverse direction. The reverse transport amount of the roll paper 2 at this time is determined by the pulse management of the CPU 11 based on the motor drive pulse count value in the counter area in the memory 12, and specifically, the leading end of the roll paper 2 after the paper cut is performed. This is the transport amount at least until the paper passes the roll paper sensor S. Therefore, the output of the roll paper sensor S seen in the subsequent step S5 (cut operation monitoring means) is off when the roll paper 2 is cut correctly in step S4. Therefore, in this case, the routine of the cutting process ends, and the routine of the next printing process is executed (step S6). On the other hand, if the output of the roll paper sensor S is ON in step S4, the roll paper 2 is located at the position of the roll paper sensor S, and it means that the roll paper 2 was not cut correctly in step S3. Therefore, in this case, error processing is performed in step S7 (error processing means). Error processing in this case includes stopping the transport operation of the roll paper 2, saving print data,
For example, an error is displayed. In this manner, the reverse conveyance operation of the roll paper 2 is performed in step S4, and the presence or absence of the roll paper 2 at the position of the roll paper sensor S is determined in step S5. Even if the position is normal and the roll paper 2 is not actually cut normally, the suitability of the roll paper cutting operation is correctly determined.

【0018】ここで、ロール紙センサSは、通紙経路6
中のロール紙2の有無(用紙ジャム)を検出するために
従来から一般的に用いられている。したがって、本実施
の形態においては、既存のロール紙センサSが用紙カッ
ト動作の適否を正しく検出するための処理に利用される
ことになり、部品の共通化が図られる。
Here, the roll paper sensor S is connected to the paper passage path 6.
Conventionally, it is generally used to detect the presence or absence (paper jam) of the roll paper 2 inside. Therefore, in the present embodiment, the existing roll paper sensor S is used for a process for correctly detecting the propriety of the paper cutting operation, and the components are shared.

【0019】[0019]

【発明の効果】請求項1記載のプリンタは、ロール紙カ
ッタによるロール紙のカット後、ロール紙印字部とロー
ル紙カッタとの間に配置されたロール紙センサをロール
紙の先端部が通り越すであろう位置までロール紙を逆搬
送し、その後、ロール紙センサの出力に基づいてロール
紙の有無を検出しロール紙カット動作の適否を判定する
ようにしたので、例えば、ロール紙カッタの可動刃のポ
ジションが正常で実際には用紙が正常にカットされてい
ないような場合であっても、ロール紙カット動作の適否
を正しく判定することができる。これにより、ロール紙
カット動作が正しく行われないために起こりうる用紙ジ
ャムやロール紙の浪費等を確実に防止することができ
る。また、ロール紙センサ自体は従来のプリンタにも同
位置に設けられているものであるため、ロール紙センサ
について部品の共通化を図ることができる。これによ
り、プリンタ内部スペースの有効活用を図ることがで
き、また、部品コストを安くすることができる。
In the printer according to the present invention, after the roll paper is cut by the roll paper cutter, the leading end of the roll paper passes through the roll paper sensor disposed between the roll paper printing unit and the roll paper cutter. The roll paper is conveyed backward to a certain position, and then the presence or absence of the roll paper is detected based on the output of the roll paper sensor to determine whether the roll paper cutting operation is appropriate. Can be correctly determined whether or not the roll paper cutting operation is appropriate even if the position is not normal and the paper is not actually cut normally. As a result, it is possible to reliably prevent a paper jam, a waste of roll paper, and the like that may occur due to an incorrect roll paper cutting operation. In addition, since the roll paper sensor itself is provided at the same position in a conventional printer, the roll paper sensor can use common components. As a result, the internal space of the printer can be effectively used, and the cost of parts can be reduced.

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

【図1】本発明の実施の一形態のプリンタの内部機構を
示す縦断側面図である。
FIG. 1 is a vertical sectional side view showing an internal mechanism of a printer according to an embodiment of the present invention.

【図2】各部の電気的接続のブロック図である。FIG. 2 is a block diagram of electrical connection of each unit.

【図3】カット処理の流れを示すフローチャートであ
る。
FIG. 3 is a flowchart illustrating a flow of a cutting process.

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

2 ロール紙 6 通紙経路 5a ロール紙カッタ 8 ロール紙印字部 9,10 ロール紙搬送部 16 ロール紙搬送部のドライバ S ロール紙センサ ステップS4 ロール紙逆搬送手段 ステップS5 カット動作監視手段 ステップS7 エラー処理手段 2 Roll paper 6 Paper passage path 5a Roll paper cutter 8 Roll paper printing unit 9, 10 Roll paper transport unit 16 Driver of roll paper transport unit S Roll paper sensor Step S4 Roll paper reverse transport unit Step S5 Cutting operation monitoring unit Step S7 Error Processing means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 通紙経路上にセットされたロール紙をロ
ール紙搬送部によって搬送し、その搬送途中で前記通紙
経路に配置されたロール紙印字部によって所定の印字を
行い、前記通紙経路の終端に配置されたロール紙カッタ
によって印字後のロール紙をカットし発行するようにし
たプリンタにおいて、 前記ロール紙印字部と前記ロール紙カッタとの間に配置
されて前記通紙経路中のロール紙の有無を検出するため
のロール紙センサと、 前記ロール紙カッタによるロール紙のカット後に前記ロ
ール紙搬送部のドライバに所定パルス数だけ逆搬送方向
の駆動制御信号を付与するロール紙逆搬送手段と、 前記ロール紙センサの出力に基づいて逆搬送後のロール
紙の有無を判定するカット動作監視手段と、 前記カット動作監視手段がロール紙ありと判定するとエ
ラー処理を行うエラー処理手段と、を備えることを特徴
とするプリンタ。
1. A roll paper set on a paper passing path is conveyed by a roll paper conveying section, and a predetermined printing is performed by a roll paper printing section arranged on the paper passing path during the conveyance. A printer configured to cut and issue a roll paper after printing by a roll paper cutter disposed at the end of the path, wherein the printer is disposed between the roll paper printing unit and the roll paper cutter and is disposed in the paper passage path. A roll paper sensor for detecting the presence / absence of roll paper; and a roll paper reverse transport for applying a drive control signal in a reverse transport direction to the driver of the roll paper transport unit by a predetermined number of pulses after the roll paper is cut by the roll paper cutter. Means, cut operation monitoring means for determining the presence / absence of roll paper after reverse conveyance based on the output of the roll paper sensor; and Printer, characterized in that it comprises when a constant and error processing means for performing error processing, the.
JP31796596A 1996-11-28 1996-11-28 Printer Pending JPH10157232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31796596A JPH10157232A (en) 1996-11-28 1996-11-28 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31796596A JPH10157232A (en) 1996-11-28 1996-11-28 Printer

Publications (1)

Publication Number Publication Date
JPH10157232A true JPH10157232A (en) 1998-06-16

Family

ID=18093979

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31796596A Pending JPH10157232A (en) 1996-11-28 1996-11-28 Printer

Country Status (1)

Country Link
JP (1) JPH10157232A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104802536A (en) * 2014-01-29 2015-07-29 东芝泰格有限公司 Image forming device
JP2018150107A (en) * 2017-03-10 2018-09-27 キヤノン株式会社 Sheet feeding device, printing device and jam detection method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104802536A (en) * 2014-01-29 2015-07-29 东芝泰格有限公司 Image forming device
JP2015139953A (en) * 2014-01-29 2015-08-03 東芝テック株式会社 image forming apparatus
JP2018150107A (en) * 2017-03-10 2018-09-27 キヤノン株式会社 Sheet feeding device, printing device and jam detection method
US10597247B2 (en) 2017-03-10 2020-03-24 Canon Kabushiki Kaisha Printing apparatus

Similar Documents

Publication Publication Date Title
KR0171545B1 (en) Printing system by paper lenght automatic sensing and controlling method thereof
JP2008238484A (en) Printer
JPS60174681A (en) Printer
KR0157719B1 (en) Sheet conveyor
JPH10157232A (en) Printer
JPH06286239A (en) Method for processing of label printing in label printer
EP3950364A1 (en) Printer, printer control method, and program
JP4559588B2 (en) Label printer
JPH10245140A (en) Printer and recording paper jam processing method therefor
JP3025558B2 (en) Printing device control method
JP2954189B1 (en) Paper feed detection mechanism of thermal printer
JP2912723B2 (en) Label printer
JPH05116407A (en) Label printer
JP2000168180A (en) Method and apparatus for identifying label and stripe mounting paper
JPH04347670A (en) Label printer
JPH07309039A (en) Printer
JP2683238B2 (en) Recording device
JP2894146B2 (en) Printer
JP2003312070A (en) Label printer
JPH08112953A (en) Printer
JPH03176180A (en) Thermal printer
JP3038089B2 (en) Printer
JP3815711B2 (en) Printer
JP2997786B2 (en) Ticket issuing device
JPH04329168A (en) Label printer