JPH08115180A - Print controller - Google Patents

Print controller

Info

Publication number
JPH08115180A
JPH08115180A JP6274488A JP27448894A JPH08115180A JP H08115180 A JPH08115180 A JP H08115180A JP 6274488 A JP6274488 A JP 6274488A JP 27448894 A JP27448894 A JP 27448894A JP H08115180 A JPH08115180 A JP H08115180A
Authority
JP
Japan
Prior art keywords
control command
print
execution program
execution
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
JP6274488A
Other languages
Japanese (ja)
Inventor
Yasushi Sato
泰 佐藤
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 JP6274488A priority Critical patent/JPH08115180A/en
Publication of JPH08115180A publication Critical patent/JPH08115180A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To improve or change the function of a print device main body by expanding and arranging the control commands and execution programs in a storage means and carrying out an execution program corresponding to the relevant control command based on the result of discrimination of the received data. CONSTITUTION: The control commands and execution programs are received from a host computer via a 1st interface 301 and then expanded and arranged into a RAM 305 via a bus 306 and under the control of a CPU 303. Then it is decided whether the received data are equal to a stream of control commands and execution programs, the control commands or the print data. If the received data are equal to the control commands, an execution program is carried out in response to the corresponding one of those control commands arranged in the RAM 305. If the received data are equal to the print data, a print device main body performs a print operation based on the print conditions set by execution of the execution program. Thus the set utilities, etc., can be added or the function, etc., can be improved for the print device.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、印刷制御装置に関し、
例えば、ホストコンピュータと印刷装置本体との間に介
在され、前記印刷装置本体における印刷処理および印刷
装置本体の状態設定等を制御する印字制御装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print control device,
For example, the present invention relates to a print control device that is interposed between a host computer and a printing apparatus main body and controls print processing in the printing apparatus main body and state setting of the printing apparatus main body.

【0002】[0002]

【従来の技術】[Prior art]

【0003】[0003]

【発明が解決しようとする課題】従来、プリンタ装置
(印刷装置本体)を備えたコンピュータシステムにおい
て、プリンタ装置はホストコンピュータからの文字コー
ドや制御コード等のデータを受信して印刷処理を行うと
共に、予め決められた制御コマンドを受信した場合にプ
リンタ装置の状態等を設定する制御コマンド処理を行う
のが一般的であった。
Conventionally, in a computer system provided with a printer device (printing device main body), the printer device receives data such as character codes and control codes from a host computer and performs print processing. In general, when a predetermined control command is received, control command processing for setting the state of the printer device and the like is performed.

【0004】しかし、制御コマンドおよびその実行プロ
グラムは、予めプリンタ装置のプログラムメモリ中に格
納され、その格納された制御コマンド等のみを実行する
ことが可能であり、新規の制御コマンドおよび実行プロ
グラムを後から追加・変更することが不可能であった。
そのため、プリンタ装置の設定ユーティリティ等の追加
あるいは機能アップ等を行うことができず不便であっ
た。
However, the control command and its execution program are stored in advance in the program memory of the printer device, and it is possible to execute only the stored control command and the like, and the new control command and execution program can be executed later. It was impossible to add or change from.
Therefore, it is inconvenient because the setting utility of the printer device cannot be added or the functions thereof cannot be improved.

【0005】そこで、本発明の目的は、印刷装置本体の
機能拡充や変更等が可能な印刷制御装置を提供すること
である。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a print control device capable of expanding or changing the function of the main body of the printing device.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、請求項1記載の発明は、ホストコンピュータから送
出される印刷データおよび印刷装置本体の印刷条件の設
定を制御する制御コマンドを受け、その印刷データおよ
び制御コマンドに応じて前記印刷装置本体の印刷動作を
制御する印刷制御装置において、前記ホストコンピュー
タから送出される制御コマンドと該制御コマンドに応じ
た実行プログラムを受信する受信手段と、前記受信した
制御コマンドおよび実行プログラムを記憶手段に配置す
る配置手段と、前記ホストコンピュータから受信したデ
ータが印刷データであるか制御コマンドであるかを判別
する判別手段と、該判別手段で判別した結果が制御コマ
ンドである場合に、その制御コマンドに対応した前記記
憶手段中の実行プログラムを実行する実行プログラム実
行手段と、前記判別手段で判別した結果が印刷データで
ある場合に、前記印刷装置本体に前記実行プログラムの
実行により設定された印刷条件により印刷処理を実行さ
せる印刷処理実行手段とを備えたことを特徴とする。
In order to achieve the above object, the invention according to claim 1 receives a control command for controlling the setting of the print data and the print condition of the printing apparatus main body sent from the host computer, In a print control device for controlling the printing operation of the printing device main body in accordance with the print data and the control command, receiving means for receiving a control command sent from the host computer and an execution program according to the control command, Arrangement means for arranging the received control command and execution program in the storage means, discrimination means for discriminating whether the data received from the host computer is print data or a control command, and the discrimination result by the discrimination means are If it is a control command, the execution program in the storage means corresponding to the control command Execution program executing means for executing a program, and print processing execution for causing the printing apparatus main body to execute the print processing according to the print conditions set by executing the execution program when the result determined by the determining means is print data. And means.

【0007】また、上記目的を達成るために、請求項2
記載の発明は、ホストコンピュータから送出される印刷
データおよび印刷装置本体の印刷条件の設定を制御する
制御コマンドを受け、その印刷データおよび制御コマン
ドに応じて前記印刷装置本体の印刷動作を制御する印刷
制御方法において、前記ホストコンピュータから送出さ
れる制御コマンドと該制御コマンドに応じた実行プログ
ラムを受信する受信ステップと、前記受信した制御コマ
ンドおよび実行プログラムを記憶手段に配置する配置ス
テップと、前記ホストコンピュータから受信したデータ
が印刷データであるか制御コマンドであるかを判別する
判別ステップと、該判別ステップで判別した結果が制御
コマンドである場合に、その制御コマンドに対応した前
記記憶手段中の実行プログラムを実行する実行プログラ
ム実行ステップと、前記判別ステップで判別した結果が
印刷データである場合に、前記印刷装置本体に前記実行
プログラムの実行により設定された印刷条件により印刷
処理を実行させる印刷処理実行ステップとを備えたこと
を特徴とする。
Further, in order to achieve the above-mentioned object, claim 2
According to another aspect of the present invention, a print command is output from a host computer and a control command for controlling the setting of printing conditions of the printing apparatus main body is received. In the control method, a receiving step of receiving a control command sent from the host computer and an execution program corresponding to the control command, an arranging step of arranging the received control command and execution program in a storage means, and the host computer A determination step for determining whether the data received from the print data is a print command or a control command, and when the result determined in the determination step is a control command, the execution program in the storage means corresponding to the control command Execution program execution step to execute A print process execution step of causing the printing apparatus body to execute a print process according to print conditions set by execution of the execution program, when the result of the determination in the determination step is print data. .

【0008】[0008]

【作用】請求項1および2記載の印刷制御装置および印
刷制御方法では、受信手段または受信ステップは、ホス
トコンピュータから送出される制御コマンドと該制御コ
マンドに応じた実行プログラムを受信する。配置手段ま
たは配置ステップは、受信した制御コマンドとその対応
する実行プログラムを記憶手段に配置する。判別手段ま
たは判別ステップは、受信手段または受信ステップが受
信したデータが印刷データであるか、制御コマンドであ
るかを判別する。実行プログラム実行手段または実行プ
ログラムまたは実行ステップは、該判別結果が制御コマ
ンドの場合に、前記記憶手段に配置した制御コマンド中
の対応する制御コマンドに応じて対応する実行プログラ
ムを実行する。印刷処理実行手段または印刷処理実行プ
ログラムは、前記判別結果が印刷データの場合に、印刷
装置本体に前記実行プログラムの実行により設定された
印刷条件により印刷処理を実行させる。
In the print control apparatus and the print control method according to the first and second aspects, the receiving means or the receiving step receives the control command sent from the host computer and the execution program corresponding to the control command. The arranging means or the arranging step arranges the received control command and the corresponding execution program in the storage means. The determining means or the determining step determines whether the data received by the receiving means or the receiving step is print data or a control command. When the determination result is a control command, the execution program execution means or the execution program or the execution step executes the corresponding execution program according to the corresponding control command in the control commands arranged in the storage means. When the determination result is print data, the print processing execution means or the print processing execution program causes the printing apparatus body to execute the print processing according to the print conditions set by the execution of the execution program.

【0009】[0009]

【実施例】以下、本発明の印刷制御装置の実施例を図1
ないし図6を参照して詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of a print control device according to the present invention is shown in FIG.
It will be described in detail with reference to FIGS.

【0010】以下の説明では、先ず本発明の印刷制御装
置を適用した印刷システムの全体構成の概要を説明し、
次いで印刷システムを構成する各装置の詳細を説明し、
更に印刷システムの動作を説明する。
In the following description, first, an outline of the overall configuration of a printing system to which the printing control device of the present invention is applied will be described.
Next, I will explain the details of each device that makes up the printing system,
Further, the operation of the printing system will be described.

【0011】(1)印刷システムの全体構成 図1は、本発明の印刷制御装置を適用した印刷システム
の実施例の全体構成を示すブロック図である。
(1) Overall Configuration of Printing System FIG. 1 is a block diagram showing the overall configuration of an embodiment of a printing system to which the print control device of the present invention is applied.

【0012】図1に示すように、印刷システムPSは、
ホストコンピュータ201と、印刷制御装置202と、
印刷装置本体(プリンタ装置)203とを備えて構成さ
れている。
As shown in FIG. 1, the printing system PS is
A host computer 201, a print control device 202,
The printer main body (printer device) 203 is provided.

【0013】前記ホストコンピュータ201は、印刷デ
ータと、制御コマンドと、制御コマンドに応じた実行プ
ログラムを送出する。
The host computer 201 sends print data, a control command, and an execution program according to the control command.

【0014】前記印刷制御装置202は、印刷データと
制御コマンドと制御コマンド実行プログラムを入力する
インタフェースと、入力した制御コマンドおよび実行プ
ログラムをメモリ等に展開する展開部と、ホストコンピ
ュータ201から受信したコマンドに対応した制御コマ
ンド実行プログラムを実行する制御コマンド処理部とを
備えている。
The print control device 202 has an interface for inputting print data, a control command, and a control command execution program, a developing unit for expanding the input control command and execution program in a memory, and a command received from the host computer 201. And a control command processing unit that executes a control command execution program corresponding to.

【0015】印刷装置本体203は、例えばレーザービ
ームプリンタLP(図5参照)により構成されている。
The printer main body 203 is composed of, for example, a laser beam printer LP (see FIG. 5).

【0016】次に、印刷システムPSの動作概要を説明
する。
Next, an outline of the operation of the printing system PS will be described.

【0017】まず、ホストコンピュータ201は、印刷
装置本体203にて実行したい制御コマンドの実行プロ
グラムとそのプログラムを実行するキーとなる制御コマ
ンドとを1つのストリーム(図4参照)とした制御コマ
ンド実行プログラムを印刷制御装置202に送出する。
First, the host computer 201 uses a control command execution program in which a control command execution program to be executed by the printing apparatus main body 203 and a control command serving as a key for executing the program are made into one stream (see FIG. 4). To the print control device 202.

【0018】制御コマンド実行プログラムを受信した印
刷制御装置202は、制御コマンド実行プログラムを、
キーとなる制御コマンドと実行プログラムとに分離し、
それぞれキーテーブルおよびプログラムテーブル(図3
参照、後述する)とに展開し、それらを相互に関連させ
て配置する。
Upon receiving the control command execution program, the print control apparatus 202 sends the control command execution program
Separate the key control command and the execution program,
Key table and program table (Fig. 3)
(See below, later) and place them in relation to each other.

【0019】次いで、ホストコンピュータ201は、実
行したい制御コマンドを印刷制御装置202に送出す
る。制御コマンドを受信した印刷制御装置202は、こ
の制御コマンドがキーテーブル中に存在するか否かを検
索し、存在していた場合はその制御コマンドに対応する
プログラムテーブル上の実行プログラムを読み出して実
行する。この実行プログラムでは、印刷装置本体の状態
等、印刷処理に関する様々の印刷条件の設定等を定義す
ることが可能である。
Next, the host computer 201 sends the control command to be executed to the print control device 202. Upon receiving the control command, the print control apparatus 202 searches whether this control command exists in the key table, and if it exists, reads the execution program on the program table corresponding to the control command and executes it. To do. With this execution program, it is possible to define the settings of various printing conditions related to printing processing, such as the state of the printing apparatus main body.

【0020】次に、ホストコンピュータ201は、印刷
データを印刷制御装置202に送出する。
Next, the host computer 201 sends the print data to the print control device 202.

【0021】印刷データを受信した印刷制御装置202
は、上記実行プログラムにより実行された各種設定条件
に従い、受信データを加工あるいはそのまま印刷装置本
体203に送出する。
The print control device 202 that received the print data
Processes the received data or sends it directly to the printing apparatus main body 203 according to various setting conditions executed by the execution program.

【0022】印刷装置本体203は受け取ったデータの
印刷を行う。
The printer main body 203 prints the received data.

【0023】(2)印刷システムの詳細説明 次に、前述の印刷制御装置,各種テーブル,制御コマン
ド実行プログラムストリーム,レーザービームプリンタ
等の詳細を説明する。
(2) Detailed Description of Printing System Next, details of the above-mentioned printing control device, various tables, control command execution program stream, laser beam printer and the like will be described.

【0024】〔印刷制御装置〕図2は、前記印刷制御装
置202の構成を示すブロック図である。
[Print Control Device] FIG. 2 is a block diagram showing the arrangement of the print control device 202.

【0025】図2に示すように、ホストコンピュータ2
01(図1)から送出された印刷データと制御コマンド
と制御コマンド実行プログラムとは、受信手段である第
1インタフェース301を介して受信される。
As shown in FIG. 2, the host computer 2
01 (FIG. 1), the print data, the control command, and the control command execution program are received via the first interface 301 which is a receiving unit.

【0026】受信された印刷データ等は、バス306を
介して中央処理装置(CPU)303に入力され、中央
処理装置303は後述するROM(読出し専用メモリ)
304から制御情報に基づいて前述の制御プログラムの
展開および制御コマンド実行プログラムの実行を行う。
The received print data and the like are input to a central processing unit (CPU) 303 via a bus 306, and the central processing unit 303 has a ROM (read only memory) described later.
Based on the control information from 304, the control program is expanded and the control command execution program is executed.

【0027】ここに、中央処理装置303は、マイクロ
プロセッサから成り、クロックパルス発生回路,遅延回
路,ゲート回路,その他の論理回路等を有する順序回路
の形態に構成されている。ROM304には、中央処理
装置303が各部に制御信号を供給する際に、図6(後
述する)に示す制御手順を中央処理装置303に順次知
らせるために必要なマイクロ命令郡や、データ変換処理
に必要な各種情報が記憶されている。RAM305に
は、各装置(主に印刷装置本体)の動作状態を記憶する
領域と、次に説明する制御コマンドのキーテーブルおよ
び実行プログラムテーブルを展開・配置する領域が確保
されている。
Here, the central processing unit 303 is composed of a microprocessor, and is configured in the form of a sequential circuit having a clock pulse generating circuit, a delay circuit, a gate circuit, other logic circuits and the like. The ROM 304 has a group of microinstructions necessary for sequentially informing the central processing unit 303 of the control procedure shown in FIG. 6 (described later) when the central processing unit 303 supplies control signals to each unit, and data conversion processing. Various necessary information is stored. In the RAM 305, an area for storing the operation state of each device (mainly the printing apparatus main body) and an area for expanding and arranging a control command key table and an execution program table described below are secured.

【0028】そして、中央処理装置303とROM30
4とRAM305とが配置手段、判別手段、実行プログ
ラム実行手段、印刷処理実行手段を構成している。ま
た、RAM305は記憶手段をも構成している。
Then, the central processing unit 303 and the ROM 30
4 and the RAM 305 constitute an arrangement means, a discrimination means, an execution program execution means, and a print processing execution means. The RAM 305 also constitutes storage means.

【0029】第2インタフェース302は、中央処理装
置303等により処理されたデータを印刷装置本体20
3(図1)に送出するインタフェースである。
The second interface 302 stores data processed by the central processing unit 303 and the like in the printer main body 20.
3 (FIG. 1).

【0030】〔制御コマンドのキーテーブルおよび実行
プログラムテーブル〕図3は、制御コマンドのキーテー
ブル501と実行プログラムテーブル503とを示す図
である。
[Control Command Key Table and Execution Program Table] FIG. 3 is a diagram showing a control command key table 501 and an execution program table 503.

【0031】キーテーブル501は、1つ又はそれ以上
のキー情報領域502を有し、キー情報領域502は、
実行プログラムを実行するキーとなるキーコマンドおよ
び実行プログラムを展開したアドレスを示す実行プログ
ラムアドレスから構成されている。実行プログラムテー
ブル503は、各キーに対応した実行プログラムを展
開,配置するテーブルである。
The key table 501 has one or more key information areas 502, and the key information areas 502 are
It is composed of a key command that is a key for executing the execution program and an execution program address indicating an expanded address of the execution program. The execution program table 503 is a table for expanding and arranging an execution program corresponding to each key.

【0032】〔制御コマンド実行プログラムのストリー
ム〕図4は、印刷制御装置がホストコンピュータから受
信する制御コマンド実行プログラムのストリームを示す
図である。
[Stream of Control Command Execution Program] FIG. 4 is a diagram showing a stream of the control command execution program received by the print control apparatus from the host computer.

【0033】図4に示すように、ストリーム400は、
制御コマンド実行プログラムであることを識別する制御
コマンドプログラム識別データ401と、実行プログラ
ムを実行する際のキーとなるキーコマンド402と、実
行プログラムの長さを示す長さデータ403と、実際の
制御処理を行う実行プログラム404とを備えて構成さ
れている。
As shown in FIG. 4, the stream 400 is
Control command program identification data 401 for identifying the control command execution program, a key command 402 that serves as a key when executing the execution program, length data 403 indicating the length of the execution program, and actual control processing. And an execution program 404 for executing

【0034】〔印刷装置本体〕図5は、印刷装置本体
(レーザービームプリンタ)の内部構造の断面図であ
る。
[Printing Apparatus Main Body] FIG. 5 is a cross-sectional view of the internal structure of the printing apparatus main body (laser beam printer).

【0035】レーザービームプリンタLPは、外部装置
(図示せず)から供給される文字情報(文字コード)や
フォーム情報やマクロ命令等の入力がされて記憶される
と共に、それらの情報に従って対応する文字パターンや
フォームパターン等を作成し、記録媒体である記録用紙
上に像を形成する。
The laser beam printer LP receives and stores character information (character code) supplied from an external device (not shown), form information, macro command, etc., and stores corresponding character according to the information. A pattern, a form pattern, etc. are created, and an image is formed on a recording sheet which is a recording medium.

【0036】図5に示すように、レーザービームプリン
タLPのレーザービームプリンタ本体101の右上部表
面には、操作のためのスイッチおよびプリンタの状態を
表示するLED表示器やLCD表示器を備えた操作パネ
ル102が配置されている。この操作パネル101の下
方には、レーザービームプリンタ全体の制御および外部
装置から供給される文字情報等を解析するプリンタ制御
ユニット103が配置され、このプリンタ制御ユニット
103は、主に文字情報に対応する文字パターンをビデ
オ信号に変換してレーザドライバ106に出力する。
As shown in FIG. 5, on the upper right surface of the laser beam printer main body 101 of the laser beam printer LP, there are provided switches for operation and an LED display or LCD display for displaying the status of the printer. A panel 102 is arranged. A printer control unit 103 for controlling the entire laser beam printer and analyzing character information supplied from an external device is arranged below the operation panel 101. The printer control unit 103 mainly corresponds to character information. The character pattern is converted into a video signal and output to the laser driver 106.

【0037】レーザドライバ106は、半導体レーザ1
07を駆動するための回路であり、入力されたビデオ信
号に応じて半導体レーザ107から発射されるレーザ光
105をオン・オフ切替えする。このレーザ光105
は、回転多面鏡104で左右方向に振られて静電ドラム
108の表面を走査露光する。この走査露光により、静
電ドラム108上には文字パターンの静電潜像が形成さ
れる。
The laser driver 106 is the semiconductor laser 1
This is a circuit for driving 07, and switches on / off the laser beam 105 emitted from the semiconductor laser 107 according to the input video signal. This laser light 105
Is horizontally swung by the rotary polygon mirror 104 to scan and expose the surface of the electrostatic drum 108. By this scanning exposure, an electrostatic latent image of a character pattern is formed on the electrostatic drum 108.

【0038】この潜像は、静電ドラム108の周囲に配
置された現像ユニット109により現像された後、記録
紙114に転写される。記録紙114にはカットシート
が使用され、記録紙114は用紙カセット112に装填
されている。そして、記録紙114は、給紙ローラ11
1および搬送ローラ110により用紙カセット112か
ら装置内に取り込まれ、静電ドラム108に搬送供給さ
れる。
The latent image is developed by the developing unit 109 arranged around the electrostatic drum 108 and then transferred to the recording paper 114. A cut sheet is used as the recording paper 114, and the recording paper 114 is loaded in the paper cassette 112. The recording paper 114 is fed by the paper feed roller 11
1 and the conveyance roller 110 take the sheet cassette 112 into the apparatus and convey it to the electrostatic drum 108.

【0039】静電潜像が転写された記録紙114は、排
紙ローラ115によって、装置外に排紙され、受け皿1
13上に順次載置される。
The recording paper 114 to which the electrostatic latent image has been transferred is ejected outside the apparatus by the paper ejection roller 115, and the tray 1
13 are sequentially placed.

【0040】(3)印刷システムの動作 図6は、印刷システムPSの動作を示すフローチャート
である。
(3) Operation of Printing System FIG. 6 is a flowchart showing the operation of the printing system PS.

【0041】このフローチャートに基づいて、印刷制御
装置の制御処理過程を説明する。
The control process of the print control apparatus will be described based on this flowchart.

【0042】先ず、ステップS601においてホストコ
ンピュータ201からのデータは、印刷制御装置202
に受信される。中央処理装置303は、この受信データ
が制御コマンド実行プログラムのストリームであるか制
御コマンドであるか印刷データであるかを制御する(ス
テップS602)。
First, in step S601, the data from the host computer 201 is the print control device 202.
To be received. The central processing unit 303 controls whether this received data is a stream of a control command execution program, a control command, or print data (step S602).

【0043】中央処理装置303は、この判別結果が制
御コマンド実行プログラムのストリームの場合には処理
をステップS603へ移行させ、制御コマンドの場合に
はステップS606へ移行させ、印刷データの場合には
ステップS608へ移行させる。
The central processing unit 303 shifts the processing to step S603 when the determination result is the stream of the control command execution program, shifts to the step S606 when it is the control command, and shifts to the step S606 when it is the print data. The process moves to S608.

【0044】中央処理装置303は、制御コマンド実行
プログラムのストリームの場合には、ステップS603
においてストリームからキーコマンド402を取り出
し、キーテーブル501の空いているキー情報領域50
2へそのキーコマンドを配置する。次いで、ストリーム
中の実行プログラムを実行プログラムテーブル503の
空き位置へ展開・配置する(ステップS604)。
The central processing unit 303, in the case of the stream of the control command execution program, carries out step S603.
In the stream, the key command 402 is extracted from the stream, and the empty key information area 50 of the key table 501
Place the key command in 2. Next, the execution program in the stream is expanded / placed in an empty position of the execution program table 503 (step S604).

【0045】次いで、実行プログラムを配置した実行プ
ログラムテーブル503のアドレスを、先にキーコマン
ドを配置したキーテーブル中のキー情報領域へ配置する
(ステップS605)。
Next, the address of the execution program table 503 in which the execution program is arranged is arranged in the key information area in the key table in which the key command is arranged in advance (step S605).

【0046】また、前記ステップS602で判別したデ
ータが制御コマンドの場合には、ステップS606にお
いてその制御コマンドに一致するキーコマンドが存在す
るかを判別すべくキーテーブル501を検索する。キー
テーブル501中に一致するキーコマンドが存在した場
合には、ステップS608においてキー情報で示される
実行プログラムテーブル503中の実行プログラムを実
行する。また、キーテーブル501中に一致するキーコ
マンドが存在しない場合は、そのコマンドを無視する。
If the data determined in step S602 is a control command, the key table 501 is searched in step S606 to determine whether or not there is a key command matching the control command. If the matching key command exists in the key table 501, the execution program in the execution program table 503 indicated by the key information is executed in step S608. If there is no matching key command in the key table 501, the command is ignored.

【0047】前記ステップS602で判別したデータが
印刷データの場合には、ステップS609において上記
実行プログラムの実行により設定された印刷条件等の各
種設定条件に従い、印刷装置本体203において印刷処
理を行う。
When the data determined in step S602 is print data, the printing apparatus main body 203 performs print processing according to various setting conditions such as the printing conditions set by executing the execution program in step S609.

【0048】なお、本実施例ではキーテーブルおよび実
行プログラムテーブルをRAMに展開し配置する場合を
説明した。しかし、RAMの代わりに、フラッシュRO
M等の不揮発メモリおよびその書き込み、消去手段を印
刷制御装置に実装し、キーテーブルおよび実行プログラ
ムテーブルとして使用してもよい。このように不揮発メ
モリ等を使用すれば、印刷制御装置の電源を切断して
も、その記憶内容を保持しておくことが可能となる。
In this embodiment, the case where the key table and the execution program table are expanded and arranged in the RAM has been described. However, instead of RAM, flash RO
A non-volatile memory such as M and its writing / erasing means may be mounted in the print control device and used as a key table and an execution program table. By using the non-volatile memory or the like as described above, it is possible to retain the stored contents even when the power supply of the print control device is turned off.

【0049】[0049]

【発明の効果】以上説明したように本発明によれば、ホ
ストコンピュータから送出された印刷装置本体の印刷条
件の設定を制御する制御コマンドとその対応する実行プ
ログラムを実行するための制御コマンドを受信して記憶
手段に展開・配置しておくことにより、ホストコンピュ
ータから受信したデータが印刷データか制御コマンドで
あるかを判別し、制御コマンドである場合にその対応す
る実行プログラムを実行するようにしたので、印刷装置
本体の機能拡充や変更等が可能となる。
As described above, according to the present invention, the control command for controlling the setting of the printing conditions of the printing apparatus main body sent from the host computer and the control command for executing the corresponding execution program are received. The data received from the host computer is discriminated whether it is print data or a control command, and if it is a control command, the corresponding execution program is executed. Therefore, the functions of the printing apparatus main body can be expanded or changed.

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

【図1】本発明の印刷制御装置を適用した印刷システム
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a printing system to which a print control device of the present invention is applied.

【図2】前記印刷システムを構成する印刷制御装置のブ
ロック図である。
FIG. 2 is a block diagram of a print control device that constitutes the printing system.

【図3】前記印刷制御装置における制御コマンドおよび
実行プログラムを展開・配置するキーテーブルおよび実
行プログラムテーブルを示す図である。
FIG. 3 is a diagram showing a key table and an execution program table for developing and arranging control commands and execution programs in the print control apparatus.

【図4】ホストコンピュータから送出される制御コマン
ド実行プログラムのストリームを示す図である。
FIG. 4 is a diagram showing a stream of a control command execution program sent from a host computer.

【図5】前記印刷システムを構成するレーザービームプ
リンタの内部構造を示す断面図である。
FIG. 5 is a cross-sectional view showing an internal structure of a laser beam printer which constitutes the printing system.

【図6】前記印刷システムにおける処理の流れを示すフ
ローチャートである。
FIG. 6 is a flowchart showing a flow of processing in the printing system.

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

LP レーザービームプリンタ(印刷装置本体) PS 印刷システム 201 ホストコンピュータ 202 印刷制御装置 203 印刷装置本体 400 制御コマンド実行プログラムのストリーム 501 キーテーブル 503 実行プログラムテーブル LP laser beam printer (printing apparatus main body) PS printing system 201 host computer 202 print control apparatus 203 printing apparatus main body 400 control command execution program stream 501 key table 503 execution program table

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ホストコンピュータから送出される印刷
データおよび印刷装置本体の印刷条件の設定を制御する
制御コマンドを受け、その印刷データおよび制御コマン
ドに応じて前記印刷装置本体の印刷動作を制御する印刷
制御装置において、 前記ホストコンピュータから送出される制御コマンドと
該制御コマンドに応じた実行プログラムを受信する受信
手段と、 前記受信した制御コマンドおよび実行プログラムを記憶
手段に配置する配置手段と、 前記ホストコンピュータから受信したデータが印刷デー
タであるか制御コマンドであるかを判別する判別手段
と、 該判別手段で判別した結果が制御コマンドである場合
に、その制御コマンドに対応した前記記憶手段中の実行
プログラムを実行する実行プログラム実行手段と、 前記判別手段で判別した結果が印刷データである場合
に、前記印刷装置本体に前記実行プログラムの実行によ
り設定された印刷条件により印刷処理を実行させる印刷
処理実行手段とを備えたことを特徴とする印刷制御装
置。
1. Printing for receiving print data sent from a host computer and a control command for controlling the setting of printing conditions of the printing apparatus main body, and controlling the printing operation of the printing apparatus main body in accordance with the print data and the control command. In the control device, a receiving unit that receives a control command sent from the host computer and an execution program corresponding to the control command, an arranging unit that arranges the received control command and the execution program in a storage unit, and the host computer Discriminating means for discriminating whether the data received from the device is print data or a control command, and when the result discriminated by the discriminating means is a control command, the execution program in the storage means corresponding to the control command The execution program executing means for executing Print control apparatus the result in the case of print data, characterized by comprising a print process execution means for executing a printing process by the printing condition set by the execution of the execution program in the printing apparatus main body.
【請求項2】 ホストコンピュータから送出される印刷
データおよび印刷装置本体の印刷条件の設定を制御する
制御コマンドを受け、その印刷データおよび制御コマン
ドに応じて前記印刷装置本体の印刷動作を制御する印刷
制御方法において、 前記ホストコンピュータから送出される制御コマンドと
該制御コマンドに応じた実行プログラムを受信する受信
ステップと、 前記受信した制御コマンドおよび実行プログラムを記憶
手段に配置する配置ステップと、 前記ホストコンピュータから受信したデータが印刷デー
タであるか制御コマンドであるかを判別する判別ステッ
プと、 該判別ステップで判別した結果が制御コマンドである場
合に、その制御コマンドに対応した前記記憶手段中の実
行プログラムを実行する実行プログラム実行ステップ
と、 前記判別ステップで判別した結果が印刷データである場
合に、前記印刷装置本体に前記実行プログラムの実行に
より設定された印刷条件により印刷処理を実行させる印
刷処理実行ステップとを備えたことを特徴とする印刷制
御方法。
2. Printing for receiving print data sent from a host computer and a control command for controlling the setting of printing conditions of the printing apparatus main body, and controlling the printing operation of the printing apparatus main body in accordance with the print data and the control command. In the control method, a receiving step of receiving a control command sent from the host computer and an execution program corresponding to the control command, an arranging step of arranging the received control command and the execution program in a storage means, and the host computer A determination step of determining whether the data received from the control data is print data or a control command; and when the result determined in the determination step is a control command, the execution program in the storage means corresponding to the control command Execution program execution step to execute A print processing execution step for causing the printing apparatus main body to execute print processing according to print conditions set by execution of the execution program when the result of the determination in the determination step is print data. Print control method.
JP6274488A 1994-10-13 1994-10-13 Print controller Pending JPH08115180A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6274488A JPH08115180A (en) 1994-10-13 1994-10-13 Print controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6274488A JPH08115180A (en) 1994-10-13 1994-10-13 Print controller

Publications (1)

Publication Number Publication Date
JPH08115180A true JPH08115180A (en) 1996-05-07

Family

ID=17542392

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6274488A Pending JPH08115180A (en) 1994-10-13 1994-10-13 Print controller

Country Status (1)

Country Link
JP (1) JPH08115180A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7701606B2 (en) 1996-05-14 2010-04-20 Ricoh Company, Ltd. Java printer with a printer control interface in a form of a web page

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7701606B2 (en) 1996-05-14 2010-04-20 Ricoh Company, Ltd. Java printer with a printer control interface in a form of a web page
US7755785B2 (en) 1996-05-14 2010-07-13 Ricoh Company, Ltd. Image forming apparatus
US7952744B2 (en) 1996-05-14 2011-05-31 Ricoh Company, Ltd. Controlling a configuration of an image forming apparatus
US8102556B2 (en) 1996-05-14 2012-01-24 Ricoh Company, Ltd. Controlling a configuration of an image forming apparatus using a Java application

Similar Documents

Publication Publication Date Title
JP3639685B2 (en) Printing apparatus and printing control method
US5297876A (en) Page printer with internal and external memories
JPH08115180A (en) Print controller
JPH08234941A (en) Printer device and its data processing method
US6415116B2 (en) Image forming apparatus, job controlling apparatus, and job controlling method
JP2002120444A (en) Imaging apparatus
JP2910821B2 (en) Printing device
JPH02294757A (en) Input/output apparatus
JPH08192552A (en) Printer and printing control method
JPH0976590A (en) Printer
JPH09188015A (en) Printer and printing control method
JP3281465B2 (en) PRINTING APPARATUS, ITS CONTROL METHOD, AND ITS STATUS DISPLAY METHOD
JP2932470B2 (en) Operating devices for electronic equipment
JP2859976B2 (en) Printing equipment
JPH08241183A (en) Device and system for printing
JPH09146521A (en) Device and method for output control
JPH08263239A (en) Printing controller, printer and printing control method
JPH07239763A (en) Print control unit and its control method
JP2003300365A (en) Method for inputting/outputting image, image input/ output system, control program for image input/output system, and storage medium
JPH09188037A (en) Printing device and power source control method for printing device
JPH1049320A (en) Device and method for print control
JPH082067A (en) Printer and its control method
JPH07256974A (en) Image forming device and its control method
JPH11305980A (en) Method and device for printing and storage medium
JPH08174967A (en) Image output device and its method

Legal Events

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