JPH0747741A - Printer - Google Patents

Printer

Info

Publication number
JPH0747741A
JPH0747741A JP5194436A JP19443693A JPH0747741A JP H0747741 A JPH0747741 A JP H0747741A JP 5194436 A JP5194436 A JP 5194436A JP 19443693 A JP19443693 A JP 19443693A JP H0747741 A JPH0747741 A JP H0747741A
Authority
JP
Japan
Prior art keywords
remaining capacity
data
printer
display
capacity
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
JP5194436A
Other languages
Japanese (ja)
Inventor
Toshihiko Tamada
利彦 玉田
Masahiko Yajima
正彦 谷島
Akio Watanabe
明男 渡辺
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP5194436A priority Critical patent/JPH0747741A/en
Publication of JPH0747741A publication Critical patent/JPH0747741A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To confirm the remaining capacity of the form memory for registering form independently and simply by a printer without reference to a host computer. CONSTITUTION:In a form memory 24, data on the form used at the printing with a printer 12 is registered. Whenever a constant period timer 44 outputs a calculation pointing signal 45, a remaining capacity calculating part 43 respectively calculates the number of bytes in the registered data region occupied in the form memory 24 and in the whole region so as to calculate the number of the bytes in the remaining capacity or the percentage of the remaining capacity to the whole capacity for sending it as the data 39 for displaying the calculated result of the remaining capacity to a displaying controlling part 37, resulting in displaying the remaining capacity on a display 27.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は文字等からなる通常の印
字情報とフォームを組み合わせて1枚の用紙に印字する
ことのできるプリンタに係わり、特にこのプリンタに幾
つかのフォームを予め登録しておき、これらを適宜選択
して使用することのできるようにしたプリンタに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer capable of printing on a sheet of paper by combining ordinary printing information consisting of characters and the like, and particularly, by registering some forms in advance in this printer. The present invention relates to a printer in which these can be appropriately selected and used.

【0002】[0002]

【従来の技術】帳票の印刷のように罫線等からなるフォ
ームを含んだ印刷を行う印刷業務においては、これら定
型的なフォームを予めプリンタ側に幾つか登録してお
き、印刷に際してはこれらのフォームのうちの所望のも
のを選択させるようにしたプリンタが使用されることが
多い。このようなプリンタを接続したホストコンピュー
タ側では、文字等の印字データの送出に際して、印刷に
使用するフォームがプリンタに登録されているかどうか
を確認し、登録されている場合にはそのフォームを表わ
したフォームデータの送出を省略するようにしている。
そこで、プリンタ側にできるだけ多くのフォームデータ
を登録しておけば、印刷に際してフォームデータを転送
する頻度がそれだけ減少し、効率的な印刷業務を行うこ
とができることになる。
2. Description of the Related Art In a printing job for printing forms including ruled lines such as printing of forms, some of these standard forms are registered in advance on the printer side and these forms are used for printing. Often printers are used which allow the user to select the desired one of them. On the host computer side connected to such a printer, when sending print data such as characters, it is checked whether the form used for printing is registered in the printer, and if it is registered, the form is displayed. The sending of form data is omitted.
Therefore, by registering as much form data as possible on the printer side, the frequency of transferring the form data at the time of printing is reduced, and efficient printing work can be performed.

【0003】しかしながら、フォームのうちの多くは複
雑な線画やビットパターンによって構成されているた
め、それぞれのフォームデータは比較的大きなデータ量
を有している場合が多い。そこで、使用を想定するフォ
ームをすべてプリンタ側に登録しておくことは、メモリ
容量との関係で現実的ではない。また、印刷の内容と共
にフォームも次々と新たなものが作成されるので、これ
らを将来にわたってすべて登録することも不可能であ
る。そこで、現在登録しているフォームのうち使用する
必要のなくなったものや、使用する頻度の少ないものを
適宜削除しながら、新たに必要となったフォームを登録
するような形態が採られている。
However, since many of the forms are composed of complicated line drawings and bit patterns, each form data often has a relatively large amount of data. Therefore, it is not realistic to register all the forms that are supposed to be used in the printer, because of the memory capacity. In addition, since new forms are created one after another along with the print contents, it is impossible to register all these forms in the future. Therefore, a form is adopted in which a newly-needed form is registered while appropriately deleting those that are no longer needed to be used or those that are rarely used.

【0004】[0004]

【発明が解決しようとする課題】このようなフォームの
登録管理を行うためには、プリンタにどれだけフォーム
を登録できるかを随時知る必要がある。そこで、フォー
ムを更に登録することのできる量としての残容量を、要
求があるたびにプリントアウトするプリンタが提案され
ている。ところが、このプリンタでは、残容量の確認の
ためにプリンタから用紙を排出するようにしているの
で、それに至るまでの操作が面倒であるばかりでなく、
残容量を知るまでにある程度の時間を要し、フォームデ
ータを登録するために必要な作業時間を長びかせる原因
となっていた。
In order to perform such form registration management, it is necessary to know at any time how many forms can be registered in the printer. Therefore, there has been proposed a printer that prints out the remaining capacity as the amount by which the form can be further registered each time there is a request. However, in this printer, the paper is ejected from the printer to check the remaining capacity, so not only the operation up to that is troublesome, but also
It took some time to know the remaining capacity, which was a cause of prolonging the work time required to register the form data.

【0005】一方、特開昭63−59562号公報に
は、フォームの登録を行う際に登録すべきフォーム総量
に対する現在の登録達成度を表示器に表示するようにし
た技術が開示されている。このように登録の状況を逐次
表示することで、所定のフォームが登録されたかどうか
を確認することができる他、登録の途中で残容量がなく
なったときには登録ができなかったことを知ることがで
きる。しかしながら、この公報に記載の技術では、登録
という作業の途中で登録達成度を出力することにしてい
る。このため、残容量が少ない場合でも事前にはそれが
分からず、登録作業を開始した時点でこれが分かるとい
った事態が発生することになった。このような場合に
は、残容量の不足で登録を行うことができないことにな
り、ホストコンピュータが関与したにもかかわらず、結
局無駄な作業に終わるという場合が存在した。そこで、
フォームの登録作業の開始前に残容量を確認する必要が
生じるが、この場合には先に説明したように手間のかか
る作業を必要とするといった問題があった。
On the other hand, Japanese Patent Laid-Open No. 63-59562 discloses a technique for displaying the current degree of registration achievement with respect to the total amount of forms to be registered on a display when registering forms. By sequentially displaying the registration status in this way, it is possible to confirm whether or not a predetermined form has been registered, and it is possible to know that registration could not be completed when the remaining capacity is exhausted during registration. . However, in the technique described in this publication, the registration achievement level is output during the work of registration. For this reason, even when the remaining capacity is small, it is not known in advance, and this may occur when the registration work is started. In such a case, registration could not be performed due to insufficient remaining capacity, and there was a case where the work ended up being useless despite the involvement of the host computer. Therefore,
It is necessary to check the remaining capacity before starting the form registration work, but in this case, there is a problem that the labor-intensive work is required as described above.

【0006】そこで本発明の目的は、ホストコンピュー
タの関与なしに簡易にフォームメモリの残容量を確認す
ることのできるプリンタを提供することにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a printer which can easily check the remaining capacity of the form memory without the involvement of the host computer.

【0007】[0007]

【課題を解決するための手段】請求項1記載の発明で
は、予め定めたフォームの中から所望のものを適宜選択
してこれと文字等の他の印字情報を組み合わせて印刷す
るためにこれらフォームを表わしたフォームデータを格
納する所定容量のフォームデータ格納手段と、このフォ
ームデータ格納手段に現在格納されているフォームデー
タの容量を前記した所定容量から差し引いた残容量を所
定のタイミングで自律的に算出する残容量算出手段と、
算出された残容量を視覚的に表示するディスプレイとを
プリンタに具備させる。
According to a first aspect of the present invention, a desired form is appropriately selected from predetermined forms and the form is combined with other print information such as characters to print. Form data storage means for storing the form data representing the, and the remaining capacity obtained by subtracting the capacity of the form data currently stored in the form data storage means from the predetermined capacity autonomously at a predetermined timing. A remaining capacity calculating means for calculating,
A printer is provided with a display for visually displaying the calculated remaining capacity.

【0008】すなわち請求項1記載の発明では、プリン
タ側で自律的に、例えば決まった周期でフォームデータ
格納手段の全容量から現在使用している容量を差し引い
て、算出された残容量をバイト単位等の単位でディスプ
レイに表示することにし、前記した目的を達成する。
That is, according to the first aspect of the invention, the remaining capacity calculated in bytes is autonomously calculated on the printer side by subtracting the capacity currently used from the total capacity of the form data storage means, for example, at a fixed cycle. The above-mentioned object is achieved by displaying on the display in units such as.

【0009】請求項2記載の発明では、予め定めた定型
的なフォームを適宜選択してこれと文字等の他の印字情
報を組み合わせて印刷するためにこれらフォームを表わ
したフォームデータを格納する所定容量のフォームデー
タ格納手段と、このフォームデータ格納手段に現在格納
されているフォームデータが前記した所定容量に占める
割合を所定のタイミングで自律的に算出するメモリ使用
割合算出手段と、算出されたメモリ使用割合を視覚的に
表示するディスプレイとをプリンタに具備させる。
According to the second aspect of the present invention, a predetermined fixed form is appropriately selected, and the form data representing the form is stored in order to print the form in combination with other print information such as characters. A capacity of the form data storage means, a memory usage ratio calculation means for autonomously calculating the ratio of the form data currently stored in the form data storage means to the predetermined capacity at a predetermined timing, and the calculated memory The printer is provided with a display that visually displays the usage rate.

【0010】すなわち請求項2記載の発明では、プリン
タ側で自律的に、例えば決まった周期でフォームデータ
格納手段の全容量に対する現在使用している容量の割合
を求め、これをディスプレイに例えばパーセント表示す
ることにし、前記した目的を達成する。
That is, according to the second aspect of the invention, the printer side autonomously obtains the ratio of the currently used capacity to the total capacity of the form data storage means, for example, at a fixed cycle, and displays this on the display, for example, as a percentage. In order to achieve the above-mentioned object.

【0011】[0011]

【実施例】以下実施例につき本発明を詳細に説明する。EXAMPLES The present invention will be described in detail below with reference to examples.

【0012】図2は、本発明の一実施例におけるプリン
タとホストコンピュータからなるプリントシステムを表
わしたものである。本実施例ではホストコンピュータ1
1とプリンタ12がケーブル13を介して接続され、ホ
ストコンピュータ11から印字データやフォームデータ
等の必要なデータがプリンタ12に転送されるようにな
っている。プリントシステムは、このようにホストコン
ピュータ11とプリンタ12が1対1に対応付けられて
いる必要はなく、例えば複数のホストコンピュータがL
AN(ローカルエリアネットワーク)を介して1または
複数のプリンタと接続される構成であってもよい。
FIG. 2 shows a printing system including a printer and a host computer according to an embodiment of the present invention. In this embodiment, the host computer 1
1 and the printer 12 are connected via a cable 13, and necessary data such as print data and form data is transferred from the host computer 11 to the printer 12. In the print system, it is not necessary that the host computer 11 and the printer 12 are associated with each other in a one-to-one manner like this.
It may be configured to be connected to one or a plurality of printers via an AN (local area network).

【0013】図1は、本実施例のプリンタの要部を機能
ブロックとして表わしたものである。プリンタ12は、
ケーブルと接続されたインタフェース部21を備えてい
る。インタフェース部21から出力されるフォームデー
タ22は、フォームデータ処理部23に送られ、フォー
ムメモリ24に対する登録が行われるようになってい
る。このプリンタ12は、入力手段としてのキーボード
26と出力手段としてのディスプレイ27を備えてい
る。フォームメモリ24に格納されている不要なフォー
ムを削除する場合には、キーボード26からフォーム削
除要求をキー入力する。キーボード26から出力される
キー入力データ28は入力制御部29に送られ、解読さ
れて削除指示データ31が出力される。削除指示データ
31はフォーム削除部32に入力される。
FIG. 1 shows the essential parts of the printer of this embodiment as functional blocks. The printer 12
The interface unit 21 connected to the cable is provided. The form data 22 output from the interface unit 21 is sent to the form data processing unit 23 and registered in the form memory 24. The printer 12 includes a keyboard 26 as an input unit and a display 27 as an output unit. When deleting an unnecessary form stored in the form memory 24, a form deletion request is keyed in from the keyboard 26. The key input data 28 output from the keyboard 26 is sent to the input control unit 29, is decoded, and the deletion instruction data 31 is output. The deletion instruction data 31 is input to the form deletion unit 32.

【0014】フォーム削除部32は、これに伴いフォー
ム検索指示信号34をフォーム検索部35に入力する。
フォーム検索部35は、これを基にフォームメモリ24
内を検索し、これに登録されているすべてのフォーム名
を読み出す。これらのフォーム名は、検索結果表示用デ
ータ36として表示制御部37に入力される。この表示
制御部37には、キー入力データ28に基づいて入力制
御部29から出力されるキー入力表示用データ38や、
次に説明する残容量計算結果表示用データ39も入力さ
れるようになっている。表示制御部37は、これらの表
示用データ36、38、39を基にして表示データ41
を作成し、これをディスプレイ27に供給して必要な表
示を行わせるようになっている。
The form deletion unit 32 inputs the form search instruction signal 34 to the form search unit 35 accordingly.
Based on this, the form search unit 35 determines the form memory 24.
Search inside and read all the form names registered in it. These form names are input to the display control unit 37 as the search result display data 36. The display control unit 37 includes key input display data 38 output from the input control unit 29 based on the key input data 28,
The remaining capacity calculation result display data 39 described below is also input. The display control unit 37 uses the display data 36, 38, 39 to display data 41.
Is generated and is supplied to the display 27 so that the necessary display is performed.

【0015】削除のためにフォームメモリ24に格納さ
れた全フォーム名が送られてきた場合、表示制御部37
はディスプレイ27にこれらのフォーム名の一覧を表示
させる。オペレータは、この中に削除の対象となってい
るフォーム名が存在するかどうかをチェックし、存在す
る場合にはこれを削除する旨の指示データをキーボード
26から入力することになる。フォーム削除部32はこ
れを受け取ると、フォームメモリ24に格納されている
該当するフォームの削除を実行するようになっている。
なお、フォームメモリ24からフォームの削除が行われ
たときには、それよりも後のアドレスに登録されている
フォームのアドレスをこの削除されたフォームのアドレ
スに繰り上げる操作が行われる。これは、後に説明する
ようにフォームメモリ24の残容量の計算を簡単に行う
ためのものであって、必ずしも必要なものではない。
When all the form names stored in the form memory 24 are sent for deletion, the display controller 37
Causes the display 27 to display a list of these form names. The operator checks whether or not the form name to be deleted exists in this, and if there is, the operator inputs the instruction data to delete it from the keyboard 26. When the form deletion unit 32 receives this, it deletes the corresponding form stored in the form memory 24.
When a form is deleted from the form memory 24, an operation of advancing the address of the form registered in the address after that to the address of the deleted form is performed. This is for easily calculating the remaining capacity of the form memory 24 as will be described later, and is not always necessary.

【0016】ところで、このプリンタ12には、残容量
計算部43と、所定の周期を計測するための定周期タイ
マ44とが配置されている。定周期タイマ44は、一定
の周期で計算指示信号45を発生させ、これを残容量計
算部43に入力するようになっている。残容量計算部4
3は計算指示信号45の供給を受けると、フォームメモ
リ24の残容量を計算し、その結果を残容量計算結果表
示用データ39として前記したように表示制御部37に
送出し、ディスプレイ27に残容量の表示を行わせるよ
うになっている。
By the way, the printer 12 is provided with a remaining capacity calculator 43 and a fixed cycle timer 44 for measuring a predetermined cycle. The fixed cycle timer 44 generates a calculation instruction signal 45 at a fixed cycle and inputs it to the remaining capacity calculation unit 43. Remaining capacity calculator 4
3 receives the supply of the calculation instruction signal 45, calculates the remaining capacity of the foam memory 24, sends the result as the remaining capacity calculation result display data 39 to the display control section 37 as described above, and displays it on the display 27. It is designed to display the capacity.

【0017】図3は、このプリンタの回路構成を表わし
たものである。このプリンタ12はCPU(中央処理装
置)51を備えている。CPU51はデータバス等のバ
ス52を通じてプリンタ12内の各部と接続されてい
る。このうちROM53はこのプリンタ12の各部を制
御するためのプログラムを格納したリード・オンリ・メ
モリである。作業用メモリ54は、各種データを一時的
に格納するランダム・アクセス・メモリである。インタ
フェース部21、フォームメモリ24、定周期タイマ4
4、キーボード26およびディスプレイ27は前記した
通りである。ディスプレイ27はCRTで構成してもよ
いし、液晶ディスプレイその他のディスプレイで構成す
ることもできる。印字制御回路56は印字部57を制御
してフォームと文字等の組合わされた印字を行うように
なっている。
FIG. 3 shows a circuit configuration of this printer. The printer 12 includes a CPU (central processing unit) 51. The CPU 51 is connected to each unit in the printer 12 via a bus 52 such as a data bus. Of these, the ROM 53 is a read-only memory that stores a program for controlling each unit of the printer 12. The work memory 54 is a random access memory that temporarily stores various data. Interface unit 21, form memory 24, fixed-cycle timer 4
4, the keyboard 26 and the display 27 are as described above. The display 27 may be a CRT or a liquid crystal display or other display. The print control circuit 56 controls the print unit 57 to perform combined printing of forms and characters.

【0018】図4は、ホストコンピュータからこのプリ
ンタにフォームを送出するためのフォーム転送データの
データ形式を示したものである。フォーム転送データ6
1は、フォームの開始を示すフォーム開始信号62と、
フォーム名63と、そのフォーム名のフォームデータ6
4とフォームの終了を示すフォーム終了信号65をこれ
らの順に一列に配置した構造となっている。
FIG. 4 shows a data format of form transfer data for sending a form from the host computer to this printer. Form transfer data 6
1 is a form start signal 62 indicating the start of the form,
Form name 63 and form data 6 of the form name
4 and a form end signal 65 indicating the end of the form are arranged in a line in this order.

【0019】図5は、このフォーム転送データがプリン
タに転送された場合のインタフェース部の制御内容を表
わしたものである。インタフェース部21はフォーム開
始信号62を受信すると(ステップS101;Y)、こ
れに続くデータ(フォーム名63およびフォームデータ
64)をフォームデータ処理部23の一部を構成する前
記した作業用メモリ54に一時的に格納する(ステップ
S102)。この格納作業は、図4に示したフォーム転
送データ61におけるフォーム終了信号65が受信され
るまで継続する(ステップS103;N)。フォーム終
了信号65が受信された場合には(Y)、インタフェー
ス部21はフォームデータ処理部23にフォームの受信
が終了したことを示すフォーム終了通知信号を送出して
(ステップS104)、再び次のフォーム転送データ6
1の到来を待機することになる(リターン)。
FIG. 5 shows the control contents of the interface section when the form transfer data is transferred to the printer. When the interface section 21 receives the form start signal 62 (step S101; Y), the following data (form name 63 and form data 64) is stored in the working memory 54 which constitutes a part of the form data processing section 23. It is temporarily stored (step S102). This storing operation continues until the form end signal 65 in the form transfer data 61 shown in FIG. 4 is received (step S103; N). When the form end signal 65 is received (Y), the interface unit 21 sends a form end notification signal indicating that the reception of the form is completed to the form data processing unit 23 (step S104), and then the next again. Form transfer data 6
It will wait for the arrival of 1 (return).

【0020】図6は、フォームデータ処理部の登録制御
の様子を表わしたものである。インタフェース部21か
らフォーム終了通知信号が送られてきたら(ステップS
201;Y)、フォームデータ処理部23は作業用メモ
リ54に格納されたフォーム名63およびフォームデー
タ64をフォームメモリ24に格納する(ステップS2
02)。この際に、これらのデータは先に格納されたフ
ォームデータ等のすぐ後の領域に心太(ところてん)方
式で格納されるようになっている。
FIG. 6 shows the registration control of the form data processing unit. If the form end notification signal is sent from the interface unit 21 (step S
201; Y), the form data processing unit 23 stores the form name 63 and the form data 64 stored in the work memory 54 in the form memory 24 (step S2).
02). At this time, these data are stored in the area immediately after the previously stored form data or the like by the thick-line method.

【0021】図7は、フォームメモリにデータが格納さ
れる様子を表わしたものである。フォームメモリ24に
はその先頭番地A0 からバイト単位で、かつフォーム名
63およびフォームデータ64(図4)を1セットとし
たデータが隙間なく順に格納されるようになっている。
この例では、第1のフォーム名およびフォームデータ7
1 がまず格納され、続いて第2のフォーム名およびフ
ォームデータ712 が格納され、その後に第3のフォー
ム名およびフォームデータ713 が格納されている。現
在格納されているこれらのデータの直後の番地AN
は、フォームの記憶の終了位置であることを示すフォー
ムエンドマーク72が格納されるようになっている。ま
た、フォームメモリ24の最終番地AM には、メモリ領
域における終了位置を示すメモリエンドマーク73が格
納されるようになっている。
FIG. 7 shows how data is stored in the form memory. In the form memory 24, data in which the form name 63 and the form data 64 (FIG. 4) are set as one set from the first address A 0 in a byte unit are sequentially stored without a gap.
In this example, the first form name and form data 7
1 1 is stored first, then the second form name and form data 71 2 is stored, and then the third form name and form data 71 3 is stored. The form end mark 72 indicating the end position of the storage of the form is stored at the address A N immediately after the data currently stored. A memory end mark 73 indicating the end position in the memory area is stored at the final address A M of the form memory 24.

【0022】図6で説明したように新たにフォーム名6
3およびフォームデータ64が登録される場合には、図
7におけるフォームエンドマーク72が格納された番地
(この例では番地AN )から登録が行われることにな
る。
Form name 6 is newly added as described in FIG.
3 and the form data 64 are registered from the address (address A N in this example) where the form end mark 72 in FIG. 7 is stored.

【0023】図8は、フォームメモリの残容量を計算す
るための流れを表わしたものである。まずCPU51
(図3)は、作業用メモリ54における格納領域“AD
R”にフォームメモリ24の先頭番地(図7ではA0
を格納する(ステップS301)。また、作業用メモリ
54における他の格納領域“CNT”に初期値として
“0”を格納する(ステップS302)。このようにし
て残容量を算出するための準備が終了したら、フォーム
メモリ24の先頭番地から順にフォームエンドマーク7
2とメモリエンドマーク73の検出が順に行われる。こ
れらのマーク72、73のいずれも検出されない状態で
は(ステップS303、S304;N)、格納領域“C
NT”が1(バイト)ずつ加算され(ステップS30
5)、また格納領域“ADR”のアドレスが同様に1ず
つ加算される(ステップS306)。
FIG. 8 shows a flow for calculating the remaining capacity of the form memory. First CPU 51
(FIG. 3) is a storage area “AD in the work memory 54.
The start address of the form memory 24 in R "(A 0 in FIG. 7)
Is stored (step S301). Also, "0" is stored as an initial value in another storage area "CNT" in the work memory 54 (step S302). When the preparation for calculating the remaining capacity is completed in this way, the form end mark
2 and the memory end mark 73 are sequentially detected. If neither of these marks 72, 73 is detected (steps S303, S304; N), the storage area "C
NT "is incremented by 1 (byte) (step S30
5) Further, the address of the storage area "ADR" is similarly incremented by 1 (step S306).

【0024】フォームメモリ24が図7に示した格納状
態であるものとする。この場合には、第3のフォーム名
およびフォームデータ713 に対するサーチが終了した
直後にフォームエンドマーク72の検出が行われる(ス
テップS304;Y)。これまでの格納領域“CNT”
の値がフォームメモリ24におけるフォームに関するデ
ータの格納されている総バイト数となる(ステップS3
07)。
It is assumed that the form memory 24 is in the storage state shown in FIG. In this case, the form end mark 72 is detected immediately after the search for the third form name and the form data 71 3 is completed (step S304; Y). Previous storage area "CNT"
Is the total number of bytes in which the data regarding the form in the form memory 24 is stored (step S3).
07).

【0025】そして、なおもフォームメモリ24の走査
を行った結果としてある時点でメモリエンドマーク73
の検出が行われると(ステップS303;Y)、そのと
きの格納領域“CNT”の値がフォームメモリ24全体
の容量となる(ステップS308)。
Then, as a result of the scanning of the form memory 24, the memory end mark 73
Is detected (step S303; Y), the value of the storage area "CNT" at that time becomes the capacity of the entire form memory 24 (step S308).

【0026】図9は、残容量計算後の表示制御の様子を
表わしたものである。CPU51(図3)は、作業用メ
モリ54の所定の領域に格納されている表示用フラグを
チェックして、これがパーセント表示を指示しているか
どうかを判別する(ステップS401)。すなわち、こ
のプリンタ12ではオペレータが残容量をパーセントで
表示することを希望していた場合には、そのための指示
がキーボード26から入力されていることを前提とし
て、残容量をパーセント表示できるようになっている。
これ以外の場合には、フォームメモリ24の残容量はバ
イト数で表示されるようになっている。
FIG. 9 shows the display control after the remaining capacity is calculated. The CPU 51 (FIG. 3) checks the display flag stored in a predetermined area of the work memory 54 and determines whether or not this indicates a percentage display (step S401). That is, in the printer 12, if the operator desires to display the remaining capacity as a percentage, the remaining capacity can be displayed as a percentage on the assumption that an instruction therefor is input from the keyboard 26. ing.
In other cases, the remaining capacity of the form memory 24 is displayed in the number of bytes.

【0027】オペレータがパーセント表示を希望してい
るときには(ステップS401;Y)、CPU51はフ
ォームメモリ24の全容量に対する残容量の割合を計算
し、これに“100”を掛けて残容量のパーセントを求
める(ステップS402)。ここで、残容量はフォーム
メモリ24の全容量からフォームの登録のために使用し
たバイト数となる。そして、求められた数値を表示用デ
ータ36として表示制御部37に送り、ディスプレイ2
7に表示させる(ステップS403)。
When the operator desires a percentage display (step S401; Y), the CPU 51 calculates the ratio of the remaining capacity to the total capacity of the form memory 24, and multiplies this by "100" to obtain the remaining capacity percentage. Obtain (step S402). Here, the remaining capacity is the number of bytes used for registering the form from the total capacity of the form memory 24. Then, the calculated numerical value is sent to the display control unit 37 as the display data 36, and the display 2
No. 7 is displayed (step S403).

【0028】一方、パーセント表示が指示されていない
場合には(ステップS401;N)、CPU51はフォ
ームメモリ24の全容量(バイト)からフォームの登録
のために使用したバイト数を減算して、残容量をバイト
数として求める(ステップS404)。そして、これを
同様にディスプレイ27に表示させることになる(ステ
ップS403)。
On the other hand, when the percentage display is not instructed (step S401; N), the CPU 51 subtracts the number of bytes used for registering the form from the total capacity (bytes) of the form memory 24, and the remaining amount. The capacity is obtained as the number of bytes (step S404). Then, this is similarly displayed on the display 27 (step S403).

【0029】図10および図11は、ディスプレイの表
示例を表わしたものである。このうち図10は、パーセ
ント表示が行われた例を示しており、フォームメモリ2
4の残容量が99パーセントであることが分かる。図1
1は、残容量をバイト単位で示したものであり、この例
では999バイト残っていることになる。
10 and 11 show display examples on the display. Of these, FIG. 10 shows an example in which the percentage display is performed.
It can be seen that the remaining capacity of 4 is 99%. Figure 1
1 indicates the remaining capacity in bytes, and in this example, 999 bytes remain.

【0030】なお、実施例では定周期タイマ44が一定
周期ごとに残容量計算部43を起動して残容量を計算さ
せ、ディスプレイ27にこれを逐次表示させることにし
たが、このプリンタ12が本来の業務としてのプリント
作業を行っている最中のようにフォームメモリ24の残
容量が変動する事態が考えられないような場合や、ディ
スプレイ27が他の内容を表示する必要があるような場
合には、残容量の表示を行う必要がないことはもちろん
である。
In the embodiment, the fixed-cycle timer 44 activates the remaining capacity calculation unit 43 at fixed intervals to calculate the remaining capacity and sequentially displays the remaining capacity on the display 27. When it is unlikely that the remaining capacity of the form memory 24 will fluctuate, such as during the work of printing, or when it is necessary for the display 27 to display other contents. Of course, it is not necessary to display the remaining capacity.

【0031】[0031]

【発明の効果】以上説明したように請求項1および請求
項2記載の発明によれば、プリンタ側で自律的に、例え
ば決まった周期でフォームデータ格納手段の残容量を計
算しディスプレイに表示することにした。したがって、
用紙を無駄に消費することなくプリンタ側のその時々の
残容量を確認することができる。このため、ホストコン
ピュータからフォームデータを転送する前にプリンタ側
のフォームデータ格納手段の登録内容を整理することが
でき、登録が結果的にできなくなるような無駄な転送作
業を防止することができる。
As described above, according to the first and second aspects of the invention, the printer autonomously calculates the remaining capacity of the form data storage means and displays it on the display, for example, at a fixed cycle. It was to be. Therefore,
It is possible to check the remaining capacity at each time on the printer side without wasting paper. Therefore, the registered contents of the form data storage means on the printer side can be organized before transferring the form data from the host computer, and it is possible to prevent useless transfer work that makes registration impossible as a result.

【0032】また、請求項1記載の発明によれば、フォ
ームデータ格納手段の残容量をバイト単位等の所定の単
位でそのまま表示することにしたので、転送しようとす
るフォームに関するデータとの関係でその転送が可能か
否かを適切に判定することができる。
According to the first aspect of the present invention, since the remaining capacity of the form data storage means is displayed as it is in a predetermined unit such as a byte unit, it is related to the data regarding the form to be transferred. It is possible to appropriately determine whether or not the transfer is possible.

【0033】更に請求項2記載の発明によれば、フォー
ムデータ格納手段の使用割合をディスプレイに表示する
ことにしたので、フォームに関するデータのサイズ等の
詳細を知らない者であってもこのフォームデータ格納手
段に対する登録や削除といった管理を容易に行うことが
できるという利点がある。
Further, according to the second aspect of the present invention, since the usage rate of the form data storage means is displayed on the display, even a person who does not know details such as the size of data regarding the form can use this form data. There is an advantage that management such as registration and deletion with respect to the storage means can be easily performed.

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

【図1】 本発明の一実施例におけるプリンタの要部を
機能的に示したブロック図である。
FIG. 1 is a block diagram functionally showing a main part of a printer according to an embodiment of the present invention.

【図2】 本実施例におけるプリンタとホストコンピュ
ータからなるプリントシステムを表わしたシステム構成
図である。
FIG. 2 is a system configuration diagram showing a print system including a printer and a host computer in the present embodiment.

【図3】 本実施例のプリンタの回路構成を表わしたブ
ロック図である。
FIG. 3 is a block diagram showing the circuit configuration of the printer of this embodiment.

【図4】 ホストコンピュータから送られてくるフォー
ム転送データのデータ構成図である。
FIG. 4 is a data configuration diagram of form transfer data sent from a host computer.

【図5】 本実施例でフォーム転送データがプリンタに
転送された場合のインタフェース部の制御内容を表わし
た流れ図である。
FIG. 5 is a flowchart showing the control contents of the interface unit when the form transfer data is transferred to the printer in this embodiment.

【図6】 本実施例でフォームデータ処理部の登録制御
の様子を表わした流れ図である。
FIG. 6 is a flowchart showing a state of registration control of the form data processing unit in the present embodiment.

【図7】 本実施例でフォームメモリにデータが格納さ
れる様子を表わした説明図である。
FIG. 7 is an explanatory diagram showing how data is stored in a form memory in this embodiment.

【図8】 本実施例でフォームメモリの残容量を計算す
るための制御の様子を示す流れ図である。
FIG. 8 is a flow chart showing a state of control for calculating the remaining capacity of the form memory in the present embodiment.

【図9】 本実施例で残容量の表示制御の様子を表わし
た流れ図である。
FIG. 9 is a flowchart showing a state of display control of the remaining capacity in the present embodiment.

【図10】 本実施例で残容量のパーセント表示が行わ
れた状態のディスプレイの平面図である。
FIG. 10 is a plan view of the display in a state where the percentage display of the remaining capacity is performed in the present embodiment.

【図11】 本実施例で残容量がバイト単位で表示され
た状態のディスプレイの平面図である。
FIG. 11 is a plan view of the display in a state where the remaining capacity is displayed in units of bytes in this embodiment.

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

11…ホストコンピュータ、12…プリンタ、21…イ
ンタフェース部、23…フォームデータ処理部、24…
フォームメモリ、26…キーボード、27…ディスプレ
イ、37…表示制御部、39…残容量計算結果表示用デ
ータ、43…残容量計算部、44…定周期タイマ、45
…計算指示信号、51…CPU、53…ROM、54…
作業用メモリ、71…(1セットの)フォーム名および
フォームデータ、72…フォームエンドマーク、73…
メモリエンドマーク
11 ... Host computer, 12 ... Printer, 21 ... Interface section, 23 ... Form data processing section, 24 ...
Form memory, 26 ... Keyboard, 27 ... Display, 37 ... Display control section, 39 ... Remaining capacity calculation result display data, 43 ... Remaining capacity calculating section, 44 ... Fixed period timer, 45
... Calculation instruction signal, 51 ... CPU, 53 ... ROM, 54 ...
Working memory, 71 ... (1 set) form name and form data, 72 ... Form end mark, 73 ...
Memory end mark

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 予め定めたフォームの中から所望のもの
を適宜選択してこれと文字等の他の印字情報を組み合わ
せて印刷するためにこれらフォームを表わしたフォーム
データを格納する所定容量のフォームデータ格納手段
と、 このフォームデータ格納手段に現在格納されているフォ
ームデータの容量を前記所定容量から差し引いた残容量
を所定のタイミングで自律的に算出する残容量算出手段
と、 算出された残容量を視覚的に表示するディスプレイとを
具備することを特徴とするプリンタ。
1. A form of a predetermined capacity for storing form data representing these forms in order to appropriately select a desired form from predetermined forms and print it by combining this with other print information such as characters. A data storage means, a remaining capacity calculation means for autonomously calculating the remaining capacity obtained by subtracting the capacity of the form data currently stored in the form data storage means from the predetermined capacity at a predetermined timing, and the calculated remaining capacity And a display for visually displaying the printer.
【請求項2】 予め定めた定型的なフォームを適宜選択
してこれと文字等の他の印字情報を組み合わせて印刷す
るためにこれらフォームを表わしたフォームデータを格
納する所定容量のフォームデータ格納手段と、 このフォームデータ格納手段に現在格納されているフォ
ームデータが前記所定容量に占める割合を所定のタイミ
ングで自律的に算出するメモリ使用割合算出手段と、 算出されたメモリ使用割合を視覚的に表示するディスプ
レイとを具備することを特徴とするプリンタ。
2. A form data storage means having a predetermined capacity for appropriately selecting a predetermined fixed form and storing form data representing these forms for printing by combining this with other print information such as characters. And a memory usage ratio calculation means for autonomously calculating at a predetermined timing the ratio of the form data currently stored in the form data storage means to the predetermined capacity, and visually displaying the calculated memory usage ratio. A printer comprising:
JP5194436A 1993-08-05 1993-08-05 Printer Pending JPH0747741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5194436A JPH0747741A (en) 1993-08-05 1993-08-05 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5194436A JPH0747741A (en) 1993-08-05 1993-08-05 Printer

Publications (1)

Publication Number Publication Date
JPH0747741A true JPH0747741A (en) 1995-02-21

Family

ID=16324571

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5194436A Pending JPH0747741A (en) 1993-08-05 1993-08-05 Printer

Country Status (1)

Country Link
JP (1) JPH0747741A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0934666A (en) * 1995-07-17 1997-02-07 Nec Corp Documentation device and printer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0934666A (en) * 1995-07-17 1997-02-07 Nec Corp Documentation device and printer

Similar Documents

Publication Publication Date Title
US5937148A (en) Printing system having an interface section for independently informing an external unit of status information of a printing apparatus
US7206830B2 (en) Information equipment system
US7016083B2 (en) Copying machine, copying-operation control device and computer readable recording medium
JP2006252191A (en) Image forming device
KR101305978B1 (en) Image forming apparatus and control method thereof
JP2001199577A (en) Printer and printer system
JPH0747741A (en) Printer
JPH05250108A (en) Print data output controller
JP2008230001A (en) Image forming system
JP2000168202A (en) Printing system and acquiring method for printable number of sheets
JP2861461B2 (en) Image recording device
JP3969761B2 (en) Device driver management method and information processing apparatus
JPH0958068A (en) Printer
JP4199329B2 (en) Printer, operation method thereof, and control information table setting method
KR19990051350A (en) Network Printer Operation
JP3422102B2 (en) Printer
JPH07290794A (en) Printing device and control thereof
JP2004050661A (en) Printer
JPH04338576A (en) Printer device
JPH09131948A (en) Printer device
JPH11240228A (en) Image forming apparatus
JPH09240118A (en) Data processing apparatus and printing control method
JPH06274288A (en) Printer
JPH08142459A (en) Printer
JP2003266888A (en) Printer, printer driver program and computer readable medium