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
JPS6312290B2 - - Google Patents
[go: Go Back, main page]

JPS6312290B2 - - Google Patents

Info

Publication number
JPS6312290B2
JPS6312290B2 JP57220691A JP22069182A JPS6312290B2 JP S6312290 B2 JPS6312290 B2 JP S6312290B2 JP 57220691 A JP57220691 A JP 57220691A JP 22069182 A JP22069182 A JP 22069182A JP S6312290 B2 JPS6312290 B2 JP S6312290B2
Authority
JP
Japan
Prior art keywords
print data
address
data
buffer area
area
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
Application number
JP57220691A
Other languages
Japanese (ja)
Other versions
JPS59121432A (en
Inventor
Hideyuki Mizuta
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP57220691A priority Critical patent/JPS59121432A/en
Publication of JPS59121432A publication Critical patent/JPS59121432A/en
Publication of JPS6312290B2 publication Critical patent/JPS6312290B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

【発明の詳細な説明】 (a) 発明の技術分野 本発明はメモリの一領域を印字データバツフア
として使用する印字装置に係り、特に該メモリの
一領域を循環メモリとして使用することにより、
効率的な印字動作を得る印字装置の印字データバ
ツフアリング方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Technical Field of the Invention The present invention relates to a printing device that uses an area of a memory as a print data buffer, and in particular, by using an area of the memory as a circular memory.
The present invention relates to a print data buffering method for a printing device that achieves efficient printing operations.

(b) 従来技術と問題点 メモリの一領域を印字データバツフアとして使
用する印字装置は、印字データ領域として使用を
割当られたメモリ領域の先頭アドレスより印字デ
ータを格納し、印字装置の制御側で該メモリ領域
の先頭アドレスより印字データを取り出して印字
制御を行つていた。従つて該メモリ領域は一つの
印字処理に占有されるため、該印字処理が完了す
る迄次の処理に移ることが出来ない。即ちメモリ
領域に格納された印字データが総て印字の完了す
る迄、該メモリ領域の大部分は印字が終わつて次
の印字データを格納し得る状態と成つているにも
拘わらず、比較的に時間の掛かる印字動作の間、
次のデータの格納を待たされるため、印字動作の
処理効率が悪く、且つメモリ領域も常に全領域が
使用されるわけでもないため使用効率が悪いとい
う欠点がある。
(b) Prior Art and Problems A printing device that uses an area of memory as a print data buffer stores print data from the first address of the memory area allocated for use as the print data area, and the control side of the printing device Printing control was performed by extracting print data from the first address of the memory area. Therefore, since the memory area is occupied by one print process, it is not possible to proceed to the next process until the print process is completed. In other words, until all the print data stored in the memory area is printed, even though most of the memory area has finished printing and is ready to store the next print data, it is relatively During the time-consuming printing operation,
Since the storage of the next data has to be waited for, the processing efficiency of the printing operation is poor, and the memory area is not always used in its entirety, resulting in poor usage efficiency.

(c) 発明の目的 本発明の目的は上記欠点を除くため、制御用の
レジスタを用意し、メモリの印字データ格納領域
を循環メモリとして使用することにより、印字デ
ータを格納後該データの印字終了を待たずに次の
印字データを格納し、該メモリ領域を一杯に使用
して、印字処理の効率とメモリ使用の効率を高め
る印字装置の印字データバツフアリング方式を提
供することにある。
(c) Object of the invention In order to eliminate the above-mentioned drawbacks, the object of the present invention is to provide a control register and use the print data storage area of the memory as a circular memory so that printing of the data can be completed after storing the print data. To provide a print data buffering system for a printing device that stores the next print data without waiting for the next print data, uses the memory area to its full capacity, and improves print processing efficiency and memory use efficiency.

(d) 発明の構成 本発明の構成はメモリの一領域を印字データバ
ツフアとして使用する印字装置に於て、印字デー
タ格納用アドレスポインタ(アドレスを指示する
レジスタ又はカウンタ)と、印字データ取出用ア
ドレスポインタと、印字データ数カウントレジス
タとを設け、該メモリの一領域を循環メモリとし
て利用する様にしたものである。
(d) Structure of the Invention The structure of the present invention is that, in a printing device that uses an area of memory as a print data buffer, an address pointer for storing print data (register or counter for specifying an address) and an address pointer for retrieving print data are used. A register for counting the number of print data is provided, and one area of the memory is used as a circular memory.

(e) 発明の実施例 図は本発明の一実施例を説明するブロツク図で
ある。1はメモリの印字データ領域である。2は
印字データ格納用アドレスポインタ、3は印字デ
ータ取出用アドレスポインタ、4は印字データ数
カウントレジスタである。初期設定は印字データ
領域1の先頭アドレスを印字データ格納用アドレ
スポインタ2、印字データ取出用アドレスポイン
タ3に設定し、印字データ数カウントレジスタ4
を零にする。
(e) Embodiment of the invention The figure is a block diagram illustrating an embodiment of the invention. 1 is a print data area of memory. 2 is an address pointer for storing print data, 3 is an address pointer for retrieving print data, and 4 is a print data count register. Initial settings are to set the start address of print data area 1 to print data storage address pointer 2, print data retrieval address pointer 3, and print data number count register 4.
Make it zero.

次に印字データを格納するため、印字データ格
納用アドレスポインタ2で示されたアドレスより
印字データを格納し、最後にデータを格納したア
ドレスの次のアドレスを印字データ格納用アドレ
スポインタ2にセツトする。印字データ格納中に
格納アドレスが印字データ領域1の最終アドレス
に達した場合は、印字データ領域1の先頭アドレ
スに戻りデータの格納を続ける。該格納終了後印
字データ数カウントレジスタ4に格納したデータ
数を加算する。若し印字データ領域1に格納しよ
うとするデータ数をNとし、印字データ領域1の
容量をMとし、印字データ数カウントレジスタの
値をDとすればM≧D+N の関係式が成立しない場合、印字データ領域1に
空き領域が無いので、印字装置の制御部の処理に
よつて印字データ領域1の空くのを待つ。
Next, to store the print data, store the print data from the address indicated by print data storage address pointer 2, and set the address next to the address where data was last stored to print data storage address pointer 2. . If the storage address reaches the final address of the print data area 1 while printing data is being stored, the process returns to the start address of the print data area 1 and continues storing the data. After the storage is completed, the number of data stored in the print data count register 4 is added. If the number of data to be stored in print data area 1 is N, the capacity of print data area 1 is M, and the value of the print data number count register is D, if the relational expression M≧D+N does not hold, then Since there is no free space in the print data area 1, the process waits for the print data area 1 to become free through processing by the control section of the printing device.

印字装置の制御部はDが零の場合は印字データ
領域1にデータが無いので、印字データの格納さ
れるのを待つ。Dが1以上の数を示し、印字デー
タの有ることを表した場合、該制御部は印字デー
タ取出用アドレスポインタ3の指示するアドレス
より印字データを取り出し、印字を開始させる。
最後にデータを取り出したアドレスの次のアドレ
スを印字データ取出用アドレスポインタ3にセツ
トする。印字データ取り出し中に印字データ領域
1の最終アドレスに達した時は、印字データ領域
1の先頭アドレスに戻つてデータの取り出しを続
ける。データの取り出し終了後印字データ数カウ
ントレジスタ4の値Dより取り出したデータ数を
減算する。
If D is zero, there is no data in print data area 1, so the control section of the printing device waits for print data to be stored. When D indicates a number greater than or equal to 1, indicating that print data is present, the control section retrieves the print data from the address indicated by the print data retrieval address pointer 3 and starts printing.
The address next to the address from which data was last extracted is set in the print data extraction address pointer 3. When the final address of print data area 1 is reached during print data extraction, the process returns to the first address of print data area 1 and continues data extraction. After the data has been taken out, the number of data taken out is subtracted from the value D of the print data count register 4.

以上の動作を続けることにより、印字データ領
域1を循環メモリとして使用することが可能であ
る。
By continuing the above operations, it is possible to use print data area 1 as a circular memory.

(f) 発明の効果 以上説明した如く、本発明はメモリの印字デー
タ格納領域を循環メモリとして使用することによ
り、印字データを格納後該データの印字終了を待
たずに次の印字データを格納し、該メモリ領域を
一杯に使用して、印字処理の効率とメモリ使用の
効率を高めることが可能なため、その効果は大な
るものがある。
(f) Effects of the Invention As explained above, the present invention uses the print data storage area of the memory as a circular memory, so that after storing print data, the next print data can be stored without waiting for the printing of the previous data to finish. , it is possible to use the memory area to its full capacity to increase the efficiency of printing processing and the efficiency of memory usage, which has great effects.

【図面の簡単な説明】[Brief explanation of the drawing]

図は本発明の一実施例を説明するブロツク図で
ある。 1は印字データ領域、2は印字データ格納用ア
ドレスポインタ、3は印字データ取出用アドレス
ポインタ、4は印字データ数カウントレジスタで
ある。
The figure is a block diagram illustrating one embodiment of the present invention. 1 is a print data area, 2 is an address pointer for storing print data, 3 is an address pointer for extracting print data, and 4 is a print data count register.

Claims (1)

【特許請求の範囲】 1 メモリの一領域を印字データバツフアとして
使用する印字装置において、 該印字データバツフア領域の先頭アドレスか
ら、書込みデータ量に対応して該印字データバツ
フア領域のアドレスを順次歩進させ、該印字デー
タバツフア領域の最終アドレスに到達すると、再
び該先頭アドレスに戻つて該印字データバツフア
領域のアドレスを順次歩進させる印字データ格納
用アドレスポインタと、 該印字データバツフア領域の先頭アドレスか
ら、読出しデータ量に対応して該印字データバツ
フア領域のアドレスを順次歩進させ、該印字デー
タバツフア領域の最終アドレスに到達すると、再
び該先頭アドレスに戻つて該印字データバツフア
領域のアドレスを順次歩進させる印字データ取出
用アドレスポインタと、 書込みデータ量で加算され、読出しデータ量で
減算される印字データ数カウントレジスタとを設
け、 書込みデータ量をNとし、該印字データバツフ
ア領域の容量をMとし、印字データ数カウントレ
ジスタの値をDとした時、M≧D+Nが成立する
場合は、印字データ格納用アドレスポインタが指
示するアドレスからデータを書込み、最後に書込
んだアドレスの次のアドレスを印字データ格納用
アドレスポインタにセツトすると共に、該印字デ
ータ数カウントレジスタの値のDに書込んだデー
タ量を加算し、M≧D+Nが成立しない場合は、
データの書込みを待ち、印字データ数カウントレ
ジスタの値のDが零の場合はデータの読出しを待
ち、印字データ数カウントレジスタの値のDが1
以上の値を示した場合は、印字データ取出用アド
レスポインタの指示するアドレスからデータを読
出し、最後に読出したデータのアドレスの次のア
ドレスを印字データ取出用アドレスポインタにセ
ツトすると共に、該印字データ数カウントレジス
タの値のDより読出したデータ量を減算すること
を特徴とする印字装置の印字データバツフアリン
グ方式。
[Scope of Claims] 1. In a printing device that uses an area of memory as a print data buffer, the address of the print data buffer area is sequentially incremented from the first address of the print data buffer area in accordance with the amount of data to be written; When the final address of the print data buffer area is reached, the address pointer for storing print data returns to the first address and sequentially increments the address of the print data buffer area, and the address pointer corresponds to the amount of read data from the first address of the print data buffer area. and sequentially increments the address of the print data buffer area, and when the final address of the print data buffer area is reached, returns to the first address and sequentially increments the address of the print data buffer area. , a print data number count register that is added by the write data amount and subtracted by the read data amount, where the write data amount is N, the capacity of the print data buffer area is M, and the value of the print data count register is D. When M≧D+N holds true, data is written from the address indicated by the print data storage address pointer, and the address next to the last written address is set in the print data storage address pointer, Add the written data amount to the value D of the print data number count register, and if M≧D+N does not hold,
Wait for the data to be written, and if the value D of the print data number count register is zero, wait for the data to be read, and if the value D of the print data number count register is 1.
If the above value is indicated, data is read from the address indicated by the print data retrieval address pointer, the address next to the address of the last read data is set in the print data retrieval address pointer, and the print data is A printing data buffering method for a printing device, characterized in that the amount of data read is subtracted from the value D of a number count register.
JP57220691A 1982-12-16 1982-12-16 Print data buffering system of printer Granted JPS59121432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57220691A JPS59121432A (en) 1982-12-16 1982-12-16 Print data buffering system of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57220691A JPS59121432A (en) 1982-12-16 1982-12-16 Print data buffering system of printer

Publications (2)

Publication Number Publication Date
JPS59121432A JPS59121432A (en) 1984-07-13
JPS6312290B2 true JPS6312290B2 (en) 1988-03-18

Family

ID=16754968

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57220691A Granted JPS59121432A (en) 1982-12-16 1982-12-16 Print data buffering system of printer

Country Status (1)

Country Link
JP (1) JPS59121432A (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6149871A (en) * 1984-08-18 1986-03-11 Hitachi Koki Co Ltd Printing-controlling method for page printer
JPS61156429A (en) * 1984-12-28 1986-07-16 Brother Ind Ltd Printer
JPH082665B2 (en) * 1986-08-13 1996-01-17 株式会社日立製作所 Character expansion control circuit
US5293490A (en) * 1989-03-06 1994-03-08 Brother Kogyo Kabushiki Kaisha Data buffering device having simple data reading and/or storing function
JPH04319459A (en) * 1991-04-18 1992-11-10 Sanyo Electric Co Ltd Memory control system of information processor
JP2003305895A (en) 2002-04-15 2003-10-28 Canon Inc Image forming system, recording apparatus, and recording control method
JP3826066B2 (en) 2002-04-15 2006-09-27 キヤノン株式会社 Recording apparatus and recording apparatus control method
EP1355265B1 (en) 2002-04-15 2016-04-13 Canon Kabushiki Kaisha Colour data buffering for colour printing

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52129341A (en) * 1976-04-23 1977-10-29 Nec Corp Data buffer circuit
JPS5845732B2 (en) * 1977-02-15 1983-10-12 株式会社日立製作所 Printing control device
JPS53100744A (en) * 1977-02-16 1978-09-02 Hitachi Ltd Buffer control system
JPS543419A (en) * 1977-06-09 1979-01-11 Canon Inc Recording paper driving device for facsimile
JPS607812B2 (en) * 1977-07-11 1985-02-27 富士電機株式会社 Data buffering device
JPS5936316B2 (en) * 1978-09-22 1984-09-03 株式会社日立製作所 Printing or display device
JPS5932815B2 (en) * 1980-04-09 1984-08-11 株式会社日立製作所 data processing system
JPS5759242A (en) * 1980-09-26 1982-04-09 Jeol Ltd Buffer memory circuit of computer output equipment
JPS5769444A (en) * 1980-10-17 1982-04-28 Fujitsu Ltd Printing method
JPS57123462A (en) * 1981-01-26 1982-07-31 Nec Corp Working analyzing circuit of data processor

Also Published As

Publication number Publication date
JPS59121432A (en) 1984-07-13

Similar Documents

Publication Publication Date Title
GB886889A (en) Improvements in memory systems for data processing devices
JPH0149989B2 (en)
JPS6312290B2 (en)
JPH03130984A (en) Semiconductor memory device and control method for the same
GB1310467A (en) Apparatus for exchanging information between a high-speed memory and a low-speed memory
US4388687A (en) Memory unit
JPS6046447B2 (en) Track buffer memory method
JPS5533282A (en) Buffer control system
JPS5745658A (en) Data storage system
JPS6360428B2 (en)
JPS60186964A (en) vector processing device
JPS5987567A (en) Variable length data storage controlling system
JPS63187349A (en) Storage device
JP2932568B2 (en) Data communication device
JPS61177557A (en) Control system for cache memory
JPS59180878A (en) Control system for buffer storage
JP2540844B2 (en) Data transfer control method
JPS61228540A (en) Cache memory control system
JPH038198A (en) Data recording system
JPS61851A (en) Data chain system of direct memory access circuit
GB1176689A (en) Message Retrieval Systems.
JPH04248655A (en) Information processor
JPS6136666B2 (en)
JPH04236639A (en) File space management system
JPS6243737A (en) Interrupt control method