JPS61171356A - Printer - Google Patents

Printer

Info

Publication number
JPS61171356A
JPS61171356A JP60010753A JP1075385A JPS61171356A JP S61171356 A JPS61171356 A JP S61171356A JP 60010753 A JP60010753 A JP 60010753A JP 1075385 A JP1075385 A JP 1075385A JP S61171356 A JPS61171356 A JP S61171356A
Authority
JP
Japan
Prior art keywords
printing
print
data
font
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
JP60010753A
Other languages
Japanese (ja)
Inventor
Hidetake Tanaka
秀岳 田中
Akio Niki
仁木 昭男
Osamu Kuramochi
倉持 治
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 JP60010753A priority Critical patent/JPS61171356A/en
Publication of JPS61171356A publication Critical patent/JPS61171356A/en
Pending 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
    • G06K15/10Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers by matrix printers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To attain to increase the printing speed of a printer by increasing a data treatment speed, by providing a pattern information memory means storing printing pattern information in a state blocked at every printing element line of a printing head. CONSTITUTION:When a printing head 28 is constituted so that printing elements 1-24 are arranged in a zigzag pattern so as to be divided into an odd number printing element row PO and an even number printing element row PE, lines from a first line to a 24-th line of each row are divided into odd number lines and even number lines while each of the odd number lines and the even number lines is blocked at every 8 bits and the residual 4 bits of the odd number lines and that of the even number lines are combined to be stored as 8 bits. By this method, for example, printing pattern informations corresponding to the odd number printing element row may be read to be stored in data buffer as they are and printing pattern informations corresponding to the even number printing element row may be read to be stored in data buffer as they are and the edition of the read printing pattern informations becomes unnecessary and, because processing becomes simple and a processing speed becomes high, a printing speed is also increased.

Description

【発明の詳細な説明】 艮亙分互 この発明は、複数の印字素子列を有するプリントヘッド
を備えたプリンタに関する。
DETAILED DESCRIPTION OF THE INVENTION This invention relates to a printer equipped with a print head having a plurality of rows of printing elements.

従来技術 一般に、ドツトインパクトプリンタ等のマトリックスプ
リンタにおいては、印字データを文字。
Prior Art Generally, in matrix printers such as dot impact printers, print data is converted into characters.

図形等(以下「文字」と総称する)の印字パターン情報
に変換し、そのパターン情報に基づいて複数の印字素子
列を有するプリントヘッドの各印字素子を駆動して印字
する。
It is converted into printing pattern information such as figures (hereinafter collectively referred to as "characters"), and based on the pattern information, each printing element of a print head having a plurality of printing element rows is driven to print.

そこで、従来のこのようなプリンタにおいては。Therefore, in conventional printers like this.

印字パターン情報を印字された画素の並びのままの順序
で格納したROM等からなるキャラクタジェネレータを
備えている。
It is equipped with a character generator consisting of a ROM or the like that stores print pattern information in the exact order of printed pixels.

すなわち、第35図に示すように1例えば24行Xl1
列のドツトパターンを格納する場合には、同図(イ)に
示すパターンについて、同図(ロ)に示すように、第1
列(24ドツト)の第1〜8行を第1バイト、第9〜1
6行を第2バイト、第17〜24行を第3バイトという
ように、各列について第1〜24行を1バイト(8ドツ
ト)毎に格納するようにしている。
That is, as shown in FIG. 35, 1, for example, 24 rows
When storing a row of dot patterns, the pattern shown in (a) of the same figure should be stored in the first dot pattern as shown in (b) of the same figure.
The 1st to 8th rows of the column (24 dots) are the 1st byte, the 9th to 1st bytes
The 6th row is stored as the 2nd byte, the 17th to 24th rows as the 3rd byte, and so on, and the 1st to 24th rows are stored in units of 1 byte (8 dots) for each column.

ところで、プリントヘッドは、各印字素子を通常奇数番
印字素子と偶数番印字素子との二列に千鳥状に配置して
いるので、このように印字された画素の並びのままの順
序で印字パターン情報を格納した場合には、印字素子の
駆動情報と印字パターン情報とが一致しなくなる。
By the way, the print head usually arranges each printing element in two rows of odd-numbered printing elements and even-numbered printing elements in a staggered manner, so the printing pattern is printed in the same order as the printed pixels are arranged. If the information is stored, the drive information of the print element and the print pattern information will no longer match.

そのため、印字制御を行なうときに、例えば偶数番印字
素子に対応する駆動情報を印字パターン情報の内の偶数
番目の情報から得、奇数番印字素子に対応する駆動情報
を奇数番目の情報から得る。
Therefore, when performing printing control, for example, drive information corresponding to even-numbered printing elements is obtained from even-numbered information in the print pattern information, and drive information corresponding to odd-numbered printing elements is obtained from odd-numbered information.

すなわち、印字制御時に、奇数番印字素子位置の印字パ
ターン情報を3バイト(1列分)読出し。
That is, during print control, 3 bytes (for one column) of print pattern information at odd-numbered print element positions are read.

奇数番印字素子に対応する情報のみを選択抽出して、そ
のデータ(1,5バイト)を並び換えてデータバッファ
に格納した後9次に偶数番印字素子位置の印字パターン
情報を3バイト(1列分)読出して、偶数番印字素子に
対応する情報のみを選択抽出して、そのデータ(1,5
バイト)を並び換えてデータバッファに格納する。
After selectively extracting only the information corresponding to the odd-numbered printing elements, rearranging the data (1, 5 bytes) and storing it in the data buffer, the printing pattern information at the even-numbered printing element position is extracted by 3 bytes (1 column), select and extract only the information corresponding to even-numbered printing elements, and read that data (1, 5
bytes) and store them in the data buffer.

しかしながら、このようにキャラクタジェネレータから
読出した1バイトの情報から奇数番あるいは偶数番の情
報のみを選択して取出し、それをまた順番に並び換える
のでは、データ処理に時間がかかり、データの高速処理
及びそれによるプリンタの印字速度の高速化を図れない
However, selecting and extracting only the odd or even number information from the 1-byte information read from the character generator and rearranging it in order takes time for data processing, and high-speed processing of data is difficult. And as a result, it is not possible to increase the printing speed of the printer.

目   的 この発明は上記の点に鑑みてなされたものであり、デー
タ処理速度の高速化によりプリンタの印字速度の高速化
を図ることを目的とする。
Purpose This invention has been made in view of the above points, and an object thereof is to increase the printing speed of a printer by increasing the data processing speed.

亀−腹 この発明は上記の目的を達成するため、印字パターン情
報を前記プリントヘッドの各印字素子列毎にブロック化
して格納したパターン情報格納手段を設けたものである
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention is provided with pattern information storage means that stores printing pattern information in blocks for each printing element row of the print head.

以下、この発明の一実施例に基づいて具体的に説明する
Hereinafter, a detailed explanation will be given based on one embodiment of the present invention.

第1図は、この発明を実施したワイヤドツトインパクト
プリンタの一例を示す外観斜視図である。
FIG. 1 is an external perspective view showing an example of a wire dot impact printer embodying the present invention.

このプリンタの外筐部は1機構部及び制御部を収納する
下ケース1及び上ケース2と、後述するリボンカセット
、フォントカット等の交換部品の交換等のための開閉可
能なカバー3とからなる。
The outer casing of this printer consists of a lower case 1 and an upper case 2 that house a mechanical section and a control section, and a cover 3 that can be opened and closed for replacing replacement parts such as a ribbon cassette and font cutter, which will be described later. .

また、このプリンタの前面に設けた操作パネル4には1
例えばフオームフィードスイッチ、オンライン/オフラ
インスイッチ、ポーズスイッチ等     !の各種ス
イッチ及びリボンエンド表示器、ペーパエンド表示器等
の各種表示器を付設しである。
In addition, the operation panel 4 provided on the front of this printer has a
For example, form feed switch, online/offline switch, pause switch, etc.! It is equipped with various switches and various indicators such as a ribbon end indicator and a paper end indicator.

第2図及び第3図は、このプリンタの機構部を示す概略
平面図及び正面図である。
FIGS. 2 and 3 are a schematic plan view and a front view showing the mechanism of this printer.

この機構部においては、フレーム11.11間に、印字
する用紙を巻付けて給送するプラテン12を回転自在↓
;取付けである。
In this mechanism, a platen 12 that wraps and feeds printing paper is rotatable between frames 11 and 11.
;It is installation.

このプラテン12は、フレーム11に固着したステッピ
ングモータからなるラインフィードモータ13によって
、モータギヤ14.アイドルギヤ15、このアイドルギ
ヤ15と同動するギヤ16゜タイミングベルト17及び
プラテンギア18を介して回転駆動されて、自動的に用
紙を給送する。
This platen 12 is moved by a motor gear 14. An idle gear 15, a gear 16° which moves together with the idle gear 15, is rotationally driven via a timing belt 17 and a platen gear 18 to automatically feed the paper.

また、プラテン12の両端部には1手動操作用のノブ1
9.19を固着してあり、これ等のノブ1!3.19を
回すことによってプラテン12を手動で回転して例えば
用紙装填や用紙抜き取りを行なうことができる。
In addition, there are knobs 1 for manual operation at both ends of the platen 12.
By turning these knobs 1!3.19, the platen 12 can be manually rotated to load or remove paper, for example.

さらに、このプラテン12の前方には、フレーム11.
11に回転自在に装着したペイルフレーム20.20間
に支持されたペイルローラ21(第1図参照)を嵌着し
たペーパペイル22を揺動自在に配置しである。
Furthermore, in front of this platen 12, a frame 11.
A paper pail 22 having a pail roller 21 (see FIG. 1) fitted between a pail frame 20 and 20 rotatably attached to the paper pail 11 is swingably disposed.

さらにまた、このプラテン12のプラテンギヤ18と反
対側には、フオームトラクタ等の給紙装置の用紙送り機
構に駆動力を伝達するためのプラテンギヤ23を固着し
である。
Furthermore, a platen gear 23 is fixed to the opposite side of the platen 12 from the platen gear 18 for transmitting driving force to a paper feeding mechanism of a paper feeding device such as a form tractor.

そして、フレーム11.11に固着したガイドロッド2
5及びステイ26上に、キャリッジ27をプラテン12
に対してその軸方向に平行移動可能に載置している。
And the guide rod 2 fixed to the frame 11.11
5 and the stay 26, the carriage 27 is placed on the platen 12.
It is placed so that it can move in parallel in the axial direction.

このキャリッジ27は、プリントヘッド28と。This carriage 27 is connected to a print head 28.

インクリボンを装填したリボンカセット2日と。2nd ribbon cassette loaded with ink ribbon.

このリボンカセット2日のインクリボンをフィードする
りボンフィード機構30(詳細は後述)等とを備えてい
る。なお、インクリボンとしては。
This ribbon cassette is equipped with a ribbon feed mechanism 30 (details will be described later) for feeding the ink ribbon of two days old. In addition, as an ink ribbon.

ファブリックリボンあるいはマルチストライクリボン等
のフィルムリボンを使用できる。
Film ribbons such as fabric ribbons or multi-strike ribbons can be used.

そして、サブフレーム31に固着したステッピングモー
タからなるスペース(キャリッジ送り)モータ32の回
転軸に直結したタイミングプーリ33と、フレーム11
にバネ板34でテンションを付与して保持したガイドプ
ーリ35との間に、タイミングベルト36を装架し、こ
のタイミングベルト36をキャリッジ27の下部に固定
して、スペースモータ32によってキャリッジ27を移
動させる。
A timing pulley 33 is connected directly to the rotating shaft of a space (carriage feed) motor 32 consisting of a stepping motor fixed to the subframe 31, and a timing pulley 33 is connected to the frame 11.
A timing belt 36 is mounted between a guide pulley 35 held under tension by a spring plate 34, and this timing belt 36 is fixed to the lower part of the carriage 27, and the carriage 27 is moved by a space motor 32. let

また、フレーム11.11に装着したワイヤホルダ41
.41間には、キャリッジ27の移動をリボンフィード
機構30によるリボンのフィード力に変換するためのワ
イヤ42を、その一端をワイヤホルダ41に直接的に固
定し、その他端をスプリング43を介してワイヤホルダ
41に固定して張装しである。
In addition, a wire holder 41 attached to the frame 11.11
.. A wire 42 for converting the movement of the carriage 27 into ribbon feeding force by the ribbon feed mechanism 30 is fixed directly to the wire holder 41 at one end, and connected to the wire holder 41 via a spring 43 at the other end. It is fixed and upholstered.

また、左側のフレーム11には、キャリッジ27がホー
ム位置に位置したことを検出するための遮光板44を取
付けてあり、キャリッジ27に付設した透過型フォトセ
ンサからなるホームセンサ45によってホーム位置を検
出する。
Further, a light shielding plate 44 is attached to the left frame 11 to detect when the carriage 27 is located at the home position, and a home sensor 45 consisting of a transmission type photosensor attached to the carriage 27 detects the home position. do.

さらに、第2図に示すように、プラテン12の左側後方
には、図示しない用紙案内用のディフレクタに反射型フ
ォトセンサからなるペーパエンドセンサ46を装着する
Further, as shown in FIG. 2, a paper end sensor 46 consisting of a reflective photosensor is attached to a deflector (not shown) for guiding paper at the rear left side of the platen 12.

また、第2図に示すように、操作パネル4の裏側には、
所要の回路基板47を取付けてあり、この基板47にこ
の発明によるパターン情報を格納したフォントカセット
を装填するカセットホルダ48を設置してあり、このカ
セットホルダ4日の   ・下面には、フォントカセッ
トのコネクタを挿着するためのコネクタ4日を付設しで
ある。
In addition, as shown in FIG. 2, on the back side of the operation panel 4,
A necessary circuit board 47 is attached, and a cassette holder 48 into which a font cassette storing pattern information according to the present invention is loaded is installed on this board 47. Comes with a connector for inserting and attaching the connector.

第4図及び第5図は、このプリンタのキャリッジ27の
詳細を示す平面図及び左側面図である。
4 and 5 are a plan view and a left side view showing details of the carriage 27 of this printer.

このキャリッジ27は、ガイドロッド25に摺動自在に
嵌装し、下面にタイミングベルト36を固着したキャリ
ッジブロック51に天板52を固着し、この天板52に
プリントヘッド28を装着しである。
The carriage 27 is slidably fitted onto the guide rod 25, and has a top plate 52 fixed to a carriage block 51 to which a timing belt 36 is fixed to the bottom surface, and a print head 28 is mounted on the top plate 52.

また、このキャリッジ27の天板52の前端部両側には
、用紙挿入時や印字時に用紙を案内するペーパガイド5
3.53を取付けている。
Further, paper guides 5 are provided on both sides of the front end of the top plate 52 of the carriage 27 to guide the paper when inserting paper or printing.
3.53 is installed.

さらに、この天板52の下面には、ステイク6上を転が
るローラ54を回転自在に配置すると共に、その下面に
固着した支持板55の下部にキャリッジホームセンサ4
5を取付けている。
Furthermore, a roller 54 that rolls on the stake 6 is rotatably arranged on the lower surface of the top plate 52, and a carriage home sensor 4 is mounted on the lower part of a support plate 55 fixed to the lower surface of the roller 54.
5 is installed.

また、天板52の上面には、マルチストライクリボンを
使用した場合に、そのリボン終端を検出する透過型フォ
トセンサからなるリボンエンドセンサ56を取付けてい
る。
Further, on the top surface of the top plate 52, a ribbon end sensor 56 is attached which is a transmission type photosensor that detects the end of the ribbon when a multi-strike ribbon is used.

さらに、天板52の後部両側には、リボンカセット2日
を保持するカセット押え57.57を取付けである。
Furthermore, cassette pressers 57 and 57 for holding ribbon cassettes are attached to both rear sides of the top plate 52.

また、このキャリッジ27の天板52の下面には、キャ
リッジ27の移動を動力としてキャリッジ27の移動方
向にかかわらず一方向にリボンカセット2日のリボンを
送ると共に、一方向印字時に反対方向ではリボン送りを
遮断するリボンフィードエスケープ機構を備えたリボン
フィード機構30を装着しである。
Further, on the bottom surface of the top plate 52 of this carriage 27, a ribbon cassette is provided that uses the movement of the carriage 27 as power to feed the ribbon in one direction regardless of the moving direction of the carriage 27, and to feed the ribbon in the opposite direction during one-way printing. A ribbon feed mechanism 30 equipped with a ribbon feed escape mechanism for cutting off feeding is installed.

このリボンフィード機構30の詳細を第6図をも参照し
て説明する。
The details of this ribbon feed mechanism 30 will be explained with reference to FIG. 6 as well.

このリボンフィード機構30においては、ドライブ軸6
1を内部からばねで上方に付勢して装着したリボンフィ
ードギヤ63を、軸受64で天板52の下面にそのドラ
イブ軸61を天板52の上面に位置させて回転自在に装
着しである。
In this ribbon feed mechanism 30, the drive shaft 6
A ribbon feed gear 63 is mounted by biasing the ribbon feed gear 1 upwardly with a spring from inside, and is rotatably mounted on the bottom surface of the top plate 52 with its drive shaft 61 positioned on the top surface of the top plate 52 using a bearing 64. .

そして、このリボンフィードギヤ63に噛合うアイドラ
ギヤ65を軸66で天板52に回転自在に装着している
An idler gear 65 that meshes with the ribbon feed gear 63 is rotatably mounted on the top plate 52 via a shaft 66.

また、天板52の下面には、略し字状の揺動レバー67
をスタッド68で揺動自在に装着し、この揺動レバー6
7の各先端部には、アイドラギヤ6Sと噛合可能な小径
のギヤ70を一体的に固着したプーリ71を軸72で回
転自在に装着すると共に、またアイドラギヤ65と噛合
可能な大径のギヤ7!1を一体的に固着したプーリ71
と同径のプーリ74を軸75で回転自在に装着している
Further, on the lower surface of the top plate 52, a swing lever 67 in the shape of an abbreviation is provided.
is attached swingably with a stud 68, and this swing lever 6
A pulley 71 having a small-diameter gear 70 integrally fixed thereto that can mesh with the idler gear 6S is rotatably attached to each tip of the gear 7!, and a large-diameter gear 7! that can also mesh with the idler gear 65! 1 is integrally fixed to the pulley 71
A pulley 74 having the same diameter is rotatably mounted on a shaft 75.

なお、この場合、各ギヤ70.73を同径にしてプーリ
71.74の径を異にしてもよく、また各ギヤ70,7
:5及び各プーリ71.74の両者について径を異にし
てもよい。
In this case, each gear 70.73 may have the same diameter and the pulley 71.74 may have a different diameter, or each gear 70, 73 may have the same diameter.
:5 and each pulley 71, 74 may have different diameters.

また、各プーリ71.74には、ワイヤ42の相互接触
を回避するためのなだらかな上下二段の溝を形成しであ
る。
In addition, each pulley 71, 74 is formed with two gentle grooves, upper and lower, to prevent the wires 42 from coming into contact with each other.

そして、これ等の各プーリ71,74には、ワイヤ42
を左側からプーリ74の下側の溝を時計方向に回した後
、プーリ71の下側の溝に反時計方向に回し、このプー
リ71の巻回途中で下側の溝から上側の溝に移した後、
プーリ74の上側の溝に時計方向に回して右側に引出し
、プーリ71及びプーリ74が逆方向に回転するように
ワイヤ42をたすき掛けにしている。
A wire 42 is attached to each of these pulleys 71 and 74.
From the left side, turn the lower groove of the pulley 74 clockwise, then turn it counterclockwise to the lower groove of the pulley 71, and while the pulley 71 is winding, move it from the lower groove to the upper groove. After that,
The wire 42 is threaded across the groove on the upper side of the pulley 74 by turning it clockwise and pulling it out to the right, so that the pulley 71 and the pulley 74 rotate in opposite directions.

それによって、ワイヤ42が固定されているので、キャ
リッジ27が第7図で矢示Q方向(フォワード方向)に
移動するときには、ワイヤ42が矢示P方向に引かれた
と同じことになるため、プーリ71が実線矢印の方向、
プーリ74が破線矢印の方向に回転し、また揺動レバー
67が矢示R方向に揺動する。
As a result, since the wire 42 is fixed, when the carriage 27 moves in the direction of arrow Q (forward direction) in FIG. 71 is the direction of the solid arrow,
The pulley 74 rotates in the direction of the dashed arrow, and the swing lever 67 swings in the direction of the arrow R.

したがって、プーリ74の大径のギヤ73がアイドラギ
ヤ65と噛合い、そのギヤ73の実線矢印方向への回転
によってアイドラギヤ65が実線矢印方向に回転するの
で、リボンフィードギヤ63が実線矢印方向に回転する
Therefore, the large diameter gear 73 of the pulley 74 meshes with the idler gear 65, and the rotation of the gear 73 in the direction of the solid line arrow causes the idler gear 65 to rotate in the direction of the solid line arrow, so that the ribbon feed gear 63 rotates in the direction of the solid line arrow. .

また、キャリッジ27が矢示P方向(バックワード方向
)に移動するときには、ワイヤ42が矢示Q方向に引か
れたと同じことになるので、プーリ71が破線矢印の方
向、プーリ74が実線矢印の方向に各々回転し、また揺
動レバー67が矢示S方向に揺動する。
Furthermore, when the carriage 27 moves in the direction of arrow P (backward direction), it is the same as if the wire 42 were pulled in the direction of arrow Q, so the pulley 71 moves in the direction of the dashed arrow and the pulley 74 moves in the direction of the solid arrow. The swing lever 67 swings in the direction of arrow S.

それによって、プーリ71の小径のギヤ70がアイドラ
ギヤ6Sと噛合い、そのギヤ70の実線矢印方向への回
転によってアイドラギヤ65が実線矢印方向に回転する
ので、リボンフィードギヤ63が実線矢印方向に回転す
る。
As a result, the small diameter gear 70 of the pulley 71 meshes with the idler gear 6S, and the rotation of the gear 70 in the direction of the solid line arrow causes the idler gear 65 to rotate in the direction of the solid line arrow, so that the ribbon feed gear 63 rotates in the direction of the solid line arrow. .

このように、キャリッジ27がフォワード方向及びバッ
クワード方向のいずれの方向に移動するときにも、リボ
ンフィードギヤ63が実線矢印方向に回転し、リボンが
同方向にフィードされる。
In this manner, when the carriage 27 moves in either the forward direction or the backward direction, the ribbon feed gear 63 rotates in the direction of the solid arrow, and the ribbon is fed in the same direction.

ところで、このリボンフィード機構30によれば、パイ
ディレクショナル(両方向]印字をする     !と
きには、いずれの方向でもリボンフィードが行なわれる
が、一方向印字をするときには、特にフィルムリボンを
使用したときにリボン未使用のままりボンが送られてリ
ボンが無駄になる。
By the way, according to this ribbon feed mechanism 30, ribbon feeding is performed in either direction, but when performing unidirectional printing, especially when a film ribbon is used, the ribbon feed is performed in either direction. Ribbons are sent unused and ribbons are wasted.

そこで、一方向印字(フォワード方向のみの印字)のと
きには、このリボンフィード機構30がキャリッジ27
のバンクワード方向への移動時にリボンフィードを行な
わないようにするリボンフィードエスケープ機構を設け
ている。
Therefore, when performing unidirectional printing (printing only in the forward direction), this ribbon feed mechanism 30
A ribbon feed escape mechanism is provided to prevent ribbon feeding when the ribbon moves in the bank word direction.

このリボンフィードエスケープ機構は、スタッド68に
回動自在に装着し、一端に揺動レバー67に係合可能な
爪77aを形成した略り字状のエスケープレバーフ7と
、このエスケープレバー77を揺動レバー68の揺動を
許可する図示の退避位置に付勢するばね78と、そのエ
スケープレバー77の他端を吸引可能なエスケープマグ
ネット79とからなる。
This ribbon feed escape mechanism includes an abbreviated escape lever 7 that is rotatably mounted on a stud 68 and has a claw 77a at one end that can be engaged with the swing lever 67, and a It consists of a spring 78 that biases the movable lever 68 to the illustrated retracted position that allows it to swing, and an escape magnet 79 that can attract the other end of the escape lever 77.

そして、このリボンフィードエスケープ機構は。And this ribbon feed escape mechanism.

バイディレクショナル(両方向)印字時には、エスケー
プマグネット7日が非作動にされて、ばね78によって
エスケープレバー77が図示の退避位置に位置して、揺
動レバー67の揺動を許可して、前述したようにキャリ
ッジ27のいずれの方向の移動によっても同方向にリボ
ンフィードを行なわせる。
During bidirectional printing, the escape magnet 7 is deactivated, and the spring 78 positions the escape lever 77 in the retracted position shown, allowing the swing lever 67 to swing as described above. In this way, the ribbon is fed in the same direction by moving the carriage 27 in any direction.

これに対して、一方向印字時には、キャリッジ27が矢
示P方向に移動するときに、エスケープマグネット7日
が作動させられ、エスケープレバー77かばね78の付
勢力に抗して実線矢印方向に回動し、その爪77、によ
って揺動レバー67の矢示S方向への所定以上の揺動を
規制する。
On the other hand, during unidirectional printing, when the carriage 27 moves in the direction of arrow P, the escape magnet is activated and rotates in the direction of the solid line arrow against the biasing force of the escape lever 77 or spring 78. The claw 77 restricts the swinging lever 67 from swinging in the direction of arrow S beyond a predetermined value.

それによって、揺動レバー67は、ブーリフ4のギヤ7
3及びプーリ71のギヤ70がいずれもアイドラギヤ6
Sと噛合わない図示の中立位置に保持され、リボンフィ
ードギヤ63が回転しないので、リボンがフィードされ
ない。
Thereby, the swing lever 67 is moved to the gear 7 of the boolean 4.
3 and the gear 70 of the pulley 71 are both idler gears 6.
Since the ribbon feed gear 63 is held at the illustrated neutral position where it does not mesh with S, and the ribbon feed gear 63 does not rotate, the ribbon is not fed.

このようにして、一方向印字時には、キャリッジ27の
反対方向の移動時にはリボンフィードを行なわない。
In this way, during unidirectional printing, ribbon feeding is not performed when the carriage 27 moves in the opposite direction.

次に、このプリンタにおけるフォントカセットの構成に
ついて説明する。
Next, the configuration of the font cassette in this printer will be explained.

まず、このプリンタには、第7図に示すように操作パネ
ル4の裏面に設けたカセットホルダ48に、フォントカ
セット81を装填する。
First, in this printer, a font cassette 81 is loaded into the cassette holder 48 provided on the back side of the operation panel 4, as shown in FIG.

このフォントカセット81は、第8図に示すようにカセ
ットケース82及びカセットボード8!1からなるケー
ス内のカセットボード83上にボード84を固定し、こ
のボード84上に、ROMあるいはRAM等の記憶素子
85.85を取付けると共に、プリンタ本体のカセット
ホルダ48の下面に設けたコネクタ4日に挿着するコネ
クタ87を取付け、また記憶素子が揮発性のときにはバ
ックアップ用電池88を取付けてなる。
This font cassette 81 has a board 84 fixed on a cassette board 83 in a case consisting of a cassette case 82 and a cassette board 8!1, as shown in FIG. In addition to attaching the elements 85 and 85, a connector 87 that is inserted into the connector 4 provided on the lower surface of the cassette holder 48 of the printer body is attached, and a backup battery 88 is attached when the memory element is volatile.

その記憶素子85.85には、各種書体の文字パターン
情報及び格納している書体に関する印字形態に関する情
報を含む各種の情報(フォント識別情報)を格納してい
る。その詳細は後述する。
The storage elements 85.85 store various types of information (font identification information) including character pattern information of various fonts and information regarding printing forms related to the stored fonts. The details will be described later.

第9図は、このプリンタの制御部を示すブロック図であ
る。
FIG. 9 is a block diagram showing the control section of this printer.

プリンタコントローラ100は、このプリンタ全体の制
御を司る回路であり、インタフェース(I/F)コネク
タ101を介してホストシステム側と接続され、ホスト
システム側からの文字コードデータ、キャリッジ移動デ
ータ、ラインフィードデータ等の各種のI/Fデータを
授受する。
The printer controller 100 is a circuit that controls the entire printer, and is connected to the host system side via an interface (I/F) connector 101, and receives character code data, carriage movement data, and line feed data from the host system side. Exchange various I/F data such as

また、このプリンタコントローラ100は、コネクタ1
02及びケーブル104を介して操作パネル4のコネク
タ105と接続され、操作パネル4に付設した各種のパ
ネルスイッチの状態信号を授受すると共に、操作パネル
4に付設した各種表示器の点灯制御信号を送出する。
Further, this printer controller 100 has a connector 1
02 and a connector 105 of the operation panel 4 via a cable 104, and sends and receives status signals of various panel switches attached to the operation panel 4, and sends out lighting control signals for various indicators attached to the operation panel 4. do.

なお、この操作パネル4は、各種パネルスイッチ105
及び表示器106と、これ等のバネルスインチ105及
び表示器106とプリンタコントローラ100との間で
送受する信号をラッチするラッチ107とを備えている
Note that this operation panel 4 includes various panel switches 105.
and a display 106 , and a latch 107 that latches signals transmitted and received between the panel inch 105 and display 106 and the printer controller 100 .

さらに、このプリンタコントローラ100は、操作パネ
ル4を介して操作パネル4のカセットホルダ48に装填
されてそのコネクタ4日に挿着されるフォントカセット
81A、フォントカセット      !81Bからの
パターン情報を取込む。
Furthermore, this printer controller 100 has a font cassette 81A, a font cassette!, which is loaded into the cassette holder 48 of the operation panel 4 via the operation panel 4 and inserted into the connector 4. Takes in pattern information from 81B.

なお、そのフォントカセット81Aは、パターン情報等
をROM85Aに格納したものであり。
Note that the font cassette 81A stores pattern information and the like in the ROM 85A.

操作パネル4のコネクタ4日に挿着可能なコネクタ87
Aを備えている。
Connector 87 that can be inserted on the connector 4 of the operation panel 4
It has A.

また、フォントカセット81Bは、パターン情報等を電
池88でバックアップしたRAM95Bに格納したもの
であり、操作パネル4のコネクタ4日に挿着可能なコネ
クタ87Bを備えている。
The font cassette 81B stores pattern information and the like in a RAM 95B backed up by a battery 88, and includes a connector 87B that can be inserted into the connector 4 of the operation panel 4.

次に、このプリンタコントローラ100の構成について
説明する。
Next, the configuration of this printer controller 100 will be explained.

マスタ・マイクロプロセッサ111は、このプリンタの
制御の内のホストシステム側からのI/Fデータの処理
、操作パネル4の制御、プリントヘッド28の制御、各
種センサの監視等スペースドライブ及びラインフィード
ドライブ以外の制御を司る。
The master microprocessor 111 is responsible for processing I/F data from the host system side, controlling the operation panel 4, controlling the print head 28, monitoring various sensors, etc. other than the space drive and line feed drive. Controls the

すなわち、このマスク・マイクロプロセッサ111は、
バスドライバ112を介してパスラインに接続され、ホ
ストシステム側からI10ポート113に取込まれた各
種データ、操作パネル4からの操作情報、各種センサか
らの検出信号、フォントカセット81A、81Bからの
フォント識別情報及びパターン情報等を読込んで、内部
ROM及びプログラムメモリ115に格納したプログラ
ムに基づいて処理し、この処理結果に応じて各種の制御
をする。
That is, this mask microprocessor 111 is
Various data connected to the pass line via the bus driver 112 and imported from the host system to the I10 port 113, operation information from the operation panel 4, detection signals from various sensors, and fonts from the font cassettes 81A and 81B. Identification information, pattern information, etc. are read and processed based on programs stored in the internal ROM and program memory 115, and various controls are performed according to the processing results.

例えば、このマスク・マイクロプロセッサ111は、ホ
ストシステム側からの印字データを。
For example, this mask microprocessor 111 receives print data from the host system.

各々パターン情報格納手段である基本パターン情報を格
納したROMll5.フォントカセット81A又は81
B、パターン情報を格納した外付けのバッテリ116で
バックアップしたRAMIIフ(以下これ等を「キャラ
クタジェネレータCGJと総称する)を使用してイメー
ジデータに変換し。
ROM115, which stores basic pattern information, each serving as a pattern information storage means. Font cassette 81A or 81
B. Converting pattern information into image data using a RAM II file backed up by an external battery 116 (hereinafter collectively referred to as "character generator CGJ").

データバッファ118上に展開する。It is developed on the data buffer 118.

なお、外付けRAM117は、ホストシステム側から転
送されるパターン情報を格納(ダウンロード)するもの
であり、これによって特殊な文字を使用する場合にも容
易に対応することができるようにしている。
Note that the external RAM 117 stores (downloads) pattern information transferred from the host system side, so that it can easily handle cases where special characters are used.

同様に、フォントカセットとしてバッテリバックアップ
のRAMあるいは電気的に書替え可能なROM (EE
PROM)等を使用した場合には、フォントカセットに
ホストシステム側からパターン情報をダウンロードする
ことによって、特殊文字等を容易に印字することができ
る。
Similarly, font cassettes can be stored in battery-backed RAM or electrically rewritable ROM (EE
When using a font cassette (PROM), special characters, etc. can be easily printed by downloading pattern information from the host system to the font cassette.

また、このマスク・マイクロプロセッサ111は、デー
タバッファ118上に1ライン分のイメージデータを展
開したときにデータバッファ118上に展開したイメー
ジデータを読出し、I10ポート120に転送してヘッ
ドドライバ121゜122を制御し、プリントヘッド2
8の各ビン(印字素子)を駆動制御する。
Furthermore, when one line of image data is developed on the data buffer 118, the mask microprocessor 111 reads out the image data developed on the data buffer 118, transfers it to the I10 port 120, and transfers it to the head driver 121, 122. and print head 2
Each of the 8 bins (printing elements) is driven and controlled.

さらに、このマイクロプロセッサ111は、一方向印字
か両方向印字かに応じてI10ポート120を介してマ
グネットドライバ123を制御し。
Furthermore, this microprocessor 111 controls the magnet driver 123 via the I10 port 120 depending on whether unidirectional printing or bidirectional printing is performed.

前述したリボンエスケープマグネット7日の駆動制御を
する。
Controls the drive of the ribbon escape magnet 7 described above.

また、このマスク・マイクロプロセッサ111は、I1
0ボート120に入力されるプリントヘッド2日に設け
たヘッド温度検知用サーミスタ2BAI リボンエンド
センサ56.ペーパエンドセンサ46及び前述の説明で
は図示を省略したカバーオープンスイッチ124等の各
種センサからの検出信号を入力して、これ等の検出結果
に基づいて例えばプリントヘッド28のドライブ時間の
制御(温度制御ン、操作パネル4に設けた各種表示器の
点灯制御、プリンタ動作停止・再開制御等をする。
Further, this mask microprocessor 111 is I1
Thermistor 2BAI for head temperature detection provided on the 2nd day of the print head input to the 0 boat 120 Ribbon end sensor 56. Detection signals from various sensors such as the paper end sensor 46 and the cover open switch 124 (not shown in the above description) are input, and based on these detection results, for example, the drive time of the print head 28 is controlled (temperature control It controls the lighting of various indicators provided on the operation panel 4, stops and restarts printer operation, etc.

さらに、このマスク・マイクロプロセッサ111は、ホ
ストシステム側からのキャリッジ移動データ、ラインフ
ィードデータ等に基づいてキャリッジ移動量及び移動方
向を示すキャリッジ移動データ及び紙送り量及び送り方
向を示す紙送りデータを生成して、スレーブ・マイクロ
プロセッサ125に送出する。
Furthermore, this mask microprocessor 111 generates carriage movement data indicating the amount and direction of carriage movement and paper feed data indicating the amount and direction of paper feed based on carriage movement data, line feed data, etc. from the host system side. and sends it to slave microprocessor 125.

このスレーブ・マイクロプロセッサ125は。This slave microprocessor 125.

マスク・マイクロプロセッサ111からの紙送りデー7
.Jづい−Cうイ、2イートドうイバ126     
′を制御してラインフィードモータ13を駆動制御し、
プラテン12を回動制御して紙送りを行なう。
Paper feed day 7 from mask microprocessor 111
.. J Tsui-C Ui, 2 Eat Do Uiba 126
' to drive and control the line feed motor 13,
The platen 12 is rotationally controlled to feed the paper.

また、このスレーブ・マイクロプロセッサ12Sは、マ
スク・マイクロプロセッサ111からのキャリッジ移動
データに基づいてスペースドライバ127を制御してス
ペースモータ32を駆動制御し、キャリッジ27を所要
の位置に移動する。
The slave microprocessor 12S also controls the space driver 127 based on the carriage movement data from the mask microprocessor 111 to drive and control the space motor 32 to move the carriage 27 to a desired position.

次に、このように構成したこの実施例の作用について第
10図以降をも参照して説明する。
Next, the operation of this embodiment configured as described above will be explained with reference to FIG. 10 and subsequent figures.

まず、フォントカセット81の記憶素子85に格納する
情報について説明する。
First, information stored in the storage element 85 of the font cassette 81 will be explained.

このフォントカセット81の記憶素子85には。In the memory element 85 of this font cassette 81.

第10図(イ)に示すように、フォント識別情報及び文
字情報を格納する。
As shown in FIG. 10(a), font identification information and character information are stored.

そのフォント識別情報は、該フォントカセットに格納さ
れている書体数n1文字数m、第1書体〜第n書体の各
文字情報エリアの先頭アドレスを示す第1書体先頭アド
レス〜第n書体先頭アドレス、第1書体〜第n書体の各
々の印字形態を示す第1書体印字ピッチ・印字密度〜第
n書体印字ピッチ・印字密度とからなる。
The font identification information includes the number n of fonts and the number m of characters stored in the font cassette, the first font start address to the nth font start address indicating the start address of each character information area of the first font to nth font, It consists of a first font printing pitch/printing density to an nth font printing pitch/printing density indicating the printing form of each of the first font to the nth font.

また1文字情報は、第1書体〜第nlF体の文字情報か
らなり、各々第10図(ロ)に示すように格納文字情報
及びパターン情報からなる。なお。
Further, one character information is composed of character information of the first to nlF fonts, each of which is composed of stored character information and pattern information, as shown in FIG. 10 (b). In addition.

図中及び説明では、r第i書体」は第1書体〜第n書体
のいずれかの書体を意味するものとする。
In the drawings and description, "r-th font" means any one of the first font to n-th font.

その文字情報の内の格納文字情報は、第i書体の各文字
について先頭Low (ロー)アドレス。
The stored character information in the character information is the starting Low address for each character of the i-th font.

先頭High (ハイ)アドレス、左空白列数LC(レ
フト・カラム・ナンバー)、データ列数DC(データ・
カラム・ナンバー)、右空白列数RC(ライト・カラム
・ナンバー)とからなる。
Start High address, number of left blank columns LC (left column number), number of data columns DC (data
column number) and right blank column number RC (right column number).

このように、格納文字情報は、1文字について5バイト
のデータであり1例えば226文字を格納するとした場
合には、226x5=1130バイトになる。
In this way, the stored character information is 5 bytes of data for one character, and if, for example, 226 characters are to be stored, the information will be 226x5=1130 bytes.

また、パターン情報は、第i書体についての各文字のパ
ターン情報からなり、例えば226文字分の情報が格納
される。
Further, the pattern information consists of pattern information of each character for the i-th font, and for example, information for 226 characters is stored.

なお、この第10図に示す格納例では、ハートマークが
第i書体の先頭文字パターンであり、黒塗り四角が末尾
文字パターンであるが、これに限るものではない。
In the storage example shown in FIG. 10, the heart mark is the first character pattern of the i-th font, and the black square is the last character pattern, but the present invention is not limited to this.

また、各種書体における文字「@Jのパターンの一例(
印字出力例)を第11図乃至第15図に示しである。
In addition, an example of the pattern of the character "@J" in various typefaces (
Printout examples) are shown in FIGS. 11 to 15.

第11図は、書体r Let、ter  Gothic
 10 Jの例であり、総列数TC(トータル・カラム
)=18、LC=4.DC=11.RC=3である。
Figure 11 shows the typeface r Let, ter Gothic.
10 J, the total number of columns TC (total columns) = 18, LC = 4. DC=11. RC=3.

第12図は、lF体r Letter  Gothic
 12 Jの例であり、TC=15.LC=2.DC=
11゜RC=2である。
Figure 12 shows the IF body r Letter Gothic
12 J and TC=15. LC=2. DC=
11°RC=2.

第13図は、書体r Courier  10 Jの例
であり、TC=36.LC=7.DC=23.・RC=
6である。
FIG. 13 is an example of the typeface r Courier 10 J, where TC=36. LC=7. DC=23.・RC=
It is 6.

第14図は、書体r P restige  E 1i
te  12 Jの例であり、TC=30.LC=4.
DC=22゜RC=4である。
Figure 14 shows the typeface r P restige E 1i.
This is an example of te 12 J and TC=30. LC=4.
DC=22°RC=4.

第15図は、lF体rBold  Face  P、 
SJの例であり、TC=7X6=42.、LC=9.D
C=26.RC=7である。なお、この場合の総列数T
Cは1文字によって異なり、TC=ユニツ1ト数×6で
あって、この例ではユニット数=7である。
FIG. 15 shows IF body rBold Face P,
This is an example of SJ, TC=7X6=42. , LC=9. D
C=26. RC=7. In addition, the total number of columns T in this case
C varies depending on one character, and TC=number of units×6, and in this example, number of units=7.

次に、このような文字パターン情報の記憶素子への格納
形式、すなわちキャラクタジェネレータCGのへ印字パ
ターン情報の格納形式について第16図乃至第1S図を
参照して説明する。
Next, the storage format of such character pattern information in the storage element, that is, the storage format of the print pattern information in the character generator CG will be explained with reference to FIGS. 16 to 1S.

まず、印字パターンは、第16図に示すようにデータ列
数DC=11列で1列が24ドツトのパターンであると
する。
First, assume that the printing pattern is a pattern in which the number of data columns DC=11 and each column has 24 dots, as shown in FIG.

このとき、プリントヘッド28を、第17図に示すよう
に各ピン(印字素子)1〜24を奇数番印字素子(ピン
)列POと偶数番印字素子(ピン)列PEとに二列に分
割して千鳥状に配置しているときには、第18図に示す
ような格納形式で格納する。
At this time, the print head 28 is divided into two rows, each pin (printing element) 1 to 24 being an odd-numbered printing element (pin) row PO and an even-numbered printing element (pin) row PE, as shown in FIG. When they are arranged in a staggered manner, they are stored in a storage format as shown in FIG.

すなわち、この第18図に示す格納形式は、第16図に
示す文字パターン(データ列数DC=11)について、
第1列(24ドツト)の第11.+3.5,7,9,1
1,13,15行を第1バイト、第17.19,21,
23,18,20゜22.24行を第2バイト、第2.
4,6,8゜10.12,14.16行を第3バイト(
第2列〜第11列についても同様)というように格納す
る形式である。
That is, the storage format shown in FIG. 18 is for the character pattern (number of data columns DC=11) shown in FIG.
11th in the first row (24 dots). +3.5,7,9,1
1st byte for lines 1, 13, 15, 17th, 19th, 21st,
23, 18, 20° 22.24 rows as 2nd byte, 2nd.
4, 6, 8゜10.12, 14.16 lines as 3rd byte (
The same applies to columns 2 to 11).

このように、この第18図に示す格納形式は。In this way, the storage format shown in FIG.

各列について第1行から第24行までを奇数行と偶数行
(奇数番印字素子列と偶数番印字素子列)とに分割し、
奇数行及び偶数行を各々8ビツト(1バイト)毎に−ま
とめに(ブロック化)し、奇数行及び偶数行の各残部4
ビツトについては併せて8ビツト(1バイト)として格
納する。
For each column, the 1st to 24th rows are divided into odd-numbered rows and even-numbered rows (odd-numbered printing element columns and even-numbered printing element columns),
The odd-numbered rows and even-numbered rows are grouped (blocked) by 8 bits (1 byte) each, and the remaining 4 of each of the odd-numbered rows and even-numbered rows are
The bits are stored as 8 bits (1 byte).

このようにすることにより、例えば奇数印字素子列に対
応する印字パターン情報(1,5バイト)を読出してそ
のままデータバッファに格納し、また偶数印字素子列の
印字パターン情報(1,5バイト)を読出してそのまま
データバッファに格納すればよく、読出した印字パター
ン情報の編集(並び換え)は不要になり、処理が極めて
簡単になって処理速度が速くなるので、印字速度も高速
になる。
By doing this, for example, the print pattern information (1, 5 bytes) corresponding to the odd-numbered print element rows is read out and stored as is in the data buffer, and the print pattern information (1, 5 bytes) corresponding to the even-numbered print element rows is read out and stored as is in the data buffer. It is sufficient to read the information and store it in the data buffer as it is, and there is no need to edit (rearrange) the read print pattern information, making processing extremely simple and increasing the processing speed, thereby increasing the printing speed.

また、プリントヘッド28を、第1911に示すように
各印字素子を3列(印字素子列PH,〜PHa)に千鳥
状に配置したときには、第20図に示すような格納形式
で格納する。
Further, when the print head 28 is arranged in a staggered manner in which each printing element is arranged in three rows (printing element rows PH, to PHa) as shown in FIG. 1911, the print head 28 is stored in a storage format as shown in FIG.

すなわち、この第20図に示す格納形式は、第16図に
示す文字パターン(データ列数DC=11)について、
第1列(24ドツト)の第1゜4.7,10,13,1
6,19.22行を第1バイト、第2.5,8,11,
14,17,20゜23行を第2バイト、第3,6,9
,12,15゜18.21,24行を第3バイト(第2
列〜第11列についても同II)というように格納する
形式である。
That is, the storage format shown in FIG. 20 is for the character pattern shown in FIG. 16 (number of data columns DC=11).
1st column (24 dots) 1st degree 4.7, 10, 13, 1
6, 19. Line 22 is the 1st byte, 2. 5, 8, 11,
14, 17, 20゜ 23rd line is the 2nd byte, 3rd, 6th, 9th
, 12, 15° 18. 21, 24 lines to 3rd byte (2nd
Column to column 11 are also stored in the same format II).

このように、この第20図に示す格納形式でも各印字素
子列PH,〜PH3毎にブロック化して格納している。
In this way, even in the storage format shown in FIG. 20, each print element row PH, to PH3 is stored in blocks.

なお、プリントヘッドの印字素子列数が4列以上になっ
たときにも同様にブロック化して格納すればよい。
Note that even when the number of printing element rows of the print head is four or more, it is sufficient to similarly store them in blocks.

次に、フォントカセットに格納している印字形態に関す
る情報(印字ピッチ・印字密度)について第21図乃至
第25図を参照して説明する。
Next, information regarding the printing form (printing pitch, printing density) stored in the font cassette will be explained with reference to FIGS. 21 to 25.

まず、プリントヘッド28の画素形成手段(印字素子=
印字ピン)の最大応答周波数をf  (Hz)(繰返し
周期T秒)、印字画素の密度(分解能=印字密度)をD
 (++us)とした場合、各印字素子を印字密度り毎
に駆動する方法と、各印字素子毎に駆動を印字密度りの
整数1倍で間引いて印字ピッチP=/D(ms)で行な
う方法とがある。前者は、後者の/=lの場合とみなす
ことができる。
First, the pixel forming means (printing element=
The maximum response frequency of the printing pin (printing pin) is f (Hz) (repetition period T seconds), and the density of printing pixels (resolution = printing density) is D.
(++us), one method is to drive each printing element for each printing density, and the other is to thin out the drive for each printing element by an integer times the printing density and perform the printing pitch P = /D (ms). There is. The former case can be regarded as the latter case where /=l.

そして、印字品質を保ちつつ、しかも出来る限り高速で
印字するときには、印字密度りをできるだけ小さく、シ
かも整数lを#==2.3・・・と適当な間隔で間引く
ことによって1分解能が細かく。
When printing as fast as possible while maintaining print quality, the print density can be kept as low as possible, and the integer l may be thinned out at appropriate intervals such as #==2.3, so that the resolution can be finely reduced. .

しかも高速印字が実現できる。Moreover, high-speed printing can be achieved.

このとき、キャリッジの移動速度V(■膳/s)は。At this time, the moving speed of the carriage V (■ set/s) is.

V=P/T==J? −D/T で決められる。V=P/T==J? -D/T It can be determined by

すなわち、印字密度りを小さくすることによって分解能
は繕かくなり、整数lを2以上の値にすることによって
キャリッジの速度、すなわち印字速度が高速になる。
That is, by reducing the printing density, the resolution becomes finer, and by setting the integer l to a value of 2 or more, the carriage speed, that is, the printing speed, becomes faster.

第21図乃至第25図は、異なる印字形態の一例を示し
たものである。
FIGS. 21 to 25 show examples of different printing forms.

第21図は、超高速印字の例であり、印字密度I)1 
=1/180’ 、11 =3+印字ピッチP。
Figure 21 is an example of ultra-high-speed printing, with printing density I) 1
= 1/180', 11 = 3 + printing pitch P.

”3Dt=1/60’として、キャリッジ移動速度V 
I= 1 / 60 T (inch/5ee)で印字
するものである。
Assuming "3Dt=1/60", carriage movement speed V
It prints at I=1/60T (inch/5ee).

第22図は、高速印字の例であり、印字密度D2 =1
/180’ 、J2 =2.印字ピッチp2=2D2=
1/90’として、キャリッジ移動速度V 2 = 1
 / 90 T (inch/ 5ec)で印字したも
のである。
Figure 22 is an example of high-speed printing, with printing density D2 = 1
/180', J2 =2. Print pitch p2=2D2=
As 1/90', carriage movement speed V 2 = 1
/90T (inch/5ec).

第23図は、普通印字の例であり、印字密度D3 =1
/180’ 、13 =1.印字ピッチP3=ID3=
1/180’として、キャリッジ移動速度V3 = 1
 / 180 T (inch/5ec)で印字する 
     !ものである。
Figure 23 is an example of normal printing, where the printing density D3 = 1
/180', 13 =1. Print pitch P3=ID3=
As 1/180', carriage movement speed V3 = 1
/ Print at 180 T (inch/5ec)
! It is something.

第24図は、高中凸印字の例であり、印字密度D4 =
 1/360’ 、 114 =2.印字ピッチP4=
2DJ=1/180’として、キャリッジ移動速度V4
 = l / l 80 T (inch/5ec)で
印字するものである。
FIG. 24 is an example of high-medium convex printing, and the printing density D4 =
1/360', 114 =2. Print pitch P4=
2DJ = 1/180', carriage movement speed V4
= l / l 80 T (inch/5ec).

第25図は、超高中凸印字の例であり、印字密度D5 
=1/360’ 、j5 =1.印字ピッチP s =
 I D s = 1 / 360 ’として、キャリ
ッジ移動速度Vs= 1 / 360 T (inch
/5ac)で印字するものである。
Figure 25 is an example of ultra-high medium convex printing, with printing density D5
=1/360', j5 =1. Print pitch P s =
As I D s = 1/360', carriage movement speed Vs = 1/360 T (inch
/5ac).

このように、フォントカセットに超高速印字。In this way, ultra-high speed printing is possible on font cassettes.

高速印字、普通印字、高中凸印字、超高印品印字等の印
字形態に関する情報、ここでは印字密度及び印字ピッチ
を格納しておくことによって、その情報に基づいて印字
制御を行なうことによって。
By storing information regarding printing forms such as high-speed printing, normal printing, high-medium convex printing, and ultra-high printing quality printing, in this case, printing density and printing pitch, and performing printing control based on this information.

フォントカセットを交換するだけで容易に各種の印字形
態で印字することができる。
You can easily print in various printing formats by simply replacing the font cassette.

次に、マスタ・マイクロプロセッサ111による印字制
御を第26図以降を参照して説明する。
Next, printing control by the master microprocessor 111 will be explained with reference to FIG. 26 and subsequent figures.

第26図は、マイクロプロセッサ111の印字制御処理
を機能的に示す機能ブロック図である。
FIG. 26 is a functional block diagram functionally showing print control processing of the microprocessor 111.

バッファ入力コントロール部111Aは、I10ボート
113を介して入力されるI/Fデータ(文字データ等
)を処理してキャラクタジェネレータCGを制御し1文
字パタごン情報(イメージデータ)をデータバッファ(
リングバッファ)118に格納制御する処理をする。
The buffer input control unit 111A processes I/F data (character data, etc.) input via the I10 port 113, controls the character generator CG, and inputs one character pattern information (image data) into the data buffer (
(ring buffer) 118.

バッファ出力コントロール部111Bは、データバッフ
ァ118に格納したイメージデータを読出して、プリン
トヘッド28の印字素子を駆動制御する処理等をする。
The buffer output control unit 111B reads out the image data stored in the data buffer 118 and performs processes such as driving and controlling the printing elements of the print head 28.

フォント識別レジスタ111Cは、キャラクタジェネレ
ータCGからの各種フォント識別情報を格納するレジス
タである。
The font identification register 111C is a register that stores various font identification information from the character generator CG.

キャリッジコントロール部111Dは、スペースモータ
32を駆動制御するためのキャリッジ移動データを生成
してスレーブ・マイクロプロセッサ125に送出する処
理をする。
The carriage control unit 111D generates carriage movement data for driving and controlling the space motor 32 and sends it to the slave microprocessor 125.

印字スタートポインタPT2は、第27図に示すように
印字スタート位置を示すポインタである。
The print start pointer PT2 is a pointer indicating the print start position as shown in FIG.

印字エンドポインタPT3は、第27図に示すように印
字エンド位置を示すポインタである。
The print end pointer PT3 is a pointer that indicates the print end position as shown in FIG.

キャリッジ現在ポインタPTIは、第27図に示すよう
にキャリッジ2フの現在位置、すなわちプリントヘッド
28の現在位置を示すポインタである。
The carriage current pointer PTI is a pointer that indicates the current position of the carriage 2f, that is, the current position of the print head 28, as shown in FIG.

現在付格納方向フラグT2は、データバッファ118に
格納している現在行のイメージデータの格納方向を示す
フラグである。
The current storage direction flag T2 is a flag indicating the storage direction of the current row of image data stored in the data buffer 118.

印字方向フラグTIは、現在の印字方向を示すフラグで
ある。
The printing direction flag TI is a flag indicating the current printing direction.

演算部111Eは、印字スタートポインタPT2と印字
エンドポインタPT3とを読出して、センタポインタP
T4= (PT2+PT3)/2を演算する。
The calculation unit 111E reads the print start pointer PT2 and the print end pointer PT3, and sets the center pointer P.
Calculate T4=(PT2+PT3)/2.

比較部111Fは、演算部111Eで算出したセン」ポ
インタPT4とキャリッジ現在ポインタPTIとを比較
して印字方向を決定し、この決定結果に応じて印字方向
フラグT1をセットする。
The comparison unit 111F determines the print direction by comparing the center pointer PT4 calculated by the calculation unit 111E with the carriage current pointer PTI, and sets the print direction flag T1 according to the determination result.

比較部111Gは、現在付格納方向フラグT2と印字方
向フラグT1とを比較して、データバッファ(リングバ
ッファ)118への次行のイメージデータの格納方向を
決定し、この決定結果に応じてバッファ入力コントロー
ル部111Aにとって次行格納方向フラグとなると共に
バッファ出力コントロール部11Bにとって出力方向フ
ラグとなるフラグT3をセットする。
The comparison unit 111G compares the current storage direction flag T2 and the printing direction flag T1, determines the storage direction of the next line of image data in the data buffer (ring buffer) 118, and adjusts the buffer according to this determination result. A flag T3 is set which serves as a next row storage direction flag for the input control section 111A and an output direction flag for the buffer output control section 11B.

次に、バッファ入力コントロール部111Aの処理につ
いて第28図を参照して説明する。
Next, the processing of the buffer input control section 111A will be explained with reference to FIG. 28.

まず、ホストシステム側からのI/Fデータが書体選択
データであれば、書体選択部PSEによってキャラクタ
ジェネレータCGのフォント識別情報格納エリアをアク
セスして、フォント識別情報を読出して、フォント識別
レジスタ111Cの各レジスタに格納させる。
First, if the I/F data from the host system side is font selection data, the font selection unit PSE accesses the font identification information storage area of the character generator CG, reads out the font identification information, and stores it in the font identification register 111C. Store it in each register.

すなわち、このキャラクタジェネレータから読出された
フォント情報の内、書体数nは書体数レジスタRnに、
第i書体先頭アドレス(ADR8)iは第i書体先頭ア
ドレスレジスタRAに、印字      !ピッチPは
印字ピッチレジスタRPに、印字密度りは印字密度レジ
スタRDに各々格納される。
That is, among the font information read from this character generator, the number n of fonts is stored in the font number register Rn.
The i-th font start address (ADR8) i is printed in the i-th font start address register RA! The pitch P is stored in a print pitch register RP, and the print density is stored in a print density register RD.

そこで、書体選択部PSEは、書体選択データで示され
る書体数とその書体数レジスタRnに格納された書体数
nとが一致したか否かを判別して。
Therefore, the font selection unit PSE determines whether the number of fonts indicated by the font selection data matches the number n of fonts stored in the font number register Rn.

一致するまで順次キャラクタジェネレータCGのフォン
ト識別情報格納エリアをアクセスする。
The font identification information storage area of the character generator CG is sequentially accessed until a match is found.

このようにして、フォント識別レジスタ111Cの各レ
ジスタには、指定された書体の書体数n。
In this way, each register of the font identification register 111C stores the number n of specified fonts.

第i書体先頭アドレス(ADR8)i、印字ピッチP、
印字密度りが格納される。
i-th font start address (ADR8) i, printing pitch P,
Print density is stored.

そして、ホストシステム側から文字X (Xは任意の文
字)を示す文字コードが入力されると、この文字コード
は文字コード/アドレス変換部CCCによってアドレス
データに変換される。
When a character code indicating the character X (X is any character) is input from the host system side, this character code is converted into address data by the character code/address conversion unit CCC.

そして、加算部ADDによってこの文字コード/アドレ
ス変換部CCCで変換されたアドレスとフォント識別レ
ジスタ111Cの第1書体先頭アドレスレジスタRAに
格納された第i書体先頭アドレス(ADR8)iとが加
算され、第i書体文字Xパターン情報先頭アドレスを格
納したアドレスデータが生成される。
Then, the adder ADD adds the address converted by the character code/address conversion unit CCC and the i-th font start address (ADR8) i stored in the first font start address register RA of the font identification register 111C, Address data storing the i-th font character X pattern information start address is generated.

それによって、この加算部ADDからのアドレスデータ
によって、キャラクタジェネレータCGの第i書体文字
Xパターン情報先頭アドレスを格納したアドレスがアク
セスされて、第i書体文字Xパターン情報先頭アドレス
データがパターンデータレジスタPDRに読出される。
As a result, the address in which the i-th font character X pattern information start address of the character generator CG is stored is accessed by the address data from the adder ADD, and the i-th font character is read out.

そして、このパターンデータレジスタPDRに格納され
た第i書体文字Xパターン情報先頭アドレスデータによ
って、キャラクタジェネレータCGがアクセスされて文
字Xのパターンデータの第1バイトのデータが読出され
る。
Then, the character generator CG is accessed by the i-th font character X pattern information start address data stored in the pattern data register PDR, and the data of the first byte of the pattern data of the character X is read out.

その後、このパターンデータレジスタPDRの第i書体
文字Xパターン情報先頭アドレスが後述するデータバッ
ファ入力アドレス管理部DBICによってインクリメン
ト(+1)されて(タイミングは後述)、第1書体文字
Xパターン情報アドレスが生成され、このアドレスデー
タによって再度キャラクタジェネレータCGがアクセス
され、文字Xのパターンデータの第2バイトのデータが
読出され、以後同様の処理が繰返し実行されて。
After that, the i-th font character The character generator CG is accessed again using this address data, and the second byte of the pattern data of character X is read out, and the same process is repeated thereafter.

文字Xの全パターンデータが読出される。All pattern data of character X is read out.

一方、ホストシステム側から文字コードが入力されたと
きには、それによって文字カウンタCCがインクリメン
ト(+1)され、この文字カウンタCCは1542分の
文字コードが入力されたときにカウントアツプする。
On the other hand, when a character code is input from the host system side, the character counter CC is incremented (+1), and this character counter CC counts up when 1542 character codes are input.

また、データバッファ入力アドレス管理部DBICは、
前述した比較部111Gの次行格納方向フラグT3.文
字カウンタCcのカウントアツプ信号及びフォントレジ
スタ111Cの印字密度レジスタRDからの印字密度り
を入力する。
In addition, the data buffer input address management unit DBIC,
The next row storage direction flag T3 of the comparison unit 111G mentioned above. The count-up signal of the character counter Cc and the print density from the print density register RD of the font register 111C are input.

そして、データバッファ118の入力アドレスを決定し
て、データバッファ入力アドレスレジスタBIARに転
送する。
Then, the input address of data buffer 118 is determined and transferred to data buffer input address register BIAR.

それによって、このデータバッファ入力アドレスレジス
タBrARにセットされたアドレスに。
Thereby, the address set in this data buffer input address register BrAR.

前述したようにキャラクタジェネレータCGから1バイ
ト毎に読出されるパターンデータが格納される。
As described above, pattern data read out byte by byte from the character generator CG is stored.

そして、データバッファ入力アドレス管理部DBICは
、文字カウンタCCからのカウントアツプ信号が入力さ
れるまでは、前述したパターンデータレジスタPDRの
インクリメント(+1)及びデータバッファ入力アドレ
スレジスタBIARのインクリメント(+1)又はデク
リメント(−■)を行なう。
The data buffer input address management unit DBIC increments (+1) the pattern data register PDR and increments (+1) the data buffer input address register BIAR until the count-up signal from the character counter CC is input. Decrement (-■).

それによって、キャラクタジェネレータCGから読出さ
れるパターンデータが1バイト毎に順次データバッファ
118の指定されたアドレスに格納される。
As a result, the pattern data read from the character generator CG is stored in the designated address of the data buffer 118 one byte at a time.

そして、文字カウンタCCがカウントアツプして1ライ
ン分のバターデータが格納されたときに。
Then, when the character counter CC counts up and one line of butter data is stored.

データバッファ入力アドレス管理部DBICは、再度次
行格納方向フラグT3をチェックして、同様の処理を行
なう。
The data buffer input address management unit DBIC checks the next row storage direction flag T3 again and performs the same process.

また、このデータバッファ入力アドレス管理部DBIC
は、現在行格納方向フラグT2.印字スタートポインタ
PT2.印字エンドポインタPT      、13、
バッファスタートアドレスBFI、バッファエンドアド
レスBF2をセットする。
In addition, this data buffer input address management unit DBIC
is the current row storage direction flag T2. Print start pointer PT2. Print end pointer PT, 13,
Set buffer start address BFI and buffer end address BF2.

なお、フォント識別レジスタ111cの印字ピッチレジ
スタRP及び印字密度レジスタRDに格納された印字ピ
ッチP及び印字密度りは、キャリッジコントロール部1
11Dのキャリッジ移動速度判断部Cvに送られ、キャ
リッジの移動速度が決定されて、この決定結果がスレー
ブ・マイクロプロセッサ125輸送出され、印字ピッチ
及び印字密度に応じた。すなわち印字形態に応じたキャ
リッジの移動制御が行なわれる。
Note that the print pitch P and print density stored in the print pitch register RP and print density register RD of the font identification register 111c are determined by the carriage control unit 1.
The moving speed of the carriage is determined by the carriage moving speed determination section Cv of 11D, and the determined result is sent to the slave microprocessor 125 in accordance with the printing pitch and printing density. That is, the movement of the carriage is controlled according to the printing form.

ここで、キャラクタジェネレータCGからの印字(文字
)パターン情報のデータバッファ118への格納制御に
ついて第29及び第30図を参照して総括的に説明する
Here, the storage control of print (character) pattern information from the character generator CG into the data buffer 118 will be comprehensively explained with reference to FIGS. 29 and 30.

まず、第29図に示すように、プリントヘッド28の奇
数番ビン(印字素子)280が文字rAJの所定位置、
偶数番ビン(印字素子)28Eが文字rBJの所定位置
にあるとした場合、CPU111は、キャラクタジェネ
レータCGから第18図に示すように格納した文字rA
Jの印字パターン情報及び文字「B」の印字パターン情
報を順次読出してデータバッファ118に格納し、奇数
番用I10ボート1200及び偶数番用I10ポート1
20Eを介してプリントヘッド28に出力して印字する
First, as shown in FIG.
When the even-numbered bin (printing element) 28E is at the predetermined position of the character rBJ, the CPU 111 prints the stored character rA from the character generator CG as shown in FIG.
The printing pattern information of J and the printing pattern information of the character "B" are sequentially read out and stored in the data buffer 118, and the I10 port 1200 for odd numbers and the I10 port 1 for even numbers are read out sequentially and stored in the data buffer 118.
It is output to the print head 28 via 20E and printed.

この場合、CPUI 11は、第30図に示すように、
奇数番印字素子列位置の印字パターン情報(1,5バイ
ト)を読出して、そのままデータバッファ118に格納
し、次に偶数番印字素子列位置の印字パターン情報(1
,5バイト)を読出してそのままデータバッファ118
に格納する。
In this case, the CPU 11, as shown in FIG.
The print pattern information (1, 5 bytes) at the odd-numbered print element row position is read out and stored as is in the data buffer 118, and then the print pattern information (1, 5 bytes) at the even-numbered print element row position is read out.
, 5 bytes) and directly transfers it to the data buffer 118.
Store in.

このように、キャラクタジェネレータCGには、プリン
トヘッドの各印字素子列毎に印字パターン情報をブロッ
ク化して格納しであるので、該当印字パターン情報を読
出してそのままデータバッファに格納すればよく、読出
しデータから奇数番印字素子用あるいは偶数番印字素子
用を選択して並び換えるという処理を行なわなくてもよ
い。
In this way, the character generator CG stores printing pattern information in blocks for each printing element row of the print head, so it is only necessary to read out the corresponding printing pattern information and store it as it is in the data buffer, and the readout data There is no need to perform a process of selecting and rearranging the odd-numbered printing elements or the even-numbered printing elements from among them.

したがって、データバッフへの格納処理を高速で行なう
ことができ、印字速度の高速化を図れる。
Therefore, the storage process in the data buffer can be performed at high speed, and the printing speed can be increased.

次に、データバッファ出力コントロール部111Bの処
理について第31図を参照して説明する。
Next, the processing of the data buffer output control section 111B will be explained with reference to FIG.

まず、スレーブ・マイクロプロセッサ125からキャリ
ッジ移動クロック割込み信号が入力されると、印字タイ
ミング制御部PTCから印字タインミグ信号がデータバ
ッファ出力アドレス管理部DBOCに出力される。
First, when a carriage movement clock interrupt signal is input from the slave microprocessor 125, a print timing signal is output from the print timing control section PTC to the data buffer output address management section DBOC.

このデータバッファ出力アドレス管理部DBOCは、前
述したデータバッファ入力コントロール部111Aによ
ってセットされる印字スタートポインタPT2.印字エ
ンドポインタPT3.バッファスタートアドレスBFI
、バッファエンドアドレスBF2と、前述した比較部1
11Gによってセットされる出力方向フラグ(次行格納
方向フラグ)T3と、フォント識別レジスタ111Cの
印字密度レジスタRDからの印字密度りとを読込む。
This data buffer output address management section DBOC uses the print start pointer PT2. Print end pointer PT3. Buffer start address BFI
, buffer end address BF2 and the above-mentioned comparison unit 1
The output direction flag (next line storage direction flag) T3 set by 11G and the print density from the print density register RD of the font identification register 111C are read.

そして、このデータバッファ出力アドレス管理部DBO
Cは、これ等の読込みデータに基づいてデータバッファ
118の出力アドレスを決定して、出力アドレスデータ
をデータバッファ出力アドレスレジスタBOARに送出
する。
This data buffer output address management unit DBO
C determines the output address of data buffer 118 based on these read data and sends the output address data to data buffer output address register BOAR.

それによって、このデータバッファ出力アドレスレジス
タBOARにセットされた出力アドレスデータによって
データバッファ118がアクセスされて、該当アドレス
のイメージデータが読出されて、印字タイミング制御部
PTCからのタインミング信号を受けるI10ポート1
20に転送され、そのイメージデータに応じてプリント
ヘッド28の印字ピンが駆動されて印字が行なわれる。
As a result, the data buffer 118 is accessed by the output address data set in the data buffer output address register BOAR, the image data at the corresponding address is read out, and the I10 port 1 receives the timing signal from the print timing control unit PTC.
The image data is transferred to the print head 20, and the print pins of the print head 28 are driven according to the image data to perform printing.

また、このデータバッファ出力アドレス管理部DBOC
は、データバッファ118からのイメージデータの読出
しに応じてキャリッジ現在ポインタPTIをセットする
In addition, this data buffer output address management unit DBOC
sets the carriage current pointer PTI in response to reading image data from data buffer 118.

次に、マスタ・マイクロプロセッサ111によるデータ
バッファ118の管理について第32図を参照して総合
的に説明する。
Next, the management of data buffer 118 by master microprocessor 111 will be comprehensively explained with reference to FIG.

まず、印字スタート命令が入力されると、第5行のセン
タポインタ(PTA)jを、            
!(PTA)j = ((PT2)j +(PT3)j
 ) /2の演算をして算出する。
First, when a print start command is input, the center pointer (PTA) j on the 5th line is
! (PTA)j = ((PT2)j + (PT3)j
) /2 calculation.

そして、算出したセンタポインタ(PTA)jとキャリ
ッジ現在ポインタ(PTI)jとを比較して、印字方向
を決定する。
Then, the calculated center pointer (PTA) j is compared with the carriage current pointer (PTI) j to determine the printing direction.

すなわち、(PTI)j≦(PTA)jであれば、現在
のキャリッジ位置が印字範囲の中心位置よりも左側に位
置することになるので、印字方向フラグ(TI)jを正
方向(フォワード方向)にセットし、(PTI)j≦(
PTA)jでなければ、現在のキャリッジ位置が印字範
囲の中心位置よりも右側に位置することになるので、印
字方向フラグ(TI)jを逆方向(バンクワード方向)
にセットする。
In other words, if (PTI)j≦(PTA)j, the current carriage position is located to the left of the center position of the printing range, so the printing direction flag (TI)j is set in the positive direction (forward direction). and (PTI)j≦(
If it is not PTA)j, the current carriage position will be located to the right of the center position of the printing range, so set the printing direction flag (TI)j in the opposite direction (bank word direction).
Set to .

このようにして、キャリッジの現在位置に応じて印字方
向を決定することによって、キャリッジを最短時間で印
字開始位置に位置させることができ、印字速度の向上を
図れる。
In this way, by determining the printing direction according to the current position of the carriage, the carriage can be positioned at the printing start position in the shortest possible time, and printing speed can be improved.

その後、現在行格納フラグ(T2)jと印字方向フラグ
(Tl)jとを比較して、データバッファ118に対す
るj行のイメージデータの格納方向を決定する。
Thereafter, the current row storage flag (T2) j and the print direction flag (Tl) j are compared to determine the storage direction of the image data of the j row in the data buffer 118.

すなわち、現在付格納方向フラグ(T2)j=印字方向
フラグ(Tl)jであれば、現在付格納方向と印字方向
とが一致しているので1次行格納方向フラグ(T3)j
を正方向にセットし、現在付格納方向フラグ(T2)j
=印字方向フラグ(Tl)jでなければ、現在付格納方
向と印字方向とが一致していないので1次行格納方向フ
ラグ(T3)jを逆方向にセットする。
In other words, if the current storage direction flag (T2)j=printing direction flag (Tl)j, the current storage direction and the printing direction match, so the primary row storage direction flag (T3)j
is set in the positive direction, and the current storage direction flag (T2) j
=Printing direction flag (Tl)j, since the current storage direction and printing direction do not match, the primary line storage direction flag (T3)j is set in the opposite direction.

そして、一方、バッファ入力コントロール処理において
は、次行格納方向フラグ(T3)jが正か否かを判別す
る。
On the other hand, in the buffer input control process, it is determined whether the next row storage direction flag (T3) j is positive or not.

このとき1次行格納方向フラグ(T3)jが正であれば
、j行の次の行(j+1行)のバッファスタートアドレ
ス(BFI)j+1をj行のバッファエンドアドレス(
BF2)jとする。
At this time, if the primary row storage direction flag (T3) j is positive, the buffer start address (BFI) j+1 of the row next to row j (row j+1) is set to the buffer end address (
BF2) Let it be j.

これに対して1次行格納方向フラグ(T3)jが正でな
ければ、j行の次の行(j+1行)のバッファスタート
アドレス(BFI)j+1をj行のバッファスタートア
ドレス(BFI)jとする。
On the other hand, if the primary row storage direction flag (T3) j is not positive, the buffer start address (BFI) j+1 of the row next to the j row (j+1 row) is set to the buffer start address (BFI) j of the j row. do.

その後、現在付格納方向フラグ(T2)jを次行格納方
向フラグ(T3)jと一致させた後、印字スタートポイ
ンタ(PT2)j+1.印字エンドポインタ(PT3)
j及びバッファエンドアドレス(BF2)jを算出する
After that, after making the current storage direction flag (T2) j match the next line storage direction flag (T3) j, the print start pointer (PT2) j+1. Print end pointer (PT3)
j and buffer end address (BF2) j.

他方、バッファ出力コントロール処理においては1次行
格納方向フラグでもある出力方向フラグ(T3)jが正
か否かを判別する。
On the other hand, in the buffer output control process, it is determined whether the output direction flag (T3) j, which is also the primary row storage direction flag, is positive.

このとき、出力方向フラグ(T3) jが正であれば、
データバッファ118のバッファスタートアドレス(B
FI)jからバッファエンドアドレス(BF2)jまで
を出力する。
At this time, if the output direction flag (T3) j is positive,
Buffer start address of data buffer 118 (B
FI)j to buffer end address (BF2)j.

これに対して、出力方向フラグ(T3)jが正でなけれ
ば、データバッファ118のバッファエンドアドレス(
BF2) jからバッファスタートアドレス(BFI)
jまでを出力する。
On the other hand, if the output direction flag (T3) j is not positive, the buffer end address (
BF2) Buffer start address (BFI) from j
Output up to j.

その後、印字方向フラグ(Tl)jが正か否かを判別す
る。
Thereafter, it is determined whether the printing direction flag (Tl)j is positive or not.

このとき、印字方向フラグ(TI)jが正であれば、印
字位置として印字スタートポインタ(PT2)jから印
字エンドポインタ(PT3)jまでをとって正方向印字
をし、j+1行のキャリッジ現在ポインタ(PTI)j
+1をj行の印字エンドポインタ(PT3)jとする。
At this time, if the printing direction flag (TI) j is positive, printing is performed in the forward direction by taking the print position from the print start pointer (PT2) j to the print end pointer (PT3) j, and then the carriage current pointer of line j+1 is set. (PTI)j
Let +1 be the print end pointer (PT3) j of the jth line.

これに対して、印字方向フラグ(Tl)jが正でなけれ
ば、印字位置として印字エンドポインタ(PT3)jか
ら印字スタートポインタ(PT2)jまでをとって逆方
向印字をし、j+1行のキャリッジ現在ポインタ(PT
I)j+1t−j行の印字スタートポインタ(PT2)
jとする。
On the other hand, if the printing direction flag (Tl) j is not positive, printing is performed in the reverse direction by setting the printing position from the print end pointer (PT3) j to the print start pointer (PT2) j, and the carriage moves to j+1 line. Current pointer (PT
I) Print start pointer for line j+1t-j (PT2)
Let it be j.

このようなバッファ入出力コントロールをすることによ
って、データバッファ118にはデ〜りがリング(環状
)構造で格納(入出力制御)される。
By performing such buffer input/output control, data is stored in the data buffer 118 in a ring structure (input/output control).

これを第33図及び第34図を参照して具体的に説明す
る。
This will be explained in detail with reference to FIGS. 33 and 34.

なお、第33図において1時間の経過は中心から外側に
向う方向とし、また時計方向を正方向。
In addition, in Fig. 33, the passage of one hour is defined as the direction outward from the center, and the clockwise direction is the positive direction.

反時計方向を逆方向とする。            
   。
The counterclockwise direction is the opposite direction.
.

また、第34図のrA、B、・・・」は印字結果を示し
ている。
Further, "rA, B, . . ." in FIG. 34 indicate the printing results.

さらに1両図中、二点鎖線はホストシステム側からのデ
ータを、実線はバッファ入力方向を、破線はバッファ出
力方向を示している。また、両図中の(イ)〜(ニ)は
対応している。
Furthermore, in both figures, the two-dot chain line indicates data from the host system side, the solid line indicates the buffer input direction, and the broken line indicates the buffer output direction. In addition, (a) to (d) in both figures correspond.

まず、ホストシステム側から転送されるデータは、常に
正方向、すなわちキャリッジをフォワード方向に移動し
て印字する方向に入力される。
First, data transferred from the host system side is always input in the forward direction, that is, in the direction in which the carriage is moved forward and printed.

そこで、両図(イ)に示すように1例えばデータバッフ
ァ118のアドレス■を最初のバッファスタートアドレ
スBFIとして、アドレス■から正方向にイメージデー
タを入力し1例えばバッファエンドアドレスBF2とな
るアドレス■まで格納する。
Therefore, as shown in both figures (A), 1, for example, the address ■ of the data buffer 118 is set as the first buffer start address BFI, and image data is input in the forward direction from the address ■ until the address ■ becomes the buffer end address BF2, for example. Store.

そして、このときの出力方向フラグT3が正方向であれ
ば、バッファスタートアドレスBFIであるアドレス■
から順次バッファエンドアドレスBF2であるアドレス
■まで正方向にイメージデータを出力する。
If the output direction flag T3 at this time is in the positive direction, the address ■ which is the buffer start address BFI
The image data is sequentially outputted in the forward direction from the buffer end address BF2 to the address ■.

このようにデータバッファから正方向にイメージデータ
を読出しているので、データバッファは正方向に順次空
きアドレスが生じることになる(次行格納方向フラグT
3=正となる)。
Since the image data is read from the data buffer in the forward direction in this way, empty addresses will occur in the data buffer in the forward direction (next row storage direction flag T
3=positive).

そこで、両図(ロ)に示すように、バッファエンドアド
レスBF2であるアドレス■を次行のバッファスタート
アドレスBFIとしくBF2=BFly1次行のイメー
ジデータをバッファスタートアドレスBFIであるアド
レス■から順次入力して5例えばバッファエンドアドレ
スBF2となるアドレス■まで格納する。
Therefore, as shown in both figures (b), address ■ which is buffer end address BF2 is set as buffer start address BFI of the next row, and image data of the next row is input sequentially from address ■ which is buffer start address BFI. Then, for example, the buffer end address BF2 is stored up to the address ■.

そして、このとき出力方向フラグT3が逆方向であれば
、バッファエンドアドレスBF2であるアドレス■から
バッファスタートアドレスBFIであるアドレス■まで
順次イメージデータを出力する。
At this time, if the output direction flag T3 is in the reverse direction, the image data is sequentially output from the address ■ which is the buffer end address BF2 to the address ■ which is the buffer start address BFI.

このように、データバッファのイメージデータは逆方向
に読出されるので、逆方向に順次空アドレスが生じるこ
とになる(次行格納方向フラグT3=逆となる)。
In this way, since the image data in the data buffer is read in the reverse direction, empty addresses occur sequentially in the reverse direction (next row storage direction flag T3=reverse).

そこで1両図(ハ)に示すように、バッファエンドアド
レスBF2であるアドレス■を次行のバッファスタート
アドレスBFIとし1次行のイメ−ジデータをバッファ
スタートアドレスBFIであるアドレス■から逆方向に
入力し1例えばバッファエンドアドレスBF2となるア
ドレス(いまで格納する。
Therefore, as shown in Figure 1 (c), address ■ which is buffer end address BF2 is set as buffer start address BFI of the next row, and image data of the first row is input in the reverse direction from address ■ which is buffer start address BFI. For example, the address (currently stored) is the buffer end address BF2.

そして、出力方向フラグT3が逆方向であれば。If the output direction flag T3 is in the opposite direction.

バッファスタートアドレスBFIであるアドレス■から
バッファエンドアドレスBF2であるアドレス■まで順
次読出す。
The data is sequentially read from the address ■ which is the buffer start address BFI to the address ■ which is the buffer end address BF2.

それによって、データバッファには逆方向に空きアドレ
スが生じることになるので、両図(ニ)に示すように1
次行のイメージデータは、バッファスタートアドレスB
FIとなったアドレス■から逆方向に入力して1例えば
バッファエンドアドレスBF2となるアドレス■まで格
納することになる。
As a result, empty addresses will be created in the data buffer in the opposite direction, so as shown in both figures (d),
The next row of image data is at buffer start address B.
The data is input in the reverse direction from the address ■ which becomes FI and is stored up to the address ■ which becomes the buffer end address BF2, for example.

このようにデータバッファに対するイメージデータの入
出力をリング状に行なうことによって。
By inputting and outputting image data to and from the data buffer in a ring manner in this way.

キャリッジの現在位置から正逆いずれの方向で印字で行
なうかを決定して両方向印字を行なう場合に、データの
入出力が競合することなくデータを入力しながらデータ
を出力することができ、データバッファへのイメージデ
ータの格納処理を高速で行なうことができ、印字速度の
向上を図れる。
When performing bidirectional printing by determining whether to print in the forward or reverse direction from the current position of the carriage, data can be input and output while data is being input without contention between data input and output. The storage process of image data can be performed at high speed, and the printing speed can be improved.

なお、上記実施例においては、この発明をワイヤドツト
インパクトプリンタに実施した例について述べたが、こ
れに限るものではなくドツトタイプの印字を行なうプリ
ンタ、例えばサーマルプリンタ、サーマル転写プリンタ
、インクジェットプリンタ、光プリンタ等にも実施する
ことができる。
In the above embodiments, an example in which the present invention is applied to a wire dot impact printer has been described, but the present invention is not limited to this, and can be applied to printers that perform dot type printing, such as thermal printers, thermal transfer printers, inkjet printers, and optical printers. etc. can also be implemented.

効果 以上説明したように、この発明によれば、印字パターン
情報のデータバッファへの格納処理速度が高速になり、
印字速度の高速化を図ることができる。
Effects As explained above, according to the present invention, the processing speed for storing print pattern information in the data buffer is increased,
It is possible to increase the printing speed.

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

第1図はこの発明を実施したプリンタの一例を示す外観
斜視図、 第2図及び第3図は同じくその機構部の一例を示す平面
図及び正面図。 第4図及び第5図は同じくそのキャリッジの詳細を示す
平面図及び側面図。 第6図は同じくリボンフィード機構を示す平面図、第7
図はフォントカセットの着脱状態の説明に供する略斜視
図。 第8図はフォントカセットの構成を示す斜視図。 第S図はこのプリンタの制御部の一例を示すブロック図
。 第10図はフォントカセットの格納情報の説明に供する
説明図。 第11図乃至第15図は異なる書体の文字パターンの一
例を示すパターン図。 第16図乃至第18図はキャラクタジェネレータへの印
字(文字)パターン情報の格納形式の一例の説明に供す
る説明図。 第19図及び第20図は同じくキャラクタジェネレータ
への印字(文字)パターン情報の格納形式の他の例の説
明に供する説明図。 第21図乃至第25図は異なる印字形態の例を示すパタ
ーン図。 第26図は第9図のマスタ・マスクロプロセッサの要部
機能ブロック図。 第27図は同じくその各ポインタの説明に供する説明図
。 第28図は第26図のバッファ入力コントロールに係わ
る部分の機能ブロック図。 第2S図及び第30図はデータバッファへの印字パター
ン情報の格納処理の総括的説明に供するブロック図及び
処理フロー図。 第31図は同じくバッファ出力コントロールに係わる部
分の機能ブロック図。 第32図はバッファ入出力管理処理の総合的説明に供す
るフロー図。 第33図及び第34図はデータバッファへのイメージデ
ータの格納方法の具体的説明に供する説明図である。 第35図は従来のキャラクタジェネレータにおける印字
パターン情報の格納形式の説明に供する説明図である。 12・・・プラテン    27・・・キャリッジ28
・・・プリントヘッド 48・・・カセットホルダ81
・・・フォントカセット 111・・・マスク・マイクロプロセッサ118・・・
データバッファ 125・・・スレーブ・マイクロプロセッサ(ほか11 第1図 第5図 第6図 第7図 第8図 只ζ 第10図 (イ)(O) 第11図 第12図 第13図 第14図 第16図        第18図 第19図         第20図 第21図       第22図 第23図 LJS)Js 第24図 第25図 υ1  i 第33r〈 ■ 第34図 1口)        ^ Be(IE(に)    
  −m−−− 第35図
FIG. 1 is an external perspective view showing an example of a printer embodying the present invention, and FIGS. 2 and 3 are a plan view and a front view showing an example of the mechanism. 4 and 5 are a plan view and a side view showing details of the carriage. FIG. 6 is a plan view showing the ribbon feed mechanism, and FIG.
The figure is a schematic perspective view for explaining the attachment/detachment state of the font cassette. FIG. 8 is a perspective view showing the structure of the font cassette. FIG. S is a block diagram showing an example of a control section of this printer. FIG. 10 is an explanatory diagram for explaining information stored in a font cassette. FIGS. 11 to 15 are pattern diagrams showing examples of character patterns of different fonts. FIGS. 16 to 18 are explanatory diagrams for explaining an example of a storage format of print (character) pattern information in a character generator. FIGS. 19 and 20 are explanatory diagrams for explaining other examples of the storage format of print (character) pattern information in the character generator. FIGS. 21 to 25 are pattern diagrams showing examples of different printing forms. FIG. 26 is a functional block diagram of the main part of the master mask processor shown in FIG. 9. FIG. 27 is an explanatory diagram for explaining each pointer. FIG. 28 is a functional block diagram of a portion related to buffer input control in FIG. 26. FIG. 2S and FIG. 30 are a block diagram and a processing flow diagram providing a general explanation of the process of storing print pattern information in the data buffer. FIG. 31 is a functional block diagram of a portion related to buffer output control. FIG. 32 is a flowchart providing a comprehensive explanation of buffer input/output management processing. FIGS. 33 and 34 are explanatory diagrams for specifically explaining the method of storing image data in the data buffer. FIG. 35 is an explanatory diagram for explaining the storage format of print pattern information in a conventional character generator. 12...Platen 27...Carriage 28
...Print head 48...Cassette holder 81
... Font cassette 111 ... Mask microprocessor 118 ...
Data buffer 125...Slave microprocessor (and other 11) Fig. 1 Fig. 5 Fig. 6 Fig. 7 Fig. 8 Fig. 10 (A) (O) Fig. 11 Fig. 12 Fig. 13 Fig. 14 Fig. 16 Fig. 18 Fig. 19 Fig. 20 Fig. 21 Fig. 22 Fig. 23 Fig. LJS) Js Fig. 24 Fig. 25 υ1 i Fig. 33r〈 ■ Fig. 34 1 mouth)
-m--- Figure 35

Claims (1)

【特許請求の範囲】[Claims] 1 複数の印字素子列を有するプリントヘッドを備えた
プリンタおいて、印字パターン情報を前記プリントヘッ
ドの各印字素子列毎にブロック化して格納したパターン
情報格納手段を設けたことを特徴とするプリンタ。
1. A printer equipped with a print head having a plurality of print element rows, characterized in that a printer is provided with pattern information storage means for storing print pattern information in blocks for each print element row of the print head.
JP60010753A 1985-01-25 1985-01-25 Printer Pending JPS61171356A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60010753A JPS61171356A (en) 1985-01-25 1985-01-25 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60010753A JPS61171356A (en) 1985-01-25 1985-01-25 Printer

Publications (1)

Publication Number Publication Date
JPS61171356A true JPS61171356A (en) 1986-08-02

Family

ID=11759075

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60010753A Pending JPS61171356A (en) 1985-01-25 1985-01-25 Printer

Country Status (1)

Country Link
JP (1) JPS61171356A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0459369A (en) * 1990-06-29 1992-02-26 Seikosha Co Ltd Printing pin control circuit of printer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0459369A (en) * 1990-06-29 1992-02-26 Seikosha Co Ltd Printing pin control circuit of printer

Similar Documents

Publication Publication Date Title
US5372439A (en) Thermal transfer printer with controlled ribbon feed
US5232297A (en) Printing device with margin setting for cut tape
JP2629527B2 (en) Tape printer
JPS61127362A (en) Printer
JPH11268360A (en) Printer and printing method
JPH0789115A (en) Thermal printer
JPH0544918B2 (en)
JPS61171356A (en) Printer
JPS61127361A (en) Printer
US6388690B1 (en) Thermal recording apparatus
JP2682980B2 (en) Output device
JPH11268317A (en) Method and apparatus for printing
US4919553A (en) Printer having head release mechanism responsive to space commanding codes
JPS6127271A (en) Printer
JPH05185654A (en) Tape printing apparatus
JPS629978A (en) Printer
JPS60198282A (en) Typewriter
GB2201640A (en) Recording apparatus
JP2592230B2 (en) Printer
JP2573664B2 (en) Color printer
JPS6120794A (en) Printer
JPS62294575A (en) Printing apparatus
JPH07108701A (en) Thermal printer
JPS6289091A (en) Liquid crystal display controller
JPH0532032A (en) Ink ribbon feed control device in serial impact dot printer