JPH0313357A - Recording method and recorder therefor - Google Patents

Recording method and recorder therefor

Info

Publication number
JPH0313357A
JPH0313357A JP14838089A JP14838089A JPH0313357A JP H0313357 A JPH0313357 A JP H0313357A JP 14838089 A JP14838089 A JP 14838089A JP 14838089 A JP14838089 A JP 14838089A JP H0313357 A JPH0313357 A JP H0313357A
Authority
JP
Japan
Prior art keywords
recording
character
moving
recording head
moving means
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
JP14838089A
Other languages
Japanese (ja)
Inventor
Akihiko Sukigara
明彦 鋤柄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP14838089A priority Critical patent/JPH0313357A/en
Publication of JPH0313357A publication Critical patent/JPH0313357A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To record italic characters including a symbol inclined obliquely on a material to be recorded by relatively moving simultaneously or alternately at dot unit a dot type recording head in both main and sub scanning directions to the material. CONSTITUTION:Control means 300 sets driving speeds or driving amounts of first and second moving means 100, 200 based on an inclining angle designated by input means 400. It drives a recording head and drives simultaneously or alternately at dot unit the first and second moving means 100, 200. Thus, italic characters inclined obliquely at an inclining angle designated and input by the means 400 are recorded. The means 300 controls to drive a recording head, and the first, second moving means to extract it from extracting means 600, and obliquely records character row information converted to a dot pattern by converting means 700 at word or sentence unit.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、記号を含む文字情報をドツト形態で記録する
被記録材、例えば記録用紙上に記録するドツト式の記録
方法および記録装置に関し、詳しくは熱転写やインクジ
ェット式等の記録ヘッドによりドツト記録を行う記録装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a dot-type recording method and recording apparatus for recording character information including symbols in the form of dots on a recording material, such as recording paper. More specifically, the present invention relates to a recording apparatus that performs dot recording using a thermal transfer or inkjet type recording head.

〔従来の技術〕[Conventional technology]

従来の熱転写プリンタまたはインクジェットプリンタの
ようなドツトX己録装置では記録ヘッド(詳細には記録
ヘッドを搭載したキャリッジ)を主(横)走査させ、1
行分の文字画像をドツトで記録した後、記録ヘッドもし
くは記録用紙を1行分副(縦)走査させて次の行の文字
画像を記録している。
In a dot
After a line of character images is recorded as dots, the recording head or recording paper is sub-scanned (vertically) for one line to record the next line of character images.

(発明が解決しようとする課題〕 しかしながら、このような従来この種のドツト記録装置
により斜体文字を記録させたい場合、文字コードを斜体
文字の文字パターンに変換する文字発生器を用いて、こ
の文字発生器により発生された斜体文字パターンを記録
することが考えられたが、上述のような文字発生器を用
いたドツト記録装置では傾斜文字の画像パターンを記憶
しておく大容量のメモリを必要とし、かつ文字の傾斜角
度は一定であり、可変設定することはできず、また、通
常の文字発生器の他に傾斜文字用の文字発生器が必要で
あるため、コスト高となるという不具合がある。
(Problem to be Solved by the Invention) However, when it is desired to record italic characters using this type of conventional dot recording device, a character generator that converts a character code into an italic character pattern is used to record the characters. It has been considered to record the italic character pattern generated by a generator, but the dot recording device using the character generator described above requires a large capacity memory to store the image pattern of the slanted character. , and the slant angle of the characters is constant and cannot be set variably, and a character generator for slanted characters is required in addition to a normal character generator, resulting in high costs. .

また、文字単位での文字の斜め記録は可能であっても、
単語単位での斜め記録かできない。
Also, even if it is possible to record characters diagonally on a character by character basis,
I can only record diagonally in word units.

そこで、本発明の第!の目的は、上述の点に鑑み、従来
装置の構成を大幅に変更することなく、斜体文字の記録
をすることが可能な記録方法およびその記録装置を提供
することにある。本発明の第2の目的は、記録対象の文
字の傾斜角度を可変にして記録することが可能な記録装
置を提供することにある。また、本発明の第3の目的は
、所定の文字列単位で斜め記録を行うことが可能なドッ
ト記録装置を提供することにある。
Therefore, the present invention! In view of the above-mentioned points, an object of the present invention is to provide a recording method and a recording device capable of recording italic characters without significantly changing the configuration of a conventional device. A second object of the present invention is to provide a recording device capable of recording characters with variable inclination angles. A third object of the present invention is to provide a dot recording device capable of performing diagonal recording in units of predetermined character strings.

(課題を解決するための手段) このような目的を達成するために、本発明の第1形、聾
は、文字情報をドツト形態で被記録材に記録するドツト
式の記録方法において、ドツト式の記録ヘッドを被記録
材に対して主走査方向と副走査方向の両方向に同時に、
またはドツhi位で交互に、相対移動させることにより
斜めに傾いた記号を含む斜体文字を被記録材上に記録す
ることを特徴とする。
(Means for Solving the Problems) In order to achieve the above object, the first type of the present invention, which is a dot type recording method for recording text information on a recording material in the form of dots, The recording head is moved simultaneously in both the main scanning direction and the sub-scanning direction with respect to the recording material.
Alternatively, italic characters including diagonally inclined symbols are recorded on the recording material by relative movement alternately at the dots and hi positions.

本発明の第2形態は、文字情報をドツト形態で記録装置
。5)前記制御手段は文字情報を記録する記録装置にお
いて、記録ヘッドを被記録材に対して主走査方向に8動
させる第1移動手段と、被記録材を記録へ)ドに対して
副走査方向に移動させる第2移動手段と、記録ヘッドを
駆動するとともに、第1移動手段および第2移動手段を
同時またはドツト単位で交互に、斜めに所定角度傾いた
記号を含む斜体文字を記録させる制御手段とを単語また
は文単位で斜めに。
A second embodiment of the present invention is an apparatus for recording character information in the form of dots. 5) In a recording apparatus for recording character information, the control means includes a first moving means for moving the recording head in the main scanning direction with respect to the recording material, and a sub-scanning means for moving the recording head in the main scanning direction with respect to the recording material. a second moving means for moving in the direction; and a control for driving the recording head, and for simultaneously or alternately recording an italic character including a symbol tilted at a predetermined angle by the first moving means and the second moving means on a dot-by-dot basis; Means and diagonally by word or sentence.

本発明の第3形態は、文字情報をドツト形態で記録装置
。5)前記制御手段は文字情報を記録する記録装置にお
いて、記号を含む、文字の傾斜角度を指定入力する人力
手段と、記録ヘッドを被記録材に対して主走査方向に移
動させる第1移動手段と、被記録材を記録ヘッドに対し
て副走査方向に移動させる第2移動手段と、入力手段に
より指定された傾斜角度に基いて第1移動手段と第2移
動手段の駆動速度または駆動量を設定し、記録ヘッドを
駆動すると共に同時またはドツト単位で交互に第1移動
手段および第2移動手段を駆動することにより、人力手
段により指定人力された傾斜角度で斜めに傾いた斜体文
字を記録させる制御手段とを単語または文単位で斜めに
A third aspect of the present invention is an apparatus for recording character information in the form of dots. 5) In a recording apparatus that records character information, the control means includes a human power means for specifying and inputting the inclination angle of characters including symbols, and a first moving means for moving the recording head in the main scanning direction with respect to the recording material. a second moving means for moving the recording material in the sub-scanning direction with respect to the recording head; and a driving speed or drive amount of the first moving means and the second moving means based on the inclination angle specified by the input means. By setting and driving the recording head and driving the first moving means and the second moving means simultaneously or alternately in units of dots, italic characters that are tilted diagonally at a specified manually operated inclination angle are recorded by the manual means. control means and diagonally by word or sentence.

本発明の第4形態は、文字情報をドツト形態で記録装置
。5)前記制御手段は文字情報を記録する記録装置にお
いて、文字情報を文字コードで記録の順序に記憶する記
憶手段と、記憶手段の中の単語または文の区切れを示す
特定コードではさまれた文字コード列を検出することに
より記録手段から単語または文の文字列情報を抽出する
抽出手段と、抽出手段により抽出された当該文字列情報
をドツトパターンに変換する変換手段と、記録ヘッドと
被記録材を主走査方向と副走査方向の両方向に、同時ま
たはドツト単位で交互に相対移動させる移動手段と、記
録ヘッドと移動手段を駆動制御して抽出手段により抽出
され、変換手段によ前記抽出手段により抽出された文字
列情報、を単語または文単位で斜めに記録させる制御手
段とを単語または文単位で斜めに。
A fourth aspect of the present invention is an apparatus for recording character information in the form of dots. 5) In a recording device for recording character information, the control means is sandwiched between a storage means for storing character information in the recording order in character codes and a specific code indicating a break between words or sentences in the storage means. An extraction means for extracting character string information of a word or sentence from the recording means by detecting a character code string, a conversion means for converting the character string information extracted by the extraction means into a dot pattern, a recording head and a recording target. A moving means for relatively moving the material in both the main scanning direction and the sub-scanning direction simultaneously or alternately in dot units, and a recording head and the moving means are driven and controlled to be extracted by an extracting means, and a converting means extracts the material from the extracting means. and a control means for recording the extracted character string information diagonally in units of words or sentences.

本発明の第5形態は、第4形態に加えて制御手段は文字
列情報の文字個数に応じて当該設定した傾斜角度を可変
設定し、当該設定した傾斜角度に基いて移動手段の駆動
速度または移動量を制御することを特徴とする。
In a fifth aspect of the present invention, in addition to the fourth aspect, the control means variably sets the set inclination angle according to the number of characters in the character string information, and based on the set inclination angle, the driving speed of the moving means or It is characterized by controlling the amount of movement.

〔作 用) 本発明の第1形態は記録ヘットが主走査方向に対して相
対的に斜めに移動し、記録ヘッドにより記録されるドツ
ト列全体が順次に斜め方向に記録されるので、記録結果
は斜体形状の文字画像となる。
[Function] In the first embodiment of the present invention, the recording head moves diagonally relative to the main scanning direction, and the entire dot row recorded by the recording head is sequentially recorded in the diagonal direction, so that the recording result is becomes an italic character image.

本発明の第2形態は、主走査方向と副走査方向に記録ヘ
ッドの相対移動を行って記録ヘッドの斜め方向のドツト
記録を実現し、斜体文字画像を形成する。
In the second embodiment of the present invention, the recording head is moved relative to the main scanning direction and the sub-scanning direction to realize diagonal dot recording of the recording head and form an italic character image.

本発明の第3形態では、文字の傾斜角度は記録ヘッドの
相対的な記録方向により定まることに着目し、指定入力
した文字の傾斜角度に対応させて、第1移動手段、第2
移動手段の駆動速度または駆動量を設定することにより
、記録ヘッドの移動方向を可変設定し、所望の傾斜角度
の文字画像を形成する。
In the third embodiment of the present invention, focusing on the fact that the inclination angle of a character is determined by the relative recording direction of the recording head, the first moving means and the second moving means
By setting the drive speed or drive amount of the moving means, the moving direction of the recording head can be variably set to form a character image with a desired inclination angle.

本発明の第4形態では文字コードの段階で単語や文の区
切れを示す特定のコード検出により連続する文字列情報
の中から単語や文を抽出手段が抽出するので、単語単位
や文単位での斜め記録が達成可能となる。
In the fourth embodiment of the present invention, the extraction means extracts words and sentences from continuous character string information by detecting specific codes indicating breaks between words and sentences at the character code stage. diagonal recording becomes possible.

本発明の第5形態では第4形態に加えて単語や文の文字
列の個数に応じて記録傾斜角度を可変設定するようにし
たので、たとえ単語や文の文字数が変化しても1行の記
録粋の中に単語や文を記録することができ、行間隔をも
一定とすることができる。
In the fifth embodiment of the present invention, in addition to the fourth embodiment, the recording inclination angle is variably set according to the number of character strings in a word or sentence, so even if the number of characters in a word or sentence changes, Words and sentences can be recorded in the recorder, and line spacing can be kept constant.

〔実施例〕〔Example〕

以下、図面を参照して本発明実施例を詳細に説明する。 Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図において、100は文字情報をドツト形態で記録
可能な記録ヘッドにより被記録5村上に前記文字情報を
記録する記録装置において、前記記録ヘッドを前記被記
録材に対して主走査方向に移動させる第1B勅手段であ
る。
In FIG. 1, reference numeral 100 denotes a recording apparatus that records character information on a recording medium 5 with a recording head capable of recording character information in the form of dots, and the recording head is moved in the main scanning direction with respect to the recording medium. This is the 1st B imperial means to make it happen.

200は前記被記録材を前記記録ヘッドに対して副走査
方内に移動させる第2移動手段である。
A second moving means 200 moves the recording material in the sub-scanning direction with respect to the recording head.

300は前記記録ヘッドを駆動するとともに、前記第1
移動手段および前記第2移動手段と同時またはドツト単
位で交互に、斜めに所定角度傾いた記号を含む斜体文字
を記録させる制御手段である。
300 drives the recording head and also drives the first recording head.
The control means records italic characters including symbols tilted at a predetermined angle simultaneously with the moving means and the second moving means or alternately in units of dots.

400は記号を含む、文字の傾斜角度を指定人力する人
力手段である。
400 is a manual means for manually specifying the inclination angle of characters including symbols.

前記制御手段は、前記入力手段により指定された前記傾
斜角度に基いて前記第1移動手段と前記第2移動手段の
駆動速度または駆!lJ量を設定し、前記記録ヘッドを
駆動すると共に同時またはドツト単位で交互に前記第1
移動手段および前記第2移動手段を駆動することにより
、前記入力手段により指定人力された傾斜角度で斜めに
傾いた斜体文字を記録させる。
The control means controls the driving speed or speed of the first moving means and the second moving means based on the inclination angle specified by the input means. 1J amount, and while driving the recording head, simultaneously or alternately dot by dot, the first
By driving the moving means and the second moving means, italic characters that are obliquely inclined at an inclination angle specified by the input means are recorded.

500は前記文字情報を文字コードで記録の順序に記憶
する記憶手段である。
Reference numeral 500 denotes a storage means for storing the character information in the order of recording using character codes.

600は該記憶手段の中の単語または文の区切れを示す
特定コードではさまれた文字コード列を検出することに
より前記記録手段から単語または文の文字列情報を抽出
する抽出手段である。
Reference numeral 600 denotes an extraction means for extracting character string information of a word or sentence from the recording means by detecting a character code string sandwiched between specific codes indicating the division of words or sentences in the storage means.

700は前記抽出手段により抽出された当該文字列情報
をドツトパターンに変換する変換手段である。
700 is a conversion means for converting the character string information extracted by the extraction means into a dot pattern.

前記制御手段は、前記記録ヘッドと前記第1および第2
移動手段を!f!勅制御して前記抽出手段により抽出さ
れ、前記変換手段によ前記抽出手段により抽出された文
字列情報を単語または文単位で斜めに記録させる。
The control means controls the recording head and the first and second
Means of transportation! f! Under direct control, the character string information extracted by the extraction means is extracted by the extraction means, and the character string information extracted by the extraction means is diagonally recorded in units of words or sentences.

また、前記制御手段は前記文字列情報の文字個数に応じ
て当該設定した傾斜角度を可変設定し、当該設定した傾
斜角度に基いて前記移動手段の駆動速度または移動量を
制御する。
Further, the control means variably sets the set inclination angle according to the number of characters in the character string information, and controls the driving speed or movement amount of the moving means based on the set inclination angle.

第2図は本発明実施例の具体的な回路構成を示す。FIG. 2 shows a specific circuit configuration of an embodiment of the present invention.

第2図において、1は装置全体の制御を司どる制御手段
、抽出手段としての中央演算処理装置(cpu)であり
、斜め記録に関する各種の動作指示をも行う。
In FIG. 2, reference numeral 1 denotes a central processing unit (CPU) as a control means and extraction means for controlling the entire apparatus, and also gives various operation instructions regarding oblique recording.

2はリードオンリメモリ(ROM)  であり、CPU
により実行される上述の装置制御に関する制御プログラ
ム、および斜め記録に関する制御プログラム(第9図〜
第16図)を予め記憶している。またROM2には文字
コードをフォントパターンに変換するための変換手段と
してのフォントテーブルも記憶されている。3はcpu
tの演算処理に用いられる各種データを一時記憶する記
憶手段としてのランダムアクセスメモリ(RAMI で
ある。
2 is read-only memory (ROM), and the CPU
The control program related to the above-mentioned device control and the control program related to diagonal recording (FIGS. 9 to 9) executed by
16) is stored in advance. The ROM 2 also stores a font table as a conversion means for converting character codes into font patterns. 3 is cpu
Random access memory (RAMI) serves as a storage means for temporarily storing various data used in the arithmetic processing of t.

4はキャリッジモータlOを駆動するための制御手順を
割込み実行するタイミングを計時する第1タイマである
。5はベーパーフィードモータ9を駆動するための制御
手順を割込み実行するタイミングを言1時する第2タイ
マである。
Reference numeral 4 denotes a first timer that measures the timing of interrupt execution of a control procedure for driving the carriage motor 1O. Reference numeral 5 denotes a second timer that indicates the timing for interrupting and executing the control procedure for driving the vapor feed motor 9.

7はインタフェースユニットであり、ドライバ8、およ
びバス16と接続し、ワードプロセッサ等のホスト装置
17および入力手段としてのキーボード14から記録す
べき文字情報の他、斜め記録に関する指示情報を人力す
る。またインタフェースユニット7はCPUIから送ら
れる記録制御情報をドライバ8に転送する。
Reference numeral 7 denotes an interface unit, which is connected to the driver 8 and the bus 16, and inputs character information to be recorded as well as instruction information regarding diagonal recording from a host device 17 such as a word processor and a keyboard 14 as input means. The interface unit 7 also transfers recording control information sent from the CPUI to the driver 8.

8はプリンタ機構の各部に駆動信号を供給するドライバ
である。本例においては、キャリッジモータlOにより
ヒート部lOが搭載されたキャリッジ(不図示)を主(
MA)走査させ、記録用紙をベーパーフィードモータ9
により移動させることによりキャリッジを相対的に副走
査させる。
8 is a driver that supplies drive signals to each part of the printer mechanism. In this example, the main (
MA) scan and feed the recording paper to the vapor feed motor 9.
By moving the carriage, the carriage is relatively sub-scanned.

ヒート部11は発熱素子複数個により構成され、パルス
を与えることにより発熱素子を発熱させ、ドツト記録を
行う。
The heating section 11 is composed of a plurality of heating elements, and by applying a pulse, the heating elements generate heat to perform dot recording.

本発明は、CPUIの指示に基いて主走査を行いながら
主走査方向に沿って所定ドツト数毎にキャリッジを所定
量、副走査させることにより、第3図(八)に示すよう
な傾斜前のドツトパターンを第3図(B)、第4図〜第
8図に示すような各形状のパターンで斜め記録を行うよ
うにしたものである。
The present invention enables the carriage to sub-scan by a predetermined amount for every predetermined number of dots along the main scanning direction while performing main scanning based on instructions from the CPUI, so that the pre-tilt image as shown in FIG. 3 (8) is The dot pattern is diagonally recorded in patterns of various shapes as shown in FIG. 3(B) and FIGS. 4 to 8.

第3図(B)は第3図(^)に示す縦40×横36ドツ
トで表現される文字“A”を横4ドツト毎に対して1ド
ツト縦方向へ移動した状態を示す。
FIG. 3(B) shows a state in which the character "A" represented by 40 vertical dots and 36 horizontal dots shown in FIG. 3(^) is moved vertically by 1 dot for every 4 horizontal dots.

第4図は文字単位で斜め記録を行う例を示し、タイプA
は文字枠62の左下角を基準線61に接するようにした
例である。タイプBは文字枠63の右下角を基準線61
に接するようにした例を示す。タイプCは文字枠64の
左下角を基準線6エに接するようにして、文字を右下が
りに記録する例を示す。タイプDは文字枠65の右下角
を基準線61に接するようにして文字を右下がりに記録
する例を示す。
Figure 4 shows an example of diagonal recording in character units, type A
is an example in which the lower left corner of the character frame 62 is in contact with the reference line 61. For type B, the lower right corner of the character frame 63 is the reference line 61
Here is an example of touching the . Type C shows an example in which the lower left corner of the character frame 64 is in contact with the reference line 6e, and the characters are recorded downward to the right. Type D shows an example in which the lower right corner of the character frame 65 touches the reference line 61 and the characters are recorded downward to the right.

第5図は単語単位での斜め記録を行う例を示し、タイプ
Eは記録の傾斜角度を一定にした例、タイプFは単語枠
の高さが一定となるように傾斜角度を可変設定するよう
にした例を示す。
Figure 5 shows an example of diagonal recording in word units. Type E is an example in which the recording inclination angle is fixed, and Type F is an example in which the inclination angle is set variable so that the height of the word frame is constant. Here is an example.

第6図は行単位で斜め記録する例を示し、傾斜角度は一
定である。
FIG. 6 shows an example in which diagonal recording is performed line by line, and the inclination angle is constant.

第7図は単語の中のアクセント位置の文字を斜め記録で
表現した例であり、タイプIはevolutionとア
クセント表現するところを第1アクセントと第2アクセ
ントの文字の傾き、高さを変えてアクセントの種類を表
現する例である。
Figure 7 is an example of expressing the letters at the accent position in a word by diagonal recording. Type I is an example where the accent is expressed as evolution, but the accent is changed by changing the inclination and height of the first and second accent letters. This is an example of expressing the type of.

第8図は文章の抑揚を斜め記録で表現する例であり、/
記号で抑揚を表現するところを斜め記録で表現している
Figure 8 is an example of expressing the intonation of a sentence by diagonal recording, /
Where intonation is expressed with symbols, it is expressed with diagonal recording.

第9図は1文字を斜め記録するための制御手順を示す。FIG. 9 shows a control procedure for recording one character diagonally.

第9図において、ステップ592で1文字分の印字ドツ
トをROMZ内の印字フォントテーブルよりRAM3へ
展開記憶する。ステップ593では1文字分の横方向の
移wJ量を設定する0次にステップ594で1文字分の
縦方向の移動量を設定する。これらの移動量はキーボー
ド14又はホスト装置17から指示される。
In FIG. 9, in step 592, one character's worth of print dots is expanded and stored in the RAM 3 from the print font table in the ROMZ. In step 593, the amount of horizontal movement wJ for one character is set.Next, in step 594, the amount of vertical movement for one character is set. These movement amounts are instructed from the keyboard 14 or the host device 17.

ステップS95で横方°向のタイマーテーブル、すなわ
ち印字スピードに即した記録時間を示すタイマーテーブ
ルが規定値に設定される。ステップS96では縦方向の
タイマーテーブルが設定される。このテーブルは上記指
示された横方向移動量(または移動速度)、縦方向移動
量(または移動速度)および設定された横方向タイマー
テーブルより選定される。例えば、横方向移動量=36
パルス、縦方向移動量=9パルス、横方向タイマーテー
ブル= 1.54m5ec (18cps)とすると、
縦方向のタイマーテーブルには36÷9 x 1.54
= 6.16m5ecが設定される。ステップS97で
はキャリッジモーター100割込み駆動用として第1タ
イマー4をスタートさせ、ステップ598で処理を終了
する。
In step S95, the horizontal timer table, that is, the timer table indicating the recording time according to the printing speed, is set to a specified value. In step S96, a vertical timer table is set. This table is selected from the above-instructed lateral movement amount (or movement speed), vertical movement amount (or movement speed), and the set lateral direction timer table. For example, lateral movement amount = 36
Pulse, vertical movement amount = 9 pulses, horizontal timer table = 1.54m5ec (18cps),
36÷9 x 1.54 for vertical timer table
= 6.16m5ec is set. In step S97, the first timer 4 is started for interrupt driving the carriage motor 100, and in step 598, the process ends.

第1O図は第1タイマー4のカウントアツプ信号により
割り込み処理されるキャリッジモータ駆動のための制御
手順を示す。
FIG. 1O shows a control procedure for driving the carriage motor which is interrupted by the count-up signal of the first timer 4.

第1O図において、ステップ51002でキャリッジモ
ータlOの励6nを行なう。ステップ51003で次の
割込み動作のために励磁相のデータを更新しておく。ス
テップ51004では記録ヘッドが現在加速中かどうか
をキャリッジモータIOの回転速度に基き調べる。記録
ヘットが加速中でないなら、ステップ51005へ進む
。記録ヘッドが加速中であるならステップ5IQIOへ
進む。
In FIG. 1O, in step 51002, the carriage motor lO is excited 6n. In step 51003, the excitation phase data is updated for the next interrupt operation. In step 51004, it is determined whether the print head is currently accelerating based on the rotational speed of the carriage motor IO. If the recording head is not accelerating, proceed to step 51005. If the recording head is accelerating, proceed to step 5IQIO.

ステップ51010では記録ヘッドの加速制御のための
加速テーブルを更新、する、ステップ51011では記
録ヘッドの加速終了かどうかをキャリッジモータIOの
回転速度に基き調べる。加速が終了していないなら、ス
テップ51012へ進み、第1タイマー4をセットし、
ステップ51021へ飛ぶ。記録ヘッドの加速が終了し
ているのなら、ステップ51013で記録ヘッドの定速
制御のための定速テーブルをセットし、ステップ510
14でペーパーフィードモータ9の割込み駆動用の第2
タイマーをスタートさせ、ステップ51021へ飛ぶ。
In step 51010, the acceleration table for controlling the acceleration of the print head is updated. In step 51011, it is checked based on the rotational speed of the carriage motor IO whether or not the acceleration of the print head has ended. If the acceleration has not finished, proceed to step 51012, set the first timer 4,
Jump to step 51021. If the acceleration of the print head has been completed, a constant speed table for constant speed control of the print head is set in step 51013, and step 510
14, a second motor for interrupt driving the paper feed motor 9;
Start the timer and jump to step 51021.

ステップ51004に戻り、記録ヘットが加速中でない
なら、ステップ51005で記録ヘッドが減速中である
か調べる。記録ヘッドが減速中でない時はステップ51
015へ8項する。記録ヘッドが減速中の時はステップ
51006で記録ヘッドの減速制御のための減速テーブ
ルを更新する。ステップ51007では記録ヘッドが減
速終了かどうか調べる。減速終了でないなら、ステップ
51008で第1タイマー4をセットし、ステップ51
021へ飛ぶ。記録ヘッドが減速終了であるなら、ステ
ップ51009で第1タイマー4をストップし、ステッ
プ51021へ飛ぶ。
Returning to step 51004, if the print head is not accelerating, it is checked in step 51005 whether the print head is decelerating. If the recording head is not decelerating, step 51
8 items to 015. When the print head is decelerating, the deceleration table for controlling the deceleration of the print head is updated in step 51006. In step 51007, it is checked whether the print head has finished decelerating. If the deceleration is not completed, the first timer 4 is set in step 51008, and step 51
Fly to 021. If the recording head has finished decelerating, the first timer 4 is stopped in step 51009, and the process jumps to step 51021.

ステップ51005へ戻り、記録ヘッドが減速中でない
なら、ステップ51015において、1文字の縦1ライ
ン分40個のドツト列のヒート記録を行なう。
Returning to step 51005, if the recording head is not decelerating, heat recording is performed in step 51015 for 40 dot rows corresponding to one vertical line of one character.

次にステップ51018で横方向の移動量の減算を行な
う。ステップ51017で減算された移動量を調べ、移
!aiがゼロでないなら、ステップ51018で第1タ
イマー4をセットしステップ51021へ行く。移動量
がゼロであるなら、ステップ51019でベーパーフィ
ード用第2タイマー5をストップし、ステップSI[1
2Gで減速テーブルをセットして本制御手順を終了する
Next, in step 51018, the amount of lateral movement is subtracted. Check the movement amount subtracted in step 51017, and move! If ai is not zero, the first timer 4 is set in step 51018 and the process proceeds to step 51021. If the amount of movement is zero, the second timer 5 for vapor feed is stopped in step 51019, and the second timer 5 for vapor feed is stopped in step SI[1
The deceleration table is set at 2G and this control procedure ends.

第11図はペーパーフィードモータ割込み駆動のための
制御手順を示す。
FIG. 11 shows a control procedure for interrupt driving the paper feed motor.

第11図において、ステップ5112でベーパーフィー
ドモータ9の励6′F1を行なう。ステップ5113で
次の割込み動作のため励磁相のデータを更新しておく、
ステップ5114で縦方向の移動量を減算する。
In FIG. 11, in step 5112, the vapor feed motor 9 is excited 6'F1. In step 5113, the excitation phase data is updated for the next interrupt operation.
In step 5114, the amount of vertical movement is subtracted.

ステップ5115では減算された移動量を調べる。移動
量がゼロでないなら、ステップ511Bで第2タイマー
5をセットし、ステップ5118へ進む。移動量がゼロ
であるなら、ステップ5117で第2タイマー5をスト
ップして本制御手順を終了する。
In step 5115, the subtracted movement amount is checked. If the amount of movement is not zero, the second timer 5 is set in step 511B, and the process proceeds to step 5118. If the amount of movement is zero, the second timer 5 is stopped in step 5117, and this control procedure is ended.

次に、第9図〜第11図の制御手順に基き、CPUIが
実行する制御動作を第2図を参照して説明する。
Next, based on the control procedures shown in FIGS. 9 to 11, the control operations executed by the CPU will be described with reference to FIG. 2.

傾斜角度に応じた縦および横方向の記録ヘッドのf3動
のための各種設定値が決定されると(第9図のステップ
592〜596 ) 、第1タイマー4がセットされ、
第1タイマー4は一定時間の計時を開始する(第9図の
ステップ597)。
When various setting values for f3 movement of the recording head in the vertical and horizontal directions according to the inclination angle are determined (steps 592 to 596 in FIG. 9), the first timer 4 is set;
The first timer 4 starts counting a certain period of time (step 597 in FIG. 9).

第1タイマー4の計時終了に応じて、CPUは第1O図
に示す制御手順を実行する。この制御手順によりキャリ
ッジモータ10が駆動制御され、従来周知のように記録
ヘッドか等速状態に移行したときから記録ヘッドによる
ドツト記録が1回行なわれる(第1G図のステップ51
002〜51004叫51005→51015 ) 、
以下、第1タイマー4の一定時間の計時毎に第10図の
制御手順が繰り返し実行され、記録ヘラ・ドが主走査方
向に移動しながら1文字分のドツト記録が行なわれる。
When the first timer 4 finishes counting, the CPU executes the control procedure shown in FIG. 1O. According to this control procedure, the carriage motor 10 is driven and controlled, and as is conventionally known, dot recording by the recording head is performed once from when the recording head shifts to a constant speed state (step 51 in FIG. 1G).
002~51004 shout 51005→51015),
Thereafter, the control procedure shown in FIG. 10 is repeatedly executed every time the first timer 4 measures a certain period of time, and one character's worth of dot recording is performed while the recording head moves in the main scanning direction.

一方、記録ヘッドの主走査方向のfJ !、!+と交互
に第2タイマー5の計時終了毎に第1O図の制御手順に
よりベーパーフィードモータ9が駆動され、設定された
距離だけ記録用紙を相対移動させる。
On the other hand, fJ in the main scanning direction of the recording head! ,! The vapor feed motor 9 is driven according to the control procedure shown in FIG. 1O every time the second timer 5 completes counting, and the recording paper is relatively moved by a set distance.

1文字分のドツト記録が終了すると、第1タイマー4.
第2タイマー5が停止されて第10図および第11図の
制御手順はCPIJIでは実行されず、記録ヘッドおよ
び記録用紙の移動が停止する。
When the dot recording for one character is completed, the first timer 4.
The second timer 5 is stopped, the control procedures shown in FIGS. 10 and 11 are not executed in CPIJI, and the movement of the recording head and recording paper is stopped.

以上、説明したように本実施例では記録ヘッドを横方向
に4ビツト走査させドツト記録を行りて、次に縦方向に
1ビツト記録用紙を移動させるので5記録結果は第3図
(B)に示すように斜め形状となる。なお、横方向と縦
方向に同時に相対移動を行ってもよい。
As explained above, in this embodiment, the recording head scans 4 bits in the horizontal direction to perform dot recording, and then the recording paper is moved 1 bit in the vertical direction, so the 5 recording results are as shown in Figure 3 (B). It has a diagonal shape as shown in . Note that relative movement may be performed simultaneously in the horizontal direction and the vertical direction.

第12図は連続して文字単位の斜め記録を行うための制
御手順を示す。
FIG. 12 shows a control procedure for continuously performing diagonal recording in character units.

第12図において、キー人力待ちの状態で、ステップ5
1202でキーボード14から記録すべき文字コードや
動作指示の制御命令コードのキー人力があったなら、ス
テップ51203へ進み、入力されたコードが文字キー
かを調べる。入力コードが文字コードの時はステップ5
1204でRAM3内のバッファへ入力文字コードを一
時記憶し、ステップ51202へ飛び、キー人力待ちに
なる。
In Figure 12, in the state of waiting for key power, step 5
If in step 1202 there is a key input from the keyboard 14 for a character code to be recorded or a control command code for an operation instruction, the process advances to step 51203 to check whether the input code is a character key. If the input code is a character code, step 5
In step 1204, the input character code is temporarily stored in a buffer in the RAM 3, and the process jumps to step 51202, where it waits for key input.

入力されたコードが文字コードでない時はステップ51
205で改行を示すリターンコードかを調べる。人力コ
ードがリターンコードでない時はステップ5L202へ
行きキー人力待ちとなる。人力コードがリターンコード
の時はステップ51208で上記バッファが空か調べる
。空の時はステップ51202へ行く。空でない時はス
テップ51207へ進む。
If the input code is not a character code, step 51
Check whether the return code indicates a line feed in step 205. If the manual code is not a return code, the process goes to step 5L202 and waits for key manual input. If the manual code is a return code, it is checked in step 51208 whether the buffer is empty. If it is empty, go to step 51202. If it is not empty, proceed to step 51207.

次に、ステップ51207で記録を指示された記録パタ
ーンが第4図に示す右上がり左下−スライン揃えのタイ
プAか否かをキーボード14からの指示情報に基き調べ
る。記録すべきパターンがタイプAの指定であるなら、
手順はステップ512013へ進み、右上がり指定であ
る旨の属性情報をRAM3へ格納する。
Next, in step 51207, it is checked based on the instruction information from the keyboard 14 whether or not the recording pattern instructed to be recorded is of type A shown in FIG. If the pattern to be recorded is of type A designation,
The procedure advances to step 512013, where attribute information indicating that the upward-rightward direction is specified is stored in the RAM3.

次に上述した第9図〜第10図の制御手順を実行するこ
とによりステップ51209で1文字斜め印字を行ない
、続いて、ステップ51210でキャリッジをベースラ
インへ戻し、再び、ステップ51206へ戻り、バッフ
ァが空になるのを待つ。
Next, by executing the control procedure shown in FIGS. 9 and 10 described above, one character is printed diagonally in step 51209, and then, in step 51210, the carriage is returned to the baseline, and then the process returns to step 51206, where the buffer wait until it is empty.

また、ステップ51207において記録パターンがタイ
プAの指定でない時はステップ51211で右下ベース
ライン揃え(第4図参照)のタイプBの指定かを調べる
。記録パターンがタイプBの指定であるなら、ステップ
51212でキャリッジをベースラインより下げ右下ベ
ースラインになるよう位置させる。次にステップ512
13で右上がり指定の属性情報に基き、縦移動の方向を
定めた後、ステップ51214で1文字斜め印字を行な
う。次にステップ51206へ戻り、バッファが空くの
を待つ。
Further, if the recording pattern is not designated as type A in step 51207, it is checked in step 51211 whether type B of lower right baseline alignment (see FIG. 4) is designated. If the recording pattern is designated as type B, in step 51212 the carriage is lowered below the baseline and positioned so as to be at the lower right baseline. Then step 512
After determining the direction of vertical movement based on the upward right designation attribute information in step 13, one character is printed diagonally in step 51214. Next, the process returns to step 51206 and waits until the buffer becomes free.

ステップ51211の判定処理において記録パターンが
タイプBの指定でないと判定されたときはステップ51
215で記録パターンがタイプC(第4図参照)の指定
かを調べる。記録パターンとしてタイプCが指定された
ときは、ステップ51216で右下がり左下ベースライ
ン揃えの旨の属性情報をRAM3に格納し、以下、ステ
ップ51217で1文字斜め印字を行なう0次にステッ
プ51218でキャリッジをベースラインへ戻しステッ
プ51206へ遷移しバッファ空き待ちとなる。
If it is determined in the determination process of step 51211 that the recording pattern is not specified as type B, step 51
At step 215, it is checked whether the recording pattern is designated as type C (see FIG. 4). When type C is specified as the recording pattern, in step 51216 the attribute information indicating alignment to the lower right and lower left baselines is stored in RAM3, and then in step 51217 one character is printed diagonally.Next, in step 51218 the carriage is returned to the baseline, the process moves to step 51206, and waits for a buffer to become available.

また、ステップ51215の判定処理でタイプCが指定
されていないと判定された時はステップ5121!lへ
進み、指定パターンはタイプDと判定し、キャリッジを
ベースラインより上げ右下ベースライン揃えとなるよう
にキャリッジ位置を設定する。ステップ51220で右
下がり右下ベースライン揃えの旨の属性情報をRAM3
に記憶してステップ51221で1文字斜め印字を実行
する。次に、ステップ51206へ飛びバッファ空き待
ちとなり、以下、キー人力のある毎に上述の記録処理を
実行する。
Further, if it is determined in the determination process in step 51215 that type C is not specified, step 5121! 1, the designated pattern is determined to be type D, and the carriage position is set so that the carriage is raised above the baseline and aligned with the lower right baseline. At step 51220, the attribute information indicating alignment to the lower right and lower right baselines is stored in RAM3.
, and one character diagonal printing is executed in step 51221. Next, the program jumps to step 51206 and waits for the buffer to become available, and thereafter executes the above-described recording process whenever there is sufficient human power.

この結果、記録に先立ってキーボード14から例えばタ
イプBの記録パターンを指定入力すると、文字のキー人
力がある毎にCP旧は1行分の入力文字コードバッファ
に記憶した後、改行のキー人力指示に応じてバッファに
格納された文字コードを1文字ずつ右上がり右下ぞろえ
となるようにキャリッジ位置を初期設定して斜め記録を
実行させる。
As a result, if, for example, a type B recording pattern is specified and input from the keyboard 14 prior to recording, the old CP stores one line of input character code in the input character code buffer each time there is a key press for a character, and then inputs a new line key manually. In response to this, the carriage position is initially set so that the character codes stored in the buffer are aligned one character at a time upward to the right and downward to the right, and diagonal recording is executed.

第13図は単語単位での斜め印字を行うための制御手順
を示す。
FIG. 13 shows a control procedure for performing diagonal printing in word units.

第13図において、キー人力待ちの状態からステップ5
1302でキー人力があると、ステップS1:+03で
入力コードが文字コードかを調べる1人力コードが文字
コートのときはステップ51304でRAM3のバッフ
ァへ人力された文字コードを格納し、ステップ5130
2へ行き、次のキー人力待ちとなる。
In Figure 13, step 5 from the state of waiting for key human power.
If there is key input in step 1302, check whether the input code is a character code in step S1: +03.If the input code is a character code, in step 51304 the input character code is stored in the buffer of RAM3, and in step 5130
Go to 2 and wait for the next key manpower.

人力コードが文字コードでないときはステップ5130
5で人力コードがリターンコードであるかを調べる0人
力コードがリターンコードでない時はステップ5130
2へ行く。入力コードがリターンコードのときはステッ
プ51306でバッファが空きかを調べる。
If the human code is not a character code, step 5130
Check whether the manual code is a return code in step 5.0 If the manual code is not a return code, step 5130
Go to 2. When the input code is a return code, it is checked in step 51306 whether the buffer is empty.

バッファが空きの時はステップ51302へ行く。If the buffer is empty, go to step 51302.

バッファが空きでない時はステップ51307でバッフ
ァ内のコードから順次に文字コードを読み出しその文字
コードがスペースコードかを調べる。読出した文字コー
ドがスペースコードでない時はステップ51308でス
ペース間の単語を構成する文字の数をカウントするため
に、にPut内の文字カウンタをカウントアツプして5
1306へ行く。
If the buffer is not empty, in step 51307 character codes are sequentially read from the code in the buffer and it is checked whether the character code is a space code. If the read character code is not a space code, in step 51308, in order to count the number of characters that make up the word between the spaces, the character counter in Put is incremented to 5.
Go to 1306.

上記バッファから読比した文字コードがスペースコード
の時はステップ51309で記録パターンが第5図に示
すようにアッパーライン揃えのタイプFかを調べる。な
おアッパーライン揃えとは第5図示のタイプFの文字パ
ターンにおいて基準線8.9の中に単語が入るよう斜め
印字の角度を調節することである。
If the character code read from the buffer is a space code, it is checked in step 51309 whether the recording pattern is type F with upper line alignment as shown in FIG. Note that upper line alignment means adjusting the angle of diagonal printing so that the word falls within the reference line 8.9 in the type F character pattern shown in FIG.

指定パターンがアッパーライン揃えでない時はステップ
51311へ行く。指定パターンがアッパーライン揃え
の時は、文字カウンタに記憶された単語の文字数に基き
、ステップ51310で縦方向の移動量を計算する。そ
して、ステップ51311で計算した縦移vJ量をRA
M3に設定記憶する。ステップ51312ではバッファ
内の文字コードを示すポインターを前のスペースコード
まで戻し、ステップ51313で文字カウントが“0”
になることを確認するまで上記単語を1文字ずつ斜め印
字を行ない、文字数のカウントダウンを行なう(ステッ
プ51313〜51314 )。文字カウントが“ON
になったなら、ステップ51415でキャリッジをベー
スラインへ戻し、51306へ行き、上述の手順を繰返
し実行してバッファ内の次の!lL語の斜め5a 91
を行う。バッファ内の1行分全ての単語記録を行りてバ
ッファが空になると、ステップ51306−ステップ5
1102の順で、次の行の記録すべき文字コートの人力
を待つ。
If the specified pattern is not aligned with the upper line, the process goes to step 51311. When the specified pattern is upper line alignment, the amount of vertical movement is calculated in step 51310 based on the number of characters of the word stored in the character counter. Then, the vertical shift vJ amount calculated in step 51311 is RA
Store the settings in M3. In step 51312, the pointer indicating the character code in the buffer is returned to the previous space code, and in step 51313, the character count becomes "0".
The word is printed diagonally one character at a time until it is confirmed that the number of characters is counted down (steps 51313-51314). Character count is “ON”
If so, return the carriage to the baseline in step 51415, go to 51306, repeat the above procedure, and move the carriage back to the baseline in step 51415, repeating the above procedure until the next ! in the buffer is reached. LL diagonal 5a 91
I do. When the buffer is empty after recording all the words for one line in the buffer, step 51306-step 5
1102, and waits for the character code to be recorded in the next line.

以上、説明したように、本制御手順では単語の区切れを
示す、例えばスペースコードのような特定文字コードを
検出すると共に、スペースコードではさまれる!#語の
文字数を計数する。このため、たとえ単語を構成する文
字数が、j′lL話毎に異っても上記計数結果に基き、
単語がアッパー揃えとなるように文字の傾斜角度および
記録位置すなわちキャリッジの縦移動距離および横移動
距廁1が81算できるので、単語単位での斜め記録が達
成される。
As explained above, in this control procedure, a specific character code such as a space code, which indicates the break between words, is detected, and the character code that is sandwiched between the space codes is detected. # Count the number of characters in the word. Therefore, even if the number of characters that make up a word differs from story to story, based on the above counting results,
Since the inclination angle of the characters and the recording position, that is, the vertical movement distance and the horizontal movement distance 1 of the carriage can be calculated to 81 so that the words are upper aligned, diagonal recording in word units is achieved.

なお、第4図に示すような傾斜角度一定の斜め記録を行
うとぎは、文字毎に行う縦移動量は固定値を用いればよ
いので詳細な説明を省略する。
Note that when performing diagonal recording with a constant inclination angle as shown in FIG. 4, a fixed value may be used for the amount of vertical movement for each character, so a detailed explanation will be omitted.

第14図は第6図に示すような行単位の斜め印字を行う
ための制御手順を示す。第14図において、キー人力待
ちの状態でキー人力があると、ステップ51403で入
力コードが文字キーかを調べる。入力コードが文字コー
ドの時はステップ51404でバッファに入力の文字コ
ードを格納して51402へ戻り、キー人力待ちとなる
FIG. 14 shows a control procedure for performing diagonal printing line by line as shown in FIG. In FIG. 14, if there is a key input while waiting for key input, it is checked in step 51403 whether the input code is a character key. If the input code is a character code, the input character code is stored in the buffer in step 51404, and the process returns to 51402, where the process waits for key input.

人力コードが文字コードでない時はステップ51405
で入力コードがリターンコードかを調べる。入力コード
がリターンコードでない時は51402へ行く。入力コ
ードがリターンコードの時はステップ5140Bでバッ
ファが空になっていないことを確認した後にステップ5
1407でバッファ内の文字コードを順に1文字斜め印
字をして51406へ行く。このとき、記録文字毎の縦
移動量には予め定めた固定値を用いると共に、キャリッ
ジのベースラインへの復帰動作は行なわず、第6図示の
記録例では図中下方向のみに記録用紙を縦移動させる。
If the human code is not a character code, step 51405
Check to see if the input code is a return code. If the input code is not a return code, go to 51402. If the input code is a return code, confirm in step 5140B that the buffer is not empty, and then proceed to step 5.
At step 1407, the character codes in the buffer are printed one character diagonally in order, and the process goes to step 51406. At this time, a predetermined fixed value is used for the vertical movement amount for each recorded character, and the carriage does not return to the baseline, and in the recording example shown in Figure 6, the recording paper is vertically moved only in the downward direction in the figure. move it.

バッファ内の文字をすべて印字し終わった時はステップ
51408でキャリッジをベースラインへ戻し、続いて
ステップ51409でキャリッジをレフトマージンへ戻
す改行処理を行って51402へ行き、再びキー人力待
ちとなる。
When all the characters in the buffer have been printed, the carriage is returned to the baseline in step 51408, and then a line feed process is performed to return the carriage to the left margin in step 51409.The process then proceeds to step 51402, and the process waits again for key input.

第15図は斜め印字のタイプ指定を行うための制御手順
の一例を示す。本制御手順は記録に先立ってキーボード
14から指定タイプが入力されたときに実行される。
FIG. 15 shows an example of a control procedure for specifying the type of diagonal printing. This control procedure is executed when a designated type is input from the keyboard 14 prior to recording.

第15図において、キー人力待ち状態でキー人力がある
と、ステップ51503へ進み、右下がり指定キーの押
下か否かを人力コードにより調べる。右下がり指定キー
が押下されたときはステップ51510へ行く。右下が
り指定キーの押下でないときは、ステップ51504で
押下キーが右上がり指定キーかを調べる。
In FIG. 15, if there is human power on a key in the key human power waiting state, the process advances to step 51503, and it is checked based on the human power code whether or not the right downward designation key has been pressed. When the right-down designation key is pressed, the process advances to step 51510. If the right-down designation key is not pressed, it is checked in step 51504 whether the pressed key is the right-up designation key.

押下キーが右上がり指定キーでないときは、ステップ5
1502へ戻り、キー人力待ちとなる。押下キーが右上
がり指定キーであるなら、ステップ51505で再びキ
ー人力待ちとなる。ここでキー人力があると、ステップ
51506へ進み、押下キーが右下ベース指定キーか否
かを調べる。押下キーが右下ベース指定キーであるなら
、ステップ51509で指定タイプが第4図に示すよう
なタイプBと判断し、タイプBを表わす属性情報をRA
M3に記憶して、斜め記録に備える。
If the pressed key is not the right-up designated key, proceed to step 5.
Returns to 1502 and waits for key personnel. If the pressed key is the right-up designated key, the process returns to step 51505 and waits for the key to be pressed again. If there is a key press here, the process advances to step 51506, and it is checked whether the pressed key is the lower right base designation key. If the pressed key is the lower right base designation key, in step 51509 the designated type is determined to be type B as shown in FIG.
Store it in M3 to prepare for diagonal recording.

押下キーが右下ベース指定キーでないときはステップS
!507で押下キーが左下ベース指定キーか調べる。押
下キーが左下ベース指定キーでないときは51505へ
戻り、キー人力待ちとなる。押下キーが左下ベース指定
キーであるときは、ステップ51508で指定タイプは
第4図示のタイプAと判定し、タイプAを示す属性情報
をIIAM:lに設定記憶する。
If the pressed key is not the lower right base specification key, step S
! In step 507, it is checked whether the pressed key is the lower left base designation key. If the pressed key is not the lower left base designation key, the process returns to 51505 and waits for key input. When the pressed key is the lower left base designation key, the designated type is determined to be type A shown in FIG. 4 in step 51508, and attribute information indicating type A is set and stored in IIAM:l.

ステップ51503へ戻り、押下キーが右下がり指定キ
ーの時はステップ51510でキー人力待ちとなり、次
のキー人力に応じてステップ5isnでその押下キーが
右下ベース指定キーかを調べる。押下キーが右下ベース
指定キーなら、ステップ51514で第4図のタイプD
の指定と判断し、タイプDを示す属性情報をRAM3に
記憶して、タイプ設定を終了する。ステップ5151L
へ戻り、押下キーが右下ベース指定キーであるときはス
テップ51513で指定タイプは第4図示のタイプCと
判定し、その旨の属性情報をRAM3に記憶してタイプ
設定を終了する。
Returning to step 51503, if the pressed key is the lower right designation key, the process waits for key input in step 51510, and depending on the next key input, it is checked in step 5isn whether the pressed key is the lower right base specification key. If the pressed key is the lower right base designation key, in step 51514 type D in FIG.
, the attribute information indicating type D is stored in the RAM 3, and the type setting is completed. Step 5151L
When the pressed key is the lower right base designation key, the designated type is determined to be type C shown in FIG. 4 in step 51513, attribute information to that effect is stored in the RAM 3, and the type setting is completed.

第16図は斜め印字の角度指定を行うための制御手順の
一例を示す。第16図においてキー人力待ちの状態でス
テップ5162においてキー人力があると、ステップ5
163で押下キーが数字の“0〜4”の範囲のキー押下
か否かを調べる。“0〜4“までの数字入力でないとき
は5162へ戻り、キー人力待ちとなる。
FIG. 16 shows an example of a control procedure for specifying the angle of diagonal printing. In FIG. 16, when key power is available in step 5162 while waiting for key power, step 5
At step 163, it is checked whether the pressed key is a key in the range of numbers "0 to 4". If a number from "0 to 4" is not input, the process returns to 5162 and waits for key input.

“0〜4”までのキー人力のときは、角度指定命令と判
定し、ステップ5161で角度のキー人力待ちとなる。
If the key input is from "0 to 4", it is determined that it is an angle designation command, and in step 5161 the key input is awaited.

数字の”0〜9”までのキー人力をステップ5165で
確認すると、入力された数字“0〜9”までに対応させ
た角度パラメーターをRAM3に記憶して記録角度を設
定し、本制御手順を終了する。人力可能な数値範囲を“
00〜49”、横方向は1文字36ドツトとし、1ドツ
トの大きさが縦横共に等しいとするとtan53.74
49/38 となって最大53.7°の傾斜角度を得る
ことができる。
When the key force for the numbers "0 to 9" is confirmed in step 5165, the angle parameters corresponding to the input numbers "0 to 9" are stored in RAM3, the recording angle is set, and this control procedure is executed. finish. Humanly possible numerical range “
00 to 49", one character has 36 dots in the horizontal direction, and if the size of one dot is equal in both the vertical and horizontal directions, tan53.74
49/38, and a maximum inclination angle of 53.7° can be obtained.

以上、文字、単語1行単位での斜め記録を行う例につい
て説明してきたが、他にも次の例が考えられる。
An example of performing diagonal recording on a line-by-line basis of characters and words has been described above, but the following examples are also possible.

(1)第7図のタイプHのように単語のアクセント位置
を斜め記録し、単ERのアクセント位置を表現すること
が可能となる。さらに、単語中の第1アクセントと第2
アクセントの文字の傾斜角度を第7図のタイプIに示す
ように異なったものにすることにより、複数のアクセン
ト位置および強弱を示すことが可能となる。アクセント
位置のみを斜め記録するとぎにはアクセント位置を文字
コードと共に人力し、記録文字数をCPIIIにより計
数すればよく、計数値がアクセント位置に到達するとぎ
に斜め記録を行う。
(1) As in type H in FIG. 7, the accent position of a word is recorded diagonally, making it possible to express the accent position of a single ER. Furthermore, the first accent and the second accent in the word
By making the inclination angles of accented characters different as shown in Type I in FIG. 7, it is possible to indicate a plurality of accent positions and strengths. To record only the accent position diagonally, it is sufficient to input the accent position along with the character code manually, count the number of recorded characters using CPIII, and perform diagonal recording when the counted value reaches the accent position.

(2)第8図のタイプJに示すように?記号を有する単
語のみを斜め記録して文章の抑揚を表現することも可能
である。この場合はバッファ内に格納された文字コード
列から単語をCPIllにより抽出し、抽出した単語の
末尾に?記号コードを有することを確認したときに、そ
の単語の斜め記録を行う。
(2) As shown in type J in Figure 8? It is also possible to express the intonation of a sentence by recording only words with symbols diagonally. In this case, a word is extracted from the character code string stored in the buffer using CPIll, and a ? When it is confirmed that the word has a symbol code, the word is recorded diagonally.

先発明の効果〕 以上、説明したように、本発明の第1形態によれば、斜
体文字用の文字発生器を用いな(でも斜体文字を形成す
ることができるので爪側な記録装置を提供することがで
きる。
[Effects of the Prior Invention] As described above, according to the first embodiment of the present invention, it is possible to generate italic characters even without using a character generator for italic characters, thereby providing a convenient recording device. can do.

本発明の第2形態によれば、第1移動手段および第2移
動手段には従来装置のヘッド走査機構や記録用紙の搬送
機構を用いることができるので、機械構成上は従来装置
のものを使用することができる。この結果、従来装置の
制御回路を本発明の制御手段を装置化した回路と交換す
るだけで、斜体文字画像を形成できるという効果も得ら
れる。
According to the second embodiment of the present invention, the head scanning mechanism and recording paper conveyance mechanism of the conventional device can be used for the first moving means and the second moving means, so the mechanical configuration of the conventional device can be used. can do. As a result, italic character images can be formed simply by replacing the control circuit of the conventional device with a circuit incorporating the control means of the present invention.

本発明の第3形態によれば、所望の傾斜角度の文字画像
が得られるので、?記号や1記号をそれぞれ適当な傾斜
角度で記録し、文章を強調したり、単語のアクセント部
分の文字をその強弱に応じて傾斜角度を変えるなど、従
来にはない5独多様な文章表記が可能となる。
According to the third aspect of the present invention, a character image with a desired tilt angle can be obtained. It is possible to record a symbol or single symbol at an appropriate angle of inclination to emphasize the sentence, or to change the angle of inclination of the accented part of a word depending on its strength. becomes.

本発明の第4形態によれば、単語や文単位での斜め記録
が可能となるので、例えば英文手紙をあたかも手書きし
た場合と同様の記録画像等、従来にはない文字表現が可
能となる。
According to the fourth aspect of the present invention, it is possible to record diagonally in units of words and sentences, so it is possible to express characters that were not possible in the past, such as a recorded image that looks like an English letter written by hand.

本発明の第5形態では、文字数の異なる単語や文を1行
の記録枠に収めることができるので、定角度での斜め記
録に比べ、記録用紙の消耗を減少することができ、以て
、記録装置の維持費の節減に寄与することができる。
In the fifth embodiment of the present invention, since words and sentences with different numbers of characters can be stored in one recording frame, the consumption of recording paper can be reduced compared to diagonal recording at a fixed angle. This can contribute to reducing maintenance costs for recording devices.

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

第1図は本発明実施例の基本構成を示すブロック図、 第2図は本発明実施例の回路構成を示すブロック図、 第3図(A)は本発明実施例の通常文字のドツトパター
ンを示す説明図、 第3図(B)は本発明実施例の斜め文字のドツトパター
ンを示す説明図、 第4図は本発明実施例の文字単位の斜め印字例を示す説
明図、 第5図は本発明実施例の単語単位の斜め印字例を示す説
明図、 第6図は本発明実施例の行単位の斜め印字例を示す説明
図、 第7図は本発明実施例の単語のアクセント位置を斜め印
字で表現した印字例を示す説明図、第8図は本発明実施
例の文章の抑揚を斜め印字で表現した印字例を示す説明
図、 第9図は本発明実施例の1文字斜め印字の制御手順を示
すフローチャート、 第10図は本発明実施例のキャリッジモーター割込み駆
動のための制御手順を示すフローチャート、 第11図は本発明実施例のベーパーフィードモーター割
込み駆動のための制御手順を示すフローチャート、 第12図は本発明実施例の文字単位の斜め印字のための
制御手順を示すフローチャート、第13図は本発明実施
例の単語単位の斜め印字のための制御手順を示すフロー
チャート、第14図は本発明実施例の行単位の斜め印字
のための制御手順を示すフローチャート、 第15図は本発明実施例の斜め印字のタイプ指定のため
の制御手順を示すフローチャート、第16図は本発明実
施例の斜め印字の角度指定のための制御手順を示すフロ
ーチャートである。 l ・・・CPU  。 3・・・RAM  。 4・・・第1タイマー 5・・・第2タイマー 9・・・ベーパーフィードモーター 10・・・キャリッジモーター 14・・・キーボード。 第3図(A) 第3図(8) 第4図 方遺ブy!更糖Mりのフロ→哄−ト 第9図 第46す1処批4り11670−チイート第11図 不運(引町杷f1のフローh−ト 第13図 本そ用災ビク11めフロ→【−ト 第14図
Fig. 1 is a block diagram showing the basic configuration of an embodiment of the present invention, Fig. 2 is a block diagram showing a circuit configuration of an embodiment of the present invention, and Fig. 3 (A) shows a dot pattern of regular characters in an embodiment of the present invention. 3(B) is an explanatory diagram showing a dot pattern of diagonal characters according to an embodiment of the present invention. FIG. 4 is an explanatory diagram showing an example of diagonal printing of character units according to an embodiment of the present invention. An explanatory diagram showing an example of diagonal printing on a word-by-word basis according to an embodiment of the present invention. Fig. 6 is an explanatory diagram showing an example of diagonal printing on a line-by-line basis according to an embodiment of the present invention. Fig. 7 shows the accent position of a word according to an embodiment of the present invention. An explanatory diagram showing an example of printing expressed by diagonal printing. Fig. 8 is an explanatory diagram showing an example of printing in which the intonation of a sentence is expressed by diagonal printing according to an embodiment of the present invention. Fig. 9 is a diagram showing a printing example of one character diagonally printed according to an embodiment of the present invention. 10 is a flowchart showing a control procedure for interrupt driving the carriage motor according to an embodiment of the present invention. FIG. 11 shows a control procedure for interrupt driving a vapor feed motor according to an embodiment of the present invention. Flowcharts: FIG. 12 is a flowchart showing a control procedure for diagonal printing in character units according to an embodiment of the present invention; FIG. 13 is a flowchart showing a control procedure for diagonal printing in word units according to an embodiment of the present invention; 15 is a flowchart showing the control procedure for specifying the type of diagonal printing according to the embodiment of the present invention. FIG. 16 is a flowchart showing the control procedure for specifying the type of diagonal printing according to the embodiment of the present invention. 7 is a flowchart showing a control procedure for specifying the angle of diagonal printing according to the embodiment. l...CPU. 3...RAM. 4...First timer 5...Second timer 9...Vapor feed motor 10...Carriage motor 14...Keyboard. Figure 3 (A) Figure 3 (8) Figure 4 Remains! 11670-Cheat Figure 11 Misfortune (Hikimachi loquat f1 flow h-to Figure 13 Honso disaster Bikku 11th floor → [-Figure 14

Claims (1)

【特許請求の範囲】 1)文字情報をドット形態で被記録材に記録するドット
式の記録方法において、 ドット式の記録ヘッドを前記被記録材に対して主走査方
向と副走査方向の両方向に同時に、またはドット単位で
交互に、相対移動させることにより斜めに傾いた記号を
含む斜体文字を前記被記録材上に記録することを特徴と
する記録方法。 2)文字情報をドット形態で記録可能な記録ヘッドによ
り被記録材上に前記文字情報を記録する記録装置におい
て、 前記記録ヘッドを前記被記録材に対して主走査方向に移
動させる第1移動手段と、 前記被記録材を前記記録ヘッドに対して副走査方向に移
動させる第2移動手段と、 前記記録ヘッドを駆動するとともに、前記第1移動手段
および前記第2移動手段を同時またはドット単位で交互
に、斜めに所定角度傾いた記号を含む斜体文字を記録さ
せる制御手段と を具えたことを特徴とする記録装置。 3)文字情報をドット形態で記録可能な記録ヘッドによ
り被記録材上に前記文字情報を記録する記録装置におい
て、記号を含む、文字の傾斜角度を指定入力する入力手
段と、 前記記録ヘッドを前記被記録材に対して主走査方向に移
動させる第1移動手段と、 前記被記録材を前記記録ヘッドに対して副走査方向に移
動させる第2移動手段と、 前記入力手段により指定された前記傾斜角度に基いて前
記第1移動手段と前記第2移動手段の駆動速度または駆
動量を設定し、前記記録ヘッドを駆動すると共に同時ま
たはドット単位で交互に前記第1移動手段および前記第
2移動手段を駆動することにより、前記入力手段により
指定入力された傾斜角度で斜めに傾いた斜体文字を記録
させる制御手段と を具えたことを特徴とする記録装置。 4)文字情報をドット形態で記録可能な記録ヘッドによ
り被記録材上に前記文字情報を記録する記録装置におい
て、 前記文字情報を文字コードで記録の順序に記憶する記憶
手段と、 該記憶手段の中の単語または文の区切れを示す特定コー
ドではさまれた文字コード列を検出することにより前記
記録手段から単語または文の文字列情報を抽出する抽出
手段と、 前記抽出手段により抽出された当該文字列情報をドット
パターンに変換する変換手段と、前記記録ヘッドと前記
被記録材を主走査方向と副走査方向の両方向に、同時ま
たはドット単位で交互に相対移動させる移動手段と、 前記記録ヘッドと前記移動手段を駆動制御して前記抽出
手段により抽出され、前記変換手段によりドットパター
ンに変換された文字列情報を単語または文単位で斜めに
記録させる制御手段とを具えたことを特徴とする記録装
置。 5)前記制御手段は前記文字列情報の文字個数に応じて
当該文字列情報の記録傾斜角度を可変設定し、当該設定
した傾斜角度に基いて前記移動手段の駆動速度または移
動量を制御することを特徴とする請求項4に記載の記録
装置。 (以下余白)
[Claims] 1) In a dot-type recording method for recording character information in the form of dots on a recording material, a dot-type recording head is moved in both the main scanning direction and the sub-scanning direction with respect to the recording material. A recording method characterized in that italic characters including oblique symbols are recorded on the recording material by relative movement simultaneously or alternately in units of dots. 2) In a recording apparatus that records character information on a recording material using a recording head capable of recording character information in the form of dots, a first moving means for moving the recording head in a main scanning direction with respect to the recording material. a second moving means for moving the recording material in the sub-scanning direction with respect to the recording head; and a second moving means for driving the recording head and moving the first moving means and the second moving means simultaneously or in units of dots. 1. A recording device comprising: control means for alternately recording italic characters including symbols tilted diagonally at a predetermined angle. 3) In a recording apparatus that records character information on a recording material using a recording head capable of recording character information in the form of dots, an input means for specifying and inputting an inclination angle of characters including symbols; a first moving means for moving the recorded material in the main scanning direction; a second moving means for moving the recorded material in the sub-scanning direction with respect to the recording head; and the tilt specified by the input means. The driving speed or the driving amount of the first moving means and the second moving means is set based on the angle, and while driving the recording head, the first moving means and the second moving means are driven simultaneously or alternately in units of dots. 2. A recording apparatus comprising: a control means for recording an italic character obliquely inclined at an inclination angle designated by the input means by driving the input means. 4) A recording device that records the character information on a recording material using a recording head capable of recording character information in the form of dots, comprising: a storage means for storing the character information in the recording order in a character code; Extracting means for extracting character string information of a word or sentence from the recording means by detecting a character code string sandwiched between specific codes indicating breaks between words or sentences; and a converting means for converting character string information into a dot pattern; a moving means for relatively moving the recording head and the recording material in both the main scanning direction and the sub-scanning direction simultaneously or alternately in units of dots; and the recording head. and a control means that drives and controls the moving means to diagonally record the character string information extracted by the extracting means and converted into a dot pattern by the converting means in units of words or sentences. Recording device. 5) The control means variably sets the recording inclination angle of the character string information according to the number of characters of the character string information, and controls the driving speed or movement amount of the moving means based on the set inclination angle. The recording device according to claim 4, characterized in that: (Margin below)
JP14838089A 1989-06-13 1989-06-13 Recording method and recorder therefor Pending JPH0313357A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14838089A JPH0313357A (en) 1989-06-13 1989-06-13 Recording method and recorder therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14838089A JPH0313357A (en) 1989-06-13 1989-06-13 Recording method and recorder therefor

Publications (1)

Publication Number Publication Date
JPH0313357A true JPH0313357A (en) 1991-01-22

Family

ID=15451471

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14838089A Pending JPH0313357A (en) 1989-06-13 1989-06-13 Recording method and recorder therefor

Country Status (1)

Country Link
JP (1) JPH0313357A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11229861B2 (en) 2017-04-13 2022-01-25 Airrat Pty Ltd Sludge harvester improvements

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11229861B2 (en) 2017-04-13 2022-01-25 Airrat Pty Ltd Sludge harvester improvements

Similar Documents

Publication Publication Date Title
JPS5936778B2 (en) data printing device
JPH0313357A (en) Recording method and recorder therefor
JPS6322333B2 (en)
JPS6072744A (en) Space processor for printer
JP2832102B2 (en) Printing method and apparatus
JP2746592B2 (en) Document processing apparatus and method
JPH0679922A (en) Recording device
JPH06103430B2 (en) Character processor
JP2984156B2 (en) Recording method and apparatus
JPS63159061A (en) Printer
JP2003266799A (en) Recorder-information processor
JPS6322332B2 (en)
JPH0371028B2 (en)
JPH01262146A (en) Printing of hunkul alphabet
JPS60129267A (en) Printing system for letter and the like
JPH08297711A (en) Character string output device
JPS63210887A (en) Word processor
JPS62239194A (en) Document generator
JP2958016B2 (en) Output control apparatus and method
JPS6160121A (en) Graphic print processing system
JPH0815794B2 (en) Character processor
JPH02248268A (en) Recorder
JPH08123801A (en) Document preparing device and frame editing method
JPH082009A (en) Serial printer
JPH06337859A (en) Document generation device