JP2000293329A - Device and method for abbreviating control code - Google Patents

Device and method for abbreviating control code

Info

Publication number
JP2000293329A
JP2000293329A JP11101191A JP10119199A JP2000293329A JP 2000293329 A JP2000293329 A JP 2000293329A JP 11101191 A JP11101191 A JP 11101191A JP 10119199 A JP10119199 A JP 10119199A JP 2000293329 A JP2000293329 A JP 2000293329A
Authority
JP
Japan
Prior art keywords
control code
data
command
control
printing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11101191A
Other languages
Japanese (ja)
Inventor
Kei Sakamoto
圭 坂本
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.)
NEC Data Terminal Ltd
Original Assignee
NEC Data Terminal 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 NEC Data Terminal Ltd filed Critical NEC Data Terminal Ltd
Priority to JP11101191A priority Critical patent/JP2000293329A/en
Publication of JP2000293329A publication Critical patent/JP2000293329A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To secure an original printer printing speed by decreasing the data transfer amount of control information from a computer by adding commands to be registered when data to be printed are transmitted to the printer. SOLUTION: When a control code from a computer 10 is stored in a receiving buffer 12, a printer F/W 14 analyzes the control code by a data analysis part 16. When a control code registration command is present in control data, the data analysis part 16 registers it in a control code buffer 18. At this time, the data analysis part 16 stores the registered address and registration number. When a control code having a large number of byes such as for a reduced/ enlarged character is sent, the registration number is added and then the registration number is only sent thereafter, so that the printer performs the control process corresponding to the registered number. Consequently, the amount of data to be sent to the printer decreases to increase the process speed of the I/F between the host device and printer.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、コンピュータから
印刷装置へ転送する制御情報をコマンド化し、コマンド
から印刷機側で情報を再現することで印刷速度を落とさ
ず印刷する制御コード短縮化装置および方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control code shortening apparatus and method for printing commands without reducing the printing speed by converting control information transferred from a computer to a printing apparatus into a command and reproducing the information from the command on the printing press side. About.

【0002】[0002]

【従来の技術】プリンタ自体が高速化してきているが、
コンピュータからのデータ転送速度が間に合わずプリン
タ本来の印字速度を損なう現象が現れている。
2. Description of the Related Art Although the speed of a printer itself is increasing,
There has been a phenomenon that the data transfer speed from the computer is not enough to deteriorate the original printing speed of the printer.

【0003】この問題を解決するために従来の印刷装置
へのデータ削減の一例が、特開平9−219762号公
報に記載されている。この公報に記載された情報処理装
置並びに印刷装置並びに印刷システムおよび印刷システ
ムのデータ処理方法は、情報処理装置から印刷装置へ転
送する転送データに付加される誤り制御情報の転送単位
を可変して転送データに占める誤り情報をの量を削減す
ることで情報処理装置と印刷装置との間の情報量を削減
して、印刷処理時間を短縮するものである。
[0003] An example of data reduction to a conventional printing apparatus in order to solve this problem is described in JP-A-9-219762. The information processing apparatus, the printing apparatus, the printing system, and the data processing method of the printing system described in this publication transfer the error control information added to the transfer data transferred from the information processing apparatus to the printing apparatus by changing the transfer unit. By reducing the amount of error information occupying data, the amount of information between the information processing apparatus and the printing apparatus is reduced, and the printing processing time is shortened.

【0004】[0004]

【発明が解決しようとする課題】上述の特開平9−21
9762号公報に記載の情報処理装置並びに印刷装置並
びに印刷システムおよび印刷システムのデータ処理方法
は、印刷装置へ転送データの誤り制御情報をCPUによ
り削減することで印刷装置への情報量を削減していた。
転送データの中では、誤り制御情報のほか印刷に必要な
制御情報の削減も求められていた。印刷に必要な制御情
報は、誤り情報と違い情報の転送回数を削減することが
困難である。もし単純に回数のみを削減すると、印刷す
るときに正確に文字などを印字することができなくなっ
てしまう。
SUMMARY OF THE INVENTION The above-mentioned JP-A-9-21
The information processing apparatus, the printing apparatus, the printing system, and the data processing method of the printing system described in Japanese Patent No. 9762 reduce the amount of information to the printing apparatus by reducing the error control information of the data transferred to the printing apparatus by the CPU. Was.
In the transfer data, it is required to reduce not only the error control information but also the control information necessary for printing. Control information necessary for printing is different from error information, and it is difficult to reduce the number of times information is transferred. If the number of times is simply reduced, characters and the like cannot be accurately printed when printing.

【0005】本発明の目的は、コンピュータからの制御
情報のデータ転送する量を減らすことで、本来のプリン
タの印字速度を損なわない様にする制御コード短縮化装
置および方法を提供することにある。
An object of the present invention is to provide a control code shortening apparatus and method which reduce the amount of control information data transferred from a computer so as not to impair the original printing speed of a printer.

【0006】[0006]

【課題を解決するための手段】本発明の制御コード短縮
化装置は、情報処理装置からのデータを受信すると前記
データを解析し、登録するコマンドがあるとき、前記デ
ータの印刷に関する情報である制御コードを登録し、前
記データに参照するコマンドがあるとき、前記参照する
コマンドから前記登録した制御コードを参照し、前記デ
ータを印刷する制御手段と、印刷する前記データを印刷
装置へ送信するとき、前記登録するコマンドと前記参照
するコマンドとを付加することが可能な手段を有する情
報処理装置とを備えることを特徴とする。
According to the control code shortening apparatus of the present invention, when data is received from an information processing apparatus, the data is analyzed, and when there is a command to be registered, the control code is information relating to printing of the data. Register the code, when there is a command to refer to the data, refer to the registered control code from the command to be referenced, control means to print the data, when transmitting the data to be printed to a printing device, An information processing apparatus having means capable of adding the command to be registered and the command to be referred to is provided.

【0007】本発明の制御コード短縮化方法は、登録コ
マンドまたは参照コマンドが付加された印刷データを取
得し、前記登録コマンドのとき前記印刷データに含まれ
る印刷に関する情報である制御データを登録し、前記参
照コマンドであるとき、登録されている前記制御データ
を参照して前記印刷データを印刷することを特徴とす
る。
A control code shortening method according to the present invention acquires print data to which a registration command or a reference command is added, and registers control data, which is information on printing included in the print data, at the time of the registration command. When the command is the reference command, the print data is printed with reference to the registered control data.

【0008】[0008]

【発明の実施の形態】本発明は、プリンタに縮小/拡大
文字(Fs m)の様なバイト数が多い制御コードを送
るとき、この制御コード自身をプリンタに登録させ、登
録番号を付ける事により、次から登録した番号を送るだ
けで、プリンタは登録された番号の制御の処理をおこな
うものである。これにより、プリンタに送るデータ量が
減少し、上位装置とプリンタ間のI/Fの処理速度をあ
げる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS According to the present invention, when a control code having a large number of bytes, such as reduced / enlarged characters (Fsm), is sent to a printer, the control code itself is registered in the printer, and a registration number is assigned. The printer performs control of the registered number only by sending the registered number. As a result, the amount of data sent to the printer is reduced, and the processing speed of the I / F between the host device and the printer is increased.

【0009】本発明の実施例の構成を図1を参照し詳細
に説明する。図1は、本発明の制御コード短縮化装置の
構成を表すブロック図である。本発明の制御コード短縮
化装置は、図1に示すように、上位装置であり文書,図
形およびその他の印刷データなどをプリンタドライバな
どにより制御コードを出力するコンピュータ10と、コ
ンピュータ10から出力された制御コードを受信し格納
する受信バッファ12と、登録する制御コード,登録番
号およびその他のデータを格納する制御コードバッファ
14と、受信バッファ12で受信したデータを取得し解
析し、登録するコマンドがあると制御コードバッファ1
4へ登録,格納し登録したアドレスおよび番号を記憶
し、印刷などを実行するコマンドがあると制御コードを
もとに制御コードバッファ14からデータを取得し、出
力するデータ解析部16と、受信バッファ12,制御コ
ードバッファ14およびデータ解析部16を制御し、コ
ンピュータ10からの制御コードおよびその他のデータ
を制御するプリンタF/W18とを備える。
The configuration of an embodiment of the present invention will be described in detail with reference to FIG. FIG. 1 is a block diagram showing a configuration of a control code shortening apparatus according to the present invention. As shown in FIG. 1, the control code shortening apparatus of the present invention is a host apparatus, which is a computer that outputs control codes of documents, graphics, and other print data using a printer driver or the like, and a computer that outputs the control codes. There are a receiving buffer 12 for receiving and storing control codes, a control code buffer 14 for storing control codes, registration numbers, and other data to be registered, and commands for acquiring, analyzing, and registering data received by the receiving buffer 12. And control code buffer 1
4, a data analysis unit 16 for acquiring data from the control code buffer 14 based on the control code and outputting the data when there is a command for executing printing or the like. 12, a printer F / W 18 that controls the control code buffer 14 and the data analysis unit 16 and controls control codes and other data from the computer 10.

【0010】次に、本発明の実施例の動作を図2から図
4を参照し説明する。図2は、本発明の制御コードの登
録コマンドを表す図である。図3は、本発明の制御コー
ドの参照コマンドを表す図である。図4は、本発明の制
御コードの追加コマンドを表す図である。図2,図4に
示すように、コンピュータ10からのコマンドで制御コ
ード登録コマンドは、「Fs0,レングス,xx,制御
コード.」を追加し、制御コード参照コマンドは、「F
s1,xx.」を追加する。“xx”は、登録コマンド
の場合には登録する番号を表し、参照の場合には登録し
た番号を表すものとする。
Next, the operation of the embodiment of the present invention will be described with reference to FIGS. FIG. 2 is a diagram showing a control code registration command of the present invention. FIG. 3 is a diagram showing a control code reference command according to the present invention. FIG. 4 is a diagram showing a control code addition command of the present invention. As shown in FIGS. 2 and 4, in the command from the computer 10, the control code registration command adds "Fs0, length, xx, control code."
s1, xx. ". “Xx” indicates a registered number in the case of a registration command, and indicates a registered number in the case of reference.

【0011】図2を参照すると、受信バッファ12にコ
ンピュータ10からの制御コードが、格納される。制御
コードは、データ解析部16により解析される。データ
解析部16は、制御データ内に制御コード登録コマンド
があるとき、制御コードバッファ14に登録する。この
とき、データ解析部16は、登録したアドレス(ここで
は、制御コードバッファの先頭を80080000Hか
らとする)および、登録番号を記憶しておく。
Referring to FIG. 2, a control code from the computer 10 is stored in the reception buffer 12. The control code is analyzed by the data analyzer 16. When there is a control code registration command in the control data, the data analysis unit 16 registers the control code in the control code buffer 14. At this time, the data analysis unit 16 stores the registered address (here, the head of the control code buffer starts from 8080000H) and the registration number.

【0012】例えば登録番号「1」は、「縦1/2×横
1/2倍」を制御コードバッファアドレス800800
00Hに格納している。登録番号「2」は、「縦1/2
×横1倍」を8008000CHに格納している。登録
番号「3」は、「縦1×横1倍」を80080018H
に格納している。
For example, the registration number “1” is obtained by dividing “vertical 1/2 × horizontal 1/2” by the control code buffer address 800 800
00H. The registration number “2” is “Vertical 1/2
X 1 horizontal width "is stored in 8008000 CH. The registration number “3” is “800 × 0018H” for “1 × 1”.
Is stored in

【0013】次に、図3は登録したコードを参照するた
めの制御コード参照コマンドの流れを示したものであ
る。図3を参照すると、受信バッファ12に上位からの
制御コードが格納される。ここで、制御データは、デー
タ解析部16で解析される。データ解析部16は、制御
データ内に制御コード参照コマンドがあるとき、制御コ
ードバッファ14に格納されているコードを参照する番
号から格納されているアドレスの中身を読み込み、この
制御コードの処理をおこなう。
FIG. 3 shows a flow of a control code reference command for referring to a registered code. Referring to FIG. 3, a control code from a higher order is stored in the reception buffer 12. Here, the control data is analyzed by the data analysis unit 16. When there is a control code reference command in the control data, the data analysis unit 16 reads the contents of the stored address from the number referring to the code stored in the control code buffer 14 and processes the control code. .

【0014】例えば、参照番号「1」は、制御コードバ
ッファアドレス8008000Hにある「縦1/2×横
1/2倍」を読み出し、その後に続く文字「AAAA」
を「縦1/2×横1/2倍」に縮小し印字する。登録番
号「2」は、制御コードバッファアドレス800800
CHにある「縦1/2×横1倍」を読み出し、その後に
続く文字「BBBB」を「縦1/2×横1倍」に縮小し
印字する。登録番号「3」は、制御コードバッファアド
レス8008018Hにある「縦1×横1倍」読み出
し、その後に続く文字「CCCC」を「縦1×横1倍」
で印字する。
For example, for the reference number "1", "1/2 vertical x 1/2 horizontal" at the control code buffer address 8008000H is read, and the following character "AAAAA"
Is reduced to "1/2 vertical x 1/2 horizontal" and printed. The registration number “2” is the control code buffer address 800 800
The “vertical 1/2 × horizontal” in the CH is read out, and the subsequent character “BBBB” is reduced to “vertical 1/2 × horizontal” and printed. The registration number “3” is read “1 × 1” in the control code buffer address 808018H, and the subsequent character “CCCC” is “1 × 1”.
Print with.

【0015】[0015]

【発明の効果】本発明の制御コード短縮化装置は、制御
コードバッファに必要なコマンドの命令を格納し、コン
ピュータからの簡易な形のコマンドにより印字を実行可
能となる。本発明は、データ解析部でコマンドを解析す
ることで必要なデータを印刷装置側で取得することにな
りコンピュータからのデータ量を減らすことができ、プ
リンタの本来持つ印字速度を損なわないことになる。
The control code shortening apparatus of the present invention stores necessary command instructions in a control code buffer, and can execute printing by a simple command from a computer. According to the present invention, necessary data is acquired by the printing apparatus by analyzing the command in the data analysis unit, so that the amount of data from the computer can be reduced, and the original printing speed of the printer is not impaired. .

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

【図1】本発明の制御コード短縮化装置の構成を表すブ
ロック図である。
FIG. 1 is a block diagram illustrating a configuration of a control code shortening apparatus according to the present invention.

【図2】本発明の制御コードの登録コマンドを表す図で
ある。
FIG. 2 is a diagram showing a control code registration command of the present invention.

【図3】本発明の制御コードの参照コマンドを表す図で
ある。
FIG. 3 is a diagram showing a control code reference command of the present invention.

【図4】本発明の制御コードの追加コマンドを表す図で
ある。
FIG. 4 is a diagram showing a control code addition command of the present invention.

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

10 コンピュータ 12 受信バッファ 14 制御データバッファ 16 データ解析部 18 プリンタF/W Reference Signs List 10 computer 12 reception buffer 14 control data buffer 16 data analysis unit 18 printer F / W

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】情報処理装置から印刷装置へ転送されるデ
ータの中の印刷に関する情報である制御コードを前記印
刷装置で登録することによりコマンド化し、前記情報処
理装置から前記コマンドを転送し、データを印刷するこ
とを特徴とする制御コード短縮化装置。
And a control code that is information relating to printing in data transferred from the information processing apparatus to the printing apparatus, and is converted into a command by registering the control code in the printing apparatus. A control code shortening device, characterized by printing a character string.
【請求項2】情報処理装置からのデータを受信すると前
記データを解析し、登録するコマンドがあるとき、前記
データの印刷に関する情報である制御コードを登録し、
前記データに参照するコマンドがあるとき、前記参照す
るコマンドから前記登録した制御コードを参照し、前記
データを印刷する制御手段と、 印刷する前記データを印刷装置へ送信するとき、前記登
録するコマンドと前記参照するコマンドとを付加するこ
とが可能な手段を有する情報処理装置と、を備えること
を特徴とする制御コード短縮化装置。
2. When receiving data from an information processing apparatus, the data is analyzed, and when there is a command to be registered, a control code which is information relating to printing of the data is registered,
When there is a command to refer to the data, the control unit refers to the registered control code from the command to refer to, prints the data, and transmits the data to be printed to a printing apparatus. A control code shortening device, comprising: an information processing device having means capable of adding the command to be referred to.
【請求項3】前記印刷に関する情報である制御コード
は、印刷するときの文字の大きさの情報であることを特
徴とする請求項2記載の制御コード短縮化装置。
3. The control code shortening apparatus according to claim 2, wherein the control code, which is information relating to printing, is information on a size of a character to be printed.
【請求項4】前記制御手段は、 前記情報処理装置からの前記データを受信し格納する受
信バッファと、 前記受信バッファの前記データに登録するコマンドがあ
るとき、前記制御コードを登録し、前記登録した制御コ
ードのアドレスと呼び出すための番号とを取得し記憶
し、前記データに前記参照コマンドがあるとき、前記参
照コマンドに前記呼び出すための番号と同じ値の番号を
取得し、前記呼び出すための番号を検索することで前記
制御コードを取得し、前記制御コードにより印字するデ
ータ解析部と、 前記制御コードを登録し、前記登録した制御コードのア
ドレスと呼び出すための番号とを前記データ解析部へ出
力する制御コードバッファと、を有することを特徴とす
る請求項2または3記載の制御コード短縮化装置。
4. The control means registers the control code when there is a reception buffer for receiving and storing the data from the information processing device and a command for registering the data in the reception buffer. Obtain and store the address of the control code and the number for calling, and when the data includes the reference command, obtain the number of the same value as the number for calling in the reference command, and obtain the number for calling. A data analysis unit that obtains the control code by retrieving the control code, prints the control code using the control code, registers the control code, and outputs an address of the registered control code and a number to call to the data analysis unit. The control code shortening device according to claim 2 or 3, further comprising:
【請求項5】前記データは、文字または図形であること
を特徴とする請求項4記載の制御コード短縮化装置。
5. The control code shortening apparatus according to claim 4, wherein said data is a character or a graphic.
【請求項6】登録コマンドまたは参照コマンドが付加さ
れた印刷データを取得し、前記登録コマンドのとき前記
印刷データに含まれる印刷に関する情報である制御デー
タを登録し、前記参照コマンドであるとき、登録されて
いる前記制御データを参照して前記印刷データを印刷す
ることを特徴とする制御コード短縮化方法。
6. Acquiring print data to which a registration command or a reference command is added, registering control data that is information on printing included in the print data at the time of the registration command, and registering the control data at the time of the reference command. A control code shortening method for printing the print data with reference to the control data.
JP11101191A 1999-04-08 1999-04-08 Device and method for abbreviating control code Pending JP2000293329A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11101191A JP2000293329A (en) 1999-04-08 1999-04-08 Device and method for abbreviating control code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11101191A JP2000293329A (en) 1999-04-08 1999-04-08 Device and method for abbreviating control code

Publications (1)

Publication Number Publication Date
JP2000293329A true JP2000293329A (en) 2000-10-20

Family

ID=14294072

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11101191A Pending JP2000293329A (en) 1999-04-08 1999-04-08 Device and method for abbreviating control code

Country Status (1)

Country Link
JP (1) JP2000293329A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102975501A (en) * 2012-12-18 2013-03-20 武汉大学 Circuit board printing system and printing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102975501A (en) * 2012-12-18 2013-03-20 武汉大学 Circuit board printing system and printing method

Similar Documents

Publication Publication Date Title
JPH0589269A (en) Bar code printer
JP2000293329A (en) Device and method for abbreviating control code
JP3651551B2 (en) Printer and printing system
JP3465278B2 (en) Image data transmission device
JPH06247010A (en) Command processor in printer
JP3046478B2 (en) Printing apparatus and printing method
JPH0442193B2 (en)
JPH071771A (en) Printer
JP2516810B2 (en) Printer data reception interface
JPH11110151A (en) Printer driver, computer having printer driver, and computer system
US7046386B2 (en) Bandwidth booster for aging printer ASICs
JPS6250152A (en) Printing control apparatus
JP2872144B2 (en) Printing equipment
JP3874297B2 (en) Printer
JP3356975B2 (en) Printers, printer drivers and print systems
JP2738174B2 (en) Format control method
JPS63242561A (en) Font reducing system
JPH08317114A (en) Facsimile equipment
JPH08279873A (en) Image input output device and setting method for its environmental condition
JPH01239586A (en) Image synthesizing and outputting device
JPH10250177A (en) Controller for printer
JPH04351568A (en) Control circuit of printer with high speed image processing function
JPH0520486A (en) Parallel control system for optical character reader
JP2003266820A (en) Character processing method, character processor, and print control system
JPH02112017A (en) Method and device for data transfer