JP2650982B2 - Printer control device - Google Patents

Printer control device

Info

Publication number
JP2650982B2
JP2650982B2 JP63244151A JP24415188A JP2650982B2 JP 2650982 B2 JP2650982 B2 JP 2650982B2 JP 63244151 A JP63244151 A JP 63244151A JP 24415188 A JP24415188 A JP 24415188A JP 2650982 B2 JP2650982 B2 JP 2650982B2
Authority
JP
Japan
Prior art keywords
printer
memory
line density
dot
graphic
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 - Fee Related
Application number
JP63244151A
Other languages
Japanese (ja)
Other versions
JPH0293722A (en
Inventor
弘明 上林
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 JP63244151A priority Critical patent/JP2650982B2/en
Publication of JPH0293722A publication Critical patent/JPH0293722A/en
Application granted granted Critical
Publication of JP2650982B2 publication Critical patent/JP2650982B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)
  • Laser Beam Printer (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はレーザビームプリンタの如く印刷データをド
ットインタフェースで送信するプリンタ制御装置のフィ
ルパターンを含む図形描画方法に関し、特にプリンタ制
御装置が複数の異る線密度を持つプリンタの制御に適し
た図形描画に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic drawing method including a fill pattern of a printer control device, such as a laser beam printer, for transmitting print data through a dot interface. The present invention relates to graphic drawing suitable for controlling printers having different line densities.

〔従来の技術〕[Conventional technology]

従来、異る線密度を持つ出力装置に関する図形描画出
力装置については、特開昭59−200339号公報「表示装
置」の第6頁発明の実施例において論じられている。
Conventionally, a graphic drawing output device relating to an output device having a different linear density has been discussed in the embodiment of the invention on page 6 of JP-A-59-200339.

上記従来技術は、ホストコンピュータとオンライン接
続状態で動作するオンライン動作処理モードと、ホスト
コンピュータとは切離された状態でローカルに動作する
オフライン動作処理モードの2通りのモードを有する端
末装置において、オンライン動作処理モードで使用して
いるとき、本端末装置のディスプレイ画面に表示された
オンライン画面データを一度フロッピーディスクファイ
ルに格納し、オフライン動作処理モードで使用すると
き、このフロッピーディスクファイルに格納されたオン
ライン画面データを有効に利用することを目的としたも
のである。本端末装置では、上記オンライン動作処理モ
ード時のディスプレイ画面様式と、オフライン動作処理
モード時のディスプレイ画面様式とが異る場合(文字や
図形を表示するときの大きさ、文字間隔など)、オンラ
イン動作処理モードで使用しているとき、ディスプレイ
表示画面データを、オフライン動作処理モード時のディ
スプレイ表示画面様式でフロッピーディスクファイルに
記憶することを特徴としている。つまり図形データを例
にとって説明すると、オンライン動作処理モード時のデ
ィスプレイ画面への表示は、表示画面の線密度或は表示
ドットの大きさの縦横比(アスペクト比)に応じて図形
が描画表示される。この場合、当然シェーディングを含
む図形も描画表示される。この表示画面データを、オフ
ライン動作処理モードにおいて使用するため、一度フル
ドットメモリにドット展開された図形データを画像デー
タとしてフロッピーディスクファイルに格納される。そ
して、オフライン動作処理モードにおいては、フロッピ
ーディスクファイルに格納されたデータを画像データと
して利用される。つまり、この画像データをオフライン
動作処理モードにおいて、例えばディスプレイ画面上の
空きエリアに複写するためには、空きスペースに応じて
任意に拡大又は縮小して用いられる。すなわち、上記従
来技術においては、図形データを画像に展開した後、拡
大或は縮小等の線密度変換を行うため、線密度変換に伴
う画質劣化の考慮がなされておらず、前述の如く作成し
たオフライン画面データを印刷出力した場合、図形の画
質が劣化するという問題があった。
The above-mentioned prior art is a terminal device having two modes, an online operation processing mode operating in an online connection state with a host computer and an offline operation processing mode operating locally in a state disconnected from the host computer. When used in the operation processing mode, the online screen data displayed on the display screen of the terminal device is temporarily stored in a floppy disk file, and when used in the offline operation processing mode, the online screen data stored in this floppy disk file is stored. The purpose is to use screen data effectively. In this terminal device, when the display screen format in the online operation processing mode is different from the display screen format in the offline operation processing mode (the size when displaying characters and figures, character spacing, etc.), When used in the processing mode, display display screen data is stored in a floppy disk file in a display display screen format in the offline operation processing mode. In other words, taking graphic data as an example, the display on the display screen in the online operation processing mode is performed by drawing a graphic in accordance with the line density of the display screen or the aspect ratio of the size of the display dot (aspect ratio). . In this case, naturally, a figure including shading is also drawn and displayed. In order to use this display screen data in the off-line operation processing mode, graphic data once dot-developed in a full dot memory is stored as image data in a floppy disk file. In the offline operation processing mode, data stored in the floppy disk file is used as image data. That is, in order to copy this image data to, for example, an empty area on the display screen in the offline operation processing mode, the image data is arbitrarily enlarged or reduced according to the empty space. That is, in the above prior art, since graphic data is expanded into an image and then linear density conversion such as enlargement or reduction is performed, image quality deterioration accompanying the linear density conversion is not taken into consideration, and the image is created as described above. When the off-line screen data is printed out, there is a problem that the image quality of the graphic is deteriorated.

本発明の目的は、異る線密度を持つ複数のプリンタの
制御において、いずれのプリンタに対しても画質劣化を
伴わずに図形データを描画出力することができるプリン
タ制御装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a printer control device capable of drawing and outputting graphic data to any printer without deteriorating image quality in controlling a plurality of printers having different line densities. .

〔課題を解決するための手段〕[Means for solving the problem]

上記目的を達成するために、プリンタ制御装置に線密
度変換パラメータ発生機構を持ち、上位装置から受信し
た図形描画コマンドをもとに、プリンタ制御装置の線密
度に応じて線密度変換パラメータ発生機構によりフルド
ットメモリに上位装置か指定される大きさの図形出力を
得るようベクトルデータを発生させ、更に必要に登録さ
れたシェーディングパターンを用いてシェーディングを
施すことにより、高品質の図形描画を印刷出力するよう
にしたものである。
In order to achieve the above object, the printer control device has a line density conversion parameter generation mechanism, and based on the graphic drawing command received from the host device, the line density conversion parameter generation mechanism according to the line density of the printer control device. Vector data is generated in the full dot memory so as to obtain a graphic output of a specified size from the host device, and further shading is performed using a registered shading pattern, thereby printing out a high quality graphic drawing. It is like that.

〔作用〕[Action]

本発明によるベクトル発生機構は、上位装置から受信
した図形描画コマンドを解釈し、フルドットメモリに図
形をドット展開させる際に、必ずプリンタ装置の線密度
に対応して、線密度変換パラメータ発生機構を介してフ
ルドットメモリに展開すべくドットデータを定める。こ
のようにして、フルドットメモリに図形データを描画展
開した後に、シェーディングパターンを用いてフルドッ
トメモリ上にシェーディングを施すことにより、品質の
良い図形印刷出力を得る。
The vector generation mechanism according to the present invention interprets the graphic drawing command received from the higher-level device, and when developing a graphic into dots in the full dot memory, always generates a linear density conversion parameter generation mechanism corresponding to the linear density of the printer device. Dot data to be developed into a full dot memory via In this way, after drawing and developing the graphic data in the full dot memory, shading is performed on the full dot memory using the shading pattern to obtain a high quality graphic print output.

〔実施例〕〔Example〕

以下、本発明の一実施例を第1図〜第5図により説明
する。
An embodiment of the present invention will be described below with reference to FIGS.

第1図〜第3図は、プリンタ装置への図形出力例を示
す。第1図は、従来技術で実現される図形出力であり、
一般にプリンタ制御装置は、該制御装置に接続されるプ
リンタの線密度が定まっており、プリンタ制御装置は該
当するプリンタの線密度に最適な図形描画展開が行われ
る。このため、印刷出力結果に画質劣化や歪は発生しな
い。しかるに、このようなプリンタ制御装置を用いて、
線密度の異るプリンタに描画展開した図形を出力する場
合、従来技術の如く、一度標準の線密度で図形描画展開
を行ったデータを、画像データとして線密度変換を施し
た後印刷出力する必要がある。例えば、240DPi(インチ
当り240ドットの線密度)を標準の線密度とした場合、2
40DPiの線密度で円グラフを描画展開したと仮定する。
この円グラフを200DPiのプリンタに出力する場合、前記
描画展開したデータをそのまま出力すると、円グラフの
大きさは240/200つまり6/5に拡大される。このため200D
Piのプリンタに出力される場合も、240DPiの標準の線密
度のプリンタに出力されるときと同じ大きさの円グラフ
を得るためには、描画展開されたデータを5/6倍にする
必要が生じる。このときシェーディングパターンに着目
すると、240DPiで描画展開したとき、例えば1インチ当
り24本の直線でシェーディングを行うとすると、240ド
ットに24本、つまり10ドット毎に1本のシェーディング
を描画することになる。このシェーディング付き円グラ
フを、前述の200DPiの線密度のプリンタに出力するため
に、描画展開されたデータを5/6倍に縮小する必要があ
る。しかるに、10ドット毎に1本のシェーディング図形
を5/6倍にするためには10×5/6,つまり7ドット毎に1
本のシェーディングを施すことになる。このときシェー
ディングの間隔は200/7=28本毎に4ドット分のズレが
生じることになる。このように標準の線密度で描画展開
をした図形データの場合、完全に等間隔であった直線シ
ェーディング図形も、線密度変換を施すことにより等間
隔にはならず、第2図に示すように画質の劣化をまねく
ことになる。
1 to 3 show examples of graphic output to a printer device. FIG. 1 is a graphic output realized by the prior art,
In general, a printer control device has a fixed line density of a printer connected to the control device, and the printer control device performs graphic drawing development optimal for the line density of the corresponding printer. Therefore, there is no image quality deterioration or distortion in the print output result. However, using such a printer control device,
When outputting graphics drawn and developed on printers with different line densities, it is necessary to print the data once subjected to graphic drawing and development with standard line density as image data after performing line density conversion as in the prior art. There is. For example, if 240DPi (line density of 240 dots per inch) is the standard line density,
Assume that a pie chart is drawn and developed at a line density of 40 DPi.
When this pie chart is output to a 200 DPi printer, if the data obtained by rendering is output as it is, the size of the pie chart is enlarged to 240/200, that is, 6/5. 200D for this
Even when output to a Pi printer, to obtain a pie chart of the same size as when output to a printer with a standard line density of 240 DPi, it is necessary to multiply the rendered data by 5/6. Occurs. Focusing on the shading pattern at this time, when drawing and developing at 240DPi, for example, if shading is performed with 24 straight lines per inch, 24 shadings are performed on 240 dots, that is, one shading is performed every 10 dots. Become. In order to output the pie chart with shading to the printer having a line density of 200 DPi, it is necessary to reduce the rendered data by 5/6 times. However, in order to make one shading figure every 10 dots 5/6 times, 10 × 5/6, that is, 1 every 7 dots
The book will be shaded. At this time, the shading interval is shifted by 4 dots every 200/7 = 28 lines. In the case of the graphic data drawn and developed at the standard line density in this manner, even linear shading figures that were completely equally spaced will not be equally spaced by performing the line density conversion, as shown in FIG. This leads to deterioration of image quality.

第4図において、プリンタ制御装置2は、ホストコン
ピュータ或はワークステーションの如き上位装置1に接
続される。また、プリンタ制御装置2は、プリンタ装置
3及び4を接続し、これに図形描画展開したデータを印
刷出力する。この場合プリンタ装置3と4は線密度が異
る。例えば、プリンタ装置3は、240DPi(Dot Per Inc
h)で10枚/分の出力性能を持ち、プリンタ装置4は、2
00DPiで5枚/分の低価格のプリンタ装置である。
In FIG. 4, a printer control device 2 is connected to a host device 1 such as a host computer or a workstation. Further, the printer control device 2 connects the printer devices 3 and 4, and prints out the data obtained by developing the graphic drawing. In this case, the printer devices 3 and 4 have different linear densities. For example, the printer device 3 is 240 DPi (Dot Per Inc.).
h) has an output performance of 10 sheets / min.
This is a low-priced printer device of 5 sheets / minute at 00DPi.

プリンタ制御装置2は、インタフェース制御回路21を
介して、上位装置1に接続され、上位装置1から受信し
たシェーディングパターンデータは、シェーディングパ
ターン登録メモリ24に格納される。また、図形描画コマ
ンドは、ベクトル発生機構22で受信し、コマンド解析が
行われる。ベクトル発生機構22は、上位装置1から指示
のあった図形描画コマンドを逐次解釈し、フルドットメ
モリ25に描画ドット展開を実行する。この際、ベクトル
発生機構22は、本プリンタコントローラ2に接続される
プリンタ装置3に印刷出力するのか、プリンタ装置4に
印刷出力するのかを、図形描画コマンドに先立って上位
装置1から送信されるプリンタ装置番号により判断す
る。同時に、プリンタ装置3又は4に対応した線密度を
線密度変換パラメータ発生機構23より図形描画に必要な
パラメータを読取り、このパラメータを用いてフルドッ
トメモリ25に所望の図形描画のドット展開を実行する。
The printer control device 2 is connected to the host device 1 via the interface control circuit 21, and the shading pattern data received from the host device 1 is stored in the shading pattern registration memory 24. The graphic drawing command is received by the vector generation mechanism 22, and the command analysis is performed. The vector generation mechanism 22 sequentially interprets the figure drawing command instructed by the host device 1 and executes drawing dot development in the full dot memory 25. At this time, the vector generation mechanism 22 determines whether to print out to the printer device 3 or the printer device 4 connected to the printer controller 2 by a printer transmitted from the upper device 1 prior to the graphic drawing command. Judge based on the device number. At the same time, the line density corresponding to the printer device 3 or 4 is read from the line density conversion parameter generation mechanism 23 with parameters necessary for graphic drawing, and the desired dot drawing for graphic drawing is executed in the full dot memory 25 using these parameters. .

ベクトル発生機構22で全てのドット展開の実行が終了
するとプリンタインタフェース制御回路26又は27に印刷
出力のための起動をかける。プリンタインタフェース制
御回路26又は27は印刷出力起動を受信すると、プリンタ
装置3又は4に対して印刷出力のために必要な前制御を
実行する。ここで言う前制御とは、用紙カセットの選択
や感光ドラムの回転指示等がある。その後、プリンタ装
置3又は4のインタフェース動作によりフルドットメモ
リ25から順次ドットデータを読出し、プリンタ装置3又
は4の動作に同期して印刷データを送信する。
When execution of all dot development is completed by the vector generation mechanism 22, the printer interface control circuit 26 or 27 is activated for print output. When the printer interface control circuit 26 or 27 receives the print output activation, the printer interface control circuit 26 or 27 executes pre-control necessary for print output on the printer device 3 or 4. Here, the pre-control includes a selection of a paper cassette and an instruction to rotate the photosensitive drum. Thereafter, the dot data is sequentially read from the full dot memory 25 by the interface operation of the printer device 3 or 4, and the print data is transmitted in synchronization with the operation of the printer device 3 or 4.

線密度変換パラメータ発生機構23は、プリンタ装置3
又は4に対応して、ベクトル発生機構22にドット展開す
べきパラメータを発生するものである。例えば、上位装
置1より、プリンタ装置3のA4サイズ用紙の横80mm,縦1
20mmの位置に中心を持ち、半径50mmの円を描画する場
合、プリンタ装置3の線密度が240DPiであれば、フルド
ットメモリ25を240DPiA4サイズのバッファメモリと見
て、原点左上端より横756ドット,縦1138ドットの位置
に中心をおき、半径472ドットの円を描画することをベ
クトル発生機構22に指示を出す。同様に円の線幅につい
てもパラメータとしてベクトル発生機構22に指示を出
す。線密度変換パラメータ発生機構23は、発生させるべ
きパラメータを図形描画コマンド受信の都度、必要な演
算を行って決定されても良いが、あらかじめ演算した結
果をテーブル形式で保持しておき、必要なパラメータを
テーブルより引出してベクトル発生機構22に渡す方法を
取っても良い。
The linear density conversion parameter generating mechanism 23 is a printer
Alternatively, the parameter to be dot-developed is generated in the vector generating mechanism 22 in correspondence with (4). For example, from the host device 1, 80 mm width and 1 height of A4 size paper of the printer device 3
When drawing a circle with a center at 20 mm and a radius of 50 mm, if the linear density of the printer device 3 is 240 DPi, the full dot memory 25 is regarded as a 240 DPi A4 size buffer memory, and 756 dots horizontally from the upper left corner of the origin. , And instructs the vector generation mechanism 22 to draw a circle with a radius of 472 dots, centered at the position of 1138 dots vertically. Similarly, an instruction is given to the vector generation mechanism 22 as a parameter for the line width of the circle. The line density conversion parameter generation mechanism 23 may determine the parameters to be generated by performing necessary calculations each time a graphic drawing command is received. However, the results calculated in advance are stored in a table format, and the necessary parameters are stored. May be extracted from the table and passed to the vector generation mechanism 22.

また、上位装置1より、プリンタ装置4のA4サイズ用
紙の横80mm,縦120mmの位置に中心を持ち、半径50mmの円
を描画する場合、プリンタ装置4の線密度が200DPiであ
れば、フルドットメモリ25を200DPiA4サイズのバッファ
メモリと見て、原点左上端より横630ドット,縦945ドッ
トの位置に中心をおき、半径394ドットの円を描画する
ことをベクトル発生機構22に指示を出す。
When drawing a circle having a center at a position of 80 mm wide and 120 mm long of A4 size paper of the printer device 4 and a radius of 50 mm from the upper device 1, if the linear density of the printer device 4 is 200 DPi, a full dot Assuming that the memory 25 is a buffer memory of 200DPiA4 size, the vector generation mechanism 22 is instructed to draw a circle having a radius of 394 dots centered at a position of 630 dots horizontally and 945 dots vertically from the upper left corner of the origin.

以上と同様に円の線幅についてもパラメータとしてベ
クトル発生機構22に指示を出す。つまり、線幅が1mmの
太さであれば、上記プリンタ3の場合は9ドット,上記
プリンタ4の場合は8ドットとなる。
Similarly to the above, an instruction is issued to the vector generation mechanism 22 as a parameter for the line width of the circle. In other words, if the line width is 1 mm, the printer 3 has 9 dots, and the printer 4 has 8 dots.

線密度変換パラメータ発生機構23は、発生させるべき
パラメータを図形描画コマンド受信の都度、必要な演算
を行って決定されて良いが、あらかじめ演算した結果を
テーブル形式で保持しておき、必要なパラメータをテー
ブルより引出してベクトル発生機構22に渡す方法を取っ
ても良い。
The line density conversion parameter generating mechanism 23 may determine the parameters to be generated by performing necessary calculations each time a graphic drawing command is received.However, the results calculated in advance are stored in a table format, and the necessary parameters are stored. A method of drawing out from the table and passing it to the vector generating mechanism 22 may be adopted.

第4図において、ベクトル発生機構22及び線密度変換
パラメータ発生機構23等は、一般にマイクロコンピュー
タで実現される場合が多い。このため、これら両機構を
1つのマイクロコンピュータで実行すべきプログラムを
分けて実現させても良い。
In FIG. 4, the vector generation mechanism 22, the linear density conversion parameter generation mechanism 23, and the like are generally realized by a microcomputer in many cases. For this reason, these two mechanisms may be realized by dividing a program to be executed by one microcomputer.

第5図にベクトル発生機構22及び線密度変換パラメー
タ発生機構23を、1つのマイクロコンピュータで実現し
た場合のブロック図を示す。第5図において、マイクロ
プロセッサ28,メモリー29,フルドットメモリ25,及びプ
リンタインタフェース制御回路26,27は、各々マイクロ
プロセッサ・バス31に接続されている。第4図における
インタフェース制御回路21からベクトル発生機構22及び
線密度変換パラメータ発生機構23への起動は、第5図に
おける割込信号線30により指示される。メモリー29に
は、マイクロプロセッサ28が実行すべきプログラム、パ
ラメータを発生するために必要な数値テーブル、ベクト
ルを発生するために必要なワークエリアが確保される。
マイクロプロセッサ28は、割込信号線30を通して、プリ
ンタ装置3,4への印刷出力のための描画指示が与えられ
ると、メモリー29に格納されているプログラムと数値テ
ーブルを読出し、プログラムを順次実行することによ
り、マイクロプロセッサ・バス31を介して、フルドット
メモリ25に印刷出力すべきデータを描画展開する。
FIG. 5 shows a block diagram in the case where the vector generation mechanism 22 and the linear density conversion parameter generation mechanism 23 are realized by one microcomputer. 5, a microprocessor 28, a memory 29, a full dot memory 25, and printer interface control circuits 26 and 27 are connected to a microprocessor bus 31. Activation from the interface control circuit 21 in FIG. 4 to the vector generation mechanism 22 and the linear density conversion parameter generation mechanism 23 is instructed by the interrupt signal line 30 in FIG. In the memory 29, a program to be executed by the microprocessor 28, a numerical table required for generating parameters, and a work area required for generating vectors are secured.
When a drawing instruction for print output to the printer devices 3 and 4 is given through the interrupt signal line 30, the microprocessor 28 reads out the program and the numerical value table stored in the memory 29 and sequentially executes the program. As a result, data to be printed and output to the full dot memory 25 is drawn and developed via the microprocessor bus 31.

図形描画コマンドの中に、指定された閉図形に対し
て、予めシェーディングパターン登録メモリ24に登録さ
れたシェーディングパターンによりシェーディング指示
がある場合は、一度フルドットメモリに展開された図形
に対して、ベクトル発生機構22が、シェーディングパタ
ーン登録メモリ24より該当するシェーディングパターン
を読出しシェーディングのためのフルドットメモリ25へ
の重畳書込み動作を行う。
If a shading instruction is given by a shading pattern registered in advance in the shading pattern registration memory 24 for the specified closed figure in the figure drawing command, the vector once expanded to the full dot memory The generating mechanism 22 reads the corresponding shading pattern from the shading pattern registration memory 24 and performs a superposition writing operation to the full dot memory 25 for shading.

第3図は、プリンタ装置3又は4が高精細プリンタの
場合の印刷出力例を示す。第1図と第3図を比較する
と、シェーディングの粗密は出るが、第2図の如く、シ
ェーディングパターンの劣化は生じない。
FIG. 3 shows a print output example when the printer device 3 or 4 is a high definition printer. A comparison between FIG. 1 and FIG. 3 shows that the shading density is high, but the shading pattern does not deteriorate as shown in FIG.

上位装置1からプリンタ装置3又は4に対して印刷出
力するとき、一般には図形データだけでは無く、文字や
罫線、或はイメージデータ等も同時に出力される。文字
については、プリンタ制御装置2に接続されるプリンタ
装置3,4の線密度に対応して複数種類の文字フォントを
持ち、プリンタ装置3,4に対応した文字フォントを選択
してフルドットメモリに展開される。例えば、200DPiの
プリン装置に対して、20×20と40×40の2種類の文字フ
ォントを準備したとすれば、240DPiのプリンタ装置に対
しては24×24,48×48の文字フォントを準備し、上位装
置1からの文字の大きさの指定に対して、プリンタ装置
3,4の線密度に対応した文字フォントを選び、フルドッ
トメモリ25に展開される。またイメージデータについて
は、拡大,縮小回路により最適なイメージデータに変換
してフルドットメモリ25に書き込まれる。これら文字や
イメージデータの展開については、従来技術により実現
可能であり、本発明の対象外である。
When printing from the higher-level device 1 to the printer device 3 or 4, not only graphic data but also characters, ruled lines, image data, and the like are generally output at the same time. As for characters, there are a plurality of types of character fonts corresponding to the line densities of the printers 3 and 4 connected to the printer controller 2, and the character fonts corresponding to the printers 3 and 4 are selected and stored in the full dot memory. Be expanded. For example, if two character fonts of 20 × 20 and 40 × 40 are prepared for a 200DPi pudding device, 24 × 24, 48 × 48 character fonts are prepared for a 240DPi printer device. In response to the designation of the character size from the host device 1, the printer device
Character fonts corresponding to the line densities of 3 and 4 are selected and developed in the full dot memory 25. The image data is converted into optimal image data by an enlargement / reduction circuit and written into the full dot memory 25. The development of these characters and image data can be realized by a conventional technique and is out of the scope of the present invention.

本実施例によれば、プリンタ装置3と4で線密度が異
っても、上位装置1からの図形描画指示に対して、図形
の位置や大きさ、或は線幅については、プリンタ装置の
線密度に対応して図形描画を行い、しかる後に、シェー
ディングパターンを重畳書込みを行うので、印刷出力に
おいて第2図に示す如き画質劣化を生ぜしめない効果が
得られる。
According to the present embodiment, even if the line densities of the printers 3 and 4 are different, the position, size, or line width of the figure in response to the figure drawing instruction from the host apparatus 1 is not changed by the printer. Since the graphic drawing is performed in accordance with the line density and then the shading pattern is superimposed and written, an effect of preventing the image quality from being deteriorated in the print output as shown in FIG. 2 can be obtained.

〔発明の効果〕〔The invention's effect〕

本発明によれば、プリンタ装置の線密度に合わせ、最
適なパラメータにより図形描画展開を行うことができ、
しかもシェーディングパターンについては、予め登録さ
れたシェーディングパターンを何ら加工すること無く、
描画された図形にそのまま重畳されるので、異る線密度
のプリンタ装置に対して同質の図形の印刷出力が得られ
プリンタ制御装置を提供することができる。
According to the present invention, it is possible to perform graphic drawing development with optimal parameters according to the line density of the printer device,
Moreover, for the shading pattern, there is no need to process the pre-registered shading pattern.
Since the image is superimposed on the drawn figure as it is, a print output of a figure of the same quality can be obtained for printer apparatuses having different linear densities, and a printer control apparatus can be provided.

さらに、プリンタ制御装置とプリンタ装置が1対1の
形で構成される場合においても、プリンタ装置に個別に
対応したプリンタ制御装置を準備しなくとも、全く同一
の思想で開発されたプリンタ制御装置として実現するこ
とが可能となる。
Further, even when the printer control device and the printer device are configured in a one-to-one manner, a printer control device developed with exactly the same concept can be used without preparing a printer control device individually corresponding to the printer device. It can be realized.

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

第1図は、従来技術における図形描画出力例, 第2図は、線密度変換による図形描画出力例, 第3図は、本発明による図形描画出力例, 第4図は、プリンタ制御装置構成図, 第5図は、マイクロコンピュータ制御ブロック図を示
す。 1……上位装置, 2……プリンタ制御装置, 21……インタフェース制御回路, 22……ベクトル発生機構, 23……線密度変換パラメータ発生機構, 24……シェーディングパターン登録メモリ, 25……フルドットメモリ, 26,27……プリンタインタフェース制御回路, 3,4……プリンタ装置, 28……マイクロプロセッサ, 29……メモリー, 30……割込信号線, 31……マイクロプロセッサ・バス。
1 is an example of a graphic drawing output according to the prior art, FIG. 2 is an example of a graphic drawing output by linear density conversion, FIG. 3 is an example of a graphic drawing output according to the present invention, and FIG. FIG. 5 shows a microcomputer control block diagram. 1 Host device, 2 Printer control device, 21 Interface control circuit, 22 Vector generation mechanism, 23 Linear density conversion parameter generation mechanism, 24 Shading pattern registration memory, 25 Full dot Memory, 26, 27 ... Printer interface control circuit, 3, 4 ... Printer device, 28 ... Microprocessor, 29 ... Memory, 30 ... Interrupt signal line, 31 ... Microprocessor bus.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】印刷される図形描画コマンドを保持するメ
モリと、 ドット展開された印刷データを格納するドットメモリ
と、 前記図形描画コマンドを描画データにして前記ドットメ
モリに格納するベクトル発生手段とを備え、前記ドット
メモリから前記描画データをプリンタへ出力するプリン
タ制御装置において、 描画データを出力すべきプリンタに応じた線密度パラメ
ータを発生する線密度変換パラメータ発生手段と、 シェーディングパターンを記憶するシェーディングパタ
ーン登録メモリとを設け、 前記ベクトル発生手段は、前記線密度パラメータ発生手
段が発生する線密度パラメータに基づき、出力すべきプ
リンタに応じた線密度で前記ドットメモリに図形を描画
した後、前記シェーディングパターン登録メモリから所
定のシェーディングパターンを読み出し、前記ドットメ
モリに展開された描画データにシェーディング処理を施
すことを特徴とするプリンタ制御装置。
A memory for holding a graphic drawing command to be printed; a dot memory for storing dot-developed print data; and a vector generating means for converting the graphic drawing command into drawing data and storing the drawing data in the dot memory. A printer control device for outputting the drawing data from the dot memory to a printer, a line density conversion parameter generating means for generating a line density parameter corresponding to a printer to which the drawing data is to be output, and a shading pattern for storing a shading pattern A registration memory, wherein the vector generation means draws a figure in the dot memory at a line density corresponding to a printer to be output, based on the line density parameter generated by the line density parameter generation means, and then executes the shading pattern. Predetermined shade from registration memory It reads the ring pattern, the printer control unit, characterized in that performing a shading process on the drawing data developed in the dot memory.
JP63244151A 1988-09-30 1988-09-30 Printer control device Expired - Fee Related JP2650982B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63244151A JP2650982B2 (en) 1988-09-30 1988-09-30 Printer control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63244151A JP2650982B2 (en) 1988-09-30 1988-09-30 Printer control device

Publications (2)

Publication Number Publication Date
JPH0293722A JPH0293722A (en) 1990-04-04
JP2650982B2 true JP2650982B2 (en) 1997-09-10

Family

ID=17114520

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63244151A Expired - Fee Related JP2650982B2 (en) 1988-09-30 1988-09-30 Printer control device

Country Status (1)

Country Link
JP (1) JP2650982B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62279953A (en) * 1986-05-29 1987-12-04 Toshiba Corp Image information processor

Also Published As

Publication number Publication date
JPH0293722A (en) 1990-04-04

Similar Documents

Publication Publication Date Title
JP2562514B2 (en) Print control device and image data drawing method
JPH08286860A (en) Output control method, its device and its computer program product
JPH0441548B2 (en)
JP2741800B2 (en) Document processing device
US4623978A (en) Print control apparatus having line buffer
JP2650982B2 (en) Printer control device
JPS6179674A (en) Image/character overlapping printing control system of printer
JP3254011B2 (en) Form drawing system
JP2711860B2 (en) Output control method and device
JP2598506B2 (en) Printing control device
JP2897987B2 (en) Printing control device
JPS6189861A (en) Printing controller
JP2839139B2 (en) Document processing method
JP2908571B2 (en) Page printer
JP2803560B2 (en) Printer control device
JP2977132B2 (en) Printer
JPH0713790B2 (en) Character output method
JP2784823B2 (en) Image editing printing method of printer
JP2958017B2 (en) Output control apparatus and method
JPH06189117A (en) Image forming device
JPH0879507A (en) Correction method for output format in image processing device
JPH086542A (en) Character font and method and device for pattern expansion of same
JPH0512403A (en) Electronic processor
JPS6359575A (en) Test printing system
JPH06293171A (en) Printing device

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

LAPS Cancellation because of no payment of annual fees