JPH03295697A - Image drawing layout of brush drawing device - Google Patents

Image drawing layout of brush drawing device

Info

Publication number
JPH03295697A
JPH03295697A JP2096578A JP9657890A JPH03295697A JP H03295697 A JPH03295697 A JP H03295697A JP 2096578 A JP2096578 A JP 2096578A JP 9657890 A JP9657890 A JP 9657890A JP H03295697 A JPH03295697 A JP H03295697A
Authority
JP
Japan
Prior art keywords
paper
layout
layout information
sheet
size
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
JP2096578A
Other languages
Japanese (ja)
Other versions
JP2864273B2 (en
Inventor
Yuji Sogawa
十川 勇治
Kenzo Goto
後藤 賢三
Kiyoshi Wakaizumi
潔 若泉
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 Corp
Original Assignee
Janome Sewing Machine 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 Janome Sewing Machine Co Ltd filed Critical Janome Sewing Machine Co Ltd
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)

Abstract

PURPOSE:To ensure that the whole drawn character arrangement is better balanced by detecting the actual size of a sheet and enlarging/reducing an image in accordance with the kind and use of a sheet. CONSTITUTION:Specified drawn image data is selected by a data input and activation indication device (f), then an image drawing control device (e) reads any appropriate drawn image data from a drawn image data storage device (g), and the kind of a sheet suited for use and a layout pattern are selected by device to select between the kinds of a sheet and layout patterns (b). The image drawing control device (e) passes information on the kind of sheet and layout pattern, and also information on the size of an actually used sheet obtained from a device to detect the vertical and horizontal size of a sheet to an layout information calculation device (d). The layout information calculation device (d)reads received layout information from a layout information storage device (a), then returns the result of enlargement/reduction of layout information in accordance with the ratio of the size of an actually used sheet and a reference size as well as the kind of a sheet to the image drawing control device (e). The image drawing control device (e) instructs the commencement of image drawing using the data input and activation indication device (f).

Description

【発明の詳細な説明】 (利用分野) 毛筆プロッタにおけるレイアウトパターンの決定方法に
関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Application) The present invention relates to a method for determining a layout pattern in a brush plotter.

(従来技術と発明が解決しようとする課題)封筒1表彰
状の場合には、用紙大きさ、描字列数等の違いに応じて
、それぞれ専用のレイアウトパターンがレイアウト情報
記憶手段に記憶されていた。(1つのレイアウトパター
ンは、1種類の用紙大きさに使用が限定されていた。) そのため、レイアウト情報の数が多くなり、所望のレイ
アウト情報の選択が煩雑になったり、使用メモリ容量が
増大する等の問題があった。
(Prior art and problem to be solved by the invention) In the case of envelope 1 certificate, dedicated layout patterns were stored in the layout information storage means depending on the paper size, number of drawn lines, etc. . (Use of one layout pattern was limited to one type of paper size.) As a result, the number of layout information increases, making selection of desired layout information complicated and increasing memory capacity. There were other problems.

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

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

しかしながら、のし紙の大きさは種類が多いため、満足
のいく結果は得られなかった。
However, because there are many types of wrapping paper, satisfactory results were not obtained.

そこで、指定できるサイズの種類を増やすことが考えら
れるが、その分サイズ選択操作の手間が増えてしまい、
且つ選択可能な用紙寸法も段階的にならざるをえないた
め、指定サイズと実際の紙大きさが異なった場合には、
書き上がりの全体的な文字配置バランスが微妙にずれて
くる等の問題があった。
Therefore, it is possible to increase the number of sizes that can be specified, but this would increase the amount of time and effort required to select the size.
In addition, the paper sizes that can be selected must be graded, so if the specified size and the actual paper size differ,
There were problems such as the overall character placement balance in the finished writing being slightly off.

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

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

(課題を解決するための手段) のし紙、封筒1表彰状等それぞれ使用頻度の高い中間的
な大きさの用紙を基準とした各々数種類の標準的レイア
ウトパターンをレイアウト情報記憶手段に記憶させ、用
紙の種類及びレイアウトパターン指示手段により、のし
紙、封筒9表彰状等の中から用途に合った用紙レイアウ
トパターンを操作者が選択すると、用紙の縦、横サイズ
検出手段により、自動的に実際の用紙大きさを認識し、
選択された用紙及びレイアウトパターンに対応するレイ
アウト情報を読み出し、検出した実際の用紙大きさと基
準大きさとの比率並びに用紙の種類に応じて、レイアウ
ト情報を拡大、縮小するレイアウト情報演算手段を設け
たものである。
(Means for Solving the Problem) Several types of standard layout patterns are stored in the layout information storage means, each based on frequently used medium-sized sheets such as paper, envelopes, and certificates of commendation. When the operator selects a paper layout pattern suitable for the purpose from among wrapping paper, envelopes, certificates, etc. using the layout pattern indicating means, the actual paper size is automatically recognized by the paper length and width size detection means. death,
A device equipped with layout information calculation means that reads layout information corresponding to the selected paper and layout pattern and enlarges or reduces the layout information according to the ratio between the detected actual paper size and the reference size and the type of paper. It is.

(実施例) 第1図の制御ブロック図について説明する。(Example) The control block diagram in FIG. 1 will be explained.

データ入力及び動作指示手段fにより所望の描画データ
を選択すると、描画制御手段eが描画データ記憶手段g
から該当する描画データを読み出すと共に、用途に合っ
た用紙種類、レイアウトパターンを、用紙の種類及びレ
イアウトパターン選択手段すにより選択することにより
、描画制御手段eは用紙種類、レイアウトパターン情報
と用紙縦横サイズ検出手段Cから得られた実用紙サイズ
情報をレイアウト情報演算手段dに渡し、レイアウト情
報演算手段dは受は取った用紙種類、レイアウトパター
ンに合致するレイアウト情報をレイアウト情報記憶手段
aから読み出し、実用紙サイズと基準寸法との比率並び
に用紙種類に応じてレイアウト情報を拡大、縮小して結
果を描画制御手段eに返し、描画制御手段eはデータ入
力、動作指示手段fにより描画開始が指示されるのを待
って、最終的なレイアウト情報及び描画データを駆動#
御手段りに渡し、駆動制御手段りは受は取った情報を基
に駆動装置iに指令を発して、毛筆保持部jに保持され
た毛筆系の筆kを移動させ描画するようになっている。
When desired drawing data is selected by the data input and operation instruction means f, the drawing control means e controls the drawing data storage means g.
By reading out the corresponding drawing data from , and selecting the paper type and layout pattern suitable for the purpose using the paper type and layout pattern selection means, the drawing control means e reads the paper type, layout pattern information, and paper length and width size. The practical paper size information obtained from the detection means C is passed to the layout information calculation means d, and the layout information calculation means d reads out the layout information matching the received paper type and layout pattern from the layout information storage means a, and calculates the practical size. The layout information is enlarged or reduced according to the ratio between the paper size and the reference dimension and the paper type, and the results are returned to the drawing control means e, and the drawing control means e is instructed to start drawing by the data input and operation instruction means f. Wait for and drive the final layout information and drawing data #
Based on the received information, the drive control means issues a command to the drive device i to move the brush k held in the brush holder j to draw. There is.

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

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

・のし紙・・・基準寸法縦226mm、レイアウトパタ
ーン6種類 ・封 筒・・・縦長形状基準寸法110X231+m、
レイアウトパターン6種類 角形形状基準寸法142X203+nmルイアウトパタ
ーン6種類 ・表彰状・・・基準寸法269X380龍、レイアウト
パターン1M類 各々、レイアウトパターンに従い、列数、各列の最大文
字数、各列の描画位置(横方向)、各列の文字数に応じ
た描画開始終了位置(縦方向)、文字大きさ1文字間隔
等の値が書き込まれている。
・Paper: Standard dimensions 226mm long, 6 types of layout patterns ・Envelopes: Standard dimensions 110x231+m, vertical shape
6 types of layout patterns Square shape standard dimensions 142 x 203 + nm 6 types of Louis-out patterns / Certificate of commendation... Standard dimensions 269 Direction), drawing start/end position (vertical direction) according to the number of characters in each column, character size, character interval, etc. are written.

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

用紙の種類、レイアウトパターンを選択するには、以下
に示す英字1文字十数字3文字キーを入力すればよい。
To select the paper type and layout pattern, all you have to do is input one alphabetic character, ten digits, and three digits as shown below.

・のし紙・・・No00〜N005 ・封 筒・・・縦長F100〜F105角型F200〜
F2O3 ・表彰状・・・Hooo 用紙縦横サイズ検出手段Cは用紙の縦寸法に合わせてセ
ットする紙ガイドに連動するボリューム2と、ボリュー
ムの電圧出力値をディジタル値に変換するA/D変換器
3と、用紙の有無を検出する反射型フォトセンサを使用
した横方向左端を検出する左紙センサ4と、右端を検出
する右紙センサ5と、駆動装置iの構成要素で用紙を横
方向に移動させるためのXパルスモータドライバ12゜
Xパルスモータ15.X駆動部18と、ディジタル値、
センサ信号を読み取るための入力ポートロと、ドライバ
に指令を発するための出力ボート8と、プログラムRO
M9と、RAMl0と、CPU7から構成される。
・Target paper...No00~N005 ・Envelope...Vertical F100~F105 Square type F200~
F2O3 ・Certificate...Hooo The paper length and width size detection means C includes a volume 2 that is linked to a paper guide that is set according to the length of the paper, and an A/D converter 3 that converts the voltage output value of the volume into a digital value. , a left paper sensor 4 that detects the left edge in the lateral direction using a reflective photosensor that detects the presence or absence of paper, a right paper sensor 5 that detects the right edge, and components of the drive device i to move the paper in the lateral direction. X-pulse motor driver 12° for X-pulse motor 15. X drive section 18, digital value,
Input port RO for reading sensor signals, output port 8 for issuing commands to the driver, and program RO
It is composed of M9, RAM10, and CPU7.

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

横寸法は、まず左紙センサが用紙の無いレベルを出力す
るまで用紙を左右方向に送り(通常、用紙をセットする
と左右のセンサは用紙有の状態になっている。)、次に
パルスモータを1ステツプずつ駆動し用紙を左方向に移
動する。
For the horizontal dimension, first feed the paper in the left and right direction until the left paper sensor outputs the no-paper level (normally, when paper is set, the left and right sensors are in the state of paper present), then the pulse motor is turned on. The paper is moved to the left by driving one step at a time.

これを右紙センサが用紙の無いレベルを出力するまでス
テップ数をカウントしながら行う。
This is done 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 Figure 4 (a), the number of steps x (paper movement length per one step of the pulse motor) + distance between the left and right paper sensors (L): paper horizontal dimension (La+L+Lb).

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

・のし紙・・・用紙の上下端一定値を差し引いた縦寸法
の比で計算。
・Paper paper: Calculated based on the ratio of the vertical dimension after subtracting a fixed value from the top and bottom edges of the paper.

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

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

描画制御手段eは、CPU7と、プログラムROM9と
、RAMl0からなり、入力キーの内容を識別し、描画
データの読み出し、登録、用紙寸法検出指示、拡大縮小
演算指示、描画動作開始等の主制御を司る。
The drawing control means e consists of a CPU 7, a program ROM 9, and a RAM 10, and identifies the contents of input keys and performs main control such as reading and registering drawing data, paper size detection instructions, enlargement/reduction calculation instructions, and the start of drawing operations. govern

データ入力及び動作指示手段rは、入力キ一部1夏と、
入力ポートロと、プログラムROM9と、CPU7と、
RAMl0からなり、所望の描画データ選択及び描画開
始、停止等の動作指示がキーボードから行える。
The data input and operation instruction means r includes an input key part 1 summer,
Input port, program ROM9, CPU7,
It consists of a RAM 10, and operation instructions such as desired drawing data selection and drawing start and stop can be given from the keyboard.

描画データは、かな漢字変換機能により、かな、カナ、
漢字等が選択でき、rESCJキーでデータ入力終了と
なる。
The drawing data can be converted into kana, kana,
Kanji etc. can be selected, and data entry is completed with the rESCJ key.

描画開始はrcTRLJ+rGJキー、停止は[CTR
LJ+rSJを押す。
To start drawing, press rcTRLJ+rGJ keys, to stop, press [CTR
Press LJ+rSJ.

描画データ記憶手段gはデータROMI 1の中に、描
画のためのx、y、zパルスモータの移動ステップデー
タが、個々の文字、記号等に対応して格納されている。
In the data ROMI 1 of the drawing data storage means g, movement step data of x, y, and z pulse motors for drawing is stored in correspondence with individual characters, symbols, etc.

駆動制御手段りは、CPU7と、プログラムROM9と
、RAMl0と、駆動装置iを構成するx 、 y 、
−z各パルスモータドライバ1”2,13.14に指令
を発するための出力ボート5からなり、しイアウド情報
及び描画データを基に、各パルスモータへの移動パルス
列が出力される。
The drive control means includes a CPU 7, a program ROM 9, a RAM 10, and x, y, which constitute the drive device i.
-z Consists of an output boat 5 for issuing commands to each pulse motor driver 1''2, 13.14, and outputs a movement pulse train to each pulse motor based on the output information and drawing data.

駆動装置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 drive device i includes a portion that moves the paper in the left and right direction using an X pulse motor driver 12, an X pulse motor 15, and an A part that moves the brush k held in the brush j in the front and back direction, and a Z pulse motor dry)<14, a part that moves the brush k held by the brush k It consists of a part that moves the height direction.

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

TI スタート後キースキャンを行い、キーボードから用紙の
種類、描画パターンが入力されるのを待つ(N***、
F***、HOOOを受は付ける)。
TI After starting, perform a key scan and wait for the paper type and drawing pattern to be input from the keyboard (N****,
F***, HOOO will be accepted).

Sr2 次に描画データが選択されるのを待つ。Sr2 Next, wait for drawing data to be selected.

Sr3 選択されたなら該当する描画データを読み出しバッファ
に登録する。登録されたら再び描画データが選択される
のを待つ全ての描画データがなくなるまでくりかえす。
Sr3 If selected, register the corresponding drawing data in the read buffer. Once registered, wait for the drawing data to be selected again. Repeat until all drawing data is exhausted.

Sr4 描画データ入力終了(rESCJキーが押された)なら
Sr1へ。
Sr4 If drawing data input is completed (rESCJ key is pressed), go to Sr1.

描画データ入力終了までSr1.Sr1を繰り返す。Sr1 until the end of drawing data input. Repeat Sr1.

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

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

Sr7 描画開始指示を待つf「CTRLJ+rGJキーが押さ
れるのを待つ)。
Sr7 Wait for drawing start instructionf "Wait for CTRLJ+rGJ keys to be pressed)".

Sr8 指示があったら、レイアウト情報で指定される大きさ、
位置に登録された描画データに基づき描画する。終了後
STIへ戻る。
Sr8 If instructed, size specified in layout information,
Draws based on the drawing data registered at the position. After finishing, return to STI.

第4図−(a)と第4図−(b)で用紙の横幅と縦幅の
寸法測定について説明する。
4-(a) and 4-(b), the measurement of the horizontal width and vertical width of the paper will be explained.

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

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

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

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

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

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

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

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

算出方法 用紙の横比率、縦比率は次のようになる。Calculation method The width and height ratios 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=plXra    P2=p2XraSPI =
 spl X rb   SF3 = sp2 X r
b文字大きさは次の関数を定義すると次のようになる。
P1=plXra P2=p2XraSPI=
spl X rb SF3 = sp2 X r
b The character size is determined by defining the following function:

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

SC1=sclXmin(ra、rb)SC2=sc2
xmin(ra、rb)1列目のみを示す。(2列目も
同様) CIL=stl−scl/2  C1m=enl+sc
l/2C11=cL1xrb   C1m=cl++X
rbST1=C11+SC1/2 EN1=C1m−3CL/2 以上をまとめると 5T1−(stl−scl/2) Xrb+sclXm
in(ra、rb)/2ENI = (enl + s
cl/2) X rb + scl X akin(r
a、 rb)/2ra≧rbならば 5T1=stlXrb ENI = enl X rb ra< rbならば 5T1=(stl−scL/2)xrb+5clXra
/2ENI = (enl + scl/2) x r
b −scl x ra/まただし標準レイアウトパタ
ーンに対して描字しようとする用紙の縦、横寸法の比率
のバランスが悪い場合は文字間隔が大きくなってしまい
見苦しくなるので、その時は文字間隔を補正する為の補
正値も入れて補正する様にしている。
SC1=sclXmin(ra, rb)SC2=sc2
Only the first column of xmin(ra, rb) is shown. (Same for 2nd row) CIL=stl-scl/2 C1m=enl+sc
l/2C11=cL1xrb C1m=cl++X
rbST1=C11+SC1/2 EN1=C1m-3CL/2 To summarize the above, 5T1-(stl-scl/2) Xrb+sclXm
in(ra, rb)/2ENI = (enl + s
cl/2) X rb + scl X akin(r
a, rb)/2ra≧rb then 5T1=stlXrb ENI=enl X rb If ra<rb then 5T1=(stl-scL/2)xrb+5clXra
/2ENI = (enl + scl/2) x r
b -scl x ra/However, if the ratio of the vertical and horizontal dimensions of the paper you are trying to draw on is unbalanced with respect to the standard layout pattern, the character spacing will become large and unsightly, so in that case, correct the character spacing. A correction value is also included for correction.

(効果) のし紙の基準レイアウトパターン6種類、封筒の基準レ
イアウトパターン12種類、表彰状の基準レイアウトパ
ターン1種類のわずか19種類の基準レイアウトパター
ンで無段階にレイアウトパターンを作り出すことが出来
るので選択操作の煩雑さがなくなり、メモリ容量も削減
できる。
(Effects) Layout patterns can be created steplessly with only 19 standard layout patterns, including 6 standard layout patterns for wrapping paper, 12 standard layout patterns for envelopes, and 1 standard layout pattern for certificates, making selection operations less complicated. It also reduces memory capacity.

用紙の実寸法を検出し、且つ用紙の種類に応じて用途に
合った拡大、縮小を行うので、書き上がりの全体的な文
字配置バランスが向上する。
Since the actual size of the paper is detected and the paper is enlarged or reduced according to the type of paper, the overall character arrangement balance is improved.

(用紙の大きさ、種類に関係なく、安定した品質となる
。) 又、用紙サイズ選択操作は不要となる。
(The quality is stable regardless of the size and type of paper.) Also, there is no need to perform a paper size selection operation.

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

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

Claims (1)

【特許請求の範囲】[Claims] 入力キーの内容を識別し、描画データの読み出し登録、
用紙寸法検出指示、拡大縮小演算、描画動作開始の制御
を行う描画制御手段eと、所望の描画データ選択及び描
画開始、停止の動作指示を与えるデータ入力及び動作指
示手段fと、個々の文字、記号等に対応した文字、記号
データを格納してある描画データ記憶手段gと、レイア
ウト情報及び描画データを基にX、Y、Z軸の各パルス
モータに移動パルス列を出力する駆動制御手段hと、該
駆動制御手段hにより出力された各々の移動パルスを各
々のモータドライバに印加してモータを駆動する駆動装
置iと、毛筆系の筆kを保持する毛筆保持部jを備えた
毛筆描画装置において、各々のレイアウトパターンに従
い列数、各列の最大文字数、描画位置、描画開始、終了
位置、文字の大きさ、文字間隔等が書き込まれているレ
イアウト情報記憶手段aと、用紙の種類によりレイアウ
トを選択する用紙の種類及びレイアウトパターン選択手
段bと、用紙の縦、横のサイズを測定する用紙縦横サイ
ズ検出手段cと、該用紙縦横サイズ検出手段cで測定し
た用紙実寸法と前記レイアウト情報記憶手段aの基準寸
法との比率と用紙の種類に応じてレイアウト情報を拡大
、縮小するレイアウト情報演算手段dを備えている毛筆
描画装置の描画レイアウト方法。
Identifies input key contents, registers drawing data readout,
a drawing control means e for controlling paper size detection instructions, scaling calculations, and the start of drawing operations; a data input and operation instruction means f for selecting desired drawing data and giving operation instructions for starting and stopping drawing; and individual characters; A drawing data storage means g that stores character and symbol data corresponding to symbols, etc., and a drive control means h that outputs a movement pulse train to each pulse motor of the X, Y, and Z axes based on the layout information and drawing data. , a brush drawing device comprising a drive device i that applies each movement pulse outputted by the drive control means h to each motor driver to drive the motor, and a brush holder j that holds a brush k of a brush type. , a layout information storage means a in which the number of columns, maximum number of characters in each column, drawing position, drawing start, end position, character size, character spacing, etc. are written according to each layout pattern, and layout information according to the paper type. paper type and layout pattern selection means b for selecting paper type and layout pattern selection means b; paper length and width size detection means c for measuring the length and width sizes of the paper; and paper actual dimensions measured by the paper length and width size detection means c and the layout information storage. A drawing layout method for a brush drawing device, comprising a layout information calculating means d for enlarging or reducing layout information according to the ratio of the means a to the reference dimension 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 true JPH03295697A (en) 1991-12-26
JP2864273B2 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
JP2864273B2 (en) 1999-03-03

Similar Documents

Publication Publication Date Title
JP6300663B2 (en) Optical character recognition device and optical character recognition method
US20070076082A1 (en) Methods and apparatuses for measuring print area using hand-held printer
JPH03295697A (en) Image drawing layout of brush drawing device
US6369802B1 (en) Handwritten data input device having coordinate detection tablet
US5878200A (en) Document processing apparatus for displaying inputted data in a print area based upon the size of a recording material and the reprinted data printed thereon
JPH0572583B2 (en)
JP2863671B2 (en) Print format creation device
JPS59135180A (en) Printer
JPH07304225A (en) Method for printing automatic address layout
JP2910921B2 (en) Printing control device
JP2578747B2 (en) Handwritten information processing method
JPH04156694A (en) Character recognition system
JP2953692B2 (en) Printing control device
JPH01217516A (en) Document preparing device
JPH0711799B2 (en) Typesetting system
JPS63188077A (en) Sentence preparing apparatus
JP2930605B2 (en) How to distinguish between uppercase, lowercase and Kanji Kana-like characters
JPH05233874A (en) Optical character reader
JP2739744B2 (en) Character output device
JPH052589A (en) Document preparation device
JPH06222895A (en) Print format preparing device
JPH01113260A (en) Printer
JPH05314111A (en) Document preparing device and edit control method
JPS5866149A (en) Word processor
JPH06110600A (en) Information processing equipment provided with display tablet for character and illustration or the like

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