JPH0422267A - Printer - Google Patents
PrinterInfo
- Publication number
- JPH0422267A JPH0422267A JP2125469A JP12546990A JPH0422267A JP H0422267 A JPH0422267 A JP H0422267A JP 2125469 A JP2125469 A JP 2125469A JP 12546990 A JP12546990 A JP 12546990A JP H0422267 A JPH0422267 A JP H0422267A
- Authority
- JP
- Japan
- Prior art keywords
- data
- binary
- binary data
- value data
- value
- 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
Links
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Record Information Processing For Printing (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
本発明はホストコンピュータ等の外部機器より2値デー
タと多値データとを混在した文書情報を入力して印刷す
る印刷装置に関するものである。The present invention relates to a printing apparatus that inputs and prints document information containing a mixture of binary data and multivalued data from an external device such as a host computer.
従来、文字とイメージとが混在されている文書情報では
、通常文字データは2値データで構成され、イメージデ
ータは多値データで構成されている。このような文書情
報をプリンタで印刷するような場合、イメージ等の多値
データは予めデイザ法等により2値パターンに展開し、
ビットマツプメモリ上で文字等の2値データと合成して
出力するか、または文字等の2値データと、イメージデ
ータをPWM (パルス幅変調)により処理した多値ド
ツトデータとの論理和をとってビデオ信号として出力し
て印刷を行っていた。Conventionally, in document information in which characters and images are mixed, the character data is usually composed of binary data, and the image data is composed of multi-valued data. When printing such document information with a printer, multivalued data such as images is developed into a binary pattern using a dither method, etc.
Either synthesizes it with binary data such as characters on a bitmap memory and outputs it, or performs a logical OR between binary data such as characters and multi-value dot data obtained by processing image data using PWM (pulse width modulation). In the past, printing was performed by outputting the video signal as a video signal.
しかし、従来例のように、単に多値データと2値データ
との論理和をとるだけでは、例えば第4図(A)に示す
文字データと、第4図(B)に示すイメージデータとが
混在している時、第4図(A)中の文字“1989.1
014”のデータは、第4図(B)に示すイメージデー
タの中に埋もれてしまって全く見えなくなってしまう。
これを防止するために、例えば文字データの部分を白抜
きにして印刷することも考えられるが、これを従来の方
法で実現するには以下に示すような問題がある。
■多値データから2値データに変換するためにはCPU
の負荷がかなり太き(なって時間がかかり、プリンタの
スルーブツトが低下する。また、ハードウェアにより多
値データから2値データに変換しようとすると回路規模
が大きくなり、プリンタのコストアップになってしまう
。
■一般にイメージを高品位に出力する場合、150dp
iで64階調もあればグラビアなみの印刷ができるとい
われているが、2値のプリンタで150dpi、64階
調(面積階調)を実現するには、150x8=1200
dpi (8x8ドツトにより64階調の1画素を印
刷する場合)の解像度のプリンタが必要である。
また、150dpiで64階調のデータを2値データに
変換する場合には、1200dpiでA4サイズのデー
タの場合は、16Mバイトのメモリが必要になる。一方
、150dpiで64階調を多値データのままであれば
、A4サイズで250Kx6崎1.6Mバイトのメモリ
容量ですむことになる。
本発明は上記従来例に鑑みてなされたもので、多値デー
タと2値データとが重なる部分を指定して、それに対応
した部分の2値データと多値データとを変換することに
より、2値データと多値データとが重なった場合でも容
易に2値データを判別できるようにした印刷装置を提供
することを目的とする。However, as in the conventional example, simply calculating the logical sum of multi-value data and binary data will result in the difference between, for example, the character data shown in FIG. 4(A) and the image data shown in FIG. 4(B). When they are mixed, the characters “1989.1” in Figure 4 (A)
014'' data will be buried in the image data shown in Figure 4 (B) and will not be visible at all. To prevent this, for example, text data may be printed with white outlines. However, there are the following problems in realizing this using conventional methods: ■CPU is required to convert multivalued data to binary data.
The load on the printer is quite large (and takes time), reducing the throughput of the printer.Also, converting multivalued data to binary data using hardware increases the circuit scale, which increases the cost of the printer. ■Generally, when outputting images in high quality, 150dp is used.
It is said that if there are 64 gradations with i, it is possible to print at the same level as gravure, but in order to achieve 150 dpi and 64 gradations (area gradation) with a binary printer, 150 x 8 = 1200
A printer with a resolution of dpi (when printing one pixel of 64 gradations using 8x8 dots) is required. Furthermore, when converting 64-gradation data at 150 dpi to binary data, 16 Mbytes of memory is required for A4 size data at 1200 dpi. On the other hand, if 64 gradations at 150 dpi are used as multi-value data, the memory capacity for A4 size paper is 250K x 6 sizes and 1.6M bytes. The present invention has been made in view of the above-mentioned conventional example, and by specifying a portion where multi-value data and binary data overlap and converting the corresponding portion of binary data and multi-value data, It is an object of the present invention to provide a printing device that can easily distinguish binary data even when value data and multi-value data overlap.
上記目的を達成するために本発明の印刷装置は以下の様
な構成からなる。即ち、
外部機器より2値データ及び多値データで構成される印
刷情報を入力して印刷する印刷装置であって、前記多値
データと重なって出力される2値データの濃度を指定す
る指定情報に応じて、前記2値データを変換する変換手
段と、前記指定情報に応じて前記2値データと重なる多
値データを変換する多値データ変換手段と、前記変換手
段により変換された2値データと、前記多値データ変換
手段とにより変換された多値データとにより前記指定情
報により指定された部分を印刷する印刷手段とを有する
。In order to achieve the above object, the printing apparatus of the present invention has the following configuration. That is, a printing device that inputs and prints print information composed of binary data and multi-value data from an external device, and designation information that specifies the density of the binary data that is outputted overlapping with the multi-value data. a converting means for converting the binary data according to the specified information; a multi-value data converting means for converting multi-value data overlapping with the binary data according to the specified information; and binary data converted by the converting means. and printing means for printing a portion designated by the designation information using the multi-value data converted by the multi-value data conversion means.
以上の構成において、多値データと重なって出力される
2値データの濃度を指定する指定情報に応じて、2値デ
ータを変換するとともに、その指定情報に応じて2値デ
ータと重なる多値データを変換する。こうして変換され
た2値データと多値データとにより、その指定情報によ
り指定された部分を印刷する。これにより、多値データ
とイメージデータとが重なった場合でも、2値データを
容易に判別することができる。In the above configuration, the binary data is converted according to the specification information that specifies the density of the binary data that is output while overlapping with the multi-value data, and the multi-value data that overlaps with the binary data is converted according to the specification information. Convert. Using the binary data and multi-value data thus converted, the portion designated by the designation information is printed. Thereby, even if multivalued data and image data overlap, binary data can be easily distinguished.
以下、添付図面を参照して本発明の好適な実施例を詳細
に説明する。
[印刷装置の説明 (第1図、第2図)]第1図は本実
施例の印刷装置の印刷データ処理部の構成を示すブロッ
ク図である。
第1図において、101は人力制御部で、例えばポスト
コンピュータ等の上位装置より送られてくる文字コード
やイメージデータを入力し、文字コードなどの2値デー
タは2値ベージメモリ102に出力し、イメージデータ
等の多値データは多値メモリ103に出力している。1
02は2値ベージメモリで、入力制御部101よりの文
字コードや制御コードから構成される2値データをペー
ジ単位で記憶する。103は入力制御部101よりのイ
メージデータ等の多値データを記憶する多値メモリであ
る。
104は装置全体を制御する主制御部で、2値ベージメ
モリ102に配憶されている文字コード等をパターン展
開してビットマツプメモリ10Gに展開したり、像形成
部109にプリント開始命令を出力し、その像形成部1
09より入力する水平及び垂直同期信号(153,15
4)等により、プリントデータの出力タイミングを求め
て、読出し制御部108にビットマツプメモリ106の
読出しを指示するとともに、多値メモリ103よりの多
値データの読出しをも制御している。105は文字パタ
ーン発生部で、文字コードに対応してパターン情報を記
憶しており、文字コードを入力して対応する文字パター
ンを発生することができる。106は2値ベージメモリ
102に記憶されている文字コードをパターン展開した
2値データを記憶するためのビットマツプメモリである
。110は、第2図にその詳細を示すイメージ合成部で
ある。
108は読出し制御部で、主制御部104及び像形成部
109よりタイミング信号を入力し、多値メモリ103
、ビットマツプメモリ106の読出しタイミングを制御
するとともに、イメージ合成部110の動作を実行させ
るために各種タイミング信号を出力している。109は
ドツトデータを入力して記録紙等に印刷する、例えばレ
ーザビームプリンタ等の像形成部である。
この実施例の像形成部109では、2値データを600
dpi、即ち1インチ当たり600ドツトの解像度で印
刷し、多値データを150dp1.64階調で印刷する
ものとしている。
第2図はイメージ合成部110の内部構成を示すブロッ
ク図である。
第2図において、201はラッチ信号226により2値
ドツトデータを記憶するラッチ回路、202はラッチ信
号227により多値データを記憶するラッチ回路である
。203,206はパラレル信号をシリアル信号に変換
する並直変換器で、並直変換器203はラッチ回路20
1よりの8ビツト2値データをロード信号220により
ロードし、シフトクロック221に同期してシリアル信
号で出力している。204は2ビツトのカウンタで、カ
ウントクロック222により計数した信号を、ROM2
05のアドレスの一部として出力している。
205は例えば第6図に示したデータを記憶しているR
OMである。206は並直変換器で、ROM205より
出力される16ビツトデータをロード信号223により
ロードし、シフトクロック224によりシリアル信号に
変換して出力している。207は2人力1出力のセレク
タで、選択信号225がハイレベルのときばB入力を、
ロウレベルのときは六入力を選択して出力している。
208はDタイプのフリップフロップ(以下F/Fと略
す)で、シフトクロック224に同期してセレクタ20
7の出力をラッチしている。
以下、第1図、第2図のブロック図を参照して本実施例
の動作について説明する。
この実施例では、印刷結果として、例えば第4図(C)
に示すような印刷データを出力する場合で説明する。
第4図(C)に示した印刷データは、第4図(A)に示
す2値データと、第4図(B)に示す多値データイメー
ジとを合成したものである。但し、ここでは“1989
.10.14”という文字列は、第4図(C)において
は、白抜きの文字として印刷されている。これは、文字
の周辺が黒い場合、黒く印刷された文字列では文字が判
別できなくなってしまうからである。
ここで、第4図(C)に示す印刷結果を得る場合、図示
しない上位装置からは、第4図(A)に示す2値データ
及び第4図(B)に示す多値データが送られてくる。こ
れらのデータは、入力制御部101を経て、第4図(A
)で示された2値データは2値ページメモリ102へ、
第4図(B)で示された多値データは多値メモリ103
へ送られて記憶される。その後、2値データは主制御部
104の制御により、文字パターン発生部105を参照
して文字パターンデータに変換されてビットマツプメモ
リ106上に展開される。なお、このビットマツプメモ
リ106上には、その文字パターンが黒文字で印刷され
るか白文字で印刷されるかに関係な(、文字パターンの
存在する部分のビットを“1”で、文字パターンが存在
しない部分のビットを“O”にして展開する。
方、多値メモリ103には、例えば第5図に示すような
フォーマットの多値データが記憶され、ここでは]画素
につき8ビツトのデータが割当てられる。これら8ビツ
トデータの内、51で示されたDO〜D5で示される6
ビツトは、26=64通りの階調を示す情報である。ま
た、52で示された最上位ビットD7は、この多値デー
タが2値文字パターンと合成された場合に、その2値の
文字を黒文字で印刷するか、白抜きの文字として印刷す
るかを示す白黒情報である。
従って、例えば前述した第4図(B)に示すイメージデ
ータの場合は、401で示された部分のイメージデータ
では、その多値データのD7には“1” (黒文字とし
て出す)がセットされ、402で示された部分のイメー
ジデータでは、その多値データのD7には“0” (白
文字として出す)がセットされる。この白黒情報52
(D7)は、上位装置が判断して、予めその送出する多
値イメージデータに含ませてもよ(、または上位装置よ
りのコマンド等で指定しても良い。さらには、この印刷
装置が、文字と合成されるイメージ部分の濃度を判別し
て、自動的に判断してもかまわない。
こうして、ビットマツプメモリ106及び多値メモリ1
03に1ペ一ジ分のデータが揃うと、主制御部104は
像形成部109にプリント開始信号]52を送ると共に
、最初のプリントデータをそれぞれビットマツプメモリ
106及び多値メモリ103よりイメージ合成部110
に転送し、ビットマツプメモリ106よりの2値データ
251をラッチ回路201に、多値メモリ103よりの
多値データ252をラッチ回路202にラッチさせる。
ここで、データバスは8ビツトであるから、2値データ
251は最初の走査線の8ドツト分、多値データ252
では1画素の最初の走査線分のデータとなっている。ま
た、像形成部109は主制御部104よりプリント開始
信号152を受けて、プリント位置タイミングを知らせ
るための垂直同期信号153及び水平同期信号154を
出力する。主制御部104ば、これら垂直同期信号15
3及び水平同期信号154をもとにプリント開始タイミ
ングを計算し、プリント開始位置に達したところで、読
出し制御部108に読出し開始信号155を出力する。
その後の本実施例の動作について説明する前に、本実施
例で採用しているPWM方式(パルス幅変調方式)によ
りイメージを形成する方式について説明する。
PWM方式とは、2値データで表わされた1ドツトを出
力する場合に、そのドツトに対応するビデオ信号幅をさ
らに細かく分解し、それら分解されたパルス信号レベル
を変更することにより1ドツトの階調を変更して階調表
現を行うもので、イメージデータのような階調性を必要
とするデータを高品質に印刷することができる。
第6図は、PWM方式による階調印刷を実現した方法を
示す図である。
第6図において、大きな4角は1画素を表わしており、
この多値データは150dpiで印刷されるため、その
大きさは1/1.。インチである。そして、その中を4
X4に区切っている実線の4角は、それぞれ2値データ
の1ビツト分の大きさを表わし、その大きさは1八。。
インチである。さらに、その中を点線で示すように区切
った長四角は、更にラスクスキャンの主走査方向に1/
4にパルス幅を分割した、PWMによる1画素を表わし
ている。
こうして、この1/150インチの大きさの画素の中、
1から64で区切られたPWMの画素を順に黒くしてい
けば、64段階の階調を有する画素が得られるわけであ
る。
前述したイメージ合成部110のROM205(第2図
)には、この第6図に示す情報が記憶されており、ラッ
チ回路202よりの64段階の階調を示す多値データと
、2ビツトカウンタ204よりの、第6図におけるどの
走査線分を走査しているかを示す走査線情報228をア
ドレスとして入力し、16ビツトのPWMデータ(PO
〜P15)を出力する。
一方、主制御部104よりの読出し開始信号155を入
力した読出し制御部108は、水平同期信号154を入
力した後、プリント開始位置が記録用紙の左端になるよ
うにタイミングを調整してイメージ合成部110を制御
する。
[動作説明 (第1図〜第3図)]
第3図は本実施例の印刷装置における印刷データ処理を
示すタイミングチャートである。
読出し制御部108はラッチ信号201によりラッチ回
路201にラッチされたデータ251aをタイミングT
1で並直列変換器203にロードする。また、ラッチ回
路202にラッチ信号227によりラッチされたデータ
252aの内、下位6ビツトは階調情報として、水平線
情報228とともにROM205のアドレスに出力され
る。これにより、ROM205からはそのアドレスに基
づいたデータが出力され、タイミングT2でロード信号
223により並直列変換器206にロードされる。
また、ラッチ回路202からのデータの内、最上位1ビ
ツトは選板体224としてセレクタ207へ送られる。
ここで、選択信号224がロウレベルならば、セレクタ
207の人力の内、Aボートに入力されたデータ265
が選択されるので、並直変換器203からのシリアル2
値データは、NOR回路221を通して反転して出力さ
れる。
また、選択信号224がハイレベルならば、B入力のO
R回路230の出力が選択されるので、シリアル2値デ
ータはそのまま出力される。
ここで、予め第4図の401の部分の多値データの最上
位ビット52(第5図)を“0”に、402の部分の最
上位ビット52を1″にセットしておけば、第4図(C
)に示すように、401の部分で印刷される文字は黒文
字で、402の部分で印刷される文字は、NOR回路2
21で反転された白文字で印刷される。
次に、並直変換器203,206の動作を説明すると、
並直列変換器203,206!:o−ドされたデータは
、順次、シフトクロック221.224により直列デー
タに変換されて出力される。
2値データは並直列変換器203によりシリアルデータ
Do〜D7に変換され、多値データは並直列変換器20
6により16ビツトのシリアルデータ(PO〜P15)
229に変換されて出力される。
第3図でもわかる通り、多値のPWMデータ229 (
PO〜P15)は2値データの4ビツト分に相当するの
で、シリアルデータ229は2値データ(DO〜D7)
のシフトクロック221の4倍の周波数のシフトクロッ
ク224に同期して出力される。こうして、第3図のタ
イミングチャートの如く、シリアル2値データDo〜D
3を出力する間にROM205よりの16ビツトデータ
(PO〜P15)を送り終り、更にD4〜D7を出力す
る間に、ROM205よりの次の16ビツトデータ(P
O〜P15)を出力するように制御する。
以上の動作を1ページ分繰り返し行なうことにより、1
ページ内で2値データと多値データとを混在したプリン
トが行なわれる。
なお、本実施例では、データバス8ビツトの内の最上位
1ビツトを、2値データと多値データとが重なった場合
に2値データを白くするか黒くするかの判断情報(白黒
情報)としたが、例えば256階調の情報を得たい場合
(即ち、データが8ビツト)は、2値データと多値デー
タが重なった場合に2値データを反転するかどうかを示
す判断情報を、別のメモリに持つ構成にしてもかまわな
い。
また、第1図の本実施例の印刷装置の操作パネル107
により、2値データが多値データと重なった場合に、2
値データを反転するかどうかを指示するようにしてもよ
い。
以上説明したように本実施例によれば、2値データと多
値データが混在した文書データが高速に低コストで印刷
できる。また、その際に、例えばイメージデータ等の多
値データによって、例えば文字等の2値データが見に(
くなるという欠点も除去できる。
【発明の効果]
以上説明したように本発明によれば、多値ブタと2値デ
ータとが重なる部分を指定して、それに対応した部分の
2値データと多値データとを変換することにより、2値
データと多値データとが重なった場合でも容易に2値デ
ータを判別できる効果がある。Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. [Description of Printing Apparatus (FIGS. 1 and 2)] FIG. 1 is a block diagram showing the configuration of the print data processing section of the printing apparatus of this embodiment. In FIG. 1, 101 is a human control unit which inputs character codes and image data sent from a host device such as a postcomputer, and outputs binary data such as character codes to a binary page memory 102. Multi-value data such as image data is output to a multi-value memory 103. 1
A binary page memory 02 stores binary data composed of character codes and control codes from the input control unit 101 in page units. 103 is a multi-value memory that stores multi-value data such as image data from the input control unit 101; Reference numeral 104 denotes a main control unit that controls the entire apparatus, which develops patterns of character codes etc. stored in the binary page memory 102 and develops them in the bitmap memory 10G, and outputs a print start command to the image forming unit 109. and the image forming section 1
Horizontal and vertical synchronization signals input from 09 (153, 15
4) etc., it determines the output timing of the print data, instructs the readout control unit 108 to read out the bitmap memory 106, and also controls the readout of multivalued data from the multivalued memory 103. Reference numeral 105 denotes a character pattern generation unit which stores pattern information corresponding to character codes, and can generate a corresponding character pattern by inputting a character code. 106 is a bitmap memory for storing binary data obtained by pattern-expanding the character code stored in the binary page memory 102. Reference numeral 110 denotes an image synthesis section whose details are shown in FIG. 108 is a readout control unit which inputs timing signals from the main control unit 104 and the image forming unit 109, and which inputs timing signals from the multilevel memory 103.
, controls the read timing of the bitmap memory 106, and outputs various timing signals to cause the image synthesis section 110 to operate. Reference numeral 109 denotes an image forming unit, such as a laser beam printer, which inputs dot data and prints it on recording paper or the like. The image forming unit 109 of this embodiment stores binary data at 600 pixels.
It is assumed that printing is performed at a resolution of dpi, that is, 600 dots per inch, and multi-value data is printed at 150 dp and 1.64 gradations. FIG. 2 is a block diagram showing the internal configuration of the image composition section 110. In FIG. 2, 201 is a latch circuit that stores binary dot data using a latch signal 226, and 202 is a latch circuit that stores multi-value data using a latch signal 227. 203 and 206 are parallel to serial converters that convert parallel signals to serial signals, and the parallel to serial converter 203 is the latch circuit 20.
8-bit binary data starting from 1 is loaded using a load signal 220 and output as a serial signal in synchronization with a shift clock 221. 204 is a 2-bit counter, and the signal counted by the count clock 222 is stored in the ROM2.
It is output as part of the address of 05. 205 is R that stores the data shown in FIG. 6, for example.
It's OM. Reference numeral 206 denotes a parallel-to-serial converter, which loads 16-bit data output from the ROM 205 using a load signal 223, converts it into a serial signal using a shift clock 224, and outputs the serial signal. 207 is a selector with two inputs and one output, and when the selection signal 225 is at high level, the B input is
At low level, six inputs are selected and output. 208 is a D-type flip-flop (hereinafter abbreviated as F/F), which is connected to the selector 20 in synchronization with the shift clock 224.
The output of 7 is latched. The operation of this embodiment will be described below with reference to the block diagrams of FIGS. 1 and 2. In this embodiment, the printing result is as shown in FIG. 4(C), for example.
A case will be explained in which print data as shown in is output. The print data shown in FIG. 4(C) is a combination of the binary data shown in FIG. 4(A) and the multivalued data image shown in FIG. 4(B). However, here, “1989
.. The character string ``10.14'' is printed as white characters in Figure 4 (C). This is because if the periphery of the character is black, the character string printed in black will not be distinguishable. Here, when obtaining the print result shown in FIG. 4(C), the host device (not shown) outputs the binary data shown in FIG. 4(A) and the binary data shown in FIG. 4(B). Multi-value data is sent.These data pass through the input control unit 101 and are then sent to the
) is sent to the binary page memory 102,
The multi-value data shown in FIG. 4(B) is stored in the multi-value memory 103.
is sent to and stored. Thereafter, under the control of the main control section 104, the binary data is converted into character pattern data with reference to the character pattern generation section 105 and expanded on the bitmap memory 106. Note that, on this bitmap memory 106, whether the character pattern is printed in black or white (the bit in the part where the character pattern exists is set to "1", and the character pattern is The bits in the non-existent part are set to "O" and expanded. On the other hand, the multi-value memory 103 stores multi-value data in the format shown in FIG. Of these 8-bit data, DO indicated by 51 to 6 indicated by D5 are assigned.
A bit is information indicating 26=64 gradations. Furthermore, the most significant bit D7 indicated by 52 determines whether, when this multi-value data is combined with a binary character pattern, the binary character is printed in black or as a white character. This is black and white information. Therefore, for example, in the case of the image data shown in FIG. 4(B) mentioned above, in the image data of the part indicated by 401, "1" (output as a black character) is set in D7 of the multi-valued data. In the image data of the portion indicated by 402, "0" (output as a white character) is set in D7 of the multi-valued data. This black and white information 52
(D7) may be determined by the higher-level device and included in advance in the multivalued image data to be sent (or may be specified by a command from the higher-level device.Furthermore, this printing device may It is also possible to automatically determine the density of the image portion to be combined with the characters.
When the data for one page is completed in 03, the main control unit 104 sends a print start signal 52 to the image forming unit 109, and also synthesizes the first print data from the bitmap memory 106 and multi-value memory 103 into an image. Part 110
The binary data 251 from the bitmap memory 106 is latched by the latch circuit 201, and the multi-value data 252 from the multi-value memory 103 is latched by the latch circuit 202. Here, since the data bus is 8 bits, binary data 251 corresponds to 8 dots of the first scanning line, and multi-value data 252 corresponds to 8 dots of the first scanning line.
This is data for the first scanning line of one pixel. Further, the image forming section 109 receives a print start signal 152 from the main control section 104 and outputs a vertical synchronization signal 153 and a horizontal synchronization signal 154 for notifying the print position timing. The main control unit 104 outputs these vertical synchronization signals 15
3 and the horizontal synchronization signal 154, and when the print start position is reached, a readout start signal 155 is output to the readout control unit 108. Before explaining the subsequent operation of this embodiment, a method of forming an image using a PWM method (pulse width modulation method) adopted in this embodiment will be explained. In the PWM method, when outputting one dot represented by binary data, the video signal width corresponding to that dot is further broken down, and the level of the pulse signal that has been broken down is changed. It expresses gradation by changing the gradation, and can print data that requires gradation, such as image data, with high quality. FIG. 6 is a diagram showing a method for realizing gradation printing using the PWM method. In Figure 6, each large square represents one pixel.
Since this multivalued data is printed at 150 dpi, its size is 1/1. . Inches. And inside it 4
The four corners of the solid line separated by X4 each represent the size of 1 bit of binary data, and the size is 18. . Inches. Furthermore, the rectangles divided as shown by dotted lines are further divided by 1/1 in the main scanning direction of the rask scan.
It represents one pixel by PWM with the pulse width divided into 4. In this way, within this 1/150 inch pixel,
By sequentially blackening the PWM pixels divided from 1 to 64, pixels having 64 levels of gradation can be obtained. The information shown in FIG. 6 is stored in the ROM 205 (FIG. 2) of the image synthesis unit 110 described above, including multivalued data indicating 64 levels of gradation from the latch circuit 202 and the 2-bit counter 204. The scanning line information 228 indicating which scanning line segment in FIG. 6 is being scanned is input as an address, and the 16-bit PWM data (PO
~P15) is output. On the other hand, the readout control unit 108 inputs the readout start signal 155 from the main control unit 104, after inputting the horizontal synchronization signal 154, adjusts the timing so that the print start position is at the left edge of the recording paper, 110. [Operation Description (FIGS. 1 to 3)] FIG. 3 is a timing chart showing print data processing in the printing apparatus of this embodiment. The read control unit 108 reads the data 251a latched by the latch circuit 201 according to the latch signal 201 at timing T.
1 to be loaded into the parallel-to-serial converter 203. Further, of the data 252a latched by the latch signal 227 in the latch circuit 202, the lower 6 bits are outputted to the address of the ROM 205 together with the horizontal line information 228 as gradation information. As a result, data based on the address is output from the ROM 205, and is loaded into the parallel-to-serial converter 206 by the load signal 223 at timing T2. Further, the most significant 1 bit of the data from the latch circuit 202 is sent to the selector 207 as a selection board 224. Here, if the selection signal 224 is at a low level, the data 265 input to the A boat out of the human power of the selector 207
is selected, so serial 2 from parallel to serial converter 203
The value data is inverted and output through the NOR circuit 221. Moreover, if the selection signal 224 is at a high level, the O of the B input
Since the output of the R circuit 230 is selected, the serial binary data is output as is. Here, if the most significant bit 52 (FIG. 5) of the multi-level data in the part 401 in FIG. 4 is set to "0" and the most significant bit 52 in the part 402 to 1'', the Figure 4 (C
), the characters printed in the part 401 are black characters, and the characters printed in the part 402 are the NOR circuit 2.
21 is printed in inverted white characters. Next, the operation of the parallel to serial converters 203 and 206 will be explained.
Parallel-to-serial converters 203, 206! :O-coded data is sequentially converted into serial data by shift clocks 221 and 224 and output. The binary data is converted into serial data Do to D7 by the parallel-serial converter 203, and the multi-value data is converted by the parallel-serial converter 20.
6 provides 16-bit serial data (PO to P15)
229 and output. As can be seen in Figure 3, multi-level PWM data 229 (
Since the serial data 229 corresponds to 4 bits of binary data (PO to P15), the serial data 229 is binary data (DO to D7).
It is output in synchronization with a shift clock 224 having a frequency four times that of the shift clock 221. In this way, as shown in the timing chart of FIG. 3, the serial binary data Do~D
While outputting D3, the 16-bit data (PO to P15) from the ROM 205 is completed, and while outputting D4 to D7, the next 16-bit data from the ROM 205 (P
O to P15) are controlled to be output. By repeating the above operation for one page, 1
Printing is performed with a mixture of binary data and multi-value data within a page. In this embodiment, the most significant bit of the 8 bits of the data bus is used as information for determining whether to make binary data white or black when binary data and multi-value data overlap (black and white information). However, for example, if you want to obtain information on 256 gradations (that is, the data is 8 bits), the judgment information indicating whether to invert the binary data when binary data and multi-value data overlap is It does not matter if the configuration is held in a separate memory. Further, the operation panel 107 of the printing apparatus of this embodiment shown in FIG.
Accordingly, when binary data overlaps multivalued data, 2
It may also be possible to instruct whether or not to invert the value data. As described above, according to this embodiment, document data containing a mixture of binary data and multivalued data can be printed at high speed and at low cost. In addition, at that time, for example, binary data such as characters can be displayed by multi-value data such as image data (
It also eliminates the disadvantage of [Effects of the Invention] As explained above, according to the present invention, by specifying a portion where multivalued data and binary data overlap and converting the corresponding portion of binary data and multivalued data, , even when binary data and multi-value data overlap, there is an effect that the binary data can be easily distinguished.
第1図は本実施例の印刷装置の概略構成を示すブロック
図、
第2図は第1図のイメージ合成部を更に詳細に示すブロ
ック図、
第3図は本実施例の動作を説明するタイミングチャート
、
第4図(A)〜(C)は文字データとイメージデータと
が混在した印刷例を示す図、
第5図は本実施例における多値データの内容例を示す図
、そして
第6図は多値データの1画素をPWM変換するためのデ
ータ例を示す図である。
図中、101・・・入力制御部、102・・・2値ペー
ジメモリ、103・・・多値メモリ、104・・・主制
徊部、105・・・文字パターン発生部、106・・・
ビットマツプメモリ、107・・・操作パネル、108
・・・読出し制御部、109・・・像形成部、110・
・・イメージ合成部、201,202・・・ラッチ回路
、203.206・・・並直変換器、204・・・2ビ
ツトカウンタ、205・・・ROM、207・・・セレ
クタ、208・・・フリップフロップである。Fig. 1 is a block diagram showing a schematic configuration of the printing device of this embodiment, Fig. 2 is a block diagram showing the image composition section of Fig. 1 in more detail, and Fig. 3 is a timing diagram for explaining the operation of this embodiment. Chart, Figures 4(A) to (C) are diagrams showing an example of printing in which character data and image data are mixed, Figure 5 is a diagram showing an example of the content of multivalued data in this embodiment, and Figure 6 1 is a diagram showing an example of data for PWM converting one pixel of multivalued data. In the figure, 101... input control section, 102... binary page memory, 103... multi-value memory, 104... main control wandering section, 105... character pattern generation section, 106...
Bitmap memory, 107...Operation panel, 108
...Reading control section, 109... Image forming section, 110.
. . . Image synthesis unit, 201, 202 . . . Latch circuit, 203. 206 . . . Parallel to serial converter, 204 . It's a flip flop.
Claims (3)
れる印刷情報を入力して印刷する印刷装置であつて、 前記多値データと重なつて出力される2値データの濃度
を指定する指定情報に応じて、前記2値データを変換す
る変換手段と、 前記指定情報に応じて前記2値データと重なる多値デー
タを変換する多値データ変換手段と、前記変換手段によ
り変換された2値データと、前記多値データ変換手段と
により変換された多値データとにより前記指定情報によ
り指定された部分を印刷する印刷手段と、 を有することを特徴とする印刷装置。(1) A printing device that inputs and prints print information consisting of binary data and multi-value data from an external device, and specifies the density of the binary data that is output overlapping with the multi-value data. a converting means for converting the binary data according to the specified information; a multi-value data converting means for converting the multi-valued data that overlaps the binary data according to the specified information; A printing device comprising: printing means for printing a portion specified by the specification information using value data and multi-value data converted by the multi-value data conversion means.
とを特徴とする請求項第1項に記載の印刷装置。(2) The printing apparatus according to claim 1, further comprising input means for inputting the designation information.
値データ部分を反転するようにしたことを特徴とする請
求項第1項に記載の印刷装置。(3) The conversion means is 2 specified by the specification information.
2. The printing apparatus according to claim 1, wherein the value data portion is inverted.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2125469A JPH0422267A (en) | 1990-05-17 | 1990-05-17 | Printer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2125469A JPH0422267A (en) | 1990-05-17 | 1990-05-17 | Printer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0422267A true JPH0422267A (en) | 1992-01-27 |
Family
ID=14910860
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2125469A Pending JPH0422267A (en) | 1990-05-17 | 1990-05-17 | Printer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0422267A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6914697B2 (en) | 1997-11-04 | 2005-07-05 | Fujitsu Limited | Printing method and apparatus for separately processing a plurality of print data |
-
1990
- 1990-05-17 JP JP2125469A patent/JPH0422267A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6914697B2 (en) | 1997-11-04 | 2005-07-05 | Fujitsu Limited | Printing method and apparatus for separately processing a plurality of print data |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0421473A (en) | Printer | |
| EP0356224A2 (en) | Data processing apparatus | |
| US5327258A (en) | Image processing apparatus | |
| EP0723362A1 (en) | Colour image forming apparatus | |
| JPH0422267A (en) | Printer | |
| US5712962A (en) | Gray scale add-on | |
| JPH0260768A (en) | recording device | |
| JPH02155762A (en) | recording device | |
| JPH05260285A (en) | Picture output device | |
| JPH11232450A (en) | Image processing apparatus and method | |
| JPH02155760A (en) | Image forming device | |
| JPS6010392A (en) | Meshed pattern generating device | |
| JPH09247438A (en) | Multi-gradation printer | |
| JPH02172766A (en) | Image treating device | |
| JPS6032475A (en) | Image processing device | |
| JPH04238460A (en) | Recording device | |
| JPH04292962A (en) | recording device | |
| JPH0764080B2 (en) | Printer | |
| JPH02155673A (en) | Image processing device | |
| JPH0260764A (en) | recording device | |
| JPH02155761A (en) | recording device | |
| JPH06105124A (en) | Recorder | |
| JPH05292299A (en) | Recording device and image processing device | |
| JPH0730755A (en) | Image processor | |
| JPH0640085A (en) | Information recording device |