JPH0293722A - Printer controller - Google Patents

Printer controller

Info

Publication number
JPH0293722A
JPH0293722A JP63244151A JP24415188A JPH0293722A JP H0293722 A JPH0293722 A JP H0293722A JP 63244151 A JP63244151 A JP 63244151A JP 24415188 A JP24415188 A JP 24415188A JP H0293722 A JPH0293722 A JP H0293722A
Authority
JP
Japan
Prior art keywords
printer
dot
data
memory
shading
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
JP63244151A
Other languages
Japanese (ja)
Other versions
JP2650982B2 (en
Inventor
Hiroaki Kamibayashi
弘明 上林
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

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

Abstract

PURPOSE:To obtain a satisfactory graphic printing output by executing the drawing and developing of graphic data to a full-dot memory and thereafter, executing shading on the full-dot memory by using a shading pattern. CONSTITUTION:A printer controller 2 receives shading pattern from a host device 1 and houses the data to a shading pattern registering memory 24. A graphic drawing command is received by a vector generating mechanism 22 and analyzed and the drawing dot development of the command is executed to a full-dot memory 25. When the execution of the dot development is wholly finished in the vector generating mechanism 22, the activation of the printing output is applied to printer interface control circuits 26 and 27. The circuits 26 and 27 executes pre-control for printing output to printer devices 3 and 4. After that, dot data are successively read from the memory 25 by the interface operation of the devices 3 and 4 and the printing data are transmitted synchronously with the operation of the devices 3 and 4.

Description

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

〔従来の技術〕[Conventional technology]

従来、異る線密度を持つ出力装置に関する図形描画出力
装置については、特開昭59−200339号公報「表
示装置」の第6頁発明の実施例において論じられている
Conventionally, graphic drawing output devices related to output devices having different line densities have been discussed in the embodiments of the invention on page 6 of Japanese Patent Laid-Open Publication No. 59-200339 "Display Device".

上記従来技術は、ホストコンピュータとオンライン接続
状態で動作するオンライン動作処理モードと、ホストコ
ンピュータとは切離された状態でローカルに動作するオ
フライン動作処理モードの2通りのモードを有する端末
装置において、オンライン動作処理モードで使用してい
るとき1本端末装置のデイスプレィ画面に表示されたオ
ンライン画面データを一度フロッピーディスクファイル
に格納し、オフライン動作処理モードで使用するとき、
このフロッピーディスクファイルに格納されたオンライ
ン画面データを有効に利用することを目的としたもので
ある。本端末装置では、上記オンライン動作処理モード
時のデイスプレィ画面様式と、オフライン動作処理モー
ド時のデイスプレィ画面様式とが異る場合(文字や図形
を表示するときの大きさ、文字間隔など)、オンライン
動作処理モードで使用しているとき、ナイスプレイ表示
画面データを、オフライン動作処理モード時のデイスプ
レィ表示画面様式でフロッピーディスクファイルに記憶
することを特徴としている。つまり図形データを例にと
って説明すると、オンライン動作処理モード時のデイス
プレィ画面への表示は、表示画面の線密度或は表示ドツ
トの大きさの縦横比(アスペクト比)に応じて図形が描
画表示される。この場合、当然シェーディングを含む図
形も描画表示される。この表示画面データを。
The above-mentioned prior art is a terminal device that has two modes: an online operation processing mode in which it operates while connected to a host computer online, and an offline operation processing mode in which it operates locally while being disconnected from the host computer. When using in operation processing mode, store the online screen data displayed on the display screen of the terminal device in a floppy disk file, and then use it in offline operation processing mode.
The purpose is to effectively utilize online screen data stored in this floppy disk file. In this terminal device, if the display screen format in the above-mentioned online operation processing mode is different from the display screen format in the offline operation processing mode (size when displaying characters and figures, character spacing, etc.), the online operation When used in the processing mode, the Nice Play display screen data is stored in a floppy disk file in the format of the display screen during the offline operation processing mode. In other words, taking graphic data as an example, when displayed on the display screen in the online operation processing mode, the graphic is drawn and displayed according to the line density of the display screen or the aspect ratio of the size of the displayed dot. . In this case, figures including shading are also drawn and displayed. This display screen data.

オフライン動作処理モードにおいて使用するため、−度
フルドットメモリにドツト展開された図形データを画像
データとしてフロッピーディスクファイルに格納される
。そして、オフライン動作処理モードにおいては、フロ
ッピーディスクファイルに格納されたデータを画像デー
タとして利用される。つまり、この画像データをオフラ
イン動作処理モードにおいて、例えばデイスプレィ画面
上の空きエリアに複写するためには、空きスペースに応
じて任意に拡大又は縮小して用いられる。すなわち、上
記従来技術においては、図形データを画像に展開した後
、拡大成は縮小等の線密度変換を行うため、線密度変換
に伴う画質劣化の考慮がなされておらず、前述の如く作
成したオフライン画面データを印刷出力した場合、図形
の画質が劣化するという問題があった。
For use in the offline operation processing mode, the graphic data expanded into dots in the full-dot memory is stored as image data in a floppy disk file. In the offline operation processing mode, the data stored in the floppy disk file is used as image data. In other words, in order to copy this image data to, for example, an empty area on a display screen in the offline operation processing mode, it is used after being arbitrarily enlarged or reduced depending on the empty space. In other words, in the above-mentioned conventional technology, after the graphic data is developed into an image, linear density conversion such as scaling is performed for enlarging. When offline screen data is printed out, there is a problem in that the image quality of graphics deteriorates.

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

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

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

〔作用〕[Effect]

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

〔実施例〕〔Example〕

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

第1図〜第3図は、プリンタ装置への図形出力例を示す
。第1図は、従来技術で実現される図形出力であり、一
般にプリンタ制御装置は、該制御装置に接続されるプリ
ンタの線密度が定まっており、プリンタ制御装置は該当
するプリンタの線密度に最適な図形描画展開が行われる
。このため。
1 to 3 show examples of graphic output to a printer device. Figure 1 shows the graphic output realized by the conventional technology.Generally, the line density of the printer connected to the printer control device is determined, and the printer control device is optimized for the line density of the printer in question. A graphic drawing expansion is performed. For this reason.

印刷出力結果に画質劣化や歪は発生しない。しかるに、
このようなプリンタ制御装置を用いて、線密度の異るプ
リンタに描画展開した図形を出力する場合、従来技術の
如く、−度標準の線密度で図形描画展開を行ったデータ
を、画像データとして線密度変換を施した後印刷出力す
る必要がある。
No image quality deterioration or distortion occurs in the print output results. However,
When using such a printer control device to output figures drawn and expanded to printers with different line densities, as in the conventional technology, data that has been drawn and expanded at a standard line density of -degrees is output as image data. It is necessary to print out the image after performing linear density conversion.

例えば、240DPi (1インチ当り240ドツトの
線密度)を標準の線密度とした場合、240DPiの線
密度で円グラフを描画展開したと仮定する。この円グラ
フを200 D P iのプリンタに出力する場合、前
記描画展開したデータをそのまま出力すると、円グラフ
の大きさは240/200つまり615に拡大される。
For example, if the standard line density is 240DPi (line density of 240 dots per inch), it is assumed that a pie chart is drawn and expanded at the line density of 240DPi. When outputting this pie chart to a 200 D Pi printer, the size of the pie chart will be expanded to 240/200, that is, 615, if the rendered data is output as is.

このため200DPiのプリンタに出力される場合も、
240DPiの標準の線密度のプリンタに出力されると
きと同じ大きさの円グラフを得るためには、描画展開さ
れたデータを5/6倍にする必要が生じる。このときシ
ェーディングパターンに着目すると、240DPiで描
画展開したとき1例えば1インチ当り24本の直線でシ
ェーディングを行うとすると、240ドツトに24本、
つまり10ドツト毎に1本のシェーディングを描画する
ことになる。このシェーディング付き円グラフを、前述
の200DPiの線密度のプリンタに出力するために、
描画展開されたデータを5/6倍に縮小する必要がある
。しかるに、10ドツト毎に1本のシェーディング図形
を5/6倍にするためには10X5/6.つまり7ドツ
ト毎に1本のシェーディングを施すことになる。このと
きシェーディングの間隔は200/7=28本毎に4ド
ツト分のズレが生じることになる。このように標準の線
密度で描画展開をした図形データの場合、完全に等間隔
であった直線シェーディング図形も、線密度変換を施す
ことにより等間隔にはならず、第2図に示すように画質
の劣化をまねくことになる。
Therefore, even when outputting to a 200DPi printer,
In order 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 times. At this time, focusing on the shading pattern, if shading is performed with 24 straight lines per inch when drawing is developed at 240DPi, then 24 lines per 1 inch are used for 240 dots.
In other words, one shading line is drawn for every 10 dots. In order to output this shaded pie chart to the aforementioned 200DPi line density printer,
It is necessary to reduce the rendered data by 5/6 times. However, in order to multiply one shading figure for every 10 dots by 5/6, it is 10X5/6. In other words, one line of shading is applied to every seven dots. At this time, the shading interval will be 200/7=4 dots every 28 lines. In the case of figure data that has been drawn and developed using standard line density in this way, even straight line shading figures that were perfectly evenly spaced will no longer be equally spaced due to line density conversion, as shown in Figure 2. This will lead to deterioration of image quality.

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

プリンタ制御装w2は、インタフェース制御回路21を
介して、上位装置1に接続され、上位装置1から受信し
たシェーディングパターンデータは、シェーディングパ
ターン登録メモリ23に格納される。また1図形描画コ
マンドは、ベクトル発生機構22で受信し、コマンド解
析が行われる。
The printer control device w2 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 23. Further, one graphic drawing command is received by the vector generation mechanism 22, and the command is analyzed.

ベクトル発生機構22は、上位装置1から指示のあった
図形描画コマンドを逐次解釈し、フルドツトメモリ25
に描画ドツト展開を実行する。この際、ベクトル発生機
構22は1本プリンタコントローラ2に接続されるプリ
ンタ装置3に印刷出力するのか、プリンタ装置4に印刷
出力するのかを。
The vector generation mechanism 22 sequentially interprets graphic drawing commands instructed by the host device 1 and stores them in the full dot memory 25.
Executes drawing dot expansion. At this time, it is determined whether the vector generation mechanism 22 outputs a printout to the printer device 3 connected to the printer controller 2 or the printer device 4.

図形描画コマンドに先立って上位装置1から送信される
プリンタ装置番号により判断する。同時に。
The determination is made based on the printer device number sent from the host device 1 prior to the graphic drawing command. at the same time.

プリンタ装置3又は4に対応した線密度を線密度変換パ
ラメータ発生機構24より図形描画に必要なパラメータ
を読取り、このパラメータを用いてフルドツトメモリ2
5に所望の図形描画のドツト展開を実行する。
The line density corresponding to the printer device 3 or 4 is read from the line density conversion parameter generation mechanism 24 to read the parameters necessary for drawing the figure, and using these parameters, the full dot memory 2 is
Step 5: Execute dot expansion of the desired figure drawing.

ベクトル発生機構22で全てのドツト展開の実行が終了
するとプリンタインタフェース制御回路26又は27に
印刷出力のための起動をかける。
When the vector generation mechanism 22 completes the execution of all dot expansions, the printer interface control circuit 26 or 27 is activated for print output.

プリンタインタフェース制御回路26又は27は印刷出
力起動を受信すると、プリンタ装置3又は4に対して印
刷出力のために必要な前制御を実行する。ここで言う前
制御とは、用紙カセットの選択や感光ドラムの回転指示
等がある。その後、プリンタ装置3又は4のインタフェ
ース動作によりフルドツトメモリ25から順次ドツトデ
ータを読出し、プリンタ装置3又は4の動作に同期して
印刷データを送信する。
When the printer interface control circuit 26 or 27 receives the print output activation, it executes pre-control necessary for print output on the printer device 3 or 4. The pre-control referred to here includes selection of a paper cassette, instruction to rotate a photosensitive drum, and the like. 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.

線密度変換パラメータ発生機構24は、プリンタ装置3
又は4に対応して、ベクトル発生機構22にドツト展開
すべきパラメータを発生するものである。例えば、上位
装置lより、プリンタ装置3のA4サイズ用紙の横80
nm、縦120+mの位置に中心を持ち、半径50[l
l11の円を描画する場合、プリンタ装置3の線密度が
240DPiであれば、フルドツトメモリ25を240
DPiA4サイズのバッファメモリと見て、原点左上端
より横756ドツト、縦1138ドツトの位置に中心を
おき、半径472ドツトの円を描画することをベクトル
発生機構22に指示を出す。同様に円の線幅についても
パラメータとしてベクトル発生機構22に指示を出す。
The linear density conversion parameter generation mechanism 24 is connected to the printer device 3
or 4, the vector generation mechanism 22 generates parameters to be dot-expanded. For example, from the host device l, the width of A4 size paper of printer device 3 is 80mm.
nm, center at 120+m vertically, radius 50[l
When drawing a circle of 11, if the line density of the printer device 3 is 240DPi, the full dot memory 25 is set to 240DPi.
Considering a DPiA4-sized buffer memory, an instruction is given to the vector generation mechanism 22 to draw a circle with a radius of 472 dots, centered at a position 756 dots horizontally and 1138 dots vertically from the upper left end of the origin. Similarly, the line width of the circle is also instructed as a parameter to the vector generation mechanism 22.

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

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

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

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

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

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

図形描画コマンドの中に、指定された閉図形に対して、
予めシェーディングパターン登録メモリ23に’A9さ
れたシェープインクパターンによりシェーディング指示
がある場合は、−度フルドットメモリに展開された図形
に対して、ベクトル発生機構22が、シェーディングパ
ターン登録メモリ24より該当するシェープインクパタ
ーンを読出しシェーディングのためのフルドツトメモリ
25への重畳書込み動作を行う。
For a closed shape specified in a drawing command,
If there is a shading instruction using a shape ink pattern stored in the shading pattern registration memory 23 in advance, the vector generation mechanism 22 generates a corresponding one from the shading pattern registration memory 24 for the figure developed in the -degree full dot memory. The shape ink pattern is read out and superimposed writing operation is performed to the full dot memory 25 for shading.

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

上位装置1からプリンタ装置3又は4に対して印刷出力
するとき、一般には図形データだけでは無く、文字や罫
線、或はイメージデータ等も同時に出力される。文字に
ついては、プリンタ制御袋置2に接続されるプリンタ装
置3,4の線密度に対応して複数種類の文字フォントを
持ち、プリンタ装置3,4に対応した文字フォントを選
択してフルドツトメモリに展開される。例えば、200
DPiのプリンタ装置に対して、20X20と40X4
0の2種類の文字フォントを準備したとすれば、240
DPiのプリンタ装置に対しては24X24,48X4
8の文字フォントを準備し。
When printing is performed from the host device 1 to the printer device 3 or 4, generally not only graphic data but also characters, ruled lines, image data, etc. are output at the same time. For characters, there are multiple types of character fonts corresponding to the line densities of the printer devices 3 and 4 connected to the printer control bag holder 2, and a character font corresponding to the printer devices 3 and 4 is selected and stored in full dot memory. will be expanded to. For example, 200
For DPi printer devices, 20X20 and 40X4
If you prepare two types of character fonts, 240
24X24, 48X4 for DPi printer devices
Prepare 8 character fonts.

上位装置1からの文字の大きさの指定に対して、プリン
タ装置3,4の線密度に対応した文字フォントを選び、
フルドツトメモリ25に展開される。
In response to the character size specification from the host device 1, a character font corresponding to the line density of the printer devices 3 and 4 is selected,
It is developed into the full dot memory 25.

またイメージデータについては、拡大、縮小回路により
最適なイメージデータに変換してフルドツトメモリ25
に書き込まれる。これら文字やイメージデータの展開に
ついては、従来技術により実現可能であり、本発明の対
象外である。
In addition, image data is converted into optimal image data using an enlargement/reduction circuit and stored in the full dot memory 25.
will be written to. Development of these characters and image data can be realized using conventional techniques and is outside the scope of the present invention.

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

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

本発明によれは、プリンタ装置の線密度に合わせ、最適
なパラメータにより図形描画展開を行うことができ、し
かもシェーディングパターンについては、予め5Lta
されたシェーディングパターンを何ら加工すること無く
、描画された図形にそのまま重畳されるので、異る線密
度のプリンタ装置に対して同質の図形の印刷出力が得ら
れプリンタ制御装置を提供することができる6 さらに、プリンタ制御装置とプリンタ装置が1対1の形
で構成される場合においても、プリンタ装置に個別に対
応したプリン、夕制御装置を準備しなくとも、全く同一
の思想で開発されたプリンタ制御装置として実現するこ
とが可能となる。
According to the present invention, it is possible to perform graphic drawing development using optimal parameters according to the line density of the printer device, and moreover, the shading pattern can be set in advance by 5Lta.
Since the drawn shading pattern is directly superimposed on the drawn figure without any processing, it is possible to obtain a printout of a figure of the same quality for printers with different line densities, thereby providing a printer control device. 6 Furthermore, even if a printer control device and a printer device are configured in a one-to-one configuration, printers developed based on the exact same concept can be used without having to prepare separate printer and printer control devices for each printer device. It becomes possible to realize it as a control device.

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

第1図は、従来技術における図形描画出力例。 第2図は、線密度変換による図形描画出力例。 第3図は、本発明による図形描画出力例。 第4図は、プリンタ制御装置構成図。 第5図は、マイクロコンピュータ制御ブロック図を示す
。 1・・・上位装置。 2・・・プリンタ制御装置。 21・・・インタフェース制御回路。 22・・・ベクトル発生機構。 23・・・線密度変換パラメータ発生機構。 24・・・シェーディングパターン110メモリ。 25・・・フルドツトメモリ。 26.27・・・プリンタインタフェース制御回路。 3.4・・・プリンタ装置。 28・・・マイクロプロセッサ。 29・・・メモリー 30・・・割込信号線。 31・・・マイクロプロセッサ・バス。 躬 1 口
FIG. 1 is an example of graphic drawing output in the conventional technology. Figure 2 is an example of figure drawing output by linear density conversion. FIG. 3 is an example of graphic drawing output according to the present invention. FIG. 4 is a configuration diagram of the printer control device. FIG. 5 shows a microcomputer control block diagram. 1... Upper device. 2...Printer control device. 21...Interface control circuit. 22... Vector generation mechanism. 23... Linear density conversion parameter generation mechanism. 24...Shading pattern 110 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. 1 mouthful

Claims (1)

【特許請求の範囲】 1、上位装置に接続され、該上位装置から受信した図形
描画コマンドを処理して、印刷用ドットデータをドット
記憶装置上に作成し、該ドット記憶装置からプリンタへ
ドット信号を出力するプリンタ制御装置において、ベク
トル発生手段と、線密度変換パラメータ発生手段を設け
、前記ベクトル発生手段は、前記線密度変換パラメータ
発生手段が発生するプリンタに応じた線密度パラメータ
に基づいて、前記ドット記憶装置上に図形を描画し、異
なる線密度を持つプリンタに対して、高品質な図形出力
を行うことを特徴とするプリンタ制御装置。 2、上記特許請求項1記載のプリンタ制御装置において
、更に、フィルパターン記憶手段を設け、前記ベクトル
発生手段は、前記線密度変換パラメータ発生手段が発生
するプリンタに応じた線密度パラメータに基づいて、前
記ドット記憶装置上に図形を描画し、更に、前記ドット
記憶装置上において、前記フィルパターン記憶手段から
のプリンタに応じた線密度のフィルパターンを用いてシ
ェーディングを施すことにより、異なる線密度を持つプ
リンタに対して、高品質なシェーディングを含む図形出
力を行うことを特徴とするプリンタ制御装置。
[Claims] 1. Connected to a host device, processes graphic drawing commands received from the host device, creates printing dot data on a dot storage device, and sends dot signals from the dot storage device to the printer. A printer control device that outputs a vector is provided with a vector generating means and a linear density conversion parameter generating means, and the vector generating means generates the linear density parameter according to the printer generated by the linear density converting parameter generating means. A printer control device that draws graphics on a dot storage device and outputs high-quality graphics to printers with different line densities. 2. The printer control device according to claim 1 further includes fill pattern storage means, and the vector generation means generates a line density parameter based on the printer-specific linear density parameter generated by the linear density conversion parameter generation means. A figure is drawn on the dot storage device, and further shading is performed on the dot storage device using a fill pattern of a line density depending on the printer from the fill pattern storage means, so that the shape has a different line density. A printer control device that outputs graphics including high-quality shading to a printer.
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 true JPH0293722A (en) 1990-04-04
JP2650982B2 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)

Citations (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

Patent Citations (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
JP2650982B2 (en) 1997-09-10

Similar Documents

Publication Publication Date Title
JP2692081B2 (en) Image memory address control method
JP3492068B2 (en) Print control method and apparatus
JPS59180678A (en) Method for controlling page printer
JPH0293722A (en) Printer controller
JPH0421592B2 (en)
JP2711860B2 (en) Output control method and device
JPS6179674A (en) Image/character overlapping printing control system of printer
JP2746592B2 (en) Document processing apparatus and method
JPH10138555A (en) Image forming apparatus, method using the same, and printing apparatus
JP3254011B2 (en) Form drawing system
JPH0747337B2 (en) output method
JP2897987B2 (en) Printing control device
JP3268565B2 (en) Printer device
JPS59201870A (en) Printer
JP3089014B2 (en) Output control method and device
JP2771629B2 (en) Character processor
JP3083024B2 (en) Character processing apparatus and method
JPS63250727A (en) Printer controller
JP2803560B2 (en) Printer control device
JP3598728B2 (en) PRINTING SYSTEM, PRINTING METHOD, COMPUTER-READABLE RECORDING MEDIUM CONTAINING PRINT CONTROL PROGRAM, PRINT CONTROL DEVICE USED FOR PRINT SYSTEM, AND PRINT CONTROL METHOD
JPH078589B2 (en) Recording control device
JP2977132B2 (en) Printer
JP3543157B2 (en) Image control device with printer
JP3640123B2 (en) Image forming apparatus, image forming method, and computer readable recording medium recording image forming apparatus control program
JP2908571B2 (en) Page 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

LAPS Cancellation because of no payment of annual fees