JPH0584987A - Printer - Google Patents

Printer

Info

Publication number
JPH0584987A
JPH0584987A JP3249049A JP24904991A JPH0584987A JP H0584987 A JPH0584987 A JP H0584987A JP 3249049 A JP3249049 A JP 3249049A JP 24904991 A JP24904991 A JP 24904991A JP H0584987 A JPH0584987 A JP H0584987A
Authority
JP
Japan
Prior art keywords
data
printer
memory
input buffer
host machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3249049A
Other languages
Japanese (ja)
Inventor
Yoshinari Inoue
宜也 井上
Akira Hosoya
顕 細谷
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP3249049A priority Critical patent/JPH0584987A/en
Publication of JPH0584987A publication Critical patent/JPH0584987A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To indicate the status of progress of a processing, the capacity/rate of idle memories, or a printable amount when data is transmitted to a printer from a host device to be printed. CONSTITUTION:Data received from a host machine 15 is accumulated in an input buffer of a RAM 11. At this time, bytes of the data are counted by a CPU 9 and held by a counter. The accumulated amount of the data is found by an input pointer and an output pointer of the input buffer in which the data is accumulated. A numeric value obtained by a calculation in the CPU 9 based on these values is indicated on an LCD display of a control panel 18 by an arbitrary unit.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ホスト装置よりデータ
の転送を受ける端末装置特にプリンタに関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a terminal device, especially a printer, which receives data from a host device.

【0002】[0002]

【従来の技術】従来、ホスト装置からプリンタへデータ
を転送し印字する際、転送するデータ量(ファイルサイ
ズ)が大きい場合転送と印刷に時間がかかる。このよう
な時、ユーザは転送が終りホスト装置が解放されるまで
あるいは印刷が終るまで待たねばならず、ユーザとして
は、現在どれだけ転送が終ったかあるいは後どれだけ残
っているかが気になる。
2. Description of the Related Art Conventionally, when data is transferred from a host device to a printer for printing, if the amount of data to be transferred (file size) is large, it takes time to transfer and print. In such a case, the user has to wait until the transfer is completed and the host device is released or the printing is completed, and the user is concerned about how much the transfer is currently completed or how much is left.

【0003】[0003]

【発明が解決しようとする課題】従来のホスト装置のア
プリケーション中には、どれだけ転送したかあるいはど
れだけ残っているかを表示するものもあるが、プリンタ
側では送られてくるデータファイル量は転送が終了しな
いとわからず、また送られてくるデータの内容によって
処理時間が変わってくるが、従来の表示ではこの点につ
いて考慮されていないという問題があった。また、これ
までのプリンタは、プリンタが搭載するメモリ容量につ
いてサマリーシート等でテストプリント上に印字されて
オペレータは知ることができる。しかしながら、メモリ
容量を数字で表示されても実際に何文字またはどのくら
いの大きさのイメージを印刷できるかは、実際に印字し
てみないとわからず、また印字途中ではあとどの程度メ
モリが残っているのかもわからないという問題もあっ
た。本発明は上記従来の問題を解決するものであり、ホ
スト装置からプリンタヘデータを転送して印刷する際、
転送終了あるいは印刷終了までの表示、あるいはあとど
のくらい印字可能かを文字数またはイメージの大きさに
換算して表示するプリンタを実現することを目的とする
ものである。
Some conventional applications of the host device display how much has been transferred or how much remains, but on the printer side the amount of data files sent is transferred. The processing time varies depending on the contents of the sent data, but there is a problem that this point is not taken into consideration in the conventional display. Further, in the conventional printers, the operator can know the memory capacity of the printers by printing the test sheets on a summary sheet or the like. However, it is not possible to know how many characters or how large an image can actually be printed even if the memory capacity is displayed as numbers, and how much memory is left during printing. There was also the problem that I didn't know if I was there. The present invention solves the above-mentioned conventional problems, and when transferring data from a host device to a printer and printing,
It is an object of the present invention to realize a printer that displays until the end of transfer or printing, or displays the remaining printability after converting it into the number of characters or the size of an image.

【0004】[0004]

【課題を解決するための手段】本発明は上記目的を達成
するために、プリンタには次のいずれかの手段あるいは
両方の手段を持たせたものである。 (1)ホスト装置から転送されたデータを受けとり処理す
る際、受けとったデータのバイド数の表示、あるいは受
けとったデータを蓄積するインプットバッファにおい
て、インプットバッファ内の未処理データまたは空き容
量のバイト数の表示、インプットバッファの最大容量を
100%としたインプットバッファ内の未処理データまた
は空き容量の割合の表示、ホストマシンからのデータが
テキストモードの時ファイルとファイルの区切りを検知
し、1つの処理および未処理のデータの量・率の表示の
4種類が可能で、このうち一つを選択して表示する。
According to the present invention, in order to achieve the above object, a printer is provided with either one or both of the following means. (1) When receiving and processing the data transferred from the host device, display the number of bytes of the received data, or in the input buffer that stores the received data, display the number of bytes of unprocessed data or free space in the input buffer. Display, maximum input buffer capacity
Display the percentage of unprocessed data or free space in the input buffer as 100%. When the data from the host machine is in the text mode, the delimiter between files is detected, and the amount and rate of one processed and unprocessed data. 4 types of display are possible, and one of them is selected and displayed.

【0005】(2)プリンタが持つ内部メモリの残量を算
出する手段を用いて、これから印字しようとするまたは
印字しているページに対し、あとどのくらい印字可能か
を文字数またはイメージの大きさに換算してホスト装置
に知らせるか、またはメモリ残量を表示手段に表示す
る。
(2) Using the means for calculating the remaining amount of internal memory of the printer, convert the number of characters or the size of the image that can be printed for the page to be printed or the page being printed. Then, the host device is notified or the remaining memory amount is displayed on the display means.

【0006】[0006]

【作用】したがって本発明によれば、次の作用を有す
る。 (1)ホスト装置からプリンタヘデータを転送し印刷する
際、ホスト装置とプリンタがどれくらい処理が進んだか
がわかり、転送・印刷処理時間の予測が可能になる。 (2)メモリ空き容量を文字数やイメージの大きさでわか
り易く知ることができ、無駄なプリントをせず効率のよ
いプリントを実現できる。また、リアルタイムでメモリ
の使用状況を把握できる。
Therefore, according to the present invention, the following effects are provided. (1) When data is transferred from the host device to the printer and printed, it is possible to know how much processing has progressed between the host device and the printer, and it is possible to predict the transfer / print processing time. (2) The free memory capacity can be easily understood by the number of characters and the size of the image, and efficient printing can be realized without wasteful printing. Also, the memory usage status can be grasped in real time.

【0007】[0007]

【実施例】図1は本発明の第1の実施例におけるプリン
タコントローラの全体の構成を示すものである。図1に
おいて、1はプリンタコントローラであって、ホストイ
ンタフェース2,カートリッジインタフェース3,IC
カードインタフェース4,コントロールパネルインタフ
ェース5,データ制御部6,アドレス制御部7,タイマ
8,CPU9,ROM10,RAM11,ビデオ制御部12お
よびエンジンインタフェース13からなる。なお、ホスト
インタフェース2,カートリッジインタフェース3およ
びICインタフェース4はそれぞれ複数個設けることも
可能であり、カートリッジインタフェース3とICカー
ドインタフェース4は必要がなければ省略してもよい。
この実施例では、ホストインタフェース2は4個、カー
トリッジインタフェース3は1個、ICカードインタフ
ェース4は1個設けられているものとする。CPU9は
汎用16ビットまたは32ビットの処理装置でプリンタコン
トローラ1全体を統括制御する。ROM10はプログラム
メモリであり、CPU9を制御するためのマイクロコー
ドを格納するとともに、直接ハードウエアを制御するソ
フトウエアとして、(a)ホストインタフェースハンド
ラ、(b)プリンタエンジンハンドラ、(c)コントロールパ
ネルハンドラと、さらに、各プリンタソフトウエアに関
係なく共通に使用できるソフトウエアとして、(d)診断
プログラム、(e)テストプログラム、(f)サービスプログ
ラムを格納する。なお、プリンタソフトウエアはICカ
ード17に格納されており、必要な時にRAM11にロード
されるが、最初からROM10に標準のプリンタソフトウ
エアを格納しておくこともできる。また、フォントもこ
のROM10に搭載されている。RAM11は主としてイン
プットバッファ,ページバッファ,ビデオバッファ,シ
ステムメモリ,フォントファイル,バックアップバッフ
ァ,ベクトルファイル,マクロファイル,イメージファ
イルおよびプリントスプーラファイルに用いられる大容
量のメモリである。ホストインタフェース2は、様々な
ホストマシン15に合わせてパラレルインタフェース,シ
リアルインタフェースおよびローカルエリアネットワー
ク(LAN)インタフェースを選択することができる。コ
ントロールパネルインタフェース5は、コントロールパ
ネル18と接続するシリアルインタフェースである。タイ
マ8はシステムタイマであり、エンジンインタフェース
13およびホストインタフェース2等のタイムアウト制御
にも使用される。データ制御部6はRAM11上のページ
バッファのデータに基づき、ビデオバッファを作成して
いく場合に使用される。また、アドレス制御部7は、ペ
ージバッファのデータに基づいてビデオバッファにビデ
オデータを作る場合のダイレクトメモリアクセス(DM
A)アドレスと、ビデオバッファに作られたビデオデー
タをビデオクロック(WCLK)に同期させて順次出力し
ていくためのビデオアドレスと、RAM11のリフレッシ
ュを制御するリフレッシュアドレスカウンタを必要に応
じて切り替えて出力するための制御を行う。ビデオ制御
部12は、RAM11上のビデオバッファに作られたビデオ
データが、CPUの処理単位(例えば、32ビットなら32
ビット)ずつ読み出されたパラレルビデオデータをシリ
アルビデオデータに変換してプリンタエンジンユニット
14に出力する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows the overall construction of a printer controller according to a first embodiment of the present invention. In FIG. 1, a printer controller 1 includes a host interface 2, a cartridge interface 3, and an IC.
It comprises a card interface 4, a control panel interface 5, a data control unit 6, an address control unit 7, a timer 8, a CPU 9, a ROM 10, a RAM 11, a video control unit 12 and an engine interface 13. It is also possible to provide a plurality of host interfaces 2, cartridge interfaces 3 and IC interfaces 4, and the cartridge interfaces 3 and IC card interfaces 4 may be omitted if not necessary.
In this embodiment, it is assumed that four host interfaces 2 are provided, one cartridge interface 3 is provided, and one IC card interface 4 is provided. The CPU 9 is a general-purpose 16-bit or 32-bit processing device that controls the printer controller 1 as a whole. The ROM 10 is a program memory, which stores microcode for controlling the CPU 9 and is software for directly controlling hardware (a) host interface handler, (b) printer engine handler, (c) control panel handler. Further, (d) diagnostic program, (e) test program, and (f) service program are stored as software that can be commonly used regardless of the printer software. The printer software is stored in the IC card 17 and loaded into the RAM 11 when necessary, but standard printer software can be stored in the ROM 10 from the beginning. Also, fonts are installed in this ROM 10. The RAM 11 is a large-capacity memory mainly used for an input buffer, page buffer, video buffer, system memory, font file, backup buffer, vector file, macro file, image file and print spooler file. The host interface 2 can select a parallel interface, a serial interface, or a local area network (LAN) interface according to various host machines 15. The control panel interface 5 is a serial interface connected to the control panel 18. Timer 8 is a system timer, engine interface
It is also used for timeout control of 13 and host interface 2. The data control unit 6 is used when creating a video buffer based on the data in the page buffer on the RAM 11. Also, the address control unit 7 uses the direct memory access (DM) when creating video data in the video buffer based on the data in the page buffer.
A) The address, the video address for sequentially outputting the video data created in the video buffer in synchronization with the video clock (WCLK), and the refresh address counter for controlling the refresh of the RAM 11 are switched as necessary. Performs control for output. The video control unit 12 processes the video data created in the video buffer on the RAM 11 by the CPU processing unit (for example, 32 bits if 32 bits).
Printer engine unit by converting the parallel video data read out bit by bit to serial video data
Output to 14.

【0008】以上のような構成を持つプリンタコントロ
ーラ1において、ホストマシン15からホストインフェー
ス2を介して取り込まれたデータはRAM11のインプッ
トバッファに一旦蓄積される。これらインプットバッフ
ァに蓄積されたデータを蓄積された順に取り出し印刷処
理を行っていくわけであるが、ホストマシン15からのデ
ータを蓄積するインプットバッファの入力ポインタと、
インプットバッファからデータを取り出す処理をする時
のインプットバッファ出力ポインタより、インプットバ
ッファに蓄積されている有効なデータ量がわかる。イン
プットバッファは、ロータリー式に設定・管理されてい
るバッファで、入力ポインタがインプットバッファの最
後にくると、処理が終り空きになったインプットバッフ
ァの先端に入力ポインタを更新する。ホストマシン15か
ら受けとったデータのバイド数は、ホストインタフェー
ス2からインプットバッファに入力したデータ数をカウ
ントすれば求められる(以下、これをカウントする物と
して入力データカウンタという)。インプットバッファ
のデータ数は、(イ)データ数=入力ポインタ−出力ポイ
ンタ、また、出力ポインタが入力ポインタより大きい時
は、(ロ)データ数=インプットバッファの容量−(出力
ポインタ−入力ポインタ)で求められ、このデータ数を
もとに、以下の数値を求めることができる。(ハ)インプ
ットバッファ内の未処理データ=データ数、(ニ)インプ
ットバッファの空容量=インプットバッファの容量−デ
ータ数、(ホ)インプットバッファ内の未処理データ率=
データ数/インプットバッファの容量、(ヘ)インプット
バッファの空容量率=インプットバッファの空容量/イ
ンプットバッファの容量。ホストインタフェース2から
インプットバッファにデータを入力する際、エンド・オ
フ・ファイル(EOF)コードをチェックし、このEOF
コードにより、ホストマシンがプリンタに転送する一つ
のデータファイル(ジョブ)の区切りとすれば、EOFコ
ードを検知するまでの入力データカウンタ値でプリンタ
が受け取ったデータファイルのサイズがわかる。このデ
ータファイルサイズと、上記インプットバッファ内の未
処理データ数により、一つのデータファイルに対する未
処理データの量および率が求められる。(ト)ファイルサ
イズに対する処理データ量=入力データカウンタ−イン
プットバッファ内の未処理データ、(チ)ファイルサイズ
に対する処理データ率=ファイルサイズに対する処理デ
ータ量/入力データカウンタ、(リ)ファイルサイズに対
する未処理データ量=入力データカウンターファイルサ
イズに対する処理データ量、(ヌ)ファイルサイズに対す
る未処理データ率=ファイルサイズに対する未処理デー
タ量/入力データカウンタ。次に、上記で求めた数値の
表示手段について説明する。図2は図1のコントロール
パネル18の外観図の一例である。このコントロールパネ
ル18の液晶表示(LCD)ディスプレイに、求めた数値を
任意の単位で表示するが、ホストデータ受信およびデー
タ処理に従って変化する数値をコントロールパネル18に
出力するタイミングは、ホストデータ受信した時のホス
トインタラプト処理時あるいはタイマ8(図1)によるタ
イマインタラプト等が考えられる。以上のようにして、
(イ)〜(ヌ)の数値を表示することにより第1の実施例は
実現する。なお、この場合インプットバッファの容量が
大きければ大きいほど大きな効果がある。しかし、イン
プットバッファを大きくすればするほど、他に必要とす
るメモリ容量が減るためメモリの拡張が必要となる。そ
こで、いかに安価で大きくメモリを拡張する方法とし
て、ハードデスクドライブ(HDD)の大容量で比較的安
価なメディアを用いることが考えられる。
In the printer controller 1 having the above configuration, the data fetched from the host machine 15 via the host interface 2 is temporarily stored in the input buffer of the RAM 11. The data stored in these input buffers are taken out in the order in which they are stored and the printing process is performed.The input pointer of the input buffer that stores the data from the host machine 15, and
The effective amount of data accumulated in the input buffer can be known from the input buffer output pointer when the data is fetched from the input buffer. The input buffer is a buffer that is set and managed in a rotary manner, and when the input pointer reaches the end of the input buffer, the input pointer is updated to the free end of the input buffer after the processing is completed. The number of bytes of data received from the host machine 15 can be obtained by counting the number of data input to the input buffer from the host interface 2 (hereinafter, this will be referred to as an input data counter). The number of data in the input buffer is (a) number of data = input pointer-output pointer, and when the output pointer is larger than the input pointer, (b) number of data = input buffer capacity- (output pointer-input pointer) The following numerical values can be calculated based on this data number. (C) Unprocessed data in the input buffer = number of data, (d) empty capacity of input buffer = capacity of input buffer-number of data, (e) ratio of unprocessed data in input buffer =
Number of data / capacity of input buffer, (f) empty capacity ratio of input buffer = empty capacity of input buffer / capacity of input buffer. When inputting data from the host interface 2 to the input buffer, check the end-off file (EOF) code and check this EOF
If the code separates one data file (job) transferred to the printer by the host machine, the size of the data file received by the printer can be known from the input data counter value until the EOF code is detected. From this data file size and the number of unprocessed data in the input buffer, the amount and rate of unprocessed data for one data file can be obtained. (G) Processed data amount for file size = input data counter-unprocessed data in input buffer, (H) Processed data rate for file size = processed data amount for file size / input data counter, (R) not processed for file size Processed data amount = input data counter Processed data amount for file size, (n) Unprocessed data rate for file size = Unprocessed data amount for file size / input data counter. Next, the means for displaying the numerical values obtained above will be described. FIG. 2 is an example of an external view of the control panel 18 of FIG. The obtained numerical value is displayed on the liquid crystal display (LCD) display of the control panel 18 in arbitrary units. The timing for outputting the numerical value which changes according to the host data reception and data processing to the control panel 18 is when the host data is received. The host interrupt process or the timer interrupt by the timer 8 (FIG. 1) can be considered. As described above,
The first embodiment is realized by displaying the numerical values of (A) to (N). In this case, the larger the capacity of the input buffer, the greater the effect. However, the larger the input buffer, the smaller the memory capacity required for others, so the memory needs to be expanded. Therefore, it is conceivable to use a large-capacity and relatively inexpensive medium of a hard disk drive (HDD) as a method of expanding the memory at a low cost.

【0009】図3は本発明の第2の実施例におけるプリ
ンタコントローラの構成を示すものである。なお、この
実施例ではレーザプリンタの場合を示している。図3に
おいて、20はレーザプリンタでプリンタコントローラ21
とプリンタエンジン30とからなる。プリンタコントロー
ラ21は、CPU22,プログラムROM23,フォントRO
M24,RAM25,ホストインタフェース26,操作パネル
28およびエンジンインタフェース29から構成され、その
時設定されている制御モードおよびホストマシン27から
の制御コードに従って、ホストマシン27からの印字デー
タをビデオデータに変換してプリンタエンジン30に出力
する。RAM25は、CPU22が処理を行う際のワークメ
モリ,ホストマシン27からのデータを取り込むインプッ
トバッファ,インプットバッファからのデータをページ
のレイアウト情報(印字データと印字域置の関係)として
一時記憶するページバッファ,イメージを一時的に記憶
するイメージバッファ,ページバッファの内容に従いイ
メージバッファおよびフォントROM24の内容を展開す
るビデオバッファ,ユーザがフォントのダウンロードな
どに用いるユーザーエリア等に使用される。ホストイン
タフェース26を通してホストマシン27から印字データお
よび印字制御データが送られ、プリンタコントローラ21
より各種ステータス(状態情報)がホストマシン27に送ら
れる。また、エンジンインタフェース29は、プリンタコ
ントローラ21からプリンタエンジン30へのビデオ信号お
よび制御信号を送り、プリンタエンジン30からステータ
ス信号をプリンタコントローラ21に送る。プリンタエン
ジン30は、コントローラからのビデオ信号および制御信
号により感光体上に静電潜像を作り、現像しまた給紙部
より転写紙を給紙して転写および定着して画像を形成す
る。操作パネル28は、プリンタの状態を示す表示部とプ
リンタの各種モード・フォントを切り替えるスイッチ部
とから構成される。通常プリンタコントローラ21ではメ
モリは以下のように使用される。ワークメモリ,インプ
ットバッファ,ビデオバッファはプリンタコントローラ
21の電源投入時に固定サイズ確保される。但し、ビデオ
バッファはRAM25の容量や印字モードにより1ページ
分確保して印字する場合(フルビットマップモード)と1
ページを分割して印字する場合(パーシャルビットマッ
プモード)とでサイズは異なる。これらは解放されるこ
とはない。ページバッファはホストマシン27より印字命
令が送られると固定サイズのエリアが確保され、印字命
令でそのページバッファがいっぱいになった場合はまた
別の同サイズのエリアが確保される。こうしてできた複
数のページバッファは内部のリンク情報でリンクされて
いる。そして1ページのページバッファの作成が終る
と、ページバッファの内容はビデオバッファに展開さ
れ、展開が終了しそのページの印字が完了するとページ
バッファのメモリエリアが解放される。イメージバッフ
ァはイメージの印字要求があった場合に確保され、印字
が完了すると解放される。また、ユーザメモリはフォン
トロードの要求があった場合に確保され、消去要求か電
源が切られるまで保持される。これらメモリの使用状態
はメモリ管理プログラム(以下、メモリマネージャーと
いう)によって管理される。メモリマネージャーはメモ
リの空き領域を管理し、効率的にページバッファやイメ
ージバッファ等のエリアを確保したり不要になったエリ
アを解放したりする。よって、メモリの残量はメモリマ
ネージャーが管理する空き領域のデータをもとに知るこ
とができる。
FIG. 3 shows the configuration of a printer controller according to the second embodiment of the present invention. In this embodiment, a laser printer is shown. In FIG. 3, a laser printer 20 is a printer controller 21.
And a printer engine 30. The printer controller 21 includes a CPU 22, a program ROM 23, a font RO
M24, RAM25, host interface 26, operation panel
28 and an engine interface 29, the print data from the host machine 27 is converted into video data and output to the printer engine 30 according to the control mode set at that time and the control code from the host machine 27. The RAM 25 is a work memory used when the CPU 22 performs processing, an input buffer for fetching data from the host machine 27, and a page buffer for temporarily storing data from the input buffer as page layout information (relationship between print data and print area). , An image buffer for temporarily storing images, a video buffer for expanding the contents of the image buffer and the font ROM 24 according to the contents of the page buffer, a user area used by the user for downloading fonts, and the like. Print data and print control data are sent from the host machine 27 through the host interface 26, and the printer controller 21
Various statuses (status information) are sent to the host machine 27. The engine interface 29 also sends a video signal and a control signal from the printer controller 21 to the printer engine 30, and sends a status signal from the printer engine 30 to the printer controller 21. The printer engine 30 forms an electrostatic latent image on the photoconductor by a video signal and a control signal from the controller, develops the electrostatic latent image, feeds a transfer sheet from a sheet feeding unit, and transfers and fixes the image to form an image. The operation panel 28 is composed of a display section showing the status of the printer and a switch section for switching various modes and fonts of the printer. The memory is normally used in the printer controller 21 as follows. Printer controller for work memory, input buffer and video buffer
A fixed size is secured when the power of 21 is turned on. However, if the video buffer is reserved for printing one page depending on the capacity of RAM 25 and the print mode (full bit map mode),
The size is different when printing pages separately (partial bitmap mode). These are never released. A fixed size area is secured in the page buffer when a print command is sent from the host machine 27, and another area of the same size is secured when the page buffer is full by the print command. The page buffers thus created are linked by internal link information. When the page buffer for one page is created, the contents of the page buffer are expanded in the video buffer, and when the expansion is completed and printing of the page is completed, the memory area of the page buffer is released. The image buffer is secured when an image print request is made, and is released when printing is completed. Further, the user memory is secured when a font load request is made and is held until an erase request or the power is turned off. The usage status of these memories is managed by a memory management program (hereinafter referred to as a memory manager). The memory manager manages the free area of the memory, and efficiently secures areas such as a page buffer and an image buffer and releases unnecessary areas. Therefore, the remaining amount of the memory can be known based on the data in the free area managed by the memory manager.

【0010】図4は第2の実施例における動作の流れを
示したものである。まず、あらかじめホストマシン27と
プリンタの間で後何文字できるか、どのくらいの大きさ
のイメージを印字できるかをホストマシン27からプリン
タコントローラ21に尋ねるステータスコマンド(以下、
メモリステータス要求という)を定めておく。ホストマ
シン27からメモリステータス要求が送られると(S21)、
プリンタコントローラ21はメモリマネージャーが管理す
る空きメモリ量を読み出す(S22)。メモリステータス要
求が文字数かイメージであるかを判断し(S23)、文字数
の要求であれば、文字数換算処理を行い(S24)、またイ
メージの大きさであればイメージ大換算処理を行い(S
25)、それぞれの処理で算出された値をホストマシン27
に返す。文字数換算処理ではメモリの空き容量から、こ
れから確保できるページバッファの数を算出し、1つの
ページバッファに格納できる文字数と乗算することによ
り要求の値を算出する。イメージ大換算処理では、現在
設定されている主走査方向の印字有効領域幅をバイト数
で表した値(X)と残容量をXで除算した値(Y…副走査
方向のライン数)を算出する。このようにすれば、いつ
でもホストマシン27はプリンタに対し必要な情報を得る
ことができる。一方、ホストマシン27からデータを転送
している最中にはメモリがどの程度消費されているかわ
からない。そこで、プリンタコントローラ21の内部処理
において、内部タイマー(図示せず)である一定時間毎に
CPU22に割り込みを発生させ、割り込み処理ではメモ
リマネージャーが管理するメモリの空き容量を表示する
ような処理を行うことによってほぼリアルタイムで現在
のメモリ消費量を知ることができる。図5はメモリの消
費量またはメモリの残量を表示する操作パネル28の例を
示したものである。
FIG. 4 shows a flow of operations in the second embodiment. First, the host machine 27 asks the printer controller 21 how many characters can be printed in advance between the host machine 27 and the printer, and how large an image can be printed.
Memory status request). When a memory status request is sent from the host machine 27 (S 21 ),
The printer controller 21 reads out the amount of free memory memory manager manages (S 22). It is judged whether the memory status request is the number of characters or the image (S 23 ). If the number of characters is the request, the number of characters is converted (S 24 ). S
25 ), the value calculated by each process is stored in the host machine 27
Return to. In the character number conversion process, the number of page buffers that can be secured is calculated from the free space of the memory and is multiplied by the number of characters that can be stored in one page buffer to calculate the request value. In the large image conversion process, a value (X) that represents the currently set print effective area width in the main scanning direction in bytes and a value that divides the remaining capacity by X (Y ... number of lines in the sub scanning direction) are calculated. To do. In this way, the host machine 27 can always obtain the necessary information for the printer. On the other hand, it is not known how much memory is consumed while data is being transferred from the host machine 27. Therefore, in the internal processing of the printer controller 21, an interrupt is generated in the CPU 22 at a fixed time which is an internal timer (not shown), and in the interrupt processing, processing for displaying the free space of the memory managed by the memory manager is performed. This makes it possible to know the current memory consumption in almost real time. FIG. 5 shows an example of the operation panel 28 for displaying the amount of consumed memory or the remaining amount of memory.

【0011】[0011]

【発明の効果】本発明は上記第1および第2の実施例か
ら明らかなように以下の効果を有する。 (1)ホストマシンからプリントへデータを転送し印刷す
る際、ホストマシンとプリンタがどれくらい処理が進ん
だかを知ることができ、転送・印刷処理時間の予測が可
能になる。従って、印刷待ちの時間が有効に活用でき、
心理的にも余裕が生ずる。 (2)プリンタコントローラにおけるメモリの空き容量を
文字数やイメージの大きさでわかり易く知ることがで
き、無駄なプリントをせず効率のよいプリントを実現で
きる。また、リアルタイムでメモリの使用状況を把握で
き、データ転送の目安を得ることができる。
The present invention has the following effects as is apparent from the first and second embodiments. (1) When transferring and printing data from the host machine to the print, it is possible to know how much processing has progressed between the host machine and the printer, and it is possible to predict the transfer / print processing time. Therefore, the waiting time for printing can be effectively used,
There is a psychological margin. (2) The free space of the memory in the printer controller can be easily understood by the number of characters and the size of the image, and efficient printing can be realized without wasteful printing. In addition, the usage status of the memory can be grasped in real time, and a guideline for data transfer can be obtained.

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

【図1】本発明の第1の実施例におけるプリンタコント
ローラの構成図である。
FIG. 1 is a configuration diagram of a printer controller according to a first embodiment of the present invention.

【図2】図1のコントロールパネルの外観図である。FIG. 2 is an external view of the control panel of FIG.

【図3】本発明の第2の実施例におけるプリンタコント
ローラの構成図である。
FIG. 3 is a configuration diagram of a printer controller according to a second embodiment of the present invention.

【図4】本発明の第2の実施例における動作フローチャ
ートである。
FIG. 4 is an operation flowchart in the second embodiment of the present invention.

【図5】図3の操作パネルの外観図である。5 is an external view of the operation panel of FIG.

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

1,21…プリンタコントローラ、 2,26…ホストイン
タフェース、 3…カートリッジインタフェース、 4
…ICカードインタフェース、 5…コントロールパネ
ルインタフェース、 6…データ制御部、 7…アドレ
ス制御部、 8…タイマ、 9,22…CPU、 10…R
OM、 11,25…RAM、 12…ビデオ制御部、 13,
29…エンジンインタフェース、 14…プリンタエンジン
ユニット、15,27…ホストマシン、 16…メモリカート
リッジ、 17…ICカード、 18…コントロールパネ
ル、 20…レーザプリンタ、 23…プログラムROM、
24…フォントROM、 28…操作パネル、 30…プリ
ンタエンジン。
1, 21 ... Printer controller, 2, 26 ... Host interface, 3 ... Cartridge interface, 4
... IC card interface, 5 ... Control panel interface, 6 ... Data control section, 7 ... Address control section, 8 ... Timer, 9, 22 ... CPU, 10 ... R
OM, 11, 25 ... RAM, 12 ... Video control unit, 13,
29 ... Engine interface, 14 ... Printer engine unit, 15, 27 ... Host machine, 16 ... Memory cartridge, 17 ... IC card, 18 ... Control panel, 20 ... Laser printer, 23 ... Program ROM,
24 ... Font ROM, 28 ... Operation panel, 30 ... Printer engine.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 プリンタがホストマシンから転送された
データを受け取り処理する際において、受けとったデー
タのバイド数表示、あるいは受けとったデータを蓄積す
るインプットバッファにおけるインプットバッファ内の
未処理データまたは空き容量のバイト数表示、インプッ
トバッファの最大容量を100%としたときインプットバ
ッファ内の未処理データまたは空き容量の割合表示、ホ
ストマシンからのデータをバイナリデータまたはテキス
トデータとして扱える2つのモード設定が可能でテキス
トモードの時、エンドオフファィル(EOF)コードによ
りファイルとファイルの区切りを検知し、一つのファイ
ルに対し処理および未処理のデータ量・率の表示の4種
類の表示をすることが可能で、このうちの一つを選択し
表示することを特徴とするプリンタ。
1. When the printer receives and processes the data transferred from the host machine, it displays the number of bytes of the received data, or the unprocessed data or free space in the input buffer in the input buffer for accumulating the received data. It is possible to display the number of bytes, display the percentage of unprocessed data or free space in the input buffer when the maximum capacity of the input buffer is 100%, and set two modes in which data from the host machine can be treated as binary data or text data. In the mode, the end-of-file (EOF) code can be used to detect the separation of files and files, and it is possible to display four types of data, the amount of processed data and the ratio of unprocessed data for one file. Characterized by selecting and displaying one of them Printer that.
【請求項2】 プリンタが持つ内部メモリの残量を算出
する手段を備え、該メモリの残量を算出する手段により
これから印字しようとするまたは印字しているページに
対し、あとどのくらい印字可能かを文字数に換算してホ
ストマシンに知らせることを特徴とするプリンタ。
2. A printer is provided with means for calculating the remaining amount of internal memory, and the means for calculating the remaining amount of memory determines how much more printing is possible for a page to be printed or a page being printed. A printer characterized by converting it to the number of characters and notifying the host machine.
【請求項3】 プリンタが持つ内部メモリの残量を算出
する手段を備え、該メモリの残量を算出する手段により
これから印字しようとするまたは印字しているページに
対し、あとどのくらい印字可能かをイメージの大きさに
換算してホストマシンに知らせることを特徴とするプリ
ンタ。
3. A printer is provided with means for calculating the remaining amount of internal memory, and by the means for calculating the remaining amount of the memory, how much more can be printed for a page to be printed or a page being printed. A printer characterized by converting to the size of an image and notifying the host machine.
【請求項4】 メモリの残量を算出する手段で得られる
メモリの残量を、逐次表示手段に表示することを特徴と
する請求項2または請求項3記載のプリンタ。
4. The printer according to claim 2, wherein the remaining amount of the memory obtained by the means for calculating the remaining amount of the memory is sequentially displayed on the display means.
JP3249049A 1991-09-27 1991-09-27 Printer Pending JPH0584987A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3249049A JPH0584987A (en) 1991-09-27 1991-09-27 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3249049A JPH0584987A (en) 1991-09-27 1991-09-27 Printer

Publications (1)

Publication Number Publication Date
JPH0584987A true JPH0584987A (en) 1993-04-06

Family

ID=17187255

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3249049A Pending JPH0584987A (en) 1991-09-27 1991-09-27 Printer

Country Status (1)

Country Link
JP (1) JPH0584987A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0789147A (en) * 1993-09-22 1995-04-04 Nec Corp Receiving data status display device for printer
US6859290B2 (en) 1997-08-15 2005-02-22 Minolta Co., Ltd. Image formation apparatus displaying the capacity of data of image to be formed
GB2405732A (en) * 2003-09-05 2005-03-09 Hewlett Packard Development Co Progress indicator for graphical display on printers
US8462376B2 (en) 2007-09-28 2013-06-11 Konica Minolta Business Technologies, Inc. Image forming apparatus and computer-readable medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0789147A (en) * 1993-09-22 1995-04-04 Nec Corp Receiving data status display device for printer
US6859290B2 (en) 1997-08-15 2005-02-22 Minolta Co., Ltd. Image formation apparatus displaying the capacity of data of image to be formed
GB2405732A (en) * 2003-09-05 2005-03-09 Hewlett Packard Development Co Progress indicator for graphical display on printers
US8462376B2 (en) 2007-09-28 2013-06-11 Konica Minolta Business Technologies, Inc. Image forming apparatus and computer-readable medium

Similar Documents

Publication Publication Date Title
US20050168777A1 (en) Data processing apparatus adaptable to plural environments and data processing method
JP2932346B2 (en) PRINTING APPARATUS AND PRINT CONTROL METHOD AND CHARACTER FONTS PATTERN MANAGEMENT METHOD IN PRINTING APPARATUS
JPH11170631A (en) Image forming apparatus
JP3305042B2 (en) Printing control device
JP2001080140A (en) Page printer and control method thereof
JPH0584987A (en) Printer
JP2002086852A (en) Image forming system, control method therefor, and recording medium
JP3116354B2 (en) Printer data management method
JPH0728612A (en) Printer
JPH06171160A (en) Printing information processor
JPH09254485A (en) Image forming apparatus
JP2590707Y2 (en) Page printer
JPH0659833A (en) Printer in network environment
JP2002373073A (en) Printer
KR100213119B1 (en) Method of displaying list of file to be printed in sequence
JP3311969B2 (en) Discharge position control method and apparatus in printing apparatus
JPH06305217A (en) Image forming device
JP2922676B2 (en) Image forming device
JPH07177307A (en) Distributed copying system
JPH08276622A (en) Printer
JPH10202987A (en) Printer device
JP3589443B2 (en) Printer device
JPH09193481A (en) Printer controller
JP2000181638A (en) Printing system
JP2004227309A (en) Printer control unit and printer control program