JPH0417460B2 - - Google Patents

Info

Publication number
JPH0417460B2
JPH0417460B2 JP59033521A JP3352184A JPH0417460B2 JP H0417460 B2 JPH0417460 B2 JP H0417460B2 JP 59033521 A JP59033521 A JP 59033521A JP 3352184 A JP3352184 A JP 3352184A JP H0417460 B2 JPH0417460 B2 JP H0417460B2
Authority
JP
Japan
Prior art keywords
buffer
output
information
data
received
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
JP59033521A
Other languages
Japanese (ja)
Other versions
JPS60178528A (en
Inventor
Yoshinori Sugawara
Shigenori Koyata
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 JP59033521A priority Critical patent/JPS60178528A/en
Publication of JPS60178528A publication Critical patent/JPS60178528A/en
Publication of JPH0417460B2 publication Critical patent/JPH0417460B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Description

【発明の詳細な説明】 (a) 発明の技術分野 本発明は入出力装置のバツフア制御方式、特に
出力すべき情報をホスト計算機等より受信して一
時保持する為の、受信バツフアの制御方式に関す
る。
[Detailed Description of the Invention] (a) Technical Field of the Invention The present invention relates to a buffer control method for an input/output device, and particularly to a receive buffer control method for receiving and temporarily holding information to be output from a host computer, etc. .

(b) 技術の背景 事務、技術その他の可視資料には、理解を容易
にするために、文字の他に図形、グラフ、表、及
び所謂自然画等を用いて表現することが望まれる
ことが多い。このような需要に応じて、コード化
された一定の文字等のみでなく、所謂ドツトイメ
ージの表示の可能な表示装置及びプリンタ等の使
用が多くなつている。
(b) Technical background In order to make administrative, technical, and other visible materials easier to understand, it is desirable to use figures, graphs, tables, and so-called natural pictures in addition to letters. many. In response to such demands, display devices and printers that are capable of displaying not only certain coded characters but also so-called dot images are increasingly being used.

(c) 従来技術と問題点 一般に、ドツトイメージの表示可能なプリンタ
等においては、符号化された文字データ、ベクト
ル方式等で符号化された図形データ、及びプリン
タ等の出力ドツトにそのまゝ対応するビツト列で
構成されたイメージデータがホスト計算機等から
入力され、それらを画面バツフアに出力1頁分の
ドツトイメージとして展開した後、出力される。
そのために、上記の各種入力データを一旦保持す
るための受信バツフアを必要とする。
(c) Prior art and problems In general, printers that can display dot images can directly handle encoded character data, graphic data encoded using a vector method, etc., and output dots from the printer, etc. Image data consisting of a bit string is input from a host computer, etc., and after being developed into a screen buffer as a dot image for one page, it is output.
Therefore, a receiving buffer is required to temporarily hold the various input data mentioned above.

ところで、例えばA4版の用紙をドツトイメー
ジのみで埋めるとすれば、少なくとも600000バイ
トをこえるドツト情報を必要とし、高品質の表示
のためには更に多くのドツト数を要するので、バ
ツフアはそのような要求に対応する必要がある
が、一方で入出力装置の低廉化の要求から、バツ
フア量は必要最小限におさえられる。
By the way, for example, if you fill an A4 sheet of paper with only dot images, you will need at least 600,000 bytes of dot information, and even more dots are required for high-quality display, so the buffer is It is necessary to meet the demand, but on the other hand, due to the demand for lower cost input/output devices, the amount of buffer is kept to the minimum necessary.

ホスト計算機等から受信する情報は、1頁出力
に必要な全情報が揃う前に画面バツフアに展開を
始めることができ、且つ展開してしまつた情報
は、通常は保存する必要がないので、受信バツフ
アは全情報を保持している必要がない。このよう
な場合は、1頁の出力の為に必要な受信バツフア
の容量は比較的小さいので、2頁の情報を交互に
受信し、受信バツフアの一方の領域の内容を展開
中に、他方の領域へ他の頁を受信することによ
り、出力処理の効率を上げ、高速化をはかること
ができる。
Information received from a host computer, etc. can begin to be expanded on the screen before all the information necessary to output one page is gathered, and information that has been expanded usually does not need to be saved. Batsuhua does not need to hold all the information. In such a case, the capacity of the receiving buffer required to output one page is relatively small, so two pages of information are received alternately, and while the contents of one area of the receiving buffer are being expanded, the other area is being expanded. By receiving other pages into the area, the efficiency and speed of output processing can be increased.

しかし、別の場合として、同じ文字、図形、イ
メージ等のデータを、複数の異なる出力フオーム
に記入する印刷形式(以下において、このような
印刷形式をマルチコピーという。)が要求される。
このような要求の典型的なものは各種の伝票類に
見ることができる。
However, in other cases, a printing format is required in which data such as the same characters, graphics, images, etc. are written in a plurality of different output forms (hereinafter, such a printing format is referred to as multicopy).
Typical such requests can be found in various documents.

このような出力形式の場合に、前記の方式でバ
ツフアを使用すると、前に受信した情報が保存さ
れないので、同じデータを異なる出力フオームの
数だけ重複してホスト計算機から伝送することが
必要になる。従つて、この場合には1頁分の全情
報を必要な期間保存し、画面バツフアへの展開に
繰り返して使用できるようなバツフア制御方式の
方が望ましいが、従来このような相反する両要求
を経済的に満足させる適切なバツフア制御方式は
無かつた。
In the case of such an output format, if a buffer is used in the above method, the previously received information will not be saved, so the same data will need to be transmitted from the host computer twice as many times as there are different output formats. . Therefore, in this case, it is preferable to use a buffer control method that can store all the information for one page for the necessary period of time and use it repeatedly for expansion to the screen buffer. There is no suitable buffer control method that is economically satisfactory.

(d) 発明の目的 従つて本発明の目的は、上記従来の問題点を解
決し、1種類のバツフアによつて、交替バツフア
方式及び、マルチコピーに適したバツフア方式の
両者に適合し得るバツフア制御方式を提供するに
ある。
(d) Object of the invention Therefore, the object of the present invention is to solve the above-mentioned conventional problems and to provide a buffer that can be adapted to both a replacement buffer system and a buffer system suitable for multi-copy using one type of buffer. To provide a control method.

(e) 発明の構成 この目的は、入力情報をバツフアに受信し、該
バツフア上の該入力情報を展開して出力情報を生
成する入出力装置のバツフア制御方式において、
該入力情報に付して受信する出力形式指定に応じ
て、第1の出力形式の場合には、該バツフアの所
定の受信領域を2分し、異なる2頁の該出力情報
とする各該入力情報を分割して、交互に受信し、
各該受信した入力情報を各該分割した受信領域に
順次重ね書きし、第2の出力形式の場合には、1
頁の該出力情報とする該入力情報を受信して、該
受信した入力情報を該受信領域全体を使用して保
持するように構成されていることを特徴とするバ
ツフア制御方式によつて達成することができる。
(e) Structure of the Invention The object is to provide a buffer control method for an input/output device that receives input information in a buffer, expands the input information on the buffer, and generates output information.
In accordance with the output format designation received with the input information, in the case of the first output format, the predetermined reception area of the buffer is divided into two, and each of the input information is divided into two different pages of the output information. Divide the information and receive it alternately,
Each received input information is sequentially overwritten in each divided reception area, and in the case of the second output format, 1
This is achieved by a buffer control method characterized in that the input information is received as the output information of the page, and the received input information is held using the entire reception area. be able to.

(f) 発明の実施例 第1図により、本発明に関連するデータの流れ
を説明する。10は本発明を適用する入出力装置
の一例であるプリンタ装置であり、線路12によ
りホスト計算機11と接続される。プリンタ装置
10内のインタフエース制御回路18がホストと
のデータ授受を制御する。このインタフエースは
公知のバイト直列或いはビツト直列にデータを伝
送する標準的なインタフエースでよい。
(f) Embodiments of the Invention The flow of data related to the present invention will be explained with reference to FIG. Reference numeral 10 denotes a printer device which is an example of an input/output device to which the present invention is applied, and is connected to a host computer 11 by a line 12. An interface control circuit 18 within the printer device 10 controls data exchange with the host. This interface may be any standard interface for transmitting data in a byte-serial or bit-serial manner as is known in the art.

プリンタ装置10はマイクロプロセツサ13が
読み出し専用メモリ14上のプログラムに従つて
全般を制御する。
The printer device 10 is generally controlled by a microprocessor 13 according to a program stored in a read-only memory 14.

プリンタ24へ出力すべき情報は、ホスト計算
機から線路12、インタフエース制御回路18を
経て、受信バツフア16に格納される。ホスト計
算機から送られる情報は、第2図に例示するよう
に出力形式の指定等の制御情報1と、それに続く
データからなり、データはプリンタ出力となるべ
き各種データ3,5,7等から成る。それらは、
1頁の出力を構成する為の全データ又はその一部
である。
Information to be output to the printer 24 is stored in the receiving buffer 16 from the host computer via the line 12 and the interface control circuit 18. The information sent from the host computer consists of control information 1, such as specifying the output format, and the following data, as illustrated in Figure 2, and the data consists of various data 3, 5, 7, etc. that should be output to the printer. . They are,
This is all or part of the data for configuring one page of output.

プロセツサ13は受信バツフア16上の受信情
報の制御情報に基づいて、受信データの文字デー
タ、図形データ、イメージデータ、及びフオーム
オーバレイデータを画面バツフア20上に展開す
る。画面バツフア20はプリンタ出力のドツトイ
メージに直接対応するビツトパターンを保持する
メモリである。展開処理において、受信文字デー
タはキヤラクタジエネレータメモリ19により各
文字符号をビツトパターンに変換してメモリ20
へ転送される。図形データ例えばベクトル等の幾
何図形要素として符号化されているものを文字デ
ータと類似の方法でメモリ20上のビツトパター
ンに変換される。フオームオーバレイデータは一
般に予めホストから転送されてバツフア16に保
存されており、その内容は図形データと同様の符
号化がされているもので、出力の所謂帳票フオー
ム等を形成するものである。保存されているフオ
ームオーバレイデータには例えば番号が付され、
何れのフオームオーバレイデータを使うかは、ホ
ストからの入力情報の中の制御情報において指定
される。
The processor 13 develops the character data, graphic data, image data, and form overlay data of the received data on the screen buffer 20 based on the control information of the received information on the reception buffer 16. Screen buffer 20 is a memory that holds bit patterns that directly correspond to dot images output by the printer. In the expansion process, the received character data is converted into a bit pattern by the character generator memory 19, and then stored in the memory 20.
will be forwarded to. Graphic data encoded as geometric graphic elements such as vectors are converted into bit patterns on the memory 20 in a manner similar to character data. The form overlay data is generally transferred from the host and stored in the buffer 16 in advance, and its contents are encoded in the same way as the graphic data, forming the so-called form of output. For example, the saved form overlay data is numbered and
Which form overlay data is to be used is specified in the control information included in the input information from the host.

イメージデータは本来出力ドツトに直接対応す
るビツトパターンであるが、大量のデータとなる
ので、通常伝送及び記憶中は圧縮符号化されてい
る。圧縮方式は公知の各種ランレングス符号或い
はその簡易形式等の一つでよく、例えば連続する
同符号ビツトを短い符府に代えるようなものであ
る。プロセツサ13はバツフア16上の圧縮され
ているイメージデータを原ビツトパターンに復元
して画面バツフア20へ配置する。画面バツフア
20は2頁分の展開領域を持つものとするが、そ
の使い方は後述する。
Image data is originally a bit pattern that directly corresponds to the output dots, but since it is a large amount of data, it is usually compressed and encoded during transmission and storage. The compression method may be one of various known run-length codes or a simplified form thereof, such as replacing consecutive bits of the same code with short codes. The processor 13 restores the compressed image data on the buffer 16 to the original bit pattern and places it on the screen buffer 20. The screen buffer 20 is assumed to have a development area of two pages, and its usage will be described later.

画面バツフア20上に1頁の出力ビツトパター
ンが完成すると、プロセツサ13の指令により、
プリンタ制御回路22が画面バツフア20上の情
報に従つてプリンタ24を駆動する。
When one page of output bit patterns is completed on the screen buffer 20, the processor 13 commands the
Printer control circuit 22 drives printer 24 according to information on screen buffer 20.

受信バツフア16上の受信データの配置例を第
3図に示す。ブロツク30は予め受信して保存さ
れているフオームオーバレイデータの格納領域、
ブロツク32は印刷等の制御情報の受信領域であ
る。ブロツク34及び35は図形データ、36及
び37は文字データ、38及び39はイメージデ
ータの受信領域であり、34,36及び38又は
35,37及び39がそれぞれ1頁の出力データ
に対応する受信データを構成するように使用さ
れ、従つて2頁のデータが共存し得る。こゝで3
4〜37の図形及び文字データは通常1頁分の全
データが各1ブロツクの領域に納まるが、イメー
ジデータはブロツク38又は39には納まりきれ
ない。従つてプロセツサ13はブロツク38が受
信データで満たされると、それを画面バツフア2
0の一方の頁に展開し、その間に画面バツフア2
0のもう一方の頁へ展開すべきイメージデータを
ホスト計算機に要求して、ブロツク39に受信す
る。このようにして、展開し終わつた方のブロツ
クには次の受信データが書き込まれ、前のデータ
は無くなるが、画面バツフア20上には2頁の画
面が並行して構成される。
An example of arrangement of received data on the reception buffer 16 is shown in FIG. Block 30 is a storage area for form overlay data received and stored in advance;
Block 32 is a receiving area for control information such as printing. Blocks 34 and 35 are receiving areas for graphic data, 36 and 37 are receiving areas for character data, and 38 and 39 are receiving areas for image data, and blocks 34, 36, and 38 or 35, 37, and 39 are receiving data corresponding to one page of output data, respectively. Therefore, two pages of data can coexist. here 3
For the graphic and character data 4 to 37, all the data for one page usually fits into each one block area, but the image data cannot fit into the block 38 or 39. Therefore, when block 38 is filled with received data, processor 13 transfers it to screen buffer 2.
0 on one page, and in the meantime, the screen buffer 2
The image data to be expanded to the other page of 0 is requested from the host computer, and block 39 receives the image data. In this way, the next received data is written into the block that has been expanded, and the previous data is lost, but two pages of screens are constructed in parallel on the screen buffer 20.

プロセツサ13がブロツク32に受信した制御
情報によつてマルチコピー指定と識別した場合に
は、受信バツフア16の領域を第4図のように指
定して後続データを受信する。第4図において、
ブロツク30a,30b及び32は第3図と同じ
フオームオーバレイデータ及び制御情報である。
ブロツク40には1頁の図形データ、42には同
じ1頁の文字データを受信する。それらはそれぞ
れ第3図のブロツク34及び36に対応する。
When the processor 13 identifies multi-copy designation based on the control information received by the block 32, the area of the reception buffer 16 is designated as shown in FIG. 4 to receive subsequent data. In Figure 4,
Blocks 30a, 30b and 32 are the same form overlay data and control information as in FIG.
Block 40 receives one page of graphic data, and block 42 receives the same page of character data. They correspond to blocks 34 and 36, respectively, in FIG.

バツフア16の残りの領域をブロツク44とし
て、こゝにイメージデータを受信する。この領域
は第3図のブロツク36〜39を併せた広さとな
るので、実用上差支えない程度の出力画面の大き
さの制限(例えばA4判以下とする。)において、
1頁の全イメージデータを一度にブロツク44に
納めるようにすることができる。
The remaining area of the buffer 16 is used as a block 44 to receive image data. This area is the combined area of blocks 36 to 39 in Figure 3, so if the size of the output screen is limited to a level that does not cause any practical problems (for example, A4 size or less),
All image data for one page can be stored in block 44 at one time.

マルチコピー指定においては、その制御情報で
2以上のフオームオーバレイデータの番号が指定
される。プロセツサ13は、ブロツク40,42
及び44のデータに、指定のフオームオーバレイ
データ例えばブロツク30aのデータを組も合わ
せて、画面バツフア20上に1頁の出力を展開
し、プリンタに出力させる。次に再びブロツク4
0,42、及び44のデータと、例えばブロツク
30bのデータを画面バツフア20に展開する。
このようにして、同じデータを使つて複数種類の
印刷出力を順次に画面バツフア20に展開するこ
とができる。
In multi-copy designation, two or more form overlay data numbers are designated by the control information. The processor 13 processes blocks 40 and 42.
and 44 are combined with specified form overlay data, for example, the data of block 30a, one page of output is developed on the screen buffer 20 and output to the printer. Then block 4 again
The data of blocks 0, 42, and 44 and, for example, the data of block 30b are expanded to the screen buffer 20.
In this way, multiple types of print output can be sequentially developed on the screen buffer 20 using the same data.

(g) 発明の効果 以上の説明により明らかなように、本発明をプ
リンタ装置等のバツフアに適用すれば、1個の比
較的小容量のメモリをバツフアとして使用するこ
とにより、通常の出力形式とマルチコピー出力形
式の両者にバツフアリング方式を適合させること
ができるので、高性能の入出力装置を経済的に構
成することが可能になる。
(g) Effect of the invention As is clear from the above explanation, if the present invention is applied to a buffer such as a printer device, by using one relatively small capacity memory as a buffer, it is possible to achieve the same output format as the normal output format. Since the buffering method can be adapted to both multi-copy output formats, it becomes possible to economically construct a high-performance input/output device.

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

第1図は入出力装置の一構成例え示すブロツク
図、第2図ホスト計算機から伝送される情報の形
式例を示す図、第3図及び第4図は受信バツフア
の領域割当説明図である。図において、10はプ
リンタ装置、11はホスト計算機、13はプロセ
ツサ、14は読出し専用メモリ、16は受信バツ
フア、18はインタフエース制御回路、20は画
面バツフア、22はプリンタ制御回路、24はプ
リンタである。
FIG. 1 is a block diagram illustrating the configuration of an input/output device, FIG. 2 is a diagram illustrating an example of the format of information transmitted from a host computer, and FIGS. 3 and 4 are diagrams illustrating area allocation of a receiving buffer. In the figure, 10 is a printer device, 11 is a host computer, 13 is a processor, 14 is a read-only memory, 16 is a reception buffer, 18 is an interface control circuit, 20 is a screen buffer, 22 is a printer control circuit, and 24 is a printer. be.

Claims (1)

【特許請求の範囲】 1 入力情報をバツフアに受信し、該バツフア上
の該入力情報を展開して出力情報を生成する入出
力装置のバツフア制御方式において、 該入力情報に付して受信する出力形式指定に応
じて、第1の出力形式の場合には、該バツフアの
所定の受信領域を2分し、異なる2頁の該出力情
報とする各該入力情報を分割して、交互に受信
し、各該受信した入力情報を各該分割した受信領
域に順次重ね書きし、 第2の出力形式の場合には、1頁の該出力情報
とする該入力情報を受信して、該受信した入力情
報を該受信領域全体を使用して保持するように構
成されていることを特徴とするバツフア制御方
式。
[Scope of Claims] 1. In a buffer control method for an input/output device that receives input information in a buffer and generates output information by expanding the input information on the buffer, the output is received along with the input information. In accordance with the format designation, in the case of the first output format, the predetermined reception area of the buffer is divided into two, and each input information to be output information on two different pages is divided and received alternately. , sequentially overwrite each of the received input information in each of the divided reception areas, and in the case of the second output format, receive the input information to be the output information of one page, and A buffer control system, characterized in that the buffer control system is configured to hold information using the entire reception area.
JP59033521A 1984-02-24 1984-02-24 Buffer control system Granted JPS60178528A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59033521A JPS60178528A (en) 1984-02-24 1984-02-24 Buffer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59033521A JPS60178528A (en) 1984-02-24 1984-02-24 Buffer control system

Publications (2)

Publication Number Publication Date
JPS60178528A JPS60178528A (en) 1985-09-12
JPH0417460B2 true JPH0417460B2 (en) 1992-03-26

Family

ID=12388845

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59033521A Granted JPS60178528A (en) 1984-02-24 1984-02-24 Buffer control system

Country Status (1)

Country Link
JP (1) JPS60178528A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6446827A (en) * 1987-08-17 1989-02-21 Sanyo Electric Co Printer control system
JPH07106652B2 (en) * 1988-08-13 1995-11-15 キヤノン株式会社 Printer

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5494846A (en) * 1978-01-11 1979-07-26 Hitachi Ltd Input and output control unit
JPS58161036A (en) * 1982-03-19 1983-09-24 Fujitsu Ltd Display controlling system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5494846A (en) * 1978-01-11 1979-07-26 Hitachi Ltd Input and output control unit
JPS58161036A (en) * 1982-03-19 1983-09-24 Fujitsu Ltd Display controlling system

Also Published As

Publication number Publication date
JPS60178528A (en) 1985-09-12

Similar Documents

Publication Publication Date Title
EP0473341B1 (en) Compressed image stores for high resolution computer graphics
US5671445A (en) Interface for transmitting graphics data to a printer from a host computer system in rasterized form
US4476542A (en) Printing system
JP3453407B2 (en) Image processing apparatus, image output apparatus, image output system, and method thereof
US6317193B2 (en) Image forming apparatus
US4520455A (en) Printing system
JP2004282382A (en) Network terminal equipment
JPH0417460B2 (en)
JP3685234B2 (en) Image processing device
JP2876987B2 (en) Printing system
JPH0231416B2 (en)
JP2011053263A (en) Image processing device, image processing method, image output system, program and recording medium
JPS63182150A (en) Laser printer controller
JP3203660B2 (en) Image recording device
JPH05224846A (en) Printing and recording device
JP3193551B2 (en) Printing equipment
JPH11187261A (en) Image processor
JP2606557B2 (en) DTP system
JPS617771A (en) System for receiving and expanding image data
JP3673581B2 (en) Printer control system, printing apparatus, and information processing apparatus
JPS6364086A (en) Output unit
JPH09269875A (en) Data compression/expansion method for page printer
JPS6385922A (en) Printer device
JPH0568724B2 (en)
JPH04151270A (en) Image supply device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term