JPH0311275B2 - - Google Patents

Info

Publication number
JPH0311275B2
JPH0311275B2 JP59015475A JP1547584A JPH0311275B2 JP H0311275 B2 JPH0311275 B2 JP H0311275B2 JP 59015475 A JP59015475 A JP 59015475A JP 1547584 A JP1547584 A JP 1547584A JP H0311275 B2 JPH0311275 B2 JP H0311275B2
Authority
JP
Japan
Prior art keywords
image
line
character
graphic
images
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
JP59015475A
Other languages
Japanese (ja)
Other versions
JPS60159929A (en
Inventor
Hiroyuki Aoki
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.)
Toshiba Corp
Original Assignee
Tokyo Shibaura Electric Co 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP59015475A priority Critical patent/JPS60159929A/en
Priority to KR1019850000269A priority patent/KR900002229B1/en
Priority to US06/696,100 priority patent/US4623978A/en
Publication of JPS60159929A publication Critical patent/JPS60159929A/en
Publication of JPH0311275B2 publication Critical patent/JPH0311275B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/10Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers by matrix printers

Description

【発明の詳細な説明】 [発明の技術分野] 本発明は図形データのパラメータから図形イメ
ージを生成する図形イメージ生成手段を有し、行
単位で印刷イメージを行バツフア上に展開して印
字出力するプリンタに用いられるプリンタ制御装
置に関する。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention has a graphic image generation means that generates a graphic image from parameters of graphic data, and develops a print image line by line on a line buffer and prints it out. The present invention relates to a printer control device used in a printer.

[発明の技術的背景とその問題点] 従来、文字及び図形を扱うワードプロセツサ等
の処理装置に於いては、文字、図形等のイメージ
をプリンタにより打出す際、これらの印刷イメー
ジを1ページ単位でページメモリ上に展開し、印
字動作に応じて順次取出し印字出力してゆくもの
があつた。しかしながら、このような印字制御手
段に於いては、印刷イメージをページ単位で記憶
するための大容量のページメモリを必要とするこ
とから、経済的に不利な構成になつてしまうとい
う問題が生じていた。そこで図形データをパラメ
ータで与えて、図形イメージを行バツフア上に展
開してゆく構成のものが実現された。しかしなが
ら、従来のこの種装置に於いては、文字イメージ
と図形イメージとをそれぞれ別個の行印字タイミ
ングで行バツフア上に展開し、同一行上を2回ず
つ操作して文字及び図形をプリントアウトしてゆ
くことから、ページ全体の印刷に非常に多くの時
間が費やされてしまうという不都合があつた。
[Technical background of the invention and its problems] Conventionally, in processing devices such as word processors that handle characters and graphics, when printing images of characters, graphics, etc. on a printer, these printed images are printed on one page. There was one that was developed in units of page memory, and was sequentially taken out and printed out according to the printing operation. However, this type of print control means requires a large capacity page memory to store print images on a page-by-page basis, resulting in an economically disadvantageous configuration. Ta. Therefore, a configuration was realized in which graphic data is given as parameters and graphic images are developed on a row buffer. However, in conventional devices of this type, character images and graphic images are developed on a line buffer at separate line printing timings, and characters and figures are printed out by operating on the same line twice. The disadvantage is that a large amount of time is consumed in printing the entire page.

[発明の目的] 本発明は上記実情に鑑みなされたもので、図形
データのパラメータから印刷すべき図形のパラメ
ータを取出し、図形イメージを生成する図形イメ
ージ生成部と、文字コードから文字イメージを生
成する文字イメージ生成部と、行単位の印刷イメ
ージを貯える行バツフアとを有してなるプリンタ
に於いて、同一行に文字と図形が混在する際に於
いても、その文字と図形を1回の行印字操作でプ
リントアウトでき、文字と図形が混在する際の頁
印刷の所要時間を大幅に短縮することのできるよ
うにしたプリンタ制御装置を提供することを目的
とする。
[Object of the Invention] The present invention has been made in view of the above-mentioned circumstances, and includes a graphic image generation unit that extracts parameters of a graphic to be printed from parameters of graphic data and generates a graphic image, and a graphic image generator that generates a character image from character codes. In a printer that has a character image generation unit and a line buffer that stores print images line by line, even when characters and figures coexist on the same line, the characters and figures can be combined into one line. To provide a printer control device capable of printing out by a printing operation and greatly shortening the time required to print a page when characters and figures are mixed.

[発明の概要] 本発明は、印刷すべき行中に文字と図形の双方
が含まれる際に、その行印字に際し、文字イメー
ジの生成処理と図形イメージの生成処理とを共に
行なつて、1行分の文字イメージと図形イメージ
とを得、その各イメージを行バツフア上で合成
(オア・ライト)し、プリンタアウトする構成と
したもので、これにより、文字と図形とを1回の
印字ヘツド移動動作でプリンタアウトでき、印字
ヘツドの移動回数(行印字操作回数)を大幅に低
減せしめて、頁全体の印刷時間を大幅に短縮した
ものである。
[Summary of the Invention] The present invention provides a system that, when both characters and graphics are included in a line to be printed, performs both character image generation processing and graphic image generation processing when printing that line. This system obtains character images and graphic images for a line, combines each image on a line buffer (or writes), and outputs it to the printer. The printer can be outputted by a moving operation, which greatly reduces the number of times the print head moves (the number of line printing operations), thereby greatly shortening the printing time for the entire page.

[発明の実施例] 以下図面を参照して本発明の一実施例を説明す
る。第1図は全体の構成を示すブロツク図であ
る。図中、11はプリンタ制御装置全体の制御を
司る処理装置(CPU)、12はホスト側の装置
(H−CPU)より送られて来る印刷用の各種デー
タを受信する受信インタフエース部(R−I/
F)、13は入力された文字コードをそのコード
に固有の文字イメージ(文字パターン)に変換す
るための文字パターンメモリである。14は制御
プログラム格納領域(EA)、図形イメージ生成プ
ログラム格納領域(EB)、図形生成用パラメータ
記憶領域(以下パラメータエリアと称す;EC)
等を有してなる内部メモリである。15は印刷す
べき1行分のイメージ(ドツトパターンデータ)
を貯える行バツフア、16はこの行バツフア15
のイメージをプリンタ30に送出するための送信
インタフエース部(T−I/F)である。尚、こ
こでは制御対象となるプリンタ30にシリアルプ
リンタを用い、用紙の逆方向送りを行なわないも
のとする。
[Embodiment of the Invention] An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the overall configuration. In the figure, 11 is a processing unit (CPU) that controls the entire printer control device, and 12 is a reception interface unit (R-CPU) that receives various printing data sent from a host side device (H-CPU). I/
F), 13 is a character pattern memory for converting an input character code into a character image (character pattern) specific to that code. 14 is a control program storage area (EA), a figure image generation program storage area (EB), and a figure generation parameter storage area (hereinafter referred to as parameter area; EC).
This is an internal memory consisting of, etc. 15 is an image of one line to be printed (dot pattern data)
The row buffer that stores 16 is this row buffer 15.
This is a transmission interface section (T-I/F) for transmitting the image of the image to the printer 30. Here, it is assumed that a serial printer is used as the printer 30 to be controlled, and that paper is not fed in the reverse direction.

第2図は上記実施例に於ける要部の制御ブロツ
ク構成図である。図中、20は受信インタフエー
ス部12で受信した印刷用の各種情報を受け、そ
のコマンドに従い、印刷イメージの展開制御、印
刷実行制御、用紙送り制御等を含む印刷の制御を
行なう印刷実行制御部、21は印刷実行制御部2
0より与えられた文字コードからそのコードに従
う文字イメージを生成する文字イメージ生成部、
22は印刷実行制御部20より与えられた図形デ
ータのパラメータからそのパラメータに従う図形
イメージを生成する図形イメージ生成部である。
23は印刷実行制御部20に取込まれたデータか
ら、文字と図形のイメージを同一行位置に印刷す
るか否かを判断し、文字と図形のイメージを同一
行位置に印刷する際に、文字イメージ生成部21
と図形イメージ生成部22をそれぞれ所定のタイ
ミングをとつて共に動作制御せしめて、生成され
た各イメージを行バツフア15上の対応する位置
にドツト展開する文字・図形イメージ合成制御部
である。
FIG. 2 is a block diagram of the main control blocks in the above embodiment. In the figure, reference numeral 20 denotes a print execution control unit that receives various printing information received by the reception interface unit 12 and performs printing control including print image development control, print execution control, paper feeding control, etc. according to the commands; 21 is the print execution control unit 2
a character image generation unit that generates a character image according to the code from a character code given from 0;
Reference numeral 22 denotes a graphic image generation unit that generates a graphic image according to the parameters of graphic data given by the print execution control unit 20.
23 determines whether or not to print text and graphic images on the same line position from the data taken into the print execution control unit 20, and when printing text and graphic images on the same line position, Image generation unit 21
This is a character/graphic image synthesis control section which controls the operations of the and graphic image generation section 22 at predetermined timings, and develops each generated image into a dot at a corresponding position on the row buffer 15.

第3図は、上記実施例の動作説明図であり、図
中、sは1回の印字動作で印刷できる範囲、即ち
印字ヘツド幅(例えば24ドツト幅)、Pi、Pjは各
図形のパラメータで示される頂点位置座標、LFi
はラインフイードである。
FIG. 3 is an explanatory diagram of the operation of the above embodiment. In the figure, s is the range that can be printed in one printing operation, that is, the print head width (for example, 24 dot width), and Pi and Pj are the parameters of each figure. Indicated vertex position coordinates, LFi
is the line feed.

ここで、図面を参照しながら一実施例の動作を
説明する。処理装置11は、受信インタフエース
部12を介して上位の装置(H−CPU)より文
字及び図形の印刷データを受けると、その1行分
の各文字コードに従い順次文字パターンメモリ1
3をアクセスして、その生成された文字イメージ
を行バツフア15上に展開する。更にその後、対
応する行位置の図形データのパラメータに従い図
形イメージを生成して、その図形イメージを行バ
ツフア15上に重複記憶(オア・ライト)し、行
バツフア15上にて、文字イメージと図形イメー
ジとを合成する。この際の具体的な動作例を第2
図、及び第3図を参照して説明する。ここでは網
かけを図形として登録し、処理する場合を例にと
つて説明する。1行分の印刷データが印刷実行制
御部20に入力されると、文字・図形イメージ合
成制御部23は、その印刷データに文字データ及
び図形データが含まれているか否かを判断し、文
字データ及び図形データが含まれていると、先
ず、文字イメージ生成部21に起動をかけ、これ
により文字イメージ生成部21より生成された入
力文字コードに従う文字イメージ(ドツトパター
ンデータ)を行バツフア15上にドツト展開す
る。例えば第3図にsで示す行上の印刷を例にと
ると、文字「ABCDE」の各文字イメージを生成
し、この文字イメージを行バツフア15上にドツ
ト展開する。次に図形イメージ生成部22に起動
をかけ、図形イメージ生成部22より生成された
入力パラメータに従う図形イメージを行バツフア
15上に重ね書き(オア・ライト)する。第3図
を例にとると、既に書込まれた文字「ABCDE」
に対し、ドツト位置を対応させて、網かけパター
ンをオア・ライトする。このようにして行バツフ
ア15上にて1行分の文字及び図形のイメージが
合成され記憶されると、印刷実行制御部20の制
御の下に行バツフア15に貯えられたイメージが
送信インタフエース部16を介して順次プリンタ
30に送出され、プリントアウトされる。このよ
うな行単位の印刷処理が頁終了まで順次実行され
る。
Here, the operation of one embodiment will be explained with reference to the drawings. When the processing device 11 receives character and graphic print data from the higher-level device (H-CPU) via the receiving interface unit 12, the processing device 11 sequentially stores the character pattern memory 1 in accordance with each character code for one line.
3 and develops the generated character image on the line buffer 15. Furthermore, after that, a graphic image is generated according to the parameters of the graphic data at the corresponding row position, the graphic image is repeatedly stored (or written) on the row buffer 15, and the character image and the graphic image are stored on the row buffer 15. to synthesize. A concrete example of the operation in this case is shown in the second section.
This will be explained with reference to FIGS. Here, an example will be explained in which shading is registered as a figure and processed. When one line of print data is input to the print execution control unit 20, the character/graphic image composition control unit 23 determines whether or not the print data includes character data and graphic data. If the character image generator 21 contains the input character code and graphic data, the character image generator 21 is activated and a character image (dot pattern data) according to the input character code generated by the character image generator 21 is placed on the line buffer 15. Expand the dots. For example, in the case of printing on the line indicated by s in FIG. Next, the graphic image generating section 22 is activated, and a graphic image according to the input parameters generated by the graphic image generating section 22 is overwritten (or written) on the row buffer 15. Taking Figure 3 as an example, the characters "ABCDE" have already been written.
, the dot positions are made to correspond to each other, and the hatching pattern is or-written. When the images of characters and figures for one line are combined and stored on the line buffer 15 in this way, the images stored in the line buffer 15 are transferred to the transmission interface section under the control of the print execution control section 20. 16 to the printer 30 and printed out. This line-by-line printing process is sequentially executed until the end of the page.

上述したように、同一行上に文字と図形とを印
刷する際は、文字イメージと図形イメージとを行
バツフア15上でオア・ライトし合成した後、プ
リンタ30に送出して、1回の印字ヘツドの行移
動で文字と図形とを同時に打出すことにより、印
字ヘツドの移動回数を大幅に低減でき、これに伴
い頁全体の印刷時間を大幅に短縮できる。
As mentioned above, when printing characters and figures on the same line, the character image and the figure image are combined by OR writing on the line buffer 15, and then sent to the printer 30 for one printing. By simultaneously embossing characters and graphics by moving the print head in rows, the number of print head movements can be significantly reduced, thereby significantly reducing the printing time for the entire page.

[発明の効果] 以上詳記したように本発明によれば、図形デー
タのパラメータから印刷すべき図形のパラメータ
を取出し、図形イメージを生成する図形イメージ
生成部と、文字コードから文字イメージを生成す
る文字イメージ生成部と、行単位の印刷イメージ
を貯える行バツフアとを有してなるプリンタに於
いて、同一行に文字と図形が混在する際に、文字
のイメージと図形のイメージとを行バツフア上に
て合成した後、行印刷する構成としたことによ
り、同一行に文字と図形が混在する際に於いて
も、その文字と図形を1回の行印字操作でプリン
トアウトでき、文字と図形が混在する際の頁印刷
の所要時間を大幅に短縮することのできるプリン
タ制御装置が提供できる。
[Effects of the Invention] As detailed above, according to the present invention, there is provided a graphic image generation unit that extracts parameters of a figure to be printed from parameters of graphic data and generates a graphic image, and generates a character image from character codes. In a printer that has a character image generation unit and a line buffer that stores print images for each line, when characters and figures are mixed on the same line, the image of the character and the image of the figure are stored on the line buffer. By using a configuration that prints lines after composing them in It is possible to provide a printer control device that can significantly shorten the time required to print pages when a mixture of pages is printed.

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

図は本発明の一実施例を示すもので、第1図は
全体のハードウエア構成を示すブロツク図、第2
図は要部の制御ブロツク図、第3図は動作説明図
である。 11……処理装置、12……受信インタフエー
ス部、13……文字パターンメモリ、14……内
部メモリ、15……行バツフア、16……送信イ
ンタフエース部、20……印刷実行制御部、21
……文字イメージ生成部、22……図形イメージ
生成部、23……文字・図形イメージ合成制御
部、30……プリンタ。
The figures show one embodiment of the present invention; Fig. 1 is a block diagram showing the overall hardware configuration, and Fig. 2 is a block diagram showing the overall hardware configuration.
The figure is a control block diagram of the main part, and FIG. 3 is an explanatory diagram of the operation. DESCRIPTION OF SYMBOLS 11...Processing device, 12...Reception interface unit, 13...Character pattern memory, 14...Internal memory, 15...Line buffer, 16...Transmission interface unit, 20...Print execution control unit, 21
. . . Character image generation section, 22 . . . Graphic image generation section, 23 .

Claims (1)

【特許請求の範囲】[Claims] 1 図形データのパラメータから図形イメージを
生成する図形イメージ生成部と、文字コードから
文字イメージを生成する文字イメージ生成部と、
行単位で印刷イメージを貯える行バツフアとを有
し、印刷対象頁に対し行単位で順次印刷イメージ
の編集を行なうプリンタであつて、行イメージの
展開時に図形イメージのみを展開するか否かを判
断し、図形イメージのみを展開する際に、前記図
形イメージ生成部によりパラメータに従う図形イ
メージを生成し、同イメージを前記行バツフア上
に展開する手段と、行イメージの展開時に文字と
図形のイメージを展開するか否かを判断し、文字
と図形のイメージを展開する際に、前記文字イメ
ージ生成部により文字コードに従う文字イメージ
を生成し、図形イメージ生成部によりパラメータ
に従う図形イメージを生成して、前記文字イメー
ジと図形イメージとを前記行バツフア上で合成す
る手段とを具備してなることを特徴としたプリン
タ制御装置。
1 A graphic image generation unit that generates a graphic image from parameters of graphic data, a character image generation unit that generates a character image from character codes,
The printer has a line buffer that stores print images line by line, and sequentially edits the print image line by line for the page to be printed, and determines whether or not only graphic images are developed when the line images are developed. and means for generating a graphic image in accordance with parameters by the graphic image generation unit and developing the same image on the row buffer when only the graphic image is developed; When determining whether or not to use the character code and developing images of characters and figures, the character image generation unit generates a character image according to the character code, the figure image generation unit generates a figure image according to the parameters, and the character A printer control device comprising means for composing an image and a graphic image on the line buffer.
JP59015475A 1984-01-31 1984-01-31 Printer control device Granted JPS60159929A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP59015475A JPS60159929A (en) 1984-01-31 1984-01-31 Printer control device
KR1019850000269A KR900002229B1 (en) 1984-01-31 1985-01-17 Printer controller
US06/696,100 US4623978A (en) 1984-01-31 1985-01-29 Print control apparatus having line buffer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59015475A JPS60159929A (en) 1984-01-31 1984-01-31 Printer control device

Publications (2)

Publication Number Publication Date
JPS60159929A JPS60159929A (en) 1985-08-21
JPH0311275B2 true JPH0311275B2 (en) 1991-02-15

Family

ID=11889823

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59015475A Granted JPS60159929A (en) 1984-01-31 1984-01-31 Printer control device

Country Status (2)

Country Link
JP (1) JPS60159929A (en)
KR (1) KR900002229B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02247693A (en) * 1989-03-20 1990-10-03 Fujitsu Ltd Text image overlay device
JPH045062A (en) * 1990-04-23 1992-01-09 Pfu Ltd Printer control system
JPH0976566A (en) * 1995-09-13 1997-03-25 Nec Niigata Ltd Print controller for serial printer

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58139242A (en) * 1982-02-12 1983-08-18 Hitachi Ltd Pattern composing device for information output device
JPS59171256A (en) * 1983-03-18 1984-09-27 Hitachi Ltd Printer circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58139242A (en) * 1982-02-12 1983-08-18 Hitachi Ltd Pattern composing device for information output device
JPS59171256A (en) * 1983-03-18 1984-09-27 Hitachi Ltd Printer circuit

Also Published As

Publication number Publication date
KR900002229B1 (en) 1990-04-06
KR850005647A (en) 1985-08-28
JPS60159929A (en) 1985-08-21

Similar Documents

Publication Publication Date Title
JPH02185475A (en) Printing apparatus
JPH0378651B2 (en)
JPH0441548B2 (en)
JPH0311275B2 (en)
US4623978A (en) Print control apparatus having line buffer
JPS59180678A (en) Method for controlling page printer
KR900002230B1 (en) Printer controller
JPS6364765A (en) Output device
JPS62126430A (en) Printer controller
EP1107173A3 (en) Color printing apparatus
JPS5856085A (en) Print control system
JPS6246010B2 (en)
JPS59201870A (en) Printer
US6577313B1 (en) Image data control apparatus
JP2908571B2 (en) Page printer
JP3047980B2 (en) Data output device
JPH07115493B2 (en) Aspect conversion printing method
JPS60201960A (en) Printer
JPS59181387A (en) Graphic generator
JPH0238076A (en) Printer device
JPS5931752B2 (en) printing device
JP2636312B2 (en) Printer interface device
JPS59181388A (en) Graphic generator
JPS6364086A (en) Output unit
JPH0568724B2 (en)

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term