JPH03217170A - printing device - Google Patents

printing device

Info

Publication number
JPH03217170A
JPH03217170A JP1187390A JP1187390A JPH03217170A JP H03217170 A JPH03217170 A JP H03217170A JP 1187390 A JP1187390 A JP 1187390A JP 1187390 A JP1187390 A JP 1187390A JP H03217170 A JPH03217170 A JP H03217170A
Authority
JP
Japan
Prior art keywords
resolution
colors
color
printing
designation
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.)
Pending
Application number
JP1187390A
Other languages
Japanese (ja)
Inventor
Takeshi Onodera
健 小野寺
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP1187390A priority Critical patent/JPH03217170A/en
Publication of JPH03217170A publication Critical patent/JPH03217170A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Color, Gradation (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PURPOSE:To achieve a multicolor expression and high resolution with the small source of a memory by changing resolution according to the number of colors to be used. CONSTITUTION:The designated number of colors is set to a color number designation flag 6a and according to the new color designation, usable maximum resolution dmax is calculated. Out of the resolution provided for a printer, the closest resolution less than the maximum resolution dmax is selected and set to the resolution flag 6a. Next, the number of dots in the longitudinal and lateral sides of a frame is determined and set to a frame buffer area 6c. Thus, for a part requiring the high resolution in the single color like a character, the quality can be prevented from being degraded by reducing the color number designation and increasing the resolution, and at an image or graphic part, the memory can be prevented from being increased by increasing the color number designation and lowering the resolution. Then, both the multicolor expression and the high resolution can be achieved with the small memory source.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は多色印刷かつ解像度の変更が可能な印刷装置に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printing device capable of performing multicolor printing and changing resolution.

[従来の技術] 従来、多色印刷装置においては、印刷出力する解像度に
関わらず印刷色数分のフレームメモリを持つ必要があっ
た。
[Prior Art] Conventionally, a multicolor printing apparatus has been required to have a frame memory for the number of colors to be printed, regardless of the resolution of the printout.

[発明が解決しようとしている課題] しかしながら、高解像度を有する印刷装置においては、
印刷色数分のフレームメモリを持っては、膨大なメモリ
容量を必要とし、コストが高くなるという問題点があっ
た。
[Problem to be solved by the invention] However, in a printing device with high resolution,
Having frame memories for the number of printing colors requires a huge amount of memory capacity and increases costs.

基本的に多色表現を必要とするカラーイメージやグラフ
ィックス部分はあまり高解像度を必要としないので、解
像度を低下させメモリを削減させる方法もあるが、文字
のように高解像度を必要とする部分では、その品位が劣
化するという新たな問題点が生じた。
Basically, color images and graphics parts that require multicolor expression do not require very high resolution, so there is a way to reduce memory by lowering the resolution, but parts such as characters that require high resolution However, a new problem has arisen in that the quality deteriorates.

[課題を解決するための手段] 本発明は上述の課題を解決することを目的として成され
たもので、上述の課題を解決する一手段として以下の構
成を備える。
[Means for Solving the Problems] The present invention has been made for the purpose of solving the above-mentioned problems, and includes the following configuration as one means for solving the above-mentioned problems.

即ち、2色以上での印刷が可能な印刷手段と、該印刷手
段での印刷色数を指定する指定手段と、該指定手段で指
定された色数に従って解像度の変更を行なう解像度変更
手段とを備え、印刷手段は該解像度変更手段での変更解
像度に従い、指定手段での指定色数で印刷出力する。
That is, a printing means capable of printing in two or more colors, a specifying means for specifying the number of colors to be printed by the printing means, and a resolution changing means for changing the resolution according to the number of colors specified by the specifying means. The printing means prints out the number of colors specified by the specifying means in accordance with the resolution changed by the resolution changing means.

[作用] 以上の構成において、使用する色数に従って解像度を変
更させることにより、文字のように単色で高解像度を必
要とする部分(もしくはページ)は、色数の指定を少な
くし、解像度を上げることで品位の劣化を防ぎ、イメー
ジやグラフィック部分では色数の指定を増やし、解像度
を低下させることでメモリの増加を防ぐことができ、少
ないメモリリソースで多色表現と高解像度の両方を達成
できるようにしたものである。
[Effect] In the above configuration, by changing the resolution according to the number of colors used, for areas (or pages) that require high resolution with a single color such as text, the number of colors specified can be reduced and the resolution increased. This prevents deterioration of quality, increases the number of colors specified for images and graphics, and reduces memory capacity by lowering the resolution, making it possible to achieve both multicolor expression and high resolution with less memory resources. This is how it was done.

[実施例〕 以下に、添付の図面を参照して本発明に係る一実施例を
詳細に説明する。
[Embodiment] Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

第1図は、本発明に係る一実施例における、解像度を変
更する手段と、多色印刷する手段とを有する印刷装置の
ブロック図である。
FIG. 1 is a block diagram of a printing apparatus having means for changing resolution and means for printing in multiple colors in one embodiment of the present invention.

第1図において、破線で示された解像度を変更する手段
と多色印刷する手段を有する印刷装置の本体1には、外
部のホストコンピュータ2が不図示のコネクタを介して
接続されており、ホストコンピュータ2からの印刷命令
・色数指定命令等を受取り、印刷出力するように構成さ
れている。
In FIG. 1, an external host computer 2 is connected via a connector (not shown) to a main body 1 of the printing apparatus, which has means for changing resolution and means for printing in multiple colors, indicated by broken lines. It is configured to receive print commands, color number designation commands, etc. from the computer 2 and print them out.

印刷装置の本体1において、3はプログラムROM5に
内蔵された例えば第2図に示す制御手順に従い本装置1
の全制御を行なうCPU装置、4はホストコンピュータ
2よりの印刷命令・色数指定命令等の受信データを蓄え
る受信バツファ、5は上述した後述する一連の制御フロ
ー実行のためのプログラム等が格納されているROM,
6はCPU装置3がプログラムを実行する際のワークエ
リアとして機能するRAMであり、このRAMG内には
、色の指定数を一時的に記憶する色数フラグエリア6a
、色数に従った解像度を一時的に記憶する解像度フラグ
エリア6b、色数分の解像度に従ったサイズのフレーム
バツファを一時的に確保し色数分の解像度に従った印刷
データを記憶するフレームバッファエリア6cとが確保
されている。
In the main body 1 of the printing device, 3 is a program ROM 5 that stores the main unit 1 according to the control procedure shown in FIG. 2, for example.
4 is a receiving buffer for storing data received from the host computer 2 such as print commands and color number designation commands; 5 is a receiving buffer that stores programs for executing a series of control flows described above and later. ROM,
6 is a RAM that functions as a work area when the CPU device 3 executes a program, and this RAMG includes a color number flag area 6a that temporarily stores the designated number of colors.
, a resolution flag area 6b for temporarily storing the resolution according to the number of colors, a frame buffer of a size according to the resolution for the number of colors is temporarily secured, and print data according to the resolution for the number of colors is stored. A frame buffer area 6c is secured.

7は1色(ブラック)、3色(イエロー、マジエンタ、
シアン)、もし《は4色(イエローマジエンタ、シアン
、ブラック)の3段階の色設定手段と、2 0 0 d
pi、2 4 0 dpi、もし《は400dpiの3
段階の解像度変更手段を有する印刷出力部、8は各構成
に動作電源を供給する電源装置である。なお、出力部7
における色設定手段、及び解像度変更手段の構成につい
ては公知であるため詳細説明は省略する。
7 is 1 color (black), 3 colors (yellow, magenta,
cyan), if << is a 3-step color setting means of 4 colors (yellow magenta, cyan, black), and 200 d
pi, 2 4 0 dpi, if << is 3 of 400 dpi
The printing output unit has stepwise resolution changing means, and 8 is a power supply device that supplies operating power to each component. Note that the output section 7
Since the configurations of the color setting means and the resolution changing means are well known, a detailed explanation thereof will be omitted.

次に、以上に説明した構成を備える本実施例の解像度を
変更する手段と多色印刷する手段を有する印刷装置の動
作を、第2図のフローチャートに基づいて説明する。
Next, the operation of the printing apparatus having the above-described configuration and the means for changing the resolution and the means for performing multicolor printing will be explained based on the flowchart of FIG. 2.

第2図において、本体lに電源が供給され電源部8より
各構成に動作電源が供給されると、第2図の処理を実行
する。まずステップS1でRAMG内の色数指定フラグ
6aを1(ブラック単色)に初期指定する。続いてステ
ップS2で使用可能な最大解像度dmaxを求める。d
maxは、{(フレームバツファエリア6Cの容量)÷
(縦×横)÷色数}の平方根で求められ、例えば、フレ
ームのサイズがA4(有効印字領域8インチ×10.8
インチ)であり、RAM6の記憶容量よりフレームバツ
ファエリア6Cのサイズが1.8 Mバイトとすると、
使用可能な最大解像度dmaxは、1.8 X 102
4X l024X 8÷(8X10.8)÷1の平方根
で求められ、418.05と求められる。
In FIG. 2, when power is supplied to the main body 1 and operating power is supplied from the power supply unit 8 to each component, the process shown in FIG. 2 is executed. First, in step S1, the color number designation flag 6a in the RAMG is initially designated as 1 (single black color). Subsequently, in step S2, the maximum usable resolution dmax is determined. d
max is {(capacity of frame buffer area 6C) ÷
(length x width) ÷ number of colors}, for example, if the frame size is A4 (effective printing area 8 inches x 10.8 inches)
inch), and if the size of frame buffer area 6C is 1.8 MB based on the storage capacity of RAM 6, then
Maximum usable resolution dmax is 1.8 x 102
It is determined by the square root of 4X l024X 8÷(8X10.8)÷1, and is determined to be 418.05.

次にステップS3で、印刷装置の有する解像度のなかか
ら最大解像度dmax以下で最も近い解像度(例えば本
実施例であれば解像度d=400)が選択され、解像度
フラグ6bに設定される。
Next, in step S3, the closest resolution below the maximum resolution dmax (for example, resolution d=400 in this embodiment) is selected from among the resolutions possessed by the printing device, and is set in the resolution flag 6b.

続いてステップS4でフレームの縦及び横のドット数を
決定し、フレームバツファエリア6Cに設定する。上述
の例であれば、8インチ×(解像度d)÷8、及び10
.8インチ×(解像度d)により、横方向であるXサイ
ズ=400 (バイト)、縦方向であるyサイズ=43
20 (ドット)ようにフレームバツファのサイズが確
定し、1色分のフレームバッファがフレームバッファエ
リア6cに設定される。
Subsequently, in step S4, the number of vertical and horizontal dots of the frame is determined and set in the frame buffer area 6C. In the above example, 8 inches x (resolution d) ÷ 8, and 10
.. 8 inches x (resolution d), horizontal x size = 400 (bytes), vertical y size = 43
The size of the frame buffer is determined to be 20 (dots), and a frame buffer for one color is set in the frame buffer area 6c.

次にステップS5でホストコンピュータ2より送られて
くるデータを受信し、この受信したデータを受信バツフ
ァ4に格納する。そして、この受信バツファ4に格納し
た受信データより1単位コード分のデータを読み取る。
Next, in step S5, data sent from the host computer 2 is received, and the received data is stored in the reception buffer 4. Then, data corresponding to one unit code is read from the received data stored in the reception buffer 4.

そしてステップS6で読出したデータが色数指定命令、
通常印字命令、排紙命令のうち、いずれの命令の受信で
あるかを判断する。判断の結果、色数指定命令の場合に
はステップS7に進み、命令が紙の先頭か否かを判断す
る。紙の先頭でなければこの命令を無視し、ステップS
5に戻る。
The data read in step S6 is the color number designation command.
It is determined which command is received, a normal print command or a paper discharge command. If the result of the determination is a color number designation command, the process advances to step S7, and it is determined whether the command is at the beginning of the paper. If it is not the beginning of the paper, ignore this command and step S
Return to 5.

一方、色数指定命令が紙の先頭であればステップS8に
進み、色数の指定が1色(ブラック)か、3色(イエロ
ー、マジエンタ、シアン)か、又は4色(イエロー、マ
ジエンタ、シアン、ブラック)のうちのいずれであるか
を判断する。そして、指定された色数を色数指定フラグ
6aに設定する。そしてステップS9で新たな色指定に
従って使用可能な最大解像度dmaxを求める。例えば
、色指定が3色であれば、本実施例のフレームのサイズ
は上述した様にA4サイズで、フレームバツファエリア
6Cのサイズは1.8Mバイトであるため、使用可能な
最大解像度であるdmaxは、1.8 X 1024X
 1024X 8÷(8X10.8)÷3の平方根で求
められ、241.36と求められる。
On the other hand, if the number of colors designation command is at the beginning of the paper, the process advances to step S8, and the number of colors designated is one color (black), three colors (yellow, magenta, cyan), or four colors (yellow, magenta, cyan). , black). Then, the designated number of colors is set in the number of colors designation flag 6a. Then, in step S9, the maximum usable resolution dmax is determined according to the new color designation. For example, if three colors are specified, the frame size in this embodiment is A4 size as described above, and the size of the frame buffer area 6C is 1.8 MB, which is the maximum usable resolution. dmax is 1.8X 1024X
It is determined by the square root of 1024X8÷(8X10.8)÷3, and is determined to be 241.36.

このため続くステップSIOで、印刷装置の有する解像
度のなかから最大解像度dmax以下で最も近い解像度
が選択され、解像度フラグ6bに設定される。本実施例
では解像度としてd=240が選択され解像度フラグ6
bに設定される。次にステップSllでフレームの縦及
び横のドット数を決定し、フレームバツファエリア6C
に設定する。上述の例であれば、 8インチ×(解像度d)÷8、 及び10.8インチ×(解像度d) により、横方向であるXサイズ=240 (バイト)、
縦方向であるyサイズ=25.92(ドット)のように
フレームバツファのサイズが確定し、3色のフレームバ
ツファがフレームバツファエリア6Cに設定される。そ
してステップS5に戻る。
Therefore, in the subsequent step SIO, the closest resolution below the maximum resolution dmax is selected from among the resolutions possessed by the printing apparatus, and is set in the resolution flag 6b. In this embodiment, d=240 is selected as the resolution, and the resolution flag 6
b. Next, in step Sll, the number of vertical and horizontal dots of the frame is determined, and the number of dots in the frame buffer area 6C is determined.
Set to . In the example above, 8 inches x (resolution d) ÷ 8, and 10.8 inches x (resolution d), the horizontal direction x size = 240 (bytes),
The size of the frame buffer in the vertical direction is determined as y size=25.92 (dots), and frame buffers of three colors are set in the frame buffer area 6C. Then, the process returns to step S5.

一方、ステップS6の命令判断の結果、受信命令が排紙
命令であった場合にはステップS20に進み、色数指定
フラグ6aの色数情報と、解像度フラグ6Cの解像度情
報及びフレームバツファ6cに格納した受信印刷データ
とを印刷出力部7に転送し、ステップS5に戻る。この
転送を受けた印刷出力部7では、記録用紙を給紙して公
知の方法で指定の色及び解像度での印刷出力を行ない、
印刷済み記録用紙の排紙を行なう。
On the other hand, as a result of the command determination in step S6, if the received command is a paper ejection command, the process advances to step S20, and the color number information of the color number designation flag 6a, the resolution information of the resolution flag 6C, and the frame buffer 6c are stored. The stored received print data is transferred to the print output unit 7, and the process returns to step S5. The print output section 7 that receives this transfer feeds the recording paper and prints it out in the designated color and resolution using a known method.
Eject the printed recording paper.

一方、ステップS6の命令判断の結果通常印字命令であ
った場合にはステップS25に進み、続いて送られてき
た印刷データを順次対応するフ1 l レームバツファ6cに格納し、印刷データの格納が終了
するとステップS5に戻る。
On the other hand, if the result of the command determination in step S6 is a normal print command, the process advances to step S25, and the subsequently sent print data is sequentially stored in the corresponding frame buffer 6c, and storage of the print data is completed. Then, the process returns to step S5.

以上説明した様に本実施例によれば、使用する色数に従
って解像度を変更させることにより、文字のように単色
で高解像度を必要とする部分(もしくはページ)は、色
数の指定を少なくし、解像度を上げることで品位の劣化
を防ぎ、イメージやグラフィック部分では色数の指定を
増やし、解像度を低下させることでメモリの増加を防ぐ
ことができ、少ないメモリリソースで多色表現と高解像
度の両方を達成できる。
As explained above, according to this embodiment, by changing the resolution according to the number of colors used, the number of colors specified can be reduced for parts (or pages) that require high resolution with a single color such as text. By increasing the resolution, you can prevent deterioration in quality, increase the number of colors specified for images and graphics, and reduce the resolution to prevent an increase in memory. You can achieve both.

[他の実施例] 以上の説明においては、色数の指定は頁単位で行なう例
について述べたが、本発明は以上の例に限定されるもの
ではなく、同一頁内の任意の時点で色指定の変更ができ
るように制御してもよい。
[Other Embodiments] In the above explanation, an example was described in which the number of colors is specified on a page-by-page basis, but the present invention is not limited to the above example. It may be controlled so that the specification can be changed.

1 2 また色数の指定が本実施例のように直接フレームバツフ
ァ数に対応せず、カラーテーブル等を介して、間接的に
フレームバツファ数を指定する様に構成してもよい。
1 2 Further, the designation of the number of colors may not directly correspond to the number of frame buffers as in this embodiment, but may be configured such that the number of frame buffers is designated indirectly via a color table or the like.

更に、色数指定命令が文字/イメージ・グラフィックス
等の機能指定命令と組み合わさっていてもかまわない。
Furthermore, the color number designation command may be combined with a function designation command such as text/image/graphics.

更にまた、色数の指定をホストコンピュータ2からのみ
行なうのではな《、パネル等からの手操作入力による指
定であってかまわない。
Furthermore, the number of colors may be designated not only from the host computer 2, but also by manual input from a panel or the like.

解像度の切り替えも、以上の説明のように段階的に行な
う方法に限定させるものではなく、連続的に設定可能に
構成してもよい。
The switching of the resolution is not limited to the stepwise method as described above, but may be configured to be able to be set continuously.

また、逆に解像度の指定命令によって色数が指定される
ような形式であってもかまわない。
Alternatively, the format may be such that the number of colors is specified by a resolution specification command.

更に、フレームバツファは記録用紙の1頁分全体の容量
がなくとも、その一部分であってもかまわない。
Furthermore, the frame buffer does not have to have the capacity of the entire page of recording paper, but may be a part of it.

[発明の効果] 以上説明したように本発明によれば、使用する色数に従
って解像度を変更させることにより、文字のように単色
で高解像度を必要とする部分は色数の指定を少な《して
解像度を上げることで品位の劣化を防ぎ、イメージやグ
ラフィック部分では色数の指定を増やし、解像度を低下
させることでメモリの増加を防ぐことができ、少ないメ
モリリソースで多色表現と高解像度の両方を達成できる
[Effects of the Invention] As explained above, according to the present invention, by changing the resolution according to the number of colors used, the number of colors can be specified for parts such as characters that are monochromatic and require high resolution. By increasing the resolution, you can prevent deterioration in quality, and by increasing the number of colors specified for images and graphics, and by lowering the resolution, you can prevent an increase in memory. You can achieve both.

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

第1図は本発明に係る一実施例のブロック図、第2図は
本実施例の動作フローチャートである。 図中、1・・・印刷装置本体、2・・・ホストコンピュ
ータ、3・・・CPU装置、4・・・受信バツファ、5
・・・プログラムROM、6・・・RAM、6a・・・
色数指定フラグエリア、6b・・・解像度フラグエリア
、6c・・・フレームバツファエリア、7・・・印刷出
力部、8・・・電源装置である。 エ 5
FIG. 1 is a block diagram of an embodiment according to the present invention, and FIG. 2 is an operation flowchart of the embodiment. In the figure, 1...Printing device main body, 2...Host computer, 3...CPU device, 4...Receiving buffer, 5
...Program ROM, 6...RAM, 6a...
Number of colors designation flag area, 6b...Resolution flag area, 6c...Frame buffer area, 7...Print output section, 8...Power supply device. E5

Claims (1)

【特許請求の範囲】[Claims] 2色以上での印刷が可能な印刷手段と、該印刷手段での
印刷色数を指定する指定手段と、該指定手段で指定され
た色数に従つて解像度の変更を行なう解像度変更手段と
を備え、前記印刷手段は該解像度変更手段での変更解像
度に従い前記指定手段での指定色数で印刷出力すること
を特徴とする印刷装置。
A printing means capable of printing in two or more colors, a specifying means for specifying the number of colors to be printed by the printing means, and a resolution changing means for changing the resolution according to the number of colors specified by the specifying means. A printing apparatus, wherein the printing means prints out the number of colors specified by the specifying means in accordance with the resolution changed by the resolution changing means.
JP1187390A 1990-01-23 1990-01-23 printing device Pending JPH03217170A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1187390A JPH03217170A (en) 1990-01-23 1990-01-23 printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1187390A JPH03217170A (en) 1990-01-23 1990-01-23 printing device

Publications (1)

Publication Number Publication Date
JPH03217170A true JPH03217170A (en) 1991-09-24

Family

ID=11789847

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1187390A Pending JPH03217170A (en) 1990-01-23 1990-01-23 printing device

Country Status (1)

Country Link
JP (1) JPH03217170A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7145691B2 (en) 2002-01-17 2006-12-05 Kabushiki Kaisha Toshiba Image reading apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7145691B2 (en) 2002-01-17 2006-12-05 Kabushiki Kaisha Toshiba Image reading apparatus

Similar Documents

Publication Publication Date Title
US5619623A (en) Method and device for transmitting and processing print data used for printer
JP3936016B2 (en) How to print document images
JPH111029A (en) Color print system, color printer, and computer-readable recording medium storing computer-executable program
US7528984B2 (en) Printing apparatus, data processing method for printing apparatus, and printing system
US8724157B2 (en) Printing apparatus and printer driver
JP2001325087A (en) Command analysis using rewritable command storage
JPH03217170A (en) printing device
US5848180A (en) Color bitmap generation with background dependent black objects
JP3275992B2 (en) Color printer and color print system
JP2774354B2 (en) INK JET RECORDING APPARATUS AND CONTROL METHOD THEREOF
US7535593B2 (en) Printing apparatus, data processing method for printing apparatus, and printing system
JP3147264B2 (en) Image processing apparatus and conversion method thereof
JP3867344B2 (en) Image output device
KR100208385B1 (en) Data buffer device and method for separating text and picture data from printer and storing them
US8346001B2 (en) Image processing apparatus, printing apparatus, and image processing method
JP2004098636A (en) Printer with multiple data processing devices
JPH0383673A (en) Page printer with editing function
JP2003271368A (en) Print control apparatus, print control method, medium recording print control program, and print control program
JP3279171B2 (en) Color printer
JP2918552B2 (en) Printing control device
JP3129133B2 (en) Color printing equipment
JP3157929B2 (en) Image processing apparatus and image processing method
KR100662211B1 (en) How to control raster image processing on large printers
JPH04241570A (en) Printer
JP3640123B2 (en) Image forming apparatus, image forming method, and computer readable recording medium recording image forming apparatus control program