JPH0528405B2 - - Google Patents

Info

Publication number
JPH0528405B2
JPH0528405B2 JP61228135A JP22813586A JPH0528405B2 JP H0528405 B2 JPH0528405 B2 JP H0528405B2 JP 61228135 A JP61228135 A JP 61228135A JP 22813586 A JP22813586 A JP 22813586A JP H0528405 B2 JPH0528405 B2 JP H0528405B2
Authority
JP
Japan
Prior art keywords
data
fdm
dot
page
printer
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
JP61228135A
Other languages
Japanese (ja)
Other versions
JPS6383824A (en
Inventor
Seisaku Yano
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61228135A priority Critical patent/JPS6383824A/en
Publication of JPS6383824A publication Critical patent/JPS6383824A/en
Publication of JPH0528405B2 publication Critical patent/JPH0528405B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、グラフイツク印刷等の任意の位置に
印刷することをオプシヨンとするプリンタ制御装
置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printer control device that has the option of printing in any position, such as graphic printing.

〔従来の技術〕[Conventional technology]

プリンタ制御装置で印刷する文字のパターンデ
ータをプリンタに送る方法として、例えば特公昭
59−4706号公報に示されるように、一行中にある
各々の文字パターンのうち、同一ラスタ上のデー
タを順次プリンタへ送る方法と、1ページ分の印
刷パターンデータを格納するページメモリを設
け、1ページ分の印刷パターンを全てページメモ
リへ展開してからページメモリの内容をラスタ方
向に読み出してプリンタに送る方法とがある。
As a method of sending character pattern data to be printed by a printer control device to a printer, for example,
As shown in Publication No. 59-4706, a method is provided in which data on the same raster among each character pattern in one line is sequentially sent to a printer, and a page memory is provided to store print pattern data for one page. There is a method in which all print patterns for one page are developed into a page memory, and then the contents of the page memory are read out in the raster direction and sent to the printer.

通常、グラフイツクデータの印刷については後
者をとつている。グラフイツクデータのドツトデ
ータ容量はページメモリ、すなわちフルドツトメ
モリ(以下、FDMと略称する)2面必要である。
少なくとも一面は、印刷データをページの任意の
位置に展開するから必要であり、もう1面は連続
印刷のため必要である。つまり、プリントしてい
る間に次のページを別面に展開するのである。
The latter is usually used when printing graphic data. The dot data capacity of graphic data requires two pages of page memory, that is, full dot memory (hereinafter abbreviated as FDM).
At least one side is necessary because print data is to be developed at an arbitrary position on the page, and the other side is necessary for continuous printing. In other words, while printing, the next page is developed on a different side.

このグラフイツク印刷をオプシヨンとする制御
装置においては、文字データのみのドツトデータ
展開はFDMを2面使用して制御している。文字
データのみの制御においては、FDMを持たずに
前者の方法で印刷データを送ることができるが制
御方法が違うため制御が複雑になる。
In this control device that has graphic printing as an option, dot data development of only character data is controlled using two FDMs. When controlling only character data, it is possible to send print data using the former method without having an FDM, but the control method is different and the control becomes complicated.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来技術では、文字テキストのみのドツト
データ展開制御時のメモリ容量の点について配慮
されておらず、コストが高いという問題があつ
た。
The above-mentioned conventional technology does not take into account the memory capacity when controlling the expansion of dot data of only character text, resulting in a problem of high cost.

本発明の目的は、このような従来の問題を解決
し、文字テキストのみとグラフイツクの印刷デー
タに関する制御をほとんど変えず、かつFDMの
メモリ容量を削減し、経済性の向上が図れる漢字
プリンタ制御装置を提供することにある。
It is an object of the present invention to provide a kanji printer control device that solves these conventional problems, makes little change in control over text-only and graphic print data, reduces FDM memory capacity, and improves economic efficiency. Our goal is to provide the following.

〔問題点を解決するための手段〕[Means for solving problems]

上記問題点を解決するため、1ページ分のドツ
トデータを蓄積することができるフルドツトメモ
リを有するプリンタ制御装置において、前記フル
ドツトメモリの特定容量のデータに1ビツトのド
ツト展開した旨を示す有効ビツトを有し、ドツト
データ書き込み時に前記有効ビツトをセツトし、
印刷時の読み込み時リセツトする手段と、前記ド
ツトデータを書き込む前に有効ビツトが1であれ
ば0になるのを待つて書き込み、読み込むときは
0であれば印刷エラーとするエラー検出手段とを
設けたことに特徴がある。
In order to solve the above problem, in a printer control device that has a full dot memory that can store one page worth of dot data, there is an effective function that indicates that a 1-bit dot has been expanded to a specific capacity of data in the full dot memory. has a bit, and sets the valid bit when writing dot data,
means for resetting when reading during printing, and error detecting means for waiting for the effective bit to become 0 if it is 1 before writing the dot data, and then writing it, and detecting a printing error if it is 0 when reading. There are certain characteristics.

〔作用〕[Effect]

有効ビツトは一定量のドツトデータ毎に設け、
一定量のドツトデータを書き込み時にセツトし、
印刷時の読み取りでリセツトする。
An effective bit is set for each certain amount of dot data,
A certain amount of dot data is set when writing,
Reset by reading when printing.

書き込み時に有効ビツトが1であるとまだ印刷
されていないということで、0になるのを待つ。
一方、読み取るとき0であると印刷すべきデータ
がないと見てエラーにする。
If the valid bit is 1 at the time of writing, it means that it has not been printed yet, so wait until it becomes 0.
On the other hand, if the value is 0 when reading, it is assumed that there is no data to be printed and an error occurs.

〔実施例〕〔Example〕

以下、本発明の一実施例を、図面により詳細に
説明する。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings.

第1図は、本発明の一実施例を示す漢字プリン
タ制御装置の構成図である。
FIG. 1 is a block diagram of a kanji printer control device showing one embodiment of the present invention.

第1図において、1は各種フオントデータを格
納しているフオントメモリ、2は各データのフエ
ツチを行うフエツチバツフア、3は必要に応じて
フエツチされたフオントデータの拡大/縮小等を
行う編集部、4は編集等がなされたフオントデー
タあるいはFDM5の展開領域が既にプリントさ
れたかどうか確認するための有効ビツトを格納す
るストアバツフア、5は1ページ分のドツトデー
タを蓄積することができるフルドツトメモリ
(FDM)、6はフオントデータの転送を行うメモ
リバス、7はFDM5へのデータの転送等が行わ
れるFDMバス、8はFDM5に書き込まれたドツ
トデータをプリンタ13に送出する前に一旦格納
するバツフアストレージ、9はFDM5内のデー
タのラスタ制御を行うラスタ制御部、10はプリ
ンタ13へのドツトデータのオバーランをチエツ
クするオーバランチエツク制御部、11はバツフ
アストレージ8に格納されたドツトデータの有効
性チエツクおよびエラー検出を行う有効ビツト判
定/エラー検出部、12は有効ビツトのFDMア
ドレスを選択するためのアドレス制御部、13は
プリンタである。以下、第1図の動作を説明す
る。
In FIG. 1, 1 is a font memory that stores various font data, 2 is a fetch buffer that fetches each data, 3 is an editing section that enlarges/reduces the fetched font data as necessary, and 4 5 is a store buffer that stores edited font data or valid bits to check whether the expanded area of FDM5 has already been printed, and 5 is a full dot memory (FDM) that can store one page of dot data. , 6 is a memory bus for transferring font data, 7 is an FDM bus for transferring data to the FDM 5, and 8 is a buffer storage for temporarily storing dot data written in the FDM 5 before sending it to the printer 13. , 9 is a raster control unit that performs raster control of data in the FDM 5; 10 is an overrun check control unit that checks overrun of dot data to the printer 13; and 11 is a validity check of dot data stored in the buffer storage 8. and a valid bit determination/error detection section for detecting errors; 12 is an address control section for selecting an FDM address of a valid bit; and 13 is a printer. The operation shown in FIG. 1 will be explained below.

FDM5へフオントメモリ1のフオントデータ
を展開する前に、展開する領域が既にプリントさ
れているか確認するため有効ビツトをリードす
る。それはFDMバス7を介してストアバツフア
4に読み込まれる。有効ビツトが1であれば以前
のドツトデータが読み取られていないとみて0に
なるのを待つ。0であれば文字データコードから
フオントメモリ1のフオントデータがメモリバス
6を介してフエツチバツフア2に入力される。そ
のデータの拡大/縮小等があるときは編集部3で
編集する。その後ストアバツフア4へ入力され、
FDMバス7を介してFDM5へ書き込まれる。
FDM5に書き込む際は一定量のデータに対して
1ビツトの有効ビツトの付加して書き込まれる。
例えば、ラスタ単位に1ビツトを有効ビツトにし
て書き込まれる。
Before expanding the font data in the font memory 1 to the FDM 5, a valid bit is read to confirm whether the area to be expanded has already been printed. It is read into the store buffer 4 via the FDM bus 7. If the valid bit is 1, it is assumed that the previous dot data has not been read and it waits until it becomes 0. If it is 0, the font data in the font memory 1 is input from the character data code to the fetch buffer 2 via the memory bus 6. If the data needs to be enlarged/reduced, the editing section 3 edits it. After that, it is input to store buffer 4,
Written to FDM 5 via FDM bus 7.
When writing to the FDM 5, one valid bit is added to a certain amount of data.
For example, data is written in raster units with one bit being the effective bit.

一方、書き込まれたドツトデータは、FDMバ
ス7からバツフアストレージ8へ読み込まれる
が、その前にFDM5に書かれた有効ビツトのチ
エツクが行われる。チエツクするステージはラス
タの先頭ドツトデータをプリンタ13へ送出する
前に行われる。これはラスタ制御部9で作成さ
れ、オーバランチエツク制御部10に入力され
る。オーバランチエツク制御部10は有効ビツト
アドレスの固定値をもつており、有効ビツトの
FDMアドレスを選択するためアドレス制御部1
2に入力され、FDM5上の有効ビツトをバツフ
アストーレジ8に取り込む。なお、アドレムス制
御部12へは、FDM〓またはFDM(1)指定のため
の信号線が入力される。これはマイクロプログラ
ムによりグラフイツクオプシヨンなしのとき固定
値となり以後、変化させない。グラフイツクオプ
シヨンありのときは1ページ出力ごとに反転す
る。バツフアストレージ8の出力は有効ビツト判
定/エラー検出部11へ入力され、0/1の判定
が行われる。0であれば、プリンタ13へのドツ
トデータが間に合わないため、オーバランが検出
される。この場合、エラーリカバリが行われる。
エラーリカバリはページ単位に行われる。プリン
タへ既に送出したデータはドラム上に現像されて
おり、紙への転写はまだ行われていない。このド
ラム上の現像データを消し、もう一度プリントデ
ータをFDM5へ展開して行われる。
On the other hand, the written dot data is read from the FDM bus 7 to the buffer storage 8, but before that, the valid bit written in the FDM 5 is checked. The checking stage is performed before sending the first dot data of the raster to the printer 13. This is created by the raster control section 9 and input to the overrun check control section 10. The overrun check control section 10 has a fixed value of the effective bit address, and the effective bit address is fixed.
Address control unit 1 to select FDM address
2, and the valid bits on the FDM 5 are taken into the buffer storage 8. Note that a signal line for specifying FDM〓 or FDM(1) is input to the address control unit 12. This is set to a fixed value by the microprogram when there is no graphics option and will not be changed thereafter. When the graphics option is used, each page is reversed. The output of the buffer storage 8 is input to a valid bit determination/error detection section 11, where a 0/1 determination is made. If it is 0, the dot data to the printer 13 cannot be delivered in time, so an overrun is detected. In this case, error recovery is performed.
Error recovery is performed page by page. The data already sent to the printer has been developed on the drum and has not yet been transferred to paper. The development data on this drum is erased and the print data is once again developed onto the FDM5.

第2図は、本発明によるFDM展開動作例と従
来のFDM展開動作例の比較図である。ここで、
aは従来のグラフイツクオプシヨン有/無の文字
データのFDM展開動作例、bは本発明によるグ
ラフイツクオプシヨン有の文字データのFDM展
開動作例、cは本発明によるグラフイツクオプシ
ヨン無の文字データのFDM展開動作例を示す。
以下、従来のFDM展開動作と本発明のFDM展開
動作を比較しながら説明する。
FIG. 2 is a comparison diagram of an example of FDM expansion operation according to the present invention and a conventional example of FDM expansion operation. here,
a is an example of conventional FDM expansion operation of character data with/without a graphics option, b is an example of FDM expansion operation of character data with a graphics option according to the present invention, and c is an example of character data without a graphics option according to the present invention. An example of FDM expansion operation is shown.
Hereinafter, the conventional FDM expansion operation and the FDM expansion operation of the present invention will be explained while comparing them.

まず、第2図aを使つて従来のFDM展開動作
について説明する。グラフイツクデータオプシヨ
ンがあるときのグラフイツクデータをFDMへ書
き込む場合は、まずFDM〓に展開する。ドツト
データは任意の位置に書き込まれる。そのページ
に文字データもあるため、FDMをリードした後、
オアを取つてライトする。文字データは行単位に
ホストCPU(図示せず)から送られてくるので図
(a)に示すようにFDMの若いアドレスから順に書
き込まれる。FDM〓に1ページ分のドツトデー
タが書き込まれると、プリンタにドツトデータを
送出するため、FDM〓を順次読み出してプリン
タに出力する。そしてFDM(1)へ次のページを出
力するために同様に展開する。そのページにグラ
フイツクデータがなく文字データだけの場合およ
びグラフイツク印刷がオプシヨンとしていない文
字データだけの場合も同様である。
First, the conventional FDM expansion operation will be explained using FIG. 2a. When writing graphic data to FDM when the graphic data option is available, first expand it to FDM〓. Dot data is written at any position. Since there is character data on that page, after reading FDM,
Take orer and write. The character data is sent line by line from the host CPU (not shown), so
As shown in (a), the FDM addresses are written in ascending order. When one page of dot data is written to the FDM, the FDM is sequentially read out and output to the printer in order to send the dot data to the printer. Then expand in the same way to output the next page to FDM(1). The same applies if the page has no graphic data and only character data, or if the page has only character data for which graphic printing is not an option.

以上のようにグラフイツク印刷する場合はドツ
トデータが任意の位置に書き込まれるため、1ペ
ージ分のバツフアを持たなければならない。連続
印刷しようとすれば2ページ分のバツフアを持つ
のが通常である。したがつて、グラフイツク印刷
をオプシヨンとする漢字プリンタ制御装置でのオ
プシヨンなしの制御すなわち文字データのみの制
御はオプシヨンがある方法とまつたく同じ方法で
行う。
When performing graphic printing as described above, dot data is written at arbitrary positions, so it is necessary to have a buffer for one page. Normally, if you try to print continuously, there will be a buffer of two pages. Therefore, in a Kanji printer control device that has graphic printing as an option, control without the option, that is, control of only character data, is performed in exactly the same manner as with the option.

しかし、本来文字データは行単位に順次印刷で
きるのでドツトデータのバツフアは小さくてよ
い。もしも上記方法を採用すると、オプシヨンが
ある場合とない場合で制御方法が違い、複雑な制
御になる。
However, since character data can originally be printed line by line sequentially, the buffer for dot data can be small. If the above method is adopted, the control method will be different depending on whether there is an option or not, resulting in complicated control.

そこで、本発明では、第2図b,cに示すよう
なFDM展開を行う。
Therefore, in the present invention, FDM expansion as shown in FIGS. 2b and 2c is performed.

まず、第2図cの文字データのみの展開を説明
する。FDMは1ページ分用意し、そこにはドツ
トデータ以外に有効ビツトを用意する。有効ビツ
トの制御は第1図で示した通りである。この制御
の流れは以下のようになる。FDM〓に1ページ
分のデータを展開する。そしてプリントを行う。
次に次ページをFDM〓に展開する。それは前ペ
ージの有効ビツト対応の文字のドツトデータのプ
リントが済んだことで行われる。このように
FDM〓上にはプリントデータと次のページの展
開データが共存する。次に、グラフイツク印刷が
オプシヨンとしてある場合を第2図bにより説明
する。これは本発明による有効ビツトを設けた点
を除けば従来の方法である第2図aと同じであ
る。有効ビツトの制御は第2図cと同じでよい。
つまりドツトデータを書き込むときには有効ビツ
トを1とし、読出すときは0にする。書き込むと
きは1であることはないので待ちは生じない。一
方、読み出すとき0であることはない。
First, the development of only character data in FIG. 2c will be explained. One page of FDM is prepared, and valid bits are prepared there in addition to dot data. The effective bit control is as shown in FIG. The flow of this control is as follows. Expand one page of data to FDM. Then print.
Next, expand the next page to FDM〓. This is done after printing the dot data of the characters corresponding to the valid bits on the previous page. in this way
Print data and next page development data coexist on FDM. Next, a case where graphic printing is provided as an option will be explained with reference to FIG. 2b. This is the same as the conventional method shown in FIG. 2a, except that a valid bit according to the present invention is provided. Control of the effective bit may be the same as in FIG. 2c.
That is, when writing dot data, the valid bit is set to 1, and when reading it, it is set to 0. Since it is never 1 when writing, no waiting occurs. On the other hand, it is never 0 when read.

上記のようにグラフイツク印刷のオプシヨンが
あるのとないときの文字データのFDM展開の制
御の違いは展開およびプリント指示のきつかけを
変えるだけである。
As mentioned above, the difference in control of FDM expansion of character data when there is a graphic printing option and when it is not is simply a change in the tightness of the expansion and print instructions.

このように、本実施例においては、FDM上の
空きビツトを一定の文字ドツトデータ単位に1ビ
ツト設け、ドツト展開指示方法を変えるだけで少
なくとも1ページ分のFDMを削減できる。ドツ
ト展開指示はプログラム制御で行えばよいからハ
ードウエアの資源としては、有効ビツト判定およ
びエラー検出部を用意するだけでよい。
In this way, in this embodiment, one free bit is provided on the FDM for each fixed character dot data unit, and the FDM can be reduced by at least one page simply by changing the dot development instruction method. Since the dot expansion instruction can be performed under program control, the only hardware resources that need to be provided are valid bit determination and error detection sections.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、文字テ
キストのみとグラフイツクの印刷データに関する
制御をほとんど変えず、FDMのメモリ容量が削
減でき、装置の経済性の向上が図れる。
As described above, according to the present invention, the memory capacity of the FDM can be reduced, and the economical efficiency of the apparatus can be improved, with almost no change in the control regarding print data for only text and graphics.

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

第1図は本発明の一実施例を示す漢字プリンタ
制御装置の構成図、第2図は本発明によるFDM
展開動作例と従来のFDM展開動作例の比較図で
ある。 4:ストアバツフア、5:FDM、6:メモリ
バス、7:FDMバス、8:バツフアストレージ、
9:ラスタ制御部、10:オーバランチエツク制
御部、11:有効ビツト判定/エラー検出部、1
2:アドレス制御部。
Fig. 1 is a block diagram of a kanji printer control device showing an embodiment of the present invention, and Fig. 2 is an FDM according to the present invention.
FIG. 3 is a comparison diagram of an example of an expansion operation and a conventional example of an FDM expansion operation. 4: Store buffer, 5: FDM, 6: Memory bus, 7: FDM bus, 8: Buffer storage,
9: Raster control section, 10: Overrun check control section, 11: Valid bit judgment/error detection section, 1
2: Address control section.

Claims (1)

【特許請求の範囲】[Claims] 1 1ページ分のドツトデータを蓄積することが
できるフルドツトメモリを有するプリンタ制御装
置において、前記フルドツトメモリの特定容量の
データに1ビツトのドツト展開した旨を示す有効
ビツトを有し、ドツトデータ書き込み時に前記有
効ビツトをセツトし、印刷時の読み込み時リセツ
トする手段と、前記ドツトデータを書き込む前に
有効ビツトが1であれば0になるのを待つて書き
込み、読み込むときは0であれば印刷エラーとす
るエラー検出手段とを設けたことを特徴とするプ
リンタ制御装置。
1. In a printer control device having a full dot memory capable of storing one page worth of dot data, the printer control device has a valid bit indicating that a 1-bit dot has been expanded to a specific capacity of data in the full dot memory, and the dot data Means for setting the valid bit when writing and resetting it when reading when printing, and if the valid bit is 1 before writing the dot data, wait until it becomes 0 before writing, and if it is 0 when reading, print. 1. A printer control device comprising: error detection means for detecting an error.
JP61228135A 1986-09-29 1986-09-29 Printer controller Granted JPS6383824A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61228135A JPS6383824A (en) 1986-09-29 1986-09-29 Printer controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61228135A JPS6383824A (en) 1986-09-29 1986-09-29 Printer controller

Publications (2)

Publication Number Publication Date
JPS6383824A JPS6383824A (en) 1988-04-14
JPH0528405B2 true JPH0528405B2 (en) 1993-04-26

Family

ID=16871763

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61228135A Granted JPS6383824A (en) 1986-09-29 1986-09-29 Printer controller

Country Status (1)

Country Link
JP (1) JPS6383824A (en)

Also Published As

Publication number Publication date
JPS6383824A (en) 1988-04-14

Similar Documents

Publication Publication Date Title
JPH0378651B2 (en)
JP2755308B2 (en) Output method and device
JP2740568B2 (en) Printing equipment
JPH01188354A (en) Font cash control
JPH0528405B2 (en)
JPS6316767B2 (en)
JP3018692B2 (en) Printing device
JPH03114856A (en) Printer data management system
JP2523213B2 (en) Page printer print control method
JP2739481B2 (en) Page printer
JPH05208526A (en) Printer
JPS61156192A (en) Input/output controller
JP4457511B2 (en) Image output apparatus and data erasing method used therefor
JP3143118B2 (en) Printer and print image pattern development method
JPS61149365A (en) Data controlling device
JP2002254722A (en) Image output device and data erasure method being used thereby
JPH0523445B2 (en)
JPH0867034A (en) Printer and address control method for buffer memory used in the same
JPS63243990A (en) Character transmission system
JPH0378652B2 (en)
JPH06255179A (en) Controller of dot-impact page printer
JPH04366674A (en) Printing control device
JPH04225422A (en) Image memory controller
JPS63296961A (en) Controller of printer
JPH0619641A (en) Printing control system

Legal Events

Date Code Title Description
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term