JPH11138953A - Printer - Google Patents

Printer

Info

Publication number
JPH11138953A
JPH11138953A JP30752997A JP30752997A JPH11138953A JP H11138953 A JPH11138953 A JP H11138953A JP 30752997 A JP30752997 A JP 30752997A JP 30752997 A JP30752997 A JP 30752997A JP H11138953 A JPH11138953 A JP H11138953A
Authority
JP
Japan
Prior art keywords
printing
roll paper
paper
print
lines
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
JP30752997A
Other languages
Japanese (ja)
Inventor
Yasunori Sato
靖則 佐藤
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.)
Toshiba TEC Corp
Original Assignee
Toshiba 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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP30752997A priority Critical patent/JPH11138953A/en
Publication of JPH11138953A publication Critical patent/JPH11138953A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the possibilities of issuing an imperfect printed matter to be produced in a printing process interrupted halfway right before the end of a web. SOLUTION: In this printer, a paper end detection means selects the relative position between a printing means 30 and a paper end detection means 30 in such a manner that data can be printed only in the specified number of lines by the printing means 30 after detecting the end of the web by the paper end detection means. In addition, judgement means 61, 62, 63 judge whether the number of printing lines to be printed on the web after detecting the end of the web when such an end is detected during printing process, is below a specified number of printing lines (N), and control means 61, 62, 63 delay the forced termination of printing by continuing the drive of the printing means 30 and a conveyance means 20 until the completion of the printing process on the web, when the number of printing lines after detecting the end of the web is interpreted to be fewer than the specified number of printing lines (N) by the judgement means 61, 62, 63.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、印字手段とペーパ
ーエンド検出手段とを備え、ロール用紙を印字媒体とし
てレシート等の印字物を発行可能なプリンタに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer having printing means and paper end detecting means and capable of issuing a printed material such as a receipt using roll paper as a printing medium.

【0002】[0002]

【従来の技術】ロール用紙を印字媒体としてレシート等
の印字物を発行可能なプリンタの従来構成を図5に示
す。
2. Description of the Related Art FIG. 5 shows a conventional configuration of a printer capable of issuing printed matter such as a receipt using roll paper as a printing medium.

【0003】図において、1はプリンタ本体である。こ
のプリンタ本体1には、ロール用紙セット手段10、ロ
ール用紙搬送手段20、印字手段30、ペーパーエンド
検出手段40等が設けられている。
In FIG. 1, reference numeral 1 denotes a printer main body. The printer main body 1 is provided with a roll paper setting means 10, a roll paper transport means 20, a printing means 30, a paper end detection means 40, and the like.

【0004】ここにおいて、ロール用紙セット手段10
は、装着されたロール用紙Pを繰出し可能に支持する手
段である。ロール用紙搬送手段20は、ロール用紙セッ
ト手段10に装着されたロール用紙Pを印字手段30へ
向けて搬送可能に形成されている。
Here, the roll paper setting means 10
Is means for supporting the loaded roll paper P so that it can be fed out. The roll paper transport unit 20 is formed so as to be able to transport the roll paper P mounted on the roll paper setting unit 10 toward the printing unit 30.

【0005】印字手段30は、印字ヘッド31とプラテ
ン35とを含み、搬送手段20を介して供給されてきた
ロール用紙Pに印字可能に形成されている。
[0005] The printing means 30 includes a print head 31 and a platen 35 and is formed so as to be able to print on the roll paper P supplied via the transport means 20.

【0006】かかるプリンタでは、ホストコンピュータ
(図示省略)から印字物の発行指令を受けた場合には、
ロール用紙搬送手段20が駆動されてロール用紙セット
手段10に装着されたロール用紙Pが印字手段30へ搬
送される。そして、印字手段30によって、ロール用紙
Pには文字や数字等が印字データに基づき定められた印
字ライン数分印字される。こうして、文字等が印字され
たロール用紙P部分は、切断され印字物として発行され
る。
In such a printer, when an instruction to issue a printed material is received from a host computer (not shown),
The roll paper transport unit 20 is driven, and the roll paper P mounted on the roll paper setting unit 10 is transported to the printing unit 30. Then, the printing unit 30 prints characters, numerals, and the like on the roll paper P by the number of printing lines determined based on the print data. In this way, the portion of the roll paper P on which characters and the like are printed is cut and issued as a printed material.

【0007】なお、プリンタ本体1には、取扱いが一段
と容易となるように、上記ロール用紙P部分を自動的に
切断可能なロール用紙カット手段50が設けられること
が多い。また、上記した印字物には、印字ライン数が不
定で用紙長さが固定化されていない可変長のものと、印
字ライン数が一定とされて用紙長さが固定化された固定
長のものとがある。
The printer main body 1 is often provided with a roll paper cutting means 50 capable of automatically cutting the roll paper P in order to further facilitate the handling. In addition, the above-mentioned printed matter includes a variable length sheet having an indefinite number of printing lines and an unfixed paper length, and a fixed length sheet having a fixed number of printing lines and a fixed paper length. There is.

【0008】ペーパーエンド検出手段40は、検出レバ
ー45とペーパーエンドセンサ(フォトセンサ41)と
を含み、ロール用紙Pの終端(エンド)を検出可能に形
成されている。具体的には、検出レバー45は、支軸4
6を介してロール用紙セット手段10に回転支持されて
おり、一端部45aがロール用紙Pの外周面と圧接しか
つ他端部には被検知体47が設けられている。
The paper end detecting means 40 includes a detection lever 45 and a paper end sensor (photo sensor 41), and is formed so as to detect the end of the roll paper P. Specifically, the detection lever 45 is
6, one end 45a is in pressure contact with the outer peripheral surface of the roll paper P, and a detection object 47 is provided at the other end.

【0009】印字物の発行に伴いロール用紙Pの長さが
減少(したがって、直径Dが減少)してくると、検出レ
バー45は、図5で反時計回り方向に回動し、その結果
被検知体47は下方へ変位する。この被検知体47の変
位量に基づきペーパーエンドセンサ(41)はロール用
紙Pの終端を検出する。ペーパーエンドセンサ(41)
が、ロール用紙Pの終端を検出した場合には、直ちに印
字動作が強制的に終了されて、ホストコンピュータには
ペーパーエンドと印字異常終了のレスポンスが返され
る。
When the length of the roll paper P decreases (therefore, the diameter D decreases) with the issuance of a printed matter, the detection lever 45 rotates counterclockwise in FIG. The detector 47 is displaced downward. The paper end sensor (41) detects the end of the roll paper P based on the displacement amount of the detection target 47. Paper end sensor (41)
However, when the end of the roll paper P is detected, the printing operation is forcibly terminated immediately, and a paper end and abnormal printing end response are returned to the host computer.

【0010】[0010]

【発明が解決しようとする課題】ところで、上記したプ
リンタでは、ロール用紙Pの終端がペーパーエンド検出
手段40によって検出されると、直ちに印字動作が強制
終了されるために、印字が途中で中断された不完全な印
字物が発行されてしまう不都合が生じることがある。
In the printer described above, when the end of the roll paper P is detected by the paper end detecting means 40, the printing operation is immediately terminated forcibly, so that the printing is interrupted halfway. Incomplete printed matter may be issued.

【0011】かかる事態が発生した場合には、印字し直
して再度印字物を発行しなければならず、手間が掛かる
とともに印字手段30やロール用紙搬送手段20を無駄
に駆動することになる。
When such a situation occurs, it is necessary to print again and issue a printed material again, which is troublesome and drives the printing means 30 and the roll paper conveying means 20 uselessly.

【0012】本発明の目的は、ロール用紙の終端直前に
おいて印字が途中で中断された不完全な印字物が発行さ
れてしまうのを減少することができるプリンタを提供す
ることにある。
An object of the present invention is to provide a printer capable of reducing the possibility of issuing an incomplete printed matter in which printing has been interrupted halfway immediately before the end of roll paper.

【0013】[0013]

【課題を解決しようとする手段】請求項1の発明は、搬
送手段を介して供給されたロール用紙に印字可能な印字
手段と、この印字手段よりも用紙搬送方向上流側に配設
されロール用紙の終端を検出可能なペーパーエンド検出
手段とを備え、印字物を発行可能かつ印字動作中にペー
パーエンド検出手段でロール用紙の終端が検出された場
合には該印字動作を強制終了させるプリンタにおいて、
前記印字手段と前記ペーパーエンド検出手段との相対位
置を、該ペーパーエンド検出手段でロール用紙の終端を
検出後に該印字手段で所定印字ライン数だけ印字可能に
選定し、印字動作中にロール用紙の終端が検出された場
合に当該検出後にロール用紙に印字する印字ライン数が
前記所定印字ライン数以下であるか否かを判定する判定
手段と、この判定手段によってロール用紙の終端検出後
の印字ライン数が前記所定印字ライン数以下であると判
定された場合には該ロール用紙に対する印字動作が完了
するまで前記印字手段と前記搬送手段との駆動を続行さ
せて印字強制終了を遅延させる制御手段とを設けたこと
を特徴とする。
According to the first aspect of the present invention, there is provided a printing means capable of printing on roll paper supplied via a transport means, and a roll paper provided upstream of the printing means in the paper transport direction. A paper end detection means capable of detecting the end of the roll paper, a printer capable of issuing a printed matter and forcibly terminating the printing operation when the end of the roll paper is detected by the paper end detection means during the printing operation,
The relative position between the printing means and the paper end detection means is selected so that the printing means can print a predetermined number of printing lines after the end of the roll paper is detected by the paper end detection means, and the roll paper is detected during the printing operation. A determination unit that determines whether the number of print lines to be printed on the roll paper after the end is detected is equal to or less than the predetermined number of print lines; and a print line after the end of the roll paper is detected by the determination unit. When it is determined that the number is equal to or less than the predetermined number of print lines, control means for continuing the driving of the printing means and the transport means until the printing operation on the roll paper is completed, thereby delaying forced termination of printing; Is provided.

【0014】かかる発明では、印字動作中にロール用紙
の終端が検出された場合、判定手段によって当該終端検
出後の印字ライン数が所定印字ライン数以下であると判
定されると、該ロール用紙に対する印字動作が完了する
まで印字強制終了が遅延される。したがって、ロール用
紙の終端直前において印字が途中で中断された不完全な
印字物が発行されてしまうのを減少することができる。
According to this invention, when the end of the roll paper is detected during the printing operation, if the number of print lines after the detection of the end is determined to be equal to or less than the predetermined number of print lines, the determination is made on the roll paper. The forced printing end is delayed until the printing operation is completed. Therefore, it is possible to reduce the possibility that the incomplete printed matter in which the printing is interrupted halfway immediately before the end of the roll paper is issued.

【0015】請求項2の発明は、印字動作中にロール用
紙終端が検出された印字物の発行後に固定長の印字物の
発行指令を受けた場合には、該固定長の印字物の印字ラ
イン数が前記印字手段と前記ペーパーエンド検出手段と
の間のロール用紙部分に印字可能な印字ライン数以下で
あることを条件に印字動作を行って該固定長印字物を発
行するプリンタである。
According to a second aspect of the present invention, when a print command for issuing a fixed-length print is received after issuing a print in which the end of the roll paper is detected during a printing operation, a print line for the fixed-length print is provided. The printer issues a fixed-length print by performing a printing operation on the condition that the number of print lines is equal to or less than the number of print lines that can be printed on the roll paper portion between the printing means and the paper end detection means.

【0016】かかる発明では、印字動作中にロール用紙
終端が検出された印字物の発行後に固定長の印字物の発
行指令を受けた場合、該固定長の印字物の印字ライン数
がロール用紙に印字可能であることが確認されると、印
字動作が行われて該印字物が発行される。したがって、
請求項1記載の発明の場合と同様な作用効果を奏すると
ともに、ロール用紙を一段と有効に使用することができ
る。
According to this invention, when a print command for issuing a fixed-length print is received after issuing a print in which the end of the roll paper is detected during a printing operation, the number of print lines of the fixed-length print is reduced to the roll paper. When it is confirmed that printing is possible, a printing operation is performed and the printed matter is issued. Therefore,
The same operation and effect as in the case of the invention described in claim 1 can be obtained, and the roll paper can be used more effectively.

【0017】請求項3の発明は、印字動作中にロール用
紙終端が検出された印字物の発行後に可変長の印字物の
発行指令を受けた場合には、印字の異常終了処理を行う
こととしたプリンタである。
According to a third aspect of the present invention, when an instruction to issue a variable-length print is received after a print in which the end of the roll paper is detected during a print operation, abnormal printing termination processing is performed. Printer.

【0018】かかる発明の場合、印字動作中にロール用
紙終端が検出された印字物の発行後に可変長の印字物の
発行指令を受けた場合には、印字の異常終了処理が行わ
れる。
In the case of this invention, if an instruction to issue a variable-length printed matter is issued after the printed matter in which the end of the roll paper is detected during the printing operation, abnormal printing termination processing is performed.

【0019】したがって、請求項1記載の発明の場合と
同様な作用効果を奏するとともに、印字手段等が無駄に
駆動されるのを一段と確実に防止することができる。
Therefore, the same operation and effect as those of the first aspect of the invention can be obtained, and the unnecessary driving of the printing means can be more reliably prevented.

【0020】[0020]

【発明の実施の形態】本発明の実施形態を図面を参照し
て説明する。
Embodiments of the present invention will be described with reference to the drawings.

【0021】本プリンタは、図1〜図4に示す如く、基
本的構成は従来例(図5)と同様であるが、印字手段3
0とペーパーエンド検出手段40との相対位置を、該ペ
ーパーエンド検出手段40でロール用紙Pの終端を検出
後に該印字手段30で所定印字ライン数(N)だけ印字
可能に選定し、印字動作中にロール用紙Pの終端が検出
された場合に当該検出後にロール用紙Pに印字する印字
ライン数が所定印字ライン数(N)以下であるか否かを
判定する判定手段(61,62,63)と、この判定手
段(61,62,63)によってロール用紙Pの終端検
出後の印字ライン数が所定印字ライン数(N)以下であ
ると判定された場合には該ロール用紙Pに対する印字動
作が完了するまで印字手段30とロール用紙搬送手段2
0との駆動を続行させて印字強制終了を遅延させる制御
手段(61,62,63)とを設けた構成とされてい
る。
As shown in FIGS. 1 to 4, the basic configuration of this printer is the same as that of the conventional example (FIG. 5).
The relative position between 0 and the paper end detection means 40 is selected such that the printing means 30 can print a predetermined number of print lines (N) after the end of the roll paper P is detected by the paper end detection means 40, and the printing operation is performed. A determination unit (61, 62, 63) for determining whether the number of print lines to be printed on the roll paper P after the detection of the end of the roll paper P is equal to or less than a predetermined print line number (N) If the determination means (61, 62, 63) determines that the number of print lines after the end detection of the roll paper P is equal to or less than the predetermined print line number (N), the printing operation on the roll paper P is performed. The printing means 30 and the roll paper transport means 2 until completion.
A control means (61, 62, 63) for continuing the drive to 0 and delaying the forced termination of printing is provided.

【0022】また、印字動作中にロール用紙P終端が検
出された印字物の発行後に固定長の印字物の発行指令を
受けた場合には、該固定長の印字物の印字ライン数が印
字手段30とペーパーエンド検出手段40との間のロー
ル用紙P部分に印字可能な印字ライン数(上記所定印字
ライン数Nからロール用紙P終端検出後の印字ライン数
を引いた値)以下であることを条件に印字動作を行って
該印字物を発行可能に形成されている。
If a print command of a fixed length is received after the print on which the end of the roll paper P is detected during the printing operation, the number of printing lines of the fixed length print is determined by the printing means. The number of print lines that can be printed on the roll paper P portion between the roll paper P and the paper end detection means 40 is equal to or less than the predetermined number of print lines N minus the number of print lines after detection of the end of the roll paper P. The printing operation is performed under the conditions, and the printed matter is formed so as to be issued.

【0023】なお、従来例(図5)と共通する構成要素
については同一の符号を付し、その説明を簡略化または
省略する。
The same components as those in the conventional example (FIG. 5) are denoted by the same reference numerals, and description thereof will be simplified or omitted.

【0024】まず、この実施形態では、ペーパーエンド
検出手段40は、図2に示す如く、ロール用紙Pの終端
を検出後に印字手段30で固定長の印字物の印字ライン
数以上の印字ライン数(N)分印字できるように、印字
手段30から用紙搬走路に沿って距離Lだけ離隔して設
けられている。このとき、発行可能な固定長の印字物が
複数ある場合は、距離Lは最長固定長よりも長く設定さ
れている。
First, in this embodiment, as shown in FIG. 2, after detecting the end of the roll paper P, the paper end detecting means 40 uses the printing means 30 to set the number of print lines equal to or greater than the number of print lines of a fixed length print. The printing unit 30 is provided at a distance L from the printing unit 30 along the paper transport path so that printing can be performed for N) minutes. At this time, if there are a plurality of fixed length prints that can be issued, the distance L is set longer than the longest fixed length.

【0025】また、上記した判定手段および制御手段
は、図1に示す如く、それぞれ本プリンタ全体を駆動制
御する制御ユニット60のCPU61、ROM62、R
AM63を利用して形成されている。
Further, as shown in FIG. 1, the above-described determination means and control means include a CPU 61, a ROM 62, and a R
It is formed using AM63.

【0026】ここにおいて、制御ユニット60は、CP
U61、ROM62、RAM63、入出力ポート(I/
O)66等から構成されている。この制御ユニット60
には、外部インターフェースコントローラ(I/F)6
7を介してホストコンピュータ71が接続されている。
また、入出力ポート66には、ロール用紙搬送手段20
(搬送用コントローラ20C)、印字手段30(印字用
コントローラ30C)、ペーパーエンドセンサ41(セ
ンサ回路41C)、ロール用紙カット手段50(カット
用コントローラ50C)等が接続されている。
Here, the control unit 60 controls the CP
U61, ROM62, RAM63, input / output port (I /
O) 66 and the like. This control unit 60
Has an external interface controller (I / F) 6
7, a host computer 71 is connected.
Further, the input / output port 66 is provided with the roll paper transporting means 20.
(Carrying controller 20C), printing means 30 (printing controller 30C), paper end sensor 41 (sensor circuit 41C), roll paper cutting means 50 (cutting controller 50C), and the like.

【0027】次に、この実施形態の作用を図3および図
4に示すフローチャートに基づき説明する。
Next, the operation of this embodiment will be described with reference to the flowcharts shown in FIGS.

【0028】ホストコンピュータ71側から可変長の印
字物の印字命令を受信すると、CPU61はペーパーエ
ンドセンサ41の状態を見て該センサ41がOFFであ
れば(図3のST10のNO)、1ラインづつ印字デー
タがなくなるまでロール用紙Pに印字する(ST13,
15)。
When a variable length print command is received from the host computer 71, the CPU 61 checks the state of the paper end sensor 41 and turns off the paper end sensor 41 (NO in ST10 of FIG. 3). Printing on roll paper P until print data is exhausted (ST13,
15).

【0029】ペーパーエンドセンサ41がONとなった
場合(ST10のYES)には、該センサがONとなっ
た後(ペーパーエンド後)の印字ライン数に1を加算す
る(ST11)。次に、CPU61は、該印字ライン数
が所定印字ライン数(N)以下であるか判定する(ST
12)。以下であれば(ST12のYES)、上記した
場合と同様に1ラインづつ印字データがなくなるまでロ
ール用紙Pに印字する(ST13、15)。越えている
場合(ST12のNO)には、ペーパーエンドと印字異
常終了のレスポンスをホストコンピュータ71に返す
(ST14)。なお、ペーパーエンド検出時に印字中の
作成物が可変長である場合、図4に示した制御と同じ制
御を行う。
When the paper end sensor 41 is turned ON (YES in ST10), 1 is added to the number of print lines after the sensor is turned ON (after paper end) (ST11). Next, the CPU 61 determines whether or not the number of print lines is equal to or less than a predetermined number of print lines (N) (ST
12). If it is below (YES in ST12), printing is performed on roll paper P until print data is exhausted line by line in the same manner as in the above case (ST13, ST15). If it exceeds (NO in ST12), a response of paper end and abnormal printing end is returned to the host computer 71 (ST14). Note that if the product being printed has a variable length when the paper end is detected, the same control as that shown in FIG. 4 is performed.

【0030】次に、ホストコンピュータ71側から固定
長印字物の印字命令を受信すると、CPU61はペーパ
ーエンドセンサ41の状態を見て該センサ41がOFF
であれば(図4のST20のNO)、印字データに基づ
き固定印字物に対する印字処理を行う(ST23)。
Next, upon receiving a print command for a fixed length print from the host computer 71, the CPU 61 checks the state of the paper end sensor 41 and turns off the paper end sensor 41.
If it is (NO in ST20 of FIG. 4), the printing process is performed on the fixed print based on the print data (ST23).

【0031】ペーパーエンドセンサ41がONとなった
場合(ST20のYES)には、ペーパーエンド後の印
字ライン数に固定長の印字ライン数を加算する(ST2
1)。次に、該印字ライン数が所定印字ライン数(N)
以下であるか判定する(ST22)。以下であれば(S
T22のYES)、上記した場合と同様に印字データに
基づき固定長の印字物の印字処理を行う(ST23)。
越えている場合(ST23のNO)には、ペーパーエン
ドと印字異常終了のレスポンスをホストコンピュータ7
1に返す(ST24)。また、ロール用紙Pの終端を検
出した印字物の後に、可変長の印字物の発行指令を受け
た場合には、直ちにペーパーエンドと印字異常終了のレ
スポンスをホストコンピュータ71に返す。
When the paper end sensor 41 is turned on (YES in ST20), the number of fixed-length print lines is added to the number of print lines after paper end (ST2).
1). Next, the number of printing lines is equal to the predetermined number of printing lines (N).
It is determined whether it is the following (ST22). If less than (S
At T22, the printing process of the fixed length print is performed based on the print data as in the case described above (ST23).
If it exceeds (NO in ST23), a response of paper end and abnormal printing end is sent to the host computer 7.
1 (ST24). When a print command of a variable length is received after the printed material in which the end of the roll paper P is detected, a paper end and abnormal printing end response are immediately returned to the host computer 71.

【0032】尚、ペーパーエンド検出時に印字中の作成
物が固定長である場合、距離Lは最長固定長よりさらに
長く設定されているので、どのような状態でペーパーエ
ンドを検出してもその印字物は最後まで印字できる。し
たがって、固定長の発行中にペーパーエンドを検出して
もそれが最後まで印字できるか否かの判断が必要なく制
御が簡単である。
If the product being printed has a fixed length when the paper end is detected, the distance L is set to be longer than the longest fixed length. Objects can be printed to the end. Therefore, even if the paper end is detected during the issue of the fixed length, it is not necessary to determine whether or not the paper end can be printed to the end, and the control is simple.

【0033】しかして、この実施形態によれば、印字手
段30とペーパーエンド検出手段40との相対位置を、
該ペーパーエンド検出手段40でロール用紙Pの終端を
検出後に該印字手段30で所定印字ライン数(N)だけ
印字可能に選定し、印字動作中にロール用紙Pの終端が
検出された場合に当該検出後にロール用紙Pに印字する
印字ライン数が所定印字ライン数(N)以下であるか否
かを判定する判定手段(61,62,63)と、この判
定手段(61,62,63)によってロール用紙Pの終
端検出後の印字ライン数が所定印字ライン数(N)以下
であると判定された場合には該ロール用紙Pに対する印
字動作が完了するまで印字手段30とロール用紙搬送手
段20との駆動を続行させて印字強制終了を遅延させる
制御手段(61,62,63)とを設けたので、印字動
作中にロール用紙Pの終端が検出された場合に、判定手
段(61,62,63)によって当該検出後にロール用
紙Pに印字する印字ライン数が所定印字ライン数(N)
以下であると判定されると、該ロール用紙Pに対する印
字動作が完了するまで印字強制終了が遅延される。した
がって、ロール用紙Pの終端直前において印字が途中で
中断された不完全な印字物が発行されてしまうのを減少
させることができる。
According to this embodiment, the relative position between the printing means 30 and the paper end detecting means 40 is
After the end of the roll paper P is detected by the paper end detection means 40, the printing means 30 selects a predetermined number of printing lines (N) so that printing is possible, and if the end of the roll paper P is detected during the printing operation, A determination unit (61, 62, 63) for determining whether the number of print lines to be printed on the roll paper P after the detection is equal to or less than a predetermined print line number (N), and a determination unit (61, 62, 63) If it is determined that the number of print lines after the end of the roll paper P is detected is equal to or less than the predetermined print line number (N), the printing means 30 and the roll paper transport means 20 until the printing operation on the roll paper P is completed. And the control means (61, 62, 63) for continuing the driving of the print paper and delaying the forced termination of the printing are provided, so that when the end of the roll paper P is detected during the printing operation, the determining means (61, 62, 63). Number of printing lines to be printed on the roll paper P after the detection by 3) a predetermined print line number (N)
If it is determined that the following conditions are satisfied, the forced printing end is delayed until the printing operation on the roll paper P is completed. Therefore, it is possible to reduce the possibility that the incomplete printed matter in which the printing is interrupted halfway immediately before the end of the roll paper P is issued.

【0034】また、印字動作中にロール用紙P終端が検
出された印字物の発行後に固定長の印字物の発行指令を
受けた場合には、該固定長の印字物の印字ライン数が印
字手段30とペーパーエンド検出手段40との間のロー
ル用紙P部分に印字可能な印字ライン数以下であること
を条件に印字動作を行って該印字物を発行するので、ロ
ール用紙Pの終端直前において印字が途中で中断された
不完全な印字物が発行されてしまうのを減少させること
ができるとともに、ロール用紙Pを一段と有効に使用す
ることができる。
If, during the printing operation, an instruction to issue a fixed-length print is received after the issuance of a print in which the end of the roll paper P is detected, the number of print lines of the fixed-length print is determined by the printing means. Since the print operation is performed and the printed matter is issued under the condition that the number of print lines that can be printed on the roll paper P between the print paper 30 and the paper end detection means 40 is equal to or less than Can be prevented from issuing an incomplete printed matter interrupted on the way, and the roll paper P can be used more effectively.

【0035】また、印字動作中にロール用紙P終端が検
出された印字物の発行後に可変長の印字物の発行指令を
受けた場合には、印字の異常終了処理を行うので、ロー
ル用紙Pの終端直前において印字が途中で中断された不
完全な印字物が発行されてしまうのを減少させることが
できるとともに、印字手段30等が無駄に駆動されるの
を一段と確実に防止することができる。
If a print command of variable length is received after the print of which the end of the roll paper P has been detected during the printing operation, abnormal printing termination processing is performed. It is possible to reduce the issuance of an incomplete printed matter in which printing has been interrupted in the middle just before the end, and it is possible to more reliably prevent the printing means 30 and the like from being driven uselessly.

【0036】[0036]

【発明の効果】また、請求項1の発明によれば、印字手
段とペーパーエンド検出手段との相対位置を、該ペーパ
ーエンド検出手段でロール用紙の終端を検出後に該印字
手段で所定印字ライン数だけ印字可能に選定し、印字動
作中にロール用紙の終端が検出された場合に当該検出後
にロール用紙に印字する印字ライン数が所定印字ライン
数以下であるか否かを判定する判定手段と、この判定手
段によってロール用紙の終端検出後の印字ライン数が所
定印字ライン数以下であると判定された場合には該ロー
ル用紙に対する印字動作が完了するまで印字手段と搬送
手段との駆動を続行させて印字強制終了を遅延させる制
御手段とを設けたので、印字動作中にロール用紙の終端
が検出された場合に、判定手段によって当該検出後にロ
ール用紙に印字する印字ライン数が所定印字ライン数以
下であると判定されると、該ロール用紙に対する印字動
作が完了するまで印字強制終了が遅延される。したがっ
て、ロール用紙の終端直前において印字が途中で中断さ
れた不完全な印字物が発行されてしまうのを減少させる
ことができる。
According to the present invention, the relative position between the printing means and the paper end detecting means is determined by the printing means after the paper end detecting means detects the end of the roll paper. Determining that only printing is possible, and determining whether the number of print lines to be printed on the roll paper after the detection is detected when the end of the roll paper is detected during the printing operation is equal to or less than a predetermined number of print lines, If the determination unit determines that the number of print lines after the end detection of the roll paper is equal to or less than the predetermined number of print lines, the driving of the printing unit and the conveyance unit is continued until the printing operation on the roll paper is completed. Control means for delaying forced termination of printing by means of the control means, when the end of the roll paper is detected during the printing operation, the determination means prints on the roll paper after the detection. When the number of printing lines is determined to be equal to or less than a predetermined number printing lines, the printing killed until the printing operation for the roll paper is completed is delayed. Therefore, it is possible to reduce the possibility that an incomplete printed matter in which printing is interrupted halfway is issued immediately before the end of the roll paper.

【0037】また、請求項2の発明によれば、印字動作
中にロール用紙終端が検出された印字物の発行後に固定
長の印字物の発行指令を受けた場合には、該固定長の印
字物の印字ライン数が前記印字手段と前記ペーパーエン
ド検出手段との間のロール用紙部分に印字可能な印字ラ
イン数以下であることを条件に印字動作を行って該印字
物を発行するので、請求項1記載の発明の場合と同様な
効果を奏するとともに、一段とロール用紙を有効に使用
することができる。
According to the second aspect of the present invention, when a command to issue a fixed-length print is received after issuing a print in which the end of the roll paper is detected during a printing operation, the fixed-length print is issued. Since the printing operation is performed under the condition that the number of printing lines of the object is equal to or less than the number of printing lines that can be printed on the roll paper portion between the printing unit and the paper end detection unit, the printed matter is issued. The same effect as that of the invention described in Item 1 can be obtained, and the roll paper can be used more effectively.

【0038】また、請求項3の発明によれば、印字動作
中にロール用紙終端が検出された印字物の発行後に可変
長の印字物の発行指令を受けた場合には、印字の異常終
了処理を行うので、請求項1記載の発明の場合と同様な
効果を奏するとともに、印字手段等が無駄に駆動される
のを一段と確実に防止することができる。
According to the third aspect of the present invention, when an instruction to issue a variable-length printed material is issued after the issuance of a printed material whose roll paper end is detected during a printing operation, abnormal printing termination processing is performed. Therefore, the same effects as those of the first aspect of the invention can be obtained, and the wasteful driving of the printing means and the like can be more reliably prevented.

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

【図1】本発明の実施形態を説明するためのブロック図
である。
FIG. 1 is a block diagram illustrating an embodiment of the present invention.

【図2】同じく、全体構成を説明するための図である。FIG. 2 is a diagram for explaining the overall configuration.

【図3】同じく、動作を説明するためのフローチャート
である。
FIG. 3 is a flowchart for explaining the operation.

【図4】同じく、動作を説明するためのフローチャート
である。
FIG. 4 is a flowchart for explaining the operation.

【図5】プリンタの従来構成を説明するための図であ
る。
FIG. 5 is a diagram illustrating a conventional configuration of a printer.

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

10 ロール用紙セット手段 20 ロール用紙搬送手段 30 印字手段 40 ペーパーエンド検出手段 50 ロール用紙カット手段 60 制御ユニット 61 CPU(判定手段、制御手段) 62 ROM(判定手段、制御手段) 63 RAM(判定手段、制御手段) Reference Signs List 10 roll paper setting means 20 roll paper transport means 30 printing means 40 paper end detection means 50 roll paper cutting means 60 control unit 61 CPU (determination means, control means) 62 ROM (determination means, control means) 63 RAM (determination means, Control means)

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 搬送手段を介して供給されたロール用紙
に印字可能な印字手段と、この印字手段よりも用紙搬送
方向上流側に配設されロール用紙の終端を検出可能なペ
ーパーエンド検出手段とを備え、印字物を発行可能かつ
印字動作中にペーパーエンド検出手段でロール用紙の終
端が検出された場合には該印字動作を強制終了させるプ
リンタにおいて、 前記印字手段と前記ペーパーエンド検出手段との相対位
置を、該ペーパーエンド検出手段でロール用紙の終端を
検出後に該印字手段で所定印字ライン数だけ印字可能に
選定し、 印字動作中にロール用紙の終端が検出された場合に当該
検出後にロール用紙に印字する印字ライン数が前記所定
印字ライン数以下であるか否かを判定する判定手段と、
この判定手段によってロール用紙の終端検出後の印字ラ
イン数が前記所定印字ライン数以下であると判定された
場合には該ロール用紙に対する印字動作が完了するまで
前記印字手段と前記搬送手段との駆動を続行させて印字
強制終了を遅延させる制御手段とを設けたことを特徴と
するプリンタ。
1. A printing means capable of printing on roll paper supplied via a transport means, and a paper end detecting means disposed upstream of the printing means in the paper transport direction and capable of detecting the end of the roll paper. A printer capable of issuing a printed matter and forcibly terminating the printing operation when the end of the roll paper is detected by the paper end detection means during the printing operation, wherein the printing means and the paper end detection means The relative position is selected so that the printing means can print a predetermined number of print lines after the end of the roll paper is detected by the paper end detection means, and when the end of the roll paper is detected during the printing operation, the roll is detected after the detection. Determining means for determining whether the number of printing lines to be printed on the paper is equal to or less than the predetermined number of printing lines,
When the determination unit determines that the number of print lines after the end detection of the roll paper is equal to or less than the predetermined number of print lines, the drive of the printing unit and the transport unit is continued until the printing operation on the roll paper is completed. And a control means for delaying forced printing by delaying printing.
【請求項2】 印字動作中にロール用紙終端が検出され
た印字物の発行後に固定長の印字物の発行指令を受けた
場合には、該固定長の印字物の印字ライン数が前記印字
手段と前記ペーパーエンド検出手段との間のロール用紙
部分に印字可能な印字ライン数以下であることを条件に
印字動作を行って該固定長印字物を発行する請求項1記
載のプリンタ。
2. When a fixed length printed matter issuance command is issued after a printed matter whose roll paper end is detected during a printing operation, the number of printing lines of the fixed length printed matter is determined by the printing means. 2. The printer according to claim 1, wherein the fixed-length print is issued by performing a printing operation on condition that the number of print lines that can be printed on a roll paper portion is smaller than or equal to the number of print lines.
【請求項3】 印字動作中にロール用紙終端が検出され
た印字物の発行後に可変長の印字物の発行指令を受けた
場合には、印字の異常終了処理を行うこととした請求項
1記載のプリンタ。
3. An abnormal printing termination process is performed when a print command of a variable length is received after a print product in which the end of the roll paper is detected during a printing operation is issued. Printer.
JP30752997A 1997-11-10 1997-11-10 Printer Pending JPH11138953A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30752997A JPH11138953A (en) 1997-11-10 1997-11-10 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30752997A JPH11138953A (en) 1997-11-10 1997-11-10 Printer

Publications (1)

Publication Number Publication Date
JPH11138953A true JPH11138953A (en) 1999-05-25

Family

ID=17970196

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30752997A Pending JPH11138953A (en) 1997-11-10 1997-11-10 Printer

Country Status (1)

Country Link
JP (1) JPH11138953A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003025700A (en) * 2001-07-19 2003-01-29 Hitachi Koki Co Ltd Printer
JP2008114510A (en) * 2006-11-06 2008-05-22 Fuji Xerox Co Ltd Image forming apparatus
US8390659B2 (en) 2010-03-08 2013-03-05 Toshiba Tec Kabushiki Kaisha Thermal printer and control method thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003025700A (en) * 2001-07-19 2003-01-29 Hitachi Koki Co Ltd Printer
JP4529324B2 (en) * 2001-07-19 2010-08-25 リコープリンティングシステムズ株式会社 Continuous paper printer
JP2008114510A (en) * 2006-11-06 2008-05-22 Fuji Xerox Co Ltd Image forming apparatus
JP4735514B2 (en) * 2006-11-06 2011-07-27 富士ゼロックス株式会社 Image forming apparatus
US8390659B2 (en) 2010-03-08 2013-03-05 Toshiba Tec Kabushiki Kaisha Thermal printer and control method thereof

Similar Documents

Publication Publication Date Title
JP5136659B2 (en) Printer, control method therefor, and information recording medium
JP4251014B2 (en) Printer and printer control method
JPH11138953A (en) Printer
JP3840992B2 (en) Printer, printer control method, program for causing computer to execute printer control method, and computer-readable recording medium recording this program
JP4759796B2 (en) Printer, control method therefor, and information recording medium
JP3770002B2 (en) Printer and control method thereof
JPH0640128A (en) Printer device
JP3087071B2 (en) Paper jam prevention device for printer
JP2906360B2 (en) Print ticketing method
JP2820172B2 (en) Printing device
JP2001121765A (en) Printer and control method therefor
JP3198198B2 (en) Ticket issuing device
JP2807141B2 (en) Printer
JP2911309B2 (en) Serial printer
JP3890221B2 (en) Roll paper printer
JP2972392B2 (en) Transfer type printer
JPH04341882A (en) Apparatus for detecting left and right margin position of printing paper
JPH04347670A (en) Label printer
JP4339629B2 (en) Printer
JP2001293918A (en) Printer and its controlling method
JP2019209604A (en) Printer
JPH10264090A (en) Printer
JP2019209606A (en) Printer
JPH03231869A (en) Thermal printer
JP2019209605A (en) Printer