Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2648011B2 - Printer device - Google Patents
[go: Go Back, main page]

JP2648011B2 - Printer device - Google Patents

Printer device

Info

Publication number
JP2648011B2
JP2648011B2 JP2272775A JP27277590A JP2648011B2 JP 2648011 B2 JP2648011 B2 JP 2648011B2 JP 2272775 A JP2272775 A JP 2272775A JP 27277590 A JP27277590 A JP 27277590A JP 2648011 B2 JP2648011 B2 JP 2648011B2
Authority
JP
Japan
Prior art keywords
memory
unit
capacity
free
printer device
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.)
Expired - Lifetime
Application number
JP2272775A
Other languages
Japanese (ja)
Other versions
JPH04147877A (en
Inventor
学 亀田
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.)
HOKURIKU NIPPON DENKI SOFUTOEA KK
Original Assignee
HOKURIKU NIPPON DENKI SOFUTOEA KK
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 HOKURIKU NIPPON DENKI SOFUTOEA KK filed Critical HOKURIKU NIPPON DENKI SOFUTOEA KK
Priority to JP2272775A priority Critical patent/JP2648011B2/en
Publication of JPH04147877A publication Critical patent/JPH04147877A/en
Application granted granted Critical
Publication of JP2648011B2 publication Critical patent/JP2648011B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はプリンタ装置に関し、特にプリンタ装置に保
有するメモリの空き容量を明確にするメモリの空き容量
表示方式を採用したプリンタ装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer device, and more particularly, to a printer device adopting a memory free space display method for clarifying a free space of a memory held in the printer device.

[従来の技術] 第2図に従来のプリンタ装置のブロック図を示し従来
の技術を説明する。
[Prior Art] FIG. 2 is a block diagram of a conventional printer apparatus, and the prior art will be described.

従来のプリンタ装置は、プリンタ装置に保有するメモ
リ部1と、メモリ部1の使用を管理するメモリ管理部2
と、人とプリンタ装置9とのインタフェースをつかさど
るLCD部3と、同じく人とプリンタ装置9とのインタフ
ェースをつかさどるスイッチ部4と、上位装置5から送
られてきたデータを文字あるいは図形として紙上に出力
する機能を持ち、またスイッチ部4の読み取りとLCD部
3への表示機能を持つ制御部6とを備えている。
A conventional printer device includes a memory unit 1 held in the printer device, and a memory management unit 2 for managing use of the memory unit 1.
An LCD unit 3 for controlling an interface between a person and the printer device 9; a switch unit 4 for controlling an interface between the person and the printer device 9; and outputting data sent from the host device 5 as characters or graphics on paper. And a control unit 6 having a function of reading the switch unit 4 and a function of displaying on the LCD unit 3.

上位装置5から送られてきたデータは制御部6で紙上
に出力する文字あるいは図形の原形のデータとして解析
され、メモリに登録するためにメモリ管理部2に対して
メモリ要求する。
The data sent from the host device 5 is analyzed by the control unit 6 as original data of characters or graphics to be output on paper, and a memory request is made to the memory management unit 2 for registration in the memory.

次にメモリ管理部2は、メモリ部1から要求されたサ
イズ分だけメモリを確保しようとするが、メモリ部1に
要求されたサイズ分空きメモリが無い場合は、制御部6
に対して空きメモリが無いことを通知する。
Next, the memory management unit 2 attempts to secure memory for the size requested from the memory unit 1. If there is no free memory for the requested size in the memory unit 1, the control unit 6
Is notified that there is no free memory.

次に制御部6は、メモリ管理部2から通知された空き
メモリがないと言う情報をLCD部3に表示する為、文字
パターンに変換してLCD部3に表示する。すなわち空き
エリアが無いとき初めて前述したメッセージをLCD部3
に表示する。以上のことより予めどの位の容量が空いて
いるか知る手段というものが無かった。
Next, the control unit 6 converts the information that there is no free memory notified from the memory management unit 2 into a character pattern and displays the information on the LCD unit 3 in order to display the information on the LCD unit 3. That is, when there is no free area, the above-described message is first sent to the LCD unit 3.
To be displayed. What that means to know is empty in advance how much of the capacity than that of the above did not.

[発明が解決しようとする課題] 上述した従来のプリンタ装置は、メモリ部1の空き容
量情報を表示する機能を持っていない為、上位装置5か
らプリンタ装置内にデータを登録しようとして、メモリ
の空き容量が無く、LCD部3にメモリが一杯であると言
うメッセージが表示されて初めて、送ったデータが登録
されなかったことを知る。
[Problems to be Solved by the Invention] Since the conventional printer described above does not have a function of displaying the free space information of the memory unit 1, an attempt is made to register data in the printer from the host device 5 and Only when a message indicating that there is no free space and the memory is full on the LCD unit 3 is displayed, it is known that the transmitted data has not been registered.

その時、予めメモリの空き容量が分かっていれば、デ
ータ登録ミスを防ぐことが出来るはずである。
At that time, if the free space of the memory is known in advance, it should be possible to prevent a data registration error.

また、プリンタファームウェアを開発する上で、いろ
いろな障害が発生するが、その一つとしてエラー表示機
能の障害を挙げて説明する。
In addition, various failures occur in developing the printer firmware. One of the failures will be described with reference to a failure in an error display function.

従来の技術で説明したように、メモリ管理部2からメ
モリの空き容量が無かったことを知らされて、制御部6
はLCD部3にメモリが一杯であると言うメッセージを表
示するが、メモリ管理部2からメモリがあると言う通知
を受けたのにもかかわらず、制御部6がLCD部3にメモ
リが一杯であると言うメッセージを表示した場合、メモ
リの空き容量を知る方法が無いと、本当にメモリの空き
容量がないのかそれとも制御部6の障害なのか判断でき
ないと言う欠点がある。
As described in the background art, when the memory management unit 2 is notified that there is no free space in the memory, the control unit 6
Displays a message on the LCD unit 3 indicating that the memory is full, but the control unit 6 displays a message indicating that the memory is full on the LCD unit 3 despite receiving a notification from the memory management unit 2 that the memory is full. If a message indicating that there is, there is a drawback that if there is no way to know the free space in the memory, it cannot be determined whether there is really no free space in the memory or a failure of the control unit 6.

[課題を解決するための手段] 本発明は、上位装置からのデータを記憶するためのメ
モリ部と、前記メモリ部の使用を管理するメモリ管理部
と、プリンタ装置の状態を表示するLCD部と、押された
か離されたかを示す情報を読み取り、その情報を出力す
るスイッチ部と、前記上位装置から送られてきたデータ
を文字あるいは図形として紙上に出力する機能を持ち、
また前記スイッチ部の読み取りと前記LCD部への表示機
能を持つ制御部とを備えたプリンタ装置において、前記
スイッチ部から空きメモリ表示指定を受けた時は、前記
メモリ管理部に空きメモリの容量計算をさせて、その結
果を表示文字パターンとして変換した後前記LCD部に表
示する機能を持つ空きメモリ制御部と、前記メモリ管理
部が空きメモリの計算をする際、計算しやすい様にメモ
リをある大きさのメモリブロックに分割し、分割した部
分が使用済みか未使用かを示す情報を記憶するメモリブ
ロックテーブルとを設け、前記メモリ管理部が未使用の
メモリブロックの容量を合計して空きメモリ容量として
前記空きメモリ制御部へ通知することを特徴とするもの
である。また、本発明は、前記メモリブロックの容量が
等しい大きさになるように分割し、前記メモリブロック
1個の容量に未使用のメモリブロックの個数を掛け算し
た値を空きメモリ容量とすることを特徴としてもよい。
[Means for Solving the Problems] The present invention provides a memory unit for storing data from a host device, a memory management unit for managing use of the memory unit, and an LCD unit for displaying the status of the printer device. Has a function of reading information indicating whether it has been pressed or released, and outputting the information, and a function of outputting data sent from the higher-level device as characters or graphics on paper,
Further, in a printer device provided with a control unit having a function of reading the switch unit and having a display function on the LCD unit, when a free memory display designation is received from the switch unit, the memory management unit calculates the free memory capacity. A free memory control unit having a function of converting the result as a display character pattern and displaying the result on the LCD unit, and a memory so that the memory management unit can easily calculate the free memory when calculating the free memory. A memory block table for storing information indicating whether the divided portion is used or unused, and wherein the memory management unit totals the capacity of the unused memory blocks and The capacity is notified to the empty memory control unit. Further, the present invention is characterized in that the memory blocks are divided so that the capacities of the memory blocks are equal, and a value obtained by multiplying the capacity of one memory block by the number of unused memory blocks is used as a free memory capacity. It may be.

[実施例] 次に本発明の実施例について図面を参照して説明す
る。
[Example] Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例のブロック図である。 FIG. 1 is a block diagram of one embodiment of the present invention.

第3図および第4図は、空きメモリの容量計算を行う
為のメモリとメモリブロックテーブルの対応を示した一
例を示す。
FIGS. 3 and 4 show an example showing the correspondence between the memory for calculating the capacity of the free memory and the memory block table.

第5図は、LCD部にメモリの空き容量を表示した一例
を示す。
FIG. 5 shows an example in which the free capacity of the memory is displayed on the LCD unit.

第1図には、プリンタ装置に保有するメモリ部1と、
メモリ部1の使用を管理するメモリ管理部2と、人とプ
リンタ装置とのインターフェースをつかさどるLCD部3
と、同じく人とプリンタ装置のインターフェースをつか
さどるスイッチ部4と、上位装置5から送られてきた情
報を文字あるいは図形として紙上に出力する機能を持
ち、またスイッチ部4の読み取りとLCD部3への表示機
能を持つ制御部6と、スイッチ部4から空きメモリ表示
指定を受けた時は、メモリ管理部2に空きメモリの容量
計算をさせて、その結果を表示文字パターンとして変換
した後、LCD部3に表示する機能を持つ空きメモリ制御
部8と、メモリ管理2が空きメモリの容量計算をする
際、計算し易いように設けたメモリブロックテーブル7
とが示されている。
FIG. 1 shows a memory unit 1 held in the printer device,
A memory management unit 2 for managing the use of the memory unit 1, and an LCD unit 3 for controlling an interface between a person and a printer.
A switch unit 4 for controlling an interface between a human and a printer, and a function for outputting information sent from the host device 5 as characters or graphics on paper. When a free memory display designation is received from the control unit 6 having a display function and the switch unit 4, the memory management unit 2 is made to calculate the capacity of the free memory, and the result is converted into a display character pattern. 3 and a memory block table 7 provided to facilitate the calculation when the memory management 2 calculates the capacity of the free memory.
Are shown.

第4図のメモリブロックテーブルは、メモリの0番地
から99番地までがメモリブロックテーブルの番号0の情
報に対応している。同様にメモリの100番地から199番地
までがメモリブロックテーブルの番号1の情報に対応
し、メモリの1000番地から1099番地までがメモリブロッ
クテーブルの番号10の情報に対応している。
In the memory block table of FIG. 4, addresses 0 to 99 of the memory correspond to information of the number 0 in the memory block table. Similarly, addresses 100 to 199 of the memory correspond to the information of No. 1 in the memory block table, and addresses 1000 to 1099 of the memory correspond to the information of No. 10 in the memory block table.

第5図のLCDにメモリの空き容量を表示する例は、文
字パターンに変換した数字と、付加した文字列をLCDに
表示したものを示す。
An example of displaying the free space of the memory on the LCD in FIG. 5 is a display of a number converted into a character pattern and an added character string displayed on the LCD.

次に本実施例の動作を説明する。 Next, the operation of this embodiment will be described.

第1図のプリンタ装置は、電源投入時に制御部6がプ
リンタ装置のメモリ部1の容量を把握し、メモリ容量を
決める。
In the printer shown in FIG. 1, when the power is turned on, the control unit 6 grasps the capacity of the memory unit 1 of the printer and determines the memory capacity.

次に、制御部6は、メモリ管理部2に前記メモリ容量
を通知すると、メモリ管理部2は、第3図で示されるメ
モリを100バイト単位に分割し、分割したメモリ群を1
ブロックとしてメモリブロックテーブルを作成する。こ
の時、メモリが10000バイトあるとすると、100ブロック
分のメモリブロックテーブルが必要となる。
Next, when the control unit 6 notifies the memory management unit 2 of the memory capacity, the memory management unit 2 divides the memory shown in FIG.
Create a memory block table as a block. At this time, if the memory has 10,000 bytes, a memory block table for 100 blocks is required.

次に、第1図の上位装置5から送られてきた情報が、
メモリ部1の1000番地から100バイト格納されるとする
と、メモリ管理部2は、第3図で示されるメモリブロッ
クテーブルの番号10の情報のところに「使用した」と言
う情報を書く。この結果が第4図である。
Next, the information sent from the host device 5 in FIG.
Assuming that 100 bytes are stored from address 1000 in the memory unit 1, the memory management unit 2 writes information "used" at the information of the number 10 in the memory block table shown in FIG. FIG. 4 shows the result.

この時、第1図のスイッチ部4を押下して、メモリの
空き容量表示要求をすると、空きメモリ制御部8は、ス
イッチ部4が押下されたことを認識して、メモリ管理部
2に現在のメモリの空き容量計算要求を出す。
At this time, when the switch unit 4 in FIG. 1 is pressed to request the display of the free space of the memory, the free memory control unit 8 recognizes that the switch unit 4 is pressed, and the memory management unit 2 Request to calculate the free space in the memory.

次に、メモリ管理部2は、第4図のメモリブロックテ
ーブルの内で使用されていないメモリブロックの個数を
算出し、100を掛けた値をメモリ空き容量として第1図
の空きメモリ制御部8へ値を返す。ここで100を掛けた
のは、100バイト単位で1ブロックとしたからである。
Next, the memory management unit 2 calculates the number of unused memory blocks in the memory block table of FIG. 4, and sets a value obtained by multiplying 100 by a free memory capacity as a free memory control unit 8 of FIG. Returns the value to The reason for multiplying by 100 is that one block is made in units of 100 bytes.

次に、第1図の空きメモリ制御部8は、メモリ管理部
2から与えられた数字をLCD部3に表示する際、数字と
して認識できるように文字パターンに変換して、新たに
第5図のような文字列を付加し、第1図のLCD部3に表
示する。表示した結果が第5図である。
Next, the free memory control unit 8 shown in FIG. 1 converts the number given from the memory management unit 2 into a character pattern so that it can be recognized as a number when displaying the number on the LCD unit 3, and newly creates a character pattern shown in FIG. Are displayed on the LCD unit 3 in FIG. FIG. 5 shows the displayed result.

[発明の効果] 以上説明したように本発明は、スイッチ押下という事
象で内部メモリの空き容量を計算してLCDに表示するこ
とにより、メモリの空き容量不足のために上位装置から
送信したデータを登録されないと言う事態を未然に防ぐ
という効果がある。
[Effects of the Invention] As described above, the present invention calculates the free space in the internal memory in response to a switch depression event and displays the calculated free space on the LCD, so that the data transmitted from the host device due to lack of free space in the memory can be obtained. This has the effect of preventing the situation of not being registered beforehand.

また、プリンタファームウェア開発段階で、メモリの
空き容量が十分有るのに、メモリの空き容量がないと言
う誤メッセージ表字等の障害を修正する手段としても効
果がある。
Further, at the stage of printer firmware development, there is also an effect as a means for correcting a fault such as an erroneous message expression indicating that there is no free memory space even though there is sufficient free memory space.

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

第1図は本発明の一実施例のブロック図、第2図は従来
のプリンタのブロック図、第3図は第1図中のメモリ部
とメモリブロックテーブルの対応例を示す図、第4図は
第1図中のメモリ部を使用した時のメモリ部とメモリブ
ロックテーブルの対応例を示す図、第5図はLCDにメモ
リの空き容量を表示した例を示す図である。 1……メモリ部、2……メモリ管理部、3……LCD部、
4……スイッチ部、5……上位装置、6……制御部、7
……メモリブロックテーブル、8……空きメモリ制御
部、9……プリンタ装置。
FIG. 1 is a block diagram of one embodiment of the present invention, FIG. 2 is a block diagram of a conventional printer, FIG. 3 is a diagram showing a correspondence example between a memory unit and a memory block table in FIG. 1, and FIG. FIG. 5 is a diagram showing an example of correspondence between a memory unit and a memory block table when the memory unit in FIG. 1 is used, and FIG. 5 is a diagram showing an example in which the free space of a memory is displayed on an LCD. 1 ... memory section, 2 ... memory management section, 3 ... LCD section,
4 switch section, 5 host device, 6 control section, 7
... Memory block table, 8 free memory control unit, 9 printer device.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】上位装置からのデータを記憶するためのメ
モリ部と、前記メモリ部の使用を管理するメモリ管理部
と、プリンタ装置の状態を表示するLCD部と、押された
か離されたかを示す情報を読み取り、その情報を出力す
るスイッチ部と、前記上位装置から送られてきたデータ
を文字あるいは図形として紙上に出力する機能を持ち、
また前記スイッチ部の読み取りと前記LCD部への表示機
能を持つ制御部とを備えたプリンタ装置において、前記
スイッチ部から空きメモリ表示指定を受けた時は、前記
メモリ管理部に空きメモリの容量計算をさせて、その結
果を表示文字パターンとして変換した後前記LCD部に表
示する機能を持つ空きメモリ制御部と、前記メモリ管理
部が空きメモリの計算をする際、計算しやすい様にメモ
リをある大きさのメモリブロックに分割し、分割した部
分が使用済みか未使用かを示す情報を記憶するメモリブ
ロックテーブルとを設け、前記メモリ管理部が未使用の
メモリブロックの容量を合計して空きメモリ容量として
前記空きメモリ制御部へ通知することを特徴とするプリ
ンタ装置。
1. A memory unit for storing data from a host device, a memory management unit for managing the use of the memory unit, an LCD unit for displaying a status of a printer device, A switch unit that reads the information shown and outputs the information, and has a function of outputting data sent from the higher-level device as characters or graphics on paper,
Further, in a printer device provided with a control unit having a function of reading the switch unit and having a display function on the LCD unit, when a free memory display designation is received from the switch unit, the memory management unit calculates the free memory capacity. A free memory control unit having a function of converting the result as a display character pattern and displaying the result on the LCD unit, and a memory so that the memory management unit can easily calculate the free memory when calculating the free memory. A memory block table for storing information indicating whether the divided portion is used or unused, and wherein the memory management unit totals the capacity of the unused memory blocks and A printer device for notifying the empty memory control unit as a capacity.
【請求項2】前記メモリブロックの容量が等しい大きさ
になるように分割し、前記メモリブロック1個の容量に
未使用のメモリブロックの個数を掛け算した値を空きメ
モリ容量とすることを特徴とする請求項1記載のプリン
タ装置。
2. The memory block is divided so that the capacity of the memory block is equal, and a value obtained by multiplying the capacity of one memory block by the number of unused memory blocks is used as a free memory capacity. The printer device according to claim 1, wherein
JP2272775A 1990-10-11 1990-10-11 Printer device Expired - Lifetime JP2648011B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2272775A JP2648011B2 (en) 1990-10-11 1990-10-11 Printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2272775A JP2648011B2 (en) 1990-10-11 1990-10-11 Printer device

Publications (2)

Publication Number Publication Date
JPH04147877A JPH04147877A (en) 1992-05-21
JP2648011B2 true JP2648011B2 (en) 1997-08-27

Family

ID=17518575

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2272775A Expired - Lifetime JP2648011B2 (en) 1990-10-11 1990-10-11 Printer device

Country Status (1)

Country Link
JP (1) JP2648011B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63276627A (en) * 1987-01-29 1988-11-14 Hitachi Ltd print control device
JPS63126947U (en) * 1987-02-06 1988-08-19
JPH01155762A (en) * 1987-12-14 1989-06-19 Canon Inc Picture communication equipment
JPH02277678A (en) * 1989-04-19 1990-11-14 Fuji Xerox Co Ltd Page printer

Also Published As

Publication number Publication date
JPH04147877A (en) 1992-05-21

Similar Documents

Publication Publication Date Title
JP2648011B2 (en) Printer device
JPS6214689A (en) Character output control device
JPS63293650A (en) Information output device
JP2890405B2 (en) Format data creation method
JP2892490B2 (en) Log pointer setting method
JPS60110479A (en) Control device with external character processing function
JP3099326B2 (en) Page printer
JP3554150B2 (en) Font management apparatus, font management method, and storage medium
JPH05225190A (en) Data processor
JPH0569603A (en) Recording device
JPS62108294A (en) Extra character generation system for document generator
JPH08142457A (en) Printing device, message display method, and printing system
JPH0263872A (en) Paper automatic discrimination system for printer
JPH04249168A (en) Page printer
JP2001183946A (en) Image forming device
JPS62209592A (en) Display system of document generator
JPH11224033A (en) Copier management system
JPH05225191A (en) Data processor
JPS5980803U (en) Electronic sequence control device
JPS6158090A (en) Data output system for monochromatic hard copy device
JPH09259315A (en) Monitoring device
JPS61286926A (en) display device
JPH08101790A (en) Information processing device
JPH02189424A (en) Measuring apparatus
JPS59190863A (en) Control system for chinese character printer

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090509

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20100509

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20110509

Year of fee payment: 14

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110509

Year of fee payment: 14