JPH0630927B2 - Pattern output method - Google Patents

Pattern output method

Info

Publication number
JPH0630927B2
JPH0630927B2 JP58216063A JP21606383A JPH0630927B2 JP H0630927 B2 JPH0630927 B2 JP H0630927B2 JP 58216063 A JP58216063 A JP 58216063A JP 21606383 A JP21606383 A JP 21606383A JP H0630927 B2 JPH0630927 B2 JP H0630927B2
Authority
JP
Japan
Prior art keywords
pattern
ruled line
external character
line
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 - Lifetime
Application number
JP58216063A
Other languages
Japanese (ja)
Other versions
JPS60109888A (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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP58216063A priority Critical patent/JPH0630927B2/en
Publication of JPS60109888A publication Critical patent/JPS60109888A/en
Publication of JPH0630927B2 publication Critical patent/JPH0630927B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/26Devices, non-fluid media or methods for cancelling, correcting errors, underscoring or ruling

Landscapes

  • Document Processing Apparatus (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、外字パターン作成手段を用いて作成される様
々な形態の外字パターンを登録できる装置におけるパタ
ーン出力方法に関するものである。
Description: TECHNICAL FIELD The present invention relates to a pattern output method in an apparatus capable of registering various forms of external character patterns created by using external character pattern creating means.

[従来技術] 従来、罫線パターンを出力する装置では、文字コード情
報(文字パターンを表すコード情報、罫線パターンを表
すコード情報)が、第1図の文書メモリ2に示す様に記
憶されており(実際には、文書メモリ2に示される各パ
ターンを表すコード情報が記憶されている)、各文字コ
ード情報に対応する各パターンを記憶する不図示のパタ
ーン記憶手段を用いて、罫線パターンを文字パターンと
文字パターンの間へ、或いは行と行の間に拡張すること
により、第1図の4に示すようなビットデータを作成し
印刷出力するように構成されていた。
[Prior Art] Conventionally, in a device which outputs a ruled line pattern, character code information (code information representing a character pattern, code information representing a ruled line pattern) is stored as shown in the document memory 2 of FIG. 1 ( Actually, code information representing each pattern shown in the document memory 2 is stored), and a ruled line pattern is used as a character pattern by using a pattern storage means (not shown) that stores each pattern corresponding to each character code information. It is configured to generate bit data as shown by 4 in FIG. 1 and print it out by expanding it between the character patterns or between the line patterns.

若しくは、第2図に示すように、文書メモリ2とは別
に、罫線用のグラフィツクメモリ6を備え、双方を合成
して第1図の4に示すようなビットデータを作成し印刷
出力するように構成されていた。
Alternatively, as shown in FIG. 2, a graphic memory 6 for ruled lines is provided separately from the document memory 2, and both are combined to create bit data as shown by 4 in FIG. 1 and print it out. Was configured into.

[発明が解決しようとしている課題] しかし、前述した従来の装置においては、罫線のパター
ンは、パターン記憶手段に記憶されているパターンに依
存して固定されており、任意のパターンの罫線を印刷出
力することができないという問題があった。
[Problems to be Solved by the Invention] However, in the above-described conventional apparatus, the ruled line pattern is fixed depending on the pattern stored in the pattern storage means, and the ruled line of an arbitrary pattern is printed out. There was a problem that I could not do it.

本発明は上述の課題を解決することを目的としてなされ
たもので、外字パターン作成手段を用いて作成される様
々な形態の外字パターンを登録できる装置において、文
書データの一行中に罫線パターンとしての外字パターン
を示す識別情報が含まれている場合、識別情報に対応す
る罫線パターンの端部を行間拡張して連続した罫線パタ
ーンを出力し、文書データの一行中に罫線外字パターン
を示す情報が含まれていない場合、改行処理を行うパタ
ーン出力装置を提供することを目的とする。
The present invention has been made for the purpose of solving the above-mentioned problems, and in an apparatus capable of registering various forms of external character patterns created by using external character pattern creating means, a ruled line pattern can be used as a ruled line pattern in one line of document data. When the identification information indicating the external character pattern is included, the end portion of the ruled line pattern corresponding to the identification information is expanded between lines to output a continuous ruled line pattern, and the information indicating the ruled line external character pattern is included in one line of the document data. If not, the object is to provide a pattern output device that performs line feed processing.

[課題を解決するための手段] 以上の目的を構成する一手段として例えば以下の構成を
備える。
[Means for Solving the Problems] For example, the following configuration is provided as one means for configuring the above object.

即ち、外字パターン作成手段を用いて作成される様々な
形態の外字パターンを登録できる装置におけるパターン
出力方法であって、前記作成される様々な形態の外字パ
ターンを罫線パターンとして他の外字パターンと識別可
能にするために、前記罫線パターとしての外字パターン
とその識別情報を共にメモリに記憶させ、文書データの
一行中に前記罫線パターンとしての外字パターンを示す
識別情報が含まれているか否か判定し、前記判定処理で
前記罫線パターンを示す前記情報が含まれると判断され
た場合、前記識別情報に対応する前記罫線パターンの端
部を、行間拡張して連続した罫線パターンを出力し、前
記判定処理で前記罫線パターンを示す情報が含まれてい
ないと判断された場合、改行処理を行う。
That is, a pattern output method in an apparatus capable of registering various forms of external character patterns created by using the external character pattern creating means, wherein the created various forms of external character patterns are identified as other external character patterns as ruled line patterns. In order to make it possible, the external character pattern as the ruled line pattern and its identification information are stored together in the memory, and it is determined whether or not the identification information indicating the external character pattern as the ruled line pattern is included in one line of the document data. When it is determined in the determination process that the information indicating the ruled line pattern is included, the end portion of the ruled line pattern corresponding to the identification information is expanded by a line to output a continuous ruled line pattern, and the determination process is performed. If it is determined that the information indicating the ruled line pattern is not included, the line feed process is performed.

[作 用] 以上の構成において、文書データの一行中に罫線パター
ンとしての外字パターンを示す識別情報が含まれている
場合、識別情報に対応する罫線パターンの端部を行間拡
張して連続した罫線パターンを出力し、文書データの一
行中に罫線パターンを示す情報が含まれていない場合、
改行処理を行う。
[Operation] In the above configuration, when the line of the document data includes the identification information indicating the external character pattern as the ruled line pattern, the end of the ruled line pattern corresponding to the identification information is extended between the lines to form a continuous ruled line. If the pattern is output and the information indicating the ruled line pattern is not included in one line of the document data,
Performs line feed processing.

[実施例] 以下、本発明の一実施例を図面に従って説明する。[Embodiment] An embodiment of the present invention will be described below with reference to the drawings.

第4図は、本発明の一実施例による文字処理装置を示す
ブロック図である。本図において、CPU はマイクロ・プ
ロセッサであり、演算,論理判断などを行うと共に、バ
ス(BUS) に接続されている機器に対して、制御信号およ
び各種データの転送を行う。
FIG. 4 is a block diagram showing a character processing device according to an embodiment of the present invention. In the figure, the CPU is a microprocessor, which performs arithmetic and logical judgments and transfers control signals and various data to devices connected to the bus (BUS).

ROM は読み出し専用メモリであり、例えば、第5図に示
すような制御手順のプログラムおよび固定データを格納
しておく。
The ROM is a read-only memory and stores, for example, a program of control procedures and fixed data as shown in FIG.

KBはキーボードであり、外字パターンの入力,文書デー
タの入力,印刷の起動などを行う。
The KB is a keyboard for inputting external character patterns, inputting document data, and starting printing.

CRT は陰極線管であり、外字作成時におけるパターンの
表示,入力された文書の表示などを行う。
The CRT is a cathode ray tube that displays patterns when creating external characters and displays input documents.

DISKは補助記憶装置であり、入力された文書あるいは作
成された外字パターンを保存するために用いる。
DISK is an auxiliary storage device and is used to store the input document or the created external character pattern.

PRT はプリンタであり、入力された文書の印刷を行う。PRT is a printer and prints the input document.

RAM はランダム・アクセス・メモリであり、入力された
文書の一時記憶,外事作成のためのワーク,プリンタへ
の出力イメージを格納するバッファとして使用する。
RAM is a random access memory that is used as a temporary storage for input documents, a work for creating external events, and a buffer for storing output images to a printer.

CGROM はキャラクタ・ジェネレータであり、文字コード
に対応するパターンを格納しておく読み出し専用メモリ
である。
CGROM is a character generator and is a read-only memory that stores patterns corresponding to character codes.

次に、本実施例の動作を説明する。なお、本実施例で
は、文字フォントは全て24×24のドット・マトリックス
により印字するものとする。また、文書の入力および外
字パターンの入力については既によく知られているの
で、詳しい説明は省略する。
Next, the operation of this embodiment will be described. In this embodiment, all the character fonts are printed by 24 × 24 dot matrix. Further, since the input of the document and the input of the external character pattern are already well known, detailed description will be omitted.

まず、外字コードを互いに共通部分の無い2つの集合に
分割し、一方を通常外字,他方を罫線外字とする。例え
ば、 外字コード=1〜376 :通常外字 外字コード=401 〜494 :罫線外字 とする。
First, the external character code is divided into two sets having no common parts, one of which is a normal external character and the other is a ruled line external character. For example, the external character code = 1 to 376: normal external character external character code = 401 to 494: ruled line external character.

また、文書中に通常外字コードが含まれていた場合に
は、従来の外字と同様に、単なる文字として印刷する。
一方、文書中に罫線外字コードが含まれていた場合に
は、罫線文字として扱い、文字と文字の間または行と行
の間にその外字パターンを拡張する。
Further, when the document normally includes the external character code, it is printed as a simple character like the conventional external character.
On the other hand, if the document includes a ruled-line external-character code, it is treated as a ruled-line character, and the external-character pattern is expanded between characters or between lines.

次に、第5図ないし第7図を参照して、罫線文字パター
ンの拡張動作について説明する。ここで、第5図は罫線
文字の拡張制御を行うためのフローチャート,第6図は
罫線パターンを文字間に拡張する場合の動作を説明する
図,第7図は罫線パターンを行間に拡張する場合の動作
を説明する図である。また、第6図において、60は罫線
外字パターンを、LBは空白の長さを示す。更に、第7図
において、70は文書データを、72は罫線外字パターン
を、74は拡張パターンを、76は行間拡張出力イメージを
示す。
Next, the expansion operation of the ruled line character pattern will be described with reference to FIGS. Here, FIG. 5 is a flowchart for controlling the expansion of ruled line characters, FIG. 6 is a diagram for explaining the operation when the ruled line pattern is expanded between characters, and FIG. 7 is a case where the ruled line pattern is expanded between lines. FIG. 7 is a diagram illustrating the operation of FIG. Further, in FIG. 6, reference numeral 60 indicates a ruled-line external character pattern, and LB indicates a blank length. Further, in FIG. 7, 70 is document data, 72 is a ruled-line external character pattern, 74 is an extended pattern, and 76 is an interline extended output image.

第5図示のフローチャートにおいて、まず、文書データ
のポインタを初期化する(ステップS1)。
In the flowchart shown in FIG. 5, first, the pointer of the document data is initialized (step S1).

次に、ステップS2において、文書データの1行分をプリ
ンタへの出力イメージ(ドット・マトリクス・イメー
ジ)に変換し、プリンタに出力する。この時、当該行の
中に罫線外字コードが含まれている場合には、当該外字
コードのパターンを補助記憶装置より読み出す。
Next, in step S2, one line of the document data is converted into an output image (dot matrix image) to the printer and output to the printer. At this time, if the line includes the ruled-line character code, the pattern of the character code is read from the auxiliary storage device.

その後、読み出されたパターンの右辺に相当する部分
(第6図70〜72参照)を、当該外字とその右隣りの文字
との間隔分だけ拡張する。
After that, the portion corresponding to the right side of the read pattern (see FIGS. 70 to 72 in FIG. 6) is expanded by the distance between the external character and the character to the right of the external character.

1行分の出力イメージをプリンタに出力した後、ステッ
プS3において、当該行に罫線外字が含まれているか否か
をチェックする。もし含まれていなければ、ステップS7
において改行を行い、次の行の処理に移る(ステップS
5,S6)。
After the output image of one line is output to the printer, it is checked in step S3 whether or not the line includes a ruled line external character. If not included, step S7
At the next line, move to the next line (step S
5, S6).

一方、ステップS3において、当該行に罫線外字が含まれ
ていると判断された場合、当該外字パターンを行間にわ
たって拡張する(ステップS4)。すなわち、当該外字パ
ターンの下辺に相当する部分を、次の行との間隔分だけ
拡張し(第7図参照)、もって行間に印刷を行う。
On the other hand, in step S3, when it is determined that the line includes the ruled-line external character, the external character pattern is extended across the lines (step S4). That is, the portion corresponding to the lower side of the external character pattern is expanded by the distance to the next line (see FIG. 7), and printing is performed between the lines.

なお、上述した実施例においては、文字パターンとして
24×24ドットを用いたが、これに限定されないのはもち
ろんである。また、外字パターンは、補助記憶装置,RA
M のいずれに記憶させてあってもよい。
In addition, in the above-mentioned embodiment, as the character pattern
Although 24 × 24 dots are used, it is needless to say that the invention is not limited to this. In addition, the external character pattern is stored in the auxiliary storage device, RA
It may be stored in any of M.

[効 果] 以上説明した様に本発明によれば、文書データの一行中
に前記罫線パターンとしての外字のパターンを示す識別
情報が含まれている場合、前記識別情報に対応する前記
罫線パターンの端部を行間拡張して連続した罫線パター
ンを出力し、文書データの一行中に前記罫線パターンを
示す情報が含まれていない場合、改行処理を行うことに
より、ROM等から成るパターン記憶手段に記憶されて
いる固定的な罫線パターン以外の任意な形態の罫線パタ
ーンを高品位に出力することができる。
[Effect] As described above, according to the present invention, when the line of the document data includes the identification information indicating the external character pattern as the ruled line pattern, the ruled line pattern corresponding to the identification information is included. When a line of the document data does not include information indicating the ruled line pattern, a continuous lined pattern is output by extending the end portion between the lines and the line data is stored in a pattern storage unit such as a ROM by performing line feed processing. It is possible to output a high-quality ruled line pattern in any form other than the fixed ruled line pattern that has been used.

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

第1図は罫線パターンを文字の一種として扱い、印刷を
行う従来技術を説明する図、 第2図は罫線用として専用のグラフィック・メモリを用
い、もって印刷を行う従来技術を説明する図、 第3図は本発明の全体を示す概略構成図、 第4図は本発明の一実施例を示す構成図、 第5図は罫線文字の拡張動作を説明するフローチャー
ト、 第6図は罫線パターンを文字間に拡張する場合の動作を
説明する図、 第7図は罫線パターンを行間に拡張する場合の動作を説
明する図である。 2……文書メモリ、 4……印刷結果、 6……グラフィック・メモリ、 8……外字パターン作成手段、 10……罫線外字コード識別手段、 12……罫線外字印刷手段、 CPU ……マイクロ・プロセッサ、 ROM ……読み出し専用メモリ、 KB……キーボード、 CRT ……陰極線管、 DISK……補助記憶装置、 PRT ……プリンタ、 RAM ……ランダム・アクセス・メモリ、 CGROM ……キャラクタ・ジェネレータ、 60……罫線外字パターン、 LB……空白の長さ、 70……文書データ、 72……罫線外字パターン、 74……拡張パターン、 76……行間拡張出力イメージ。
FIG. 1 is a diagram for explaining a conventional technique for printing by using a ruled line pattern as a type of character, and FIG. 2 is a diagram for explaining a conventional technique for performing printing by using a dedicated graphic memory for ruled lines. FIG. 3 is a schematic configuration diagram showing the whole of the present invention, FIG. 4 is a configuration diagram showing an embodiment of the present invention, FIG. 5 is a flowchart for explaining a ruled line character expansion operation, and FIG. 6 is a ruled line pattern character. FIG. 7 is a diagram for explaining the operation in the case of expanding the space between lines, and FIG. 7 is a diagram for explaining the operation in the case of expanding the ruled line pattern between the lines. 2 ... Document memory, 4 ... Print result, 6 ... Graphic memory, 8 ... External character pattern creating means, 10 ... Ruled line external character code identifying means, 12 ... Ruled line external character printing means, CPU ... Microprocessor , ROM …… Read-only memory, KB …… Keyboard, CRT …… Cathode ray tube, DISK …… Auxiliary storage device, PRT …… Printer, RAM …… Random access memory, CGROM …… Character generator, 60 …… Ruled-line external-character pattern, LB ... Blank length, 70 ... Document data, 72- Ruled-line external-character pattern, 74 ... Extended pattern, 76 ... Line-to-line extended output image.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】外字パターン作成手段を用いて作成される
様々な形態の外字パターンを登録できる装置におけるパ
ターン出力方法であって、 前記作成される様々な形態の外字パターンを罫線パター
ンとして他の外字パターンと識別可能にするために、前
記罫線パターンとしての外字パターンとその識別情報を
共にメモリに記憶させ、 文書データの一行中に前記罫線パターンとしての外字パ
ターンを示す識別情報が含まれているか否か判定し、 前記判定処理で前記罫線パターンを示す前記情報が含ま
れると判断された場合、前記識別情報に対応する前記罫
線パターンの端部を、行間拡張して連続した罫線パター
ンを出力し、 前記判定処理で前記罫線パターンを示す情報が含まれて
いないと判断された場合、改行処理を行うことを特徴と
するパターン出力方法。
1. A pattern output method in an apparatus capable of registering various forms of external character patterns created by using the external character pattern creating means, wherein other external characters of the created various forms of external character patterns are used as ruled line patterns. In order to make it distinguishable from the pattern, the external character pattern as the ruled line pattern and its identification information are both stored in a memory, and whether or not the identification information indicating the external character pattern as the ruled line pattern is included in one line of the document data. If it is determined that the information indicating the ruled line pattern is included in the determination process, the end portion of the ruled line pattern corresponding to the identification information is expanded between rows to output a continuous ruled line pattern, If the determination process determines that the information indicating the ruled line pattern is not included, a line feed process is performed. Output method.
JP58216063A 1983-11-18 1983-11-18 Pattern output method Expired - Lifetime JPH0630927B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58216063A JPH0630927B2 (en) 1983-11-18 1983-11-18 Pattern output method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58216063A JPH0630927B2 (en) 1983-11-18 1983-11-18 Pattern output method

Publications (2)

Publication Number Publication Date
JPS60109888A JPS60109888A (en) 1985-06-15
JPH0630927B2 true JPH0630927B2 (en) 1994-04-27

Family

ID=16682692

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58216063A Expired - Lifetime JPH0630927B2 (en) 1983-11-18 1983-11-18 Pattern output method

Country Status (1)

Country Link
JP (1) JPH0630927B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2609614B2 (en) * 1987-07-30 1997-05-14 株式会社東芝 Character pattern display control method
JPH01217543A (en) * 1988-02-25 1989-08-31 Toshiba Corp Document preparing device
JP2794409B2 (en) * 1996-06-21 1998-09-03 セイコーエプソン株式会社 Ruled line creation device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5818780A (en) * 1981-07-23 1983-02-03 Sharp Corp Output device for displaying or recording graphic pattern
JPS5839331A (en) * 1981-09-02 1983-03-08 Ricoh Co Ltd Character pattern input system

Also Published As

Publication number Publication date
JPS60109888A (en) 1985-06-15

Similar Documents

Publication Publication Date Title
JPS63205257A (en) Printing control system
US5562350A (en) Output apparatus that selects a vector font based on character size
JP3058168B2 (en) Character processing apparatus and method
JPH0630927B2 (en) Pattern output method
EP0420575B1 (en) Printer apparatus
JPH03213367A (en) Multicolor printer
JP2783601B2 (en) Information processing device
JP2650324B2 (en) Multi-value character font generation system
JPH064343B2 (en) Pattern output method
JP2771629B2 (en) Character processor
JP2711860B2 (en) Output control method and device
JPH0747337B2 (en) output method
JP2637921B2 (en) Character symbol generator
JPS59201870A (en) Printer
JP2580965B2 (en) Printer device
JPH0747330B2 (en) Character output device
JP2647510B2 (en) Character processing apparatus and method
JP3320566B2 (en) Character symbol conversion device and printer
JP2916274B2 (en) Extended pattern processing method for printer
JP2884862B2 (en) Data processing device
JPS62208090A (en) Image processor
JP2715475B2 (en) Graphic output device
JP3054157B2 (en) Character processing device and character processing method
JPS63242561A (en) Font reducing system
JPS62208177A (en) Image processor