JPH10305944A - Device and method for controlling output, and storage medium storing readable program by computer - Google Patents

Device and method for controlling output, and storage medium storing readable program by computer

Info

Publication number
JPH10305944A
JPH10305944A JP9116655A JP11665597A JPH10305944A JP H10305944 A JPH10305944 A JP H10305944A JP 9116655 A JP9116655 A JP 9116655A JP 11665597 A JP11665597 A JP 11665597A JP H10305944 A JPH10305944 A JP H10305944A
Authority
JP
Japan
Prior art keywords
recording medium
remaining amount
sheets
detecting
output control
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
JP9116655A
Other languages
Japanese (ja)
Other versions
JP3647201B2 (en
Inventor
Ken Utsunomiya
建 宇都宮
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP11665597A priority Critical patent/JP3647201B2/en
Publication of JPH10305944A publication Critical patent/JPH10305944A/en
Application granted granted Critical
Publication of JP3647201B2 publication Critical patent/JP3647201B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Handling Of Cut Paper (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Controlling Sheets Or Webs (AREA)

Abstract

PROBLEM TO BE SOLVED: To detect the number of residual recording media with excellent accuracy by a simple construction by counting the feed number after the residual level of the recording media to be loaded is detected step by step, and calculating the number of the presently residual recording media from the counted value and the approximate loading number corresponding to the respective residual quantity level value. SOLUTION: The residual quantity level of the recording media to be loaded and stored in an option cassette is detected by a residual quantity detection sensor installed at a plurality of loading positions. The quantitatively approximate number of the recording media to be loaded on the respective loading positions to be detected by the residual quantity detection sensor is stored in a RAM 19 and an external memory 14. The number of the recording media to be fed after the residual quantity detection sensor detects that the detected value is smaller than the residual quantity level on the upper class, is counted by a CPU 12. The residual quantity of the recording media to be fed is calculated by the CPU from the counted number and the quantitatively approximate number stored in the RAM 19 and the external memory 14.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、給紙可能に積載さ
れる記録媒体の残量を検知してその残量情報を外部装置
に通知可能な出力制御装置および出力制御装置の出力制
御方法およびコンピュータが読み出し可能なプログラム
を格納した記憶媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an output control device capable of detecting the remaining amount of a recording medium loaded so as to be capable of feeding paper and notifying the remaining amount information to an external device, and an output control method of the output control device. The present invention relates to a storage medium storing a computer-readable program.

【0002】[0002]

【従来の技術】従来、この種の印刷装置等の出力装置を
制御する出力制御装置で給紙される用紙等の記録媒体の
残量を、例えば段階検知センサによって検知し、該検知
した値をそのまま記録媒体の残量として使用していたた
め、段階検知センサの段階数より細かく検知することは
できなかった。また、段階検知センサが検知した値の誤
差を補正する手段はなかった。
2. Description of the Related Art Conventionally, an output control device for controlling an output device such as this type of printing device detects the remaining amount of a recording medium such as a sheet fed by, for example, a step detection sensor, and detects the detected value. Since it was used as it is as the remaining amount of the recording medium, it was not possible to detect finer than the number of stages of the stage detection sensor. Further, there is no means for correcting an error of the value detected by the step detection sensor.

【0003】[0003]

【発明が解決しようとする課題】従来の出力制御装置は
上記のように構成されているので、給紙可能に残存する
用紙の残量を段階的にしか検知できず、用紙残量を段階
センサの位置レベルの刻みという大雑把な精度でしか検
知できず、すなわち、各段階センサとの間においては、
印刷部の印刷に伴って刻々とその残量が減少しているに
もかかわらず、相前後するセンサが検知可能な値の間で
あることしか検知することができず、残量検知精度が極
めて低いという問題点があった。また、段階センサの数
や、他のセンサにより残量を検知する機構を構成すると
非常に高価な装置となってしまうという問題点もあっ
た。
Since the conventional output control device is constructed as described above, it can only detect the remaining amount of paper remaining to be able to supply paper in a stepwise manner. Can be detected only with the rough accuracy of the position level increment, that is, between each stage sensor,
Despite the fact that the remaining amount is decreasing with the printing of the printing unit, it is only possible to detect that the remaining sensors are between detectable values, and the accuracy of the remaining amount detection is extremely high. There was a problem that it was low. Further, if a mechanism for detecting the number of step sensors or the remaining amount by another sensor is configured, there is a problem that the apparatus becomes very expensive.

【0004】本発明は、上記の問題点を解消するために
なされたもので、本発明の目的は、積載される記録媒体
の残量レベルを段階的に検知するとともに、各残量レベ
ルを検知後の給送枚数をカウントして、各残量レベル値
に対応して記憶される積載概算枚数とから現在の残存す
る記録媒体の枚数を算出することにより、簡単な構成で
残存する記録媒体の枚数を精度よく検知することができ
る出力制御装置および出力制御方法およびコンピュータ
が読み出し可能なプログラムを格納した記憶媒体を提供
することである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to detect a remaining level of a recording medium to be loaded in a stepwise manner and to detect each remaining level. The remaining number of remaining recording media is calculated with a simple configuration by counting the number of subsequent recording media and calculating the current number of remaining recording media from the approximate number of stacked media stored corresponding to each remaining level value. An object of the present invention is to provide an output control device and an output control method capable of accurately detecting the number of sheets and a storage medium storing a computer-readable program.

【0005】[0005]

【課題を解決するための手段】本発明に係る第1の発明
は、所定の通信媒体を介して情報処理装置との通信によ
り受信した出力情報に基づく画像を記録媒体に出力可能
な出力制御装置であって、前記記録媒体を積載収容する
収容手段と、前記収容手段に積載収容される前記記録媒
体の残量レベルを複数の積載位置で検知する検知手段
と、前記検知手段が検知する各積載位置で積載可能な記
録媒体の定量概算枚数値を記憶する記憶手段と、前記検
知手段が検知する上位の残量レベルを下回ることを検知
してから給送される前記記録媒体の枚数を計測する計測
手段と、前記計測手段により計測される枚数と前記記憶
手段により記憶される定量概算枚数値とから給送可能な
前記記録媒体の残量を算出する算出手段とを有するもの
である。
According to a first aspect of the present invention, there is provided an output control apparatus capable of outputting an image based on output information received by communication with an information processing apparatus via a predetermined communication medium to a recording medium. A storage unit for loading and storing the recording medium, a detection unit for detecting a remaining level of the recording medium loaded and stored in the storage unit at a plurality of loading positions, and each of the loadings detected by the detection unit. A storage unit for storing a quantitative estimated number of recording media that can be stacked at a position, and measuring the number of the recording media fed after detecting that the amount of recording media is lower than an upper remaining level detected by the detecting unit. Measuring means; and calculating means for calculating the remaining amount of the recording medium that can be fed from the number of sheets measured by the measuring means and the estimated approximate number of sheets stored by the storage means.

【0006】本発明に係る第2の発明は、前記収容手段
に収容する記録媒体の紙厚種別を指定する指定手段を有
し、前記算出手段が前記計測手段により計測される枚数
と前記記憶手段により紙厚種別毎に記憶される定量概算
枚数値とから給送可能な前記記録媒体の残量を算出する
ものである。
According to a second aspect of the present invention, there is provided a designating means for designating a type of paper thickness of a recording medium accommodated in the accommodating means, wherein the calculating means determines the number of sheets measured by the measuring means and the storage means. Is used to calculate the remaining amount of the recording medium that can be fed from the quantitative estimated number of sheets stored for each paper thickness type.

【0007】本発明に係る第3の発明は、前記検知手段
が検知するいずれかの残量レベルから前記収容手段が記
録媒体切れとなるまで給送される記録媒体の枚数を積算
する積算手段と、前記積算手段により積算された積算値
に基づいて前記記憶手段により記憶される前記定量概算
枚数値を補正する補正手段とを有するものである。
According to a third aspect of the present invention, there is provided an accumulating means for accumulating the number of recording media fed from any of the remaining levels detected by the detecting means until the storage means runs out of the recording medium. Correction means for correcting the quantitatively estimated number of sheets stored in the storage means based on the integrated value integrated by the integration means.

【0008】本発明に係る第4の発明は、前記補正手段
は、前記積算手段が複数回積算した枚数値の平均値に基
づいて前記記憶手段により記憶される前記定量概算枚数
値を補正するものである。
According to a fourth aspect of the present invention, the correction means corrects the quantitative estimated number of sheets stored by the storage means based on an average value of the number of sheets integrated by the integrating means a plurality of times. It is.

【0009】本発明に係る第5の発明は、前記情報処理
装置からの要求に基づいて前記記録媒体の残量情報を転
送する転送手段を有するものである。
A fifth invention according to the present invention has a transfer means for transferring the remaining amount information of the recording medium based on a request from the information processing apparatus.

【0010】本発明に係る第6の発明は、所定の通信媒
体を介して情報処理装置との通信により受信した出力情
報に基づく画像を記録媒体に出力可能な出力制御装置の
出力制御方法であって、記録媒体を積載収容する収容手
段に積載収容される前記記録媒体の残量レベルを複数の
積載位置で検知する検知工程と、該検知する上位の残量
レベルを下回ることを検知してから給送される前記記録
媒体の枚数を計測する計測工程と、該計測される枚数と
記憶される各積載位置で積載可能な記録媒体の定量概算
枚数値とから給送可能な前記記録媒体の残量を算出する
算出工程とを有するものである。
A sixth invention according to the present invention is an output control method for an output control device capable of outputting an image based on output information received by communication with an information processing device via a predetermined communication medium to a recording medium. A detecting step of detecting the remaining level of the recording medium loaded and stored in the storage means for loading and storing the recording medium at a plurality of loading positions; and detecting that the remaining level is lower than the detected upper remaining level. A measuring step of measuring the number of the recording medium to be fed, and the remaining number of the recording medium that can be fed from the measured number and the estimated approximate number of the recording medium that can be loaded at each loading position. And a calculating step of calculating the amount.

【0011】本発明に係る第7の発明は、検知するいず
れかの残量レベルから前記収容手段が記録媒体切れとな
るまで給送される記録媒体の枚数を積算する積算工程
と、該積算された積算値に基づいて記憶される前記定量
概算枚数値を補正する補正工程とを有するものである。
[0011] A seventh invention according to the present invention is directed to an integrating step of integrating the number of recording media fed until the storage means runs out of recording media from any remaining level detected, and And correcting the quantitative estimated number of sheets stored based on the integrated value.

【0012】本発明に係る第8の発明は、前記情報処理
装置からの要求に基づいて前記記録媒体の残量情報を転
送する転送工程を有するものである。
An eighth invention according to the present invention has a transfer step of transferring remaining amount information of the recording medium based on a request from the information processing device.

【0013】本発明に係る第9の発明は、所定の通信媒
体を介して情報処理装置との通信により受信した出力情
報に基づく画像を記録媒体に出力可能な出力装置を制御
するコンピュータが読み出し可能なプログラムを格納し
た記憶媒体であって、記録媒体を積載収容する収容手段
に積載収容される前記記録媒体の残量レベルを複数の積
載位置で検知する検知工程と、該検知する上位の残量レ
ベルを下回ることを検知してから給送される前記記録媒
体の枚数を計測する計測工程と、該計測される枚数と記
憶される各積載位置で積載可能な記録媒体の定量概算枚
数値とから給送可能な前記記録媒体の残量を算出する算
出工程とを含むコンピュータが読み出し可能なプログラ
ムを記憶媒体に格納したものである。
According to a ninth aspect of the present invention, a computer which controls an output device capable of outputting an image based on output information received by communication with an information processing device via a predetermined communication medium to a recording medium is readable. Detecting a remaining level of the recording medium loaded and stored in the storage means for loading and storing the recording medium at a plurality of loading positions; A measuring step of measuring the number of the recording media fed after detecting that the recording medium is below the level, and a quantitative estimated number of recording media that can be loaded at each loading position and the measured number of recording media. A computer-readable program including a calculating step of calculating a remaining amount of the recording medium that can be fed, is stored in a storage medium.

【0014】本発明に係る第10の発明は、検知するい
ずれかの残量レベルから前記収容手段が記録媒体切れと
なるまで給送される記録媒体の枚数を積算する積算工程
と、該積算された積算値に基づいて記憶される前記定量
概算枚数値を補正する補正工程とを含むコンピュータが
読み出し可能なプログラムを記憶媒体に格納したもので
ある。
According to a tenth aspect of the present invention, there is provided an integrating step for integrating the number of recording media fed until the storage means runs out of recording media from any of the remaining levels detected, and And a correcting step for correcting the quantitatively estimated number of sheets stored based on the integrated value.

【0015】本発明に係る第11の発明は、前記情報処
理装置からの要求に基づいて前記記録媒体の残量情報を
転送する転送工程を含むコンピュータが読み出し可能な
プログラムを記憶媒体に格納したものである。
According to an eleventh aspect of the present invention, there is provided a storage medium storing a computer-readable program including a transfer step of transferring remaining amount information of the recording medium based on a request from the information processing apparatus. It is.

【0016】[0016]

【発明の実施の形態】本実施形態の構成を説明する前
に、本実施形態を適用するに好適なレーザビームプリン
タおよびインクジェットプリンタの構成について図1を
参照しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Before describing the configuration of the present embodiment, the configurations of a laser beam printer and an ink jet printer suitable for applying the present embodiment will be described with reference to FIG.

【0017】なお、本実施形態を適用するプリンタは、
レーザビームプリンタおよびインクジェットプリンタに
限られるものではなく、他のプリント方式のプリンタで
も良いことは言うまでもない。
The printer to which this embodiment is applied is as follows.
It is needless to say that the printer is not limited to the laser beam printer and the ink jet printer, but may be a printer of another printing method.

【0018】図1は、本発明を適用可能な出力装置の構
成を示す断面図であり、例えばレーザビームプリンタ
(LBP)の場合を示す。
FIG. 1 is a cross-sectional view showing the configuration of an output device to which the present invention can be applied, for example, in the case of a laser beam printer (LBP).

【0019】図において、1000はLBP本体であ
り、外部に接続されているホストコンピュータから供給
される印刷情報(文字コード等)やフォーム情報あるい
はマクロ命令等を入力して記憶するとともに、それらの
情報にしたがって対応する文字パターンやフォームパタ
ーン等を作成し、記録媒体である記録紙等に像を形成す
る。1012は操作パネルで、操作のためのスイッチお
よびLED表示器等が配されている。
In FIG. 1, reference numeral 1000 denotes an LBP main body, which inputs and stores print information (character codes, etc.), form information, macro instructions, and the like supplied from an externally connected host computer, and stores these information. , A corresponding character pattern, form pattern or the like is created, and an image is formed on a recording medium such as recording paper. Reference numeral 1012 denotes an operation panel on which switches for operation, an LED display, and the like are arranged.

【0020】1001はプリンタ制御ユニットで、LB
P本体1000全体の制御およびホストコンピュータか
ら供給される文字情報等を解析する。このプリンタ制御
ユニット1001は、主に文字情報を対応する文字パタ
ーンのビデオ信号に変換してレーザドライバ1002に
出力する。レーザドライバ1002は半導体レーザ10
03を駆動するための回路であり、入力されたビデオ信
号に応じて半導体レーザ1003から発射されるレーザ
光1004をオン・オフ切り換えする。レーザ光100
4は回転多面鏡1005で左右方向に振らされて静電ド
ラム1006上を走査露光する。
Reference numeral 1001 denotes a printer control unit.
It controls the entire P body 1000 and analyzes character information and the like supplied from the host computer. The printer control unit 1001 mainly converts character information into a video signal of a corresponding character pattern and outputs the video signal to a laser driver 1002. The laser driver 1002 is a semiconductor laser 10
The circuit is a circuit for driving the semiconductor laser 1003, and switches on / off a laser beam 1004 emitted from the semiconductor laser 1003 in accordance with an input video signal. Laser light 100
Reference numeral 4 denotes a rotary polygon mirror 1005 which is swung right and left to scan and expose an electrostatic drum 1006.

【0021】これにより、静電ドラム1006上には文
字パターンの静電潜像が形成されることになる。この潜
像は、静電ドラム1006周囲に配設された現像ユニッ
ト1007により現像された後、記録紙に転写される。
この記録紙にはカットシートを用い、カットシート記録
紙はLBP本体1000に装着した用紙カセット100
8に収納され、給紙ローラ1009および搬送ローラ1
010と搬送ローラ1011とにより、装置内に取り込
まれて、静電ドラム1006に供給される。また、LB
P本体1000には、図示しないカードスロットを少な
くとも1個以上備え、内蔵フォントに加えてオプション
フォントカード,言語系の異なる制御カード(エミュレ
ーションカード)を接続できるように構成されている。
As a result, an electrostatic latent image of a character pattern is formed on the electrostatic drum 1006. This latent image is developed by a developing unit 1007 disposed around the electrostatic drum 1006, and then transferred to a recording sheet.
A cut sheet is used as the recording paper, and the cut sheet recording paper is a paper cassette 100 mounted on the LBP main body 1000.
8 and feed roller 1009 and transport roller 1
010 and the conveying roller 1011 are taken into the apparatus and supplied to the electrostatic drum 1006. Also, LB
The P main body 1000 is provided with at least one or more card slots (not shown) so that an optional font card and a control card (emulation card) having a different language system can be connected in addition to the built-in font.

【0022】なお、用紙カセットは、オプション用紙カ
セットを装着することにより、大量の用紙を給紙可能と
なり、当該オプション用紙カセットには、後述するよう
に収納される用紙の残量を検知するための段階センサが
所定の間隔で設定されているものとする。
The paper cassette is capable of feeding a large amount of paper by mounting an optional paper cassette. The optional paper cassette is used to detect the remaining amount of paper to be stored as described later. It is assumed that the step sensors are set at predetermined intervals.

【0023】〔第1実施形態〕図2は、本発明の第1実
施形態を示す出力制御装置を適用可能なプリンタ制御シ
ステムの構成を説明するブロック図である。ここでは、
レーザビームプリンタ(図1)を例にして説明する。な
お、本発明の機能が実行されるのであれば、単体の機器
であっても、複数の機器からなるシステムであっても、
LAN等のネットワークを介して処理が行われるシステ
ムであっても本発明を適用できることは言うまでもな
い。
[First Embodiment] FIG. 2 is a block diagram illustrating the configuration of a printer control system to which an output control device according to a first embodiment of the present invention can be applied. here,
This will be described by taking a laser beam printer (FIG. 1) as an example. In addition, if the function of the present invention is executed, even if it is a single device or a system including a plurality of devices,
It goes without saying that the present invention can be applied to a system in which processing is performed via a network such as a LAN.

【0024】図において、3000はホストコンピュー
タで、ROM3のプログラム用ROMに記憶された文書
処理プログラム等に基づいて図形,イメージ,文字,表
(表計算等を含む)等が混在した文書処理を実行するC
PU1を備え、システムバス4に接続される各デバイス
をCPU1が総括的に制御する。
In the figure, reference numeral 3000 denotes a host computer which executes document processing in which graphics, images, characters, tables (including spreadsheets, etc.) are mixed based on a document processing program or the like stored in a program ROM of the ROM 3. C
The CPU 1 has a PU 1 and controls each device connected to the system bus 4 as a whole.

【0025】また、このROM3のプログラム用ROM
には、CPU1の制御プログラム等を記憶し、ROM3
のフォント用ROMには上記文書処理の際に使用するフ
ォントデータ等を記憶し、ROM3のデータ用ROMは
上記文書処理等を行う際に使用する各種データを記憶す
る。2はRAMで、CPU1の主メモリ,ワークエリア
等として機能する。
The program ROM of the ROM 3
Stores a control program of the CPU 1 and the like.
The font ROM stores font data and the like used in the document processing, and the data ROM of the ROM 3 stores various data used in the document processing and the like. Reference numeral 2 denotes a RAM, which functions as a main memory, a work area, and the like of the CPU 1.

【0026】5はキーボードコントローラ(KBC)
で、キーボード9や不図示のポインティングデバイスか
らのキー入力を制御する。6はCRTコントローラ(C
RTC)で、CRTディスプレイ(CRT)10の表示
を制御する。7はメモリコントローラ(MC)で、ブー
トプログラム,種々のアプリケーション,フォントデー
タ,ユーザファイル,編集ファイル等を記憶するハード
ディスク(HD),フロッピーディスク(FD)等の外
部メモリ11とのアクセスを制御する。
5 is a keyboard controller (KBC)
Controls the key input from the keyboard 9 or a pointing device (not shown). 6 is a CRT controller (C
RTC) controls the display on a CRT display (CRT) 10. Reference numeral 7 denotes a memory controller (MC) which controls access to an external memory 11 such as a hard disk (HD) or a floppy disk (FD) for storing a boot program, various applications, font data, user files, edit files, and the like.

【0027】8はプリンタコントローラ(PRTC)
で、所定の双方向性インタフェース(インタフェース)
21を介してプリンタ本体1000に接続されて、プリ
ンタ本体1000との通信制御処理を実行する。なお、
CPU1は、たとえばRAM2上に設定された表示情報
RAMへのアウトラインフォントの展開(ラスタライ
ズ)処理を実行し、CRT10上でのWYSIWYGを
可能としている。
Reference numeral 8 denotes a printer controller (PRTC)
A predetermined bidirectional interface (interface)
The communication unit 21 is connected to the printer main body 1000 via the printer 21 and executes communication control processing with the printer main body 1000. In addition,
The CPU 1 executes, for example, a process of developing (rasterizing) the outline font in the display information RAM set on the RAM 2 to enable WYSIWYG on the CRT 10.

【0028】また、CPU1は、CRT10上の不図示
のマウスカーソル等で指示されたコマンドに基づいて登
録された種々のウインドウを開き、種々のデータ処理を
実行する。
The CPU 1 opens various registered windows based on commands specified by a mouse cursor or the like (not shown) on the CRT 10 and executes various data processing.

【0029】プリンタ本体1000において、12はプ
リンタCPUで、ROM13のプログラム用ROMに記
憶された制御プログラム等あるいは外部メモリ14に記
憶された制御プログラム等に基づいてシステムバス15
に接続される各種のデバイスとのアクセスを総括的に制
御し、印刷部インタフェース16を介して接続される印
刷部(プリンタエンジン)17に出力情報としての画像
信号を出力する。また、このROM13のプログラム用
ROMには、図5,8,9,10のフローチャートで示
すようなCPU12の制御プログラム等を記憶する。
In the printer main body 1000, a printer CPU 12 is a system bus 15 based on a control program or the like stored in a program ROM of a ROM 13 or a control program or the like stored in an external memory 14.
, And generally controls access to various devices connected thereto, and outputs an image signal as output information to a printing unit (printer engine) 17 connected via the printing unit interface 16. The program ROM of the ROM 13 stores a control program of the CPU 12 as shown in the flowcharts of FIGS.

【0030】ROM13のフォント用ROMには上記出
力情報を生成する際に使用するフォントデータ等を記憶
し、ROM13のデータ用ROMにはハードディスク等
の外部メモリ14がないプリンタの場合には、ホストコ
ンピュータ上で利用される情報等を記憶している。
The font ROM of the ROM 13 stores font data and the like used for generating the output information. In the case of a printer having no external memory 14 such as a hard disk, the data ROM of the ROM 13 is a host computer. The information used above is stored.

【0031】なお、CPU12は入力部18を介してホ
ストコンピュータとの通信処理が可能となっており、プ
リンタ内の情報等をホストコンピュータ3000に通知
可能に構成されている。
The CPU 12 can communicate with the host computer via the input unit 18 and can notify the host computer 3000 of information in the printer.

【0032】19は前記CPU12の主メモリ,ワーク
エリア等として機能するRAMで、図示しない増設ポー
トに接続されるオプションRAMによりメモリ容量を拡
張することができるように構成されている。なお、RA
M19は、出力情報展開領域,環境データ格納領域,N
VRAM等に用いられる。前述したハードディスク(H
D),ICカード等を含む外部メモリ14は、メモリコ
ントローラ(MC)20によりアクセスを制御される。
Reference numeral 19 denotes a RAM functioning as a main memory, a work area, and the like of the CPU 12, which is configured so that the memory capacity can be expanded by an optional RAM connected to an expansion port (not shown). Note that RA
M19 is an output information development area, environment data storage area, N
Used for VRAM and the like. Hard disk (H
D), the external memory 14 including an IC card and the like is controlled in access by a memory controller (MC) 20.

【0033】外部メモリ14は、オプションとし接続さ
れ、フォントデータ,エミュレーションプログラム,フ
ォームデータ等を記憶する。また、1012は前述した
操作パネルで操作のためのスイッチおよびLED表示器
等が配されている。
The external memory 14 is connected as an option, and stores font data, an emulation program, form data, and the like. Reference numeral 1012 denotes the above-described operation panel on which switches for operation, an LED display, and the like are arranged.

【0034】また、前述した外部メモリは1個に限ら
ず、少なくとも1個以上備え、内蔵フォントに加えてオ
プションフォントカード,言語系の異なるプリンタ制御
言語を解釈するプログラムを格納した外部メモリを複数
接続できるように構成されていてもよい。さらに、図示
しないNVRAMを有し、操作パネル1012からのプ
リンタモード設定情報を記憶するようにしてもよい。
The above-mentioned external memory is not limited to one. At least one external memory is provided, and in addition to built-in fonts, an optional font card and a plurality of external memories storing programs for interpreting printer control languages of different language systems are connected. It may be configured to be able to. Further, an NVRAM (not shown) may be provided to store printer mode setting information from the operation panel 1012.

【0035】図3は、図2に示したホストコンピュータ
上で動作するアプリケーションに基づくプリンタ状態画
面の一例を示す図である。
FIG. 3 is a diagram showing an example of a printer status screen based on an application operating on the host computer shown in FIG.

【0036】図において、3001はプリンタのパネル
のシミュレーション画面であり、シミュレーション画面
3001に表示されている文字列はプリンタの状態を表
している。3002はプリンタの状態を示すプリンタイ
メージであり、エラーが発生した場合等は図や色を変化
させることができる。本アプリケーションはコマンドに
より定期的にプリンタの状態を監視し、プリンタ側の状
態変化を検知すると、シミュレーション画面3001の
表示文字列およびプリンタイメージ3002の状態を変
化させてユーザに視覚的に解りやすく知らせる。
In the figure, reference numeral 3001 denotes a simulation screen of the printer panel, and the character string displayed on the simulation screen 3001 represents the state of the printer. Reference numeral 3002 denotes a printer image indicating the status of the printer. When an error occurs, the image and the color can be changed. This application periodically monitors the status of the printer by a command, and when a change in the status of the printer is detected, changes the character string displayed on the simulation screen 3001 and the status of the printer image 3002 to inform the user visually in a manner that is easy to understand.

【0037】3003は用紙残量を表示する表示部で、
カセット毎に用紙残量を、例えばパーセント表示する。
用紙残量の情報はプリンタにステータス取得コマンドを
送信し、その戻り値としてプリンタ本体1000から用
紙残量情報を受信する。
A display unit 3003 displays the remaining amount of paper.
The remaining amount of paper is displayed, for example, as a percentage for each cassette.
For the information on the remaining amount of paper, a status acquisition command is transmitted to the printer, and the information on the remaining amount of paper is received from the printer main body 1000 as a return value.

【0038】図4は、図2に示したホストコンピュータ
3000側のデータ処理手順の一例を示すフローチャー
トである。なお、(1)〜(9)は各ステップを示す。
FIG. 4 is a flowchart showing an example of a data processing procedure on the host computer 3000 side shown in FIG. Note that (1) to (9) indicate each step.

【0039】アプリケーションが起動されると、まず、
プリンタ本体1000に対してステータス取得コマンド
を送信し、プリンタステータス情報を受信する(1)。
なお、プリンタステータス情報には各カセットの用紙残
量情報も含まれている。
When the application is started, first,
A status acquisition command is transmitted to the printer main body 1000, and printer status information is received (1).
Note that the printer status information also includes information on the amount of remaining paper in each cassette.

【0040】次に、ステップ(1)で得たプリンタステ
ータス情報に基づいて図3に示したプリンタ状態画面の
表示を行う(2)。次に、プリンタステータス取得コマ
ンドを送信する間隔(ポーリング間隔)であるT秒(例
えば10秒)を決定し(3)、T秒が経過するのを待ち
(4)、T秒経過後、プリンタステータス取得コマンド
をプリンタ本体1000に送信し、プリンタからステー
タス情報,用紙残量情報を取得する(5)。
Next, the printer status screen shown in FIG. 3 is displayed based on the printer status information obtained in step (1) (2). Next, T seconds (for example, 10 seconds), which is an interval (polling interval) for transmitting the printer status acquisition command, is determined (3), and the elapse of T seconds is waited (4). An acquisition command is transmitted to the printer main body 1000 to acquire status information and remaining paper information from the printer (5).

【0041】次に、ステップ(5)で取得したプリンタ
ステータスが前回と比較して変化しているかどうかを判
定し(6)、変化していないと判定した場合は、ステッ
プ(8)以降へ進み、変化していると判定した場合に
は、ホストコンピュータ3000のCRT10に表示さ
れるプリンタ状態画面の表示内容を更新する(7)。
Next, it is determined whether the printer status obtained in step (5) has changed compared to the previous time (6). If it is determined that the printer status has not changed, the process proceeds to step (8) and subsequent steps. If it is determined that the status has changed, the display content of the printer status screen displayed on the CRT 10 of the host computer 3000 is updated (7).

【0042】次に、ステップ(5)で取得した用紙残量
情報が前回と比較して変化しているかどうかを判定し
(8)、変化していないと判定した場合には、ステップ
(4)へ戻り、変化していると判定した場合には、ホス
トコンピュータ3000のCRT10に表示される表示
部3003の用紙残量の内容表示を更新し(9)、ステ
ップ(4)へ戻る。
Next, it is determined whether or not the remaining paper amount information obtained in step (5) has changed from the previous time (8). If it is determined that the information has not changed, the process proceeds to step (4). If it is determined that it has changed, the display of the remaining amount of paper on the display unit 3003 displayed on the CRT 10 of the host computer 3000 is updated (9), and the process returns to step (4).

【0043】図5は、本発明に係る出力制御装置の第1
のデータ処理手順の一例を示すフローチャートであり、
プリンタ本体1000の全体的な処理に対応する。な
お、(1)〜(10)は各ステップを示す。
FIG. 5 shows a first embodiment of the output control device according to the present invention.
It is a flowchart showing an example of the data processing procedure,
This corresponds to the overall processing of the printer main body 1000. Note that (1) to (10) indicate each step.

【0044】先ず、データ待ち状態において(1)、ホ
ストからデータが入力されると(2)、入力処理を行
い、データの解析処理を行う(3)。そして、データ解
析の結果、排紙命令かどうかを判定して(4)、排紙命
令であると判定した場合には、印刷イメージを格納した
フレームバッファの内容をビデオ信号に変換し(5)、
印刷部17によって印刷を行い(6)、排紙を行って
(7)、ステップ(1)へ戻る。
First, in the data waiting state (1), when data is input from the host (2), input processing is performed and data analysis processing is performed (3). Then, as a result of the data analysis, it is determined whether or not the command is a discharge command (4). If it is determined that the command is a discharge command, the content of the frame buffer storing the print image is converted into a video signal (5). ,
Printing is performed by the printing unit 17 (6), paper is discharged (7), and the process returns to step (1).

【0045】一方、ステップ(4)で、排紙命令でない
と判定した場合には、命令がプリンタ・ステータス取得
命令(状態取得命令)であるかどうかを判定して
(8)、状態取得命令であると判定した場合には、プリ
ンタ状態情報の送信を行い(9)、ステップ(1)へ戻
る。なお、状態情報には給紙カセット用紙残量情報も含
まれる。
On the other hand, if it is determined in step (4) that the command is not a paper ejection command, it is determined whether the command is a printer status acquisition command (status acquisition command) (8). If it is determined that there is, printer status information is transmitted (9), and the process returns to step (1). The state information also includes information on the remaining amount of paper in the paper cassette.

【0046】一方、ステップ(8)で、状態取得命令で
ないと判定した場合には、取得したコマンドにしたがっ
てRAM19上に描画処理を行い(10)、ステップ
(1)へ戻る。
On the other hand, if it is determined in step (8) that the command is not a status acquisition command, a drawing process is performed on the RAM 19 in accordance with the acquired command (10), and the process returns to step (1).

【0047】以下、図6を参照して、本発明に係る出力
制御装置における段階的残量検知センサのレベル検知状
態に基づく用紙残量計測処理を説明する。
Referring now to FIG. 6, a description will be given of the remaining paper amount measurement processing based on the level detection state of the stepwise remaining amount detection sensor in the output control device according to the present invention.

【0048】図6は、本発明に係る出力制御装置におけ
る段階的残量検知センサのレベル検知状態に基づく用紙
残量計測処理を説明する図であり、(a)は図1に示し
たプリンタ本体1000に装着されるオプションカセッ
ト6000に積載される用紙の残量を検知する残量検知
センサの配置状態に対応し、(b)は図6の(a)に配
置される各残量検知センサの検知出力に基づく検知テー
ブルに対応する。
FIGS. 6A and 6B are diagrams for explaining the remaining paper amount measuring process based on the level detection state of the stepwise remaining amount detection sensor in the output control device according to the present invention, and FIG. 6A shows the printer main body shown in FIG. 6B corresponds to the arrangement state of the remaining amount detection sensors for detecting the remaining amount of sheets loaded on the optional cassette 6000 mounted on the optional cassette 1000. FIG. It corresponds to a detection table based on the detection output.

【0049】図6の(a)において、6002〜600
5は残量検知センサで、所定間隔で配置されており、対
応する位置に用紙が残存して積載される状態でオン状態
となり、用紙が給紙されて各対応位置よりも積載位置が
低下したことを検知するとオフ状態となる。なお、本実
施形態では、残量検知センサ6002〜6005が4つ
の場合を示すが、これ以外の個数であっても本発明を適
用可能である。
In FIG. 6A, 6002 to 600
Reference numeral 5 denotes a remaining amount detection sensor which is arranged at a predetermined interval, and is turned on in a state where sheets are left and stacked at corresponding positions, and sheets are fed and the stacking position is lower than each corresponding position. When this is detected, it is turned off. Although the present embodiment shows a case where the number of remaining amount detection sensors 6002 to 6005 is four, the present invention can be applied to any other number.

【0050】COUTER1〜3はプリンタ制御ユニッ
ト1001内に設けられる図示しないカウンタによるカ
ウント値であって、カウント値COUTER1は、残量
検知センサ6002がオフ状態となってから、残量検知
センサ6005がオフとなるまでに給紙された用紙をカ
ウントした際のカウント値に対応し、カウント値COU
TER2は、残量検知センサ6003がオフ状態となっ
てから、残量検知センサ6005がオフとなるまでに給
紙された用紙をカウントした際のカウント値に対応し、
カウント値COUTER3は、残量検知センサ6004
がオフ状態となってから、残量検知センサ6005がオ
フとなるまでに給紙された用紙をカウントした際のカウ
ント値に対応する。
COUTER1 to COUTER1 are count values by a counter (not shown) provided in the printer control unit 1001. The count value COUTER1 indicates that the remaining amount detection sensor 6005 is turned off after the remaining amount detection sensor 6002 is turned off. The count value COU corresponds to the count value when counting the sheets fed up to
TER2 corresponds to a count value when the number of fed sheets is counted from when the remaining amount detection sensor 6003 is turned off to when the remaining amount detection sensor 6005 is turned off.
The count value COUTER3 is the remaining amount detection sensor 6004
Corresponds to the count value when the number of fed sheets is counted from when the is turned off to when the remaining amount detection sensor 6005 is turned off.

【0051】さらに、OFFSETは用紙残量が一つ上
のしきい値(各センサ位置までに同厚の用紙を積載した
場合の枚数値)を下回ってから給紙された分の枚数値に
対応する。
Further, OFFSET corresponds to the number of sheets fed after the remaining amount of paper falls below the upper threshold (the number of sheets when sheets of the same thickness are stacked up to each sensor position). I do.

【0052】図6の(b)において、6006は残量検
知テーブルで、各残量検知センサ6002〜6005の
ON状態またはOFF状態の組合せから残量段階Nを、
例えば4段階で検知可能となる。
In FIG. 6B, reference numeral 6006 denotes a remaining amount detection table which indicates a remaining amount stage N based on a combination of the ON state or the OFF state of each of the remaining amount detection sensors 6002 to 6005.
For example, detection can be performed in four stages.

【0053】図7は、図2に示したRAM19上に確保
されるしきい値テーブルおよびしきい値補正テーブルの
一例を示す図であり、(a)が用紙の厚み別積載枚数を
示すしきい値テーブル7001に対応し、(b)が実際
に計測された厚み別積載枚数を示すしきい値補正テーブ
ル7002に対応する。
FIG. 7 is a diagram showing an example of the threshold value table and the threshold value correction table secured on the RAM 19 shown in FIG. 2. FIG. (B) corresponds to the threshold value correction table 7002 indicating the actually measured number of stacked sheets by thickness.

【0054】図7の(a)において、紙厚ごとのセンサ
のしきい値テーブル(TABLE1)7001の各しき
い値は、上記各残量検知センサ6002〜6005に誤
差がなければ当該しきい値でオン状態からオフ状態に切
り換わる。なお、本実施形態では、紙厚はカセット毎に
設定できる仕組みになっており、パネル操作によって指
定できる。ユーザはカセットに用紙をセットし直した場
合、セットした用紙の種類(紙厚)に応じてパネル設定
を行う。
In FIG. 7A, each threshold value in the threshold value table (TABLE1) 7001 of the sensor for each paper thickness is determined if there is no error in each of the remaining amount detection sensors 6002 to 6005. Switches from the on state to the off state. In the present embodiment, the paper thickness can be set for each cassette, and can be specified by a panel operation. When the user sets sheets again in the cassette, the user performs panel setting according to the type (sheet thickness) of the set sheets.

【0055】図7の(b)において、しきい値補正テー
ブル(TABLE2)7002の初期値はしきい値テー
ブル7001と同じであるが、カウンタによりカウント
されたカウント値COUNTER1,COUNTER
2,COUNTER3によって実際の枚数(しきい値)
を測定し、しきい値補正テーブル(TABLE2)70
02に設定される。なお、本実施形態では、しきい値補
正テーブル(TABLE2)7002はM×Nの2次元
の配列であり、TABLE[M][N]の形式で表記す
ることとする。
In FIG. 7B, the initial value of the threshold value correction table (TABLE2) 7002 is the same as that of the threshold value table 7001, but the count values COUNTER1 and COUNTER counted by the counters.
2. Actual number of sheets by COUNTER3 (threshold)
Is measured, and a threshold value correction table (TABLE2) 70
02 is set. In the present embodiment, the threshold value correction table (TABLE2) 7002 is an M × N two-dimensional array, and is expressed in TABLE [M] [N] format.

【0056】以下、本実施形態の特徴的構成について図
2,図6,図7等を参照して説明する。
Hereinafter, a characteristic configuration of the present embodiment will be described with reference to FIGS.

【0057】上記のように構成された所定の通信媒体を
介して情報処理装置との通信により受信した出力情報に
基づく画像を記録媒体に出力可能な出力制御装置であっ
て、前記記録媒体を積載収容する収容手段(オプション
カセット6000)と、前記収容手段に積載収容される
前記記録媒体の残量レベルを複数の積載位置で検知する
検知手段(残量検知センサ6002〜6005)と、前
記検知手段が検知する各積載位置で積載可能な記録媒体
の定量概算枚数値(図7の(a)に示すしきい値テーブ
ル7001)を記憶する記憶手段(RAM19,外部メ
モリ,図示しない他のメモリ資源)と、前記検知手段が
検知する上位の残量レベルを下回ることを検知してから
給送される前記記録媒体の枚数を計測する計測手段(C
PU12がROM13に記憶された制御プログラムを実
行してカウントするあるいは専用のハードウエアであっ
てもよい)と、前記計測手段により計測される枚数と前
記記憶手段により記憶される定量概算枚数値とから給送
可能な前記記録媒体の残量を算出する算出手段(CPU
12がROM13に記憶された制御プログラムを実行し
て算出するあるいは専用のハードウエアであってもよ
い)とを有するので、簡単な構成で検知可能な残量レベ
ル間で残存する記録媒体の残量を精度よく検知すること
ができる。
An output control device capable of outputting an image based on output information received by communication with the information processing device via the predetermined communication medium configured as described above to a recording medium, wherein the recording medium is loaded. Accommodation means (optional cassette 6000) for accommodating, detection means (remaining amount detection sensors 6002 to 6005) for detecting the remaining level of the recording medium loaded in the accommodation means at a plurality of loading positions, and the detection means (RAM 19, external memory, other memory resources not shown) for storing the quantitatively estimated number of recording media (threshold value table 7001 shown in FIG. 7A) that can be loaded at each loading position detected by the printer. Measuring means (C) for measuring the number of sheets of the recording medium fed after detecting that the level is below the upper remaining level detected by the detecting means.
The PU 12 may execute a control program stored in the ROM 13 and count, or may be dedicated hardware), and determine the number of sheets measured by the measuring unit and the quantitative estimated number of sheets stored by the storage unit. Calculating means (CPU) for calculating the remaining amount of the printable recording medium
12 may be calculated by executing a control program stored in the ROM 13 or may be dedicated hardware), so that the remaining amount of the recording medium remaining between the remaining amount levels that can be detected with a simple configuration Can be accurately detected.

【0058】また、オプションカセット6000に収容
する記録媒体の紙厚種別を指定する指定手段(操作パネ
ル1012からのパネル入力に基づく指定あるいはホス
トコンピュータ3000からのコマンド指定)を有し、
前記算出手段が前記計測手段により計測される枚数と前
記記憶手段により紙厚種別毎に記憶される定量概算枚数
値とから給送可能な前記記録媒体の残量を算出するの
で、同一の収容手段に異なる紙厚の記録媒体が積載され
た場合でも、簡単な構成で検知可能な残量レベル間で残
存する記録媒体の残量を精度よく検知することができ
る。
Further, there is provided designation means (designation based on panel input from the operation panel 1012 or designation from the host computer 3000) for designating the paper thickness type of the recording medium accommodated in the optional cassette 6000.
Since the calculating means calculates the remaining amount of the recordable media from the number of sheets measured by the measuring means and the quantitative estimated number of sheets stored for each paper thickness type by the storage means, the same storing means Even when recording media having different thicknesses are stacked, the remaining amount of the recording medium remaining between the detectable remaining levels can be accurately detected with a simple configuration.

【0059】さらに、前記検知手段が検知するいずれか
の残量レベルから前記収容手段が記録媒体切れとなるま
で給送される記録媒体の枚数を積算する積算手段(CP
U12がROM13に記憶された制御プログラムを実行
して積算するあるいは専用のハードウエアであってもよ
い)と、前記積算手段により積算された積算値に基づい
て前記記憶手段により記憶される前記定量概算枚数値
(図7の(b)に示す補正テーブル7002として)を
補正する補正手段(CPU12がROM13に記憶され
た制御プログラムを実行して補正する)とを有するの
で、記録媒体の厚みにばらつきが生じても定量概算枚数
値を実測した枚数値から最適な値に補正でき、簡単な構
成で検知可能な残量レベル間で残存する記録媒体の残量
をより精度よく検知することができる。
Further, an accumulating means (CP) for accumulating the number of recording media fed from one of the remaining levels detected by the detecting means until the storage means runs out of the recording medium.
U12 may execute a control program stored in the ROM 13 to perform integration or may be dedicated hardware), and the quantitative estimation stored by the storage unit based on the integrated value integrated by the integration unit. Since there is provided a correcting means (the CPU 12 executes the control program stored in the ROM 13 to correct the number of sheets (as the correction table 7002 shown in FIG. 7B)), the thickness of the recording medium varies. Even if it occurs, the quantitative estimated number of sheets can be corrected from the actually measured number of sheets to the optimum value, and the remaining amount of the recording medium remaining between the detectable remaining amount levels can be detected more accurately with a simple configuration.

【0060】また、CPU12は、複数回積算した枚数
値の平均値に基づいてRAM19により記憶される前記
定量概算枚数値を補正するので、記録媒体の厚みのばら
つきに起因して実測した枚数値が変動しても、定量概算
枚数値を実測した枚数値の平均値から最適な値に補正で
き、簡単な構成で検知可能な残量レベル間で残存する記
録媒体の残量をより精度よく検知することができる。
Further, the CPU 12 corrects the quantitatively estimated number of sheets stored in the RAM 19 based on the average value of the number of sheets integrated a plurality of times. Even if it fluctuates, the quantitative estimated number of sheets can be corrected from the average of the actually measured number of sheets to the optimum value, and the remaining amount of the recording medium remaining between the remaining amount levels that can be detected with a simple configuration can be detected more accurately. be able to.

【0061】さらに、ホストコンピュータ3000から
の要求に基づいて前記記録媒体の残量情報を転送する転
送手段(CPU12の指示に基づいて入力部18が転送
処理する)を有するので、検知可能な残量レベル間にあ
る記録媒体の残量をも情報処理装置に通知することがで
きる。
Further, since there is provided a transfer means for transferring the remaining amount information of the recording medium in response to a request from the host computer 3000 (the input unit 18 performs a transfer process based on an instruction from the CPU 12), the detectable remaining amount is provided. The information processing device can also be notified of the remaining amount of the recording medium between the levels.

【0062】図8は、本発明に係る出力制御装置の第2
のデータ処理手順の一例を示すフローチャートであり、
図2に示したプリンタ本体1000の給紙処理手順に対
応する。なお、(1)〜(13)は各ステップを示す。
FIG. 8 shows a second embodiment of the output control device according to the present invention.
It is a flowchart showing an example of the data processing procedure,
This corresponds to the paper feed processing procedure of the printer main body 1000 shown in FIG. Note that (1) to (13) indicate each step.

【0063】先ず、現在選択されているカセットを調べ
る(1)。以下は選択されているカセットに対する処理
である。
First, the currently selected cassette is checked (1). The following is the process for the selected cassette.

【0064】次に、設定されている紙厚モードを調べる
(2)。紙厚はカセット毎に設定できる仕組みになって
おり、パネル操作によって指定できる。そして、ユーザ
はカセットに用紙をセットし直した場合、セットした用
紙の種類(紙厚)に応じてパネル設定を行う。紙厚に応
じて紙厚種別指定値Mに対応する種別の値(1〜3のい
ずれか)を設定する。Mの値は図7に示したしきい値補
正テーブル7002に示されるように、薄紙の場合
「1」,普通紙の場合「2」,厚紙の場合「3」が設定
されるものとする。
Next, the set paper thickness mode is checked (2). The paper thickness can be set for each cassette, and can be specified by a panel operation. Then, when the user sets the paper in the cassette again, the user sets the panel according to the type (paper thickness) of the set paper. A type value (one of 1 to 3) corresponding to the paper thickness type designation value M is set according to the paper thickness. As shown in the threshold value correction table 7002 shown in FIG. 7, the value of M is set to “1” for thin paper, “2” for plain paper, and “3” for thick paper.

【0065】次に、カセットに用紙がある(残量検知セ
ンサ6005がON状態)かどうかを判定して(3)、
残量検知センサ6005がOFF状態であると判定した
場合には、ステップ(12)へ進み、用紙なし状態を示
すメッセージを操作パネル1012のパネルに表示し、
補正テーブルの更新処理を行い(13)、処理を終了す
る。なお、補正テーブルの更新処理は後述する図10に
おいて詳述する。
Next, it is determined whether or not there is paper in the cassette (the remaining amount detection sensor 6005 is in the ON state) (3).
If it is determined that the remaining amount detection sensor 6005 is in the OFF state, the process proceeds to step (12), where a message indicating a paper-out state is displayed on the operation panel 1012,
An update process of the correction table is performed (13), and the process ends. The process of updating the correction table will be described later in detail with reference to FIG.

【0066】一方、ステップ(3)において、残量検知
センサ6005がON状態であると判定した場合には、
オプションカセット6001から用紙を1枚給紙し
(4)、枚数値OFFSET(図6の(a)参照)およ
び全カウント値COUNTERをインクリメントする
(5),(6)。
On the other hand, if it is determined in step (3) that the remaining amount detection sensor 6005 is in the ON state,
One sheet is fed from the optional cassette 6001 (4), and the number OFFSET (see FIG. 6A) and the total count value COUNTER are incremented (5), (6).

【0067】次に、残量検知センサ6002〜6005
の値を調べ(7)、センサの値に応じて図6の(b)に
示したテーブルから残量段階Nの値を決定する。次に、
しきい値補正テーブル7002から現在のM,Nに対応
する領域(TABLE[M][N])から値を読み込
み、その値を「BASE」とする(8)。
Next, the remaining amount detecting sensors 6002 to 6005
(7), and the value of the remaining amount stage N is determined from the table shown in FIG. 6B according to the value of the sensor. next,
A value is read from the area (TABLE [M] [N]) corresponding to the current M and N from the threshold value correction table 7002, and the value is set to “BASE” (8).

【0068】本実施形態ではホストコンピュータ300
0からプリンタステータス取得コマンドが送られてきた
場合、値BASE+枚数値OFFSETの値を用紙残量
情報として返す。
In this embodiment, the host computer 300
When the printer status acquisition command is sent from 0, the value of the value BASE + the number of sheets OFFSET is returned as the remaining paper amount information.

【0069】次に、残量検知センサ6002〜6005
の値を調べ、各センサの値が変化しているかどうかを判
定し(9)、NOならば処理を終了し、YESならば、
枚数値OFFSETを「0」にリセットし(10)、対
応するフラグ(後述するフラグFLAG1〜3)をセッ
トして(11)、処理を終了する。なお、本実施形態に
おいて、例えばRAM19上に確保される各フラグは電
源立ち上げ時に「0」に初期化されているものとする。
また、上記ステップ(11)においてフラグFLAGを
セットする処理は、図9を参照して詳述する。
Next, the remaining amount detecting sensors 6002 to 6005
Is checked to determine whether the value of each sensor has changed (9). If NO, the process ends. If YES, the process ends.
The number of sheets OFFSET is reset to "0" (10), the corresponding flags (flags FLAG1 to FLAG3 described later) are set (11), and the process ends. In the present embodiment, it is assumed that, for example, each flag secured on the RAM 19 is initialized to “0” when the power is turned on.
The process of setting the flag FLAG in the step (11) will be described in detail with reference to FIG.

【0070】さらに、本実施形態において、用紙なしに
なる前にカセットが引き抜かれた場合は、枚数値OFF
SETおよびカウント値COUNTER,フラグFLA
Gの値はリセットされる。
Further, in this embodiment, if the cassette is pulled out before the paper is exhausted, the number of sheets becomes OFF.
SET, count value COUNTER, flag FLA
The value of G is reset.

【0071】図9は、本発明に係る出力制御装置の第3
のデータ処理手順の一例を示すフローチャートであり、
図8に示したステップ(11)のフラグをセットする処
理に対応する。なお、(1)〜(6)は各ステップを示
す。
FIG. 9 shows a third embodiment of the output control apparatus according to the present invention.
It is a flowchart showing an example of the data processing procedure,
This corresponds to the process of setting the flag in step (11) shown in FIG. Note that (1) to (6) indicate each step.

【0072】先ず、残量検知センサ(センサ1)600
2がON状態かどうかを判定し(1)、NOならばステ
ップ(3)以降へ進み、YESならばフラグFLAG1
をON状態に設定にする(2)。
First, the remaining amount detection sensor (sensor 1) 600
It is determined whether or not 2 is ON (1). If NO, the process proceeds to step (3) and the following steps.
Is set to the ON state (2).

【0073】次に、残量検知センサ(センサ2)600
3がON状態かどうかを判定し(3)、NOならばステ
ップ(5)以降へ進み、YESならばフラグFLAG2
をON状態に設定にする(4)。
Next, the remaining amount detecting sensor (sensor 2) 600
It is determined whether or not 3 is ON (3). If NO, the process proceeds to step (5). If YES, the flag FLAG2 is determined.
Is set to the ON state (4).

【0074】次に、残量検知センサ(センサ3)600
4がON状態かどうかを判定し(5)、NOならば処理
を終了し、YESならばフラグFLAG3をON状態に
設定して(6)、処理を終了する。
Next, the remaining amount detection sensor (sensor 3) 600
It is determined whether or not 4 is ON (5). If NO, the process is terminated. If YES, the flag FLAG3 is set to ON (6), and the process is terminated.

【0075】図10は、本発明に係る出力制御装置の第
4のデータ処理手順の一例を示すフローチャートであ
り、図8に示したステップ(13)の補正テーブル更新
処理手順に対応する。なお、(1)〜(7)は各ステッ
プを示す。
FIG. 10 is a flowchart showing an example of the fourth data processing procedure of the output control device according to the present invention, and corresponds to the correction table updating processing procedure of step (13) shown in FIG. Note that (1) to (7) indicate each step.

【0076】先ず、紙厚モードを調べ紙厚種別指定値M
の値を決定する(1)。紙厚種別指定値Mの値は図7に
示した補正テーブル7002に示されるように、薄紙の
場合「1」,普通紙の場合「2」,厚紙の場合「3」と
する。
First, the paper thickness mode is checked to determine the paper thickness type designation value M.
Is determined (1). As shown in the correction table 7002 shown in FIG. 7, the value of the paper thickness type designation value M is “1” for thin paper, “2” for plain paper, and “3” for thick paper.

【0077】次に、フラグFLAG1がON状態である
かどうかを判定して(2)、NO(FLAG1がOFF
である場合)ならばステップ(4)以降へ進み、YES
ならば補正テーブル7200のTABLE2[M]
[2]をカウント値COUNTER1の値に更新する
(3)。
Next, it is determined whether or not the flag FLAG1 is ON (2), and if NO (FLAG1 is OFF)
), Proceed to step (4) and thereafter, YES
Then, TABLE2 [M] of the correction table 7200
[2] is updated to the value of the count value COUNTER1 (3).

【0078】次に、フラグFLAG2がON状態である
かどうかを判定して(4)、NO(FLAG2がOFF
である場合)ならばステップ(6)以降へ進み、YES
ならば補正テーブル7200のTABLE2[M]
[3]をカウント値COUNTER2の値に更新する
(5)。
Next, it is determined whether or not the flag FLAG2 is ON (4), and if NO (FLAG2 is OFF)
), Proceed to step (6) and subsequent steps, and YES
Then, TABLE2 [M] of the correction table 7200
[3] is updated to the value of the count value COUNTER2 (5).

【0079】次に、フラグFLAG3がON状態である
かどうかを判定して(6)、NO(FLAG3がOFF
である場合)ならば、処理を終了し、YESならば補正
テーブル7200のTABLE2[M][4]をカウン
ト値COUNTER3の値に更新して(7)、処理を終
了する。
Next, it is determined whether or not the flag FLAG3 is ON (6), and if NO (FLAG3 is OFF)
), The process is terminated, and if YES, TABLE2 [M] [4] in the correction table 7200 is updated to the value of the count value COUNTER3 (7), and the process is terminated.

【0080】なお、本実施形態では、TABLE2
[M][1]の値は補正できないものとする。また、ホ
ストコンピュータ3000からプリンタステータス取得
コマンドが送られてきた場合、値BASE+枚数値OF
FSETの値を用紙残量情報として返すものとする。
In this embodiment, TABLE2
The value of [M] [1] cannot be corrected. When a printer status acquisition command is sent from the host computer 3000, the value BASE + the number of sheets OF
The value of FSET is returned as paper remaining amount information.

【0081】以下、本実施形態の特徴的構成について各
フローチャートを参照して説明する。
Hereinafter, the characteristic configuration of the present embodiment will be described with reference to each flowchart.

【0082】上記のように構成された所定の通信媒体を
介して情報処理装置との通信により受信した出力情報に
基づく画像を記録媒体に出力可能な出力制御装置の出力
制御方法であって、あるいは所定の通信媒体を介して情
報処理装置との通信により受信した出力情報に基づく画
像を記録媒体に出力可能な出力装置を制御するコンピュ
ータが読み出し可能なプログラムを格納した記憶媒体で
あって、記録媒体を積載収容する収容手段(オプション
カセット6000)に積載収容される前記記録媒体の残
量レベルを複数の積載位置で検知する検知工程(図9の
ステップ(1)〜(6))と、該検知する上位の残量レ
ベルを下回ることを検知してから給送される前記記録媒
体の枚数を計測する計測工程(図8のステップ(5))
と、該計測される枚数と記憶される各積載位置で積載可
能な記録媒体の定量概算枚数値とから給送可能な前記記
録媒体の残量を算出する算出工程(図8のステップ
(8))とを有するので、簡単な構成で検知可能な残量
レベル間で残存する記録媒体の残量を精度よく検知する
ことができる。
An output control method of an output control device capable of outputting an image based on output information received by communication with an information processing device via a predetermined communication medium configured as described above to a recording medium, or A storage medium storing a computer-readable program for controlling an output device capable of outputting an image based on output information received by communication with an information processing device via a predetermined communication medium to a storage medium, the storage medium comprising: (Steps (1) to (6) in FIG. 9) for detecting at a plurality of loading positions the remaining level of the recording medium loaded and stored in the storage means (optional cassette 6000) for loading and storing (Step (5) in FIG. 8) The measuring step of measuring the number of recording media fed after detecting that the recording medium is below the upper remaining level.
A calculating step of calculating the remaining amount of the recording medium that can be fed from the measured number of sheets and the estimated approximate number of recording medium sheets that can be loaded at each loading position (step (8) in FIG. 8) ), It is possible to accurately detect the remaining amount of the recording medium remaining between the detectable remaining levels with a simple configuration.

【0083】また、検知するいずれかの残量レベルから
前記収容手段が記録媒体切れとなるまで給送される記録
媒体の枚数を積算する積算工程(図8のステップ
(6))と、該積算された積算値に基づいて記憶される
前記定量概算枚数値を補正する補正工程(図10のステ
ップ(1)〜(7))とを有するので、記録媒体の厚み
にばらつきが生じても定量概算枚数値を実測した枚数値
から最適な値に補正でき、簡単な構成で検知可能な残量
レベル間で残存する記録媒体の残量をより精度よく検知
することができる。
Further, an integrating step (step (6) in FIG. 8) for integrating the number of recording media fed until the storage means runs out of recording media from any of the remaining levels detected. And a correcting step (steps (1) to (7) in FIG. 10) for correcting the quantitatively estimated number of sheets stored based on the integrated value thus calculated. The number of sheets can be corrected to the optimum value from the actually measured number of sheets, and the remaining amount of the recording medium remaining between the detectable remaining levels can be detected more accurately with a simple configuration.

【0084】さらに、前記情報処理装置からの要求に基
づいて前記記録媒体の残量情報を転送する転送工程(図
5のステップ(9))を有するので、検知可能な残量レ
ベル間にある記録媒体の残量をも情報処理装置に通知す
ることができる。
Further, since there is a transfer step (step (9) in FIG. 5) for transferring the remaining amount information of the recording medium based on a request from the information processing device, the recording level between the detectable remaining amount levels is provided. The information processing device can also be notified of the remaining amount of the medium.

【0085】〔第2実施形態〕本実施形態では、ホスト
からプリンタに送信するプリンタステータス取得コマン
ドは印字データと同じ論理チャネルでやり取りする場合
について説明したが、複数の論理チャネルを持つインタ
フェースにおいて別のチャネルを使用してやり取りする
ように構成しても良い。
[Second Embodiment] In the present embodiment, a case has been described in which the printer status acquisition command transmitted from the host to the printer is exchanged on the same logical channel as the print data. You may comprise so that it may exchange using a channel.

【0086】また、プリンタのインタフェース部はプリ
ンタ内蔵のインタフェースに限らず、プリンタ本体に脱
着可能なインタフェースボードの場合も同様である。
The interface section of the printer is not limited to the interface built into the printer, but the same applies to an interface board that can be attached to and detached from the printer.

【0087】〔第3実施形態〕上記実施形態では補正テ
ーブルの更新は単にカウント値COUNTERの値を記
憶する場合について説明したが、複数回の計測結果の平
均を取って記憶するように構成してもよい。
[Third Embodiment] In the above embodiment, the case where the correction table is updated merely by storing the value of the count value COUNTER has been described. However, the configuration is such that the average of a plurality of measurement results is stored. Is also good.

【0088】以下、図11に示すメモリマップを参照し
て本発明に係る出力制御装置で読み出し可能なデータ処
理プログラムの構成について説明する。
Hereinafter, the configuration of a data processing program readable by the output control device according to the present invention will be described with reference to a memory map shown in FIG.

【0089】図11は、本発明に係る出力制御装置で読
み出し可能な各種データ処理プログラムを格納する記憶
媒体のメモリマップを説明する図である。
FIG. 11 is a diagram for explaining a memory map of a storage medium for storing various data processing programs readable by the output control device according to the present invention.

【0090】なお、特に図示しないが、記憶媒体に記憶
されるプログラム群を管理する情報、例えばバージョン
情報,作成者等も記憶され、かつ、プログラム読み出し
側のOS等に依存する情報、例えばプログラムを識別表
示するアイコン等も記憶される場合もある。
Although not shown, information for managing a group of programs stored in the storage medium, for example, version information, a creator, etc. are also stored, and information dependent on the OS or the like on the program reading side, for example, a program is stored in the storage medium. An icon or the like for identification display may also be stored.

【0091】さらに、各種プログラムに従属するデータ
も上記ディレクトリに管理されている。また、各種プロ
グラムをコンピュータにインストールするためのプログ
ラムや、インストールするプログラムが圧縮されている
場合に、解凍するプログラム等も記憶される場合もあ
る。
Further, data dependent on various programs is also managed in the directory. In addition, a program for installing various programs on a computer or a program for decompressing a program to be installed when the program to be installed is compressed may be stored.

【0092】本実施形態における図4,図5,図8,図
9,図10に示す機能が外部からインストールされるプ
ログラムによって、ホストコンピュータにより遂行され
ていてもよい。そして、その場合、CD−ROMやフラ
ッシュメモリやFD等の記憶媒体により、あるいはネッ
トワークを介して外部の記憶媒体から、プログラムを含
む情報群を出力制御装置に供給される場合でも本発明は
適用されるものである。
The functions shown in FIG. 4, FIG. 5, FIG. 8, FIG. 9, and FIG. 10 in this embodiment may be executed by a host computer by a program installed from the outside. In this case, the present invention is applicable even when a group of information including a program is supplied to the output control device from a storage medium such as a CD-ROM, a flash memory, or an FD, or from an external storage medium via a network. Things.

【0093】以上のように、前述した実施形態の機能を
実現するソフトウエアのプログラムコードを記録した記
憶媒体を、システムあるいは装置に供給し、そのシステ
ムあるいは装置のコンピュータ(またはCPUやMP
U)が記憶媒体に格納されたプログラムコードを読出し
実行することによっても、本発明の目的が達成されるこ
とは言うまでもない。
As described above, the storage medium storing the program codes of the software for realizing the functions of the above-described embodiments is supplied to the system or the apparatus, and the computer (or CPU or MP) of the system or the apparatus is supplied.
It goes without saying that the object of the present invention is also achieved when U) reads and executes the program code stored in the storage medium.

【0094】この場合、記憶媒体から読み出されたプロ
グラムコード自体が本発明の新規な機能を実現すること
になり、そのプログラムコードを記憶した記憶媒体は本
発明を構成することになる。
In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.

【0095】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピーディスク,ハードディ
スク,光ディスク,光磁気ディスク,CD−ROM,C
D−R,磁気テープ,不揮発性のメモリカード,RO
M,EEPROM等を用いることができる。
Examples of a storage medium for supplying the program code include a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, and C
DR, magnetic tape, nonvolatile memory card, RO
M, EEPROM and the like can be used.

【0096】また、コンピュータが読み出したプログラ
ムコードを実行することにより、前述した実施形態の機
能が実現されるだけでなく、そのプログラムコードの指
示に基づき、コンピュータ上で稼働しているOS(オペ
レーティングシステム)等が実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれることは言うまでもない。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) And the like perform part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0097】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張ボー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書き込まれた後、そのプログラムコードの指
示に基づき、その機能拡張ボードや機能拡張ユニットに
備わるCPU等が実際の処理の一部または全部を行い、
その処理によって前述した実施形態の機能が実現される
場合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instruction of the program code, The CPU provided in the function expansion board or function expansion unit performs part or all of the actual processing,
It goes without saying that a case where the function of the above-described embodiment is realized by the processing is also included.

【0098】[0098]

【発明の効果】以上説明したように、本発明に係る第1
の発明によれば、所定の通信媒体を介して情報処理装置
との通信により受信した出力情報に基づく画像を記録媒
体に出力可能な出力制御装置であって、前記記録媒体を
積載収容する収容手段と、前記収容手段に積載収容され
る前記記録媒体の残量レベルを複数の積載位置で検知す
る検知手段と、前記検知手段が検知する各積載位置で積
載可能な記録媒体の定量概算枚数値を記憶する記憶手段
と、前記検知手段が検知する上位の残量レベルを下回る
ことを検知してから給送される前記記録媒体の枚数を計
測する計測手段と、前記計測手段により計測される枚数
と前記記憶手段により記憶される定量概算枚数値とから
給送可能な前記記録媒体の残量を算出する算出手段とを
有するので、簡単な構成で検知可能な残量レベル間で残
存する記録媒体の残量を精度よく検知することができ
る。
As described above, the first embodiment according to the present invention is described.
According to the invention, there is provided an output control device capable of outputting an image based on output information received by communication with an information processing device via a predetermined communication medium to a recording medium, wherein the accommodation means for loading and accommodating the recording medium Detecting means for detecting the remaining level of the recording medium loaded and stored in the storing means at a plurality of loading positions; and a quantitatively estimated number of recording media that can be loaded at each of the loading positions detected by the detecting means. Storage means for storing, measuring means for measuring the number of the recording medium fed after detecting that it is below the upper remaining level detected by the detecting means, and the number measured by the measuring means Calculating means for calculating the remaining amount of the recording medium that can be fed from the quantitatively estimated number of sheets stored by the storage means, and the remaining amount of the recording medium remaining between detectable remaining levels with a simple configuration. It can be detected amount accurately.

【0099】第2の発明によれば、前記収容手段に収容
する記録媒体の紙厚種別を指定する指定手段を有し、前
記算出手段が前記計測手段により計測される枚数と前記
記憶手段により紙厚種別毎に記憶される定量概算枚数値
とから給送可能な前記記録媒体の残量を算出するので、
同一の収容手段に異なる紙厚の記録媒体が積載された場
合でも、簡単な構成で検知可能な残量レベル間で残存す
る記録媒体の残量を精度よく検知することができる。
According to the second aspect of the present invention, there is provided a designating means for designating the type of paper thickness of the recording medium contained in the containing means. Since the remaining amount of the feedable recording medium is calculated from the quantitative estimated number of sheets value stored for each thickness type,
Even when recording media having different thicknesses are stacked in the same storage unit, the remaining amount of the recording medium remaining between the detectable remaining levels can be accurately detected with a simple configuration.

【0100】第3の発明によれば、前記検知手段が検知
するいずれかの残量レベルから前記収容手段が記録媒体
切れとなるまで給送される記録媒体の枚数を積算する積
算手段と、前記積算手段により積算された積算値に基づ
いて前記記憶手段により記憶される前記定量概算枚数値
を補正する補正手段とを有するので、記録媒体の厚みに
ばらつきが生じても定量概算枚数値を実測した枚数値か
ら最適な値に補正でき、簡単な構成で検知可能な残量レ
ベル間で残存する記録媒体の残量をより精度よく検知す
ることができる。
According to the third aspect of the present invention, the integrating means for integrating the number of recording media fed until the storage means runs out of the recording medium from any remaining level detected by the detecting means, Correction means for correcting the quantitative estimated number of sheets stored by the storage means based on the integrated value integrated by the integrating means, so that the quantitative estimated number of sheets was actually measured even if the thickness of the recording medium varied. The number of sheets can be corrected to an optimum value, and the remaining amount of the recording medium remaining between the detectable remaining levels can be more accurately detected with a simple configuration.

【0101】第4の発明によれば、前記補正手段は、前
記積算手段が複数回積算した枚数値の平均値に基づいて
前記記憶手段により記憶される前記定量概算枚数値を補
正するので、記録媒体の厚みのばらつきに起因して実測
した枚数値が変動しても、定量概算枚数値を実測した枚
数値の平均値から最適な値に補正でき、簡単な構成で検
知可能な残量レベル間で残存する記録媒体の残量をより
精度よく検知することができる。
According to the fourth aspect, the correction means corrects the quantitative estimated number of sheets stored in the storage means based on the average value of the number of sheets integrated by the integrating means a plurality of times. Even if the actually measured number of sheets fluctuates due to variations in the thickness of the medium, the quantitatively estimated number of sheets can be corrected from the average of the actually measured number of sheets to the optimal value, and the remaining amount level can be detected with a simple configuration. Can detect the remaining amount of the remaining recording medium with higher accuracy.

【0102】第5の発明によれば、前記情報処理装置か
らの要求に基づいて前記記録媒体の残量情報を転送する
転送手段を有するので、検知可能な残量レベル間にある
記録媒体の残量をも情報処理装置に通知することができ
る。
According to the fifth aspect of the present invention, since the transfer means for transferring the remaining amount information of the recording medium based on a request from the information processing apparatus is provided, the remaining amount of the recording medium between the detectable remaining level is provided. The amount can also be notified to the information processing apparatus.

【0103】第6,第9の発明によれば、所定の通信媒
体を介して情報処理装置との通信により受信した出力情
報に基づく画像を記録媒体に出力可能な出力制御装置の
出力制御方法であって、あるいは所定の通信媒体を介し
て情報処理装置との通信により受信した出力情報に基づ
く画像を記録媒体に出力可能な出力装置を制御するコン
ピュータが読み出し可能なプログラムを格納した記憶媒
体であって、記録媒体を積載収容する収容手段に積載収
容される前記記録媒体の残量レベルを複数の積載位置で
検知する検知工程と、該検知する上位の残量レベルを下
回ることを検知してから給送される前記記録媒体の枚数
を計測する計測工程と、該計測される枚数と記憶される
各積載位置で積載可能な記録媒体の定量概算枚数値とか
ら給送可能な前記記録媒体の残量を算出する算出工程と
を有するので、簡単な構成で検知可能な残量レベル間で
残存する記録媒体の残量を精度よく検知することができ
る。
According to the sixth and ninth aspects, an output control method of an output control device capable of outputting an image based on output information received by communication with an information processing device via a predetermined communication medium to a recording medium is provided. Or a storage medium storing a computer readable program for controlling an output device capable of outputting an image based on output information received by communication with an information processing device via a predetermined communication medium to a recording medium. A detecting step of detecting the remaining level of the recording medium loaded and stored in the storage means for loading and storing the recording medium at a plurality of loading positions; and detecting that the remaining level is lower than the detected upper remaining level. A measuring step of measuring the number of the recording medium to be fed, and the amount of the recording medium that can be fed from the measured number of sheets and the quantitatively estimated number of recording media that can be loaded at each loading position stored. Because and a calculation step of calculating the remaining amount of the recording medium, the remaining amount of the recording medium can be detected accurately remaining between detectable remaining amount level with a simple configuration.

【0104】第7,第10の発明によれば、検知するい
ずれかの残量レベルから前記収容手段が記録媒体切れと
なるまで給送される記録媒体の枚数を積算する積算工程
と、該積算された積算値に基づいて記憶される前記定量
概算枚数値を補正する補正工程とを有するので、記録媒
体の厚みにばらつきが生じても定量概算枚数値を実測し
た枚数値から最適な値に補正でき、簡単な構成で検知可
能な残量レベル間で残存する記録媒体の残量をより精度
よく検知することができる。
According to the seventh and tenth aspects of the present invention, an integrating step of integrating the number of recording media fed until the storage means runs out of recording media from one of the remaining levels to be detected; A correction step of correcting the quantitatively estimated number of sheets stored based on the integrated value thus obtained, so that even if the thickness of the recording medium varies, the quantitatively estimated number of sheets is corrected from the actually measured number of sheets to an optimum value. This makes it possible to more accurately detect the remaining amount of the recording medium remaining between the detectable remaining levels with a simple configuration.

【0105】第8,第11の発明によれば、前記情報処
理装置からの要求に基づいて前記記録媒体の残量情報を
転送する転送工程を有するので、検知可能な残量レベル
間にある記録媒体の残量をも情報処理装置に通知するこ
とができる。
According to the eighth and eleventh aspects of the present invention, since there is provided a transfer step of transferring the remaining amount information of the recording medium based on a request from the information processing apparatus, the recording level between the detectable remaining level can be obtained. The information processing device can also be notified of the remaining amount of the medium.

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

【図1】本発明を適用可能な出力装置の構成を示す断面
図である。
FIG. 1 is a cross-sectional view illustrating a configuration of an output device to which the present invention can be applied.

【図2】本発明の第1実施形態を示す出力制御装置を適
用可能なプリンタ制御システムの構成を説明するブロッ
ク図である。
FIG. 2 is a block diagram illustrating a configuration of a printer control system to which the output control device according to the first embodiment of the present invention can be applied.

【図3】図2に示したホストコンピュータ上で動作する
アプリケーションに基づくプリンタ状態画面の一例を示
す図である。
FIG. 3 is a diagram illustrating an example of a printer status screen based on an application operating on the host computer illustrated in FIG. 2;

【図4】図2に示したホストコンピュータ側のデータ処
理手順の一例を示すフローチャートである。
FIG. 4 is a flowchart illustrating an example of a data processing procedure on the host computer side illustrated in FIG. 2;

【図5】本発明に係る出力装置の第1のデータ処理手順
の一例を示すフローチャートである。
FIG. 5 is a flowchart illustrating an example of a first data processing procedure of the output device according to the present invention.

【図6】本発明に係る出力装置における段階的残量検知
センサのレベル検知状態に基づく用紙残量計測処理を説
明する図である。
FIG. 6 is a diagram illustrating a sheet remaining amount measurement process based on a level detection state of a stepwise remaining amount detection sensor in the output device according to the present invention.

【図7】図2に示したRAM上に確保されるしきい値テ
ーブルおよびしきい値補正テーブルの一例を示す図であ
る。
FIG. 7 is a diagram showing an example of a threshold value table and a threshold value correction table secured on a RAM shown in FIG. 2;

【図8】本発明に係る出力制御装置の第2のデータ処理
手順の一例を示すフローチャートである。
FIG. 8 is a flowchart illustrating an example of a second data processing procedure of the output control device according to the present invention.

【図9】本発明に係る出力制御装置の第3のデータ処理
手順の一例を示すフローチャートである。
FIG. 9 is a flowchart illustrating an example of a third data processing procedure of the output control device according to the present invention.

【図10】本発明に係る出力制御装置の第4のデータ処
理手順の一例を示すフローチャートである。
FIG. 10 is a flowchart illustrating an example of a fourth data processing procedure of the output control device according to the present invention.

【図11】本発明に係る出力制御装置で読み出し可能な
各種データ処理プログラムを格納する記憶媒体のメモリ
マップを説明する図である。
FIG. 11 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by the output control device according to the present invention.

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

1 CPU 2 RAM 12 CPU 13 ROM 19 RAM 1000 プリンタ本体 3000 ホストコンピュータ 1 CPU 2 RAM 12 CPU 13 ROM 19 RAM 1000 Printer main body 3000 Host computer

フロントページの続き (51)Int.Cl.6 識別記号 FI G03G 21/00 396 G03G 21/00 392 Continued on the front page (51) Int.Cl. 6 Identification code FI G03G 21/00 396 G03G 21/00 392

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 所定の通信媒体を介して情報処理装置と
の通信により受信した出力情報に基づく画像を記録媒体
に出力可能な出力制御装置であって、 前記記録媒体を積載収容する収容手段と、 前記収容手段に積載収容される前記記録媒体の残量レベ
ルを複数の積載位置で検知する検知手段と、 前記検知手段が検知する各積載位置で積載可能な記録媒
体の定量概算枚数値を記憶する記憶手段と、 前記検知手段が検知する上位の残量レベルを下回ること
を検知してから給送される前記記録媒体の枚数を計測す
る計測手段と、 前記計測手段により計測される枚数と前記記憶手段によ
り記憶される定量概算枚数値とから給送可能な前記記録
媒体の残量を算出する算出手段と、を有することを特徴
とする出力制御装置。
1. An output control device capable of outputting an image based on output information received by communication with an information processing device via a predetermined communication medium to a recording medium, comprising: an accommodation unit for loading and accommodating the recording medium; Detecting means for detecting the remaining level of the recording medium loaded and stored in the storing means at a plurality of loading positions; and storing a quantitative estimated number of recording media that can be loaded at each of the loading positions detected by the detecting means. Storage means for measuring, a measuring means for measuring the number of the recording medium fed after detecting that it is below the upper remaining amount level detected by the detecting means, a number measured by the measuring means, Calculating means for calculating the remaining amount of the recording medium that can be fed from the quantitatively estimated number of sheets stored in the storage means.
【請求項2】 前記収容手段に収容する記録媒体の紙厚
種別を指定する指定手段を有し、 前記算出手段が前記計測手段により計測される枚数と前
記記憶手段により紙厚種別毎に記憶される定量概算枚数
値とから給送可能な前記記録媒体の残量を算出すること
を特徴とする請求項1記載の出力制御装置。
2. A printing apparatus comprising: a designating means for designating a paper thickness type of a recording medium stored in the storage means, wherein the calculating means stores the number of sheets measured by the measuring means and the storage means for each paper thickness type. 2. The output control device according to claim 1, wherein a remaining amount of the feedable recording medium is calculated from the quantitative estimated number of sheets.
【請求項3】 前記検知手段が検知するいずれかの残量
レベルから前記収容手段が記録媒体切れとなるまで給送
される記録媒体の枚数を積算する積算手段と、 前記積算手段により積算された積算値に基づいて前記記
憶手段により記憶される前記定量概算枚数値を補正する
補正手段と、を有することを特徴とする請求項1記載の
出力制御装置。
3. An accumulating means for accumulating the number of recording media fed from the remaining level detected by said detecting means until the storage means runs out of recording media; 2. The output control device according to claim 1, further comprising: a correction unit configured to correct the quantitatively estimated number of sheets stored in the storage unit based on the integrated value.
【請求項4】 前記補正手段は、前記積算手段が複数回
積算した枚数値の平均値に基づいて前記記憶手段により
記憶される前記定量概算枚数値を補正することを特徴と
する請求項3記載の出力制御装置。
4. The apparatus according to claim 3, wherein the correction unit corrects the quantitative estimated number of sheets stored by the storage unit based on an average value of the number of sheets integrated by the integrating unit a plurality of times. Output control device.
【請求項5】 前記情報処理装置からの要求に基づいて
前記記録媒体の残量情報を転送する転送手段を有するこ
とを特徴とする請求項1記載の出力制御装置。
5. The output control device according to claim 1, further comprising a transfer unit that transfers remaining amount information of the recording medium based on a request from the information processing device.
【請求項6】 所定の通信媒体を介して情報処理装置と
の通信により受信した出力情報に基づく画像を記録媒体
に出力可能な出力制御装置の出力制御方法であって、 記録媒体を積載収容する収容手段に積載収容される前記
記録媒体の残量レベルを複数の積載位置で検知する検知
工程と、 該検知する上位の残量レベルを下回ることを検知してか
ら給送される前記記録媒体の枚数を計測する計測工程
と、 該計測される枚数と記憶される各積載位置で積載可能な
記録媒体の定量概算枚数値とから給送可能な前記記録媒
体の残量を算出する算出工程と、を有することを特徴と
する出力制御装置の出力制御方法。
6. An output control method of an output control device capable of outputting an image based on output information received by communication with an information processing device via a predetermined communication medium to a recording medium, wherein the recording medium is loaded and accommodated. A detecting step of detecting the remaining level of the recording medium loaded and stored in the storing means at a plurality of loading positions; and detecting that the recording medium is fed after detecting that the level is lower than the detected upper remaining level. A measuring step of measuring the number of sheets, a calculating step of calculating the remaining amount of the recording medium that can be fed from the measured number of sheets and a quantitatively estimated number of sheets of the recording medium that can be stacked at each loading position, An output control method for an output control device, comprising:
【請求項7】 検知するいずれかの残量レベルから前記
収容手段が記録媒体切れとなるまで給送される記録媒体
の枚数を積算する積算工程と、 該積算された積算値に基づいて記憶される前記定量概算
枚数値を補正する補正工程と、を有することを特徴とす
る請求項6記載の出力制御装置の出力制御方法。
7. An integration step of integrating the number of recording media fed until the storage means runs out of recording media from any of the remaining amount levels detected, and storing based on the integrated value. 7. An output control method for an output control device according to claim 6, further comprising a correction step of correcting the quantitative estimated number of sheets.
【請求項8】 前記情報処理装置からの要求に基づいて
前記記録媒体の残量情報を転送する転送工程を有するこ
とを特徴とする請求項6記載の出力制御装置の出力制御
方法。
8. The output control method according to claim 6, further comprising a transfer step of transferring remaining amount information of the recording medium based on a request from the information processing device.
【請求項9】 所定の通信媒体を介して情報処理装置と
の通信により受信した出力情報に基づく画像を記録媒体
に出力可能な出力装置を制御するコンピュータが読み出
し可能なプログラムを格納した記憶媒体であって、 記録媒体を積載収容する収容手段に積載収容される前記
記録媒体の残量レベルを複数の積載位置で検知する検知
工程と、 該検知する上位の残量レベルを下回ることを検知してか
ら給送される前記記録媒体の枚数を計測する計測工程
と、 該計測される枚数と記憶される各積載位置で積載可能な
記録媒体の定量概算枚数値とから給送可能な前記記録媒
体の残量を算出する算出工程とを含むことを特徴とする
コンピュータが読み出し可能なプログラムを格納した記
憶媒体。
9. A storage medium storing a computer-readable program for controlling an output device capable of outputting an image based on output information received by communication with an information processing device via a predetermined communication medium to a recording medium. A detecting step of detecting at a plurality of loading positions the remaining level of the recording medium loaded and stored in the storage means for loading and storing the recording medium; and detecting that the level is lower than the detected upper remaining level. A measuring step of measuring the number of the recording media fed from the storage medium; and a quantitative estimated number of the recording media that can be loaded at each loading position and the measured number of the recording media that can be fed from the recording medium. A storage medium storing a computer-readable program, comprising a calculating step of calculating a remaining amount.
【請求項10】 検知するいずれかの残量レベルから前
記収容手段が記録媒体切れとなるまで給送される記録媒
体の枚数を積算する積算工程と、 該積算された積算値に基づいて記憶される前記定量概算
枚数値を補正する補正工程と、を含むことを特徴とする
請求項9記載のコンピュータが読み出し可能なプログラ
ムを格納した記憶媒体。
10. An accumulating step of accumulating the number of recording media fed until the storage means runs out of recording media from any remaining amount level detected, and storing the accumulated number based on the accumulated value. 10. A storage medium storing a computer-readable program according to claim 9, further comprising: a correction step of correcting the quantitatively estimated number of sheets.
【請求項11】 前記情報処理装置からの要求に基づい
て前記記録媒体の残量情報を転送する転送工程を含むこ
とを特徴とする請求項9記載のコンピュータが読み出し
可能なプログラムを格納した記憶媒体。
11. The storage medium storing a computer-readable program according to claim 9, further comprising a transfer step of transferring remaining amount information of the storage medium based on a request from the information processing apparatus. .
JP11665597A 1997-05-07 1997-05-07 Output control device, output control method of output control device, and storage medium Expired - Fee Related JP3647201B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11665597A JP3647201B2 (en) 1997-05-07 1997-05-07 Output control device, output control method of output control device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11665597A JP3647201B2 (en) 1997-05-07 1997-05-07 Output control device, output control method of output control device, and storage medium

Publications (2)

Publication Number Publication Date
JPH10305944A true JPH10305944A (en) 1998-11-17
JP3647201B2 JP3647201B2 (en) 2005-05-11

Family

ID=14692619

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11665597A Expired - Fee Related JP3647201B2 (en) 1997-05-07 1997-05-07 Output control device, output control method of output control device, and storage medium

Country Status (1)

Country Link
JP (1) JP3647201B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011008329A (en) * 2009-06-23 2011-01-13 Brother Industries Ltd Administration device and computer program
JP2014018974A (en) * 2012-07-12 2014-02-03 Fuji Xerox Co Ltd Image forming apparatus and program
USD753585S1 (en) 2014-05-08 2016-04-12 Esselte Ipr Ab Battery module for a printer
US9333777B2 (en) 2013-07-16 2016-05-10 Esselte Ipr Ab Label printer
USD775274S1 (en) 2014-05-08 2016-12-27 Esselte Ipr Ab Printer
JP2020111025A (en) * 2019-01-16 2020-07-27 京セラドキュメントソリューションズ株式会社 Image forming device
CN113299002A (en) * 2020-04-29 2021-08-24 深圳怡化电脑股份有限公司 Method and device for adjusting medium bearing assembly

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011008329A (en) * 2009-06-23 2011-01-13 Brother Industries Ltd Administration device and computer program
JP2014018974A (en) * 2012-07-12 2014-02-03 Fuji Xerox Co Ltd Image forming apparatus and program
US9333777B2 (en) 2013-07-16 2016-05-10 Esselte Ipr Ab Label printer
US9333776B2 (en) 2013-07-16 2016-05-10 Esselte Ipr Ab Cartridge for label printer
USD753585S1 (en) 2014-05-08 2016-04-12 Esselte Ipr Ab Battery module for a printer
USD775274S1 (en) 2014-05-08 2016-12-27 Esselte Ipr Ab Printer
JP2020111025A (en) * 2019-01-16 2020-07-27 京セラドキュメントソリューションズ株式会社 Image forming device
CN113299002A (en) * 2020-04-29 2021-08-24 深圳怡化电脑股份有限公司 Method and device for adjusting medium bearing assembly

Also Published As

Publication number Publication date
JP3647201B2 (en) 2005-05-11

Similar Documents

Publication Publication Date Title
US6995858B2 (en) Printing apparatus using recording material cartridge with non-volatile memory
US6280105B1 (en) Printing system and printing control method
US7280245B2 (en) Data processing apparatus adaptable to plural environments and data processing method
JP3287787B2 (en) Output control method and device
JPH1199722A (en) Apparatus and method for controlling printing, and storage medium
JPH09251361A (en) Information processor, information processing method, printing system and memory
JPH1063146A (en) Image forming device, its controller, and its control method
JP3647201B2 (en) Output control device, output control method of output control device, and storage medium
JP2002189391A (en) Printer, printing system and calibration method
JPH11134140A (en) Data processor and print controller, data processing method of data processor and of printing controller, and storage medium for computer-readable program
JP2000099291A (en) Print controller, data processing method for the same and storage medium storing computer readable program
JP2000280579A (en) Printing control apparatus and data-processing apparatus and method for controlling printing and method for displaying printer information and memory medium storing computer readable program
JPH11327381A (en) Printing system having history function
JPH10187380A (en) Device for controlling printing and method therefor and storage medium for storing program readable by computer
JPH10315590A (en) Printing control device, printing control method, and storage medium storing computer readable program
JP3610194B2 (en) Print control apparatus, print control method, and storage medium storing computer-readable program
US6629155B1 (en) Data input/output method and apparatus and storage medium
JP4323617B2 (en) Print control apparatus, information processing apparatus, print control method, information processing method, and storage medium storing computer-readable program
JP2001038986A (en) Apparatus and method for controlling printing and memory medium with computer readable program stored thereon
JP2000035859A (en) Data processor, data processing method for data processor and storage medium storing program which computer can read
JP2000177925A (en) Output device, and method to control output device
JPH10181159A (en) Apparatus and method for print control and recording medium storing program capable of being read with computer
JP2000112677A (en) Communication controller, method for processing data of communication controller and storage medium in which program readable by computer is stored
JPH1063445A (en) Output device and information processor, data processing method for output device and information processor and storage medium storing program which can be read by computer
JPH1055104A (en) Printer, printing control method of the same and storage medium for storing program which can be read by computer

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040803

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041004

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: 20050118

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050208

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: 20080218

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090218

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100218

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100218

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110218

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120218

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees