JPS63270172A - Printer device - Google Patents

Printer device

Info

Publication number
JPS63270172A
JPS63270172A JP62106813A JP10681387A JPS63270172A JP S63270172 A JPS63270172 A JP S63270172A JP 62106813 A JP62106813 A JP 62106813A JP 10681387 A JP10681387 A JP 10681387A JP S63270172 A JPS63270172 A JP S63270172A
Authority
JP
Japan
Prior art keywords
printing
continuous paper
detection
amount
print
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
JP62106813A
Other languages
Japanese (ja)
Inventor
Kazuyo Kiyono
清野 和代
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 Corp
Original Assignee
Toshiba 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 Corp filed Critical Toshiba Corp
Priority to JP62106813A priority Critical patent/JPS63270172A/en
Publication of JPS63270172A publication Critical patent/JPS63270172A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/46Applications of alarms, e.g. responsive to approach of end of line
    • B41J29/48Applications of alarms, e.g. responsive to approach of end of line responsive to breakage or exhaustion of paper or approach of bottom of paper

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Handling Of Continuous Sheets Of Paper (AREA)

Abstract

PURPOSE:To reduce the burden of an operator, by a method wherein, a means directing the ON/OFF of a printing action at the detection of the trailing end of a continuous paper and directing a printing amount after the detection of the trailing end is provided, and with the direction of keeping on the printing action the printing action is kept on by the directed printing amount after the detection of the trailing end of the continuous paper. CONSTITUTION:With an input of a detection signal which is outputted from a paper end switch 16 through an I/O port 28, a CPU 21 checks whether or not a flag stored in a flag storage area 24a of a RAM 24 is set to ON. If the flag is set to ON, a printing action is kept on for every line by the printing amount stored in a printing amount storage area 24b of the RAM 24. On the other hand, if the flag is set to OFF, a printing action is stopped after the detection of the trailing end of a continuous paper 13 and the continuous paper 13 is discharged. In this construction, a printing after the detection of the trailing end of the continuous paper can be carried out without a printing direction at every one-line printing; thus, the burden of an operator can be eliminated.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、連続用紙の印字に最適なプリンタ装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a printer device most suitable for printing on continuous paper.

〜て(従来の技術) 一般に、プリンタ装置で用いられる連続用紙は、用紙送
りを行なうトラクタにセットされ、このトラクタを介し
て印字ヘッドとプラテンとの間に送られた後、トラクタ
とプラテンとによって一行毎に送られる。通常、上記ト
ラクタには連続用紙の終端を検出するベーパーエンドス
イッチが配設されており、このベーパーエンドスイッチ
が上記連続用紙の終端を検出すると、印字動作が停止し
て連続用紙が排出されるように構成されている。
(Prior Art) Generally, continuous paper used in a printer device is set on a tractor that feeds the paper, and after being sent between a print head and a platen via this tractor, it is printed in one line by the tractor and platen. sent every time. Normally, the tractor is equipped with a vapor end switch that detects the end of the continuous paper, and when this vapor end switch detects the end of the continuous paper, the printing operation is stopped and the continuous paper is ejected. It is composed of

ところが、この連続用紙を用いて例えば伝票等の予めフ
ォーマットが定形化されている印字を行なった場合、第
5図に示すように連続用紙の終端付近の数行の印字を残
した状態で連続用紙が排出される事態が生じる。これは
、ベーパーエンドスイッチと印字ヘッドとの間隔によっ
て生じるもので、第5図に示す連続用紙の場合には、点
Aでベーパーエンドスイッチが終端を検出した時に印字
ヘッドの位置は点Bの位置にある。したがって、点Aと
点Bとの距離すなわちベーバーエンドスイッチと印字ヘ
ッドとの間隔分の印字がなされないまま、連続用紙が排
出されてしまう。
However, when this continuous paper is used to print a predefined format, such as a slip, as shown in Figure 5, the continuous paper leaves a few lines of print near the end of the continuous paper. A situation arises in which the gas is discharged. This is caused by the distance between the vapor end switch and the print head, and in the case of continuous paper shown in Figure 5, when the vapor end switch detects the end at point A, the print head position is at point B. It is in. Therefore, the continuous paper is ejected without being printed by the distance between point A and point B, that is, the distance between the Baber end switch and the print head.

そこで、従来のプリンタ装置は、このような事態を考慮
してオーバーライド機能を備え付けていた。このオーバ
ーライド機能とは、連続用紙の終端検出後も印字が可能
な限り1行単位で印字動作を続行させるというものであ
る。
Therefore, conventional printer devices are equipped with an override function in consideration of such a situation. This override function is to continue the printing operation line by line as long as printing is possible even after the end of continuous paper is detected.

しかしながら、このオーバーライド機能は、連続用紙の
終端検出後、オペレータが印字状態を確認しながら、1
行印字毎に印字指定(スイッチによって行なう)する必
要があり、オペレータに負担を与えてしまう欠点があっ
た。
However, this override function does not allow the operator to check the printing status after detecting the end of continuous paper.
It is necessary to specify printing (by using a switch) for each line of printing, which has the drawback of placing a burden on the operator.

〈発明が解決しようとする問題点〉 上記したように、従来は連続用紙の終端検出後、ざらに
印字を続行したい場合には1行印字毎に印字指定する必
要があり、オペ−レータに負担を与えてしまう欠点があ
った。
<Problems to be solved by the invention> As mentioned above, in the past, after detecting the end of continuous paper, if you wanted to continue printing in a rough manner, you had to specify printing for each line, which placed a burden on the operator. There was a drawback that it gave

本発明は上記のような点に鑑みなされたもので、オペ−
レータに負担を与えることなく、連続用紙の終端検出後
の印字を可能とするプリンタ装置を提供することを目的
とする。
The present invention has been made in view of the above points, and is
An object of the present invention is to provide a printer device capable of printing after detecting the end of continuous paper without putting a burden on a printer.

[発明の構成] (問題点を解決するための手段および作用)すなわち、
本発明に係わるプリンタ装置は、連続用紙の終端の検出
により印字動作を停止するプリンタ装置において、上記
連続用紙の終端検出時の印字動作の停止/続行の指定お
よび上記終端検出時以降の印字量を指定する手段を講じ
、印字動作の続行が指定されている場合に、上記連続用
紙の終端検出後、指定された印字量分の印字動作を続行
することを特徴とするものであり、このような構成によ
り1行印字毎に印字指定することなく、連続用紙の終端
検出後の印字が可能となり、オペレータの負担をなくす
ことができる。
[Structure of the invention] (Means and actions for solving the problem) That is,
A printer device according to the present invention is a printer device that stops a printing operation upon detection of the end of continuous paper, and specifies whether to stop or continue the printing operation when the end of the continuous paper is detected, and determines the amount of printing after the end of the continuous paper is detected. The method is characterized in that, when the continuation of the printing operation is specified by taking the specified means, after the end of the continuous paper is detected, the printing operation is continued for the specified printing amount. The configuration enables printing after detecting the end of continuous paper without specifying printing for each line, thereby eliminating the burden on the operator.

(実施例) 以下、図面を参照して本発明の一実施例に係わるプリン
タ装置を説明する。第1図は印字am部の構成を示す概
略図であり、図中11はプラテン、12は印字ヘッドで
ある。
(Embodiment) Hereinafter, a printer device according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a schematic diagram showing the configuration of a printing section, in which numeral 11 is a platen and 12 is a print head.

連続用紙13は、用紙送りを行なうトラクタ14にセッ
トされ、このトラクタ14を介して印字ヘッド12とプ
ラテン11との間に送られた後、ペイルローラ15によ
ってプラテン11に押圧された状態で、トラクタ14と
プラテン11とによって一行毎に送られる。上記トラク
タ14には連続用紙13の終端を検出するペーパーエン
ドスイッチ16が配設されており、このペーパーエンド
スイッチ16が連続用紙13の終端を検出すると、印字
動作が停止して連続用紙13が排出されるように構成さ
れている。
Continuous paper 13 is set on a tractor 14 that feeds the paper, and after being sent between the print head 12 and platen 11 via this tractor 14, it is pressed against the platen 11 by a pail roller 15 and then moved between the tractor 14 and the platen 11. It is sent line by line by the platen 11. The tractor 14 is equipped with a paper end switch 16 that detects the end of the continuous paper 13. When the paper end switch 16 detects the end of the continuous paper 13, the printing operation is stopped and the continuous paper 13 is ejected. is configured to be

第2図は割卵系の回路構成を示すブロック図であり、こ
のプリンタ装置全体の制御を司るCPU21ト接続スル
システムハス22ニRoM23、RAM24、インター
フェイス25、印字動作駆動部26、印字機構制御部2
7、I10ボート28がそれぞれ接続されている。
FIG. 2 is a block diagram showing the circuit configuration of the egg-breaking system, including the CPU 21 which controls the entire printer, the connecting system 22, the RoM 23, the RAM 24, the interface 25, the printing operation drive section 26, and the printing mechanism control section. 2
7 and I10 boats 28 are connected respectively.

ROM23は、CPU21を駆動するプログラム等のデ
ータを格納している。RAM24は、後述する図示せぬ
ホスト装置とのデータの送受信を司る。
The ROM 23 stores data such as programs for driving the CPU 21. The RAM 24 is responsible for transmitting and receiving data to and from a host device (not shown), which will be described later.

印字動作駆動部26は、c p U 21に従って印字
データを実印字レベルの駆動信号に変換する。印字機構
制御部27は、印字動作駆動部26から供給される信号
に従って、図示せぬキャリッジモータ、紙送りモータ等
を駆動して印字動作を実行する。
The print operation drive section 26 converts the print data into a drive signal at the actual print level according to c p U 21 . The printing mechanism control section 27 executes a printing operation by driving a carriage motor, a paper feed motor, etc. (not shown) in accordance with a signal supplied from the printing operation driving section 26.

I10ポート28は、ディプスイッチ29およびペーパ
ーエンドスイッチ16の入力制御を司る。このディプス
イッチ29は4つのスイッチ298〜29eからなり、
スイッチ29aで連続用紙13の終端検出時の印字動作
の停止/続行を指定、またスイッチ29b〜29eで連
続用紙13の終端検出時以降の印字量を指定するように
構成されている。
The I10 port 28 controls the input of the dip switch 29 and the paper end switch 16. This dip switch 29 consists of four switches 298 to 29e,
The switch 29a is configured to specify whether to stop or continue the printing operation when the end of the continuous paper 13 is detected, and the switches 29b to 29e are configured to specify the amount of printing after the end of the continuous paper 13 is detected.

以下、第3図および第4図に示すフローチャートを参照
して上記のようにして構成されるプリンタ装置の動作を
説明する。
The operation of the printer device configured as described above will be described below with reference to the flowcharts shown in FIGS. 3 and 4.

第3図は初期化ルーチンを示すフローチャートである。FIG. 3 is a flowchart showing the initialization routine.

すなわち、CPU21は電源ONの状態で、ディプスイ
ッチ29のスイッチ28aがONされているか否かを検
出しくステップA1)、スイッチ28aがONされてい
る場合、すなわち連続用紙13されているフラグをON
に設定する(ステップA2>。続いて、ディプスイッチ
29のスイッチ24b〜24eの値を読込み(ステップ
S3)、このスイッチ24b〜24eによって設定され
た印字量をRAM24の印字量格納領域24bに格納す
る(ステップ84)。一方、上記ステップA1において
、スイッチ28aがOFFされている場合、すなわち連
続用紙13の終端検出時における印字動作の停止が指定
されている場合には上記フラグをOFFに設定する(ス
テップA+)。なお、この場合、予めRAM24の印字
量格納領域24bに印字量が格納されている場合には上
記印字量をクリアする。
That is, when the power is on, the CPU 21 detects whether or not the switch 28a of the dip switch 29 is turned on (step A1), and if the switch 28a is turned on, in other words, it turns on the flag indicating that the continuous paper 13 is being printed.
(Step A2>) Next, the values of the switches 24b to 24e of the dip switch 29 are read (step S3), and the print amount set by the switches 24b to 24e is stored in the print amount storage area 24b of the RAM 24. (Step 84). On the other hand, in step A1, if the switch 28a is turned OFF, that is, if stopping the printing operation upon detection of the end of the continuous paper 13 is specified, the flag is set to OFF ( Step A+).In this case, if the print amount is stored in advance in the print amount storage area 24b of the RAM 24, the above print amount is cleared.

このようにして、連続用紙13の終端検出後の印字動作
の停止/続行、これに伴う印字量の設定がなされた状態
で、印字動作が開始される。すなわち、CP LJ 2
1はインターフェイス25を介して受信した印字データ
に基づいて印字動作駆動部26および印字機構制御部2
7を駆動し、連続用紙13を1行毎に送りながら印字を
行なう。この場合、連続用紙13はトラクタ14を介し
て印字ヘッド12とプラテン11との間に送られる。こ
こで、トラクタ14に配設されたペーパーエンドスイッ
チ16が連続用紙13の終端を検出した場合には、第4
図に示す処理を実行する。
In this way, the printing operation is started after the printing operation is stopped/continued after the end of the continuous paper 13 is detected, and the printing amount is set accordingly. That is, CP LJ 2
1 is a print operation drive unit 26 and a print mechanism control unit 2 based on print data received via an interface 25.
7 and prints while feeding the continuous paper 13 line by line. In this case, continuous paper 13 is fed between print head 12 and platen 11 via tractor 14 . Here, when the paper end switch 16 disposed on the tractor 14 detects the end of the continuous paper 13, the fourth
Execute the process shown in the figure.

第4図は連続用紙の終端検出後の処理ルーチンを示すフ
ローチャートである。すなわち、CPLI21はI10
ボート28を介してペーパーエンドスイッチ16から出
力される検出信号を入力すると、RAM24のフラグ格
納領域24aに格納されているフラグがONに設定され
ているか否かを調べ(ステップB1)、フラグがONに
設定されている場合にはRAM24の印字量格納領域2
4bに格納されている印字量分の印字動作を1行毎に続
行する(ステップ82.ステップ83)。一方、上記ス
テップB1において、フラグがOFFに設定されている
場合には連続用紙13の終端検出後、印字動作を停止し
て連続用紙13を排出する。
FIG. 4 is a flowchart showing a processing routine after detecting the end of continuous paper. That is, CPLI21 is I10
When the detection signal output from the paper end switch 16 is input via the boat 28, it is checked whether the flag stored in the flag storage area 24a of the RAM 24 is set to ON (step B1), and the flag is turned ON. If set to , print amount storage area 2 of RAM 24
The printing operation for the printing amount stored in 4b is continued line by line (steps 82 and 83). On the other hand, in step B1, if the flag is set to OFF, after the end of the continuous paper 13 is detected, the printing operation is stopped and the continuous paper 13 is discharged.

このように、本実施例によれば、印字開始前の状態で連
続用紙の終端検出後の印字動作の続行およびその際の印
字量の指定が可能なため、連続用紙の終端検出後も印字
することが明白で、かつその際の印字量もわかっている
場合には、印字開始前の状態でこれらを指定しておけば
良い。したがって、従来のように連続用紙の終端検出後
に印−宇状態を見ながら1行印字毎に印字指定するよう
なな業が不要となり、オペレータの負担をなくすことが
できる。
In this way, according to this embodiment, it is possible to continue the printing operation after detecting the end of continuous paper and specify the printing amount at that time before printing starts, so that printing can be performed even after the end of continuous paper is detected. If this is clear and the printing amount is also known, it is sufficient to specify these before printing starts. Therefore, it is no longer necessary to designate printing for each line while checking the printing status after detecting the end of continuous paper as in the past, and the burden on the operator can be eliminated.

なお、本実施例では連続用紙の終端検出後の印字動作の
指定/続行の指定および印字量の指定をディプスイッチ
によって実施したが、本発明はこれに限るものではなく
、例えばオペレーションパネルスイッチ、あるいはホス
ト装置からのコマンドによって実施しても良く、このよ
うに構成した場合でも上記実施例と同様の効果が得られ
るものである。
Note that in this embodiment, the designation/continuation of the printing operation after detection of the end of continuous paper and the designation of the printing amount were carried out using a dip switch, but the present invention is not limited to this, and for example, an operation panel switch or It may be implemented by a command from the host device, and even with this configuration, the same effects as in the above embodiment can be obtained.

[発明の効果] 以上のように本発明によれば、連続用紙の終端検出時の
印字動作の停止/続行の指定および上記終端検出時以降
の印字量を指定する手段を講じ、印字動作の続行が指定
されている場合に、上記連続用紙の終端検出後、指定さ
れた印字量分の印字動作を続行したため、オペ−レータ
に負担を与えることなく、連続用紙の終端検出後の印字
が可能となる。
[Effects of the Invention] As described above, according to the present invention, a means is provided for specifying stop/continuation of the printing operation when the end of continuous paper is detected, and a means for specifying the amount of printing after the end is detected, so that the continuation of the printing operation is performed. is specified, the printing operation continued for the specified amount of printing after the end of the continuous paper was detected, so it was possible to print after the end of the continuous paper was detected without putting any burden on the operator. Become.

【図面の簡単な説明】[Brief explanation of the drawing]

第1因は本発明の一実施例に係わる印字機構部の構成を
示す概略図、第2図は同実施例の回路構成を示すブロッ
ク図、第3図および第4図は同実施例の動作を説明する
ためのフローチャート、第5図は終端付近の連続用紙を
示す因である。 11・・・プラテン、12・・・印字ヘッド、13・・
・連続用紙、14・・・トラクタ、16・・・ペーパー
エンドスイッチ、21・CPLJ、23・ROM124
・RAM、24a ・77グ格納領域、24b・・・印
字量格納領域、25・・・インターフェイス、29・・
・デイプスイツチ。
The first factor is a schematic diagram showing the configuration of the printing mechanism according to an embodiment of the present invention, FIG. 2 is a block diagram showing the circuit configuration of the embodiment, and FIGS. 3 and 4 are the operations of the embodiment. FIG. 5 is a flowchart for explaining the process, and shows the cause of continuous paper near the end. 11...Platen, 12...Print head, 13...
・Continuous paper, 14...Tractor, 16...Paper end switch, 21・CPLJ, 23・ROM124
・RAM, 24a ・77g storage area, 24b...Print amount storage area, 25...Interface, 29...
・Depth switch.

Claims (1)

【特許請求の範囲】 連続用紙の終端の検出により印字動作を停止するプリン
タ装置において、 上記連続用紙の終端検出時の印字動作の停止/続行を指
定する印字動作指定手段と、 上記連続用紙の終端検出時以降の印字量を指定する印字
量指定手段と、 上記印字動作指定手段によって印字動作の続行が指定さ
れている場合に、上記連続用紙の終端検出後、上記印字
量指定手段によって指定された印字量分の印字動作を続
行する印字制御手段とを具備したことを特徴とするプリ
ンタ装置。
[Scope of Claims] A printer device that stops a printing operation upon detection of the end of continuous paper, comprising: printing operation designating means for specifying stop/continuation of the printing operation when detecting the end of continuous paper; a print amount designation means for specifying the print amount after the detection; and if the continuation of the printing operation is designated by the print operation designation means, after the end of the continuous paper is detected, the print amount designation means specifies the print amount after the detection; 1. A printer device comprising: printing control means for continuing a printing operation for the amount of printing.
JP62106813A 1987-04-30 1987-04-30 Printer device Pending JPS63270172A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62106813A JPS63270172A (en) 1987-04-30 1987-04-30 Printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62106813A JPS63270172A (en) 1987-04-30 1987-04-30 Printer device

Publications (1)

Publication Number Publication Date
JPS63270172A true JPS63270172A (en) 1988-11-08

Family

ID=14443274

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62106813A Pending JPS63270172A (en) 1987-04-30 1987-04-30 Printer device

Country Status (1)

Country Link
JP (1) JPS63270172A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02301475A (en) * 1989-05-16 1990-12-13 Seiko Epson Corp Printing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02301475A (en) * 1989-05-16 1990-12-13 Seiko Epson Corp Printing apparatus

Similar Documents

Publication Publication Date Title
JPS63270172A (en) Printer device
EP0445835B1 (en) Method and apparatus for controlling a multiple sheet detection function
JPH0640128A (en) Printer device
JPS60201965A (en) Printer with compensation for missing of dot
JPS6327278A (en) Printer
JP2615838B2 (en) Printer automatic paper feed system
JP3890221B2 (en) Roll paper printer
JPH03246088A (en) Medium right margin detection apparatus of printer
JPH02155783A (en) Printing apparatus
JPH01301346A (en) Printing apparatus
JPS62278078A (en) Recorder
JPS63207671A (en) Automatic paper feed controlling system for printer
JPH08238817A (en) Controlling device for printer paper feeding
JPH01218866A (en) Printer
JPS6248598B2 (en)
JPH02279374A (en) Printer
JPH0462170A (en) Head printing position deciding system for printer sheet
JPH01244876A (en) Control system for printer
JPH04219261A (en) Printing device
JPS60214981A (en) Printer
JPS63274570A (en) Printer
JPH04105980A (en) Serial printer
JPH0924645A (en) Printer
JPH0569609A (en) Printer
JPS6054881A (en) Printer