JPS6383824A - Printer controller - Google Patents
Printer controllerInfo
- Publication number
- JPS6383824A JPS6383824A JP61228135A JP22813586A JPS6383824A JP S6383824 A JPS6383824 A JP S6383824A JP 61228135 A JP61228135 A JP 61228135A JP 22813586 A JP22813586 A JP 22813586A JP S6383824 A JPS6383824 A JP S6383824A
- Authority
- JP
- Japan
- Prior art keywords
- data
- fdm
- dot
- page
- valid bit
- 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.)
- Granted
Links
- 238000007639 printing Methods 0.000 claims description 15
- 238000001514 detection method Methods 0.000 claims description 6
- 238000000034 method Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 101100119891 Arabidopsis thaliana FDM5 gene Proteins 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- Record Information Processing For Printing (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、グラフィック印刷等の任意の位置に印刷する
ことをオプションとするプリンタ制御装置に関するもの
である。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printer control device that allows printing in any position, such as graphic printing, as an option.
〔従来の技術]
プリンタ制御装置で印刷する文字のパターンデータをプ
リンタに送る方法として、例えば特公昭59−4706
号公報に示されるように、−行中にある各々の文字パタ
ーンのうち、同一ラスク上のデータを順次プリンタへ送
る方法と、1ページ分の印刷パターンデータを格納する
ページメモリを設け、1ページ分の印刷パターンを全て
ページメモリへ展開してからページメモリの内容をラス
ク方向に読み出してプリンタに送る方法とがある。[Prior Art] As a method of sending character pattern data to be printed by a printer control device to a printer, for example, Japanese Patent Publication No. 59-4706
As shown in the publication, there is a method of sequentially sending data on the same rask among each character pattern in the - line to the printer, and a page memory is provided to store one page's worth of print pattern data. There is a method in which all the print patterns for a given number of pages 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面は連続印刷のため必要である。つまり、プリ
ントしCいる間に次のページを別面に展開するのである
。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 is in progress, the next page is developed on a different surface.
このグラフィック印刷をオプションとする制御装置にお
いては、文字データのみのドツトデータ展開はFDMを
2面使用して制御している。文字データのみの制御にお
いては、FDMを持たずに前者の方法で印刷データを送
ることもできるが、制御方法が違うため制御が複雑にな
る。In a control device in which graphic printing is 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.
上記従来技術では、文字テキストのみのドツトデータ展
開制御時のメモリ容量の点について配慮されておらず、
コストが高いという問題があった。The above conventional technology does not take into consideration the memory capacity when controlling the expansion of dot data of only character text.
There was a problem of high cost.
本発明の目的は、このような従来の問題を解決し、文字
テキストのみとグラフィックの印刷データに関する制御
をほとんど変えず、かつFDMのメモリ容量を削減し、
経済性の向上が図れる漢字プリンタ制御装置を提供する
ことにある。The purpose of the present invention is to solve such conventional problems, to hardly change the control regarding print data of text only and graphics, and to reduce the memory capacity of FDM.
An object of the present invention is to provide a kanji printer control device that can improve economical efficiency.
上記問題点を解決するため、1ページ分のドツトデータ
を蓄積することができるフルドツトメモリを有するプリ
ンタ制御装置において、前記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 of dot data, it is possible to indicate that a 1-bit dot has been expanded to a specific capacity of data in the 1 full dot memory. means for setting the valid bit when writing the dot data and resetting it when reading the dot data; if the valid bit is 1 before writing the dot data, wait until it becomes 0 before writing; The feature is that an error detection means is provided which detects a printing error if the value is 0 when reading.
有効ビットは一定量のドツトデータ毎に設け、一定量の
ドツトデータを書き込み時にセットし、印刷時の読み取
りでリセットする。A valid bit is provided for each certain amount of dot data, and is set when writing a certain amount of dot data, and reset when reading during printing.
書き込み時に有効ビットが1であるとまだ印刷されてい
ないということで、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.
一方、読み取るとき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.
以下、本発明の一実施例を、図面により詳細に説明する
。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はF
DM5へのデータの転送等が行われるFDMバス、8は
FDM5に書き込まれたドツトデータをプリンタ13に
送出する前に一旦格納するバッファストレージ、9はF
DM5内のデータのラスク制御を行うラスク制御部、1
0はプリンタ13へのドツトデータのすバーランをチェ
ックするオーバランチェラグ制御部、11はバッファス
トレージ8に格納されたドツトデータの有効性チェック
およびエラー検出を行う有効ピッ1ト判定/エラー検出
部、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; 4 is a store buffer that stores valid bits to check whether the edited font data or the expanded area of FDM5 has already been printed; 5 is a full dot memory that can store one page's worth of dot data; FDM)
, 6 is a memory bus for transferring font data, 7 is F
An FDM bus is used to transfer data to the DM5, 8 is a buffer storage in which the dot data written in the FDM5 is temporarily stored before being sent to the printer 13, and 9 is an FDM bus.
Rask control unit 1 that performs rask control of data in DM5
0 is an overruncher lag control unit that checks the overrun of dot data to the printer 13; 11 is a valid pit judgment/error detection unit that checks the validity of dot data stored in the buffer storage 8 and detects errors; 12 is an address control unit for selecting a valid bit FDM address, and 13 is a printer. Below, the first
The operation of the diagram will be explained.
FDM5へフォントメモリLのフォントデータを展開す
る前に、展開する領域が既にプリントされているか確認
するため有効ビットをリードする。Before developing the font data in the font memory L to the FDM 5, the valid bit is read to confirm whether the area to be developed has already been printed.
それはFDMバス7を介してストアバッファ4に読み込
まれる。有効ビットが1であれば以前のドツトデータが
読み取られていないとみてOになるのを待つ。0であれ
ば文字データコードからフォントメモリ1のフォントデ
ータがメモリバス6を介してフェッチバッファ2に入力
される。そのデータの拡大/wA小等があるときは編集
部3で編集する。その後ストアバッファ4へ入力され、
FDMバス7を介してFDM5へ書き込まれる。FDM
5に書き込む際は一定量のデータに対して1ビットの有
効ビットを付加して書き込まれる。例えば、ラスク単位
に1ビットを有効ビットにして書き込まれる。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/wA, etc., the editing section 3 edits it. After that, it is input to store buffer 4,
Written to FDM5 via FDM bus 7. FDM
When writing to 5, one valid bit is added to a certain amount of data. For example, one bit is written as a valid bit for each rask.
一方、書き込まれたドツトデータは、FDMバスフから
バッファストレージ8へ読み込まれるが、その前にFD
M5に書かれた有効ビットのチェックが行われる。チェ
ックするステージはラスタの先頭ドツトデータをプリン
タ13へ送出する前に行われる。これはラスタ制御部9
で作成され、オーバランチェック制御部10に入力され
る。オーバランチェック制御部10は有効ビットアドレ
スの固定値をもっており、有効ビットのFDMアドレス
を選択するためアドレス制御部12に入力され、FDM
5上の有効ビットをバッファスト−レジ8に取り込む。On the other hand, the written dot data is read from the FDM bus flow to the buffer storage 8, but before that, the FD
The valid bit written in M5 is checked. The checking stage is performed before sending the first dot data of the raster to the printer 13. This is the raster control section 9
is created and input to the overrun check control section 10. The overrun check control unit 10 has a fixed value of the valid bit address, which is input to the address control unit 12 to select the FDM address of the valid bit.
5 is taken into the buffer storage 8.
なお、アドレス制御部12へは、FDM(0)またはF
DM(1)指定のための信号線が入力される。これはマ
イクロプログラムによりグラフィックオプションなしの
とき固定値となり以後、変化させない、グラフィックオ
プションありのときは1ページ出力ごとに反転する。バ
ッファストレージ8の出力は有効ビット判定/エラー検
出部11へ入力され、0/1の判定が行われる。Note that FDM (0) or F
A signal line for designating DM(1) is input. This is set to a fixed value by the microprogram when there is no graphic option and is not changed thereafter. When the graphic option is present, this value is inverted every time one page is output. 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.
0であれば、プリンタ13へのドツトデータが間に合わ
ないため、オーバランが検出される。この場合、エラー
リカバリが行われる。エラーリカバリはページ単位に行
われる。プリンタへ既に送出したデータはドラム上に現
像されており、紙への転写はまだ行われていない。この
ドラム上の現像データを消し、もう−度プリントデータ
をFDM5へ展開して行われる。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 developed onto the FDM 5 again.
第2図は、本発明によるFDM展開動作例と従来のFD
M展開動作例の比較図である。ここで、(a)は従来の
グラフィックオプション有/無の文字データのFDM展
開動作例、(b)は本発明によるグラフィックオプショ
ン有の文字データのFDM展開動作例、(c)は本発明
によるグラフィックオプション無の文字データのFDM
展開動作例を示す、以下、従来のFDM展開動作と本発
明のFDM展開動作を比較しながら説明する。FIG. 2 shows an example of FDM expansion operation according to the present invention and a conventional FD.
It is a comparison diagram of an example of M expansion operation. Here, (a) is an example of conventional FDM expansion operation of character data with/without graphic option, (b) is an example of FDM expansion operation of character data with graphic option according to the present invention, and (c) is a graphic example according to the present invention. FDM of character data without options
An example of the expansion operation will be described below while comparing the conventional FDM expansion operation and the FDM expansion operation of the present invention.
まず、第2図(a)を使って従来のFDM展開動作につ
いて説明する。グラフィックデータオプションがあると
きのグラフィックデータなFDMへ書き込む場合は、ま
ずFDM(0)に展開する。ドツトデータは任意の位置
に書き込まれる。そのページに文字データもあるため、
FDMをリードした後、オアを取ってライトする。文字
データは行単位にホストCPU (図示せず)から送ら
れてくるので図(a>に示すようにFDMの若いアドレ
スから順に書き込まれる。FDM(0)に1ページ分の
ドツトデータが書き込まれると、プリンタにドツトデー
タを送出するため、FDM(0)を順次読み出してプリ
ンタに出力する。そしてF DM(1)へ次のページを
出力するために同様に展開する。First, the conventional FDM expansion operation will be explained using FIG. 2(a). When writing graphic data to FDM when there is a graphic data option, first expand it to FDM (0). Dot data is written at any position. Since there is text data on that page,
After reading FDM, take OR and write. Character data is sent line by line from the host CPU (not shown), so it is written in order from the smallest address in the FDM as shown in the figure (a>).One page's worth of dot data is written to FDM (0). Then, in order to send the dot data to the printer, FDM(0) is sequentially read and output to the printer.FDM(1) is similarly expanded to output the next page.
そのページにグラフィックデータがなく文字データだけ
の場合およびグラフィック印刷がオプションとしていな
い文字データだけの場合も同様である。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 printing graphics as described above, dot data is written at arbitrary positions, so a buffer for one page must be provided. If you try to print continuously, 2
It usually has a buffer for 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 way 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. 2(b) and 2(C) is performed.
まず、第2図(C)の文字データのみの展開を説明する
。FDMは1ページ分用意し、そこにはドツトデータ以
外に有効ビットを用意する。有効ビットの制御は第1図
で示した通りである。この制御の流れは以下のようにな
る。FDM(0)に1ページ分のデータを展開する。そ
してプリントを行う。次に次ページをFDM(0)に展
開する。それは前ページの有効ビット対応の文字のドツ
トデータのプリントが済んだことで行われる。このよう
にFDM(0)上にはプリントデータと次ページの展開
データが共存する。次に、グラフィック印刷がオプショ
ンとしである場合を第2図(b)に上り説明する。これ
は本発明による有効ビットを設けた点を除けば従来の方
法である第2 UgJ(a )と同じである。有効ビッ
トの制御は第2図(c)と同じでよい。つまりドツトデ
ータを書き込むときには有効ビットを1とし、読出すと
きは0にする。書き込むときは1であることはないので
待ちは生じない。一方、読み出すとき0であることはな
い。First, the expansion of only character data in FIG. 2(C) will be explained. One page of FDM is prepared, in which valid bits are prepared in addition to dot data. Control of the valid bits is as shown in FIG. The flow of this control is as follows. Expand one page of data to FDM(0). Then print. Next, expand the next page to FDM(0). This is done after the dot data of the characters corresponding to the valid bits of the previous page have been printed. In this way, print data and next page development data coexist on FDM(0). Next, the case where graphic printing is an option will be explained with reference to FIG. 2(b). This is the same as the second UgJ(a), which is the conventional method, except that a valid bit according to the present invention is provided. Control of the effective bits may be the same as in FIG. 2(c). 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 there is no graphic printing option is simply that the trigger for expansion and print instructions changes.
このように、本実施例においては、FDM上の空きビッ
トを一定の文字ドツトデータ単位に1ビット設け、ドツ
ト展開指示方法を変えるだけで少なくとも1ページ分の
FDMを削減できる。ドツト展開指示はプログラム制御
で行えばよいからハードウェアの資源としては、有効ビ
ット判定およびエラー検出部を用意するだけでよい。As described above, in this embodiment, by providing one free bit on the FDM for each fixed character dot data unit and changing the dot development instruction method, it is possible to reduce the FDM by at least one page. Since the dot development instruction can be performed under program control, the only hardware resources that need to be provided are valid bit determination and error detection sections.
以上説明したように、本発明によれば、文季テキストの
みとグラフィックの印刷データに関する制御をほとんど
変えず、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 the print data of Bunki text only and graphics.
第1図は本発明の一実施例を示す漢字プリンタ制御装置
の構成図、第2図は本発明によるFDM展間展間側作例
来のFDM展開展開側作例較図である。
4;ストアバッファ、5:FDM、6;メモリバス、7
:FDMバス、8:バッファストレージ、9:ラスク制
御部、10ニオ−バランチェック制御部、11:有効ビ
ット判定/エラー検出部、12ニアドレス制御部。
第 1 図
第 2 図
(a)
グラフィックオプション有/無の
文字データのFDM展開
第 2
(b)FIG. 1 is a block diagram of a kanji printer control device showing an embodiment of the present invention, and FIG. 2 is a comparison diagram of examples of FDM exhibition and development side works according to the present invention. 4; Store buffer, 5: FDM, 6; Memory bus, 7
: FDM bus, 8: Buffer storage, 9: Rask control section, 10 Near balance check control section, 11: Valid bit determination/error detection section, 12 Near address control section. Figure 1 Figure 2 (a) FDM expansion of character data with/without graphic option 2 (b)
Claims (1)
フルドットメモリを有するプリンタ制御装置において、
前記フルドットメモリの特定容量のデータに1ビットの
ドット展開した旨を示す有効ビットを有し、ドットデー
タ書き込み時に前記有効ビットをセットし、印刷時の読
み込み時リセットする手段と、前記ドットデータを書き
込む前に有効ビットが1であれば0になるのを待って書
き込み、読み込むときは0であれば印刷エラーとするエ
ラー検出手段とを設けたことを特徴とするプリンタ制御
装置。1. In a printer control device having a full dot memory that can store dot data for one page,
means for setting the valid bit when writing dot data and resetting it when reading the dot data; A printer control device characterized in that it is provided with an error detection means that waits until a valid bit becomes 0 if it is 1 before writing, and detects a printing error if it is 0 when reading.
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 true JPS6383824A (en) | 1988-04-14 |
JPH0528405B2 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) |
-
1986
- 1986-09-29 JP JP61228135A patent/JPS6383824A/en active Granted
Also Published As
Publication number | Publication date |
---|---|
JPH0528405B2 (en) | 1993-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5878198A (en) | Information processing apparatus and method and memory medium storing information processing program | |
US5136688A (en) | Print data processing apparatus for an image forming apparatus | |
US4811242A (en) | Chinese character printer controlling device | |
JP2755308B2 (en) | Output method and device | |
JPS6383824A (en) | Printer controller | |
JPH03114856A (en) | Printer data management system | |
JP2523213B2 (en) | Page printer print control method | |
JP3012269B2 (en) | Printing control device | |
JP3864520B2 (en) | Print processing apparatus and print processing method | |
US6014225A (en) | Frame buffer control method and circuit | |
JP3143118B2 (en) | Printer and print image pattern development method | |
JP2715475B2 (en) | Graphic output device | |
JP3027849B2 (en) | Printing device | |
JPS61156192A (en) | Input/output controller | |
JPH05208526A (en) | Printer | |
JPH04284272A (en) | Printing controller | |
JPS593625A (en) | Empty confirmation control system of image buffer of printer | |
JPH04265767A (en) | Character developing control process | |
JPH0462075A (en) | Font data recording system of printer | |
JPS61225063A (en) | Printing apparatus | |
JPH03114857A (en) | Printer data management system | |
JPS62193838A (en) | Printer | |
JPH0523445B2 (en) | ||
JPH0477277A (en) | Printing device | |
JPH03176169A (en) | Printer |
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 |