JPH0934657A - Information processor, printer, print system, and print control method for print system - Google Patents

Information processor, printer, print system, and print control method for print system

Info

Publication number
JPH0934657A
JPH0934657A JP7179880A JP17988095A JPH0934657A JP H0934657 A JPH0934657 A JP H0934657A JP 7179880 A JP7179880 A JP 7179880A JP 17988095 A JP17988095 A JP 17988095A JP H0934657 A JPH0934657 A JP H0934657A
Authority
JP
Japan
Prior art keywords
print control
control program
print
transferred
information processing
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
JP7179880A
Other languages
Japanese (ja)
Inventor
Fumio Kon
文夫 昆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP7179880A priority Critical patent/JPH0934657A/en
Publication of JPH0934657A publication Critical patent/JPH0934657A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To constitute an inexpensive printer control environment where a print control program on the printer side is freely updated by storing the print control program transferred from an information processor and updating the stored print control program to successively transferred print control programs. SOLUTION: When a CPU 104 selects one print control program based on the application program loaded into a RAM 107, a transfer means transfers the selected print control program to a printer 113, and a CPU 116 successively updates the print control program written in a RAM 118 to transferred print control programs each time when it is discriminated that the data type of transferred data is a print control program.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、情報処理装置と印刷装
置とが所定の通信媒体を介して通信可能な情報処理装置
並びに印刷装置並びに印刷システム及び印刷システムの
印刷制御方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus capable of communicating with an information processing apparatus and a printing apparatus via a predetermined communication medium, a printing apparatus, a printing system, and a print control method for the printing system.

【0002】[0002]

【従来の技術】従来、データ処理装置と印刷装置によっ
て構成された情報処理システムあるいは印刷システムに
おいて、データ処理装置と印刷装置間には印刷制御体系
に従った印刷プロトコルを用いて、情報交換がなされて
いる。印刷装置側の印刷プロトコル実現はROM記憶等
の固定化された制御プログラム動作によるものであり、
一方、データ処理装置側のアプリケーションプログラム
は、該述印刷プロトコルに従った制御手順を発生し、そ
の結果として印刷出力が得られていた。
2. Description of the Related Art Conventionally, in an information processing system or a printing system composed of a data processing device and a printing device, information is exchanged between the data processing device and the printing device by using a printing protocol according to a printing control system. ing. The printing protocol on the printing device side is realized by the fixed control program operation such as ROM storage.
On the other hand, the application program on the data processing device side generates a control procedure according to the above-mentioned print protocol, and as a result, a printed output is obtained.

【0003】[0003]

【発明が解決しようとする課題】上記従来例では、印刷
装置側の印刷プロトコルが固定化された記憶として保持
されるため、印刷プロトコルを機能変更したい場合、固
定化記憶部の入れ替え、具体的にはROMの入れ替え等
の作業が発生し、印刷装置の保守を難しくしていた。
In the above-mentioned conventional example, since the printing protocol on the side of the printing apparatus is held as a fixed memory, when the function of the printing protocol is desired to be changed, the fixed memory unit is replaced, specifically, Had to replace the ROM, making maintenance of the printing apparatus difficult.

【0004】また、複数の印刷プロトコルに対応した印
刷装置の場合、各々の印刷プロトコルを固定化記憶する
必要があった。このことは、印刷プロトコルの利用頻度
に関係無く製造コストの上昇を招いていた。
Further, in the case of a printing apparatus compatible with a plurality of printing protocols, it is necessary to fix and store each printing protocol. This has led to an increase in manufacturing cost regardless of the frequency of use of the printing protocol.

【0005】さらに、データ処理装置側の課題としてア
プリケーションプログラムは印刷プロトコルに合致した
制御手順を発生する必要があり、印刷プロトコルの変
更、改版等に対してその都度、印刷プロトコルに合致さ
せるための変更を必要とするという問題があった。
Further, as a problem on the side of the data processing device, the application program needs to generate a control procedure that conforms to the print protocol, and whenever the print protocol is changed or revised, a change is made to conform to the print protocol. There was a problem of needing.

【0006】本発明は、上記の問題点を解消するために
なされたもので、本発明に係る第1の発明〜第6の発明
の目的は、情報処理装置側から取得した印刷制御プログ
ラムを更新可能に管理することにより、情報処理装置か
ら転送される印刷制御プログラムを記憶し、該記憶した
印刷制御プログラムを順次転送される印刷制御プログラ
ムに更新して、印刷装置側の印刷制御プログラムを自在
に更新する安価なプリンタ制御環境を構築できる情報処
理装置並びに印刷装置並びに印刷システム及び印刷シス
テムの印刷制御方法を提供するものである。
The present invention has been made to solve the above problems, and an object of the first to sixth inventions of the present invention is to update a print control program acquired from the information processing apparatus side. The print control program transferred from the information processing apparatus is stored by managing as much as possible, and the stored print control program is updated to the print control program sequentially transferred, so that the print control program on the printing apparatus side can be freely changed. The present invention provides an information processing apparatus, a printing apparatus, a printing system, and a print control method for the printing system capable of constructing an inexpensive printer control environment to be updated.

【0007】[0007]

【課題を解決するための手段】本発明に係る第1の発明
は、所定の通信媒体を介して印刷装置と通信可能な情報
処理装置において、印刷制御手順が異なる複数の印刷制
御プログラムを記憶するプログラム記憶手段と、主メモ
リにロードされたアプリケーションプログラムに基づい
ていずれかの印刷制御プログラムを選択する選択手段
と、前記選択手段により選択された前記印刷制御プログ
ラムを前記印刷装置に転送する転送手段とを設けたもの
である。
According to a first aspect of the present invention, an information processing apparatus capable of communicating with a printing apparatus via a predetermined communication medium stores a plurality of print control programs having different print control procedures. Program storage means, selection means for selecting one of the print control programs based on the application program loaded in the main memory, and transfer means for transferring the print control program selected by the selection means to the printing device. Is provided.

【0008】本発明に係る第2の発明は、所定の通信媒
体を介して情報処理装置と通信可能な印刷装置におい
て、実行すべき印刷制御プログラムを記憶する記憶手段
と、前記所定の通信媒体を介して前記情報処理装置から
転送されるデータ種別が印刷制御プログラムかどうかを
判定する判定手段と、前記データが前記印刷制御プログ
ラムである場合に、前記印刷制御プログラムが転送され
る毎に、前記記憶手段に書き込まれている印刷制御プロ
グラムを前記転送された印刷制御プログラムに順次更新
する更新手段とを設けたものである。
According to a second aspect of the present invention, in a printing apparatus capable of communicating with an information processing apparatus via a predetermined communication medium, storage means for storing a print control program to be executed and the predetermined communication medium are provided. Determination means for determining whether the data type transferred from the information processing apparatus via the information processing device is a print control program; and when the data is the print control program, the storage means stores the print control program every time the print control program is transferred. Update means for sequentially updating the transferred print control program with the print control program written in the means.

【0009】本発明に係る第3の発明は、前記記憶手段
は、不揮発性記憶媒体で構成したものである。
According to a third aspect of the present invention, the storage means is a non-volatile storage medium.

【0010】本発明に係る第4の発明は、前記記憶手段
は、揮発性記憶媒体で構成したものである。
According to a fourth aspect of the present invention, the storage means comprises a volatile storage medium.

【0011】本発明に係る第5の発明は、所定の通信媒
体を介して情報処理装置と印刷装置とが通信可能な印刷
システムにおいて、印刷制御手順が異なる複数の印刷制
御プログラムを記憶するプログラム記憶手段と、主メモ
リにロードされたアプリケーションプログラムに基づい
ていずれかの印刷制御プログラムを選択する選択手段
と、前記選択手段により選択された前記印刷制御プログ
ラムを前記印刷装置に転送する転送手段とを備える情報
処理装置と、実行すべき印刷制御プログラムを記憶する
記憶手段と、前記所定の通信媒体を介して前記情報処理
装置から転送されるデータ種別が印刷制御プログラムか
どうかを判定する判定手段と、前記データが前記印刷制
御プログラムである場合に、前記印刷制御プログラムが
転送される毎に、前記記憶手段に書き込まれている印刷
制御プログラムを前記転送された印刷制御プログラムに
順次更新する更新手段とを備える印刷装置とを有するも
のである。
According to a fifth aspect of the present invention, in a printing system in which an information processing apparatus and a printing apparatus can communicate with each other via a predetermined communication medium, a program storage for storing a plurality of print control programs having different print control procedures. Means, selecting means for selecting one of the print control programs based on the application program loaded in the main memory, and transfer means for transferring the print control program selected by the selecting means to the printing apparatus. An information processing device; a storage unit that stores a print control program to be executed; a determination unit that determines whether the data type transferred from the information processing device via the predetermined communication medium is a print control program; When the data is the print control program, every time the print control program is transferred, Is a print control program written in the storage means having a printing device and a updating means for sequentially updating the transferred print control program.

【0012】本発明に係る第6の発明は、実行すべき印
刷制御プログラムを記憶する記憶手段を有する印刷装置
と情報処理装置とが所定の通信媒体を介して通信可能な
印刷システムの印刷制御方法において、前記所定の通信
媒体を介して前記情報処理装置から転送されるデータ種
別が印刷制御プログラムかどうかを判定する判定工程
と、該判定結果に基づいて前記記憶手段に書き込まれて
いる印刷制御プログラムを前記転送された印刷制御プロ
グラムに順次更新する更新工程とを有するものである。
A sixth aspect of the present invention is a print control method for a print system in which a printing apparatus having a storage unit for storing a print control program to be executed and an information processing apparatus can communicate with each other via a predetermined communication medium. A determining step of determining whether the data type transferred from the information processing device via the predetermined communication medium is a print control program, and the print control program written in the storage unit based on the determination result Is sequentially updated to the transferred print control program.

【0013】[0013]

【作用】第1の発明においては、選択手段が主メモリに
ロードされたアプリケーションプログラムに基づいてい
ずれかの印刷制御プログラムを選択したら、該選択され
た前記印刷制御プログラムを転送手段が前記印刷装置に
転送して、アプリケーションプログラムに最適な印刷制
御プログラムを印刷装置に常駐させて、アプリケーショ
ンプログラムに従う印刷情報を最適な手順で処理するこ
とを可能とする。
According to the first aspect of the invention, when the selecting means selects one of the print control programs based on the application program loaded in the main memory, the transferring means transfers the selected print control program to the printing device. By transferring the print information, the print control program most suitable for the application program is made resident in the printing apparatus, and the print information according to the application program can be processed in the most suitable procedure.

【0014】第2の発明においては、判定手段が所定の
通信媒体を介して前記情報処理装置から転送されるデー
タ種別が印刷制御プログラムであると判定する毎に、更
新手段が記憶手段に書き込まれている印刷制御プログラ
ムを前記転送された印刷制御プログラムに順次更新し
て、複数の印刷制御プログラムを常駐させるメモリ容量
を備えていなくても、情報処理装置の各アプリケーショ
ン選択に伴ってロードされる各印刷制御プログラムを取
得し、該取得した各印刷制御プログラムを記憶手段に対
して順次更新可能に書き換えて印刷情報を最適な手順で
処理することを可能とする。
In the second aspect of the invention, the updating means is written in the storing means each time the judging means judges that the data type transferred from the information processing apparatus via the predetermined communication medium is the print control program. The print control program being transferred is sequentially updated to the transferred print control program, and even if the print control program does not have a memory capacity for resident a plurality of print control programs, It is possible to obtain a print control program and rewrite each of the obtained print control programs sequentially in the storage unit so that the print information can be processed in an optimum procedure.

【0015】第3の発明においては、判定手段が所定の
通信媒体を介して前記情報処理装置から転送されるデー
タ種別が印刷制御プログラムであると判定する毎に、更
新手段が不揮発性記憶媒体で構成される記憶手段に書き
込まれている印刷制御プログラムを前記転送された印刷
制御プログラムに順次更新して、複数の印刷制御プログ
ラムを常駐させるメモリ容量を備えていなくても、情報
処理装置の各アプリケーション選択に伴ってロードされ
る各印刷制御プログラムを取得し、該取得した各印刷制
御プログラムを記憶手段に対して順次更新可能に書き換
えて印刷情報を最適な手順で処理することを可能とす
る。
In the third aspect of the invention, every time the determining means determines that the data type transferred from the information processing apparatus via the predetermined communication medium is the print control program, the updating means is a non-volatile storage medium. Each application of the information processing apparatus, even if it does not have a memory capacity for successively updating the print control program written in the configured storage means to the transferred print control program to make a plurality of print control programs resident It is possible to obtain each print control program loaded in accordance with the selection, rewrite the obtained print control programs sequentially in the storage unit so that the print information can be processed in an optimum procedure.

【0016】第4の発明においては、判定手段が所定の
通信媒体を介して前記情報処理装置から転送されるデー
タ種別が印刷制御プログラムであると判定する毎に、更
新手段が揮発性記憶媒体で構成される記憶手段に書き込
まれている印刷制御プログラムを前記転送された印刷制
御プログラムに順次更新して、複数の印刷制御プログラ
ムを常駐させるメモリ容量を備えていなくても、安価な
メモリ媒体で情報処理装置の各アプリケーション選択に
伴ってロードされる各印刷制御プログラムを取得し、該
取得した各印刷制御プログラムを記憶手段に対して順次
更新可能に書き換えて印刷情報を最適な手順で処理する
ことを可能とする。
In the fourth invention, the updating means is a volatile storage medium every time the determining means determines that the data type transferred from the information processing apparatus via the predetermined communication medium is the print control program. Even if the print control program written in the configured storage means is sequentially updated to the transferred print control program so that a plurality of print control programs does not have a memory capacity to be resident, the information is stored in an inexpensive memory medium. To obtain each print control program loaded according to each application selection of the processing apparatus, rewrite each obtained print control program so that it can be sequentially updated in the storage unit, and process print information in an optimum procedure. It is possible.

【0017】第5の発明においては、選択手段が主メモ
リにロードされたアプリケーションプログラムに基づい
ていずれかの印刷制御プログラムを選択したら、該選択
された前記印刷制御プログラムを転送手段が前記印刷装
置に転送して、判定手段が所定の通信媒体を介して前記
情報処理装置から転送されるデータ種別が印刷制御プロ
グラムであると判定する毎に、更新手段が記憶手段に書
き込まれている印刷制御プログラムを前記転送された印
刷制御プログラムに順次更新して、複数の印刷制御プロ
グラムを常駐させるメモリ容量を備えていなくても、情
報処理装置の各アプリケーション選択に伴ってロードさ
れる各印刷制御プログラムを取得し、該取得した各印刷
制御プログラムを記憶手段に対して順次更新可能に書き
換えて印刷情報を最適な手順で処理することを可能とす
る。
In the fifth invention, when the selecting means selects one of the print control programs based on the application program loaded in the main memory, the transferring means transfers the selected print control program to the printing device. Every time the transfer control unit determines that the data type transferred from the information processing apparatus via the predetermined communication medium is the print control program, the update unit stores the print control program written in the storage unit. The transferred print control programs are sequentially updated to obtain each print control program loaded according to each application selection of the information processing apparatus even if the print control program does not have a memory capacity for resident a plurality of print control programs. , The acquired print control programs are sequentially rewritten in the storage means so that the print information can be updated. It makes it possible to handle in a proper procedure.

【0018】第6の発明においては、前記所定の通信媒
体を介して前記情報処理装置から転送されるデータ種別
が印刷制御プログラムかどうかを判定し、該判定結果に
基づいて前記記憶手段に書き込まれている印刷制御プロ
グラムを前記転送された印刷制御プログラムに順次更新
して、情報処理装置の各アプリケーション選択に伴って
ロードされる各印刷制御プログラムを取得し、該取得し
た各印刷制御プログラムを記憶手段に対して順次更新可
能に書き換える処理を自動化することを可能とする。
In the sixth invention, it is judged whether the data type transferred from the information processing apparatus via the predetermined communication medium is a print control program, and the data is written in the storage means based on the judgment result. The print control program being transferred is sequentially updated to the transferred print control program, each print control program loaded in association with each application selection of the information processing apparatus is acquired, and each acquired print control program is stored in a storage unit. It is possible to automate the process of rewriting sequentially so that it can be updated.

【0019】[0019]

【実施例】【Example】

〔第1実施例〕図1は、本発明の第1実施例を示す印刷
システムの構成を説明するブロック図である。
[First Embodiment] FIG. 1 is a block diagram for explaining the arrangement of a printing system according to the first embodiment of the present invention.

【0020】図において、本実施例に示す印刷システム
は、データ処理装置101と印刷装置113とが双方向
パラレルインタフェース110,119,パラレルイン
タフェースケーブル(ケーブル)112等により通信可
能に構成されている。
In the figure, the printing system according to the present embodiment is configured so that the data processing device 101 and the printing device 113 can communicate with each other through bidirectional parallel interfaces 110 and 119, a parallel interface cable (cable) 112 and the like.

【0021】データ処理装置101において、102は
キーボード装置で、入力されるキーボードコード等がキ
ーボードコントローラ(KBC)109により処理され
る。
In the data processing device 101, reference numeral 102 is a keyboard device, and an input keyboard code or the like is processed by a keyboard controller (KBC) 109.

【0022】103はディスプレイ装置で、ディスプレ
イコントローラ106が図示しないVRAMに展開した
情報を表示する。
A display device 103 displays information expanded by a display controller 106 in a VRAM (not shown).

【0023】104はCPUで、ROM105に記憶さ
れた制御プログラム,ディスク装置108に記憶された
アプリケーションプログラム,データ処理プログラム,
入出力制御プログラム等により各部を総括的に制御して
いる。111は装置内バスで、各部を制御するコントロ
ールバス,アドレスバス,データバス等から構成されて
いる。
A CPU 104 is a control program stored in the ROM 105, an application program stored in the disk device 108, a data processing program,
Each part is controlled comprehensively by an input / output control program. Reference numeral 111 denotes an in-apparatus bus, which includes a control bus for controlling each unit, an address bus, a data bus, and the like.

【0024】なお、データ処理装置101には、装置内
バス111に対して各種制御ボードからの情報を処理可
能とするための拡張バススロットを備える場合もある。
The data processing device 101 may be provided with an expansion bus slot for enabling the internal bus 111 to process information from various control boards.

【0025】印刷装置(プリンタ)113において、1
14はエンジンコントローラ、115は印刷エンジンで
ある。
In the printing device (printer) 113, 1
Reference numeral 14 is an engine controller, and 115 is a print engine.

【0026】エンジンコントローラ114において、1
16はCPUで、ROM107に記憶された通信制御プ
ログラム,エンジン制御プログラム等に基づいてデータ
処理装置101との通信処理,印刷エンジン115に対
する印刷情報の出力処理等を総括的に制御している。1
18はRAMで、CPU116のワークメモリとして機
能する。121は装置内バスで、各部を制御するコント
ロールバス,アドレスバス,データバス等から構成され
ている。
In the engine controller 114, 1
Reference numeral 16 denotes a CPU, which comprehensively controls communication processing with the data processing device 101, output processing of print information to the print engine 115, and the like based on a communication control program, an engine control program, and the like stored in the ROM 107. 1
A RAM 18 functions as a work memory for the CPU 116. Reference numeral 121 denotes an in-apparatus bus, which includes a control bus for controlling each unit, an address bus, a data bus, and the like.

【0027】この図に示すように、本実施例に示す印刷
システムは、データ処理装置101の内部は、CPU1
04、ROM105、ディスプレイコントローラ10
6、RAM107、ディスク装置108、キーボードコ
ントローラ109、双方向パラレルインタフェース11
0によって構成され、各々は装置内バス111によって
接続されている。
As shown in this figure, in the printing system shown in this embodiment, the inside of the data processing device 101 is a CPU 1
04, ROM 105, display controller 10
6, RAM 107, disk device 108, keyboard controller 109, bidirectional parallel interface 11
0, each of which is connected by an in-device bus 111.

【0028】また、装置外部に関しては、ディスプレイ
コントローラ106を介してディスプレイ装置113、
キーボードコントローラ109を介してはキーボード装
置102、双方向パラレルインタフェース110及びケ
ーブル112を介しては印刷装置103が各々接続され
ている。さらに、印刷装置113の内部はエンジンコン
トローラ114と印刷エンジン115に区分できる。
Regarding the outside of the device, the display device 113, via the display controller 106,
The keyboard device 102 is connected via the keyboard controller 109, and the bidirectional parallel interface 110 and the printing device 103 are connected via the cable 112. Further, the inside of the printing apparatus 113 can be divided into an engine controller 114 and a print engine 115.

【0029】エンジンコントローラ114は更に内部が
CPU116、ROM117、RAM118、双方向パ
ラレルインタフェース119、印刷エンジンインタフェ
ース120によって構成され、各々は装置内バス121
によって接続されている。
The engine controller 114 further comprises a CPU 116, a ROM 117, a RAM 118, a bidirectional parallel interface 119, and a print engine interface 120, each of which has an internal device bus 121.
Connected by

【0030】データ処理装置101及び、印刷装置11
3が電源投入された時点からの動作を説明する。尚、本
発明に直接関係しないユニット、電源ユニット等につい
ては、説明を省略する。
The data processing device 101 and the printing device 11
The operation from the time when the power supply of 3 is turned on will be described. Descriptions of units, power supply units, and the like not directly related to the present invention will be omitted.

【0031】図2は、図1に示したディスク装置108
の記憶内容とエンジンコントローラ114内部のメモリ
アドレスマップの概要を示す図であり、図1と同一のも
のには同一の符号を付してある。
FIG. 2 shows the disk device 108 shown in FIG.
FIG. 2 is a diagram showing an outline of a memory content of the memory controller and a memory address map inside the engine controller 114, and the same components as those in FIG.

【0032】図2において、201はアプリケーション
プログラム、202は印刷プロトコルファイル(ファイ
ルPF1〜PF3等から構成される)、203はメモリ
マップ全体構成、204は前記ROM117のマップ構
成を示し、205は前記RAM118のマップ構成を示
し、206はバイトメモリである。
In FIG. 2, 201 is an application program, 202 is a print protocol file (consisting of files PF1 to PF3, etc.), 203 is the entire memory map configuration, 204 is the ROM 117 map configuration, and 205 is the RAM 118. The map configuration of the above is shown, and 206 is a byte memory.

【0033】図3は、図1に示したRAM107上に生
成されるエスケープシーケンス文字列の一例を示す図で
ある。
FIG. 3 is a diagram showing an example of an escape sequence character string generated on the RAM 107 shown in FIG.

【0034】図において、文字列CS1はエスケープシ
ーケンスヘッダ、文字列CS2は印刷プロトコルのロー
ドを指示するトークンコード、文字列CS3は後述のメ
モリアドレス表現、文字列CS5は付随するデータ個数
を示すレングス値、文字列CS4、文字列CS6、文字
列CS8はセパレータ文字である。
In the figure, a character string CS1 is an escape sequence header, a character string CS2 is a token code for instructing loading of a printing protocol, a character string CS3 is a memory address expression described later, and a character string CS5 is a length value indicating the number of accompanying data. , Character string CS4, character string CS6, and character string CS8 are separator characters.

【0035】この図に示すように、文字列CS1〜文字
列CS10が更に構成要素となり大きな文字列を構成す
る。
As shown in this figure, the character strings CS1 to CS10 are further constituent elements to form a large character string.

【0036】以下、本実施例と第1〜第5の発明の各手
段との対応及びその作用について図1〜図3等を参照し
て説明する。
Correspondence between this embodiment and each means of the first to fifth inventions and their functions will be described below with reference to FIGS.

【0037】第1の発明は、所定の通信媒体(本実施例
では双方向パラレルインタフェース110)を介して印
刷装置113と通信可能な情報処理装置において、印刷
制御手順が異なる複数の印刷制御プログラムを記憶する
プログラム記憶手段(ディスク装置108)と、主メモ
リ(RAM107)にロードされたアプリケーションプ
ログラムに基づいていずれかの印刷制御プログラムを選
択する選択手段(CPU104による選択処理機能によ
る)と、前記選択手段により選択された前記印刷制御プ
ログラムを前記印刷装置に転送する転送手段(CPU1
04による転送処理機能による)とを設け、選択手段が
主メモリにロードされたアプリケーションプログラムに
基づいていずれかの印刷制御プログラムを選択したら、
該選択された前記印刷制御プログラムをCPU104が
前記印刷装置113に転送して、アプリケーションプロ
グラムに最適な印刷制御プログラムを印刷装置に常駐さ
せて、アプリケーションプログラムに従う印刷情報を最
適な手順で処理することを可能とする。
A first aspect of the present invention is an information processing apparatus capable of communicating with a printing apparatus 113 via a predetermined communication medium (a bidirectional parallel interface 110 in this embodiment), in which a plurality of print control programs having different print control procedures are stored. Program storing means (disk device 108) for storing, selecting means for selecting one of the print control programs based on the application program loaded in the main memory (RAM 107) (by the selection processing function of the CPU 104), and the selecting means. Transfer unit (CPU 1) for transferring the print control program selected by
(Depending on the transfer processing function of 04) and the selecting means selects one of the print control programs based on the application program loaded in the main memory,
The CPU 104 transfers the selected print control program to the printing device 113, causes the print control program most suitable for the application program to reside in the printing device, and processes the print information according to the application program in the most suitable procedure. It is possible.

【0038】第2の発明は、所定の通信媒体(本実施例
では双方向パラレルインタフェース119)を介してデ
ータ処理装置(データ処理装置101)と通信可能な印
刷装置において、実行すべき印刷制御プログラムを記憶
する記憶手段(本実施例ではRAM118)と、前記所
定の通信媒体を介してデータ処理装置101から転送さ
れるデータ種別が印刷制御プログラムかどうかを判定す
る判定手段(CPU116がROM117に記憶された
プログラムに基づいて判定する)と、前記データが前記
印刷制御プログラムである場合に、前記印刷制御プログ
ラムが転送される毎に、前記記憶手段に書き込まれてい
る印刷制御プログラムを前記転送された印刷制御プログ
ラムに順次更新する更新手段(CPU116がROM1
17に記憶されたプログラムに基づいて更新する)とを
設け、CPU116が所定の通信媒体を介してデータ処
理装置101から転送されるデータ種別が印刷制御プロ
グラムであると判定する毎に、CPU116がRAM1
18に書き込まれている印刷制御プログラムを前記転送
された印刷制御プログラムに順次更新して、複数の印刷
制御プログラムを常駐させるメモリ容量をRAM118
が備えていなくても、データ処理装置101の各アプリ
ケーション選択に伴ってロードされる各印刷制御プログ
ラム(コマンドデータを含む制御情報)を取得し、該取
得した各印刷制御プログラムを記憶手段に対して順次更
新可能に書き換えて印刷情報を最適な手順で処理するこ
とを可能とする。
A second aspect of the present invention is a print control program to be executed in a printing apparatus capable of communicating with a data processing apparatus (data processing apparatus 101) via a predetermined communication medium (bidirectional parallel interface 119 in this embodiment). And a determination unit (the CPU 116 is stored in the ROM 117 that the CPU 116 stores in the ROM 117) and a determination unit that determines whether the data type transferred from the data processing apparatus 101 via the predetermined communication medium is a print control program. If the data is the print control program, the print control program written in the storage means is transferred to the print control program every time the print control program is transferred. Updating means for sequentially updating the control program (the CPU 116 is the ROM 1
17), and the CPU 116 determines that the data type transferred from the data processing apparatus 101 via the predetermined communication medium is the print control program.
The print control program written in 18 is sequentially updated to the transferred print control program, and the RAM 118 has a memory capacity for resident a plurality of print control programs.
Even if not provided, acquires each print control program (control information including command data) loaded in association with each application selection of the data processing apparatus 101, and stores the acquired print control program in the storage unit. The print information can be processed in an optimum procedure by rewriting so that it can be updated sequentially.

【0039】第3の発明は、判定手段が所定の通信媒体
を介して前記情報処理装置から転送されるデータ種別が
印刷制御プログラムであると判定する毎に、更新手段が
不揮発性記憶媒体、例えばフラッシュEPROM,EE
PROM等で構成される記憶手段に書き込まれている印
刷制御プログラムを前記転送された印刷制御プログラム
に順次更新して、複数の印刷制御プログラムを常駐させ
るメモリ容量を備えていなくても、情報処理装置の各ア
プリケーション選択に伴ってロードされる各印刷制御プ
ログラムを取得し、該取得した各印刷制御プログラムを
記憶手段に対して順次更新可能に書き換えて印刷情報を
最適な手順で処理することを可能とする。
According to a third aspect of the invention, every time the determining means determines that the data type transferred from the information processing apparatus via the predetermined communication medium is the print control program, the updating means is a nonvolatile storage medium, for example. Flash EPROM, EE
Even if the print control program written in the storage means composed of PROM or the like is sequentially updated to the transferred print control program, and the memory capacity for resident a plurality of print control programs is not provided, the information processing apparatus It is possible to obtain each print control program loaded according to each application selection, rewrite each obtained print control program in the storage means in such a manner that the print control program can be sequentially updated, and process print information in an optimum procedure. To do.

【0040】なお、不揮発性記憶媒体は、印刷装置に着
脱自在の電池等を内蔵するメモリカードであってもよい
し、ハードディスク,光磁気ディスク等を外部接続でき
る印刷装置である場合には、ハードディスク装置,MO
装置であってもよい。
The non-volatile storage medium may be a memory card in which a detachable battery or the like is built in the printing apparatus, or in the case of a printing apparatus to which a hard disk, a magneto-optical disk or the like can be externally connected, a hard disk. Equipment, MO
It may be a device.

【0041】第4の発明は、判定手段が所定の通信媒体
を介して前記情報処理装置から転送されるデータ種別が
印刷制御プログラムであると判定する毎に、更新手段が
揮発性記憶媒体、例えばRAM118等で構成される記
憶手段に書き込まれている印刷制御プログラムを前記転
送された印刷制御プログラムに順次更新して、複数の印
刷制御プログラムを常駐させるメモリ容量を備えていな
くても、安価なメモリ媒体で情報処理装置の各アプリケ
ーション選択に伴ってロードされる各印刷制御プログラ
ムを取得し、該取得した各印刷制御プログラムを記憶手
段に対して順次更新可能に書き換えて印刷情報を最適な
手順で処理することを可能とする。
According to a fourth aspect of the present invention, the updating means causes the updating means to change to a volatile storage medium, for example, each time the determining means determines that the data type transferred from the information processing apparatus via the predetermined communication medium is the print control program. An inexpensive memory which does not have a memory capacity for sequentially updating the transferred print control program with the print control program written in the storage means configured by the RAM 118 or the like and resident a plurality of print control programs Acquiring each print control program loaded in association with each application of the information processing device on the medium, rewriting each acquired print control program so that it can be sequentially updated in the storage means, and processing the print information in an optimum procedure It is possible to do.

【0042】第5の発明は、所定の通信媒体(本実施例
では双方向パラレルインタフェース110,119,ケ
ーブル112)を介して情報処理装置と印刷装置とが通
信可能な印刷システムにおいて、印刷制御手順が異なる
複数の印刷制御プログラムを記憶するプログラム記憶手
段(ディスク装置108)と、主メモリ(RAM10
7)にロードされたアプリケーションプログラムに基づ
いていずれかの印刷制御プログラムを選択する選択手段
(CPU104による選択処理機能による)と、前記選
択手段により選択された前記印刷制御プログラムを前記
印刷装置に転送する転送手段(CPU104による転送
処理機能による)とを備える情報処理装置と、実行すべ
き印刷制御プログラムを記憶する記憶手段(本実施例で
はRAM118)と、前記所定の通信媒体を介してデー
タ処理装置101から転送されるデータ種別が印刷制御
プログラムかどうかを判定する判定手段(CPU116
がROM117に記憶されたプログラムに基づいて判定
する)と、前記データが前記印刷制御プログラムである
場合に、前記印刷制御プログラムが転送される毎に、前
記記憶手段に書き込まれている印刷制御プログラムを前
記転送された印刷制御プログラムに順次更新する更新手
段(CPU116がROM117に記憶されたプログラ
ムに基づいて更新する)とを備える印刷装置とを有し、
CPU104がRAM107にロードされたアプリケー
ションプログラムに基づいていずれかの印刷制御プログ
ラムを選択したら、該選択された前記印刷制御プログラ
ムを転送手段が印刷装置113に転送して、CPU11
6が所定の通信媒体を介してデータ処理装置101から
転送されるデータ種別が印刷制御プログラムであると判
定する毎に、CPU116がRAM118に書き込まれ
ている印刷制御プログラムを転送された印刷制御プログ
ラムに順次更新して、複数の印刷制御プログラムを常駐
させるメモリ容量を備えていなくても、データ処理装置
101の各アプリケーション選択に伴ってロードされる
各印刷制御プログラムを取得し、該取得した各印刷制御
プログラムをRAM118に対して順次更新可能に書き
換えて印刷情報を最適な手順で処理することを可能とす
る。
A fifth aspect of the present invention is a printing control procedure in a printing system in which an information processing apparatus and a printing apparatus can communicate with each other via a predetermined communication medium (in this embodiment, bidirectional parallel interfaces 110 and 119 and a cable 112). Program storage means (disk device 108) for storing a plurality of print control programs different in the main memory (RAM 10).
Selection means (by the selection processing function of the CPU 104) for selecting one of the print control programs based on the application program loaded in 7), and transferring the print control program selected by the selection means to the printing device. An information processing apparatus including a transfer unit (by a transfer processing function of the CPU 104), a storage unit (RAM 118 in this embodiment) that stores a print control program to be executed, and the data processing apparatus 101 via the predetermined communication medium. Determination means for determining whether the data type transferred from the print control program is a print control program (CPU 116
Is determined based on the program stored in the ROM 117), and when the data is the print control program, the print control program written in the storage means is written every time the print control program is transferred. A printing device including an updating unit (the CPU 116 updates based on a program stored in the ROM 117) that sequentially updates the transferred print control program,
When the CPU 104 selects one of the print control programs based on the application program loaded in the RAM 107, the transfer unit transfers the selected print control program to the printing device 113, and the CPU 11
Every time 6 determines that the data type transferred from the data processing apparatus 101 via the predetermined communication medium is the print control program, the CPU 116 changes the print control program written in the RAM 118 to the transferred print control program. Even if it does not have a memory capacity for sequentially updating and resident a plurality of print control programs, each print control program loaded in association with each application selection of the data processing apparatus 101 is acquired, and each acquired print control is acquired. The program can be sequentially rewritten in the RAM 118 so that the print information can be processed in an optimum procedure.

【0043】図4は、本発明に係る印刷システムにおけ
る第1の印刷要求処理手順の一例を示すフローチャート
であり、図1に示したデータ処理装置101側のデータ
処理に対応する。なお、(1)〜(10)は各ステップ
を示す。
FIG. 4 is a flow chart showing an example of a first print request processing procedure in the printing system according to the present invention, which corresponds to the data processing on the side of the data processing apparatus 101 shown in FIG. Note that (1) to (10) indicate each step.

【0044】先ず、電源投入されたデータ処理装置10
1はCPU104、ROM105、RAM107の公知
の動作原理に従い自己診断とハードウエア等の初期化処
理が実行される(1)。この処理過程が正常であるなら
ば、システムプログラム、所謂OS(オペレーティング
システム)がディスク装置108等の記憶からRAM1
07にロードされ、そのプログラム制御をOSに移行す
る(2)。
First, the data processor 10 which is powered on.
1 performs self-diagnosis and initialization processing of hardware and the like according to a known operation principle of the CPU 104, the ROM 105, and the RAM 107 (1). If this process is normal, a system program, a so-called OS (operating system), is stored in the disk device 108 or the like and stored in the RAM 1
It is loaded in 07 and the program control is transferred to the OS (2).

【0045】RAM107上に移行をされたOSは、デ
ータ処理に関連したユーザ操作(例えばキーボード装置
102あるいは図示しないポインティングデバイスによ
りアイコン指示する等の操作)を監視して、ユーザから
のデータ処理要求を待機する(3)。
The OS transferred to the RAM 107 monitors a user operation related to data processing (for example, an operation of pointing an icon with the keyboard device 102 or a pointing device (not shown)), and requests a data processing from the user. Wait (3).

【0046】今ユーザが、ある仮定したアプリケーショ
ンプログラム処理を指示したとすると、OSは指示に従
ってディスク装置108にストアされたアプリケーショ
ンプログラム201をRAM107にロードする
(4)。
When the user gives an instruction for a certain assumed application program process, the OS loads the application program 201 stored in the disk device 108 into the RAM 107 according to the instruction (4).

【0047】該ロードされたアプリケーションプログラ
ム201は印刷装置113の動作を必須条件とするもの
とする。その為、印刷装置113が動作可能状態、所謂
“READY”状態に遷移するまで待つ(5)。
It is assumed that the loaded application program 201 requires the operation of the printing apparatus 113 as an essential condition. Therefore, it waits until the printing apparatus 113 transits to the operable state, the so-called "READY" state (5).

【0048】次に、ディスク装置108内部にストアさ
れた幾つかの印刷プロトコルファイル202からアプリ
ケーションプログラム201に合致したものを選択しR
AM107にロードする(6)。
Next, from the several print protocol files 202 stored in the disk device 108, ones that match the application program 201 are selected and R is selected.
It is loaded into the AM 107 (6).

【0049】次に、図3に示す如き文字列群がRAM1
07上にデータとして生成される。生成された文字列は
所謂、公知の“エスケープシーケンス”と呼称されるも
のであり、図3に示す文字列CS7から文字列CS10
までの文字並びは、印刷プロトコルファイル202のデ
ータに対応したものである。
Next, the character string group as shown in FIG.
It is generated as data on 07. The generated character string is called a so-called "escape sequence" known in the art, and the character strings CS7 to CS10 shown in FIG.
The character sequences up to correspond to the data of the print protocol file 202.

【0050】この様に生成された文字列は双方向パラレ
ルインタフェース110を介して印刷装置113に出力
伝達(転送)される(7)。なお、説明の詳細は後述す
るが、この処理によって印刷装置113は印刷プロトコ
ルファイル202が期待する印刷プロトコルをもった装
置に遷移する。
The character string thus generated is output (transferred) to the printing apparatus 113 via the bidirectional parallel interface 110 (7). Although details will be described later, this process causes the printing apparatus 113 to transition to an apparatus having a print protocol expected by the print protocol file 202.

【0051】次に、RAM107上にロードされたアプ
リケーションプログラム201に制御を移行する
(8)。次に、アプリケーションプログラム201に対
する停止操作(AP停止)を監視し(9)、もし停止の
要求があれば処理を終了し、もし停止の要求が無けれ
ば、アプリケーションプログラム201の動作要求に従
って印刷出力が印刷要求が無くなるまで繰り返しなされ
(10)、印刷装置113には期待する印刷結果が得ら
れる。
Next, control is transferred to the application program 201 loaded on the RAM 107 (8). Next, the stop operation (AP stop) for the application program 201 is monitored (9), and if there is a stop request, the process is terminated. If there is no stop request, print output is performed according to the operation request of the application program 201. The process is repeated until the print request is exhausted (10), and the expected print result is obtained in the printing apparatus 113.

【0052】以下、図5に示すフローチャートを参照し
ながら本発明に係る印刷システムの印刷装置側のデータ
処理動作について説明する。
The data processing operation on the printing device side of the printing system according to the present invention will be described below with reference to the flowchart shown in FIG.

【0053】図5は、本発明に係る印刷システムの印刷
装置側のデータ処理手順の一例を示すフローチャートで
ある。なお、(1)〜(12)は各ステップを示す。
FIG. 5 is a flow chart showing an example of the data processing procedure on the printing device side of the printing system according to the present invention. In addition, (1) to (12) indicate each step.

【0054】電源投入されると、印刷装置113はCP
U116、ROM117、RAM118の公知の動作原
理に従い自己診断とハードウエア等の初期化処理が実行
される(1)。この過程に異常が無ければ印刷装置11
3は動作可能状態、所謂“READY”状態となり上位
のデータ処理装置101にその旨を伝達する(2)。
When the power is turned on, the printing device 113
Self-diagnosis and initialization processing of hardware and the like are executed according to known operation principles of U116, ROM117, and RAM118 (1). If there is no abnormality in this process, the printing device 11
3 becomes an operable state, a so-called "READY" state, and notifies the upper data processing device 101 of that (2).

【0055】なお、伝達方法はパラレルインタフェース
用のケーブル112の信号線伝達または、メッセージ交
換等、公知の方法に拠るものとする。また、ROM11
7には簡単なエスケープシーケンス解読コマンドインタ
プリタがストアされているものと仮定する。
The transmission method is based on a known method such as signal line transmission of the parallel interface cable 112 or message exchange. Also, the ROM 11
It is assumed that 7 stores a simple escape sequence decoding command interpreter.

【0056】次いで、制御がコマンドインタプリタに渡
るとコマンド待ち状態に入り(3)、図3に示したコマ
ンド文字列が双方向パラレルインタフェース119を介
して入力されると、RAM118のマップ構成205の
中の確保された作業領域(図示しない)に一旦ストアさ
れた後、当該コマンド列の解析がなされる(4)。
Next, when control is passed to the command interpreter, a command waiting state is entered (3), and when the command character string shown in FIG. 3 is input via the bidirectional parallel interface 119, the map structure 205 of the RAM 118 is entered. After being temporarily stored in the secured work area (not shown), the command sequence is analyzed (4).

【0057】具体的には、図3に示した文字列CS1に
該当する文字列を判定して“ESC〔”であるのでエス
ケープシーケンスの始まりと判定される。
Specifically, the character string corresponding to the character string CS1 shown in FIG. 3 is determined, and since it is "ESC [", it is determined to be the start of the escape sequence.

【0058】次に、文字列CS2に該当する文字列が
「“SYS_L”」であるかどうかを比較判定し
(5)、“SYS_L”であると判定された場合には、
印刷プロトコルをロードするコマンドであると解し、ス
テップ(6)以降に進み、それ以外のコマンドであると
判定された場合には、ステップ(12)へ進み、“他コ
マンド”として解析され実行され、ステップ(3)に戻
る。
Next, it is determined whether or not the character string corresponding to the character string CS2 is "" SYS_L "" (5), and if it is determined to be "SYS_L",
If the command is understood to be a command to load the print protocol, and the process proceeds to step (6) and thereafter, and if it is determined to be a command other than that, the process proceeds to step (12) and is analyzed and executed as "another command". , Return to step (3).

【0059】今ここで、図2を参照してエンジンコント
ローラ114内部のメモリマップの全体構成203につ
いて説明する。
Now, the overall structure 203 of the memory map inside the engine controller 114 will be described with reference to FIG.

【0060】メモリマップの全体構成203は「0」番
地から「FFFF」番地(16進表記)までのアドレス
空間を持っている。その内「0」番地から「2FFF」
番地まではROM117が、また「3000」番地から
「FFFF」番地まではRAM118が各々マップされ
ている。
The entire structure 203 of the memory map has an address space from address "0" to address "FFFF" (hexadecimal notation). Among them, from "0" address to "2FFF"
The ROM 117 is mapped up to the address, and the RAM 118 is mapped from the address "3000" to the address "FFFF".

【0061】ここでの説明例としては、RAM118の
「3000」番地から印刷プロトコルがストアされるも
のとする。
As an example of explanation here, it is assumed that the print protocol is stored from the address "3000" of the RAM 118.

【0062】そこで、上記ステップ(5)で印刷プロト
コルのロードするコマンドであると解釈されると、文字
列CS3の文字列判断からRAM118へのメモリスト
アアドレス値“3000”が得られる(6)。更に、文
字列CS5の文字列判断から文字列CS7移行に続くデ
ータ個数がレングス値256として得られる(7)。
Therefore, when the command is interpreted as a command to be loaded by the print protocol in step (5), the memory store address value "3000" to the RAM 118 is obtained from the character string judgment of the character string CS3 (6). Further, from the character string judgment of the character string CS5, the number of data following the transfer to the character string CS7 is obtained as the length value 256 (7).

【0063】次に、文字列CS7に文字列判断から値
「nn1 」が求められるので、その値「nn1 」をRA
M118に上述のメモリストアアドレス値「3000」
番地にストアする(8)。次に、メモリストアアドレス
に“1”を加える(9)。
Next, since the value "nn 1 " is obtained from the character string judgment in the character string CS7, the value "nn 1 " is RA
The above-mentioned memory store address value "3000" is stored in M118.
Store at address (8). Next, "1" is added to the memory store address (9).

【0064】次いで、レングス値から“1”を減じて
(10)、該レングス値が“0”値であるかどうかを判
定し(11)、“0”値でないと判定された場合は、ス
テップ(8)にジャンプする。
Next, "1" is subtracted from the length value (10), and it is determined whether the length value is "0" value (11). If it is determined that the length value is not "0" value, the step is executed. Jump to (8).

【0065】一方、ステップ(11)で、もし“0”値
であると判定された場合には、ステップ(3)にジャン
プする。
On the other hand, if it is determined in step (11) that the value is "0", the process jumps to step (3).

【0066】本実施例では、以上の制御によってRAM
118の「3000」番地からは印刷プロトコルファイ
ル202に対応した印刷プロトコルがストアされる。こ
の後、ROM117からRAM118の3000番地以
降の内容に従った制御遷移があれば、それは新しい印刷
プロトコルとして機能する。
In this embodiment, the RAM is controlled by the above control.
The print protocol corresponding to the print protocol file 202 is stored from the address “3000” of 118. After this, if there is a control transition from the ROM 117 according to the contents of the RAM 118 starting from address 3000, it functions as a new print protocol.

【0067】以下、本実施例と第6の発明の各工程との
対応及びその作用について図4,図5等を参照して説明
する。
Correspondence between the present embodiment and each step of the sixth invention and its action will be described below with reference to FIGS.

【0068】第6の発明は、実行すべき印刷制御プログ
ラムを記憶する記憶手段を有する印刷装置と情報処理装
置とが所定の通信媒体を介して通信可能な印刷システム
の印刷制御方法において、前記所定の通信媒体を介して
前記情報処理装置から転送される(図4のステップ
(7))データ種別が印刷制御プログラムかどうかを判
定する判定工程(図5のステップ(5))と、該判定結
果に基づいて前記記憶手段に書き込まれている印刷制御
プログラムを前記転送された印刷制御プログラムに順次
更新する更新工程(図5のステップ(6)〜(11))
とを実行して、情報処理装置の各アプリケーション選択
に伴ってロードされる各印刷制御プログラムを取得し、
該取得した各印刷制御プログラムを記憶手段に対して順
次更新可能に書き換える処理を自動化することを可能と
する。
A sixth aspect of the present invention is a print control method for a printing system, wherein a printing apparatus having a storage unit for storing a print control program to be executed and an information processing apparatus can communicate with each other via a predetermined communication medium. Determination step (step (5) in FIG. 5) for determining whether the data type transferred from the information processing device via the communication medium (step (7) in FIG. 4) is a print control program, and the determination result. Update step of sequentially updating the print control program written in the storage means to the transferred print control program based on the above (steps (6) to (11) in FIG. 5).
To obtain each print control program loaded with each application selection of the information processing device,
It is possible to automate the process of sequentially rewriting the acquired print control programs in the storage unit so that they can be updated sequentially.

【0069】なお、上記実施例では、データ処理装置1
01と印刷装置113とが所定のインタフェースを介し
て通信可能な印刷システムを例としたが、本発明は、デ
ータ処理装置101と印刷装置113とが所定のネット
ワークを介して通信可能な印刷システムにも適用できる
ことは言うまでもない。
In the above embodiment, the data processing device 1
01 and the printing apparatus 113 have been described as an example of a printing system capable of communicating via a predetermined interface. However, the present invention provides a printing system in which the data processing apparatus 101 and the printing apparatus 113 can communicate via a predetermined network. It goes without saying that it is also applicable.

【0070】〔第2実施例〕図6は、本発明の第2実施
例を示す印刷システムの構成を説明するブロック図であ
り、図1と同一のものには同一の符号を付してある。
[Second Embodiment] FIG. 6 is a block diagram for explaining the arrangement of a printing system according to the second embodiment of the present invention. The same parts as those in FIG. 1 are designated by the same reference numerals. .

【0071】図6において、601はLANインタフェ
ース、602はLAN接続ケーブル、603はLAN基
幹、604はLANインタフェース、605はフラッシ
ュEPROMである。
In FIG. 6, 601 is a LAN interface, 602 is a LAN connection cable, 603 is a LAN backbone, 604 is a LAN interface, and 605 is a flash EPROM.

【0072】この図に示すように、本実施例では、デー
タ処理装置101の内部にはLANインタフェース60
1があり、装置内バス111に接続されている。LAN
インタフェース601は更にLAN接続ケーブル602
を経由してLAN基幹603に接続されている。
As shown in this figure, in this embodiment, the LAN interface 60 is provided inside the data processing device 101.
1 and is connected to the in-device bus 111. LAN
The interface 601 is further a LAN connection cable 602.
Is connected to the LAN backbone 603.

【0073】また、印刷装置113内部にはLANイン
タフェース604あり、装置内バス121に接続されて
いる。さらに、図1に示すROM117に替わってフラ
ッシュEPROM605が同様に装置内バス121に接
続されている。データ処理装置101と印刷装置113
間はLAN(ローカルエリアネットワーク)接続されて
おり、公知技術に従って情報交換が可能である。
A LAN interface 604 is provided inside the printing device 113 and is connected to the in-device bus 121. Furthermore, instead of the ROM 117 shown in FIG. 1, a flash EPROM 605 is similarly connected to the in-device bus 121. Data processing device 101 and printing device 113
LANs (Local Area Networks) are connected to each other, and information can be exchanged according to a known technique.

【0074】なお、データ処理装置101と印刷装置1
13の電源投入直後の動作は図4及び図5に示した動作
フローに準ずるので、差異の部分について説明する。
The data processing device 101 and the printing device 1
The operation of the device 13 immediately after the power is turned on conforms to the operation flow shown in FIG. 4 and FIG. 5, so the difference will be described.

【0075】図7は、本発明に係る印刷システムにおけ
る第2の印刷要求処理手順の一例を示すフローチャート
であり、図6に示したデータ処理装置101側のデータ
処理に対応する。なお、(1)〜(5)は各ステップを
示す。
FIG. 7 is a flowchart showing an example of a second print request processing procedure in the printing system according to the present invention, which corresponds to the data processing on the side of the data processing apparatus 101 shown in FIG. Note that (1) to (5) indicate each step.

【0076】データ処理装置101はOSが立上がった
のちユーザ操作に従ってアプリケーションプログラムを
RAM107にロードする(1)。次に、アプリケーシ
ョンプログラムが期待する印刷プロトコルを印刷装置1
13が備えているかどうかをLANを通じて問い合わせ
る(2)。また、一方の印刷装置113の動作である
が、もし過去にフラシュEPROM605に既に印刷プ
ロトコルがストアされていた場合、その種別が記憶され
ていることとする。また、ステップ(2)の印刷プロト
コルの種別問い合わせに対して期待する印刷プロトコル
の有無情報をLANを通じて返すものとする。
The data processing apparatus 101 loads the application program into the RAM 107 according to the user's operation after the OS is booted (1). Next, the printing protocol expected by the application program is set to the printing apparatus 1.
An inquiry is made via the LAN as to whether or not 13 is equipped (2). Regarding the operation of the one printing apparatus 113, if the print protocol has already been stored in the flash EPROM 605 in the past, the type of the print protocol is stored. In addition, the presence / absence information of the expected print protocol in response to the print protocol type inquiry in step (2) is returned through the LAN.

【0077】そこで、ステップ(3)において、期待し
た印刷プロトコルを印刷装置113が備えているかどう
かを上記返信された印刷プロトコルの有無情報から判定
し、期待した印刷プロトコルを備えていないと判定した
場合は、印刷プロトコル変更更新処理を行う(4)。
Therefore, in step (3), it is determined whether or not the printing apparatus 113 has the expected printing protocol from the returned information about the presence or absence of the printing protocol, and it is determined that the printing protocol does not have the expected printing protocol. Performs print protocol change update processing (4).

【0078】なお、本実施例における変更更新処理は第
1実施例の如くエスケープシーケンスをLAN通信を経
由したデータ変換によって実現する。また、詳細な説明
は省くが結果的に印刷プロトコルファイル202の内容
がフラシュEPROM605に記憶されるものとする。
フラシュEPROM605への書き込み手段に関しても
公知技術であるため詳しくは説明しない。
The change / update processing in this embodiment is realized by data conversion of the escape sequence via LAN communication as in the first embodiment. Further, although detailed description is omitted, it is assumed that the content of the print protocol file 202 is eventually stored in the flash EPROM 605.
The writing means to the flash EPROM 605 is also a well-known technique and will not be described in detail.

【0079】その後、アプリケーションプログラムの実
行に従って(5)、印刷装置113への印刷等が実施さ
れる。
Then, according to the execution of the application program (5), printing on the printer 113 is performed.

【0080】なお、本発明は、複数の機器から構成され
るシステムに適用しても、1つの機器からなる装置に適
用してもよい。また、本発明は、システム或るいは装置
にプログラムを供給することによって達成される場合に
も適用できることは言うまでもない。この場合、本発明
を達成するためのソフトウエアによって表されるプログ
ラムを格納した記憶媒体を該システムあるいは装置に読
み出すことによって、そのシステムあるいは装置が、本
発明の効果を享受することが可能となる。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of one device. Further, it goes without saying that the present invention can be applied to a case where it is achieved by supplying a program to a system or an apparatus. In this case, by reading a storage medium storing a program represented by software for achieving the present invention into the system or apparatus, the system or apparatus can enjoy the effects of the present invention. .

【0081】さらに、本発明を達成するためのソフトウ
エアによって表されるプログラムをネットワーク上のデ
ータベースから通信プログラムによりダウンロードして
読み出すことによって、そのシステム或るいは装置が、
本発明の効果を享受することが可能となる。
Furthermore, by downloading and reading the program represented by the software for achieving the present invention from the database on the network by the communication program, the system or apparatus can
It is possible to enjoy the effects of the present invention.

【0082】[0082]

【発明の効果】以上説明したように、本発明に係る第1
の発明によれば、選択手段が主メモリにロードされたア
プリケーションプログラムに基づいていずれかの印刷制
御プログラムを選択したら、該選択された前記印刷制御
プログラムを転送手段が前記印刷装置に転送するので、
ユーザによるアプリケーションプログラムの選択を指示
する簡単な操作で、アプリケーションプログラムに最適
な印刷制御プログラムを印刷装置に常駐させて、アプリ
ケーションプログラムに従う印刷情報を最適な手順で処
理することができる。
As described above, the first embodiment according to the present invention is described.
According to the invention, when the selecting means selects one of the print control programs based on the application program loaded in the main memory, the transfer means transfers the selected print control program to the printing device.
By a simple operation of instructing the selection of an application program by the user, the optimum print control program for the application program can be made resident in the printing apparatus, and the print information according to the application program can be processed in the optimum procedure.

【0083】第2の発明によれば、判定手段が所定の通
信媒体を介して前記情報処理装置から転送されるデータ
種別が印刷制御プログラムであると判定する毎に、更新
手段が記憶手段に書き込まれている印刷制御プログラム
を前記転送された印刷制御プログラムに順次更新するの
で、複数の印刷制御プログラムを常駐させるメモリ容量
を備えていなくても、情報処理装置の各アプリケーショ
ン選択に伴ってロードされる各印刷制御プログラムを取
得し、該取得した各印刷制御プログラムを記憶手段に対
して順次更新可能に書き換えて印刷情報を最適な手順で
処理することができる。
According to the second aspect of the invention, every time the judging means judges that the data type transferred from the information processing apparatus via the predetermined communication medium is the print control program, the updating means writes in the storage means. Since the existing print control programs are sequentially updated to the transferred print control programs, the print control programs are loaded in accordance with each application selection of the information processing apparatus even if the print control program does not have a memory capacity for resident therein. It is possible to obtain each print control program, rewrite the obtained print control programs sequentially in the storage unit so that the print information can be updated, and process the print information in an optimum procedure.

【0084】第3の発明によれば、判定手段が所定の通
信媒体を介して前記情報処理装置から転送されるデータ
種別が印刷制御プログラムであると判定する毎に、更新
手段が不揮発性記憶媒体で構成される記憶手段に書き込
まれている印刷制御プログラムを前記転送された印刷制
御プログラムに順次更新するので、複数の印刷制御プロ
グラムを常駐させるメモリ容量を備えていなくても、情
報処理装置の各アプリケーション選択に伴ってロードさ
れる各印刷制御プログラムを取得し、該取得した各印刷
制御プログラムを記憶手段に対して順次更新可能に書き
換えて印刷情報を最適な手順で処理することができる。
According to the third invention, every time the judging means judges that the data type transferred from the information processing apparatus via the predetermined communication medium is the print control program, the updating means makes the non-volatile storage medium. Since the print control program written in the storage means constituted by the above is sequentially updated to the transferred print control program, each of the information processing devices can be provided without having a memory capacity for resident a plurality of print control programs. It is possible to obtain each print control program loaded in accordance with the application selection, rewrite each obtained print control program in the storage unit so as to be sequentially updatable, and process the print information in an optimum procedure.

【0085】第4の発明によれば、判定手段が所定の通
信媒体を介して前記情報処理装置から転送されるデータ
種別が印刷制御プログラムであると判定する毎に、更新
手段が揮発性記憶媒体で構成される記憶手段に書き込ま
れている印刷制御プログラムを前記転送された印刷制御
プログラムに順次更新するので、複数の印刷制御プログ
ラムを常駐させるメモリ容量を備えていなくても、安価
なメモリ媒体で情報処理装置の各アプリケーション選択
に伴ってロードされる各印刷制御プログラムを取得し、
該取得した各印刷制御プログラムを記憶手段に対して順
次更新可能に書き換えて印刷情報を最適な手順で処理す
ることができる。
According to the fourth invention, every time the judging means judges that the data type transferred from the information processing device via the predetermined communication medium is the print control program, the updating means makes the volatile storage medium. Since the print control program written in the storage means composed of is sequentially updated to the transferred print control program, an inexpensive memory medium can be used even if it does not have a memory capacity for resident a plurality of print control programs. Acquire each print control program loaded with each application selection of the information processing device,
The acquired print control programs can be sequentially rewritten in the storage unit so that the print information can be updated and the print information can be processed in an optimum procedure.

【0086】第5の発明によれば、選択手段が主メモリ
にロードされたアプリケーションプログラムに基づいて
いずれかの印刷制御プログラムを選択したら、該選択さ
れた前記印刷制御プログラムを転送手段が前記印刷装置
に転送して、判定手段が所定の通信媒体を介して前記情
報処理装置から転送されるデータ種別が印刷制御プログ
ラムであると判定する毎に、更新手段が記憶手段に書き
込まれている印刷制御プログラムを前記転送された印刷
制御プログラムに順次更新するので、複数の印刷制御プ
ログラムを常駐させるメモリ容量を備えていなくても、
情報処理装置の各アプリケーション選択に伴ってロード
される各印刷制御プログラムを取得し、該取得した各印
刷制御プログラムを記憶手段に対して順次更新可能に書
き換えて印刷情報を最適な手順で処理することができ
る。
According to the fifth invention, when the selecting means selects any one of the print control programs based on the application program loaded in the main memory, the transferring means transfers the selected print control program to the printing device. Print control program written in the storage means each time the determination means determines that the data type transferred from the information processing device via the predetermined communication medium is the print control program. Is sequentially updated to the transferred print control program, even if a memory capacity for resident a plurality of print control programs is not provided,
Acquiring each print control program loaded according to each application selection of the information processing apparatus, rewriting each acquired print control program so that it can be sequentially updated in a storage unit, and processing print information in an optimum procedure You can

【0087】第6の発明によれば、前記所定の通信媒体
を介して前記情報処理装置から転送されるデータ種別が
印刷制御プログラムかどうかを判定し、該判定結果に基
づいて前記記憶手段に書き込まれている印刷制御プログ
ラムを前記転送された印刷制御プログラムに順次更新す
るので、情報処理装置の各アプリケーション選択に伴っ
てロードされる各印刷制御プログラムを取得し、該取得
した各印刷制御プログラムを記憶手段に対して順次更新
可能に書き換える処理を自動化することができる。
According to the sixth aspect, it is determined whether the data type transferred from the information processing device via the predetermined communication medium is a print control program, and the data is written in the storage means based on the determination result. Since the print control programs stored in the information processing apparatus are sequentially updated to the transferred print control programs, each print control program loaded in association with each application selection of the information processing apparatus is acquired, and the acquired print control programs are stored. It is possible to automate the processing of sequentially rewriting the means so that the means can be updated.

【0088】従って、情報処理装置から転送される印刷
制御プログラムを記憶し、該記憶した印刷制御プログラ
ムを順次転送される印刷制御プログラムに更新して、印
刷装置側の印刷制御プログラムを自在に更新する安価な
プリンタ制御環境を構築できる等の効果を奏する。
Therefore, the print control program transferred from the information processing apparatus is stored, the stored print control program is updated to the print control program sequentially transferred, and the print control program on the printing apparatus side is freely updated. It is possible to construct an inexpensive printer control environment.

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

【図1】本発明の第1実施例を示す印刷システムの構成
を説明するブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a printing system according to a first embodiment of the present invention.

【図2】図1に示したディスク装置の記憶内容とエンジ
ンコントローラ内部のメモリアドレスマップの概要を示
す図である。
FIG. 2 is a diagram showing an outline of stored contents of a disk device shown in FIG. 1 and a memory address map inside an engine controller.

【図3】図1に示したRAM上に生成されるエスケープ
シーケンス文字列の一例を示す図である。
FIG. 3 is a diagram showing an example of an escape sequence character string generated on the RAM shown in FIG.

【図4】本発明に係る印刷システムにおける第1の印刷
要求処理手順の一例を示すフローチャートである。
FIG. 4 is a flowchart showing an example of a first print request processing procedure in the printing system according to the present invention.

【図5】本発明に係る印刷システムの印刷装置側のデー
タ処理手順の一例を示すフローチャートである。
FIG. 5 is a flowchart showing an example of a data processing procedure on the printing device side of the printing system according to the present invention.

【図6】発明の第2実施例を示す印刷システムの構成を
説明するブロック図である。
FIG. 6 is a block diagram illustrating a configuration of a printing system showing a second embodiment of the invention.

【図7】本発明に係る印刷システムにおける第2の印刷
要求処理手順の一例を示すフローチャートである。
FIG. 7 is a flowchart showing an example of a second print request processing procedure in the printing system according to the present invention.

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

101 データ処理装置 104 CPU 105 ROM 107 RAM 113 プリンタ 116 CPU 117 ROM 118 RAM 101 data processing device 104 CPU 105 ROM 107 RAM 113 printer 116 CPU 117 ROM 118 RAM

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 所定の通信媒体を介して印刷装置と通信
可能な情報処理装置において、印刷制御手順が異なる複
数の印刷制御プログラムを記憶するプログラム記憶手段
と、主メモリにロードされたアプリケーションプログラ
ムに基づいていずれかの印刷制御プログラムを選択する
選択手段と、前記選択手段により選択された前記印刷制
御プログラムを前記印刷装置に転送する転送手段とを具
備したことを特徴とする情報処理装置。
1. An information processing apparatus capable of communicating with a printing apparatus via a predetermined communication medium, comprising: a program storage unit for storing a plurality of print control programs having different print control procedures; and an application program loaded in a main memory. An information processing apparatus comprising: a selection unit that selects any one of the print control programs based on the selection unit; and a transfer unit that transfers the print control program selected by the selection unit to the printing apparatus.
【請求項2】 所定の通信媒体を介して情報処理装置と
通信可能な印刷装置において、実行すべき印刷制御プロ
グラムを記憶する記憶手段と、前記所定の通信媒体を介
して前記情報処理装置から転送されるデータ種別が印刷
制御プログラムかどうかを判定する判定手段と、前記デ
ータが前記印刷制御プログラムである場合に、前記印刷
制御プログラムが転送される毎に、前記記憶手段に書き
込まれている印刷制御プログラムを前記転送された印刷
制御プログラムに順次更新する更新手段とを具備したこ
とを特徴とする印刷装置。
2. A printing apparatus capable of communicating with an information processing apparatus via a predetermined communication medium, a storage unit for storing a print control program to be executed, and a transfer from the information processing apparatus via the predetermined communication medium. Determining means for determining whether the data type is a print control program, and print control written in the storage means each time the print control program is transferred when the data is the print control program. A printing apparatus comprising: an updating unit that sequentially updates a program to the transferred print control program.
【請求項3】 前記記憶手段は、不揮発性記憶媒体で構
成したことを特徴とする請求項2記載の印刷装置。
3. The printing apparatus according to claim 2, wherein the storage unit comprises a non-volatile storage medium.
【請求項4】 前記記憶手段は、揮発性記憶媒体で構成
したことを特徴とする請求項2記載の印刷装置。
4. The printing apparatus according to claim 2, wherein the storage unit is a volatile storage medium.
【請求項5】 所定の通信媒体を介して情報処理装置と
印刷装置とが通信可能な印刷システムにおいて、印刷制
御手順が異なる複数の印刷制御プログラムを記憶するプ
ログラム記憶手段と、主メモリにロードされたアプリケ
ーションプログラムに基づいていずれかの印刷制御プロ
グラムを選択する選択手段と、前記選択手段により選択
された前記印刷制御プログラムを前記印刷装置に転送す
る転送手段とを備える情報処理装置と、実行すべき印刷
制御プログラムを記憶する記憶手段と、前記所定の通信
媒体を介して前記情報処理装置から転送されるデータ種
別が印刷制御プログラムかどうかを判定する判定手段
と、前記データが前記印刷制御プログラムである場合
に、前記印刷制御プログラムが転送される毎に、前記記
憶手段に書き込まれている印刷制御プログラムを前記転
送された印刷制御プログラムに順次更新する更新手段と
を備える印刷装置とを有することを特徴とする印刷シス
テム。
5. In a printing system in which an information processing device and a printing device can communicate with each other via a predetermined communication medium, a program storage means for storing a plurality of print control programs having different print control procedures and a main memory are loaded. An information processing apparatus including a selection unit that selects one of the print control programs based on the application program, and a transfer unit that transfers the print control program selected by the selection unit to the printing apparatus; A storage unit that stores a print control program, a determination unit that determines whether the data type transferred from the information processing device via the predetermined communication medium is a print control program, and the data is the print control program. In this case, each time the print control program is transferred, it is written in the storage means. And a printing device that sequentially updates the transferred print control program to the transferred print control program.
【請求項6】 実行すべき印刷制御プログラムを記憶す
る記憶手段を有する印刷装置と情報処理装置とが所定の
通信媒体を介して通信可能な印刷システムの印刷制御方
法において、前記所定の通信媒体を介して前記情報処理
装置から転送されるデータ種別が印刷制御プログラムか
どうかを判定する判定工程と、該判定結果に基づいて前
記記憶手段に書き込まれている印刷制御プログラムを前
記転送された印刷制御プログラムに順次更新する更新工
程とを有することを特徴とする印刷システムの印刷制御
方法。
6. A print control method for a printing system, wherein a printing apparatus having a storage unit for storing a print control program to be executed and an information processing apparatus can communicate with each other via a predetermined communication medium. A determination step of determining whether the data type transferred from the information processing device via the information processing apparatus is a print control program, and the print control program transferred to the print control program written in the storage means based on the determination result. And an update step of sequentially updating the print control method of the print system.
JP7179880A 1995-07-17 1995-07-17 Information processor, printer, print system, and print control method for print system Pending JPH0934657A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7179880A JPH0934657A (en) 1995-07-17 1995-07-17 Information processor, printer, print system, and print control method for print system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7179880A JPH0934657A (en) 1995-07-17 1995-07-17 Information processor, printer, print system, and print control method for print system

Publications (1)

Publication Number Publication Date
JPH0934657A true JPH0934657A (en) 1997-02-07

Family

ID=16073522

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7179880A Pending JPH0934657A (en) 1995-07-17 1995-07-17 Information processor, printer, print system, and print control method for print system

Country Status (1)

Country Link
JP (1) JPH0934657A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6637325B2 (en) 2000-07-17 2003-10-28 Riso Kagaku Corporation Rewritable-program computer interface for stencil printer, and method of rewriting program for the interface
JP2016068321A (en) * 2014-09-29 2016-05-09 ブラザー工業株式会社 Image recorder and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6637325B2 (en) 2000-07-17 2003-10-28 Riso Kagaku Corporation Rewritable-program computer interface for stencil printer, and method of rewriting program for the interface
JP2016068321A (en) * 2014-09-29 2016-05-09 ブラザー工業株式会社 Image recorder and program

Similar Documents

Publication Publication Date Title
JP2835637B2 (en) Method of loading an operating system via a network
US6009480A (en) Integrated device driver wherein the peripheral downloads the device driver via an I/O device after it is determined that the I/O device has the resources to support the peripheral device
JP2003046569A (en) Load test execution device and system, and method and program thereof
KR19980042488A (en) Remote upgrade of software over the network
JP5395108B2 (en) Apparatus and method for upgrading firmware in embedded systems
JPH11112541A (en) Message repeating method, message processing method, router device, network system and storage medium storing program controlling router device
GB2348987A (en) Upgrading firmware from a web site using an applet
JPH0934657A (en) Information processor, printer, print system, and print control method for print system
JP2000029648A (en) Data-for-operation updating device for network equipment and printer utilizing the same
JP2000137604A (en) System for succeeding data
JPH10320209A (en) Method and system for controlling general-purpose electronic equipment
JP2000259538A (en) Network control unit, network setting method and storage medium storing computer readable program
JP2000339075A (en) Data processor, print server, data processing method, and storage medium storing computer readable program
KR100429903B1 (en) Method for updating images in home gateway system
KR20030087418A (en) Method for upgrading firmware using modem
JP4666231B2 (en) Application conflict management system and method and information processing terminal using the same
JP2002189505A (en) Communication protocol preparing method, its device, communication protocol preparing program and recording medium with its program recorded
JPH05120023A (en) Program loading system
US20030225942A1 (en) System and method for delivering FPGA programming
JP3317342B2 (en) Client / server test system
JP4066406B2 (en) File system management method, management method, management program, and storage medium
JPH11317784A (en) Transmission device and automatic program generating device for the same
JP2001312432A (en) Network server and its control method
JPH0944437A (en) Method and device for controlling device driver and information processor
JP2001014150A (en) Version upgrading method for network equipment