JPH10149269A - Printing controller, its controlling method and storage medium for storing program to be read out by computer - Google Patents

Printing controller, its controlling method and storage medium for storing program to be read out by computer

Info

Publication number
JPH10149269A
JPH10149269A JP8308912A JP30891296A JPH10149269A JP H10149269 A JPH10149269 A JP H10149269A JP 8308912 A JP8308912 A JP 8308912A JP 30891296 A JP30891296 A JP 30891296A JP H10149269 A JPH10149269 A JP H10149269A
Authority
JP
Japan
Prior art keywords
data
state
control
receiving
unit
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
JP8308912A
Other languages
Japanese (ja)
Inventor
Toshihiko Ikeno
俊彦 池野
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 JP8308912A priority Critical patent/JPH10149269A/en
Publication of JPH10149269A publication Critical patent/JPH10149269A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To execute control equivalent to various control to be executed based on instructions set up from an operation panel conventionally in an off-line state based on control data received from an external device. SOLUTION: The state of an interface 103 is transited to a 1st state capable of analyzing control data by switching the analytical candidate of printing information from a printing data translation means 105 to a control data translation means 108 based on off-line shift instructions outputted from a control means 109 and a host computer 102 and the state of a receiving means is transited to a 2nd state capable of analyzing control data by switching the analytical candidate of the printing information from the means 108 to the means 105 based on on-line shift instructions.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、所定の通信媒体を
介してホストコンピュータから受信するデータを解析し
て印刷部に出力する印刷制御装置および印刷制御方法お
よびコンピュータが読み出し可能なプログラムを格納し
た記憶媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention stores a print control apparatus and a print control method for analyzing data received from a host computer via a predetermined communication medium and outputting the data to a printing unit, and a computer-readable program. It relates to a storage medium.

【0002】[0002]

【従来の技術】図23は、従来の印刷システムのデータ
処理構成を説明するブロック図である。
2. Description of the Related Art FIG. 23 is a block diagram illustrating a data processing configuration of a conventional printing system.

【0003】図23において、1201は印刷装置本
体、1202はホストコンピュータ(ホスト)で、印刷
装置1201に印刷データを送る。1203は入力手段
であるところのインタフェースで、ホスト1202から
の送られてきたデータを受信する。1204は受信バッ
ファで、インタフェース1203で受信したデータを蓄
積する。
In FIG. 23, reference numeral 1201 denotes a printing apparatus main body; 1202, a host computer (host) which sends print data to the printing apparatus 1201; Reference numeral 1203 denotes an interface serving as input means, which receives data sent from the host 1202. Reference numeral 1204 denotes a reception buffer for storing data received by the interface 1203.

【0004】1205は印刷データ翻訳手段で、受信バ
ッファ1204に蓄積されている印刷用のデータ(以
後、印刷データと呼ぶ)を解析して印刷用紙に描画する
描画データを作成する。1206は用紙カセットで、印
刷用紙を蓄積する。1207はエンジン部で、印刷デー
タ翻訳手段1205から送られてきた描画データを印刷
用紙に出力する。1208は制御手段で、印刷装置12
01内の制御を行う。1209は操作パネルで、操作者
がオンライン/オフライン切り替え,リセット操作,セ
ットアップメニューの設定等を行うためのキー,表示器
を備えている。
[0004] Reference numeral 1205 denotes a print data translating unit which analyzes print data (hereinafter, referred to as print data) stored in the reception buffer 1204 and creates drawing data to be drawn on printing paper. A paper cassette 1206 stores print paper. Reference numeral 1207 denotes an engine unit that outputs drawing data sent from the print data translating unit 1205 to a print sheet. Reference numeral 1208 denotes a control unit.
01 is controlled. An operation panel 1209 has keys and a display for the operator to perform online / offline switching, reset operation, setup menu setting, and the like.

【0005】図24は、図23に示した印刷システムの
データ通信状態を説明する図である。図23と同一のも
のには同一の符号を付してある。
FIG. 24 is a diagram for explaining a data communication state of the printing system shown in FIG. The same components as those in FIG. 23 are denoted by the same reference numerals.

【0006】図において、OFFはオフライン要因発生
タイミングで、例えば操作者が操作パネル1209に配
設されるオンラインキーを押下してオフライン状態に移
行させ、あるいはジャム,紙無し等のエラー要因が発生
したタイミングに相当する。
In the figure, OFF is an offline factor occurrence timing. For example, the operator depresses an online key provided on the operation panel 1209 to shift to an offline state, or an error factor such as a jam or no paper has occurred. It corresponds to timing.

【0007】ONはオンライン要因発生タイミングで、
例えば操作者が操作パネル1209に配設されるオンラ
インキーを押下してオンライン状態に移行させ、あるい
はジャム,紙無し等のエラー要因の処置を施してオンラ
インになるタイミングに相当する。
[0007] ON is the online factor occurrence timing,
For example, this corresponds to a timing at which an operator presses an online key provided on the operation panel 1209 to shift to an online state, or takes measures for an error factor such as a jam or a paper out condition to go online.

【0008】図25は、図23に示した印刷システムの
データ処理手順の一例を示すフローチャートであり、オ
ンライン状態におけるデータ処理に対応する。なお、
(1)〜(13)は各ステップを示す。
FIG. 25 is a flowchart showing an example of a data processing procedure of the printing system shown in FIG. 23, and corresponds to data processing in an online state. In addition,
(1) to (13) show each step.

【0009】まず、操作者が操作パネル1209上のオ
ンラインキーを押下したかどうかを判定し(1)、YE
Sならば印刷装置1201とホスト1202との通信状
態をオフライン状態に移行させ(12)、インタフェー
ス1203がホスト1202からのデータを受信しない
よう制御し(13)、処理を終了する。
First, it is determined whether the operator has pressed the online key on the operation panel 1209 (1), and YE is determined.
If S, the communication state between the printing apparatus 1201 and the host 1202 is shifted to the offline state (12), the interface 1203 is controlled so as not to receive data from the host 1202 (13), and the process is terminated.

【0010】一方、ステップ(1)でNOと、すなわ
ち、オンラインキーを押下していないと判定された場合
には、次いで各種図示しないセンサからの出力を判定し
てジャム,紙切れ等が発生しているかどうかを判定し
(2)、YESならばステップ(12)へ進み、NOな
らばホスト1202から印刷装置1201にデータが送
られてきているかどうかを判定し(3)、NOならばス
テップ(1)へ戻りデータ受信待ちとなり、YESなら
ば印刷装置1201ではそのデータをインタフェース1
203を介して受信する(4)。
On the other hand, if NO in step (1), that is, if it is determined that the online key is not depressed, then the output from various sensors (not shown) is determined to cause a jam, paper break, etc. It is determined whether or not data has been transmitted (2). If YES, the process proceeds to step (12). If NO, it is determined whether or not data has been sent from the host 1202 to the printing apparatus 1201 (3). ), And waits for data reception. If YES, the printing apparatus 1201 transmits the data to the interface 1
Received via 203 (4).

【0011】次に、インタフェース1203はデータを
受信するとそのデータを受信バッファ1204に蓄積し
ていく(5)。そして、受信バッファ1204内のデー
タは印刷データ翻訳手段1205で解析される。印刷デ
ータ翻訳手段1205は受信バッファ1204内のデー
タを命令単位で1つずつ解析し(6)、印刷用紙に描画
する描画データを作成していく(7)。そして、印刷デ
ータ翻訳手段1205が1ページ分の描画データを作成
できたかどうかを判定し(8)、NOならばステップ
(6)へ戻り、YESならば制御手段1208内のメモ
リに記憶されている印刷部数の値を参照し、その枚数分
だけ同じ描画データをエンジン部1207に送る
(9)。
Next, upon receiving the data, the interface 1203 accumulates the data in the reception buffer 1204 (5). Then, the data in the receiving buffer 1204 is analyzed by the print data translating means 1205. The print data translating means 1205 analyzes the data in the reception buffer 1204 one by one for each command (6), and creates drawing data to be drawn on the printing paper (7). The print data translating means 1205 determines whether or not one page of drawing data has been created (8). If NO, the process returns to step (6). If YES, the print data is stored in the memory of the control means 1208. By referring to the value of the number of copies, the same drawing data is sent to the engine unit 1207 by the number of copies (9).

【0012】この時点では「印刷部数」が「1枚」に設
定されているものとする。印刷部数は操作パネル120
9からセットアップメニューの設定を行うことによって
変えることができる。操作パネル1209から設定され
たセットアップメニューの設定値は制御手段1208内
のメモリに記憶される。印刷データ翻訳手段1205は
1ページ分の描画データをエンジン部1207に送る際
に、制御手段1208内のメモリに記憶されている「印
刷部数」の値を参照し、その枚数分だけ同じ描画データ
をエンジン部1207に送り同じページをその枚数分だ
けエンジン部1207に出力させる。
At this point, it is assumed that the “number of prints” is set to “1”. The number of copies to be printed on the operation panel 120
It can be changed by setting the setup menu from step 9. The set values of the setup menu set from the operation panel 1209 are stored in the memory in the control unit 1208. When sending one page of drawing data to the engine unit 1207, the print data translating unit 1205 refers to the value of “number of copies” stored in the memory of the control unit 1208, and transmits the same drawing data by the number of copies. The same page is sent to the engine unit 1207 and output to the engine unit 1207 for the number of pages.

【0013】ここでは「印刷部数」が「1枚」に設定さ
れているので1ページ分の描画データが1回だけエンジ
ン部1207に送られることになる。エンジン部120
7は、印刷データ翻訳手段1205から描画データが送
られてくると用紙カセット1206から印刷用紙を取り
込み、印刷して出力する(10)。それから印刷データ
翻訳手段1205は、受信バッファ1204に未処理の
データがあるかどうかを判定し(11)、YESならば
ステップ(6)へ戻り、NOならばステップ(1)へ戻
り、次のページの処理を行い同様の処理を行う。
In this case, since the “number of copies” is set to “1”, the drawing data for one page is sent to the engine unit 1207 only once. Engine section 120
7 receives the drawing data from the print data translating means 1205, takes in the printing paper from the paper cassette 1206, prints it, and outputs it (10). Then, the print data translating means 1205 determines whether or not there is unprocessed data in the reception buffer 1204 (11). If YES, the process returns to the step (6). If NO, the process returns to the step (1) to return to the next page. And the same processing is performed.

【0014】ここで、ホスト1202は、最初の数ペー
ジの印刷データは印刷部数1枚で出力し、それ以降のペ
ージを印刷部数2枚で出力するために、最初の数ページ
を送った後一旦印刷データの送信をやめ、その後で操作
者が操作パネル1209のオンラインキーを押下するも
のとする。
Here, the host 1202 outputs the print data of the first few pages with one print copy, and sends the first few pages once to send the subsequent pages with two print copies. It is assumed that the transmission of the print data is stopped, and then the operator presses the online key on the operation panel 1209.

【0015】この場合、ステップ(1)で操作パネル1
209のオンラインキーが押下されると、ステップ(1
2)へ進み、制御手段1208は印刷装置1201をオ
フライン状態にし、ステップ(13)でインタフェース
1203がホスト1202からのデータを受信しないよ
うに制御する(13)。
In this case, in step (1), the operation panel 1
When the online key 209 is pressed, step (1) is performed.
Proceeding to 2), the control unit 1208 sets the printing apparatus 1201 to an offline state, and controls the interface 1203 so as not to receive data from the host 1202 in step (13) (13).

【0016】図26は、図23に示した印刷システムの
データ処理手順の一例を示すフローチャートであり、オ
フライン状態におけるデータ処理に対応する。なお、
(11)〜(14)は各ステップを示す。
FIG. 26 is a flowchart showing an example of a data processing procedure of the printing system shown in FIG. 23, and corresponds to data processing in an offline state. In addition,
(11) to (14) show each step.

【0017】先ず、各種図示しないセンサからの出力を
判定してジャム,紙切れ等が発生しているかどうかを判
定し(11)、NOならばステップ(11)へ戻り、Y
ESならば、操作者は、操作パネル1209を操作し、
セットアップメニューの「印刷部数」を「1枚」から
「2枚」に変更する。このようにしてセットアップメニ
ューの設定値が変更されると、その値は制御手段120
8内のメモリに記憶される。
First, the outputs from various sensors (not shown) are determined to determine whether a paper jam, paper cut, or the like has occurred (11). If NO, the process returns to step (11), and
If it is ES, the operator operates the operation panel 1209,
Change the “number of copies” in the setup menu from “1” to “2”. When the set value of the setup menu is changed in this way, the value is changed by the control unit 120.
8 is stored in a memory.

【0018】その後、操作者は印刷装置1201をオン
ラインに戻すためのオンラインキーを押下したかどうか
を判定し(12)、NOならばステップ(11)へ戻
り、YESならば制御手段1208は印刷装置1201
をオンライン状態にし(13)、インタフェース120
3がホスト1202からのデータを受信するように制御
して(14)、処理を終了する。
Thereafter, it is determined whether the operator has pressed an online key for returning the printing apparatus 1201 to online (12). If NO, the procedure returns to step (11). 1201
Is brought online (13), and the interface 120 is
3 controls to receive the data from the host 1202 (14), and ends the processing.

【0019】それからホスト1202は残りの印刷ペー
ジを印刷装置1201に送信する。その印刷データは、
先ほどと同様に図25のステップ(4)でインタフェー
ス1203で受信し、ステップ(5)でデータを受信バ
ッファ1204に蓄積していく。そして、ステップ
(6)で受信バッファ1204内のデータはカレントの
翻訳手段である印刷データ翻訳手段1205が命令単位
で1つずつ解析し、ステップ(7)で印刷用紙に描画す
る描画データを作成していく。そして、ステップ(8)
で、印刷データ翻訳手段1205は1ページ分の描画デ
ータが完成すると、ステップ(9)で制御手段1208
内のメモリに記憶されている「印刷部数」の値を参照し
その枚数分だけ同じ描画データをエンジン部1207に
送る。
Then, the host 1202 sends the remaining print pages to the printing device 1201. The print data is
As in the previous case, the data is received by the interface 1203 in step (4) of FIG. 25, and the data is accumulated in the reception buffer 1204 in step (5). Then, in step (6), the data in the receiving buffer 1204 is analyzed one by one by the print data translating means 1205, which is the current translating means, for each command, and in step (7), the drawing data to be drawn on the printing paper is created. To go. And step (8)
When one page of drawing data is completed, the print data translating means 1205 determines in step (9) that the control means 1208
The same drawing data is sent to the engine unit 1207 by the number of copies by referring to the value of the “number of copies” stored in the memory inside the unit.

【0020】この時点では「印刷部数」が「2枚」に設
定されているので1ページ分の描画データが2回エンジ
ン部1207に送られることになる。そしてステップ
(10)でエンジン部1207は、印刷データ翻訳手段
1205から描画データが送られてくると用紙カセット
1206から印刷用紙を取り込み、印刷して出力する。
エンジン部1207では同じページを2枚ずつ印刷す
る。それから印刷データ翻訳手段1205は、次のペー
ジ以降の処理を同様に行う。
At this time, since the “number of prints” is set to “2”, the drawing data for one page is sent to the engine unit 1207 twice. Then, in step (10), when the drawing data is sent from the print data translating means 1205, the engine unit 1207 takes in the printing paper from the paper cassette 1206, prints it, and outputs it.
The engine unit 1207 prints the same page two by two. Then, the print data translating means 1205 similarly performs the processing for the subsequent pages.

【0021】以上の一連の印刷動作を行っている最中
に、ステップ(2)でジャムや紙切れなどのエラーが発
生すると、ステップ(12)で操作パネル1209のオ
ンラインキーが押下された時と同様に制御手段1208
は印刷装置1201をオフライン状態にし、ステップ
(13)でインタフェース1203がホスト1202か
らのデータを受信しないように制御する。それから操作
者がジャム、紙切れなどのエラー要因を取り除くまでは
印刷装置はオフライン状態である。
If an error such as a jam or a paper break occurs in step (2) during the above-described series of printing operations, the same operation as when the online key of the operation panel 1209 is pressed in step (12). Control means 1208
Makes the printing apparatus 1201 offline, and controls the interface 1203 not to receive data from the host 1202 in step (13). Then, the printing apparatus is in an off-line state until the operator removes an error factor such as a jam or out of paper.

【0022】そして、図26のステップ(11)で、操
作者がエラー要因を取り除き、ステップ(12)で操作
パネル1209のオンラインキーを押下すると、ステッ
プ(13)で制御手段1208は印刷装置1201をオ
ンライン状態にし、ステップ(14)でインタフェース
1203がホスト1202からのデータを受信するよう
に制御する。
Then, in step (11) of FIG. 26, the operator removes the cause of the error and presses the online key on the operation panel 1209 in step (12). In step (13), the control unit 1208 causes the printing apparatus 1201 to operate. It is brought online, and in step (14), the interface 1203 is controlled to receive data from the host 1202.

【0023】以上がホスト1202と印刷装置1201
との間のデータの流れである。
The host 1202 and the printing device 1201 have been described above.
This is the data flow between.

【0024】[0024]

【発明が解決しようとする課題】このように従来例の印
刷システムにおいては、操作パネル1209による印刷
装置の制御は、操作者が印刷装置の設置位置にわざわざ
赴き、オンラインキーを押下してオフライン状態にして
からランプやディスプレイを見てキーを押下することに
より行っていた。
As described above, in the conventional printing system, the control of the printing apparatus by the operation panel 1209 is performed when the operator bothers to the installation position of the printing apparatus and depresses the online key to enter the offline state. After that, the user pressed the key while looking at the lamp or display.

【0025】しかしながら、上記従来例では、オンライ
ン中はオンラインキー以外のキーを操作することができ
ないので、排出,両面/片面切り替え,給紙口選択,ユ
ーティリティ機能の実行,リセット操作,セットアップ
メニューの設定,動作モードメニューの設定等はオフラ
イン中しか行うことができない。
However, in the above-mentioned conventional example, since keys other than the online key cannot be operated during online operation, discharge, double-sided / single-sided switching, paper feed port selection, execution of utility function, reset operation, setup menu setting The setting of the operation mode menu and the like can be performed only during offline.

【0026】このように印刷装置にはオフライン中にし
か行うことのできない操作が多々あるにもかかわらず、
操作パネルによる印刷装置の制御を行う為には操作者が
印刷装置の設置位置にわざわざ赴かなければならないと
う煩雑な作業が要求されている。
As described above, although the printing apparatus has many operations that can be performed only while the printer is offline,
In order to control the printing apparatus using the operation panel, a complicated operation that requires the operator to go to the installation position of the printing apparatus is required.

【0027】一方、ジャム,紙切れ,トナー切れなどの
エラーであればそのエラーを解除するために印刷装置に
対して操作者の介在が絶対に必要になるが、オフライン
中の操作パネルの操作だけであればわざわざ操作者が印
刷装置の場所まで行かなくてもホスト側から制御できる
ことが望ましい。
On the other hand, in the case of an error such as a jam, running out of paper, running out of toner, etc., an operator's intervention in the printing apparatus is absolutely necessary to cancel the error. If so, it is desirable that the host can control the printer without having to go to the location of the printing apparatus.

【0028】また、将来印刷装置のコストダウンを図る
ために必要最小限キーやランプを残してそれ以外のキー
やランプを取り除く、あるいは全てのキーやランプを取
り除いてしまうようなことも想定される。このような場
合には、操作者が操作パネルを操作して行っていた上記
種々のキー操作が極力ホスト側から行えることが切望さ
れている。
Further, in order to reduce the cost of the printing apparatus in the future, it is also conceivable that the keys and lamps that are necessary are left and the other keys and lamps are removed, or all keys and lamps are removed. . In such a case, it is desired that the above-mentioned various key operations, which were performed by the operator operating the operation panel, can be performed from the host side as much as possible.

【0029】本発明は、上記の問題点を解消するために
なされたもので、本発明に係る第1の発明〜第9の発明
の目的は、外部装置からの制御データに基づいて印刷デ
ータ以外の制御データを継続して受信可能なオフライン
状態への遷移を制御することにより、本来オフライン状
態で操作パネル上から設定される指示に基づいて実行す
べき種々の制御と同等の制御を外部装置から受信する制
御データに基づいて代行させることができ、ユーザによ
る操作負担を大幅軽減できる印刷制御装置および印刷制
御方法およびコンピュータが読み出し可能なプログラム
を格納した記憶媒体を提供することにある。
The present invention has been made to solve the above problems, and an object of the first to ninth inventions according to the present invention is to provide a method other than print data based on control data from an external device. By controlling the transition to the offline state where the control data can be continuously received, the same control as various controls to be executed based on the instruction set from the operation panel in the offline state can be performed from the external device. An object of the present invention is to provide a print control apparatus, a print control method, and a storage medium storing a computer-readable program, which can be substituted based on received control data and can greatly reduce the operation burden on the user.

【0030】[0030]

【課題を解決するための手段】本発明に係る第1の発明
は、所定の通信媒体を介して外部装置から入力される印
刷情報を受信する受信手段と、前記受信手段が受信した
印刷情報中の印刷データを解析する第1の解析手段と、
前記受信手段が受信した印刷情報中の制御データを解析
する第2の解析手段と、前記外部装置からのオフライン
移行指示に基づいて前記印刷情報の解析候補を前記第1
の解析手段から前記第2の解析手段に切り換えて前記受
信手段の状態を入力される前記制御データを解析可能な
第1の状態に遷移させ、かつ、前記外部装置からのオン
ライン移行指示に基づいて前記印刷情報の解析候補を前
記第2の解析手段から前記第1の解析手段に切り換えて
前記受信手段の状態を入力される前記制御データを解析
可能な第2の状態に遷移させるオフライン制御手段とを
有するものである。
According to a first aspect of the present invention, there is provided a receiving means for receiving print information input from an external device via a predetermined communication medium, and a method for receiving print information from the print information received by the receiving means. First analysis means for analyzing the print data of
A second analysis unit for analyzing control data in the print information received by the reception unit; and a first analysis unit for analyzing the print information based on an offline shift instruction from the external device.
Is switched from the analyzing means to the second analyzing means, and the state of the receiving means is changed to the first state capable of analyzing the input control data, and based on an online shift instruction from the external device. Off-line control means for switching the analysis candidate of the print information from the second analysis means to the first analysis means, and transiting the control data to which the state of the reception means is inputted to a second state capable of analysis; and It has.

【0031】本発明に係る第2の発明は、前記オフライ
ン制御手段により前記第1の状態に遷移した場合に、前
記第2の解析手段が前記外部装置から入力される前記制
御データを解析してパネル操作すべき所定の設定処理を
代行するものである。
According to a second aspect of the present invention, when the offline control means makes a transition to the first state, the second analysis means analyzes the control data input from the external device. It performs a predetermined setting process to be operated on the panel.

【0032】本発明に係る第3の発明は、前記受信手段
の状態をオフライン状態に遷移させるための指示を入力
する入力手段と、前記入力手段による指示時から所定時
間を計時する計時手段とを有し、前記オフライン制御手
段は、前記計時手段が前記所定時間を計時した後、前記
外部装置からのオフライン移行指示に基づいて前記印刷
情報の解析候補を前記第1の解析手段から前記第2の解
析手段に切り換えて前記受信手段の状態を入力される前
記制御データを解析可能な第1の状態に遷移させるもの
である。
According to a third aspect of the present invention, there is provided an input means for inputting an instruction for changing the state of the receiving means to an off-line state, and a timing means for measuring a predetermined time from the time of the instruction by the input means. The offline control unit includes: after the time keeping unit measures the predetermined time, based on an offline transfer instruction from the external device, the print information analysis candidate from the first analysis unit to the second candidate. The control data is switched to an analysis means, and the control data to which the state of the reception means is input is changed to a first state in which the control data can be analyzed.

【0033】本発明に係る第4の発明は、前記オフライ
ン状態に遷移した後、前記受信手段が前記外部装置から
のデータを受信すべきかどうかを決定するための可否条
件を設定する設定手段と、前記オフライン制御手段は、
前記設定手段による可否条件に基づいて前記第1の状態
への遷移を解除し、前記受信手段が前記外部装置からの
データ入力を拒否するオフライン状態に強制設定するも
のである。
[0033] A fourth invention according to the present invention is characterized in that, after the transition to the off-line state, setting means for setting whether or not the receiving means should receive data from the external device, The offline control means,
The transition to the first state is canceled based on the availability condition by the setting unit, and the receiving unit is forcibly set to an off-line state in which data input from the external device is rejected.

【0034】本発明に係る第5の発明は、所定の通信媒
体を介して外部装置から入力される印刷情報を受信する
複数の受信手段と、一方の受信手段が受信した印刷情報
中の印刷データを解析する第1の解析手段と、他方の受
信手段が受信した印刷情報中の制御データを解析する第
2の解析手段と、前記外部装置からのオフライン移行指
示に基づいて前記第1の解析手段を有効とするように一
方の受信手段を有効に他方の受信手段を無効とするオフ
ライン状態に遷移させ、かつ、前記外部装置からのオン
ライン移行指示に基づいて前記第2の解析手段を有効と
するように他方の受信手段を有効に一方の受信手段を無
効とするオフライン状態に遷移させるオフライン制御手
段とを有するものである。
According to a fifth aspect of the present invention, a plurality of receiving means for receiving print information input from an external device via a predetermined communication medium, and print data in the print information received by one of the receiving means. First analyzing means for analyzing the control data in the print information received by the other receiving means, and the first analyzing means based on an off-line shift instruction from the external device. Is changed to an off-line state in which one receiving unit is enabled and the other receiving unit is disabled so as to be enabled, and the second analyzing unit is enabled based on an online shift instruction from the external device. And an off-line control unit for making a transition to an off-line state in which the other receiving unit is made effective and the one receiving unit is made invalid.

【0035】本発明に係る第6の発明は、所定の通信媒
体を介して外部装置から入力される印刷情報を受信部に
より受信して処理する印刷制御方法であって、該受信し
た印刷情報中の印刷データを解析する第1の解析工程
と、該受信した印刷情報中の制御データを解析する第2
の解析工程と、前記外部装置からのオフライン移行指示
に基づいて前記印刷情報の解析工程を前記第1の解析工
程から前記第2の解析工程に切り換えて前記受信部の状
態を入力される前記制御データを解析可能な第1の状態
に遷移させる第1の遷移工程と、前記外部装置からのオ
ンライン移行指示に基づいて前記印刷情報の解析候補を
前記第2の解析工程から前記第1の解析工程に切り換え
て前記受信部の状態を入力される前記制御データを解析
可能な第2の状態に遷移させる第2の遷移工程とを有す
るものである。
According to a sixth aspect of the present invention, there is provided a print control method for receiving and processing print information input from an external device via a predetermined communication medium, wherein the print control method includes the steps of: A first analyzing step of analyzing the print data of the first step, and a second analyzing step of analyzing control data in the received print information.
The control step of switching the print information analysis step from the first analysis step to the second analysis step based on an offline transfer instruction from the external device and inputting the state of the receiving unit A first transition step of transitioning the data to a first state in which the data can be analyzed, and an analysis candidate of the print information from the second analysis step to the first analysis step based on an online transition instruction from the external device. And a second transition step of transitioning the control data to which the state of the receiving unit is inputted to a second state that can be analyzed.

【0036】本発明に係る第7の発明は、所定の通信媒
体を介して外部装置から入力される印刷情報を受信部に
より受信して処理するコンピュータが読出し可能なプロ
グラムを格納した記憶媒体であって、前記外部装置から
入力される印刷情報を受信する受信工程と、該受信した
印刷情報中の印刷データを解析する第1の解析工程と、
該受信した印刷情報中の制御データを解析する第2の解
析工程と、前記外部装置からのオフライン移行指示に基
づいて前記印刷情報の解析工程を前記第1の解析工程か
ら前記第2の解析工程に切り換えて前記受信部の状態を
入力される前記制御データを解析可能な第1の状態に遷
移させる第1の遷移工程と、前記外部装置からのオンラ
イン移行指示に基づいて前記印刷情報の解析候補を前記
第2の解析工程から前記第1の解析工程に切り換えて前
記受信部の状態を入力される前記制御データを解析可能
な第2の状態に遷移させる第2の遷移工程とを含む、コ
ンピュータが読むことができるプログラムを記憶媒体に
格納したものである。
A seventh invention according to the present invention is a storage medium storing a computer readable program for receiving and processing print information input from an external device via a predetermined communication medium by a receiving unit. Receiving a print information input from the external device, a first analysis step of analyzing the print data in the received print information,
A second analysis step of analyzing control data in the received print information, and an analysis step of the print information based on an off-line shift instruction from the external device, from the first analysis step to the second analysis step. A first transition step in which the state of the receiving unit is switched to a first state in which the control data can be analyzed, and an analysis candidate of the print information based on an online transition instruction from the external device. Switching from the second analysis step to the first analysis step to change the state of the receiving unit to the second state capable of analyzing the input control data. Is stored in a storage medium.

【0037】本発明に係る第8の発明は、所定の通信媒
体を介して外部装置から入力される印刷情報を複数の受
信手段により受信して処理する印刷制御方法であって、
一方の受信手段が受信した印刷情報中の印刷データを解
析する第1の解析工程と、他方の受信手段が受信した印
刷情報中の制御データを解析する第2の解析工程と、前
記外部装置からのオフライン移行指示に基づいて前記第
1の解析工程を実行するために一方の受信手段を有効
に、他方の受信手段を無効とするオフライン状態に遷移
させる第1の遷移工程と、前記外部装置からのオンライ
ン移行指示に基づいて前記第2の解析工程を実行するた
めに他方の受信手段によるデータ受信を有効に、一方の
受信手段によるデータ受信を無効に設定するオフライン
状態に遷移させる第2の遷移工程とを有するものであ
る。
An eighth invention according to the present invention is a print control method for receiving and processing print information input from an external device via a predetermined communication medium by a plurality of receiving means,
A first analyzing step of analyzing print data in the print information received by one of the receiving units; a second analyzing step of analyzing control data in the print information received by the other receiving unit; A first transition step of validating one of the receiving means to execute the first analysis step based on the off-line transition instruction, and transiting to an offline state of invalidating the other receiving means; and A second transition for transiting to an offline state in which data reception by the other receiving unit is enabled and data reception by the one receiving unit is disabled in order to execute the second analysis step based on the online transition instruction of And a process.

【0038】本発明に係る第9の発明は、所定の通信媒
体を介して外部装置から入力される印刷情報を複数の受
信手段により受信して処理するコンピュータが読出し可
能なプログラムを格納した記憶媒体であって、一方の受
信手段が受信した印刷情報中の印刷データを解析する第
1の解析工程と、他方の受信手段が受信した印刷情報中
の制御データを解析する第2の解析工程と、前記外部装
置からのオフライン移行指示に基づいて前記第1の解析
工程を実行するために一方の受信手段を有効に、他方の
受信手段を無効とするオフライン状態に遷移させる第1
の遷移工程と、前記外部装置からのオンライン移行指示
に基づいて前記第2の解析工程を実行するために他方の
受信手段によるデータ受信を有効に、一方の受信手段に
よるデータ受信を無効に設定するオフライン状態に遷移
させる第2の遷移工程とを含む、コンピュータが読むこ
とができるプログラムを記憶媒体に格納したものであ
る。
A ninth invention according to the present invention is directed to a storage medium storing a computer readable program for receiving and processing print information input from an external device via a predetermined communication medium by a plurality of receiving means. A first analyzing step of analyzing print data in the print information received by one of the receiving means, a second analyzing step of analyzing control data in the print information received by the other receiving means, A first mode for transitioning to an offline state in which one receiving unit is enabled and the other receiving unit is disabled for executing the first analysis step based on an offline shift instruction from the external device.
In order to execute the second analysis step based on an on-line transfer instruction from the external device, and to enable data reception by the other receiving unit and disable data reception by the one receiving unit A computer-readable program including a second transition step of transitioning to an off-line state, stored in a storage medium.

【0039】[0039]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

〔第1実施形態〕図1は、本発明の第1実施形態を示す
印刷制御装置を適用可能な印刷システムの構成を説明す
るブロック図である。
[First Embodiment] FIG. 1 is a block diagram illustrating the configuration of a printing system to which a print control apparatus according to a first embodiment of the present invention can be applied.

【0040】図1において、101は印刷装置本体、1
02はホストコンピュータ(ホスト)で、オンライン中
は印刷装置101に印刷データを送り、オフライン中は
印刷装置101の制御を行う制御データを送る。103
は入力手段であるところのインタフェースで、ホスト1
02からの送られてきたデータを受信する。
In FIG. 1, reference numeral 101 denotes a printing apparatus main body;
Reference numeral 02 denotes a host computer (host) which sends print data to the printing apparatus 101 while online and sends control data for controlling the printing apparatus 101 while offline. 103
Is an interface which is an input means, and the host 1
02 is received.

【0041】104は受信バッファで、インタフェース
103で受信したデータを蓄積する。105は印刷デー
タ翻訳手段で、受信バッファ104に蓄積されている印
刷用のデータ(以後、印刷データと呼ぶ)を解析して印
刷用紙に描画する描画データを作成する。106は用紙
カセットで、印刷用紙を蓄積する。107はエンジン部
で、印刷データ翻訳手段105から送られてきた描画デ
ータを印刷用紙に出力する。
A receiving buffer 104 stores data received by the interface 103. A print data translating unit 105 analyzes print data (hereinafter, referred to as print data) stored in the reception buffer 104 and creates drawing data to be drawn on printing paper. Reference numeral 106 denotes a paper cassette for storing printing paper. Reference numeral 107 denotes an engine which outputs drawing data sent from the print data translating means 105 to a print sheet.

【0042】108は制御データ翻訳手段で、受信バッ
ファ104に蓄積されている印刷装置101を制御する
ためのデータ(以後、制御データと呼ぶ)を解析してそ
の内容を制御手段109に通知する。109はCPU,
RAM(メモリ109A),ROMを備える制御手段
で、該ROMに記憶された各種制御プログラムを実行し
て印刷装置101内の各デバイスを総括的に制御する。
Reference numeral 108 denotes a control data translation unit which analyzes data (hereinafter, referred to as control data) stored in the reception buffer 104 for controlling the printing apparatus 101 and notifies the control unit 109 of the contents. 109 is a CPU,
A control unit including a RAM (memory 109A) and a ROM executes various control programs stored in the ROM to comprehensively control each device in the printing apparatus 101.

【0043】110は切替手段で、制御手段109の指
示に基づいて受信バッファ104のデータを処理するカ
レントの翻訳手段(印刷データ翻訳手段105または制
御データ翻訳手段108のいずれか)を切り替える。1
11は操作パネルで、印刷装置101がオフライン中に
制御データを受信するかどうか設定する。
Reference numeral 110 denotes a switching unit that switches the current translation unit (either the print data translation unit 105 or the control data translation unit 108) that processes data in the reception buffer 104 based on an instruction from the control unit 109. 1
Reference numeral 11 denotes an operation panel for setting whether to receive control data while the printing apparatus 101 is offline.

【0044】図2は、図1に示した操作パネル111の
一例を示す外観図である。
FIG. 2 is an external view showing an example of the operation panel 111 shown in FIG.

【0045】図において、1はオンラインキーで、該オ
ンラインキー1のオン/オフ指示に基づいてホストコン
ピュータ102との接続状態をオン(オンライン)/オ
フ(オフライン)に切り換える。なお、オンラインキー
1内部には、オンラインランプがあり、オンライン中は
点灯し、オフライン中は消灯する。オンラインからオフ
ライン、あるいはオフラインからオンラインへの移行中
は点滅する。また、他の操作キーの機能を使う時には、
このキーを押下して、オフラインにする。さらに、エラ
ーが発生してプリンタが停止したときに、そのエラーを
解除してプリントを実行させる機能も備えている。
In the figure, reference numeral 1 denotes an online key, which switches the connection state with the host computer 102 to on (online) / off (offline) based on an on / off instruction of the online key 1. Note that an online lamp is provided inside the online key 1, which lights up when online and goes off when offline. Flashes during the transition from online to offline or from offline to online. Also, when using the functions of other operation keys,
Press this key to go offline. Further, when an error occurs and the printer is stopped, the printer is provided with a function to release the error and execute printing.

【0046】2は排出キーで、何らかの原因で印刷デー
タが途中で切れたり、プリントが中断したりしたような
場合、ジョブランプが点灯したまま(使用中の状態)に
なることがある。このようなときに、このキーをオフラ
インの状態にして押下すると、メモリ109Aにデータ
が残っている場合、そのデータを強制的にプリントす
る。
Reference numeral 2 denotes a discharge key. If the print data is cut off or the printing is interrupted for some reason, the job lamp may remain lit (in use). In such a case, when this key is set to an offline state and pressed, if data remains in the memory 109A, the data is forcibly printed.

【0047】3は両面キーで、両面プリントと片面プリ
ントとを切り替える際に押下指示する。なお、両面プリ
ント時は、キー内部のランプが点灯する。4は給紙選択
キーで、用紙の給紙方法を切り替える際に押下指示す
る。なお、給紙方法は、自動,上段カセット,中段カセ
ット,下段カセット,給紙トレイが選択可能に構成され
ており、選択されている給紙先は、キー上部のランプで
確認出来るように構成されている。
Reference numeral 3 denotes a double-sided key, which is pressed when switching between double-sided printing and single-sided printing. During double-sided printing, the lamp inside the key is turned on. Reference numeral 4 denotes a paper feed selection key, which is pressed to switch the paper feed method. The paper feeding method can be selected from automatic, upper cassette, middle cassette, lower cassette, and paper feeding tray, and the selected paper feeding destination can be confirmed by the lamp above the key. ing.

【0048】5は給紙先表示ランプで、選択されている
給紙先のランプが点灯する。6はLCDディスプレイ
(ディスプレイ)で、プリンタの状態や給紙カセットの
状態、メニュー機能の設定項目や設定値を表示する。7
はジョブランプで、プリントデータの処理中に点灯する
とともに、プリントの実行中(ジョブ中)に点灯する。
8は印刷可ランプで、プリント可能な状態のときに点灯
する。9はメッセージランプで、プリンタに何らかのト
ラブルが起こってプリントできない状態の時に点灯す
る。
Reference numeral 5 denotes a paper feed destination display lamp, and the lamp of the selected paper feed destination is turned on. Reference numeral 6 denotes an LCD display, which displays the status of the printer, the status of the paper cassette, and the setting items and values of the menu function. 7
Is a job lamp that lights during processing of print data and lights during execution of a print job (during a job).
Reference numeral 8 denotes a printable lamp, which lights up when printing is possible. Reference numeral 9 denotes a message lamp which is turned on when a problem occurs in the printer and printing cannot be performed.

【0049】10〜13は複合キー(キー)で、キー1
0はメニュー表示時には左項目選択キーとして機能し、
その他の場合は、ユーティリティメニューを表示させる
ためのキーとして機能する。また、キー11は、メニュ
ー表示時には下階層項目の選択キーとして機能し、その
他の場合は、プリンタをリセットさせるためのキーとし
て機能する。さらに、キー12はメニュー表示時には右
項目選択キーとして機能し、その他の場合は、セットア
ップメニューを表示させるためのキーとして機能する。
また、キー13は、メニュー表示時には上階層項目の選
択キーとして機能し、その他の場合は、動作モードを表
示させるためのキーとして機能する。
Reference numerals 10 to 13 denote composite keys (keys).
0 functions as a left item selection key when the menu is displayed,
In other cases, it functions as a key for displaying a utility menu. The key 11 functions as a selection key for a lower hierarchy item when a menu is displayed, and otherwise functions as a key for resetting the printer. Further, the key 12 functions as a right item selection key when a menu is displayed, and otherwise functions as a key for displaying a setup menu.
The key 13 functions as a selection key for an upper hierarchy item when a menu is displayed, and otherwise functions as a key for displaying an operation mode.

【0050】なお、オンライン中はオンラインキー以外
のキーを操作することができない。従って、排出,両面
/片面切り替え,給紙口選択,ユーティリティ機能の実
行,リセット操作,セットアップメニューの設定,動作
モードメニューの設定等はオフライン中しか行うことが
できない。このように印刷装置101にはオフライン中
にしか行うことのできない操作がある。
During online operation, keys other than the online key cannot be operated. Accordingly, discharge, double-sided / single-sided switching, paper feed port selection, execution of a utility function, resetting operation, setting of a setup menu, setting of an operation mode menu, and the like can be performed only during offline. As described above, the printing apparatus 101 has an operation that can be performed only during offline.

【0051】図3は、図1に示した印刷システムのデー
タ通信状態を説明する図であり、図1と同一のものには
同一の符号を付してある。
FIG. 3 is a diagram for explaining a data communication state of the printing system shown in FIG. 1, and the same components as those in FIG. 1 are denoted by the same reference numerals.

【0052】以下、図4〜図6に示すフローチャートを
参照しながら、本発明に係る印刷制御装置のデータ処理
動作について説明する。
Hereinafter, the data processing operation of the print control apparatus according to the present invention will be described with reference to the flowcharts shown in FIGS.

【0053】図4は、本発明に係る印刷制御装置の第1
のデータ処理手順の一例を示すフローチャートである。
なお、(1)〜(17)は各ステップを示す。
FIG. 4 shows a first example of the print control apparatus according to the present invention.
9 is a flowchart illustrating an example of a data processing procedure.
Note that (1) to (17) indicate each step.

【0054】まず、印刷装置101の操作者が操作パネ
ル111を操作し、オフライン中に制御データを受信で
きるように設定するものとする。この設定操作は以下の
通りである。
First, it is assumed that the operator of the printing apparatus 101 operates the operation panel 111 to make settings so that control data can be received while offline. This setting operation is as follows.

【0055】最初に、オンラインキー1が押下されたか
どうかを判定し(1)、YESならばステップ(16)
に進み、印刷装置101を第2のオフライン(オフライ
ン2)状態にする。そして、入力手段(インタフェース
103)がホスト102からのデータを受信しないよう
に制御する。
First, it is determined whether or not the online key 1 has been pressed (1), and if YES, step (16).
To set the printing apparatus 101 in the second offline (offline 2) state. Then, control is performed so that the input means (interface 103) does not receive data from the host 102.

【0056】一方、ステップ(1)でNOと判定された
場合には、各種センサからの出力に基づいてジャム,紙
切れ等のエラーが発生しているかどうかを判定し
(2)、YESならばステップ(16)以降へ進み、N
Oならば、次に、ホスト102から印刷装置101に印
刷データが送られているかどうかを判定し(3)、NO
ならばステップ(1)へ戻り、YESならば、該入力さ
れるデータをインタフェース103を介して受信し
(4)、該受信したデータを受信バッファ104に蓄積
していく(5)。次いで、受信バッファ104内のデー
タをカレントの翻訳手段が解析する(6)。なお、カレ
ントの翻訳手段は、制御手段109が切替手段110を
切り替え制御、すなわち、オンライン中はカレントの翻
訳手段を印刷データ翻訳手段105にし、オフライン中
は制御データ翻訳手段108にするように切替手段11
0を制御することにより、印刷データ翻訳手段105か
制御データ翻訳手段108のどちらかでカレントの翻訳
手段が決定される。従って、ステップ(6)の時点では
印刷装置101がオンライン中であるためカレントの翻
訳手段は印刷データ翻訳手段105となる。
On the other hand, if NO is determined in the step (1), it is determined whether or not an error such as a jam or a paper break has occurred based on outputs from various sensors (2). Proceed to (16) and after, N
If O, then it is determined whether print data has been sent from the host 102 to the printing apparatus 101 (3), and NO
If so, the process returns to step (1). If YES, the input data is received via the interface 103 (4), and the received data is accumulated in the reception buffer 104 (5). Next, the data in the reception buffer 104 is analyzed by the current translation means (6). The current translation unit is controlled by the control unit 109 to switch the switching unit 110, that is, the switching unit is configured so that the current translation unit is set to the print data translation unit 105 while online and the control data translation unit 108 is set to offline during offline. 11
By controlling 0, either the print data translating means 105 or the control data translating means 108 determines the current translating means. Therefore, at the time of step (6), since the printing apparatus 101 is online, the current translation means is the print data translation means 105.

【0057】次に、印刷データ翻訳手段105は受信バ
ッファ104内のデータを命令単位で1つずつ解析し
(6)、該命令がオフライン命令かどうかを判定し
(7)、NOならば、印刷用紙に描画する描画データを
作成していく(8)。そして、印刷データ翻訳手段10
5は1ページ分の描画データを作成できたかどうかを判
定し(9)、NOならばステップ(6)へ戻り、YES
ならば制御手段109内のメモリに記憶されている印刷
部数の値(セットアップメニューの設定値)を参照しそ
の枚数分だけ同じ描画データをエンジン部107に送る
(10)。
Next, the print data translating means 105 analyzes the data in the receiving buffer 104 one by one for each command (6), and judges whether the command is an offline command (7). Drawing data to be drawn on paper is created (8). Then, the print data translating means 10
5 judges whether drawing data for one page has been created (9), and if NO, returns to step (6) and YES.
If so, referring to the value of the number of print copies (set value of the setup menu) stored in the memory in the control means 109, the same drawing data is sent to the engine unit 107 by the number of copies (10).

【0058】この時点では「印刷部数」が「1枚」に設
定されているものとする。この際、すなわち、印刷デー
タ翻訳手段105が1ページ分の描画データをエンジン
部107に送る際に、制御手段109内のメモリに記憶
されている「印刷部数」の値を参照し、その枚数分だけ
同じ描画データをエンジン部107に送り同じページを
その枚数分だけエンジン部107に出力させる。ここで
は「印刷部数」が「1枚」に設定されているので1ペー
ジ分の描画データが1回だけエンジン部107に送られ
ることになる。
At this point, it is assumed that the “number of prints” is set to “1”. In this case, that is, when the print data translating unit 105 sends the drawing data for one page to the engine unit 107, the print data translating unit 105 refers to the value of the “number of print copies” stored in the memory in the control unit 109, and Only the same drawing data is sent to the engine unit 107, and the same page is output to the engine unit 107 by the number of pages. Here, since the “number of prints” is set to “1”, the drawing data for one page is sent to the engine unit 107 only once.

【0059】そして、エンジン部107は、印刷データ
翻訳手段105から描画データが送られてくると用紙カ
セット106から印刷用紙を取り込み、印刷して出力す
る(11)。それから、印刷データ翻訳手段105は、
受信バッファ104にデータがあるかどうかを判定して
(12)、YESならばステップ(6)へ戻り、次のペ
ージの処理を繰り返し、NOならばステップ(1)へ戻
る。
When the drawing data is sent from the print data translating means 105, the engine unit 107 takes in the printing paper from the paper cassette 106, prints it, and outputs it (11). Then, the print data translating means 105
It is determined whether there is data in the reception buffer 104 (12). If YES, the process returns to the step (6), and the process of the next page is repeated. If NO, the process returns to the step (1).

【0060】ホスト102は、最初の3ページの印刷デ
ータは印刷部数1枚で出力し、それ以降のページを印刷
部数2枚で出力するために、最初の3ページの送信が終
わったところでオフライン移行命令を送るものとする。
The host 102 outputs the print data of the first three pages with one print copy and outputs the subsequent pages with two print copies. Instructions shall be sent.

【0061】なお、本実施形態において、「印刷部数」
は操作者が操作パネル111からセットアップメニュー
の設定を行うことによって変更することもできるが、こ
こではホスト102から制御データを送って「印刷部
数」を変更するものとする。
In this embodiment, the “number of copies”
Can be changed by the operator setting the setup menu from the operation panel 111. Here, it is assumed that the control data is sent from the host 102 to change the “number of copies”.

【0062】ホスト102からオフライン移行命令が入
力されたと上記ステップ(7)において判定された場
合、すなわち、印刷データ翻訳手段105が受信バッフ
ァ104のデータを解析している最中にオフライン移行
命令を検出すると、制御手段109に対してオフライン
移行通知を行う。そして、制御手段109は印刷データ
翻訳手段105からオフライン移行通知を受けると、メ
モリ109Aの「オフライン中のデータ受信」を制御す
るための値を参照し、その値が「する」に設定されてい
るかどうかを判定し(13)、YESならば印刷装置1
01を第1のオフライン(オフライン1)の状態に設定
し(14)、切替手段110を制御してカレントの翻訳
手段を制御データ翻訳手段108に切り替え(15)、
後述する図5に示すオフライン1ルーチン処理に移行す
る。
When it is determined in step (7) that an off-line shift command has been input from the host 102, that is, the off-line shift command is detected while the print data translating means 105 is analyzing data in the reception buffer 104. Then, the control unit 109 is notified of the offline shift. When the control unit 109 receives the offline shift notification from the print data translating unit 105, the control unit 109 refers to a value for controlling “data reception during offline” in the memory 109A, and determines whether the value is set to “Yes”. (13), and if YES, the printer 1
01 is set to the first off-line (off-line 1) state (14), the switching means 110 is controlled to switch the current translation means to the control data translation means 108 (15),
The process proceeds to an off-line 1 routine shown in FIG.

【0063】一方、ステップ(13)でNO、すなわ
ち、もし、メモリ109Aに「オフライン中のデータ受
信」を制御するための値を参照し、その値が「しない」
に設定されていると判定した場合には、制御手段109
は印刷装置101をオフライン2の状態に設定し(1
6)、インタフェース103がホスト102からのデー
タを受信しないように制御して(17)、後述する図6
に示すオフライン2ルーチン処理に移行する。
On the other hand, if NO in step (13), that is, if a value for controlling "data reception during off-line" is referred to in the memory 109A and the value is "NO"
If it is determined that the
Sets the printing apparatus 101 to the offline 2 state (1
6) controlling the interface 103 so as not to receive data from the host 102 (17);
The processing shifts to the off-line 2 routine processing shown in FIG.

【0064】なお、操作者がステップ(1)でオンライ
ンキーを押下して印刷装置101がオフラインになった
場合や、ステップ(2)で印刷装置101が印刷動作中
にジャム,紙無し,トナー切れ等のエラーが起こってい
ると判定されてオフラインになった場合にも、同様に制
御手段109はステップ(16)で印刷装置101をオ
フライン2の状態にし、ステップ(17)でインタフェ
ース103がホスト102からのデータを受信しないよ
うに制御する。
When the printing apparatus 101 goes offline by pressing the online key in step (1), or when the printing apparatus 101 is in a printing operation in step (2), a paper jam, paper empty, or toner exhaustion occurs. In the case where it is determined that an error such as an error has occurred and the printer goes offline, the control unit 109 similarly sets the printing apparatus 101 to the offline 2 state in step (16), and in step (17), the interface 103 sets the host 102 to the offline state. Is controlled so as not to receive data from.

【0065】これにより、ホスト102はオフライン移
行命令発行後は印刷装置101の制御を行う制御データ
を送信する。この際の制御データは、操作者が操作パネ
ル111を操作して行うようなことと同等のことができ
る制御命令の集まりであり、該制御命令によって排出,
両面/片面切り替え,給紙口選択,ユーティリティ機能
の実行,リセット操作,セットアップメニューの設定,
動作モードメニューの設定等を行うことができる。ここ
では、オフライン移行後ホスト102が印刷装置101
をリセットするためのリセット命令,「印刷部数」を
「2枚」に変更設定するためのセットアップメニュー設
定命令を順次送る場合を例として以下オフライン処理に
ついて説明する。
As a result, the host 102 transmits control data for controlling the printing apparatus 101 after issuing the offline shift command. The control data at this time is a group of control commands that can be equivalent to what the operator operates by operating the operation panel 111.
Double-sided / single-sided switching, paper source selection, execution of utility functions, reset operation, setup menu settings,
An operation mode menu can be set. In this case, after the offline transfer, the host 102
The offline processing will be described below by taking as an example a case in which a reset command for resetting the number of prints and a setup menu setting command for changing and setting the “number of copies” to “2 sheets” are sequentially transmitted.

【0066】図5は、図4に示した第1オフライン処理
ルーチンの詳細手順の一例を示すフローチャートであ
る。なお、(1)〜(10)は各ステップを示す。
FIG. 5 is a flowchart showing an example of a detailed procedure of the first offline processing routine shown in FIG. Note that (1) to (10) indicate each step.

【0067】第1オフライン処理が開始されると、操作
者がオンラインキー1を押下したかどうかを判定し
(1)、制御手段109に対してオンライン移行通知を
行う。そして、制御手段109はオンライン移行通知を
受けると印刷装置101をオンライン状態にし(9)、
切替手段110を制御してカレントの翻訳手段を印刷デ
ータ翻訳手段105にして(10)、オンラインに移行
する。
When the first offline processing is started, it is determined whether or not the operator has pressed the online key 1 (1), and an online shift notification is sent to the control means 109. Upon receiving the online transfer notification, the control unit 109 sets the printing apparatus 101 to the online state (9),
By controlling the switching means 110, the current translation means is changed to the print data translation means 105 (10), and the operation is shifted to online.

【0068】一方、ステップ(1)でNOと判定された
場合には、ホスト102からデータが送られてきたかど
うかを判定し(2)、NOならばステップ(1)へ戻
り、YESならば、オフライン中に受信する制御データ
を、オンライン中に受信する印刷データと同じように、
インタフェース103で受信し(3)、データを受信バ
ッファ104に蓄積していく(4)。
On the other hand, if NO is determined in step (1), it is determined whether data has been transmitted from the host 102 (2). If NO, the process returns to step (1). Control data received while offline is the same as print data received online.
The data is received by the interface 103 (3), and the data is accumulated in the reception buffer 104 (4).

【0069】次に、受信バッファ104内のデータはカ
レントの翻訳手段である制御データ翻訳手段108が命
令単位で1つずつ解析する(5)。
Next, the data in the receiving buffer 104 is analyzed one by one by the control data translating means 108, which is the current translating means, on an instruction basis (5).

【0070】次いで、受信した命令がオンライン移行命
令かどうかを判定し(6)、制御データ翻訳手段108
は、先ずリセット命令を解析するので、NOとなり、制
御手段109に対してリセット通知を行う。そして、制
御手段109はリセット通知を受けると、定められた手
順に従って印刷装置101内のリセットを行う。
Next, it is determined whether the received command is an online shift command (6), and the control data translating means 108
Since the reset command is analyzed first, the answer is NO, and the control unit 109 is notified of the reset. Upon receiving the reset notification, the control unit 109 resets the inside of the printing apparatus 101 according to a predetermined procedure.

【0071】次に、制御データ翻訳手段108は「印刷
部数」を「2枚」にするという内容のセットアップメニ
ュー設定命令を解析し、制御手段109に対してセット
アップメニュー設定通知を行う。制御手段109はセッ
トアップメニュー設定通知を受けると、制御手段109
内のメモリ109Aに記憶されているセットアップメニ
ューの内容を書き換える等の制御を行う(7)。ここで
は「印刷部数」が「2枚」に書き換えれられる。
Next, the control data translating means 108 analyzes a setup menu setting command of changing the “number of copies” to “2”, and notifies the control means 109 of the setup menu setting. When the control unit 109 receives the setup menu setting notification, the control unit 109
(7) such as rewriting the contents of the setup menu stored in the memory 109A. Here, the “number of prints” is rewritten to “2 sheets”.

【0072】なお、本実施形態では、ホスト102から
送られてくるオフライン移行命令によってオフライン1
の状態になった場合は、ステップ(1)で操作者がオン
ラインキー1を押すことによってオンラインにすること
もできるが、ここでは、ホスト102からオンライン移
行命令を送信することによって印刷装置101をオンラ
インに移行させるものとする。
In this embodiment, the offline 1 command is sent by the offline transfer command sent from the host 102.
In this case, the operator can go online by pressing the online key 1 in step (1), but here, the host 102 sends an online shift command to bring the printing apparatus 101 online. Shall be transferred to

【0073】このようにして第1のオフライン処理が終
了すると(8)、ホスト102は印刷データの送信を再
開する。その印刷データは、先ほどと同様に図4に示し
たステップ(4)〜(10)において、インタフェース
103で受信し、データを受信バッファ104に蓄積し
ていく。そして、受信バッファ104内のデータはカレ
ントの翻訳手段である印刷データ翻訳手段105が命令
単位で1つずつ解析し、印刷用紙に描画する描画データ
を作成していく。印刷データ翻訳手段105は1ページ
分の描画データが完成すると制御手段109内のメモリ
に記憶されている「印刷部数」の値を参照しその枚数分
だけ同じ描画データをエンジン部107に送る。
When the first offline processing is completed in this way (8), the host 102 resumes transmission of print data. The print data is received by the interface 103 and stored in the reception buffer 104 in steps (4) to (10) shown in FIG. Then, the data in the reception buffer 104 is analyzed one by one by the print data translating means 105, which is the current translating means, on a command basis, and drawing data to be drawn on the printing paper is created. When one page of drawing data is completed, the print data translating unit 105 refers to the value of “number of copies” stored in the memory of the control unit 109 and sends the same drawing data to the engine unit 107 by the number of copies.

【0074】この時点では「印刷部数」が「2枚」に変
更設定(上記第1のオフライン処理により設定されてい
る)されているので、1ページ分の描画データが2回エ
ンジン部107に送られることになる。エンジン部10
7は、印刷データ翻訳手段105から描画データが送ら
れてくると用紙カセット106から印刷用紙を取り込
み、印刷して出力する。この結果、エンジン部107で
は同じページが2枚ずつ印刷される。それから印刷デー
タ翻訳手段105は次のページ以降の処理を同様に行
う。
At this point, the “number of prints” has been changed to “two” (set by the first offline processing), so the drawing data for one page is sent to the engine unit 107 twice. Will be done. Engine part 10
7 receives the drawing data from the print data translating means 105, takes in the printing paper from the paper cassette 106, prints it, and outputs it. As a result, the engine unit 107 prints the same page two by two. Then, the print data translating means 105 similarly performs the processing for the subsequent pages.

【0075】図6は、図4に示した第2オフライン処理
ルーチンの詳細手順の一例を示すフローチャートであ
る。なお、(1)〜(4)は各ステップを示す。
FIG. 6 is a flowchart showing an example of a detailed procedure of the second offline processing routine shown in FIG. Note that (1) to (4) show each step.

【0076】本処理は、図4に示したステップ(1)で
操作者がオンラインキー1を押下した場合、あるいはス
テップ(2)でジャム,紙切れ等のエラーが発生したこ
とを検知した場合に開始され、操作者がエラー要因を取
り除きエラー状態を解除されたことを確認したら
(1)、操作パネル111のオンラインキー1を押下す
ると(2)、制御手段109は印刷装置101をオンラ
イン状態にし(3)、インタフェース103がホスト1
02からのデータを受信するように制御して(4)、処
理を終了する。
This process is started when the operator presses the online key 1 in step (1) shown in FIG. 4 or when it is detected in step (2) that an error such as a jam or a paper break has occurred. When the operator confirms that the cause of the error has been removed and the error state has been released (1), the user presses the online key 1 of the operation panel 111 (2), and the control unit 109 sets the printing apparatus 101 to the online state (3). ), The interface 103 is the host 1
Then, control is performed so as to receive the data from H.02 (4), and the process ends.

【0077】これにより、操作者がわざわざ印刷装置1
01のところまで行って操作パネル111を操作しなく
とも、ホスト側から制御データを送ることによってリセ
ット操作指示等を行うことができる。
Thus, the operator can bother the printing apparatus 1
It is possible to issue a reset operation instruction or the like by sending control data from the host side, without going to 01 and operating the operation panel 111.

【0078】〔第2実施形態〕上記第1実施形態では、
印刷データ翻訳手段が単数の場合について説明したが、
複数の印刷データ翻訳手段を備え、それらを切り替え可
能な印刷システムにも本発明を適用することができる。
以下、その実施形態について説明する。
[Second Embodiment] In the first embodiment,
Although the case where the print data translation means is single has been described,
The present invention can also be applied to a printing system that includes a plurality of print data translation units and can switch between them.
Hereinafter, the embodiment will be described.

【0079】図7は、本発明の第2実施形態を示す印刷
制御装置を適用可能な印刷システムの構成を説明するブ
ロック図である。
FIG. 7 is a block diagram illustrating the configuration of a printing system to which a print control device according to a second embodiment of the present invention can be applied.

【0080】図7において、501は印刷装置本体で、
オンライン中にホスト502から送られてきた印刷デー
タがプリンタ言語群中(プリンタ言語1〜プリンタ言語
n)のいずれのプリンタ言語に基づくデータであるか自
動的に判定し、該判定したプリンタ言語の翻訳手段で印
刷データを解析して印刷する機能を有する。
In FIG. 7, reference numeral 501 denotes a printing apparatus main body.
It is automatically determined whether the print data sent from the host 502 while online is based on any of the printer languages (printer language 1 to printer language n) in the printer language group, and the translation of the determined printer language is performed. Means for analyzing and printing the print data by means.

【0081】502はホストコンピュータ(ホスト)
で、オンライン中は印刷装置501に印刷データを送
り、オフライン中は印刷装置501の制御を行う制御デ
ータを送る。503は入力手段であるところのインタフ
ェースで、ホスト502からの送られてきたデータを受
信する。504は受信バッファで、インタフェース50
3で受信したデータを蓄積する。501−1〜505−
nは印刷データ翻訳手段(印刷データ翻訳手段1〜印刷
データ翻訳手段n)で、プリンタ言語1〜プリンタ言語
nの印刷用のデータ(以後、印刷データと呼ぶ)を解析
して印刷用紙に描画する描画データを作成する。
Reference numeral 502 denotes a host computer (host)
The print data is sent to the printing apparatus 501 during online, and the control data for controlling the printing apparatus 501 is sent during offline. Reference numeral 503 denotes an interface serving as input means for receiving data transmitted from the host 502. Reference numeral 504 denotes a reception buffer.
The data received in step 3 is stored. 501-1 to 505-
Reference numeral n denotes print data translating means (print data translating means 1 to print data translating means n), which analyzes print data (hereinafter referred to as print data) in printer languages 1 to n and renders the data on print paper. Create drawing data.

【0082】506は用紙カセットで、印刷用紙を蓄積
する。507はエンジン部で、印刷データ翻訳手段50
5で作成された描画データを印刷用紙に出力する。50
8は制御データ翻訳手段で、受信バッファ504に蓄積
されている印刷装置501を制御するためのデータ(以
後、制御データと呼ぶ)を解析してその内容を制御手段
509に通知する。509はCPU,RAM,ROMを
含む制御手段で、印刷装置501内の各デバイスを総括
的に制御を行う。
Reference numeral 506 denotes a paper cassette for storing printing paper. Reference numeral 507 denotes an engine unit, which is a print data translating unit 50.
The drawing data created in step 5 is output on printing paper. 50
Reference numeral 8 denotes a control data translation unit that analyzes data for controlling the printing apparatus 501 (hereinafter, referred to as control data) stored in the reception buffer 504 and notifies the control unit 509 of the contents. Reference numeral 509 denotes control means including a CPU, a RAM, and a ROM, which comprehensively controls each device in the printing apparatus 501.

【0083】510は切替手段で、受信バッファ504
のデータを処理するカレントの翻訳手段を切り替える。
511は操作パネルで、印刷装置501がオフライン中
に制御データを受信するかどうか設定することができる
設定手段として機能し、図2と同様のキー等が配設され
ている。512は判定手段で、受信バッファ504に蓄
積されている印刷データがプリンタ言語1〜nのどのプ
リンタ言語のデータであるか自動的に判定し、その判定
内容を制御手段509に通知する。
Reference numeral 510 denotes switching means, which is a receiving buffer 504.
Switch the current translation means that processes the data of.
An operation panel 511 functions as a setting unit that can set whether or not to receive control data while the printing apparatus 501 is off-line, and has the same keys and the like as those in FIG. Reference numeral 512 denotes a determination unit that automatically determines which of the printer languages 1 to n the print data stored in the reception buffer 504 is, and notifies the control unit 509 of the determination.

【0084】以下、図8〜図11に示すフローチャート
を参照しながら、本発明に係る印刷制御装置のデータ処
理動作について説明する。
Hereinafter, the data processing operation of the print control apparatus according to the present invention will be described with reference to the flowcharts shown in FIGS.

【0085】図8,図9は、本発明に係る印刷制御装置
の第2のデータ処理手順の一例を示すフローチャートで
ある。なお、(1)〜(22)は各ステップを示す。
FIGS. 8 and 9 are flowcharts showing an example of the second data processing procedure of the print control apparatus according to the present invention. In addition, (1) to (22) indicate each step.

【0086】まず、印刷装置501の操作者が操作パネ
ル511を操作し、オフライン中に制御データを受信で
きるように設定するものとする。この設定操作は以下の
通りである。
First, it is assumed that the operator of the printing apparatus 501 operates the operation panel 511 to set so that control data can be received while offline. This setting operation is as follows.

【0087】最初に、オンラインキー1が押下されたこ
とを検知したら(1)、印刷装置501をオフライン状
態にする。次に、セットアップキー(キー12)が押下
してセットアップメニューをディスプレイ6に表示さ
せ、キー(「>」キー)12やキー(「<」キー)10
を押下して該当のメニュー「オフライン中のデータ受
信」をディスプレイ6に表示させ、その値として「す
る」を選択しキー(「実行」キー)11を押下した後、
オンラインキー1を押下して印刷装置501をオンライ
ン状態に戻す。これでオフライン中に制御データを受信
できるように設定できる。なお、上記セットアップメニ
ュー上で設定された設定値は制御手段509内のメモリ
509Aに記憶されている。
First, when it is detected that the online key 1 has been pressed (1), the printing apparatus 501 is set to the offline state. Next, the setup key (key 12) is pressed to display the setup menu on the display 6, and the key (">" key) 12 or the key ("<" key) 10
To display the corresponding menu “Receive data during offline” on the display 6, select “Yes” as its value, and press the key (“Execute” key) 11.
Pressing the online key 1 returns the printing apparatus 501 to the online state. With this, it is possible to set so that control data can be received while offline. Note that the set values set on the setup menu are stored in the memory 509A in the control unit 509.

【0088】次いで、図示しない各種センサからの出力
に基づいてジャム,紙切れ等のエラーが発生しているか
どうかを判定して(2)、YESならばステップ(2
1)へ進む。
Next, it is determined whether or not an error such as a jam or a paper break has occurred based on outputs from various sensors (not shown) (2).
Proceed to 1).

【0089】一方、ステップ(2)でNOならば、ホス
ト502から印刷装置501にプリンタ言語2の印刷デ
ータが送られてきているかどうかを判定し(3)、NO
ならばステップ(1)へ戻り、YESならば印刷装置5
01ではそのデータをインタフェース503で受信し
(4)、インタフェース503はデータを受信すると、
データを受信した旨を制御手段509に通知し、そのデ
ータを受信バッファ504に蓄積していく(5)。
On the other hand, if NO in step (2), it is determined whether print data of printer language 2 has been sent from host 502 to printing apparatus 501 (3), and NO
If so, return to step (1); if YES, print device 5
01, the interface 503 receives the data (4). When the interface 503 receives the data,
The control means 509 is notified that the data has been received, and the data is accumulated in the reception buffer 504 (5).

【0090】なお、本実施形態において、ホスト502
から送られてくる一連の印刷データをジョブと称する。
印刷装置501がジョブを処理していない状態(非ジョ
ブ状態と称する)の時にホスト502から印刷データを
受信すると、その印刷データを自動的に解析し、どのプ
リンタ言語のデータかを判定してカレントの翻訳手段を
決定しジョブの実行状態(ジョブ実行状態と称する)に
移行する。ジョブ実行状態の間は一定時間内であればホ
スト502からデータが送られてこなくとも、カレント
の翻訳手段は変わらない。ジョブ実行状態の時にジョブ
終了命令を検出するか、またはホスト502からデータ
が送られてこず一定時間経過しジョブタイムアウトする
と非ジョブ状態に移行する。
In this embodiment, the host 502
A series of print data sent from is referred to as a job.
When print data is received from the host 502 in a state where the printing apparatus 501 is not processing a job (referred to as a non-job state), the print data is automatically analyzed, the printer language data is determined, and the current data is determined. Is determined, and the process shifts to a job execution state (referred to as a job execution state). During the job execution state, the current translation means does not change even if no data is sent from the host 502 within a certain time. If a job end instruction is detected in the job execution state, or if a certain time has elapsed without data being sent from the host 502 and the job times out, the state shifts to a non-job state.

【0091】そこで、制御手段509は、インタフェー
ス503からデータ受信通知を受けるとメモリ「処理中
のプリンタ言語」を以下のように参照する。
Therefore, upon receiving the data reception notification from the interface 503, the control means 509 refers to the memory "printer language being processed" as follows.

【0092】すなわち、ジョブ実行状態中のカレントの
翻訳手段は制御手段509内にあるメモリ509Aの
「処理中のプリンタ言語」を記憶するエリアに記憶され
ている内容(非ジョブ状態中はメモリ「処理中のプリン
タ言語」には「OFF」が書き込まれており、非ジョブ
状態中は、カレントの翻訳手段がどの印刷データ翻訳手
段にも繋がっていないニュートラルな状態になってお
り、この状態では受信バッファ504のデータは解析さ
れないようになっている)が「OFF」かどうかを制御
手段509が判定し(6)、NO、すなわち、その値と
していずれかのプリンタ言語が設定されていれば、ジョ
ブ実行状態であると判断し、既にカレントの翻訳手段は
決定しているため切替手段510−1,510−2を制
御せず現在繋がっている印刷データ翻訳手段505のま
まとして、ステップ(9)以降へ進む。
That is, the current translation means in the job execution state is the content stored in the area for storing the “printer language being processed” in the memory 509A in the control means 509 (the memory “processing language” in the non-job state). "OFF" is written in "Printer language inside", and during the non-job state, the current translator is in a neutral state that is not connected to any print data translator. The control means 509 determines whether or not the data of the printer 504 is not analyzed ("NO") (6). If NO, that is, if any printer language is set as the value, the job execution is executed. It is determined that the state is in the state, and the current translation means has already been determined, so that the switching means 510-1 and 510-2 are not connected and are currently connected. As the remains of the print data translation means 505, the process proceeds to step (9) or later.

【0093】一方、ステップ(6)で、YES、すなわ
ち、「処理中のプリンタ言語」の値として「OFF」が
設定されていれば、非ジョブ実行状態であることを知
り、判定手段512に対して受信したデータがどのプリ
ンタ言語のデータであるか判定する指示を出す。これを
受けて、判定手段512は、受信バッファ504内のデ
ータを参照しどのプリンタ言語のデータであるか判定
し、そのプリンタ言語を制御手段509に通知する。制
御手段509は判定手段512から判定通知を受ける
と、切替手段510−1,510−2を制御してカレン
トの翻訳手段をそのプリンタ言語の印刷データ翻訳手段
505に切り替え(7)、メモリ509A内の「処理中
のプリンタ言語」にそのプリンタ言語の値を書き込む
(8)。ここでは、非ジョブ状態中にプリンタ言語2の
データを受信し、カレントの翻訳手段が印刷データ翻訳
手段(印刷データ翻訳手段2)505−2に切り替えら
れ、メモリ509A内の「処理中のプリンタ言語」にプ
リンタ言語2の値が書き込まれたものとする。
On the other hand, if YES in step (6), that is, if “OFF” is set as the value of “printer language being processed”, it is known that the job is in a non-job execution state, and An instruction is issued to determine which printer language the received data is. In response to this, the determination unit 512 determines which printer language is the data by referring to the data in the reception buffer 504, and notifies the controller 509 of the printer language. When the control unit 509 receives the determination notification from the determination unit 512, it controls the switching units 510-1 and 510-2 to switch the current translation unit to the print data translation unit 505 of the printer language (7). Then, the value of the printer language is written in the "printer language under processing" (8). Here, during the non-job state, data in the printer language 2 is received, the current translation unit is switched to the print data translation unit (print data translation unit 2) 505-2, and the “printer language being processed” in the memory 509A is read. "Is written in printer language 2.

【0094】次に、カレントの翻訳手段が印刷データ翻
訳手段505−2に決定すると、印刷データ翻訳手段5
05−2は受信バッファ504内のデータを命令単位で
1つずつ解析し(9)、該命令がオフライン移行命令か
どうかを判定し(10)、YESならばステップ(1
8)以降へ進み、NOならば印刷用紙に描画する描画デ
ータを作成していく(11)。
Next, when the current translation means is determined by the print data translation means 505-2, the print data translation means 55-2
05-2 analyzes the data in the reception buffer 504 one by one for each instruction (9), determines whether the instruction is an offline shift instruction (10), and if YES, proceeds to step (1).
8) After that, if NO, the drawing data to be drawn on the printing paper is created (11).

【0095】そして、印刷データ翻訳手段505−2が
1ページ分の描画データを作成したら(12)、制御手
段509内のメモリ509Aに記憶されているセットア
ップメニューの内容「拡大/縮小」の値を参照しその拡
大/縮小率にその描画データを拡大/縮小してエンジン
部507に送る(13)。
When the print data translating means 505-2 creates one page of drawing data (12), the contents of the setup menu "enlargement / reduction" stored in the memory 509A in the control means 509 are changed. The drawing data is enlarged / reduced with reference to the enlargement / reduction ratio and sent to the engine unit 507 (13).

【0096】具体的には、「拡大/縮小」は操作パネル
511からセットアップメニューの設定を行うことによ
って変えることができる。例えば「拡大/縮小」は「し
ない」,「70%」,「141%」の3つのうちのいず
れかの値に設定することが可能であり、「しない」に設
定した場合は内部で作ったページをそのままの大きさの
用紙(100%)に出力する。
Specifically, “enlargement / reduction” can be changed by setting a setup menu from the operation panel 511. For example, "enlarge / reduce" can be set to any one of three values of "no", "70%", and "141%". When "no" is set, it is created internally. Output the page on the same size paper (100%).

【0097】即ち、A4サイズで作ったページはA4サ
イズ用紙に、A3サイズで作ったページはA3用紙に出
力する。また、「70%」に設定した場合は内部で作っ
たページを半分(面積比)の大きさで出力する。即ち、
A3サイズで作ったページはA4用紙に、B4サイズで
作ったページはB5用紙に出力する。
That is, pages made in A4 size are output on A4 size paper, and pages made in A3 size are output on A3 size paper. When "70%" is set, an internally created page is output in half (area ratio). That is,
Pages created in A3 size are output on A4 paper, and pages created in B4 size are output on B5 paper.

【0098】一方、「141%」に設定した場合は内部
で作ったページを2倍(面積比)の大きさで出力する。
即ち、A4サイズで作ったページはA3用紙に、B5サ
イズで作ったページはB4用紙に出力する。この時点で
は、「拡大/縮小」が「しない」に設定されているもの
とする。
On the other hand, when "141%" is set, the internally created page is output at twice the size (area ratio).
That is, pages created in A4 size are output on A3 paper, and pages created in B5 size are output on B4 paper. At this point, it is assumed that “enlarge / reduce” is set to “no”.

【0099】これを受けて印刷データ翻訳手段505−
2は1ページ分の描画データをエンジン部507に送る
際に、制御手段509内のメモリ509Aに記憶されて
いる「拡大/縮小」の値を参照しその大きさで描画デー
タをエンジン部507に送り出力させる。
In response to this, the print data translating means 505-
2 sends the drawing data of one page to the engine unit 507 by referring to the value of “enlargement / reduction” stored in the memory 509A in the control unit 509 when sending the drawing data of one page to the engine unit 507. Send and output.

【0100】次に、エンジン部507は、印刷データ翻
訳手段505−2から描画データが送られてくると用紙
カセット506から印刷用紙を取り込み、印刷して出力
する(14)。それから印刷データ翻訳手段505−2
は、受信バッファ504にデータがあるかどうかを判定
し(15)、データがある間は、ステップ(9)へ戻
り、次のページ以降の処理を同様に行う。
Next, when the drawing data is sent from the print data translating means 505-2, the engine unit 507 takes in the printing paper from the paper cassette 506, prints it, and outputs it (14). Then, the print data translating means 505-2
Determines whether there is data in the reception buffer 504 (15), and while there is data, returns to step (9) and performs the same processing for the next page and thereafter.

【0101】次に、印刷データ翻訳手段505−2は、
ジョブ実行状態中にジョブ終了命令を検出するか、また
はホスト502からデータが送られてこず一定時間経過
しジョブタイムアウトすると(16)、非ジョブ状態に
移行するため、制御手段509にジョブ終了通知を行
う。そして、制御手段509は、ジョブ終了通知を受け
ると、メモリ509A内の「処理中のプリンタ言語」に
「OFF」を書き込み(17)、切替手段510−1,
510−2を制御してカレントの翻訳手段がどの印刷デ
ータ翻訳手段にも繋がっていないニュートラルな状態
(非ジョブ状態)にして、ステップ(1)へ戻る。
Next, the print data translating means 505-2
If a job end command is detected during the job execution state, or if the job times out after a predetermined time has passed without data being sent from the host 502 (16), a job end notification is sent to the control means 509 to shift to the non-job state. Do. When the control unit 509 receives the job end notification, the control unit 509 writes “OFF” in the “printer language being processed” in the memory 509A (17), and the switching unit 510-1,
By controlling 510-2, the current translation unit is set in a neutral state (non-job state) not connected to any print data translation unit, and the process returns to step (1).

【0102】以下、ホスト502は、最初の4ページの
印刷データは「拡大/縮小」を「しない」で出力し、そ
れ以降のページは「拡大/縮小」を「70%」で出力す
るために最初の4ページの印刷データの送信が終ったと
ころで、オフライン移行命令を送った場合の処理につい
て図9のステップ(10)以降の処理について説明す
る。なお、「拡大/縮小」は操作者が操作パネル511
からセットアップメニューの設定を行うことによって変
更することもできるが、ここではホスト502から制御
データを送って「拡大/縮小」を変更するものとする。
Hereinafter, the host 502 outputs the print data of the first four pages with “enlarge / reduce” as “no”, and the subsequent pages output “enlarge / reduce” with “70%”. A description will be given of the processing after the transmission of the first four pages of print data is completed, and the processing after step (10) in FIG. Note that “enlarge / reduce” is performed by the operator using the operation panel 511.
The setting can be changed by setting the setup menu from the menu. However, here, it is assumed that the control data is sent from the host 502 to change the “enlargement / reduction”.

【0103】ステップ(10)で、印刷データ翻訳手段
505−2が受信バッファ504のデータを解析してい
る最中にオフライン移行命令を検出すると、すなわち、
YESと判定されると、制御手段509に対してオフラ
イン移行通知を行う。制御手段509は印刷データ翻訳
手段505−2からオフライン移行通知を受けると、メ
モリ509A内の「オフライン中のデータ受信」の内容
を参照し、その値が「する」に設定されているかどうか
を判定し(18)、NOならばステップ(21)以降へ
進み、YESならば印刷装置501を第1のオフライン
(オフライン1)の状態に設定し(19)、切替手段5
10−1,510−2を制御してカレントの翻訳手段を
制御データ翻訳手段508に切り替え(20)、後述す
る図10に示す第1のオフライン処理に移行する。
In step (10), when the print data translating means 505-2 detects an off-line shift command while analyzing the data in the receiving buffer 504,
When the determination is YES, the control unit 509 is notified of the offline shift. When the control unit 509 receives the offline shift notification from the print data translating unit 505-2, the control unit 509 refers to the content of “data reception during offline” in the memory 509A and determines whether the value is set to “Yes”. (18), if NO, proceed to the step (21) and thereafter. If YES, the printing apparatus 501 is set to the first offline (offline 1) state (19), and the switching means 5
10-1 and 510-2 are controlled to switch the current translation unit to the control data translation unit 508 (20), and the process proceeds to a first offline process shown in FIG.

【0104】一方、ステップ(18)で、もし、メモリ
509A内の「オフライン中のデータ受信」の内容を参
照し、その値が「しない」に設定されていると判定した
場合は、制御手段509は印刷装置501を第2のオフ
ライン(オフライン2)の状態にし(21)、インタフ
ェース503がホスト502からのデータを受信しない
ように制御して(22)、後述する図11に示す第2の
オフライン処理に移行する。
On the other hand, in step (18), if it is determined that the value of “data reception during offline” in memory 509A is set to “no”, control means 509 is set. Sets the printing apparatus 501 to a second offline (offline 2) state (21), controls the interface 503 not to receive data from the host 502 (22), and sets a second offline state shown in FIG. Move on to processing.

【0105】なお、ステップ(1)において、操作者が
オンラインキー1を押下して印刷装置501がオフライ
ンになった場合や、ステップ(2)において、印刷装置
501が印刷動作中にジャム,紙無し,トナー切れ等の
エラーが起こっていることを検知してオフラインになっ
た場合にも、同様に制御手段509は印刷装置501を
オフライン2の状態にし(21)、インタフェース50
3がホスト502からのデータを受信しないように制御
する(22)。
In step (1), when the operator presses the online key 1 and the printing apparatus 501 goes offline, or in step (2), the printing apparatus 501 does not have a jam or paper during printing operation. Similarly, when the control unit 509 detects that an error such as running out of toner has occurred and goes offline, the control unit 509 sets the printing apparatus 501 to the offline 2 state (21), and sets the interface 50
3 does not receive data from the host 502 (22).

【0106】図10は、図8に示した第1のオフライン
処理ルーチンの詳細手順の一例を示すフローチャートで
ある。なお、(1)〜(10)は各ステップを示す。な
お、図8に示したステップ(19)により第1のオフラ
イン状態に移行すると、ホスト502はオフライン移行
命令発行後は印刷装置501の制御を行う制御データを
送信する。制御データは、操作者が操作パネル511を
操作して行うようなことと同等のことができる制御命令
の集まりである。制御命令によって排出,両面/片面切
り替え,給紙口選択,ユーティリティ機能の実行,リセ
ット操作,セットアップメニューの設定,動作モードメ
ニューの設定等を行うことができる。従って、操作者が
わざわざ印刷装置501のところまで行って操作パネル
511を操作しなくともホスト側から制御データを送る
ことによって前記の操作を行うことができるようになっ
ている。
FIG. 10 is a flowchart showing an example of the detailed procedure of the first offline processing routine shown in FIG. Note that (1) to (10) indicate each step. Note that, when the host 502 shifts to the first offline state in step (19) shown in FIG. 8, after issuing the offline shift command, the host 502 transmits control data for controlling the printing apparatus 501. The control data is a group of control commands that can be equivalent to what the operator operates by operating the operation panel 511. By the control command, discharge, double-sided / single-sided switching, paper feed port selection, execution of a utility function, reset operation, setup menu setting, operation mode menu setting, and the like can be performed. Therefore, the above operation can be performed by sending control data from the host side without the operator having to go to the printing apparatus 501 and operate the operation panel 511.

【0107】以下の説明ではオフライン移行後ホスト5
02が印刷装置501をリセットするためのリセット命
令と、「拡大/縮小」を「70%」に設定するためのセ
ットアップメニュー設定命令を送ってくる場合を例とし
て説明する。
In the following description, the host 5 after the offline migration
A case will be described as an example where 02 sends a reset command for resetting the printing apparatus 501 and a setup menu setting command for setting “enlargement / reduction” to “70%”.

【0108】先ず、操作者がオンラインキー1を押下さ
れたかどうかを判定し(1)、YESならばステップ
(9)へ進み、印刷装置501をオンライン状態に設定
し(9)、カレントの翻訳手段を印刷データ翻訳手段5
05に切り替え(10)、オンラインへ移行させる。
First, it is determined whether or not the operator has pressed the online key 1 (1). If YES, the process proceeds to step (9), where the printing apparatus 501 is set to the online state (9), and the current translation unit is set. Print data translation means 5
05 (10) to go online.

【0109】一方、ステップ(1)でホスト502から
データが送られてきているかどうかを判定し(2)、N
Oならばステップ(1)へ戻り、YESならば、オンラ
イン中に受信する印刷データと同じように、オフライン
1の状態中に受信する制御データをインタフェース50
3で受信し(3)、データを受信バッファ504に蓄積
していく(4)。
On the other hand, in step (1), it is determined whether or not data has been sent from the host 502 (2).
If O, control returns to step (1). If YES, control data received during the offline 1 state is transmitted to the interface 50 in the same manner as print data received during the online state.
3 (3), and accumulates data in the reception buffer 504 (4).

【0110】次に、受信バッファ504内のデータはカ
レントの翻訳手段である制御データ翻訳手段508が命
令単位で1つずつ解析し(5)、命令がオンライン移行
命令かどうかを判定し(6)、NOならば制御データを
解析して、その命令に従って印刷装置501の制御を行
い(7)、受信バッファ504にデータがなくなるまで
ステップ(6)〜(8)を繰り返す。
Next, the data in the reception buffer 504 is analyzed one by one by the control data translating means 508 as the current translating means (5), and it is determined whether or not the instruction is an online shift instruction (6). If NO, the control data is analyzed, the printing apparatus 501 is controlled according to the instruction (7), and steps (6) to (8) are repeated until there is no more data in the reception buffer 504.

【0111】図11は、図8に示した第2のオフライン
処理ルーチンの詳細手順の一例を示すフローチャートで
ある。なお、(1)〜(4)は各ステップを示す。
FIG. 11 is a flowchart showing an example of a detailed procedure of the second off-line processing routine shown in FIG. Note that (1) to (4) show each step.

【0112】オフライン2の状態の時には操作者がエラ
ー要因を取り除きエラー状態を解除し(1)、操作パネ
ル511のオンラインキー1を押下すると(2)、制御
手段509は印刷装置501をオンライン状態にし
(3)、インタフェース503がホスト502からのデ
ータを受信するように制御する(4)。ここでは、メモ
リ509Aの「オフライン中のデータ受信」を参照する
と「する」に設定されており、オンライン1の状態に切
り替わったものとする。
In the offline 2 state, the operator removes the error factor and releases the error state (1), and presses the online key 1 on the operation panel 511 (2). (3) Control so that the interface 503 receives data from the host 502 (4). Here, it is assumed that “Yes” is set when “Receiving data during offline” in the memory 509A is referred to, and the state is switched to Online 1.

【0113】これにより、制御データ翻訳手段508
が、まずリセット命令を解析し制御手段509に対して
リセット通知を行う。制御手段509はリセット通知を
受けると、定められた手順に従って印刷装置501内の
リセットを行う。次に、制御データ翻訳手段508は
「拡大/縮小」を「70%」にするという内容のセット
アップメニュー設定命令を解析し、制御手段509に対
してセットアップメニュー設定通知を行う。制御手段5
09はセットアップメニュー設定通知を受けると、制御
手段509内のメモリ509Aに記憶されているセット
アップメニューの内容を書き換える。
As a result, the control data translating means 508
However, the control unit 509 first analyzes the reset command and notifies the control unit 509 of the reset. Upon receiving the reset notification, the control unit 509 resets the inside of the printing apparatus 501 according to a predetermined procedure. Next, the control data translating means 508 analyzes a setup menu setting command of "enlargement / reduction" of "70%" and notifies the control means 509 of a setup menu setting notification. Control means 5
09 receives the setup menu setting notification, and rewrites the contents of the setup menu stored in the memory 509 </ b> A in the control unit 509.

【0114】ここでは「拡大/縮小」が「70%」に書
き換えられる。ホスト502から送られてくるオフライ
ン移行命令によってオフライン1の状態になった場合
は、操作者がオンラインキー1を押すことによってオン
ラインにすることもできるが、ここでは、ホスト502
からオンライン移行命令を送信することによって印刷装
置501をオンラインに移行させるものとする。
Here, “enlargement / reduction” is rewritten to “70%”. When the offline state is entered by the offline shift command sent from the host 502, the operator can press the online key 1 to go online, but here, the host 502
, The printing apparatus 501 is shifted to online by transmitting an online shift command.

【0115】一方、上記図10に示したステップ(6)
で、制御データ翻訳手段508はオンライン移行命令を
解析すると、制御手段509に対してオンライン移行通
知を行う。制御手段509はオンライン移行通知を受け
ると印刷装置501をオンライン状態にし、メモリ50
9Aの「処理中のプリンタ言語」の値を参照し、その値
がプリンタ言語2であるため切替手段510−1,51
0−2を制御してカレントの翻訳手段をそのプリンタ言
語2の印刷データ翻訳手段505−2に切り替え、オン
ライン状態に移行し、図8のステップ(3)から、ホス
ト502は印刷データの送信を再開する。
On the other hand, step (6) shown in FIG.
When the control data translating means 508 analyzes the online shift command, it notifies the control means 509 of the online shift. Upon receiving the online transfer notification, the control unit 509 sets the printing apparatus 501 to an online state, and
9A, the value of the “printer language being processed” is referred to, and since the value is the printer language 2, the switching units 510-1 and 51
0-2, the current translation means is switched to the print data translation means 505-2 of the printer language 2 and the state is shifted to the online state. From step (3) in FIG. 8, the host 502 transmits the print data. To resume.

【0116】具体的に上記印刷データは、先ほどと同様
にインタフェース503で受信し、データを受信バッフ
ァ504に蓄積していく。受信バッファ504内のデー
タはカレントの翻訳手段である印刷データ翻訳手段50
5−2が命令単位で1つずつ解析し、印刷用紙に描画す
る描画データを作成していく。印刷データ翻訳手段50
5−2は1ページ分の描画データが完成すると制御手段
509内のメモリ509Aに記憶されている「拡大/縮
小」の値を参照し描画データをその大きさに拡大/縮小
してエンジン部507に送る。
Specifically, the print data is received by the interface 503 in the same manner as described above, and the data is accumulated in the reception buffer 504. The data in the receiving buffer 504 is the print data translating means 50 which is the current translating means.
Step 5-2 analyzes each command one by one and creates drawing data to be drawn on printing paper. Print data translation means 50
When the drawing data of one page is completed, the engine unit 507 enlarges / reduces the drawing data to the size by referring to the value of “enlarge / reduce” stored in the memory 509A in the control unit 509. Send to

【0117】この時点では「拡大/縮小」が「70%」
に変更設定されているので描画データが半分(面積比)
の大きさに縮小されてエンジン部507に送られること
になる。エンジン部507は、印刷データ翻訳手段50
5−2から描画データが送られてくると、用紙カセット
506から印刷用紙を取り込み、印刷して出力する。そ
れから、印刷データ翻訳手段505−2は、受信バッフ
ァ504にデータがある間は次のページ以降の処理を同
様に行う。
At this point, “enlargement / reduction” is changed to “70%”.
Is set to change to half the drawing data (area ratio)
And sent to the engine unit 507. The engine unit 507 includes the print data translating unit 50
When the drawing data is sent from 5-2, the printing paper is taken in from the paper cassette 506, printed, and output. Then, the print data translating means 505-2 similarly performs the processing for the next page and thereafter while the data is in the reception buffer 504.

【0118】そして、印刷データ翻訳手段505−2
は、ジョブ実行状態中にジョブ終了命令を検出するか、
またはホスト502からデータが送られてこず一定時間
経過しジョブタイムアウトすると、非ジョブ状態に移行
するため、制御手段509にジョブ終了通知を行う。制
御手段509は、ジョブ終了通知を受けると、メモリ5
09A中の「処理中のプリンタ言語」に対して「OF
F」を書き込み、切替手段510−1,510−2を制
御してカレントの翻訳手段がどの印刷データ翻訳手段に
も繋がっていないニュートラルな状態(非ジョブ状態)
にする。
Then, the print data translating means 505-2
Detects a job end command during the job execution state,
Alternatively, if the job times out after a certain period of time has elapsed without data being sent from the host 502, the control unit 509 is notified of a job end to shift to a non-job state. Upon receiving the job end notification, the control unit 509
“OF Printer Language” in 09A
F "is written, and the switching means 510-1 and 510-2 are controlled so that the current translation means is not connected to any print data translation means in a neutral state (non-job state).
To

【0119】〔第3実施形態〕上記各実施形態では、印
刷データと制御データを蓄える受信バッファが単数の場
合について説明したが、それぞれのデータを個別に蓄え
る受信バッファを複数備える印刷システムにも本発明を
適用することができる。以下、その実施形態について説
明する。
[Third Embodiment] In each of the above embodiments, a case has been described in which a single reception buffer stores print data and control data. However, the present invention is also applicable to a printing system having a plurality of reception buffers for individually storing respective data. The invention can be applied. Hereinafter, the embodiment will be described.

【0120】図12は、本発明の第3実施形態を示す印
刷制御装置を適用可能な印刷システムの構成を説明する
ブロック図である。
FIG. 12 is a block diagram illustrating the configuration of a printing system to which a printing control apparatus according to the third embodiment of the present invention can be applied.

【0121】図12において、701は印刷装置本体、
702はホストコンピュータ(ホスト)で、オンライン
中は印刷装置701に印刷データを送り、オフライン中
は印刷装置701の制御を行う制御データを送る。70
3は入力手段であるところのインタフェースで、ホスト
702からの送られてきたデータを受信する。704−
1は受信バッファ(受信バッファ1)で、印刷装置70
1がオンライン中にインタフェース703で受信したデ
ータを蓄積する。
In FIG. 12, reference numeral 701 denotes a printing apparatus main body;
Reference numeral 702 denotes a host computer (host) which sends print data to the printing apparatus 701 during online operation, and sends control data for controlling the printing apparatus 701 during offline operation. 70
Reference numeral 3 denotes an interface serving as an input unit, which receives data transmitted from the host 702. 704-
Reference numeral 1 denotes a reception buffer (reception buffer 1),
1 stores data received by the interface 703 while online.

【0122】704−2は受信バッファ(受信バッファ
2)で、印刷装置701がオフライン中にインタフェー
ス703で受信したデータを蓄積する。705は印刷デ
ータ翻訳手段で、受信バッファ704−1に蓄積されて
いる印刷用のデータ(以後、印刷データと呼ぶ)を解析
して印刷用紙に描画する描画データを作成する。706
は用紙カセットで、印刷用紙を蓄積する。707はエン
ジン部で、印刷データ翻訳手段705で作成された描画
データを印刷用紙に出力する。
Reference numeral 704-2 denotes a reception buffer (reception buffer 2) for storing data received by the interface 703 while the printing apparatus 701 is offline. Reference numeral 705 denotes a print data translation unit that analyzes print data (hereinafter, referred to as print data) stored in the reception buffer 704-1 to create drawing data to be drawn on a print sheet. 706
Is a paper cassette for storing printing paper. Reference numeral 707 denotes an engine unit that outputs the drawing data created by the print data translating unit 705 to print paper.

【0123】708は制御データ翻訳手段で、受信バッ
ファ704−2に蓄積されている印刷装置701を制御
するためのデータ(以後、制御データと呼ぶ)を解析し
てその内容を制御手段709に通知する。709はCP
U,RAM,ROMを備える制御手段で、印刷装置70
1内の制御を行う。710は切替手段で、制御手段70
9からの指示に基づいてインタフェース703で受信し
たデータを蓄積する受信バッファを受信バッファ704
−1と受信バッファ704−2のどちらかに切り替え
る。711は設定手段であるところの操作パネルで、印
刷装置701がオフライン中に制御データを受信するか
どうか設定する。なお、操作パネル711は、図2に示
すような外観となっており、それぞれのキー及びランプ
は図2に記載するような機能を有する。
Reference numeral 708 denotes a control data translating means for analyzing data (hereinafter, referred to as control data) for controlling the printing apparatus 701 stored in the reception buffer 704-2, and notifying the control means 709 of the contents. I do. 709 is a CP
U, RAM, ROM
1 is controlled. Reference numeral 710 denotes a switching unit,
9, a receiving buffer for storing the data received by the interface 703 based on the instruction from the receiving buffer 704.
-1 and switch to the receiving buffer 704-2. An operation panel 711 is a setting unit that sets whether the printing apparatus 701 receives control data while the printer is off-line. The operation panel 711 has the appearance as shown in FIG. 2, and each key and lamp has a function as described in FIG.

【0124】また、オンライン中はオンラインキー以外
のキーを操作することができない。従って、排出,両面
/片面切り替え,給紙口選択、ユーティリティ機能の実
行,リセット操作,セットアップメニューの設定,動作
モードメニューの設定等はオフライン中しか行うことが
できない。このように印刷装置701にはオフライン中
しか行うことのできない操作がたくさんある。
Further, during online operation, no keys other than the online key can be operated. Accordingly, discharge, double-sided / single-sided switching, paper feed port selection, execution of a utility function, resetting operation, setting of a setup menu, setting of an operation mode menu, and the like can be performed only during offline. As described above, the printing apparatus 701 has many operations that can be performed only while the printer is offline.

【0125】まず、印刷装置701の操作者が操作パネ
ル711を操作し、オフライン中に制御データを受信で
きるように以下のように設定するものとする。
First, it is assumed that the operator of the printing apparatus 701 operates the operation panel 711 to make the following settings so that control data can be received while offline.

【0126】最初にオンラインキー1を押下し印刷装置
701をオフライン状態にする。次にセットアップメニ
ューキー(キー12)を押下してセットアップメニュー
を表示させ、キー(「>」キー)12やキー(「<」キ
ー)10を押下し該当のメニュー「オフライン中のデー
タ受信」をディスプレイ6に表示させ、その値として
「する」を選択し「実行」キーを押下して設定した後、
オンラインキー1を押下して印刷装置701をオンライ
ン状態に戻す。これでオフライン中に制御データを受信
できるように設定できる。セットアップメニューの設定
値は制御手段709内のメモリ709Aに記憶される。
First, the user presses the online key 1 to put the printing apparatus 701 in an offline state. Next, the setup menu key (key 12) is pressed to display the setup menu, and the key (">" key) 12 or the key ("<" key) 10 is pressed to display the corresponding menu "Receive data during offline". After displaying it on the display 6 and selecting "Yes" as its value and pressing the "Execute" key to set it,
The user presses the online key 1 to return the printing device 701 to the online state. With this, it is possible to set so that control data can be received while offline. The set values of the setup menu are stored in the memory 709A in the control unit 709.

【0127】図13は、図12に示した印刷システムの
データ通信状態を説明する図であり、図12と同一のも
のには同一の符号を付してある。
FIG. 13 is a diagram for explaining the data communication state of the printing system shown in FIG. 12, and the same components as those in FIG. 12 are denoted by the same reference numerals.

【0128】以下、図14〜図18に示すフローチャー
トを参照しながら、本発明に係る印刷制御装置のデータ
処理動作について説明する。
Hereinafter, the data processing operation of the print control apparatus according to the present invention will be described with reference to the flowcharts shown in FIGS.

【0129】図14,図15は、本発明に係る印刷制御
装置の第3のデータ処理手順の一例を示すフローチャー
トである。なお、(1)〜(17)は各ステップを示
す。
FIGS. 14 and 15 are flowcharts showing an example of the third data processing procedure of the print control apparatus according to the present invention. Note that (1) to (17) indicate each step.

【0130】まず、印刷装置701の操作者が操作パネ
ル711を操作し、オフライン中に制御データを受信で
きるように設定するものとする。この設定操作は以下の
通りである。
First, it is assumed that the operator of the printing apparatus 701 operates the operation panel 711 to make settings so that control data can be received while offline. This setting operation is as follows.

【0131】最初に、オンラインキー1が押下されたか
どうかを判定し(1)、YESならばステップ(16)
に進み、印刷装置701を第2のオフライン(オフライ
ン2)状態にする。そして、入力手段がホスト702か
らのデータを受信しないように制御する。
First, it is determined whether the online key 1 has been pressed (1), and if YES, the step (16) is performed.
To set the printing device 701 in the second offline (offline 2) state. Then, control is performed so that the input unit does not receive data from the host 702.

【0132】一方、ステップ(1)でNOと判定された
場合には、各種センサからの出力に基づいてジャム,紙
切れ等のエラーが発生しているかどうかを判定し
(2)、YESならばステップ(16)以降へ進み、N
Oならば、次に、ホスト702から印刷装置701に印
刷データが送られているかどうかを判定し(3)、NO
ならばステップ(1)へ戻り、YESならば、該入力さ
れるデータをインタフェース703を介して受信し
(4)、該受信したデータをカレントの受信バッファで
ある受信バッファ704−1に蓄積していく(5)。カ
レントの受信バッファは、制御手段709の制御によっ
て受信バッファ704−1か受信バッファ704−2の
どちらかに決まり、制御手段709はインタフェース7
03で受信したデータがカレントの受信バッファに蓄積
されるように切替手段710を切り替える。受信バッフ
ァ704−1内のデータはカレントの翻訳手段である印
刷データ翻訳手段705で解析される。カレントの翻訳
手段は、制御手段709の制御によって印刷データ翻訳
手段705か制御データ翻訳手段708のどちらかに決
まり、その翻訳手段が現在駆動する翻訳手段となる。印
刷データ翻訳手段705は受信バッファ704−1内の
データを命令単位で1つずつ解析する(6)。
On the other hand, if NO is determined in the step (1), it is determined whether or not an error such as a jam or a paper break has occurred based on outputs from various sensors (2). Proceed to (16) and after, N
If O, then it is determined whether or not print data has been sent from the host 702 to the printing device 701 (3), NO
If so, the process returns to step (1). If YES, the input data is received via the interface 703 (4), and the received data is stored in the reception buffer 704-1 which is the current reception buffer. Go (5). The current reception buffer is determined to be either the reception buffer 704-1 or the reception buffer 704-2 by the control of the control unit 709, and the control unit 709
The switching means 710 is switched so that the data received at 03 is accumulated in the current reception buffer. The data in the receiving buffer 704-1 is analyzed by the print data translating means 705, which is the current translating means. The current translator is determined as either the print data translator 705 or the control data translator 708 under the control of the controller 709, and the translator becomes the currently driven translator. The print data translating unit 705 analyzes the data in the reception buffer 704-1 one by one for each instruction (6).

【0133】次に、命令がオフライン移行命令かどうか
を判定して(7)、NOならば印刷用紙に描画する描画
データを作成していく(8)。そして、印刷データ翻訳
手段705は1ページ分の描画データが作成できたかど
うかを判定して(9)、YESならば制御手段709内
のメモリ709Aに記憶されている印刷開始位置を制御
するための「縦補正」と「横補正」の値を参照しその補
正量だけ描画データをずらしてエンジン部707に送る
(10)。
Next, it is determined whether or not the command is an off-line transfer command (7). If NO, drawing data to be drawn on printing paper is created (8). Then, the print data translating means 705 determines whether or not one page of drawing data has been created (9). If YES, the print data translating means 705 controls the print start position stored in the memory 709A in the control means 709. The drawing data is shifted by the correction amount with reference to the values of “vertical correction” and “horizontal correction” and sent to the engine unit 707 (10).

【0134】なお、「縦補正」及び「横補正」は操作パ
ネル711からセットアップメニューの設定を行うこと
によって変更することができ、例えば「縦補正」及び
「横補正」は「−50mm」〜「+50mm」の間で1
mm単位で設定を行うことが可能である。「縦補正」は
用紙の長手方向に対して描画データをずらす量を指定す
る。マイナスの値が指定された場合には描画データを上
方向にずらし、プラスの値が指定された場合には描画デ
ータを下方向にずらす。
Note that “vertical correction” and “horizontal correction” can be changed by setting a setup menu from the operation panel 711. For example, “vertical correction” and “horizontal correction” are “−50 mm” to “−50 mm”. + 50mm "
It is possible to set in mm units. “Vertical correction” specifies the amount by which the drawing data is shifted in the longitudinal direction of the sheet. If a negative value is specified, the drawing data is shifted upward, and if a positive value is specified, the drawing data is shifted downward.

【0135】一方、「横補正」は用紙の短長手方向に対
して描画データをずらす量を指定する。マイナスの値が
指定された場合には描画データを左方向にずらし、プラ
スの値が指定された場合には描画データを右方向にずら
す。この時点では描画データを全くずらさずに出力する
ために「縦補正」,「横補正」共に「0mm」に設定さ
れているものとする。
On the other hand, the "horizontal correction" designates an amount of shifting the drawing data with respect to the short and long directions of the sheet. When a negative value is specified, the drawing data is shifted leftward, and when a positive value is specified, the drawing data is shifted rightward. At this point, it is assumed that both “vertical correction” and “horizontal correction” are set to “0 mm” in order to output the drawing data without any shift.

【0136】印刷データ翻訳手段705は、1ページ分
の描画データをエンジン部707に送る際に、制御手段
709内のメモリ709Aに記憶されている「縦補
正」,「横補正」の値を参照し、その値だけ描画データ
をずらしてエンジン部707に送る。
The print data translating means 705 refers to the values of "vertical correction" and "horizontal correction" stored in the memory 709A in the control means 709 when sending one page of drawing data to the engine unit 707. Then, the drawing data is shifted by that value and sent to the engine unit 707.

【0137】次いで、エンジン部707は、印刷データ
翻訳手段705から描画データが送られてくると用紙カ
セット706から印刷用紙を取り込み、印刷して出力す
る(11)。それから、印刷データ翻訳手段705は、
受信バッファ704−1にデータがある間(12)は次
のページ以降の処理を同様に行う。
Next, when the drawing data is sent from the print data translating means 705, the engine unit 707 takes in the printing paper from the paper cassette 706, prints it, and outputs it (11). Then, the print data translating means 705
While there is data in the reception buffer 704-1 (12), the processing for the next page and thereafter is performed in the same manner.

【0138】ホスト702は、最初の5ページの印刷デ
ータは「縦補正」,「横補正」を共に「0mm」で出力
し、それ以降のページは「縦補正」が「10mm」、
「横補正」が「20mm」で出力するための最初の5ペ
ージの印刷データの送信が終ったところでオフライン移
行命令を送るものとする。
The host 702 outputs the print data of the first five pages with “vertical correction” and “horizontal correction” both at “0 mm”, and subsequent pages print “vertical correction” with “10 mm”.
When the transmission of the print data of the first five pages for outputting the “horizontal correction” with “20 mm” is completed, an off-line shift command is sent.

【0139】「縦補正」,「横補正」は操作者が操作パ
ネル711からセットアップメニューの設定を行うこと
によって変更することもできるが、ここではホスト70
2から制御データを送って「縦補正」,「横補正」を変
更するものとする。
The “vertical correction” and the “horizontal correction” can be changed by the operator setting a setup menu from the operation panel 711;
It is assumed that the control data is sent from 2 and “vertical correction” and “horizontal correction” are changed.

【0140】一方、ステップ(7)で、印刷データ翻訳
手段705が受信バッファ704−1のデータを解析し
ている最中にオフライン移行命令を検出すると、制御手
段709に対してオフライン移行通知を行う。制御手段
709は印刷データ翻訳手段705からオフライン移行
通知を受けると、メモリ709Aに記憶される「オフラ
イン中のデータ受信」の内容を参照し、その値が「す
る」に設定されているかどうかを判定して(13)、Y
ESならば、印刷装置701をオフライン1の状態にし
(14)、切替手段710を制御してカレントの受信バ
ッファを受信バッファ704−2に、カレントの翻訳手
段を制御データ翻訳手段708に切り替え(15)、後
述する図16に示す第1のオフライン(オフライン1)
処理に移行する。
On the other hand, in step (7), when the print data translating means 705 detects an off-line shift command while analyzing the data in the receiving buffer 704-1, it notifies the control means 709 of the off-line shift. . When the control unit 709 receives the offline shift notification from the print data translating unit 705, the control unit 709 refers to the content of “Receiving data while offline” stored in the memory 709A and determines whether the value is set to “Yes”. (13), Y
If ES, the printer 701 is set to the offline 1 state (14), and the switching unit 710 is controlled to switch the current reception buffer to the reception buffer 704-2 and to switch the current translation unit to the control data translation unit 708 (15). ), A first offline (offline 1) shown in FIG.
Move on to processing.

【0141】一方、ステップ(13)で、もし、メモリ
709Aに記憶される「オフライン中のデータ受信」の
内容を参照し、その値が「しない」に設定されていると
判定した場合には、制御手段709は印刷装置701を
オフライン3の状態にし(20)、インタフェース70
3がホスト702からのデータを受信しないように制御
して(21)、後述する図18に示す第3のオフライン
(オフライン3)処理に移行する。
On the other hand, in step (13), if it is determined that the value is set to “no” by referring to the content of “data reception during offline” stored in memory 709A, The control unit 709 sets the printing apparatus 701 in the offline 3 state (20), and
3 so as not to receive data from the host 702 (21), and shifts to a third offline (offline 3) process shown in FIG.

【0142】一方、ステップ(1)において、操作者が
オンラインキー1を押下して印刷装置701がオフライ
ンになった場合、あるいはステップ(2)において、印
刷装置701が印刷動作中にジャム,紙無し,トナー切
れなどのエラーが発生したと判定した場合には、制御手
段709はメモリ709Aに記憶される「オフライン中
のデータ受信」を参照しその値が「する」に設定されて
いるかどうかを判定し(16)、YESならば、タイマ
712を起動し(17)、印刷装置701をオフライン
2の状態にし(18)、インタフェース703がホスト
702からのデータを受信しないように制御して(1
9)、後述する図17に示す第2のオフライン(オフラ
イン2)処理に移行する。
On the other hand, in step (1), when the operator presses the online key 1 to turn off the printing device 701, or in step (2), the printing device 701 runs out of paper during a printing operation. When the control unit 709 determines that an error such as running out of toner has occurred, the control unit 709 refers to “data reception during offline” stored in the memory 709A and determines whether the value is set to “Yes”. (16) If YES, the timer 712 is started (17), the printing apparatus 701 is set to the off-line 2 state (18), and the interface 703 is controlled so as not to receive data from the host 702 (1).
9) The process proceeds to a second offline (offline 2) process shown in FIG. 17 to be described later.

【0143】一方、ステップ(16)で、もし、メモリ
709Aに記憶される「オフライン中のデータ受信」を
参照し、その値が「しない」に設定されていると判定し
た場合には、制御手段709は印刷装置701をオフラ
イン3の状態にし(20)、インタフェース703がホ
スト702からのデータを受信しないように制御して
(21)、第3のオフライン処理に移行する。
On the other hand, in step (16), if it is determined that the value is set to "not available" by referring to "data reception during offline" stored in memory 709A, the control means 709 sets the printing apparatus 701 to the offline 3 state (20), controls the interface 703 not to receive data from the host 702 (21), and shifts to the third offline processing.

【0144】図16は、図14に示した第1のオフライ
ン処理ルーチンの詳細手順の一例を示すフローチャート
である。なお、(1)〜(10)は各ステップを示す。
また、オフライン1の状態の時にはホスト702は印刷
装置701の制御を行う制御データを送信する。制御デ
ータは、操作者が操作パネル711を操作して行うよう
なことと同等のことができる制御命令の集まりである。
制御命令によって、排出,両面/片面切り替え,給紙口
選択、ユーティリティ機能の実行,リセット操作,セッ
トアップメニューの設定,動作モードメニューの設定等
を行うことができる。従って、操作者がわざわざ印刷装
置701のところまで行って操作パネル711を操作し
なくともホスト側から制御データを送ることによって前
記の操作を行うことができるようになっている。ここで
は、オフライン移行後ホスト702が印刷装置701を
リセットするためのリセット命令と「縦補正」を「10
mm」、「横補正」を「20mm」に設定するためのセ
ットアップメニュー設定命令を送るものとする。
FIG. 16 is a flowchart showing an example of a detailed procedure of the first off-line processing routine shown in FIG. Note that (1) to (10) indicate each step.
In the offline state 1, the host 702 transmits control data for controlling the printing apparatus 701. The control data is a group of control commands that can be equivalent to what the operator performs by operating the operation panel 711.
By the control command, discharge, double-sided / single-sided switching, paper feed port selection, execution of a utility function, reset operation, setup menu setting, operation mode menu setting, and the like can be performed. Therefore, the above operation can be performed by sending control data from the host side without the operator having to go to the printing apparatus 701 and operate the operation panel 711. Here, the host 702 sets the reset command for resetting the printing apparatus 701 and the “vertical correction” to “10
A setup menu setting command for setting “mm” and “lateral correction” to “20 mm” is sent.

【0145】先ず、操作者がオンラインキー1を押下し
たかどうかを判定し(1)、YESならばステップ
(9)へ進み、NOならば、ホスト702からデータが
送られてきたかどうかを判定し(2)、NOならばステ
ップ(1)へ戻り、YESならばオフライン中に受信す
る制御データをインタフェース703で受信し(3)、
当該データを受信バッファ704−2に蓄積していく
(4)。
First, it is determined whether the operator has pressed the online key 1 (1). If YES, the process proceeds to step (9). If NO, it is determined whether data has been sent from the host 702. (2) If NO, return to step (1). If YES, receive control data received during offline at interface 703 (3).
The data is accumulated in the reception buffer 704-2 (4).

【0146】次いで、受信バッファ704−2内のデー
タをカレントの翻訳手段である制御データ翻訳手段70
8が命令単位で1つずつ解析し(5)。該命令がオンラ
イン移行命令かどうかを判定し(6)、YESならばス
テップ(9)に進み、NOならば、制御データ翻訳手段
708は、先ずリセット命令を解析し制御手段709に
対してリセット通知を行う。そして、制御手段709は
リセット通知を受けると、定められた手順に従って印刷
装置701内のリセットを行う制御を実行する(7)。
Next, the data in the receiving buffer 704-2 is transferred to the control data translating means 70 which is the current translating means.
8 analyzes one instruction at a time (5). It is determined whether the command is an online transfer command (6). If YES, the process proceeds to step (9). If NO, the control data translating means 708 first analyzes the reset command and notifies the control means 709 of a reset notification. I do. Upon receiving the reset notification, the control unit 709 executes control for resetting the inside of the printing apparatus 701 according to a predetermined procedure (7).

【0147】具体的には、制御データ翻訳手段708は
「縦補正」を「10mm」、「横補正」を「20mm」
とするという内容のセットアップメニュー設定命令を解
析し制御手段709に対してセットアップメニュー設定
通知を行う。制御手段709はセットアップメニュー設
定通知を受けると制御手段709内のメモリに記憶され
ているセットアップメニューの内容を書き換える。ここ
では「縦補正」が「10mm」に、「横補正」が「20
mm」に書き換えられる。
Specifically, the control data translating means 708 sets "vertical correction" to "10 mm" and "horizontal correction" to "20 mm".
The control unit 709 analyzes the setup menu setting command having the contents of “set” and notifies the control unit 709 of the setup menu setting notification. Upon receiving the setup menu setting notification, the control unit 709 rewrites the contents of the setup menu stored in the memory in the control unit 709. Here, “vertical correction” is set to “10 mm”, and “horizontal correction” is set to “20”.
mm ”.

【0148】なお、オフライン1の状態の時には操作者
が、ステップ(1)において、オンラインキー1を押す
ことによってオンラインにすることもできるが、ここで
は、ホスト702からオンライン移行命令を送信するこ
とによって印刷装置701をオンラインに移行させるも
のとする。
In the off-line 1 state, the operator can go on-line by pressing the on-line key 1 in step (1). It is assumed that the printing device 701 is shifted online.

【0149】一方、ステップ(6)で、制御データ翻訳
手段708がオンライン移行命令を解析すると、制御手
段709に対してオンライン移行通知を行う。制御手段
709はオンライン移行通知を受けると印刷装置701
をオンライン状態にし(9)、切替手段710を制御し
てカレントの受信バッファを受信バッファ704−1
に、カレントの翻訳手段を印刷データ翻訳手段705に
して(10)、図14に示すオンライン状態に移行す
る。
On the other hand, in step (6), when the control data translating means 708 analyzes the online transfer instruction, it notifies the control means 709 of the online transfer. When the control unit 709 receives the online shift notification, the printing unit 701
Is turned on-line (9), and the switching means 710 is controlled to change the current reception buffer to the reception buffer 704-1.
Then, the current translating means is changed to the print data translating means 705 (10), and the processing shifts to the online state shown in FIG.

【0150】これにより、ホスト702が印刷データの
送信を再開すると、図14のステップ(3)において、
その印刷データは、インタフェース703で受信し
(4)、データを受信バッファ704−1に蓄積してい
く(5)。受信バッファ704−1内のデータはカレン
トの翻訳手段である印刷データ翻訳手段705が命令単
位で1つずつ解析し(6)、印刷用紙に描画する描画デ
ータを作成していく(8)。
As a result, when the host 702 resumes transmission of print data, in step (3) of FIG.
The print data is received by the interface 703 (4), and the data is accumulated in the reception buffer 704-1 (5). The data in the reception buffer 704-1 is analyzed one by one by the print data translating means 705, which is the current translating means, on a command basis (6), and drawing data to be drawn on printing paper is created (8).

【0151】そして、印刷データ翻訳手段705は1ペ
ージ分の描画データを作成すると(9)、制御手段70
9内のメモリ709Aに記憶されている「縦補正」,
「横補正」の値を参照しその値だけ描画データをずらし
てエンジン部707に送る(10)。この時点では「縦
補正」が「10mm」に、「横補正」が「20mm」に
設定されている。エンジン部707は、印刷データ翻訳
手段705から描画データが送られてくると用紙カセッ
ト706から印刷用紙を取り込み、印刷して出力する
(11)。それから印刷データ翻訳手段705は、次の
ページ以降の処理を同様に行う。
When the print data translating means 705 creates drawing data for one page (9), the control means 70
9, "vertical correction" stored in the memory 709A,
The drawing data is shifted by that value with reference to the value of "lateral correction" and sent to the engine unit 707 (10). At this point, “vertical correction” is set to “10 mm” and “horizontal correction” is set to “20 mm”. When the drawing data is sent from the print data translating means 705, the engine unit 707 takes in the printing paper from the paper cassette 706, prints it, and outputs it (11). Then, the print data translating unit 705 similarly performs the processing for the next page and thereafter.

【0152】図17は、図15に示した第2のオフライ
ン処理ルーチンの詳細手順の一例を示すフローチャート
である。なお、(1)〜(8)は各ステップを示す。
FIG. 17 is a flowchart showing an example of the detailed procedure of the second offline processing routine shown in FIG. (1) to (8) indicate each step.

【0153】オフライン2の状態の時には、図15に示
したステップ(17)で起動したタイマ712がタイム
アウトしたかどうかを判定し(1)、タイムアウトする
前に、操作者がエラー要因を取り除きエラー状態を解除
したかどうかを判定し(2)、NOならばステップ
(1)へ戻り、YESならば操作者が操作パネル711
のオンラインキー1を押下したかどうかを判定して
(3)、NOならばステップ(1)へ戻り、制御手段7
09は印刷装置701をオンライン状態にし(4)、イ
ンタフェース703がホスト702からのデータを受信
するように制御して(5)、オンライン状態に移行す
る。
In the off-line 2 state, it is determined whether or not the timer 712 started in step (17) shown in FIG. 15 has timed out (1). Is determined (2), if NO, the process returns to step (1), and if YES, the operator operates the operation panel 711.
It is determined whether the online key 1 has been pressed (3), and if NO, the process returns to step (1), and the control means 7
09 sets the printing apparatus 701 to the online state (4), controls the interface 703 to receive data from the host 702 (5), and shifts to the online state.

【0154】一方、ステップ(1)でオフライン2の状
態の時にタイマ712がタイムアウトしたと判定した場
合には、制御手段709は印刷装置701をオンライン
1の状態にし(6)、切替手段710を制御してカレン
トの受信バッファを受信バッファ704−2に、カレン
トの翻訳手段を制御データ翻訳手段708に切り替えて
(7)、インタフェース703がホスト702からのデ
ータを受信するように制御して(8)、第1のオフライ
ン状態に移行する。
On the other hand, if it is determined in step (1) that the timer 712 has timed out in the offline 2 state, the control unit 709 sets the printing apparatus 701 to the online 1 state (6) and controls the switching unit 710. Then, the current reception buffer is switched to the reception buffer 704-2, and the current translation means is switched to the control data translation means 708 (7), and the interface 703 is controlled to receive data from the host 702 (8). , To the first offline state.

【0155】これにより、ステップ(1)で操作者がオ
ンラインキー1を押下して印刷装置701がオフライン
になった場合や、ステップ(2)で印刷装置701が印
刷動作中にジャム,紙無し,トナー切れなどのエラーが
起こってオフラインになった場合には、タイマ712が
タイムアウトするまでの一定時間はホスト702からの
データを受信しないが、一定時間経過するとホスト70
2からのデータを受信可能な状態に移行させることがで
きる。
Thus, in step (1), when the operator presses the online key 1 to turn off the printing apparatus 701, or in step (2), when the printing apparatus 701 is in a printing operation, a jam, no paper, When an error such as a toner shortage occurs and the printer goes offline, the data is not received from the host 702 for a certain period of time until the timer 712 times out.
2 can be shifted to a receivable state.

【0156】図18は、図15に示した第3のオフライ
ン処理ルーチンの詳細手順の一例を示すフローチャート
である。なお、(1)〜(4)は各ステップを示す。
FIG. 18 is a flowchart showing an example of the detailed procedure of the third offline processing routine shown in FIG. Note that (1) to (4) show each step.

【0157】オフライン3の状態の時には操作者がエラ
ー要因を取り除きエラー状態を解除したかどうかを判定
し(1)、NOならばステップ(1)へ戻り、YESな
らば操作パネル711のオンラインキー1を押下したか
どうかを判定して(2)、NOならばステップ(1)へ
戻り、YESならば、制御手段709は印刷装置701
をオンライン状態にし(3)、インタフェース703が
ホスト702からのデータを受信するように制御して
(4)、オンライン状態に移行する。
In the offline 3 state, it is determined whether or not the operator has removed the error factor and released the error state (1). If NO, the process returns to the step (1). If YES, the online key 1 on the operation panel 711 is displayed. It is determined whether or not is pressed (2). If NO, the process returns to step (1).
Is brought online (3), the interface 703 is controlled so as to receive data from the host 702 (4), and the state is shifted to the online state.

【0158】以下、本実施形態と第1〜第4の発明の各
手段との対応及びその作用について図1等を参照して説
明する。
Hereinafter, the correspondence between this embodiment and each means of the first to fourth inventions and the operation thereof will be described with reference to FIG.

【0159】第1の発明は、所定の通信媒体(ネットワ
ーク路を含む)を介して外部装置から入力される印刷情
報を受信する受信手段(インタフェース103(50
3,703))と、前記受信手段が受信した印刷情報中
の印刷データを解析する第1の解析手段(印刷データ翻
訳手段105,505−1〜505−n,705)と、
前記受信手段が受信した印刷情報中の制御データを解析
する第2の解析手段(制御データ翻訳手段108,50
8,708)と、前記外部装置からのオフライン移行指
示に基づいて前記印刷情報の解析候補を前記第1の解析
手段から前記第2の解析手段に切り換えて前記受信手段
の状態を入力される前記制御データを解析可能な第1の
状態に遷移させ、かつ、前記外部装置からのオンライン
移行指示に基づいて前記印刷情報の解析候補を前記第2
の解析手段から前記第1の解析手段に切り換えて前記受
信手段の状態を入力される前記制御データを解析可能な
第2の状態に遷移させるオフライン制御手段(制御手段
109,509,709)とを有し、制御手段109、
ホストコンピュータ102からのオフライン移行指示に
基づいて前記印刷情報の解析候補を印刷データ翻訳手段
105から制御データ翻訳手段108に切り換えてイン
タフェース103の状態を入力される前記制御データを
解析可能な第1の状態に遷移させ、かつ、ホストコンピ
ュータ102からのオンライン移行指示に基づいて前記
印刷情報の解析候補を制御データ翻訳手段108から印
刷データ翻訳手段105に切り換えて前記受信手段の状
態を入力される前記制御データを解析可能な第2の状態
に遷移させるので、外部装置から入力される制御データ
に基づいて受信手段の状態をオフライン状態またはオン
ライン状態のいずれにも切り換え制御して、オフライン
状態移行後、外部装置から入力される制御データに基づ
く解析処理を継続して優先実行させることができる。
The first invention is a receiving means (interface 103 (50) for receiving print information input from an external device via a predetermined communication medium (including a network path).
3, 703)), first analyzing means (print data translating means 105, 505-1 to 505-n, 705) for analyzing print data in the print information received by the receiving means,
Second analyzing means (control data translating means 108, 50) for analyzing control data in the print information received by the receiving means;
8, 708), and based on an off-line shift instruction from the external device, switches the print information analysis candidate from the first analysis unit to the second analysis unit and inputs the state of the reception unit. The control data is transited to a first state in which the control data can be analyzed, and the print information analysis candidate is changed to the second state based on an online shift instruction from the external device.
Off-line control means (control means 109, 509, 709) for switching from the analysis means to the first analysis means and for transiting the control data to which the state of the reception means is inputted to a second state capable of being analyzed. Control means 109,
A first candidate capable of analyzing the control data to which the status of the interface 103 is inputted by switching the analysis candidate of the print information from the print data translating means 105 to the control data translating means 108 based on an offline shift instruction from the host computer 102. State, and switches the analysis candidate of the print information from the control data translating means 108 to the print data translating means 105 based on an online shift instruction from the host computer 102, and inputs the state of the receiving means. Since the data is transited to the second state that can be analyzed, the state of the receiving unit is switched to either the offline state or the online state based on the control data input from the external device. Continue analysis processing based on control data input from equipment It can be preferentially executed Te.

【0160】第2の発明は、制御手段109により前記
第1の状態に遷移した場合に、制御データ翻訳手段10
8が前記外部装置から入力される前記制御データを解析
してパネル操作すべき所定の設定処理を代行するので、
本来ならばオフライン状態の下でパネル指示されるべき
設定項目等の制御をホスト102からの制御データで代
替させることでき、ユーザによる手動操作負担を大幅に
軽減できる。
According to a second aspect of the present invention, when the control means 109 makes a transition to the first state, the control data translating means 10
8 analyzes the control data input from the external device and performs a predetermined setting process for panel operation on behalf of the control device.
Control of setting items and the like that should be instructed on the panel under the off-line state can be replaced by control data from the host 102, and the burden of manual operation by the user can be greatly reduced.

【0161】第3の発明は、インタフェース703の状
態をオフライン状態に遷移させるための指示を入力する
入力手段(操作パネル711)と、前記入力手段による
指示時から所定時間を計時する計時手段(タイマ71
2)とを有し、制御手段709は、タイマ712が前記
所定時間を計時した後、前記外部装置からのオフライン
移行指示に基づいて前記印刷情報の解析候補を印刷デー
タ翻訳手段705から制御データ翻訳手段708に切り
換えて前記受信手段の状態を入力される前記制御データ
を解析可能な第1の状態に遷移させるので、操作者が操
作パネル711からオフライン移行指示を実行した後放
置される事態が発生しても、所定時間経過後に外部装置
からの制御データを受け付け可能な状態に遷移させて印
刷情報の処理を続行することができる。
According to a third aspect of the present invention, there is provided an input means (operation panel 711) for inputting an instruction for transitioning the state of the interface 703 to the offline state, and a timer means (timer) for measuring a predetermined time from the time of the instruction by the input means. 71
After the timer 712 has counted the predetermined time, the control unit 709 sends the analysis candidate of the print information from the print data translation unit 705 to the control data translation unit 705 based on the offline shift instruction from the external device. Since the state of the receiving means is switched to the first state that can be analyzed by switching to the means 708 by switching to the means 708, a situation occurs in which the operator is left after executing the offline shift instruction from the operation panel 711. Even after the predetermined time has elapsed, the state can be changed to a state in which control data from the external device can be accepted, and the processing of print information can be continued.

【0162】第4の発明は、前記オフライン状態に遷移
した後、前記受信手段が前記外部装置からのデータを受
信すべきかどうかを決定するための可否条件を設定する
設定手段(操作パネル111,511,711)を有
し、前記オフライン制御手段(制御手段109,50
9,709)は、前記設定手段による可否条件に基づい
て前記第1の状態への遷移を解除し、前記受信手段(イ
ンタフェース103,503,703)が前記外部装置
からのデータ入力を拒否するオフライン状態に強制設定
するので、使用者の使用環境に見合う所望のオフライン
処理環境を容易に設定することができる。
According to a fourth aspect of the present invention, there is provided a setting means (operation panels 111 and 511) for setting whether or not the receiving means should receive data from the external device after the transition to the off-line state. , 711), and the offline control means (control means 109, 50).
9, 709) cancels the transition to the first state based on the availability condition by the setting means, and the receiving means (interfaces 103, 503, 703) rejects data input from the external device. Since the state is forcibly set, a desired off-line processing environment suitable for the user's use environment can be easily set.

【0163】以下、第1〜第3実施形態と第6,第7の
発明の各工程との対応及びその作用について図4〜図
6,図8〜図11,図14〜図18等を参照して説明す
る。
Hereinafter, correspondence between the first to third embodiments and each step of the sixth and seventh inventions and the operation thereof will be described with reference to FIGS. 4 to 6, FIGS. 8 to 11, FIGS. I will explain.

【0164】本発明に係る第6の発明は、所定の通信媒
体を介して外部装置から入力される印刷情報を受信部に
より受信して処理する印刷制御方法であって、受信した
印刷情報中の印刷データを解析する第1の解析工程(図
5のステップ(5),図9のステップ(9),図14の
ステップ(6))と、該受信した印刷情報中の制御デー
タを解析する第2の解析工程(図4のステップ(6),
図10のステップ(5),図16のステップ(5))
と、前記外部装置からのオフライン移行指示に基づいて
前記印刷情報の解析工程を前記第1の解析工程から前記
第2の解析工程に切り換えて前記受信部の状態を入力さ
れる前記制御データを解析可能な第1の状態に遷移させ
る第1の遷移工程(図4のステップ(7),(13)〜
(15),図9のステップ(6),(9),(10),
図14のステップ(7),(13)〜(15))と、前
記外部装置からのオンライン移行指示に基づいて前記印
刷情報の解析候補を前記第2の解析工程から前記第1の
解析工程に切り換えて前記受信部の状態を入力される前
記制御データを解析可能な第2の状態に遷移させる第2
の遷移工程(図5のステップ(6),(9),(1
0),図10のステップ(6),(9),(10),図
16のステップ(6),(9),(10))とを制御手
段109がメモリ109Aに記憶された制御プログラム
を実行することにより、外部装置から入力される制御デ
ータに基づいて受信手段の状態をオフライン状態または
オンライン状態のいずれにも切り換え制御して、オフラ
イン状態移行後、外部装置から入力される制御データに
基づく解析処理を継続して優先実行させることを可能と
する。
A sixth invention according to the present invention relates to a printing control method for receiving and processing print information input from an external device via a predetermined communication medium, wherein the print control method comprises the steps of: A first analysis step for analyzing print data (step (5) in FIG. 5, step (9) in FIG. 9, step (6) in FIG. 14) and a second analysis step for analyzing control data in the received print information. Analysis step 2 (step (6) in FIG. 4)
(Step (5) in FIG. 10, Step (5) in FIG. 16)
Analyzing the control data in which the print information analysis step is switched from the first analysis step to the second analysis step based on an off-line shift instruction from the external device and the state of the receiving unit is input. First transition process (steps (7) and (13) in FIG. 4) to transition to a possible first state
(15), steps (6), (9), (10),
(Steps (7), (13) to (15) in FIG. 14), and the print information analysis candidates are changed from the second analysis step to the first analysis step based on an online shift instruction from the external device. A second state in which the state of the receiving unit is switched and the control data to which the state of the receiving unit is input is shifted to a second state in which the control data can be analyzed
(Steps (6), (9), (1) in FIG. 5)
0), steps (6), (9), (10) in FIG. 10 and steps (6), (9), (10) in FIG. 16) by the control means 109 to execute the control program stored in the memory 109A. By executing, based on the control data input from the external device, the state of the receiving means is controlled to be switched to either the offline state or the online state, and after the transition to the offline state, based on the control data input from the external device. It is possible to continuously execute the analysis process with priority.

【0165】本発明に係る第7の発明は、所定の通信媒
体を介して外部装置から入力される印刷情報を受信部に
より受信して処理するコンピュータが読出し可能なプロ
グラムを格納した記憶媒体であって、受信した印刷情報
中の印刷データを解析する第1の解析工程(図5のステ
ップ(5),図9のステップ(9),図14のステップ
(6))と、該受信した印刷情報中の制御データを解析
する第2の解析工程(図4のステップ(6),図10の
ステップ(5),図16のステップ(5))と、前記外
部装置からのオフライン移行指示に基づいて前記印刷情
報の解析工程を前記第1の解析工程から前記第2の解析
工程に切り換えて前記受信部の状態を入力される前記制
御データを解析可能な第1の状態に遷移させる第1の遷
移工程(図4のステップ(7),(13)〜(15),
図9のステップ(6),(9),(10),図14のス
テップ(7),(13)〜(15))と、前記外部装置
からのオンライン移行指示に基づいて前記印刷情報の解
析候補を前記第2の解析工程から前記第1の解析工程に
切り換えて前記受信部の状態を入力される前記制御デー
タを解析可能な第2の状態に遷移させる第2の遷移工程
(図5のステップ(6),(9),(10),図10の
ステップ(6),(9),(10),図16のステップ
(6),(9),(10))とを含む、コンピュータが
読むことができるプログラムを記憶媒体に格納したもの
である。すなわち、メモリ109A(509A,709
A)等のメモリ資源に図4〜図6(図8〜図11,図1
4〜図18)に示す工程に対応するプログラムコードを
記憶させ、該プログラムコードを記憶した記憶媒体から
制御手段109(509,709)が読み出して実行す
る形態も本発明の実施形態に含まれるものである。
A seventh invention according to the present invention is a storage medium storing a computer readable program for receiving and processing print information input from an external device via a predetermined communication medium by a receiving unit. A first analysis step (step (5) in FIG. 5, step (9) in FIG. 9, step (6) in FIG. 14) for analyzing print data in the received print information; Based on a second analysis step (step (6) in FIG. 4, step (5) in FIG. 10, step (5) in FIG. 16) for analyzing the control data in the apparatus, and an offline shift instruction from the external device. A first transition in which the print information analysis step is switched from the first analysis step to the second analysis step, and the control data to which the state of the receiving unit is input is changed to a first state in which the control data can be analyzed; Step (FIG. 4) -Up (7), (13) to (15),
Steps (6), (9), (10) in FIG. 9, Steps (7), (13) to (15) in FIG. 14, and analysis of the print information based on an online shift instruction from the external device. A second transition step of switching the candidate from the second analysis step to the first analysis step and transiting the control data to which the state of the receiving unit is input to a second state that can be analyzed (FIG. 5) Computer including steps (6), (9), (10), steps (6), (9), (10) in FIG. 10, and steps (6), (9), (10) in FIG. Is stored in a storage medium. That is, the memory 109A (509A, 709A)
4A to 6 (FIGS. 8 to 11 and FIG. 1).
Embodiments of the present invention include an embodiment in which program codes corresponding to the steps shown in FIGS. 4 to 18) are stored, and the control unit 109 (509, 709) reads out and executes the program codes from a storage medium storing the program codes. It is.

【0166】〔第4実施形態〕上記各実施形態では、ホ
ストコンピュータからのデータを受信するインタフェー
スが単数の場合について説明したが、印刷データと制御
データとをそれぞれ異なるインタフェースを介して受信
する場合にも本発明を適用することができる。以下、そ
の実施形態について説明する。
Fourth Embodiment In each of the above embodiments, a case has been described where the number of interfaces for receiving data from the host computer is single, but the case where print data and control data are received via different interfaces is described. The present invention can also be applied to the present invention. Hereinafter, the embodiment will be described.

【0167】図19は、本発明の第4実施形態を示す印
刷制御装置を適用可能な印刷システムの構成を説明する
ブロック図である。
FIG. 19 is a block diagram illustrating the configuration of a printing system to which a print control device according to the fourth embodiment of the present invention can be applied.

【0168】図19において、1001は印刷装置本
体、1002はホストコンピュータ(ホスト)で、印刷
装置1001に印刷データを送る。1003は入力手段
であるところのインタフェース(インタフェース1)
で、ホスト1002から送られてきたデータを受信す
る。1004は受信バッファ(受信バッファ1)で、イ
ンタフェース1003で受信したデータを蓄積する。
Referring to FIG. 19, reference numeral 1001 denotes a printing apparatus main body; and 1002, a host computer (host) which sends print data to the printing apparatus 1001. An interface 1003 is an input means (interface 1).
Then, the data sent from the host 1002 is received. Reference numeral 1004 denotes a reception buffer (reception buffer 1) for storing data received by the interface 1003.

【0169】1005は印刷データ翻訳手段で、受信バ
ッファ1004に蓄積されている印刷用のデータ(以
後、印刷データと呼ぶ)を解析して印刷用紙に描画する
描画データを作成する。1006は用紙カセットで、印
刷用紙を蓄積する。1007はエンジン部で、印刷デー
タ翻訳手段1005で作成された描画データを印刷用紙
に出力する。1008はプリンタセットアップ用ホスト
コンピュータ(セットアップ用ホスト)で、印刷装置1
001のセッティング(制御)を行う制御データを送
る。
[0169] Reference numeral 1005 denotes print data translating means for analyzing print data (hereinafter referred to as print data) stored in the reception buffer 1004 to create drawing data to be drawn on printing paper. A paper cassette 1006 stores printing paper. Reference numeral 1007 denotes an engine unit that outputs drawing data created by the print data translating unit 1005 to print paper. Reference numeral 1008 denotes a printer setup host computer (setup host).
The control data for setting (control) 001 is transmitted.

【0170】1009は入力手段であるところのインタ
フェース(インタフェース2)で、セットアップ用ホス
ト1008からの送られてきたデータを受信する。10
10は受信バッファ(受信バッファ2)で、インタフェ
ース1009で受信したデータを蓄積する。1011は
制御データ翻訳手段で、受信バッファ1010に蓄積さ
れている印刷装置1001を制御するためのデータ(以
後、制御データと呼ぶ)を解析してその内容を制御手段
1012に通知する。1012はCPU,RAM,RO
Mを備える制御手段で、印刷装置1001内の各デバイ
スを総括的に制御する。1013は操作パネルで、印刷
装置1001のセッティングを行えるように構成されて
いる。
Reference numeral 1009 denotes an interface (interface 2) serving as an input means, which receives data transmitted from the setup host 1008. 10
A reception buffer (reception buffer 2) stores data received by the interface 1009. Reference numeral 1011 denotes a control data translation unit which analyzes data (hereinafter, referred to as control data) for controlling the printing apparatus 1001 stored in the reception buffer 1010 and notifies the control unit 1012 of the content. 1012 is a CPU, RAM, RO
A control unit including M controls each device in the printing apparatus 1001 as a whole. Reference numeral 1013 denotes an operation panel, which is configured to perform setting of the printing apparatus 1001.

【0171】なお、操作パネル1013は、図2に示す
ような外観となっており、それぞれのキー及びランプは
図2に記載するような機能を有する。オンライン中はオ
ンラインキー以外のキーを操作することができない。従
って、排出,両面/片面切り替え,給紙口選択,ユーテ
ィリティ機能の実行,リセット操作,セットアップメニ
ューの設定,動作モードメニューの設定等はオフライン
中しか行うことができない。
The operation panel 1013 has the appearance as shown in FIG. 2, and each key and lamp has a function as shown in FIG. No keys other than the online key can be operated while online. Accordingly, discharge, double-sided / single-sided switching, paper feed port selection, execution of a utility function, resetting operation, setting of a setup menu, setting of an operation mode menu, and the like can be performed only during offline.

【0172】このように印刷装置1001にはオフライ
ン中にしか行うことのできない操作がたくさんある。
As described above, the printing apparatus 1001 has many operations that can be performed only while the printer is offline.

【0173】本実施形態では、印刷装置1001がオン
ラインの時は、制御手段1012はインタフェース10
03がホスト1002からのデータを受信するように制
御し、インタフェース1009がセットアップ用ホスト
1008からのデータを受信しないように制御する。逆
に、印刷装置1001がオフラインの時は、制御手段1
012はインタフェース1003がホスト1002から
のデータを受信しないように制御し、インタフェース1
009がセットアップ用ホスト1008からのデータを
受信するように制御することを特徴とする。
In this embodiment, when the printing apparatus 1001 is online, the control unit 1012
03 controls to receive data from the host 1002, and controls so that the interface 1009 does not receive data from the setup host 1008. Conversely, when the printing apparatus 1001 is offline, the control unit 1
012 controls the interface 1003 not to receive data from the host 1002;
009 to receive data from the setup host 1008.

【0174】以下、本実施形態と第5の発明の各手段と
の対応及びその作用について図19等を参照して説明す
る。
Hereinafter, the correspondence between this embodiment and each means of the fifth invention and the operation thereof will be described with reference to FIG. 19 and the like.

【0175】第5の発明は、所定の通信媒体(ネットワ
ークを含む)を介して外部装置から入力される印刷情報
を受信する複数の受信手段(インタフェース1003,
1009)と、一方の受信手段(インタフェース100
3)が受信した印刷情報中の印刷データを解析する第1
の解析手段(印刷データ翻訳手段1005)と、他方の
受信手段(インタフェース1009)が受信した印刷情
報中の制御データを解析する第2の解析手段(制御デー
タ翻訳手段1011)と、前記外部装置(ホストコンピ
ュータ1002)からのオフライン移行指示に基づいて
前記第1の解析手段を有効とするように一方の受信手段
を有効に他方の受信手段を無効とするオフライン状態に
遷移させ、かつ、前記外部装置からのオンライン移行指
示に基づいて前記第2の解析手段を有効とするように他
方の受信手段を有効に一方の受信手段を無効とするオフ
ライン状態に遷移させるオフライン制御手段(制御手段
1012がメモリ1012Aに記憶された制御プログラ
ムを実行して制御する)とを有し、制御手段1012
は、前記外部装置からのオフライン移行指示に基づいて
印刷データ翻訳手段1005を有効とするように一方の
インタフェース1003を有効に他方のインタフェース
1009を無効とするオフライン状態に遷移させ、か
つ、ホストコンピュータ1002からのオンライン移行
指示に基づいて制御データ翻訳手段1011を有効とす
るように他方のインタフェース1003を有効に一方の
インタフェース1009を無効とするオフライン状態に
遷移させるので、いずれか一方の受信手段によるデータ
受信状態を確保して、オフライン移行後も、制御データ
に基づく処理を継続して実行させることができる。
According to a fifth aspect of the present invention, a plurality of receiving means (interface 1003, interface 1003) for receiving print information input from an external device via a predetermined communication medium (including a network).
1009) and one receiving means (interface 100
3) analyzing the print data in the print information received by the first
Analysis means (print data translation means 1005), second analysis means (control data translation means 1011) for analyzing control data in print information received by the other reception means (interface 1009), and the external device ( Based on an off-line shift instruction from the host computer 1002), one of the receiving units is enabled so that the first analyzing unit is enabled and the other receiving unit is disabled. Offline control means (the control means 1012 controls the memory 1012A to shift to an offline state in which the other receiving means is enabled and the one receiving means is disabled, based on an online shift instruction from the server). Control unit 1012 by executing a control program stored in the control unit 1012).
Changes the print data translating unit 1005 to an active state based on an offline transfer instruction from the external device, and shifts to an offline state in which one interface 1003 is enabled and the other interface 1009 is disabled. The interface 1003 is shifted to an offline state in which the other interface 1003 is enabled and the one interface 1009 is disabled so that the control data translating means 1011 is enabled based on an online shift instruction from the server. The state can be ensured, and the processing based on the control data can be continuously executed even after the offline shift.

【0176】以下、図20,図21に示すフローチャー
トを参照しながら、本発明に係る印刷制御装置のデータ
処理動作について説明する。
Hereinafter, the data processing operation of the print control apparatus according to the present invention will be described with reference to the flowcharts shown in FIGS.

【0177】図20は、本発明に係る印刷制御装置の第
4のデータ処理手順の一例を示すフローチャートであ
る。なお、(1)〜(16)は各ステップを示す。
FIG. 20 is a flowchart showing an example of the fourth data processing procedure of the print control apparatus according to the present invention. In addition, (1) to (16) indicate each step.

【0178】まず、印刷装置1001の操作者が操作パ
ネル1013を操作し、オフライン中に制御データを受
信できるように設定するものとする。この設定操作は以
下の通りである。
First, it is assumed that the operator of the printing apparatus 1001 operates the operation panel 1013 to make settings so that control data can be received while offline. This setting operation is as follows.

【0179】最初に、オンラインキー1が押下されたか
どうかを判定し(1)、YESならばステップ(13)
に進み、印刷装置1001をオフライン状態にする。そ
して、入力手段がホスト1002からのデータを受信し
ないように制御する。
First, it is determined whether or not the online key 1 has been pressed (1). If YES, step (13)
The printing apparatus 1001 is set to the offline state. Then, control is performed so that the input unit does not receive data from the host 1002.

【0180】一方、ステップ(1)でNOと判定された
場合には、各種センサからの出力に基づいてジャム,紙
切れ等のエラーが発生しているかどうかを判定し
(2)、YESならばステップ(13)以降へ進み、N
Oならば、次に、ホスト1002から印刷装置1001
に印刷データが送られているかどうかを判定し(3)、
印刷装置1001がオンライン中にホスト1002から
印刷データが送られてくると、印刷装置1001ではそ
のデータをインタフェース1003で受信する(4)。
インタフェース1003はデータを受信すると、そのデ
ータを受信バッファ1004に蓄積していく(5)。
On the other hand, if NO is determined in the step (1), it is determined whether or not an error such as a jam or a paper break has occurred based on outputs from various sensors (2). Proceed to (13) and after, N
If it is O, then the host 1002 sends the printing device 1001
It is determined whether or not the print data is sent to (3),
When print data is sent from the host 1002 while the printing apparatus 1001 is online, the printing apparatus 1001 receives the data via the interface 1003 (4).
Upon receiving the data, the interface 1003 accumulates the data in the reception buffer 1004 (5).

【0181】次に、受信バッファ1004内のデータは
カレントの翻訳手段である印刷データ翻訳手段1005
で解析される。カレントの翻訳手段は、制御手段101
2の制御によって印刷データ翻訳手段1005か制御デ
ータ翻訳手段1008のどちらかに決まり、その翻訳手
段が現在駆動する翻訳手段となる。
Next, the data in the receiving buffer 1004 is stored in the print data translating means 1005 which is the current translating means.
Is analyzed by The current translation means is the control means 101
According to the control of step 2, either the print data translating means 1005 or the control data translating means 1008 is determined, and the translating means becomes the currently driven translating means.

【0182】次に、印刷データ翻訳手段1005は受信
バッファ1004内のデータを命令単位で1つずつ解析
し(6)、該命令がオフライン移行命令かどうかを判定
し(7)、YESならばステップ(13)に進み、NO
ならば印刷用紙に描画する描画データを作成していく
(8)。そして、印刷データ翻訳手段1005は1ペー
ジ分の描画データが作成されたかどうかを判定し
(9)、NOならばステップ(6)へ戻り、YESなら
ば制御手段1012内のメモリ1012Aに記憶されて
いる「オーバレイ」の値を参照して、該「オーバレイ」
の値に基づいて後述する描画データをエンジン部100
7に送る(10)。
Next, the print data translating means 1005 analyzes the data in the reception buffer 1004 one by one for each instruction (6), and judges whether the instruction is an offline shift instruction (7), and if YES, the step is performed. Go to (13), NO
Then, the drawing data to be drawn on the printing paper is created (8). The print data translating means 1005 determines whether or not one page of drawing data has been created (9). If NO, the process returns to step (6). If YES, the print data translating means 1005 stores the drawing data in the memory 1012A in the control means 1012. With reference to the value of the “overlay”
Of the engine unit 100 based on the value of
Send to 7 (10).

【0183】具体的には、「オーバレイ」は操作パネル
1013からセットアップメニューの設定を行うことに
よって変更することができる。「オーバレイ」は「OF
F」,「1」,「2」の設定を行うことが可能である。
「オーバレイ」が「OFF」の時は作成した描画データ
をそのままエンジン部1007に送る。「オーバレイ」
が「1」の時は描画データに予め登録されたオーバレイ
ページ1を重ね合わせた描画データをエンジン部100
7に送る。「オーバレイ」が「2」の時は描画データに
予め登録されたオーバレイページ2を重ね合わせた描画
データをエンジン部1007に送る。
Specifically, the “overlay” can be changed by setting a setup menu from the operation panel 1013. “Overlay” is “OF”
F, "1" and "2" can be set.
When the “overlay” is “OFF”, the created drawing data is sent to the engine unit 1007 as it is. "Overlay"
Is "1", the drawing data obtained by superimposing the overlay page 1 registered in advance on the drawing data is stored in the engine unit 100.
Send to 7. When the “overlay” is “2”, the drawing data in which the overlay page 2 registered in advance is superimposed on the drawing data is sent to the engine unit 1007.

【0184】印刷装置1001は、オーバレイページ1
とオーバレイページ2に描画データを登録することが可
能であり、登録されたオーバレイページは印刷データ翻
訳手段1005に記憶されている。ここでは、既にオー
バレイページ1とオーバレイページ2に描画データが登
録されているものとする。この時点では「オーバレイ」
に「OFF」が設定されているものとする。印刷データ
翻訳手段1005は、「オーバレイ」が「OFF」であ
ることを知ると描画データをそのままエンジン部100
7に送る。
The printing apparatus 1001 checks the overlay page 1
And the overlay data can be registered in the overlay page 2. The registered overlay page is stored in the print data translating means 1005. Here, it is assumed that the drawing data has already been registered in the overlay page 1 and the overlay page 2. "Overlay" at this point
Is set to “OFF”. When the print data translating means 1005 knows that the “overlay” is “OFF”, the print data
Send to 7.

【0185】次いで、エンジン部1007は、印刷デー
タ翻訳手段1005から描画データが送られてくる用紙
カセット1006から印刷用紙を取り込み、印刷して出
力する(11)。それから、印刷データ翻訳手段100
5は、受信バッファ1004にデータがあるかどうかを
判定して(12)、YES、すなわち、受信バッファ1
004にデータがある間はステップ(6)へ戻り、NO
ならば次のページ以降の処理を同様に行うためステップ
(1)へ戻る。
Next, the engine unit 1007 takes in the printing paper from the paper cassette 1006 to which the drawing data is sent from the printing data translating means 1005, prints it, and outputs it (11). Then, the print data translating means 100
5 determines whether there is data in the reception buffer 1004 (12), and determines YES, that is, the reception buffer 1
While there is data in 004, return to step (6), NO
If so, the process returns to step (1) in order to perform the processing of the next page and thereafter in the same manner.

【0186】このようにして、ホスト1002は最初の
3ページの印刷データはオーバレイをかけずに出力し、
それ以降のページはオーバレイページ1のオーバレイを
かけて出力するために、最初の5ページの印刷データの
送信が終わったところで、オフライン移行命令を送るも
のとする。
In this way, the host 1002 outputs the print data of the first three pages without overlaying them,
In order to output the subsequent pages by overlaying the overlay page 1, an off-line shift command is sent after the transmission of the first five pages of print data is completed.

【0187】ここで、「オーバレイ」は操作者が操作パ
ネル1013からセットアップメニューの設定を行うこ
とによって変更することができるが、ここではホスト1
002から制御データを送って「オーバレイ」を変更す
る場合を例として説明する。
Here, the “overlay” can be changed by the operator setting the setup menu from the operation panel 1013.
The case where the control data is sent from 002 to change the “overlay” will be described as an example.

【0188】ステップ(7)において、印刷データ翻訳
手段1005が受信バッファ1004のデータを解析し
ている最中にオフライン移行命令を検出したと判定され
ると、制御手段1012に対してオフライン移行通知を
行う。制御手段1012は印刷データ翻訳手段1005
からオフライン移行通知を受けると印刷装置1001を
オフライン状態にし(13)、インタフェース1003
がホスト1002からのデータを受信しないように制御
し(14)、カレントの翻訳手段を制御データ翻訳手段
1011に切り替え(15)、インタフェース1009
がセットアップ用ホスト1008からのデータを受信す
るように制御して(16)、オフライン状態に移行す
る。
In step (7), when it is determined that the print data translating means 1005 has detected an offline shift command while analyzing the data in the reception buffer 1004, an off-line shift notification is sent to the control means 1012. Do. The control means 1012 is a print data translating means 1005
When the printing apparatus 1001 receives the offline shift notification from the printer 1001, the printing apparatus 1001 goes offline (13), and the interface 1003
Controls not to receive data from the host 1002 (14), switches the current translation unit to the control data translation unit 1011 (15), and
Controls to receive the data from the setup host 1008 (16), and shifts to the offline state.

【0189】また、ステップ(1)において、印刷装置
がオフライン中に操作者がオンラインキー1を押下して
印刷装置1001をオフラインにする場合や、ステップ
(2)において、印刷装置1001が印刷動作中にジャ
ム,紙無し,トナー切れ等のエラーが起こってオフライ
ンになった場合にも、制御手段1012は印刷装置10
01をオフライン状態にし(13)、インタフェース1
003がホスト1002からのデータを受信しないよう
に制御し(14)、カレントの翻訳手段を制御データ翻
訳手段1011に切り替え(15)、インタフェース1
009がセットアップ用ホスト1008からのデータを
受信するように制御する(16)。
Further, in step (1), when the operator presses the online key 1 to take the printing apparatus 1001 offline while the printing apparatus is offline, or in step (2), the printing apparatus 1001 is performing a printing operation. If the printer goes offline due to an error such as a paper jam, running out of paper, running out of toner, etc.
01 is offline (13), interface 1
003 controls not to receive data from the host 1002 (14), and switches the current translation unit to the control data translation unit 1011 (15).
009 to receive data from the setup host 1008 (16).

【0190】なお、印刷装置1001はオフライン中は
ホスト1002からのデータを受信せず、セットアップ
用ホスト1008からのデータを受信する。セットアッ
プ用ホスト1008は、印刷装置1001がオフライン
中にホスト1002は印刷装置1001の制御を行う制
御データを送信する。制御データは、操作者が操作パネ
ル1013を操作して行うようなことと同等のことがで
きる制御命令の集まりである。制御命令によって排出,
両面/片面切り替え,給紙口選択,ユーティリティ機能
の実行,リセット操作,セットアップメニューの設定,
動作モードメニューの設定等を行うことができる。
Note that the printing apparatus 1001 does not receive data from the host 1002 during offline, but receives data from the setup host 1008. The setup host 1008 transmits control data for controlling the printing apparatus 1001 while the printing apparatus 1001 is offline. The control data is a group of control commands that can be equivalent to what the operator operates by operating the operation panel 1013. Discharge by control command,
Double-sided / single-sided switching, paper source selection, execution of utility functions, reset operation, setup menu settings,
An operation mode menu can be set.

【0191】従って、操作者がわざわざ印刷装置100
1のところまで行って操作パネル1013を操作しなく
ともホスト側から制御データを送ることによって前記の
操作を行うことができるようになっている。
[0191] Therefore, the operator is bothered by the printing apparatus 100.
The above operation can be performed by sending control data from the host side without having to operate the operation panel 1013 by going to step 1.

【0192】ここでは、オフライン移行後ホスト100
2が印刷装置1001をリセットするためのリセット命
令と「オーバレイ」を「1」に設定するためのセットア
ップメニュー設定命令を送る場合を例として図21に示
すフローチャートを参照しながら説明する。
Here, the host 100 after the offline migration
An example in which the printer 2 sends a reset command for resetting the printing apparatus 1001 and a setup menu setting command for setting “overlay” to “1” will be described with reference to the flowchart shown in FIG.

【0193】図21は、図20に示したオフライン処理
ルーチンの詳細手順の一例を示すフローチャートであ
る。なお、(1)〜(13)は各ステップを示す。
FIG. 21 is a flowchart showing an example of a detailed procedure of the offline processing routine shown in FIG. Note that (1) to (13) indicate each step.

【0194】先ず、操作者がオンラインキー1を押下し
たかどうかを判定し(1)、YESならばステップ
(9)へ進み、NOならば、ホスト1002からデータ
が送られてきたかどうかを判定し(2)、NOならばス
テップ(1)へ戻り、YESならばオフライン中に受信
する制御データ、すなわち、セットアップ用ホスト10
08から送られてきたデータをインタフェース1009
で受信し(3)、データを受信バッファ1010に蓄積
している(4)。受信バッファ1010内のデータはカ
レントの翻訳手段である制御データ翻訳手段1011が
命令単位で1つずつ解析する(5)。次に、命令がオン
ライン移行命令かどうかを判定して(6)、NOならば
制御データ翻訳手段1011は、まずリセット命令を解
析し制御手段1012に対してリセット通知を行う。制
御手段1012はリセット通知を受けると定められた手
順に従って印刷装置1001内のリセットを行う。
First, it is determined whether the operator has pressed the online key 1 (1). If YES, the process proceeds to step (9). If NO, it is determined whether data has been sent from the host 1002. (2) If NO, return to step (1); if YES, return the control data received during offline, ie, the setup host 10
08 sent from the interface 1009
(3), and the data is stored in the reception buffer 1010 (4). The data in the reception buffer 1010 is analyzed one by one by the control data translating means 1011 which is the current translating means (5). Next, it is determined whether or not the command is an online transfer command (6). If NO, the control data translating means 1011 first analyzes the reset command and sends a reset notification to the control means 1012. The control unit 1012 resets the inside of the printing apparatus 1001 according to a procedure determined to receive the reset notification.

【0195】次に、制御データ翻訳手段1011は「オ
ーバレイ」を「1」にするという内容のセットアップメ
ニュー設定命令を解析し制御手段1012に対してセッ
トアップメニュー設定通知を行う。制御手段1012は
セットアップメニュー設定通知を受けると制御手段10
12内のメモリ1012Aに記憶されているセットアッ
プメニューの内容を書き換える(7)。次に、受信バッ
ファ1012にデータがあるかどうかを判定し(8)、
YESならばステップ(5)へ戻り、NOならばステッ
プ(1)へ戻る。ここでは「オーバレイ」が「1」に書
き換えられる。なお、オフライン状態の時には操作者が
オンラインキー1を押すことによってオンラインにする
こともできるが、ここでは、セットアップ用ホスト10
08からオンライン移行命令を送信することによって印
刷装置1001をオンラインに移行させるものとする。
Next, the control data translating means 1011 analyzes the setup menu setting instruction of "overlay" to "1" and notifies the control means 1012 of the setup menu setting notification. Upon receiving the setup menu setting notification, the control unit 1012
The contents of the setup menu stored in the memory 1012A in the memory 12 are rewritten (7). Next, it is determined whether there is data in the reception buffer 1012 (8),
If yes, return to step (5); if no, return to step (1). Here, “overlay” is rewritten to “1”. In the off-line state, the operator can go online by pressing the online key 1, but here, the setup host 10
It is assumed that the printing apparatus 1001 is shifted to online by transmitting an online shift command from 08.

【0196】一方、ステップ(6)において、制御デー
タ翻訳手段1011がオンライン移行命令を解析する
と、制御手段1012に対してオンライン移行通知を行
う。制御手段1012はオンライン移行通知を受けた時
に印刷装置1001内にジャム、紙切れなどのエラー要
因が発生しているかどうかを判定して(9)、YESな
らば印刷装置1001をオンライン状態にし(10)、
インタフェース1009がセットアップ用ホスト100
8からのデータを受信しないように制御し(11)、カ
レントの翻訳手段を印刷データ翻訳手段1005に切り
替え(12)、インタフェース1003がホスト100
2からのデータを受信するように制御して(13)、オ
ンライン状態に移行する。
On the other hand, when the control data translating means 1011 analyzes the online transfer command in step (6), the control data translator 1011 notifies the control means 1012 of the online transfer. The control unit 1012 determines whether an error factor such as a jam or an out-of-paper condition has occurred in the printing apparatus 1001 upon receiving the online shift notification (9). If YES, the printing apparatus 1001 is brought online (10). ,
The interface 1009 is the host 100 for setup.
8 (11), and switches the current translation unit to the print data translation unit 1005 (12).
Then, control is performed so as to receive the data from the device 2 (13), and the system shifts to the online state.

【0197】一方、ステップ(9)において、制御手段
1012はオンライン移行通知を受けた時に印刷装置1
001内のジャム,紙切れ等のエラー要因が発生してい
ると判定された場合には、そのエラー要因が解除される
まではオンラインに移行することができない。
On the other hand, in step (9), when the control unit 1012 receives the online transfer notification,
If it is determined that an error factor such as a jam in 001 or a paper break has occurred, it is not possible to go online until the error factor is cleared.

【0198】また、ステップ(1)において印刷装置が
オフライン中に操作者がオンラインキー1を押下して、
印刷装置1001をオフラインにする場合にも印刷装置
1001内にジャム,紙切れなどのエラー要因がなけれ
ば、印刷装置1001をオンライン状態にし(10)、
インタフェース1009がセットアップ用ホスト100
8からのデータを受信しないように制御し(11)、カ
レントの翻訳手段を印刷データ翻訳手段1005に切り
替え(12)、インタフェース1003がホスト100
2からのデータを受信するように制御して(13)、オ
ンライン状態に移行する。
In step (1), the operator presses the online key 1 while the printing apparatus is off-line.
Even when the printing apparatus 1001 is taken off-line, if there is no error factor such as a jam or an out of paper in the printing apparatus 1001, the printing apparatus 1001 is brought online (10).
The interface 1009 is the host 100 for setup.
8 (11), and switches the current translation unit to the print data translation unit 1005 (12).
Then, control is performed so as to receive the data from the device 2 (13), and the system shifts to the online state.

【0199】また、ステップ(9)において、印刷装置
1001内のジャム,紙切れ等のエラー要因がある場合
にはそのエラー要因が解除されるまではオンラインに移
行することができない。
In step (9), if there is an error factor such as a paper jam or a paper break in the printing apparatus 1001, the printer cannot go online until the error factor is removed.

【0200】このようにしてオンライン状態に移行し
て、その後、図20のステップ(3)でホスト1002
から印刷データが送られてくると、その印刷データは、
インタフェース1003で受信し(4)、データを受信
バッファ1004に蓄積していく(5)。受信バッファ
1004内のデータはカレントの翻訳手段である印刷デ
ータ翻訳手段1005が命令単位で1つずつ解析し
(6)、該命令がオフライン移行命令かどうかを判定し
(7)、YESならばステップ(13)に進み、NOな
らば印刷用紙に描画する描画データを作成していく
(8)。
In this way, the state is shifted to the online state, and thereafter, in step (3) of FIG.
When print data is sent from
The data is received by the interface 1003 (4), and the data is accumulated in the reception buffer 1004 (5). The data in the receiving buffer 1004 is analyzed one by one by the print data translating means 1005 which is the current translating means (6), and it is determined whether or not the instruction is an offline shift instruction (7). Proceeding to (13), if NO, the drawing data to be drawn on the printing paper is created (8).

【0201】そして、ステップ(9)において、印刷デ
ータ翻訳手段1005は1ページ分の描画データが作成
できたと判定されたら、制御手段1012内のメモリ1
012Aに記憶されている「オーバレイ」の値を参照す
る。この時点では「オーバレイ」には「1」が設定され
ているので印刷データ翻訳手段1005は作成した描画
データにオーバレイページ1の描画データを重ね合わせ
た描画データを作成してエンジン部1007に送る(1
0)。
In step (9), if the print data translating means 1005 determines that one page of drawing data has been created, the print data translating means 1005
Reference is made to the “overlay” value stored in 012A. At this point, since “1” is set in “overlay”, the print data translating unit 1005 creates drawing data in which the drawing data of the overlay page 1 is superimposed on the created drawing data and sends it to the engine unit 1007 ( 1
0).

【0202】次に、エンジン部1007は、印刷データ
翻訳手段1005から描画データが送られてくると用紙
カセット1006から印刷用紙を取り込み、印刷して出
力する(11)。それから、ステップ(12)で受信バ
ッファ1004にデータがあるかどうかを判定して、Y
ESならばステップ(6)へ戻り、NOならばステップ
(1)へ戻り、印刷データ翻訳手段1005は、次のペ
ージ以降の処理を同様に行う。
Next, when drawing data is sent from the print data translating means 1005, the engine unit 1007 takes in printing paper from the paper cassette 1006, prints it, and outputs it (11). Then, in step (12), it is determined whether or not there is data in the reception buffer 1004.
If ES, the process returns to step (6). If NO, the process returns to step (1).

【0203】以下、本実施形態と第8,第9の発明の各
工程との対応及びその作用について図20,図21を参
照して説明する。
Hereinafter, the correspondence between this embodiment and the respective steps of the eighth and ninth inventions and the operation thereof will be described with reference to FIGS.

【0204】本発明に係る第8の発明は、所定の通信媒
体(ネットワークを含む)を介して外部装置から入力さ
れる印刷情報を複数の受信手段(インタフェース100
3,1009)により受信して処理する印刷制御方法で
あって、一方の受信手段が受信した印刷情報中の印刷デ
ータを解析する第1の解析工程(図20のステップ
(6))と、他方の受信手段が受信した印刷情報中の制
御データを解析する第2の解析工程(図21のステップ
(5))と、前記外部装置からのオフライン移行指示に
基づいて前記第1の解析工程を実行するために一方の受
信手段を有効に、他方の受信手段を無効とするオフライ
ン状態に遷移させる第1の遷移工程(図20のステップ
(7),(13)〜(16))と、前記外部装置からの
オンライン移行指示に基づいて前記第2の解析工程を実
行するために他方の受信手段によるデータ受信を有効
に、一方の受信手段によるデータ受信を無効に設定する
オフライン状態に遷移させる第2の遷移工程(図21の
ステップ(6),(9)〜(13))とをメモリ101
2Aに記憶される制御プログラムを制御手段1012が
実行して、いずれか一方の受信手段によるデータ受信状
態を確保して、オフライン移行後も、制御データに基づ
く処理を継続して実行させることを可能とする。
The eighth invention according to the present invention is directed to an eighth invention in which print information input from an external device via a predetermined communication medium (including a network) is received by a plurality of receiving means (interface 100).
3, 1009), wherein a first analysis step (step (6) in FIG. 20) for analyzing print data in print information received by one receiving unit, Executing the second analysis step (step (5) in FIG. 21) for analyzing the control data in the print information received by the receiving means, and the first analysis step based on an off-line shift instruction from the external device. A first transition step (steps (7), (13) to (16) in FIG. 20) of transitioning to an off-line state in which one receiving unit is enabled and the other receiving unit is disabled, In order to execute the second analysis step based on an online shift instruction from the apparatus, the apparatus is shifted to an offline state in which data reception by the other receiving means is enabled and data reception by one receiving means is disabled. That a second transition step (step of FIG. 21 (6), (9) - (13)) memory 101 and
The control unit 1012 executes the control program stored in the control unit 2A to secure the data reception state of one of the reception units, and to continue the process based on the control data even after the offline shift. And

【0205】本発明に係る第9の発明は、所定の通信媒
体(ネットワークを含む)を介して外部装置から入力さ
れる印刷情報を複数の受信手段(インタフェース100
3,1009)により受信して処理するコンピュータが
読出し可能なプログラムを格納した記憶媒体であって、
一方の受信手段が受信した印刷情報中の印刷データを解
析する第1の解析工程(図20のステップ(6))と、
他方の受信手段が受信した印刷情報中の制御データを解
析する第2の解析工程(図21のステップ(5))と、
前記外部装置からのオフライン移行指示に基づいて前記
第1の解析工程を実行するために一方の受信手段を有効
に、他方の受信手段を無効とするオフライン状態に遷移
させる第1の遷移工程(図20のステップ(7),(1
3)〜(16))と、前記外部装置からのオンライン移
行指示に基づいて前記第2の解析工程を実行するために
他方の受信手段によるデータ受信を有効に、一方の受信
手段によるデータ受信を無効に設定するオフライン状態
に遷移させる第2の遷移工程(図21のステップ
(6),(9)〜(13))とを含む、コンピュータが
読むことができるプログラムを記憶媒体に格納したもの
である。すなわち、メモリ1012A等のメモリ資源に
図20,図21に示す工程に対応するプログラムコード
を記憶させ、該プログラムコードを記憶した記憶媒体か
ら制御手段1012が読み出して実行する形態も本発明
の実施形態に含まれるものである。
The ninth invention according to the present invention is directed to a ninth invention, in which print information input from an external device via a predetermined communication medium (including a network) is received by a plurality of receiving means (interface 100).
A storage medium storing a computer-readable program for receiving and processing according to (3, 1009),
A first analysis step (step (6) in FIG. 20) of analyzing print data in the print information received by one of the receiving units;
A second analysis step (step (5) in FIG. 21) for analyzing the control data in the print information received by the other receiving unit;
A first transition step of making a transition to an off-line state in which one receiving unit is enabled and the other receiving unit is disabled in order to execute the first analysis step based on an offline transition instruction from the external device (FIG. Twenty steps (7), (1
3) to (16)), and in order to execute the second analysis step based on an online shift instruction from the external device, data reception by the other receiving unit is effectively performed, and data reception by one receiving unit is performed. A computer-readable program including a second transition step (steps (6), (9) to (13) in FIG. 21) for transitioning to an offline state set to be invalid, which is stored in a storage medium. is there. That is, an embodiment in which the program code corresponding to the steps shown in FIGS. 20 and 21 is stored in a memory resource such as the memory 1012A, and the control unit 1012 reads and executes the program code from a storage medium storing the program code is also an embodiment of the present invention. It is included in.

【0206】〔他の実施形態〕上記第1〜第4実施形態
では、ホストからオンライン移行命令、オフライン移行
命令のデータを送って印刷装置をオンライン状態、オフ
ライン状態に切り替える場合の例を示したが、ホストが
インタフェース上に信号線の制御をすることによって印
刷装置がオンライン状態、オフライン状態に切り替わる
ようなシステムであってもよい。
[Other Embodiments] In the above-described first to fourth embodiments, examples have been described in which the printing apparatus is switched between an online state and an offline state by sending data of an online shift command and an offline shift command from the host. Alternatively, the system may be such that the printing apparatus switches between an online state and an offline state when the host controls a signal line on the interface.

【0207】また、第1〜第4実施形態では、ホストか
らオンライン移行命令、オフライン移行命令を送って印
刷装置をオンライン状態、オフライン状態に切り替え、
ホストはオンライン中は印刷データを送り、オフライン
中は制御データを送るような場合の例を示したが、操作
者が操作パネルのオンラインキーを押したり、ジャムや
紙切れなどのエラーが発生/解除してオンライン状態、
オフライン状態に切り替わる場合に印刷装置からホスト
へインタフェースを介して送られるデータ、あるいは
(例えばセントロニクスインタフェースのセレクト信号
のような)信号線によって印刷装置がオンライン状態で
あるかオフライン状態であるかホスト側が判断してそれ
によって印刷データを送るか制御データを送るか切り替
えられるようなシステムであってもよい。
In the first to fourth embodiments, the host sends an online shift command and an offline shift command to switch the printing apparatus between an online state and an offline state.
In the above example, the host sends print data while online and sends control data while offline.However, when an operator presses the online key on the operation panel, or an error such as a paper jam or paper outage occurs / cancels. Online
The host determines whether the printing device is online or offline by data sent from the printing device to the host via the interface when switching to the off-line state, or by a signal line (for example, a select signal of the Centronics interface). The system may be capable of switching between sending print data and sending control data.

【0208】さらに、上記第4実施形態では印刷装置に
印刷データを送るホストと制御データを送るホストが異
なる場合の例を示したが、同一のホストであってもよい
し、ネットワーク環境のホストであってもよい。
Further, in the fourth embodiment, an example is shown in which the host that sends print data to the printing apparatus and the host that sends control data are different. However, the same host may be used, or a host in a network environment may be used. There may be.

【0209】また、第1〜第4実施形態では、印刷装置
がオフライン中にホストから制御データを送ってリセッ
トやセットアップメニューの変更を行う場合の例を示し
たが、操作パネルからできることであればどのような制
御であってもよい。
Further, in the first to fourth embodiments, an example has been described in which the host sends control data from the host to reset or change the setup menu while the printer is off-line. Any control may be used.

【0210】さらに、第1〜第3実施形態では、オフラ
イン中にデータ受信を可能とするかどうか操作パネルの
セットアップメニューから設定できる場合の例を示した
が、設定できず必ずオフライン中のデータ受信が可能な
印刷装置であってよい。
Further, in the first to third embodiments, an example has been shown in which the setting can be made from the setup menu of the operation panel as to whether data reception is possible during offline. May be a printing device capable of performing the following.

【0211】また、第1,第2実施形態では、操作者が
オンラインキーを押下して印刷装置がオフライン状態に
なったり、ジャムや紙切れ等のエラーが発生して印刷装
置がオフライン状態になった場合にはホストからのデー
タを受信しないような制御を行う場合の例を示したが、
印刷装置がデータを受信しない状態の時にホストが(例
えばセントロニクスインタフェースのインプットプライ
ム信号のような)インタフェース上の信号を変化させ、
それによって印刷装置がリセットされ、それ以後のホス
トから送られてくるデータを印刷装置が受信するような
システムであってもよい。
In the first and second embodiments, the printing apparatus goes offline due to the operator pressing the online key and the printing apparatus goes offline, or an error such as a paper jam or running out of paper occurs. In the above case, an example is shown in which control is performed so as not to receive data from the host.
When the host changes the signal on the interface (e.g., the input prime signal of the Centronics interface) when the printing device is not receiving data,
Thus, the printing apparatus may be reset, and the system may receive the data sent from the host thereafter.

【0212】以下、図22に示すメモリマップを参照し
て本発明に係る印刷システムで読み出し可能なデータ処
理プログラムの構成について説明する。
Hereinafter, the configuration of a data processing program readable by the printing system according to the present invention will be described with reference to the memory map shown in FIG.

【0213】図22は、本発明に係る印刷システムで読
み出し可能な各種データ処理プログラムを格納する記憶
媒体のメモリマップを説明する図である。
FIG. 22 is a view for explaining a memory map of a storage medium for storing various data processing programs which can be read by the printing system according to the present invention.

【0214】なお、特に図示しないが、記憶媒体に記憶
されるプログラム群を管理する情報、例えばバージョン
情報,作成者等も記憶され、かつ、プログラム読み出し
側のOS等に依存する情報、例えばプログラムを識別表
示するアイコン等も記憶される場合もある。
Although not shown, information for managing a group of programs stored in the storage medium, such as version information and creator, is also stored, and information dependent on the OS or the like on the program reading side, such as a program, An icon or the like for identification display may also be stored.

【0215】さらに、各種プログラムに従属するデータ
も上記ディレクトリに管理されている。また、各種プロ
グラムをコンピュータにインストールするためのプログ
ラムや、インストールするプログラムが圧縮されている
場合に、解凍するプログラム等も記憶される場合もあ
る。
Further, data subordinate to various programs is also managed in the directory. In addition, a program for installing various programs on a computer or a program for decompressing a program to be installed when the program to be installed is compressed may be stored.

【0216】本実施形態における図4〜図6,図8〜図
11,図14〜図18,図20,図21に示す機能が外
部からインストールされるプログラムによって、ホスト
コンピュータにより遂行されていてもよい。そして、そ
の場合、CD−ROMやフラッシュメモリやFD等の記
憶媒体により、あるいはネットワークを介して外部の記
憶媒体から、プログラムを含む情報群を出力装置に供給
される場合でも本発明は適用されるものである。
The functions shown in FIG. 4 to FIG. 6, FIG. 8 to FIG. 11, FIG. 14 to FIG. 20, FIG. 20 and FIG. Good. In this case, the present invention is applied even when a group of information including a program is supplied to the output device from a storage medium such as a CD-ROM, a flash memory, or an FD, or from an external storage medium via a network. Things.

【0217】以上のように、前述した実施形態の機能を
実現するソフトウエアのプログラムコードを記録した記
憶媒体を、システムあるいは装置に供給し、そのシステ
ムあるいは装置のコンピュータ(またはCPUやMP
U)が記憶媒体に格納されたプログラムコードを読出し
実行することによっても、本発明の目的が達成されるこ
とは言うまでもない。
As described above, the storage medium storing the program codes of the software for realizing the functions of the above-described embodiments is supplied to the system or the apparatus, and the computer (or CPU or MP) of the system or the apparatus is supplied.
It goes without saying that the object of the present invention is also achieved when U) reads and executes the program code stored in the storage medium.

【0218】この場合、記憶媒体から読み出されたプロ
グラムコード自体が本発明の新規な機能を実現すること
になり、そのプログラムコードを記憶した記憶媒体は本
発明を構成することになる。
In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.

【0219】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピーディスク,ハードディ
スク,光ディスク,光磁気ディスク,CD−ROM,C
D−R,磁気テープ,不揮発性のメモリカード,RO
M,EEPROM等を用いることができる。
As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, C
DR, magnetic tape, nonvolatile memory card, RO
M, EEPROM and the like can be used.

【0220】また、コンピュータが読み出したプログラ
ムコードを実行することにより、前述した実施形態の機
能が実現されるだけでなく、そのプログラムコードの指
示に基づき、コンピュータ上で稼働しているOS(オペ
レーティングシステム)等が実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれることは言うまでもない。
When the computer executes the readout program codes, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instructions of the program codes. ) And the like perform part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0221】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張ボー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書き込まれた後、そのプログラムコードの指
示に基づき、その機能拡張ボードや機能拡張ユニットに
備わるCPU等が実際の処理の一部または全部を行い、
その処理によって前述した実施形態の機能が実現される
場合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instruction of the program code, The CPU provided in the function expansion board or function expansion unit performs part or all of the actual processing,
It goes without saying that a case where the function of the above-described embodiment is realized by the processing is also included.

【0222】[0222]

【発明の効果】以上説明したように、本発明に係る第1
の発明によれば、オフライン制御手段は、前記外部装置
からのオフライン移行指示に基づいて前記印刷情報の解
析候補を前記第1の解析手段から前記第2の解析手段に
切り換えて前記受信手段の状態を入力される前記制御デ
ータを解析可能な第1の状態に遷移させ、かつ、前記外
部装置からのオンライン移行指示に基づいて前記印刷情
報の解析候補を前記第2の解析手段から前記第1の解析
手段に切り換えて前記受信手段の状態を入力される前記
制御データを解析可能な第2の状態に遷移させるので、
外部装置から入力される制御データに基づいて受信手段
の状態をオフライン状態またはオンライン状態のいずれ
にも切り換え制御して、オフライン状態移行後、外部装
置から入力される制御データに基づく解析処理を継続し
て優先実行させることができる。
As described above, the first embodiment according to the present invention is described.
According to the invention, the offline control unit switches the analysis candidate of the print information from the first analysis unit to the second analysis unit based on an offline shift instruction from the external device, and switches the state of the reception unit. Is transferred to a first state in which the control data can be analyzed, and an analysis candidate of the print information is sent from the second analysis unit to the first state based on an online shift instruction from the external device. Since the state of the receiving means is switched to the analyzing means and the control data, to which the state of the receiving means is inputted, is changed to the second state capable of being analyzed,
The state of the receiving means is controlled to be switched to either the offline state or the online state based on the control data input from the external device, and after the transition to the offline state, the analysis processing based on the control data input from the external device is continued. Priority.

【0223】第2の発明によれば、前記オフライン制御
手段により前記第1の状態に遷移した場合に、前記第2
の解析手段が前記外部装置から入力される前記制御デー
タを解析してパネル操作すべき所定の設定処理を代行す
るので、本来ならばオフライン状態の下でパネル指示さ
れるべき設定項目等の制御をホストからの制御データで
代替させることでき、ユーザによる手動操作負担を大幅
に軽減できる。
According to the second aspect, when the offline control means makes a transition to the first state, the second state
The analysis means analyzes the control data input from the external device and performs a predetermined setting process to perform a panel operation, so that control of setting items and the like which should be instructed to be performed on the panel under an offline state is performed. The control data from the host can be substituted, and the manual operation burden on the user can be greatly reduced.

【0224】第3の発明によれば、前記オフライン制御
手段は、前記計時手段が前記所定時間を計時した後、前
記外部装置からのオフライン移行指示に基づいて前記印
刷情報の解析候補を前記第1の解析手段から前記第2の
解析手段に切り換えて前記受信手段の状態を入力される
前記制御データを解析可能な第1の状態に遷移させるの
で、操作者が入力手段からオフライン移行指示を実行し
た後放置される事態が発生しても、所定時間経過後に外
部装置からの制御データを受け付け可能な状態に遷移さ
せて印刷情報の処理を続行することができる。
[0224] According to the third invention, after the off-line control means has counted the predetermined time, the off-line control means determines the print information analysis candidate based on the off-line shift instruction from the external device. Is switched from the analyzing means to the second analyzing means, and the control data to which the state of the receiving means is inputted is transited to the first state capable of being analyzed, so that the operator executes an offline shift instruction from the input means. Even if a later situation occurs, it is possible to transition to a state in which control data from an external device can be accepted after a predetermined time has elapsed, and to continue processing print information.

【0225】第4の発明によれば、前記オフライン制御
手段は、前記設定手段による可否条件に基づいて前記第
1の状態への遷移を解除し、前記受信手段が前記外部装
置からのデータ入力を拒否するオフライン状態に強制設
定するので、使用者の使用環境に見合う所望のオフライ
ン処理環境を容易に設定することができる。
[0225] According to the fourth invention, the offline control means cancels the transition to the first state based on the permission / inhibition condition by the setting means, and the receiving means receives data input from the external device. Since the rejected offline state is forcibly set, a desired offline processing environment suitable for the user's use environment can be easily set.

【0226】第5の発明によれば、オフライン制御手段
は、前記外部装置からのオフライン移行指示に基づいて
前記第1の解析手段を有効とするように一方の受信手段
を有効に他方の受信手段を無効とするオフライン状態に
遷移させ、かつ、前記外部装置からのオンライン移行指
示に基づいて前記第2の解析手段を有効とするように他
方の受信手段を有効に一方の受信手段を無効とするオフ
ライン状態に遷移させるので、いずれか一方の受信手段
によるデータ受信状態を確保して、オフライン移行後
も、制御データに基づく処理を継続して実行させること
ができる。
According to the fifth aspect, the off-line control means activates one of the receiving means so as to validate the first analyzing means based on an off-line shift instruction from the external device. To the off-line state, and the other receiving unit is enabled so that the second analyzing unit is enabled based on an online shift instruction from the external device, and the one receiving unit is disabled. Since the transition is made to the offline state, it is possible to secure the data reception state by one of the receiving means and to continue the processing based on the control data even after the offline transition.

【0227】第6,第7の発明によれば、前記外部装置
からのオフライン移行指示に基づいて前記印刷情報の解
析工程を前記第1の解析工程から前記第2の解析工程に
切り換えて前記受信部の状態を入力される前記制御デー
タを解析可能な第1の状態に遷移させるとともに、前記
外部装置からのオンライン移行指示に基づいて前記印刷
情報の解析候補を前記第2の解析工程から前記第1の解
析工程に切り換えて前記受信部の状態を入力される前記
制御データを解析可能な第2の状態に遷移させるので、
外部装置から入力される制御データに基づいて受信手段
の状態をオフライン状態またはオンライン状態のいずれ
にも切り換え制御して、オフライン状態移行後、外部装
置から入力される制御データに基づく解析処理を継続し
て優先実行させることができる。
According to the sixth and seventh aspects, the print information analysis step is switched from the first analysis step to the second analysis step based on an off-line shift instruction from the external device, and the reception is performed. The state of the copy unit is transited to a first state in which the control data that can be analyzed is analyzed, and an analysis candidate of the print information is extracted from the second analysis step based on an online shift instruction from the external device. Since the control data is switched to the second state in which the control data to which the state of the receiving unit is input by switching to the first analysis step can be analyzed,
The state of the receiving means is controlled to be switched to either the offline state or the online state based on the control data input from the external device, and after the transition to the offline state, the analysis processing based on the control data input from the external device is continued. Priority.

【0228】第8,第9の発明によれば、前記外部装置
からのオフライン移行指示に基づいて前記第1の解析工
程を有効とする一方の受信手段を有効に、他方の受信手
段を無効とするオフライン状態に遷移させるとともに、
前記外部装置からのオンライン移行指示に基づいて前記
第2の解析工程を実行するために他方の受信手段による
データ受信を有効に、一方の受信手段によるデータ受信
を無効に設定するオフライン状態に遷移させるので、い
ずれか一方の受信手段によるデータ受信状態を確保し
て、オフライン移行後も、制御データに基づく処理を継
続して実行させることができる。
According to the eighth and ninth aspects, one receiving means for validating the first analysis step is validated and the other receiving means is invalidated based on an off-line shift instruction from the external device. To the offline state,
In order to execute the second analysis step based on an on-line shift instruction from the external device, a transition is made to an offline state in which data reception by the other receiving unit is enabled and data reception by one receiving unit is disabled. Therefore, it is possible to secure the data receiving state of either one of the receiving units, and to continue the processing based on the control data even after the offline shift.

【0229】従って、本来オフライン状態で操作パネル
上から設定される指示に基づいて実行すべき種々の制御
と同等の制御を外部装置から受信する制御データに基づ
いて代行させることができ、ユーザによる操作負担を大
幅軽減できる等の効果を奏する。
Therefore, control equivalent to various controls to be executed based on instructions set on the operation panel in the off-line state can be performed based on control data received from an external device, and can be operated by the user. This has the effect of greatly reducing the burden.

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

【図1】本発明の第1実施形態を示す印刷制御装置を適
用可能な印刷システムの構成を説明するブロック図であ
る。
FIG. 1 is a block diagram illustrating a configuration of a printing system to which a print control device according to a first embodiment of the present invention can be applied.

【図2】図1に示した操作パネルの一例を示す外観図で
ある。
FIG. 2 is an external view showing an example of an operation panel shown in FIG.

【図3】図1に示した印刷システムのデータ通信状態を
説明する図である。
FIG. 3 is a diagram illustrating a data communication state of the printing system illustrated in FIG. 1;

【図4】本発明に係る印刷制御装置の第1のデータ処理
手順の一例を示すフローチャートである。
FIG. 4 is a flowchart illustrating an example of a first data processing procedure of the print control apparatus according to the present invention.

【図5】図4に示した第1オフライン処理ルーチンの詳
細手順の一例を示すフローチャートである。
FIG. 5 is a flowchart illustrating an example of a detailed procedure of a first offline processing routine illustrated in FIG. 4;

【図6】図4に示した第2オフライン処理ルーチンの詳
細手順の一例を示すフローチャートである。
FIG. 6 is a flowchart illustrating an example of a detailed procedure of a second offline processing routine illustrated in FIG. 4;

【図7】本発明の第2実施形態を示す印刷制御装置を適
用可能な印刷システムの構成を説明するブロック図であ
る。
FIG. 7 is a block diagram illustrating a configuration of a printing system to which a print control device according to a second embodiment of the present invention can be applied.

【図8】本発明に係る印刷制御装置の第2のデータ処理
手順の一例を示すフローチャートである。
FIG. 8 is a flowchart illustrating an example of a second data processing procedure of the print control apparatus according to the present invention.

【図9】本発明に係る印刷制御装置の第2のデータ処理
手順の一例を示すフローチャートである。
FIG. 9 is a flowchart illustrating an example of a second data processing procedure of the print control apparatus according to the present invention.

【図10】図8に示した第1のオフライン処理ルーチン
の詳細手順の一例を示すフローチャートである。
FIG. 10 is a flowchart illustrating an example of a detailed procedure of a first offline processing routine illustrated in FIG. 8;

【図11】図8に示した第2のオフライン処理ルーチン
の詳細手順の一例を示すフローチャートである。
FIG. 11 is a flowchart illustrating an example of a detailed procedure of a second offline processing routine illustrated in FIG. 8;

【図12】本発明の第3実施形態を示す印刷制御装置を
適用可能な印刷システムの構成を説明するブロック図で
ある。
FIG. 12 is a block diagram illustrating a configuration of a printing system to which a print control device according to a third embodiment of the present invention can be applied.

【図13】図12に示した印刷システムのデータ通信状
態を説明する図である。
13 is a diagram illustrating a data communication state of the printing system illustrated in FIG.

【図14】本発明に係る印刷制御装置の第3のデータ処
理手順の一例を示すフローチャートである。
FIG. 14 is a flowchart illustrating an example of a third data processing procedure of the print control apparatus according to the present invention.

【図15】本発明に係る印刷制御装置の第3のデータ処
理手順の一例を示すフローチャートである。
FIG. 15 is a flowchart illustrating an example of a third data processing procedure of the print control apparatus according to the present invention.

【図16】図14に示した第1のオフライン処理ルーチ
ンの詳細手順の一例を示すフローチャートである。
FIG. 16 is a flowchart illustrating an example of a detailed procedure of a first offline processing routine illustrated in FIG. 14;

【図17】図15に示した第2のオフライン処理ルーチ
ンの詳細手順の一例を示すフローチャートである。
FIG. 17 is a flowchart illustrating an example of a detailed procedure of a second offline processing routine illustrated in FIG. 15;

【図18】図15に示した第3のオフライン処理ルーチ
ンの詳細手順の一例を示すフローチャートである。
FIG. 18 is a flowchart illustrating an example of a detailed procedure of a third offline processing routine illustrated in FIG. 15;

【図19】本発明の第4実施形態を示す印刷制御装置を
適用可能な印刷システムの構成を説明するブロック図で
ある。
FIG. 19 is a block diagram illustrating a configuration of a printing system to which a print control device according to a fourth embodiment of the present invention can be applied.

【図20】本発明に係る印刷制御装置の第4のデータ処
理手順の一例を示すフローチャートである。
FIG. 20 is a flowchart illustrating an example of a fourth data processing procedure of the print control apparatus according to the present invention.

【図21】図20に示したオフライン処理ルーチンの詳
細手順の一例を示すフローチャートである。
FIG. 21 is a flowchart illustrating an example of a detailed procedure of an offline processing routine illustrated in FIG. 20;

【図22】本発明に係る印刷システムで読み出し可能な
各種データ処理プログラムを格納する記憶媒体のメモリ
マップを説明する図である。
FIG. 22 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by the printing system according to the present invention.

【図23】従来の印刷システムのデータ処理構成を説明
するブロック図である。
FIG. 23 is a block diagram illustrating a data processing configuration of a conventional printing system.

【図24】図23に示した印刷システムのデータ通信状
態を説明する図である。
24 illustrates a data communication state of the printing system illustrated in FIG. 23.

【図25】図23に示した印刷システムのデータ処理手
順の一例を示すフローチャートである。
25 is a flowchart illustrating an example of a data processing procedure of the printing system illustrated in FIG. 23.

【図26】図23に示した印刷システムのデータ処理手
順の一例を示すフローチャートである。
26 is a flowchart illustrating an example of a data processing procedure of the printing system illustrated in FIG. 23.

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

101 印刷装置 102 ホストコンピュータ 103 インタフェース 104 受信バッファ 105 印刷データ翻訳手段 106 用紙カセット 107 エンジン部 108 制御データ翻訳手段 109 制御手段 109A メモリ 110 切替手段 111 操作パネル Reference Signs List 101 printing device 102 host computer 103 interface 104 reception buffer 105 print data translating means 106 paper cassette 107 engine unit 108 control data translating means 109 control means 109A memory 110 switching means 111 operation panel

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 所定の通信媒体を介して外部装置から入
力される印刷情報を受信する受信手段と、 前記受信手段が受信した印刷情報中の印刷データを解析
する第1の解析手段と、 前記受信手段が受信した印刷情報中の制御データを解析
する第2の解析手段と、 前記外部装置からのオフライン移行指示に基づいて前記
印刷情報の解析候補を前記第1の解析手段から前記第2
の解析手段に切り換えて前記受信手段の状態を入力され
る前記制御データを解析可能な第1の状態に遷移させ、
かつ、前記外部装置からのオンライン移行指示に基づい
て前記印刷情報の解析候補を前記第2の解析手段から前
記第1の解析手段に切り換えて前記受信手段の状態を入
力される前記制御データを解析可能な第2の状態に遷移
させるオフライン制御手段と、を有することを特徴とす
る印刷制御装置。
A receiving unit configured to receive print information input from an external device via a predetermined communication medium; a first analyzing unit configured to analyze print data in the print information received by the receiving unit; A second analysis unit that analyzes control data in the print information received by the reception unit; and a second analysis unit that analyzes the print information from the first analysis unit based on an offline shift instruction from the external device.
The control data to which the state of the receiving means is inputted by switching to the analyzing means is transited to a first state capable of being analyzed,
In addition, based on an on-line shift instruction from the external device, the print data analysis candidate is switched from the second analysis unit to the first analysis unit to analyze the control data for inputting the state of the reception unit. And a offline control unit for causing a transition to a possible second state.
【請求項2】 前記オフライン制御手段により前記第1
の状態に遷移した場合に、前記第2の解析手段が前記外
部装置から入力される前記制御データを解析してパネル
操作すべき所定の設定処理を代行することを特徴とする
請求項1記載の印刷制御装置。
2. The method according to claim 1, wherein the first control unit is configured to control the first line by the offline control unit.
2. The apparatus according to claim 1, wherein when the state transits to the state of 2, the second analysis means analyzes the control data input from the external device and substitutes a predetermined setting process for panel operation. Print control device.
【請求項3】 前記受信手段の状態をオフライン状態に
遷移させるための指示を入力する入力手段と、 前記入力手段による指示時から所定時間を計時する計時
手段とを有し、 前記オフライン制御手段は、前記計時手段が前記所定時
間を計時した後、前記外部装置からのオフライン移行指
示に基づいて前記印刷情報の解析候補を前記第1の解析
手段から前記第2の解析手段に切り換えて前記受信手段
の状態を入力される前記制御データを解析可能な第1の
状態に遷移させることを特徴とする請求項1記載の印刷
制御装置。
3. An input unit for inputting an instruction for changing a state of the receiving unit to an offline state, and a clock unit for counting a predetermined time from the time of the instruction by the input unit, wherein the offline control unit includes: After the time counting means has counted the predetermined time, the printing information analysis candidate is switched from the first analysis means to the second analysis means based on an offline shift instruction from the external device, and the reception means is switched. 2. The printing control apparatus according to claim 1, wherein the state of the control data is changed to a first state in which the input control data can be analyzed.
【請求項4】 前記オフライン状態に遷移した後、前記
受信手段が前記外部装置からのデータを受信すべきかど
うかを決定するための可否条件を設定する設定手段と、 前記オフライン制御手段は、前記設定手段による可否条
件に基づいて前記第1の状態への遷移を解除し、前記受
信手段が前記外部装置からのデータ入力を拒否するオフ
ライン状態に強制設定することを特徴とする請求項1記
載の印刷制御装置。
4. A setting means for setting a permission / prohibition condition for determining whether or not the receiving means should receive data from the external device after the transition to the off-line state, and the off-line control means comprises: 2. The printing method according to claim 1, wherein the transition to the first state is canceled based on a permission condition of the means, and the receiving means forcibly sets an off-line state in which data input from the external device is refused. Control device.
【請求項5】 所定の通信媒体を介して外部装置から入
力される印刷情報を受信する複数の受信手段と、 一方の受信手段が受信した印刷情報中の印刷データを解
析する第1の解析手段と、 他方の受信手段が受信した印刷情報中の制御データを解
析する第2の解析手段と、 前記外部装置からのオフライン移行指示に基づいて前記
第1の解析手段を有効とするように一方の受信手段を有
効に他方の受信手段を無効とするオフライン状態に遷移
させ、かつ、前記外部装置からのオンライン移行指示に
基づいて前記第2の解析手段を有効とするように他方の
受信手段を有効に一方の受信手段を無効とするオフライ
ン状態に遷移させるオフライン制御手段と、を有するこ
とを特徴とする印刷制御装置。
5. A plurality of receiving means for receiving print information input from an external device via a predetermined communication medium, and a first analyzing means for analyzing print data in the print information received by one of the receiving means. A second analyzing means for analyzing control data in the print information received by the other receiving means, and a second analyzing means for validating the first analyzing means based on an off-line shift instruction from the external device. A transition is made to an offline state in which the receiving means is enabled and the other receiving means is disabled, and the other receiving means is enabled so as to enable the second analyzing means based on an online shift instruction from the external device. And a offline control unit for transiting to an offline state in which one of the receiving units is invalidated.
【請求項6】 所定の通信媒体を介して外部装置から入
力される印刷情報を受信部により受信して処理する印刷
制御方法であって、 該受信した印刷情報中の印刷データを解析する第1の解
析工程と、 該受信した印刷情報中の制御データを解析する第2の解
析工程と、 前記外部装置からのオフライン移行指示に基づいて前記
印刷情報の解析工程を前記第1の解析工程から前記第2
の解析工程に切り換えて前記受信部の状態を入力される
前記制御データを解析可能な第1の状態に遷移させる第
1の遷移工程と、 前記外部装置からのオンライン移行指示に基づいて前記
印刷情報の解析候補を前記第2の解析工程から前記第1
の解析工程に切り換えて前記受信部の状態を入力される
前記制御データを解析可能な第2の状態に遷移させる第
2の遷移工程と、を有することを特徴とする印刷制御方
法。
6. A print control method for receiving and processing print information input from an external device via a predetermined communication medium by a receiving unit, the method comprising: analyzing a print data in the received print information. An analysis step of analyzing control data in the received print information; and an analysis step of the print information based on an offline shift instruction from the external device. Second
A first transition step of switching the control data, to which the state of the receiving unit is input, to a first state that can be analyzed, and the print information based on an online transition instruction from the external device. From the second analysis step to the first
And a second transition step of transiting the control data, to which the state of the receiving unit is input, to a second state in which the control data can be analyzed.
【請求項7】 所定の通信媒体を介して外部装置から入
力される印刷情報を受信部により受信して処理するコン
ピュータが読出し可能なプログラムを格納した記憶媒体
であって、 前記外部装置から入力される印刷情報を受信する受信工
程と、 該受信した印刷情報中の印刷データを解析する第1の解
析工程と、 該受信した印刷情報中の制御データを解析する第2の解
析工程と、 前記外部装置からのオフライン移行指示に基づいて前記
印刷情報の解析工程を前記第1の解析工程から前記第2
の解析工程に切り換えて前記受信部の状態を入力される
前記制御データを解析可能な第1の状態に遷移させる第
1の遷移工程と、 前記外部装置からのオンライン移行指示に基づいて前記
印刷情報の解析候補を前記第2の解析工程から前記第1
の解析工程に切り換えて前記受信部の状態を入力される
前記制御データを解析可能な第2の状態に遷移させる第
2の遷移工程とを含む、コンピュータが読むことができ
るプログラムを格納したことを特徴とする記憶媒体。
7. A storage medium storing a computer-readable program for receiving and processing print information input from an external device via a predetermined communication medium by a receiving unit, wherein the storage medium stores a program readable from the external device. A receiving step of receiving print information, a first analyzing step of analyzing print data in the received print information, a second analyzing step of analyzing control data of the received print information, The print information analysis step is performed from the first analysis step to the second
A first transition step of switching the control data, to which the state of the receiving unit is input, to a first state that can be analyzed, and the print information based on an online transition instruction from the external device. From the second analysis step to the first
A computer-readable program, including a second transition step of switching the control data to which the state of the receiving unit is input and transiting the control data to a second state that can be analyzed. Characteristic storage medium.
【請求項8】 所定の通信媒体を介して外部装置から入
力される印刷情報を複数の受信手段により受信して処理
する印刷制御方法であって、 一方の受信手段が受信した印刷情報中の印刷データを解
析する第1の解析工程と、 他方の受信手段が受信した印刷情報中の制御データを解
析する第2の解析工程と、 前記外部装置からのオフライン移行指示に基づいて前記
第1の解析工程を実行するために一方の受信手段を有効
に、他方の受信手段を無効とするオフライン状態に遷移
させる第1の遷移工程と、 前記外部装置からのオンライン移行指示に基づいて前記
第2の解析工程を実行するために他方の受信手段による
データ受信を有効に、一方の受信手段によるデータ受信
を無効に設定するオフライン状態に遷移させる第2の遷
移工程と、を有することを特徴とする印刷制御装置。
8. A print control method for receiving print information input from an external device via a predetermined communication medium by a plurality of receiving means and processing the print information, the printing method comprising: A first analyzing step of analyzing data; a second analyzing step of analyzing control data in print information received by the other receiving unit; and the first analyzing step based on an offline shift instruction from the external device. A first transition step of transiting to an off-line state in which one of the receiving means is enabled and the other receiving means is invalid in order to execute the step; and the second analysis is performed based on an online transition instruction from the external device. A second transition step of transiting to an off-line state in which the data reception by the other reception unit is set to be valid and the data reception by the one reception unit is set to be invalid in order to execute the step. Print control apparatus, characterized in that.
【請求項9】 所定の通信媒体を介して外部装置から入
力される印刷情報を複数の受信手段により受信して処理
するコンピュータが読出し可能なプログラムを格納した
記憶媒体であって、 一方の受信手段が受信した印刷情報中の印刷データを解
析する第1の解析工程と、 他方の受信手段が受信した印刷情報中の制御データを解
析する第2の解析工程と、 前記外部装置からのオフライン移行指示に基づいて前記
第1の解析工程を実行するために一方の受信手段を有効
に、他方の受信手段を無効とするオフライン状態に遷移
させる第1の遷移工程と、 前記外部装置からのオンライン移行指示に基づいて前記
第2の解析工程を実行するために他方の受信手段による
データ受信を有効に、一方の受信手段によるデータ受信
を無効に設定するオフライン状態に遷移させる第2の遷
移工程とを含む、コンピュータが読むことができるプロ
グラムを格納したことを特徴とする記憶媒体。
9. A storage medium storing a computer readable program for receiving and processing print information input from an external device via a predetermined communication medium by a plurality of receiving means, wherein the one receiving means A first analyzing step of analyzing the print data in the print information received by the second receiving means, a second analyzing step of analyzing the control data in the print information received by the other receiving means, and an offline shift instruction from the external device A first transition step in which one of the receiving units is enabled to execute the first analysis step and a transition is made to an off-line state in which the other receiving unit is invalidated, based on the following: an online transition instruction from the external device In order to execute the second analysis step based on the above, the data receiving by the other receiving means is enabled and the data receiving by one receiving means is disabled. And a second transition step of transition to the state, the storage medium characterized by storing a program which a computer can read.
JP8308912A 1996-11-20 1996-11-20 Printing controller, its controlling method and storage medium for storing program to be read out by computer Pending JPH10149269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8308912A JPH10149269A (en) 1996-11-20 1996-11-20 Printing controller, its controlling method and storage medium for storing program to be read out by computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8308912A JPH10149269A (en) 1996-11-20 1996-11-20 Printing controller, its controlling method and storage medium for storing program to be read out by computer

Publications (1)

Publication Number Publication Date
JPH10149269A true JPH10149269A (en) 1998-06-02

Family

ID=17986778

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8308912A Pending JPH10149269A (en) 1996-11-20 1996-11-20 Printing controller, its controlling method and storage medium for storing program to be read out by computer

Country Status (1)

Country Link
JP (1) JPH10149269A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6629790B2 (en) 2000-03-17 2003-10-07 Seiko Epson Corporation Terminal printing apparatus, method of processing received data therein, and computer program product for achieving the method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6629790B2 (en) 2000-03-17 2003-10-07 Seiko Epson Corporation Terminal printing apparatus, method of processing received data therein, and computer program product for achieving the method

Similar Documents

Publication Publication Date Title
JP2004326601A (en) Print controller, user interface, print control method, computer program, and computer readable recording medium
US7843589B2 (en) Image forming system and image forming apparatus
JPH09146731A (en) Printing instruction device
JP4967158B2 (en) Information processing apparatus and information processing method
RU2694281C1 (en) Image forming device, information processing method and program
JP2001199577A (en) Printer and printer system
JP2002127570A (en) Printer
JPH10149269A (en) Printing controller, its controlling method and storage medium for storing program to be read out by computer
JPH0784736A (en) Image output device
JP2007238305A (en) Image forming device
JPH0635634A (en) Printer
JP2001306281A (en) Printing device, method for updating its control information and computer readable storage medium
JP3179695B2 (en) Image forming apparatus and control method thereof
JP2009003621A (en) Print unit, and distributed print control unit
JP4591087B2 (en) Printing apparatus, printing support apparatus, printing method, and printing support method
US6633397B2 (en) Output apparatus and output environment setting method in output apparatus
JPH08282064A (en) Recording apparatus and recording control method
KR100369381B1 (en) Method for printing partition of document
JP4669862B2 (en) Image forming system and print setting program
JP3604885B2 (en) Image processing apparatus, data processing method for image processing apparatus, and storage medium storing computer-readable program
JP5062750B2 (en) Image forming apparatus
JP2003312106A (en) Print controller, print controlling method, storage medium and program
JPH1131059A (en) Print control device and method, and storage medium storing computer readable program
JPH09179700A (en) Printer, printing device, printing system, and information processor
JP2006142607A (en) Image output device