JPH10297030A - Method and sytem for processing print data, and computer readable recordig medium having program for operating computer as print data processing system recorded therein - Google Patents

Method and sytem for processing print data, and computer readable recordig medium having program for operating computer as print data processing system recorded therein

Info

Publication number
JPH10297030A
JPH10297030A JP10988297A JP10988297A JPH10297030A JP H10297030 A JPH10297030 A JP H10297030A JP 10988297 A JP10988297 A JP 10988297A JP 10988297 A JP10988297 A JP 10988297A JP H10297030 A JPH10297030 A JP H10297030A
Authority
JP
Japan
Prior art keywords
data
label
print data
print
determination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10988297A
Other languages
Japanese (ja)
Other versions
JP3726420B2 (en
Inventor
Yuji Sumiya
裕司 角谷
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP10988297A priority Critical patent/JP3726420B2/en
Publication of JPH10297030A publication Critical patent/JPH10297030A/en
Application granted granted Critical
Publication of JP3726420B2 publication Critical patent/JP3726420B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Digital Computer Display Output (AREA)
  • User Interface Of Digital Computer (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To notify the time required before completing a conversion processing accurately to a user by counting label data distributed to a print data when a processing for converting a print data into a writing data is being executed thereby recongnizing the progress of conversion processing accurately. SOLUTION: A print data inserted with each label data and label number data through label insertion processing of a computer 110 is outputted through the I/F circuit 14 of the computer 110 toward a printer 120. A print data outputted from the computer 110 is inputted through the host I/F circuit 24 of the printer 120 to the control section 20 thereof. The control section 20 of the printer 120 starts a conversion processing program stored in an ROM 22 to execute a processing for converting a print data inputted from the computer 110 into a writing data. The writing data is a data corresponding to pixels being printed on a printing medium, e.g. a paper.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えば、プリンタ
装置を含むコンピュータシステムまたはプリンタ装置等
に用いて好適な印刷データ処理システムおよび方法並び
にコンピュータを印刷データ処理システムとして機能さ
せるためのプログラムを記録したコンピュータ読み取り
可能な記録媒体に関する技術分野に属し、さらに詳しく
は、文字および図形を印刷するため印刷データを、印刷
媒体上に印刷する画素に対応した描画データに変換する
印刷データ処理システムおよび方法並びにコンピュータ
を印刷データ処理システムとして機能させるためのプロ
グラムを記録したコンピュータ読み取り可能な記録媒体
に関する技術分野に属する。
The present invention relates to a print data processing system and method suitable for, for example, a computer system including a printer device or a printer device, and a program for causing a computer to function as a print data processing system. A print data processing system and method for converting print data for printing characters and graphics into drawing data corresponding to pixels to be printed on a print medium Belongs to a technical field related to a computer-readable recording medium on which a program for causing a computer to function as a print data processing system is recorded.

【0002】[0002]

【従来の技術】文字および図形からなる文書を紙等の印
刷媒体上に印刷して出力するには、例えば、パーソナル
コンピュータ等のコンピュータとプリンタ装置とを接続
することによって構成されるコンピュータシステム、ま
たは、ワードプロセッサのようにコンピュータとプリン
タ装置とが一体化したコンピュータシステム等が用いら
れる。
2. Description of the Related Art In order to print a document composed of characters and figures on a print medium such as paper and output the same, for example, a computer system constructed by connecting a computer such as a personal computer and a printer, or A computer system in which a computer and a printer device are integrated like a word processor is used.

【0003】このようなコンピュータシステムにおいて
は、コンピュータ側で文書を作成し、この文書を、文字
および図形を印刷するための印刷データとして、コンピ
ュータからプリンタ装置に向けて出力する。そして、プ
リンタ装置側では、コンピュータから出力された印刷デ
ータを読み取り、その印刷データを、紙等に印刷する画
素に対応した描画データ(例えば、ビットマップデー
タ)に変換し、紙等に印刷する。
In such a computer system, a document is created on the computer side, and this document is output from a computer to a printer as print data for printing characters and figures. The printer reads the print data output from the computer, converts the print data into drawing data (for example, bitmap data) corresponding to pixels to be printed on paper or the like, and prints the data on paper or the like.

【0004】さらに詳しく説明すると、一般に、プリン
タ装置によって印刷処理される印刷データは、例えばペ
ージ記述言語によって記述されており、主に文字および
図形を印刷するための複数の制御コマンドを配列するこ
とにより構成されている。一方、プリンタ装置には、印
刷データを描画データに変換するための変換処理を行う
機能(例えば、変換処理プログラム)が備えられてお
り、この変換処理を行うことにより、前記印刷データ
を、その先頭から末尾に向けて読み込み、印刷データ中
に含まれる制御コマンドを順次描画データに変換する。
More specifically, print data to be printed by a printer device is generally described in, for example, a page description language, and is mainly formed by arranging a plurality of control commands for printing characters and graphics. It is configured. On the other hand, a printer device is provided with a function of performing a conversion process for converting print data into drawing data (for example, a conversion processing program). And the control commands included in the print data are sequentially converted into drawing data.

【0005】ところで、コンピュータから出力される印
刷データのサイズ(データ量)が大きいとき、プリンタ
装置は、前記変換処理を行うために長時間を必要とする
場合がある。このため、当該プリンタ装置を使用してい
るユーザは、プリンタ装置による変換処理が完了するま
で、長時間待たされる場合がある。この結果、ユーザは
プリンタ装置による変換処理が正常に実行されているの
か否か不安を抱くという問題があった。
When the size (data amount) of print data output from a computer is large, the printer may require a long time to perform the conversion process. For this reason, a user using the printer device may wait for a long time until the conversion process by the printer device is completed. As a result, there is a problem that the user is concerned about whether or not the conversion processing by the printer device is normally executed.

【0006】このような問題を解決するために、前記変
換処理の進行状況を表示する機能を備えたプリンタ装置
が、例えば、特開平7−175618号公報等により知
られている。この従来技術によるプリンタ装置は、当該
プリンタ装置に読み込まれた印刷データに含まれる各制
御コマンドのバイト数を計数し、その計数結果と印刷デ
ータ全体のサイズに基づいて印刷処理の進行状況を認識
し、表示するものである。これにより、ユーザは、印刷
処理の進行状況を確認することができ、前記変換処理を
行うための処理時間が長時間に及んでも、印刷処理が正
常に実行されているか否かを知ることができる。
[0006] In order to solve such a problem, a printer device having a function of displaying the progress of the conversion process is known from, for example, Japanese Patent Application Laid-Open No. 7-175618. This conventional printer device counts the number of bytes of each control command included in the print data read by the printer device, and recognizes the progress of the printing process based on the counted result and the size of the entire print data. , To be displayed. This allows the user to check the progress of the printing process, and to know whether or not the printing process is being executed normally even if the processing time for performing the conversion process is long. it can.

【0007】[0007]

【発明が解決しようとする課題】ところで、上述した従
来技術によるプリンタ装置は、当該プリンタ装置に読み
込まれた印刷データに含まれる各制御コマンドのバイト
数を計数し、その計数結果と印刷データ全体のサイズと
に基づいて前記変換処理の進行状況を認識し、表示する
ようにしている。
The printer according to the prior art described above counts the number of bytes of each control command included in the print data read by the printer, and counts the counting result and the entire print data. The progress of the conversion process is recognized and displayed based on the size.

【0008】しかしながら、印刷データに含まれる各制
御コマンドには複数の種類があり、1個の制御コマンド
が1単位の描画データに変換される場合と、複数の制御
コマンドの組み合わせが1単位の描画データに変換され
る場合がある。このため、各制御コマンドを描画データ
に変換するのに必要な時間は、制御コマンド毎に異な
る。この結果、上述した従来技術のように、各制御コマ
ンドのバイト数を計数しただけでは、前記変換処理が完
了するまでにかかる時間を正確に認識することができ
ず、変換処理の進行状況をユーザに正確に伝えることが
できないという問題がある。
However, there are a plurality of types of each control command included in the print data. One control command is converted into one unit of drawing data, and the other is a combination of a plurality of control commands in one unit of drawing data. May be converted to data. For this reason, the time required to convert each control command into drawing data differs for each control command. As a result, as in the prior art described above, it is not possible to accurately recognize the time required for completing the conversion process by simply counting the number of bytes of each control command, and to determine the progress of the conversion process by the user. There is a problem that can not be accurately communicated.

【0009】また、印刷データに含まれる制御コマンド
の一種として、繰り返しコマンドが存在する。この繰り
返しコマンドは、「指定した範囲の一組の制御コマンド
を指定回数繰り返せ」という、いわゆるループ処理を命
令するものである。印刷データ中に繰返しコマンドが含
まれると、繰り返しコマンドにより指定された一組の制
御コマンドに関する変換処理が繰り返しコマンドの指定
回数分だけ繰り返されるため、変換処理に必要な処理時
間は繰り返しコマンドの指定回数に応じて倍増する。こ
の結果、上述した従来技術のように、各制御コマンドの
バイト数を計数しただけでは、繰り返しコマンドによっ
て繰り返される処理時間を認識することができないた
め、変換処理が完了するまでにかかる時間を正確に認識
することができないという問題がある。
[0009] As a kind of control command included in the print data, there is a repetition command. This repetition command instructs a so-called loop process of “repeat a set of control commands in a specified range a specified number of times”. If a repeat command is included in the print data, the conversion process for a set of control commands specified by the repeat command is repeated the number of times specified by the repeat command, so the processing time required for the conversion process is the number of times the repeat command is specified Double according to. As a result, as in the above-described prior art, the processing time repeated by the repetition command cannot be recognized only by counting the number of bytes of each control command. There is a problem that it cannot be recognized.

【0010】さらに、上述した従来技術では、繰り返し
コマンドにより変換処理が繰り返されている間は、制御
コマンドの計数が停止した状態である。このため、上述
した従来技術では、繰り返しコマンドにより変換処理が
繰り返されている間は、変換処理が正常に進行している
のか否かを認識することができない。この結果、繰り返
しコマンドにより変換処理が繰り返されている間に、変
換処理に異常が生じ、プリンタ装置がハングアップして
も、ユーザはその事実を知ることが困難であるという問
題がある。
Further, in the above-described conventional technique, while the conversion process is being repeated by the repetition command, the control command counting is stopped. For this reason, in the above-described conventional technique, it is not possible to recognize whether or not the conversion processing is normally performed while the conversion processing is repeated by the repetition command. As a result, while the conversion process is being repeated by the repetition command, an error occurs in the conversion process, and even if the printer hangs up, there is a problem that it is difficult for the user to know the fact.

【0011】本発明は上述した従来技術の問題に鑑みな
されたもので、印刷データを描画データに変換する変換
処理が完了するまでの時間を正確に認識することがで
き、前記変換処理の進行状況を正確に伝えることができ
る印刷データ処理システムおよび方法並びにコンピュー
タを印刷データ処理システムとして機能させるためのプ
ログラムを記録したコンピュータ読み取り可能な記録媒
体を提供することを目的としている。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems of the related art, and can accurately recognize a time required for completing a conversion process of converting print data into drawing data. It is an object of the present invention to provide a print data processing system and method capable of accurately transmitting information, and a computer-readable recording medium on which a program for causing a computer to function as a print data processing system is recorded.

【0012】[0012]

【課題を解決するための手段】上述した課題を解決する
ために、請求項1の発明は、文字および図形を印刷する
ための複数の制御コマンドを含む印刷データを、印刷媒
体上に印刷する画素に対応した描画データに変換する印
刷データ処理システムであって、印刷データを受け取る
受取手段と、受取手段により受け取られた印刷データに
含まれる各制御コマンドの間にラベルデータを挿入する
ラベルデータ挿入手段と、ラベルデータ挿入手段により
ラベルデータが挿入された印刷データを記憶する印刷デ
ータ記憶手段と、印刷データ記憶手段により記憶された
印刷データを、この印刷データの先頭から末尾に向けて
読み込む読込手段と、読込手段により読み込まれた印刷
データが制御コマンドであるかまたはラベルデータであ
るかを判定する判定手段と、判定手段により判定した結
果、印刷データが制御コマンドであるときには、この制
御コマンドを描画データに変換する変換手段と、判定手
段により判定した結果、印刷データがラベルデータであ
るときには、このラベルデータを計数するラベルデータ
計数手段と、ラベルデータ計数手段によるラベルデータ
の計数結果を出力する出力手段とを備えたことを特徴と
している。
According to a first aspect of the present invention, there is provided a method for printing a print data including a plurality of control commands for printing characters and graphics on a print medium. A print data processing system for converting print data into drawing data corresponding to the print data, and label data insertion means for inserting label data between control commands included in the print data received by the print data. And print data storage means for storing print data into which label data has been inserted by the label data insertion means, and reading means for reading the print data stored by the print data storage means from the beginning to the end of the print data. And determining whether the print data read by the reading means is a control command or label data. Means for converting the control command into drawing data when the print data is a control command as a result of the determination by the determination means; and a label when the print data is label data as a result of the determination by the determination means. A label data counting means for counting data and an output means for outputting a label data counting result by the label data counting means are provided.

【0013】かかる請求項1の発明によれば、受取手段
は、例えば、ワードプロセッサ等によって生成された印
刷データを受け取り、ラベル挿入手段は、この印刷デー
タに含まれる複数の制御コマンドの間にラベルデータを
挿入し、印刷データ記憶手段は、ラベルデータが挿入さ
れた印刷データを記憶媒体に記憶する。これにより、各
制御コマンド間に複数のラベルデータが分散配置された
印刷データが生成される。
According to the first aspect of the present invention, the receiving means receives the print data generated by, for example, a word processor or the like, and the label inserting means operates the label data between a plurality of control commands included in the print data. And the print data storage means stores the print data with the label data inserted in the storage medium. As a result, print data in which a plurality of label data are distributed between the control commands is generated.

【0014】ここで、ラベルデータとは、例えば1バイ
トまたは1ワード程度の比較的サイズの小さいデータで
あり、印刷データを描画データに変換する変換処理を実
行しても、描画データに変換されることがない単なる識
別子(ラベル)として機能するデータである。
Here, the label data is data having a relatively small size of, for example, about 1 byte or 1 word, and is converted into drawing data even when a conversion process for converting print data into drawing data is executed. It is data that functions as a mere identifier (label) without any data.

【0015】さらに、読込手段は、前記記憶媒体に記憶
された印刷データを、その先頭から末尾に向けて順次読
み込み、判定手段は、読み込まれた印刷データが制御コ
マンドであるかラベルデータであるかを判定する。その
結果、読み込まれた印刷データが制御コマンドのときに
は、変換手段により、この制御コマンドを描画データに
変換する。一方、読み込まれた印刷データがラベルデー
タであるときには、ラベル計数手段により、ラベルデー
タを計数する。そして、出力手段は、ラベル計数手段に
よるラベルデータの計数結果を、例えば、表示装置、音
声発生装置、またはこれらの機能を有するコンピュータ
等に出力する。
Further, the reading means sequentially reads the print data stored in the storage medium from the beginning to the end thereof, and the determining means determines whether the read print data is a control command or label data. Is determined. As a result, when the read print data is a control command, the control means converts the control command into drawing data. On the other hand, when the read print data is label data, the label data is counted by the label counting means. Then, the output unit outputs the counting result of the label data by the label counting unit to, for example, a display device, a sound generating device, or a computer having these functions.

【0016】これにより、各制御コマンドを描画データ
に変換する変換処理の進行度を、ラベルデータの計数結
果に基づいて、ユーザに報知することができる。特に、
ラベルデータは、印刷データ中の各制御コマンド間に分
散配置されているため、印刷データ中の各制御コマンド
を順次読み込んで描画データに変換する変換処理の過程
において、ラベルデータは所定の短い時間置きに順次読
み込まれて計数される。従って、ラベルデータの計数結
果によって、前記変換処理の進行度を正確に認識するこ
とができる。
Thus, the user can be notified of the progress of the conversion process for converting each control command into drawing data, based on the counting result of the label data. Especially,
Since the label data is distributed among the control commands in the print data, in the process of sequentially reading each control command in the print data and converting the control command into the drawing data, the label data is stored for a predetermined short time. Are sequentially read and counted. Therefore, the progress of the conversion process can be accurately recognized based on the label data count result.

【0017】請求項2の発明は、文字および図形を印刷
するための複数の制御コマンドを含む印刷データを、印
刷媒体上に印刷する画素に対応した描画データに変換す
る印刷データ処理システムであって、印刷データを受け
取る受取手段と、受取手段により受け取られた印刷デー
タに含まれる各制御コマンドの間にラベルデータを挿入
するラベルデータ挿入手段と、ラベルデータ挿入手段に
より挿入したラベルデータの総数を表すラベル数データ
を印刷データに挿入するラベル数データ挿入手段と、ラ
ベルデータ挿入手段によりラベルデータが挿入され、か
つ、ラベル数データ挿入手段によりラベル数データが挿
入された印刷データを記憶する印刷データ記憶手段と、
印刷データ記憶手段により記憶された印刷データを、こ
の印刷データの先頭から末尾に向けて読み込む読込手段
と、読込手段により読み込まれた印刷データが制御コマ
ンド、ラベルデータおよびラベル数データのうち、いず
れであるかを判定する判定手段と、判定手段により判定
した結果、印刷データが制御コマンドであるときには、
この制御コマンドを前記描画データに変換する変換手段
と、判定手段により判定した結果、印刷データがラベル
データであるときには、このラベルデータを計数するラ
ベルデータ計数手段と、判定手段により判定した結果、
印刷データがラベル数データであるときには、このラベ
ル数データを記憶するラベル数データ記憶手段と、ラベ
ルデータ計数手段によるラベルデータの計数結果を、ラ
ベル数データ記憶手段に記憶されたラベル数データに関
連させて出力する出力手段とを備えたことを特徴として
いる。
According to a second aspect of the present invention, there is provided a print data processing system for converting print data including a plurality of control commands for printing characters and graphics into drawing data corresponding to pixels to be printed on a print medium. Receiving means for receiving print data, label data inserting means for inserting label data between control commands included in the print data received by the receiving means, and the total number of label data inserted by the label data inserting means. Label number data inserting means for inserting label number data into print data, and print data storage for storing print data with label data inserted by label data inserting means and label number data inserted by label number data inserting means Means,
A read unit that reads the print data stored by the print data storage unit from the beginning to the end of the print data; and a print command that is read by the read unit is any of a control command, label data, and label number data. When the print data is a control command as a result of the determination by the determination unit and the determination unit,
A conversion unit that converts the control command into the drawing data, and a result determined by the determination unit, when the print data is label data, a label data counting unit that counts the label data, and a result determined by the determination unit,
When the print data is the label number data, the label number data storage means for storing the label number data and the label data counting result by the label data counting means are associated with the label number data stored in the label number data storage means. And output means for outputting.

【0018】かかる請求項2の発明によれば、ラベル数
データ挿入手段は、ラベル挿入手段によって印刷データ
中に挿入された各ラベルデータの総数を表すラベル数デ
ータを印刷データ中に挿入する。そして、判定手段は、
読込手段によって読み込まれた印刷データが制御コマン
ド、ラベルデータおよびラベル数データのうち、いずれ
であるか判定し、その結果、読み込まれた印刷データが
制御コマンドであるときには、制御コマンドを描画デー
タに変換し、読み込まれた印刷データがラベルデータで
あるときには、このラベルデータを計数する。一方、読
み込まれた印刷データがラベル数データであるときに
は、ラベル数データ記憶手段がそのラベル数データを記
憶媒体に記憶する。そして、出力手段は、ラベルデータ
計数手段によるラベルデータの計数結果を、前記記憶媒
体に記憶されたラベル数データに関連させて出力する。
これにより、ラベルデータの計数結果とラベル数データ
に基づいて、印刷データ中の制御コマンドを描画データ
に変換する変換処理の進行度を容易かつ正確に出力する
ことができる。
According to the second aspect of the present invention, the label number data inserting means inserts the label number data representing the total number of the respective label data inserted into the print data by the label inserting means into the print data. And the determination means is:
Determine whether the print data read by the reading unit is a control command, label data, or label number data, and if the read print data is a control command, convert the control command into drawing data. If the read print data is label data, the label data is counted. On the other hand, when the read print data is the label number data, the label number data storage means stores the label number data in the storage medium. Then, the output means outputs the counting result of the label data by the label data counting means in association with the label number data stored in the storage medium.
This makes it possible to easily and accurately output the progress of the conversion process for converting the control command in the print data into the drawing data based on the label data count result and the label number data.

【0019】請求項3の発明は、請求項1または2に記
載の印刷データ処理システムであって、ラベルデータ挿
入手段により、制御コマンドの所定数毎にラベルデータ
を挿入する構成としたことを特徴としている。
According to a third aspect of the present invention, there is provided the print data processing system according to the first or second aspect, wherein the label data inserting means inserts label data every predetermined number of control commands. And

【0020】かかる請求項3の発明によれば、制御コマ
ンドの所定数毎にラベルデータを挿入する構成とするこ
とにより、印刷データ処理システムの処理が遅くなるの
を防止でき、かつ、変換処理の進行度の正確性を維持す
ることができる。即ち、印刷データ中の各制御コマンド
間に挿入するラベルデータの個数が多すぎると、ラベル
データ挿入手段によるラベルデータの挿入処理またはラ
ベルデータ計数手段によるラベルデータの計数処理等の
負担が過大となり、これらの処理の遅延を招く場合があ
る。一方、印刷データ中の各制御コマンド間に挿入する
ラベルデータの個数が少なすぎると、ラベルデータ計数
手段によるラベルデータの計数の実行回数が少なくな
り、変換処理の進行度の正確性が低下する。
According to the third aspect of the present invention, since the label data is inserted every predetermined number of control commands, it is possible to prevent the processing of the print data processing system from being delayed, and to perform the conversion processing. Accuracy of progress can be maintained. That is, if the number of label data inserted between each control command in the print data is too large, the load of the label data insertion processing by the label data insertion means or the label data counting processing by the label data counting means becomes excessive. These processes may be delayed. On the other hand, if the number of label data inserted between each control command in the print data is too small, the number of times label data is counted by the label data counting means is reduced, and the accuracy of the conversion process is reduced.

【0021】また、前記「所定数」は、印刷データ処理
システムの処理が遅くなるのを防止でき、かつ、変換処
理の進行度の正確性を維持できるように、例えば印刷デ
ータに含まれる制御コマンドの総数と印刷データに挿入
するラベルデータの総数とに基づいて決定する。
The "predetermined number" is, for example, a control command included in the print data so as to prevent the processing of the print data processing system from delaying and to maintain the accuracy of the conversion process. And the total number of label data to be inserted into the print data.

【0022】請求項4の発明は、請求項1,2または3
に記載の印刷データ処理システムであって、ラベルデー
タ挿入手段により、制御コマンド中に繰り返しコマンド
がある場合には、繰り返される制御コマンドに対応させ
てラベルデータを挿入する構成としたことを特徴として
いる。
According to a fourth aspect of the present invention, there is provided the first, second or third aspect.
Wherein the label data insertion means inserts label data in accordance with the repeated control command when the control command includes a repeated command. .

【0023】かかる請求項4の発明によれば、繰り返し
コマンドに対応させてラベルデータが挿入された印刷デ
ータを前記読込手段により読み込み、前記判定手段、変
換手段、ラベル計数手段、および出力手段等を実行す
る。このとき、繰り返しコマンドによって繰り返し処理
が実行され、制御コマンドが描画データに繰り返し変換
されている間でも、繰り返される制御コマンドに対応さ
せて挿入されたラベルデータを計数することができる。
これにより、繰り返しコマンドによって変換処理が繰り
返されている間でも、変換処理が進行していることを認
識でき、変換処理が進行中であることユーザに報知する
ことができる。
According to the fourth aspect of the present invention, the print data in which the label data is inserted in correspondence with the repetition command is read by the reading means, and the determination means, the conversion means, the label counting means, the output means, etc. Run. At this time, the label data inserted corresponding to the repeated control command can be counted even while the control command is repeatedly processed by the repeat command and the control command is repeatedly converted into the drawing data.
Thereby, even while the conversion process is being repeated by the repetition command, it is possible to recognize that the conversion process is in progress, and to notify the user that the conversion process is in progress.

【0024】請求項5の発明は、文字および図形を印刷
するための複数の制御コマンドと、その制御コマンド中
に分散配置されたラベルデータとを含む印刷データを上
位装置から入力し、その印刷データに含まれる制御コマ
ンドを印刷媒体上に印刷する画素に対応した描画データ
に変換する印刷データ処理装置であって、印刷データ
を、この印刷データの先頭から末尾に向けて読み込む読
込手段と、読込手段により読み込まれた印刷データが制
御コマンドであるかまたはラベルデータであるかを判定
する判定手段と、判定手段により判定した結果、印刷デ
ータが制御コマンドであるときには、この制御コマンド
を前記描画データに変換する変換手段と、判定手段によ
り判定した結果、印刷データがラベルデータであるとき
には、このラベルデータを計数するラベルデータ計数手
段と、ラベルデータ計数手段によるラベルデータの計数
結果を出力する出力手段とを備えたことを特徴としてい
る。
According to a fifth aspect of the present invention, print data including a plurality of control commands for printing characters and figures and label data distributed and arranged in the control commands is input from a higher-level device, and the print data is input. A print data processing apparatus for converting control commands included in the print data into drawing data corresponding to pixels to be printed on a print medium, wherein the read means reads the print data from the beginning to the end of the print data; A determination unit that determines whether the print data read by the control unit is a control command or label data; and if the determination unit determines that the print data is a control command, convert the control command to the drawing data. When the print data is label data as a result of the determination by the converting means and the determination means, A label data counting means for counting the data, is characterized in that an output means for outputting a count result of the label data by the label data counting unit.

【0025】かかる請求項5の発明によれば、印刷デー
タ中の制御コマンドを描画データに変換する変換処理の
実行中にラベルデータを計数することにより、変換処理
の進行度を正確に認識でき、変換処理の進行度を正確に
出力することができる。
According to the fifth aspect of the invention, the progress of the conversion process can be accurately recognized by counting the label data during the execution of the conversion process for converting the control command in the print data into the drawing data, The progress of the conversion process can be accurately output.

【0026】請求項6の発明は、文字および図形を印刷
するための複数の制御コマンドを含む印刷データを、印
刷媒体上に印刷する画素に対応した描画データに変換す
る印刷データ処理方法であって、印刷データを受け取る
受取工程と、受取工程により受け取られた印刷データに
含まれる各制御コマンドの間にラベルデータを挿入する
ラベルデータ挿入工程と、ラベルデータ挿入工程により
ラベルデータが挿入された印刷データを記憶する印刷デ
ータ記憶工程と、印刷データ記憶工程により記憶された
印刷データを、この印刷データの先頭から末尾に向けて
読み込む読込工程と、読込工程により読み込まれた印刷
データが制御コマンドであるかまたはラベルデータであ
るかを判定する判定工程と、判定工程により判定した結
果、印刷データが制御コマンドであるときには、この制
御コマンドを前記描画データに変換する変換工程と、判
定工程により判定した結果、印刷データがラベルデータ
であるときには、このラベルデータを計数するラベルデ
ータ計数工程と、ラベルデータ計数工程によるラベルデ
ータの計数結果を出力する出力工程とを備えたことを特
徴としている。
According to a sixth aspect of the present invention, there is provided a print data processing method for converting print data including a plurality of control commands for printing characters and figures into drawing data corresponding to pixels to be printed on a print medium. Receiving the print data, a label data inserting step of inserting label data between control commands included in the print data received by the receiving step, and print data having the label data inserted by the label data inserting step. , A read step of reading the print data stored in the print data from the beginning to the end of the print data, and whether the print data read in the read step is a control command. Or a determination step of determining whether the print data is label data, and as a result of the determination in the determination step, When the print command is a control command, the control command is converted into the drawing data. When the print data is label data, a label data counting step of counting the label data is performed. An output step of outputting a result of counting the label data by the counting step.

【0027】かかる請求項6の発明によれば、受取工程
により、例えばワードプロセッサ等によって生成された
印刷データを受け取り、ラベル挿入工程により、この印
刷データに含まれる複数の制御コマンドの間にラベルデ
ータを挿入し、印刷データ記憶工程により、ラベルデー
タが挿入された印刷データを記憶媒体に記憶する。これ
により、各制御コマンド間に複数のラベルデータが分散
配置された印刷データが生成される。
According to the sixth aspect of the present invention, in the receiving step, print data generated by, for example, a word processor or the like is received, and in the label inserting step, label data is transferred between a plurality of control commands included in the print data. The print data into which the label data has been inserted is stored in the storage medium in the print data storing step by inserting the label data. As a result, print data in which a plurality of label data are distributed between the control commands is generated.

【0028】さらに、読込工程により、前記記憶媒体に
記憶された印刷データを、その先頭から末尾に向けて順
次読み込み、判定手段により、読み込まれた印刷データ
が制御コマンドであるかラベルデータであるかを判定す
る。その結果、読み込まれた印刷データが制御コマンド
のときには、変換工程により、この制御コマンドを描画
データに変換する。一方、読み込まれた印刷データがラ
ベルデータであるときには、ラベル計数工程により、ラ
ベルデータを計数する。そして、出力手段により、ラベ
ルデータの計数結果を、例えば、表示装置、音声発生装
置、またはこれらの機能を有するコンピュータ等に出力
する。これにより、各制御コマンドを描画データに変換
する変換処理の進行度を、ラベルデータの計数結果に基
づいて、ユーザに報知することができる。
Further, in the reading step, the print data stored in the storage medium is sequentially read from the beginning to the end thereof, and the determining means determines whether the read print data is a control command or label data. Is determined. As a result, when the read print data is a control command, the control command is converted into drawing data by a conversion step. On the other hand, when the read print data is label data, the label data is counted in a label counting step. Then, the output means outputs the counting result of the label data to, for example, a display device, a sound generating device, or a computer having these functions. This allows the user to be notified of the progress of the conversion process for converting each control command into drawing data, based on the count result of the label data.

【0029】請求項7の発明は、文字および図形を印刷
するための複数の制御コマンドを含む印刷データを、印
刷媒体上に印刷する画素に対応した描画データに変換す
る印刷データ処理方法であって、印刷データを受け取る
受取工程と、受取工程により受け取られた印刷データに
含まれる各制御コマンドの間にラベルデータを挿入する
ラベルデータ挿入工程と、ラベルデータ挿入工程により
挿入したラベルデータの総数を表すラベル数データを印
刷データに挿入するラベル数データ挿入工程と、ラベル
データ挿入工程によりラベルデータが挿入され、かつ、
ラベル数データ挿入工程によりラベル数データが挿入さ
れた印刷データを記憶する印刷データ記憶工程と、印刷
データ記憶工程により記憶された印刷データを、この印
刷データの先頭から末尾に向けて読み込む読込工程と、
読込工程により読み込まれた印刷データが制御コマン
ド、ラベルデータおよびラベル数データのうち、いずれ
であるかを判定する判定工程と、判定工程により判定し
た結果、印刷データが制御コマンドであるときには、こ
の制御コマンドを描画データに変換する変換工程と、判
定工程により判定した結果、印刷データがラベルデータ
であるときには、このラベルデータを計数するラベルデ
ータ計数工程と、判定工程により判定した結果、印刷デ
ータがラベル数データであるときには、このラベル数デ
ータを記憶するラベル数データ記憶工程と、ラベルデー
タ計数工程によるラベルデータの計数結果を、ラベル数
データ記憶工程に記憶されたラベル数データに関連させ
て出力する出力工程とを備えたことを特徴としている。
According to a seventh aspect of the present invention, there is provided a print data processing method for converting print data including a plurality of control commands for printing characters and figures into drawing data corresponding to pixels to be printed on a print medium. Represents a total number of label data inserted in the label data inserting step, the label data inserting step of inserting label data between control commands included in the print data received in the receiving step, the receiving step of receiving print data, A label number data inserting step of inserting the label number data into the print data, and the label data being inserted by the label data inserting step; and
A print data storing step of storing the print data into which the label number data is inserted by the label number data inserting step; a reading step of reading the print data stored by the print data storing step from the beginning to the end of the print data; ,
A determining step of determining whether the print data read in the reading step is a control command, label data, or label number data; and, if the determination result in the determining step indicates that the print data is a control command, When the print data is label data as a result of the determination in the conversion step of converting the command into drawing data and the determination step, the label data counting step of counting the label data and the determination result in the determination step indicate that the print data is a label. If it is numeric data, the label number data storing step of storing the label number data and the count result of the label data in the label data counting step are output in association with the label number data stored in the label number data storing step. And an output step.

【0030】かかる請求項7の発明による印刷データ処
理方法によれば、ラベル数データ挿入工程で、ラベル挿
入工程によって印刷データ中に挿入された各ラベルデー
タの総数を表すラベル数データを印刷データ中に挿入す
る。そして、判定工程で、読込工程によって読み込まれ
た印刷データが制御コマンド、ラベルデータおよびラベ
ル数データのうち、いずれであるか判定し、その結果、
読み込まれた印刷データがラベル数データであるときに
は、ラベル数データ記憶工程でそのラベル数データを記
憶媒体に記憶する。さらに、出力工程では、ラベルデー
タ計数工程によるラベルデータの計数結果を、前記記憶
媒体に記憶されたラベル数データに関連させて出力す
る。これにより、ラベルデータの計数結果とラベル数デ
ータに基づいて、印刷データ中の制御コマンドを描画デ
ータに変換する変換処理の進行度を容易かつ正確に出力
することができる。
According to the print data processing method of the present invention, in the label number data inserting step, the label number data representing the total number of the respective label data inserted in the print data by the label inserting step is included in the print data. Insert Then, in the determining step, it is determined whether the print data read by the reading step is a control command, label data, or label number data, and as a result,
If the read print data is label number data, the label number data is stored in a storage medium in a label number data storage step. Further, in the output step, the counting result of the label data in the label data counting step is output in association with the label number data stored in the storage medium. This makes it possible to easily and accurately output the progress of the conversion process for converting the control command in the print data into the drawing data based on the label data count result and the label number data.

【0031】請求項8の発明は、文字および図形を印刷
するための複数の制御コマンドを含む印刷データを、印
刷媒体上に印刷する画素に対応した描画データに変換す
る印刷データ処理システムとしてコンピュータを機能さ
せるためのプログラムを記録したコンピュータ読み取り
可能な記録媒体であって、コンピュータを、印刷データ
を受け取る受取手段と、受取手段により受け取られた印
刷データに含まれる各制御コマンドの間にラベルデータ
を挿入するラベルデータ挿入手段と、ラベルデータ挿入
手段によりラベルデータが挿入された印刷データを記憶
する印刷データ記憶手段と、印刷データ記憶手段により
記憶された印刷データを、この印刷データの先頭から末
尾に向けて読み込む読込手段と、読込手段により読み込
まれた印刷データが制御コマンドであるかまたはラベル
データであるかを判定する判定手段と、判定手段により
判定した結果、印刷データが制御コマンドであるときに
は、この制御コマンドを前記描画データに変換する変換
手段と、判定手段により判定した結果、印刷データがラ
ベルデータであるときには、このラベルデータを計数す
るラベルデータ計数手段と、ラベルデータ計数手段によ
るラベルデータの計数結果を出力する出力手段とを備え
たことを特徴とする印刷データ処理システムとして機能
させるものである。
According to the present invention, a computer is provided as a print data processing system for converting print data including a plurality of control commands for printing characters and graphics into drawing data corresponding to pixels to be printed on a print medium. A computer-readable recording medium having recorded thereon a program for causing the computer to operate, wherein the computer inserts label data between receiving means for receiving print data and each control command included in the print data received by the receiving means. Label data insertion means, print data storage means for storing print data into which label data has been inserted by the label data insertion means, and print data stored by the print data storage means for directing the print data from the beginning to the end of the print data. Reading means for reading and print data read by the reading means Determining means for determining whether the command is a control command or label data; as a result of the determination by the determining means, when the print data is a control command, converting means for converting the control command into the drawing data; When the print data is label data as a result of the determination, label data counting means for counting the label data and output means for outputting the label data counting result by the label data counting means are provided. It functions as a print data processing system.

【0032】かかる請求項8の発明によれば、印刷デー
タに含まれる各制御コマンド間にラベルデータを挿入す
ると共に、印刷データを描画データに変換する変換処理
の実行中にラベルデータを計数する。これにより、変換
処理の進行度を正確に出力でき、変換処理の進行度をユ
ーザに正確に報知することができる。
According to the eighth aspect of the present invention, label data is inserted between control commands included in the print data, and the label data is counted during the execution of the conversion process for converting the print data into the drawing data. As a result, the progress of the conversion process can be accurately output, and the progress of the conversion process can be accurately reported to the user.

【0033】請求項9の発明は、文字および図形を印刷
するための複数の制御コマンドを含む印刷データを、印
刷媒体上に印刷する画素に対応した描画データに変換す
る印刷データ処理システムとしてコンピュータを機能さ
せるためのプログラムを記録したコンピュータ読み取り
可能な記録媒体であって、前記コンピュータを、印刷デ
ータを受け取る受取手段と、受取手段により受け取られ
た印刷データに含まれる各制御コマンドの間にラベルデ
ータを挿入するラベルデータ挿入手段と、ラベルデータ
挿入手段により挿入したラベルデータの総数を表すラベ
ル数データを印刷データに挿入するラベル数データ挿入
手段と、ラベルデータ挿入手段によりラベルデータが挿
入され、かつ、ラベル数データ挿入手段によりラベル数
データが挿入された印刷データを記憶する印刷データ記
憶手段と、印刷データ記憶手段により記憶された印刷デ
ータを、この印刷データの先頭から末尾に向けて読み込
む読込手段と、読込手段により読み込まれた印刷データ
が前記制御コマンド、前記ラベルデータおよび前記ラベ
ル数データのうち、いずれであるかを判定する判定手段
と、判定手段により判定した結果、印刷データが制御コ
マンドであるときには、この制御コマンドを前記描画デ
ータに変換する変換手段と、判定手段により判定した結
果、印刷データがラベルデータであるときには、このラ
ベルデータを計数するラベルデータ計数手段と、判定手
段により判定した結果、前記印刷データがラベル数デー
タであるときには、このラベル数データを記憶するラベ
ル数データ記憶手段と、ラベルデータ計数手段によるラ
ベルデータの計数結果を、ラベル数データ記憶手段に記
憶されたラベル数データに関連させて出力する出力手段
とを備えたことを特徴とする印刷データ処理システムと
して機能させるものである。
According to a ninth aspect of the present invention, there is provided a computer as a print data processing system for converting print data including a plurality of control commands for printing characters and figures into drawing data corresponding to pixels to be printed on a print medium. A computer-readable recording medium recording a program for causing the computer to function, the computer comprising: a receiving unit that receives print data; and a label data between respective control commands included in the print data received by the receiving unit. Label data inserting means for inserting, label number data inserting means for inserting label number data representing the total number of label data inserted by the label data inserting means into print data, label data inserted by the label data inserting means, and Label number data is inserted by the label number data insertion means. Print data storage means for storing print data, reading means for reading the print data stored by the print data storage means from the beginning to the end of the print data, and print data read by the read means for transmitting the control command A determination unit that determines which of the label data and the label number data is to be output. When the determination result indicates that the print data is a control command, the conversion unit converts the control command into the drawing data. Means, when the result of the determination by the determination means is that the print data is label data, the label data counting means for counting the label data, and when the result of the determination by the determination means is that the print data is label number data, A label number data storage means for storing label number data; The count result of the label data by the counting means, is intended to function as a print data processing system characterized by comprising an output means for outputting in connection with the label number of data stored in the label number data storage means.

【0034】かかる請求項9の発明によれば、ラベルデ
ータの計数結果とラベル数データに基づいて、印刷デー
タに含まれる制御コマンドを描画データに変換する変換
処理の進行度を容易かつ正確に出力できる。
According to the ninth aspect of the present invention, the progress of the conversion process for converting the control command included in the print data into the drawing data is easily and accurately output based on the counting result of the label data and the label number data. it can.

【0035】請求項10の発明は、文字および図形を印
刷するための複数の制御コマンドと、その制御コマンド
中に分散配置されたラベルデータとを含む印刷データを
上位装置から入力し、その印刷データに含まれる制御コ
マンドを印刷媒体上に印刷する画素に対応した描画デー
タに変換する印刷データ処理装置としてコンピュータを
機能させるためのプログラムを記録したコンピュータ読
み取り可能な記録媒体であって、前記コンピュータを、
印刷データを、この印刷データの先頭から末尾に向けて
読み込む読込手段と、読込手段により読み込まれた印刷
データが制御コマンドであるかまたはラベルデータであ
るかを判定する判定手段と、判定手段により判定した結
果、印刷データが制御コマンドであるときには、この制
御コマンドを描画データに変換する変換手段と、判定手
段により判定した結果、印刷データがラベルデータであ
るときには、このラベルデータを計数するラベルデータ
計数手段と、ラベルデータ計数手段によるラベルデータ
の計数結果を出力する出力手段とを備えたことを特徴と
する印刷データ処理装置として機能させるものである。
According to a tenth aspect of the present invention, print data including a plurality of control commands for printing characters and figures and label data distributed and arranged in the control commands is input from a higher-level device, and the print data is input. A computer-readable recording medium that records a program for causing a computer to function as a print data processing device that converts control commands included in the print data into drawing data corresponding to pixels to be printed on a print medium.
Reading means for reading the print data from the beginning to the end of the print data, determining means for determining whether the print data read by the reading means is a control command or label data, and determining by the determining means As a result, when the print data is a control command, a conversion means for converting the control command into drawing data, and a label data count for counting the label data when the print data is label data as a result of the determination by the determination means. Means, and an output means for outputting a result of counting the label data by the label data counting means.

【0036】かかる請求項10の発明によれば、印刷デ
ータに含まれる制御コマンドを描画データに変換する変
換処理の進行度を正確に出力でき、変換処理の進行度を
ユーザに正確に報知することができる。
According to the tenth aspect, it is possible to accurately output the progress of the conversion process for converting the control command included in the print data into the drawing data, and to accurately inform the user of the progress of the conversion process. Can be.

【0037】[0037]

【発明の実施の形態】次に、本発明の好適な実施の形態
について、図面を参照しつつ説明する。なお、以下の各
実施形態においては、本発明による印刷データ処理シス
テムおよび方法を、上位装置としてのコンピュータと、
このコンピュータに接続されたプリンタ装置とから構成
されるコンピュータシステムに適用した場合を例に挙げ
て説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, a preferred embodiment of the present invention will be described with reference to the drawings. In each of the following embodiments, a print data processing system and method according to the present invention are described as a computer as a host device,
An example in which the present invention is applied to a computer system including a printer connected to the computer will be described.

【0038】(I)第1の実施形態 まず、本発明の第1の実施形態によるコンピュータシス
テムの全体構成について、図1を参照しつつ説明する。
(I) First Embodiment First, the overall configuration of a computer system according to a first embodiment of the present invention will be described with reference to FIG.

【0039】図1に示すように、コンピュータシステム
100は、上位装置としてのコンピュータ110と、コ
ンピュータ110に接続された印刷データ処理装置とし
てのプリンタ装置120とから構成されている。
As shown in FIG. 1, the computer system 100 includes a computer 110 as a higher-level device and a printer device 120 connected to the computer 110 as a print data processing device.

【0040】ここで、コンピュータ110は、文書また
は図面等を作成する機能を備えたパーソナルコンピュー
タまたはワードプロセッサ等である。さらに詳しく説明
すると、コンピュータ110は、当該コンピュータ11
0の統括的な制御および演算処理を実行するCPU(中
央演算装置)11と、後述する文書作成プログラムおよ
びラベル挿入プログラム等を記憶するためのROM(不
揮発性メモリ)12と、後述する印刷データ等を記憶す
るためのRAM(揮発性メモリ)13と、コンピュータ
110とプリンタ装置120との間のデータの入出力を
制御するI/F回路(インターフェース回路)14と、
CPU11、ROM12、RAM13、I/F回路14
等を相互に接続するバス15とから構成されている。な
お、コンピュータ110には、データ入出力やコンピュ
ータ110の操作を行うためのユーザーインタフェース
(キーボードおよびモニタ等)が設けられているが、こ
れについては説明および図示を省略する。
Here, the computer 110 is a personal computer or a word processor having a function of creating a document or a drawing. More specifically, the computer 110 includes the computer 11
CPU (Central Processing Unit) 11 for executing comprehensive control and arithmetic processing, ROM (non-volatile memory) 12 for storing a document creation program, a label insertion program, and the like described later, and print data and the like described later. (Volatile memory) 13 for storing data, an I / F circuit (interface circuit) 14 for controlling input and output of data between the computer 110 and the printer device 120,
CPU 11, ROM 12, RAM 13, I / F circuit 14
And a bus 15 for interconnecting them. Note that the computer 110 is provided with a user interface (such as a keyboard and a monitor) for performing data input / output and operation of the computer 110, but description and illustration thereof are omitted.

【0041】また、コンピュータ110のROM12に
記憶された文書作成プログラムは、コンピュータ110
を、例えばワードプロセッサとして機能させるためのプ
ログラムであり、任意の文書および図形を作成する機能
を有する。また、この文書作成プログラムは、作成され
た文書および図形をプリンタ装置120によって印刷す
るための複数の制御コマンドを含む印刷データを生成す
る。
The document creation program stored in the ROM 12 of the computer 110
Is a program for functioning as a word processor, for example, and has a function of creating arbitrary documents and figures. Further, the document creation program generates print data including a plurality of control commands for printing the created document and graphics by the printer device 120.

【0042】さらに、コンピュータ110のROM12
に記憶されたラベル挿入プログラムは、図2に示すよう
に、文書作成プログラムによって生成された印刷データ
を受け取り、この印刷データにラベルデータおよびラベ
ル数データを挿入するラベル挿入処理を実行するための
プログラムである。
Further, the ROM 12 of the computer 110
As shown in FIG. 2, the label insertion program stores print data generated by the document creation program, and executes a label insertion process of inserting label data and label number data into the print data. It is.

【0043】一方、プリンタ装置120は、コンピュー
タ110から出力された印刷データ等を受け取り、この
印刷データに基づいて、文字および図形等を紙等の印刷
媒体に印刷するものである。さらに詳しく説明すると、
プリンタ装置120は、当該プリンタ装置120の総括
的な制御、印刷制御および印刷データに関する変換処理
等を実行する制御部20と、制御部20によって制御さ
れることにより、後述する描画データを紙上に印刷する
印刷エンジン機構30と、印刷制御に関する情報等を表
示すると共に、ユーザがプリンタ装置120に手動的に
指令を与えるためのパネル部40とから構成されてい
る。
On the other hand, the printer device 120 receives print data and the like output from the computer 110 and prints characters and graphics on a print medium such as paper based on the print data. To elaborate further,
The printer device 120 performs general control of the printer device 120, print control, and conversion processing relating to print data, and the like, and prints drawing data, which will be described later, on paper by being controlled by the control unit 20. And a panel unit 40 for displaying information on print control and the like, and for allowing a user to manually give an instruction to the printer device 120.

【0044】さらに、プリンタ装置120の制御部20
は、制御部20の総括的な制御および演算処理を行うC
PU21と、後述する変換処理プログラムおよび進行度
出力プログラム等を記憶するためのROM22と、後述
する描画データ、ラベル数データおよびラベルデータ等
を記憶するためのRAM23と、プリンタ装置120と
コンピュータ110との間のデータの入出力を制御する
ホストI/F回路24と、制御部20と印刷エンジン機
構30との間のデータの入出力を制御するエンジンI/
F回路25と、制御部20とパネル部40との間のデー
タの入出力を制御するパネルI/F回路26と、CPU
21、ROM22、RAM23および各I/F回路2
4,25,26にクロックパルスを供給するクロック2
7とから構成されている。
Further, the controller 20 of the printer 120
Is a C that performs comprehensive control and arithmetic processing of the control unit 20.
A PU 21, a ROM 22 for storing a later-described conversion processing program, a progress output program, and the like; a RAM 23 for storing drawing data, label number data, label data, and the like described later; A host I / F circuit 24 for controlling the input and output of data between them, and an engine I / F for controlling the input and output of data between the control unit 20 and the print engine mechanism 30.
An F circuit 25; a panel I / F circuit 26 for controlling data input / output between the control unit 20 and the panel unit 40;
21, ROM 22, RAM 23, and each I / F circuit 2
Clock 2 for supplying clock pulses to 4, 25, 26
7 is comprised.

【0045】また、制御部20のROM22に記憶され
た変換処理プログラムは、図3に示すように、コンピュ
ータ110から出力された印刷データを描画データに変
換する変換処理を実行する。また、制御部20のROM
22に記憶された進行度出力プログラムは、コンピュー
タ110またはパネル部40から出力される要求信号に
応じて変換処理の進行度をコンピュータ110またはパ
ネル部40に出力するプログラムである。
The conversion processing program stored in the ROM 22 of the control unit 20 executes a conversion process for converting print data output from the computer 110 into drawing data, as shown in FIG. The ROM of the control unit 20
The progress output program stored in 22 is a program that outputs the progress of the conversion process to the computer 110 or the panel unit 40 in response to a request signal output from the computer 110 or the panel unit 40.

【0046】本実施形態によるコンピュータシステム1
00は上述したような構成を有するもので、次に、その
動作を図2ないし図7を参照しつつ説明する。
The computer system 1 according to the present embodiment
00 has the above-described configuration, and its operation will now be described with reference to FIGS.

【0047】まず、ユーザがコンピュータ110を操作
することにより、コンピュータ110の文書作成プログ
ラムが起動され、文書および図形が作成される。そし
て、作成された文書および図形を印刷するときには、コ
ンピュータ110の文書作成プログラムによって、その
文書および図形を印刷するための印刷データが生成さ
れ、コンピュータ110のRAM23の所定エリアに記
憶される。
First, when the user operates the computer 110, a document creation program of the computer 110 is started, and a document and a figure are created. Then, when printing the created documents and figures, print data for printing the documents and figures is generated by the document creation program of the computer 110 and stored in a predetermined area of the RAM 23 of the computer 110.

【0048】ここで、文書作成プログラムによって生成
された印刷データは、例えば、図5に示す印刷データD
のように、ページ記述言語によって記述されており、主
に文字および図形を印刷するための複数の制御コマンド
を配列することにより構成されている。
Here, the print data generated by the document creation program is, for example, the print data D shown in FIG.
As described above, it is described in a page description language, and is mainly configured by arranging a plurality of control commands for printing characters and graphics.

【0049】さらに詳しく説明すると、図5中の複数行
に亘る命令文のうち、矢示aにより示す各命令文は、各
命令文の第1文字目が「#」である。これは、これらの
各命令文が印刷データDのヘッダであることを意味して
いる。また、図5中の矢示bにより示す各命令文は、文
字および図形をプリンタ装置120によって印刷するた
めの複数の制御コマンドである。例えば、「MOVE
50,400」という命令文は、文字または図形を印刷
する位置を指令する制御コマンドである。このように各
命令文が1個の制御コマンドにそれぞれ対応している。
さらに、図5中の矢示cにより示す命令文は、印刷デー
タの末尾を示すものである。この図5に示す印刷データ
に基づいてプリンタ装置120により印刷処理を実行す
ると、例えば、図7に示すような文字および図形が印刷
される。
More specifically, among the command statements over a plurality of lines in FIG. 5, in each command statement indicated by arrow a, the first character of each command statement is "#". This means that each of these command statements is a header of the print data D. Each command sentence indicated by an arrow b in FIG. 5 is a plurality of control commands for printing characters and graphics by the printer device 120. For example, "MOVE
The command sentence "50, 400" is a control command for instructing a position where a character or a figure is printed. As described above, each statement corresponds to one control command.
The command sentence indicated by arrow c in FIG. 5 indicates the end of the print data. When the printing process is executed by the printer device 120 based on the print data shown in FIG. 5, for example, characters and graphics as shown in FIG. 7 are printed.

【0050】さて、文書作成プログラムによって生成さ
れた印刷データには、コンピュータ110内で文書作成
プログラムと並列的に起動されたラベル挿入プログラム
によって、ラベルデータおよびラベル数データが挿入さ
れる。ここで、ラベルデータとは、ラベル挿入プログラ
ムによって印刷データ中に分散配置されるデータであ
り、例えば、1バイトまたは1ワードからなる比較的に
サイズの小さいデータである。また、ラベルデータは、
印刷データの先頭から数えて何番目に挿入されたものか
を表すラベル番号が付加されている。さらに、ラベルデ
ータは、プリンタ装置120によって描画データに変換
されることがなく、印刷処理に影響を与えないデータで
ある。また、ラベル数データとは、このラベル挿入プロ
ラムによって印刷データ中に分散配置されたラベルデー
タの総数を表すデータである。
The label data and the label number data are inserted into the print data generated by the document creation program by the label insertion program started in the computer 110 in parallel with the document creation program. Here, the label data is data that is distributed and arranged in the print data by the label insertion program, and is, for example, data having a relatively small size of one byte or one word. The label data is
A label number indicating the number of the print data inserted from the top is added. Further, the label data is data that is not converted into drawing data by the printer device 120 and does not affect print processing. The label number data is data representing the total number of label data distributed in print data by the label insertion program.

【0051】以下、ラベル挿入プログラムに基づいてコ
ンピュータ110により実行されるラベル挿入処理を図
2に示すフローチャートに沿って説明する。
The label insertion processing executed by the computer 110 based on the label insertion program will be described below with reference to the flowchart shown in FIG.

【0052】まず、図2中のステップS1では、コンピ
ュータ110のRAM23の一部にラベル挿入処理用の
メモリエリアを確保し、このメモリエリアに、文書作成
プログラムによって生成された印刷データを受け取る。
ステップS2では、印刷データを受け取るときに、受け
取った印刷データがヘッダか否かを判定し、ヘッダと判
定したときには、そのヘッダを無視する。
First, in step S1 in FIG. 2, a memory area for label insertion processing is secured in a part of the RAM 23 of the computer 110, and print data generated by the document creation program is received in this memory area.
In step S2, when print data is received, it is determined whether or not the received print data is a header. When it is determined that the print data is a header, the header is ignored.

【0053】ステップS3では、ラベル挿入設定値Nを
設定し、ラベルカウンタiに「1」に設定し、コマンド
カウンタLを「0」に設定する。ここで、ラベル挿入設
定値Nとは、印刷コマンド中に分散配置するラベルデー
タの配置間隔を設定する値である。例えば、ラベル挿入
設定値Nを「4」に設定したときには、制御コマンドの
4個毎に1個のラベルデータが挿入される。また、ラベ
ルカウンタiは、挿入したラベルデータの個数を計数す
るものである。さらに、コマンドカウンタLは、制御コ
マンドの個数を計数するものである。
In step S3, the label insertion set value N is set, the label counter i is set to "1", and the command counter L is set to "0". Here, the label insertion setting value N is a value for setting an arrangement interval of label data to be distributed and arranged in a print command. For example, when the label insertion setting value N is set to “4”, one label data is inserted for every four control commands. The label counter i counts the number of inserted label data. Further, the command counter L counts the number of control commands.

【0054】ステップS4では、第0番目であることを
表す先頭ラベルデータを印刷データの先頭に挿入し、ス
テップS5では、文書作成プログラムによって作成され
てRAM23の所定エリアに記憶された印刷データを調
べ、RAM23の所定エリアに制御コマンドが存在する
か否かを判定する。その結果、RAM23の所定エリア
に制御コマンドが存在するときには「YES」と判定
し、ステップS6に移行する。
In step S4, the head label data indicating the 0th is inserted at the head of the print data. In step S5, the print data created by the document creation program and stored in a predetermined area of the RAM 23 is checked. It is determined whether a control command exists in a predetermined area of the RAM 23. As a result, when the control command is present in the predetermined area of the RAM 23, “YES” is determined, and the process shifts to step S6.

【0055】ステップS6では、RAM23の所定エリ
アから制御コマンドを1個(命令文を1行分)読込み、
ステップS7では、コマンドカウンタLを「1」増加さ
せる。
In step S6, one control command (one command line) is read from a predetermined area of the RAM 23.
In step S7, the command counter L is incremented by "1".

【0056】さらに、ステップS8では、コマンドカウ
ンタLとラベル挿入設定値Nを比較し、両者の値が等し
いか否かを判定する。両者の値が等しくないときには
「NO」と判定し、ステップS5に戻る。一方、両者の
値が等しいときには「YES」と判定し、ステップS9
に移行し、ステップS9で、RAM23の所定エリアに
記憶された印刷データにラベルデータを挿入する。ここ
で、ラベルカウンタiは、印刷データに挿入されたラベ
ルデータの個数を計数している。そして、ステップS9
で挿入されるラベルデータにはラベルカウンタiが指し
示しているラベル番号が付加される。
Further, at step S8, the command counter L is compared with the label insertion set value N, and it is determined whether or not both values are equal. If the two values are not equal, “NO” is determined, and the process returns to step S5. On the other hand, when the two values are equal to each other, “YES” is determined, and step S9 is determined.
Then, in step S9, the label data is inserted into the print data stored in the predetermined area of the RAM 23. Here, the label counter i counts the number of label data inserted into the print data. Then, step S9
Is added with the label number indicated by the label counter i.

【0057】ステップS10では、ラベルカウンタiを
「1」増加させ、コマンドカウンタLに「0」を設定
し、ステップS5に戻る。
In step S10, the label counter i is incremented by "1", the command counter L is set to "0", and the process returns to step S5.

【0058】このように、ステップS5からステップS
10までの処理を繰り返すことにより、ラベル挿入設定
値Nで設定した配置間隔で、ラベルデータが印刷データ
中に分散配置される。さらに、ラベルデータには、印刷
データに挿入された順番を表すラベル番号が、ラベルカ
ウンタiに基づいて付加される。
As described above, steps S5 to S
By repeating the processing up to 10, the label data is distributed and arranged in the print data at the arrangement interval set by the label insertion set value N. Further, a label number indicating the order of insertion into the print data is added to the label data based on the label counter i.

【0059】一方、ステップS5の判定の結果、RAM
23の所定エリアに制御コマンドが存在しないときには
「NO」と判定し、ステップS11に移行する。そし
て、ステップS11では、現在、ラベルカウンタiが指
し示しているラベル番号を付加したラベルデータを印刷
データ中に挿入する。
On the other hand, as a result of the determination in step S5, the RAM
If there is no control command in the predetermined area of No. 23, "NO" is determined, and the routine goes to Step S11. Then, in step S11, the label data to which the label number currently indicated by the label counter i is added is inserted into the print data.

【0060】ステップS12では、RAM23の所定エ
リアに記憶された印刷データのヘッダを抜き出し、ステ
ップS13で、このヘッダにラベル数データを追加す
る。そして、ステップS14では、ラベル数データが追
加されたヘッダを印刷データの先頭に挿入し、ステップ
S15でラベル挿入処理を終了する。
In step S12, a header of the print data stored in a predetermined area of the RAM 23 is extracted, and in step S13, label number data is added to the header. Then, in step S14, the header with the label number data added is inserted at the head of the print data, and in step S15, the label insertion processing ends.

【0061】このように、コンピュータ110によって
ラベル挿入処理を実行することにより、印刷データに
は、例えば図6に示す印刷データEのように、ラベルデ
ータが挿入される。即ち、図6中の印刷データEは、図
5に例示した印刷データDに対してラベル挿入処理を実
行したことにより得られた印刷データを示している。図
6中の矢示d1ないしd5は、印刷データEに配置され
たラベルデータを示し、例えば、矢示d3が示す「LA
BEL2」はラベル番号「2」が付加されたラベルデー
タである。また、図6中の矢示eはラベル数データであ
り、印刷データE中に分散配置されたラベルデータの総
数が「16」であることを表している。
As described above, by executing the label insertion processing by the computer 110, the label data is inserted into the print data, for example, as the print data E shown in FIG. That is, the print data E in FIG. 6 indicates the print data obtained by executing the label insertion processing on the print data D illustrated in FIG. Arrows d1 to d5 in FIG. 6 indicate label data arranged in the print data E, for example, “LA” indicated by arrow d3.
“BEL2” is label data to which a label number “2” is added. Arrow e in FIG. 6 is label number data, and indicates that the total number of label data distributed and arranged in the print data E is “16”.

【0062】ところで、コンピュータ110のラベル挿
入処理により配置されたラベルデータの配置間隔は、ラ
ベル挿入設定値Nによって決定される。ラベル挿入設定
値Nの値は、ラベルデータの総数が印刷データに含まれ
る制御コマンドの総数の3%を超えず、かつ、ラベルデ
ータの総数が5個を下回らないように設定される。その
理由は、ラベルデータの総数が印刷データに含まれる制
御コマンドの総数の3%を超えると、ラベルデータの個
数が過剰に多くなり、プリンタ装置120によって印刷
データを描画データに変換する処理が遅くなる場合があ
るからである。一方、ラベルデータの総数が5個を下回
ると、後述するプリンタ装置120による変換処理の進
行度を正確に得ることができない場合があるからであ
る。
By the way, the arrangement interval of the label data arranged by the label insertion processing of the computer 110 is determined by the label insertion set value N. The value of the label insertion set value N is set so that the total number of label data does not exceed 3% of the total number of control commands included in the print data, and the total number of label data does not fall below five. The reason is that when the total number of label data exceeds 3% of the total number of control commands included in the print data, the number of label data becomes excessively large, and the process of converting the print data into drawing data by the printer device 120 is slow. This is because it may be. On the other hand, if the total number of label data is less than five, the progress of the conversion process by the printer device 120 described later may not be accurately obtained.

【0063】以上のように、コンピュータ110のラベ
ル挿入処理により各ラベルデータおよびラベル数データ
が挿入された印刷データは、コンピュータ110のI/
F回路14を介してプリンタ装置120に向けて出力さ
れる。
As described above, the print data into which each label data and the number-of-labels data have been inserted by the label insertion processing of the computer 110 is the I / O of the computer 110.
It is output to the printer device 120 via the F circuit 14.

【0064】コンピュータ110から出力された印刷デ
ータは、プリンタ装置120のホストI/F回路24を
介してプリンタ装置120の制御部20に入力される。
このとき、プリンタ装置120の制御部20は、ROM
22に記憶された変換処理プログラムを起動し、コンピ
ュータ110から入力された印刷データを描画データに
変換する変換処理を実行する。ここで、描画データと
は、紙等の印刷媒体上に印刷する画素に対応したデータ
であり、例えばビットマップデータである。
The print data output from the computer 110 is input to the control unit 20 of the printer 120 via the host I / F circuit 24 of the printer 120.
At this time, the control unit 20 of the printer 120
The conversion processing program stored in the computer 22 is started, and a conversion process for converting print data input from the computer 110 into drawing data is executed. Here, the drawing data is data corresponding to pixels to be printed on a print medium such as paper, and is, for example, bitmap data.

【0065】以下、変換処理プログラムに基づいてプリ
ンタ装置120の制御部20により実行される変換処理
について、図3に示すフローチャートに沿って説明す
る。
Hereinafter, the conversion processing executed by the control unit 20 of the printer device 120 based on the conversion processing program will be described with reference to the flowchart shown in FIG.

【0066】ステップS21では、ラベル数データを記
憶するためのラベル数記憶バッファAに「0」を設定す
ると共に、ラベルデータのラベル番号を記憶するラベル
番号記憶バッファBに「0」を設定する。
In step S21, "0" is set in the label number storage buffer A for storing the label number data, and "0" is set in the label number storage buffer B for storing the label number of the label data.

【0067】そして、ステップS22で読み込むべきデ
ータが存在するか否かを判定し、その結果、読み込むべ
きデータが存在するときには、ステップS23に移行す
る。ステップS23では、コンピュータ110からプリ
ンタ装置120の制御部20に入力された印刷データ
を、この印刷データの先頭から末尾に向けて順次読み込
む。ステップS24では、読み込まれたデータが印刷デ
ータであるか否かを判定し、印刷データであるときには
「YES」と判定し、ステップS25に移行する。
Then, in step S22, it is determined whether or not there is data to be read, and as a result, if there is data to be read, the process proceeds to step S23. In step S23, the print data input from the computer 110 to the control unit 20 of the printer device 120 is sequentially read from the beginning to the end of the print data. In step S24, it is determined whether or not the read data is print data. If the read data is print data, “YES” is determined, and the process proceeds to step S25.

【0068】ステップS25では、読み込まれた印刷デ
ータがラベル数データであるか否か判定する。その結
果、読み込まれた印刷データがラベル数データであると
きには「YES」と判定し、ステップS26で、そのラ
ベル数データをラベル数記憶バッファAに記憶する。こ
れにより、現在読込みを行っている印刷データに含まれ
ているラベルデータの総数を認識することができる。そ
の後、ステップS22に戻る。
In step S25, it is determined whether or not the read print data is label number data. As a result, if the read print data is the label number data, it is determined as “YES”, and the label number data is stored in the label number storage buffer A in step S26. Thus, the total number of label data included in the print data that is currently being read can be recognized. Thereafter, the process returns to step S22.

【0069】一方、ステップS25の判定の結果、読み
込まれた印刷データがラベル数データでないときには
「NO」と判定し、ステップS27に移行する。ステッ
プS27では、読み込まれた印刷データがラベルデータ
か否かを判定する。その結果、読み込まれた印刷データ
がラベルデータのときには「YES」と判定し、ステッ
プS28で、そのラベルデータのラベル番号をラベル番
号記憶バッファBに記憶することにより、ラベルデータ
を計数する。その後、ステップS22に戻る。
On the other hand, if the result of determination in step S 25 is that the read print data is not label number data, “NO” is determined, and control proceeds to step S 27. In step S27, it is determined whether the read print data is label data. As a result, if the read print data is label data, it is determined as "YES", and the label data is counted by storing the label number of the label data in the label number storage buffer B in step S28. Thereafter, the process returns to step S22.

【0070】また、ステップS27の判定の結果、読み
込まれた印刷データがラベルデータでないときには「N
O」と判定する。この場合、読み込まれた印刷データは
制御コマンドであるので、ステップS29に移行し、ス
テップS29で、この制御コマンドを描画データに変換
し、ステップS30で、この描画データを制御部20の
RAM23に記憶する。その後、ステップS22に戻
る。
If it is determined in step S27 that the read print data is not label data, "N"
O "is determined. In this case, since the read print data is a control command, the process proceeds to step S29, where the control command is converted into drawing data in step S29, and the drawing data is stored in the RAM 23 of the control unit 20 in step S30. I do. Thereafter, the process returns to step S22.

【0071】このように、ステップS22からステップ
S30までの処理を、印刷データがコンピュータ110
から出力されている間、繰り返し実行する。これによ
り、印刷データ中の制御コマンドが順次描画データへと
変換される。これと同時に、印刷データ中に分散配置さ
れたラベルデータのラベル番号が更新されることによ
り、ラベルデータの計数が行われる。また、ラベルデー
タのラベル番号は、ラベルデータの配置間隔等によって
決定される所定時間置きに更新される。
As described above, the processing from step S22 to step S30 is performed by
Execute repeatedly while output from. Thereby, the control commands in the print data are sequentially converted into the drawing data. At the same time, the label number of the label data dispersedly arranged in the print data is updated, so that the label data is counted. The label number of the label data is updated at predetermined time intervals determined by the arrangement interval of the label data and the like.

【0072】そして、制御部20のRAM23に1頁分
の描画データが蓄積されたときには、印刷エンジン機構
30を駆動し、描画データに基づく文字および図形を紙
等の印刷媒体上に印刷する。なお、コンピュータ110
からの印刷データの出力が終了したときには、ステップ
S22で「NO」と判定し、ステップS35で変換処理
を終了する。
When one page of drawing data is stored in the RAM 23 of the control unit 20, the print engine mechanism 30 is driven to print characters and graphics based on the drawing data on a print medium such as paper. The computer 110
When the output of the print data from is completed, "NO" is determined in the step S22, and the conversion process is ended in a step S35.

【0073】さらに、上述したように、制御部20の変
換処理プログラムによる変換処理を実行している間、プ
リンタ装置120の制御部20に変換処理の進行度の出
力を要求する要求信号が入力されると、プリンタ装置1
20の制御部20は、進行度出力プログラムを起動し、
この進行度出力プログラムによって、上記変換処理の進
行度を出力する処理を実行する。
Further, as described above, while the conversion processing by the conversion processing program of the control unit 20 is being executed, the request signal requesting the control unit 20 of the printer device 120 to output the progress of the conversion processing is input. Then, the printer device 1
The control unit 20 of 20 starts a progress output program,
With this progress output program, a process of outputting the progress of the conversion process is executed.

【0074】以下、進行度出力プログラムに基づいてプ
リンタ装置120の制御部20により実行される進行度
出力処理について、図3および図4に沿って説明する。
The progress output process executed by the control unit 20 of the printer 120 based on the progress output program will be described below with reference to FIGS.

【0075】即ち、ユーザがプリンタ装置120の印刷
処理の状況を知りたいと思ったときには、ユーザはコン
ピュータ110を操作することにより、コンピュータ1
10からプリンタ装置120の制御部20に向けて、変
換処理の進行度の出力を要求する要求信号を出力する。
なお、プリンタ装置120のパネル部40を操作するこ
とによって、パネル部40から制御部20に向けて要求
信号を出力する構成としてもよい。
That is, when the user wants to know the status of the printing process of the printer device 120, the user operates the computer 110 to
10 outputs a request signal requesting the output of the progress of the conversion process to the control unit 20 of the printer device 120.
Note that a configuration may be employed in which a request signal is output from the panel unit 40 to the control unit 20 by operating the panel unit 40 of the printer device 120.

【0076】このように、前記変換処理の実行中に、コ
ンピュータ110またはパネル部40から制御部20に
向けて要求信号が出力されると、制御部20は、割り込
み処理を実行し、図3中のステップS23で、この要求
信号を読み込む。そして、ステップS24の判定で「N
O」と判定し、図4中のステップS31に移行する。
As described above, when the request signal is output from the computer 110 or the panel unit 40 to the control unit 20 during the execution of the conversion process, the control unit 20 executes the interrupt process, and In step S23, the request signal is read. Then, in the determination of step S24, "N
O ", and the process moves to step S31 in FIG.

【0077】ステップS31では、ラベル数記憶バッフ
ァAに記憶されたラベル数データを読み出し、ステップ
S32では、ラベル番号記憶バッファBに記憶された現
時点のラベル番号を読み出す。そして、ステップS33
では、読み出したラベルデータを、読み出したラベル数
データで割り算し、変換処理の進行度を演算する。
In step S31, the label number data stored in the label number storage buffer A is read, and in step S32, the current label number stored in the label number storage buffer B is read. Then, step S33
Then, the read label data is divided by the read label number data to calculate the progress of the conversion process.

【0078】例えば、ラベル数記憶バッファAから読み
出したラベル数データが「16」で、ラベル番号記憶バ
ッファBから読み出したラベル番号が「4」の場合に
は、変換処理の進行度は、「0.25」、即ち、25%
となる。
For example, when the label number data read from the label number storage buffer A is “16” and the label number read from the label number storage buffer B is “4”, the progress of the conversion process is “0”. .25 ", that is, 25%
Becomes

【0079】さらに、ステップS34では、演算によっ
て求められた変換処理の進行度を、応答信号として、ホ
ストI/F回路24を介してコンピュータ110に向け
て出力する。これにより、コンピュータ110はプリン
タ装置120のホストI/F回路24から出力された応
答信号を受け取り、プリンタ装置120の制御部20に
よる変換処理の進行度を、コンピュータ110に設けら
れたユーザインターフェース等を用いてユーザに報知す
る。例えば、コンピュータ110のモニタに、「印刷中
です。進行度は25%です。」というように表示され
る。なお、ステップS34で、変換処理の進行度を、プ
リンタ装置120のパネル部40に出力し、パネル部4
0の表示パネル等に変換処理の進行度を表示する構成と
してもよい。
Further, at step S34, the degree of progress of the conversion process obtained by the calculation is output to the computer 110 via the host I / F circuit 24 as a response signal. Accordingly, the computer 110 receives the response signal output from the host I / F circuit 24 of the printer device 120, and determines the degree of the conversion process performed by the control unit 20 of the printer device 120 and determines the progress of the conversion process by the user interface provided on the computer 110. To inform the user. For example, a message such as "printing. Progress is 25%" is displayed on the monitor of the computer 110. In step S34, the progress of the conversion process is output to the panel unit 40 of the printer device 120, and the panel unit 4
The configuration may be such that the degree of progress of the conversion process is displayed on a display panel such as 0.

【0080】ステップS34の処理が終了した後は、図
3中のステップS22に戻り、コンピュータ110から
の印刷データの出力が終了するまで、変換処理プログラ
ムによる変換処理を続行する。
After the process of step S34 is completed,
Returning to step S22 in 3, the conversion processing by the conversion processing program is continued until the output of the print data from the computer 110 ends.

【0081】かくして、本実施形態によるコンピュータ
システム100によれば、プリンタ装置120が変換処
理を実行している最中に、変換処理の進行度をユーザに
正確に報知することができ、変換処理が完了するまでに
かかる時間をユーザに正確に認識させることができる。
Thus, according to the computer system 100 of the present embodiment, the progress of the conversion process can be accurately reported to the user while the printer device 120 is executing the conversion process, and the conversion process can be performed. It is possible to make the user accurately recognize the time required for completion.

【0082】特に、ラベルデータを印刷データ中の各制
御コマンド間に分散配置することにより、以下の効果が
得られる。即ち、プリンタ装置120で印刷データ中の
各制御コマンドを順次読み込んで描画データに変換する
変換処理の過程において、各ラベルデータを、ラベルデ
ータの配置間隔等によって決定される所定時間置きに次
々に読み込んで、ラベルデータのラベル番号の更新(ラ
ベルデータの計数)を実行することができる。従って、
ラベルデータのラベル番号が更新される度に、変換処理
の進行度を更新することができ、随時正確な変換処理の
進行度をユーザに報知することができる。
In particular, the following effects can be obtained by distributing the label data among the control commands in the print data. That is, in the process of the conversion process of sequentially reading each control command in the print data by the printer device 120 and converting it into drawing data, each label data is read one after another at predetermined intervals determined by the arrangement interval of the label data and the like. Thus, updating of the label number of the label data (counting of the label data) can be executed. Therefore,
Every time the label number of the label data is updated, the progress of the conversion process can be updated, and the user can be notified of the correct progress of the conversion process at any time.

【0083】また、プリンタ装置120によって印刷デ
ータを描画データに変換する前の段階で、印刷データ中
に複数のラベルデータを分散配置させることにより、プ
リンタ装置120は変換処理の実行中に、ラベルデータ
のラベル番号を記憶するだけで容易にラベルデータの計
数を実行することができる。従って、複雑な演算処理を
行うことなく、変換処理の進行度を正確にユーザに知ら
せることができる。
Further, before the print data is converted into the drawing data by the printer device 120, a plurality of label data are dispersedly arranged in the print data. The label data can be easily counted simply by storing the label number. Therefore, it is possible to accurately inform the user of the progress of the conversion processing without performing complicated arithmetic processing.

【0084】また、印刷データにラベルデータの総数を
表すラベル数データを挿入すると共に、変換処理の際
に、ラベルデータをラベル数データで割算することによ
り変換処理の進行度を演算する構成としたから、例え
ば、変換処理の進行度を百分率等によって表現でき、変
換処理の進行度をユーザに理解しやすい状態で出力する
ことができる。また、ラベルデータをラベル数データに
より割算するといった簡単な演算処理によって変換処理
の進行度を正確にユーザに知らせることができる。
Also, a configuration is provided in which label number data representing the total number of label data is inserted into the print data, and at the time of conversion processing, the progress of the conversion processing is calculated by dividing the label data by the label number data. Thus, for example, the progress of the conversion process can be expressed by a percentage or the like, and the progress of the conversion process can be output in a state that is easy for the user to understand. Further, the progress of the conversion process can be accurately notified to the user by a simple operation such as dividing the label data by the label number data.

【0085】さらに、コンピュータ110のラベル挿入
処理において、ラベル挿入設定値Nの値を、ラベルデー
タの総数が印刷データに含まれる制御コマンドの総数の
3%を超えず、かつ、ラベルデータの総数が5個を下回
らないように設定することにより、プリンタ装置120
による変換処理が遅くなるのを防止でき、かつ、変換処
理の進行度の正確性を維持することができる。
Further, in the label insertion process of the computer 110, the value of the label insertion set value N is set such that the total number of label data does not exceed 3% of the total number of control commands included in the print data, and the total number of label data is By setting the number not to be less than five, the printer device 120
Can prevent the conversion process from being delayed, and can maintain the accuracy of the progress of the conversion process.

【0086】(II)第2の実施形態 次に、本発明の第2の実施形態について、図8ないし図
12を参照しつつ説明する。本実施形態の特徴は、印刷
データ中に繰り返しコマンドが存在した場合には、繰り
返される制御コマンドに対応させてラベルデータを挿入
する構成としたことにある。なお、本実施形態によるコ
ンピュータシステムの全体構成は、前記第1の実施形態
によるコンピュータシステム100の全体構成と同様で
あるため、同一の構成要素に同一の符号を付し、その説
明を省略する。
(II) Second Embodiment Next, a second embodiment of the present invention will be described with reference to FIGS. A feature of the present embodiment is that, when a repeat command is present in print data, label data is inserted in correspondence with a repeated control command. Since the overall configuration of the computer system according to the present embodiment is the same as the overall configuration of the computer system 100 according to the first embodiment, the same components are denoted by the same reference numerals and description thereof will be omitted.

【0087】まず、コンピュータ110のROM12に
記憶された本実施形態によるラベル挿入プログラムに基
づいて実行されるラベル挿入処理について、図8のフロ
ーチャートに沿って説明する。
First, a label insertion process executed based on the label insertion program according to the present embodiment stored in the ROM 12 of the computer 110 will be described with reference to the flowchart of FIG.

【0088】図8中のステップS41ないしステップS
46では、前記第1の実施形態によるラベル挿入処理の
ステップS1ないしステップS6(図2)と同様に処理
を実行する。そして、スップS47では、ステップS4
6で読み込んだ制御コマンドが繰り返しコマンドか否か
を判定する。
Steps S41 to S41 in FIG.
In step 46, the processing is executed in the same manner as in steps S1 to S6 (FIG. 2) of the label insertion processing according to the first embodiment. Then, in step S47, step S4
It is determined whether the control command read in step 6 is a repeat command.

【0089】ここで、繰り返しコマンドとは、「指定し
た範囲の一組の制御コマンドを指定回数繰り返せ」とい
う、いわゆるループ処理を命令するものである。印刷デ
ータ中に繰返しコマンドが含まれると、繰り返しコマン
ドにより指定された一組の制御コマンドに関する変換処
理が繰り返しコマンドの指定回数分だけ繰り返される。
例えば、図11に示す印刷データGにおいて、矢示fの
示す「Loop1」および矢示gの示す「IF X L
ESS 200 THEN GOTO Loop1」な
る命令文は、繰り返しコマンドである。この繰返しコマ
ンドは、Loop1が配置された行と、「IF X L
ESS 200 THEN GOTOLoop1」が配
置された行との間に配置されている一組の制御コマンド
(即ち、「MOVE」、「CIRCLE」,「ADD」
の3行分の制御コマンド)を、200回繰り返し実行す
ることを表している。従って、この印刷データGが、制
御部20による変換処理によって描画データに変換され
るときには、前記3行の制御コマンドに関する変換処理
が200回実行される。
Here, the repeat command instructs a so-called loop process of "repeat a set of control commands in a designated range a designated number of times". If the print data includes a repeat command, the conversion process for a set of control commands specified by the repeat command is repeated the number of times specified by the repeat command.
For example, in the print data G shown in FIG. 11, “Loop1” indicated by an arrow f and “IF XL” indicated by an arrow g.
The command sentence "ESS 200 THEN GOTO Loop1" is a repeat command. This repetition command includes a line in which Loop 1 is arranged and “IF X L
A set of control commands (i.e., "MOVE", "CIRCLE", "ADD") arranged between the line where "ESS 200 THEN GOTOLoop1" is arranged.
Is executed 200 times repeatedly. Therefore, when the print data G is converted into the drawing data by the conversion processing by the control unit 20, the conversion processing relating to the control command of the three lines is executed 200 times.

【0090】さて、ステップS47による判定の結果、
読み込んだ制御コマンドが繰り返しコマンドであるとき
には「YES」と判定され、ステップS50に移行し、
ステップS50で、ラベル挿入設定値Nによって設定さ
れるラベルデータの配置間隔とは無関係に、ラベルデー
タが挿入される。
Now, as a result of the determination in step S47,
When the read control command is a repetition command, it is determined as “YES”, and the process proceeds to step S50.
In step S50, label data is inserted irrespective of the label data arrangement interval set by the label insertion setting value N.

【0091】これにより、印刷データ中に繰り返しコマ
ンドがあるときには、繰り返しコマンドによって繰り返
される一組の制御コマンドの間にラベルデータが強制的
に挿入される。例えば、図11に示す印刷データGに対
して、本実施形態によるラベル挿入処理を実行すると、
図12に示す印刷データHのように、「Loop1」な
る繰り返しコマンドと「IF X LESS 200
THEN GOTOLoop1」なる繰り返しコマンド
との間にラベルデータが挿入される。
Thus, when there is a repeat command in the print data, the label data is forcibly inserted between a set of control commands repeated by the repeat command. For example, when the label insertion processing according to the present embodiment is performed on the print data G illustrated in FIG.
As in the print data H shown in FIG. 12, a repetition command “Loop1” and “IF X LESS 200
Label data is inserted between the repeat command "THEN GOTOLoop1".

【0092】一方、ステップS47による判定の結果、
読み込んだ制御コマンドが繰り返しコマンドでないとき
には「NO」と判定し、ステップS48に移行する。そ
して、ステップS48ないしステップS55の処理を、
前述した第1の実施形態によるラベル挿入処理のステッ
プS7ないしステップS14と同様に実行し、ステップ
S56でラベル挿入処理を終了する。
On the other hand, as a result of the determination in step S47,
If the read control command is not a repetition command, “NO” is determined, and the process shifts to step S48. Then, the processing of steps S48 to S55 is
The process is performed in the same manner as steps S7 to S14 of the label insertion process according to the first embodiment described above, and the label insertion process ends in step S56.

【0093】このように、コンピュータ110のラベル
挿入処理により、ラベルデータおよびラベル数データが
挿入された印刷データは、前記第1の実施形態とほぼ同
様に、コンピュータ110からプリンタ装置120に出
力される。さらに、この印刷データは、プリンタ装置1
20のROM22に記憶された本実施形態による変換処
理プログラムにより、描画データに変換される。
As described above, the print data into which the label data and the label number data have been inserted by the label insertion processing of the computer 110 is output from the computer 110 to the printer device 120 in substantially the same manner as in the first embodiment. . Further, the print data is stored in the printer 1
The image data is converted into drawing data by the conversion processing program according to the present embodiment stored in the ROM 22 of the CPU 20.

【0094】以下、本実施形態による変換処理プログラ
ムによる変換処理について、図9のフローチャートに沿
って説明する。
Hereinafter, the conversion processing by the conversion processing program according to the present embodiment will be described with reference to the flowchart of FIG.

【0095】まず、ステップS61では、ラベル数記憶
バッファAと、ラベル番号記憶バッファBにそれぞれ
「0」を設定すると共に、繰り返しカウンタjに「0」
を設定する。そして、ステップS62の判定の結果、読
み込むべきデータが存在するときには、ステップS63
でデータを読み込み、ステップS64では、読み込んだ
データが印刷データか否かを判定する。その結果、読み
込んだデータが印刷データであるときにはステップS6
5に移行し、次に、ステップS65では、印刷データが
ラベル数データか否かを判定する。その結果、印刷デー
タがラベル数データのときにはステップS66に移行
し、そのラベル数データをラベル数記憶バッファAに記
憶し、ステップS62に戻る。さらに、ステップS65
の判定の結果、印刷データがラベル数データでないとき
には、ステップS67に移行する。
First, in step S61, "0" is set in each of the label number storage buffer A and the label number storage buffer B, and "0" is set in the repetition counter j.
Set. If the result of determination in step S62 is that there is data to be read, step S63
In step S64, it is determined whether the read data is print data. As a result, if the read data is the print data, step S6
Then, in a step S65, it is determined whether or not the print data is label number data. As a result, when the print data is the label number data, the process proceeds to step S66, the label number data is stored in the label number storage buffer A, and the process returns to step S62. Further, step S65
If the result of the determination is that the print data is not label number data, the flow shifts to step S67.

【0096】ステップS67では、印刷データがラベル
データか否か判定する。その結果、印刷データがラベル
データであるときには「YES」と判定し、ステップS
68に移行する。
In step S67, it is determined whether or not the print data is label data. As a result, if the print data is label data, “YES” is determined, and step S
Go to 68.

【0097】ステップS68では、現在読み込んだラベ
ルデータと、前回に読み込んだラベルデータとを比較
し、現在読み込んだラベルデータが、現在実行中の変換
処理を開始してから現時点までの間に読み込んだラベル
データ(過去のラベルデータ)と一致するか否かを判定
する。その結果、現在読み込んだラベルデータが過去に
読み込んだラベルデータと一致するときには「YES」
と判定し、ステップS69で、繰り返しカウンタjを
「1」増加させる。
In step S68, the currently read label data is compared with the previously read label data, and the currently read label data is read from the start of the conversion process currently being executed to the present. It is determined whether or not it matches the label data (past label data). As a result, when the currently read label data matches the label data read in the past, "YES"
Is determined, and in step S69, the repetition counter j is incremented by "1".

【0098】即ち、現在読み込んだラベルデータと過去
のラベルデータとが一致した場合は、少なくとも、2
度、同一のラベルデータを読み込んだことを意味する。
これにより、現在、繰り返しコマンドによる繰り返し処
理が実行されていると判定することができる。従って、
このような場合には、繰り返し読み込まれるラベルデー
タを、繰り返しカウンタjによって計数する。
That is, if the currently read label data matches the past label data, at least 2
This means that the same label data has been read.
Thereby, it can be determined that the repetition processing by the repetition command is currently being executed. Therefore,
In such a case, the label data repeatedly read is counted by the repeat counter j.

【0099】一方、ステップS68の判断の結果、現在
読み込んだラベルデータと過去のラベルデータとが一致
しないときには「NO」と判定し、ステップS70で繰
り返しカウンタjを「0」に初期化した後、ステップS
71に移行する。さらに、ステップS71では、現在読
み込んだラベルデータのラベル番号をラベル番号バッフ
ァBに記憶し、ステップS62に戻る。
On the other hand, as a result of the determination in step S68, when the currently read label data does not match the past label data, it is determined as "NO", and in step S70, the repetition counter j is initialized to "0". Step S
It moves to 71. Further, in step S71, the label number of the currently read label data is stored in the label number buffer B, and the process returns to step S62.

【0100】また、ステップS67の判定の結果、読み
込んだ印刷データがラベルデータでないときには、読み
込んだ印刷データは制御コマンドであるので、「NO」
と判定してステップS72に移行し、ステップS72で
制御コマンドを描画データに変換し、ステップS73で
RAM23に記憶する。その後、ステップS62に戻
り、ステップS62からステップS73までの処理を、
読み込むべきデータがなくなるまで繰り返す。そして、
制御部20のRAM23に1頁分の描画データが蓄積さ
れたときには、印刷エンジン機構30を駆動して印刷処
理を実行する。
If the result of determination in step S67 is that the read print data is not label data, the read print data is a control command, so "NO"
Then, the process proceeds to step S72, in which the control command is converted into drawing data in step S72, and stored in the RAM 23 in step S73. Thereafter, the process returns to step S62, and the processes from step S62 to step S73 are performed.
Repeat until there is no more data to read. And
When one page of drawing data is stored in the RAM 23 of the control unit 20, the print engine mechanism 30 is driven to execute a printing process.

【0101】さらに、上述したように、制御部20の変
換処理プログラムによる変換処理を実行している間、プ
リンタ装置120の制御部20に変換処理の進行度の出
力を要求する要求信号が入力されると、プリンタ装置1
20の制御部20は、本実施形態による進行度出力プロ
グラムを起動し、この進行度出力プログラムによって、
上記変換処理の進行度を出力する処理を実行する。
Further, as described above, during the execution of the conversion processing by the conversion processing program of the control section 20, the request signal requesting the control section 20 of the printer device 120 to output the progress of the conversion processing is input. Then, the printer device 1
The control unit 20 of 20 activates the progress output program according to the present embodiment, and by this progress output program,
A process for outputting the degree of progress of the conversion process is executed.

【0102】以下、本実施形態の進行度出力プログラム
による進行度出力処理について、図9および図10に沿
って説明する。
Hereinafter, the progress output processing by the progress output program according to the present embodiment will be described with reference to FIGS. 9 and 10.

【0103】即ち、前記変換処理の実行中に、コンピュ
ータ110またはパネル部40からプリンタ装置120
の制御部20に向けて変換処理の進行度の出力を要求す
る要求信号が出力されると、 制御部20は、割り込み
処理を実行し、図9中のステップS63で、この要求信
号を読み込む。そして、ステップS64の判定で「N
O」と判定し、図10中のステップS72に移行する。
そして、ステップS72およびステップS73で、ラベ
ル数記憶バッファAに記憶されたラベル数データと、ラ
ベル番号記憶バッファBに記憶されたラベル番号を読み
出し、ステップS74では、読み出したラベルデータ
を、読み出したラベル数データで割算し、変換処理の進
行度を演算する。
That is, during the execution of the conversion process, the computer 120 or the panel unit 40
When a request signal requesting the output of the degree of progress of the conversion process is output to the control unit 20 of the control unit 20, the control unit 20 executes an interrupt process, and reads this request signal in step S63 in FIG. Then, in the determination of step S64, "N
O ", and proceeds to the step S72 in FIG.
Then, in step S72 and step S73, the label number data stored in the label number storage buffer A and the label number stored in the label number storage buffer B are read out. Divide by several data to calculate the progress of the conversion process.

【0104】さらに、ステップS75では、繰り返しカ
ウンタjが「0」より大きいか否かを判定する。その結
果、繰り返しカウンタjが「0」より大きいときには、
繰り返しコマンドによる繰り返し処理が実行されている
ため、「YES」と判定してステップS76に移行す
る。そして、ステップS76では、ステップS74で演
算した変換処理の進行度と、現在繰り返し処理を実行し
ている最中であることを表すマーク等を応答信号として
コンピュータ110またはパネル部40に出力する。こ
れにより、制御部20による変換処理の進行度と、現在
繰り返し処理を実行している最中であることを、コンピ
ュータ110に設けられたユーザインターフェースまた
はパネル部40によってユーザに報知することができ
る。
Further, in a step S75, it is determined whether or not the repetition counter j is larger than "0". As a result, when the repetition counter j is larger than “0”,
Since the repetition processing by the repetition command has been executed, “YES” is determined, and the process shifts to step S76. In step S76, the degree of progress of the conversion process calculated in step S74, a mark indicating that the repetition process is currently being executed, and the like are output to the computer 110 or the panel unit 40 as a response signal. Thus, the user can be notified of the progress of the conversion process by the control unit 20 and the fact that the repetition process is currently being executed by the user interface or the panel unit 40 provided in the computer 110.

【0105】一方、ステップS75の判定の結果、繰り
返しカウンタjが「0」より大きくないときには、繰り
返し処理は実行されていないため、「NO」と判定し、
ステップS77に移行する。そして、ステップS77
で、変換処理の進行度をコンピュータ110またはパネ
ル部40に出力する。これにより、制御部20による変
換処理の進行度を、コンピュータ110に設けられたユ
ーザインターフェースまたはパネル部40によってユー
ザに報知することができる。なお、ステップS76また
はステップS77の処理が終了した後は、図9中のステ
ップS62に戻り、変換処理プログラムによる変換処理
を、コンピュータ110からの印刷データの出力が終了
するまで続行する。
On the other hand, if the result of determination in step S75 is that the repetition counter j is not greater than "0", then no repetition processing has been performed, and thus a determination of "NO"
The process moves to step S77. Then, step S77
Then, the progress of the conversion process is output to the computer 110 or the panel unit 40. Thereby, the progress of the conversion process by the control unit 20 can be notified to the user by the user interface or the panel unit 40 provided in the computer 110. After the processing in step S76 or step S77 is completed, the process returns to step S62 in FIG. 9, and the conversion processing by the conversion processing program is continued until the output of the print data from the computer 110 is completed.

【0106】かくして、本実施形態によるコンピュータ
システム100によれば、プリンタ装置120による変
換処理の実行中に、繰り返しコマンドによる繰り返し処
理が実行されていることを、コンピュータ110または
パネル部40を介してユーザに報知することができる。
Thus, according to the computer system 100 of the present embodiment, while the printer device 120 is executing the conversion process, the user is notified via the computer 110 or the panel unit 40 that the repetition process is being executed by the repetition command. Can be notified.

【0107】従って、本実施形態によれば、繰り返しコ
マンドにより変換処理が繰り返されている間でも、変換
処理が正常に進行しているのか否かをユーザに報知する
ことができ、変換処理が完了するまでにかかる時間をユ
ーザに正確に認識させることができる。
Therefore, according to the present embodiment, it is possible to inform the user whether or not the conversion processing is normally proceeding even while the conversion processing is repeated by the repetition command, and the conversion processing is completed. It is possible to make the user accurately recognize the time required to perform the operation.

【0108】なお、前記各実施形態において、図2中の
ステップS1または図8中のステップS41が本発明の
受取手段(受取工程)の具体例であり、図2中のステッ
プS4,S9およびS11、または図8中のステップS
44、S50およびS52がラベルデータ挿入手段(ラ
ベルデータ挿入工程)の具体例である。さらに、図2中
のステップS13およびS14、または図8中のステッ
プS54、S55がラベル数データ挿入手段(ラベル数
データ挿入工程)の具体例である。
In each of the above embodiments, step S1 in FIG. 2 or step S41 in FIG. 8 is a specific example of the receiving means (receiving step) of the present invention, and steps S4, S9 and S11 in FIG. Or step S in FIG.
44, S50 and S52 are specific examples of the label data inserting means (label data inserting step). Further, steps S13 and S14 in FIG. 2 or steps S54 and S55 in FIG. 8 are specific examples of the label number data inserting means (label number data inserting step).

【0109】また、図3中のステップS23または図9
中のステップS63が読込手段(読込工程)の具体例で
あり、図3中のステップS25およびS27、または図
9中のステップS65およびS67が判定手段(判定工
程)の具体例である。さらに、図3中のステップS29
または図9中のステップS72が変換手段(変換工程)
の具体例であり、図3中のステップS26、または図9
中のステップS69およびS71がラベルデータ計数手
段(ラベルデータ計数工程)の具体例である。また、図
3中のステップS28または図9中のステップS66が
ラベル数データ記憶手段(ラベル数データ記憶工程)の
具体例である。
Further, step S23 in FIG. 3 or FIG.
Step S63 in FIG. 3 is a specific example of the reading means (reading step), and steps S25 and S27 in FIG. 3 or steps S65 and S67 in FIG. 9 are specific examples of the determining means (determining step). Further, step S29 in FIG.
Alternatively, step S72 in FIG. 9 is a conversion unit (conversion step).
FIG. 9 is a specific example of step S26 in FIG.
Steps S69 and S71 in the drawing are specific examples of the label data counting means (label data counting step). Step S28 in FIG. 3 or Step S66 in FIG. 9 is a specific example of the label number data storage means (label number data storage step).

【0110】さらに、図4中のステップS31ないしS
34、または図10中のステップS72ないしS77が
出力手段(出力工程)の具体例である。
Further, steps S31 to S31 in FIG.
34 or steps S72 to S77 in FIG. 10 are specific examples of the output means (output step).

【0111】また、前記各実施形態では、コンピュータ
110またはプリンタ装置120のパネル部40からの
要求信号に応じて、変換処理の進行度を出力するものと
して述べたが、本発明はこれに限らず、所定時間ごとに
変換処理の進行度を演算し出力する構成としてもよい。
また、ラベルデータのラベル番号が更新される毎に、変
換処理の進行度を出力する構成としてもよい。
In each of the above embodiments, the progress of the conversion process is output in response to a request signal from the computer 110 or the panel unit 40 of the printer device 120. However, the present invention is not limited to this. Alternatively, the configuration may be such that the degree of progress of the conversion process is calculated and output at predetermined time intervals.
Further, the progress of the conversion process may be output every time the label number of the label data is updated.

【0112】また、前記各実施形態では、ラベルデータ
をラベル数データで除算することにより、変換処理の進
行度を求めるものとして述べたが、本発明はこれに限ら
ず、ラベルデータとラベル数データとの双方を出力し、
両者を同時に、コンピュータ110のユーザインターフ
ェースまたはパネル部40の表示パネル等に表示する構
成としてもよい。さらに、変換処理の進行度を求めるだ
けでなく、ラベルデータとラベル数データに基づいて、
変換処理が完了するまでにかかる時間を演算し、表示す
る構成としてもよい。
In each of the above embodiments, the progress of the conversion process is obtained by dividing the label data by the number of label data. However, the present invention is not limited to this, and the label data and the number of label data may be obtained. And both output
Both of them may be displayed on the user interface of the computer 110 or the display panel of the panel unit 40 at the same time. In addition to determining the progress of the conversion process, based on the label data and label number data,
It may be configured to calculate and display the time required until the conversion process is completed.

【0113】さらに、前記第2の実施形態において、繰
り返しコマンドにより繰り返される制御コマンド間に挿
入するラベルデータを、通常のラベルデータとは異なる
「繰り返しラベルデータ」とし、プリンタ装置120に
よる変換処理のときに、「繰り返しラベルデータ」を認
識することにより、繰り返しコマンドによる繰り返し処
理が実行されていることを認識する構成としてもよい。
Further, in the second embodiment, the label data to be inserted between the control commands repeated by the repetition command is set as “repetition label data” different from the normal label data. Alternatively, the configuration may be such that by recognizing "repeated label data", it is recognized that repetitive processing by a repetitive command is being executed.

【0114】また、前記各実施形態では、印刷データ処
理システムを、コンピュータ110とプリンタ装置12
0とを接続したコンピュータシステム100に適用した
場合を例に挙げたが、本発明はこれに限らず、ワードプ
ロセッサ専用機のように、コンピュータとプリンタ装置
が一体化したコンピュータシステムにも適用できる。
In each of the above embodiments, the print data processing system includes the computer 110 and the printer 12.
Although the case where the present invention is applied to the computer system 100 connected to 0 has been described as an example, the present invention is not limited to this, and can also be applied to a computer system in which a computer and a printer device are integrated, such as a dedicated word processor.

【0115】さらに、前記各実施形態では、ラベル挿入
処理プログラムをコンピュータ110側に設け、コンピ
ュータ110によってラベル挿入処理を実行するものと
して述べたが、本発明はこれに限らず、プリンタ装置側
に、ラベル挿入処理プログラムを設け、プリンタ装置に
より、ラベル挿入処理を実行させる構成としてもよい。
Further, in each of the above-described embodiments, the label insertion processing program is provided in the computer 110, and the label insertion processing is executed by the computer 110. However, the present invention is not limited to this. A configuration may be adopted in which a label insertion processing program is provided, and the label insertion processing is executed by the printer device.

【0116】また、前記各実施形態では、コンピュータ
を印刷データ処理システムとして機能させるためのプロ
グラムを記録したコンピュータ読み取り可能な記録媒体
として、前記ROM12,22が該当するが、本発明は
これに限定するものでなく、種々の変形が可能である。
例えば、コンピュータプログラムをフロッピーディスク
やCD−ROM等に予め記録しておき、フロッピーディ
スク読取装置やCD−ROM読取装置を印刷データ処理
システムに接続し、フロッピーディスクやCD−ROM
のプログラムをインストールしてコンピュータを機能さ
せるようにすることも可能である。この場合、前記フロ
ッピーディスクやCD−ROM等が記録媒体に相当する
ものであり、記録媒体の形態としても、システム中に予
め組み込まれたタイプの他、市場に流通するコンピュー
タソフトのように、システムに着脱されて使用するタイ
プのものも含む。また、有線若しくは無線の通信網を介
して他のプログラム供給装置から本発明のコンピュータ
プログラムをインストールして使用することも可能であ
る。この場合、前記プログラム供給装置のプログラムを
記録する記録装置が本発明の記録媒体に相当する。
In each of the above embodiments, the ROMs 12 and 22 correspond to the computer-readable recording medium in which the program for causing the computer to function as the print data processing system is applicable, but the present invention is not limited to this. Instead, various modifications are possible.
For example, a computer program is recorded in advance on a floppy disk or CD-ROM, and a floppy disk reader or CD-ROM reader is connected to a print data processing system, and a floppy disk or CD-ROM is
It is also possible to install the program and make the computer function. In this case, the floppy disk, CD-ROM, or the like corresponds to a recording medium, and the recording medium may be of a type pre-installed in the system or a system such as computer software distributed in the market. Includes the type that can be attached to and detached from. Further, it is also possible to install and use the computer program of the present invention from another program supply device via a wired or wireless communication network. In this case, the recording device that records the program of the program supply device corresponds to the recording medium of the present invention.

【0117】[0117]

【発明の効果】以上詳述した通り、請求項1の発明によ
れば、印刷データに含まれる複数の制御コマンドの間に
ラベルデータを挿入することによって、印刷データ中に
ラベルデータを分散配置する。そして、印刷データを描
画データに変換する変換処理を実行しているときに、印
刷データに分散配置されたラベルデータを計数すること
により、変換処理の進行度を正確に認識することができ
る。従って、ユーザの要求に応じて、または自動的に、
随時正確な変換処理の進行度を出力することができ、変
換処理が完了するまでにかかる時間を正確にユーザに知
らせることができる。
As described in detail above, according to the first aspect of the present invention, label data is dispersedly arranged in print data by inserting label data between a plurality of control commands included in the print data. . Then, when the conversion process for converting the print data into the drawing data is being executed, the progress of the conversion process can be accurately recognized by counting the label data distributed and arranged in the print data. Therefore, at the request of the user or automatically,
An accurate progress of the conversion process can be output at any time, and the user can be accurately informed of the time required until the conversion process is completed.

【0118】請求項2の発明によれば、印刷データに分
散配置したラベルデータの総数を印刷データに挿入し、
印刷データを描画データに変換する変換処理を実行する
ときには、ラベルデータの計数結果を前記ラベル数デー
タに関連させて出力することができる。従って、各ラベ
ルデータの計数結果とラベル数データとに基づいて、変
換処理の進行度を容易かつ正確に出力することができ、
変換処理の進行度を理解しやすい状態でユーザに報知す
ることができる。
According to the second aspect of the present invention, the total number of label data distributed and arranged in the print data is inserted into the print data.
When performing a conversion process for converting print data into drawing data, the counting result of the label data can be output in association with the label number data. Therefore, based on the count result of each label data and the label number data, it is possible to easily and accurately output the progress of the conversion process,
The user can be notified of the progress of the conversion process in an easily understandable state.

【0119】請求項3の発明によれば、ラベルデータ挿
入手段により、制御コマンドの所定数毎にラベルデータ
を挿入する構成としたから、印刷データ処理システムの
処理が遅くなるのを防止でき、かつ、変換処理の進行度
の正確性を維持することができる。
According to the third aspect of the present invention, since the label data is inserted by the label data inserting means every predetermined number of control commands, it is possible to prevent the processing of the print data processing system from being delayed, and In addition, the accuracy of the progress of the conversion process can be maintained.

【0120】請求項4の発明によれば、ラベルデータ挿
入手段により、制御コマンド中に繰り返しコマンドがあ
る場合には、繰り返される制御コマンドに対応させてラ
ベルデータを挿入する構成としたから、印刷データを描
画データに変換する変換処理の実行中に、繰り返しコマ
ンドによって繰り返し変換処理が実行されている間で
も、変換処理が進行中であることユーザに報知すること
ができる。
According to the fourth aspect of the present invention, when the label data inserting means includes a repeat command in the control command, the label data is inserted in correspondence with the repeated control command. During the execution of the conversion process of converting into the drawing data, the user can be notified that the conversion process is in progress even while the repetition command is repeatedly executing the conversion process.

【0121】請求項5の発明によれば、印刷データを描
画データに変換する変換処理を実行しているときに、印
刷データに分散配置されたラベルデータを計数すること
により、変換処理の進行度を正確に認識することができ
る。従って、ユーザの要求に応じて、または自動的に、
随時正確な変換処理の進行度を出力することができ、変
換処理が完了するまでにかかる時間を正確にユーザに知
らせることができる。
According to the fifth aspect of the present invention, when the conversion process for converting the print data into the drawing data is being executed, the label data distributed and arranged in the print data is counted, whereby the progress of the conversion process is calculated. Can be accurately recognized. Therefore, at the request of the user or automatically,
An accurate progress of the conversion process can be output at any time, and the user can be accurately informed of the time required until the conversion process is completed.

【0122】請求項6の発明によれば、ユーザの要求に
応じて、または自動的に、随時正確な変換処理の進行度
を出力することができ、変換処理が完了するまでにかか
る時間を正確にユーザに知らせることができる。
According to the invention of claim 6, it is possible to output an accurate progress of the conversion process at any time according to the request of the user or automatically, and it is possible to accurately calculate the time required for the completion of the conversion process. To the user.

【0123】請求項7の発明によれば、各ラベルデータ
の計数結果とラベル数データとに基づいて、変換処理の
進行度を容易かつ正確に出力することができ、変換処理
の進行度を理解しやすい状態でユーザに報知することが
できる。
According to the seventh aspect of the present invention, the progress of the conversion process can be easily and accurately output based on the count result of each label data and the label number data, and the progress of the conversion process can be understood. The user can be notified in an easy-to-use state.

【0124】請求項8の発明によれば、ユーザの要求に
応じて、または自動的に、随時正確な変換処理の進行度
を出力することができ、変換処理が完了するまでにかか
る時間を正確にユーザに知らせることができる。
According to the eighth aspect of the present invention, it is possible to output an accurate progress of the conversion process at any time in response to a user's request or automatically, so that the time required for the completion of the conversion process can be accurately determined. To the user.

【0125】請求項9の発明によれば、各ラベルデータ
の計数結果とラベル数データとに基づいて、変換処理の
進行度を容易かつ正確に出力することができ、変換処理
の進行度を理解しやすい状態でユーザに報知することが
できる。
According to the ninth aspect, the progress of the conversion process can be easily and accurately output based on the counting result of each label data and the label number data, and the progress of the conversion process can be understood. The user can be notified in an easy-to-use state.

【0126】請求項10の発明によれば、ユーザの要求
に応じて、または自動的に、随時正確な変換処理の進行
度を出力することができ、変換処理が完了するまでにか
かる時間を正確にユーザに知らせることができる。
According to the tenth aspect of the present invention, an accurate progress of the conversion process can be output at any time according to the user's request or automatically, and the time required for the completion of the conversion process can be accurately determined. To the user.

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

【図1】本発明の第1の実施形態によるコンピュータシ
ステムの全体構成を示すブロック図である。
FIG. 1 is a block diagram showing an overall configuration of a computer system according to a first embodiment of the present invention.

【図2】第1の実施形態によるラベル挿入処理を示すフ
ローチャートである。
FIG. 2 is a flowchart illustrating a label insertion process according to the first embodiment.

【図3】第1の実施形態による変換処理を示すフローチ
ャートである。
FIG. 3 is a flowchart illustrating a conversion process according to the first embodiment.

【図4】第1の実施形態による進行度出力処理を示すフ
ローチャートである。
FIG. 4 is a flowchart showing a progress output process according to the first embodiment;

【図5】印刷データの具体例を示す説明図である。FIG. 5 is an explanatory diagram showing a specific example of print data.

【図6】ラベルデータ等が挿入された印刷データの具体
例を示す説明図である。
FIG. 6 is an explanatory diagram showing a specific example of print data into which label data and the like are inserted.

【図7】印刷データに基づいて印刷された文字および図
形を示す説明図である。
FIG. 7 is an explanatory diagram showing characters and figures printed based on print data.

【図8】第2の実施形態によるラベル挿入処理を示すフ
ローチャートである。
FIG. 8 is a flowchart illustrating a label insertion process according to the second embodiment.

【図9】第2の実施形態による変換処理を示すフローチ
ャートである。
FIG. 9 is a flowchart illustrating a conversion process according to the second embodiment.

【図10】第2の実施形態による進行度出力処理を示す
フローチャートである。
FIG. 10 is a flowchart showing a progress output process according to the second embodiment;

【図11】印刷データの具体例を示す説明図である。FIG. 11 is an explanatory diagram showing a specific example of print data.

【図12】ラベルデータ等が挿入された印刷データの具
体例を示す説明図である。
FIG. 12 is an explanatory diagram showing a specific example of print data into which label data and the like are inserted.

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

13 RAM(印刷データ記憶手段) 20 制御部 23 RAM(ラベル数記憶手段) 100 コンピュータシステム(印刷データ処理システ
ム) 110 コンピュータ(上位装置) 120 プリンタ装置(印刷データ処理装置)
13 RAM (print data storage means) 20 control unit 23 RAM (label number storage means) 100 computer system (print data processing system) 110 computer (upper device) 120 printer device (print data processing device)

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 文字および図形を印刷するための複数の
制御コマンドを含む印刷データを、印刷媒体上に印刷す
る画素に対応した描画データに変換する印刷データ処理
システムであって、 前記印刷データを受け取る受取手段と、 前記受取手段により受け取られた印刷データに含まれる
各制御コマンドの間にラベルデータを挿入するラベルデ
ータ挿入手段と、 前記ラベルデータ挿入手段によりラベルデータが挿入さ
れた印刷データを記憶する印刷データ記憶手段と、 前記印刷データ記憶手段により記憶された印刷データ
を、この印刷データの先頭から末尾に向けて読み込む読
込手段と、 前記読込手段により読み込まれた印刷データが前記制御
コマンドであるかまたは前記ラベルデータであるかを判
定する判定手段と、 前記判定手段により判定した結果、前記印刷データが制
御コマンドであるときには、この制御コマンドを前記描
画データに変換する変換手段と、 前記判定手段により判定した結果、前記印刷データがラ
ベルデータであるときには、このラベルデータを計数す
るラベルデータ計数手段と、 前記ラベルデータ計数手段によるラベルデータの計数結
果を出力する出力手段と、を備えたことを特徴とする印
刷データ処理システム。
1. A print data processing system for converting print data including a plurality of control commands for printing characters and graphics into drawing data corresponding to pixels to be printed on a print medium, comprising: Receiving means for receiving, label data inserting means for inserting label data between control commands included in the print data received by the receiving means, and storing the print data with the label data inserted by the label data inserting means A print data storage unit, a read unit that reads the print data stored by the print data storage unit from the beginning to the end of the print data, and the print data read by the read unit is the control command. Determining means for determining whether the data is the label data or the label data; As a result, when the print data is a control command, conversion means for converting the control command into the drawing data; and as a result of the determination by the determination means, when the print data is label data, the label data is counted. A print data processing system, comprising: a label data counting unit that performs counting; and an output unit that outputs a result of counting the label data by the label data counting unit.
【請求項2】 文字および図形を印刷するための複数の
制御コマンドを含む印刷データを、印刷媒体上に印刷す
る画素に対応した描画データに変換する印刷データ処理
システムであって、 前記印刷データを受け取る受取手段と、 前記受取手段により受け取られた印刷データに含まれる
各制御コマンドの間にラベルデータを挿入するラベルデ
ータ挿入手段と、 前記ラベルデータ挿入手段により挿入したラベルデータ
の総数を表すラベル数データを前記印刷データに挿入す
るラベル数データ挿入手段と、 前記ラベルデータ挿入手段によりラベルデータが挿入さ
れ、かつ、前記ラベル数データ挿入手段によりラベル数
データが挿入された印刷データを記憶する印刷データ記
憶手段と、 前記印刷データ記憶手段により記憶された印刷データ
を、この印刷データの先頭から末尾に向けて読み込む読
込手段と、 前記読込手段により読み込まれた印刷データが前記制御
コマンド、前記ラベルデータおよび前記ラベル数データ
のうち、いずれであるかを判定する判定手段と、 前記判定手段により判定した結果、前記印刷データが制
御コマンドであるときには、この制御コマンドを前記描
画データに変換する変換手段と、 前記判定手段により判定した結果、前記印刷データがラ
ベルデータであるときには、このラベルデータを計数す
るラベルデータ計数手段と、 前記判定手段により判定した結果、前記印刷データがラ
ベル数データであるときには、このラベル数データを記
憶するラベル数データ記憶手段と、 前記ラベルデータ計数手段によるラベルデータの計数結
果を、前記ラベル数データ記憶手段に記憶されたラベル
数データに関連させて出力する出力手段と、を備えたこ
とを特徴とする印刷データ処理システム。
2. A print data processing system for converting print data including a plurality of control commands for printing characters and graphics into drawing data corresponding to pixels to be printed on a print medium, the print data processing system comprising: Receiving means for receiving, label data inserting means for inserting label data between control commands included in the print data received by the receiving means, and number of labels representing the total number of label data inserted by the label data inserting means Label number data inserting means for inserting data into the print data, and print data storing print data in which label data is inserted by the label data inserting means and label number data is inserted by the label number data inserting means Storage means, and print data stored by the print data storage means. Reading means for reading from the head of the printing data toward the end, and determining means for determining which of the control command, the label data and the label number data the print data read by the reading means, As a result of the determination by the determination unit, when the print data is a control command, a conversion unit that converts the control command into the drawing data; and as a result of the determination by the determination unit, when the print data is label data, Label data counting means for counting the label data; and as a result of the determination by the determination means, when the print data is label number data, label number data storage means for storing the label number data; The label data counting result is stored in the label number data storage means. Output means for outputting in association with the label number data stored in the row.
【請求項3】 前記ラベルデータ挿入手段は、前記制御
コマンドの所定数毎に前記ラベルデータを挿入するよう
に構成したことを特徴とする請求項1または2に記載の
印刷データ処理システム。
3. The print data processing system according to claim 1, wherein the label data insertion unit is configured to insert the label data every predetermined number of the control commands.
【請求項4】 前記ラベルデータ挿入手段は、前記制御
コマンド中に繰り返しコマンドがある場合、繰り返され
る制御コマンドに対応させてラベルデータを挿入するよ
うに構成したことを特徴とする請求項1,2または3に
記載の印刷データ処理システム。
4. The apparatus according to claim 1, wherein said label data inserting means inserts label data corresponding to the repeated control command when said control command includes a repeated command. Or the print data processing system according to 3.
【請求項5】 文字および図形を印刷するための複数の
制御コマンドと、その制御コマンド中に分散配置された
ラベルデータとを含む印刷データを上位装置から入力
し、その印刷データに含まれる制御コマンドを印刷媒体
上に印刷する画素に対応した描画データに変換する印刷
データ処理装置であって、 前記印刷データを、この印刷データの先頭から末尾に向
けて読み込む読込手段と、 前記読込手段により読み込まれた印刷データが前記制御
コマンドであるかまたは前記ラベルデータであるかを判
定する判定手段と、 前記判定手段により判定した結果、前記印刷データが制
御コマンドであるときには、この制御コマンドを前記描
画データに変換する変換手段と、 前記判定手段により判定した結果、前記印刷データがラ
ベルデータであるときには、このラベルデータを計数す
るラベルデータ計数手段と、 前記ラベルデータ計数手段によるラベルデータの計数結
果を出力する出力手段と、を備えたことを特徴とする印
刷データ処理装置。
5. A print command including a plurality of control commands for printing characters and graphics and label data distributed in the control commands is input from a higher-level device, and a control command included in the print data is provided. A print data processing apparatus for converting the print data from the top to the end of the print data, wherein the read data is read by the read means. Determining means for determining whether the print data is the control command or the label data; and, as a result of the determination by the determining means, when the print data is a control command, the control command is added to the drawing data. Conversion means for converting, and as a result of the determination by the determination means, the print data is label data Includes a label data counting means for counting the label data, the print data processing apparatus being characterized in that and an output means for outputting a count result of the label data by the label data counting unit.
【請求項6】 文字および図形を印刷するための複数の
制御コマンドを含む印刷データを、印刷媒体上に印刷す
る画素に対応した描画データに変換する印刷データ処理
方法であって、 前記印刷データを受け取る受取工程と、 前記受取工程により受け取られた印刷データに含まれる
各制御コマンドの間にラベルデータを挿入するラベルデ
ータ挿入工程と、 前記ラベルデータ挿入工程によりラベルデータが挿入さ
れた印刷データを記憶する印刷データ記憶工程と、 前記印刷データ記憶工程により記憶された印刷データ
を、この印刷データの先頭から末尾に向けて読み込む読
込工程と、 前記読込工程により読み込まれた印刷データが前記制御
コマンドであるかまたは前記ラベルデータであるかを判
定する判定工程と、 前記判定工程により判定した結果、前記印刷データが制
御コマンドであるときには、この制御コマンドを前記描
画データに変換する変換工程と、 前記判定工程により判定した結果、前記印刷データがラ
ベルデータであるときには、このラベルデータを計数す
るラベルデータ計数工程と、 前記ラベルデータ計数工程によるラベルデータの計数結
果を出力する出力工程と、を備えたことを特徴とする印
刷データ処理方法。
6. A print data processing method for converting print data including a plurality of control commands for printing characters and graphics into drawing data corresponding to pixels to be printed on a print medium, comprising: A receiving step of receiving, a label data inserting step of inserting label data between control commands included in the print data received by the receiving step, and storing the print data with the label data inserted by the label data inserting step. A print data storage step for reading, a read step for reading the print data stored in the print data storage step from the beginning to the end of the print data, and the print data read in the read step are the control commands. Or a determining step of determining whether the label data is the label data, As a result, when the print data is a control command, a conversion step of converting the control command into the drawing data; and as a result of the determination in the determination step, when the print data is label data, the label data is counted. A print data processing method comprising: a label data counting step; and an output step of outputting a label data count result in the label data counting step.
【請求項7】 文字および図形を印刷するための複数の
制御コマンドを含む印刷データを、印刷媒体上に印刷す
る画素に対応した描画データに変換する印刷データ処理
方法であって、 前記印刷データを受け取る受取工程と、 前記受取工程により受け取られた印刷データに含まれる
各制御コマンドの間にラベルデータを挿入するラベルデ
ータ挿入工程と、 前記ラベルデータ挿入工程により挿入したラベルデータ
の総数を表すラベル数データを前記印刷データに挿入す
るラベル数データ挿入工程と、 前記ラベルデータ挿入工程によりラベルデータが挿入さ
れ、かつ、前記ラベル数データ挿入工程によりラベル数
データが挿入された印刷データを記憶する印刷データ記
憶工程と、 前記印刷データ記憶工程により記憶された印刷データ
を、この印刷データの先頭から末尾に向けて読み込む読
込工程と、 前記読込工程により読み込まれた印刷データが前記制御
コマンド、前記ラベルデータおよび前記ラベル数データ
のうち、いずれであるかを判定する判定工程と、 前記判定工程により判定した結果、前記印刷データが制
御コマンドであるときには、この制御コマンドを前記描
画データに変換する変換工程と、 前記判定工程により判定した結果、前記印刷データがラ
ベルデータであるときには、このラベルデータを計数す
るラベルデータ計数工程と、 前記判定工程により判定した結果、前記印刷データがラ
ベル数データであるときには、このラベル数データを記
憶するラベル数データ記憶工程と、 前記ラベルデータ計数工程によるラベルデータの計数結
果を、前記ラベル数データ記憶工程に記憶されたラベル
数データに関連させて出力する出力工程と、を備えたこ
とを特徴とする印刷データ処理方法。
7. A print data processing method for converting print data including a plurality of control commands for printing characters and graphics into drawing data corresponding to pixels to be printed on a print medium, comprising: A receiving step of receiving, a label data inserting step of inserting label data between control commands included in the print data received by the receiving step, and a label number representing a total number of label data inserted by the label data inserting step A label number data inserting step of inserting data into the print data; and a print data storing the print data in which the label data is inserted by the label data inserting step and the label number data is inserted by the label number data inserting step. Storing the print data stored in the print data storing step; A reading step of reading from the beginning to the end of the data, and a determining step of determining which of the control command, the label data and the label number data is the print data read by the reading step, When the result of the determination in the determination step is that the print data is a control command, a conversion step of converting the control command into the drawing data; and, as a result of the determination in the determination step, when the print data is label data, A label data counting step of counting the label data; and, as a result of the determination in the determination step, when the print data is label number data, a label number data storage step of storing the label number data; The label data counting result is stored in the label number data storage step. An output step of outputting the output in association with the stored label number data.
【請求項8】 文字および図形を印刷するための複数の
制御コマンドを含む印刷データを、印刷媒体上に印刷す
る画素に対応した描画データに変換する印刷データ処理
システムとしてコンピュータを機能させるためのプログ
ラムを記録したコンピュータ読み取り可能な記録媒体で
あって、 前記コンピュータを、 前記印刷データを受け取る受取手段と、 前記受取手段により受け取られた印刷データに含まれる
各制御コマンドの間にラベルデータを挿入するラベルデ
ータ挿入手段と、 前記ラベルデータ挿入手段によりラベルデータが挿入さ
れた印刷データを記憶する印刷データ記憶手段と、 前記印刷データ記憶手段により記憶された印刷データ
を、この印刷データの先頭から末尾に向けて読み込む読
込手段と、 前記読込手段により読み込まれた印刷データが前記制御
コマンドであるかまたは前記ラベルデータであるかを判
定する判定手段と、 前記判定手段により判定した結果、前記印刷データが制
御コマンドであるときには、この制御コマンドを前記描
画データに変換する変換手段と、 前記判定手段により判定した結果、前記印刷データがラ
ベルデータであるときには、このラベルデータを計数す
るラベルデータ計数手段と、 前記ラベルデータ計数手段によるラベルデータの計数結
果を出力する出力手段と、を備えたことを特徴とする印
刷データ処理システムとして機能させるためのプログラ
ムを記録したコンピュータ読み取り可能な記録媒体。
8. A program for causing a computer to function as a print data processing system for converting print data including a plurality of control commands for printing characters and graphics into drawing data corresponding to pixels to be printed on a print medium. Is a computer-readable recording medium recording the computer, the receiving means for receiving the print data, and a label for inserting label data between control commands included in the print data received by the receiving means. Data insertion means, print data storage means for storing print data into which label data has been inserted by the label data insertion means, and print data stored by the print data storage means directed from the beginning to the end of the print data. Reading means for reading and reading by the reading means A determining unit for determining whether the print data is the control command or the label data; and as a result of the determination by the determining unit, when the print data is a control command, the control command is converted into the drawing data. Conversion means for performing the determination, when the print data is label data as a result of the determination by the determination means, a label data counting means for counting the label data, and an output for outputting the label data counting result by the label data counting means. And a computer-readable recording medium storing a program for causing the apparatus to function as a print data processing system.
【請求項9】 文字および図形を印刷するための複数の
制御コマンドを含む印刷データを、印刷媒体上に印刷す
る画素に対応した描画データに変換する印刷データ処理
システムとしてコンピュータを機能させるためのプログ
ラムを記録したコンピュータ読み取り可能な記録媒体で
あって、 前記コンピュータを、 前記印刷データを受け取る受取手段と、 前記受取手段により受け取られた印刷データに含まれる
各制御コマンドの間にラベルデータを挿入するラベルデ
ータ挿入手段と、 前記ラベルデータ挿入手段により挿入したラベルデータ
の総数を表すラベル数データを前記印刷データに挿入す
るラベル数データ挿入手段と、 前記ラベルデータ挿入手段によりラベルデータが挿入さ
れ、かつ、前記ラベル数データ挿入手段によりラベル数
データが挿入された印刷データを記憶する印刷データ記
憶手段と、 前記印刷データ記憶手段により記憶された印刷データ
を、この印刷データの先頭から末尾に向けて読み込む読
込手段と、 前記読込手段により読み込まれた印刷データが前記制御
コマンド、前記ラベルデータおよび前記ラベル数データ
のうち、いずれであるかを判定する判定手段と、 前記判定手段により判定した結果、前記印刷データが制
御コマンドであるときには、この制御コマンドを前記描
画データに変換する変換手段と、 前記判定手段により判定した結果、前記印刷データがラ
ベルデータであるときには、このラベルデータを計数す
るラベルデータ計数手段と、 前記判定手段により判定した結果、前記印刷データがラ
ベル数データであるときには、このラベル数データを記
憶するラベル数データ記憶手段と、 前記ラベルデータ計数手段によるラベルデータの計数結
果を、前記ラベル数データ記憶手段に記憶されたラベル
数データに関連させて出力する出力手段とを備えたこと
を特徴とする印刷データ処理システムとして機能させる
ためのプログラムを記録したコンピュータ読み取り可能
な記録媒体。
9. A program for causing a computer to function as a print data processing system that converts print data including a plurality of control commands for printing characters and graphics into drawing data corresponding to pixels to be printed on a print medium. Is a computer-readable recording medium recording the computer, the receiving means for receiving the print data, and a label for inserting label data between control commands included in the print data received by the receiving means. Data insertion means, label number data insertion means for inserting label number data representing the total number of label data inserted by the label data insertion means into the print data, label data inserted by the label data insertion means, and The label number data is inserted by the label number data inserting means. Print data storage means for storing the inserted print data; reading means for reading the print data stored by the print data storage means from the beginning to the end of the print data; and printing read by the reading means. Determining means for determining which of the data is the control command, the label data, and the label number data; as a result of the determination by the determining means, when the print data is a control command, A conversion unit that converts the drawing data; a label data counting unit that counts the label data when the print data is label data as a result of the determination by the determination unit; If the data is label number data, store this label number data Label number data storage means, and output means for outputting the result of counting the label data by the label data counting means in association with the label number data stored in the label number data storage means. A computer-readable recording medium on which a program for causing a computer to function as a print data processing system is stored.
【請求項10】 文字および図形を印刷するための複数
の制御コマンドと、その制御コマンド中に分散配置され
たラベルデータとを含む印刷データを上位装置から入力
し、その印刷データに含まれる制御コマンドを印刷媒体
上に印刷する画素に対応した描画データに変換する印刷
データ処理装置としてコンピュータを機能させるための
プログラムを記録したコンピュータ読み取り可能な記録
媒体であって、 前記コンピュータを、 前記印刷データを、この印刷データの先頭から末尾に向
けて読み込む読込手段と、 前記読込手段により読み込まれた印刷データが前記制御
コマンドであるかまたは前記ラベルデータであるかを判
定する判定手段と、 前記判定手段により判定した結果、前記印刷データが制
御コマンドであるときには、この制御コマンドを前記描
画データに変換する変換手段と、 前記判定手段により判定した結果、前記印刷データがラ
ベルデータであるときには、このラベルデータを計数す
るラベルデータ計数手段と、 前記ラベルデータ計数手段によるラベルデータの計数結
果を出力する出力手段と、を備えたことを特徴とする印
刷データ処理装置として機能させるためのプログラムを
記録したコンピュータ読み取り可能な記録媒体。
10. A print command including a plurality of control commands for printing characters and graphics and label data distributed in the control commands is input from a higher-level device, and control commands included in the print data are provided. Is a computer-readable recording medium that records a program for causing a computer to function as a print data processing device that converts drawing data corresponding to pixels to be printed on a print medium. Reading means for reading from the beginning to the end of the print data; determining means for determining whether the print data read by the reading means is the control command or the label data; determining by the determining means As a result, when the print data is a control command, Conversion means for converting the print data into the drawing data; and as a result of the determination by the determination means, when the print data is label data, label data counting means for counting the label data; and label data by the label data counting means. A computer-readable recording medium having recorded thereon a program for causing the apparatus to function as a print data processing apparatus, comprising: an output unit that outputs the counting result.
JP10988297A 1997-04-25 1997-04-25 PRINT DATA PROCESSING SYSTEM AND METHOD, AND COMPUTER-READABLE RECORDING MEDIUM RECORDING PROGRAM FOR MAKING COMPUTER TO FUNCTION AS PRINT DATA PROCESSING SYSTEM Expired - Fee Related JP3726420B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10988297A JP3726420B2 (en) 1997-04-25 1997-04-25 PRINT DATA PROCESSING SYSTEM AND METHOD, AND COMPUTER-READABLE RECORDING MEDIUM RECORDING PROGRAM FOR MAKING COMPUTER TO FUNCTION AS PRINT DATA PROCESSING SYSTEM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10988297A JP3726420B2 (en) 1997-04-25 1997-04-25 PRINT DATA PROCESSING SYSTEM AND METHOD, AND COMPUTER-READABLE RECORDING MEDIUM RECORDING PROGRAM FOR MAKING COMPUTER TO FUNCTION AS PRINT DATA PROCESSING SYSTEM

Publications (2)

Publication Number Publication Date
JPH10297030A true JPH10297030A (en) 1998-11-10
JP3726420B2 JP3726420B2 (en) 2005-12-14

Family

ID=14521564

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10988297A Expired - Fee Related JP3726420B2 (en) 1997-04-25 1997-04-25 PRINT DATA PROCESSING SYSTEM AND METHOD, AND COMPUTER-READABLE RECORDING MEDIUM RECORDING PROGRAM FOR MAKING COMPUTER TO FUNCTION AS PRINT DATA PROCESSING SYSTEM

Country Status (1)

Country Link
JP (1) JP3726420B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004355510A (en) * 2003-05-30 2004-12-16 Seiko Epson Corp Printing system, display method therefor, and program and recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004355510A (en) * 2003-05-30 2004-12-16 Seiko Epson Corp Printing system, display method therefor, and program and recording medium

Also Published As

Publication number Publication date
JP3726420B2 (en) 2005-12-14

Similar Documents

Publication Publication Date Title
JPH07125374A (en) Layout indication device
JPH11296335A (en) Preview method for print data and device therefor and recording medium
JP2001125756A (en) Output system, output device, host device, control method therefor and information recording medium
JPH1097393A (en) Print control method and device and recording medium
JP3726420B2 (en) PRINT DATA PROCESSING SYSTEM AND METHOD, AND COMPUTER-READABLE RECORDING MEDIUM RECORDING PROGRAM FOR MAKING COMPUTER TO FUNCTION AS PRINT DATA PROCESSING SYSTEM
JPH08160934A (en) Character information processor
JPS61245274A (en) Word processor
JP3478696B2 (en) Image processing apparatus and control method thereof
JP2687478B2 (en) Printing device
JP2002254758A (en) Printer
JP3154243B2 (en) Printing equipment
JP2839247B2 (en) Output control device
JPH08339281A (en) Printing system and printing method therefor
JPH11105388A (en) Printing processing system and method, and computer-readable recording medium wherein printing processing control program is recorded
JPS59201870A (en) Printer
JPS61175675A (en) Character modification control system by body face size replacement
JP3036064B2 (en) Document output device
JP2885951B2 (en) Print control device and control program selection method
JP2836092B2 (en) Image supply device
JPS63205269A (en) Printer
JPH0196724A (en) Picture output device
JPH08132703A (en) Method and device for outputting character
JPH1145160A (en) Printing control system
JPS63250727A (en) Printer controller
JP3543986B2 (en) Character processing method and apparatus

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050906

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050919

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091007

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091007

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101007

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101007

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111007

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111007

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121007

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131007

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees