JPH08297711A - Character string output device - Google Patents

Character string output device

Info

Publication number
JPH08297711A
JPH08297711A JP7123021A JP12302195A JPH08297711A JP H08297711 A JPH08297711 A JP H08297711A JP 7123021 A JP7123021 A JP 7123021A JP 12302195 A JP12302195 A JP 12302195A JP H08297711 A JPH08297711 A JP H08297711A
Authority
JP
Japan
Prior art keywords
character string
line segment
image
character
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7123021A
Other languages
Japanese (ja)
Inventor
Shin Mikuni
伸 三国
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP7123021A priority Critical patent/JPH08297711A/en
Publication of JPH08297711A publication Critical patent/JPH08297711A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE: To precisely arrange the input character strings among the segments constructing a slip form by providing a character string arrangement means to arrange the input character strings along the segments which are detected out of an original image. CONSTITUTION: A CPU 1 detects the segments out of the slip images which are read out by a print device 7 containing an image reader, decides the types (straight lines, circular arcs, etc.) of the segments, and writes these segments in an image graphic work memory 5-1. An image graphic conversion part 10 converts the segment images into the coordinate string data and writes them in the memory 5-1. A character graphic conversion part 11 generates the character strings containing the arrangement information based on the character strings, the image graphics and the contents of the memory 5-1 and writes these generated character strings in a hyperoutline memory 5-2. The data on the character strings containing the arrangement information include the graphic information and the arrangement information which belong to the same coordinate system, so that the character strings can follow up the graphics. Then the CPU 1 prints out the contents of a document memory 5 through the print device 7.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、ワードプロセッサや
パーソナルコンピュータ等の文書処理装置において、原
稿イメージ内の線分に沿って入力文字列を配置出力する
文字列出力装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character string output device for arranging and outputting an input character string along a line segment in a document image in a document processing device such as a word processor or a personal computer.

【0002】[0002]

【従来の技術】従来、パーソナルコンピュータ等の文書
処理装置において、伝票印刷を行う場合、プリンタや伝
票がセットされると、この伝票フォームにしたがった各
記入欄に入力文字列をそれぞれ割り当てて配置出力する
ようにしている。ところで、プリンタにセットされる伝
票がファクシミリや複写機によるコピー用紙であった
り、その印刷具合い等によって伝票フォームの印刷内容
が用紙に対して傾いていることがある。あるいは伝票フ
ォームの印刷内容がその用紙に対して傾いていなくて
も、伝票をプリンタにセットした際に、用紙がプリンタ
に対して傾いてセットされることがある。
2. Description of the Related Art Conventionally, when a slip is printed in a document processing apparatus such as a personal computer, when a printer or a slip is set, an input character string is assigned to each entry field according to the slip form, and output is performed. I am trying to do it. By the way, the slip set in the printer may be a copy sheet of a facsimile or a copying machine, or the printing content of the slip form may be inclined with respect to the sheet depending on the printing condition. Alternatively, when the slip is set in the printer, the paper may be set to be inclined with respect to the printer even if the print contents of the slip form are not inclined to the paper.

【0003】[0003]

【発明が解決しようとする課題】このように伝票フォー
ムの印刷内容が用紙に対して傾いていたり、伝票がプリ
ンタに対して傾いて差し込まれると、伝票フォームの各
記入欄に割り当てられる入力文字列はその記入欄を構成
する線に対して傾いた状態で印刷されることになり、極
めて見た目の悪い印刷内容となっていた。この発明の課
題は、伝票フォーム等を構成する線分がその用紙に対し
て傾いていたり、用紙がプリンタに対して傾いたままセ
ットされたとしても、入力文字列をその線分に沿って正
確に配置できるようにすることである。
As described above, when the print contents of the slip form are tilted with respect to the paper or the slip is inserted with respect to the printer, an input character string assigned to each entry field of the slip form. Was printed in an inclined state with respect to the line forming the entry column, and the printed content was extremely unsightly. An object of the present invention is to accurately input a character string along a line segment constituting a slip form or the like even if the line segment is inclined with respect to the sheet or the sheet is set while being inclined with respect to the printer. Is to be able to place.

【0004】[0004]

【課題を解決するための手段】第1の発明(請求項
(1)記載の発明)の手段は次の通りである。 (1)、文字列入力手段は文字列を入力するキー入力装
置等である。 (2)、イメージ読取手段は原稿を走査して原稿イメー
ジを読み取るイメージリーダである。 (3)、検出手段はこのイメージ読取手段によって読み
取られた原稿イメージの中から線分を検出する。 (4)、文字列配置手段は前記文字列入力手段から入力
された文字列を前記検出手段によって検出された線分に
沿って配置する。 (5)、出力手段はこの文字列配置手段によって配置さ
れた文字列を出力する印刷装置や表示装置である。 なお、前記検出手段は前記イメージ読取手段によって読
み取られた原稿イメージの中から線分を検出すると共に
この線分で囲まれた枠領域を検出し、前記文字列配置手
段は前記検出手段によって検出された枠領域内に当該枠
を構成する線分に沿って文字列を配置するようにしても
よい。また、前記文字列入力手段によって入力された文
字列を登録保存すると共に前記イメージ読取手段によっ
て読み取られた原稿イメージを登録保存する外部記憶手
段を設け、この外部記憶手段の内容を呼び出してその出
力が指示された際に、前記出力手段は原稿イメージの中
に前記文字列配置手段によって配置された文字列を差し
込んで原稿イメージと共に用紙上に印刷出力するように
してもよい。また、前記イメージ読取手段は印字装置内
に組み込まれ、その印字機構の駆動に応じて原稿を1ラ
イン毎に走査するようにしてもよい。第2の発明(請求
項(5)記載の発明)の手段は次の通りである。2本の
線分で挾まれた領域を文字配置領域とすると共に、入力
文字列をこの配置領域内にその線分に沿って配置出力す
る文字列出力装置において、 (1)、イメージ読取手段は原稿を走査して原稿イメー
ジを読み取る。 (2)、線分変換手段はこのイメージ読取手段によって
読み取られた原稿イメージの中から線分を検出して座標
列に変換する。 (3)、生成手段はこの線分変換手段によって変換され
た線分座標列に基づいて前記文字配置領域を定義すると
共に当該線分座標列と同一の座標系で表現した配置情報
を生成する。 (4)、付加手段はこの生成手段によって生成された配
置情報を入力文字列に付加する。 (5)、出力手段はこの付加手段によって配置情報が付
加された文字列を出力する際に、この配置情報によって
示される各文字配置領域内にその線分に沿って文字列を
配置出力する。
Means for Solving the Problems The means of the first invention (the invention according to claim (1)) is as follows. (1) The character string input means is a key input device or the like for inputting a character string. (2) The image reading unit is an image reader that scans a document and reads the document image. (3) The detecting means detects a line segment from the document image read by the image reading means. (4) The character string arrangement means arranges the character string input from the character string input means along the line segment detected by the detection means. (5) The output means is a printing device or a display device that outputs the character string arranged by the character string arrangement means. The detecting means detects a line segment from the document image read by the image reading means and a frame area surrounded by the line segment, and the character string arranging means is detected by the detecting means. The character string may be arranged in the frame area along the line segment forming the frame. Further, external storage means for registering and storing the character string input by the character string input means and for registering and storing the original image read by the image reading means is provided, and the contents of the external storage means are called to output the output. When instructed, the output means may insert the character string arranged by the character string arranging means into the manuscript image and print it out on paper together with the manuscript image. Further, the image reading means may be incorporated in a printing device so that the document is scanned line by line in response to the driving of the printing mechanism. Means of the second invention (the invention according to claim (5)) is as follows. In a character string output device in which an area sandwiched by two line segments is used as a character arrangement area and an input character string is arranged and output in the arrangement area along the line segment, (1), the image reading means is Scan the document and read the document image. (2) The line segment conversion means detects a line segment from the document image read by the image reading means and converts it into a coordinate sequence. (3) The generating unit defines the character arrangement area based on the line segment coordinate sequence converted by the line segment converting unit and generates the arrangement information expressed in the same coordinate system as the line segment coordinate sequence. (4), the adding means adds the arrangement information generated by the generating means to the input character string. (5) When outputting the character string to which the arrangement information is added by the adding means, the output means arranges and outputs the character string along each line segment in each character arrangement area indicated by the arrangement information.

【0005】[0005]

【作用】第1の発明の手段の作用は次の通りである。い
まイメージ読取手段によって伝票等の原稿イメージを読
み取ると、検出手段は原稿イメージの中から線分を検出
すると共に、文字列配置手段は入力文字列を検出された
線分に沿って配置する。すると、出力手段はこの文字列
配置手段によって配置された文字列を出力する。第2の
発明の手段の作用は次の通りである。線分変換手段はこ
のイメージ読取手段によって読み取られた原稿イメージ
の中から線分を検出して座標列に変換すると共に、生成
手段はこの線分変換手段によって変換された線分座標列
に基づいて前記文字配置領域を定義すると共に当該線分
座標列と同一の座標系で表現した配置情報を生成する。
すると、付加手段はこの生成手段によって生成された配
置情報を入力文字列に付加すると共に出力手段はこの付
加手段によって配置情報が付加された文字列を出力する
際に、この配置情報によって示される各文字配置領域内
にその線分に沿って文字列を配置出力する。したがっ
て、伝票フォーム等を構成する線分がその用紙に対して
傾いていたり、用紙がプリンタに対して傾いたままセッ
トされたとしても、入力文字列をその線分に沿って正確
に配置することができる。
The operation of the means of the first invention is as follows. When the image reading means reads a document image such as a voucher, the detecting means detects a line segment from the document image, and the character string arranging means arranges the input character string along the detected line segment. Then, the output means outputs the character string arranged by the character string arrangement means. The operation of the means of the second invention is as follows. The line segment conversion means detects a line segment from the original image read by the image reading means and converts it into a coordinate sequence, and the generation means based on the line segment coordinate sequence converted by the line segment conversion means. The character arrangement area is defined and the arrangement information expressed in the same coordinate system as the line segment coordinate string is generated.
Then, the adding means adds the arrangement information generated by the generating means to the input character string, and the output means outputs the character string to which the arrangement information is added by the adding means, and indicates each of the arrangement information indicated by the arrangement information. A character string is arranged and output along the line segment in the character arrangement area. Therefore, even if the line segments that make up the slip form or the like are inclined with respect to the paper, or if the paper is set while being inclined with respect to the printer, the input character string must be accurately arranged along the line segment. You can

【0006】[0006]

【実施例】以下、図1〜図8を参照して一実施例を説明
する。図1は文書処理装置のブロック構成図である。C
PU1は各種プログラムにしたがってこの文書処理装置
の全体動作を制御する中央演算処理装置であり、キー操
作部2から文字列データが入力されると、CPU1はそ
れを取り込んで表示制御部3に与え、表示装置4から表
示出力させたり、文書メモリ5を構成するテキストメモ
リ5−3に格納する。また、CPU1はキー操作部2か
ら印刷指令が入力されると、文書メモリ5の内容を印刷
制御部6に与え、イメージリーダ付き印刷装置7から印
字出力させ、またキー操作部2から保存指令が入力され
ると、文書メモリ5の内容を外部記憶制御装置8に与
え、外部記憶装置9に登録保存させる。更に、ロード指
令に応答してCPU1は外部記憶装置9の内容を取り込
み、文書メモリ5に格納する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment will be described below with reference to FIGS. FIG. 1 is a block diagram of the document processing apparatus. C
PU1 is a central processing unit that controls the overall operation of this document processing apparatus according to various programs, and when character string data is input from the key operation unit 2, the CPU 1 takes it in and gives it to the display control unit 3, It is output from the display device 4 and stored in the text memory 5-3 which constitutes the document memory 5. When a print command is input from the key operation unit 2, the CPU 1 gives the content of the document memory 5 to the print control unit 6, causes the printing device 7 with an image reader to print out, and the key operation unit 2 sends a save command. When input, the contents of the document memory 5 are given to the external storage control device 8 and registered and stored in the external storage device 9. Further, in response to the load command, the CPU 1 fetches the content of the external storage device 9 and stores it in the document memory 5.

【0007】文書メモリ5はイメージ図形ワークメモリ
5−1、ハイパーアウトラインメモリ5−2、テキスト
メモリ5−3等を有する構成となっている。イメージ図
形ワークメモリ5−1は後述するが、イメージリーダ付
き印刷装置7によって伝票イメージが読み取られた際
に、CPU1によって伝票イメージに含まれる線分が検
出されると共に、イメージ図形変換部10によって線分
毎に変換された座標列のデータ(イメージ図形)と共
に、その線分の種類(図形種)を一時記憶するワーク用
のテンポラリ・ストレージである。
The document memory 5 has an image / graphic work memory 5-1, a hyperoutline memory 5-2, a text memory 5-3 and the like. Although the image figure work memory 5-1 will be described later, when the slip image is read by the printing device 7 with an image reader, the CPU 1 detects a line segment included in the slip image, and the image figure conversion unit 10 causes a line to be detected. It is a temporary storage for work that temporarily stores the type (graphic type) of the line segment together with the data (image figure) of the coordinate sequence converted for each minute.

【0008】ここで、本実施例においては、伝票イメー
ジに含まれる線分に沿って入力文字列を配置可能とする
ために、ハイパーアウトラインと称する技術を前提とす
るもので、この技術は後で後述するが2本の線分で挾ま
れた領域を文字配置領域とし、この配置領域内に文字列
を配置することにより直線、円弧、ベジェール曲線等に
沿わせて任意の場所に文字列全体を変形配置するように
したものである。これを用いて本実施例においては伝票
イメージ内の線分に合わせて斜めに傾いた文字列を配置
出力させるようにしたものである。
Here, in the present embodiment, a technique called hyper-outline is premised in order to arrange the input character string along the line segment included in the slip image, and this technique will be described later. As will be described later, the area sandwiched by two line segments is the character placement area, and by placing the text in this placement area, the entire text can be placed anywhere along a straight line, arc, bezier curve, etc. It is arranged to be deformed. By using this, in the present embodiment, a character string that is obliquely inclined according to the line segment in the slip image is arranged and output.

【0009】ハイパーアウトラインメモリ5−2は2本
の線で挾まれた領域を文字配置領域とし、この文字配置
領域内にその線分に沿って配置される文字列を図形要素
+文字列というデータ構造(図2参照)、つまり図形要
素である文字配置領域を定義する配置情報が付加された
文字列データをハイパーアウトラインのデータとして記
憶するメモリで、その内容は後述する文字図形情報変換
部11によって生成されたものである。テキストメモリ
5−3はキー操作部2から入力された文字列データや外
部記憶装置9からロードされた文字列データを記憶する
通常の文書メモリである。
In the hyperoutline memory 5-2, an area sandwiched by two lines is a character arrangement area, and a character string arranged along the line segment in the character arrangement area is data called a graphic element + character string. A structure (see FIG. 2), that is, a memory that stores character string data to which layout information that defines a character layout area that is a graphic element is stored as data of a hyperoutline, the content of which is defined by a character / graphic information conversion unit 11 described later. It was generated. The text memory 5-3 is an ordinary document memory that stores character string data input from the key operation unit 2 and character string data loaded from the external storage device 9.

【0010】イメージリーダ付き印刷装置7はサーマル
プリンタで、印字ヘッドが搭載されているキャリッジを
縦方向に移動させて1ライン分の印刷を行ったのちプラ
テンを回転駆動させて紙送りを行うもので、本実施例に
おいて、プラテンは正方向/逆方向に回転可能なもの
で、用紙をフィードしたり、バックフィードする構成と
なっている。また、本実施例においてはキャリッジには
印字ヘッドの他にイメージリーダも搭載されており、印
字機構を駆動することにより用紙全体を1ライン毎に走
査し、原稿イメージを読み取るように構成されている。
これによって読み取られた伝票イメージは印刷制御部6
を介してCPU1に取り込まれる。CPU1はこの伝票
イメージを伝票毎に伝票イメージメモリ1−1に格納す
ると共に、この伝票イメージの中から線分を検出して線
分イメージをイメージ図形変換部10に与えると共に、
その線分の種類(直線か円弧か等)を判別し、イメージ
図形ワークメモリ5−1に書き込む。イメージ図形変換
部10は線分イメージを座標列のデータに変換するもの
で、線分毎に変換された座標列データはイメージ図形ワ
ークメモリ5−1に書き込まれる。
The printing device 7 with an image reader is a thermal printer, which moves a carriage on which a print head is mounted in the vertical direction to perform printing for one line, and then rotationally drives a platen to feed the paper. In the present embodiment, the platen is rotatable in the forward / reverse directions, and is configured to feed the paper or back feed. In addition, in the present embodiment, an image reader is mounted on the carriage in addition to the print head, and the printing mechanism is driven to scan the entire sheet line by line to read the original image. .
The slip image read by this is the print control unit 6
It is taken into the CPU 1 via. The CPU 1 stores this voucher image in the voucher image memory 1-1 for each voucher, detects a line segment from the voucher image, and gives the line segment image to the image figure conversion unit 10.
The type of the line segment (straight line, circular arc, etc.) is discriminated and written in the image figure work memory 5-1. The image figure conversion unit 10 converts a line segment image into coordinate sequence data, and the coordinate sequence data converted for each line segment is written in the image figure work memory 5-1.

【0011】文字図形情報変換部11は文字列格納部1
1−1、図形情報格納部11−2、配置情報作成部11
−3を有し、イメージ図形ワークメモリ5−1、ハイパ
ーアウトラインメモリ5−2の内容に基づいて上述した
配置情報付き文字列を生成するもので、CPU1はイメ
ージ図形を図形情報格納部11−2にセットし、文字列
を文字列格納部11−1にセットする。配置情報作成部
11−3は文字列格納部11−1、図形情報格納部11
−2の内容に基づいて配置情報付き文字列を生成する
が、その際、図形情報解析部11−3A、文字情報解析
部11−3Bによってイメージ図形や文字列の解析が行
われ、この解析結果にしたがって図形/配置変換部11
−3Cはイメージ図形を配置情報に変換する。これによ
って得られた配置情報付き文字列はデータバッファ11
−4に一時記憶されたのち、ハイパーアウトラインメモ
リ5−2に書き込まれる。
The character / graphic information conversion unit 11 is a character string storage unit 1.
1-1, graphic information storage unit 11-2, arrangement information creation unit 11
-3 for generating the above-mentioned character string with the layout information based on the contents of the image graphic work memory 5-1 and the hyper outline memory 5-2, the CPU 1 stores the image graphic in the graphic information storage unit 11-2. , And the character string is set in the character string storage unit 11-1. The arrangement information creation unit 11-3 includes a character string storage unit 11-1 and a graphic information storage unit 11
-2, a character string with placement information is generated based on the contents of -2. At that time, the graphic information analysis unit 11-3A and the character information analysis unit 11-3B analyze the image graphic and the character string, and the analysis result According to FIG.
-3C converts the image figure into arrangement information. The character string with the placement information obtained by this is the data buffer 11
-4 is temporarily stored, and then written in the hyper-outline memory 5-2.

【0012】ここで、図2、図3を参照して本実施例の
前提となる技術、つまり、文字列を任意の場所に配置す
る技術の動作原理について簡単に説明しておく。任意の
場所に配置される文字列は図2に示すようなデータ構造
を成している。すなわち、配置情報付き文字列のデータ
構造は上述した様に図形要素+文字列という形を成し、
図形要素を定義する「パターンコード」は2本の線がど
のような線分の組み合せによって構成されているかを示
すもので、パターンコード「0」は2本の線が「直線+
直線」の組み合せから文字配置領域が構成されているこ
とを示している。また、パターンコード「1」は「直線
+ベジェール曲線」の組み合せ、「2」は「ベジェール
曲線+ベジェール曲線」の組み合せ、「3」は「円弧+
円弧」の組み合せから文字配置領域が構成されているこ
とを示している。また「桁ピッチ」は文字幅をn/32
で表わしたnの値で、文字間ピッチを定義する。なお、
「32」は文字幅の最大値を示している。また、「座標
データ」は文字配置領域を定義する座標列で、直線部分
についてはその開始点と終了点、ベジェール曲線部分に
ついては開始点、制御点、終了点、円弧部分については
中心、開始角度、終了角度、半径から成る。「文字列デ
ータ」は文字配置領域内にその線分に沿って配置される
文字列で、その文字数と共に文字列データが定義されて
いる。
Here, the operating principle of the technique which is the premise of this embodiment, that is, the technique of arranging a character string at an arbitrary place will be briefly described with reference to FIGS. 2 and 3. The character string arranged at an arbitrary location has a data structure as shown in FIG. That is, the data structure of the character string with arrangement information has the form of graphic element + character string as described above,
The "pattern code" that defines a graphic element shows what kind of combination of the two lines the line segment is composed of, and the pattern code "0" shows that the two lines are "straight line +
It is shown that the character arrangement area is composed of a combination of "straight lines". Further, the pattern code "1" is a combination of "straight line + bezier curve", "2" is a combination of "bezier curve + bezier curve", and "3" is "arc + curve".
It indicates that the character arrangement area is formed by the combination of "arcs". Also, the "digit pitch" is the character width n / 32
The character pitch is defined by the value of n represented by. In addition,
“32” indicates the maximum value of the character width. In addition, "coordinate data" is a sequence of coordinates that defines the character arrangement area. The start and end points of a straight line part, the start point, control point and end point of a bezier curve part, the center and start angle of an arc part. , End angle, radius. The "character string data" is a character string arranged along the line segment in the character arrangement area, and the character string data is defined together with the number of characters.

【0013】このように構成された配置情報付き文字列
データは図形情報と配置情報とが同一座標系であるため
に、文字列を図形に追従させることができるものであ
り、この配置情報付き文字列データに基づいて文字列を
配置出力すると図3に示す如くとなる。つまり、図3
(A)はパターンコードが「0」の場合の配置例を示
し、文字配置領域を構成する上の直線は開始点(1)、
終了点(1)によって定義され、また、下の線は開始点
(2)、終了点(2)によって定義されたもので、両方
の直線は平行せず、その間隔は開始点から終了点に向か
って徐々に広くなっている。このような2本の直線によ
って挟まれて成る文字配置領域内に文字列を配置出力す
る際に、文字配置領域は文字列の文字数によって均等分
割され、その文字数分の文字枠内に対応する文字が配置
される。これによって文字列の先頭から徐々に文字の大
きさが大きくなり、自然な奥行き感を持った文字列が得
られる。図3(B)はパターンコードが「2」の場合の
配置例、図3(C)はパターンコードが「3」の場合の
配置例であり、文字列はベジェール曲線や円弧に沿って
配置され、変化に富んだ文字列が得られる。なお、図3
(B)において、2本のベジェール曲線を描画するのに
開始点(1)、(2)、制御点(1a)、(1b)、
(2a)、(2b)、終了点(1)、(2)を必要と
し、図3(C)において、2本の円弧を描画するのに半
径(1)、(2)、中心座標、開始角度、終了角度を必
要とする。
Since the character string data with the layout information configured in this way has the graphic information and the layout information in the same coordinate system, the character string can be made to follow the graphic. When a character string is arranged and output based on the column data, it becomes as shown in FIG. That is, FIG.
(A) shows an arrangement example when the pattern code is "0", and the upper straight line forming the character arrangement area is the start point (1),
It is defined by the end point (1) and the lower line is defined by the start point (2) and the end point (2), both straight lines are not parallel and the spacing is from the start point to the end point. It is getting wider gradually. When arranging and outputting a character string in a character arranging area sandwiched by two such straight lines, the character arranging area is equally divided by the number of characters in the character string, and the corresponding characters are placed in the character frame corresponding to the number of characters. Are placed. As a result, the character size gradually increases from the beginning of the character string, and a character string with a natural sense of depth can be obtained. FIG. 3B is an arrangement example when the pattern code is “2”, and FIG. 3C is an arrangement example when the pattern code is “3”. The character string is arranged along the Bezier curve or arc. , You can get a variety of character strings. Note that FIG.
In (B), starting points (1), (2), control points (1a), (1b), and 2) are used to draw two Bezier curves.
(2a), (2b), end points (1), (2) are required, and in FIG. 3 (C), to draw two arcs, radii (1), (2), center coordinates, start Angle and ending angle are required.

【0014】このように本実施例の前提となる技術は2
本の直線あるいは曲線を定義しておけば、その間に文字
が収まる形で文字列が配置される技術であり、直線の場
合には2つの開始点と終了点とによって文字配置領域が
特定され、その直線を文字数で均等分割して1文字を収
める文字枠を決定し、その中に文字を収める。なお、2
本の線がベジェール曲線であっても、円弧であっても同
様に応用可能なものである。
As described above, the technique which is the premise of this embodiment is 2
This is a technology in which if a straight line or a curved line of a book is defined, the character string is arranged in such a way that the characters fit between them. In the case of a straight line, the character arrangement area is specified by two start points and end points. The straight line is equally divided by the number of characters to determine a character frame in which one character can be stored, and the character is stored in it. In addition, 2
Whether the line of the book is a Bezier curve or a circular arc is similarly applicable.

【0015】ここで、本実施例においては、文字配置領
域を特定するために、予め2本の線分を入力指定する方
法を採用するのではなく、イメージリーダ付き印刷装置
7によって読み取られた伝票イメージの中から線分を検
出すると共にこの線分によって囲まれた枠領域(伝票上
の記入欄に対応する領域)を検出し、この枠領域に基づ
いて文字配置領域を特定し、この文字配置領域を定義す
る配置情報を自動生成して入力文字列に付加するように
している。図4(A)は伝票イメージに基づいて特定さ
れた文字配置領域内にその線分の傾きに応じて文字列全
体を斜めに傾かせて配置した具体例を示している。ま
た、図4(B)はこの場合におけるハイパーアウトライ
ンメモリ5−2の内容を示し、この配置情報付き文字列
データに基づいて図4(A)に示すような文字列配置が
可能となる。
Here, in the present embodiment, in order to specify the character arrangement area, a method of inputting and designating two line segments in advance is not adopted, but a slip read by the printing device 7 with an image reader is used. The line segment is detected from the image and the frame area (area corresponding to the entry field on the slip) surrounded by this line segment is detected, and the character arrangement area is specified based on this frame area, and this character arrangement is determined. The layout information that defines the area is automatically generated and added to the input character string. FIG. 4A shows a specific example in which the entire character string is arranged obliquely according to the inclination of the line segment in the character arrangement area specified based on the slip image. Further, FIG. 4B shows the contents of the hyper outline memory 5-2 in this case, and the character string arrangement as shown in FIG. 4A becomes possible based on the character string data with arrangement information.

【0016】ここで、文字配置領域が縦方向に長けれ
ば、その領域の行方向を均等分割して複数行に分割すれ
ば、文字列を文字配置領域内に複数行にわたって配置す
ることができる。この場合、文字配置領域の上部の線分
の下に文字列を挾むもう1本の平行線を新たに生成し、
1行分の文字列をこの上下の線分の間に配置し、更にこ
の下部の線分の下に更にもう1本の平行線を新たに生成
して次の1行分の文字列を当該線分の間に配置する動作
を繰り返させばよい。また、イメージ図形が単円の場合
には、その円の内側に新たな円を円心円状に生成し、こ
の2本の円で挾まれた領域を文字配置領域とする。
Here, if the character arrangement area is long in the vertical direction, the character string can be arranged in a plurality of lines in the character arrangement area by dividing the area in the row direction equally into a plurality of lines. In this case, another parallel line that sandwiches the character string is newly generated below the line segment at the top of the character arrangement area.
A character string for one line is arranged between the upper and lower line segments, and another parallel line is newly generated under the line segment at the lower part to generate the character string for the next one line. The operation of arranging between the line segments may be repeated. Further, when the image figure is a single circle, a new circle is generated inside the circle in a concentric circle shape, and the area sandwiched by these two circles is the character arrangement area.

【0017】次に、本実施例の動作を図5〜図7に示す
フローチャートにしたがって説明する。図5は全体動作
を示したゼネラルフローチャートで、伝票をイメージリ
ーダ付き印刷装置7にセットしてキー操作部2上のファ
ンクションキーF1を操作することによって実行開始さ
れる。先ず、イメージリーダ付き印刷装置7によって伝
票イメージの入力処理が行われる(ステップA1)。
The operation of this embodiment will be described below with reference to the flow charts shown in FIGS. FIG. 5 is a general flowchart showing the entire operation, which is started by setting a slip on the printing device 7 with an image reader and operating the function key F1 on the key operation unit 2. First, the printing apparatus 7 with an image reader performs input processing of a slip image (step A1).

【0018】図6はこのイメージ入力処理を示したフロ
ーチャートである。先ず、印刷制御部6はイメージリー
ダ付き印刷装置7にセットされている用紙P(図1参
照)全体が印刷装置7内にフィードされ、その上端EG
を検出したかをチェックする(ステップB1)。この場
合、光学的な手段によって用紙上端までフィードされた
かを検出するもので、その上端までフィードされるまで
印刷制御部6はプラテンを正方向に回転させて用紙を引
き込む(ステップB2)。これによって用紙全体が印刷
装置7内に引き込まれると、今度はプラテンを逆方向に
回転させて用紙を1ライン分バックフィードさせる(ス
テップB3)。そして、キャリッジを桁方向に移動さ
せ、それに搭載されているイメージリーダを動作させて
イメージデータの読み取り動作を行わせる(ステップB
4)。このような読み取り動作は用紙の下端を検出する
まで(ステップB5)、1ラインづつ繰り返される。
FIG. 6 is a flow chart showing this image input processing. First, the print control unit 6 feeds the entire paper P (see FIG. 1) set in the printing device 7 with an image reader into the printing device 7, and its upper end EG.
It is checked whether or not is detected (step B1). In this case, it is detected by an optical means whether the paper has been fed to the upper end, and the print control unit 6 rotates the platen in the forward direction until the paper is fed to the upper end and pulls in the paper (step B2). As a result, when the entire sheet is drawn into the printing device 7, the platen is rotated in the opposite direction to backfeed the sheet by one line (step B3). Then, the carriage is moved in the digit direction, and the image reader installed therein is operated to read the image data (step B).
4). Such a reading operation is repeated line by line until the lower edge of the paper is detected (step B5).

【0019】このようにして伝票1枚分のイメージデー
タが読み取られると、CPU1はこの伝票イメージを取
り込んで、伝票イメージメモリ1−1に記憶保持すると
共に、表示制御部3に与え、表示装置4から表示出力さ
せる(図5のステップA2)。図8(A)はこの場合の
表示例を示し、伝票フォームが用紙に対して斜めに傾い
た状態でそのイメージデータが読み込まれた場合を示し
ている。この表示画面には伝票記入欄(入力枠)を指定
すべき旨のメッセージ表示も行われる。
When the image data for one voucher is read in this manner, the CPU 1 fetches the voucher image, stores and holds the voucher image in the voucher image memory 1-1, and gives it to the display control section 3 to display the display device 4. Display output (step A2 in FIG. 5). FIG. 8A shows a display example in this case, and shows a case where the image data is read in a state where the slip form is inclined with respect to the paper. On this display screen, a message indicating that the slip entry field (input frame) should be specified is also displayed.

【0020】いま、図8(A)に示すようにキー操作部
2上のカーソルキーを操作して矢印マークを移動し、任
意の入力枠を指定すると(ステップA3)、イメージ図
形変換部10は指定された点の周囲のドットを調べ、入
力枠を構成する線分を検出すると共にこの入力枠の座標
点(矩形の場合には左上、左下、右上、右下の座標点)
を生成し、CPU1に与える(ステップA4)。する
と、CPU1はイメージデータを座標列データに変換で
きたかをチェックし(ステップA5)、正常に変換でき
なかった場合にはステップA3に戻り、入力枠の再入力
を促すが、座標変換が正常に行われた場合、CPU1は
その座標列に基づいて図形としての枠を表示出力させる
と共に、文字列を入力すべき旨のメッセージ表示を行う
(ステップA6)。図8(B)はこの場合の表示例を示
し、図形としての枠は図示の如く、点線表示される。
Now, as shown in FIG. 8 (A), when the cursor key on the key operation unit 2 is operated to move the arrow mark and an arbitrary input frame is designated (step A3), the image figure conversion unit 10 The dots around the specified point are examined to detect the line segments that make up the input frame, and the coordinate points of this input frame (in the case of a rectangle, the upper left, lower left, upper right, and lower right coordinate points)
Is generated and given to the CPU 1 (step A4). Then, the CPU 1 checks whether or not the image data can be converted into the coordinate sequence data (step A5), and if the conversion is not normally performed, the process returns to step A3 to prompt re-input of the input frame, but the coordinate conversion is normally performed. If so, the CPU 1 displays and outputs a frame as a figure based on the coordinate sequence and displays a message to the effect that a character sequence should be input (step A6). FIG. 8B shows a display example in this case, and the frame as a figure is displayed in a dotted line as shown in the figure.

【0021】ここで、キー操作部2から伝票記入欄に設
定すべき文字列を入力すると(ステップA7)、CPU
1は入力文字列を一旦、テキストメモリ5−3にセット
したのち、イメージ図形ワークメモリ5−1内の座標列
データと共に、テキストメモリ5−3内の文字列データ
を読み出して文字図形情報変換部11内の図形情報格納
部11−2、文字列格納部11−1にセットし、文字図
形情報変換部11を起動させる(ステップA8)。する
と、文字図形情報変換部11は上述したように配置情報
付き文字列データを生成し、ハイパーアウトラインメモ
リ5−2に格納する。この場合、文字図形情報変換部1
1は矩形の左上、右上を上部の線分の開始点と終了点と
し、左下、右下を下部の線分の開始点、終了点とし、パ
ターンコードを直線+直線=「0」として入力文字列に
付加し、データバッファ11−4に格納する。するとC
PU1はデータバッファ11−4の内容をハイパーアウ
トラインメモリ5−2に書き込む際に、配置情報付き文
字列の識別子を付加する。そして、この配置情報付き文
字列データにしたがってCPU1はそれを表示出力させ
る。図8(C)はこの場合の表示例を示し、入力文字列
はその枠を構成する線分に沿って配置されるため、線分
が傾いていれば、文字列全体が同様に傾いた状態で配置
されることになる。
When a character string to be set in the slip entry field is entered from the key operation unit 2 (step A7), the CPU
First, the input character string is temporarily set in the text memory 5-3, and then the character string data in the text memory 5-3 is read out together with the coordinate string data in the image / graphics work memory 5-1 and the character / graphic information conversion unit is read. 11 is set in the graphic information storage unit 11-2 and the character string storage unit 11-1 and the character / graphic information conversion unit 11 is activated (step A8). Then, the character / graphic information conversion unit 11 generates the character string data with the arrangement information as described above, and stores it in the hyperoutline memory 5-2. In this case, the character / graphic information conversion unit 1
1 is the upper left and upper right of the rectangle are the start and end points of the upper line segment, the lower left and lower right are the start and end points of the lower line segment, and the pattern code is a straight line + straight line = "0" It is added to the column and stored in the data buffer 11-4. Then C
When writing the contents of the data buffer 11-4 to the hyperoutline memory 5-2, the PU 1 adds the identifier of the character string with the arrangement information. Then, the CPU 1 displays and outputs the character string data with the arrangement information. FIG. 8C shows a display example in this case. Since the input character string is arranged along the line segment that constitutes the frame, if the line segment is inclined, the entire character string is also inclined. Will be placed in.

【0022】次に、CPU1はキー操作部2上のファン
クションキーF2が操作されたかをチェックする(ステ
ップA9)。ここで、ファンクションキーF2は1伝票
分の入力終了時に操作されるもので、ファンクションキ
ーF2が操作されなければ、印刷キー(ステップA1
3)あるいは終了キー(ステップA12)が操作された
かをチェックする。ここで、終了キーは伝票入力の終了
を指示するもので、いずれのキーも操作されなければ、
ステップA3に戻り、次の入力枠の指定が行われる。こ
のようにして1伝票分の各入力枠を順次指定しながら文
字列を入力してゆくと、枠毎に配置情報付き文字列デー
タが順次生成されてハイパーアウトラインメモリ5−2
に格納される。ここで、1伝票分の入力処理が終り、フ
ァンクションキーF2が操作されると、ステップA10
に進み、当該伝票に対応する文書名の入力に伴ってこの
文書名とハイパーアウトラインメモリ5−2の内容およ
び伝票イメージメモリ1−1の内容が外部記憶制御装置
8に与えられ、外部記憶装置9に登録保存される(ステ
ップA11)。一方、印刷キーが操作された場合には
(ステップA13)、印刷処理に進む(ステップA1
4)。
Next, the CPU 1 checks whether the function key F2 on the key operation unit 2 has been operated (step A9). Here, the function key F2 is operated when the input for one slip is completed, and if the function key F2 is not operated, the print key (step A1
3) Or it is checked whether the end key (step A12) has been operated. Here, the end key is for instructing the end of slip input, and if neither key is operated,
Returning to step A3, the next input frame is designated. In this manner, when the character string is input while sequentially designating the input frames for one slip, the character string data with the arrangement information is sequentially generated for each frame, and the hyper outline memory 5-2.
Stored in. Here, when the input process for one slip is completed and the function key F2 is operated, step A10 is performed.
When the document name corresponding to the slip is input, the document name, the contents of the hyper-outline memory 5-2 and the contents of the slip image memory 1-1 are given to the external storage control device 8, and the external storage device 9 It is registered and stored in (step A11). On the other hand, when the print key is operated (step A13), the process proceeds to the printing process (step A1).
4).

【0023】図7はこの印刷処理を示したフローチャー
トである。先ず、CPU1は文書名が入力されたかをチ
ェックし(ステップC1)、文書名が入力されていれ
ば、外部記憶装置9にハイパーアウトラインメモリ5−
2の内容が登録保存されているので、ステップC2に進
み、外部記憶装置9の内容をハイパーアウトラインメモ
リ5−2にロードする。一方、文書名が入力されていな
ければ、ハイパーアウトラインメモリ5−2内に配置情
報付き文字列データが格納されているかをチェックし
(ステップC3)、無ければエラー処理に移る(ステッ
プC4)。いま、ハイパーアウトラインメモリ5−2の
内容を印刷する場合、先ず、ステップC5で用紙上端が
検出されるまで、用紙をフィードさせる(ステップC
6)。そして、用紙の上端が検出された時点で、印字動
作を開始し、用紙をバックフィードさせながらハイパー
アウトラインメモリ5−2の内容を順次印刷出力させる
(ステップC7)。図9はこの場合の印刷例を示し、用
紙に対してその伝票フォームが傾いていたとしても、こ
の傾きに沿って文字列全体が配置出力される。
FIG. 7 is a flow chart showing this printing process. First, the CPU 1 checks whether the document name has been input (step C1). If the document name has been input, the hyper outline memory 5- is stored in the external storage device 9.
Since the contents of No. 2 are registered and saved, the process proceeds to step C2, and the contents of the external storage device 9 are loaded into the hyperoutline memory 5-2. On the other hand, if the document name has not been input, it is checked whether or not the character string data with the arrangement information is stored in the hyperoutline memory 5-2 (step C3), and if there is not, the process proceeds to error processing (step C4). When printing the contents of the hyper outline memory 5-2, first, the paper is fed until the upper edge of the paper is detected in step C5 (step C).
6). Then, when the upper end of the paper is detected, the printing operation is started, and the contents of the hyper-outline memory 5-2 are sequentially printed out while the paper is back-fed (step C7). FIG. 9 shows a printing example in this case. Even if the slip form is inclined with respect to the paper, the entire character string is arranged and output along the inclination.

【0024】以上のように本実施例においては、伝票フ
ォーム等を構成する線分がその用紙に対して傾いていた
り、用紙がプリンタに対して傾いたままセットされたと
しても、入力文字列をその線分に沿って正確に配置する
ことができるので、見た目の良い印刷が可能となる。こ
の場合、伝票フォームが印刷されている用紙上に入力文
字列を重ね合わせて印刷できる他、白紙の用紙がセット
された場合でも伝票イメージと共に入力文字列を印刷す
ることができる。すなわち、伝票イメージメモリ1−1
には伝票イメージが伝票毎に記憶され、この伝票イメー
ジメモリ1−1の内容をハイパーアウトラインメモリ5
−2の内容と共に外部記憶装置9に登録保存しておけ
ば、この外部記憶装置9から伝票イメージと共に配置情
報付き文字列をロードすることにより伝票イメージと共
に入力文字列を印刷することができる。
As described above, in the present embodiment, even if the line segments forming the slip form are inclined with respect to the paper, or the paper is set while being inclined with respect to the printer, the input character string is Since the lines can be accurately arranged along the line segment, it is possible to print with good appearance. In this case, the input character string can be printed on the paper on which the slip form is printed, and the input character string can be printed together with the slip image even when a blank paper is set. That is, the slip image memory 1-1
A slip image is stored for each slip, and the contents of the slip image memory 1-1 are stored in the hyperoutline memory 5
If it is registered and saved in the external storage device 9 together with the content of -2, the input character string can be printed together with the slip image by loading the slip image and the character string with the layout information from the external storage device 9.

【0025】なお、上記実施例は伝票イメージを表示出
力させた状態において、入力枠を指定することにより入
力文字列を順次入力するようにしたが、伝票イメージ全
体の線分を認識して座標データに変換し、この座標デー
タに基づいて伝票全体の枠領域を表示するようにすれ
ば、枠領域が細かいときにそれを拡大表示することが可
能となり、入力を行う上で便利なものとなる。また、上
記実施例は2本の線分で挾まれる文字配置領域内に入力
文字列を均等分割するように配置したか、左寄せ、右寄
せ、あるいはセンターリング等によって配置するように
してもよい。この場合、右寄せ等をユーザが任意に指定
するようにしてもよい。更に、上記実施例は2本の線分
によって挾まれる文字配置領域内に文字列を配置するこ
とによって文字列全体を文字配置領域を構成する線分に
沿って斜めに傾いた状態つまり、文字を回転させた状態
で配置するハイパーアウトラインについて示したが、こ
れに限らず、例えば、図10(A)に示すように文字配
置領域内に入力文字列を例えば文字配置領域を構成する
線分の傾きにしたがって行方向にずらすように配列さ
せ、その後、各文字を図10(B)に示すように線分の
傾きに応じて回転させてもよい。更に、上記実施例は伝
票イメージを読み取り、伝票記入欄を構成する枠内に、
入力文字列を配置するようにしたが、便せんのように罫
線に沿って入力文字列を配置するようにしてもよい。ま
た、上記実施例はイメージリーダを印刷装置に組み込む
ようにしたが、印刷装置と別体の装置であってもよい。
In the above embodiment, the input character string is sequentially input by designating the input frame when the slip image is displayed and output. However, the line segment of the entire slip image is recognized and the coordinate data is recognized. If the frame area of the entire slip is displayed based on this coordinate data, it is possible to enlarge the frame area and display it, which is convenient for inputting. Further, in the above-described embodiment, the input character string may be arranged so as to be equally divided in the character arrangement area sandwiched by two line segments, or may be arranged by left alignment, right alignment, or centering. In this case, the user may arbitrarily specify right justification or the like. Further, in the above embodiment, by arranging the character string in the character arrangement area sandwiched by the two line segments, the entire character string is slanted along the line segment forming the character arrangement area, that is, the character Although the hyper-outline arranged in a rotated state is shown, the invention is not limited to this. For example, as shown in FIG. 10A, an input character string may be placed in a character arrangement area, for example, a line segment forming the character arrangement area. The characters may be arranged so as to be shifted in the row direction according to the inclination, and then each character may be rotated according to the inclination of the line segment as shown in FIG. Further, in the above embodiment, the slip image is read, and in the frame forming the slip entry field,
Although the input character string is arranged, the input character string may be arranged along a ruled line like a notepaper. Further, in the above embodiment, the image reader is incorporated in the printing apparatus, but the apparatus may be separate from the printing apparatus.

【0026】[0026]

【発明の効果】この発明によれば、伝票フォーム等を構
成する線分がその用紙に対して傾いていたり、用紙がプ
リンタに対して傾いたままセットされたとしても、入力
文字列をその線分に沿って正確に配置することができる
ので、見た目の良い出力が可能となり、極めて実用性に
富んだものとなる。
As described above, according to the present invention, even if a line segment forming a slip form or the like is inclined with respect to the paper, or even if the paper is set while being inclined with respect to the printer, the input character string is changed to the line. Since it can be accurately arranged along the minute, it can be output with a good appearance and is extremely practical.

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

【図1】文書処理装置のブロック構成図。FIG. 1 is a block configuration diagram of a document processing apparatus.

【図2】本実施例の前提となる基本原理を説明するため
の図で、配置情報付き文字列のデータ構造例を示した
図。
FIG. 2 is a diagram for explaining a basic principle on which the present embodiment is based, showing an example of a data structure of a character string with arrangement information.

【図3】本実施例の前提となる基本原理を説明するため
の図で、図2に示すような配置情報付き文字列にしたが
って配置された配置状態を示した図。
FIG. 3 is a diagram for explaining a basic principle that is a premise of the present embodiment, and is a diagram showing an arrangement state in which the characters are arranged according to a character string with arrangement information as shown in FIG. 2.

【図4】本実施例における文字列配置例と、これに対応
するハイパーアウトラインメモリ5−2内のデータ例を
示した図。
FIG. 4 is a diagram showing an example of character string arrangement in this embodiment and an example of data in a hyperoutline memory 5-2 corresponding thereto.

【図5】本実施例の動作を示したフローチャート。FIG. 5 is a flowchart showing the operation of this embodiment.

【図6】図5のステップA1(イメージ入力処理)を説
明するためのフローチャート。
FIG. 6 is a flowchart for explaining step A1 (image input processing) in FIG.

【図7】図5のステップA14(印刷処理)を説明する
ためのフローチャート。
FIG. 7 is a flowchart for explaining step A14 (print processing) in FIG.

【図8】図5のフローチャートに応じて変遷する表示状
態図。
FIG. 8 is a display state diagram that changes according to the flowchart of FIG.

【図9】伝票印刷例を示した図。FIG. 9 is a diagram showing an example of printing slips.

【図10】本実施例の変形例を説明するための図。FIG. 10 is a diagram for explaining a modified example of the present embodiment.

【符号の説明】[Explanation of symbols]

1 CPU 1−1 伝票イメージメモリ 2 キー操作部 3 表示制御部 4 表示装置 5 文書メモリ 5−2 ハイパーアウトラインメモリ 6 印字制御部 7 イメージリーダ付き印刷装置 8 外部記憶制御装置 9 外部記憶装置 10 イメージ図形変換部 11 文字図形情報変換部 11−1 文字列格納部 11−2 図形情報格納部 11−3 配置情報作成部 11−3A 図形情報解析部 11−3B 文字情報解析部 11−3C 図形/配置変換部 1 CPU 1-1 slip image memory 2 key operation unit 3 display control unit 4 display device 5 document memory 5-2 hyperoutline memory 6 print control unit 7 printing device with image reader 8 external storage control device 9 external storage device 10 image figure Conversion unit 11 Character / graphic information conversion unit 11-1 Character string storage unit 11-2 Graphic information storage unit 11-3 Layout information creation unit 11-3A Graphic information analysis unit 11-3B Character information analysis unit 11-3C Graphic / location conversion Department

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】文字列を入力する文字列入力手段と、 原稿を走査して原稿イメージを読み取るイメージ読取手
段と、 このイメージ読取手段によって読み取られた原稿イメー
ジの中から線分を検出する検出手段と、 前記文字列入力手段から入力された文字列を前記検出手
段によって検出された線分に沿って配置する文字列配置
手段と、 この文字列配置手段によって配置された文字列を出力す
る出力手段とを具備したことを特徴とする文字列出力装
置。
1. A character string input means for inputting a character string, an image reading means for scanning an original to read an original image, and a detecting means for detecting a line segment from the original image read by the image reading means. A character string arranging means for arranging the character string input from the character string inputting means along the line segment detected by the detecting means, and an output means for outputting the character string arranged by the character string arranging means. And a character string output device.
【請求項2】前記検出手段は前記イメージ読取手段によ
って読み取られた原稿イメージの中から線分を検出する
と共にこの線分で囲まれた枠領域を検出し、前記文字列
配置手段は前記検出手段によって検出された枠領域内に
当該枠を構成する線分に沿って文字列を配置するように
したことを特徴とする請求項(1)記載の文字列出力装
置。
2. The detecting means detects a line segment from the original image read by the image reading means and a frame area surrounded by the line segment, and the character string arranging means detects the line area. The character string output device according to claim 1, wherein the character string is arranged in the frame area detected by the above along a line segment that constitutes the frame.
【請求項3】前記文字列入力手段によって入力された文
字列を登録保存すると共に前記イメージ読取手段によっ
て読み取られた原稿イメージを登録保存する外部記憶手
段を設け、 この外部記憶手段の内容を呼び出してその出力が指示さ
れた際に、前記出力手段は原稿イメージの中に前記文字
列配置手段によって配置された文字列を差し込んで原稿
イメージと共に用紙上に印刷出力するようにしたことを
特徴とする請求項(1)記載の文字列出力装置。
3. An external storage means for registering and saving the character string input by the character string input means and for registering and saving the original image read by the image reading means, and calling the contents of the external storage means. When the output is instructed, the output means inserts the character string arranged by the character string arranging means into the document image, and prints out on a sheet together with the document image. The character string output device according to item (1).
【請求項4】前記イメージ読取手段は印字装置内に組み
込まれ、その印字機構の駆動に応じて原稿を1ライン毎
に走査するようにしたことを特徴とする請求項(1)記
載の文字列出力装置。
4. The character string according to claim 1, wherein the image reading means is incorporated in a printing device, and the document is scanned line by line in response to the driving of the printing mechanism. Output device.
【請求項5】2本の線分で挾まれた領域を文字配置領域
とすると共に、入力文字列をこの配置領域内にその線分
に沿って配置出力する文字列出力装置において、 原稿を走査して原稿イメージを読み取るイメージ読取手
段と、 このイメージ読取手段によって読み取られた原稿イメー
ジの中から線分を検出して座標列に変換する線分変換手
段と、 この線分変換手段によって変換された線分座標列に基づ
いて前記文字配置領域を定義すると共に当該線分座標列
と同一の座標系で表現した配置情報を生成する生成手段
と、 この生成手段によって生成された配置情報を入力文字列
に付加する付加手段と、 この付加手段によって配置情報が付加された文字列を出
力する際に、この配置情報によって示される各文字配置
領域内にその線分に沿って文字列を配置出力する出力手
段とを具備したことを特徴とする文字列出力装置。
5. An original document is scanned in a character string output device which sets an area sandwiched by two line segments as a character arrangement area and outputs an input character string in the arrangement area along the line segment. Image reading means for reading the original image, line segment converting means for detecting a line segment from the original image read by the image reading means and converting it into a coordinate sequence, and line segment converting means for converting the line segment. Generation means for defining the character arrangement area based on the line segment coordinate sequence and for generating arrangement information expressed in the same coordinate system as the line segment coordinate sequence, and inputting the arrangement information generated by the generation means When outputting the character string to which the arrangement information is added by this addition means, the character string along each line segment is displayed in each character arrangement area indicated by this arrangement information. String output apparatus characterized by comprising an output means for arranging output.
JP7123021A 1995-04-25 1995-04-25 Character string output device Pending JPH08297711A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7123021A JPH08297711A (en) 1995-04-25 1995-04-25 Character string output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7123021A JPH08297711A (en) 1995-04-25 1995-04-25 Character string output device

Publications (1)

Publication Number Publication Date
JPH08297711A true JPH08297711A (en) 1996-11-12

Family

ID=14850268

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7123021A Pending JPH08297711A (en) 1995-04-25 1995-04-25 Character string output device

Country Status (1)

Country Link
JP (1) JPH08297711A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008036925A (en) * 2006-08-04 2008-02-21 Brother Ind Ltd Recording apparatus and recording program
JP2010244330A (en) * 2009-04-07 2010-10-28 Nikon Corp Image performance program and image performance device
CN111483232A (en) * 2020-04-15 2020-08-04 赞同科技股份有限公司 Stylus printer and character printing method and device thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008036925A (en) * 2006-08-04 2008-02-21 Brother Ind Ltd Recording apparatus and recording program
JP2010244330A (en) * 2009-04-07 2010-10-28 Nikon Corp Image performance program and image performance device
CN111483232A (en) * 2020-04-15 2020-08-04 赞同科技股份有限公司 Stylus printer and character printing method and device thereof

Similar Documents

Publication Publication Date Title
US7586654B2 (en) System and method of adding messages to a scanned image
JPH08297711A (en) Character string output device
JPH08127152A (en) Printer and translation printing method thereof
JPH0717082A (en) Method and device for writing on form by printer
JP2922068B2 (en) Word processor with character font correction function
JP2768565B2 (en) Character processor
JPH07115493B2 (en) Aspect conversion printing method
JPH07200722A (en) Information recorder
JP2024014051A (en) Image forming apparatus and character recognition method
JP2739744B2 (en) Character output device
JPH10261097A (en) Device and method for input
JPS62251884A (en) Recorder
JPH07200551A (en) Document processing device
JPS5967062A (en) Raster printer
JPH09204481A (en) Word processor with image processing function
JPS6326789A (en) Character recognizing device
JPH08287277A (en) Character layout device
JPH0768893A (en) Data outputting device
JPH04199261A (en) Japanese word processor
JPH04239674A (en) Data processor
JPH05151216A (en) Document processor with frame editing function
JPH0768894A (en) Data outputting device
JPS63141760A (en) Printing control system of vertical writing document
JPH01239586A (en) Image synthesizing and outputting device
JPH01186361A (en) Printer for data processor