JPH10193754A - Printer - Google Patents

Printer

Info

Publication number
JPH10193754A
JPH10193754A JP9005505A JP550597A JPH10193754A JP H10193754 A JPH10193754 A JP H10193754A JP 9005505 A JP9005505 A JP 9005505A JP 550597 A JP550597 A JP 550597A JP H10193754 A JPH10193754 A JP H10193754A
Authority
JP
Japan
Prior art keywords
paper
print
printing
cassette
sheets
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP9005505A
Other languages
Japanese (ja)
Other versions
JP3829385B2 (en
Inventor
Toshihiro Shima
敏博 島
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP00550597A priority Critical patent/JP3829385B2/en
Publication of JPH10193754A publication Critical patent/JPH10193754A/en
Application granted granted Critical
Publication of JP3829385B2 publication Critical patent/JP3829385B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To detect accurately the residual amount of printing forms in a form cassette and to enable detection of exhaustion of the forms, without using a highly precise mechanism for detecting the residual amount of the forms. SOLUTION: This printer is equipped with a printing process executing part 13 which executes a printing process with printing forms held in a form cassette 15 and a control part 14 which controls printing in the printing process executing part 13. The control part 14 has a print sheet number calculating part which calculates the number of the printing forms necessary for the printing process in the printing process executing part 13 and a form residual amount calculating part which calculates the residual amount of the printing forms held in the form cassette 15. Besides, the control part 14 determines whether or not the printing process can be executed without causing exhaustion of the forms, on the basis of the results of calculation of the print sheet number calculating part and the form residual amount calculating part.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、印刷装置に関し、
特に、所定枚数の印刷用紙が収容された用紙カセットが
装着される印刷装置に関するものである。
The present invention relates to a printing apparatus,
In particular, the present invention relates to a printing apparatus in which a paper cassette containing a predetermined number of printing papers is mounted.

【0002】[0002]

【従来の技術】ページプリンタのような現在の多くの印
刷装置では、大量の印刷用紙を収容した用紙カセットを
装着し、この用紙カセットから1枚づつ印刷用紙を補給
することで、必要な印刷処理を行う形式のものが広く使
用されている。
2. Description of the Related Art In many current printing apparatuses such as page printers, a paper cassette containing a large amount of printing paper is mounted, and printing paper is replenished one by one from the paper cassette to perform necessary printing processing. Is widely used.

【0003】このような印刷装置において、例えば大量
のデータの文書を印刷する際には、印刷用紙の不足によ
って、当該文書の印刷が完了できないことがある。特
に、LAN(ローカルエリアネットワーク)などによっ
て複数のコンピュータ(ホスト)が同じ印刷装置を共用
するシステムでは、このような印刷動作の未完了が生じ
た場合、その印刷動作が完了するまで他のホストが印刷
処理を行うことができなくなり、この結果、システム全
体の処理が遅延してしまう。
In such a printing apparatus, for example, when printing a document with a large amount of data, the printing of the document may not be completed due to a shortage of printing paper. In particular, in a system in which a plurality of computers (hosts) share the same printing device via a LAN (local area network) or the like, if such a printing operation is not completed, the other hosts are not operated until the printing operation is completed. The printing process cannot be performed, and as a result, the processing of the entire system is delayed.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来の
印刷装置では、上記のような紙切れに対する特別な対策
が講じられていない。そのため、用紙カセットの紙切れ
が発生するかどうかは実際に印刷をしてみないと分から
ないという問題があった。
However, in the conventional printing apparatus, no special countermeasures against the above-mentioned paper breakage are taken. For this reason, there is a problem that it cannot be determined whether or not the paper cassette has run out without actually performing printing.

【0005】また、用紙カセット内における印刷用紙の
残量を高精度で検出する機構を設けることで、このよう
な用紙カセットの紙切れを事前に検出する手法が考えら
れるが、そのような機構を設けることによりコスト高と
なってしまう。
[0005] Further, by providing a mechanism for detecting the remaining amount of the printing paper in the paper cassette with high accuracy, a method of detecting in advance that the paper cassette has run out of paper can be considered, but such a mechanism is provided. This increases the cost.

【0006】そこで、本発明は、上記のような高精度な
用紙残量検出機構を設けることなく、用紙カセット内の
印刷用紙の残量を正確に検知できて、印刷の際に紙切れ
を事前に検出できる印刷装置を提供することを課題とし
ている。
Therefore, the present invention can accurately detect the remaining amount of printing paper in a paper cassette without providing a highly accurate remaining paper amount detecting mechanism as described above, and can prevent running out of paper at the time of printing. It is an object of the present invention to provide a printing device that can detect the printing device.

【0007】[0007]

【課題を解決するための手段】上記課題を解決する本発
明の印刷装置は、複数枚の印刷用紙が収容された用紙カ
セットと、前記用紙カセットに収容された印刷用紙を用
いてホストから受信した印刷データに基づいて所定の印
刷処理を行う印刷処理実行部と、前記印刷処理実行部に
おける印刷を制御する制御部とを有し、前記制御部が、
前記印刷処理実行部における印刷処理に必要な印刷用紙
の枚数を算出する印刷枚数算出部と、前記用紙カセット
に収納された印刷用紙の残量を算出する用紙残量算出部
を備えて、前記印刷枚数算出部と前記用紙残量算出部と
の算出結果に基づいて前記印刷処理実行部における印刷
処理が紙切れを起こさずに実行可能か否かを判定するよ
うに構成されていることを特徴とする。
A printing apparatus according to the present invention for solving the above-mentioned problems receives a paper cassette containing a plurality of printing papers from a host using the printing papers contained in the paper cassette. A print processing execution unit that performs predetermined print processing based on print data, and a control unit that controls printing in the print processing execution unit, wherein the control unit
The print processing execution unit includes a print number calculation unit that calculates the number of print sheets required for print processing, and a paper remaining amount calculation unit that calculates the remaining amount of print paper stored in the paper cassette. It is characterized in that it is configured to judge whether or not the printing process in the printing process execution unit can be executed without running out of paper based on the calculation results of the number of sheets calculation unit and the remaining paper amount calculation unit. .

【0008】前記制御部は、例えば前記印刷処理実行部
における印刷が紙切れを起こすと判定した場合、前記用
紙カセットに必要枚数の印刷用紙が供給されるまで前記
印刷処理実行部における印刷処理を中断させるように構
成する。つまり、用紙カセットから供給可能な最大の枚
数が印刷に必要な印刷用紙の枚数以上となるまで、印刷
処理を中断させる。
When the control unit determines that the printing in the print processing unit causes the paper to run out, the control unit suspends the print processing in the print processing unit until a required number of print sheets are supplied to the paper cassette. The configuration is as follows. That is, the printing process is interrupted until the maximum number of sheets that can be supplied from the sheet cassette is equal to or greater than the number of printing sheets required for printing.

【0009】また、前記用紙残量算出部は、前記用紙カ
セット内に収容可能な最大の印刷用紙の枚数から、印刷
処理により使用した印刷用紙の枚数を減じることで、前
記用紙カセットに収容された印刷用紙の残量を算出する
ことを特徴とし、前記用紙カセットは、前記用紙カセッ
ト内の印刷用紙が所定の枚数以下になった場合に動作す
る用紙センサをさらに有し、前記用紙センサが動作した
とき、前記用紙残量算出部は、前記用紙センサの動作後
の印刷処理に使用した枚数を前記所定の枚数から減じる
ことで前記用紙カセットに収納された印刷用紙の残量を
算出することを特徴としている。
Further, the paper remaining amount calculating section subtracts the number of printing papers used in the printing process from the maximum number of printing papers that can be stored in the paper cassette, so that the number of printing papers stored in the paper cassette is reduced. Calculating a remaining amount of printing paper, wherein the paper cassette further has a paper sensor that operates when the number of printing papers in the paper cassette becomes equal to or less than a predetermined number, and the paper sensor operates. At this time, the paper remaining amount calculation unit calculates the remaining amount of the printing paper stored in the paper cassette by subtracting the number of sheets used for the printing process after the operation of the paper sensor from the predetermined number. And

【0010】また、前記用紙残量算出部は、前記用紙カ
セット内に収納可能な最大の印刷用紙の枚数を、前記用
紙カセットに印刷用紙を最大枚数収納してから前記用紙
カセットに印刷用紙がなくなるまで前記用紙カセットか
ら排出された印刷用紙の枚数から求める。用紙残量算出
部は、また、前記所定の枚数を、用紙センサが動作して
から前記用紙カセットに印刷用紙がなくなるまでの前記
用紙カセットから排出された印刷用紙の枚数から求め
る。
Further, the paper remaining amount calculating section determines the maximum number of print papers that can be stored in the paper cassette, and stores the maximum number of print papers in the paper cassette and then runs out of print paper in the paper cassette. Up to the number of print sheets discharged from the sheet cassette. The paper remaining amount calculating unit also determines the predetermined number of sheets from the number of print sheets discharged from the sheet cassette until the sheet cassette runs out of print sheets after the sheet sensor operates.

【0011】[0011]

【発明の実施の形態】以下、本発明の印刷装置の実施の
形態を図面を参照して詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the printing apparatus according to the present invention will be described in detail with reference to the drawings.

【0012】図1は、本実施形態の印刷装置10の構成
図である。この印刷装置10は、インターフェース制御
部11、受信バッファメモリ12、印刷処理実行部1
3、制御部14、用紙カセット15を含んで構成されて
いる。
FIG. 1 is a configuration diagram of a printing apparatus 10 according to the present embodiment. The printing apparatus 10 includes an interface control unit 11, a reception buffer memory 12, a print processing execution unit 1,
3, a control unit 14, and a paper cassette 15.

【0013】インターフェース制御部11は、例えば、
ホストコンピュータなどの外部装置(ホスト)の印刷装
置用ポートにプリンタケーブルを介して接続されるイン
ターフェースである。受信バッファメモリ12は、イン
ターフェース制御部11を介して入力される印刷データ
を一時的に蓄積するメモリである。
The interface control unit 11 includes, for example,
This is an interface connected via a printer cable to a printing device port of an external device (host) such as a host computer. The reception buffer memory 12 is a memory for temporarily storing print data input via the interface control unit 11.

【0014】印刷処理実行部13は、図2に示すよう
に、データ読込部131、データ解析・変換部132、
データ展開部133、印刷処理部134を備えている。
データ読込部131は、受信バッファメモリ12に蓄積
された印刷データを逐次読み込むものであり、データ解
析・変換部132は、読み込んだ印刷データを解析し、
入力された印刷データを処理し易いデータ形式に変換す
るものである。データ展開部133は、データ解析・変
換部132によって変換されたデータを印刷イメージデ
ータに展開するものであり、印刷処理部134は、展開
された印刷イメージデータに基づいて印刷処理を実行す
るものである。
As shown in FIG. 2, the print processing execution unit 13 includes a data reading unit 131, a data analysis / conversion unit 132,
A data development unit 133 and a print processing unit 134 are provided.
The data reading unit 131 sequentially reads the print data stored in the reception buffer memory 12, and the data analysis / conversion unit 132 analyzes the read print data.
It converts input print data into a data format that is easy to process. The data expanding unit 133 expands the data converted by the data analyzing / converting unit 132 into print image data, and the print processing unit 134 executes a print process based on the expanded print image data. is there.

【0015】制御部14は、図3に示すように、印刷枚
数算出部141、用紙残量算出部142、及び、印刷制
御部143を備えている。印刷枚数算出部141は、印
刷処理実行部13からの印刷要求におけるジョブで消費
する予定の印刷用紙の枚数を求めるものであり、用紙残
量算出部142は、用紙カセット15に残っている用紙
の枚数を算出するものである。印刷制御部143は、印
刷枚数算出部141と用紙残量算出部142の各算出結
果に基づいて、印刷処理実行部13において行われる印
刷処理が紙切れなしに実行可能か否かの判定を行い、判
定結果に応じて印刷処理実行部13の動作を制御するも
のである。
As shown in FIG. 3, the control unit 14 includes a print number calculation unit 141, a remaining paper amount calculation unit 142, and a print control unit 143. The number-of-printed-sheets calculating unit 141 calculates the number of print sheets to be consumed in a job in a print request from the print processing executing unit 13. The remaining sheet amount calculating unit 142 calculates the number of sheets remaining in the sheet cassette 15. The number is calculated. The print control unit 143 determines whether or not the print processing performed by the print processing execution unit 13 can be executed without running out of paper based on the calculation results of the number-of-printed-sheets calculation unit 141 and the remaining amount of paper calculation unit 142. The operation of the print processing execution unit 13 is controlled according to the determination result.

【0016】なお、上記の各機能ブロックは、通常、印
刷装置10に設けられたROMなどの命令記憶手段に記
憶された命令群(コンピュータプログラムおよび必要な
データ)にしたがって、同じく印刷装置10に設けられ
た処理装置(CPU)が所要の処理を実行することによ
り実現される。
Each of the above functional blocks is normally provided in the printing apparatus 10 in accordance with an instruction group (computer program and necessary data) stored in an instruction storage means such as a ROM provided in the printing apparatus 10. The processing is performed by executing the required processing by the processing device (CPU).

【0017】図3に示すように、用紙カセット15には
用紙センサ151が取り付けられており、この用紙セン
サ151からの信号が用紙残量算出部142に送られる
ようになっている。このような用紙センサ151は、例
えば、用紙カセット15の給紙部分の底部に設けられ、
用紙カセット15内に残存する印刷用紙が所定の枚数、
例えば10枚になったときにONとなって、用紙が残り
少ないことを知らせる。より具体的には、例えば、用紙
カセット15の所定の位置に固定されて、印刷用紙の増
減によりON、OFF動作をするマイクロスイッチが用
いられる。なお、用紙センサ151を設ける位置は、用
紙カセット15の給紙部分の底部に限定されず、この給
紙部分の一定の高さの位置であれば良い。
As shown in FIG. 3, a paper sensor 151 is attached to the paper cassette 15, and a signal from the paper sensor 151 is sent to the paper remaining amount calculating unit 142. Such a paper sensor 151 is provided, for example, at the bottom of the paper feed portion of the paper cassette 15,
A predetermined number of print sheets remaining in the sheet cassette 15;
For example, it is turned ON when the number of sheets reaches ten, to notify that the remaining paper is low. More specifically, for example, a microswitch that is fixed at a predetermined position of the paper cassette 15 and that is turned on and off by increasing or decreasing the number of printing papers is used. The position at which the paper sensor 151 is provided is not limited to the bottom of the paper feeding portion of the paper cassette 15, and may be any position as long as the paper feeding portion has a certain height.

【0018】上記のように構成される本実施形態の印刷
装置10の動作を以下に説明する。
The operation of the printing apparatus 10 according to the present embodiment configured as described above will be described below.

【0019】図4は、印刷装置10における用紙カセッ
ト15の状態説明図、図5(a),(b)は、印刷装置
10における動作説明図である。この例では、用紙カセ
ット15には、最大でa枚の印刷用紙が収容可能であ
り、また、用紙カセット15の底から印刷用紙b枚目の
位置に用紙センサ151が設けられている。そして、用
紙センサ151は、印刷用紙が残りb枚となるまではO
Nの状態であり、また印刷用紙の残りがb枚より少なく
なった場合には、ONからOFFの状態に動作する。な
お、用紙センサ151の動作は逆であっても良く、つま
り、印刷用紙が残りb枚となるまではOFFで、b枚よ
り少なくなった場合にONに動作する構成であっても良
い。
FIG. 4 is an explanatory view of the state of the sheet cassette 15 in the printing apparatus 10, and FIGS. 5A and 5B are explanatory views of the operation of the printing apparatus 10. In this example, the paper cassette 15 can accommodate a maximum of a printing paper, and a paper sensor 151 is provided at a position of the b-th printing paper from the bottom of the paper cassette 15. Then, the paper sensor 151 outputs O until the print paper reaches the remaining b sheets.
In the state of N, and when the number of remaining print sheets is less than b, the operation is performed from ON to OFF. Note that the operation of the paper sensor 151 may be reversed, that is, the configuration may be such that the paper sensor 151 is turned off until the remaining b sheets are left, and is turned on when the number of printed sheets becomes less than b.

【0020】また、図4および図5において、cは印刷
用紙を消費した後における用紙カセット15内の残りの
印刷用紙の枚数、dは用紙センサ151がOFFしてか
ら減った印刷用紙の枚数である。そして、以下に説明す
るように、用紙センサ151がON、つまり図5(a)
の場合には、dは0であり、また、用紙カセット15に
おける残りの用紙の枚数は、(a−c)で表される。一
方、用紙センサ151がOFF、つまり図5(b)の場
合には、用紙カセット15における残りの用紙の枚数
は、(b−d)で表される。
4 and 5, c is the number of remaining print papers in the paper cassette 15 after consumption of the print papers, and d is the number of print papers reduced since the paper sensor 151 was turned off. is there. Then, as described below, the paper sensor 151 is turned on, that is, FIG.
In this case, d is 0, and the number of remaining sheets in the sheet cassette 15 is represented by (ac). On the other hand, when the sheet sensor 151 is OFF, that is, in the case of FIG. 5B, the number of remaining sheets in the sheet cassette 15 is represented by (b−d).

【0021】図6は、制御部14、特に印刷制御部14
3における処理手順の概要を示したものである。すなわ
ち、制御部14では、まず、印刷用紙の最大枚数aと、
残り枚数bとを算出し、次いで、印刷判定処理を行う。
FIG. 6 shows the control unit 14, in particular, the print control unit 14.
3 shows an outline of the processing procedure. That is, the control unit 14 first sets the maximum number a of the printing paper to a,
The remaining number b is calculated, and then a print determination process is performed.

【0022】a,bの具体的な算出手順は、図7に示し
た通りである。すなわち、まず、a=0、b=0にそれ
ぞれ設定した後(ステップS11)、用紙カセット15
から通紙が行われたかどうか、つまり用紙カセット15
から印刷用紙が排出されたかどうかを検出する(ステッ
プS12)。通紙された場合には、aを1だけ加算し
(ステップS13)、通紙されない場合には、ステップ
S12の判定処理を再び実行する。ステップ13の処理
を実行した後は、用紙センサ151がONかOFFかを
検出する(ステップS14)。ONの場合には、ステッ
プS12からステップS13の処理を繰り返す。用紙セ
ンサ151がOFFになった場合には、bを1だけ加算
する(ステップS15)。以上の動作を用紙カセット1
5内の印刷用紙がなくなるまで継続する(ステップS1
6:No)。印刷用紙がなくなった場合は(ステップS
16:Yes)、その時点で得られたa,bの値をそれ
ぞれ例えば制御部14の用紙残量算出部142に保存す
る(ステップS17)。このようにしてa、bの値を算
出した後、印刷判定処理を行う。
The specific procedure for calculating a and b is as shown in FIG. That is, first, after setting a = 0 and b = 0 (step S11), the paper cassette 15
From the paper cassette 15
It is detected whether or not the printing paper has been discharged from (step S12). If the paper is passed, a is added by 1 (step S13), and if the paper is not passed, the determination processing of step S12 is executed again. After executing the processing of step 13, it is detected whether the paper sensor 151 is ON or OFF (step S14). If it is ON, the processing from step S12 to step S13 is repeated. If the paper sensor 151 is turned off, b is incremented by 1 (step S15). The above operation is performed on the paper cassette 1
5 until there is no more printing paper (step S1).
6: No). If the print paper is exhausted (step S
16: Yes), the values of a and b obtained at that time are stored in, for example, the remaining paper amount calculation unit 142 of the control unit 14 (step S17). After calculating the values of a and b in this way, a print determination process is performed.

【0023】図8は、この印刷判定処理の具体的な手順
説明図である。
FIG. 8 is an explanatory diagram of a specific procedure of this print determination processing.

【0024】すなわち、まず、上記c=0、d=0にそ
れぞれ設定する(ステップS21)。次に、印刷処理実
行部13における印刷要求を調べ、印刷要求がある場合
には、その印刷要求(ジョブ)において必要な印刷用紙
の枚数nを印刷枚数算出部141において算出する(ス
テップS22)。そして、nと(a−c)の大小を比較
し(ステップS23)、nが(a−c)よりも大きい場
合には、印刷装置10の図示しない表示部や印刷装置1
0へ印刷データを送信するホスト側のディスプレイ上
に、例えば、「用紙が全く足りません」と表示した後
(ステップS24)、用紙カセットに印刷用紙が供給さ
れるまで印刷処理実行部13における印刷処理を中断さ
せる(ステップS25)。
That is, first, c = 0 and d = 0 are set (step S21). Next, the print request in the print processing execution unit 13 is checked, and if there is a print request, the number n of print sheets required for the print request (job) is calculated in the print number calculation unit 141 (step S22). Then, the magnitude of n and (ac) is compared (step S23). If n is greater than (ac), the display unit (not shown) of the printing apparatus 10 or the printing apparatus 1
For example, after displaying "no paper is enough" on the display on the host side that transmits the print data to "0" (step S24), printing in the print processing execution unit 13 is performed until the print paper is supplied to the paper cassette. The processing is interrupted (step S25).

【0025】一方、ステップS23においてnが(a−
c)以下の場合、用紙センサ151がONである場合に
は(ステップ37)、印刷処理実行部13による印刷処
理を許容する。一方、用紙センサ151がOFFである
場合には(ステップ37)、nと(bーd)との大小を
比較する(ステップS26)。そして、nが( bーd
)より大きい場合には、例えば、「用紙を用紙カセッ
ト一杯まで補給しないと足りません」、あるいは「用紙
を(n−(bーd))枚以上足して下さい」等と上記同
様に表示した後、用紙カセット15に用紙が補給される
まで印刷処理実行部13における印刷処理を中断させる
(ステップ28)。ステップ26において、nが(bー
d )以下である場合は、用紙センサがOFFになった
ことで用紙切れがちがづいたものの、とりあえずまだ用
紙が足りないわけではないので、印刷処理実行部13に
よる印刷処理を許容する。この際、例えば、「用紙を用
紙カセット一杯まで補給しないとそろそろ用紙が足りな
くなりそうです」等と表示しても良い(ステップ2
7)。
On the other hand, in step S23, n becomes (a−
c) In the following cases, when the paper sensor 151 is ON (step 37), the print processing by the print processing execution unit 13 is permitted. On the other hand, when the paper sensor 151 is OFF (step 37), the magnitudes of n and (b−d) are compared (step S26). And n is (bd
If the paper is larger than), for example, "The paper must be replenished until the paper cassette is full" is displayed, or "Please add more than (n- (bd)) papers" is displayed as above. Thereafter, the printing process in the printing process execution unit 13 is interrupted until the paper is supplied to the paper cassette 15 (step 28). If n is equal to or smaller than (b−d) in step 26, although the paper sensor is turned off and the paper is likely to run out, it is not necessarily the case that the paper is still insufficient. Print processing is permitted. At this time, for example, a message such as "It is likely to run out of paper until the paper cassette is fully replenished" may be displayed (step 2).
7).

【0026】さて、ステップ37やステップ27におい
て印刷処理実行部13による印刷処理が許容された場
合、あるいは、ステップ24やステップS25において
印刷用紙が補給された場合には、印刷処理実行部13に
よる印刷処理を実行する(ステップS29)。このと
き、用紙カセット15から通紙が行われたかどうかを検
出し(ステップS30)、検出した場合は、cを1だけ
加算した後(ステップS31)、用紙センサ151がO
NかOFFかを検出する(ステップS32)。
When the printing process by the printing process executing unit 13 is permitted in step 37 or step 27, or when the printing paper is replenished in step 24 or step S25, the printing by the printing process executing unit 13 is performed. The process is executed (Step S29). At this time, it is detected whether or not the paper has been passed from the paper cassette 15 (step S30). If it is detected, c is incremented by 1 (step S31), and the paper sensor 151 is turned off.
It is detected whether N or OFF (step S32).

【0027】用紙センサ151がOFFの場合には、d
を1だけ加算する(ステップS33)。次いで、用紙が
なくなったかどうか、つまり、用紙エンドかどうかを検
出し(ステップS34)、用紙エンドの場合には、上記
の一連の処理で得られたcとdの値を今回の印刷処理に
よって変化した値として、これをステップS21におい
て設定された値に代えて保存する。つまり、cを次回の
aとして保存し、dを次回のbとして保存する(ステッ
プS36)。
When the paper sensor 151 is OFF, d
Is incremented by 1 (step S33). Next, it is detected whether or not the paper has run out, that is, whether or not the paper has run out (step S34). If the paper has run out, the values of c and d obtained in the above series of processing are changed by the current printing processing. This value is stored instead of the value set in step S21. That is, c is stored as the next a, and d is stored as the next b (step S36).

【0028】一方、ステップS32において用紙センサ
151がONであった場合、およびステップS34にお
いて用紙がなくならない場合には、ジョブが終了したか
どうかを監視する(ステップS35)。ジョブが終わら
ない場合には、ステップS29の処理に戻り、ジョブが
終わった場合は、ステップS22の処理に戻る。
On the other hand, if the paper sensor 151 is ON in step S32 and if the paper does not run out in step S34, it is monitored whether the job has been completed (step S35). If the job has not ended, the process returns to step S29. If the job has ended, the process returns to step S22.

【0029】なお、上記ステップS25やステップ28
において、印刷処理を中断することに代えて、別のカセ
ットやトレイに自動的に切り換える構成としても良い。
またこのような切り替えを手動で行わせるように促すよ
うにしても良い。さらに、上記説明では用紙センサ15
1を用いたが、このような用紙センサ151を用いず
に、用紙残量検出部142において、用紙残量を演算処
理によって検出するようにしても良い。
The above steps S25 and 28
In the above, instead of interrupting the printing process, a configuration may be adopted in which switching to another cassette or tray is automatically performed.
Further, it may be urged to perform such a switching manually. Further, in the above description, the paper sensor 15
However, instead of using such a paper sensor 151, the remaining paper amount detection unit 142 may detect the remaining amount of paper by arithmetic processing.

【0030】また、上記のように構成される印刷装置で
は、作業者が用紙カセット内の印刷用紙を増減したり、
あるいは用紙センサ151の位置を変更した場合でも、
1回の印刷処理を行うことで、そのような増減や変更に
伴う印刷用紙の変化ないし用紙センサ151の検出位置
の変化に対応する設定変更が行え、このため、次回の印
刷処理においては、正しく用紙残量の検出を行うことが
できるものである。
In the printing apparatus configured as described above, the operator can increase or decrease the number of print sheets in the sheet cassette,
Alternatively, even when the position of the paper sensor 151 is changed,
By performing a single print process, a setting change corresponding to a change in print paper or a change in the detection position of the paper sensor 151 due to such an increase or decrease can be performed. The remaining amount of paper can be detected.

【0031】[0031]

【発明の効果】以上のように、本発明によれば、高精度
の用紙残量検出機構を用いることなく、用紙カセット内
の印刷用紙の残量を正確に検知して印刷時の紙切れを事
前に検出できる印刷装置を提供することができる。
As described above, according to the present invention, the remaining amount of the printing paper in the paper cassette is accurately detected without using a high-precision remaining paper detection mechanism, and the running out of paper during printing is performed in advance. Can be provided.

【0032】さらに、用紙センサ151を設け、そのセン
サの出力を参照することで、nと(a−c)の大小を比
較するだけの時よりも精度良く用紙切れを予測すること
が可能となり、結果としてユーザにとってより親切な印
刷装置を提供するできる。
Further, by providing the paper sensor 151 and referring to the output of the sensor, it is possible to more accurately predict that the paper has run out than when only comparing the magnitude of n and (ac). As a result, a printing device that is more user friendly can be provided.

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

【図1】本発明の一実施形態における印刷装置の要部構
成を示すブロック図。
FIG. 1 is a block diagram illustrating a main configuration of a printing apparatus according to an embodiment of the present invention.

【図2】図1の印刷装置を構成する印刷処理実行部の詳
細構成図。
FIG. 2 is a detailed configuration diagram of a print processing execution unit included in the printing apparatus of FIG. 1;

【図3】図1の印刷装置を構成する制御部の詳細構成
図。
FIG. 3 is a detailed configuration diagram of a control unit included in the printing apparatus of FIG. 1;

【図4】用紙カセットの状態説明図。FIG. 4 is an explanatory diagram of a state of a paper cassette.

【図5】図1の印刷装置における動作説明図であり、
(a)は用紙センサがONの場合、(b)は用紙センサ
がOFFの場合の例である。
FIG. 5 is an operation explanatory diagram of the printing apparatus in FIG. 1;
(A) is an example when the paper sensor is ON, and (b) is an example when the paper sensor is OFF.

【図6】制御部における処理手順の概要説明図。FIG. 6 is a schematic explanatory diagram of a processing procedure in a control unit.

【図7】制御部における用紙枚数を算出手順を示すフロ
ーチャート。
FIG. 7 is a flowchart showing a procedure for calculating the number of sheets in a control unit.

【図8】制御部における印刷判定処理の手順を示すフロ
ーチャート。
FIG. 8 is a flowchart illustrating a procedure of a print determination process in a control unit.

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

10 印刷装置 13 印刷処理実行部 14 制御部 15 用紙カセット 141 印刷枚数算出部 142 用紙残量算出部 143 印刷制御部 151 用紙センサ REFERENCE SIGNS LIST 10 printing device 13 print processing execution unit 14 control unit 15 paper cassette 141 print sheet number calculation unit 142 remaining paper amount calculation unit 143 print control unit 151 paper sensor

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 複数枚の印刷用紙が収容された用紙カセ
ットと、前記用紙カセットに収容された印刷用紙を用い
てホストから受信した印刷データに基づいて所定の印刷
処理を行う印刷処理実行部と、前記印刷処理実行部にお
ける印刷を制御する制御部と、を有し、 前記制御部が、前記印刷処理実行部における印刷処理に
必要な印刷用紙の枚数を算出する印刷枚数算出部と、前
記用紙カセットに収納された印刷用紙の残量を算出する
用紙残量算出部を備えて、前記印刷枚数算出部と前記用
紙残量算出部との算出結果に基づいて前記印刷処理実行
部における印刷処理が紙切れを起こさずに実行可能か否
かを判定するように構成されていることを特徴とする印
刷装置。
A paper cassette accommodating a plurality of print papers; a print processing execution unit for performing a predetermined print process based on print data received from a host using the print papers accommodated in the paper cassette; A control unit that controls printing in the print processing execution unit, wherein the control unit calculates the number of print sheets required for print processing in the print processing execution unit; A print remaining amount calculation unit configured to calculate a remaining amount of the print paper stored in the cassette, wherein the print processing in the print processing execution unit is performed based on a calculation result of the print number calculation unit and the paper remaining amount calculation unit. A printing apparatus characterized in that it is configured to determine whether or not execution is possible without running out of paper.
【請求項2】 前記制御部は、前記印刷処理実行部にお
ける印刷が紙切れを起こすと判定した場合には、前記用
紙カセットに必要枚数の印刷用紙が供給されるまで前記
印刷処理実行部における印刷処理を中断させることを特
徴とする請求項1記載の印刷装置。
2. The control unit according to claim 1, wherein when the control unit determines that printing in the print processing unit causes the paper to run out, the print processing unit performs a print process until a required number of print sheets are supplied to the paper cassette. 2. The printing apparatus according to claim 1, wherein the printing is interrupted.
【請求項3】 前記用紙残量算出部は、前記用紙カセッ
ト内に収容可能な最大の印刷用紙の枚数から、印刷処理
により使用した印刷用紙の枚数を減じることで、前記用
紙カセットに収容された印刷用紙の残量を算出すること
を特徴とする請求項1または2記載の印刷装置。
3. The paper remaining amount calculating section subtracts the number of printing papers used in a printing process from the maximum number of printing papers that can be stored in the paper cassette to thereby store the number of printing papers stored in the paper cassette. 3. The printing apparatus according to claim 1, wherein the remaining amount of the printing paper is calculated.
【請求項4】 前記用紙カセットは、前記用紙カセット
内の印刷用紙が所定の枚数以下になった場合に動作する
用紙センサをさらに有し、前記用紙センサが動作したと
きには、前記用紙残量算出部は、前記用紙センサの動作
後の印刷処理に使用した枚数を前記所定の枚数から減じ
ることで前記用紙カセットに収納された印刷用紙の残量
を算出することを特徴とする請求項1、2または3記載
の印刷装置。
4. The sheet cassette further includes a sheet sensor that operates when the number of print sheets in the sheet cassette becomes equal to or less than a predetermined number, and the sheet remaining amount calculation unit operates when the sheet sensor operates. 3. The method according to claim 1, further comprising calculating a remaining amount of printing paper stored in the paper cassette by subtracting a number of sheets used for a printing process after the operation of the sheet sensor from the predetermined number. 3. The printing device according to 3.
【請求項5】 前記用紙残量算出部は、前記用紙カセッ
ト内に収納可能な最大の印刷用紙の枚数を、前記用紙カ
セットに印刷用紙を最大枚数収納してから前記用紙カセ
ットに印刷用紙がなくなるまで前記用紙カセットから排
出された印刷用紙の枚数から求めることを特徴とする請
求項3記載の印刷装置。
5. The paper remaining amount calculating unit determines the maximum number of print sheets that can be stored in the paper cassette, and stores the maximum number of print papers in the paper cassette and then runs out of print paper in the paper cassette. 4. The printing apparatus according to claim 3, wherein the value is obtained from the number of print sheets discharged from the sheet cassette.
【請求項6】 前記用紙残量算出部は、前記所定の枚数
を、用紙センサが動作してから前記用紙カセットに印刷
用紙がなくなるまでの前記用紙カセットから排出された
印刷用紙の枚数から求めることを特徴とする請求項4項
記載の印刷装置。
6. The paper remaining amount calculation unit obtains the predetermined number of sheets from the number of printing sheets discharged from the sheet cassette from the time when a sheet sensor is operated until the sheet cassette runs out of printing sheets. The printing apparatus according to claim 4, wherein:
JP00550597A 1997-01-16 1997-01-16 Printing device Expired - Lifetime JP3829385B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00550597A JP3829385B2 (en) 1997-01-16 1997-01-16 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00550597A JP3829385B2 (en) 1997-01-16 1997-01-16 Printing device

Publications (2)

Publication Number Publication Date
JPH10193754A true JPH10193754A (en) 1998-07-28
JP3829385B2 JP3829385B2 (en) 2006-10-04

Family

ID=11613068

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00550597A Expired - Lifetime JP3829385B2 (en) 1997-01-16 1997-01-16 Printing device

Country Status (1)

Country Link
JP (1) JP3829385B2 (en)

Also Published As

Publication number Publication date
JP3829385B2 (en) 2006-10-04

Similar Documents

Publication Publication Date Title
US6714316B1 (en) Image forming apparatus, image forming system, computer-readable record medium stored with image forming program, and image forming method
JP5083609B2 (en) Image forming apparatus, image forming system, and program
JP2000086078A (en) Sheet sorter
JP6608227B2 (en) Image forming apparatus, control method therefor, and computer program
JP2007238305A (en) Image forming device
JPH10217583A (en) Print controlling method, its apparatus and printing system
JPH10193754A (en) Printer
JP2001063188A (en) Device and method for processing image
JP2008304579A (en) Image forming apparatus
US7796910B2 (en) Image forming apparatus with controlling device for suspended print job
JP2002091727A (en) Device, method and system for controlling printing, recording medium and image forming device
KR100581524B1 (en) Operation controlling method of image forming apparatus capable of determining to print depending on developer remainder
JP2007136950A (en) Printer, its control method, and storage medium
JP2003276288A (en) Imaging apparatus and imaging method
JP2004160659A (en) System controller
JP7191713B2 (en) Printer controller, printer control program, and printer
US20150062646A1 (en) Sheet management apparatus, control method of sheet management apparatus, and storage medium
JPH111051A (en) Printing device
JP2001080163A (en) Printing apparatus
JP2005335325A (en) Image forming device
JPH02219134A (en) Data processor
JP5063462B2 (en) Image forming apparatus
JPH06166214A (en) Printer
JP2003303083A (en) Information processor and program which it executes
JP2005212250A (en) Printing control device, and printing device and information processor equipped with the same

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051110

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060123

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060322

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060522

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060620

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060703

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100721

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110721

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110721

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120721

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120721

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130721

Year of fee payment: 7

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term