JPH0349965A - Halftone printing system of printer - Google Patents

Halftone printing system of printer

Info

Publication number
JPH0349965A
JPH0349965A JP18544589A JP18544589A JPH0349965A JP H0349965 A JPH0349965 A JP H0349965A JP 18544589 A JP18544589 A JP 18544589A JP 18544589 A JP18544589 A JP 18544589A JP H0349965 A JPH0349965 A JP H0349965A
Authority
JP
Japan
Prior art keywords
pattern
printing
printer
halftone
taken
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
JP18544589A
Other languages
Japanese (ja)
Inventor
Nobuhiro Kasagi
笠木 信宏
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP18544589A priority Critical patent/JPH0349965A/en
Publication of JPH0349965A publication Critical patent/JPH0349965A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To enable a pattern to which a halftone excluding area wherein half tone printing is not performed is provided by a specific width outside a printing part to be printed by a method wherein a prototype dot matrix pattern is used, and it and a halftone pattern are logically operated. CONSTITUTION:A halftone pattern is taken as a pattern B. A pattern A is moved laterally and vertically and vertically by each two dots, and a pattern which is thickened by each two dots by OR operation of each pattern is taken as a pattern C. A pattern obtained by inverting the whole printing area containing a thick character 'N' obtained by the pattern C is taken as a pattern C'. A logical product D=B.C is executed based on the pattern C and the pattern B, and a pattern to be obtained by logical add E=A+D from the pattern A is lastly taken as a pattern E. Thus, a master control part 1 outputs the pattern E wherein a half tone excluding area is provided by a specific width outside this printing part to a data bus 7 and besides, outputs a printing command to printing control part 5 via an address bus 6.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプリンタの網かけ印字方式に関し、特にプリン
タの拡張制御に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a halftone printing method for a printer, and particularly to extended control of a printer.

〔従来の技術〕[Conventional technology]

従来、この種のプリンタは網かけ印字を行った場合、印
字領域から文字パターンによって構成される印字部を除
いた非印字部には全領域にわたって網かけが印字されて
いた。
Conventionally, when this type of printer performs halftone printing, halftones are printed over the entire non-printing area excluding the printing area made up of character patterns from the printing area.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のプリンタの網かけ印字方式では、網かけ
パターンが非印字郡全体に印字されるため、網かけの印
字パターンと文字パターンとが隣接した場合には、使用
者が文字パターンを確認しにくくなるという欠点がある
In the conventional printer's shading printing method described above, the shading pattern is printed on the entire non-printing group, so if the shading pattern and the character pattern are adjacent to each other, it is difficult for the user to check the character pattern. The disadvantage is that it becomes difficult.

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

本発明のプリンタの網かけ印字方式は、ドツトマトリッ
クス型フォント構造を有し、マイクロプログラムの制御
によって網かけ印字を行うプリンタの網かけ印字方式に
おいて、ROMはドットマトリックス状の文字パターン
を記憶し、前記プリンタのプログラムメモリ部は前記文
字パターンによって構成される印字部の外側に一定の幅
で網かけが行われない領域を設定可能なマイクロプログ
ラムを記憶すると共に前記マイクロプログラムを実行し
、バッファメモリ部は前記網かけ印字のプログラム実行
中に一時的に演算結果を記憶していることを特徴とする
In the shading printing method of the printer of the present invention, which has a dot matrix type font structure and performs shading printing under the control of a microprogram, the ROM stores a dot matrix character pattern; The program memory section of the printer stores a microprogram capable of setting a non-shading area of a constant width outside the printing section constituted by the character pattern, and executes the microprogram. is characterized in that the calculation result is temporarily stored during execution of the halftone printing program.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明のプリンタの網かけ印字方式を実現する
ためのプリンタのブロック図である。第1図の実施例は
マスタ制御部1とプログラムメモリ部(プログラムRO
M)2とバッファメモリ部(RAM)3とドツト・マト
リックス・パターンメモリ部(印字ROM)4と、印字
制御部5とを有し、これらがアドレスバス6及びデータ
バス7を介して連結された構成となっている。マスク制
御部1はプリンタ装置全体を制御する機能及び網かけモ
ード設定機能とを持ち、プログラムメモリ部2に書き込
まれた制御プログラムに従って動作する中央処理装置(
CPU)により構成されている。そしてアドレスバス6
及びデータバス7を介して各構成部材を制御する。プロ
グラムメモリ部2はプリンタ装置全体を制御するプログ
ラム及び網かけモード設定プログラムを内蔵しており、
マスク制御部1よりアドレスバス6を介して出力すれる
命令に基づいて制御データをデータバス7に出力する機
能を有している。バッファメモリ部3は網かけモード設
定プログラム実行中に一時的に演算結果等の印字パター
ンを記憶する機能を持っている。また、印字用のドツト
・マトリックス・パターンメモリ部4は指定された文字
に対応するドツトマトリックス状の印字データ(通常印
字)を記憶しており、マスク制御部1の制御に基づいて
この印字データをデータバス7に出力する機能を有して
いる。印字制御部5はデータバス7を介して印字データ
を入力すると共に、これを印字機構部(図示せず)に送
り、ドツト印字を行う機能を持っている。
FIG. 1 is a block diagram of a printer for realizing the shading printing method of the printer of the present invention. The embodiment shown in FIG. 1 includes a master control section 1 and a program memory section (program RO
M) 2, a buffer memory section (RAM) 3, a dot matrix pattern memory section (print ROM) 4, and a print control section 5, which are connected via an address bus 6 and a data bus 7. The structure is as follows. The mask control unit 1 has a function of controlling the entire printer device and a function of setting a shading mode, and is a central processing unit (
CPU). and address bus 6
and controls each component via the data bus 7. The program memory unit 2 contains a program for controlling the entire printer device and a shading mode setting program.
It has a function of outputting control data to the data bus 7 based on a command output from the mask control unit 1 via the address bus 6. The buffer memory section 3 has a function of temporarily storing print patterns such as calculation results while the halftone mode setting program is being executed. Further, the dot matrix pattern memory section 4 for printing stores dot matrix print data (normal printing) corresponding to a specified character, and this print data is stored under the control of the mask control section 1. It has a function of outputting to the data bus 7. The print control section 5 has the function of inputting print data via the data bus 7, sending the data to a printing mechanism section (not shown), and performing dot printing.

次に、通常の印字データをもとにして印字部の外側に一
定の幅で網かけされない網かけ排除領域を設ける場合の
マスク制御部1によるプログラム制御の手法について説
明する。
Next, a method of program control by the mask control section 1 will be described in the case of providing a shade exclusion area of a constant width on the outside of the print area based on normal print data.

第2図(a)、同図(b)、同図(C)、同図(d)、
同図ε (e)及同図(f)は第1図の動作原理をそれぞれ示す
説明図である。今、上位装置より文字rNJを印字する
データが入力されると、マスク制御部1はプログラムメ
モリ部2より制御プログラムを読み出してこれを実行す
る。ドツト・マトリックス・パターンメモリ部4に印字
指令に基づく文字[NJのドツトパターンを特定するア
ドレスは、アドレスバス6を介して出力するとともに読
み出し指令を出力し、データバス7にこのドツトパター
ンを出力させる。次にマスク制御部1は制御プログラム
に基づいて、このドツトパターンを内部に取り込むこの
ドツトパターンを第2図(a)に示す。そして、このパ
ターンをパターンAとする。
Figure 2 (a), Figure 2 (b), Figure 2 (C), Figure 2 (d),
ε (e) and (f) are explanatory views showing the operating principle of FIG. 1, respectively. Now, when data for printing the characters rNJ is input from the host device, the mask control section 1 reads out a control program from the program memory section 2 and executes it. The address for specifying the dot pattern [NJ] based on the print command is output to the dot matrix pattern memory section 4 via the address bus 6, and a read command is output to cause the data bus 7 to output this dot pattern. . Next, the mask control section 1 incorporates this dot pattern based on the control program, and this dot pattern is shown in FIG. 2(a). This pattern is designated as pattern A.

続いて上位装置より印字部に対する網かけモード設定の
データが入力されるとマスク制御部1はプログラムメモ
リ部2より制御プログラムを各々読み出し、これを実行
する。このときに設定される網かケバターンを第2図(
b)に示す。このパターンをパターンBとする。第2図
(a)に示したパターンAを左右、上下に2ドツトずつ
移動させ、各々のパターンを論理和で演算し、パターン
Aを左右、上下に2ドツトずつ太くしたパターンをパタ
ーンCとして第2図(C)に示す。パターンCにより得
られた文字rNJの太文字を含む印字領域に関し、その
領域全体を反転させたパターンを第2図(d)に示し、
このパターンをパターンでとする。パターンでとパター
ンBに基づいて論理積D=B −Cを実行し、この結果
得られるパターンを第2図(e)に示す。このパターン
をパターン11する。最後にパターンDとAとから論理
和E=A+Dによって得られるパターンをパターンEと
し、第2図(「)に示す。このようにしてマスク制御部
1はこの印字部の外側に一定の幅で網かけされない網か
け排除領域を設けたパターンEをデータバス7に出力す
るとともにアドレスバス6を介して印字制御部5に印字
指令を出力する。これにより印字制御部5は実行結果パ
ターンEを内部に取り込んでこれを印字する。
Subsequently, when data for setting the halftone mode for the printing section is input from the host device, the mask control section 1 reads each control program from the program memory section 2 and executes it. Figure 2 shows the net pattern set at this time (
Shown in b). This pattern is called pattern B. Pattern A shown in Fig. 2(a) is moved two dots left and right, up and down, and each pattern is logically summed. Pattern A is thickened by two dots left and right, and up and down, and pattern C is created. This is shown in Figure 2 (C). Regarding the printing area including the bold letters rNJ obtained by pattern C, a pattern in which the entire area is inverted is shown in FIG. 2(d),
Let's call this pattern a pattern. The logical product D=B - C is executed based on the pattern B and the pattern B, and the resulting pattern is shown in FIG. 2(e). This pattern is pattern 11. Finally, the pattern obtained from the logical sum E=A+D from patterns D and A is called pattern E, and is shown in FIG. A pattern E with a shaded exclusion area that is not shaded is output to the data bus 7, and a print command is output to the print control unit 5 via the address bus 6.The print control unit 5 thereby internally prints the execution result pattern E. and print it out.

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

本発明は以上のように構成され、且つ、機能するので、
これによると原型のドツトマトリックスパターンA(第
2図(a)参照)を用いて、これと網かけパターンB(
第2図(b)参照)を論理演算することにより、印字部
の外側に一定の幅で網かけされない網かけ排除領域を設
けたパターンE(第2図Cf’)参照)を印字できると
いう効果がある。
Since the present invention is configured and functions as described above,
According to this, the original dot matrix pattern A (see Fig. 2 (a)) is used, and the dot matrix pattern B (see Fig. 2 (a)) is used.
By performing logical operations on (see Fig. 2 (b)), it is possible to print pattern E (see Fig. 2 (Cf')) in which a shading exclusion area with a constant width is provided on the outside of the printing area. There is.

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

第1図は本発明の一実施例を実現するためのブGl ツ
タ図、第2図(a) 、 (b) 、 (c) 、 (
d) 、 (eル及び(「)は各々第1図の動作原理を
示す説明図。 1・・・・・・マスタ制御部、2・・・・・・プルグラ
ムメモリ部、3・・・・・・バッファメモリ部、4・・
・・・・印字用のドツト・マトリックス・パターンメモ
リ部、5・・・・・・印字制御部、 6・・・・・・アドレスバス、 7・・・・・・デー タバス。
Fig. 1 is an ivy diagram for realizing an embodiment of the present invention, and Fig. 2 (a), (b), (c), (
d) , (e and () are explanatory diagrams showing the operating principle of FIG. 1, respectively. 1... Master control section, 2... Program memory section, 3... ...Buffer memory section, 4...
...Dot matrix pattern memory section for printing, 5...Print control section, 6...Address bus, 7...Data bus.

Claims (1)

【特許請求の範囲】[Claims] ドットマトリックス型フォント構造を有し、マイクロプ
ログラムの制御によって網かけ印字を行うプリンタの網
かけ印字方式において、ROMはドットマトリックス状
の文字パターンを記憶し、前記プリンタのプログラムメ
モリ部は前記文字パターンによって構成される印字部の
外側に一定の幅で網かけが行われない領域を設定可能な
マイクロプログラムを記憶すると共に前記マイクロプロ
グラムを実行し、バッファメモリ部は前記網かけ印字の
プログラム実行中に一時的に演算結果を記憶しているこ
とを特徴とするプリンタの網かけ印字方式。
In the shading printing method of a printer that has a dot matrix font structure and performs shading printing under the control of a microprogram, the ROM stores a dot matrix character pattern, and the program memory section of the printer stores the character pattern in accordance with the character pattern. A microprogram that can set a non-shading area with a constant width outside the configured printing area is stored, and the microprogram is executed, and the buffer memory section is temporarily stored while the shading printing program is being executed. A shading printing method for a printer that is characterized in that calculation results are stored automatically.
JP18544589A 1989-07-17 1989-07-17 Halftone printing system of printer Pending JPH0349965A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18544589A JPH0349965A (en) 1989-07-17 1989-07-17 Halftone printing system of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18544589A JPH0349965A (en) 1989-07-17 1989-07-17 Halftone printing system of printer

Publications (1)

Publication Number Publication Date
JPH0349965A true JPH0349965A (en) 1991-03-04

Family

ID=16170919

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18544589A Pending JPH0349965A (en) 1989-07-17 1989-07-17 Halftone printing system of printer

Country Status (1)

Country Link
JP (1) JPH0349965A (en)

Similar Documents

Publication Publication Date Title
JP2844575B2 (en) Printing equipment
JPH01196096A (en) output device
JPH0349965A (en) Halftone printing system of printer
JP3110746B2 (en) Image processing method
JPH0326558A (en) Smooth printing system in printer
JPH03268963A (en) Half tone printing system of printer
JPH0410960A (en) Half tone printing method for printer
JPS59201870A (en) Printer
JP2910183B2 (en) Character processor
JPH0499659A (en) Smoothing system of bit map character data for printer
JPS62221546A (en) Printing speed control system
JP2881924B2 (en) Data storage device
JPS5887622A (en) printer control device
JPH0462084A (en) Printer
JP2790198B2 (en) Output control method and device
JPH01231117A (en) Document generating device
JPH049150B2 (en)
JPS634950A (en) Multicolor printing apparatus
JPS63242561A (en) Font reducing system
JPH0338359A (en) Character pattern generating circuit
JPS63299950A (en) Script character pattern generating system of dot printer
JPH0325495A (en) Printer
JPS63256446A (en) printing device
JPH0542723A (en) Image printer control
JPH0398115A (en) Sentence processor