JPH04148966A - Printing controller - Google Patents

Printing controller

Info

Publication number
JPH04148966A
JPH04148966A JP2274495A JP27449590A JPH04148966A JP H04148966 A JPH04148966 A JP H04148966A JP 2274495 A JP2274495 A JP 2274495A JP 27449590 A JP27449590 A JP 27449590A JP H04148966 A JPH04148966 A JP H04148966A
Authority
JP
Japan
Prior art keywords
angle
character
input
printing
character string
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2274495A
Other languages
Japanese (ja)
Other versions
JP2846722B2 (en
Inventor
Takeshi Inoue
武志 井上
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.)
Tokyo Sanyo Electric Co Ltd
Sanyo Electric Co Ltd
Original Assignee
Tokyo Sanyo Electric Co Ltd
Tottori Sanyo Electric Co Ltd
Sanyo Electric 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 Tokyo Sanyo Electric Co Ltd, Tottori Sanyo Electric Co Ltd, Sanyo Electric Co Ltd filed Critical Tokyo Sanyo Electric Co Ltd
Priority to JP2274495A priority Critical patent/JP2846722B2/en
Publication of JPH04148966A publication Critical patent/JPH04148966A/en
Application granted granted Critical
Publication of JP2846722B2 publication Critical patent/JP2846722B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To designate an opening angle and an inclining angle optionally by determining the opening angle of an arc designated by an alignment designating means on the basis of the input angle and aligning/printing a character string within the determined range. CONSTITUTION:The display of types I-IV indicates, respectively, to align a character string in a designated line in the shape of an arch (arc), an inverse arch, to slant the character string right upwards or right downwards. The angle represents an opening angle of an arc theta formed by the character string when the type I or II is designated. On the other hand, when the type II or IV is designated as the character alignment, an inclining angle of the character string becomes the angle theta. A desired angle can be set by moving a cursor 2 and inputting a numerical value of the angle through a ten key or the like of the inputting means.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明は印字制御装置に関する。[Detailed description of the invention] (b) Industrial application fields The present invention relates to a printing control device.

(ロ)従来の技術 現在、ワードプロセッサと称される文書処理装置では、
入力された文字列を円弧(アーチ)状、逆円弧状、右]
二つ状、右下がり状等任意の配列形状に沿った形で配列
印字(以下ではマルチデイレクトと称す)可能な機能を
有したものが出現している(例えば、キャノン(株)製
日本語ワードプロセッサCanoWord α50のマ
ニュアル「操作ガイド〜ワープロ機能編〜」参照)。
(b) Conventional technology Currently, document processing devices called word processors:
Convert input string into arc, reverse arc, right]
Products that have a function that allows array printing (hereinafter referred to as multi-direct) along arbitrary array shapes such as two-way, downward-sloping, etc. have appeared (for example, Japanese printers manufactured by Canon Co., Ltd. (Refer to the word processor CanoWord α50 manual ``Operation Guide - Word Processing Function Edition'').

(ハ)発明が解決しようとする課題 然るに、」二記従来装置では円弧状配列時の円弧の拡開
角及び右−1〕す、右下り等の傾斜配列時の傾斜角は、
r・めマルチデイレクトにより文字が印字される領域と
して指定された領域の大きさにより決定さね、る。この
ため、所望の拡開角もしくは傾斜角で文字列を配列した
い際には、予め一1―記領域の大きさを算出指定せねば
ならなかった。
(C) Problems to be Solved by the Invention Accordingly, in the conventional device described in Section 2, the expansion angle of the arc when the arc is arranged and the angle of inclination when the arrangement is tilted downward to the right, etc.
It is determined by the size of the area designated as the area where characters are printed by multidirect. Therefore, when it is desired to arrange character strings at a desired expansion angle or inclination angle, it is necessary to calculate and specify the size of the area in advance.

(ニ)課題を解決するための手段 本発明は、斯る点に鑑みてなされたもので、第1の特徴
は、文字列を任意の配列形状に配列印字可能な装置であ
って、配列印字されるべき文字列を指定する手段と、円
弧状配列を指定する手段と、角度を入力する手段と、該
入力手段から入力された角度に基づいて上記配列指定手
段により指定された円弧の拡開角を決定すると共に斯る
決定された範囲内に上記文字列指定手段により指定され
た文字列を配列印字する手段とをfliiiえたことに
ある。
(d) Means for Solving the Problems The present invention has been made in view of the above points, and the first feature is an apparatus capable of array printing character strings in an arbitrary array shape, which is capable of array printing. a means for specifying a character string to be displayed, a means for specifying a circular arc arrangement, a means for inputting an angle, and an expansion of the arc specified by the arrangement specifying means based on the angle input from the input means. The present invention is capable of determining the corner and also means for arranging and printing the character string specified by the character string specifying means within the determined range.

また、第2の特徴は、配列印字されるべき文字列を指定
する手段と、右1−リ、右ドり等の傾斜配列を指定する
手段と、角度を入力する手段と、該入力手段から入力さ
hた角度に基づいて−1−記配列指定手段により指定さ
れた傾斜配列時の傾斜角を;3 決定すると共に斯る決定角度で上記文字列指定手段によ
り指定された文字列を配列印字する手段とを備えたこと
にある。
The second feature is a means for specifying a character string to be arranged and printed, a means for specifying an inclined arrangement such as right 1-ri, right-hand, etc., a means for inputting an angle, and a means for inputting an angle. Based on the input angle, -1- Determine the inclination angle at the time of inclined arrangement specified by the arrangement specifying means; and at the same time, print the character string specified by the character string specifying means at the determined angle. The purpose is to have the means to do so.

(ホ)作 用 斯る構成によれば、任意に拡開角及び傾斜角を指定可能
である。
(e) Operation According to this configuration, the expansion angle and the inclination angle can be specified arbitrarily.

(へ)実施例 本発明の概要をまず説明する。(f) Example First, an overview of the present invention will be explained.

第1図に示す如く、作成中あるいは作成済の文書を表示
部(1)」−に表示し、かつその文書中の所定領域、例
えば表示部(1)に表示された文書の先頭行にカーソル
(2)を位置させた状態にあるとする。尚、図中(3a
)(3b)は左右マージンを、また「・」はスペースを
示す。このとき、入力手段(第、1図中図示せず)より
マルチデイレクト指令が入力されると、」二記先頭行に
対してその印字時にマルチデイレクト印字出力を行なう
ことを指定したものとして、第2図に示す如く表示部(
1)に印字時の書式を入力することを要求する画面を表
示する。尚、以下ではマルチデイレクト指令が入力され
た時点でカーソル(2)が位置している文書中の行を指
定行と称す。
As shown in Figure 1, a document that is being created or has been created is displayed on the display section (1), and the cursor is placed in a predetermined area of the document, such as the first line of the document displayed on the display section (1). Assume that (2) is in position. In addition, in the figure (3a
)(3b) indicates left and right margins, and "." indicates a space. At this time, when a multi-direct command is input from the input means (not shown in Figure 1), it is assumed that multi-direct printout is specified for the first line marked 2 at the time of printing. , as shown in Figure 2, the display section (
1) Displays a screen requesting input of the printing format. Note that, hereinafter, the line in the document where the cursor (2) is positioned at the time the multidirect command is input will be referred to as a designated line.

この画面−1−に表示される書式データは第2図より明
らかな様に複数個存在するので以下で各々について説明
する。
As is clear from FIG. 2, there is a plurality of format data displayed on this screen -1-, and each will be explained below.

(1)文字の並び 本書式データは、I−記指定行中の文字の並び型式を指
定するもので、第2図中「タイプI」と表示された位;
75にカーソル(2)を移動し、入力手段中の特定キー
(例えば「変換キー」)を入力するとカーソル位置上の
表示が「タイプ■」→「タイプ11J→「タイプ!II
 J→「タイプ■」→「なし」→「タイプT」→・とい
う様にサイクリックに変化する。+7記タイプ1〜■と
いう表示は第3図(a)〜(d)に示す如く指定行中の
文字列を■ アーチ(円弧)状に配列する ■ 逆アーチ(逆円弧)状に配列する ■ 右1−りに配列する ■ 右Jぐりに配列する ことを夫々指示するものである。
(1) Character arrangement This format data specifies the character arrangement type in the I-notation specified line, and the position indicated as "Type I" in Figure 2;
When you move the cursor (2) to 75 and enter a specific key (for example, "conversion key") in the input means, the display above the cursor position will change from "Type ■" → "Type 11J → "Type! II"
It changes cyclically as follows: J → "Type ■" → "None" → "Type T" →. +7 Types 1 to ■ Displays the character strings in the specified line as shown in Figures 3 (a) to (d): ■ Arrange the character strings in an arch (circular arc) ■ Arrange in a reverse arch (reverse arc) ■ Arrange to the right (1-1) Indicates to arrange to the right (J-way).

尚、「なし」という表示は−I−記指定行に対しマルチ
デイレクトを行なわないことを示す。
Note that the display "None" indicates that multidirection is not performed for the specified line indicated by -I-.

(ii)  角度 本書式データは、文字の並び形式がタイプIあるいはタ
イプITと指定されている時には第3図(a )(b 
)に示す如く文字列が配される円弧の拡開角度θとなり
、一方文字の並び形式がタイプIl+あるいはタイプ■
と指定されている時には第3図(c )(cl )に示
す如く文字列の配列傾斜角度θを示すこととなる。また
、この角度データは第2図中で「θ゛」と表示された位
置にカーソル(2)を移動せしめ、入力手段中のテンキ
ー等を用いて角度を示す数値を入力することにより所望
値に設定できる。
(ii) When the character arrangement format is specified as Type I or Type IT, the angular book format data is as shown in Figure 3 (a) (b).
) is the expansion angle θ of the arc where the character string is arranged, while the character arrangement format is type Il+ or type■
When this is specified, the array inclination angle θ of the character string is indicated as shown in FIGS. 3(c) and 3(cl). In addition, this angle data can be set to a desired value by moving the cursor (2) to the position indicated as "θ゛" in Figure 2 and inputting a numerical value indicating the angle using the numeric keypad etc. in the input means. Can be set.

(iii)  文字の大きさ 本書式データはマルチデイレクト印字時の文字の大きさ
を指定するもので具体的には第2図中の「m」と表示さ
れた位置にカーソル(2)を移動せしめ入力手段中のテ
ンキー等を用いて数値を入力することにより縦方向の倍
率を指定でき、またカ−ソル(2)をrn」と表示され
た位置に移動させて数値を入力することにより横方向の
倍率を指定できる。尚、」〕記倍率の基となる文字の大
きさは第1図に示す如き文IF入力中等において指定さ
れるサイズ(例えば、全角、半角等)である。
(iii) Character size This format data specifies the character size for multi-direct printing. Specifically, move the cursor (2) to the position indicated by "m" in Figure 2. You can specify the vertical magnification by inputting a numerical value using the numeric keypad etc. in the input means, and you can specify the horizontal magnification by moving the cursor (2) to the position where "rn" is displayed and inputting a numerical value. You can specify the magnification in the direction. Note that the character size that is the basis of the writing magnification is the size (for example, full-width, half-width, etc.) specified in the text IF input as shown in FIG.

(iv)  行ピッチ 本書式データは、上記指定行とその次の行との行ピッチ
を示すものであり、第2図中のrLPIJど表示された
位置にカーソル(2)を移動させることにより上記位置
にテンキー等を用いてO〜15の数字を入力可能である
(iv) Line pitch This format data indicates the line pitch between the specified line and the next line, and by moving the cursor (2) to the position indicated as rLPIJ in Fig. Numbers from 0 to 15 can be entered at the position using a numeric keypad or the like.

−I−記rLP]、Jとして数値「】5」が入力表示さ
れている時には、後で詳細に説明する様に上記文字並び
データ、角度データ、文字の大きさデータ等に基づき算
出された数値を行ピッチ(以下では、自動設定行ピッチ
と称す)として、かつこの値は第2図中のr LP2J
と表示された位置に表示される。
-I-rLP], when the numerical value "]5" is input and displayed as J, the numerical value is calculated based on the above character arrangement data, angle data, character size data, etc., as will be explained in detail later. is the line pitch (hereinafter referred to as automatically set line pitch), and this value is r LP2J in Fig. 2.
will be displayed at the position indicated.

一方、rl、PIJとして数f11E ’ Q J〜「
)わが入力表示されている際には、上記自動設定行ピッ
チに基づいて15段階に設定された数値を行ピッチとし
て夫々対応づけrLP2J と表示された位置に表示す
る。具体的には、今、自動設定行ピッチが120mmと
するとrLPIJ表示位置に表示されるr□J〜「14
」に夫々対応して行ピッチはromm」、’10mシ、
’20mm」、 r30mmJ 、・・・r120mm
」、”130mmJ、7140mm」に設定され、かつ
r LP2J表示位置に表示されることとなる。尚、−
1−記rLr’2J表示位置には直接テンキー等から数
値を入力することはできない。
On the other hand, as rl and PIJ, the number f11E'Q J~'
) When my input is displayed, numerical values set in 15 steps based on the above-mentioned automatically set line pitch are associated with each other as the line pitch and displayed at the positions indicated as rLP2J. Specifically, if the automatic setting line pitch is now 120 mm, the r□J ~ "14
The row pitch corresponds to ``romm'', ``10m,'' respectively.
'20mm'', r30mmJ,...r120mm
”, “130mmJ, 7140mm” and will be displayed at the r LP2J display position. Furthermore, -
1- It is not possible to input numerical values directly into the display position rLr'2J using a numeric keypad or the like.

(v)  印字幅 本書式データは、上記指定行が印字される用紙−4二の
幅を示すデータであり、第2図中の「忍」と表示された
位置にカーソル(2)を移動させ、テンキー等を用いて
所望幅を示す数値を入力することにより任意に設定でき
、かつその数値は」二記r4..1表示位置に表示され
る。
(v) Print width This format data indicates the width of paper-42 on which the specified line is printed. , can be set arbitrarily by inputting a numerical value indicating the desired width using a numeric keypad, etc., and the numerical value can be set arbitrarily by inputting a numerical value indicating the desired width using a numeric keypad or the like. .. 1 display position.

尚、上記r文字の並び」、「角度」、「文字の大きさコ
、「行ピッチJ及び「印字幅jの各データは入力手段か
ら入力されることによりはじめて設定される如く説明し
たが、実際には各データ共にデフォルト値が設定表示さ
れるので、その後の入力はデータ変更ということとなる
In addition, although it has been explained that the above-mentioned data such as "arrangement of characters", "angle", "character size", "line pitch J", and "printing width j" are set only by being input from the input means, In reality, default values are set and displayed for each data, so subsequent input is equivalent to changing the data.

(vl)有効文字数 本書式データは、第3図(a)〜(d)に示す如く配列
した際に、実際に印字可能な文字数を示すデータであり
、後で詳細に説明する様に角度データ等にノ、(づいて
自動的に算出され、かつ第2図中のr ECJ表示位置
に表示される。尚、このデータはテンキー等を用いて任
、Q:に変更することはできない。
(vl) Number of effective characters This format data indicates the number of characters that can actually be printed when arranged as shown in Figure 3 (a) to (d), and angle data as will be explained in detail later. etc., etc., and is automatically calculated and displayed at the r ECJ display position in FIG.

(■1)文字ピッチ 本書式データは、文字の並びがタイプIIIもしくはタ
イプ■に設定された際の印字時の文字ピッチ(第3図(
C)参照)を示すデータである。具体的には後で詳細に
説明する様に角度データ等に基づいて自動的に算出され
、かつ第2図中のrpJ表示位置に表示される。また、
この数f+Iiはカーソル(2)を1−■)」表示位置
に移動させ、テンキー等を用いて数(1tffiを入力
することにより作意に変更できる。
(■1) Character pitch This format data is the character pitch when printing when the character arrangement is set to Type III or Type ■ (Figure 3 (
C)). Specifically, as will be explained in detail later, it is automatically calculated based on angle data, etc., and is displayed at the rpJ display position in FIG. Also,
This number f+Ii can be changed as desired by moving the cursor (2) to the display position of "1-■)" and inputting the number (1tffi) using the numeric keypad or the like.

(viii )  サンプル表示部 第2図中点線で囲まれた枠内は、サンプル表示領域(4
)であり、該領域(4)には文字の並びデータ及び角度
データに対応して第3図(a)〜(d)の様なパターン
を表示する。
(viii) Sample display area The frame surrounded by the dotted line in Figure 2 is the sample display area (4
), and patterns as shown in FIGS. 3(a) to 3(d) are displayed in the area (4) corresponding to the character arrangement data and angle data.

次に、文字ピッチP、有効文字数EC1行ピッチL I
’2の見出方法について説明する。
Next, character pitch P, number of effective characters EC, line pitch L I
'2 The heading method will be explained.

タイプ■とタイプITとの配列形態は、基本的には線対
称であるので、タイプ■を代表的な例として算出方法を
説明し、一方タイブII+とタイプ■との配列形態もま
た基本的には線対称であるのでタイプII+を代表的な
例として説明する。
The arrangement form of Type ■ and Type IT is basically line symmetrical, so the calculation method will be explained using Type ■ as a representative example, while the arrangement form of Type II+ and Type ■ is also basically symmetrical. Since type II+ is line symmetrical, type II+ will be explained as a typical example.

A、 タイプ■におけるデータの算出方法まず、有効文
字数ECの算出は以下の0〜0式に基づいて行なう。尚
、文書入力中に指定されている文字の大きさは説明の都
合J=、 C11mm X C1−1mmとする。
A. Data calculation method for type ■ First, the number of effective characters EC is calculated based on the following 0-0 formula. Note that the size of the characters specified during document input is assumed to be J=C11 mm x C1-1 mm for convenience of explanation.

θ゛=θ/2                 ・・
・0mmmXCH−、■ !コ’=nXCIIXα(αは1以−にの定数)・・・
■S = (m sinθ’十ncosθ)/2   
−・・■r = (1,−2S)/2sinθ′・・■
、’、EC−2w (r −m  /2 )θ/360
n  + 1πθ(r −m’ )/360n ’→−
1・・・■具体的に」−記各式を第4図(a、)(b)
に基づいて説明すると、■式は第4図(a)からも明ら
かな様に文字列が配列される円弧の拡開角の゛V、値θ
′を算出するものである。00式は第4図(b)に明示
する如く印字時の文字の縦横の大きさm’Xn’を算出
するものである。また、0式は第4図(1))から明ら
かな如く左端に位置する文字の中・c、1と印字領域の
左端M1との距離Sを算出するものであり、■式はに記
■〜■式の結果に基づいて印字幅氾中に形成でき、かつ
拡開角がθとなる円弧の゛ト径丁を算出するためのもの
である。更に■式は−1−記■〜■式の結果に基づき有
効文字数ECを算出する式である。この式の基本的な考
え方は、印字領域の左右端M1、M2に近接配置される
文字の中・c、)を通る半径r、拡開角θの円弧−(−
に文字幅n゛の文字を配列する時の配列可能文字数を算
出することにある。
θ゛=θ/2...
・0mmmXCH-,■! Co'=nXCIIXα (α is a constant greater than or equal to 1)...
■S = (m sinθ' ten cosθ)/2
−・・■r = (1, −2S)/2sinθ′・・■
, ', EC-2w (r - m /2 ) θ/360
n + 1πθ(r −m')/360n'→-
1...■Specifically'' - Each formula is shown in Figure 4 (a,) (b)
To explain this based on the following, the formula (①) is the expansion angle of the arc in which the character strings are arranged, ゛V, and the value θ, as is clear from Fig. 4(a).
′ is calculated. Equation 00 is used to calculate the vertical and horizontal sizes m'Xn' of characters during printing, as shown in FIG. 4(b). Also, as is clear from Figure 4 (1)), formula 0 calculates the distance S between the middle c, 1 of the character located at the left end and the left end M1 of the printing area, and the formula is written in This is for calculating the radius of an arc that can be formed during the full printing width and has an expansion angle of θ based on the results of formulas 1 to 2. Furthermore, formula (2) is a formula for calculating the number of effective characters EC based on the results of formulas (1) to (2). The basic idea of this formula is that an arc - (-
The objective is to calculate the number of characters that can be arranged when arranging characters with a character width of n.

尚、上記■式における印字文字の横方向の大きさn″の
算出を単にr nX Ct(Jとせず、更に6倍して求
めているが、これは印字に隣接する文字同士が重ならな
いようにするためであり、通常上記αはr 1. 、2
 J程度とすることが好ましい。また以下ではI−記α
を文字ピッチ補」丁定数と称す。
In addition, the horizontal size n'' of the printed characters in the above formula (■) is not simply calculated as r nX Ct (J, but is further multiplied by 6. Usually, the above α is r 1., 2
It is preferable to set it to about J. In addition, below, I-description α
is called the character pitch complement constant.

次に行ピッチlpの算出について説明するが、斯る算出
は4−記■〜■、0式及び以下に示す0〜0式に基づい
て行なう。
Next, the calculation of the row pitch lp will be explained, and such calculation is performed based on 4-notes (1) to (4), equations 0, and equations 0 to 0 shown below.

r’=rcosθ1        ・・・■t = 
(m’ cosθ’+n’sinθ’)/2−・■、’
、1.P2=(r +m /2− r  + t )X
 a(α′は1以」−の定数)・・・■ 上記■式は第4図(a)からも明らかな如く中線Cと、
斯る中線Cと直交し、かつ左右端に配された文字の中心
を通る直線との交点と円弧の中心Rとの距離r′を算出
するものである。また、■式は左右端に配された文字の
中心を通り、かつ中線Cと直交する直線と該直線と平行
でかつ左右端に配された文字の最下点を通る直線との間
隔tを算出するものである。■式は上記文字の最下点を
通る直線と中線Cとの交点と、中線C上に配される文字
の最−1−点との距離に行ピツチ補正定数α′をか()
た値を行とッチ1.P2として算出するものである。尚
、上記定数α′は隣接する次行との間隔を適当とするた
めのものであり、通常r ]、 、 3 J程度とする
ことが好ましい。
r'=rcosθ1...■t=
(m'cosθ'+n'sinθ')/2-・■,'
, 1. P2=(r+m/2-r+t)X
a (α' is a constant greater than or equal to 1)...■ The above formula ■, as is clear from Figure 4 (a), has a median line C,
The distance r' between the center R of the arc and the point of intersection with a straight line that is perpendicular to the median line C and passes through the center of the characters placed at the left and right ends is calculated. In addition, formula (2) is the distance t between a straight line passing through the center of the characters placed on the left and right ends and perpendicular to the median line C, and a straight line parallel to the straight line and passing through the lowest point of the characters placed on the left and right ends. is calculated. ■The formula calculates the line pitch correction constant α' to the distance between the intersection of the straight line passing through the lowest point of the character above and median line C and the lowest point of the character placed on median line C.
1. This is calculated as P2. Incidentally, the above constant α' is used to set an appropriate distance between adjacent rows, and is preferably set to approximately r ], , 3 J.

B、 タイプII+におけるデータの算出方法まず、文
字ピッチPの算出は以下の■′式に基づいて行なう。尚
、文書入力中に指定されている文字の大きさは説明の都
合上CH闘XC1+mmとする。
B. Data calculation method for type II+ First, the character pitch P is calculated based on the following equation 2'. Note that the character size specified during document input is assumed to be CH1+mm for convenience of explanation.

、’、P=CI(XnXα(aは1以上の定数)・■尚
、1−記αは」−記■式中のものと同じ文字ピッチ補正
定数である。
,', P=CI(XnXα (a is a constant of 1 or more)・■ Note that 1-α is the same character pitch correction constant as in the formula ”-■.

また、有効文字数ECの算出は、■−記■′式及び以下
に示す■゛〜■′式に基づいて行なう。
Further, the calculation of the number of effective characters EC is performed based on the equations (1) to (2) and the equations (2) to (2) shown below.

h = mX CII−■ i!、、=hsinθ ・・■ 12= l −N 、  ・・・■′ II ’ = l t/cosθ・・・■′、’、EC
=ffi’/P  ・・・■具体的には第5図を用いて
説明すると、上記■゛式は印字される文字の高さ即ち、
文字が配列される領域の高さhを算出するものである。
h = mX CII-■ i! ,,=hsinθ...■12=l −N,...■'II' = l t/cosθ...■',', EC
=ffi'/P ・・・■Specifically, using FIG. 5, the above formula
The height h of the area where characters are arranged is calculated.

■式は文字が配列される領域の最」二点と印字領域の右
端M2との距離11を算出するものであり、■゛式は■
″式より算出された結果に基づいて」二記最−1−点と
印字領域の左端M1との距離j、を算出するものである
。■゛式は文字が配列される領域の長さe′を算出する
ものである。■′式は■″及び■゛式の結果に基づいて
有効文字数ECを算出するものである。
■The formula is to calculate the distance 11 between the two most points in the area where characters are arranged and the right edge M2 of the printing area, and the formula is
``Based on the result calculated from the formula'', the distance j between the most -1- point in the second paragraph and the left end M1 of the printing area is calculated. (2) Formula is used to calculate the length e' of the area where characters are arranged. The formula ``■'' calculates the number of effective characters EC based on the results of the formulas ``■'' and ``2''.

次に行ピッチgpの算出方法について説明すると、斯る
ピッチは以下に示す■′〜■′式に基づいて算出する。
Next, the method for calculating the row pitch gp will be explained. The pitch is calculated based on the following formulas 1' to 2'.

hl=’!×tanθ      ・・・■h 、= 
h Xcosθ       ・・・■、’、 i p
= (1)++ h t)Xα((7’は1以−1−の
定数)・・・■尚、上記定数α゛はI−記■式中のもの
と同じ行ピツチ補正定数である。
hl='! ×tanθ...■h,=
h Xcosθ...■,', i p
= (1)++ h t)

以」二、マルチデイレクト印字に必要なデータの算出方
法について説明したが次に実際の印字態様につき説明す
る。
In the following, the method for calculating the data necessary for multi-direct printing has been explained. Next, the actual printing mode will be explained.

今、第1図中の先頭行に対し以下に示すマルチデイl/
シト書式が設定されたものとする。
Now, for the first row in Figure 1, the multi-day l/
It is assumed that the site format has been set.

角    度         120文字の並び  
  タイプ■ 文字の大きさ   4倍×4倍 行ピッチ     LPI=15 印字幅      150mm この様に設定すると、有効文字数ECは「月」となり、
またLP2はr 70.9mm」 となる。従って、第
1図に示した文書は第6図(a)に示す如く印字される
Angle 120 character sequence
Type ■ Character size 4x x 4x line pitch LPI = 15 Print width 150mm If set like this, the effective number of characters EC will be "month",
Also, LP2 is r 70.9mm. Therefore, the document shown in FIG. 1 is printed as shown in FIG. 6(a).

また、上記設定中の行ピッチLPIを「0」と変更する
とL P 2はr Omm l となるので、印字態様
は第6図(1))に示す如く文書中の先頭行と次行とが
完全に重畳された形で印字される。
Furthermore, if the line pitch LPI set above is changed to "0", L P 2 becomes r Omm l , so the printing mode is such that the first line and the next line in the document are different as shown in Figure 6 (1)). Printed in completely overlapping form.

次に、マルチデイレクト書式を以下の様に設定する。Next, set the multidirect format as follows.

角   度         30゜ 文字の並び     タイプI11 文字の大きさ    4箔×4倍 行ピッチ      LPl、=]5 印字幅       150mm この様に設定すると、有効文字数ECは「10」となり
、またLP2はrl13.1mm4となる。従って、第
1図に示した文書は第6図(C)に示す如く印字される
Angle 30° Character arrangement Type I11 Character size 4 foil x 4 line pitch LPl, =] 5 Printing width 150mm With this setting, the effective number of characters EC is 10, and LP2 is rl 13.1mm4. Become. Therefore, the document shown in FIG. 1 is printed as shown in FIG. 6(C).

」二記第6図<a )(b )からも明らかな様に、文
字の並びとしてタイプ■を指定した際には、指定行中の
文字列r ABCJの前後に位置するスペースは印字さ
れない(以下ではこの機能をスペースカットと称す)。
'' As is clear from Figure 6<a) and (b), when type ■ is specified as the character sequence, the spaces located before and after the character string rABCJ in the specified line are not printed ( (Hereinafter, this function will be referred to as space cut.)

尚、この機能は文字の並びとしてタイプIIが指定され
た時にも同様に機能する。
Note that this function works similarly when type II is specified as the character arrangement.

一方、第6図(C)より明らかな如く、文字の並びとし
てタイプIIIが指定された時には指定行中の文字列[
ABCJの前後に位置するスペースも印字よ・j象とな
る。
On the other hand, as is clear from FIG. 6(C), when type III is specified as the character sequence, the character string [
The spaces before and after ABCJ are also printed as j symbols.

尚、第6図(a)〜(C)中にはマルチデイレクト印字
領域(5)を点線で明示している。
In addition, in FIGS. 6(a) to 6(C), the multi-direct printing area (5) is clearly indicated by dotted lines.

第7図は−I−述した本発明を適用してなる装置のブロ
ック回路を示す。
FIG. 7 shows a block circuit of a device to which the invention described above is applied.

図中、(10)は入力手段であり、該入力手段は第8図
に示す様に文字・記号等を入力するための文字キー群(
]、 01. )、数字0〜9を入力するためのテンキ
ー(102)、カーソル移動を指示するカーソル移動キ
ー群(103)、マルチデイレクトを指示する指定キー
(104)、変換指示を行なう変換キー(105)及び
印字を指示する印字キー(106)等を備える。
In the figure, (10) is an input means, which includes a group of character keys (10) for inputting characters, symbols, etc., as shown in FIG.
], 01. ), a numeric keypad (102) for inputting numbers 0 to 9, a group of cursor movement keys (103) for instructing cursor movement, a designation key (104) for instructing multidirection, and a conversion key (105) for instructing conversion. and a print key (106) for instructing printing.

第7図に戻って、(11)は例えばマイクロコンピュー
タからなる主制御部であり、該主制御部は内蔵の制御プ
ログラムに基づいて以下で説明する各部の制御を司る。
Returning to FIG. 7, (11) is a main control section composed of, for example, a microcomputer, and the main control section controls the various sections described below based on a built-in control program.

(]2)は例えば液晶もしくはCRTからなる表示部、
(13)は表示制御部であり、該制御部は主制御部(1
1)の制御の下で表示部(12)に)(する表示制御を
行なう。(14)はカーソル位置記憶部であり、該記憶
部には表示部(12)lにおけるカーソル位置情報が記
憶される。また、斯る情報は主制御部(11)からの指
示により変更される。
(]2) is a display section made of, for example, a liquid crystal or CRT;
(13) is a display control section, and this control section is a main control section (13).
Under the control of 1), display control is performed on the display section (12). (14) is a cursor position storage section, and the cursor position information on the display section (12) is stored in this storage section. Further, such information is changed by instructions from the main control section (11).

(15)は文書記憶部であり、該記憶部には既作成済或
いは作成中の文書が行単位に保持される。
(15) is a document storage section in which documents that have been created or are being created are held line by line.

(16)は書式記憶部であり、該記憶部はデフォルト記
憶部(16a)と設定値記憶部(16b)とからなる。
(16) is a format storage section, and this storage section consists of a default storage section (16a) and a setting value storage section (16b).

上記デフォルト記憶部(16a)には第2図に示した様
なマルチデイレクト書式入力用フォーマット及び各デー
タのデフォルト値が格納されている。また、上記設定値
記憶部(16b)には、第9図に示す如く文書中のマル
チデイレクトが指定された行毎にマルチデイレクト用の
各種データが記憶される。具体的には、文書記憶部(1
5)中の文書の第10行目がマルチデイレクト指定され
たとすると、第9図の行No、欄に「10」 という数
値が格納されると共にこれに対応して角度θ°、文字の
並びタイプ等のデータが格納される。
The default storage section (16a) stores a multi-direct format input format as shown in FIG. 2 and default values for each data. Further, in the setting value storage section (16b), various data for multidirection are stored for each line in the document where multidirection is specified, as shown in FIG. Specifically, the document storage unit (1
5) If the 10th line of the document in the document is specified as multi-direct, the value ``10'' is stored in the line number column in Figure 9, and the angle θ° and character arrangement are stored accordingly. Data such as type is stored.

(17)はプリンタであり、該プリンタは例えばうイン
プリンタ、シリアルプリンタ、ページプリンタ等の周知
のプリンタである。(18)は印字制御部であり、該制
御部は主制御部(]1)からの制御に応答して文書記憶
部(15)及び設定値記憶部(16b)に記憶されたデ
ータに基づきプリンタ(17)で所定の印字を行なう。
(17) is a printer, which is a well-known printer such as an imprinter, serial printer, or page printer. (18) is a print control unit, which controls the printer based on the data stored in the document storage unit (15) and the setting value storage unit (16b) in response to the control from the main control unit (1). In (17), predetermined printing is performed.

(19)は印字位置記憶部であり、該記↑α部中には現
在印字制御部(18)が処理対象としている行番号1、
Nが格納される。
(19) is a print position storage section, and the ↑α section contains line number 1, which is currently being processed by the print control section (18),
N is stored.

第10図は、主制御部(11)中の内蔵プログラムに基
づく本実施例装置の動作を説明するためのフローチャー
トである。以1−’、斯るチャートに基づいて動作を説
明する。
FIG. 10 is a flowchart for explaining the operation of the apparatus of this embodiment based on the built-in program in the main control section (11). 1-', the operation will be explained based on this chart.

今、第1図に示す様な文書入力処理であるとすると、主
制御部(11)はまずS1ステツプにおいて入力手段(
10)からの入力を待つ。入力があると続くS2〜S4
ステツプにおいて上記入力は入力手段(10)中のいず
れのキーに基づく入力であるかを判定する。
Now, assuming that the document input process is as shown in FIG.
10) Wait for input from. S2-S4 that continues when there is an input
In this step, it is determined which key in the input means (10) the input is based on.

この判定において、指定キー(104)入力であると判
定すると、主制御部(11)は第11図に示す310〜
S18ステツプを処理する。また、印字キー(1,06
)が入力されたと判定すると、第12図に示す320〜
S29ステツプの処理を印字制御部(18)に委ねる。
In this determination, if it is determined that the designated key (104) is input, the main control unit (11)
Process step S18. In addition, the print key (1,06
) is input, 320 to 320 shown in FIG.
The processing of step S29 is entrusted to the print control section (18).

一方、カーソル移動キー群(103)中のキーが入力さ
れたと判定すると85ステツプに処理を進める。
On the other hand, if it is determined that a key in the cursor movement key group (103) has been input, the process advances to step 85.

斯るS5ステツプでは、−に−記キー人力に応答して主
制御部(11)がカーソル位置記憶部(]4)中の情報
を変更する。従って、斯る変更に応答して表示部(]、
2)J−のカーソル位置も変更されることとなる。
In step S5, the main control section (11) changes the information in the cursor position storage section (4) in response to the manual input of the key. Therefore, in response to such a change, the display section (],
2) The cursor position of J- will also be changed.

尚、S1ステツプにおいて入力されたキーが指定キー(
104)、印字キー(1,06)、カーソル移動キー以
外のキーである際には、S6ステツプにおいて周知の文
書入力処理を行なう。尚、S5、S6ステツプが終了す
ると処理はS1ステツプに戻る。
Note that the key input in step S1 is the designated key (
104), the print key (1, 06), or a key other than the cursor movement key, well-known document input processing is performed in step S6. Note that when steps S5 and S6 are completed, the process returns to step S1.

次に、第11図のフローチャートを用いて指定キー(1
04)入力時の処理を説明する。
Next, use the flowchart in Figure 11 to select the specified key (1).
04) Explain the processing at the time of input.

まず、SIOステップでは表示部(]2)上の表示を第
1図に示した様な文書を入力するための表示から第2図
に示した様なマルチデイレクト書式を入力するための表
示に切換ると共に、S月ステップにおいて設定値記憶部
(16b)に行No、及び各種データ値を格納する。
First, in the SIO step, the display on the display section (2) changes from a display for inputting a document as shown in Figure 1 to a display for inputting a multidirect format as shown in Figure 2. At the same time, the row number and various data values are stored in the set value storage section (16b) in the S month step.

即ち、主制御部(11)は81.0ステツプにおいてデ
フォルト記憶部(16a)に格納されているフォーマツ
)・及び各データのデフォルト値を読出し表示制御部(
]3)を介し表示部(12)に表示させる。また、Sl
lステップではカーソル位置記士α部(14)中の情報
に基づき指定キー(104)入力11.5点でカーソル
が位;2.: していた文書中の行のイ」番号−を検出
し、これを設定値記憶部(16b)中の行No、欄に格
納すると共にこの行番号に対応してS]Oステップで読
出された各データを設定値記憶部(16b)中の所定欄
に格納する。
That is, in step 81.0, the main control section (11) reads out the format (format) stored in the default storage section (16a) and the default values of each data and displays them in the display control section (
]3) on the display unit (12). Also, Sl
In the l step, the cursor is placed at 11.5 points when the designated key (104) is input based on the information in the cursor position register α part (14);2. : Detects the line number - of the line in the document that was being read, stores it in the line number column in the setting value storage section (16b), and reads it out in the S]O step corresponding to this line number. Each set of data is stored in a predetermined column in the setting value storage section (16b).

Sl、1ステツプの処理が終了すると、主制御部(11
)はS12ステツプにおいて入力手段(10)からの入
力を待つ。そして、カーソル移動キー群(+03)中の
いずれかのキーが入力されると、313ステツプにおい
てS5ステツプと同様にカーソル位置情報を変更する。
When the processing of Sl, 1 step is completed, the main control unit (11
) waits for an input from the input means (10) in step S12. Then, when any key in the cursor movement key group (+03) is input, the cursor position information is changed in step 313 as in step S5.

テンキー(102)中のいずれかのキーが入力されると
処理を514ステツプに進める。
When any key on the numeric keypad (102) is input, the process advances to step 514.

斯るS14ステツプの処理を第13図のフローチャート
に基づいて具体的に説明する。
The process of step S14 will be specifically explained based on the flowchart of FIG.

まずS】41ステツプでは、表示部(12)lでのカー
ソル(2)が第2図中において[θJ 、 r’!J、
rLPIJ、 rLP2」、 rrrB及び「n」と表
示された位置のいずれに位置しているかをカーソル位置
記憶部(14)中の情報に基づいて判定する。斯る判定
において、θ位置と判定されると8142ステツプを処
理する。斯るステップではS12ステツプで入力された
数値を」二記θ位置に表示させると共に設定値記憶部(
16b)中のθ欄の内容を」二記入力数値に変更する。
First, in step S]41, the cursor (2) on the display section (12)l moves to [θJ, r'! J.
Based on the information in the cursor position storage section (14), it is determined which of the positions displayed as "rLPIJ, rLP2", rrrB, and "n" is located. In this determination, if the θ position is determined, step 8142 is processed. In this step, the numerical value input in step S12 is displayed at the θ position 2, and the set value storage unit (
Change the contents of the θ column in 16b) to ``2 input numerical values.

同様に、2位置、LP1位置、LP2位置、m位置もし
くはn位置と判定した際に夫々5143〜5147ステ
ツプを選択的に処理し、上記位置に812ステツプで入
力された数値を表示させると共に、上記各位置に対応し
た設定値記憶部(16b)中の欄の内容を上記入力数値
に変更する。
Similarly, when it is determined that the position is 2 position, LP1 position, LP2 position, m position, or n position, steps 5143 to 5147 are selectively processed to display the numerical value input in step 812 at the above position, and The contents of the column in the setting value storage section (16b) corresponding to each position are changed to the above input numerical value.

8142〜S]47ステツプが終了すると、次いで51
48ステツプを処理するが、斯るステップでは設定値記
憶部(1613)中のタイプ欄のデータを読出し、斯る
データが「しない」というデータであるか否かを判定す
る。
8142~S] When step 47 is completed, then step 51
48 steps are processed, and in this step, the data in the type column in the setting value storage section (1613) is read out, and it is determined whether or not the data is "no" data.

1−記データが「しない」というデータでない時には、
8149ステツプにおいて文字ピッチI)、有効文字数
EC1行ピッチLP2を算出し直し、設定値記憶部(1
6b)中の内容及び表示部(12)J−の表示内容を変
更する。また、この時同時にサンプル表示領域(4)の
表示内容も変更される。
When the data in 1- is not “not”,
At step 8149, the character pitch I), the effective number of characters EC and the line pitch LP2 are recalculated, and the set value storage unit (1
6b) and the display contents of the display section (12) J- are changed. Moreover, at the same time, the display contents of the sample display area (4) are also changed.

尚、S1旧ステツプにおいてカーソル(2)が」−記名
位置のいずれにも存在しないと判定すると、その後の処
理は行なわない。
If it is determined in the S1 old step that the cursor (2) does not exist at any of the "-" registration positions, no subsequent processing is performed.

第11図に戻って、S12ステツプにおいて変換キー 
(105)が入力されたと判定すると815ステツプが
処理される。
Returning to FIG. 11, in step S12, the conversion key is
If it is determined that (105) has been input, step 815 is processed.

斯る315ステツプの処理を第14図のフローチャー 
1−に基づいて具体的に説明する。
The processing of 315 steps is shown in the flowchart of FIG.
This will be specifically explained based on 1-.

まず、S】51ステツプではカーソル(2)が第2図中
における[タイプJと表示されている位置に存在するか
否かをカーソル位置記憶部(14)中の情報に基づいて
判定する。斯る判定において、「タイプ」表示位置と判
定されると8152ステツプにおいて既述したサイクリ
ック類に従って一1〕記表示位置の表示内容を変更する
と共に設定値記憶部(161))中のタイプ欄の内容も
変更する。
First, in step S]51, it is determined whether the cursor (2) exists at the position indicated as [Type J in FIG. 2 based on the information in the cursor position storage section (14). In such a determination, if it is determined that it is the "type" display position, in step 8152, the display content of the display position is changed according to the cyclic type described above, and the type column in the setting value storage unit (161) is changed. Also change the contents of

続< 3153ステツプでは、上記5152ステツプで
変更されたタイプ欄の内容が「しない」というデータで
あるか否かを判定し、「しない」というデータでない際
には5149ステツプと同様に8154ステツプにおい
て文字ピッチP等の内容を変更する。
Continuation < At step 3153, it is determined whether the content of the type column changed at step 5152 is data of "no", and if it is not data of "no", the character is changed at step 8154 as in step 5149. Change the contents of pitch P, etc.

尚、5151ステツプにおいてカーソル(2)が「タイ
プ」表示位置に存在しない時には8152〜5154ス
テツプは処理せず、また5153ステツプにおいてタイ
プ欄の内容が「しない」というデータである際には51
54ステツプは処理されない。
Note that if the cursor (2) does not exist at the "Type" display position in step 5151, steps 8152 to 5154 are not processed, and if the content of the type field is "no" in step 5153, 51 is not processed.
54 steps are not processed.

再び第11図に戻って、S12ステツプにおいて指定キ
ー(1,04)が入力されたと判定すると516ステツ
プが処理される。斯るステップでは5153ステツプと
同様の判定を行ない、タイプ欄に「しない」というデー
タが格納されている際には31.7ステツプにおいて設
定値記憶部(16b)中のSllステップ以降にセット
されたデータを全て消去し、81.8ステツプに処理を
進める。
Returning to FIG. 11 again, if it is determined in step S12 that the designated key (1,04) has been input, step 516 is processed. In this step, the same judgment as in step 5153 is made, and when the data "No" is stored in the type column, the data set after the Sll step in the setting value storage section (16b) in step 31.7 is determined. Erase all data and proceed to step 81.8.

一方、81.6ステツプにおいてタイプ欄に「しない」
以外のデータが格納されていると判1祈した際には処理
を51.8ステツプに進める。
On the other hand, in the 81.6 step, the type field is set to "No".
If it is determined that data other than the above is stored, the process proceeds to step 51.8.

S18ステツプでは、表示部(12)の表示内容を第1
図に示す如き文書入力画面に戻しマルチデイレクト書式
入力を終了する。
In step S18, the display contents of the display section (12) are changed to the first
Return to the document input screen as shown in the figure and end the multidirect format input.

その後、処理はS1ステツプに戻る。尚、S12ステツ
プにおいてカーソルキー、テンキー、変換キー(1,0
5)及び指定キー(104)以外のキーが入力された際
には、斯るキー人力は無視される。
Thereafter, the process returns to step S1. In addition, in step S12, the cursor key, numeric keypad, conversion key (1, 0
5) and when a key other than the designated key (104) is input, such key input is ignored.

第10図に戻って、S3ステツプにおいて印字キー(1
06)が入力されたと判定すると主制御部(11)は印
字制御部(18)に第12図に示すフローチャートに基
づく処理を実行させる。
Returning to FIG. 10, in step S3, the print key (1
06) is input, the main control section (11) causes the print control section (18) to execute processing based on the flowchart shown in FIG.

具体的には、印字制御部(18)は主制御部(11)よ
り制御を渡されると、まずS20ステツプにおいて印字
位置記憶部(19)の内容LNを「0」にリセットする
。斯る値LNは印字すべき文書中の処理行番号を示すも
のである。
Specifically, when the print control section (18) is given control by the main control section (11), it first resets the content LN of the print position storage section (19) to "0" in step S20. This value LN indicates the processing line number in the document to be printed.

続く821ステツプでは、」二記LN値を1だけ増加さ
せる。次いでS22ステツプにおいて」二記LN値と同
じ数値が設定値記憶部(1,6b)中の行No、欄に存
在するか否かを判定し、存在しない際には処理を323
ステツプに進める。
In the following step 821, the LN value written in ``2'' is increased by 1. Next, in step S22, it is determined whether or not the same value as the LN value written in 2 exists in the row No. column in the setting value storage section (1, 6b), and if it does not exist, the process is performed in step 323.
Proceed to step.

S23ステツプでは、文書記憶部(15)中の文書の第
LN行中の文字列データを読出しijC来周知の方法に
より印字データに変更しプリンタ(17)に出力し、印
字を行なわせる。S23ステツプが終了すると処理はS
29ステツプに進む。
In step S23, the character string data in the LNth line of the document in the document storage section (15) is read out and changed into print data using a well-known method, and is output to the printer (17) for printing. When the S23 step is completed, the process goes to S.
Proceed to step 29.

S22ステツプに戻って、斯るステップにおいて存在す
ると判定すると処理はS24ステツプに進む。
Returning to step S22, if it is determined in such step that the object exists, the process proceeds to step S24.

S24ステツプでは行No、欄に格納されているLN値
に対応して格納されているタイプ欄中のデータがrIJ
 もしくはr II Jであるが否かを判定する。
In step S24, the data in the type column stored corresponding to the LN value stored in the row No. column is rIJ.
Or it is determined whether r II J or not.

斯る判定において[IJもしくはr II Jと判定さ
れると処理を325ステツプに進める。S25ステッブ
では、文−)記憶部(15)より第LN行の文字列デー
タをスペースを含めて全て読出すと共に文字間に位置し
ないスペースを除去した文字列のみを抽出する。具体的
には、第1図の先頭行では文字列rABcJが、また次
行では文字列r123 Jが抽出される。
In such a determination, if it is determined to be [IJ or r II J, the process advances to step 325. In step S25, the entire character string data of the LNth line including spaces is read out from the sentence storage section (15), and only the character string with spaces not located between characters removed is extracted. Specifically, the character string rABcJ is extracted in the first line of FIG. 1, and the character string r123J is extracted in the next line.

次いで、処理はS26ステツプに進む。斯るステップで
は、まず325ステツプにおいて抽出された文字列を構
成する文字数(スペース含)が設定イ1h記憶部(16
b)中の有効文字数ECより大となる際には」―記文字
列の先頭より」―記有効文字数EC分だけを残し、それ
以降の文字は除去する。例えば、S25ステツプにおい
て文字列r八BcJが抽出された際にEC=2であると
すると印字対象となる文字列はrABJ となる。
The process then proceeds to step S26. In this step, first, the number of characters (including spaces) constituting the character string extracted in step 325 is stored in the setting i1h storage unit (16
b) When the number of effective characters in the string is larger than the number of effective characters EC, only the number of effective characters EC from the beginning of the character string is left and the characters after that are removed. For example, if EC=2 when the character string r8BcJ is extracted in step S25, the character string to be printed will be rABJ.

その後、斯るS26ステツプではに記抽出により得られ
た文字列を指定された角度θを有する円弧」―に等間隔
に印字される様に印字位置を決定する。
Thereafter, in step S26, the printing position is determined so that the character string obtained by the above extraction is printed at equal intervals on a circular arc having the specified angle θ.

具体的には、上記抽出文字列の文字数をCHNとすると
、斯るCHN値に基づいて処理が異なる。即ち、 (i)  Ct(N=Oの時 この時には印字すべき文字が存在しないので、528ス
テツプにおいて単に行ピッチLP2に基づく印字位置の
変更(紙送り等)処理を行なう。
Specifically, if the number of characters in the extracted character string is CHN, the processing differs based on the CHN value. That is, (i) When Ct (N=O) Since there are no characters to be printed at this time, the printing position is simply changed (paper feeding, etc.) based on the line pitch LP2 in step 528.

(ii )  CHN= 1の時 この時には、唯一の文字を第4図で説明した円弧の左端
に印字すべく印字位置を算出すると共にその文字の中線
Cに対する回転角をθ/2に設定し、続く828ステツ
プにおいて1一記算出位置及び回転角に基づいてプリン
タ(17)で印字する。その後、上記(i)の場合と同
様に行ピッチLP2に基づいて次行を印字すべく印字位
置変更処理を行なつ。
(ii) When CHN = 1 At this time, the printing position is calculated so that the only character is printed at the left end of the arc explained in Figure 4, and the rotation angle with respect to the center line C of that character is set to θ/2. In the following step 828, the printer (17) prints based on the calculated position and rotation angle. Thereafter, as in the case (i) above, a printing position change process is performed to print the next line based on the line pitch LP2.

(iii )  CHN≧2の時 この時には、所定の円弧上に対象文字を等間隔配置する
ために近接する文字間の拡開角θ1を下記(])式に基
づいて求める。
(iii) When CHN≧2 At this time, in order to arrange target characters at equal intervals on a predetermined circular arc, the expansion angle θ1 between adjacent characters is determined based on the following equation ( ]).

θ1=θ/(CI(N−1)・・・(1)t  ’/ この結果、第4図中の中線Cを軸とし、かつ中心Rを原
点とした場合、円弧」−に配される文字の軸Cに対する
角度θ2は左端の文字よ17順にθ、=θ/2−θ、(
N−1)・・・(2)で与えられる。尚、Nは左端に配
される文字を先頭とした際の配列順を示す。また、上記
θ、は角文字の回転角ともなる。
θ1=θ/(CI(N-1)...(1)t'/ As a result, if the center line C in Fig. 4 is the axis and the center R is the origin, it is arranged in an arc "-" The angle θ2 of the characters relative to axis C is θ, = θ/2−θ, (
N-1)...Given by (2). Note that N indicates the arrangement order when the leftmost character is the first character. Moreover, the above θ also becomes the rotation angle of square characters.

従って、第4図に示す如く中線Cと所定の円弧との交点
を基準とする各文字の位置(△X、△y)は △x = r sinθ、      −(3)△y 
= r (1−cosθ1)=・(4)となる。尚、△
Xi、lt第4図中印第4方中印長さであり、また△y
は中線Cの延在方向の長さを示す。
Therefore, as shown in Fig. 4, the position of each character (△X, △y) based on the intersection of the median line C and a predetermined circular arc is △x = r sin θ, −(3) △y
= r (1-cos θ1)=·(4). Furthermore, △
Xi, lt is the length of the middle mark in the fourth direction in Figure 4, and △y
indicates the length of the median line C in the extending direction.

その後、528ステツプにおいてL配回転角θ2、位置
(△X、△y)に基づいて各文字をプリンタでE+7字
し、かつ行ピッチLP2に基づいて印字位置の変更処理
を行なう。
Thereafter, in step 528, each character is converted to E+7 by the printer based on the L rotation angle θ2 and the position (ΔX, Δy), and the printing position is changed based on the line pitch LP2.

第12図の324ステツプに戻って、斯るステップにお
いてタイプデータがr III Jもしくは「■」と判
定されると処理はS27ステツプに進む。
Returning to step 324 in FIG. 12, if the type data is determined to be r III J or "■" in this step, the process proceeds to step S27.

斯るステップでは、文書記憶部(15)中の第LN行の
文字列(スペース含)の先頭より有効文字数EC分だけ
の文字を抽出する。
In this step, characters corresponding to the effective number of characters EC are extracted from the beginning of the character string (including spaces) in the LNth line in the document storage section (15).

次いで、」二記抽出文字列中の各文字に対する回転角θ
2と印字位置(△X、△y)とを算出するが、回転角θ
2は全て角度θと同じであるので算出は不要である。一
方、印字位置(△X、△y)は、第5図を用いて説明し
た様に左端の文字位置(x、y)を基準として以下の式
で求まる。
Next, the rotation angle θ for each character in the extracted character string
2 and the printing position (△X, △y), but the rotation angle θ
2 are all the same as the angle θ, so no calculation is necessary. On the other hand, the printing position (△X, △y) is determined by the following formula using the leftmost character position (x, y) as a reference, as explained using FIG.

△x = x +(N −1)cosθ−(5)△y=
y+(N−1)sinθ−(6)その後、328ステツ
プにおいて上記回転角θ、及び各文字の印字位置(△X
、△y)に基づき各文字がプリンタ(17)にて印字出
力される。また、この印字後、設定値記憶部(16b)
中の行ピッチLP2に基づき印字位置変更処理を行なう
△x = x + (N - 1) cos θ - (5) △y =
y+(N-1)sin θ-(6) Then, in 328 steps, the rotation angle θ and the printing position of each character (ΔX
, Δy), each character is printed out by a printer (17). Also, after this printing, the setting value storage section (16b)
Printing position change processing is performed based on the middle line pitch LP2.

上記328ステツプの処理が終了すると、続く829ス
テツプにおいて文書中の全ての行に対する印字を終了し
たか否かを判定し、終了したと判定すると、制御を主制
御部(11)に戻すべ(Slステップにジャンプする。
When the processing of the above 328 steps is completed, it is determined in the following 829 steps whether or not printing has been completed for all lines in the document, and if it is determined that printing has been completed, control is returned to the main control section (11) (Sl. Jump to the step.

(l・)発明の効果 本発明によれば、ユーザが円弧状配列時の拡開角及び傾
斜配列時の傾斜角を指定できるので、ユーザ自身が所望
する配列印字を簡単に行なえる。
(l.) Effects of the Invention According to the present invention, since the user can specify the expansion angle for the arcuate arrangement and the inclination angle for the inclined arrangement, the user can easily perform the arrangement printing desired by the user.

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

第1図及び第2図は本発明の実施例における表示部の表
示形態を示す模式図、第3図(a)〜((])はマルチ
デイレクト形態を説明するための模式図、第4図(a 
)(b )及び第5図は本実施例の各種データの算出方
法を説明するための模式図、第6図(a)〜(C)は本
実施例の具体例を説明するための模式図、第7図は本実
施例の構成を示すブロック回路図、第8図は本実施例の
入力手段を示す平面図、第9図は本実施例の設定値記憶
部の記憶内容を説明するための模式図、第10図〜第1
4図は本実施例の動作を示すフローチャートである。 (10)・入力手段、(11)・・主制御部、(12)
・・・表示部、(15)・・・文書記憶部、(+6b)
・・・設定値記憶部、(17)・・・プリンタ、(18
)・・・印字制御部出願人 三洋電機株式会社 外1名 代理人 弁理士 西野卓嗣(外2名) 油長 梱長 第 図 第3図 、ζ−ノ、 (′b) (cl ) 第4 図 5図 /≦′ V′I 第67 CD−) Cb) 第6図 (C) 昧 佃矢
1 and 2 are schematic diagrams showing the display format of the display unit in the embodiment of the present invention, FIGS. 3(a) to (()) are schematic diagrams for explaining the multidirect format, and FIG. Figure (a
)(b) and FIG. 5 are schematic diagrams for explaining the calculation method of various data in this embodiment, and FIGS. 6(a) to (C) are schematic diagrams for explaining specific examples of this embodiment. , FIG. 7 is a block circuit diagram showing the configuration of this embodiment, FIG. 8 is a plan view showing the input means of this embodiment, and FIG. 9 is for explaining the storage contents of the setting value storage section of this embodiment. Schematic diagram, Figures 10 to 1
FIG. 4 is a flowchart showing the operation of this embodiment. (10)・Input means, (11)・Main control unit, (12)
...Display section, (15)...Document storage section, (+6b)
...Setting value storage section, (17) ...Printer, (18
)...Printing Control Department Applicant Sanyo Electric Co., Ltd. (1 other person) Patent attorney Takuji Nishino (2 others) Figure 5/≦'V'I No. 67 CD-) Cb) Figure 6 (C) Mai Tsukudaya

Claims (2)

【特許請求の範囲】[Claims] (1)文字列を任意の配列形状に配列印字可能な装置で
あって、 配列印字されるべき文字列を指定する手段と、円弧状配
列を指定する手段と、角度を入力する手段と、該入力手
段から入力された角度に基づいて上記配列指定手段によ
り指定された円弧の拡開角を決定すると共に斯る決定さ
れた範囲内に上記文字列指定手段により指定された文字
列を配列印字する手段とを備えたことを特徴とする印字
制御装置。
(1) A device capable of printing character strings in an arbitrary array shape, which includes means for specifying character strings to be arrayed and printed, means for specifying an arcuate arrangement, means for inputting an angle, and Based on the angle input from the input means, the expansion angle of the arc specified by the array specifying means is determined, and the character string specified by the character string specifying means is printed in an array within the determined range. A printing control device comprising: means.
(2)文字列を任意の配列形状に配列印字可能な装置で
あって、 配列印字されるべき文字列を指定する手段と、右上り、
右下り等の傾斜配列を指定する手段と、角度を入力する
手段と、該入力手段から入力された角度に基づいて上記
配列指定手段により指定された傾斜配列時の傾斜角を決
定すると共に斯る決定角度で上記文字列指定手段により
指定された文字列を配列印字する手段とを備えたことを
特徴とする印字制御装置。
(2) A device capable of printing character strings in an arbitrary array shape, including a means for specifying character strings to be printed in an array, an upper right corner,
means for specifying an inclined arrangement such as downward to the right, means for inputting an angle, and determining the inclination angle for the inclined arrangement specified by the arrangement specifying means based on the angle input from the input means; A printing control device characterized by comprising: means for arranging and printing character strings specified by the character string specifying means at a determined angle.
JP2274495A 1990-10-12 1990-10-12 Printing control device Expired - Fee Related JP2846722B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2274495A JP2846722B2 (en) 1990-10-12 1990-10-12 Printing control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2274495A JP2846722B2 (en) 1990-10-12 1990-10-12 Printing control device

Publications (2)

Publication Number Publication Date
JPH04148966A true JPH04148966A (en) 1992-05-21
JP2846722B2 JP2846722B2 (en) 1999-01-13

Family

ID=17542483

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2274495A Expired - Fee Related JP2846722B2 (en) 1990-10-12 1990-10-12 Printing control device

Country Status (1)

Country Link
JP (1) JP2846722B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0632394A2 (en) * 1993-06-16 1995-01-04 Brother Kogyo Kabushiki Kaisha Text processing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0632394A2 (en) * 1993-06-16 1995-01-04 Brother Kogyo Kabushiki Kaisha Text processing device
EP0632394A3 (en) * 1993-06-16 1995-06-28 Brother Ind Ltd Text processing device.

Also Published As

Publication number Publication date
JP2846722B2 (en) 1999-01-13

Similar Documents

Publication Publication Date Title
JPH04148966A (en) Printing controller
JP2840424B2 (en) Document printing device
JP2840423B2 (en) Document printing device
JP2877485B2 (en) Printing control device
JP2877484B2 (en) Document printing device
JP2858916B2 (en) Printing control device
JPH01217540A (en) Document preparing device
JP2840422B2 (en) Printing control device
JPS60217186A (en) Printing controller
JP4598016B2 (en) Imposition apparatus, imposition method, program, recording medium
JP2858403B2 (en) Document processing device
JPH0470663B2 (en)
JPH0330049A (en) Document generation device
JP2014030989A (en) Label printing device
JPH0463785B2 (en)
JPH0788981A (en) Label producing system
JPS62286780A (en) Format data setting apparatus
JP2840421B6 (en) Print control device
JPH04148471A (en) Format setting device
JP2862731B2 (en) Information processing device
JP2592840B2 (en) Character processor
JP2003233367A (en) Bit map font display device, program, and storage medium
JPS6225072A (en) Document forming apparatus
JPS63209964A (en) Word processor
JPS6375976A (en) Inter-graphic position adjusting system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071030

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081030

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081030

Year of fee payment: 10

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081030

Year of fee payment: 10

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081030

Year of fee payment: 10

R370 Written measure of declining of transfer procedure

Free format text: JAPANESE INTERMEDIATE CODE: R370

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081030

Year of fee payment: 10

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081030

Year of fee payment: 10

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091030

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees