JPS5889376A - printing device - Google Patents

printing device

Info

Publication number
JPS5889376A
JPS5889376A JP56186625A JP18662581A JPS5889376A JP S5889376 A JPS5889376 A JP S5889376A JP 56186625 A JP56186625 A JP 56186625A JP 18662581 A JP18662581 A JP 18662581A JP S5889376 A JPS5889376 A JP S5889376A
Authority
JP
Japan
Prior art keywords
line
printing
character
counter
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP56186625A
Other languages
Japanese (ja)
Inventor
Yoshio Maniwa
芳夫 馬庭
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP56186625A priority Critical patent/JPS5889376A/en
Publication of JPS5889376A publication Critical patent/JPS5889376A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J5/00Devices or arrangements for controlling character selection
    • B41J5/30Character or syllable selection controlled by recorded information

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To change printing positions for line direction by units smaller than dot matrix unit by a method in which a register to set and hold vertical spacing units by units below the whole multiples of base line pitch is compared with the lower part of an address generator and the line is ended by concordant signal. CONSTITUTION:When printing with any line pitch is desired, the values of whole multiples of 1/300 inches are set in a line feed amount register 41 in advance. The values of line address counter 33 and block counter 34 are compared with the values of the line feed amount register 44, the line address counters 33 and block counter 34 are reset by concordant signals from a comparator 45, one line is ended, a clock is applied to the line address counter 39, and the line of a page memory 9 is renewed. When making 1/6 inches of vertical spacing, since 50 dots are counted in spite of the dot matrix with only 48 dots, an output inhibition signal 130 is applied from a flip-flop 53 and 2 dots of non-printing is forcibly made.

Description

【発明の詳細な説明】 本発明は、印字装置に関し、特に一般の改行ピッチの整
数倍は勿論、ドツト・ピッチを単位とする微量のライン
フィードも可能なラスタ・スキャン方式のページ・プリ
ンタに関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a printing device, and in particular to a raster scan type page printer that is capable of not only integer multiples of a general line feed pitch but also minute line feed in dot pitch units. It is.

従来より、計算機等のホスシ・マシンに接続された印字
装置は、ホスト・マシンから印字文字コードと印字制御
コードが転送されると、その印字制御コードにもとづき
ページ・メモリ (テキスト・メモリ)上に受信した印
字文字コードを組み立てていき、ページ・プリンタで印
字すべき全文字の格納が終了した後に、ページ・プリン
タの主走査タロツクおよび副走査クロックでページ・メ
モリをDMA (ダイレクト・メモリ・アクセス)動作
により読み出し、銃み出されたデータ(文字位置コード
)1i−アドレスとして、ドツト・マトリクス・パター
ン・メモリをアクセスし、読み出したデータ (゛文字
ドツト信号>’frシフト・レジスタにより並直列変換
してシリアル画信号全形成し、主走査クロックに同期し
てページ・プリンタに転送することにより、1ペ一ジ単
位で印字を行う。
Conventionally, when a printing device connected to a host machine such as a computer receives a print character code and a print control code from the host machine, it prints the data on the page memory (text memory) based on the print control code. The received print character codes are assembled, and after the page printer has finished storing all the characters to be printed, the page memory is accessed by DMA (direct memory access) using the page printer's main scanning clock and sub-scanning clock. The dot matrix pattern memory is accessed as the read out data (character position code) 1i-address by the operation, and the read data (character dot signal>'fr is parallel-serial converted by the shift register). The entire serial image signal is formed by the main scanning clock and transferred to the page printer in synchronization with the main scanning clock, thereby printing one page at a time.

ところで、ワード・プ四セッサ等では、単語相互の間隔
、行宋揃え、行間隔等の文字配置が印字品質上重要な機
能となっているが、従来より印字文字位置制御の容易な
シリアル・インパクト活字プリンタが用いられていたの
で、特に問題はなかった。
By the way, in word processors, etc., character arrangement such as spacing between words, line alignment, line spacing, etc. is an important function for printing quality. Since a type printer was used, there were no particular problems.

しかし、シリアル・インパクト活字プリンタは、1ペー
ジの印字時間が遅いため、高速印字の可能なノンインパ
クト嗜ページ・プリンタ、例えばレーザ・プリンタやO
R1プリンタが要求されるようになった。
However, serial impact type printers have a slow printing time for one page, so they are not compatible with non-impact type page printers that can print at high speed, such as laser printers and O
R1 printers are now required.

ところが、ページ−プリンタはページψメモリを必要と
し、ページ・メそりは印字用紙上の全領域をドツト・マ
トリクスのサイズに分割されており、かつページ・メモ
リの1ワードはパターン・メモリの1文字に相当するた
め、ドツト・マトリクス単位より小さい単位の印字位置
制御ができない欠点がある。また、高品質で印字位置制
御全行わせるためkは、制御可能な単位にページ・メモ
リを分割する必要があるが、それによりページ・メモリ
の容量が大きくなってしまう欠点がある。
However, a page printer requires a page ψ memory, in which the entire area on the printing paper is divided into dot matrix sizes, and one word of the page memory corresponds to one character of the pattern memory. Therefore, there is a drawback that printing position cannot be controlled in units smaller than dot matrix units. Further, in order to fully control the print position with high quality, it is necessary to divide the page memory into controllable units, but this has the disadvantage that the capacity of the page memory increases.

本発明の目的は、このような従来の欠点を除来するため
、ページ・メモリの容量を増加することなく、ドツト・
マトリクス単位より小さい単位で行方向の印字位置制御
を行い、1ページ内の行装置が簡単にできる印字装置を
提供することにある。
An object of the present invention is to eliminate such conventional drawbacks by providing dot storage without increasing the page memory capacity.
It is an object of the present invention to provide a printing device that controls printing position in the line direction in units smaller than matrix units and can easily control the line device within one page.

本発明の印字装置は、ホスト・マシンから転送された印
字文字コード全、同じく転送された印字制御コードにも
とづいて1ペ一ジ分記憶するページ・メモリと、上記印
字文字コードに対応するドラ)・マトリクス文字パター
ンを記憶するパターン・メモリと、上記ページ・メモリ
の文字方向のアドレスと行方向のアドレスをそれぞれ発
生する第1および第2のアドレス発生手段を有する印字
装置において、上記印字か制御コードにより行の送り単
位全基本行ピッチの整数倍以下の単位で設定保持するラ
インフィード量レジスタ、および該ラインフィード量レ
ジスタの値と上記第2のアドレス発生手段の下位部の値
とを比較する手段11?け、該比較手段の一牧信号によ
り上記第2のアドレス発生手段の下位部をリセットし、
上位部を更新して1行分の印字を終了すること全特徴と
する。
The printing device of the present invention includes a page memory that stores all print character codes transferred from the host machine, one page worth of print control codes also transferred, and a driver corresponding to the above print character codes. - In a printing device having a pattern memory for storing a matrix character pattern, and first and second address generation means for generating an address in the character direction and an address in the row direction of the page memory, respectively, the printing or control code is a line feed amount register that is set and held in units of line feed units that are less than or equal to an integral multiple of the total basic line pitch; and means for comparing the value of the line feed amount register with the value of the lower part of the second address generation means. 11? and resetting the lower part of the second address generation means by the Ikumaki signal of the comparison means,
The entire feature is that printing for one line is completed by updating the upper part.

以下、本発明の実施例を、図面により説明する。Embodiments of the present invention will be described below with reference to the drawings.

第1gは、本発明の実施例を示す印字装置の全体プルツ
タ図である。
1g is an overall pull-out diagram of a printing device showing an embodiment of the present invention.

第111c示す印字装置は、ホスト・マシン1との間の
データの授受を行うインターフェイス回路2、アドレス
・バスとデータ・パスを介して各装置を制御するOPυ
3.プログラムを格納するプログラム・メモリ (IO
M)4、ワーク・メモリ(RAM)6、メモリ・マルチ
プレクサ6、]:1Mム制御回路7、プリンタ制御イン
ターフェイス回路8、ページ・メモリ (テキスト・メ
モリ)9、文字パターン・メモリ10、並直列変換管行
うデータ・インターフェイス回路11、およびレーザ・
プリンタ12から構成される。
The printing device shown in No. 111c includes an interface circuit 2 that exchanges data with the host machine 1, and an OPυ that controls each device via an address bus and a data path.
3. Program memory (IO
M) 4, work memory (RAM) 6, memory multiplexer 6, ]: 1M RAM control circuit 7, printer control interface circuit 8, page memory (text memory) 9, character pattern memory 10, parallel/serial conversion data interface circuit 11, and a laser
It is composed of a printer 12.

ホスト・マシン1から転送される印字文字コードは、同
じくホスト・マシン1から転送されるフォーマット制御
コードに基づいて、レーザ・プリンタ12で印字すべき
文字群を収納するページ・メモリ9上に組み立てられる
。ここで、フォーマット制御は、optr3によるプロ
グラム制御によつて行われる。フォーマット制御により
ページ・メモリ9への印字すべき全文字の格納が終了す
ると、ページ・メモリ9は0PU3の制御t″離れ、D
MA制御■路70制御下に入る。DMム制御回路7は、
レーザ・プリンタ12の主走査夕げツクおよび副走査り
pツクによりページ・メモリ9より文字コードを読み出
し、次に腕み出された文字コードをアドレスとして、ド
ツト・Y)リクス・パターンが格納されている文字パタ
ーン・メモリ(as  ROM)10をアクセスし、文
字ドツト信号を読み出す。
The print character code transferred from the host machine 1 is assembled on the page memory 9 that stores a group of characters to be printed by the laser printer 12 based on the format control code also transferred from the host machine 1. . Here, format control is performed by program control using optr3. When all the characters to be printed have been stored in the page memory 9 by format control, the page memory 9 leaves the control t'' of 0PU3 and transfers to D.
MA control■Route 70 is under control. The DM control circuit 7 is
The character code is read out from the page memory 9 by the main scanning scan and sub-scanning scan of the laser printer 12, and then the dot/Y)rix pattern is stored using the extracted character code as an address. The character pattern memory (as ROM) 10 is accessed and character dot signals are read out.

読み出された文字ドツト信号は、データ・インターフェ
イス回路11のシフト・レジスタで並直列変換されてシ
リアル画信号となり、主走査りpツクに同期してレーザ
・プリンタ1”2に転送され、1ペ一ジ単位で印字が行
われる。
The read character dot signal is parallel-to-serial converted by the shift register of the data interface circuit 11 to become a serial image signal, which is transferred to the laser printer 1''2 in synchronization with the main scanning scan, and is printed in one page. Printing is performed in units of one page.

なお、第Lmでは、レーザ・プリンタによる印字装置を
示しているが、本発明はラスタ・スキャン型の印字装置
および表示−置のすべてに適用で色る。
Although No. Lm shows a printing device using a laser printer, the present invention can be applied to all raster scan type printing devices and display devices.

先ず、本発明の主要部である文字パターン・メモリ10
について述べる0 いま、レーザ・プリンタ12がム4サイズのページ・プ
リンタであり、主走査2480ドツF1副走査3500
ラインで111面を形成し、分解能各ま主。
First, the character pattern memory 10 which is the main part of the present invention
0 Now, the laser printer 12 is a M4 size page printer, with main scanning of 2480 dots and F1 sub-scanning of 3500 dots.
The lines form 111 planes, each with a high resolution.

副走査とも1/300インチであるとする。It is assumed that both sub-scans are 1/300 inch.

例え社、文字パターン・メモリ10&Cは例えば、プロ
ポーショナル・スペース文字(可変ピッチ文字)と1/
No インチ・ピッチ文字と1/12インチ・ピッチ文
字と1/1δ インチ・ピッチ文字04m1lIO文字
サイズが格納され、番文字サイズにおける文字数は12
8文字とすることができる・プロポーショナル・スペー
ス文字は、各文字によって文字幅が興なり、6種類の文
字幅に分類される0文字幅はユニットという単位で分類
され、1エニツシは6ドツトである。
For example, the character pattern memory 10 & C by Keikisha has proportional space characters (variable pitch characters) and 1/
No. Inch pitch characters, 1/12 inch pitch characters, and 1/1δ inch pitch characters 04m1lIO character sizes are stored, and the number of characters in the number character size is 12
Proportional space characters can have 8 characters, each character has a different character width, and 0 character widths are classified into 6 types of character widths. 0 character widths are classified in units called units, and 1 character is 6 dots. .

第2!!Iは、プロポーシヨナル・スペース文字の文字
幅を示す説明図−・である・ 第2図(−)に示す「工」等の文字は3エニツシ文字(
15ドツト×49ドツト)、第2図(b) K示すrf
J等の文字は4エニツシ文字(20ドツ)X48ドツト
で1716インチ・ピッチに相当)、第2図(o) K
示すrJJ等の文字はδユニット文字(25ドツト×4
8ドツシで1/12インチ・ピッチに相当)、第2図棹
)k示すrPJ等の文字は6エニツシ文字(30ドツ)
X48ドツトで1/Noインチ・ピッチに相当)、第2
w1(・)K示す「ム」等の文字は7ユ工ツF文字(3
5ドツトX48ドツト)、第2図(6)K示すrWJ等
の文字は8工エツト文字(40ドツトx番8ドツト)で
ある。
Second! ! I is an explanatory diagram showing the character width of proportional space characters.Characters such as ``工'' shown in Figure 2 (-) are three-dimensional characters (
15 dots x 49 dots), Fig. 2 (b) rf shown by K
Letters such as J are 4 letters (20 dots) x 48 dots, which corresponds to a pitch of 1716 inches), Figure 2 (o) K
The characters such as rJJ shown are δ unit characters (25 dots x 4
8 dots corresponds to 1/12 inch pitch), the letters such as rPJ shown in Figure 2) are 6 dots (30 dots).
x48 dots, equivalent to 1/No inch pitch), 2nd
Characters such as “mu” shown in w1(・)K are 7Yu-F characters (3
5 dots x 48 dots), and the characters such as rWJ shown in FIG.

第3図はプロポーショナル・スペース文字(8ユニツト
)のパターン・メモリの構成図であり、第4図は第3図
の詳細説明図である。
FIG. 3 is a block diagram of a pattern memory for proportional space characters (8 units), and FIG. 4 is a detailed explanatory diagram of FIG. 3.

パターン・メモリ10は、64にビットの1−ROM′
に6個使用して、各々のROMKおける48パイシのエ
リアに1文字を記憶する。
The pattern memory 10 consists of 64 bits of 1-ROM'
One character is stored in an area of 48 pi in each ROMK.

第3図は、「M」の文字を記憶するROMエリアであり
、ユニットO〜7、ブロック0〜δで指定されるエリア
が用いられる。
FIG. 3 shows a ROM area for storing the letter "M", and the areas designated by units O to 7 and blocks 0 to δ are used.

第4図(&)は、第3図の1文字分のROMエリアを示
すもので、(8ユニツト×6プ田ツク)を占めているが
、これらのうちの1プレツタ、lエニツFは第4図(b
) K示すようにδ×8ビットのマトリクス(小区域)
を形成し、これはδ個OF−ROM(チップ番号0〜4
)の各々1バイト(ビット0〜7)K相当するものであ
る。したがって、1文字は、6チツプのP−10Mを各
々48バイトずつ用いるので、240バイト必要となる
Figure 4 (&) shows the ROM area for one character in Figure 3, which occupies (8 units x 6 blocks). Figure 4 (b
) δ×8-bit matrix (small area) as shown in K
This forms δ OF-ROMs (chip numbers 0 to 4).
) each corresponds to 1 byte (bits 0 to 7) K. Therefore, one character requires 240 bytes since 6 chips of P-10M each use 48 bytes.

プシプーシ曹ナル彎スペース文字で、エニッ)数が8ユ
ニツトに満たない文字は、二ニツ)を左詰めKL、余っ
たエニツ)は未使用とする。
In the case of space characters whose number of en) is less than 8 units, the ni) is left-justified KL, and the remaining en) is left unused.

第6図は、パターン争メモリのアドレスのビット構成図
である。
FIG. 6 is a bit configuration diagram of the address of the pattern memory.

パターン・メモリlOのアドレスはD菖ム制御回路7で
組み立てられ、第6図に示すように、16ビツトで1書
体(フォント)のアドレスが構成される。ビットO〜2
03ビットで第4図(b)に示すビット番号(縦印字)
tたはチップ番号(横印字)が指定され、ビット3〜5
の3ビツトで第4図(&)k示すユニット番号が指定さ
れ、ビット6〜805ビットでブロック番号が指定され
、ビット9〜1607ビツトで文字が指定され、ピッ)
16〜19の4ビツトで7オント(ゴシック、イタリッ
ク、2倍サイズ等の活字体とサイズの種類)が指定され
る。
The address of the pattern memory 1O is assembled by the D font control circuit 7, and as shown in FIG. 6, the address of one font is composed of 16 bits. Bit O~2
Bit number shown in Figure 4(b) with 03 bits (vertical printing)
t or chip number (horizontal printing) is specified, bits 3 to 5
The unit number shown in Figure 4 (&)k is specified by the 3 bits of the block number, the block number is specified by the 6th to 805th bits, the character is specified by the 9th to 1607th bits, and the character is specified by the bits 9 to 1607.
The 4 bits 16 to 19 specify 7 onts (types of typeface and size such as gothic, italic, double size, etc.).

17オント当りの文字数は128.1文字に対する1チ
ップ当りの論理バイト数は64、(ただし、実際に使用
バイト数は48)p−RoMOチップ数は5、であるか
ら、17オンF当りのバイト数は40960 (パイ)
/フォア))である。
The number of characters per 17 ont is 128. The number of logical bytes per chip for one character is 64 (however, the actual number of bytes used is 48), and the number of p-RoMO chips is 5, so the number of bytes per 17 ont The number is 40960 (pie)
/Fore)).

次に、ページ・メモリ(テキスト・メモリ)9について
述べる。
Next, page memory (text memory) 9 will be described.

第6図は、縦印字と横印字の説明図であり、第7図は1
ページの最大印字数の説明図である。
Figure 6 is an explanatory diagram of vertical printing and horizontal printing, and Figure 7 is 1
FIG. 3 is an explanatory diagram of the maximum number of prints on a page.

ページ・メモリ9への印字コードの格納は、0PU3の
プログラム制御によって行われるが、その場合、第6図
(荀伽)に示すように、プリンタの走査方向は印字に対
して一義的に決められているので、縦または横の両方向
印字を行うときには、ページ・メモリ9の印字位置の組
み立てを変更しなければならない。
The printing code is stored in the page memory 9 under program control of the 0PU3, but in this case, as shown in Figure 6 (Xunga), the scanning direction of the printer is uniquely determined for printing. Therefore, when printing in both the vertical and horizontal directions, the assembly of the printing position of the page memory 9 must be changed.

第6 vl(a)はA4サイズの用紙を縦方向にして、
そのままの位置で文字が読めるように印字する(縦印字
)場合、第61N(b)はA4サイズの用紙全縦方向に
して、文字を横向きに印字する(横印字)・場合全それ
ぞれ示している。
6th vl(a) is A4 size paper in portrait orientation.
When printing characters so that they can be read in the same position (vertical printing), No. 61N(b) shows all cases where the characters are printed horizontally on A4 size paper (horizontal printing). .

第6図(&)Cb)に示すように、縦印字の場合には、
主走査方向をユニット方向とし、一方、横印字の場&に
は、主走査方向をブロック方向にしなければならないの
で、01局はページ・メモリ9への書き込み時に、この
変換を行う。
As shown in Figure 6(&)Cb), in the case of vertical printing,
The main scanning direction must be the unit direction, and for horizontal printing, the main scanning direction must be the block direction, so the 01 station performs this conversion when writing to the page memory 9.

印字する場合、すべてエニツ)単位で制御するので、各
文字サイズ’t 1”;l)印字用紙で混在させて印字
することが可能である。A4サイズの印字用紙の短手方
向(210m)はl/300インチのドツト・ピッチで
約2480ドツトであり、これは496ユニツトに相当
する。また、ム番サイズの長手方向(297ms) G
j l/3004 >チのドツト・ピッチで約3509
ドツトであり、これはTO2JLエツ)k相当する。ま
た、ライン!フィード方向は1/6 インチとするため
%A4サイズの長手方向で70行(64行とする)、短
手方向で49行(48行とする)である。
When printing, all characters are controlled in units of 1), so it is possible to mix and print with each character size 't 1''; l) printing paper. The dot pitch of l/300 inch is approximately 2480 dots, which corresponds to 496 units.
j l/3004 > approx. 3509 at a dot pitch of
This is a dot, which corresponds to TO2JL*k. Also, line! Since the feed direction is 1/6 inch, there are 70 lines (64 lines) in the longitudinal direction of A4 size paper and 49 lines (48 lines) in the transverse direction.

したがって、A4サイズ用紙に対する最大印字数は、第
′γ図に示すように、l/loイン千幅の文字では、縦
印字で82文字×64行、横印字で118文字×48行
となり、またプpボーショナル・スペース(PI s>
では、縦印字で62〜165文字×6゛4行、横印字で
88〜236文字×48行となり、倍サイズのラージ・
スケール(LP3)では、縦印字で31〜82文字×3
2行、横印字で4番〜118文字×24行となる。ただ
し、各文字サイズを、1ページ内で混在させることがで
きるので、一義的に最大印字数を定義することはできな
い。
Therefore, as shown in Figure 'γ, the maximum number of characters printed on A4 size paper is 82 characters x 64 lines for vertical printing, 118 characters x 48 lines for horizontal printing, and P-Vational Space (PI s>
In this case, vertical printing will be 62 to 165 characters x 4 lines, and horizontal printing will be 88 to 236 characters x 48 lines, which is double the size of large print.
For scale (LP3), 31 to 82 characters x 3 in vertical printing
2 lines, 4th to 118 characters x 24 lines when printed horizontally. However, since each character size can be mixed within one page, the maximum number of prints cannot be uniquely defined.

第8図は、ページ・メモリのデータ・ビットの定義を示
す図であり、第9図はデータ・ビットの構成内である。
FIG. 8 is a diagram showing the definition of data bits of the page memory, and FIG. 9 is a diagram showing the structure of the data bits.

第9図に示すように、ページ・メモリ9における1ユニ
ット/1行は16ビツトで情報が与えられる。すなわち
、ビット0〜6の7ビツトで印字文字位置((IOD]
!f)が指定される。一般に、ホスト・マシンからの印
字文字コードとしてアスキ・コードが使用されるが、コ
ードは連続したバイナリ・データではなく飛び飛びのデ
ータであるため、0PIJ3けフォーマット制御プログ
ラムによりこれに文字ハlz−ン・メモリ10に対応し
たアドレス・コードに変換する必要がある。すなわち、
文字パターン・メモリ10上では、64バイトごとの連
続したアドレスにパターンが格納されている。
As shown in FIG. 9, one unit/one row in page memory 9 is given information using 16 bits. In other words, the 7 bits from bits 0 to 6 determine the print character position ((IOD)
! f) is specified. Generally, the ASCII code is used as the character code printed from the host machine, but since the code is not continuous binary data but discrete data, the 0PIJ3 format control program converts it into a character harmonization code. It is necessary to convert it into an address code compatible with the memory 10. That is,
On the character pattern memory 10, patterns are stored at consecutive addresses every 64 bytes.

したがって、ページ・メモリ9には、0PU36Cより
アドレス変換されたデータが格納されるが、これは文字
パターン・メモリ1oの該当文字パターンが格納されて
いる先頭アドレスと等しい。
Therefore, the page memory 9 stores data whose address has been converted from the 0PU 36C, which is equal to the first address at which the corresponding character pattern in the character pattern memory 1o is stored.

次に、ビット7は、アンダーライン指定(U L)ビッ
トであり、印字文字にアンダーライン指定が行われたと
きこのビットに′″1′″1′″管立字の下に横lIK
を印字する。ビット8〜1oは、ユニット指定(VNT
)のビットであって、全文字は3&ニツトから8ユニツ
トで構成されるので、各文字印字位置の指定とともに:
 :L=ニットアドレスをセットして、:Lエツトの出
方順番を指定する。ビッ)11はスペーシング制御(S
P)7ラグであり、文字方向(ユニット方向)の1/1
20インチの微瞼量位lの制御全行う。前述のように、
1ユニツトは6ドツトで構成され、またレーザ・プリン
タのドツトは1/300インチ・ピッチであるため、1
ユニツトは5/300インチつまり1/60インチであ
る。したがって、ユニツシ単位でページ・メモリに文字
を格納すると、レーザープリンタは1/60 インチの
文字方向分解能全有することになる。しかし、このプリ
ンタに、1/120インチの文字方向シフトが要求され
たとき、スペーシング制御ピッ)(1ビツト)11r用
意して、これとユニット指定ビット(3ビツト)の計養
ビットにより1/120インチの文字方向シフトの近似
制御を行う。
Next, bit 7 is an underline designation (UL) bit, and when an underline designation is made for a printed character, this bit is used to indicate the horizontal lIK under the vertical character.
Print. Bits 8 to 1o are unit designation (VNT
) bits, and all characters are composed of 8 units from 3 & nits, so along with specifying the printing position of each character:
Set the :L=knit address to specify the order in which :L entries appear. bit) 11 is the spacing control (S
P) 7 lags, 1/1 of the character direction (unit direction)
Full control of the 20 inch eyelid volume. As aforementioned,
One unit consists of 6 dots, and since the dots of a laser printer have a pitch of 1/300 inch, 1
The unit is 5/300 inch or 1/60 inch. Therefore, if characters are stored in page memory unit by unit, the laser printer will have a full character resolution of 1/60 inch. However, when a character direction shift of 1/120 inch is requested for this printer, a spacing control bit (1 bit) 11r is prepared, and this and the unit specification bit (3 bits) are used to shift the character direction by 1/120 inch. Approximate control of 120 inch character direction shift is performed.

次に、ビット12〜14は7オント制御(IT)ビット
であり、これで7種類の7オントの1つを選択する。ま
た、ビット16は、ラインフィード制御(Ly)−yラ
グであり、部分行上げ、または部分行下げの微動量位置
制御!を行う。ラインフィード制御フラグは、印字位置
をラインフィード方向に若干ずらせた仮想的な行の上に
対応する文字位置に印字する場合に使用するもので、行
のずれ量は1/12インチである。
Next, bits 12-14 are 7-ont control (IT) bits that select one of the seven 7-onts. Bit 16 is line feed control (Ly)-y lag, which is fine movement amount position control for raising or lowering a partial line! I do. The line feed control flag is used when printing at a corresponding character position on a virtual line whose printing position is slightly shifted in the line feed direction, and the amount of line shift is 1/12 inch.

第11図は、7オント制御ビツトの詳細説明図である。FIG. 11 is a detailed explanatory diagram of the 7-ont control bit.

7オンシは、全部で77オント、セットすることが可能
であり、それぞれ第1〜第77オントとして文字パター
ン・メモリが割り当てられる。
A total of 77 onts can be set, and character pattern memories are assigned as the 1st to 77th onts, respectively.

第1〜第67オントまでは、1/10インチ、l/12
インチ、1/15インチ、 プロボーシ冒ナル・スペー
スのどのサイズの7オントでもよく、また同じサイズで
7オントを異ならせてもよい。各7オントと、7オント
番号の対応は、あらかじめ指定しておき、ホスト・マシ
ンからO制御コードによって切り替えられる。
1st to 67th ont: 1/10 inch, l/12
7 onts of any size, inch, 1/15 inch, proboscis space, or different 7 onts of the same size. The correspondence between each 7 ont and the 7 ont number is specified in advance and switched from the host machine using an O control code.

なお、第77オントは、拡大文字用として文字パターン
・メモリが割り当てられており、第1〜第6文字の倍サ
イズを格納することがで自る・拡大文字は、面積が4倍
となるため、ラインフィード制御ピッ)(ビット15)
を含めた4ビツトにより、左−ヒ、右上、左下、右下の
4箇所を独立して指定し、プリンタ上で合成して印字を
実施する。また、文字パターン・メモリを変更すること
により、異なった7オントに変えることもでき、不要な
フォントは文字パターン・メモリを除くことによって空
き番地としておくこともできる。
Note that the 77th ont has character pattern memory allocated for enlarged characters, and can store twice the size of the 1st to 6th characters. - Because enlarged characters have four times the area. , line feed control beep) (bit 15)
Four bits, including , are used to independently designate four locations: left-hi, upper right, lower left, and lower right, and are combined and printed on the printer. Furthermore, by changing the character pattern memory, it is possible to change to a different 7-ont font, and unnecessary fonts can be left as empty addresses by removing the character pattern memory.

!!IO図は、ページ・メモリのアドレス・ビットの構
成図である。
! ! The IO diagram is a configuration diagram of address bits of a page memory.

ページ・メモリ9のアドレス空間は、最大64(行)X
702 (ユニット)−0928(ワード)である。
The address space of page memory 9 is a maximum of 64 (rows)
702 (units) - 0928 (words).

o ptr3は、ホストマシン1からの指示により、縦
印字の場合と横印字の場合とでアドレス・ビットの内容
を切り替えて使用する。縦印字の場合には、ビットO〜
809ビットでユニット指定、ビット9〜14の6ビツ
トで行指定を行い、また横印字の場合には、ビット0〜
6の6ビツシで行指定、ピッ)6〜15c)10ビツト
でユニット指定を行う。
o ptr3 is used by switching the contents of the address bits for vertical printing and horizontal printing according to instructions from the host machine 1. For vertical printing, bit O~
809 bits specify the unit, 6 bits 9 to 14 specify the line, and in the case of horizontal printing, bits 0 to 14 specify the unit.
The 6 bits of 6 specify the line, and the 6 to 15 c) 10 bits specify the unit.

第12図、第13図は、それぞれページ・メモリの縦印
字と横印字のとIO文字位置格納図である。
FIGS. 12 and 13 are storage diagrams of IO character positions for vertical printing and horizontal printing in the page memory, respectively.

ページ・メモリ9にデータを格納する場合、縦印字のと
きには、0PU3による文字の格納順序とDMム制御回
路7による文字の読み出し順序が一致している。先ず、
ホスト・マシン1から印字すべき第1番目の文字が1行
目の先頭と指定された場合、0PU3のフォーマット制
御プルグラムが“ム”のコードに対するユニット数をユ
ニット決定テーブルで6ユニツトであることを決定する
When storing data in the page memory 9, the order in which characters are stored by the 0PU3 and the order in which the characters are read out by the DM control circuit 7 match in vertical printing. First of all,
When host machine 1 specifies that the first character to be printed is the beginning of the first line, the format control program of 0PU3 determines that the number of units for the "mu" code is 6 units in the unit determination table. decide.

ホスト・マシン1から転送される印字コードが例えはア
スキー・コードとすると、各コードは飛び飛びの値をと
るので、転送された印字コードをパターン・メモリ10
の実際の格納アドレスに変換する必要がある。0PU3
のフォーマッシ制御プログラムは、1人”のコードをコ
ード変換した後、第12図に示すように、エニッシ分だ
けユニット方向に組み込んでいく。このとき、変換コー
ドにユニット出力順序を付加して、δエニツシ分組み込
む。このようにして、ユニット0かもユニット495ま
での1行分の組み込みが終了すると、次に2行目の組み
込み!−開始する。2行目はユニット512からユニッ
ト971まで組み込まれ、順次64行目まで進む。64
行目は、ユニット32256 からユニット32716
  まで組み込まれる。なお、第12図では、6ユニツ
ト文字(1/12インチ・ピッチ)の印字の例を示す。
For example, if the print code transferred from the host machine 1 is an ASCII code, each code takes a discrete value, so the transferred print code is stored in the pattern memory 10.
needs to be converted to the actual storage address. 0PU3
The formatting control program converts the code for one person, and then incorporates the code for everyone in the unit direction, as shown in Figure 12. At this time, the unit output order is added to the converted code, and δ In this way, when the incorporation of one line from unit 0 to unit 495 is completed, the incorporation of the second line begins.The second line is incorporated from unit 512 to unit 971, Proceed sequentially to line 64.64
The row is from unit 32256 to unit 32716
will be incorporated up to. Note that FIG. 12 shows an example of printing of 6 unit characters (1/12 inch pitch).

通常、1ペ一ジ全部が使用されることはないので、炉用
されないユニットは無印字パターン(全白)で組み込ま
れる。また、ホストマシン1からの印字コードが64行
分全部存在するとは限らないので、1ページの途中で終
了する揚台にも、それ以降の行に無印字パターンを組み
込んで1ページの格納を完了する。
Usually, the entire page is not used, so units that are not used in furnaces are installed with a blank pattern (all white). Also, since all 64 lines of the print code from host machine 1 do not always exist, even if the loading platform ends in the middle of one page, a non-print pattern is incorporated in the subsequent lines to complete the storage of one page. do.

次に%横印字の場合には、opu3による文字の格納順
序とDMA制御回路7による読み出し順序とが異なるの
で、文字格納時には、第1δWJk示すように、変則的
なアドレス更新を行い、先ず1行目のエニツ)701〜
697で最初の”ム”のコード変換されたデータを組み
込み、ユニット696〜692で次のデータ管組み込み
、順次進んで二ニット4〜0で1行目最欽の″amのコ
ード1換されたデータを組み込む。2行目も同じように
してユニットを組み込んだ後、48行目まで順次進んで
1ページを完了する。
Next, in the case of % horizontal printing, the order in which characters are stored by the opu3 and the order in which they are read by the DMA control circuit 7 are different, so when storing characters, an irregular address update is performed as shown in the first δWJk. eyes) 701~
At 697, the code converted data for the first "mu" is incorporated, and at units 696 to 692, the next data tube is incorporated, and the code is converted to 1 for "am" in the first row at the second nit 4 to 0. Incorporate the data. After incorporating the unit in the same way on the second line, proceed sequentially to the 48th line to complete one page.

−このように、0PU3のフォーマット制御プνグラム
は、α)ホスト・マシン1の各種命令の受信とその処理
、■ホスト・マシンlの文字コードの受信および文字コ
ードからパターン・アドレスへの変換、c15)ページ
・メモリ9への付帯情報、印字コードの格納、(4)プ
リンタ12の印字IJ&+の各機能を有し、プルグラム
・メモリ(ROM)4内に設けられたテーブルを参照し
ながら、ワーク・メモリ (RムM) 5を用いてコー
ド信号を組み立てることにより、これらの機能を遂行す
る。
- In this way, the format control program ν-gram of 0PU3 includes: α) reception of various commands from host machine 1 and their processing; ■ reception of character codes from host machine l and conversion from character codes to pattern addresses; c15) Storage of additional information and print code in page memory 9, (4) Printing IJ&+ of printer 12 functions, and works while referring to the table provided in program memory (ROM) 4. - Perform these functions by assembling code signals using memory (RMM) 5.

次に、DMA制御回路7によるページ・メモリ9のアク
セス動作と、文字パターン・メモリ10のアクセス動作
について、説明する。
Next, the access operation of the page memory 9 and the access operation of the character pattern memory 10 by the DMA control circuit 7 will be explained.

第14図は、DMム制御回路の動作に陶する全体プルツ
ク図であり、第15図はI)Mムクロックのタイム・チ
ャートである@ DMA制御回路7の全動作は、次の6種類の信号によっ
て行われる。ただし、縦/横印字モードの指定は、DM
ム動作が關始するまでに設定されているものとする。
FIG. 14 is an overall pull diagram showing the operation of the DMA control circuit 7, and FIG. 15 is a time chart of the I)M clock. carried out by However, the vertical/horizontal printing mode can be specified by DM.
It is assumed that the settings have been made by the time the system starts operating.

DMA@作で主走査方向Ellする信号は、第15図(
a) (t)(d) K示すタフツタ101.ライン・
デーF102、ライン・リセット103の各信号であっ
テ、タロツク101は主走査方向t)l/300インチ
のドラF・ピッチに対応する同期信号であり、ライン・
ゲート102は主走査方向の2480ドツトのデータを
有効とするデー)信号であり、ライン・リセツ)103
は主走査方向のカウンタ制御を初期設定する信号である
。また、副走査方向に関する信号は、第15 W!J 
(@) (0)伽)に示すシンク(8yae )104
.7レーム・デー)105.7レーム・リセット106
0G信号であって、シンク104は副走査方向の1/3
00インチのライン・ピッチに対応する同期信号であり
、フレーム・ゲート105は副走査方向の3,500 
 ラインのデータに4効とするゲージ信号、つまり1ペ
一ジ分の印字時間であり、7レーム・リセット106は
副走査方向のカウンタ制御管初期設定する信号である・
なお、第15図において、(2)、(転)# (iL 
(nL (0)は縦印字モード時のシフ)・レジスタ2
3、画素カウンタ/ユニット・カウンタ、パラレル・デ
ータ・レード信号、ライン・カウンタ/プルツク・カウ
ンタ、行カウンタの各タイ文ングを示す、tた、(J)
、斡)、μ)、(→、 (P)は、横印字モード時のシ
フト・レジスタ、画素カウンタ/ブーツク・カウンタ、
行カウンタ、パラレル・データ・p−ド信号、ツイン・
カウンタ/ユニット・カウンタ、O各タイミングを示す
The main scanning direction Ell signal in DMA @ operation is shown in Figure 15 (
a) (t) (d) Tuff ivy 101. line·
In addition to the data F102 and line reset 103 signals, the tarok 101 is a synchronization signal corresponding to the driver F pitch of l/300 inches in the main scanning direction, and the line reset signal
Gate 102 is a data signal that validates data of 2480 dots in the main scanning direction, and line reset signal 103
is a signal for initializing counter control in the main scanning direction. Further, the signal related to the sub-scanning direction is the 15th W! J
Sink (8yae) 104 shown in (@) (0) 伽)
.. 7 Reme Day) 105.7 Reme Reset 106
0G signal, the sink 104 is 1/3 in the sub-scanning direction
The frame gate 105 is a synchronizing signal corresponding to a line pitch of 3,500 inches in the sub-scanning direction.
This is a gauge signal that has 4 effects on the line data, that is, the printing time for one page, and the 7-frame reset 106 is a signal that initializes the counter control tube in the sub-scanning direction.
In addition, in FIG. 15, (2), (transition) # (iL
(nL (0) is shift in vertical print mode) Register 2
3. Indicates each tie wording of pixel counter/unit counter, parallel data raid signal, line counter/pull counter, and row counter. (J)
, 斡), μ), (→, (P) is the shift register in horizontal print mode, pixel counter/bootsk counter,
row counter, parallel data p-do signal, twin
Counter/unit counter, O each timing is shown.

第14図において、縦/横印字モード指定信号Illで
DMム制御りpツタ、ページ−メモリ・アドレス、文字
パターン・メモリ・アドレス等管縦/横印字モードに切
り替えて使用する。すなわち、タロツク・セレクタ15
は、lI/横印検印−ドψセレクト信号111 により
主走査方向信9号101〜103と副走査方向信号10
4〜106を切り替え、縦印字のとき、ユニット方向ア
ドレス・カウンタ16に101−103 k、行方向ア
ドレX−カウンタ1717i:104〜106を入力し
、横印字のときはユニット方向アドレス・カウンタ16
に104〜106を、行方向アドレス・カウンタ17に
101〜103を入力する。ユニット方向アドレス・カ
ウンタ16からは、ユニット・アドレス(10ビツト)
107、お′よび横印字モード時のチップ・セレクト信
号(3ピツ))109Th発生し、行方向アドレス・カ
ウンタ17からは、行アドレス(6ビツト)108、ブ
ロック・セレナ)41号(3ビツト)116および縦印
字モード時θビット・セレクト信号(3ピツ))110
を発生する。さらに、ページ・メモリ9から読み出され
たデータで、パターン幸メ%910の7オン)(4ビツ
ト)119、ユニット・セレクト信号(3ビツト)11
8、文字セレクト信号(7ビツト)117 をそれぞれ
指定する。また、ページ・メモリ90デー声の−II(
アンダーライン制御7ラダ125、スペーシング制御7
ラダ127、ツイン・フィード制御7テダ126)、:
L!ツF方崗アドレス・カウンタ16、行方向アドレス
置方9ンタ17に入力され、制御に使用される。文字パ
ターン・メモリlOから読み出されたドツト・データ1
21(縦印字モード時bピット、横印字モード時8ビッ
ト)は、アンダーライン合成回路22に入力された後、
シフト・レジスタ23に入力され、パラレル・データ・
ロード信号113によってされて、シフト・タジツクl
0IKよりシリアル・ドツシ・データ124としてプリ
ンタに出力される・なお、パラレル・データ・ロード信
号113は、縦印字モード時にはユニット方向アドレス
・カウンタ16から、また横印字モード時には行方向ア
ドレス・カウンタ17からそれぞれ出力され、シフト・
レジスタ・ロード信号セレクト回路21で選択される。
In FIG. 14, the vertical/horizontal printing mode designation signal Ill is used to switch to vertical/horizontal printing mode for DM control, page memory address, character pattern memory address, etc. That is, tarok selector 15
is the main scanning direction signals 9 101 to 103 and the sub scanning direction signal 10 by the lI/horizontal mark inspection mark-do ψ select signal 111.
4 to 106, input 101-103 k to unit direction address counter 16 and row direction address X-counter 1717i: 104 to 106 for vertical printing, and enter unit direction address counter 16 for horizontal printing.
104 to 106 are input to the row direction address counter 17, and 101 to 103 are input to the row direction address counter 17. From the unit direction address counter 16, the unit address (10 bits)
107' and chip select signal (3 bits) in horizontal printing mode are generated, and from the row direction address counter 17, row address (6 bits) 108, block Serena) No. 41 (3 bits) are generated. 116 and θ bit select signal (3 bits) in vertical print mode) 110
occurs. Furthermore, with the data read from the page memory 9, the pattern happiness signal (7 on) (4 bits) 119 and the unit select signal (3 bits) 11
8. Specify the character select signal (7 bits) 117, respectively. In addition, page memory 90 days -II (
Underline control 7 ladder 125, spacing control 7
Lada 127, Twin Feed Control 7 Teda 126):
L! The data is input to the F direction address counter 16 and the row direction address counter 17, and used for control. Dot data 1 read from character pattern memory lO
21 (b pit in vertical print mode, 8 bits in horizontal print mode) is input to the underline synthesis circuit 22, and then
Input to shift register 23, parallel data
The load signal 113 causes the shift tag to
The parallel data load signal 113 is output from the 0IK to the printer as serial dossier data 124.The parallel data load signal 113 is output from the unit direction address counter 16 in vertical printing mode, and from the row direction address counter 17 in horizontal printing mode. are output, shifted and
It is selected by the register load signal select circuit 21.

第16図は、文字パターン・メモリの制御IIOプ讐ツ
ナツタ図る。
FIG. 16 illustrates the character pattern memory control IIO.

文字パターンItOMプpツタ2フは、第16閣に示す
ように、64にビットROM47150個から構成され
、横1列05チツプが17オント(128文字)を格納
している。第77オンFは、拡大文字を格納するもので
、他の文字の4セツ)分に相当する。
As shown in the 16th cabinet, the character pattern ItOM printer 2 is composed of 47,150 64-bit ROMs, and each row of 05 chips stores 17 onts (128 characters). The 77th on-F stores enlarged characters and corresponds to 4 sets of other characters.

先ず、7オント・セレクト信号119により、7オン)
指定回路20を通してROMブロックのセレクト信号(
10ピツ))120 ’)出力し、指定された7オンシ
が分割格納されている5個のROMチップ全同時にアク
セスするとともに、文字セレクト信号(7ビツト)11
フ、ユニット・セレクト信号(3ビツト)118、ブロ
ック・セレクト信号(3ピツ))1160各信号に゛よ
り上記6個のROMにオケる所定の文字の1ユニツト/
1プロツタをアクセスする。1つのll0Mは、バイト
単位(8ピツ))のデータ量であるため、全部で40ビ
ツトのデータ132が縦印字ビット・セレクト回路25
、および横印字チップ・セレクト回路26に入力される
。縦/横印字モード信号111により縦印字モードが指
定されている場合、パターン・メモ927のビット/チ
ップ・セレナ)信号(3ピツ))115により読み出さ
れた40ビツシ・データのうち、各ROM1パイシ中の
1ビツシずつ計δビットを選択して、パラレル・ドツト
・データ121となる。なお、このとき、チップ選択回
路24、横印字チップ・セレクト回路26は、縦/横印
字モードill  の信号により、ディスエーブル状態
となっている。
First, 7 is turned on by the 7-on select signal 119)
The ROM block select signal (
10 bits)) 120'), simultaneously accesses all five ROM chips in which the specified 7 bits are stored separately, and also outputs a character select signal (7 bits) 11
1 unit select signal (3 bits) 118, block select signal (3 bits) 1160, each signal is used to select one unit/unit of a predetermined character that can be stored in the above six ROMs.
1. Access the printer. Since one ll0M is the amount of data in bytes (8 bits), a total of 40 bits of data 132 are sent to the vertical print bit select circuit 25.
, and the horizontal print chip select circuit 26. When the vertical printing mode is specified by the vertical/horizontal printing mode signal 111, each ROM1 of the 40-bit data read out by the bit/chip serena signal (3 bits)) 115 of the pattern memo 927 The parallel dot data 121 is obtained by selecting a total of δ bits in each bit. At this time, the chip selection circuit 24 and the horizontal print chip select circuit 26 are disabled by the vertical/horizontal print mode ill signal.

パラレル・ドツト・データはδドツトであり、このデー
タは第14図におけるアンダー・ライン合成回路22を
通りシフ)・レジスタ23にセットされる。シフト・レ
ジスタ23はδビットごと&Cパラレル・p−ド信号1
13でパラレル・データがセットされることになり、シ
フト・クロツタ101でシリアル・デー々124に変換
する。
The parallel dot data is a δ dot, and this data passes through the underline synthesis circuit 22 in FIG. 14 and is set in the shift register 23. The shift register 23 receives every δ bit &C parallel p-do signal 1
Parallel data is set at step 13, and converted into serial data 124 by shift clocker 101.

なお、シフ)・クロツタ101は、例えば3 M M。In addition, Schiff) Kurotsuta 101 is, for example, 3MM.

であるとすると、6ビツシのデータを出力する時間は約
1.67 p m@aであり、したがってz、6’rp
S・0の期間内41Cページ・メモリ9、パターン・メ
モリlOがアクセスされなければならない。ページ・メ
モリ9のアクセス時間を0.45μs@o 、 Nfi
−ン・メモリ10のアクセス時間をα45%膠・−とす
ると、その他の遅延時間を加味しても1667μS@o
の期間内にはアクセスが完了する。
, the time to output 6-bit data is approximately 1.67 p m@a, so z, 6'rp
During the period of S.0, 41C page memory 9 and pattern memory IO must be accessed. Access time of page memory 9 is 0.45μs@o, Nfi
- If the access time of the online memory 10 is set to α45%, it will be 1667μS@o even if other delay times are taken into consideration.
Access will be completed within this period.

次に、横印字モードのときは、第16図において、ビッ
ト/チップ・セレクト信号(3ビツト)115がチップ
選択回路24に入力され、デコードされてチップ・セレ
クト信号(6ビツト)131が出力される。これは横印
字チップ・セレクト回路2eNC入力され、6バイトの
データ (40ピツ))のうち1バイトを選択してドツ
シ・パラレル・データ121となる。そOIIは、縦印
字モード時と同じである。
Next, in the horizontal printing mode, as shown in FIG. 16, a bit/chip select signal (3 bits) 115 is input to the chip selection circuit 24, decoded, and a chip select signal (6 bits) 131 is output. Ru. This is input to the horizontal print chip select circuit 2eNC, and one byte of the 6-byte data (40 bits) is selected and becomes doshi parallel data 121. The OII is the same as in the vertical print mode.

なお、このとき、縦印字ビット・セレナ)HWs25は
、縦/横印字モード信号111 でディスエーブル状態
となっている。
Note that, at this time, the vertical print bit (serena) HWs 25 is in a disabled state by the vertical/horizontal print mode signal 111.

このようにして、パターン・メモリ・ブーツタ2フから
読み出された1エエツ)/1プ田ツタ分のデータ40ピ
ツ)(6バイト)のうち、縦印字のと自δビット、横印
字のと18ビツシがそれぞれ選択され、順次同一文字O
エニツ)tたはプ冒ツタが読み出れると次の文字へ進ん
で繰り返し動作が続行される。
In this way, out of the data (40 bits) (6 bytes) for 1 bit/1 bit read from the pattern memory boot staff, the δ bits for vertical printing and the δ bit for horizontal printing. Each of the 18 bits is selected, and the same character O is sequentially selected.
When the first character or the first character is read out, the program advances to the next character and continues the repeating operation.

第17図は、第1番IIKおける二ニツ)方向アドレス
・カウンタおよび行方向アドレス・カウンタの詳細ブロ
ック図である。
FIG. 17 is a detailed block diagram of the second direction address counter and the row direction address counter in the first IIK.

縦印字モード時と、横印字モード時では、:Lニット方
向アドレス制御部16と行方向アドレス制御部17に入
力する])M人制御クロック(101〜103.104
〜106)が入れ替る。
In the vertical printing mode and in the horizontal printing mode,: input to the L knit direction address control section 16 and the row direction address control section 17])M person control clock (101 to 103.104)
~106) are replaced.

縦印字Oとき、画素/ライン・カウンタ28(w素カウ
ンタとなる)に信号101−103 管、またライン/
画素カウンタ33(ライン・カウンタとなる)#IC信
号104〜106 を、それぞれ供給する。
When vertical printing is O, signals 101-103 are sent to the pixel/line counter 28 (which becomes the w element counter), and the line/
Pixel counter 33 (becomes a line counter) #IC signals 104 to 106 are supplied, respectively.

主走査方向(5−ニラ)方向)は、画素カウンタ280
ffi力信号をスペーシング制御回路2faK入力して
6ドツトごとにデコード信号128を得、デコード信号
128で画素カウンタ28をクリアするとともに1ユニ
ツト・アドレス・カウンタs01+1カウンシ・アップ
する。なお、デプード儒112Bは縦印字モード時のシ
フ)・レジスタ・リード偏量となる。
In the main scanning direction (5-nilla direction), the pixel counter 280
The ffi power signal is input to the spacing control circuit 2faK to obtain a decode signal 128 every 6 dots, and the decode signal 128 clears the pixel counter 28 and counts up the 1 unit address counter s01+1. Note that the depth value 112B is the shift register read deviation amount in the vertical printing mode.

IIl走査方向(行方向)は、ライン・カウンタ53O
6進桁上は信号134t−ブロック・カウンタ34kI
Ij犬て、1行YrIll成する副走査線n本(nはホ
スト・マシンから与えられ、例えば1/6インチ救行の
場合は60本、50/300−1/6インチ)の行方向
副走査m数をカラン)シ、カウンタ3番をデコーダ35
HC入力してアンダーライン・タイミング信号136、
ライン・サブカウンタ36、ブロック・サブカウンタ3
丁Oプリセット信号13フおよびライン・フィード*制
御回路41への制御信号トlを得る。
IIl The scanning direction (row direction) is the line counter 53O.
Hexadecimal digit is signal 134t - block counter 34kI
In the case of Ij, one row of n sub-scanning lines (n is given from the host machine, for example, in the case of 1/6 inch rescue, 60 lines, 50/300-1/6 inch) in the row direction. Calculate the number of scans (m), and decode counter No. 3 to the decoder 35.
HC input and underline timing signal 136,
Line sub-counter 36, block sub-counter 3
A preset signal 13 and a control signal to the line feed control circuit 41 are obtained.

また、ライン・カウンタ33、ブロック・カウンタ34
0出力はセレクタ43に入力され、ビット・セレクト信
号1101ブロツク・セレナ)信号116を得る。
In addition, a line counter 33, a block counter 34
The 0 output is input to the selector 43, and a bit select signal 1101 (block serena) signal 116 is obtained.

さらに、ライン中カウンタ33、ブーツタ・カウンタ3
番の出力は比較響46に入力され、印字W/g始時にあ
らかじめ設定されたライン・フィード量レジスタ440
内容154 (1行を構成する爾走査線数n本)と比較
され、1行終了信号133を得る。1行終了信号133
は、打力つンタ39を+1カウンシ・アップするととも
に、ライン・カウンタ33、ブロック・カウンタ34を
クリアする。
In addition, a line middle counter 33, a bootsta counter 3
The output of the number is input to the comparison sound 46, and the line feed amount register 440 is set in advance at the start of printing W/g.
It is compared with the content 154 (n scanning lines constituting one row) to obtain a one-row end signal 133. 1 line end signal 133
increases the batting power counter 39 by +1 and clears the line counter 33 and block counter 34.

なお、行終了信号138は、ラインフィード制御回路4
1.スペーシング制御1回路127の制御にも使用され
る。
Note that the line end signal 138 is transmitted to the line feed control circuit 4.
1. It is also used to control the spacing control 1 circuit 127.

横印字モードのとき、画素/ライン・カウンタ28(ラ
イン・カウンタとなる)に信号104〜106  t−
、ライン/画素カウンタ33(画素カウンタとなる)K
信号101〜103 をそれぞれ供給する。
In the horizontal printing mode, signals 104 to 106 t- are sent to the pixel/line counter 28 (which serves as a line counter).
, line/pixel counter 33 (becomes a pixel counter) K
Signals 101-103 are supplied respectively.

主走査方向(行方向)は、画素カウンタ3306進桁上
げ信号134をブーツク・カウンタ34に加えてlfi
を構成するドツliドツト(nはホスト・マシンから与
えられ、例えばl/6インチ改行の場合はδ0ドツF%
50/300−1/6インチ)の主走査方向ドツト数を
カウントシ、カウント出力をデコーダ35に人力してア
ンダーライン・タイミング信号136、画素サブカウン
タ36、ブロック9サブカウンタ37のプリセット信号
13丁、およびラインフィード制御回路41への制御1
48を得る。
In the main scanning direction (row direction), the lfi
(n is given by the host machine, for example, in the case of 1/6 inch line break, δ0 dot F%
50/300-1/6 inch) in the main scanning direction, and the count output is manually input to the decoder 35 to generate an underline timing signal 136, 13 preset signals for the pixel sub-counter 36, and the block 9 sub-counter 37. and control 1 to line feed control circuit 41
Get 48.

また、ブロック・カウンタ34の出力はセレクタ43に
入力され、プ謂ツク・セレタシ信号116全得る。さら
に、比較器45に入力され、印字開始時にあらかじめ設
定されたライン・フィード量レジスタ44の内容154
 (1行を構成する主走査線ドツ)数n)と比較され、
1行終了信号133を得る。1行終了信号133は、行
カウンタ39を+1カウント・アップするとともに画素
カウンタ33、ブロック・カウンタ34をクリアする。
Further, the output of the block counter 34 is input to the selector 43, and all the so-called push selection signals 116 are obtained. Furthermore, the contents 154 of the line feed amount register 44 are input to the comparator 45 and set in advance at the start of printing.
(main scanning line dots constituting one row) number n) is compared,
1 line end signal 133 is obtained. The one-row end signal 133 increments the row counter 39 by +1 and clears the pixel counter 33 and block counter 34.

なお、画業カウンタ33の8進桁上は信号134は、セ
レクタ43に入力され、横印字シフ)ψレジスタ・ロー
ド信号129となる。
The signal 134 in the upper octal digit of the drawing counter 33 is input to the selector 43 and becomes the horizontal print shift) ψ register load signal 129.

副走査線方向(ユニット方向)は、ライン・カウンタ2
8で副走査線をカウントしていき、出力をスペーシング
制御回路29に入力して6ラインごとにデコード信号を
得てユニット・カウンタ30を+1カウント・アップす
るとともに、ライン・カウンタ28をクリアする。また
、ライン中カウンタ28の出力は、チップ・セレクト信
号109となる。
In the sub-scanning line direction (unit direction), line counter 2
8, the sub-scanning lines are counted, the output is input to the spacing control circuit 29, a decode signal is obtained every 6 lines, the unit counter 30 is counted up by +1, and the line counter 28 is cleared. . Further, the output of the in-line counter 28 becomes a chip select signal 109.

第18図は、第17図のスペーシング制御回路の詳細図
である。
FIG. 18 is a detailed diagram of the spacing control circuit of FIG. 17.

第18図のスペーシング制御回路29において、デコー
ダ47は画素/ライン・カウンタ28(>出力をデコー
ドするもので、画素/ライン・カウンタ28の値m−0
,1(lδ9) 、3w4(166) 、n=6(1δ
7) 、n−7(158)のとき各々デコード信号とな
る。
In the spacing control circuit 29 of FIG.
,1(lδ9) ,3w4(166) ,n=6(1δ
7) and n-7 (158), each becomes a decode signal.

セレクタ49は、制御信号ON択回路であり、縦印字モ
ード時には出力I0〜丁、は入カム、〜ム。
The selector 49 is a control signal ON selection circuit, and in the vertical printing mode, outputs I0 to I, input cam, to m.

Yr選択し、横印字モード時には出力τ、〜!、は入力
1゜〜B、を選択する。出力!、、Y□は、画素/ライ
ン・カウンタ28のカウント周期を制御するもので、縦
印字の場合は周期としてb進、7進、8進Oいずれか1
つを指定し、横印字O場合には、6進O周期に固定され
る。これkより、セレクタ48は縦印字モードのとき、
セレクタ480人力1、、I、は!l−4(5進)、I
oは鳳−6(テ進)、1、(8進)01つを選択し、横
印字のと自は、セレクタ480人カニ、がm−4(5進
)のみを選択して、セレクタ480出力128が縦印字
ロード信号となる。
Select Yr and output τ when in horizontal printing mode, ~! , selects inputs 1° to B. output! ,, Y□ controls the count period of the pixel/line counter 28, and in the case of vertical printing, the period is set to one of b-adic, septa-adic, and octal O.
If one is specified and horizontal printing is O, it is fixed to the hexadecimal O period. From this k, when the selector 48 is in the vertical printing mode,
Selector 480 manpower 1,,I,ha! l-4 (quintal), I
o selects Otori-6 (Teshin), 1, (octal) 01, horizontally printed one selects 480 people crab, selects only m-4 (quintal), selector 480 Output 128 becomes a vertical print load signal.

出力Y、は、ページ・メそりのデータであるスペーシン
グ制御ブラダ127を7リツプ・7−シップ51にラッ
チする信号であり、縦印字モード時はム1人力、つまり
縦印字p−ド信号1.28 、横印字モーF時は一人力
、つまり行終了信号133に指定する。
Output Y is a signal that latches the spacing control bladder 127, which is the data of the page mesh, to the 7-lip/7-ship 51. In the vertical printing mode, the output Y is a signal that latches the spacing control bladder 127, which is the data of the page mesh, to the 7-lip/7-ship 51. .28, When in horizontal printing mode F, specify single-handed operation, that is, the line end signal 133.

出力!、は、ニエツシ・カウンタ30F)アドレス値を
1ユニット分減算するためO補数発生を行わせる信号で
、横印字モードの場合のみ、1.入力【指定し、縦印字
モードの場合は使用しないようにム、入力を固定する。
output! , is a signal to generate an O complement in order to subtract one unit from the address value of the printer counter 30F).Only in the horizontal printing mode, 1. Input [Specify and fix the input so that it is not used in vertical print mode.

パターン・メモリ2701ユニツトは、プリンタのδド
ツトに相当し、プリンタの1ドツ)は1/300インチ
であるため、1エニツ) tJ 5/δ00−’1/6
0インチに相当する。したがって、1/60インチのス
ペース制御は、1ユニツ)o無印字により実施すること
がで龜、さらに本発明ではL/120インチのスペース
制御ができるようになっている。
The pattern memory 2701 unit corresponds to the δ dot of the printer, and since 1 dot of the printer is 1/300 inch, 1 unit) tJ 5/δ00-'1/6
Corresponds to 0 inches. Therefore, the space control of 1/60 inch can be performed by one unit) o non-printing, and the present invention can also control the space of L/120 inch.

い★、1/120インチのずれを必要とする場合、0P
U3は7オーマツシ制御のと愈、ページ・メモリ9にス
ペーシング制御7ツダ(Hff)の1ピツ)をセラ)す
る。
★、If you need a deviation of 1/120 inch, 0P
U3 outputs 7 bits of spacing control (Hff) to the page memory 9 during the 7-bit control.

先ず、縦印字の場合、DMA動作時にスペーシング制御
7ツダ(81)がないならば、セレタタ番・O出力子、
!、は7リツプ・7田ツブ510出力がないため、入カ
ム。127.入カム、162がともk(0,0)となッ
テ、−km、l#48&c対して!、156を選択させ
、6ドツトごとに縦印字モード信号128を得る。
First, in the case of vertical printing, if there is no spacing control 7 (81) during DMA operation, the selector number/O output terminal,
! , there is no 7 lip/7 field knob 510 output, so it is an input cam. 127. Incoming cam, 162 becomes k(0,0), -km, l#48&c! , 156 are selected, and a vertical print mode signal 128 is obtained every six dots.

6ドツ)毎に縦印字ロード信号128を得る。こOと龜
は、印字位置のずれは生じない。
A vertical print load signal 128 is obtained every 6 dots). There is no misalignment of the printing position between the two.

1)Mム動作時にスペーシング1御フラグ(邸1)12
7が出力されたならば一力Y、 Y、は7リツプ・70
ツブ51により縦印字p・−ド信号01周期O運れを生
ずるため(工、 Y、 ) −(1,0)となり、この
値でセレクタ48を制御し、入力x1 を選択するので
、画素カウンタ28を、7進カウンタとして機能させる
。そOため、Bνが出力された最初の周期は、縦印字リ
ード信号が7ドツト目で出力され、7ドツトの内05ド
ツトは画情報、2ドツトは白レベルとしてドツトデータ
がシフ)・レジスタより出力され2ドツト分のずれが生
ずる。引き続きSlが出力されると、(y、丁、)は(
1,1)となりセレクタ480!、を選択し画素カウン
タ28は6進カウンタとして機能し、syがない場合と
同一の制御をする。11が出力されなくなった場合、そ
の周期は(τ、 Y、)−(0,1)となり、セレクタ
48は入カニ、を選択して画素カウンタ勢は8進カウン
タとして機能する。そのため、81の出力がなくなった
周期は縦印字モード信号が8ドツト目で出力され、2ド
ツトの内6ドツトは画情報、3ドツトは白レベルとして
ドツトデータがシフトレジスタより出力され3ドツ)I
Oずれが生ずる。
1) Spacing 1 flag (house 1) 12 during M operation
If 7 is output, Y, Y is 7 rip・70
Since the knob 51 causes the vertical printing p/-do signal 01 period O to be carried, it becomes (E, Y, ) - (1, 0), and this value controls the selector 48 and selects the input x1, so the pixel counter 28 is made to function as a hexadecimal counter. Therefore, in the first cycle when Bν is output, the vertical print read signal is output at the 7th dot, 05 of the 7 dots are image information, and 2 dots are the white level and the dot data is shifted) from the register. There is a difference of two dots when output. When Sl is subsequently output, (y, ding,) becomes (
1,1) and selector 480! , the pixel counter 28 functions as a hexadecimal counter and performs the same control as when sy is not present. When 11 is no longer output, the period becomes (τ, Y,)-(0, 1), the selector 48 selects input, and the pixel counters function as octal counters. Therefore, in the period in which the output of 81 disappears, the vertical print mode signal is output at the 8th dot, 6 out of 2 dots are image information, and 3 dots are the white level, and dot data is output from the shift register.
O deviation occurs.

従って、スペーシング制御フラグ(Sl)が出力されて
いる間は文字方向(エニツシ方向)K22画素Oずれが
生じるため2/300−1/150  インチのずれ制
御llが行なわれ、スペーシング制御フラグ(11)が
途中で出力されなくなると、文字方向に3画素分のずれ
が生じ3/300−1/100インチのずれ制御が行わ
れ、合計1/150+1/1OO−1/60のずれを制
御できる。
Therefore, while the spacing control flag (Sl) is being output, there will be a K22 pixel O deviation in the character direction (animation direction), so a deviation control of 2/300 to 1/150 inch will be performed, and the spacing control flag (Sl) will be output. 11) stops being output midway, a shift of 3 pixels occurs in the character direction, and shift control of 3/300 - 1/100 inch is performed, making it possible to control a total shift of 1/150 + 1/1OO - 1/60. .

次に、横印字の場合、DMム動作時にはラインカウンタ
28は常時6進カウンタとして機能し、これkよTQ:
Lニット・アドレス・カウンタ30は511走査線毎に
計数していく。また、ラインカウンタ28の出力、10
9は、パターンメモリ2701:Lニット内の6個のR
OMのチップセレクト信号116として使用される。
Next, in the case of horizontal printing, the line counter 28 always functions as a hexadecimal counter during DM operation, and this is TQ:
L-nit address counter 30 counts every 511 scan lines. In addition, the output of the line counter 28 is 10
9 is pattern memory 2701: 6 R in L knit
It is used as the OM chip select signal 116.

スペーシング制御フラグ(s y)は、縦印字モードの
ときと異なり、ページ・メモリ9の1行前の行の同一・
エニット・アドレスにセットされるので、行終了信号1
33でセレクタ49の出力!、が7リツプ・70ツブ5
1のりpツタとなり、このタイミングで7ラグ(s p
)が7リツプ・プロップ61にラッチされる。これによ
り現行の行にスペーシングのずれがあることが指定され
る。ラインカウンタ28の第1.第2の副走査線出力時
(n =0.1)にデコーダ47の出力と79ツブ・7
0ツブ51の出力との論理積を取り、セレクタ49の入
力1゜から出力Y、を経由して補数器32を駆動し、加
算器31で1つ前のエニット・アドレスに変換する。
The spacing control flag (s y) is different from that in the vertical print mode when the same
Since it is set to the any address, the line end signal 1
Output of selector 49 at 33! , 7 lips, 70 tubes 5
1 glue p ivy, and at this timing 7 lag (s p
) is latched into the 7-lip prop 61. This specifies that the current row has a spacing shift. The first line counter 28. When the second sub-scanning line is output (n = 0.1), the output of the decoder 47 and the
The logical product with the output of the 0-tube 51 is taken, the complementer 32 is driven via the input 1° of the selector 49 and the output Y, and the adder 31 converts it to the previous enit address.

すなわち、#f/横印字モード信号111が横印字を指
定している間、セレクタ49の(B、 !1□)−(0
,0)  K I!定されるので、セレクタ48は入力
I0 を選択しラインカウンタ28はδラインmKエニ
ット・アドレス・カウンタ30管加算するが、補数器3
2によってマイナス1が発生され、加算l131で直前
O:L!ットやアドレスにされる@従って、スペーシン
グ制御フラグ(sl)が出力されている内はSlがセッ
トされている次の行だけ副走査線方向に2ライン分だけ
ずれて印字され−ため2/300−1/160 インチ
のずれを制御で愈ることKなる。また、スペーシング制
御フラグ(8?)の出力が途中で出力されなくなった場
合、予め7オーマツ)IIIJ御時#clユニッエニの
無印字を挿入しておくことにより3/300−1/10
0 インチ□のずれを制御でき、1/150+1/10
0−1/60インチの制御ができる。
That is, while the #f/horizontal printing mode signal 111 specifies horizontal printing, the selector 49's (B, !1□) - (0
,0) K I! Therefore, the selector 48 selects the input I0, and the line counter 28 increments the δ line mK any address counter 30, but the complementer 3
2 generates minus 1, and the addition l131 immediately precedes O:L! @Therefore, while the spacing control flag (sl) is being output, the next line to which Sl is set will be printed with a two-line offset in the sub-scanning line direction. The deviation of /300-1/160 inch can be controlled. In addition, if the output of the spacing control flag (8?) stops being output midway through, by inserting the non-printing of 7 Ohmatsu)
0 inch square deviation can be controlled, 1/150 + 1/10
0-1/60 inch control is possible.

第19図は、嬉17図におけるライン・フィード制御ば
路の詳細図である。
FIG. 19 is a detailed diagram of the line feed control path in FIG.

ラインフィード量レジスタ41は、ホスト・!シンlか
ら指定される行ピツチ情報を保持するレジスタで、1行
が縦印字の場合には何本の副走査線で、また横印字の場
合には主走査り田ツクの何ドツトで、それぞれ構成され
るかを印字開始前にセットしておくものである。
The line feed amount register 41 is the host ! This is a register that holds the line pitch information specified from line l.If one line is vertically printed, how many sub-scanning lines are used, and when one line is horizontally printed, how many dots in the main scanning line are used, respectively. The configuration is set before printing starts.

レーザ・プリンタの分解能は、主/ml走査ともEl/
300イ〉チ・ピッチであり、一般的なプリンタの行ピ
ッチは1/6 インチまたは1/8 インチであるため
、それぞれl/6−50/300.l/8鱈38/30
0  となって、50.3811走査線または50.3
8主走査ドツト数で1行分の印字が行われる。
The resolution of the laser printer is El/ml for both main/ml scanning.
300 inch pitch, and the line pitch of typical printers is 1/6 inch or 1/8 inch, respectively. l/8 cod 38/30
0 and 50.3811 scan lines or 50.3
One line is printed with 8 main scanning dots.

一方、ワード・プルセッサ等では、最近、一般的な行ピ
ッチに限定せずに、任意な行ピッチが要求されるように
なってきた。
On the other hand, word processors and the like have recently come to be required to have arbitrary line pitches, without being limited to general line pitches.

このような場合に、ラインフィード量レジスタ41に1
/300インチの整数倍の値を七ツFしておけば、行ア
ドレス・カウンタ33,340値とラインフィード量レ
ジスタ440値が比稜されて、比較a45からの一致信
号で行アドレス・カウンタ33,34をリセットして1
行を終了させるとともに、行アドレス・カウンタ39に
タロツク【印加してページ・メモリ90行全更新させる
In such a case, 1 is set in the line feed amount register 41.
If a value that is an integer multiple of /300 inch is divided by seven F, the values of the row address counters 33 and 340 and the value of the line feed amount register 440 are compared, and the match signal from the comparison a45 is used to register the row address counter 33. , reset 34 to 1
At the same time as ending the row, a tally mark is applied to the row address counter 39 to update all 90 rows of the page memory.

しかし、文字パターン・メモリ1001文字は、行方向
に48ドツト(6ブロツク×8ドツト)割り当てられて
いるので、一般的な改行ピッチがl/8インチの印字文
字の場合には、1/8−38/300で38ドツト以内
に文字マトリクスをデザインしておく必要があり、また
1/6 インチ改行の場合には、ドツト・マトリクスは
48ドツトしかないにもかかわらす1/6−50/30
0で50ドツト分をカウントしてしまうので、 2ドツ
ト分はハードウェア的に無印字を挿入しておく必要があ
る。このため、7リツプ・70ツブ53が設置されてお
り、この7リツプ・プロップ53はデコーダ35のn−
47(48ドツト目)の出力でセットされ、以下比較器
45からの一致信号が得られるまでセット状態にある。
However, since 48 dots (6 blocks x 8 dots) are allocated to the character pattern memory 1001 characters in the line direction, in the case of printed characters with a general line break pitch of 1/8 inch, 1/8 - 38/300, it is necessary to design the character matrix within 38 dots, and in the case of 1/6 inch line breaks, the dot matrix has only 48 dots, but it is 1/6-50/30.
Since 50 dots are counted with 0, it is necessary to insert two dots worth of non-printing in terms of hardware. For this reason, a 7-lip/70-tub 53 is installed, and this 7-lip prop 53
It is set at the output of the 47th (48th dot), and remains set until a match signal is obtained from the comparator 45.

このセット状newは、オア・ゲ−)OR’i介して出
力データ禁止信号130【与え、シフト・レジスタ23
からの出力データを強制的に無印字にするように制御す
る。
This set state new is given to the output data inhibit signal 130 via OR'i, and the shift register 23
Controls the output data from to be forcibly made non-printable.

また、ラインフィード量がドツト・マトリクスのデザイ
ン範に外である48ドツト以上に設定された場合には、
このフリップ・70ツブ53がセットされることにより
上記と同じ機能を与える。
Also, if the line feed amount is set to 48 dots or more, which is outside the design range of the dot matrix,
Setting this flip-70 tab 53 provides the same function as above.

なお、本発明は、行と行の中間に印字を行わせることが
できる。第17図において、アドレス・サブカウンタ3
6,37は行アドレス・カウンタ33.34と24進ず
れて計数する上付文字、下付文字を印字するためのカウ
ンターであり、アドレス・カウンタ39はページ・メモ
リ90行アドレス全計数するカウンタである。
Note that in the present invention, printing can be performed between lines. In FIG. 17, address sub-counter 3
6 and 37 are counters for printing superscripts and subscripts that are counted 24 decimals apart from row address counters 33 and 34, and address counter 39 is a counter that counts all 90 row addresses of the page memory. be.

今、印字文字を行と行の中間に印字する必要がある場合
で、それが上付文字の場合、ページ・メモリのその行の
必要ユニットに無印字コードとラインフィード制御7ラ
ダ(L OIF)をセラ日、且つ、その行の前の行に印
字すべき文字コードとラインフィード制御7テグ(Lo
t)t’、それが下付文字の場合、ページ・メモリのそ
の行O必要エエットに印字すべき文字コードとラインフ
ィード制御7ラダをセットし、そ0行の次の行に無印字
コードとラインフィード制御フラグ(L OIF)をO
Pυにより7オ一マツシ制御時にセットする。
Now, if it is necessary to print a print character between lines, and if it is a superscript character, the blank code and line feed control 7 ladder (L OIF) are stored in the necessary unit of that line of page memory. The character code to be printed on the line before that line and the line feed control 7 code (Lo
t) t', if it is a subscript character, set the character code to be printed and line feed control 7 ladder in that line O required eet of the page memory, and set the non-printing code and the line next to the 0 line. Line feed control flag (L OIF) is set to O
Set when controlling 7-o-one by Pυ.

p輩ム動作時にラインフィード制御7ラダ(′Loy)
がページ・メモリ9より出力されるとデコーダ33から
の副走査線番号n−24の出力148及びシフF・レジ
スタ・p−ド信号1↓3との論理積(アンド・デー)5
4)Kよって7リツプ・7aツブ52がセットされる。
Line feed control 7 ladders ('Loy) during p-mode operation
When is output from the page memory 9, it is logically ANDed (AND) 5 with the output 148 of the sub-scanning line number n-24 from the decoder 33 and the shift F register p-do signal 1↓3.
4) The 7-rip/7a knob 52 is set by K.

フィンフィード制御フラグ(TJay)126が出力さ
れても副走査線番号五=0〜230期間は、アンド・ゲ
ート69K、より出力データ禁止となるためプリンタは
無印字ξなる。
Even if the fin feed control flag (TJay) 126 is output, during the sub-scanning line number 5=0 to 230 period, the AND gate 69K prohibits output data, so the printer does not print ξ.

また、−副走査線番号!−24〜470間は七しタ、り
43により行方向tY力?ンタ36,370出力が、ブ
ロック・セレクシ信号116及び縦印字の場合のビット
・七しタト信号11OK切換えられ、1/2行分連れた
タロツク・セレタF信号が出力される。したがって、上
付文字、下付文字の文字コードとラインフィード制御7
ラダ(T、 OF)が七ツドされた行では、1文字の上
、半分(プ四ツク0〜ブーツタ2)が印字される。そし
て、次の行も岡−文字位置にツインフィード制御7ラダ
(lLO7)がセットされているOで、mmQ〜2Sの
期間は行方向サブカウンタ36.37が副走査線を継続
して計数しているので、デコーダ38のデコード値*’
−24〜47の出力149がアンド・デー)60に加え
られる。アンド・ゲート600出力は行アドレス変換の
ためや出力139を送出して補数畿生器42を駆動し、
そ0!II数を加算器に加えて行アドレスをマイナス1
してべ、−ジ・メモリの前行0行アドレスを送出する。
Also, - sub-scanning line number! Between -24 and 470, is the row direction tY force due to the 7th point and 43? The outputs of the printers 36 and 370 are switched to the block select signal 116 and the bit/7 data signal 11 OK in the case of vertical printing, and the tarok/selector F signal corresponding to 1/2 line is output. Therefore, the character code of superscript and subscript and line feed control 7
In the line where the ladder (T, OF) is crossed by 7, the upper half of one character (P4 0 to Boot 2) is printed. Then, the next line is O, where the twin feed control 7 ladder (lLO7) is set at the character position, and the row direction sub-counters 36 and 37 continue to count the sub-scanning lines during the period from mmQ to 2S. Therefore, the decoded value of the decoder 38 *'
-24 to 47 outputs 149 are added to AND/D) 60. The AND gate 600 output is used for row address conversion and sends out an output 139 to drive the complement generator 42.
So 0! Add II number to adder and row address minus 1
Then, the address of the previous row 0 of the memory is sent.

一方、アンド・ゲート58の出力149は、セレクタ4
3C与えることにより引きつづき行方向サブカウンタ0
411t−選択しているOで、1/2行分遅れた一プ豐
ツク・±レフト信号が出力される。
On the other hand, the output 149 of the AND gate 58 is
By giving 3C, the row direction sub-counter continues to be 0.
411t--The selected O outputs a one-punch ±left signal delayed by 1/2 line.

従って、ページ・メモ99の前行の同一位置にセットさ
れた文字コードに対応するパターン・メモリ100下半
分のブ四ツタがアクセスされるので1文字の下半分が印
字される。よって前のりの印字時には上半分、現行の印
字時には下半分が1/2行づつずれて印字されるOで、
行と行の中間に1文字が印字される。
Therefore, the lower half of the pattern memory 100 corresponding to the character code set at the same position in the previous line of the page memo 99 is accessed, so that the lower half of one character is printed. Therefore, when printing the previous page, the top half is printed, and when printing the current page, the bottom half is printed with a shift of 1/2 line.
One character is printed between lines.

デコーダ38のn′一番70出力149は1/2行ずれ
たときの行方向の終了を示す信号であり、アンド・ゲー
ト66でシフトレジスタ・pニド信号ト0m1ll!I
nよって7リツプ・フ四ツブ52をリセットし、通常印
字モードに復帰することkよりその行の残り半分は無印
字コードにもとづいて無印字を行う。
The n' first 70 output 149 of the decoder 38 is a signal indicating the end of the row direction when shifted by 1/2 line, and the AND gate 66 selects the shift register pnide signal 0m1ll! I
Accordingly, the 7-rip filter 52 is reset and the normal printing mode is restored. From k, the remaining half of the line is not printed based on the no-print code.

なお、第17図において、アドレス・サブ・カウンタ3
6.37は行アドレス・カウンタ33゜34と24進ず
れて計数する上付文字、下付文字を印字する゛ためのカ
ウンタであり、アドレス・カウンタ39はページ・メモ
リ90行アドレス【゛計数するカウンタである。補数発
生器42は、ラインフィード制御lI7ラグ(boy)
129 が出力されたとき、マイナス1の値を発生して
、加算器40!−介しページ・メモリ9の前行の行アド
レス108を指定するためのものである。7リツプ・7
0ツブ46は、ラインフィード制御フラグ126が出力
されたとき、1行の上半分のデータ出力全禁止し下半分
だけデータを出力させるものである。
In addition, in FIG. 17, address sub-counter 3
6.37 is a counter for printing superscripts and subscripts that is counted with a 24-base difference from the row address counter 33 and 34, and the address counter 39 is a counter for printing the page memory 90 row address [counting]. It is a counter. Complement generator 42 has line feed control lI7 lag (boy)
When 129 is output, a value of minus 1 is generated and the adder 40! - This is for specifying the row address 108 of the previous row in the intervening page memory 9. 7 lip 7
The 0 tab 46 is for inhibiting all data output in the upper half of one line and outputting only the lower half data when the line feed control flag 126 is output.

第20図は、本発明の実施例を示すページ・メモリ上の
縦印字フォーマット図である。
FIG. 20 is a vertical print format diagram on a page memory showing an embodiment of the present invention.

ページ・メモリ9の分割方法は、プリンタの用紙と対応
させている。ユニット方向は、ユニット・アドレス・カ
ウンタで496ユニツトまでカウントされ、行方向は行
アドレス・カウンタで64行までカウントされる。
The division method of the page memory 9 corresponds to the paper of the printer. In the unit direction, the unit address counter counts up to 496 units, and in the row direction, the row address counter counts up to 64 lines.

先ず、第1行目はホスト・マシン1から全部スペースが
指定されているので、スペース・コード8Pが埋め込ま
れるが、ユニット12〜16は厘文字を1/2 インチ
上方にずらずように指定されているOで、MO〜N4の
コードのあとにライン・フィード・コントロール・7ラ
グLotが埋め込まれる。次の行では、最初のユニット
0〜4はスペースのため、スペース・コードBPが埋め
込まれ、次のユニット6〜11は文字ムであるため7二
二ツ)が割り当てられ、AO〜ムロのフードが埋め込ま
れる。172 インチ上方にずれた文字Hのユニット1
2〜16には、スペース・コードSPのあとに、zoy
が埋め込まれる。同じようkして、文字0には7ユニツ
シが割り当てられ、文字Mは1/2 インチ下方にずれ
ているので、8ユニツトにはMONM7のあとにLOI
Fが厘め込まれる。第3行目は全部スペース文字であり
、第4行目は文字の下方にアングラインを印字するため
、文字コードあるいはスペース・フードのあとにアング
ライン・7ラグvyが鳳め込まれる。また、第4行目の
文字1は、文字全体t1/120インチずらすために、
スペース・7ラグSνが追加して纒め込まれる。
First, in the first line, all spaces are specified by host machine 1, so space code 8P is embedded, but units 12 to 16 are specified so that the characters are not shifted upward by 1/2 inch. In O, line feed control 7 lag Lot is embedded after the codes MO to N4. In the next line, the first units 0 to 4 are spaces, so the space code BP is embedded, and the next units 6 to 11 are characters, so they are assigned 722), and the hood of AO to Muro is assigned. is embedded. Unit 1 with letter H shifted upward by 172 inches
2 to 16, after the space code SP, zoy
is embedded. Similarly, the letter 0 is assigned 7 units, and the letter M is shifted downward by 1/2 inch, so the LOI is assigned to unit 8 after MONM7.
F is included. The third line is all space characters, and the fourth line prints an angline below the characters, so an angline 7 lag vy is embedded after the character code or space hood. Also, in order to shift the entire character t1/120 inch for the character 1 in the fourth line,
Space 7 lag Sν is added and wrapped.

第21図は、本発明の実施−例管示すページ・メモリ上
の横印字フォーマツ)図である。
FIG. 21 is a diagram illustrating a horizontal printing format on a page memory showing an example of implementing the present invention.

横印字モードでは、縦印字モードの場合とユニット、行
が互いに入れ替る。すなわち、第21図の右上隅が第2
0図の左上隅に対応することkなり、文字格納方向はエ
ニツ)701から0に向って順次埋め込まれる。文字コ
ードの格納方法は、縦印字の場合と全く同じであり、第
21図に示すように、スペース・コード19P、ライン
フィード・コントロール・フラグ−01、アングライン
・7ラグU1の埋め込みも同一方法で行われる。なお、
スペース・フラグS1は、実施する行の1行分前の行の
同一文字位置にセットされる。
In horizontal printing mode, units and lines are interchanged with those in vertical printing mode. That is, the upper right corner of Figure 21 is the second
0 corresponds to the upper left corner of Figure 0, and the character storage direction is 701 to 0. The method of storing character codes is exactly the same as for vertical printing, and as shown in Figure 21, the embedding of space code 19P, line feed control flag -01, and Angline 7 lag U1 is also done in the same way. It will be held in In addition,
The space flag S1 is set at the same character position in the line one line before the line to be executed.

以上説明したように、本発明によれけ、ページ・メモリ
の容量を増加することなく、ドツト・マシリクス単位よ
り小さい単位で行方向の印字位愛制御を行うことができ
るので、ワード・プ四セッサ等の1ペ一ジ内行配置制御
に適用すればきわめて効果がある。
As explained above, according to the present invention, it is possible to perform print position control in the line direction in units smaller than dot matrix units without increasing the page memory capacity. It is extremely effective if applied to one-page inline layout control such as the following.

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

第1図は本発明の実施例管示す印字装置の全体プルツク
図、第2図は各文字の文字幅を示す説明図、第3図は文
字パターン・メモリの一例を示す詳細構成図、第4図は
第3図のパターン・メモリの説明図、第6図はパターン
・メモリのアドレス・ビットの構成図、第6図は縦印字
と横印字の説明図、第7図は1ページの最大印字数の説
明図、第81Jはページ・メモリのデータ・ビットの定
#を示す図、第9図はページ・メモリのデータ・ビット
の構成図、第1O図はページ・メモリのアドレス・ビッ
トの構成図、第11図は7オント制御ビツトの詳細説明
図、第12図、第13図はそれぞれページ・メモリの縦
印字と横印字のときの文字位置格納図、第14図はDM
A制御回路の動作を示す全体ブロック図、第15図はD
MAクロックのタイムチャート、第16図は文字パター
ン、メモリの制御部のプリッタ図、第17図は第14[
kおけるDMAアドレス・カウンタ・印字位を制一部の
詳細ブロック図、第18図は第17図のスペーシング制
御回路の詳細図、第19は第17図のラインフィード制
御回路の詳細図、第20図は本発明の実施例を示すペー
ジ・メモリ上の縦印字フォーマット図、第21図は本発
明の実施例を示すページ・メモリ上の横印字フォーマッ
ト図である。 l:ホスト・マシン、2:インタフェース回路、3:a
pu、4ニブ四グラム・メモリ、6:ワーク・メモリ、
6:メモリ・マルチプレクサ、7:DuAlllji1
1回路、8:プリンタ制御インタフェース、9:ページ
・メモリ、108文字パターン・メモリ、11:データ
・インタフェース回路、12:レーザ・プリンタ、22
:アングライン制御ゲート、23:シフト・レジスタ、
15:クロック・セレクト回路、16.l’7 S D
MAアドレス・カウンタ、18:ページ・メモリ・アド
レス・セレクタ、19:パターン・メモリ・アドレス・
セレクタ、20:フォント制御回路、24:チツプ選択
回路、25:縦印字ビット・竜しクタ、26:横印字チ
ップ・セレクタ、28;画素/ライン嗜カウンタ、29
ニスベ一シング制御回路、30xユニツト・アドレス・
カラ′・ンタ、31.4.O:加算器、32.+2 :
補数器、33ニライン/画素カウンタ、34ニブpツク
・カウンタ、35.38:デコーダ、39:行アドレス
・カウンタ、411ラインフイード制御l路、43:セ
レクタ、与養ニラインフィード量レジスタ、+5:Jl
i器、+6二アンダーライン制御ゲー)、!7:デコー
ダ、48.49:セレクタ、52.53ニアリツプ・7
0ツブ、IC)9:チップ・セレクト・データ、111
:IF横印字モード、128 :$l印字四ロード号、
129:横印字ロード信号、127:スペース制ji1
tIフラグ、107:ページ・1メモリ・ユニット・ア
ドレス、138ニスペース・シ゛7ト信号、133:行
終了信号、136:アンダーライン・タイミング、11
2+アンダーライン要求、135:サブキャリー、12
6!ライン制御フラグ、140:セレクト信号、130
:データ出力禁止、113:パラレル・データ・ロード
信号、116!プνツク・セレクト信号、lIQ:ビッ
ト・セレクト信号、139:l/2行シフト信号。 第7図 第8図 第10図 第11図
FIG. 1 is an overall pull-down diagram of a printing device showing an embodiment of the present invention, FIG. 2 is an explanatory diagram showing the character width of each character, FIG. 3 is a detailed configuration diagram showing an example of a character pattern memory, and FIG. The figure is an explanatory diagram of the pattern memory in Figure 3, Figure 6 is a configuration diagram of the address bits of the pattern memory, Figure 6 is an explanatory diagram of vertical printing and horizontal printing, and Figure 7 is the maximum printing on one page. Figure 81J is a diagram showing the fixed number of data bits of page memory, Figure 9 is a diagram showing the configuration of data bits of page memory, and Figure 1O is the configuration of address bits of page memory. Figure 11 is a detailed explanatory diagram of the 7-ont control bit, Figures 12 and 13 are character position storage diagrams for vertical and horizontal printing in page memory, respectively, and Figure 14 is a DM
An overall block diagram showing the operation of the A control circuit, FIG. 15 is D.
The MA clock time chart, Figure 16 is the character pattern, the printer diagram of the memory control section, and Figure 17 is the 14th [
Figure 18 is a detailed diagram of the spacing control circuit in Figure 17. Figure 19 is a detailed diagram of the line feed control circuit in Figure 17. FIG. 20 is a diagram of a vertical print format on a page memory showing an embodiment of the present invention, and FIG. 21 is a diagram of a horizontal print format on a page memory showing an embodiment of the present invention. l: host machine, 2: interface circuit, 3: a
pu, 4 nib 4 gram memory, 6: working memory,
6: Memory multiplexer, 7: DuAllji1
1 circuit, 8: printer control interface, 9: page memory, 108 character pattern memory, 11: data interface circuit, 12: laser printer, 22
: Angline control gate, 23: Shift register,
15: Clock select circuit, 16. l'7 S D
MA address counter, 18: Page memory address selector, 19: Pattern memory address
Selector, 20: Font control circuit, 24: Chip selection circuit, 25: Vertical printing bit/dragon selector, 26: Horizontal printing chip/selector, 28; Pixel/line selection counter, 29
Varnish basing control circuit, 30x unit address
Kara' Nta, 31.4. O: Adder, 32. +2:
Complementor, 33 lines/pixel counter, 34 nib counter, 35.38: decoder, 39: row address counter, 411 line feed control path, 43: selector, supply two line feed amount register, +5: Jl
i device, +6 two underline control game),! 7: Decoder, 48.49: Selector, 52.53 Near Lip 7
0 knob, IC) 9: Chip select data, 111
: IF horizontal printing mode, 128 : $l printing 4th road number,
129: Horizontal printing load signal, 127: Space system ji1
tI flag, 107: page 1 memory unit address, 138 space seven seat signal, 133: end of line signal, 136: underline timing, 11
2+underline request, 135: subcarry, 12
6! Line control flag, 140: Select signal, 130
: Data output prohibited, 113: Parallel data load signal, 116! push select signal, lIQ: bit select signal, 139: l/2 row shift signal. Figure 7 Figure 8 Figure 10 Figure 11

Claims (1)

【特許請求の範囲】 α)ホスト・マシンから転送された印字文字コードを、
同じくホスト・マシンから転送された印字制御コードに
もとづいて、1ペ一ジ分記憶するページ・メモリと、上
記印字文字コードに新地するドツト・マFリクス文字パ
ターン管記憶するパターン・メモリと、上記ページ・メ
モリの文字方向のアドレスと行方向のアドレスをそれぞ
れ発生する第1および第2のアドレス発生手段を有する
印字装f#cおいて、上記印字制御コードにより行の送
り単位を基本行ピッチの整数倍以下の単位で駿足され、
保持するツインフィード量レジスタ、および該ラインフ
ィード量レジスタの値と上記第2のアドレス発生手段O
下位部の値とを比較する手Rを設け、該比較手yo一致
信号出力により上記第2のアドレス発生手段の下位Sを
リセットし、上位部を更新して1行分の印字TrIs了
することを特徴とする印字装置。 ■前記ラインフィード量レジスタに設定された値が、前
記パターン・メモリに割り当てられた1文字の行方向の
値より大きいとIKは、出カバターン・データを禁止す
ることを特徴とする特許請求のll1iN第1項記載の
印字装置。
[Claims] α) Print character code transferred from the host machine,
Similarly, based on the print control code transferred from the host machine, there is a page memory for storing one page, a pattern memory for storing a dot matrix character pattern corresponding to the above print character code, and the above. In a printing device f#c having first and second address generating means for generating an address in the character direction and an address in the line direction of the page memory, respectively, the line feed unit is set to the basic line pitch by the above print control code. It is calculated in units of integer multiples or less,
The value of the twin feed amount register to be held and the line feed amount register and the second address generation means O
A hand R is provided for comparing the value of the lower part, and the lower part S of the second address generation means is reset by the comparison hand yo match signal output, the upper part is updated, and the printing TrIs for one line is completed. A printing device featuring: ■If the value set in the line feed amount register is larger than the value in the row direction of one character assigned to the pattern memory, IK inhibits output pattern data. The printing device according to item 1.
JP56186625A 1981-11-20 1981-11-20 printing device Pending JPS5889376A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56186625A JPS5889376A (en) 1981-11-20 1981-11-20 printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56186625A JPS5889376A (en) 1981-11-20 1981-11-20 printing device

Publications (1)

Publication Number Publication Date
JPS5889376A true JPS5889376A (en) 1983-05-27

Family

ID=16191848

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56186625A Pending JPS5889376A (en) 1981-11-20 1981-11-20 printing device

Country Status (1)

Country Link
JP (1) JPS5889376A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4896978A (en) * 1987-07-14 1990-01-30 Samsung Electronics Co., Ltd. Method for optional control of line spacing in electronic typewriter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4896978A (en) * 1987-07-14 1990-01-30 Samsung Electronics Co., Ltd. Method for optional control of line spacing in electronic typewriter

Similar Documents

Publication Publication Date Title
US4704040A (en) Memory device and printing system for dot printer
US4627749A (en) Character generator system for dot matrix printers
JPS5889373A (en) Printer
EP0091124B1 (en) Video signal generating circuit
GB2038057A (en) Dot matrix display apparatus
JPS6346429B2 (en)
JPS59125485A (en) Printer device page memory
JP2715077B2 (en) Printing equipment
JP2564513B2 (en) Printer control device
JPH0456317B2 (en)
JPH07102716B2 (en) Text printing control device
JPH0345413B2 (en)
JPH0463781B2 (en)
JPH0630927B2 (en) Pattern output method
JPS5889375A (en) Printer
JPH0238055A (en) dot matrix printing equipment
JPS58183273A (en) Apparatus for controlling printing
JPH01275152A (en) dot printer
JPH05124265A (en) Character output device
JPH04255369A (en) Printing control method
JPH081554B2 (en) Character processor
JPH0439434B2 (en)
JPS58183274A (en) print control device
JPH0815794B2 (en) Character processor
JPH0647301B2 (en) Charactor pattern generator