JPS60159929A - Printer control device - Google Patents

Printer control device

Info

Publication number
JPS60159929A
JPS60159929A JP59015475A JP1547584A JPS60159929A JP S60159929 A JPS60159929 A JP S60159929A JP 59015475 A JP59015475 A JP 59015475A JP 1547584 A JP1547584 A JP 1547584A JP S60159929 A JPS60159929 A JP S60159929A
Authority
JP
Japan
Prior art keywords
character
graphic
image
line
printing
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
Application number
JP59015475A
Other languages
Japanese (ja)
Other versions
JPH0311275B2 (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
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
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

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Record Information Processing For Printing (AREA)
  • Document Processing Apparatus (AREA)
  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To print out a character and a graphic by a line printing operation of once by providing a graphic image generating part, a character image generating part, and a line buffer for storing a printing image of a line unit, on a printer. CONSTITUTION:When a character and graphic printing data is received from a higher rank device H-CPU through a receiving interface part 12, a CPU11 executes an access to a character pattern memory 13 successively in accordance with each character code of its one line portion, and develops a generated character image onto a line buffer 15. Also, thereafter, a graphic image is generated in accordance with a parameter of a graphic data of te corresponding line position, overlaps and stores its graphic image on the line buffer 15, and the character image and the graphic image are synthesized on the line buffer 15. Thereafter, it is sent out to a printer 30, and the character and the graphic are printed out simultaneously by a line movement of a printing head of once, by which the number of times of movement of the printing head can be reduced.

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 one page at a time. There was one that was developed in units of page memory, and was sequentially taken out and printed out according to printing operations. However, this type of print control means requires a large page memory for storing print images on a page-by-page basis, resulting in an economically disadvantageous configuration. was. 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. This has the disadvantage 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 extracting parameters of a figure to be printed from parameters of figure data,
In a printer that has a graphic image generation section that generates a graphic image, a character image generation section that generates a character image from a character code, and a line buffer that stores a line-by-line print image, it is possible to print characters on the same line. Even when figures are mixed, the characters and figures can be printed out in a single line printing operation, greatly reducing the time required to print a page when letters and figures are mixed. The purpose of this invention is to provide a printer control device.

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

[発明の実施例] 以下図面を参照して本発明の一実施例を説明する。第1
図は全体の構成を示すブロック図である。
[Embodiment of the Invention] An embodiment of the present invention will be described below with reference to the drawings. 1st
The figure is a block diagram showing the overall configuration.

図中、11はプリンタ制御袋Mi体の制御を司る処理装
置(CPtJ)、12はホスト側の装置(H−CPU)
より送られて来る印刷用の各種データを受信する受信イ
ンタフェース部(R−1/F) 、13は入力された文
字コードをそのコードに固有の文字イメージ(文字パタ
ーン)に変換するための文字パターンメモリである。1
4は制御プログラム格納領域(EA) 、図形イメージ
生成プログラム格納領域(EB)、図形生成用パラメー
タ記憶領域(以下パラメータエリアと称す;EC)等を
有してなる内部メモリである。15は印刷すべき1行分
のイメージ(ドツトパターンデータ)壬貯える行バッフ
ァ、16はこの行バッファ15のイメージを“プリンタ
30に送出するための送信インタフェース部(T−1/
F)である。尚Jここでは制御対象となるプリンタ30
にシリアルプリンタを用い、用紙の逆方向送りを行なわ
ないものどする。
In the figure, 11 is a processing device (CPtJ) that controls the printer control bag Mi, and 12 is a host side device (H-CPU).
a receiving interface unit (R-1/F) that receives various data for printing sent from the computer; 13 is a character pattern that converts the input character code into a character image (character pattern) unique to that code; It's memory. 1
Reference numeral 4 denotes an internal memory having a control program storage area (EA), a graphic image generation program storage area (EB), a graphic generation parameter storage area (hereinafter referred to as parameter area; EC), and the like. 15 is a line buffer for storing one line of image (dot pattern data) to be printed; 16 is a transmission interface unit (T-1/
F). Here, the printer 30 to be controlled is
Use a serial printer and do not feed the paper backwards.

第2図は上記実施例に於ける要部の制御ブロック構成図
である。図中、20は受信インタフェース部12で受信
した印刷用の各種情報を受け、そのコマンドに従い、印
刷イメージの展開制御、印刷実行制御、用紙送り制御等
を含む印刷の制御を行なう゛印刷実行制御部、21は印
刷実行制御部20よ虻与えられた文字コードからそのコ
ードに従う文字イメージを生成する文字イメージ生成部
、22は印刷実行制御部20より与えられた図形データ
のパラメータからそのパラメータに従う図形イメージを
生成する図形イメージ生成部である。23は印刷実行制
御部20に取込まれたデータから、文字と図形のイメー
ジを同一行位置に印刷するか否かを判断し、文字と図形
のイメージを同一行位置に印刷する際に、文字イメージ
生成部21と図形イメージ生成部22をそれぞれ所定の
タイミングをとって共に動作制御せしめて、生成された
各イメージを□行バッファ15上の対応する位置にドツ
ト展開する文字・図形イメージ合成制御部である。
FIG. 2 is a control block configuration diagram of the main parts 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 controls printing including print image development control, print execution control, paper feeding control, etc. according to the commands. , 21 is a character image generation unit that generates a character image according to the code from the character code given by the print execution control unit 20, and 22 is a graphic image according to the parameter from the parameters of the graphic data given by the print execution control unit 20. This is a graphic image generation unit that generates. 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, A character/graphic image synthesis control section that controls the operation of the image generation section 21 and the graphic image generation section 22 at predetermined timings, and develops each generated image into a dot at a corresponding position on the □ line buffer 15. It is.

第3図は、上記実゛施例の動作説明図であり、図中、S
は1回の印字動作で印刷できる範囲、即ち印字ヘッド幅
(例えば24ドツト幅)、Pi、Pjは各図形のパラメ
ータで示される頂点位置座標、LF+はラインフィード
である。
FIG. 3 is an explanatory diagram of the operation of the above embodiment, and 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), Pi and Pj are the vertex position coordinates indicated by the parameters of each figure, and LF+ is the line feed.

ここで、図面を参照しなから一実施例の動作を説明する
。処理装置11は、受信インタフェース部12を介して
上位の装置(H−CPLJ)より文字及び図形の印刷デ
ータを受けると、その1行分の各文字コードに従い順次
文字パターンメモリ13をアクセスして、その生成され
た文字イメージを行バツフア15上に展開する。更にそ
の後、対応する行位置の図形データのパラメータに従い
図形イメージを生成して、その図形イメージを行バツフ
ア15上に重複記憶(オア・ライト)し、行バツフア1
5上にて、文字イメージと図形イメージとを合成する。
Here, the operation of one embodiment will be described without reference to the drawings. When the processing device 11 receives character and graphic print data from the higher-level device (H-CPLJ) via the receiving interface unit 12, it sequentially accesses the character pattern memory 13 according to each character code for one line, and The generated character image is developed 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, and the graphic image is repeatedly stored (or written) on the row buffer 15.
5, the character image and graphic image are combined.

この際の具体的な動作例を第2図、及び第3図を参照し
て説明する。ここでは綱かけを図形として登録し、処理
する場合を例にとって説明する。
A specific example of the operation at this time will be explained with reference to FIGS. 2 and 3. Here, an example will be explained in which a rope is registered as a figure and processed.

1行分の印刷データが印刷実行制御部20に入力される
と、文字・図形イメージ合成制御部23は、その印刷デ
ータに文字データ及び図形データが含まれているか否か
を判断し、文字データ及び図形データが含まれていると
、先ず、文字イメージ生成部21に起動をかけ、これに
より文字イメージ生成部21より生成された入力文字コ
ードに従う文字イメージ(ドツトパターンデータ)を行
バツフア15上にドツト展開する。例えば第3図にSで
示す打上の印刷を例にとると、文字rABCDEJの各
文字イメージを生成し、この文字イメージを行バツフア
15上にドツト展開する。次に図形イメージ生成部22
に起動をかけ、図形イメージ生成部22より生成された
入力パラメータに従う図形イメージを行バツフア15上
に重ね書き(オア・ライト)する。第3図を例にとると
、既に書込まれた文字rABcDEJに対し、ドツト位
置を対応させて、網かけパターンをオア・ライトする。
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 top indicated by S in FIG. Next, the figure image generation section 22
is activated, and a graphic image according to the input parameters generated by the graphic image generation section 22 is overwritten (or written) on the row buffer 15. Taking FIG. 3 as an example, the dot positions are made to correspond to the characters rABcDEJ that have already been written, and a hatching pattern is OR-written.

このようにして行バツフア15上にて1行分の文字及び
図形のイメージが合成され記憶されると、印刷実行制御
部20の制御の下に行バッファ15に貯えられたイメー
ジが送信インタフェース部16を介して順次プリンタ3
0に送出され、プリントアウトされる。このような行単
位の印刷処理が頁終了まで順次実行される。
When the images of characters and graphics 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 unit 16 under the control of the print execution control unit 20. sequentially via printer 3
0 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 printing out characters and graphics by moving the head in rows, the number of times the print head moves can be significantly reduced, thereby significantly reducing the printing time for the entire page.

[発明の効果〕 以上詳記したように本発明によれば、図形データのパラ
メータから印刷すべき図形のパラメータを取出し、図形
イメージを生成する図形イメージ生成部と、文字コード
から文字イメージを生成する文字イメージ生成部と、行
単位の印刷イメージを貯える行バッファとを有してなる
プリンタに於いて、同一行に文字と図形が混在する際に
、文字のイメージと図形のイメージとを行バツフア上に
て合成した後、行印刷する構成としたことにより、同一
行に文字と図形が混在する際に於いても、その文字と図
形を1回の行印字操作でプリントアウトでき、文字と図
形が混在する際の頁印刷の所要時間を大幅に短縮するこ
とのできるプリンタ制御装置が提供できる。
[Effects of the Invention] As described in detail 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 line by line, when characters and figures coexist 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・・・行バッフ1.1G・・・送信インタフェ
ース部、2o・・・印刷実行制御部、21・・・文字イ
メージ生成部、22・・・図形イメージ生成部、23・
・・文字・図形イメージ合成制御部、30・・・プリン
タ。 出願人代理人 弁理士 鈴江武彦 第 1 図j 第2図 第3図
The drawings show one embodiment of the present invention; FIG. 1 is a block diagram showing the overall hardware configuration, FIG. 2 is a control block diagram of the main parts, and FIG. 3 is an operation explanatory diagram. DESCRIPTION OF SYMBOLS 11... Processing device, 12... Reception interface part, 13... Character pattern memory, 14... Internal memory, 15... Line buffer 1.1G... Transmission interface part, 2o... Print execution control unit, 21...Character image generation unit, 22...Graphic image generation unit, 23.
. . . Character/figure image synthesis control unit, 30 . . . Printer. Applicant's agent Patent attorney Takehiko Suzue No. 1 Figure j Figure 2 Figure 3

Claims (1)

【特許請求の範囲】[Claims] 図形データのパラメータから図形イメージ、を生成する
図形イメージ生成部と、文字コードか、ら文字イメージ
を生成する文字イメージ生成部と、行単位で印刷イメー
ジを貯える行バッファとを有し、行単位で印刷イメージ
の編集を行なうプリンタに於いて、同一行位置上に文字
と図形のイメージを展開するか否かを判断し、同一行位
置上に文字と図形のイメージを展開する際に、前記文字
イメージ生成部により文字イメージを生成し、図形イメ
ージ生成部により図形イメージを生成して、前記文字イ
メージと図形イメージとを前記行バツフア上にて合成す
る手段を有し、1行分の文字ど図形とを1回の行印字走
査で印字出力することを特徴としたプリンタ制御装置。
It has a graphic image generation section that generates a graphic image from parameters of graphic data, a character image generation section that generates a character image from character codes, and a line buffer that stores print images on a line-by-line basis. A printer that edits a print image determines whether or not to develop images of characters and graphics on the same line position, and when developing images of characters and graphics on the same line position, the character image The generating section generates a character image, the graphic image generating section generates a graphic image, and the means for synthesizing the character image and the graphic image on the line buffer is provided. A printer control device characterized in that it prints out by one line printing scan.
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 true JPS60159929A (en) 1985-08-21
JPH0311275B2 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)

Cited By (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

Cited By (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

Also Published As

Publication number Publication date
JPH0311275B2 (en) 1991-02-15
KR900002229B1 (en) 1990-04-06
KR850005647A (en) 1985-08-28

Similar Documents

Publication Publication Date Title
US5104245A (en) Printing apparatus with form editor
US5386510A (en) Method of and apparatus for converting outline data to raster data
US5043918A (en) Multiple bus image controller structure for color page printers
JPS595434B2 (en) Insatsu Sochi
JPS60159929A (en) Printer control device
JPH0441548B2 (en)
KR900002230B1 (en) Printer controller
JPS62126430A (en) Printer controller
JPS5866181A (en) Pattern recording device
EP1107173A3 (en) Color printing apparatus
JPS5489424A (en) Ruled line generator
JPS5856085A (en) Print control system
JPS59201870A (en) Printer
JP2872246B2 (en) Printer distributed processing method
US6577313B1 (en) Image data control apparatus
JPS5911439A (en) Character processor
JPS6246010B2 (en)
JP2770719B2 (en) Form overlay data generator
JPS60201960A (en) Printer
JP2636312B2 (en) Printer interface device
JPS6364086A (en) Output unit
JP2771629B2 (en) Character processor
JPH07115493B2 (en) Aspect conversion printing method
JP2908571B2 (en) Page printer
JPH06100905B2 (en) Pattern output method

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term