JPH0621978B2 - Print control device - Google Patents

Print control device

Info

Publication number
JPH0621978B2
JPH0621978B2 JP60091507A JP9150785A JPH0621978B2 JP H0621978 B2 JPH0621978 B2 JP H0621978B2 JP 60091507 A JP60091507 A JP 60091507A JP 9150785 A JP9150785 A JP 9150785A JP H0621978 B2 JPH0621978 B2 JP H0621978B2
Authority
JP
Japan
Prior art keywords
data
input
command
registration
repeat
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
JP60091507A
Other languages
Japanese (ja)
Other versions
JPS61249133A (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.)
KASHIO DENSHI KOGYO KK
KASHIO KEISANKI KK
Original Assignee
KASHIO DENSHI KOGYO KK
KASHIO KEISANKI KK
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KASHIO DENSHI KOGYO KK, KASHIO KEISANKI KK filed Critical KASHIO DENSHI KOGYO KK
Priority to JP60091507A priority Critical patent/JPH0621978B2/en
Publication of JPS61249133A publication Critical patent/JPS61249133A/en
Publication of JPH0621978B2 publication Critical patent/JPH0621978B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は,プリンタ等の印字制御装置に関するものであ
る。
TECHNICAL FIELD OF THE INVENTION The present invention relates to a print control device such as a printer.

〔従来技術〕[Prior art]

レーザビームプリンタや液晶プリンタのような高速で印
字できるプリンタでは印字速度(所定時間内に何枚の印
字が出来るか)はホストコンピュータからの印字データ
の転送スピードに左右される。そこで同一内容の印字デ
ータを繰り返し転送することを避けるために,例えば同
一のわく組み内の印字データを変えて何度も表を作成す
る場合等には,前もって1ページ内の表のわく組みを登
録(記憶)しておき,印字の際にはオーバーラップを指
定するコマンドと実際に印字するためのデータを1ペー
ジ分送ることにより,1ページ分のわく組みとデータを
重ね書きして印字するいわゆるフォームオーバーレイが
行われている。
In a printer capable of high-speed printing such as a laser beam printer or a liquid crystal printer, the printing speed (how many sheets can be printed within a predetermined time) depends on the transfer speed of print data from the host computer. Therefore, in order to avoid repeatedly transferring the print data of the same content, for example, when creating a table many times by changing the print data in the same frame, the table frame within one page should be set in advance. It is registered (stored), and when printing, the command to specify the overlap and the data for actual printing are sent by one page, and the frame and data for one page are overwritten and printed. So-called form overlay is performed.

〔従来技術の問題点〕[Problems of conventional technology]

しかしながら,上述のフォームオーバーレイは1ページ
毎にデータを重ね書きして印字するので,同一の表であ
ってもページ内の異なる場所に作成するためには別途登
録する必要があり,またサイズが多少でも異なる表を作
成するにはやはり別途登録する必要があり登録したデー
タの汎用性が無いという欠点を有している。
However, the above form overlay prints data by overwriting it page by page, so even if the same table is created, it needs to be registered separately in order to create it in different places on the page, and the size may vary. However, in order to create a different table, it is still necessary to register separately, and there is a drawback that the registered data is not versatile.

〔発明の目的〕[Object of the Invention]

本発明は上記従来の欠点に鑑み,印字の際共通に用いら
れる同じような印字データをホストコンピュータが何度
もプランタに送る無駄をなくし,前もって送った共通デ
ータの汎用性を増加させた印字制御装置を提供すること
を目的とするものである。
In view of the above-mentioned conventional drawbacks, the present invention eliminates the waste of the host computer repeatedly sending similar print data commonly used in printing to the planter, and increases the versatility of common data sent in advance. The purpose is to provide a device.

〔発明の要点〕[Main points of the invention]

上記目的は本発明によれば、所望の形状のフォームを印
刷するために最低限必要となる基本的な部分パターンの
発生を指定する部分パターン発生指定データを複数種類
組合わせてなるフォーム発生情報を記憶登録するフォー
ム記憶手段と、上位機器から入力するフォーム選択指定
情報に応じて対応する前記フォーム発生情報を前記フォ
ーム記憶手段から読み出す読み出し手段と、上位機器か
ら入力する前記部分パターンの繰り返し回数情報に応じ
て前記部分パターン発生指定データを指定された回数出
力するリピート制御手段と、前記読み出し手段又はリピ
ート制御手段より出力された前記部分パターン発生指定
データに基づき対応するパターンデータを発生するパタ
ーンデータ発生部とを備えたことを特徴とする印字制御
装置を提供することにより達成される。
According to the present invention, the above object is to provide form generation information that is a combination of a plurality of types of partial pattern generation designation data that specifies the generation of a basic partial pattern that is the minimum required to print a form of a desired shape. Form storage means for storing and registering, read means for reading out the form generation information corresponding to the form selection designation information input from the host device, and repeat count information of the partial pattern input from the host device. A repeat control means for outputting the partial pattern generation designation data according to a designated number of times, and a pattern data generation section for generating corresponding pattern data based on the partial pattern generation designation data output from the reading means or the repeat control means. And a print control device provided with It is achieved by.

〔発明の実施例〕Example of Invention

以下本発明の実施例について図面を参照しながら詳述す
る。第1図(a)は本発明の印字制御装置の回路ブロック
図であり,同図(b)はその要部を示す具体的回路ブロッ
ク図である。同図(a)において,インターフェイス部1
は上位機器としての外部のホストコンピュータ等からの
文字データと制御データよりなる印字データの入力制御
を行うものであり,ポストコンピュータから入力した印
字データは一旦インターフェイス部1に接続される通信
バッファ2に記憶される。通信バッファ2に入力する印
字データが所定量以上となるとイターフェイス部1を介
して登録制御部3及びリピート制御部5に印字データを
出力する。この時、読み出し手段としての登録制御部3
はインターフェイス部1より入力する制御データに含ま
れる登録を指定するコマンドと登録されたデータの実行
を指定するコマンドに応じてフオーム記憶手段としての
登録領域4へのデータの書き込みと読み出しを行う。一
方、リピート制御手段としてのリピート制御部5は登録
領域4より読み出されたデータの一部をリピートバッフ
ァ6に記憶し,記憶したデータを所定回数繰り返して読
み出しを行う。登録領域4より読み出されたデータ及び
リピートバッファ6より読み出されるデータに他のデー
タが置きかえられることを定義するコマンドが含まれて
いる時はイターフェイス部1より入力するデータに置き
かえてパターンデータ発生部としての通常解析部7へ出
力する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 (a) is a circuit block diagram of the print control device of the present invention, and FIG. 1 (b) is a specific circuit block diagram showing the main part thereof. In the figure (a), the interface unit 1
Is for controlling the input of print data consisting of character data and control data from an external host computer or the like as a host device, and print data input from the post computer is temporarily stored in the communication buffer 2 connected to the interface unit 1. Remembered. When the print data input to the communication buffer 2 exceeds a predetermined amount, the print data is output to the registration control unit 3 and the repeat control unit 5 via the interface unit 1. At this time, the registration control unit 3 as a reading means
Performs writing and reading of data to and from the registration area 4 as a form storage unit in response to a command specifying registration included in the control data input from the interface unit 1 and a command specifying execution of the registered data. On the other hand, the repeat control unit 5 as the repeat control means stores a part of the data read from the registration area 4 in the repeat buffer 6, and repeats the stored data a predetermined number of times to read it. When the data read from the registration area 4 and the data read from the repeat buffer 6 include a command that defines that other data is to be replaced, pattern data is generated by replacing the data input from the interface unit 1. Output to the normal analysis unit 7 as a unit.

通常解析部7ではコマンドの解析,及び文字データであ
る文字コードを文字パターン(ドットパターン)に変換
し,印字実行部8へ出力し,印字実行部8は通常解析部
7の出力するドットパターンデータに従って用紙に印字
を行い画像を作成する。
The normal analysis unit 7 analyzes the command and converts the character code, which is character data, into a character pattern (dot pattern) and outputs it to the print execution unit 8. The print execution unit 8 outputs the dot pattern data output from the normal analysis unit 7. Follow the steps to print on paper and create an image.

またリピート制御部5は同図(b)に示す如く,入力管理
部5a,コマンド解析部5b,フラグ管理5c,カウン
タ管理部5d,バッファ管理部5eにより構成され,入
力管理部5aは図示しない制御信号によりインターフェ
イス部1又は登録制御部3より入力するデータを選択
し,コマンド解析部5b及びバッファ管理部5eに出力
する。コマンド解析部5bでは入力するデータ中の特定
のコマンドを抽出,解析すると共にフラグレジスタで構
成されるフラグ管理部5cのデータに応じたフラグ情報
を出力し,カウンタ管理部5dにカウンタの制御データ
を出力する。一方,バッファ管理部5eは登録領域4に
記憶されるフォーム発生情報としての登録データの入出
力管理を行う。
Further, the repeat control unit 5 is composed of an input management unit 5a, a command analysis unit 5b, a flag management unit 5c, a counter management unit 5d, and a buffer management unit 5e, as shown in FIG. Data input from the interface unit 1 or the registration control unit 3 is selected by a signal and output to the command analysis unit 5b and the buffer management unit 5e. The command analysis unit 5b extracts and analyzes a specific command in the input data, outputs flag information corresponding to the data of the flag management unit 5c configured by a flag register, and outputs counter control data to the counter management unit 5d. Output. On the other hand, the buffer management unit 5e manages input / output of registration data as form generation information stored in the registration area 4.

以上の如く構成された本発明の印字制御装置において,
本実施例に用いる上述の制御データに含まれる特有のコ
マンドは以下の表に示すような構成とする。
In the print control device of the present invention configured as described above,
The peculiar commands included in the above-mentioned control data used in this embodiment are configured as shown in the following table.

ここで登録開始コマンドとは上表の (1B)16 mbとCRに
はさまれた名前を登録名とし,この登録名を例えば,登
録終了コマンドまでのデータによって作成される作図の
名称とし,さらに登録開始コマンドは登録開始の命令と
する。また登録終了コマンドは上述の作図の登録終了命
令である。
Here, the registration start command is the name sandwiched between (1B) 16 mb and CR in the table above as the registration name, and this registration name is the name of the drawing created by the data up to the registration end command. The registration start command is a registration start command. The registration end command is the registration end command for the above-mentioned drawing.

被置換情報としてのパラメータ定義コマンドは登録開始
コマンド以下の登録データ内に存在し,登録領域4に登
録されたデータを実行する際,他のデータとおきかえら
れることを意味するコマンドである。
The parameter definition command as the information to be replaced exists in the registration data below the registration start command, and means that when the data registered in the registration area 4 is executed, it is replaced with other data.

フォーム選択指定情報としての実行コマンドは登録領域
4に登録されたデータを読み出して実行を開始するため
のコマンドであり,この際上述の登録された名前を指定
して行われる。実行コマンドに後続する置換情報として
のパラメータ1、パラメータ2,パラメータ3,・・・
のデータは登録されたデータに含まれるパラメータ定義
コマンドと順次置きかえられるデータである。
The execution command as the form selection designation information is a command for reading the data registered in the registration area 4 and starting the execution, and at this time, it is performed by designating the registered name. Parameter 1, parameter 2, parameter 3, ... as replacement information following the execution command
Data is data that is sequentially replaced with the parameter definition command included in the registered data.

リピート開始コマンドとリピート終了コマンドとは,リ
ピート開始コマンドとリピート終了コマンド間のデータ
をバッファリングし,そのデータを読み出す際にリピー
ト開始コマンドとCRの間で指定される数値に応じて繰
り返して読み出すものである。
The repeat start command and the repeat end command buffer the data between the repeat start command and the repeat end command, and when the data is read, it is repeatedly read according to the numerical value specified between the repeat start command and CR. Is.

また,各コマンドに用いられる記号(1B)16はJISC−
6225で定めるESC(エスケープ)であり次に続く1文
字あるいは複数の文字(例えばmb,me,mp,r
b,re等)に特定の意味を持たせる制御文字である。
The symbol (1B) 16 used for each command is JISC-
ESC (escape) defined by 6225, followed by one or more characters (eg mb, me, mp, r
b, re, etc.) are control characters that have a specific meaning.

以上のような構成の本発明の印字制御装置において,上
述の制御データを用いて,例えば,第2図(a)に示す登
録データを登録領域4へ登録する場合について第3図
(a)のフローチャートを用いて説明する。
FIG. 3 shows a case in which the registration data shown in FIG. 2 (a) is registered in the registration area 4 by using the above-mentioned control data in the print control apparatus of the present invention having the above-mentioned configuration.
This will be described using the flowchart of (a).

外部のホストコンピュータ等から入力した印字データは
上述の如く通信バッファ2に一旦入力した後,インター
フェイス部1を介して登録制御部3に入力し,通常の印
字入力データ処理(ステップ1)が実行される。この時
入力データ中に登録開始コマンド〔 (1B)16 mb名前C
R〕が含まれていなければ{ステップ2がノー(以下N
で示す)ならば},後述する実行コマンドが印字データ
中に含まれるかの判断(ステップ7)に進む。一方,入
力データ中に登録開始コマンドが含まれていれば{ステ
ップ2がイエス(以下Yで示す)であれば}名前を登録
領域4に登録する。ここでは例えばこの名前をABCと
する(ステップ3)。この登録開始コマンドに続く入力
データは実際の登録内容を含むデータであるので上述と
同様順次印字データ入力処理(ステップ4)を行い,登
録終了コマンドであるか否かを判断(ステップ5)した
後,入力データを登録し(ステップ6)登録終了コマン
ド〔 (1B)16 me〕が入力するまでステップ4〜ステップ
6を繰り返し、部分パターン発生指定データとしての を登録領域4に登録する。
The print data input from an external host computer or the like is once input to the communication buffer 2 as described above, and then input to the registration control unit 3 via the interface unit 1 to execute the normal print input data processing (step 1). It At this time, the registration start command [(1B) 16 mb name C is included in the input data.
R] is not included, {step 2 is NO (hereinafter N
If shown), then the process proceeds to the determination (step 7) whether an execution command described later is included in the print data. On the other hand, if the input data includes a registration start command {if step 2 is yes (hereinafter Y)) then the name is registered in the registration area 4. Here, for example, this name is ABC (step 3). Since the input data following this registration start command is the data containing the actual registration contents, the print data input processing (step 4) is performed in the same manner as described above, and after it is judged whether it is a registration end command (step 5) , Input data is registered (step 6), and steps 4 to 6 are repeated until the registration end command [(1B) 16 me] is input. Is registered in the registration area 4.

登録終了コマンドが入力すると(ステップ5がYとなる
と),ステップ1にもどり実行コマンドの入力を持つ。
When the registration end command is input (when step 5 becomes Y), the process returns to step 1 and the execution command is input.

以上のようにしてABCという名前の登録データが登録
領域4に記憶されたことになり,次にこの登録データを
読み出して利用する際の動作を以下に示す。
As described above, the registration data named ABC is stored in the registration area 4, and the operation when the registration data is read out and used next is shown below.

実行コマンドが入力しない間にインターフェイス部1を
介して入力する印字データは後述するリピート解析処理
(ステップ9)され,通常解析部7,印字実行部8を介
して用紙に印字が行われる。
The print data input through the interface unit 1 while the execution command is not input is subjected to repeat analysis processing (step 9) described later, and is printed on the paper through the normal analysis unit 7 and the print execution unit 8.

ここで実行コマンドが入力すると(ステップ7において
Y),名前が登録されているか判断し(ステップ8),
登録されていなければ,順次,次のデータがインターフ
ェイス部1より入力するが,この時上述のようにABC
という名前の登録データが登録領域4に記憶(登録)さ
れ,しかも登録データの内容も登録されているため(ス
テップ10がY),登録領域4から登録データを登録制
御部3を介してリピート制御部5に入力し(ステップ1
1),リピート解析処理(ステップ12)を行う。
When the execution command is input here (Y in step 7), it is judged whether the name is registered (step 8),
If not registered, the next data is input from the interface section 1 in sequence. At this time, as described above, ABC
Since the registration data with the name is stored (registered) in the registration area 4 and the content of the registration data is also registered (Y in step 10), the registration data from the registration area 4 is repeat-controlled via the registration control unit 3. Enter in Part 5 (Step 1
1), repeat analysis processing (step 12) is performed.

ステップ9,ステップ12のリピート解析処理は第3図
(b)に示すフローチャートで処理される。ここで実行デ
ータを第2図(b)に示すデータとする。登録領域4より
順次登録してあるデーアをリピート制御部5に入力して
いる間に,リピーノ開始コマンド〔 (1B)16 rb〕が入力
しない間は(ステップ13がN),後述するフラグAが
オンか否か判断し(ステップ14),フラグAがオンで
ないので通常解析,すなわち登録領域4から読み出した
データを通常解析部7で文字コードをパターンデータ等
に変換し,印字実行部8により用紙に印字を行う(ステ
ップ15)。ももで用紙に印字が行われる具体的部分は
第4図(a)に示す領域Iである。
The repeat analysis process in steps 9 and 12 is shown in FIG.
It is processed by the flowchart shown in (b). Here, the execution data is the data shown in FIG. 2 (b). While the data sequentially registered from the registration area 4 is being input to the repeat control unit 5, while the repeater start command [(1B) 16 rb] is not input (step 13 is N), the flag A described later is set. It is judged whether or not it is on (step 14), and since the flag A is not on, normal analysis is performed, that is, the data read from the registration area 4 is converted by the normal analysis section 7 into a character code and the like, and the print execution section 8 prints it. Is printed (step 15). The specific portion where printing is performed on the paper with the peach is the area I shown in FIG. 4 (a).

次に登録データ中のリピート開始コマンドがリピート制
御部5へ読み出されると(ステップ13がY),前述の
フラグ管理部5c内のフラグA及びBをオン(ステップ
16,17)する。従ってリピート開始コマンドの次の
データが入力すると(ステップ11),リピート開始コ
マンドでないことが判断され(ステップ13がN),フ
ラグAのオン及びBのオンが判断され(ステップ14が
Y,ステップ18がY),パラメータ定義コマンドか否
かの判断に進む(ステップ19)。リピート開始コマン
ドの次のデータは後述の繰り返し回数を指定するデータ
であり,登録の際に繰り返し回数を固定しておきたい場
合には実際の数値とし,繰り返し回数を実行の際に決定
したい場合にはパラメータ定義コマンドとしておく。
Next, when the repeat start command in the registration data is read to the repeat control unit 5 (Y in step 13), the flags A and B in the flag management unit 5c are turned on (steps 16 and 17). Therefore, when the next data of the repeat start command is input (step 11), it is judged that the command is not the repeat start command (N in step 13), and it is judged whether the flag A is on or B is on (step 14 is Y, step 18). Is Y), the process proceeds to the judgment as to whether or not it is a parameter definition command (step 19). The data following the repeat start command is the data that specifies the number of repeats described below. If you want to keep the number of repeats fixed at the time of registration, use the actual value, and if you want to determine the number of repeats at the time of execution. Is a parameter definition command.

本例では第2図(a)に示す如く,リピート開始コマンド
の直後にパラメータ定義コマンドが入力し,パラメータ
定義コマンドがリピート制御部5に入力すると(ステッ
プ19がY),印字データの入力が行われる(ステップ
20)。つまりここで回数の指定がパラメータ定義コマ
ンドであるため,パラメータ定義コマンドと実行コマン
ドに続くデータとの置き換えを行うものであり,ここで
は1つのパラメータ定義コマンドに対してカンマで区切
られたデータが置きかわる。すなわち,入力したデータ
がカンマか否かを判断し(ステップ21),カンマでな
ければそのデータをカウンターにセットし(ステップ2
2),カンマが入力するまでステップ20,21,22
を繰り返す。
In this example, as shown in FIG. 2 (a), when the parameter definition command is input immediately after the repeat start command and the parameter definition command is input to the repeat control unit 5 (Y in step 19), the print data is input. (Step 20). In other words, since the number of times specified here is the parameter definition command, the parameter definition command and the data following the execution command are replaced. Here, data separated by commas is placed for one parameter definition command. Change That is, it is determined whether the input data is a comma (step 21), and if it is not a comma, the data is set in the counter (step 2).
2), Steps 20, 21, 22 until a comma is entered
repeat.

本例ではカンマで区切られたデータは3であるので,前
述のカウンタ管理部5dに3をセットする。
In this example, the data delimited by commas is 3, so 3 is set in the counter management unit 5d.

次に第2図(b)に示すごとく実行データの3の次にカン
マが入力するためステップ21はYであり再度ステップ
10にもどり,ステップ10はYであるので登録領域か
らデータを入力する(ステップ11)。
Next, as shown in FIG. 2 (b), since a comma is input next to the execution data 3, step 21 is Y and the process returns to step 10 again. Since step 10 is Y, data is input from the registration area ( Step 11).

入力するデータはCRであるのでステップ13はN,ス
テップ14はY,ステップ18はY,ステップ19は
N,ステップ23はYでありフラグBはオフされる(S
T26)。
Since the data to be input is CR, step 13 is N, step 14 is Y, step 18 is Y, step 19 is N, step 23 is Y, and the flag B is turned off (S
T26).

このようにしてフラグA,BがオンされフラグBがオフ
される間に後述する繰り返し回数に関するカウンタのセ
ットが行われる。
In this way, while the flags A and B are turned on and the flag B is turned off, a counter for the number of repetitions described later is set.

尚,上述の実施例ではリピート開始コマンドの次のデー
タがパラメータ定義コマンドであったが,パラメータ定
義コマンドではなく実際の数値が与えられている際には
ステップ19はNであるため上述のデータの置き換え
(印字データ入力)は行われず,ステップ24によって
カウンタのセットが行われる。フラグBがオフされると
(ステップ26),さらにST10にもどりST10は
Yであるので登録領域からデータを入力する。入力する
データは|であるのでステップ13,ステップ14,ス
テップ18,ステップ27を介してステップ28により
バッファリング(記憶)される。同様に“| (1B)16 mp
|・・・CR LF”の各データが順次リピートバッフ
ァ6にバッファリングされる。
In the above-described embodiment, the data next to the repeat start command is the parameter definition command, but when the actual numerical value is given instead of the parameter definition command, step 19 is N, so The replacement (print data input) is not performed, and the counter is set in step 24. When the flag B is turned off (step 26), the process returns to ST10 and ST10 is Y, so data is input from the registration area. Since the input data is |, it is buffered (stored) by step 28 through step 13, step 14, step 18, and step 27. Similarly, “| (1B) 16 mp
Each data of | ... CR LF ”is sequentially buffered in the repeat buffer 6.

次にリピート終了コマンド〔(1B)16re〕が入力すると,
(ステップ27がY),フラグAをオフし(ステップ2
9),上述の入力したリピートバッファ6のデータの先
頭のバッファを指定し(ステップ30),この時バッフ
ァされたデータの最初のデータは“|”でありリピート
バッファ6には当然データを有するため(ステップ31
がY),バッファ管理部5eよりバッファリングしたデ
ータを読み出す(ステップ32)。また,パラメータ定
義コマンドでもないため(ステップ33がN),通常解
析され(ステップ34),次にリピートバッファの次の
データを入力する。
Next, when the repeat end command [(1B) 16 re] is input,
(Step 27: Y), the flag A is turned off (Step 2
9), the first buffer of the data of the input repeat buffer 6 is designated (step 30), and the first data of the buffered data at this time is "|", and the repeat buffer 6 naturally has data. (Step 31
Y), the buffered data is read from the buffer management unit 5e (step 32). Further, since it is not a parameter definition command (N in step 33), it is normally analyzed (step 34), and next data in the repeat buffer is input.

次のデータは,パラメータ定義コマンド 〔 (1B)16 mb〕でありステップ31,32を介してステ
ップ33はYであり,第2図(b)の印字データ“1”を
入力する(ステップ35)。入力したデータがカンマで
あるか否かを判別し(ステップ36),当然カンマでな
いので,通常解析し(ステップ37),次の印字データ
“2”を入力し,カンマが入力するまで繰り返す。つま
りここではリピートバッファ6にバッファリングされた
パラメータ定義コマンドとカンマで区切られた印字デー
タとを置きかえる動作を行う。以下同様に|は通常解析
され(ステップ34),パラメータ定義コマンドは印字
データの“3”に置きかえられて通常解析され(ステッ
プ37),さらに|,CR(復帰),LF(改行)が通
常解析される(ステップ34)。すなわち,第4図(a)
に示す領域IIの印字動作を行う。バッファのデータが無
くなると(ステップ31はN)カウンタの値を判断し
(ステップ38)1でなければ値を減算しステップ30
へもどる。
The next data is the parameter definition command [(1B) 16 mb], the step 33 is Y through the steps 31 and 32, and the print data “1” of FIG. 2 (b) is input (step 35). . It is determined whether or not the input data is a comma (step 36). Since it is not a comma, it is analyzed normally (step 37), the next print data "2" is input, and the process is repeated until a comma is input. That is, here, the operation of replacing the parameter definition command buffered in the repeat buffer 6 and the print data separated by commas is performed. Similarly, | is normally analyzed (step 34), the parameter definition command is replaced with "3" of the print data and is normally analyzed (step 37), and |, CR (return) and LF (line feed) are normally analyzed. (Step 34). That is, Fig. 4 (a)
The printing operation for area II shown in is performed. When there is no data in the buffer (N in step 31), the value of the counter is judged (step 38) and if not 1, the value is subtracted and step 30
Go back.

以下順次バッファリングされたパラメータ定義コマンド
以外のデータが通常解析され,第2図(b)に示す
“4”,“5”,“6”,“7”,“8”,“9”,が
パラメータ定義コマンドと置き換えられ,第4図(a)に
示す領域III,IVの印字動作を行い,この間カウンタ管
理部5dの内容を判断し(ステップ 38),カウンタ
の内容が1より大きければ各領域を印字すると共に順次
減算し同様の動作をカウンタの内容(n)=1となるま
で繰り返す。
The data other than the parameter definition commands that have been sequentially buffered are normally analyzed below, and "4", "5", "6", "7", "8", "9" shown in FIG. Replaced with the parameter definition command, the printing operation of the areas III and IV shown in FIG. 4 (a) is performed. During this time, the contents of the counter management unit 5d are judged (step 38). If the contents of the counter are larger than 1, each area Is printed and is sequentially subtracted, and the same operation is repeated until the counter content (n) = 1.

n=1となれば,登録領域より読み出される後続データ を順次通常解析し(ステップ15),登録領域4からの
データが無いことを判断して(ステップ10がN),実
行コマンド動作を終了する。すなわち,登録領域4より
読み出された 以後のデータによって第4図(a)の領域Vが印字され,
従って,実行コマンド動作終了後には同図(a)に示すよ
うな表と表中に数字1〜9を同図の如く印字した画像を
作成することができる。
If n = 1, the subsequent data read from the registration area Are sequentially analyzed normally (step 15), it is judged that there is no data from the registration area 4 (N in step 10), and the execution command operation is ended. That is, it was read from the registration area 4. Area V in Fig. 4 (a) is printed by the following data,
Therefore, after the execution command operation is completed, it is possible to create a table as shown in FIG. 9A and an image in which the numbers 1 to 9 are printed in the table as shown in FIG.

さらに,第2図(b)の再度の実行コマンドが入力された
として同様に作表することができることは勿論であり,
この時実行コマンド中の数字1〜9は他の数字に置き換
えて印字でき,パラメータ定義コマンドに置き換えるこ
とのできるものは数字に限らず第4図(b)に示すごとく
カタカナでも良く,同図に示すごとく繰り返し回数を3
回から4回に繰り返し,領域を増加することもできる。
Furthermore, it is of course possible to tabulate similarly if the re-execution command of FIG. 2 (b) is input,
At this time, the numbers 1 to 9 in the execution command can be printed by replacing them with other numbers, and what can be replaced by the parameter definition command is not limited to numbers, but may be katakana as shown in FIG. 4 (b). Repeat 3 times as shown
The area can be increased by repeating from four times to four times.

以上の如く本実施例によれば,同一の印字を繰り返す表
の作成,及び表に限らず,繰り返しの多い同一文章,記
号,マーク等を容易に印字作成することができる。従っ
て,従来のように同一データを印字する際,本実施例の
登録領域4に対応する記憶部に多くのデータを記憶する
必要がなく,記憶部の容量を小さくできると共に,デー
タ処理速度が向上する。
As described above, according to the present embodiment, it is possible to easily create a table in which the same printing is repeated, and not only the table but also the same sentences, symbols, marks, etc., which are frequently repeated, can be easily printed. Therefore, when printing the same data as in the conventional case, it is not necessary to store a large amount of data in the storage unit corresponding to the registration area 4 of the present embodiment, the capacity of the storage unit can be reduced, and the data processing speed can be improved. To do.

〔発明の効果〕〔The invention's effect〕

以上詳細に説明したように本発明によれば,ホストコン
ピュータから印字制御装置へ送るデータの量が少なくな
ることにより印字スピードを増加させることができると
ともに,前もって送る登録データの汎用性が増すため登
録のための記憶容量が少なくて済むという利点を有して
いる。
As described in detail above, according to the present invention, the printing speed can be increased by reducing the amount of data sent from the host computer to the print control device, and the versatility of the registration data sent in advance increases, so that the registration can be performed. Has the advantage that it requires less storage capacity.

【図面の簡単な説明】 第1図(a),(b)は本発明の印字制御装置の回路ブロック
図, 第2図(a)は登録データの構成図, 第2図(b)は実行データの構成図, 第3図(a),(b)はフローチャート図, 第4図(a),(b)は作表の構成図である。 1……インターフェイス, 2……通信バッファ, 3……登録制御部, 4……登録領域, 5……リピート制御部, 6……リピートバッファ, 7……通常解析部, 8……印字実行部.
BRIEF DESCRIPTION OF THE DRAWINGS FIGS. 1 (a) and 1 (b) are circuit block diagrams of a print control device of the present invention, FIG. 2 (a) is a configuration diagram of registration data, and FIG. 2 (b) is execution. Data configuration diagram, FIGS. 3 (a) and 3 (b) are flowchart diagrams, and FIGS. 4 (a) and 4 (b) are configuration diagrams of tabulation. 1 ... Interface, 2 ... Communication buffer, 3 ... Registration control unit, 4 ... Registration area, 5 ... Repeat control unit, 6 ... Repeat buffer, 7 ... Normal analysis unit, 8 ... Print execution unit .

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】所望の形状のフォームを印刷するために最
低限必要となる基本的な部分パターンの発生を指定する
部分パターン発生指定データを複数種類組合わせてなる
フォーム発生情報を記憶登録するフォーム記憶手段と、 上位機器から入力するフォーム選択指定情報に応じて対
応する前記フォーム発生情報を前記フォーム記憶手段か
ら読み出す読み出し手段と、 上位機器から入力する前記部分パターンの繰り返し回数
情報に応じて前記部分パターン発生指定データを指定さ
れた回数出力するリピート制御手段と、 前記読み出し手段又はリピート制御手段より出力された
前記部分パターン発生指定データに基づき対応するパタ
ーンデータを発生するパターンデータ発生部とを備えた
ことを特徴とする印字制御装置。
1. A form for storing and registering form generation information, which is a combination of a plurality of types of partial pattern generation designation data for designating the generation of a basic partial pattern which is the minimum necessary for printing a form of a desired shape. Storage means; reading means for reading out the form generation information corresponding to the form selection designation information input from the host device from the form storage means; and the part according to the number of times of repeating the partial pattern input from the host device. A repeat control means for outputting the pattern generation designation data a designated number of times; and a pattern data generation section for generating the corresponding pattern data based on the partial pattern generation designation data output from the reading means or the repeat control means. A printing control device characterized by the above.
【請求項2】前記部分パータン発生指定データは被置換
情報を含み、前記読み出し手段又はリピート制御手段よ
り出力された前記部分パターン発生指定データに含まれ
る前記被置換情報と上位機器から入力する置換情報と置
換して前記パターンデータ発生部に出力する置換制御手
段を有することを特徴とする特許請求の範囲第1項記載
の印字制御装置。
2. The partial pattern generation designation data includes replacement information, and the replacement information included in the partial pattern generation designation data output from the reading unit or the repeat control unit and replacement information input from a higher-level device. 3. The print control device according to claim 1, further comprising a replacement control unit that replaces and outputs the replacement data to the pattern data generator.
JP60091507A 1985-04-26 1985-04-26 Print control device Expired - Fee Related JPH0621978B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60091507A JPH0621978B2 (en) 1985-04-26 1985-04-26 Print control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60091507A JPH0621978B2 (en) 1985-04-26 1985-04-26 Print control device

Publications (2)

Publication Number Publication Date
JPS61249133A JPS61249133A (en) 1986-11-06
JPH0621978B2 true JPH0621978B2 (en) 1994-03-23

Family

ID=14028320

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60091507A Expired - Fee Related JPH0621978B2 (en) 1985-04-26 1985-04-26 Print control device

Country Status (1)

Country Link
JP (1) JPH0621978B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63221063A (en) * 1987-03-10 1988-09-14 Casio Comput Co Ltd Printing apparatus
JPH0628022B2 (en) * 1989-02-09 1994-04-13 セイコー電子工業株式会社 Character / graphic output device
JP2612937B2 (en) * 1989-06-14 1997-05-21 株式会社テック Printing device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5771082A (en) * 1980-10-22 1982-05-01 Pentel Kk Method and device for processing ruled-line output
JPS6135982A (en) * 1984-07-28 1986-02-20 Ricoh Co Ltd Printing processing apparatus

Also Published As

Publication number Publication date
JPS61249133A (en) 1986-11-06

Similar Documents

Publication Publication Date Title
US5878198A (en) Information processing apparatus and method and memory medium storing information processing program
JPH0688432B2 (en) Kanji printer controller
US6594405B1 (en) Method and apparatus for preprinted forms completion
JPH0621978B2 (en) Print control device
KR100449694B1 (en) Printing method for selectively printing header/footer, and signature or user information, and controlling device thereof
JP2713707B2 (en) Character output device
KR940003636B1 (en) Label printing method using dot printer
JP2744025B2 (en) Printing control device
JP2616669B2 (en) Brush typeface creation system
JP2595086B2 (en) Output control device and ruled line generation method
JPH05143250A (en) Printer
JPS63242561A (en) Font reducing system
JP2715475B2 (en) Graphic output device
JPH03136164A (en) Method and system for document processing
JPH08132684A (en) Braille block copy output system and braille block copy outputting method
JPS6320621A (en) Editing printer
JPH04111116A (en) Character processor
JPH06320801A (en) Printer
JPH04120141U (en) printer device
JPH01228875A (en) Printer
JPH04242474A (en) Document preparing device
JPH06119152A (en) Specification generating device
JPH05135020A (en) Document processor
JPH05281946A (en) Method and device for character output
JPH0462084A (en) Printer

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees