JPH0211351A - Document output apparatus - Google Patents

Document output apparatus

Info

Publication number
JPH0211351A
JPH0211351A JP63160685A JP16068588A JPH0211351A JP H0211351 A JPH0211351 A JP H0211351A JP 63160685 A JP63160685 A JP 63160685A JP 16068588 A JP16068588 A JP 16068588A JP H0211351 A JPH0211351 A JP H0211351A
Authority
JP
Japan
Prior art keywords
pattern
font
dots
magnified
output
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
JP63160685A
Other languages
Japanese (ja)
Inventor
Kazuyuki Honda
和幸 本田
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 JP63160685A priority Critical patent/JPH0211351A/en
Publication of JPH0211351A publication Critical patent/JPH0211351A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To output a magnified character at a high speed while suppressing a lowering of grade by magnifying a read font pattern by a magnifying means and synthesizing the magnified pattern along with the dot pattern in the second memory means. CONSTITUTION:At the time of magnifying processing, a CPU 2 develops a font pattern simply magnified corresponding to magnification on a RAM 2b. For example, in the case of square multiplication a pattern 'A' of 16 dots X24 dots (= 48 bites) and a pattern of 32 dots X 48 dots (= 192 bites) are preliminarily developed. Thereafter, the position on the space of the left upper end of the magnified pattern is calculated and each bite of the magnified pattern is successively written on the frame memory 5 corresponding to each position. At this time, the synthesis with the dot pattern from a dot pattern memory part 4 is performed.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は文書出力装置、特にフォントパターンの拡大を
行って出力する文書出力装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a document output device, and particularly to a document output device that enlarges and outputs a font pattern.

[従来の技術] 従来この種の装置では、フォントパターンをドツトのオ
ン/オフ状態で記憶している場合が多い。このドツトパ
ターンに単純な拡大を行う場合、第2図の(a)の文字
は(b)の4平方倍、(C)の8平方倍のように出力さ
れてしまい、出力が見苦しくなる。そこで、このような
欠点を補うために、近傍のドツトのオン/オフ状態も考
え拡大を行う手段もあるが、処理が複雑になってしまう
。又、フォントパターンの情報を直線や曲線等で表現し
てフォントパターンの展開を行うという手法があり、拡
大によっても出力が見苦しくなることはないが、展開に
時間がかかつてしまう。
[Prior Art] Conventionally, in this type of device, font patterns are often stored in the on/off state of dots. If this dot pattern is simply enlarged, the character in (a) of FIG. 2 will be outputted as 4 times larger than that of (b) and 8 times larger than that of (C), resulting in an unsightly output. Therefore, in order to compensate for such drawbacks, there is a method of enlarging the dots by considering the on/off states of nearby dots, but this makes the processing complicated. There is also a method of expressing font pattern information using straight lines, curved lines, etc., and then developing the font pattern. Although the output does not become unsightly even when enlarged, it takes time to develop the font pattern.

[発明が解決しようとする課題] 本発明は、前記従来の欠点を除去し、高速に且つ品位の
低下を少なく拡大文字を出力する文書出力装置を提供す
る。
[Problems to be Solved by the Invention] The present invention provides a document output device that eliminates the above-mentioned conventional drawbacks and outputs enlarged characters at high speed and with little deterioration in quality.

[課題を解決するための手段] この課題を解決するために、本発明の文書出力装置は、
文字コードおよび制御コードに対応して、文字をフォン
トパターンに展開し、文書を出力する文書出力装置にお
いて、 文字コードに対応して、フォントパターンを記憶する第
1の記憶手段と、網点パターンを記憶する第2の記憶手
段と、文字コードに対応して前記第1の記憶手段から読
み込まれた前記フォントパターンを、所定の制御コード
に基づいて拡大する拡大手段と、前記拡大したフォント
パターンと前記第2の記憶手段内の網点パターンとを合
成する合成手段とを備える。
[Means for solving the problem] In order to solve this problem, the document output device of the present invention has the following features:
A document output device that develops characters into font patterns and outputs documents in accordance with character codes and control codes, comprising a first storage means that stores font patterns in correspondence with character codes, and a halftone dot pattern. a second storage means for storing the font pattern; an enlargement means for enlarging the font pattern read from the first storage means in correspondence with the character code based on a predetermined control code; and compositing means for composing the halftone dot pattern in the second storage means.

[作用] かかる構成において、文字コードに対応し・て第1の記
憶手段から読み込まれたフォントパターンを、所定の制
御コードに基づいて拡大手段で拡大し、合成手段で第2
の記憶手段内の網点パターンとを合成する。
[Operation] In this configuration, the font pattern read from the first storage means in correspondence with the character code is enlarged by the enlargement means based on a predetermined control code, and the font pattern read from the first storage means is enlarged by the compositing means.
and the halftone dot pattern in the storage means.

[実施例コ 第1図は本実施例の文書出力装置の構成図である。図中
、1は出力制御装置であり、制御手順を示すコントロー
ルプログラムが格納されているROM2a、および制御
情報の記憶用のRAM2bを有し、出力制御装置の制御
を司るマイクロプロセッサよりなるCPU2と、フォン
トパターンが記憶されているROMより成る文字パター
ン発生器3と、網点パターンが記憶されているRAMよ
り成る網点パターン記憶部4と、1ペ一ジ分のドツトパ
ターンを記憶しておくフレームメモリ5と、フレームメ
モリ5のドツトイメージを例えばレーザビームプリンタ
でのレーザのオン/オフ信号に変換するプリンタインタ
フェース部6と、種々のコンピュータとの接続を行う、
例えばR3−232C等のインタフェース回路8とから
成る。7は出力制御装置1とプリンタインタフェース部
6を介して接続されるプリンタ部であり、9はインタフ
ェース回路8を介して出力制御装置1と接続された、出
力データを発生するホストコンピュータである。
Embodiment FIG. 1 is a block diagram of a document output device of this embodiment. In the figure, reference numeral 1 denotes an output control device, which includes a ROM 2a in which a control program indicating control procedures is stored and a RAM 2b for storing control information, and a CPU 2 consisting of a microprocessor that controls the output control device. A character pattern generator 3 consisting of a ROM that stores font patterns, a halftone pattern storage section 4 consisting of a RAM that stores halftone dot patterns, and a frame that stores dot patterns for one page. A printer interface section 6 that converts the dot image in the frame memory 5 into a laser on/off signal for a laser beam printer, for example, connects the memory 5 and various computers.
For example, it consists of an interface circuit 8 such as R3-232C. 7 is a printer section connected to the output control device 1 via the printer interface section 6; 9 is a host computer connected to the output control device 1 via the interface circuit 8 and generates output data.

かかる構成において、ホストコンピュータ9よりの印字
データ及び制御命令は、インタフェース回路8を経由し
てCPU2に取り込まれ、CPU2は印字データの出力
位置に相当するフレームメモリ5上に、文字パターン発
生器3から読み込んだ印字データに相当するフォントパ
ターンをパターン展開する。CPU2は順次出力データ
の処理とパターン展開とを行い、1ペ一ジ分のパターン
展開が終了すると、プリンタインタフェース部6にフレ
ームメモリ5のデータをビデオ信号化する指示を行う。
In this configuration, print data and control commands from the host computer 9 are taken into the CPU 2 via the interface circuit 8, and the CPU 2 stores the print data from the character pattern generator 3 on the frame memory 5 corresponding to the output position of the print data. Develops a font pattern corresponding to the read print data. The CPU 2 sequentially processes the output data and develops the pattern, and when the pattern development for one page is completed, instructs the printer interface section 6 to convert the data in the frame memory 5 into a video signal.

プリンタインタフェース部6はプリンタ部7に対し給紙
の指示を行うと共に、例えばプリンタ部6がレーザビー
ムプリンタの場合は、フレームメモリ5の各ドツトデー
タを、順次レーザのオン/オフ用シリアル信号に変換し
て出力する。
The printer interface unit 6 instructs the printer unit 7 to feed paper, and if the printer unit 6 is a laser beam printer, for example, it sequentially converts each dot data in the frame memory 5 into a serial signal for turning on/off the laser. and output.

CPU2はホストコンピュータ9から、例えば第3図の
ような拡大指示を含む制御命令およびデータを取り込ん
だ場合、文字パターンの拡大処理を行う。なお第3図に
おいて csi”は制御命令であることを示すコードで
あり、“400.400ΔB”が以下に続く出力データ
” A B C”を縦4倍、横4倍に拡大して出力する
旨を指示するパラメータである。(ここで“△“はスペ
ースを示す。
When the CPU 2 receives a control command and data including an enlargement instruction as shown in FIG. 3, for example, from the host computer 9, it performs a character pattern enlargement process. In Figure 3, ``CSI'' is a code indicating that it is a control command, and ``400.400ΔB'' indicates that the following output data ``A B C'' will be expanded 4 times vertically and 4 times horizontally and output. (Here, "△" indicates a space.

CPU2は拡大処理時には、拡大に応じて単純に拡大を
行ったフォントパターンを、RAM2bに展開する。例
えば2平方倍の場合は、第5図の16ドツト×24ドツ
ト(=48バイト)の” A ”のパターンを、第7A
図の“°A”のように32ドツト×48ドツト(=19
2バイト)のパターンを展開しておく。その後、拡大パ
ターンの左上端の紙面上の位置を求め、順次拡大パター
ンの各バイトをそれぞれの位置に相当するフレームメモ
リ5上に書き込みを行う。その際、網点パターン記憶部
4よりの網点パターンとの合成(本例ではAND処理)
を行う。第4図は網点パターン記憶部4の内容で8ビツ
ト×8ビツト(=8バイト)より構成されている。これ
は、繰り返しのパターンの場合は、その最少パターンの
みの記憶で良い。
During the enlargement process, the CPU 2 develops the font pattern simply enlarged according to the enlargement in the RAM 2b. For example, in the case of 2 squares, the pattern "A" of 16 dots x 24 dots (=48 bytes) in Fig.
32 dots x 48 dots (=19
2 bytes). Thereafter, the position of the upper left end of the enlarged pattern on the paper is determined, and each byte of the enlarged pattern is sequentially written into the frame memory 5 corresponding to each position. At that time, combination with the halftone pattern from the halftone pattern storage section 4 (AND processing in this example)
I do. FIG. 4 shows the contents of the dot pattern storage section 4, which is composed of 8 bits x 8 bits (=8 bytes). In the case of a repeating pattern, only the minimum pattern may be stored.

第6図、第7A部、第7B図は本実施例の合成処理を模
式的に示したもので、第8図は本実施例の拡大処理と合
成処理の手順を示すフローチャートである。第8図にお
いて、Ewは横拡大率、Ehは縦拡大率を表す。
FIGS. 6, 7A, and 7B schematically show the compositing process of this embodiment, and FIG. 8 is a flowchart showing the steps of the enlargement process and compositing process of this embodiment. In FIG. 8, Ew represents the horizontal expansion rate, and Eh represents the vertical expansion rate.

まず、ステップS81で所定の拡大パターンをRAMZ
b上に形成する。ステップS82で左上端の位置座標(
x、y)を算出する。ステップS83でカウンタn=o
とし、ステップS84でY座標をレジスタY′に記憶す
る。ステップS85でカウンタm=oとし、ステップS
86でX座標をレジスタX′に記憶する。ステップS8
7で拡大パターンのカウンタm、nに相当する1バイト
と、網点パターンのnmod8に相当する1バイトとの
ANDをとる。ステップ588で座標(X’、Y′)に
相当するフレームメモリ5の位置に、ステップS87で
AND処理した1バイトのパターンを書ぎ込む。
First, in step S81, a predetermined enlarged pattern is stored in the RAMZ.
Form on b. In step S82, the position coordinates of the upper left corner (
x, y). In step S83, counter n=o
Then, in step S84, the Y coordinate is stored in register Y'. In step S85, the counter m=o, and in step S85,
At 86, the X coordinate is stored in register X'. Step S8
At step 7, one byte corresponding to the counters m and n of the enlarged pattern is ANDed with one byte corresponding to nmod 8 of the halftone dot pattern. In step 588, the 1-byte pattern subjected to the AND processing in step S87 is written to the position in the frame memory 5 corresponding to the coordinates (X', Y').

ステップS89でレジスタX′に8を加え、ステップS
90でカウンタmを1つカウントアツプする。ステップ
S91でカウンタmがEwになったかをチエツクし、ま
だの場合はステップS87に度って、ステップ387〜
S91を繰り返す。カウンタmがEwになるとステップ
S92に進んで、ステップS92でレジスタY′の1を
加え、ステップS93でカウンタnを1つカウントアツ
プする。ステップS94でカウンタn=Eh×24か否
かがチエツクされ、まだの場合はステップS85に戻っ
て、ステップ385〜S94を繰り返す。カウンタn=
EhX24の成った時には、第7A図、第7B図に示し
たような拡大パターンと網点パターンの合成が完了する
In step S89, 8 is added to register X', and in step S89, 8 is added to register
At 90, the counter m is incremented by one. In step S91, it is checked whether the counter m has reached Ew, and if it has not yet, the process returns to step S87, and from step 387 to
Repeat S91. When the counter m reaches Ew, the process advances to step S92, where the register Y' is incremented by 1, and the counter n is incremented by one in step S93. In step S94, it is checked whether the counter n=Eh×24 or not. If not, the process returns to step S85 and steps 385 to S94 are repeated. Counter n=
When EhX24 is achieved, the synthesis of the enlarged pattern and halftone dot pattern as shown in FIGS. 7A and 7B is completed.

なおrzood8はnの“8″を法とする剰余で、nが
゛17°°の時nmod8は1”である。また網点パタ
ーンは8ビツト×8ビツトの1バイト幅のため、位置算
出のためにはnmod8の処理で充分である。
Note that rzood8 is the remainder of n modulo "8", and when n is "17°", nmod8 is 1". Also, since the halftone dot pattern is 1 byte wide (8 bits x 8 bits), it is difficult to calculate the position. For this purpose, nmod8 processing is sufficient.

尚、本実施例ではビデオ信号による印字出力として説明
したが、フレームメモリは特に印字に限定されるもので
はなく、デイスプレィ装置のような画面出力用のビデオ
メモリであってもよい。また、本実施例では1ペ一ジ分
のドツトイメージをフレームメモリ上に生成して出力す
るようにしたが、ツイヤドツトプリンタのように逐次的
に文字出力を行うプリンタにも適用できる。また、本実
施例では合成する網点パターンを特定パターンとしたが
、パターンの記憶はメモリによるため、合成する網点パ
ターンをホストコンピュータからパターン登録を行って
も同様である。また合成する網点パターンを複数用意し
、ホストコンピュータからの指示や拡大率により選択し
ても同様である。
Although this embodiment has been described as printing output using a video signal, the frame memory is not particularly limited to printing, and may be a video memory for screen output such as a display device. Further, in this embodiment, one page of dot images is generated on the frame memory and outputted, but the present invention can also be applied to a printer that sequentially outputs characters, such as a tweeter dot printer. Further, in this embodiment, the halftone dot pattern to be synthesized is a specific pattern, but since the pattern is stored in memory, the same effect can be obtained even if the halftone dot pattern to be synthesized is registered from the host computer. Alternatively, a plurality of halftone dot patterns to be synthesized may be prepared and selected according to an instruction from the host computer or an enlargement ratio.

更に、本実施例では、−度拡大のパターンを発生した後
合成(AND)処理を施したが、拡大処理と合成処理を
同時に施しても同様である。
Further, in the present embodiment, the synthesis (AND) process is performed after generating the - degree enlarged pattern, but the same effect can be obtained even if the enlargement process and the synthesis process are performed simultaneously.

以上説明したように、拡大出力時、特定パターンとの合
成を行う事により高速で高品位な拡大出力を行う事が出
来るという効果がある。
As explained above, when performing enlarged output, by combining with a specific pattern, there is an effect that high-quality enlarged output can be performed at high speed.

[発明の効果] 本発明により、高速に且つ品位の低下を少なく拡大文字
を出力する文書出力装置を提供できる。
[Effects of the Invention] According to the present invention, it is possible to provide a document output device that outputs enlarged characters at high speed and with little deterioration in quality.

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

第1図は本実施例の文書出力装置のブロック図、 第2図は拡大出力での従来例を示す図、第3図は拡大指
示の例を示す図、 第4図は本実施例での網点パターンを示す図、第5図は
フォントパターンの例を示す図、第6図、第7A図、第
7B図拡大処理の模式第8図は拡大合成処理のフローチ
ャートである。 図中、1・・・出力制御装置、2・・・CPLI、2a
・・・ROM、2b・・・RAM、3・・・文字パター
ン発生器、4・・・網点パターン記憶部、5・・・フレ
ームメモリ、6・・・プリンタインタフェース部、7・
・・プリンタ部、8・・・インタフェース回路、9・・
・ホストコンピュータである。 (a) (b) (C) 第2図
Fig. 1 is a block diagram of the document output device of this embodiment, Fig. 2 is a diagram showing a conventional example of enlarged output, Fig. 3 is a diagram showing an example of an enlargement instruction, and Fig. 4 is a diagram showing a conventional example of enlarged output. FIG. 5 is a diagram showing an example of a font pattern; FIGS. 6, 7A, and 7B are schematic diagrams of enlargement processing; and FIG. 8 is a flowchart of enlargement and composition processing. In the figure, 1... Output control device, 2... CPLI, 2a
ROM, 2b... RAM, 3... Character pattern generator, 4... Halftone pattern storage section, 5... Frame memory, 6... Printer interface section, 7.
...Printer section, 8...Interface circuit, 9...
- It is a host computer. (a) (b) (C) Figure 2

Claims (1)

【特許請求の範囲】 文字コードおよび制御コードに対応して、文字をフォン
トパターンに展開し、文書を出力する文書出力装置にお
いて、 文字コードに対応して、フォントパターンを記憶する第
1の記憶手段と、 網点パターンを記憶する第2の記憶手段と、文字コード
に対応して前記第1の記憶手段から読み込まれた前記フ
ォントパターンを、所定の制御コードに基づいて拡大す
る拡大手段と、前記拡大したフォントパターンと前記第
2の記憶手段内の網点パターンとを合成する合成手段と
を備えることを特徴とする文書出力装置。
[Scope of Claims] In a document output device that develops characters into font patterns in correspondence with character codes and control codes and outputs documents, a first storage means stores font patterns in correspondence with character codes. a second storage means for storing halftone dot patterns; an enlargement means for enlarging the font pattern read from the first storage means in correspondence with the character code based on a predetermined control code; A document output device comprising: a composition means for composition of the enlarged font pattern and the halftone dot pattern in the second storage means.
JP63160685A 1988-06-30 1988-06-30 Document output apparatus Pending JPH0211351A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63160685A JPH0211351A (en) 1988-06-30 1988-06-30 Document output apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63160685A JPH0211351A (en) 1988-06-30 1988-06-30 Document output apparatus

Publications (1)

Publication Number Publication Date
JPH0211351A true JPH0211351A (en) 1990-01-16

Family

ID=15720253

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63160685A Pending JPH0211351A (en) 1988-06-30 1988-06-30 Document output apparatus

Country Status (1)

Country Link
JP (1) JPH0211351A (en)

Similar Documents

Publication Publication Date Title
JP3029136B2 (en) Output method and device
JPH05342314A (en) Picture processor
JPH0211351A (en) Document output apparatus
JP2744228B2 (en) Image processing device
JP2635311B2 (en) Document processing device
JP2727667B2 (en) Drawing equipment
JPH0594511A (en) Image processor
JP2967861B2 (en) Output device
JP2803746B2 (en) Character processing method and apparatus
JP2974638B2 (en) Document processing apparatus and method
JP3040624B2 (en) Pattern generator
JP2737845B2 (en) Character processing method and apparatus
JPH0264852A (en) Document processing device
JP2710350B2 (en) Image processing apparatus and image processing method of image processing apparatus
JPH05210717A (en) Graphic processing method
JPS62199456A (en) Apparatus for processing document
JPH0493994A (en) Character processor
JPH0926781A (en) Plotting processing device
JPS62272377A (en) Picture display device
JPH05210716A (en) Graphic processing method
JPH01129351A (en) Document processor
JPH05210715A (en) Graphic processing method
JPS61220880A (en) Printing position adjusting system
JPH09204428A (en) Device and method for processing character
JPH05143050A (en) Outline font pattern generating device