JP2584856B2 - Output control device and method - Google Patents
Output control device and methodInfo
- Publication number
- JP2584856B2 JP2584856B2 JP1637089A JP1637089A JP2584856B2 JP 2584856 B2 JP2584856 B2 JP 2584856B2 JP 1637089 A JP1637089 A JP 1637089A JP 1637089 A JP1637089 A JP 1637089A JP 2584856 B2 JP2584856 B2 JP 2584856B2
- Authority
- JP
- Japan
- Prior art keywords
- output
- resolution
- image data
- text data
- generated
- 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
Links
Landscapes
- Editing Of Facsimile Originals (AREA)
- Dot-Matrix Printers And Others (AREA)
- Laser Beam Printer (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明は出力制御装置及び方法、詳しくは外部から入
力したテキストデータとイメージデータに基づいて出力
情報を出力させる出力制御装置及び方法に関するもので
ある。The present invention relates to an output control apparatus and method, and more particularly to an output control apparatus and method for outputting output information based on text data and image data input from outside. is there.
[従来の技術] 従来より、ホストコンピユータ等から出力されてくる
印刷情報をページ単位に解析し、そして印字を行う、所
謂ページプリンタと呼ばれる印刷装置がある。2. Description of the Related Art Conventionally, there is a printing apparatus called a page printer which analyzes print information output from a host computer or the like in units of pages and performs printing.
そして、この印字装置は、昨今のデイクトツプバプリ
ツシングによるイメージ編集により作成された文字とイ
メージとが一体となつた印字情報を高精細に印字できる
ように構成されている。The printing apparatus is configured to print, with high definition, print information in which characters and images created by image editing based on recent date / time tapping are combined.
また、テキストデータについては、予め装置内部に異
なる構成ドツト数の文字パターンを記憶しておき、入力
されるコマンド等により印刷するページ毎の解像度(ド
ツト密度)を可変にして、印刷できる印刷装置も提案さ
れている。For text data, a printing device which stores character patterns of different numbers of dots in the apparatus in advance and changes the resolution (dot density) of each page to be printed by an input command or the like to print. Proposed.
[発明が解決しようとする課題] ところで、近年、400dpiという通常の印刷装置の解像
度より高いイメージスキヤナが、高価ではあるが実用化
されるようになつてきた。[Problems to be Solved by the Invention] By the way, in recent years, an image scanner having a resolution of 400 dpi higher than the resolution of a normal printing apparatus has come into practical use although it is expensive.
しかしながら、この様な高解像度のものから入力され
たイメージデータをそれより低い解像度の印刷装置に出
力する場合、合成印刷すべきテキストデータの解像度に
見合う程度に、そのイメージデータを間引きしなければ
ならなくなる。従つて、高解像度に読み取つたイメージ
データであるにもかかわらず、印字品位の低い画像とな
つてしまうという問題があつた。However, when outputting image data input from such a high-resolution image to a printing device of a lower resolution, the image data must be thinned out to an extent commensurate with the resolution of the text data to be synthesized and printed. Disappears. Therefore, there is a problem that the image quality is low even though the image data is read at a high resolution.
一方、解像度が低い安価なイメージスキヤナ等で読み
取った画像をテキストデータに合せてしまうと、今度は
ページ全体の印字品位が落ちてしまうという問題があ
る。On the other hand, if an image read by an inexpensive image scanner having a low resolution is matched with text data, there is a problem in that the print quality of the entire page is reduced.
本発明はかかる問題点に鑑みなされたものであり、イ
メージデータとテキストデータそれぞれの解像度に差が
あっても、イメージデータとテキストデータが混在した
良好な出力情報を出力させることを可能ならしめる出力
制御装置及び方法を提供しようとするものである。SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and provides an output capable of outputting good output information in which image data and text data are mixed even if there is a difference in resolution between image data and text data. A control device and method are provided.
[課題を解決するための手段] この課題を解決するため、たとえば本発明の出力制御
装置は以下に示す構成を備える。すなわち、 外部装置から入力されるテキストデータとイメージデ
ータに基づいて出力情報を生成して、解像度可変な出力
部で出力させる出力制御装置であって、 第1のモードと第2のモードの内、どちらのモードが
設定されているかを判別する判別手段と、 前記判別手段で前記第1のモードが設定されていると
判別された場合に前記イメージデータに対する解像度に
かかわらず前記テキストデータに対する解像度で前記出
力情報を生成し、或は、前記判別手段で前記第2のモー
ドが設定されていると判別された場合に前記テキストデ
ータに対する解像度にかかわらず前記イメージデータに
対する解像度で前記出力情報を生成する生成手段と、 前記生成手段で生成された前記出力情報を記憶する記
憶手段と、 前記記憶手段に記憶された前記出力情報を前記出力部
へ出力する出力手段とを有する。[Means for Solving the Problems] To solve the problems, for example, an output control device of the present invention has the following configuration. That is, an output control device that generates output information based on text data and image data input from an external device and outputs the generated information at an output unit having a variable resolution, and includes a first mode and a second mode. Discriminating means for discriminating which mode is set; and when the discriminating means determines that the first mode is set, the resolution is determined for the text data regardless of the resolution for the image data. Generating output information, or generating the output information at the resolution for the image data regardless of the resolution for the text data when the determination unit determines that the second mode is set. Means, storage means for storing the output information generated by the generation means, and the storage means stored in the storage means And an output means for outputting the force information to the output unit.
[実施例] 以下添付図面に従つて本発明に係る実施例を詳細に説
明する。Embodiment An embodiment according to the present invention will be described below in detail with reference to the accompanying drawings.
<装置構成の説明(第1図),第2図)> 第1図に実施例におけるレーザビームプリンタの構成
概略を示す。<Explanation of Apparatus Configuration (FIGS. 1 and 2)> FIG. 1 shows a schematic configuration of a laser beam printer in the embodiment.
図中、1はインタフエースで、不図示のホストコンピ
ユータ等で処理された画像(イメージ)データ,テキス
トデータ、そして印刷制御パラメータ等で構成される印
刷データを受信する。印刷制御パラメータには、テキス
トデータに対する紙サイズ、フオントの種別、フオント
サイズ、書体及び画像データに対するイメージドツト密
度等が含まれる。2はインタフエース1を介して受信し
た印刷情報を格納すると共に、コード解析しながらペー
ジ編集するページバツフアメモリである。3はワークメ
モリで、印刷部7の印刷制御パラメータ等を記憶する。
4はフオントメモリで、異なる構成ドツト数のフオント
データを例えばサイズ,書体別に記憶している。5はビ
ツトマツプメモリで、印刷部7へ転送するドツトイメー
ジを記憶する。6はパラレルシリアル変換器で、ビツト
マツプメモリ5から読み出されたパラレルデータをシリ
アルデータに変換して印刷部7に転送する。8はパルス
ジエネレータで、設定された解像度(ドツト密度)に対
する周波数の画像クロツクを生成する。9はMPUで、内
部のプログラムメモリ9aに記憶された制御プログラム
(後述する第3図の制御手順を含む)に基づいてページ
編集および印刷処理を総括的に制御する。10はスキヤナ
ドライバで、この実施例におけるビーム走査系を構成す
るスキヤナモータ(後述する)の回転速度を、MPU9から
設定された解像度に応じた速度データに基づいて駆動さ
せる。In FIG. 1, reference numeral 1 denotes an interface, which receives print data including image data, text data, print control parameters, and the like processed by a host computer (not shown) or the like. The print control parameters include a paper size for text data, a font type, a font size, an image dot density for fonts and image data, and the like. Reference numeral 2 denotes a page buffer memory which stores print information received via the interface 1 and edits pages while analyzing codes. Reference numeral 3 denotes a work memory for storing print control parameters of the printing unit 7 and the like.
Reference numeral 4 denotes a font memory which stores font data of different numbers of dots by size and typeface, for example. A bit map memory 5 stores a dot image to be transferred to the printing unit 7. Reference numeral 6 denotes a parallel-serial converter which converts parallel data read from the bit map memory 5 into serial data and transfers the serial data to the printing unit 7. Reference numeral 8 denotes a pulse generator, which generates an image clock having a frequency corresponding to a set resolution (dot density). Reference numeral 9 denotes an MPU that comprehensively controls page editing and print processing based on a control program (including a control procedure shown in FIG. 3 described later) stored in an internal program memory 9a. Reference numeral 10 denotes a scanner driver which drives the rotation speed of a scanner motor (described later) constituting a beam scanning system in this embodiment based on speed data according to a resolution set by the MPU 9.
また、MPU9の動作内容は後述するが、ホストコンピユ
ータよりのテキストデータやイメージデータに対する解
像度(ドツト密度)の比較判定手段や実際の印刷部7の
印刷ドツト密度の設定等を制御する制御手段を兼ねてい
る。Although the contents of the operation of the MPU 9 will be described later, the MPU 9 also serves as a means for comparing and judging the resolution (dot density) with respect to text data and image data from the host computer, and a control means for controlling the setting of the print dot density of the actual printing unit 7 and the like. ing.
印刷部7の具体的構成を第2図に示す。実施例ではレ
ーザビームを感光体に露光走査して像を結像させる光プ
リンタの場合を示している。FIG. 2 shows a specific configuration of the printing unit 7. The embodiment shows an optical printer that forms an image by exposing and scanning a photosensitive member with a laser beam.
図中、11はレーザドライバで、パラレルシリアル変換
器6より出力される画像信号(ビデオ信号)によりレー
ザ12をON/OFF(レーザ光の発生をON/OFF)させる。In the figure, reference numeral 11 denotes a laser driver which turns on / off the laser 12 (turns on / off the generation of laser light) by an image signal (video signal) output from the parallel-serial converter 6.
13はポリゴンミラー14を回転させるためのスキヤナモ
ータであり、スキヤナドライバ10に設定される値に応じ
た回転速度でその駆動軸を回転する。15は不図示の駆動
モータにより定速回転している感光体であり、この感光
体15の軸方向にポリゴンミラー14の1側面で反射された
レーザビームが掃引され、静電潜像が形成される。尚、
これ以後は、公知の電子写真方式に準じて像形成がなさ
れる。Reference numeral 13 denotes a scanner motor for rotating the polygon mirror 14, which rotates its drive shaft at a rotation speed according to a value set in the scanner driver 10. Reference numeral 15 denotes a photosensitive member which is rotated at a constant speed by a drive motor (not shown). The laser beam reflected on one side of the polygon mirror 14 is swept in the axial direction of the photosensitive member 15 to form an electrostatic latent image. You. still,
Thereafter, image formation is performed according to a known electrophotographic method.
<動作概要の説明> 上述した構成からなる画像形成装置における印刷ドツ
ト密度の変更及び制御であるが、感光体15の回転速度を
一定としているので、ビデオ信号のクロツク周波数(パ
ルスジエネレータ8にセツトする値)とポリゴンミラー
14の回転速度(スキヤナドライバ10にセツトする値)で
もつて設定する。<Description of Operation Outline> In the image forming apparatus having the above-described configuration, the print dot density is changed and controlled. However, since the rotation speed of the photoconductor 15 is fixed, the clock frequency of the video signal (set to the pulse generator 8) is set. Value) and polygon mirror
A rotation speed of 14 (a value set in the scanner driver 10) is also set.
例えば、通常の2倍の印刷ドツト密度を得るために
は、以下の様に制御する。For example, in order to obtain twice the printing dot density as usual, the following control is performed.
先ず、感光体15の回転速度を一定としているので、副
走査方向へ2倍の印刷ドツト密度を得るには、感光体15
に掃引するレーザ光の走査数を通常のそれの2倍にする
必要がある。すなわち、ポリゴンミラー14の回転速度を
2倍にする。First, since the rotation speed of the photoconductor 15 is fixed, in order to obtain a double print dot density in the sub-scanning direction, the photoconductor 15 is required.
It is necessary to make the number of scans of the laser beam to be swept twice as usual. That is, the rotation speed of the polygon mirror 14 is doubled.
次に主走査方向の印刷ドツト密度であるが、前述の様
にポリゴンミラー14の回転速度を2倍にしただけでは、
逆に主走査方向に対しては印刷ドツト密度が1/2になつ
てしまう。そこで、ビデオ信号のオン/オフ周波数を通
常の4倍にすれば良いことがわかる。すなわち、ビデオ
クロツクの周波数を4倍にする。Next, regarding the printing dot density in the main scanning direction, if the rotation speed of the polygon mirror 14 is simply doubled as described above,
Conversely, the print dot density is halved in the main scanning direction. Thus, it can be seen that the on / off frequency of the video signal should be four times the normal value. That is, the frequency of the video clock is quadrupled.
この様に制御することにより、通常の2倍の印刷ドツ
ト密度を得ることが可能となる。By controlling in this way, it is possible to obtain a printing dot density twice as large as that of a normal printing dot.
次に実施例における印刷処理の概要を説明する。 Next, an outline of the printing process in the embodiment will be described.
インタフエース1を介して入力されたデータは、先ず
データバツフア2に格納される。MPU9はこの入力データ
に含まれる種々のコマンドを解析しながらページデータ
として再構築し、そのデータをページバツフア2に格納
する。同時にページ番号、ページバツフアの先頭アドレ
ス、ドツト密度、スキヤナモータ13の回転速度、ビデオ
クロツク(画像クロツク)周波数等様々なパラメータを
ワークメモリ3に格納していく。Data input via the interface 1 is first stored in the data buffer 2. The MPU 9 reconstructs the page data while analyzing various commands included in the input data, and stores the data in the page buffer 2. At the same time, various parameters such as the page number, the start address of the page buffer, the dot density, the rotation speed of the scanner motor 13, and the video clock (image clock) frequency are stored in the work memory 3.
また、MPU9はこのコマンド解析により、ドツト密度優
先コマンドの選択を行なう。すなわち、画像(イメー
ジ)データのドツト密度を優先して印刷させる旨の画像
データ優先コマンド、テキストデータ優先コマンド、そ
してドツト密度の高いデータを優先して印刷する旨の高
密度優先コマンドの3種の識別、そしてイメージデータ
密度指定情報とテキストデータ密度指定情報との比較及
びそれによつてどのコマンドを実行するかを選択する。
この結果をページ全体のドツト密度として、ワークメモ
リ3に格納する。尚、ドツト密度D,スキヤナモータ13
(ポリゴンミラー14)の回転速度R,ビデオクロツクfに
関し、ドツト密度がD1〜DNまで変換させるときのスキヤ
ナモータの回転速度及びビデオクロツクはR1〜RN,f1〜f
Nと定義する。The MPU 9 selects a dot density priority command by analyzing the command. That is, an image data priority command for giving priority to the dot density of image data, a text data priority command, and a high-density priority command for giving priority to data having a high dot density. Identification, comparison of the image data density designation information with the text data density designation information, and selection of a command to be executed based on the comparison.
This result is stored in the work memory 3 as the dot density of the entire page. In addition, dot density D, scanner motor 13
Regarding the rotation speed R of the (polygon mirror 14) and the video clock f, the rotation speed and the video clock of the scanner motor when the dot density is converted from D1 to DN are R1 to RN and f1 to f.
Define N.
次にページバツフア2に1ページ分のデータが揃う
と、ページの先頭から順次データを読み込み、フオント
メモリ4をアクセスしてドツトデータ(文字パターン)
を発生させ、そのドツトデータをビツトマツプメモリ5
に展開して行く。Next, when one page of data is prepared in the page buffer 2, the data is sequentially read from the top of the page, and the font memory 4 is accessed to print dot data (character pattern).
Is generated and the dot data is stored in the bit map memory 5.
To expand.
このとき、例えば印刷ドツト密度DNが選択されている
場合には、対応するフオントメモリ4の構成ドツト数の
フオントパターンを選択する。At this time, for example, when the print dot density DN is selected, the font pattern of the number of dots constituting the corresponding font memory 4 is selected.
また、イメージデータに対しては、印刷ドツト密度DN
が選択されている場合で、イメージデータ本来のドツト
密度と異なつていれば、密度変換(補間処理等)を行な
い、ビツトマツプメモリ5に展開していく。For image data, print dot density DN
Is selected, if the dot density is different from the original dot density of the image data, density conversion (interpolation processing or the like) is performed, and the data is developed in the bit map memory 5.
こうして1ページ分のデータの展開処理が終了する
と、ワークメモリ3よりスキヤナ回転数RN、ビデオクロ
ツクfNを読出し、RNをスキヤナドライバ10に、fNをパル
スジエネレータ8に夫々セツトする。When the data development process for one page is completed, the scanner rotation speed RN and the video clock fN are read from the work memory 3, and RN is set to the scanner driver 10 and fN is set to the pulse generator 8, respectively.
尚、スキヤナドライバ10はスキヤナモータ13の回転速
度が設定したRNに安定するよう制御すると共に、その安
定したときにMPU9にその旨の信号(レデイ信号)を出力
する。また、パルスジエネレータ8はセツトされたクロ
ツク数fNの信号をパラレルシリアル変換器6に出力す
る。Note that the scanner driver 10 controls the rotation speed of the scanner motor 13 to stabilize at the set RN, and outputs a signal (ready signal) to the MPU 9 when the rotation speed is stabilized. The pulse generator 8 outputs a signal of the set clock number fN to the parallel-serial converter 6.
さて、MPU9はスキヤナドライバ10よりレデイ信号を受
信したことを確認すると、ビツトマツプメモリ5に展開
されたデータを順次読出してパラレルシリアル変換器6
に出力する。パラレルシリアル変換器6は、パルスジエ
ネレータ8からのクロツクによつて、パラレルドツトデ
ータをシリアルデータに変換し、ビテオ信号として印刷
部7に出力する。When the MPU 9 confirms that the ready signal has been received from the scanner driver 10, the MPU 9 sequentially reads the data expanded in the bit map memory 5 and reads the data sequentially from the parallel-to-serial converter 6.
Output to The parallel-serial converter 6 converts the parallel dot data into serial data by the clock from the pulse generator 8, and outputs the serial data to the printing unit 7 as a video signal.
尚、MPU9が高速で機能も十分である場合、印刷部7に
データを転送させる処理を行うと平行して、新たなデー
タを受信そしてページバツフア2に格納する処理、更に
は、ビツトマツプメモリ5への展開処理を実行させても
良い。If the MPU 9 is high-speed and has a sufficient function, in parallel with performing the process of transferring data to the printing unit 7, receiving new data and storing it in the page buffer 2, and further to the bit map memory 5. May be executed.
<処理概要の説明(第3図)> 以下、MPU9の処理内容の詳細を第3A〜3C図に従つて説
明する。<Description of Processing Outline (FIG. 3)> Hereinafter, details of the processing content of the MPU 9 will be described with reference to FIGS. 3A to 3C.
先ず、ステツプS1で入力データを読み込み、そのデー
タが印刷ドツト密度優先コマンドであるか否かを判断す
る。そのコマンドであると判断した場合には、テキスト
データ密度優先コマンド、イメージデータ優先コマンド
或いは高密度優先コマンドであるかをステップS2,S4,S6
で判断する。そして判断が“YES"となつたときに、対応
するフラグを“1"にする(ステツプS3,S5,S6)。尚、テ
キストデータ優先フラグ、イメージデータ優先フラグ、
高密度優先フラグそして後述するテキストフラグ、イメ
ージデータフラグはワークメモリ3の所定アドレスに確
保されている。First, input data is read in step S1, and it is determined whether or not the data is a print dot density priority command. If it is determined that the command is the command, it is determined in step S2, S4, S6 whether the command is a text data density priority command, an image data priority command, or a high density priority command.
To judge. When the determination is "YES", the corresponding flag is set to "1" (steps S3, S5, S6). Note that a text data priority flag, an image data priority flag,
The high-density priority flag, and a text flag and an image data flag to be described later are secured at predetermined addresses in the work memory 3.
また、印刷ドツト密度優先コマンドではないと判断し
た場合には、ステツプS8に進んで、ドツト密度指定コマ
ンドか否かを判断する。“NO"であると判断した場合に
は後述するステツプS14に進むが、ここでは“YES"の場
合を説明する。If it is determined that the command is not the print dot density priority command, the flow advances to step S8 to determine whether the command is the dot density designation command. If it is determined to be "NO", the process proceeds to step S14 to be described later. Here, the case of "YES" will be described.
さて、この場合処理はステツプS9に進んで、テキスト
データ密度指定コマンドか否かを判断する。“YES"のと
きステツプS10に進み、テキストデータフラグを“1"に
する。そしてステツプS11で、印刷ドツト密度をDT、そ
してそれに対応したRT,fTをワークメモリ3に格納す
る。またステツプS9が“NO"であるときにはステツプS12
に進み、イメージデータフラグを“1"にすると共に、ス
テツプS13で印刷ドツト密度Di、それに対応したRi,fiを
ワークメモリ3に格納する。Now, in this case, the process proceeds to step S9, and it is determined whether or not the command is a text data density designation command. If "YES", the flow advances to step S10 to set the text data flag to "1". Then, in step S11, the print dot density is stored in the work memory 3 as DT and the corresponding RT and fT. When step S9 is "NO", step S12
Then, the image data flag is set to "1", and the print dot density Di and the corresponding Ri and fi are stored in the work memory 3 in step S13.
各ドツト密度指定コマンド以外のデータをリードして
きたとステツプS8で判断した場合は、処理はステツプS1
4へ進み、印刷用パラメータかどうかを判断する。“YE
S"の場合にはそのデータをワークメモリ3に格納する
(ステツプS15)。また、そうでない場合、すなわち文
字コードやイメージデータであると判断した場合には処
理はステツプS16に進んで、各種データを解析しながら
ページデータとして再構築しページバツフア2に格納す
る。そしてステツプS17で1ページ分のデータが格納さ
れたと判断するまで、ステツプS1以下の処理を繰り返
す。If it is determined in step S8 that data other than each dot density designation command has been read, the process proceeds to step S1.
Proceed to 4 to determine whether the parameter is a print parameter. “YE
In the case of "S", the data is stored in the work memory 3 (step S15). Otherwise, that is, if it is determined that the data is a character code or image data, the process proceeds to step S16, where various data are stored. Is reconstructed as page data while analyzing the data, and stored in the page buffer 2. Then, the processing from step S1 is repeated until it is determined in step S17 that data for one page has been stored.
こうして、1ページ分のデータ受信が完了すると、処
理はステツプS18に進み、ページデータとして再構築さ
れたデータのページ番号とページバツフアの先頭アドレ
スをワークメモリ3に格納する。そしてワークメモリ3
をアクセスしてテキストデータ優先フラグが“1"かどう
かステツプS19で判断する。“YES"の場合、ステツプS20
で、ワークメモリ3に格納されている印刷すべきページ
のページバツフアの先頭アドレスとドツト密度DTを読み
込む。そして、ステツプS21で、そのアドレスに沿つて
文字コードデータを読み込み、フオントメモリ4をアク
セスして対応する構成ドツト数のフオントパターンを読
み込み、ビツトマツプメモリ5に展開する。次に、ステ
ツプS22に進んで、イメージフラグが“1"かどうか判断
する。“YES"の場合、ステツプS23でテキストデータの
密度とイメージデータの密度が等しいかどうかを判断
し、“NO"の場合、ステツプS24でイメージデータを密度
DTに変換してビツトマツプメモリに展開する。また、
“YES"の場合、ステツプS25でイメージデータを密度DI
でビツトマツプメモリに展開する。そして、ステツプS2
6で1ページ分の展開処理が終了したと判断するまで、
ステツプS21からS25の処理を繰り返す。When the reception of the data of one page is completed, the process proceeds to step S18, and the page number of the data reconstructed as the page data and the head address of the page buffer are stored in the work memory 3. And work memory 3
Is accessed and it is determined in step S19 whether the text data priority flag is "1". If “YES”, step S20
Then, the head address and dot density DT of the page buffer of the page to be printed stored in the work memory 3 are read. Then, in step S21, the character code data is read along the address, the font memory 4 is accessed to read the font pattern of the corresponding number of constituent dots, and developed in the bit map memory 5. Next, the process proceeds to step S22, where it is determined whether or not the image flag is "1". If “YES”, it is determined in step S23 whether the density of the text data is equal to the density of the image data, and if “NO”, the density of the image data is
Convert to DT and expand to bitmap memory. Also,
If "YES", the image data is density DI
To expand to Bitmap memory. And step S2
Until it is determined in step 6 that the expansion processing for one page has been completed,
Steps S21 to S25 are repeated.
まら、ステツプS22でイメージフラグが“1"でない場
合には、ステツプS26に進み、前記の同様な処理を繰り
返す。If it is determined in step S22 that the image flag is not "1", the flow advances to step S26 to repeat the same processing as described above.
一方、ステツプS19でテキスト優先フラグが“1"でな
い場合、ステツプS30へ進み、イメージ優先フラグが
“1"かどうか判断する。“YES"の場合、ステツプS32
で、ワークメモリ3に格納されている印刷すべきページ
のページバツフアの先頭アドレスとドツト密度DIをリー
ドする。次いでステツプS33で、そのドツト密度でイメ
ージをビツトマツプメモリ5に展開する。次にステツプ
S34で、データフラグが“1"かどうか判断し、“YES"の
場合、ステツプS35でテキストデータの密度とイメージ
データの密度が等しいかどうか判断する。“NO"の場
合、ステツプS36でテキストデータを密度DIに変換して
ビツトマツプメモリ5に展開する。そしてステツプS38
で1頁分の展開処理が終了したと判断するまでステツプ
S33からステツプS38を繰り返す。On the other hand, if the text priority flag is not "1" in step S19, the flow advances to step S30 to determine whether the image priority flag is "1". If “YES”, step S32
Then, the head address of the page buffer of the page to be printed and the dot density DI stored in the work memory 3 are read. Next, in step S33, the image is developed in the bit map memory 5 at the dot density. Then step
In S34, it is determined whether or not the data flag is "1". If "YES", it is determined in step S35 whether the density of the text data is equal to the density of the image data. If "NO", the text data is converted into the density DI in step S36 and developed in the bitmap memory 5. And step S38
Step until it is determined that the development process for one page has been completed.
Steps S38 to S38 are repeated.
また、ステツプS30が“NO"の場合、すなわち、高密度
フラグが“1"の場合、ステップS31へ進み、テキストデ
ータ密度優先か、イメージデータ密度優先かを判断し、
“YES"の場合ステツプS21へ、“NO"の場合ステツプS32
へ進み、前記と同様な処理を繰り返す。If step S30 is "NO", that is, if the high-density flag is "1", the flow advances to step S31 to determine whether priority is given to text data density or image data density.
If "YES", proceed to step S21; if "NO", step S32.
And the same processing as described above is repeated.
こうして、1ページ分のパターン或いはイメージの展
開が終了すると、処理はステツプS27に進む。ここで
は、先の処理で決定した印刷ドツト密度に対応するパル
スジエネレータ8及びスキヤナドライバ10へのセツト値
をワークメモリ3から読み込み、これらにセツトする。
このとき、ワークメモリ内のフラグ類をクリアしてお
く。そして、印刷部7から、そのセツトした値に基づく
印刷ドツト密度で印刷することが可能な状態になつたこ
とを示す信号(レデイ信号)があつたと判断するまで待
つ(ステツプS28)。この信号を受信した後、ステツプS
29で、ビツトマツプメモリ5の内容を順次読出し、パラ
レルシリアル変換器6に出力する。そしてステツプS30
で、1ページ分のデータ出力が完了したと判断するまで
繰り返す。When the development of the pattern or image for one page is completed, the process proceeds to step S27. Here, the set values to the pulse generator 8 and the scanner driver 10 corresponding to the print dot density determined in the previous processing are read from the work memory 3 and set therein.
At this time, flags in the work memory are cleared. Then, it waits until it is determined from the printing unit 7 that a signal (ready signal) indicating that it is possible to print at a print dot density based on the set value has been received (step S28). After receiving this signal, step S
At step 29, the contents of the bit map memory 5 are sequentially read and output to the parallel-serial converter 6. And step S30
It repeats until it is determined that data output for one page is completed.
尚、同一ページを複数枚印刷するときには、ステツプ
S30の判断が“YES"となる場合をその指定枚数分カウン
トするようにすれば良い。Note that when printing the same page multiple times,
The case where the determination in S30 is "YES" may be counted for the designated number.
以上説明したように本実施例によれば、高密度優先コ
マンドを入力したときには、印刷ドツト密度をテキスト
データ及びイメージデータ各々の印刷ドツト密度の高い
方に合せるので、常に高品位な出力結果を得ることが可
能となる。As described above, according to the present embodiment, when a high-density priority command is input, the print dot density is adjusted to the higher of the print dot densities of the text data and the image data, so that a high-quality output result is always obtained. It becomes possible.
尚、実施例では、ポリゴンミラー14でもつてビデオ信
号に基づくレーザビームを感光体15に走査露光して可視
画像を形成する例を示したが、LEDアレーや液晶シャツ
タを利用する光プリンタであつても構わない。In the embodiment, an example in which a laser beam based on a video signal is scanned and exposed on the photoconductor 15 by the polygon mirror 14 to form a visible image has been described, but an optical printer using an LED array or a liquid crystal shutter is described. No problem.
例えば、LEDアレーを利用するLEDプリンタにおいて
は、主走査方向についてはドツト密度に対応した間隔で
LEDを並べることになるので、例えばドツト密度がD1〜D
3必要な場合には、3種類のLEDアレーを感光体の周囲に
配置して、それらを適宜選択することにより主走査方向
のドツト密度の変更を行う。一方、副走査方向について
は、1ラインのLEDアレーを点灯させる時間間隔(感光
体の回転速度とドツト密度により決定される)を制御す
ることにより達成する。For example, in an LED printer using an LED array, in the main scanning direction, the intervals correspond to the dot density.
Since the LEDs are arranged, for example, the dot density is D 1 to D
(3) If necessary, three types of LED arrays are arranged around the photoreceptor, and the dot density in the main scanning direction is changed by appropriately selecting them. On the other hand, the sub-scanning direction is achieved by controlling the time interval (determined by the rotation speed and dot density of the photoreceptor) for lighting the one-line LED array.
また、主走査方向については、ビデド信号をシリアル
信号にするのではなくビツトマツプメモリからリードし
たデータをLEDアレーの1ライン分のエレメントに相当
するレジスタに順次ラツチして行き、1ライン分終了し
た時点で、LEDアレーを点灯することとなる。従つて、
先に説明した1ラインのLEDアレーに1ライン分のDTAを
転送し終了しなければならない。In the main scanning direction, the data read from the bit map memory is sequentially latched into a register corresponding to an element of one line of the LED array, instead of converting the video signal into a serial signal, and the processing is completed for one line. At that point, the LED array will be turned on. Therefore,
The DTA for one line must be transferred to the one-line LED array described above and the processing must be completed.
また、上記例ではドツト密度の異なる複数のフオント
メモリを用いたが、アウトラインフオント(ベクトルフ
オント)と呼ばれるフオントを用いると、一種のフオン
トから種々の構成ドツト数のフオントパターンを発生す
ることが出来、フオントメモリの容量を節約することも
可能となる。Further, in the above example, a plurality of font memories having different dot densities are used. However, if a font called an outline font (vector font) is used, a font pattern having various constitution dot numbers can be generated from one kind of font. It is also possible to save the capacity of the font memory.
更には、印刷速度が遅い場合、或いはMPUのパフオー
マンスが非常に高い場合には、密度指定をページの先頭
で行なうことによりページバツフア、ビツトマツプメモ
リを省略し、入力されるコードデータから直接フオント
メモリをアクセスし、ドツト情報に変換する手法を取る
ことも考えられる。Furthermore, when the printing speed is low or the performance of the MPU is very high, the page buffer and bit map memory are omitted by specifying the density at the top of the page, and the font memory is directly stored from the input code data. It is also conceivable to take a method of accessing and converting to dot information.
また、低密度優先コマンドを追加し、テキストデータ
とイメージデータのうち、低い密度に合わせて印字する
ことも出来る。Further, a low-density priority command can be added so that printing can be performed in accordance with the low density of text data and image data.
更にまた、ドツト密度優先の順位として、印字制御部
内にデイフオルト値として、何れか一つを設定するよう
にしてもよい。Furthermore, any one of the dot density priorities may be set as a default value in the print control unit.
更にまた、同一ページ内のイメージデータに関し、複
数のドツト密度指定コマンドが入力された場合、どれを
優先するかコマンドで設定するかが問題となる。この場
合、上記実施例と同様に、最高密度のものに合せるよう
処理すれば良い。テキストデータに関しても同様であ
る。Furthermore, when a plurality of dot density designation commands are input with respect to image data in the same page, there is a problem in which one is given priority and set by the command. In this case, similarly to the above embodiment, processing may be performed so as to match the highest density. The same applies to text data.
また、ドツト密度優先コマンドをホストコンピユータ
から入力したが印字制御部の操作パネルからマニユアル
で入力設定してもよい。Although the dot density priority command is input from the host computer, the dot density priority command may be input and set manually from the operation panel of the print control unit.
また、入力されるイメージデータとテキストデータが
同一ページに混在する場合は上記例でよいが、別々のペ
ージで構成される場合、それぞれ指定されたドツト密度
で印字してもよいし、或は上記例のように同じドツト密
度で印字してもよい。In the case where the input image data and the text data are mixed on the same page, the above example may be used. However, when the image data and the text data are composed of separate pages, the printing may be performed at the designated dot density. Printing may be performed at the same dot density as in the example.
[発明の効果] 以上説明したように本発明によれば、イメージデータ
とテキストデータそれぞれの解像度に差があっても、イ
メージデータとテキストデータが混在した良好な出力情
報を出力させることが可能になる。[Effects of the Invention] As described above, according to the present invention, it is possible to output good output information in which image data and text data are mixed even if there is a difference in resolution between image data and text data. Become.
第1図は本実施例におけるレーザビームプリンタのブロ
ツク構成図、 第2図は実施例における印刷部の構成概略を示す図、 第3図は本実施例における印刷処理手順を示すフローチ
ャートである。 図中、1……インタフエース、2……ページバツフア、
3……ワークメモリ、4……フオントメモリ、5……ビ
ツトマツプメモリ、6……パラレルシリアル変換器、7
……印刷部、8……パルスジエネレータ、9……MPU、9
a……プログラムメモリ、10……スキヤナドライバであ
る。FIG. 1 is a block diagram of a laser beam printer according to the present embodiment, FIG. 2 is a diagram showing a schematic configuration of a printing unit in the embodiment, and FIG. 3 is a flowchart showing a print processing procedure in the present embodiment. In the figure, 1 ... Interface, 2 ... Page buffer,
3 Work memory, 4 Font memory, 5 Bit map memory, 6 Parallel-serial converter, 7
…… Printing section, 8… Pulse generator, 9… MPU, 9
a: Program memory, 10: Scanner driver.
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭60−167569(JP,A) 特開 昭59−85536(JP,A) 特開 平2−93594(JP,A) 特開 昭57−129566(JP,A) ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-60-167569 (JP, A) JP-A-59-85536 (JP, A) JP-A-2-93594 (JP, A) JP-A-57-85 129566 (JP, A)
Claims (14)
イメージデータに基づいて出力情報を生成して、解像度
可変な出力部で出力させる出力制御装置であって、 第1のモードと第2のモードの内、どちらのモードが設
定されているかを判別する判別手段と、 前記判別手段で前記第1のモードが設定されていると判
別された場合に前記イメージデータに対する解像度にか
かわらず前記テキストデータに対する解像度で前記出力
情報を生成し、或は、前記判別手段で前記第2のモード
が設定されていると判別された場合に前記テキストデー
タに対する解像度にかかわらず前記イメージデータに対
する解像度で前記出力情報を生成する生成手段と、 前記生成手段で生成された前記出力情報を記憶する記憶
手段と、 前記記憶手段に記憶された前記出力情報を前記出力部へ
出力する出力手段とを有することを特徴とする出力制御
装置。1. An output control apparatus for generating output information based on text data and image data input from an external device and outputting the generated information at an output unit having a variable resolution, comprising: a first mode and a second mode. Determination means for determining which mode is set; and when the determination means determines that the first mode is set, the determination is made for the text data regardless of the resolution for the image data. The output information is generated at a resolution, or when the determination unit determines that the second mode is set, the output information is generated at a resolution for the image data regardless of a resolution for the text data. Generating means for generating; storage means for storing the output information generated by the generating means; and An output unit that outputs output information to the output unit.
記イメージデータに対する解像度で、前記テキストデー
タ内の文字コードに対応するパターンが生成されること
を特徴とする請求項1記載の出力制御装置。2. The output control device according to claim 1, wherein a pattern corresponding to a character code in the text data is generated at a resolution for the text data or a resolution for the image data.
づいて生成されるイメージデータと前記外部装置から入
力されるイメージデータを含むことを特徴とする請求項
1記載の出力制御装置。3. The output control device according to claim 1, wherein the output information includes image data generated based on the text data and image data input from the external device.
キストデータに対する解像度で前記生成された出力情報
を出力するように設定されていることを特徴とする請求
項1記載の出力制御装置。4. The output control device according to claim 1, wherein the output unit is set to output the generated output information at a resolution corresponding to the text data in the first mode. .
メージデータに対する解像度で前記生成された出力情報
を出力するように設定されていることを特徴とする請求
項1記載の出力制御装置。5. The output control device according to claim 1, wherein the output section is set to output the generated output information at a resolution corresponding to the image data in the second mode. .
ンジンであることを特徴とする請求項1記載の出力制御
装置。6. The output control device according to claim 1, wherein said output unit is an engine of a laser beam printer.
あることを特徴とする請求項1記載の出力制御装置。7. The output control device according to claim 1, wherein said output unit is an engine of an LED printer.
イメージデータに基づいて出力情報を生成して、解像度
可変な出力部で出力させる出力制御装置における出力制
御方法であって、 第1のモードと第2のモードの内、どちらのモードが設
定されているかを判別し、前記第1のモードが設定され
ていると判別された場合に前記イメージデータに対する
解像度にかかわらず前記テキストデータに対する解像度
で前記出力情報を生成し、或は、前記第2のモードが設
定されていると判別された場合に前記テキストデータに
対する解像度にかかわらず前記イメージデータに対する
解像度で前記出力情報を生成してメモリに記憶し、当該
出力情報を前記出力部へ出力することを特徴とする出力
制御方法。8. An output control method in an output control device for generating output information based on text data and image data input from an external device and outputting the generated output information at an output unit with variable resolution, comprising: It is determined which of the second modes is set, and when it is determined that the first mode is set, the resolution is determined for the text data regardless of the resolution for the image data. Output information is generated, or when it is determined that the second mode is set, the output information is generated at the resolution for the image data regardless of the resolution for the text data and stored in a memory. And outputting the output information to the output unit.
記イメージデータに対する解像度で、前記テキストデー
タ内の文字コードに対応するパターンが生成されること
を特徴とする請求項8記載の出力制御方法。9. The output control method according to claim 8, wherein a pattern corresponding to a character code in said text data is generated at a resolution for said text data or a resolution for said image data.
基づいて生成されるイメージデータと前記外部装置から
入力されるイメージデータを含むことを特徴とする請求
項8記載の出力制御方法。10. The output control method according to claim 8, wherein the output information includes image data generated based on the text data and image data input from the external device.
テキストデータに対する解像度で前記生成された出力情
報を出力するように設定されていることを特徴とする請
求項8記載の出力制御方法。11. The output control method according to claim 8, wherein the output unit is set to output the generated output information at a resolution corresponding to the text data in the first mode. .
イメージデータに対する解像度で前記生成された出力情
報を出力するように設定されていることを特徴とする請
求項8記載の出力制御方法。12. The output control method according to claim 8, wherein the output unit is set to output the generated output information at a resolution corresponding to the image data in the second mode. .
エンジンであることを特徴とする請求項8記載の出力制
御方法。13. The output control method according to claim 8, wherein said output unit is an engine of a laser beam printer.
であることを特徴とする請求項8記載の出力制御方法。14. The output control method according to claim 8, wherein said output unit is an engine of an LED printer.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1637089A JP2584856B2 (en) | 1989-01-27 | 1989-01-27 | Output control device and method |
US07/407,311 US5045869A (en) | 1988-09-16 | 1989-09-14 | Printing controller for printing at selected resolutions |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1637089A JP2584856B2 (en) | 1989-01-27 | 1989-01-27 | Output control device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH02198876A JPH02198876A (en) | 1990-08-07 |
JP2584856B2 true JP2584856B2 (en) | 1997-02-26 |
Family
ID=11914418
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1637089A Expired - Fee Related JP2584856B2 (en) | 1988-09-16 | 1989-01-27 | Output control device and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2584856B2 (en) |
-
1989
- 1989-01-27 JP JP1637089A patent/JP2584856B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH02198876A (en) | 1990-08-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5045869A (en) | Printing controller for printing at selected resolutions | |
CA2166766C (en) | Page-makeup system | |
US5978553A (en) | System for processing received print data prior to printing | |
JPH05278263A (en) | Image processor and recorder | |
US6570672B1 (en) | Printing system and method | |
US6173338B1 (en) | Image output system having memory for storing image data and outputting stored image data based upon output condition and instruction | |
JPH03110596A (en) | Printer | |
JP2572125B2 (en) | Output control device and method | |
JP2584856B2 (en) | Output control device and method | |
JPH071760A (en) | Color laser printer improved in resolution and its method | |
US5664070A (en) | Outputting method and apparatus | |
US5946001A (en) | Output apparatus with changeable font resolution | |
JP3550979B2 (en) | Image processing device | |
JP2521818B2 (en) | Output control device | |
JPH0784075B2 (en) | Output device | |
JP3021806B2 (en) | Image generator | |
JP3004281B2 (en) | Image forming device | |
JP2647917B2 (en) | Image processing device | |
JP2621971B2 (en) | Printing control device | |
JPH07121592B2 (en) | Image forming apparatus and control method thereof | |
JPH09270915A (en) | Image processing method and image processing apparatus | |
JPH04205069A (en) | Image processor | |
JPH0744687A (en) | Picture forming device | |
JPH02238963A (en) | Image forming device | |
JP2598506B2 (en) | Printing control device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |