JP3033731B2 - Ruled line processing device, ruled line processing method, and recording medium for recording program - Google Patents

Ruled line processing device, ruled line processing method, and recording medium for recording program

Info

Publication number
JP3033731B2
JP3033731B2 JP10094236A JP9423698A JP3033731B2 JP 3033731 B2 JP3033731 B2 JP 3033731B2 JP 10094236 A JP10094236 A JP 10094236A JP 9423698 A JP9423698 A JP 9423698A JP 3033731 B2 JP3033731 B2 JP 3033731B2
Authority
JP
Japan
Prior art keywords
line
buffer
ruled line
character
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP10094236A
Other languages
Japanese (ja)
Other versions
JPH11291585A (en
Inventor
直彦 世良
Original Assignee
中国日本電気ソフトウェア株式会社
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 中国日本電気ソフトウェア株式会社 filed Critical 中国日本電気ソフトウェア株式会社
Priority to JP10094236A priority Critical patent/JP3033731B2/en
Publication of JPH11291585A publication Critical patent/JPH11291585A/en
Application granted granted Critical
Publication of JP3033731B2 publication Critical patent/JP3033731B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、罫線処理装置、罫
線処理方法、およびプログラムを記録する記録媒体に関
し、特に、罫線文字を座標指定罫線に変換する罫線処理
装置、罫線処理方法、およびプログラムを記録する記録
媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a ruled line processing device, a ruled line processing method, and a recording medium for recording a program, and more particularly, to a ruled line processing device, a ruled line processing method, and a program for converting ruled line characters into coordinate-designated ruled lines. It relates to a recording medium for recording.

【0002】[0002]

【従来の技術】従来のこの種の技術としては、「特開平
9−258934号公報」記載の技術が存在する。この
技術は、「オーバレイ形式の罫線コマンドを含む印刷コ
マンドをコマンド入力手段が1行ずつ入力し、コマンド
解析手段が解析し罫線コマンドを抽出する。次に、行分
割手段は文書データの改行幅が印字ヘッドの縦幅サイズ
より大きいとき、罫線コマンドを印字幅の複数行のコマ
ンドに分割し、罫線印刷制御コード作成手段により各印
字行ごとに罫線のドットデータを作成し、ドット情報の
印刷制御コードに変換する。次に、印刷用制御コード作
成手段は罫線以外の文字等の印刷制御コードを作成し、
罫線印刷制御コード作成手段で作成された罫線のドット
情報の印刷制御コードとマージし、印刷用制御コード送
信手段からプリンタへ送信し印刷を行う」ものである。
2. Description of the Related Art As a conventional technique of this kind, there is a technique described in Japanese Patent Application Laid-Open No. 9-258934. This technique is based on the following technology. The command input unit inputs a print command including a ruled line command in an overlay format one line at a time, and the command analyzing unit analyzes the command to extract the ruled line command. When the line width command is larger than the vertical width of the print head, the ruled line command is divided into a plurality of lines of the print width, and ruled line print control code creating means creates ruled line dot data for each print line, and prints dot information print control code Next, the printing control code creating means creates printing control codes such as characters other than ruled lines,
The printing is performed by merging with the print control code of the dot information of the ruled line created by the ruled line print control code creating means, and transmitting from the printing control code sending means to the printer.

【0003】この技術により、オーバレイ形式の罫線コ
マンドに対応できる印刷制御コードを持たないシリアル
プリンタで、罫線コマンドを含む文書の罫線を欠落なく
印刷することが可能となる。
According to this technique, it is possible to print a ruled line of a document including a ruled line command without loss by a serial printer having no print control code that can correspond to a ruled line command in an overlay format.

【0004】[0004]

【発明が解決しようとする課題】上述した従来の技術の
問題点は、罫線文字を使用したデータを罫線文字の文字
コードに対応していない印刷装置で印刷できないことで
ある。
A problem with the prior art described above is that data using a ruled line character cannot be printed by a printing apparatus that does not support the character code of the ruled line character.

【0005】本発明の目的は、罫線文字を使用したデー
タを座標指定罫線のデータに変換することにより、罫線
文字の文字コードに対応していない印刷装置において、
罫線を印刷可能とすることである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a printing apparatus which does not correspond to a character code of a ruled line character by converting data using a ruled line character to data of a coordinate designation ruled line.
That is, ruled lines can be printed.

【0006】[0006]

【課題を解決するための手段】本発明の罫線処理装置
は、入力装置と、ディスパッチ手段と、1台以上の印刷
装置と、罫線制御命令変換手段とを備え、 (a)印刷されるデータを入力し前記ディスパッチ手段
に送出する前記入力装置と、 (b)解析手段と、太線1倍バッファと、太線2倍バッ
ファと、細線1倍バッファと、細線2倍バッファと、罫
線文字抜き出し済みデータバッファと、合成手段とを備
え、前記ディスパッチ手段から送出された前記印刷され
るデータ中の制御コード、文字コードを解析し、ページ
中の位置を割り出し、罫線文字が存在した場合は、割り
出された位置の座標指定罫線のコードに種類別に変換
し、それぞれ前記太線1倍バッファ、前記太線2倍バッ
ファ、前記細線1倍バッファ、前記細線2倍バッファに
格納し、罫線文字以外の制御コード、文字コードを、前
記罫線文字抜き出し済みデータバッファに格納し、改ペ
ージが発生したら前記合成手段を呼び出す前記解析手段
と、前記解析手段からの呼び出しにしたがって前記太線
1倍バッファ、前記太線2倍バッファ、前記細線1倍バ
ッファ、前記細線2倍バッファ内の前記座標指定罫線の
コード、前記罫線文字抜き出し済みデータバッファ内の
前記制御コード、および前記罫線文字以外の文字コード
を前記変換データとして、前記ディスパッチ手段に送出
する合成手段とを備える前記罫線制御命令変換手段と、 (c)前記入力装置からの前記印刷されるデータを調
べ、指定された前記印刷装置において罫線文字が印刷可
能であるかどうか解析し、印刷不可能な場合、前記罫線
制御命令変換手段に前記印刷されるデータを送出し、前
記罫線制御命令変換手段により送出された前記変換デー
タを指定された前記印刷装置に送出する前記ディスパッ
チ手段と、を有する。
Ruled line processing device of the present invention, in order to solve the problem] is provided with an input device, and dispatch unit, and one or more printing devices, and a ruled line control command converting means, the data to be printed (a) (B) analysis means, a bold line 1x buffer, and a bold line 2x buffer.
, A thin line 1x buffer, a thin line 2x buffer, and a rule
It has a data buffer with line characters extracted, and a combining means.
The printed data sent from the dispatching means.
Analyze control codes and character codes in data
The middle position, and if there is a ruled line character,
Converted to the code of the specified position coordinate ruled line by type
And the thick line 1 × buffer and the thick line 2 × buffer, respectively.
To the thin line 1x buffer and the thin line 2x buffer
Store and store control codes and character codes other than
Store the data in the data buffer from which ruled line characters have been extracted, and
The analyzing means for calling the synthesizing means when a page is generated
And the bold line according to the call from the analysis means.
1x buffer, 2x thick line buffer, 1x thin line buffer
Buffer, the coordinate designation ruled line in the thin line double buffer.
Code, the data in the data buffer
Character code other than the control code and the ruled line character
As the conversion data to the dispatching means.
Said borders control command converting means and a synthesizing means for analyzes whether border characters can be printed in the printing device examines the data, which is designated to be the printing from (c) said input device, printing If not possible, the dispatching means for sending the data to be printed to the ruled line control command converting means, and sending the converted data sent by the ruled line control command converting means to the designated printing device. Have.

【0007】本発明の第1の罫線処理方法は、入力装置
と、ディスパッチ手段と、1台以上の印刷装置と、解析
手段、太線1倍バッファ、太線2倍バッファ、細線1倍
バッファ、細線2倍バッファ、罫線文字抜き出し済みデ
ータバッファ、および合成手段を備える罫線制御命令変
換手段とを有する罫線処理装置のための罫線処理方法で
あって、前記解析手段に (a)前記ディスパッチ手段からの印刷するデータが制
御コードかどうか判定させる第1のステップと、 (b)前記第1のステップで制御コードであると判定さ
れた場合に制御コードによる位置解析を行わせる第2の
ステップと、 (c)前記第1のステップで制御コードであると判定さ
れた場合に改ページが発生したかどうか判定させる第3
のステップと、 (d)前記第3のステップで改ページが発生したと判定
された場合に前記合成手段を呼び出させる第4のステッ
プと、 (e)前記第1のステップで制御コードであると判定さ
れた場合に制御コードを前記罫線文字抜き出し済みデー
タバッファに出力させる第5のステップと、 (f)前記ディスパッチ手段からの印刷するデータが文
字コードかどうか判定させる第6のステップと、 (g)前記第6のステップで文字コードであると判定さ
れた場合に罫線文字かどうか判定させる第7のステップ
と、 (h)前記第7のステップで罫線文字と判定された場合
に各種罫線の種別を判定させる第8のステップと、 (i)前記各種罫線文字から座標指定罫線のコードを作
成してそれぞれの対応する前記太線1倍バッファ、太線
2倍バッファ、細線1倍バッファ、細線2倍バッファに
出力させる第9のステップと、 (j)罫線文字の抜けを埋める制御コードを作成し、前
記罫線文字抜き出し済みデータバッファに出力させる第
10のステップと、 (k)前記第7のステップで罫線文字以外の文字である
と判定された場合に罫線文字以外の文字コードを前記罫
線文字抜き出し済みデータバッファに出力させる 第11
のステップとを含む。
[0007] A first ruled line processing method according to the present invention is an input device.
And dispatching means, one or more printing devices, and analysis
Means, thick line 1x buffer, thick line 2x buffer, thin line 1x
Buffer, double buffer with thin line,
Ruled line control command
Rule processing method for a rule processing apparatus having a changing means
(A) The data to be printed from the dispatching means is controlled by the analyzing means.
A first step of determining whether the code is a control code ; and (b) determining that the control code is a control code in the first step.
The position analysis by the control code when the
And (c) determining that the control code is the control code in the first step.
Third to determine whether a page break has occurred if a page break has occurred
And (d) determining that a page break has occurred in the third step
A fourth step for calling the synthesizing means when the
Is determined and flop, and a control code (e) the first step
If the control code is
A fifth step of outputting to the data buffer;
A sixth step of determining whether the character code is a character code; and (g) determining that the character code is determined in the sixth step.
7th step to determine if it is a ruled line character
If, when it is determined that the ruled line character (h) the seventh step
An eighth step of determining the type of each ruled line, and (i) creating a code for a coordinate designation ruled line from the various ruled line characters.
The corresponding thick line 1x buffer and the thick line
2x buffer, 1x thin line buffer, 2x thin line buffer
A ninth step of outputting, and (j) creating a control code to fill in the missing of the ruled line character,
No. to be output to the data buffer where the ruled line characters have been extracted
Step 10; and (k) characters other than the ruled line characters in the seventh step.
Character code other than the ruled line character
Eleventh to output to line buffer extracted data buffer
Steps.

【0008】本発明の第2の罫線処理方法は、入力装置
と、ディスパッチ手段と、1台以上の印刷装置と、解析
手段、太線1倍バッファ、太線2倍バッファ、細線1倍
バッファ、細線2倍バッファ、罫線文字抜き出し済みデ
ータバッファ、および合成手段を備える罫線制御命令変
換手段とを有する罫線処理装置のための罫線処理方法で
あって、前記合成手段に、 (a)前記太線1倍バッファ、前記太線2倍バッファ、
前記細線1倍バッファ、前記細線2倍バッファ内に各種
座標指定罫線のコードが格納されているかどうか判定さ
せるステップ第1のステップと、 (b)前記第1のステップで前記各種座標指定罫線が格
納されていると判定された場合に、前記各種座標指定罫
線の制御コードを作成させる第2のステップと、 (c)作成された座標指定罫線の制御コードを前記ディ
スパッチ手段に出力させる第3のステップと、 (d)前記罫線文字抜き出し済みデータバッファ内に罫
線文字以外の文字コードおよび制御コードが作成されて
いるかどうか判定させる第4のステップと、 (e)前記第4のステップで罫線文字以外の文字コード
および制御コードが作成されていると判定された場合に
この罫線文字以外の文字コードおよび制御コードを前記
ディスパッチ手段に出力させる第5のステップと、 (f)前記太線1倍バッファ、前記太線2倍バッファ、
前記細線1倍バッファ、前記細線2倍バッファ、前記罫
線文字抜き出し済みデータバッファの内容を消去させる
第6のステップとを含む。
According to a second ruled line processing method of the present invention, an input device, a dispatching unit, one or more printing devices, an analyzing unit, a thick line 1 time buffer, a thick line 2 time buffer, a thin line 1 time buffer, a thin line 2 A ruled line processing method for a ruled line processing device having a double buffer, a ruled line character extracted data buffer, and a ruled line control command converting unit including a synthesizing unit , wherein the synthesizing unit includes : The thick double buffer,
Various types in the thin line 1x buffer and the thin line 2x buffer
Determines whether the code of the coordinate specification rule is stored
A first step step of, (b) wherein the various coordinates specified border in the first step is rated
If it is determined that the coordinates are
Wherein the second step of creating a control code for a line, the control code coordinates specified border created (c) Di
A third step of outputting the Supatchi means, (d) ruffled on the ruled line character extraction Data buffer
Character codes and control codes other than line characters are created
A fourth step of determining whether or not there is a character code other than a ruled line character in the fourth step;
And it is determined that the control code has been created
Character codes and control codes other than the ruled line characters
A fifth step of causing the dispatch means to output, (f) the thick line 1x buffer, the thick line 2x buffer,
The thin line 1 time buffer, the thin line 2 time buffer, the ruled line
Delete the contents of the line buffer extracted data buffer
And a sixth step.

【0009】本発明の第1の記録媒体は、入力装置と、
ディスパッチ手段と、1台以上の印刷装置と、解析手
段、太線1倍バッファ、太線2倍バッファ、細線1倍バ
ッファ、細線2倍バッファ、罫線文字抜き出し済みデー
タバッファ、および合成手段を備える罫線制御命令変換
手段とを有する罫線処理装置のための罫線処理方法であ
って、前記解析手段に (a)前記ディスパッチ手段からの印刷するデータが制
御コードかどうか判定させる第1のステップと、 (b)前記第1のステップで制御コードであると判定さ
れた場合に制御コードによる位置解析を行わせる第2の
ステップと、 (c)前記第1のステップで制御コードであると判定さ
れた場合に改ページが発生したかどうか判定させる第3
のステップと、 (d)前記第3のステップで改ページが発生したと判定
された場合に前記合成手段を呼び出させる第4のステッ
プと、 (e)前記第1のステップで制御コードであると判定さ
れた場合に制御コードを前記罫線文字抜き出し済みデー
タバッファに出力させる第5のステップと、 (f)前記ディスパッチ手段からの印刷するデータが文
字コードかどうか判定させる第6のステップと、 (g)前記第6のステップで文字コードであると判定さ
れた場合に罫線文字かどうか判定させる第7のステップ
と、 (h)前記第7のステップで罫線文字と判定された場合
に各種罫線の種別を判定させる第8のステップと、 (i)前記各種罫線文字から座標指定罫線のコードを作
成してそれぞれの対応する前記太線1倍バッファ、太線
2倍バッファ、細線1倍バッファ、細線2倍バッファに
出力させる第9のステップと、 (j)罫線文字の抜けを埋める制御コードを作成し、前
記罫線文字抜き出し済みデータバッファに出力させる第
10のステップと、 (k)前記第7のステップで罫線文字以外の文字である
と判定された場合に罫線文字以外の文字コードを前記罫
線文字抜き出し済みデータバッファに出力させる 第11
のステップとを含むプログラムを記録する。
A first recording medium according to the present invention comprises: an input device;
Ruled line control command including dispatching means, one or more printing apparatuses, analyzing means, thick line 1 time buffer, thick line 2 time buffer, thin line 1 time buffer, thin line 2 time buffer, ruled line character extracted data buffer, and combining means A rule processing method for a rule processing apparatus having a converting means, wherein (a) data to be printed from the dispatch means is controlled by the analyzing means.
A first step of determining whether the code is a control code ; and (b) determining that the control code is a control code in the first step.
The position analysis by the control code when the
And (c) determining that the control code is the control code in the first step.
Third to determine whether a page break has occurred if a page break has occurred
And (d) determining that a page break has occurred in the third step
A fourth step for calling the synthesizing means when the
Is determined and flop, and a control code (e) the first step
If the control code is
A fifth step of outputting to the data buffer;
A sixth step of determining whether the character code is a character code; and (g) determining that the character code is determined in the sixth step.
7th step to determine if it is a ruled line character
If, when it is determined that the ruled line character (h) the seventh step
An eighth step of determining the type of each ruled line, and (i) creating a code for a coordinate designation ruled line from the various ruled line characters.
The corresponding thick line 1x buffer and the thick line
2x buffer, 1x thin line buffer, 2x thin line buffer
A ninth step of outputting, and (j) creating a control code to fill in the missing of the ruled line character,
No. to be output to the data buffer where the ruled line characters have been extracted
Step 10; and (k) characters other than the ruled line characters in the seventh step.
Character code other than the ruled line character
Eleventh to output to line buffer extracted data buffer
And recording the program including the steps.

【0010】本発明の第2の記録媒体は、入力装置と、
ディスパッチ手段と、1台以上の印刷装置と、解析手
段、太線1倍バッファ、太線2倍バッファ、細線1倍バ
ッファ、細線2倍バッファ、罫線文字抜き出し済みデー
タバッファ、および合成手段を備える罫線制御命令変換
手段とを有する罫線処理装置のための罫線処理方法であ
って、前記合成手段に、 (a)前記太線1倍バッファ、前記太線2倍バッファ、
前記細線1倍バッファ、前記細線2倍バッファ内に各種
座標指定罫線のコードが格納されているかどうか判定さ
せるステップ第1のステップと、 (b)前記第1のステップで前記各種座標指定罫線が格
納されていると判定された場合に、前記各種座標指定罫
線の制御コードを作成させる第2のステップと、 (c)作成された座標指定罫線の制御コードを前記ディ
スパッチ手段に出力させる第3のステップと、 (d)前記罫線文字抜き出し済みデータバッファ内に罫
線文字以外の文字コードおよび制御コードが作成されて
いるかどうか判定させる第4のステップと、 (e)前記第4のステップで罫線文字以外の文字コード
および制御コードが作成されていると判定された場合に
この罫線文字以外の文字コードおよび制御コードを前記
ディスパッチ手段に出力させる第5のステップと、 (f)前記太線1倍バッファ、前記太線2倍バッファ、
前記細線1倍バッファ、前記細線2倍バッファ、前記罫
線文字抜き出し済みデータバッファの内容を消去させる
第6のステップと を含むプログラムを記録する。
[0010] A second recording medium of the present invention comprises an input device,
Ruled line control command including dispatching means, one or more printing apparatuses, analyzing means, thick line 1 time buffer, thick line 2 time buffer, thin line 1 time buffer, thin line 2 time buffer, ruled line character extracted data buffer, and combining means A ruled line processing method for a ruled line processing device having a converting means, wherein: (a) the thick line 1x buffer, the thick line 2x buffer,
Various types in the thin line 1x buffer and the thin line 2x buffer
Determines whether the code of the coordinate specification rule is stored
A first step step of, (b) wherein the various coordinates specified border in the first step is rated
If it is determined that the coordinates are
Wherein the second step of creating a control code for a line, the control code coordinates specified border created (c) Di
A third step of outputting the Supatchi means, (d) ruffled on the ruled line character extraction Data buffer
Character codes and control codes other than line characters are created
A fourth step of determining whether or not there is a character code other than a ruled line character in the fourth step;
And it is determined that the control code has been created
Character codes and control codes other than the ruled line characters
A fifth step of causing the dispatch means to output, (f) the thick line 1x buffer, the thick line 2x buffer,
The thin line 1 time buffer, the thin line 2 time buffer, the ruled line
Delete the contents of the line buffer extracted data buffer
The program including the sixth step is recorded.

【0011】[0011]

【0012】[0012]

【発明の実施の形態】次に、本発明の実施の形態に関し
て図面を参照して詳細に説明する。図1は、本発明の実
施の形態を示すブロック図である。図1を参照すると、
本発明の実施の形態は、入力装置10と、ディスパッチ
手段20と、印刷装置30と、印刷装置31と、罫線制
御命令変換手段40とから構成される。図2は、罫線制
御命令変換手段40の詳細ブロック図である。図2を参
照すると、罫線制御命令変換手段40は、解析手段40
1と、太線1倍バッファ402と、太線2倍バッファ4
03と、細線1倍バッファ404と、細線2倍バッファ
405と、罫線文字抜き出し済みデータバッファ406
と、合成手段407とから構成される。
Next, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention. Referring to FIG.
The embodiment of the present invention includes an input device 10, a dispatching unit 20, a printing device 30, a printing device 31, and a ruled line control command converting unit 40. FIG. 2 is a detailed block diagram of the ruled line control command conversion means 40. Referring to FIG. 2, ruled line control command conversion means 40 includes analysis means 40.
1, a thick line 1 time buffer 402 and a thick line 2 time buffer 4
03, a thin line 1 time buffer 404, a thin line 2 time buffer 405, and a ruled line character extracted data buffer 406.
And combining means 407.

【0013】次に、本発明の実施の形態の動作について
図面を参照して説明する。まず、文字、罫線に関する概
要について説明する。
Next, the operation of the embodiment of the present invention will be described with reference to the drawings. First, an outline of characters and ruled lines will be described.

【0014】まず、文字コードについて説明する。コー
ドには、制御コードと文字コードとがあり、たとえば、
本発明においては、文字コードのうち、2C24〜2C
6F(16進)が罫線文字に割り当てられている。
First, character codes will be described. Codes include control codes and character codes. For example,
In the present invention, among character codes, 2C24 to 2C
6F (hexadecimal) is assigned to ruled line characters.

【0015】次に、罫線、文字の縦方向の位置管理につ
いて図3を参照して説明する。図3は、行基準初期状態
を示す説明図である。
Next, the vertical position management of ruled lines and characters will be described with reference to FIG. FIG. 3 is an explanatory diagram showing a row-based initial state.

【0016】(a)行基準線初期状態について説明す
る。図3を参照すると、行基準線とは、文字の印刷位置
の縦方向の基本となる位置を示すものであり、この線上
に文字は並んで印刷される。行基準線の初期状態は印刷
範囲上部から40/240[インチ]の位置である。
(A) The initial state of the row reference line will be described. Referring to FIG. 3, the line reference line indicates a vertical basic position of the printing position of the character, and the character is printed side by side on this line. The initial state of the line reference line is a position 40/240 [inch] from the top of the printing range.

【0017】(b)改行ピッチの変更について説明す
る。改行ピッチ制御コードにより改行ピッチが変更可能
である。
(B) The change of the line feed pitch will be described. The line feed pitch can be changed by the line feed pitch control code.

【0018】(c)改行について説明する。改行制御コ
ードにより現在の改行ピッチで行基準線位置は下方向に
更新され新しい行が作成される。ページの下端で改行し
た場合は改ページする。
(C) Line feed will be described. The line reference line position is updated downward at the current line feed pitch by the line feed control code, and a new line is created. If the line breaks at the bottom of the page, the page breaks.

【0019】(d)改ページについて説明する。改ペー
ジ制御コード、またはページの下端での改行により次の
ページの先頭に印刷位置が移動する。このタイミングに
より座標指定罫線と罫線文字抜き出し済みデータとを出
力する。
(D) A page break will be described. The print position moves to the beginning of the next page due to the form feed control code or the line feed at the bottom of the page. At this timing, the coordinate designation ruled line and the ruled line character extracted data are output.

【0020】次に、罫線文字のパターンについて図4を
参照して説明する。図4は、罫線文字のパターンを示す
説明図である。罫線文字2C24〜2C6Fのパターン
は、図4に示すようである。
Next, the ruled line character pattern will be described with reference to FIG. FIG. 4 is an explanatory diagram showing a pattern of a ruled line character. The pattern of the ruled line characters 2C24 to 2C6F is as shown in FIG.

【0021】次に、罫線文字抜き出しの穴埋めについて
説明する。入力データ中の罫線文字は、座標指定罫線に
変換されるためすべて抜き出される。抜き出された後、
元の罫線文字の大きさだけ印字桁を進める必要があり、
間隔挿入制御コードを使用する。
Next, a description will be given of filling of holes in extracting a ruled line character. Ruled line characters in the input data are all extracted because they are converted to coordinate designated ruled lines. After being extracted,
It is necessary to advance the printing digit by the size of the original ruled line character,
Use interval insertion control codes.

【0022】次に、座標指定罫線の座標について図5を
参照して説明する。図5は、座標指定罫線の座標を示す
説明図である。図5を参照すると、生成される座標指定
罫線は印刷面の左上端を原点(0,0)としたゼロオリ
ジンの座標系を使用する。
Next, the coordinates of the coordinate designation rule will be described with reference to FIG. FIG. 5 is an explanatory diagram showing the coordinates of the coordinate designation ruled line. Referring to FIG. 5, the generated coordinate designation rule uses a zero-origin coordinate system with the origin (0, 0) at the upper left end of the printing surface.

【0023】次に、座標指定罫線の制御コードについて
図6を参照して説明する。図6は、座標指定罫線の制御
コードを示す説明図である。図6を参照すると、座標指
定罫線であることを示す制御コード、罫線の始点X座標
を示すコード、カンマを示すコード、罫線の始点Y座標
を示すコード、カンマを示すコード、罫線の終点X座標
を示すコード、カンマを示すコード、罫線の終点Y座標
を示すコード、ピリオドを示すコードの順序で並ぶ。
Next, the control code of the coordinate designation rule will be described with reference to FIG. FIG. 6 is an explanatory diagram showing a control code of a coordinate designation ruled line. Referring to FIG. 6, a control code indicating a coordinate designation ruled line, a code indicating a starting point X coordinate of the ruled line, a code indicating a comma, a code indicating a starting point Y coordinate of the ruled line, a code indicating a comma, and an end point X coordinate of the ruled line , A code indicating a comma, a code indicating the Y coordinate of the end point of the ruled line, and a code indicating a period.

【0024】次に、図1、図2の各ブロックの動作につ
いて説明する。入力装置10は、印刷されるデータを入
力しディスパッチ手段20に送出する。ディスパッチ手
段20は、入力装置10からの印刷されるデータを調
べ、指定された印刷装置30、印刷装置31において印
刷可能なデータであるかどうか解析する。ここでは、印
刷装置30が罫線文字を含むデータを印刷可能であり、
印刷装置31が罫線文字を含むデータを印刷不可能でか
つ、座標指定罫線を含むデータを印刷可能である場合に
ついて説明する。
Next, the operation of each block in FIGS. 1 and 2 will be described. The input device 10 inputs data to be printed and sends the data to the dispatching means 20. The dispatching unit 20 checks data to be printed from the input device 10 and analyzes whether the data is printable by the designated printing device 30 or 31. Here, the printing device 30 can print data including ruled line characters,
A case will be described in which the printing device 31 cannot print data including a ruled line character and can print data including a coordinate designation ruled line.

【0025】罫線文字を含むデータを印刷装置31で印
刷するように指定された場合、ディスパッチ手段20
は、罫線制御命令変換手段40に罫線文字を含むデータ
を送出する。罫線制御命令変換手段40は、罫線文字を
含むデータを受け取ると、罫線文字を座標指定罫線に変
換したデータをディスパッチ手段20に送出する。ディ
スパッチ手段20は、罫線制御命令変換手段40により
変換されたデータを受け取ると、印刷装置31に送出
し、印刷装置31では、ディスパッチ手段20から送出
されたデータを印刷する。
If it is specified that data including ruled line characters is to be printed by the printing device 31, the dispatching means 20
Sends data including ruled line characters to the ruled line control command conversion means 40. When receiving the data including the ruled line character, the ruled line control command converting unit 40 sends the data obtained by converting the ruled line character to the coordinate designation ruled line to the dispatch unit 20. When the dispatching unit 20 receives the data converted by the ruled line control command converting unit 40, it sends it to the printing device 31, and the printing device 31 prints the data sent from the dispatching unit 20.

【0026】罫線制御命令変換手段40では、ディスパ
ッチ手段20から受け取ったデータの罫線文字により構
成された罫線部分を座標指定罫線方式の罫線に変換す
る。罫線文字で構成された罫線を座標指定罫線に変換す
るプロセスは次のとおりである。
The ruled line control command converting means 40 converts a ruled line portion composed of ruled line characters of the data received from the dispatching means 20 into a ruled line of a coordinate designation ruled line method. The process of converting a ruled line composed of ruled line characters into a coordinate-designated ruled line is as follows.

【0027】解析手段401において、データ中の制御
コード、文字を解析し、ページ中の位置を割り出す。罫
線文字が存在した場合は、割り出された位置の座標指定
罫線のコードに種類別に変換し、種類別に太線1倍バッ
ファ402、太線2倍バッファ403、細線1倍バッフ
ァ404、細線2倍バッファ405に格納し、また、罫
線文字以外の制御コード、文字コードは、罫線文字抜き
出し済みデータバッファ406に格納する。改ページが
発生したら合成手段407を呼び出す。また、罫線文字
の座標指定罫線変換で罫線文字を抜き出した場合は、制
御コードによって文字の位置をすすめておく。
The analyzing means 401 analyzes the control codes and characters in the data and finds the position in the page. When a ruled line character exists, it is converted into a code of a coordinate designation ruled line at the determined position by type, and a thick line 1 time buffer 402, a thick line 2 times buffer 403, a thin line 1 time buffer 404, and a thin line 2 times buffer 405 are classified by type. The control code and the character code other than the ruled line characters are stored in the data buffer 406 from which the ruled line characters have been extracted. When a page break occurs, the combining unit 407 is called. When a ruled line character is extracted by the coordinate designation ruled line conversion of the ruled line character, the position of the character is advanced by the control code.

【0028】合成手段407においては、解析手段40
1からの呼び出しにしたがって座標指定罫線と罫線文字
抜き出し済みデータをあわせて印刷するためのデータを
作成する。
In the combining means 407, the analyzing means 40
In accordance with the call from No. 1, data for printing together with the coordinate designation ruled line and the ruled line character extracted data is created.

【0029】次に、変換の過程に関して図7〜図10を
参照して説明する。図7は、基準位置を示す説明図であ
る。図8は、変換テーブルを示す説明図である。図9
は、座標指定罫線変換テーブルを示す説明図である。図
10は、座標指定罫線の座標を示す説明図である。
Next, the conversion process will be described with reference to FIGS. FIG. 7 is an explanatory diagram showing a reference position. FIG. 8 is an explanatory diagram showing a conversion table. FIG.
FIG. 4 is an explanatory diagram showing a coordinate designation ruled line conversion table. FIG. 10 is an explanatory diagram showing the coordinates of the coordinate designation ruled line.

【0030】罫線文字それぞれに対して罫線文字から座
標指定罫線に対する変換テーブルおよび座標指定罫線変
換テーブルを持ち、その座標指定罫線変換テーブルの格
納値により罫線文字を座標指定罫線に変換する。
Each of the ruled line characters has a conversion table from the ruled line character to the coordinate designated ruled line and a coordinate designated ruled line conversion table, and converts the ruled line character into a coordinate designated ruled line based on the stored value of the coordinate designated ruled line conversion table.

【0031】図7に示すように罫線文字の位置は文字の
左下隅を制御コード解析により割り出し、「基準位置」
とする。次に、罫線文字コード(この例では2C66)
と文字の大きさ(この例では10.8P)とをキーとし
て、図8の変換テーブルを検索し、座標指定罫線変換テ
ーブル(座標指定罫線変換テーブル番号235)を選択
する。次に、「基準位置」と選択した座標指定罫線変換
テーブル(図9に示す)内の補正値により座標指定罫線
の開始点座標と終了点座標を求める。座標指定罫線変換
テーブルから求められた座標と座標指定罫線のイメージ
は図10のようである。
As shown in FIG. 7, the position of the ruled line character is determined by analyzing the lower left corner of the character by control code analysis.
And Next, the ruled line character code (2C66 in this example)
Using the character and the character size (10.8P in this example) as keys, the conversion table of FIG. 8 is searched, and the coordinate-designated ruled-line conversion table (coordinate-designated ruled-line conversion table number 235) is selected. Next, the start point coordinates and the end point coordinates of the coordinate designation ruled line are obtained from the “reference position” and the correction value in the selected coordinate designation ruled line conversion table (shown in FIG. 9). The coordinates obtained from the coordinate designation rule conversion table and the image of the coordinate designation rule are as shown in FIG.

【0032】基準点の座標(X,Y)が(100,10
0)のとき、235番の座標指定罫線変換テーブルから
求められる座標指定罫線は次のものである。
When the coordinates (X, Y) of the reference point are (100, 10)
In the case of 0), the coordinate designation ruled line obtained from the 235th coordinate designation ruled line conversion table is as follows.

【0033】「1本目 太線 開始座標(X,Y)=
(115,65) 終了座標(X,Y)=(115,1
00)」、「2本目 細線 開始座標(X,Y)=(1
00,83) 終了座標(X,Y)=(135,8
3)」、「3本目 なし」、「4本目 なし」。
[First bold line Start coordinates (X, Y) =
(115, 65) End coordinate (X, Y) = (115, 1)
00) ”,“ second thin line Start coordinates (X, Y) = (1
00, 83) End coordinates (X, Y) = (135, 8)
3), "No third line", "No fourth line".

【0034】次に、罫線処理方法に関して図11を参照
して説明する。図11は、罫線処理方法を示すフローチ
ャートである。図11に示すように、入力データが存在
しないかどうか判定するステップ(図11S1)と、存
在しない場合に繰り返しを終了するステップ(図11S
11)と、入力データが制御コードかどうか判定するス
テップ(図11S2)と、制御コードである場合に制御
コードによる位置解析を行うステップ(図11S21)
と、制御コードである場合に改ページが発生したかどう
か判定するステップ(図11S22)と、改ページが発
生した場合に合成手段407を呼び出すステップ(図1
1S221)と、制御コードである場合に制御コードを
罫線文字抜き出し済みデータバッファ406に出力する
ステップ(図11S23)と、入力データが文字コード
かどうか判定するステップ(図11S3)と、文字コー
ドであった場合に罫線文字かどうか判定するステップ
(図11S31)と、罫線文字であった場合に各種罫線
の種別を判定するステップ(図11S311〜図11S
314)と、各種罫線文字から座標指定罫線作成を作成
してそれぞれの対応する太線1倍バッファ402〜細線
2倍バッファ405に出力するステップ(図11S31
11〜図11S図11S3141)と、罫線文字の抜け
を埋める制御コードを作成し、罫線文字抜き出し済みデ
ータバッファ406に出力するステップ(図11S31
5)と、ステップ図11S31において罫線以外の文字
であると判定された場合に罫線以外の文字を罫線文字抜
き出し済みデータバッファ406に出力するステップ
(図11S316)と、次の入力データを読み込むステ
ップ(図11S4)とを含む罫線処理方法が実可能であ
る。
Next, the ruled line processing method will be described with reference to FIG. FIG. 11 is a flowchart showing a ruled line processing method. As shown in FIG. 11, a step of determining whether input data does not exist (FIG. 11S1), and a step of ending the repetition when there is no input data (FIG. 11S)
11), a step of determining whether the input data is a control code (S2 in FIG. 11), and a step of performing position analysis using the control code when the input data is a control code (S21 in FIG. 11).
A step of determining whether a page break has occurred in the case of a control code (S22 in FIG. 11), and a step of calling the synthesizing means 407 when a page break has occurred (FIG. 1).
1S221), a step of outputting the control code to the ruled line character extracted data buffer 406 if it is a control code (S23 of FIG. 11), a step of determining whether the input data is a character code (S3 of FIG. 11), and a step of (Step S31 in FIG. 11), and if the character is a ruled line, the type of various ruled lines is determined (FIG. 11S311 to FIG. 11S).
314) and a step of creating coordinate-designated ruled lines from various ruled line characters and outputting them to the corresponding thick line single buffer 402 to thin line double buffer 405 (S31 in FIG. 11).
11 to 11S and 11S3141) and a step of creating a control code to fill in the missing of the ruled line character and outputting it to the data buffer 406 from which the ruled line character has been extracted (S31 in FIG. 11).
5) and step: when it is determined in step S31 of FIG. 11 that the character is other than a ruled line, a step of outputting the character other than the ruled line to the ruled line character extracted data buffer 406 (FIG. 11S316); and a step of reading the next input data (step S316). A ruled line processing method including (4) in FIG. 11 is feasible.

【0035】図12は、罫線処理方法を示すフローチャ
ートである。図12に示すように、各種座標指定罫線が
作成されているかどうか判定するステップ(図12S5
〜S9)と、それぞれの種別の座標指定罫線が作成され
ている場合に、各種座標指定罫線の制御コードを作成す
るステップ(図12S51〜S81)と、作成された座
標指定罫線の制御コードをディスパッチ手段20に出力
するステップ(図12S52〜S82)と、罫線抜き出
し済みデータが作成されているかどうか判定するステッ
プ(図12S9)と、罫線抜き出し済みデータが作成さ
れている場合に罫線抜き出し済みデータをディスパッチ
手段20に出力するステップ(図12S91)と、太線
1倍バッファ402、太線2倍バッファ403、細線1
倍バッファ404、細線2倍バッファ405、罫線文字
抜き出し済みデータバッファ406をクリアするステッ
プ(図12SA)とを含む罫線処理方法が実可能であ
る。
FIG. 12 is a flowchart showing a ruled line processing method. As shown in FIG. 12, a step of determining whether various coordinate designation ruled lines have been created (S5 in FIG. 12)
To S9), a step of creating control codes of various coordinate designation ruled lines when each type of coordinate designation ruled line is created (FIGS. 12S51 to S81), and dispatching the created coordinate designation ruled line control code. A step of outputting to the means 20 (FIGS. 12S52 to S82), a step of determining whether or not ruled-line extracted data is created (FIG. 12S9); Step of outputting to the means 20 (S91 in FIG. 12), the thick line 1x buffer 402, the thick line 2x buffer 403, and the thin line 1
A ruled line processing method including a step of clearing the double buffer 404, the thin line double buffer 405, and the ruled line character extracted data buffer 406 (SA in FIG. 12) is feasible.

【0036】また、図13に示すように、上記罫線処理
方法のステップをコンピュータ100に実行させるプロ
グラムを記録する記録媒体120が実現可能である。
As shown in FIG. 13, it is possible to realize a recording medium 120 for recording a program for causing the computer 100 to execute the steps of the ruled line processing method.

【0037】[0037]

【発明の効果】本発明の効果は、罫線文字を使用したデ
ータを座標指定罫線のデータに変換することにより、罫
線文字の文字コードに対応していない印刷装置におい
て、罫線を印刷可能となることである。
The effect of the present invention is that the ruled line can be printed in a printing apparatus which does not correspond to the character code of the ruled line character by converting the data using the ruled line character to the data of the coordinate designation ruled line. It is.

【0038】その理由は、罫線文字を座標指定罫線に変
換する機能をもつからである。
The reason is that it has a function of converting a ruled line character into a coordinate designation ruled line.

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

【図1】本発明の実施の形態を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】罫線制御命令変換手段の詳細ブロック図であ
る。
FIG. 2 is a detailed block diagram of a ruled line control command conversion unit.

【図3】行基準初期状態を示す説明図である。FIG. 3 is an explanatory diagram showing a row-based initial state.

【図4】罫線文字のパターンを示す説明図である。FIG. 4 is an explanatory diagram showing a pattern of a ruled line character.

【図5】座標指定罫線の座標を示す説明図である。FIG. 5 is an explanatory diagram showing the coordinates of a coordinate designation ruled line.

【図6】座標指定罫線の制御コードを示す説明図であ
る。
FIG. 6 is an explanatory diagram showing a control code of a coordinate designation ruled line.

【図7】基準位置を示す説明図である。FIG. 7 is an explanatory diagram showing a reference position.

【図8】変換テーブルを示す説明図である。FIG. 8 is an explanatory diagram showing a conversion table.

【図9】座標指定罫線変換テーブルを示す説明図であ
る。
FIG. 9 is an explanatory diagram showing a coordinate designation ruled line conversion table.

【図10】座標指定罫線の座標を示す説明図である。FIG. 10 is an explanatory diagram showing the coordinates of a coordinate designation ruled line.

【図11】罫線処理方法を示すフローチャートである。FIG. 11 is a flowchart illustrating a ruled line processing method.

【図12】罫線処理方法を示すフローチャートである。FIG. 12 is a flowchart illustrating a ruled line processing method.

【図13】コンピュータと記録媒体を示すブロック図で
ある。
FIG. 13 is a block diagram showing a computer and a recording medium.

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

10 入力装置 20 ディスパッチ手段 30 印刷装置 31 印刷装置 40 罫線制御命令変換手段 100 コンピュータ 120 記録媒体 401 解析手段 402 太線1倍バッファ 403 太線2倍バッファ 404 細線1倍バッファ 405 細線2倍バッファ 406 罫線文字抜き出し済みデータバッファ 407 合成手段 DESCRIPTION OF SYMBOLS 10 Input device 20 Dispatch means 30 Printing device 31 Printing device 40 Ruled line control command conversion means 100 Computer 120 Recording medium 401 Analysis means 402 Thick line 1 time buffer 403 Thick line 2 time buffer 404 Fine line 1 time buffer 405 Thin line 2 time buffer 406 Ruled line character extraction Data buffer 407 combining means

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) B41J 29/26 B41J 2/485 B41J 21/00 G06F 3/12 Continuation of the front page (58) Field surveyed (Int.Cl. 7 , DB name) B41J 29/26 B41J 2/485 B41J 21/00 G06F 3/12

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力装置と、ディスパッチ手段と、1台
以上の印刷装置と、罫線制御命令変換手段とを備え、 (a)印刷されるデータを入力し前記ディスパッチ手段
に送出する前記入力装置と、 (b)解析手段と、太線1倍バッファと、太線2倍バッ
ファと、細線1倍バッファと、細線2倍バッファと、罫
線文字抜き出し済みデータバッファと、合成手段とを備
え、前記ディスパッチ手段から送出された前記印刷され
るデータ中の制御コード、文字コードを解析し、ページ
中の位置を割り出し、罫線文字が存在した場合は、割り
出された位置の座標指定罫線のコードに種類別に変換
し、それぞれ前記太線1倍バッファ、前記太線2倍バッ
ファ、前記細線1倍バッファ、前記細線2倍バッファに
格納し、罫線文字以外の制御コード、文字コードを、前
記罫線文字抜き出し済みデータバッファに格納し、改ペ
ージが発生したら前記合成手段を呼び出す前記解析手段
と、前記解析手段からの呼び出しにしたがって前記太線
1倍バッファ、前記太線2倍バッファ、前記細線1倍バ
ッファ、前記細線2倍バッファ内の前記座標指定罫線の
コード、前記罫線文字抜き出し済みデータバッファ内の
前記制御コード、および前記罫線文字以外の文字コード
を前記変換データとして、前記ディスパッチ手段に送出
する合成手段とを備える前記罫線制御命令変換手段と、 (c)前記入力装置からの前記印刷されるデータを調
べ、指定された前記印刷装置において罫線文字が印刷可
能であるかどうか解析し、印刷不可能な場合、前記罫線
制御命令変換手段に前記印刷されるデータを送出し、前
記罫線制御命令変換手段により送出された前記変換デー
タを指定された前記印刷装置に送出する前記ディスパッ
チ手段と、 を有することを特徴とする罫線処理装置。
1. An input device comprising: an input device; a dispatch unit; one or more printing devices; and a ruled line control command conversion unit. (A) The input device for inputting data to be printed and sending the data to the dispatch unit. (B) analysis means, a thick line 1x buffer, and a thick line 2x buffer
, A thin line 1x buffer, a thin line 2x buffer, and a rule
It has a data buffer with line characters extracted, and a combining means.
The printed data sent from the dispatching means.
Analyze control codes and character codes in data
The middle position, and if there is a ruled line character,
Converted to the code of the specified position coordinate ruled line by type
And the thick line 1 × buffer and the thick line 2 × buffer, respectively.
To the thin line 1x buffer and the thin line 2x buffer
Store and store control codes and character codes other than
Store the data in the data buffer from which ruled line characters have been extracted, and
The analyzing means for calling the synthesizing means when a page is generated
And the bold line according to the call from the analysis means.
1x buffer, 2x thick line buffer, 1x thin line buffer
Buffer, the coordinate designation ruled line in the thin line double buffer.
Code, the data in the data buffer
Character code other than the control code and the ruled line character
As the conversion data to the dispatching means.
Said borders control command converting means and a synthesizing means for analyzes whether border characters can be printed in the printing device examines the data, which is designated to be the printing from (c) said input device, printing If not possible, the dispatching means for sending the data to be printed to the ruled line control command converting means, and sending the converted data sent by the ruled line control command converting means to the designated printing device; A ruled line processing device comprising:
【請求項2】 入力装置と、ディスパッチ手段と、1台
以上の印刷装置と、解析手段、太線1倍バッファ、太線
2倍バッファ、細線1倍バッファ、細線2倍バッファ、
罫線文字抜き出し済みデータバッファ、および合成手段
を備える罫線制御命令変換手段とを有する罫線処理装置
のための罫線処理方法であって、前記解析 手段に (a)前記ディスパッチ手段からの印刷するデータが制
御コードかどうか判定させる第1のステップと、 (b)前記第1のステップで制御コードであると判定さ
れた場合に制御コードによる位置解析を行わせる第2の
ステップと、 (c)前記第1のステップで制御コードであると判定さ
れた場合に改ページが発生したかどうか判定させる第3
のステップと、 (d)前記第3のステップで改ページが発生したと判定
された場合に前記合成手段を呼び出させる第4のステッ
プと、 (e)前記第1のステップで制御コードであると判定さ
れた場合に制御コードを前記罫線文字抜き出し済みデー
タバッファに出力させる第5のステップと、 (f)前記ディスパッチ手段からの印刷するデータが文
字コードかどうか判定させる第6のステップと、 (g)前記第6のステップで文字コードであると判定さ
れた場合に罫線文字かどうか判定させる第7のステップ
と、 (h)前記第7のステップで罫線文字と判定された場合
に各種罫線の種別を判定させる第8のステップと、 (i)前記各種罫線文字から座標指定罫線のコードを作
成してそれぞれの対応する前記太線1倍バッファ、太線
2倍バッファ、細線1倍バッファ、細線2倍バッファに
出力させる第9のステップと、 (j)罫線文字の抜けを埋める制御コードを作成し、前
記罫線文字抜き出し済みデータバッファに出力させる第
10のステップと、 (k)前記第7のステップで罫線文字以外の文字である
と判定された場合に罫線文字以外の文字コードを前記罫
線文字抜き出し済みデータバッファに出力させる第11
のステップとを含むことを特徴とする罫線処理方法。
2. An input device, dispatch means, and one unit
The above printing apparatus, analysis means, thick line 1x buffer, thick line
2x buffer, 1x thin line buffer, 2x thin line buffer,
Ruled line character extracted data buffer and combining means
Rule processing device having rule control command conversion means provided with
(A) controlling the data to be printed from the dispatching means by the analyzing means;
A first step of determining whether the code is a control code ; and (b) determining that the control code is a control code in the first step.
The position analysis by the control code when the
And (c) determining that the control code is the control code in the first step.
Third to determine whether a page break has occurred if a page break has occurred
And (d) determining that a page break has occurred in the third step
A fourth step for calling the synthesizing means when the
Is determined and flop, and a control code (e) the first step
If the control code is
A fifth step of outputting to the data buffer;
A sixth step of determining whether the character code is a character code; and (g) determining that the character code is determined in the sixth step.
7th step to determine if it is a ruled line character
If, when it is determined that the ruled line character (h) the seventh step
An eighth step of determining the type of each ruled line, and (i) creating a code for a coordinate designation ruled line from the various ruled line characters.
The corresponding thick line 1x buffer and the thick line
2x buffer, 1x thin line buffer, 2x thin line buffer
A ninth step of outputting, and (j) creating a control code to fill in the missing of the ruled line character,
No. to be output to the data buffer where the ruled line characters have been extracted
Step 10; and (k) characters other than the ruled line characters in the seventh step.
Character code other than the ruled line character
Eleventh to output to line buffer extracted data buffer
And a step of processing a ruled line.
【請求項3】 入力装置と、ディスパッチ手段と、1台
以上の印刷装置と、解析手段、太線1倍バッファ、太線
2倍バッファ、細線1倍バッファ、細線2倍バッファ、
罫線文字抜き出し済みデータバッファ、および合成手段
を備える罫線制御命令変換手段とを有する罫線処理装置
のための罫線処理方法であって、前記合成 手段に、 (a)前記太線1倍バッファ、前記太線2倍バッファ、
前記細線1倍バッファ、前記細線2倍バッファ内に各種
座標指定罫線のコードが格納されているかどうか判定さ
せるステップ第1のステップと、 (b)前記第1のステップで前記各種座標指定罫線が格
納されていると判定された場合に、前記各種座標指定罫
線の制御コードを作成させる第2のステップと、 (c)作成された座標指定罫線の制御コードを前記ディ
スパッチ手段に出力させる第3のステップと、 (d)前記罫線文字抜き出し済みデータバッファ内に罫
線文字以外の文字コードおよび制御コードが作成されて
いるかどうか判定させる第4のステップと、 (e)前記第4のステップで罫線文字以外の文字コード
および制御コードが作成されていると判定された場合に
この罫線文字以外の文字コードおよび制御コードを前記
ディスパッチ手段に出力させる第5のステップと、 (f)前記太線1倍バッファ、前記太線2倍バッファ、
前記細線1倍バッファ、前記細線2倍バッファ、前記罫
線文字抜き出し済みデータバッファの内容を消去させる
第6のステップとを含む ことを特徴とする罫線処理方
法。
3. An input device, a dispatching device, one or more printing devices, an analyzing device, a thick line 1 time buffer, a thick line 2 time buffer, a thin line 1 time buffer, a thin line 2 time buffer,
A ruled line processing method for a ruled line processing device having a ruled line character extracted data buffer and a ruled line control command converting means including a synthesizing means , wherein the synthesizing means includes: (a) the thick line single buffer, the thick line 2 Double buffer,
Various types in the thin line 1x buffer and the thin line 2x buffer
Determines whether the code of the coordinate specification rule is stored
A first step step of, (b) wherein the various coordinates specified border in the first step is rated
If it is determined that the coordinates are
Wherein the second step of creating a control code for a line, the control code coordinates specified border created (c) Di
A third step of outputting the Supatchi means, (d) ruffled on the ruled line character extraction Data buffer
Character codes and control codes other than line characters are created
A fourth step of determining whether or not there is a character code other than a ruled line character in the fourth step;
And it is determined that the control code has been created
Character codes and control codes other than the ruled line characters
A fifth step of causing the dispatch means to output, (f) the thick line 1x buffer, the thick line 2x buffer,
The thin line 1 time buffer, the thin line 2 time buffer, the ruled line
Delete the contents of the line buffer extracted data buffer
And a sixth step .
【請求項4】 入力装置と、ディスパッチ手段と、1台
以上の印刷装置と、解析手段、太線1倍バッファ、太線
2倍バッファ、細線1倍バッファ、細線2倍バッファ、
罫線文字抜き出し済みデータバッファ、および合成手段
を備える罫線制御命令変換手段とを有する罫線処理装置
のための罫線処理方法であって、前記解析手段に (a)前記ディスパッチ手段からの印刷するデータが制
御コードかどうか判定させる第1のステップと、 (b)前記第1のステップで制御コードであると判定さ
れた場合に制御コードによる位置解析を行わせる第2の
ステップと、 (c)前記第1のステップで制御コードであると判定さ
れた場合に改ページが発生したかどうか判定させる第3
のステップと、 (d)前記第3のステップで改ページが発生したと判定
された場合に前記合成手段を呼び出させる第4のステッ
プと、 (e)前記第1のステップで制御コードであると判定さ
れた場合に制御コードを前記罫線文字抜き出し済みデー
タバッファに出力させる第5のステップと、 (f)前記ディスパッチ手段からの印刷するデータが文
字コードかどうか判定させる第6のステップと、 (g)前記第6のステップで文字コードであると判定さ
れた場合に罫線文字かどうか判定させる第7のステップ
と、 (h)前記第7のステップで罫線文字と判定された場合
に各種罫線の種別を判定させる第8のステップと、 (i)前記各種罫線文字から座標指定罫線のコードを作
成してそれぞれの対応する前記太線1倍バッファ、太線
2倍バッファ、細線1倍バッファ、細線2倍バッファに
出力させる第9のステップと、 (j)罫線文字の抜けを埋める制御コードを作成し、前
記罫線文字抜き出し済みデータバッファに出力させる第
10のステップと、 (k)前記第7のステップで罫線文字以外の文字である
と判定された場合に罫線文字以外の文字コードを前記罫
線文字抜き出し済みデータバッファに出力させる第11
のステップとを含むプログラムを記録することを特徴と
する記録媒体。
4. An input device, a dispatching unit, one or more printing devices, an analyzing unit, a thick line 1 time buffer, a thick line 2 time buffer, a thin line 1 time buffer, a thin line 2 time buffer,
A ruled line processing method for a ruled line processing device having a ruled line character extracted data buffer and a ruled line control command conversion unit including a synthesizing unit, wherein (a) data to be printed from the dispatching unit is controlled by the analyzing unit.
A first step of determining whether the code is a control code ; and (b) determining that the control code is a control code in the first step.
The position analysis by the control code when the
And (c) determining that the control code is the control code in the first step.
Third to determine whether a page break has occurred if a page break has occurred
And (d) determining that a page break has occurred in the third step
A fourth step for calling the synthesizing means when the
Is determined and flop, and a control code (e) the first step
If the control code is
A fifth step of outputting to the data buffer;
A sixth step of determining whether the character code is a character code; and (g) determining that the character code is determined in the sixth step.
7th step to determine if it is a ruled line character
If, when it is determined that the ruled line character (h) the seventh step
An eighth step of determining the type of each ruled line, and (i) creating a code for a coordinate designation ruled line from the various ruled line characters.
The corresponding thick line 1x buffer and the thick line
2x buffer, 1x thin line buffer, 2x thin line buffer
A ninth step of outputting, and (j) creating a control code to fill in the missing of the ruled line character,
No. to be output to the data buffer where the ruled line characters have been extracted
Step 10; and (k) characters other than the ruled line characters in the seventh step.
Character code other than the ruled line character
Eleventh to output to line buffer extracted data buffer
Recording a program including the steps of:
Recording medium.
【請求項5】 入力装置と、ディスパッチ手段と、1台
以上の印刷装置と、解析手段、太線1倍バッファ、太線
2倍バッファ、細線1倍バッファ、細線2倍バッファ、
罫線文字抜き出し済みデータバッファ、および合成手段
を備える罫線制御命令変換手段とを有する罫線処理装置
のための罫線処理方法であって、前記合成手段に、 (a)前記太線1倍バッファ、前記太線2倍バッファ、
前記細線1倍バッファ、前記細線2倍バッファ内に各種
座標指定罫線のコードが格納されているかどうか判定さ
せるステップ第1のステップと、 (b)前記第1のステップで前記各種座標指定罫線が格
納されていると判定された場合に、前記各種座標指定罫
線の制御コードを作成させる第2のステップと、 (c)作成された座標指定罫線の制御コードを前記ディ
スパッチ手段に出力させる第3のステップと、 (d)前記罫線文字抜き出し済みデータバッファ内に罫
線文字以外の文字コード および制御コードが作成されて
いるかどうか判定させる第4のステップと、 (e)前記第4のステップで罫線文字以外の文字コード
および制御コードが作成されていると判定された場合に
この罫線文字以外の文字コードおよび制御コードを前記
ディスパッチ手段に出力させる第5のステップと、 (f)前記太線1倍バッファ、前記太線2倍バッファ、
前記細線1倍バッファ、前記細線2倍バッファ、前記罫
線文字抜き出し済みデータバッファの内容を消去させる
第6のステップと を含むプログラムを記録することを特
徴とする記録媒体。
5. An input device, a dispatching unit, one or more printing devices, an analyzing unit, a thick line 1 time buffer, a thick line 2 time buffer, a thin line 1 time buffer, a thin line 2 time buffer,
A ruled line processing method for a ruled line processing device having a ruled line character extracted data buffer and a ruled line control command converting means including a synthesizing means , wherein the synthesizing means includes: (a) the thick line single buffer, the thick line 2 Double buffer,
Various types in the thin line 1x buffer and the thin line 2x buffer
Determines whether the code of the coordinate specification rule is stored
A first step step of, (b) wherein the various coordinates specified border in the first step is rated
If it is determined that the coordinates are
Wherein the second step of creating a control code for a line, the control code coordinates specified border created (c) Di
A third step of outputting the Supatchi means, (d) ruffled on the ruled line character extraction Data buffer
Character codes and control codes other than line characters are created
A fourth step of determining whether or not there is a character code other than a ruled line character in the fourth step;
And it is determined that the control code has been created
Character codes and control codes other than the ruled line characters
A fifth step of causing the dispatch means to output, (f) the thick line 1x buffer, the thick line 2x buffer,
The thin line 1 time buffer, the thin line 2 time buffer, the ruled line
Delete the contents of the line buffer extracted data buffer
A recording medium for recording a program including the sixth step .
JP10094236A 1998-04-07 1998-04-07 Ruled line processing device, ruled line processing method, and recording medium for recording program Expired - Fee Related JP3033731B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10094236A JP3033731B2 (en) 1998-04-07 1998-04-07 Ruled line processing device, ruled line processing method, and recording medium for recording program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10094236A JP3033731B2 (en) 1998-04-07 1998-04-07 Ruled line processing device, ruled line processing method, and recording medium for recording program

Publications (2)

Publication Number Publication Date
JPH11291585A JPH11291585A (en) 1999-10-26
JP3033731B2 true JP3033731B2 (en) 2000-04-17

Family

ID=14104681

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10094236A Expired - Fee Related JP3033731B2 (en) 1998-04-07 1998-04-07 Ruled line processing device, ruled line processing method, and recording medium for recording program

Country Status (1)

Country Link
JP (1) JP3033731B2 (en)

Also Published As

Publication number Publication date
JPH11291585A (en) 1999-10-26

Similar Documents

Publication Publication Date Title
JPH0552274B2 (en)
JP2000118054A (en) Printer and method for reducing amount of consumption of toner
JP2007526683A (en) On-demand printing of coding patterns
JP3033731B2 (en) Ruled line processing device, ruled line processing method, and recording medium for recording program
US5345518A (en) Pattern generator
JP4087911B2 (en) Ruled line creation device and ruled line creation method
JP2783601B2 (en) Information processing device
JPS6321158A (en) Printer output device
JPS6361690B2 (en)
JP4259670B2 (en) Multi-font printing system, printing method, and recording medium on which unified character code-compatible fonts used therein are recorded
JPS59201870A (en) Printer
JP4362499B2 (en) Print processing system, print processing method, and program
JP3408110B2 (en) Printing system, print control device, and print control method
JP2798640B2 (en) Ruled line printing control method
JPH08142438A (en) Slip printing method
JPH08132684A (en) Braille block copy output system and braille block copy outputting method
JPH0713996A (en) Character recognizing device
JPH0560876B2 (en)
JP2001219614A (en) System and method for controlling print
JPH1191185A (en) Printing control method
JPH0434946B2 (en)
JPH1091709A (en) Document printing method and system
JPH0736641A (en) Document editing device
JPS5931731B2 (en) Print information processing method
JPH02311894A (en) Document preparing device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000111

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees