JP2864273B2 - Brush drawing device with drawing layout device - Google Patents

Brush drawing device with drawing layout device

Info

Publication number
JP2864273B2
JP2864273B2 JP2096578A JP9657890A JP2864273B2 JP 2864273 B2 JP2864273 B2 JP 2864273B2 JP 2096578 A JP2096578 A JP 2096578A JP 9657890 A JP9657890 A JP 9657890A JP 2864273 B2 JP2864273 B2 JP 2864273B2
Authority
JP
Japan
Prior art keywords
paper
layout
layout information
size
character
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.)
Expired - Fee Related
Application number
JP2096578A
Other languages
Japanese (ja)
Other versions
JPH03295697A (en
Inventor
勇治 十川
賢三 後藤
潔 若泉
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.)
JANOME MISHIN KOGYO KK
Original Assignee
JANOME MISHIN KOGYO KK
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 JANOME MISHIN KOGYO KK filed Critical JANOME MISHIN KOGYO KK
Priority to JP2096578A priority Critical patent/JP2864273B2/en
Publication of JPH03295697A publication Critical patent/JPH03295697A/en
Application granted granted Critical
Publication of JP2864273B2 publication Critical patent/JP2864273B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)

Description

【発明の詳細な説明】 (利用分野) 描画レイアウト装置を備えた毛筆描画装置に関する。Description: TECHNICAL FIELD The present invention relates to a brushstroke drawing device provided with a drawing layout device.

(従来技術と発明が解決しようとする課題) 封筒,表彰状の場合には、用紙大きさ,描字列数等の
違いに応じて、それぞれ専用のレイアウトパターンがレ
イアウト情報記憶手段に記憶されていた。(1つのレイ
アウトパターンは、1種類の用紙大きさに使用が限定さ
れていた。) そのため、レイアウト情報の数が多くなり、所望のレ
イアウト情報の選択が煩雑になったり、使用メモリ容量
が増大する等の問題があった。
(Problems to be Solved by the Prior Art and the Invention) In the case of an envelope or a certificate, a dedicated layout pattern is stored in the layout information storage means in accordance with a difference in paper size, the number of drawing lines, and the like. . (The use of one layout pattern is limited to one type of paper size.) Therefore, the number of layout information increases, and selection of desired layout information becomes complicated, and the used memory capacity increases. And so on.

又、予め記憶できる用紙大きさの数にも制限があるの
で、寸法の合致しない用紙に文字を描く場合は、より近
い寸法のレイアウト情報を選択せざるをえず、書き上が
りの全体的な文字配置バランスが崩れてしまう欠点があ
った。
Also, there is a limit to the number of paper sizes that can be stored in advance, so when drawing characters on paper that does not match the dimensions, you must select layout information with closer dimensions, and There was a disadvantage that the arrangement balance was lost.

のし紙の場合は、書式が比較的定型化されているた
め、標準サイズを基準にして、操作者が指定可能な数種
類の大きさに応じて、レイアウト情報を拡大,縮小する
ようになっていた。
In the case of a piece of paper, since the format is relatively standardized, the layout information is enlarged or reduced in accordance with several sizes that can be specified by the operator based on the standard size.

しかしながら、のし紙の大きさは種類が多いため、満
足のいく結果は得られなかった。
However, satisfactory results could not be obtained due to the variety of sizes of the paper.

そこで、指定できるサイズの種類を増やすことが考え
られるが、その分サイズ選択操作の手間が増えてしま
い、且つ選択可能な用紙寸法も段階的にならざるをえな
いため、指定サイズと実際の紙大きさが異なった場合に
は、書き上がりの全体的な文字配置バランスが微妙にず
れてくる等の問題があった。
Therefore, it is conceivable to increase the number of types of sizes that can be specified. However, since the operation of selecting the size increases accordingly, and the paper sizes that can be selected must be stepwise, the specified size and the actual paper size are required. If the sizes are different, there is a problem that the overall character arrangement balance of the finished writing is slightly shifted.

のし紙の場合は、描画範囲が用紙横方向の中央付近に
限定されているため、用紙縦寸法の比率を基準に文字大
きさ、位置等を拡大,縮小すればよかった。
In the case of a paper sheet, since the drawing range is limited to the vicinity of the center in the horizontal direction of the paper, the character size, position, and the like need only be enlarged or reduced based on the ratio of the paper vertical dimension.

ところが、封筒,表彰状等では描画範囲が広がり、郵
便番号等の固定領域も在る ことから、のし紙と同じ一
律の演算方法では処理できず適切な対応が望まれてい
た。
However, since envelopes and commendation certificates have a wider drawing range and have fixed areas such as postal codes, they cannot be processed using the same uniform calculation method as for paper, and appropriate measures have been desired.

(課題を解決するための手段) 本発明は、描画データ記憶手段に記憶された文字、記
号等データを基にして、毛筆系の筆を保持した保持部を
X,Y,Z軸の各パルスモータを駆動してX,Y,Z軸方向に運動
して毛筆描画する毛筆描画装置において、複数のレイア
ウトパターンに対応する文字の列数、各列の最大文字
数、描画位置、文字の大きさ、文字の間隔等のレイアウ
ト用のデータが記憶されているレイアウト情報記憶手段
と、用紙の種類の選択及び選択された用紙の種類に対応
するレイアウトの選択するためのレイアウトパターン選
択手段と、選択されたレイアウトのレイアウト情報の補
正手段であって、与えられた用紙実寸法と前記レイアウ
ト情報記憶手段に記憶されている基準寸法との比較結果
及び用紙の種類に応じてレイアウト情報を演算して補正
するレイアウト情報演算手段とを備えることを特徴とす
る描画レイアウト装置を備えた毛筆描画装置により、解
決することができる。
(Means for Solving the Problems) According to the present invention, there is provided a holding unit for holding a writing brush based on data such as characters and symbols stored in drawing data storage means.
The number of character columns corresponding to a plurality of layout patterns, the maximum number of characters in each column in a brush drawing device that draws a brush by moving each pulse motor of the X, Y, Z axes in the X, Y, Z axis directions Layout information storage means for storing layout data such as drawing position, character size, character spacing, etc., and a paper type selection and a layout selection corresponding to the selected paper type. A layout pattern selecting unit, and a layout information correcting unit for correcting layout information of the selected layout, based on a comparison result between a given actual paper size and a reference size stored in the layout information storage unit and a type of paper. The above problem can be solved by a brushstroke drawing device including a drawing layout device, which is provided with a layout information calculation unit that calculates and corrects layout information.

(実施例) 第1図の制御ブロック図について説明する。データ入
力及び動作指示手段fにより所望の描画データを選択す
ると、描画制御手段eが描画データ記憶手段gから該当
する描画データを読み出すと共に、用途に合った用紙種
類,レイアウトパターンを、用紙の種類及びレイアウト
パターン選択手段bにより選択することにより、描画制
御手段eは用紙種類,レイアウトパターン情報と用紙縦
横サイズ検出手段cから得られた実用紙サイズ情報をレ
イアウト情報演算手段dに渡し、レイアウト情報演算手
段dは受け取った用紙種類,レイアウトパターンに合致
するレイアウト情報をレイアウト情報記憶手段aから読
み出し、実用紙サイズと基準寸法との比率並びに用紙種
類に応じてレイアウト情報を拡大,縮小して結果を描画
制御手段eに返し、描画制御手段eはデータ入力,動作
指示手段fにより描画開始が指示されるのを待って、最
終的なレイアウト情報及び描画データを駆動制御手段h
に渡し、駆動制御手段hは受け取った情報を基に駆動装
置iに指令を発して、毛筆保持部jに保持された毛筆系
の筆kを移動させ描画するようになっている。
(Embodiment) The control block diagram of FIG. 1 will be described. When desired drawing data is selected by the data input and operation instructing means f, the drawing control means e reads out the corresponding drawing data from the drawing data storage means g, and sets the paper type and the layout pattern suitable for the use to the paper type and the layout pattern. The selection by the layout pattern selection means b causes the drawing control means e to pass the paper type and layout pattern information and the actual paper size information obtained from the paper length and width size detection means c to the layout information calculation means d. d reads layout information matching the received paper type and layout pattern from the layout information storage means a, enlarges or reduces the layout information according to the ratio between the actual paper size and the reference size, and the paper type, and controls the drawing of the result. Returning to the means e, the drawing control means e is a data input, operation instructing means Waiting for the start of drawing is indicated by the final layout information and control driving the drawing data unit h
The drive control unit h issues a command to the drive device i based on the received information, and moves and draws the brush-type brush k held in the brush-holding unit j.

第2図は実施例の制御ブロック図であり説明する。 FIG. 2 is a control block diagram of the embodiment and will be described.

レイアウト情報記憶手段aはデータROM11に以下の内
容のレイアウト情報が記憶されている。
The layout information storage means a stores the following layout information in the data ROM 11.

・のし紙…基準寸法縦226mm、レイアウトパターン6種
類 ・封筒…縦長形状基準寸法110×231mm、レイアウトパタ
ーン6種類 角形形状基準寸法142×203mm、レイアウトパターン6種
類 ・表彰状…基準寸法269×380mm、レイアウトパターン1
種類 各々、レイアウトパターンに従い、列数、各列の最大
文字数、各列の描画位置(横方向)、各列の文字数に応
じた描画開始終了位置(縦方向)、文字大きさ,文字間
隔等の値が書き込まれている。
・ Paper paper: Standard dimensions 226 mm, 6 layout patterns ・ Envelope: Vertical standard dimensions 110 × 231 mm, 6 layout patterns Square shape standard dimensions 142 × 203 mm, 6 layout patterns ・ Certificate: Standard dimensions 269 × 380 mm, layout pattern 1
Type In accordance with the layout pattern, the number of columns, the maximum number of characters in each column, the drawing position of each column (horizontal direction), the drawing start / end position according to the number of characters in each column (vertical direction), character size, character spacing, etc. The value has been written.

用紙の種類及びレイアウトパターン選択手段bは入力
キー部(キーボード)1と、キーデータを読み取るため
の入力ポート6と、予め処理内容、処理手順が記憶され
ているプログラムROM9と、処理実行のため一時的に変数
を格納しておくRAM10と、プログラムROM9の内容を読み
出し処理を実行するCPU7からなる。
The paper type and layout pattern selecting means b includes an input key section (keyboard) 1, an input port 6 for reading key data, a program ROM 9 in which processing contents and processing procedures are stored in advance, and a temporary storage for executing processing. It comprises a RAM 10 for temporarily storing variables and a CPU 7 for reading out the contents of the program ROM 9 and executing processing.

用紙の種類,レイアウトパターンを選択するには、以
下に示す英字1文字+数字3文字キーを入力すればよ
い。
In order to select the type of paper and the layout pattern, it is sufficient to input the following one-letter alphabetical character + numeric three-character key.

・のし紙…N000〜N005 ・封筒…縦長F100〜F105 各型F200〜F205 ・表彰状…H000 用紙縦横サイズ検出手段cは用紙の縦寸法に合わせて
セットする紙ガイドに連動するボリューム2と、ボリュ
ームの電圧出力値をディジタル値に変換するA/D変換器
3と、用紙の有無を検出する反射型フォトセンサを使用
した横方向左端を検出する左紙センサ4と、右端を検出
する右紙センサ5と、駆動装置iの構成要素で用紙を横
方向に移動させるためのXパルスモータドライバ12,Xパ
ルスモータ15,X駆動部18と、ディジタル値,センサ信号
を読み取るための入力ポート6と、ドライバに指令を発
するための出力ポート8と、プログラムROM9と、RAM10
と、CPU7から構成される。
・ Paper paper… N000-N005 ・ Envelope… Vertical F100-F105 Each type F200-F205 ・ Certificate… H000 Paper vertical and horizontal size detection means c is a volume 2 linked to a paper guide set according to the vertical dimension of the paper, and a voltage of the volume. An A / D converter 3 for converting the output value into a digital value, a left paper sensor 4 for detecting the left end in the horizontal direction using a reflective photosensor for detecting the presence or absence of paper, and a right paper sensor 5 for detecting the right end. An X-pulse motor driver 12, an X-pulse motor 15, and an X-drive unit 18 for moving the paper in the horizontal direction by using the components of the drive device i; an input port 6 for reading digital values and sensor signals; Output port 8 for issuing commands, program ROM 9 and RAM 10
And a CPU 7.

用紙の縦寸法は、予めボリュームのディジタル出力値
と実寸法との関係をデータテーブル化しておくことで、
読み取り値から即縦寸法が取り出せる。
The vertical dimension of the paper can be calculated in advance by creating a data table of the relationship between the digital output value of the volume and the actual dimensions.
The vertical dimension can be immediately obtained from the reading.

横寸法は、まず左紙センサが用紙の無いレベルを出力
するまで用紙を左右方向に送り(通常、用紙をセットす
ると左右のセンサは用紙有の状態になっている。)、次
にパルスモータを1ステップずつ駆動し用紙を左方向に
移動する。
The lateral dimensions are as follows. First, the sheet is fed in the left-right direction until the left sheet sensor outputs a level at which no sheet is present (normally, when the sheet is set, the left and right sensors are in the state of the sheet). The sheet is driven one step at a time to move the sheet to the left.

これを右紙センサが用紙の無いレベルを出力するまで
ステップ数をカウントしながら行う。
This is performed while counting the number of steps until the right paper sensor outputs a level with no paper.

右紙センサが用紙無しになったならば、第4図−
(a)の様にステップ数×(パルスモータ1ステップ当
りの用紙移動長さ)+左右紙センサ間の距離(L)=用
紙横寸法(La+L+Lb)となる。
If the right paper sensor runs out of paper,
As shown in (a), the number of steps × (paper moving length per pulse motor step) + distance between left and right paper sensors (L) = paper lateral dimension (La + L + Lb).

レイアウト情報演算手段dはCPU7と、プログラムROM9
と、RAM10とからなり、以下の様に基準寸法と用紙実寸
法との比率並びに用紙の種類に応じてデータROM11から
読み出したレイアウト情報を拡大,縮小する。
The layout information calculation means d includes a CPU 7 and a program ROM 9
And the RAM 10, and enlarges or reduces the layout information read from the data ROM 11 according to the ratio between the reference size and the actual paper size and the type of paper as follows.

・のし紙…用紙の上下端一定値を差し引いた縦寸法の比
で計算。
・ Noshi Paper: Calculated by the ratio of the vertical dimension after deducting the upper and lower constant values of the paper.

・表彰状…描画位置は横比率、開始終了位置と文字間隔
は縦比率、文字大きさは縦横の小さいほうの比率で計算
(縦比率では上下端の一定値を差し引く)。
-Certificate of commendation: The drawing position is calculated by the horizontal ratio, the start / end position and the character interval are calculated by the vertical ratio, and the character size is calculated by the smaller ratio of the vertical and horizontal directions.

・封筒…上端から郵便番号欄の下までの一定値を除外
(そのままの値)し、残りの部分は表彰状と同じ様に計
算する。
-Envelope: Exclude a fixed value from the top edge to the bottom of the postal code field (as it is), and calculate the remaining part in the same way as the certificate.

描画制御手段eは、CPU7と、プログラムROM9と、RAM1
0からなり、入力キーの内容を識別し、描画データの読
み出し、登録、用紙寸法検出指示、拡大縮小演算指示、
描画動作開始等の主制御を司る。
The drawing control means e includes a CPU 7, a program ROM 9, a RAM 1,
0, identifies the contents of the input keys, reads out and registers drawing data, instructs paper size detection,
It controls the main control such as the start of drawing operation.

データ入力及び動作指示手段fは、入力キー部11と、
入力ポート6と、プログラムROM9と、CPU7と、RAM10か
らなり、所望の描画データ選択及び描画開始、停止等の
動作指示がキーボードから行える。
The data input and operation instruction means f includes an input key unit 11,
The input port 6, the program ROM 9, the CPU 7, and the RAM 10 allow a user to select desired drawing data and to perform operation instructions such as starting and stopping drawing from a keyboard.

描画データは、かな漢字変換機能により、かな、カ
ナ、漢字等が選択でき、「ESC」キーでデータ入力終了
となる。
Kana, kana, kanji, etc. can be selected for the drawing data by the kana-kanji conversion function, and the data input is completed with the “ESC” key.

描画開始は「CTRL」+「G」キー、「CTRL」+「S」
を押す。
Start drawing with "CTRL" + "G" key, "CTRL" + "S"
push.

描画データ記憶手段gはデータROM11の中に、描画の
ためのX,Y,Zパルスモータの移動ステップデータが、個
々の文字、記号等に対応して格納されている。
In the drawing data storage means g, moving step data of X, Y, Z pulse motors for drawing are stored in the data ROM 11 corresponding to individual characters, symbols, and the like.

駆動制御手段hは、CPU7と、プログラムROM9と、RAM1
0と、駆動装置iを構成するX,Y,Z各パルスモータドライ
バ12,13,14に指令を発するための出力ポート5からな
り、レイアウト情報及び描画データを基に、各パルスモ
ータへの移動パルス列が出力される。
The drive control means h includes a CPU 7, a program ROM 9, a RAM 1,
0 and an output port 5 for issuing commands to the X, Y, and Z pulse motor drivers 12, 13, and 14 that constitute the driving device i. Movement to each pulse motor is performed based on layout information and drawing data. A pulse train is output.

駆動装置iは、Xパルスモータドライバ12、Xパルス
モータ15、X駆動部18により用紙を左右方向に移動させ
る部分と、Yパルスモータドライバ13、Yパルスモータ
16、Y駆動部19により毛筆保持部jに保持された毛筆系
の筆kを前後方向に移動させる部分と、Zパルスモータ
ドライバ14、Y駆動部19に担持されたZパルスモータ17
及びZ駆動部20により毛筆系の筆kを高さ方向に移動さ
せる部分とで構成されている。
The driving device i includes a portion for moving the sheet in the left and right direction by an X pulse motor driver 12, an X pulse motor 15, and an X driving unit 18, a Y pulse motor driver 13, and a Y pulse motor
16, a part for moving the brush-type brush k held by the brush holder j by the Y drive unit 19 in the front-rear direction, and a Z pulse motor driver 14 and a Z pulse motor 17 carried by the Y drive unit 19.
And a part for moving the brush-type brush k in the height direction by the Z drive unit 20.

次に第3図で動作の説明を行う。 Next, the operation will be described with reference to FIG.

ST1 スタート後キースキャンを行い、キーボードから用紙
の種類、描画パターンが入力されるのを待つ(N**
*,F***,H000を受け付ける)。
ST1 Start key scan after starting and wait for input of paper type and drawing pattern from keyboard (N **
*, F ***, H000).

ST2 次に描画データが選択されるのを待つ。ST2 Next, wait until drawing data is selected.

ST3 選択されたなら該当する描画データを読み出しバッフ
ァに登録する。登録されたら再び描画データが選択され
るのを待つ全ての描画データがなくなるまでくりかえ
す。
ST3 If selected, the corresponding drawing data is registered in the read buffer. After the registration, the process is repeated until all the drawing data waiting for the selection of the drawing data is exhausted.

ST4 描画データ入力終了(「ESC」キーが押された)ならS
T5へ。
ST4 S if the drawing data input is completed ("ESC" key is pressed)
To T5.

描画データ入力終了までST2,ST3を繰り返す。ST2 and ST3 are repeated until drawing data input is completed.

ST5 用紙の縦横寸法を検出する。ST5 Detects vertical and horizontal dimensions of paper.

ST6 用紙の種類,描画パターンに該当するレイアウト情報
を読み出し、基準寸法と実寸法の比率並びに用紙の種類
に応じて、レイアウト情報を拡大、縮小する。
ST6 Layout information corresponding to the paper type and drawing pattern is read, and the layout information is enlarged or reduced according to the ratio between the reference size and the actual size and the paper type.

ST7 描画開始指示を待つ(「CTRL」+「G」キーが押され
るのを待つ)。
ST7 Wait for drawing start instruction (Wait until "CTRL" + "G" key is pressed).

ST8 指示があったら、レイアウト情報で指定される大き
さ、位置に登録された描画データに基づき描画する。終
了後ST1へ戻る。
ST8 When an instruction is issued, the drawing is performed based on the drawing data registered at the size and position specified by the layout information. After completion, return to ST1.

第4図−(a)と第4図−(b)で用紙の横幅と縦幅
の寸法測定について説明する。
FIG. 4A and FIG. 4B illustrate the measurement of the width and height of the paper.

用紙をセットする前に描画データの入力は終了してい
て、第4図−(a)の様に用紙をグリットローラ100と
ガイドローラ101,102の中の適当な位置にセットする
(ただし横幅用センサー4,5の上にセットし紙ガイド104
に用紙を接触させる)。
The input of the drawing data has been completed before the paper is set, and the paper is set at an appropriate position in the grit roller 100 and the guide rollers 101 and 102 as shown in FIG. Paper guide 104
Contact the paper).

次に紙ガイド105を手動で用紙に接触させることによ
り紙ガイド連動ボリューム2で縦幅を測定する。
Next, the paper guide 105 is manually brought into contact with the paper to measure the vertical width with the paper guide interlocking volume 2.

スタートボタンを押すと用紙のエッジEaがセンサー4
で検出されLaを求め、次に用紙を逆方向に移動して用紙
のエッジEbがセンサー5で検出してLbを求める。
Press the start button and the edge Ea of the paper will be the sensor 4
Is detected, and the sheet is moved in the reverse direction, and the edge Eb of the sheet is detected by the sensor 5 to obtain Lb.

La+Lb+L=用紙の横幅寸法が決まる(Lは固定寸法
である)。
La + Lb + L = The width of the sheet is determined (L is a fixed dimension).

用紙の縦横寸法が決まったら複数の標準レイアウトパ
ターンの内から、第5図の標準レイアウトパターンを選
択し、これから描字しようとする用紙のレイアウトパタ
ーン第6図の各レイアウト寸法を算出する。
When the vertical and horizontal dimensions of the paper are determined, the standard layout pattern shown in FIG. 5 is selected from the plurality of standard layout patterns, and the layout dimensions of the paper layout pattern to be drawn from now on are calculated.

前記用紙の縦幅寸法を測定してあるのでこれから描字
しようとするレイアウトパターンの主な決定要素である
描字位置、開始位置、終了位置、文字大きさ、文字間隔
を算出してみる。
Since the vertical width of the paper has been measured, the drawing position, start position, end position, character size, and character spacing, which are the main determinants of the layout pattern to be drawn, will be calculated.

算出する前に第7図に標準の用紙の横サイズと縦サイ
ズを、使用する用紙の横サイズと縦サイズを示してい
る。
Before calculation, FIG. 7 shows the horizontal size and the vertical size of the standard paper, and the horizontal size and the vertical size of the paper to be used.

第8図に描字位置、文字大きさ、文字間隔、開始位
置、終了位置、1文字目の文字中心、最後の文字の文字
中心について標準レイアウトデータと使用する用紙のレ
イアウトデータについて定義を行い各々のレイアウトデ
ータに基づいて計算を行う。
FIG. 8 defines the standard layout data and the paper layout data to be used for the drawing position, character size, character spacing, start position, end position, character center of the first character, and character center of the last character. Is calculated based on the layout data.

算出方法 用紙の横比率、縦比率は次のようになる。Calculation method The horizontal ratio and vertical ratio of the paper are as follows.

ra=A/a (横比率) rb=B/b (縦比率) 描字位置と文字間隔は次のようになる。ra = A / a (horizontal ratio) rb = B / b (vertical ratio) The drawing position and character spacing are as follows.

P1=p1×ra P2=p2×ra SP1=sp1×rb SP2=sp2×rb 文字大きさは次の関数を定義すると次のようになる。P1 = p1 × ra P2 = p2 × ra SP1 = sp1 × rb SP2 = sp2 × rb The character size is as follows when the following function is defined.

min(ra,rb)raとrbの小さい方を選択。min (ra, rb) Select the smaller of ra and rb.

SC1=sc1×min(ra,rb) SC2=sc2×min(ra,rb) 1列目のみを示す。(2列目も同様) C11=st1−sc1/2 C1m=en1+sc1/2 C11=s11×rb C1m=clm×rb ST1=C11+SC1/2 EN1=Clm−SC1/2 以上をまとめると ST1={st1−sc1/2}×rb+sc1×min(ra,rb)/2 EN1={en1+sc1/2}×rb+sc1×min(ra,rb)/2 ra≧tbならば ST1=st1×rb EN1=en1×rb ra<tbならば ST1=(st1−sc1/2)×rb+sc1×ra/2 EN1=(en1×sc1/2)×rb−sc1×ra/2 ただし標準レイアウトパターンに対して描字しようと
する用紙の縦、横寸法の比率のバランスが悪い場合は文
字間隔が大きくなってしまい見苦しくなるので、その時
は文字間隔を補正する為の補正値も入れて補正する様に
している。
SC1 = sc1 × min (ra, rb) SC2 = sc2 × min (ra, rb) Only the first column is shown. (The same applies to the second column.) C11 = st1-sc1 / 2 C1m = en1 + sc1 / 2 C11 = s11 x rb C1m = clm x rb ST1 = C11 + SC1 / 2 EN1 = Clm-SC1 / 2 ST1 = {st1- sc1 / 2} × rb + sc1 × min (ra, rb) / 2 EN1 = {en1 + sc1 / 2} × rb + sc1 × min (ra, rb) / 2 If ra ≧ tb, ST1 = st1 × rb EN1 = en1 × rb ra < If tb, ST1 = (st1-sc1 / 2) x rb + sc1 x ra / 2 EN1 = (en1 x sc1 / 2) x rb-sc1 x ra / 2 However, the length of the paper to be drawn on the standard layout pattern If the ratio of the horizontal dimensions is not well-balanced, the character spacing becomes large and it is difficult to see. In that case, the correction is made by including a correction value for correcting the character spacing.

(効果) のし紙の基準レイアウトパターン6種類、封筒の基準
レイアウトパターン12種類、表彰状の基準レイアウトパ
ターン1種類のわずか19種類の基準レイアウトパターン
で無段階にレイアウトパターンを作り出すことが出来る
ので選択操作の煩雑さがなくなり、メモリ容量も削減で
きる。
(Effect) Since only 19 types of reference layout patterns, including 6 types of reference layout patterns for paper sheets, 12 types of reference layout patterns for envelopes, and 1 type of commendation certificate, can be used to create a layout pattern in a stepless manner, the selection operation is complicated. And memory capacity can be reduced.

用紙の実寸法が検出され且つ与えられると共に用紙の
種類に応じて、用途に合った拡大、縮小が行われるので
書き上がりの全体的な文字配置のバランスが向上する。
即ち、用紙の大きさ、種類が変っても文字、記号等のレ
イアウトは自動的に決まり安定した品質が得られる。
The actual size of the sheet is detected and given, and enlargement or reduction is performed according to the use according to the type of the sheet, so that the balance of the overall character arrangement of the finished writing is improved.
That is, even if the size and type of the paper are changed, the layout of characters and symbols is automatically determined, and stable quality is obtained.

又、用紙サイズ選択操作は不要となる。 Further, the paper size selection operation is not required.

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

第1図…本発明の制御ブロック図、第2図…本発明の実
施例制御ブロック図、第3図…本発明の動作フローチャ
ート図、第4図−(a)…用紙の縦、横寸法の測定図、
第4図−(b)…用紙の縦、横寸法の側面図、第5図…
標準用紙のレイアウトパターン、第6図…描字しようと
する用紙のレイアウトパターン、第7図…標準レイアウ
トと使用する用紙のレイアウトの縦、横寸法の定義図、
第8図…標準レイアウトパターンから使用する用紙のレ
イアウトパターンのパラメーターの定義図。
Fig. 1 is a control block diagram of the present invention, Fig. 2 is a control block diagram of an embodiment of the present invention, Fig. 3 is an operation flowchart diagram of the present invention, Fig. 4-(a) ... Measurement diagram,
Fig. 4-(b) ... side view of vertical and horizontal dimensions of paper, Fig. 5 ...
Standard paper layout pattern, Fig. 6: Layout pattern of paper to be drawn, Fig. 7: Definition diagram of vertical and horizontal dimensions of standard layout and layout of paper to be used,
FIG. 8: Definition diagram of the parameters of the paper layout pattern used from the standard layout pattern.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) B43L 13/00 G06F 3/13 G06F 3/12 B41J 2/49──────────────────────────────────────────────────続 き Continued on the front page (58) Fields surveyed (Int. Cl. 6 , DB name) B43L 13/00 G06F 3/13 G06F 3/12 B41J 2/49

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】描画データ記憶手段(g)に記憶された文
字、記号等データを基にして、毛筆系の筆(k)を保持
した保持部(j)をX,Y,Z軸の各パルスモータを駆動し
てX,Y,Z軸方向に運動して毛筆描画する毛筆描画装置に
おいて、複数のレイアウトパターンに対応する文字の列
数、各列の最大文字数、描画位置、文字の大きさ、文字
の間隔等のレイアウト用のデータが記憶されているレイ
アウト情報記憶手段(a)と、用紙の種類の選択及び選
択された用紙の種類に対応するレイアウトを選択するた
めのレイアウトパターン選択手段(b)と、選択された
レイアウトのレイアウト情報の補正手段であって、与え
られた用紙実寸法と前記レイアウト情報記憶手段(a)
に記憶されている基準寸法との比較結果及び用紙の種類
に応じてレイアウト情報を演算して補正するレイアウト
情報演算手段(d)とを備えることを特徴とする描画レ
イアウト装置を備えた毛筆描画装置。
1. A holding unit (j) holding a brush (k) of a brush system based on data such as characters and symbols stored in a drawing data storage means (g). In a brushstroke drawing device that draws a brushstroke by moving in the X, Y, and Z-axis directions by driving a pulse motor, the number of character columns corresponding to a plurality of layout patterns, the maximum number of characters in each column, the drawing position, and the character size Layout information storage means (a) storing layout data such as character spacing, and layout pattern selection means (selection of a paper type and a layout corresponding to the selected paper type). b) and means for correcting layout information of the selected layout, wherein a given actual paper size and the layout information storage means (a)
And a layout information calculating means (d) for calculating and correcting layout information in accordance with the result of comparison with the reference dimensions stored in the printer and the type of paper. .
JP2096578A 1990-04-13 1990-04-13 Brush drawing device with drawing layout device Expired - Fee Related JP2864273B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2096578A JP2864273B2 (en) 1990-04-13 1990-04-13 Brush drawing device with drawing layout device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2096578A JP2864273B2 (en) 1990-04-13 1990-04-13 Brush drawing device with drawing layout device

Publications (2)

Publication Number Publication Date
JPH03295697A JPH03295697A (en) 1991-12-26
JP2864273B2 true JP2864273B2 (en) 1999-03-03

Family

ID=14168853

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2096578A Expired - Fee Related JP2864273B2 (en) 1990-04-13 1990-04-13 Brush drawing device with drawing layout device

Country Status (1)

Country Link
JP (1) JP2864273B2 (en)

Also Published As

Publication number Publication date
JPH03295697A (en) 1991-12-26

Similar Documents

Publication Publication Date Title
JP2864273B2 (en) Brush drawing device with drawing layout device
JP2706522B2 (en) Document creation device
JPS6118033A (en) Print processor
JPS6256171A (en) Printer having function printing address on surface of postcard
JPH0648489B2 (en) Optical character reader
AU672682B2 (en) Method and apparatus for positioning an image onto a recording medium
EP0544598A2 (en) Ruled line generating apparatus and sheet for use therein
JPH01119859A (en) Business form issuance processing system
CN107577403A (en) Text box method of combination, hand-held bill printer and its program recorded medium
JP3083692B2 (en) Certificate printing and issuing device
JPH0727195Y2 (en) Paper alignment device for writing system
JP2526607Y2 (en) Brush plotter
JP2690633B2 (en) Centering printing device
JPH05201091A (en) Slip issuing device
JP2667089B2 (en) Label printing device
JP2953692B2 (en) Printing control device
JP2837984B2 (en) Slip making device
JP2863671B2 (en) Print format creation device
JP2713275B2 (en) Postcard address printing controller
JP2710947B2 (en) Printing device
JPH052589A (en) Document preparation device
JPS5866149A (en) Word processor
JP3031003B2 (en) Coding device and coding method
JP2003099794A (en) Image layout device
JPH0542797A (en) Painting brush plotter

Legal Events

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

Free format text: PAYMENT UNTIL: 20071218

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20081218

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091218

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees