JPH0262259A - Printer apparatus - Google Patents
Printer apparatusInfo
- Publication number
- JPH0262259A JPH0262259A JP21552588A JP21552588A JPH0262259A JP H0262259 A JPH0262259 A JP H0262259A JP 21552588 A JP21552588 A JP 21552588A JP 21552588 A JP21552588 A JP 21552588A JP H0262259 A JPH0262259 A JP H0262259A
- Authority
- JP
- Japan
- Prior art keywords
- font
- dot
- expanded
- patterning
- character
- 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
- 230000006870 function Effects 0.000 claims description 3
- 238000000059 patterning Methods 0.000 abstract 6
- 238000010586 diagram Methods 0.000 description 4
- 230000012447 hatching Effects 0.000 description 2
- 101100325756 Arabidopsis thaliana BAM5 gene Proteins 0.000 description 1
- 244000201986 Cassia tora Species 0.000 description 1
- 102100031584 Cell division cycle-associated 7-like protein Human genes 0.000 description 1
- 101000777638 Homo sapiens Cell division cycle-associated 7-like protein Proteins 0.000 description 1
- 101150046378 RAM1 gene Proteins 0.000 description 1
- 101100476489 Rattus norvegicus Slc20a2 gene Proteins 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000001771 impaired effect Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- NCAIGTHBQTXTLR-UHFFFAOYSA-N phentermine hydrochloride Chemical compound [Cl-].CC(C)([NH3+])CC1=CC=CC=C1 NCAIGTHBQTXTLR-UHFFFAOYSA-N 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はプリンタ装置に関し、特にホストから印刷デー
タ並びにプリンタ制御コマンドを受信し印刷を実行する
プリンタ装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printer device, and particularly to a printer device that receives print data and printer control commands from a host and executes printing.
従来のプリンタ装置は第4図に示すようにマイクロプロ
セッサや作業用RAM等から構成されるcpu部42を
有し、ROM43上の基本制御プログラム及びプリンタ
制御コマンド解釈プログラムを実行する。基本制御プロ
グラムは電源投入時及びリセット時の装置初期化や故障
診断等の装置の基本的な制御及び管理を行なう。As shown in FIG. 4, a conventional printer device has a CPU section 42 composed of a microprocessor, working RAM, etc., and executes a basic control program and a printer control command interpretation program on a ROM 43. The basic control program performs basic control and management of the device, such as device initialization at power-on and reset, and fault diagnosis.
プリンタ制御コマンド解釈プログラムはホストインター
フェース41から受信した印字データやプリンタ制御コ
マンドを解釈し、フォントジェネレータ44上のフォン
ト情報を参照し、イメージメモリ45上に印字イメージ
を展開し、I10プロセッサ部46に適切な印字指令を
発信し印字を行なわせる。The printer control command interpretation program interprets print data and printer control commands received from the host interface 41, refers to font information on the font generator 44, develops a print image on the image memory 45, and sends the print image to the I10 processor section 46 as appropriate. A printing command is sent to print.
イメージメモリ45はプリンタ装置の1記録単位のドツ
ト数分のメモリ容量を必要とし、シリアルプリンタ装置
ならヘッドの1走査分の、ページプリンタ装置なら1ペ
一ジ分のメモリ容量を必要とする。The image memory 45 requires a memory capacity equivalent to the number of dots in one recording unit of the printer, a memory capacity equivalent to one scan of the head in a serial printer, and one page per page in a page printer.
高速性を重視する装置ではI10プロセッサ部46を複
数のスレーブ・マイクロブロセ・ンサで実現するが、価
格を重視する装置ではROM43上のプログラムで実現
することもある。In devices where high speed is important, the I10 processor section 46 is realized by a plurality of slave microprocessors, but in devices where cost is important, it may be realized by a program on the ROM 43.
ホストから送信されるデータは印字すべき文字を指定す
る文字コードデータと、網掛けやレフトマージン等の付
加的機能を指定する制御コードの2つに分類される。Data sent from the host is classified into two types: character code data that specifies characters to be printed, and control codes that specify additional functions such as shading and left margin.
従来のプリンタ装置による網掛けでは、文字の上に第3
図(a)の様な網点を掛けると網点と文字の構成ドツト
が互いに隣接してしまい、第3図(b)に示す様に文字
の判読性が損なわれるという欠点があった。In the shading by conventional printer devices, there is a third mark on top of the characters.
When halftone dots are applied as shown in FIG. 3(a), the halftone dots and the dots constituting the characters are adjacent to each other, resulting in a disadvantage that the legibility of the characters is impaired as shown in FIG. 3(b).
本発明の目的は文字の判読性に優れた網掛は機能を実現
するプリンタ装置を提供することである。SUMMARY OF THE INVENTION An object of the present invention is to provide a printer device that realizes a hatching function with excellent character legibility.
本発明のプリンタ装置は、網掛は領域を記憶する記憶手
段と、文字フォントパターンより前後左右斜めの八方に
対し1ドツト分膨張したパターンを生成する膨張フォン
トパターン生成手段と、ページメモリに対し前記フォン
トパターンとの論理演算手段とを具備する。The printer device of the present invention includes a storage means for storing a shaded area, an expanded font pattern generation means for generating a pattern expanded by one dot in eight directions, front, back, left, right, and diagonal than a character font pattern, and a page memory for storing the font in the page memory. It is equipped with a pattern and logic operation means.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例を示すブロック図である。同
図においてCPU部2はホストから送られてくる文字コ
ードを一旦RAM1に格納する。FIG. 1 is a block diagram showing one embodiment of the present invention. In the figure, the CPU unit 2 temporarily stores the character code sent from the host in the RAM 1.
また、網掛けを指示する制御コードを解釈し、網掛は領
域を計算し、RAM2に格納する。そして印字開始に必
要な情報が揃った時点で先の網掛は情報に基すきイメー
ジメモリ5上に網点を記録する。It also interprets the control code that instructs shading, calculates the shading area, and stores it in the RAM 2. When the information necessary to start printing is obtained, halftone dots are recorded on the image memory 5 based on the information.
次に、RAM2に格納済みの文字コードに基すき、フォ
ント・ジェネレータ4よりビットマツプ形式のフォント
データを得る。フォント・ジェネレータ4は通常フォン
トデータを記憶したROM(漢字ROM)で構成される
が、他の方式、例えばベクトルデータからビット・マツ
プ・フォントを生成することもできる。Next, based on the character codes already stored in the RAM 2, font data in bitmap format is obtained from the font generator 4. The font generator 4 is usually constructed of a ROM (Kanji ROM) that stores font data, but it can also generate bit map fonts using other methods, such as vector data.
該当文字が網掛は領域外なら単にフォントデータをイメ
ージメモリ5上に記憶する。配置はイメージメモリに対
しフォントデータとの論理和演算を施すことにより成さ
れる。網掛は領域内の場合は、フォント・ジェネレータ
4からの原フォントデータを加工し、上下左右斜めの1
ドツト分膨張したフォントを生成し、この膨張フォント
部分のイメージメモリ5上の網点を消去した後、原フォ
ントデータをイメージメモリに配置する。If the corresponding character is outside the shaded area, the font data is simply stored in the image memory 5. The arrangement is performed by performing a logical OR operation on the image memory and the font data. If the shaded area is within the area, the original font data from the font generator 4 is processed and
After generating a font expanded by the amount of dots and erasing the halftone dots in the expanded font portion on the image memory 5, the original font data is placed in the image memory.
膨張フォントは、第2図の様に原フォント(a)を上下
左右斜めの8方に1ドツトずらした8パターンと原フォ
ントとの論理和で得られる。第2図(b)、(c)、(
d)図はそれぞれ原フォントを上に1ドツト分シフトし
た図、右上に1ドツト分シフトした図、およびこれらの
論理和で得られる膨張フォントを示す図である。The expanded font is obtained by ORing the original font and eight patterns obtained by shifting the original font (a) by one dot in eight directions (up, down, left, right, and diagonally) as shown in FIG. Figure 2 (b), (c), (
d) The figure shows the original font shifted upward by one dot, shifted upward by one dot to the upper right, and the expanded font obtained by the logical sum of these figures.
また、イメージメモリ上の網点パターンの消去は膨張パ
ターンの反転パターンでイメージメモリに対し論理積演
算を施せばよい。第3図はその一例を示すもので(a)
図はイメージメモリ上の網点パターンであり、(b)図
はこの網点パターンの上に第2図(a)の原フォントを
重ねたものである。そして第3図(c)は本実施例によ
る改善されたイメージメモリ上のパターンである。Further, the halftone dot pattern on the image memory can be erased by performing an AND operation on the image memory using an inverted pattern of the expansion pattern. Figure 3 shows an example of this (a)
The figure shows the halftone dot pattern on the image memory, and the figure (b) shows the original font of FIG. 2(a) superimposed on this halftone dot pattern. FIG. 3(c) shows a pattern on the image memory improved by this embodiment.
以上説明したように本発明によれば、網掛けの際に網点
が文字パターンに隣接して配置されることがないので、
文字の判読性にすぐれた網掛は機能を有するプリンタ装
置を実現できる。As explained above, according to the present invention, halftone dots are not placed adjacent to character patterns during hatching, so
Shading with excellent character legibility can realize a functional printer device.
第1図は本発明の一実施例を示すブロック図、第2図は
膨張フォントの生成を示す図、第3図は上記の実施例の
動作を示す説明図、第4図は従来のプリンタ装置のブロ
ック図である。
2・・・CPU部、4・・・フォントジェネレータ、5
・・・イメージメモリ、RAM1・・・文字コートバッ
ファ、RAM2・・・網掛は情報記憶域。
第
又
第
図
どC)名調の上 1ドッI−シフL
刀
図
(α) 虎フオシk
(b) 上 IP−ノFLフト
第
団
(b)
殆
J
<C>
図
第
図FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing expansion font generation, FIG. 3 is an explanatory diagram showing the operation of the above embodiment, and FIG. 4 is a conventional printer device. FIG. 2... CPU section, 4... Font generator, 5
...Image memory, RAM1...Character code buffer, RAM2...Shaded areas are information storage areas. 1st Dot I-Schiff L Sword Drawing (α) Tora Fuoshik (b) Upper IP-No FL Futo Group (b) Almost J <C> Fig. Fig.
Claims (1)
釈し印刷を実行する網掛け機能を有したプリンタ装置に
おいて、網掛け領域を記憶する記憶手段と、文字フォン
トパターンより前後左右斜めの八方に対し1ドット分膨
張したパターンを生成する膨張フォントパターン生成手
段と、ページメモリに対し前記フォントパターンとの論
理演算手段とを具備することを特徴とするプリンタ装置
。In a printer device having a shading function that interprets print data and control commands received from a host and executes printing, there is a storage means for storing the shading area, and 1 dot in each direction from the front, back, left, right, and diagonal of the character font pattern. A printer apparatus comprising: an expanded font pattern generating means for generating an expanded pattern; and a logical operation means for performing a logical operation on a page memory with the font pattern.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP21552588A JPH0262259A (en) | 1988-08-29 | 1988-08-29 | Printer apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP21552588A JPH0262259A (en) | 1988-08-29 | 1988-08-29 | Printer apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0262259A true JPH0262259A (en) | 1990-03-02 |
Family
ID=16673864
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP21552588A Pending JPH0262259A (en) | 1988-08-29 | 1988-08-29 | Printer apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0262259A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009184190A (en) * | 2008-02-05 | 2009-08-20 | Ricoh Co Ltd | Image forming method, program to perform the same, image processing device, image forming apparatus and image forming system |
-
1988
- 1988-08-29 JP JP21552588A patent/JPH0262259A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009184190A (en) * | 2008-02-05 | 2009-08-20 | Ricoh Co Ltd | Image forming method, program to perform the same, image processing device, image forming apparatus and image forming system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA1261478A (en) | Method of controlling a bit-image printer | |
EP0583101B1 (en) | Character pattern forming method and apparatus | |
JPH0262259A (en) | Printer apparatus | |
JP3728183B2 (en) | Printing control apparatus, drawing control apparatus, data processing method, and storage medium | |
KR910005779B1 (en) | Printer controlling method for reducing the number of dot | |
KR910005780B1 (en) | Method for controlling printer for printing characters | |
KR900002229B1 (en) | Printer controller | |
JPH0443396A (en) | Character pattern generating device | |
JPS60159077A (en) | Printer controller | |
JPS5887622A (en) | Controller for printer | |
KR100212981B1 (en) | Image printing apparatus and method for saving paper and toner | |
JPS6189861A (en) | Printing controller | |
JP2647510B2 (en) | Character processing apparatus and method | |
JPH08241308A (en) | Method and device for image processing | |
JPS621550A (en) | Method and apparatus for printing of outline font | |
JP2636312B2 (en) | Printer interface device | |
JP2737880B2 (en) | Character processing apparatus and method | |
JP2737852B2 (en) | Character processing apparatus and method | |
JP3145460B2 (en) | Print data transfer control method | |
JPS63257650A (en) | Printing system for reversed face character | |
JPH05177873A (en) | Printer device | |
JPS63286359A (en) | Pattern generation system | |
JPS63242561A (en) | Font reducing system | |
JPH067311B2 (en) | Character pattern generator | |
JPH10202960A (en) | Printing equipment |