JPS6157349A - Controller of printer - Google Patents

Controller of printer

Info

Publication number
JPS6157349A
JPS6157349A JP59179650A JP17965084A JPS6157349A JP S6157349 A JPS6157349 A JP S6157349A JP 59179650 A JP59179650 A JP 59179650A JP 17965084 A JP17965084 A JP 17965084A JP S6157349 A JPS6157349 A JP S6157349A
Authority
JP
Japan
Prior art keywords
dot
character
printing
register
dots
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.)
Granted
Application number
JP59179650A
Other languages
Japanese (ja)
Other versions
JPH043749B2 (en
Inventor
Hiroyuki Aoki
宏之 青木
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP59179650A priority Critical patent/JPS6157349A/en
Priority to KR1019850004176A priority patent/KR910005779B1/en
Priority to US06/761,705 priority patent/US4655622A/en
Publication of JPS6157349A publication Critical patent/JPS6157349A/en
Publication of JPH043749B2 publication Critical patent/JPH043749B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/109Font handling; Temporal or kinetic typography
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/10Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers by matrix printers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/16Means for paper feeding or form feeding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K2215/00Arrangements for producing a permanent visual presentation of the output data
    • G06K2215/0002Handling the output data
    • G06K2215/0062Handling the output data combining generic and host data, e.g. filling a raster
    • G06K2215/0065Page or partial page composition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K2215/00Arrangements for producing a permanent visual presentation of the output data
    • G06K2215/0002Handling the output data
    • G06K2215/0062Handling the output data combining generic and host data, e.g. filling a raster
    • G06K2215/0071Post-treatment of the composed image, e.g. compression, rotation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K2215/00Arrangements for producing a permanent visual presentation of the output data
    • G06K2215/0002Handling the output data
    • G06K2215/0062Handling the output data combining generic and host data, e.g. filling a raster
    • G06K2215/0071Post-treatment of the composed image, e.g. compression, rotation
    • G06K2215/0074Depleting the image

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To avoid inconvenience such as a drop of an electric power source of a printer resulting from an increase of power consumption for printing, by a method wherein when a number of printing dots is increased extremely to a letter pattern to which expansion or deformation treatment has been performed, printing duty of the letter pattern is mitigated automatically. CONSTITUTION:When development treatment of an image of a letter to be printed is performed, whether expansion magnification developed based on notched widths dXL, dYL set up on registers 91, 92 exceeds reference expansion manification to be decided by a number of allowable dots (consumption power for printing) or not is decided after a letter pattern has been developed to a line buffer 13 and when it is revealed to be true, printing dots are thinned by putting a zigzag mask over a developed letter pattern of a line buffer 13. With this construction, inconvenience wherein a number of printing dots is increased extremely, power consumption for the printing exceeds a regulated value and a printer 14 is made into a state wherein an electric power source is dropped is avoided and the inconvenience wherein density of an expanded pattern becomes extremely high is avoided.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は拡大ないしは変形処理されたドットマ) IJ
クス構造の漢字を含む文字フォント情報を全角文字と混
在して印字出力するシリアルプリンタに用いられるプリ
ンタ制御装置に関する。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to an enlarged or deformed dot matrix (IJ).
The present invention relates to a printer control device used in a serial printer that prints out character font information including double-byte characters mixed with full-width characters.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

シリアルプリンタに於いて、全角文字と拡大文字とを混
在させて印字制御する場合、従来では改行ピッチに何ら
かの制限があった。例えば、縦幅24ドツトの印字ヘッ
ドをもつプリンタにて、縦幅48ドツトの拡大文字を印
字しようとする場合、途中で必ず用紙送シを必要とする
In serial printers, when controlling printing by mixing full-width characters and enlarged characters, there has conventionally been some restriction on the line feed pitch. For example, when attempting to print enlarged characters of 48 dots in height using a printer with a print head of 24 dots in height, paper must be fed in between.

即ち、拡大文字の上半分の24ドツトを印字したならば
、24ドツト分の用紙送シを実行し、次に上記拡大文字
の下半分の24ドツトt−印字して上記拡大文字の印字
が終了する。
That is, once the 24 dots in the upper half of the enlarged character are printed, the paper is fed for 24 dots, and then the 24 dots in the lower half of the enlarged character are printed, and the printing of the enlarged character is completed. do.

このように、所定の文字ドツトマトリクス/ゼターンを
拡大又は変形処理して、その縦方向ドツト数がイメージ
ラインバッファの縦方向幅よりも大きくなりm場合、当
該文字パターンの印字出力完了には、複数回の印字ヘッ
ド移動動作と少なくとも一回の縦方向印字幅に相当する
用紙送シ動作とが伴う〇 更に、この際、成るパターンを拡大又は変形処理し友結
果、印字オンとなる印字ドツト数が多くなシ過ぎ、プリ
ンタメカの許容印字デュ゛−ティを超えてしまうと、印
字実行時に於いて消費電力が許容範囲を超え、プリンタ
メカの電源が落ちてしまうという問題が生じる。具体g
AUt挙げると、例えば、2ドツト幅の横線を16倍に
拡大しm場合、32ドツト幅の横線となり、これを24
ドツト幅の印字−\ラドをもつプリンタにて印字処理す
ると、印字ヘッドの全てのドツト印字素子を同時に、し
かも連続してドライブすることになシ、これに伴い印字
消費電力が極端に増加して許容値を超え、プリンタメカ
の電源落ちを引き起こすという不都合を招く。
In this way, when a predetermined character dot matrix/zetern is enlarged or transformed so that the number of vertical dots becomes larger than the vertical width of the image line buffer, multiple dots are required to complete the printing of the character pattern. At least one print head movement operation and at least one paper feed operation corresponding to the vertical print width are involved.Furthermore, at this time, the pattern is enlarged or transformed, and as a result, the number of print dots that turn on is reduced. If there is too much power and the permissible printing duty of the printer mechanism is exceeded, the power consumption during printing will exceed the permissible range, causing a problem that the power of the printer mechanism will be turned off. Specific g
For example, if a horizontal line with a width of 2 dots is enlarged 16 times, it will become a horizontal line with a width of 32 dots, and this will be expanded to 24
Dot-width printing - When printing with a printer that has a rad, all dot printing elements in the print head must be driven simultaneously and continuously, resulting in an extreme increase in printing power consumption. This causes an inconvenience in that the permissible value is exceeded and the power of the printer mechanism is cut off.

この際、印字ヘッドの全てのドツト印字素子を同時に、
しかも連続してドライブしても十分に賄える容量の電源
金プリンタに持たせることにより、上記しtような電源
落ちを防ぐことができるが、この場合は、プリンタの電
源装置、強いてはプリンタ全体の構造が非常に大型比し
、かつ高価格となって、印字ヘッドのドツト印字素子連
続駆動による発熱補償等の問題を除外しても、実際に製
品化する上で、経済性、コンパクト化等、種々の不都合
が生じる。
At this time, all dot printing elements of the print head are simultaneously
Moreover, by equipping the printer with a power supply that has a sufficient capacity to handle continuous driving, it is possible to prevent the power outage mentioned above. The structure is very large and expensive, and even if we exclude problems such as heat generation compensation due to the continuous drive of the dot printing elements of the print head, it is difficult to realize economic efficiency, compactness, etc. in actual commercialization. Various inconveniences occur.

〔発明の目的〕[Purpose of the invention]

本発明は上記実情に鑑みなされtもので、全角文字と拡
大ないしは変形文字との混在印字制御に於いて、拡大な
いしは変形処理されt文字ノ臂ターンに対して、その印
字オンドツト数が極端に増加しても、当該文字Iリーン
の印字デユーティを自動的に軽減して、印字消費電力の
極端な増加に伴うプリンタの電源落ち等の不都合を確実
に回避することのできるようにし次経済的雇有利な構成
のプリンタ制御装置を提供することを目的とする。
The present invention was developed in view of the above-mentioned circumstances, and in the mixed printing control of full-width characters and enlarged or modified characters, the number of printed dots increases dramatically for the arm turn of the enlarged or modified character. The printing duty of the character I lean can be automatically reduced even when the printing power consumption is extremely high, thereby reliably avoiding inconveniences such as power failure of the printer due to an extreme increase in printing power consumption. The purpose of the present invention is to provide a printer control device with a configuration that is easy to use.

〔発明の概要〕[Summary of the invention]

本発明は、所定ドツトマトリクス構成の文字パターンを
拡大ないしは変形処理するノ臂ターン処理手段と、この
パターン処理手段によって得られるパターンの縦方向ド
ツト数がイメージラインバッファの縦方向幅より大きく
なった際に、所定ドツト幅単位のゾーンに分けてイメー
ジ展開してゆく手段とを有してなるプリンタ制御゛装置
に於いて、前記パターン処理手段により処理された出力
文字パターンが予め定められた基準拡大倍率を越えてい
るか否かを判断する手段と、この手段により前記出力文
字くぐターンが基準拡大倍率を越えたことが判断された
際に・前記出力文字ツクターンの印字ドツトを間引いて
イメージラインバッファに展開する手段とを有して、前
記ツクターン初志手段により処理された文字/IPター
ンが所定拡大倍率以上となった際に、当該文字パターン
の印字デユーティを自動的に軽減して、印字消費電力の
極端な増加に伴うプリンタの電源落ち等の不都合を確実
に回避することのできるようにしたものである。
The present invention provides an arm turn processing means for enlarging or transforming a character pattern having a predetermined dot matrix structure, and a turn processing means for enlarging or transforming a character pattern having a predetermined dot matrix structure. In a printer control apparatus, the output character pattern processed by the pattern processing means is expanded at a predetermined reference magnification magnification. means for determining whether or not the output character exceeds a reference magnification magnification, and when it is determined by this means that the output character cross-turn exceeds a reference magnification magnification, the printed dots of the output character cross-turn are thinned out and expanded into an image line buffer; means to automatically reduce the printing duty of the character pattern when the character/IP turn processed by the TSUKUTAN initial purpose means exceeds a predetermined enlargement magnification, thereby reducing printing power consumption to an extreme level. This makes it possible to reliably avoid inconveniences such as power failure of printers due to the increase in the number of printers.

〔発明の実施列〕[Implementation sequence of the invention]

以下、図面を参照して本発明の一実施例を説明する。 Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示す回路ブロック図である
・ 図中、10はシステム全体の制御を司るCPU、11は
メインメモリ(MM)、12はCPUパスである。13
はイメージラインバッファ(以下単にラインバッファと
称す)、14はシリアルドツトプリンタである。
FIG. 1 is a circuit block diagram showing an embodiment of the present invention. In the figure, 10 is a CPU that controls the entire system, 11 is a main memory (MM), and 12 is a CPU path. 13
1 is an image line buffer (hereinafter simply referred to as a line buffer), and 14 is a serial dot printer.

2ノはパターン変換時に於ける変換後の副走査方向の幅
(主走査の間隔×回数)に・相当するサイズ(Valz
e )を表わすレジスタ、22は同主走査方向の幅に相
当するサイズ(Hslze )を表わすレジスタである
。23は上記レジスタ21の内容に従う長さをもって下
線、傍線のド、トハターンを発生し、ラインバッファ1
3に瞥込む下線/傍線制御部である。24は文字の斜形
化、転回時等に於ける指定角度に応じ九角度情報(三角
関a7h−タ)を貯える三角関数テーブルである。25
はノ々ターン変換処理後の文字Iリーンがラインバッフ
ァ13の縦方向幅、即ち基準文字高を越えm際に、その
文字パターンを上記基準文字高を単位にゾーン分けする
kめのゾーン指定用のレジスタである。26及び27は
文字の拡大・縮小倍率に従うドツト刻み!(dx、dy
)e貯えるレジスタ、28はツギターン変換され次文字
に対し、0〜7ドツトの範囲で選択的にオフセットを与
えるためのオフセットレジスタ、29はオフセットレジ
スタ28のオフセット値に従うドツト数をもってオフセ
ットデータ(非表示を表わす”O”)番生成するオフセ
ットデータ生成部である。
No. 2 is the size (Valz
22 is a register representing the size (Hslze) corresponding to the width in the main scanning direction. 23 generates underline, sideline C, and to-ha turns with lengths according to the contents of the register 21, and stores them in the line buffer 1.
3 is the underline/sideline control section. Reference numeral 24 denotes a trigonometric function table that stores nine angle information (trigonometric functions a7h-ta) according to specified angles when italicizing or rotating characters. 25
is for specifying the kth zone where the character pattern is divided into zones based on the standard character height when the character I lean after the non-turn conversion process exceeds the vertical width of the line buffer 13, that is, the standard character height. This is a register. 26 and 27 are dotted according to the enlargement/reduction magnification of the characters! (dx, dy
) e storage register, 28 is an offset register for selectively giving an offset in the range of 0 to 7 dots to the next character after the initial conversion, 29 is a register for storing offset data (not shown) with the number of dots according to the offset value of the offset register This is an offset data generation unit that generates the number "O" representing "0".

31乃至49はそれぞれドツト補間アドレスを生成する
ための借成要素を成すもので、3ノはX成分を含む副走
査方向のドツト刻み幅DXIを貯えるレジスタ、32は
X成分を含む主走査方向のドツト刻み@DX27’(貯
えるレジスタ、33はX成分を含む主走査方向の初期値
(イニシャルアドレス: X 11nit)を貯えるレ
ジスタ、34はX成分を含む副走査方向のドツト刻み幅
DYIを貯えるレジスタ、35はX成分を含む主走査方
向のドツト刻み幅DY2を貯えるレジスタ、36Fi7
成分を含む副走査方向の初期値(イニシャルアドレス;
 YJ tntt ) tF?Lるレジスタである。上
記各レジスタ31〜36に、貯エラれるドツト補間アド
レスはそれぞれ整数部のデータと小数部のデータからな
る。
31 to 49 each constitute a borrowing element for generating a dot interpolation address, 3 is a register that stores the dot increment width DXI in the sub-scanning direction including the X component, and 32 is a register in the main scanning direction including the X component. Dot increment @DX27' (storing register; 33 is a register that stores the initial value in the main scanning direction (initial address: 35 is a register that stores the dot step width DY2 in the main scanning direction including the X component; 36Fi7
Initial value in the sub-scanning direction including the component (initial address;
YJ tntt ) tF? This is a register. The dot interpolation addresses stored in the registers 31 to 36 each consist of integer part data and decimal part data.

37は上記レジスタ31の内容とX成分を含む副走査方
向のドツト位置を示すレジスタ42の内容とを加算する
加算回路ADD−A、38は上記レジスタ、?2の内容
とX成分を含む主走査方向のドツト位置を示すレジスタ
44の内容とを加算する加算回路ADD−B、 39は
上記レジスタ34の内容とX成分を含む副走査方向のド
ウ8位置を示すレジスタ46の内容とを加算する加算回
路ADD−C,4Qは上記レジスタ35の内容とX成分
を含む主走査方向のドツト位置を示すレジスタ48の内
容とを加算する加算回路ADD−〇である。
37 is an adder circuit ADD-A for adding the contents of the register 31 and the contents of the register 42 indicating the dot position in the sub-scanning direction including the X component, and 38 is the register ? Adder circuit ADD-B 39 adds the contents of register 44 indicating the dot position in the main scanning direction including the X component and the contents of dot 8 in the sub-scanning direction including the X component. The adder circuits ADD-C and 4Q add the contents of the register 46 shown above and the contents of the register 48 indicating the dot position in the main scanning direction including the X component. .

41は1文字分のドツト補間処理の開始時に上記レジス
タ33の内容を選択し、以後、−回の主走査が行われる
度に加算回路37の出力を選択するデータセレクタ、4
2はデータセレクタ41で選択されfix成分を含む整
数部と小数部で表わされるドツト補間時の新たなドツト
アドレスを貯えるレジスタ、43は主走査の開始時に上
記レジスタ42の内容を選択し、以後、1ドツト分の補
間処理毎に加算回路38の出力を選択するデータセレク
タ、44はデータセレクタ43で選択されft−X成分
を含むドツト補間時の新たなドツトアドレスを貯えるレ
ジス゛りである。45は1文字分のドツト補間処理の開
始時に上記レジスタ36の内容を選択し、以後、−回の
主走査が行われる度に加算回路39の出力を選択するデ
ータセレクタ、46はデータセレクタ45で選択され7
?:X成分を含む整数部と小数部で表わされるドツト補
間時の新几なドツトアドレスを貯えるレジスタ、47は
主走査の開始時に上記レジスタ46の内容を選択し、以
後、1ドツト分の補間処理毎に加算回路40の出力を選
択するデータセレクタ、48はデータセレクタ47で選
択され7ty成分を含むドツト補間時の新友なドツトア
ドレスを貯えるレジスタである。49は上記各データセ
レクタ4ノ。
A data selector 41 selects the contents of the register 33 at the start of dot interpolation processing for one character, and thereafter selects the output of the adder circuit 37 every time - times of main scanning are performed.
2 is a register that is selected by the data selector 41 and stores a new dot address during dot interpolation represented by an integer part and a decimal part including a fix component; 43 is a register that selects the contents of the register 42 at the start of main scanning; A data selector 44 selects the output of the adder circuit 38 for each interpolation process for one dot, and is a register for storing a new dot address selected by the data selector 43 during dot interpolation including the ft-X component. 45 is a data selector that selects the contents of the register 36 at the start of dot interpolation processing for one character, and thereafter selects the output of the adder circuit 39 every time - times of main scanning is performed; 46 is a data selector 45; selected 7
? : A register that stores a new precise dot address during dot interpolation, which is expressed by an integer part and a decimal part including the A data selector 48 selects the output of the adder circuit 40 at each time, and a register 48 is a register that stores a new dot address selected by the data selector 47 during dot interpolation including a 7ty component. 49 is each data selector 4 mentioned above.

43.45.47を制御する選択制御回路SCである。This is a selection control circuit SC that controls 43, 45, and 47.

50は後述する補間値との比較を行なうための比較値、
すなわち、閾値thを貯えるレジスタである。
50 is a comparison value for comparison with an interpolation value to be described later;
That is, it is a register that stores the threshold value th.

51は漢字を含む所定ドットマ) IJクス単位([F
IJえば24X24ドツト)の文字パターンデ−夕が格
納され定漢字パターンメモIJ KPMである。52は
漢字パターンメモリ51より読出された1文字分のドラ
トノ臂ターンを貯える、高速RAMにより構成されに1
文字バッファであυ、ここでは1文字分のドツトパター
ンをその周囲をオフドツト”O”のビットパターンで埋
めた状態で記憶する。53は1文字バッファ52に貯え
られt文字パターンデータのうち、レジスタ44.48
の各整数部の値に従い、新たなドラトラ囲む1格子4点
のドツト情報を選択的に出力するビット選択回路である
。54はビット選択回路53よ多出力される4ビツトの
情報を貯えるレジスタである◎ 55乃至57はビット選択回路53よ多出力されるドツ
ト情報のパターンt−g+aし、4点のドツトで囲まれ
る新ドツトの補間値を選択的に切替え制御するドツトパ
ターン認識部DSPの構成要素をなすもので、55はレ
ジスタ540ビツト内容から4点のドツトパターン状態
を認識し、後述する特定のドツトパターン状態である際
に、更にその周囲の特定の2格子分のドツト情報を順次
選択すべくビット選択回路53を制御する判別制御回路
、56はこの判別制御回路55の制御で読出されt4ビ
ットの情報を貯えるレジスタ、57は判別制御回路55
の制御で読出されfc2格子分のドツト情報とレジスタ
54のドツト情報とのドラトノ臂ターン状態に応じ7t
1ビツトの補間値切替選択信号を出力するドツト判別回
路である。
51 is a predetermined dotma that includes kanji) IJ x unit ([F
Character pattern data (for example, 24 x 24 dots) is stored in the fixed kanji pattern memo IJ KPM. Reference numeral 52 is a high-speed RAM that stores one character's worth of doratono turns read out from the kanji pattern memory 51.
This is a character buffer, in which a dot pattern for one character is stored with the surrounding area filled with an off-dot "O" bit pattern. 53 is stored in the one-character buffer 52, and of the t character pattern data, registers 44 and 48
This is a bit selection circuit that selectively outputs dot information of four points in one lattice surrounding a new dot according to the value of each integer part. 54 is a register that stores 4-bit information that is output multiple times from the bit selection circuit 53. ◎ 55 to 57 are patterns tg+a of dot information that are output multiple times from the bit selection circuit 53, and are surrounded by four dots. This is a component of the dot pattern recognition unit DSP that selectively switches and controls the interpolation value of a new dot.Register 55 recognizes the dot pattern states of four points from the contents of a 540-bit register, and detects a specific dot pattern state as described later. At a certain time, a discrimination control circuit 56 which controls the bit selection circuit 53 to sequentially select the dot information of two specific grids around the dot information is read out under the control of the discrimination control circuit 55 and stores t4 bits of information. Register 57 is a discrimination control circuit 55
7t according to the dot information of the register 54 and the dot information of the register 54 read out under the control of
This is a dot discrimination circuit that outputs a 1-bit interpolation value switching selection signal.

58はレジスタ44に貯えら九九小数部の値(5ビツト
のX成分を含む主走査方向オフセット値)とレジスタ5
4に貯えられ7’C4点のドツト情報とドツト判別回路
57よ多出力される1ビツトの補間値切替選択信号とを
入力情報として、前記4点のドツト情報で囲まれ几領域
内に於ける新友なドツトの補間値Qxy t−出力する
補間テーブルROMであ)、ここでは256にビット(
32KX8ビツト)のマスクROMを用い、前記し次1
5ビットの読出しアドレスだ従い、8ビツト(0〜25
5レベル)の補間値を出力する。59は補間テーブルR
OM 58よ多出力される補間値とレジスタ50に貯え
られ7’C閾値との比較をとるコンパレータであシ、補
間値が比較値、即ち閾値を越えた際にオンドツト(輝点
)を示す”1″レベルの信号を出力する。60はコンノ
4v−夕59よ多出力されたドツト情報を順次貯え一文
字ノ9ターンが展開されるメモリの嘗込みビット単位(
ここでは8ビット単位とする)毎にCPUパス12上に
出力するシフトレジスタである。
58 is the value of the 99 decimal part stored in register 44 (main scanning direction offset value including 5-bit X component) and register 5.
Using the dot information of the 4 points stored in 7'C and the 1-bit interpolation value switching selection signal outputted from the dot discrimination circuit 57 as input information, The interpolated value Qxy t of the new friend dot is an interpolation table ROM that outputs (
Using a mask ROM of 32K x 8 bits, the following 1
It is a 5-bit read address, so 8 bits (0 to 25
Outputs interpolated values (5 levels). 59 is interpolation table R
This is a comparator that compares the interpolated value output from the OM 58 with the 7'C threshold stored in the register 50, and indicates an on-dot (bright spot) when the interpolated value exceeds the comparison value, that is, the threshold. Outputs a 1″ level signal. 60 sequentially stores the dot information outputted from Konno 4V-Y 59, and the bit unit of memory (9 turns of one character) is expanded (
This is a shift register that outputs to the CPU path 12 in units of 8 bits here.

7Qは印字すべき文字コード、及び文字の属性情報を記
憶する文字情報記憶バッファであムn文字分の情報プロ
、り701・・・をもつ。この文字情報記憶バッファ7
0に於ける情報ブロック701・・・の詳細は第11図
をもとに後述す゛る。
7Q is a character information storage buffer for storing character codes to be printed and character attribute information, and has information processors 701 for n characters. This character information storage buffer 7
Details of the information block 701 in 0 will be described later based on FIG.

90は印刷方向(両方向/単方向)を指定するための印
刷方向制御フラグDIRFであシ、印字ヘッドの1往復
動で計2行分の印字を行なう、所謂両方向印字モードを
指定する場合にのみ、セットCDIRF=” 1 ’ 
)される。91.92は、拡大倍率が予め設定し九基準
拡大倍率を超え、印字ドツト数が極端に増加して印字処
理時の消費電力が規定値を超えてしまう不都合を回避す
べく、ドツト展開し7c /4ターンの印字デユーティ
の調整処理を行なう几めのX方向、Y方向の調整倍率に
対応するドツトの刻み幅dxL、 dyLを貯える一対
のレジスタである。
90 is a printing direction control flag DIRF for specifying the printing direction (bidirectional/unidirectional), and is only used when specifying the so-called bidirectional printing mode in which a total of two lines are printed in one reciprocating movement of the print head. , set CDIRF="1'
) to be done. 91.92 is a dot expansion 7c in order to avoid the inconvenience that the magnification magnification exceeds the preset 9 standard magnification magnification, the number of printed dots increases extremely, and the power consumption during printing process exceeds the specified value. These are a pair of registers that store dot step widths dxL and dyL corresponding to the adjustment magnifications in the X and Y directions for adjusting the printing duty of /4 turns.

第2図乃至第10図はそれぞれ本発明で対象とするとこ
ろの、全角文字(標準文字)と混在して印字出力される
、拡大ないしは変形文字を得るためのドツト補間処理動
作を説明するtめの図である。
Figures 2 to 10 each illustrate the dot interpolation processing operation for obtaining enlarged or modified characters that are printed out mixed with full-width characters (standard characters), which are the object of the present invention. This is a diagram.

第2図(、)乃至(f)はそれぞれ補間処理により生成
される新たなドツトを囲む1格子4点のドツト情報(ド
ツトパターン)と補間テーブルROM58に設定された
補間値のレベル区分とテーブルタイプとの関係を示す図
アあシ、ここでは、補間値を0〜255段階の輝度(明
暗レベル)で表わし、その区分された一部の領域を等高
純で示している。
Figures 2 (,) to (f) respectively show dot information (dot pattern) of four points in one grid surrounding a new dot generated by interpolation processing, level divisions and table types of interpolation values set in the interpolation table ROM 58. In this figure, the interpolated values are expressed in luminance levels (brightness levels) of 0 to 255, and some of the divided areas are shown in terms of constant height.

第3図は前記l格子4点のドラ) l?ターンのうち、
1ドツトのみがオンl1IT+又はオフ1lallであ
る際のテーブルタイプの選択切替列を説明する九めのも
ので、ドツトパターン認識部DSPは、列えは周囲4点
のドツトD(7,DI、I)’。
Figure 3 shows the 4-point dora of the l lattice) l? Of the turns,
This is the ninth item explaining the table type selection switching row when only one dot is ON 11IT+ or OFF 1llall. )'.

D3のうち、1点のみがオフ、即ち”O”(図では白抜
きで示すDO)である際、更にその周囲の格子の特定ド
ラ) D、 、 Dbのオン・オフ状態t−g識し、p
、、Db=”l”テあレバ、第2図(d) Itc示す
ようなコーナターイブのテーブルTI’jf選択し、又
% Da + Dbの少なくとも何れか一方が”0”で
あれば、第2図(f)に示すような斜形タイプのテーブ
ルTOを選択する。このように、4点のドツト領域内に
位置する新次なドツトの補間値は、その4点のドツトが
上記し次よう逐特定のパターンをなすとき、更にその周
囲のドツト状態によって定められる。
When only one point among D3 is off, that is, "O" (DO shown in white in the figure), the on/off state tg of D, , Db is recognized. , p
,, Db = "l" TV, Figure 2 (d) Select the corner table TI'jf as shown in Itc, and if at least one of % Da + Db is "0", the second A diagonal type table TO as shown in Figure (f) is selected. In this way, the interpolated value of a new dot located within the four-point dot area is further determined by the state of the surrounding dots when the four dots form a specific pattern as described above.

第4図(、)乃至(d)は各種のパターン変換列を示す
もので、図中、Smは主走査方向、Saは副走査方向を
それぞれ示し、図(a)は正体(支は長体、千木)、図
(b)は斜体、図(c)は下揃え斜体、図(d)は回転
体をそれぞれ示している。
Figures 4(,) to (d) show various pattern conversion sequences. In the figures, Sm indicates the main scanning direction, Sa indicates the sub-scanning direction, and Fig. 4(a) shows the true form (the support is the long body). , Chigi), Figure (b) shows an italic type, Figure (c) shows a bottom aligned italic type, and Figure (d) shows a rotating body.

第5図(a) 、 (b)は、ドツト補間処理の出力対
象即ちイメージ出力対象と、その際のドツト補間時に於
ける主走査方向Sm及び副走査方向Ssとの関係全説明
するための図であり、図(a)はCRT表示の際のドツ
ト補間時に於ける主走査、及び副走査の方向、図(b)
はプリントアウトの際のドツト補間時に於ける主走査、
及び副走査の方向をそれぞれ示している。このようIC
%CRT表示出力時のドツト補間処理と、プリントアク
ト時のドツト補間処理とでは主走査方向と副走査方向と
が互に入替わり友状態となる。
FIGS. 5(a) and 5(b) are diagrams for fully explaining the relationship between the output target of dot interpolation processing, that is, the image output target, and the main scanning direction Sm and sub-scanning direction Ss during the dot interpolation. Figure (a) shows the main scanning and sub-scanning directions during dot interpolation during CRT display, and Figure (b)
is the main scan during dot interpolation during printout,
and the sub-scanning direction. IC like this
% In the dot interpolation processing at the time of CRT display output and the dot interpolation processing at the time of print act, the main scanning direction and the sub-scanning direction are interchanged and become compatible.

第6図は各徨設定データの対応関係を示す図である。FIG. 6 is a diagram illustrating the correspondence between each of the bias setting data.

第7図はドツト補間処理によ)パターン変換された文字
と、その文字に外接する長方形(正方形金倉む)との関
係を示す図である。
FIG. 7 is a diagram showing the relationship between a character whose pattern has been converted (by dot interpolation processing) and a rectangle (square gold frame) circumscribing the character.

第8図は各種変形文字に対する文字ピッチCP及び行ピ
ッチLPの設定例を示す図である。
FIG. 8 is a diagram showing an example of setting the character pitch CP and line pitch LP for various modified characters.

第9図は各種変形文字に対する下線の展開列を示す図で
ある。
FIG. 9 is a diagram showing an underline development sequence for various modified characters.

第10図はゾーン指定動作を説明するための図である。FIG. 10 is a diagram for explaining the zone designation operation.

第11図は、上記第1図に示す文字情報記憶バッファ7
0VC於ける情報プロ、り701・・・の詳細を示し1
2.もので、図中、80は情報ブロック701自体の状
態を示す制御フラグCNTFを貯えるフラグ部、81は
印字文字コードC0DE i貯える文字コード部、82
は次に展開すべきゾーンの値ZONE f貯えるゾーン
指定部、83は印字ヘッドの上端と印字した文字ドツト
の下端との相対距離dHを貯える相対距離記憶部、84
はラインバッファ13の書込み開始アドレスdPを示す
ポインタ部、85.86は文字の拡大・縮゛小倍率に従
うドツト刻み幅ax 、 dyを貯える刻み幅記憶部、
87は、例えば回転文字を得る際の回転角度情報等、文
字変形の属性情報ATRを貯える属性情報記憶部である
FIG. 11 shows the character information storage buffer 7 shown in FIG. 1 above.
Showing the details of information professional, ri701... in 0VC1
2. In the figure, 80 is a flag section that stores a control flag CNTF indicating the state of the information block 701 itself, 81 is a character code section that stores a print character code C0DEi, and 82
83 is a relative distance storage section that stores the relative distance dH between the upper end of the print head and the lower end of the printed character dot, 84
85.86 is a pointer section indicating the write start address dP of the line buffer 13; 85.86 is a step size storage section storing dot step widths ax and dy according to the character enlargement/reduction magnification;
Reference numeral 87 denotes an attribute information storage unit that stores attribute information ATR of character transformation, such as rotation angle information when obtaining rotated characters.

第12図及び第13図はそれぞれ一実施例に於ける、全
角文字と上記ドツト補間処理によって得られた拡大ない
しは変形文字との混在印字動作を説明するためのもので
、@12図はシリアルグリンタ14に於ける印字ヘッド
と、展開された文字ドツト下端との相対距離dHを説明
するtめの図であり、図中、thは印字へ、ド幅、te
は用紙送シ量である。ここで、図中の■に示す相対距i
1gdHは、拡大文字の最初のゾーン印字直後の状態で
あシ、dH= Ahである。又、■に示す相対距離dH
は、上記■の後、一定の用紙送シ量teだけ用紙送#)
を実行した状態であり、dH=Ah−to(但し、Lm
≦thのとき)となる。
Figures 12 and 13 are for explaining the mixed printing operation of full-width characters and enlarged or modified characters obtained by the above dot interpolation process in one embodiment, respectively. 14 is a t-th diagram illustrating the relative distance dH between the print head and the lower end of the developed character dot, in which th is to print, dot width, and te.
is the paper feed amount. Here, the relative distance i shown in ■ in the figure
1gdH is the state immediately after printing the first zone of enlarged characters, and dH=Ah. Also, the relative distance dH shown in ■
After the above ■, the paper is fed by a certain paper feed amount te#)
is executed, and dH=Ah-to (however, Lm
≦th).

第13図は、全角文字と拡大ないしは変形され次文字と
の混在印本例を示したもので、ここでは、全角文字10
0・・・と該文字J(70・・・を縦2倍、横2倍した
拡大文字200・・・と金中揃えの状態で温布印字し′
fc場合の印字HJ を示している。
Figure 13 shows an example of a mixed seal with full-width characters and enlarged or transformed characters; here, 10 full-width characters
0... and the enlarged character 200... which is double the height and double the width of the character J (70...) are printed on warm cloth with gold center alignment.'
The print HJ in the case of fc is shown.

第14図は上記実施例に於けるLP (用紙送シ実行)
処理を示すフローチャートであり、第15図は同C’R
(印字開始)処理を示すフローチャートである。
Figure 14 shows the LP (paper feeding execution) in the above embodiment.
FIG. 15 is a flowchart showing the process, and FIG.
It is a flowchart which shows a (print start) process.

第16図は文字をイメージ展開する処理の詳細フローチ
ャートであシ、上記嬉14図に於ける※1、及び第15
図に於ける*2の処理部分に相当する。
Figure 16 is a detailed flowchart of the process of developing characters into images.
This corresponds to the processing part *2 in the figure.

ことで、−実施列の動作を説明する。This will explain the operation of the − implementation sequence.

先ず、一実施例に於ける混在文字の印字制御動作を説明
するに際し、第1図乃至第10図を参照して、混在文字
の位置対象となる拡大ないしは変形文字パターンを得る
ためのドツト補間処理動作を説明する。
First, when explaining the printing control operation for mixed characters in one embodiment, referring to FIGS. Explain the operation.

印字すべき文字コード列が各コードに附随する属性情報
とともに外部より入力されることにより、これらの各情
報がCPU l Oの制御の下゛に。
By inputting the character code string to be printed from the outside together with the attribute information attached to each code, each of these pieces of information is under the control of the CPU 10.

1文字単位で文字情報記憶バッフ770内の情報プロ、
り701・・・にセットされる。即ち、情報ブロック7
02・・・の文字コード部81に印字すべき文字コード
C0DEがセットされ、属性情報記憶部87に属性情報
ATRがセットされるとともに、制御フラグ部80が立
てられ(セットさし)テ、データセット状態を表示する
e又、上記文字コード列及び該コードに附随する属性情
報を除いた、閾値(th;補間テーブルROM S 8
より生成される補間値との比較を行なうための比較値)
、更には上記各文字コードに対する文字パターンの拡大
・縮小倍率等の各種ドツト補間指定情報はメインメモI
J l 1の予め定められ之作業エリアに貯えられる。
The information processor in the character information storage buffer 770 for each character,
It is set to 701... That is, information block 7
The character code C0DE to be printed is set in the character code section 81 of 02..., the attribute information ATR is set in the attribute information storage section 87, and the control flag section 80 is set. In addition, the threshold value (th; interpolation table ROM S 8
comparison value for comparison with the interpolated value generated by
, Furthermore, various dot interpolation specification information such as character pattern enlargement/reduction magnification for each character code above can be found in Main Memo I.
stored in a predetermined working area of Jl 1.

更に、ドツト補間に際し、CPU J oは、外部より
入力されtドツト補間指定情報に従い、文字情報記憶バ
ッファ70内の制御フラグ部80の立っている各情報プ
ロ、り701・・・の制御データを作成し、情報プロ、
り701・・・の内容をもとに展開すべき1文字を単位
とし九ド、ト補間のための各棚レジスタの初期設定を行
なう。即ち、CPU i oは、M I”0’lテ一ブ
ルROM 5 Bより生成される補間値との比較を行な
うtめの比較値即ち閾値thをレジスタ5Qにセットし
几後、指定され次拡大縮小倍率に従う基準となるドツト
刻み幅(d” p dy :拡大縮小倍率の逆数値)を
算出して、これを文字情報記憶バッファ70内の対応す
る情報ブロック701・・・の刻み幅記憶部85.86
PCセットする。更に、CPU J、 0は、文字情報
記憶バッファ70より、最初に展開処理すべき1文字分
の情報ブロック70J・・・を取出して、その属性情報
記憶部87の属性情報が回転又は斜体の文字変形を示し
ている際は、その指定角度に従う三角関数データsin
 、 cos 、 tan t−三角関数テーブル24
にセットする。その後、これらレジスタ26,27、及
び三角関数テーブル24の設定データgin 、 co
n 、 tanをもとに、ドツト補間アドレスを生成す
るための初期値(イニシャルアドレス:XJ 1nlt
 、 Yl 1nit )、及びドツト刻み幅DXI 
、DYI 、DX2 、DY”2を算出し、これらのデ
ータをレジスタ31乃至36にセットするととも忙、拡
大、転回等のパターン変換によって生ずる文字高、文字
幅の変動に伴うVサイズ、Hサイズの各2−タVslz
e。
Furthermore, during dot interpolation, the CPU J o reads the control data of each information program 701 . Create and information professional,
Based on the contents of the fields 701, . . . , initial settings are made for each shelf register for dot and dot interpolation in units of one character to be expanded. That is, the CPU io sets the tth comparison value, that is, the threshold th, to be compared with the interpolated value generated from the table ROM 5B in the register 5Q, and then sets the specified next value. The dot step size (d''p dy: inverse value of the enlargement/reduction ratio) which is the standard according to the enlargement/reduction magnification is calculated, and this is stored in the step size storage section of the corresponding information block 701 in the character information storage buffer 70. 85.86
Set up the PC. Further, the CPU J,0 extracts the information block 70J for one character to be expanded first from the character information storage buffer 70, and changes the attribute information in the attribute information storage section 87 to rotated or italicized characters. When deformation is indicated, trigonometric function data sin according to the specified angle
, cos, tan t-trigonometric function table 24
Set to . After that, these registers 26, 27 and the setting data gin, co of the trigonometric function table 24 are
Initial value for generating a dot interpolation address based on n and tan (initial address: XJ 1nlt
, Yl 1nit), and dot step width DXI
, DYI, DX2, DY"2 and set these data in the registers 31 to 36. At the same time, the V size and H size due to variations in character height and character width caused by pattern conversion such as busyness, enlargement, and rotation are calculated. Each 2-ta Vslz
e.

Hsizeを算出して、これをレジスタ21.22にセ
ットシ、更に、ゾーン分けが生ずる際は、そのゾーン数
を算出して、このデータをレジスタ25にセットする。
Hsize is calculated and set in the registers 21 and 22. Furthermore, when zoning occurs, the number of zones is calculated and this data is set in the register 25.

更に、ドツト補間された文字をその出力時VC1〜7ド
、トの範囲内で移動させる場合(例えばドツト補間され
たルビ文字、半角文字等ft例えばプリントアウト時に
1〜7ド、トの範囲をもって上下移動させる場合等)、
又は−パターン変換されt文字の主走査方向ドツト数が
、その出方対象となるイメージメモリの書込み幅(8ド
ツト)の倍数とならず、イメージメモリ側のバイト境界
(書込み幅)と合わせる必要が生じた場合等に於りては
、オフセット用のレジスタ28に1〜7ドツトの範囲内
でオフセット値がセットされる。
Furthermore, when moving dot-interpolated characters within the range of VC1 to 7 dots and dots when outputting them (for example, dot-interpolated ruby characters, half-width characters, etc.) When moving up and down),
Or - The number of dots in the main scanning direction of the pattern-converted t character is not a multiple of the write width (8 dots) of the target image memory and needs to be aligned with the byte boundary (write width) on the image memory side. If this occurs, an offset value within the range of 1 to 7 dots is set in the offset register 28.

又、上記ドツト補間処理のための各a7−−タの設定以
外に、印刷処理のための制御データとして、印刷方向制
御フラグ9oに、両方向/単方向の印字モードを指定す
るための情報DIRFが設定されるとともに、レジスタ
91.)、!に、ドツト展開し7’tノ!ターンの印字
rニーティの調整処理対象となる。基準倍率に対応する
ドツト刻み幅dxr、 、 dyLが設定される。ここ
で、上記印刷方向制御フラグ90には、印字ヘッドの1
往復動で行帰)計2行分の印字を行なう、所謂両方向の
印字モードを指定する場合にのみ、DIRFがセット”
1″される。又、レジスタ91゜92には、拡大文字の
印字ドツト数が多くなり過ぎて、印字処理時の消費電力
が規定値を越えることのないよう、印字ドツト数を調整
(間引く)する之めの、予め設定された印字デユーティ
調整処理を行なう基準調整倍率に対応するドツトの刻み
幅dx1. 、 dy、がセットされる。
In addition to the settings of each a7-ta for the above dot interpolation processing, information DIRF for specifying bidirectional/unidirectional printing mode is set in the printing direction control flag 9o as control data for printing processing. In addition to being set, register 91. ),! Then, the dots are expanded and 7'tno! It is subject to adjustment processing of turn printing r neaty. Dot step widths dxr, , dyL corresponding to the reference magnification are set. Here, the print direction control flag 90 includes one of the print heads.
DIRF is set only when specifying the so-called bidirectional printing mode, which prints a total of two lines (reciprocating motion and returning).
1". Registers 91 and 92 also contain settings for adjusting (thinning) the number of printed dots so that the number of printed dots for enlarged characters does not become too large and the power consumption during printing processing does not exceed the specified value. For this purpose, dot increments dx1., dy, which correspond to a reference adjustment magnification for performing a preset printing duty adjustment process, are set.

上記したような各レジスタの初期設定を終了し交後、C
PU 10は以下の5ようなドツト補間アドレスの生成
処理を開始する。
After completing the initial settings of each register as described above,
The PU 10 starts dot interpolation address generation processing as shown in 5 below.

ここでは、先ず、ドツト補間が第4図(a)に示すよう
な正体(又は長体、千木)を出力対象として行われる場
合(例えば単純な拡大・縮小)を列に七シ全体の動作を
説明する。このドツト補間時に於いては、レジスタ31
に「0」、レジスタ32にドツト刻み幅r dx J 
、 レジスタ33VC主走査方向Smの初期値rsxJ
、レジスタ34にドツト刻み幅r dx J 、レジス
タ35に「0」、レジスタ36に副走査方向Ssの初期
値r sy Jがそれぞれセットされる。
Here, first, when dot interpolation is performed on the true body (or long body, Chigi) as shown in Figure 4(a) as the output target (for example, simple enlargement/reduction), we will show the operation of the entire seven planes in a row. Explain. During this dot interpolation, the register 31
"0" in register 32, dot step width r dx J
, Initial value rsxJ of register 33VC main scanning direction Sm
, the dot step width r dx J is set in the register 34, "0" is set in the register 35, and the initial value r sy J of the sub-scanning direction Ss is set in the register 36, respectively.

ここで上記レジスタ32.34にセットされるドツト刻
み幅dx 、 dyは拡大縮小倍率の逆数値として与え
られる。又、レジスタ33には、[” Ix = (a
x−1)/ 2 ]でなるIXが初期値3xとして与え
られ、レジスタ36には、CIy=(dy−1)/2)
でなるI7が初期値3yとして与えられるもので、dx
又はdyが「1」以下のとき(即ち拡大時)は、Ix又
はI7が負となって1文字バッファ52の原文字パター
ン格納領域外のアドレスを示し、dx又はdlrが「1
」以上のとき(即ち縮小時)はlx又はI7が正となっ
て1文字バッファ52の原文字パターン格納領域内のア
ドレスを示す。又、レジスタ5Qには補間テーブルRO
M 513よ)出力される補間値と比較をと夛、新ドツ
トの何れのレベル以上のものを意味のあるドツトとする
かを決定するための任意レベル(0〜255レベル)の
比較値即ち閾値thがセットされる。
Here, the dot step widths dx and dy set in the registers 32 and 34 are given as reciprocal values of the scaling factor. Also, the register 33 contains [” Ix = (a
x-1)/2] is given as an initial value 3x, and the register 36 contains CIy=(dy-1)/2)
I7 is given as the initial value 3y, and dx
Or when dy is less than "1" (that is, when expanding), Ix or I7 becomes negative and indicates an address outside the original character pattern storage area of the one-character buffer 52, and dx or dlr becomes "1".
'' (that is, at the time of reduction), lx or I7 becomes positive and indicates an address within the original character pattern storage area of the one-character buffer 52. Also, interpolation table RO is stored in register 5Q.
M513) Comparison value or threshold value at an arbitrary level (0 to 255 levels) for comparing with the output interpolated value and determining which level or higher of new dots is considered a meaningful dot. th is set.

更にCPU l Oは、上記文字情報記憶バッファ70
よル取出した最初の1文字分の情報ブロック70ノの文
字コード部8ノの文字コードC0DE sに従い、漢字
/fターンメモリ51より、ドツト補間対象となる1文
字分のドツト・り一ンデータを読出し、この文字パター
ンデータを1文字バッファ52に書込む。この際、1文
字バッファ521Cは、上述し之ように、ドツト補間対
象となる1文字分のドラ) パターンデータが、その周
囲を意味の無い0”のドツトで囲まれ次状態で記憶され
る。
Furthermore, the CPU lO stores the character information storage buffer 70.
According to the character code C0DEs of the character code section 8 of the information block 70 for the first character extracted, one character's worth of dot/line data to be subjected to dot interpolation is extracted from the kanji/f-turn memory 51. The character pattern data is read and written into the one-character buffer 52. At this time, in the one-character buffer 521C, as described above, one character's worth of pattern data to be subjected to dot interpolation is surrounded by meaningless 0'' dots and stored in the following state.

上記レジスタ31〜36へのデータセット、及び1文字
バッファ52への補間対象文字ノサターンの取出しが終
了した後、選択制御回路49の制御の下にルジスタ33
.36に貯えられたイニシャルドツトアドレスとなるデ
ータBX。
After setting the data to the registers 31 to 36 and taking out the interpolation target character no.
.. Data BX is the initial dot address stored in 36.

ayが選択回路41.45により選択され、それぞれ対
応するレジスタ42.46に貯えられる。
ay are selected by selection circuits 41.45 and stored in corresponding registers 42.46, respectively.

更に主走査の開始にあたりて、上記レジスタ42.46
に貯えられたデータ8X 、 $7が選択回路43.4
7により選択され、それぞれ対応するレジスタ44.4
8に貯えられる。
Furthermore, at the start of main scanning, the registers 42 and 46 are
Data stored in 8X, $7 is selection circuit 43.4
7 and the respective corresponding registers 44.4
It can be stored in 8.

このレジスタ44.48に貯えられたデータSX 、 
figは、その整数部の値がビット選択回路53に与え
られ、小数部の値が補間テーブルROM 511に与え
られる。
Data SX stored in this register 44.48,
The value of the integer part of fig is given to the bit selection circuit 53, and the value of the decimal part is given to the interpolation table ROM 511.

ビット選択回路53は上記入力され7?:整数部の値に
もとづいて1文字バッファ52よL 1格子4点のドツ
ト情報を選択し、補間テーブルROM 5 gに供給す
る。この際、拡大時(dx、dy<1)に於いては、ビ
ット選択回路53に、1文字バッファ52の原文字パタ
ーン格納領域外のアドレスを示す負の値が与えられるこ
とから、原文字ノリーン格納領域外のドツトを含むl格
子4点のドツト情報よりドット選択金開始する。
The bit selection circuit 53 receives the above input 7? : Based on the value of the integer part, dot information of four points in the L1 grid is selected from the one-character buffer 52 and supplied to the interpolation table ROM 5g. At this time, when enlarging (dx, dy<1), a negative value indicating an address outside the original character pattern storage area of the one-character buffer 52 is given to the bit selection circuit 53. Dot selection starts from the dot information of four points in the L grid, including dots outside the storage area.

又、縮lト時(dx 、 dy、>1 )に於いては、
ビット選択回路53に、1文字バッファ52の原文字パ
ターン格納領域内のアドレスを示す正の値が与えられる
ことから、原文字パターン格納領域内の1格子4点のド
ツト情報よりドツト選択を開始する。
Also, at the time of contraction (dx, dy, >1),
Since the bit selection circuit 53 is given a positive value indicating the address in the original character pattern storage area of the one character buffer 52, it starts dot selection from the dot information of four points in one grid in the original character pattern storage area. .

補間テーブルROM 5 Bは、上記レジスタ44゜4
8からの各オフセット値(計10ビット)と、ビット選
択回路53からの周囲4点のドツト情報と、ドツトパタ
ーン認識部DSPからの1ピツトの補間値切替選択信号
とを入力情、報として、その内容に従う8ビツトの補間
値Qxy を出力する。この際、ビット選択回路53よ
り出力された1格子4点のドラトパターンがドウド認識
−ン認識部DSPにより認識され、第3図に示す如く、
特定のドツト・々ターンである際は、更にその周囲の格
子の特定ドツトのオン・オフ状態°を認識して、そのド
ツト状態に応じた1ビツトの補間値切替選択信号を出力
する。即ち、例えば第3図に示す如く、周囲4点のドツ
トDO,DI。
The interpolation table ROM 5B is stored in the register 44°4.
As input information, each offset value from 8 (10 bits in total), dot information of the surrounding 4 points from the bit selection circuit 53, and a 1-pit interpolation value switching selection signal from the dot pattern recognition unit DSP are input. An 8-bit interpolated value Qxy is output according to the content. At this time, the dot pattern of four points per grid outputted from the bit selection circuit 53 is recognized by the dot recognition section DSP, and as shown in FIG.
When it is a specific dot/turn, the on/off state of specific dots in the surrounding grid is recognized and a 1-bit interpolation value switching selection signal corresponding to the dot state is output. That is, for example, as shown in FIG. 3, there are four surrounding dots DO and DI.

D2.D3のうち、1点のみがオフ即ちlO+(図では
白抜きで示すDO)である際は、更にその周囲の格子の
特定ドラ) Da 、 Dbのオン・オフ状態t−認識
し、Da 、 Db=” 1″であれば、第2図(d)
に示すようなコーナタイプのテーブルTlt−選択し、
又、Da 、 Dbの少なくとも何れか一方が”0″で
あれば、第2図(f)に示すような斜形タイプのテーブ
ルTOを選択すべく補間値切替選択信号を出力する。又
、周囲4点のド、トDO,DI 、D2.D3のうち、
1点のみがオン即ち1”(図では黒点を示すDO)であ
る際は、更にその周囲の格子の特定ドツトoa 、 D
I)のオン・オフ状態を認識し、Da 、 Db=″O
”であれば、第2図(、)に示すよりなコーナタイプの
テーブルTlf選択し、又、Da。
D2. When only one point among D3 is off, that is, lO+ (DO shown in white in the figure), the on/off state t- of Da, Db is recognized, and the on/off state t- of Da, Db is recognized. If ="1", then Figure 2(d)
Corner type table Tlt-select as shown in
If at least one of Da and Db is "0", an interpolation value switching selection signal is output to select the diagonal type table TO as shown in FIG. 2(f). Also, the surrounding four points DO, TODO, DI, D2. Of D3,
When only one point is on, that is, 1" (DO indicating a black point in the figure), the specific dots oa, D of the surrounding grid are
Recognize the on/off state of I), Da, Db=″O
”, select a corner type table Tlf shown in FIG. 2 (, ), and select Da.

Dbの少なくとも何れか一方が“1″であれば、第2図
(e)IC示すような斜形タイプのテーブルTOを選択
すべく補間値切替選択信号を出力する。このように、4
点のドツト領域内に位置するfrたなト9ットの補間値
は、その4点のドツトが上記し次ような特定のパターン
をなすとき、更にその周囲のドツト状態によって定めら
れる。
If at least one of Db is "1", an interpolation value switching selection signal is output to select a diagonal type table TO as shown in FIG. 2(e) IC. In this way, 4
The interpolated value of the nine fr dots located within the dot area of a point is further determined by the state of the surrounding dots when the four dots form a specific pattern as described below.

そして上記補間テーブルROM 5 #より出力された
8ビ、)(0〜255レベル)の補間値はコンパレータ
59に入力されて、レジスタ36に貯えられ次比較値即
ち閾値と比較され、補間値が閾値を越えていれば、意味
のあるドツトであることを示す、@1ルベルの信号を出
力し、又、補間値が閾値を越えていなければ、意味の無
いドツトであることを示す II Q #レベルの信号
を出力する。
Then, the interpolated value of 8 bits, II Outputs the signal.

一方、補間テーブルROM 58よう1ドツトの補間値
が出力され次後、レジスタ44の内容とレジスタ32の
内容とが加算回路3BICより加算されるとともに、レ
ジスタ48の内容とレジスタ35の内容とが加算回路4
0により加算され、その各加算結果のデータが選択制御
回路″49の制御のもとKそれぞれ対応するデータセレ
クタ43,47tlCより選択されて、レジスタ44.
48に貯えられる。この際、主走査方向のドツト刻み@
を示すレジスタ32,350うち、レジスタ321Cは
、指定された拡大縮小倍率に従うト9ット刻みKdXが
設定されているが、レジスタ35′VCは、正体(又は
長体、千木)のドツト補間であることから上述した如く
「0」が設定されており、従って、レジスタ44の内容
(ドツトアドレス)は、1ド、トの補間処理毎に、指定
され九拡大縮小倍率に従うドツト刻み幅dxiもって逐
次更新されるが、レジスータ48の内容は結果的に更新
されず初期設定時のデータがそのまま保持される。又、
1回の主走査が終了する毎K、レジスタ42の内容とレ
ジスタ3ノの内容とが加算回路37により加算されると
ともに、レジスタ46の内容とレジスタ34の内容とが
加算回路39により加算され、その各加算結果のデータ
が選択制御回路49の制御のもとにそれぞれ対応するデ
ータセレクタ41.45により選択されて、レジスタ4
2゜46に貯えられる。この際、副走査方向のドツト刻
み幅を示すレジスタ31 、34のうち、レジスタ34
′に、は、指定さn次拡大縮小倍率に従うドツト刻み幅
ayが設定されているが、レジスタ31には、正体(又
は長体、千木)のドツト補間であることから上述した如
ぐrOJが設定されており、従って、レジスタ46の内
容(ドツトアドレス)は、1回の主走査が行われる毎に
、指定され次拡大縮小倍率に従うドツト刻み幅dyをも
って更新されるが、レジスタ42の内容は結果的に更新
されず初期設定時のデータがそのまま保持される。
On the other hand, after the interpolation value of one dot is outputted from the interpolation table ROM 58, the contents of the register 44 and the contents of the register 32 are added by the adder circuit 3BIC, and the contents of the register 48 and the contents of the register 35 are added together. circuit 4
0 are added, and the data of each addition result is selected by the corresponding data selectors 43 and 47tlC under the control of the selection control circuit 49, and stored in the register 44.
It can be stored in 48. At this time, dot increments in the main scanning direction @
Of the registers 32 and 350 that indicate the Therefore, the contents of the register 44 (dot address) are set to "0" as described above, and therefore, the contents of the register 44 (dot address) are determined by the dot step width dxi according to the specified 9 enlargement/contraction magnification for each interpolation process of 1 dot. Although it is updated sequentially, the contents of the register 48 are not updated as a result, and the data at the time of initial setting is held as is. or,
Every time K when one main scan ends, the contents of register 42 and the contents of register 3 are added by an adder circuit 37, and the contents of register 46 and the contents of register 34 are added by an adder circuit 39, The data resulting from each addition is selected by the corresponding data selectors 41 and 45 under the control of the selection control circuit 49, and
Stored at 2°46. At this time, among the registers 31 and 34 indicating the dot step width in the sub-scanning direction, the register 34
' is set with the dot step width ay according to the specified n-th scaling factor, but the register 31 is set with the dot increment width ay according to the specified n-th scaling factor. is set, and therefore, the contents of the register 46 (dot address) are updated each time one main scan is performed with a dot increment width dy according to the specified next enlargement/reduction ratio, but the contents of the register 42 are As a result, the data at the time of initial setting is retained without being updated.

このようにして、順次、補間テーブルROM68より、
新友なドウドアドレスに対する補間値が出力され、この
補間値が、コンパレータ59により、レジスタ50の閾
値thと比較されて、新mなドツト情報が生成される。
In this way, from the interpolation table ROM 68,
An interpolated value for the new dot address is output, and this interpolated value is compared with the threshold value th of the register 50 by the comparator 59 to generate new dot information.

(−L、て上記コンパレータ59より出力されt補間処
理後の新ドツト情報は、順次、シフトレジスタ60に貯
えられ、1バイト単位でCPUパス12上に送出される
(-L) The new dot information output from the comparator 59 and subjected to t interpolation processing is sequentially stored in the shift register 60 and sent to the CPU path 12 in units of 1 byte.

この際、CPUパス12上に送出されるドツト補間処理
された文字パターンデータが、プリントアウト用として
ラインバッファ13に書込まれる場合であって、かつオ
フセットレジスタ28に1〜7ドツト範囲内のオフセッ
ト値がセットされている場合(例えばドツト補間された
ルビ文字をプリントアウト時にt(i=1.2゜・・・
、7)ドツト下方へ移動させる場合)、又は、パターン
変換さ′れた文字の主走査方向ドツト数が、その出力対
象となるイメージメモリの書込み幅(8ドツト)の倍数
とならず、イメージメモリ側のバイト境界(書込み幅)
と合わせる必要が生じ、オフセットレジスタ2BIC,
そのオフセット値(1)゛が設定されている場合等に於
いては、そのオフ七、)レジスタ28のオフセット値(
1)に従い、オフセットデータ生成部29よりオフセッ
トデータ(1個の”o’)が生成されて、該データが主
走査の開始に先立ち、シフトレジスタ60ICセツトさ
れ、その後に続いてドツト補間されたデータ即ち、変換
処理され次文字パターンドツトが書込まれる。
At this time, when the character pattern data that has been subjected to dot interpolation processing and is sent onto the CPU path 12 is written to the line buffer 13 for printout, and an offset within the range of 1 to 7 dots is stored in the offset register 28. If the value is set (for example, when printing out ruby characters with dot interpolation, t(i=1.2°...
, 7) When moving dots downward), or the number of dots in the main scanning direction of the pattern-converted character is not a multiple of the write width (8 dots) of the image memory to which it is output, and the image memory side byte boundary (write width)
It became necessary to match the offset register 2BIC,
When the offset value (1) is set, the offset value (7) of the register 28 is set.
According to 1), offset data (one "o") is generated by the offset data generation unit 29, and this data is set in the shift register 60IC before the start of main scanning, and then the data is dot-interpolated. That is, the conversion process is performed and the next character pattern dot is written.

゛上記した動作は正体(又は長体、千木)全出力対象と
し次場合であったが、例えば回転体を出力対象とし次場
合のドツト補間アドレスの生成処理時に於いては、レジ
スタ31〜36の全てに1指定回転角に従う三角関数テ
ーブル24内の所定三角関数データが一要素として含ま
れるデータがセットされる。
゛The above operation was performed in the case where the entire body (or long body, Chigi) was output, but for example, when the rotating body was the output target and the dot interpolation address generation process was performed, registers 31 to 36 Data is set in which the predetermined trigonometric function data in the trigonometric function table 24 according to one specified rotation angle is included as one element.

即ち、指定され九回転角金〔θo〕、原フォントのX方
向ド、ト数を(a+1.I、原フォントのy方向ドツト
数t−Cb+11とすると、レジスタ3)には、DXI
 =−dx−sinθ。
That is, assuming that the specified nine rotation square gold [θo], the number of dots in the X direction of the original font are (a+1.I, and the number of dots in the y direction of the original font t-Cb+11), the DXI
=-dx-sinθ.

レジスタ32には、DX2=dx−CO8θ。In the register 32, DX2=dx-CO8θ.

レジスタ34には、DYI = dy9aosθ。The register 34 contains DYI=dy9aosθ.

レジスタ35には、DY2 = dy−slnθ。In the register 35, DY2 = dy-slnθ.

がそれぞれセットされる。are set respectively.

又、レジスタ33 (XJ 1nit )、及びレジス
タJ6(YJinit)には、 (1)0°≦θ。≦90’のとき、 Xi 1nlt7−H(a+1− dx ) coo 
200(2)  90°≦0゜≦1800のとき、(3
)  180’≦θ。≦2700のとき、(4)  2
70’≦θ。≦360 ’ f)とき、をそれぞれセッ
トする。
Further, in the register 33 (XJ 1nit) and the register J6 (YJinit), (1) 0°≦θ. When ≦90', Xi 1nlt7-H(a+1-dx) coo
200(2) When 90°≦0°≦1800, (3
) 180'≦θ. When ≦2700, (4) 2
70'≦θ. ≦360' f), set respectively.

上述の如くして、転回角度θ。に従う三角関係データを
含むドツト刻み幅、イニシャルアドレス等の各設定値D
XI、DX2.DYI、DY2゜Xi 1nit 、 
Yl 1nlt  t−算出し、それぞれ対応するレジ
スタ31〜36にセットした後、上述しtような主走査
方向、及び副走査方向に対するドツト補間アドレス生成
処理′t−順次実行することにより、指定角度θ。に従
った転回文字ノ々ターンドツトが得られる。
As described above, the turning angle θ. Each setting value D including the triangular relationship data according to the dot step size, initial address, etc.
XI, DX2. DYI, DY2゜Xi 1nit,
After calculating Yl 1nlt t and setting it in the corresponding registers 31 to 36, the specified angle θ is determined by sequentially executing the dot interpolation address generation process 't in the main scanning direction and sub-scanning direction as described above. . You can obtain inverted character no-turn dots according to the following.

又、斜形化文字を出力対象とし次場合のドツト補間アド
レスの生成処理時に於いては、レジスタ31〜36のう
ちの特定のレジスタに、指定傾斜角に従う三角関数テー
ブル24内の所定三角関数データを一要素として含んだ
データがセットされる。
Also, when generating a dot interpolation address in the following case when an oblique character is to be output, predetermined trigonometric function data in the trigonometric function table 24 according to the specified slope angle is stored in a specific register among the registers 31 to 36. Data containing this as one element is set.

即ち、指定され九斜体角を〔θ。〕、原フォントのX方
向ド、ト数を(a+1)、原フォントのy方向ドツト数
を(b+1)とすると、00≦θ≦90’の範囲で、 レジスタ31Vcは、DX1=dx−tanθ。
That is, the specified nine oblique angles [θ. ], the number of dots in the X direction of the original font is (a+1), and the number of dots in the y direction of the original font is (b+1), then in the range of 00≦θ≦90', the register 31Vc holds DX1=dx-tanθ.

レジスタ32には、DX2=dx レジスタ34には、DYJ=dy レジスタ35には、DY2=0 がそれぞれセットされ、 又、レジスタ33には、 レジスタ36には、 がそれぞれセットされる。The register 32 contains DX2=dx The register 34 contains DYJ=dy Register 35 contains DY2=0 are set respectively, Also, in the register 33, In the register 36, are set respectively.

上述の如くして、傾斜角度θ。に従う三角関数データを
含むドツト刻み幅、イニシャルアドレス等の各設定値D
XI、DX2.DYJ、DY2゜XJ 1nit 、 
Yl knitを算出し、それぞれ対応するレジスタ3
1〜36にセットシた後、上述し友ような主走査方向、
及び副走査方向に対するドツト補間アドレス生成処理を
順次実行することによ)、指定角度θ に従って斜形化
された斜体文字パターンドツトが得られる。
As described above, the inclination angle θ. Each setting value D including the trigonometric function data according to the dot step width, initial address, etc.
XI, DX2. DYJ, DY2゜XJ 1nit,
Yl knit is calculated and each corresponding register 3
After setting it to 1 to 36, change the main scanning direction as described above,
By sequentially executing dot interpolation address generation processing in the sub-scanning direction), italic character pattern dots that are obliqueized according to the designated angle θ are obtained.

上述したような、指定角度0゜に従う三角関数  ・f
−夕を含むドツト刻み幅、イニシャルアドレス等の各設
定値DXJ 、DX2 、DYJ、DY2゜XI 1n
it 、 YJ 1nit fもとに、上述したような
主走査方向、及び副走査方向に対するドツト補間アドレ
ス生成処理を順次実行して、その生成され几ドツト補間
アドレスをもとに新友なドツト情報を得る。この断交な
ドツト情報は、上記同様に、順次シフトレジスタ60に
貯えられ、バイト(8ビツト)単位でCPUパス12を
経由し、出力対象となる、飼えば印字制御部17のライ
ンパ、771BVC書込まれる。
Trigonometric functions according to the specified angle 0° as described above ・f
- Setting values for dot increments, initial address, etc.DXJ, DX2, DYJ, DY2゜XI 1n
it, YJ 1nit f, sequentially executes the dot interpolation address generation process in the main scanning direction and sub-scanning direction as described above, and generates new dot information based on the generated precise dot interpolation address. obtain. This discontinuous dot information is stored in the shift register 60 sequentially in the same way as above, and is sent to the line printer 771BVC of the print control section 17, which is the output target, via the CPU path 12 in units of bytes (8 bits). It will be done.

この際、ラインバッファ13は、通常印字文字高のドツ
ト構成に対応するビット幅(例えば縦8X3=24ドツ
ト)で構成されておシ、従って上述したような回転体文
字、斜体文字等の変形文字に対しては、縮小パターンの
場合を除き、24ドツトのサイズ忙は収まらない。そこ
で、このような場合は、上述し几しジスタ初°期設定の
際に、断交に生成される文字・9ターンを複数のゾーン
に分けるべく、CPUJ(7が、指定された変換字体及
びその角度、拡大縮小倍率等をもとに変換された文字に
対してのゾーン数七n1thIL、このゾーン数を表わ
すデータをゾーン指定用のレジスタ25にセットして、
ゾーン単位の74ターン書込み毎に上記レジスタ25の
内容をデクリメント(−1)L、その内容が「0」とな
るまでは、各ゾーンの/4ターンデータを同一文字パタ
ーンとして扱う。即ち、ゾーン指定用レジスタ25によ
り指定されたゾーンに対しては、その各パターン間に空
白エリア(即ち行間隔)を介在させず、連続するドツト
印字指定を行なう。この際のゾーン分けの−[FII 
t−第10図に示している。
At this time, the line buffer 13 is configured with a bit width corresponding to the dot configuration of the normal printed character height (for example, 8 x 3 vertically = 24 dots). However, the 24-dot size cannot be accommodated except in the case of reduced patterns. Therefore, in such a case, when initializing the cursor register as described above, in order to divide the characters and 9 turns generated at the intersection into multiple zones, the CPUJ (7) The number of zones for the character converted based on the angle, scaling factor, etc. is 7n1thIL, and the data representing this number of zones is set in the register 25 for specifying the zone.
Every time 74 turns are written in a zone unit, the contents of the register 25 are decremented (-1) L, and until the contents become "0", the /4 turn data of each zone is treated as the same character pattern. That is, for the zone designated by the zone designation register 25, continuous dot printing is designated without intervening blank areas (ie, line spacing) between each pattern. In this case, the zone division - [FII
t-shown in FIG.

上記ゾーン数の算出手段は、第6図、及び第7図に示す
ように、指定された、回転角度/斜体角度/拡大縮小倍
率等から、変換(変形)された文字に対して外接するx
−y方向の長方形(正方形を含む)の大きさを求め、そ
の方形の互に接する2辺の各ドツト数(x−yドツト数
)を求めて、これを前述し友レジスタ初期設定の際に、
Vサイズ(Vaize)、Hサイズ(Hsize)のデ
ータとして、レジスタ21.22VCセツトしておくこ
とにより、容易にFJ Rできる。即ち、成る角度をも
って変換された文字に対しては、その文字の書込み(取
扱い)が、当該文字に外接する水平・垂直線上の長方形
のエリアをベースとして行われるもので、例えばプリン
トアウトの際のドツト補量感理時に於いては、レジスタ
22に貯えられたHサイズ(Hslze)のデータをラ
インバッファ18のビット幅「24」で除算することに
より、容易に上記ゾーン数を求めることができ、又、表
示出力の際のドツト補間処理時に於いては、レジスタ2
1tIC貯えられ7tVサイズ(Vsiz・)のデータ
を1表示行のビット幅「24」で除算することにより、
容易にゾーン数を求めることができる。
As shown in FIGS. 6 and 7, the above zone number calculation means calculates the x
- Find the size of the rectangle (including the square) in the y direction, find the number of dots on each of the two sides that touch each other (the number of x-y dots), and use this as described above when initializing the friend register. ,
By setting registers 21 and 22 VC as data of V size (Vaize) and H size (Hsize), FJR can be easily performed. In other words, for a character that has been converted with an angle of During dot compensation sensing, the number of zones can be easily determined by dividing the H size (Hslze) data stored in the register 22 by the bit width "24" of the line buffer 18. , during dot interpolation processing during display output, register 2
By dividing the data of 7tV size (Vsiz・) stored in 1tIC by the bit width of 1 display line "24",
The number of zones can be easily determined.

又、上記ゾーン指定用のレジスタ25に任意のゾーン指
定データを固定的に付与することにより、指定され友同
−ゾーンのイメージデータを連続的に繰返しイメージ展
開することができる。これKより、上記ドツト補間処理
によって変形され次文字パターンを更に、その一部又は
全部を冗長化した変形文字パターンとして印字出力する
こともできる。
Furthermore, by fixedly assigning arbitrary zone designation data to the zone designation register 25, the image data of the designated friend zone can be continuously and repeatedly developed into an image. From this, the next character pattern modified by the above-mentioned dot interpolation processing can be further printed out as a modified character pattern in which part or all of it is made redundant.

又、上記し7tVサイズ(Vaizθ)−Hサイズ()
(slze)のデータは、文字ピッチの設定時、下!/
傍線の処理時等に於いても参照される。
Also, as mentioned above, 7tV size (Vaizθ) - H size ()
(slze) data is lower! when setting the character pitch. /
It is also referenced when processing side lines.

即ち、上記し次ような、走査方向に任意の傾斜角度をも
つドツト補間によりて得られる斜形、転回等の文字は、
その文字全体の高さく文字高)及び幅(文字幅)が、傾
斜角度、更にはそれに加え九拡大縮小倍率等によって様
々に変化する。
That is, the following characters, such as diagonals and inversions, obtained by dot interpolation with arbitrary inclination angles in the scanning direction are:
The height (character height) and width (character width) of the entire character change variously depending on the inclination angle, and in addition to that, the enlargement/reduction magnification.

従りて上記し次ような変形文字を通常の行、桁方向(X
、7方向)t−もってイメージ出力した際、文字ピッチ
、更には下線/傍線等を、既存の固定的な・ぐラメータ
指定手段で定めることができない。
Therefore, the above-mentioned and following modified characters can be changed to the normal line and column direction (X
, 7 directions) when outputting an image with t-t, character pitch, underline/sideline, etc. cannot be determined using existing fixed grammeter designation means.

そこで、ここでは、文字ピッチ、下i!!/傍線等の各
処理に対しても上述し几ような外接する長方形を文字の
がディフェースとして取扱う。
Therefore, here, the letter pitch, lower i! ! / For processing such as side lines, the circumscribed rectangle as described above is treated as the face of the character.

以下!/cこれらの処理手段を説明する・先ず文字ピッ
チの処理動作を説明する。上述の如くして、1文字分の
ドツト補間処理が行われ、その断交に生成された1文字
分のドツトイメージが、出力対象となる飼えば印字制御
部17内のラインバッファ181C展開される(IF込
まれる)度に% CPU J oは、レジスタ21の内
容(Vslzs )が更新されたか否かを判断する。
below! /c Explanation of these processing means First, the character pitch processing operation will be explained. As described above, the dot interpolation process for one character is performed, and the dot image for one character generated at the intersection is developed into the line buffer 181C in the print control unit 17 to be output ( % CPU J o determines whether the contents of the register 21 (Vslzs) have been updated.

そして、上記レジスタ21の内容が更新されていなけれ
ば、レジスタ2111C貯えられ次データ(Vsiza
 ) K、、更にその1/2の値を加えたデータを文字
ピッチを示す制御データとして印字制御部J1に供給し
、ラインバッファ18上に展開される文字のピッチを制
御する。又、上記レジスタ21の内容が更新される際は
、その更新前のデータを特定レジスタ領域に保管してお
き、その更新時忙於いて特定レジスタ領域に保管した更
新前のデータと更新されたデータとの和°の1/4の値
を、更に上記レジスタ2ノに貯えられた更新後のデータ
に加え、これを文字ピッチを示す制御データとして印字
制御部17に供給し、ラインバッファ18上に展開され
る文字のピッチを制御する。
If the contents of the register 21 have not been updated, the register 2111C is stored and the next data (Vsiza
) K, and data obtained by adding 1/2 of the value is supplied to the print control section J1 as control data indicating the character pitch, and the pitch of the characters developed on the line buffer 18 is controlled. Also, when the contents of the register 21 are updated, the data before the update is stored in a specific register area, and during the update, the data before the update and the updated data stored in the specific register area are The value of 1/4 of the sum of degrees is further added to the updated data stored in the register 2, and this is supplied to the print control unit 17 as control data indicating character pitch, and expanded on the line buffer 18. Controls the pitch of the displayed characters.

このように、成る角度をもりて変換された文字に対して
は、その文字の書込み(取扱い)が、当該文字に外接す
る水平・垂直線上の長方形のエリアをベースとして行わ
れることから、その長方形の横幅(プリントアクトの場
合はVsizs。
In this way, for characters converted with an angle of width (Vsizs for print acts.

表示出力の場合はHsiz、a)をもとに、隣接する文
字との間のピッチが定められる。行ピッチに対しても上
記同様のピッチ制御が行なわれる0この際の各種変形文
字に対する文字ピッチcp、及び行ピッチLPの設定列
′Ik第8図に示している。
In the case of display output, the pitch between adjacent characters is determined based on Hsiz, a). The same pitch control as described above is also performed for the line pitch. The character pitch cp and line pitch LP setting column 'Ik for various modified characters at this time are shown in FIG.

尚、上記したピッチ制御は、常に隣接する文字の占める
エリア(外接する長方形)t−考慮しながらピッチを定
め比が、処理を簡素化するため、単純にその時々−のレ
ジスタ21(又はレジスタ22)値をもと忙ピッチを定
める制御手段をとってもよい。
The pitch control described above always takes into consideration the area (circumscribed rectangle) t occupied by adjacent characters, and the pitch is determined by the ratio. ) may be used as a control means to determine the busy pitch based on the value.

次に、上記した外接する長方形をもとに、下線/傍#i
!を印字出力する際の動作を説明する。
Next, based on the above circumscribed rectangle, underline/side #i
! We will explain the operation when printing out.

この際は、レジスタ2111C貯えられたデータ(’V
size )が参照される。下線/傍線制御部23は、
 CPUバス12を介して入力される印字制御情報に含
まれる下線/傍線の指示に従い、ラインバッフアノ3上
に下線又は傍線のドツトを展開するが、上述し定ような
転回、斜体等の変形文字に対しては通常の文字幅による
ライン展開では対応がとれない。そこでレジスタ21の
内容(Vsize )を常時入力し、下線/傍線の指示
があると、そのときのレジスタ2ノの更新データ内容に
従うライン長をもって下#!/傍線のドットノザターン
を生成し、ラインバッフアノ3上に該当文字に対応させ
てパターン展開する。この際の各種変形文字に対する下
線の展開例を第9図に示す。
At this time, the data stored in register 2111C ('V
size) is referenced. The underline/sideline control unit 23 is
In accordance with the underline/side line instructions included in the print control information input via the CPU bus 12, underline or side line dots are developed on the line buffer annotation 3, but deformed characters such as inverted or italic characters as described above are displayed. cannot be handled by line expansion using normal character width. Therefore, the contents of register 21 (Vsize) are constantly input, and when there is an underline/sideline instruction, the line length according to the updated data contents of register 2 at that time is set to the lower #! / Generates a sideline dot-no-za-turn, and develops a pattern on the line buffer 3 corresponding to the corresponding character. FIG. 9 shows an example of the development of underlines for various modified characters at this time.

次に上述の如くして得られt、拡大ないしは変形文字と
他のドツト構成をなす文字、例えば全角文字とを混在印
字出力する場合の印字制御動作を第1図と第11図乃至
第16因を参照して説明する。
Next, the print control operation when printing out a mixture of enlarged or modified characters obtained as described above and other dot-configured characters, such as full-width characters, is shown in FIGS. 1 and 11 to 16. Explain with reference to.

ここでは、第13図に示す如く、前述のドツト補間処理
により、縦2倍、横2倍に拡大された拡大文字と全角文
字とを中揃えの状態で印字出力する場合をし1]にとっ
て説明する。
Here, as shown in Fig. 13, we will explain the case in which enlarged characters and full-width characters that have been enlarged twice vertically and twice horizontally are printed out in a center-aligned state by the above-mentioned dot interpolation process. do.

第13図に示すような、縦2倍、横2倍の拡大文字と全
角文字とを中揃えの状態で混在印字する場合、外部から
は、次のような印刷指示が与えられる。
When printing double-height and double-width enlarged characters and full-width characters in a center-aligned state as shown in FIG. 13, the following printing instructions are given from the outside.

(1)拡大倍率(ここでは縦2倍、横2倍)をセットす
る。
(1) Set the magnification (here, 2x vertically and 2x horizontally).

(2)文字コード”A””B”C″と、CR(印字開始
)コードを送出する。
(2) Send character codes "A", "B", and "C" and a CR (print start) code.

(3)  用紙送り量t1(ここではz1=th/2)
を送出する・ (4)拡大倍率を基準倍率、即ち全角文字を指定する縦
1倍、横1倍の倍率に戻す。
(3) Paper feed amount t1 (here z1=th/2)
(4) Return the enlargement magnification to the standard magnification, that is, the magnification of 1x vertically and 1x horizontally, which specifies full-width characters.

(52文字コードあ”い”う”え”お“と、CRコード
を送出する。
(Sends 52-character code ``a'', ``u'', ``o'' and CR code.

(6)用紙送j5 i t lを送出する。(6) Send paper feed j5 i tl.

(7)文字コード1か”き“く1け″”こ“と、CRコ
ードを送出する。
(7) Send the character code 1 or the CR code.

尚、ここでは、文字情報記憶バッファ20がメインメモ
リ11とは独立して設けられた構成としているが、文字
情報記憶バッファ70がメインメモリ11内に置かれる
場合は、上記各文字コードがメインメモリ11内の上記
バッファ領域内の各情報ブロックに書込まれる。
Note that here, the character information storage buffer 20 is provided independently of the main memory 11, but if the character information storage buffer 70 is placed in the main memory 11, each of the above character codes is stored in the main memory. Each information block in the buffer area in 11 is written.

一方、辷れに対して、プリンタ制御装置内部では、以下
のような印字処理制御を行なう。
On the other hand, in response to the slippage, the following printing process control is performed inside the printer control device.

a)上記(2)のCRコード礎信により、前述のドツト
補間処理によって拡大(縦2倍、横2倍)しt文字A、
B、CのゾーンO(上半分)のイーメージを順次ライン
バッファ13に展開し、印字出力する。
a) Based on the CR code basic idea in (2) above, the character A is enlarged (twice vertically and twice horizontally) by the dot interpolation process described above.
The images of zone O (upper half) of B and C are sequentially developed in the line buffer 13 and printed out.

次に、拡大文字A、B、Cのゾーン1の印字に備えて、
文字情報記憶バッファ70内の該°当する情報ブロック
701の内容を更新する。ここでは、ゾーン指定部82
に、ZONE=1.相対距離記憶部83に、dH=th
がそれぞれ登録される。この際のCR処理の詳細を第1
5図のフローチャートに示している。
Next, in preparation for printing enlarged characters A, B, and C in zone 1,
The contents of the corresponding information block 701 in the character information storage buffer 70 are updated. Here, the zone designation section 82
In, ZONE=1. In the relative distance storage unit 83, dH=th
are registered respectively. The details of the CR processing at this time are explained in the first section.
This is shown in the flowchart of FIG.

b)上記(3)だ対して、tノの用紙送シを実行する。b) In contrast to (3) above, perform t paper feeds.

C)上記t1の用紙送り実行後、上記情報ブロック70
1・・・内の相対距離記憶部8.3の値dHから上記用
紙送9量t1を減じる。この際のLF(用厭送シ実行)
処理の詳細を第14図のフローチャートに示している。
C) After executing the paper feed at t1, the information block 70
The paper feed amount t1 is subtracted from the value dH of the relative distance storage section 8.3 within 1 . LF at this time (execution of use)
The details of the process are shown in the flowchart of FIG.

d)上記(5)のORコード受信により、全角文字“あ
”い”う”え”1お″を1文字単位で順次ラインバッフ
ァ13にイメージ展開し、その展開したイメージを印字
出力する(第15図のフローチャート参照)。
d) Upon receiving the OR code in (5) above, images of the full-width characters "A", "U", "1", "A", "U", "1", and (See flowchart in Figure 15).

リ 上記(6)の用紙送シ量t2に対して、この送9 
tt 2が上記拡大文字(A、B、C)のシー71の印
字範囲を越える几め、 1)′tず、 dHの値だけ、用紙送りを実行する0 2)拡大文字”A″”B″″C”のゾーン1を印字する
R For the paper feed amount t2 in (6) above, this feed 9
To prevent tt 2 from exceeding the printing range of sheet 71 of the enlarged characters (A, B, C), 1) Execute paper feed by the value of dH without 't0 2) Enlarged characters "A""B" Print zone 1 of “C”.

3)これで拡大文字(A、B、C)の印字が完了したの
で、文字情報記憶バッファ70内に登録しである上記拡
大文字(A、B、C)の各ブロック情報を捨てる。
3) Since printing of the enlarged characters (A, B, C) is now completed, the block information of the enlarged characters (A, B, C) registered in the character information storage buffer 70 is discarded.

4)残シの用紙送シ(ここではt2−dH)を実行する
4) Execute the remaining sheet feeding (here, t2-dH).

この際のLF (用紙送シ実行)処理の詳細は第14図
のフローチャートに示される。
Details of the LF (paper feed execution) process at this time are shown in the flowchart of FIG.

f)上記(7)のCRコード受信により、全角文字”か
”き“〈”け”と” t−1文字単位で順次ラインバッ
ファ13VCイメージ展開し、印字出力する(第15図
の70−チャート参照)。
f) Upon reception of the CR code in (7) above, the full-width characters "K", "K", "〈" and "K" are sequentially expanded into line buffer 13 VC images in units of t-1 characters, and printed out (70-chart in Figure 15) reference).

このようにして、第13図に示すような全角文字と拡大
文字(ま之は変形文字)とが混在する中揃えの文字印字
処理が順次実行される。
In this way, the center-aligned character printing process in which full-width characters and enlarged characters (many of which are modified characters) are mixed as shown in FIG. 13 is sequentially executed.

ここで、第14図乃至第16図を参照して、前述し7?
−LP(用紙送シ実行)処理、及びCR(印字開始)処
理に於ける印字モード処理動作、及び拡大a4ターンの
ドツト数調整処理動作を説明する。
Here, with reference to FIGS. 14 to 16, the above-mentioned 7?
- Print mode processing operations in LP (paper feed execution) processing and CR (print start) processing, and dot number adjustment processing operations for enlarged A4 turn will be explained.

第14図に示すLF処理に於いて、文字情報記憶バッフ
ァ70内の情報ブロック701・・・の相対距離記憶部
83・・・に貯えられた相対距離dH・・・から、その
最小値tminが検索され、更にその相対圧1lIl(
dH: 7m1n )が用紙送’) t L k越えて
いないとき、tminだけ用紙送シが実行されt後、上
記相対距離dHからtminが引かれる。
In the LF process shown in FIG. 14, the minimum value tmin is calculated from the relative distances dH... stored in the relative distance storage units 83... of the information blocks 701... in the character information storage buffer 70. The relative pressure 1lIl (
When dH: 7m1n) does not exceed the paper feed ')tLk, paper feed is executed for tmin, and after t, tmin is subtracted from the relative distance dH.

ここまでの動作は既に説明した通シである。The operations up to this point are the same as those already explained.

上記用紙送)が実行され、相対距離dHの更新処理がな
され後、印刷方向制御フラグ9Qが調べられる。ここで
、上記印刷方向制御フラグ90が立りていれば、即ちフ
ラグがセットされていれば、両方向印字(印字ヘッドの
順方同送シ・逆方同送シの双方による両方向印字)モー
ドが指定されているものと判断して、シリアルドツトプ
リンタ14のプリンタメカを両方向印字モードに設定し
、印字すべき文字のイメージ展開処理を開始する。まf
c、上記印刷方向制御フラグ90がセットされていなけ
れば、単方向印字モードが指定されているものと判断し
て、シリアルドツトプリンタ14のプリンタメカを単方
向印字モードに設定し、印字すべき文字のイメージ展開
処理を開始する。
After the above paper feeding) is executed and the relative distance dH is updated, the printing direction control flag 9Q is checked. Here, if the printing direction control flag 90 is set, that is, if the flag is set, the bidirectional printing mode (bidirectional printing by both forward and reverse simultaneous feeding of the print head) is activated. When it is determined that this has been specified, the printer mechanism of the serial dot printer 14 is set to bidirectional printing mode, and image development processing of the characters to be printed is started. Maf
c. If the printing direction control flag 90 is not set, it is determined that the unidirectional printing mode is specified, and the printer mechanism of the serial dot printer 14 is set to the unidirectional printing mode, and the character to be printed is Start the image deployment process.

この際のラインバッファ13へのイメージ展開処理の詳
細な処理フローは第16図に示されている。ここで、文
字パターンをラインバッファ13に展開した後、レジス
タ91.92にセットされ次刻みm dxc l dy
L金もとに、展開されt拡大倍率が、許容印字ドツト数
(印字消費電力)により定まる基準拡大倍率を越えてい
るか否かが判断される。即ち、ここでは、ラインバッフ
ァ13に展開され九文字パターンのX方向刻み幅dxi
とレジスタ91に貯えられたX方向刻み幅d X L、
同じく文字パターンのY方向刻み幅dylとレジスタ9
ノに貯えられたY方向刻み幅dyLとがそれぞれ比較さ
れ、少なくとも、dxiがdx t、以下ならば、マ友
はdylがdyL以下ならば、展開されたパターンの拡
大倍率が基準拡大倍率を越えていると判断して、ライン
バッファ13の展開文字パターンに千鳥マスクをかけて
、印字ドツトを間引く。これにより、印字ドツト数が極
端に増加して印字消費電力が規定値を越え、シリアルド
ツトプリンタ14が電源落ち状態になるという不都合を
回避することができるとともに、拡大パターン部分が極
端に高濃度になってしまう(連続するドツト印字により
紙面が真無になってしまう)という不都合を回避するこ
とができる。    ′ 又、第15図に示すCR処理に於いては、印字処理され
る文字列が、1回の印字ヘッド移動動作で印字完了する
文字パターン(ゾーン分けされていない、単一ゾーンの
文字パターン)テあるか否かが判断され、1回の印字ヘ
ッド移動動作で印字完了する場合は、印刷方向制御フラ
グ90の指示内容に関係なく、プリンタメカに対し、両
方向印字モードをセットする。これにより、1回の印字
ヘッド移動動作で印字完了する文字パターンに対しては
、両方向印字処理により、印字時間を短縮して高速印字
処理を実行でき、又、複数ゾーンに分けられた拡大ない
しは変形文字に対しては、ユーザの指定通シの印字指定
処理、つt、b、印字品質を重視せず、高速印字をさせ
たい場合は、印刷方向制御フラグを立てる(セットする
)とと忙より、両方向印字処理による高速印字が実行さ
れ、t7t、ゾーン間のパターンずれによる印字品質の
低下をなくシ、高印字品質の拡大ないしは変形文字ツク
ターンを得次い際は、印刷方向制御フラグ90をυセッ
トして単方向印字モードを指定することによって、ゾー
ン間にパターンずれの生じない高印字品質の拡大ないし
は変形文字/4ターンを得ることができる。
A detailed processing flow of the image development process to the line buffer 13 at this time is shown in FIG. Here, after developing the character pattern in the line buffer 13, it is set in registers 91.92 and the next increment m dxc l dy
Based on L money, it is determined whether or not the expanded magnification factor exceeds the reference magnification factor determined by the allowable number of printed dots (printing power consumption). That is, here, the step width dxi in the X direction of the nine-character pattern developed in the line buffer 13 is
and the X direction step size dXL stored in the register 91,
Similarly, the Y direction step width dyl of the character pattern and register 9
The Y-direction step size dyL stored in It is determined that the character pattern in the line buffer 13 has a zigzag pattern, and the printed dots are thinned out by applying a staggered mask to the developed character pattern in the line buffer 13. As a result, it is possible to avoid the inconvenience that the number of printed dots increases extremely and the printing power consumption exceeds the specified value, causing the serial dot printer 14 to turn off. It is possible to avoid the inconvenience that the paper surface becomes completely blank due to continuous dot printing. ' Also, in the CR process shown in FIG. 15, the character string to be printed is a character pattern that is completed in one print head movement operation (a single zone character pattern that is not divided into zones). If it is determined whether or not there is a print head, and if printing is completed with one print head movement operation, a bidirectional print mode is set for the printer mechanism regardless of the instruction content of the print direction control flag 90. As a result, character patterns that can be printed in one print head movement can be printed in both directions, reducing printing time and performing high-speed printing, and can be enlarged or transformed into multiple zones. For text, if you want to print at high speed without placing emphasis on printing quality, you can set the printing direction control flag. , high-speed printing is performed by bidirectional printing processing, and at t7t, to eliminate the deterioration of printing quality due to pattern deviation between zones, and to obtain enlarged or modified character prints with high printing quality, the printing direction control flag 90 is set to υ. By setting this and specifying the unidirectional printing mode, it is possible to obtain enlarged or modified characters/4 turns with high print quality without pattern deviation between zones.

尚、上記第14図、及び第15図に於いて、イメージ展
開の終了確認は、前述しfl−H5ize。
In addition, in FIGS. 14 and 15 above, confirmation of completion of image development is performed using fl-H5ize as described above.

値と、次忙展開すべきゾーンの値とにより、判断するも
ので、1つのゾーン@を列えば24゛ドツトとすると、 24x(ゾーンの値))Hsizs となれば、イメージ展開終了と判断する。
It is judged based on the value and the value of the next busy zone.If one zone @ is lined up, it becomes 24゛dots, and if it becomes 24x (zone value))Hsizs, it is judged that the image development is completed. .

上記実jlii列では、ドツト補間処理された文字/4
ターンの拡大倍率が予め設定され九基準拡大倍率を越え
て印字ドツト数が極端に増加し、印字処理時の消費電力
が規定値を越えてプリンタの電源落ちを招くとhう不都
合を回避する之め、千鳥パターンにより、印字ドツトを
間引く構成としてい几が、例えば第17図に示される如
く、印字t−2回に分けて行なうようにしてもよい。
In the real jlii sequence above, the dot interpolated character /4
This avoids the inconvenience that occurs when the turn magnification is set in advance and the number of printed dots increases excessively when the turn magnification exceeds the nine standard magnification, and the power consumption during printing exceeds a specified value, causing the printer to shut down. Therefore, the printing dots may be thinned out using a staggered pattern, and the printing may be performed in t-2 printings, as shown in FIG. 17, for example.

この場合、第17図の例では、第1回目の印字   ′
時に際して、ラインバッファ13に展開されたイメージ
K、”A、A”(@1010.1010”)tバイト単
位で論理積演算し、そのイメージラインバッファ13に
展開して、印字しt後、前回と同じパターンを再度ライ
ンバッファ13に展開し、次に、その展開され次イメー
ジに、@5,5″(”0101,0101 ″)ftバ
イト単位で論理積演算し、そのイメージをラインバッフ
ァ13に展開して、印字している。
In this case, in the example of FIG. 17, the first printing ′
Sometimes, the image K, "A, A"(@1010.1010") developed in the line buffer 13 is ANDed in t byte units, and the image is developed in the line buffer 13, printed, and after t, the previous Expand the same pattern to the line buffer 13 again, then perform a logical AND operation on the expanded next image in units of @5,5''("0101,0101'') ft bytes, and transfer that image to the line buffer 13. Expanded and printed.

このような印字処理手段によっても、上記−実施列と同
様に、印字処理時の消費電力が規定値を越えてプリンタ
の電源落ちを招くという不都合全回避できる。但し、こ
の印字処理手段に於いては、印字結果として、印字ドツ
トを間引いtパターンではなく、前述のドツト補間処理
により生成され九ドッ) パターンが忠実に印字出力さ
れる。
With such a print processing means, as in the case of the above embodiment, it is possible to avoid the inconvenience that power consumption during print processing exceeds a specified value and causes a power outage of the printer. However, in this printing processing means, as a printing result, a 9-dot pattern generated by the above-mentioned dot interpolation processing is faithfully printed out, rather than a t-pattern by thinning out printing dots.

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

以上詳記したように本発明のプリンタ制御装置によれば
、所定ドツトマトリクス構成の文字/4ターンを拡大な
いしは変形処理するツクターン処理手段と、このパター
ン処理手段によりて得られるi4ターンの縦方向ドツト
数がイメージラインバッファの縦方向幅より大きくなり
几際K、所定ドツト幅単位のゾーンに分けてイメージ展
開してゆく手段とを有してなるプリンタ制御装置に於い
て、前記ツクターン処理手段により処理され7を出力文
字パターンが予め定められた基°準拡大倍率を越えてh
るか否かを判断する手段と、この手段によ勺前記出力文
字パターンが基準拡大倍率を越えたことが判断された際
に、前記出力文字パターンの印字ドツトを間引いてイメ
ージラインバッファに展開する手段とを有して、前記i
4ターン処理手段により処理された文字パターンが所定
拡大倍率以上となりた際に、当該文字パターンの印字テ
、−ティを自動的に軽減する構成としたことにより、印
字消費電力の極端な増加忙伴うプリンタの電源落ち等の
不都合を確実に回避することができ、比較的小容量の電
源を有効にもちいて経済的に有利な構成のグリ/りを実
現できる。
As detailed above, according to the printer control device of the present invention, there is provided a cross-turn processing means for enlarging or transforming a character/four turns in a predetermined dot matrix configuration, and a vertical dot of i4 turns obtained by this pattern processing means. In a printer control device comprising means for developing an image in zones each having a predetermined dot width, when the number of dots becomes larger than the vertical width of the image line buffer, processing is performed by the turn processing means. If the output character pattern exceeds the predetermined standard magnification
means for determining whether the output character pattern exceeds a reference magnification magnification, and when the means determines that the output character pattern exceeds a reference magnification magnification, thinning out the printed dots of the output character pattern and developing it in an image line buffer; and means for said i
When the character pattern processed by the 4-turn processing means exceeds a predetermined enlargement magnification, the printing power consumption of the character pattern is automatically reduced, thereby preventing an extreme increase in printing power consumption. Inconveniences such as power failure of the printer can be reliably avoided, and a comparatively small-capacity power source can be effectively used to realize an economically advantageous grid/grid configuration.

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

第1図は本発明の一実施例に於ける要部の構成を示すプ
ロ、り図、第2図乃至第16図はそれぞれ上記実施列に
於ける拡大ないしは変形文字パターンを得るためのドツ
ト補間処理手段を説明する九めのもので、第2図(a)
乃至(f)fiそれぞれドツト補間処理忙より生成され
る新たなドツトを囲む1格子4点のドツト情報(ドツト
・臂ターン)と補間テーブルROMに設定されに補間値
のレベル区分とテーブルタイプとの関係を示す図、第3
図はテーブルタイプの選択切替動作を説明するkめの図
、第4図(、)乃至(d)はそれぞれ・fターン変換列
を示す図、第5図(a) 、 (b)はCRT表示の際
の主・副走査方向とプリントアウト“の際の主・副走査
方向とを対比して示す図、第6図は各種設定データの関
係を示す図、WI7図はドツト補間処理により・母ター
ン変換されt文字と、その文字に外接する長方形との関
係を示す図、第8図は各種変形文字に対する文字ピッチ
及び行ピッチの設定例を示す図、第9図は各種変形文字
に対する下線の展開列を示す図、第10図はゾーン指定
動作を説明する次めの図、第11図は上記実施例に於け
る文字情報記憶バ、ファ内の1情報ブロツクの構成を示
す図、第12図乃至第16図はそれぞれ上記実施列の動
作を説明するtめのもので、第12図及び第13図はそ
れぞれ上記実施例に於ける印字側°御動作説明図、第1
4図乃至第16図はそれぞれ上記実施列に於ける動作処
理フローを示すフローチャート、第17図は本発明の他
の実施列に於ける動作処理フローを示すフローチャート
である。 ノ0・・・CPU 、  1ノ・・・メインメモリ(M
M)、12・・・CPtJバス、13・・・ラインバッ
ファ(イメージラインバッファ)、14・・・シリアル
ドツトプリンタ、21,22,25,26,27゜21
1.31,32,33,34,35,36゜42.44
,46.4g、50,54.5G。 91.92・・・レジスタ、23・・・下線/傍線制御
部、24・・・三角関数テーブル、29・・・オフセッ
トデータ生成部、37.3B、39.40・・・加算回
路(Ap6−A、ADD−n、ApD−c、Ano−D
)、41゜43、.45.47・・・データセレクタ、
49・・・選択制御回路(SC)% 51・・・漢字パ
ターンメモ17(KPM)、52・・弓文字バッファ、
53・・・ビ、ト選択回路、55・・・判別制御回路、
57・・・ド、ト判別回路、58・・・補間テーブルR
OM、59・・・コンパレータ、50川シフトレジスタ
、70・・・文字情報記憶バッファ、701・・・・・
・情報ブロック、80・−制御フラグ部、8ノ・・・文
字コード部、82・・・ゾーン指定部、83・・・相対
距離記憶部、84・・・Iインタ部、86,116・・
・刻み幅記憶部、87・・・属性情報記憶部、9o・・
・印刷方向制御フラグ。 出願人代理人  弁理士 鈴 江 武 彦第2図 第3図 第4図 第5図 (a)       (b) 第6図 第7図 第8図 第9図 第10図 第11図 第12図 第13図 第14図 第15図 第16図 7、補正の内容 手続補正書働劫 4□。69.2・%48 特許庁長官 志 賀    学   殿1、事件の表示 特願昭59−179650号 2、発明の名称 プリンタ制御装置 3、補正をする者 事件との関係 特許出願人 (307)株式会社 東芝 4、代理人 昭和60年1月29日 図面第14図の図番号を、別紙に未配する通り「第14
図その2」、「第14図その1」と訂正する。
FIG. 1 is a diagram showing the configuration of the main parts in one embodiment of the present invention, and FIGS. 2 to 16 are diagrams showing dot interpolation to obtain enlarged or modified character patterns in the above embodiment, respectively. This is the ninth item explaining the processing means, and is shown in Figure 2(a).
to (f) fi respectively, the dot information (dot/arm turn) of 4 points in 1 grid surrounding the new dot generated by the dot interpolation processing, the level classification of the interpolation value set in the interpolation table ROM, and the table type. Diagram showing relationships, 3rd
The figure is the kth figure explaining the table type selection switching operation, Figures 4(,) to (d) are diagrams showing the f-turn conversion string, respectively, and Figures 5(a) and (b) are CRT displays. Figure 6 is a diagram showing the relationship between various setting data, and Figure WI7 is a diagram showing the main and sub-scanning directions during printout compared to the main and sub-scanning directions during printout. A diagram showing the relationship between a turn-converted t character and a rectangle circumscribing the character, Figure 8 is a diagram showing examples of character pitch and line pitch settings for various modified characters, and Figure 9 is a diagram showing examples of setting the character pitch and line pitch for various modified characters. FIG. 10 is the next diagram for explaining the zone designation operation. FIG. 11 is a diagram showing the structure of one information block in the character information storage bar and file in the above embodiment. Figures 1 to 16 are diagrams for explaining the operation of the above-mentioned embodiment, respectively, and Figures 12 and 13 are diagrams for explaining the printing side control operation in the above-mentioned embodiment, respectively.
4 to 16 are flowcharts showing the operation processing flow in the above embodiments, respectively, and FIG. 17 is a flowchart showing the operation processing flow in another embodiment of the present invention. 0...CPU, 1...Main memory (M
M), 12... CPtJ bus, 13... Line buffer (image line buffer), 14... Serial dot printer, 21, 22, 25, 26, 27゜21
1.31, 32, 33, 34, 35, 36°42.44
,46.4g,50,54.5G. 91.92...Register, 23...Underline/sideline control section, 24...Trigonometric function table, 29...Offset data generation section, 37.3B, 39.40...Addition circuit (Ap6- A, ADD-n, ApD-c, Ano-D
), 41°43, . 45.47...Data selector,
49... Selection control circuit (SC)% 51... Kanji pattern memo 17 (KPM), 52... Bow character buffer,
53...B, G selection circuit, 55...Discrimination control circuit,
57...Do, G discrimination circuit, 58...Interpolation table R
OM, 59... Comparator, 50 River shift register, 70... Character information storage buffer, 701...
- Information block, 80 - Control flag section, 8th... Character code section, 82... Zone designation section, 83... Relative distance storage section, 84... I inter section, 86, 116...
・Step width storage unit, 87... Attribute information storage unit, 9o...
-Print direction control flag. Applicant's Representative Patent Attorney Takehiko Suzue Figure 2 Figure 3 Figure 4 Figure 5 (a) (b) Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13, Figure 14, Figure 15, Figure 16, Figure 7, Contents of the amendment, Procedure, Work of the amendment document, 4□. 69.2・%48 Commissioner of the Patent Office Manabu Shiga1, Indication of the case, Patent Application No. 179650/19832, Name of the invention Printer control device3, Person making the amendment Relationship to the case Patent applicant (307) Stocks Company Toshiba 4, Agent January 29, 1985 The drawing number in Figure 14 of the drawing is “No. 14” as not shown in the attached sheet.
``Figure 2'' and ``Figure 14 Part 1''.

Claims (3)

【特許請求の範囲】[Claims] (1)所定ドットマトリクス構成の文字パターンを拡大
ないしは変形処理するパターン処理手段と、このパター
ン処理手段によって得られるパターンの縦方向ドット数
がイメージラインバッファの縦方向幅より大きくなった
際に、所定ドット幅単位のゾーンに分けてイメージ展開
してゆく手段とを有してなるプリンタ制御装置に於いて
、前記パターン処理手段により処理された出力文字パタ
ーンが予め定められた基準拡大倍率を越えているか否か
を判断する手段と、この手段により前記出力文字パター
ンが基準拡大倍率を越えたことが判断された際に、前記
出力文字パターンの印字ドットを間引いてイメージライ
ンバッファに展開する手段とを具備してなることを特徴
とするプリンタ制御装置。
(1) A pattern processing means for enlarging or transforming a character pattern having a predetermined dot matrix configuration; In a printer control device comprising means for developing an image divided into zones of dot width units, whether the output character pattern processed by the pattern processing means exceeds a predetermined reference magnification magnification. and means for thinning out printed dots of the output character pattern and developing them in an image line buffer when it is determined by the means that the output character pattern exceeds a reference magnification magnification. A printer control device characterized by:
(2)前記出力文字パターンの印字ドットを千鳥状に間
引いて印字出力する特許請求の範囲第1項記載のプリン
タ制御装置。
(2) The printer control device according to claim 1, which thins out the print dots of the output character pattern in a staggered manner and outputs the printout.
(3)同一文字パターンを二度生成し、その第1の文字
パターンの間引きドットと第2の文字パターンの間引き
ドットとを互いに異ならせて、印字ドットの間引かれた
前記第1、第2の文字パターンを同一印字行に重ね合わ
せ印字する特許請求の範囲第1項記載のプリンタ制御装
置。
(3) The same character pattern is generated twice, and the thinned out dots of the first character pattern and the thinned out dots of the second character pattern are made different from each other, and the first and second printed dots are thinned out. 2. A printer control device according to claim 1, which prints character patterns in a superimposed manner on the same print line.
JP59179650A 1984-08-29 1984-08-29 Controller of printer Granted JPS6157349A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP59179650A JPS6157349A (en) 1984-08-29 1984-08-29 Controller of printer
KR1019850004176A KR910005779B1 (en) 1984-08-29 1985-06-13 Printer controlling method for reducing the number of dot
US06/761,705 US4655622A (en) 1984-08-29 1985-08-02 Printer control apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59179650A JPS6157349A (en) 1984-08-29 1984-08-29 Controller of printer

Publications (2)

Publication Number Publication Date
JPS6157349A true JPS6157349A (en) 1986-03-24
JPH043749B2 JPH043749B2 (en) 1992-01-24

Family

ID=16069478

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59179650A Granted JPS6157349A (en) 1984-08-29 1984-08-29 Controller of printer

Country Status (2)

Country Link
JP (1) JPS6157349A (en)
KR (1) KR910005779B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02286360A (en) * 1989-04-28 1990-11-26 Juki Corp Letter scale-up device for dot printer

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030049163A (en) * 2001-12-14 2003-06-25 주식회사 스위코 Noncombustible middle density fiberboards and the manufacturing method
KR100530663B1 (en) * 2003-10-08 2005-11-22 주식회사 엘지화학 Incombustible flooring

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02286360A (en) * 1989-04-28 1990-11-26 Juki Corp Letter scale-up device for dot printer

Also Published As

Publication number Publication date
JPH043749B2 (en) 1992-01-24
KR860002059A (en) 1986-03-26
KR910005779B1 (en) 1991-08-03

Similar Documents

Publication Publication Date Title
JPS60140472A (en) Interactive controller for font pattern formation/correction/synthesis
JPH031193A (en) Data converter
JPS6157349A (en) Controller of printer
JPH046554B2 (en)
JPH049152B2 (en)
JP2946548B2 (en) Page printer with editing function
JPH0661960B2 (en) Dot interpolation control device
JPS6157348A (en) Controller of printer
JPS60231267A (en) Intra-character control system
JP2710350B2 (en) Image processing apparatus and image processing method of image processing apparatus
JP2803746B2 (en) Character processing method and apparatus
JP3099556B2 (en) Data converter
JPH083709B2 (en) Dot development processor
KR900004948B1 (en) Under/side line pattern generating device
JPS61141479A (en) Reduced character processor
JPS62247395A (en) Character pattern expansion processing system
JPH0863143A (en) Character sign generating device
JPH0596784A (en) Printer device
JPH06171150A (en) Output method
JPH0581401A (en) Picture editing device
JPH07156449A (en) Printer and image font-enlarging device
JPH02212171A (en) Variable power contraction printing method of font data
JPH0553558A (en) Information processor
JPH01217395A (en) Word processor
JPH07226837A (en) Output method and output device