JPH08310086A - Information processing apparatus and printing method thereof - Google Patents

Information processing apparatus and printing method thereof

Info

Publication number
JPH08310086A
JPH08310086A JP7149427A JP14942795A JPH08310086A JP H08310086 A JPH08310086 A JP H08310086A JP 7149427 A JP7149427 A JP 7149427A JP 14942795 A JP14942795 A JP 14942795A JP H08310086 A JPH08310086 A JP H08310086A
Authority
JP
Japan
Prior art keywords
print
printing
unit
mode
power saving
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
JP7149427A
Other languages
Japanese (ja)
Inventor
Masaki Nishiyama
政希 西山
Nobuyoshi Tanaka
信好 田中
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 JP7149427A priority Critical patent/JPH08310086A/en
Publication of JPH08310086A publication Critical patent/JPH08310086A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

(57)【要約】 【目的】 印刷中に早急にサスペンド状態に移行できる
情報処理装置を提供する。 【構成】 省電力モードを具備するホストコンピュータ
は、省電力モードと通常モードとを切り替える手段と、
モードの切り替えを待機する手段と、印刷指示に応じて
印刷待ち行列に印刷データを格納する手段と、印刷待ち
行列に格納された印刷データを印刷する手段とを備え、
印刷ページ毎に電力モードを判断して適切な時に省電力
モードに遷移する。また、復帰後に未印刷の印刷待ち行
列に格納された印刷データを検索して印刷を再開する。
(57) [Summary] [Purpose] To provide an information processing device capable of promptly shifting to a suspend state during printing. A host computer having a power saving mode includes means for switching between a power saving mode and a normal mode,
A means for waiting for mode switching, means for storing print data in a print queue in response to a print instruction, and means for printing the print data stored in the print queue,
The power mode is determined for each print page, and the power saving mode is entered at an appropriate time. After the return, the print data stored in the unprinted print queue is searched and printing is restarted.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は省電力モードを具備する
情報処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus having a power saving mode.

【0002】[0002]

【従来の技術】従来、情報処理装置としてのホストコン
ピュータはパラレルインターフェースを介して印刷デー
タをプリンタに送信し、プリンタに受信バッファを設け
ることによりその送信速度を高めている。
2. Description of the Related Art Conventionally, a host computer as an information processing apparatus transmits print data to a printer via a parallel interface, and the printer is provided with a reception buffer to increase the transmission speed.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
ホストコンピュータには以下に掲げる問題があった。即
ち、通常、プリンタはサスペンド機能を有していないの
で、プリンタの電源をオフにすると受信バッファ内の印
刷データは喪失し、誤った印刷結果となってしまう。
However, the conventional host computer has the following problems. That is, since the printer normally does not have the suspend function, when the power of the printer is turned off, the print data in the reception buffer is lost and an erroneous print result is obtained.

【0004】換言すると、ホストコンピュータをサスペ
ンド状態にしても、プリンタの電源をオフにすることは
できなかった。特に、プリンタ一体型のラップトップコ
ンピュータでは、ホストコンピュータをサスペンド状態
にしてもプリンタは常時通電しておかなければならなか
った。
In other words, even if the host computer was suspended, the printer could not be turned off. In particular, in a laptop computer with a built-in printer, the printer had to be energized at all times even when the host computer was suspended.

【0005】このような状態を避けるために、印刷中は
サスペンドモードに入らないように制御することが知ら
れているが、このような制御方法では一旦、印刷を開始
するとローバッテリなどでユーザが早急にサスペンド状
態にしたくてもサスペンドを行えないという問題があっ
た。
In order to avoid such a state, it is known to control so as not to enter the suspend mode during printing. With such a control method, once the printing is started, the user may use a low battery or the like. There was a problem that suspending could not be done even if I wanted to put it into the suspend state immediately.

【0006】そこで、本発明は印刷中に早急にサスペン
ド状態に移行できる情報処理装置を提供することを目的
とする。
Therefore, an object of the present invention is to provide an information processing apparatus capable of rapidly shifting to a suspend state during printing.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に、本発明の請求項1に係る情報処理装置は、省電力モ
ードを具備する情報処理装置において、前記省電力モー
ドと通常モードとのいずれかに電力モードを切り替える
電力モード切替手段と、該電力モードの切替を待機する
待機手段と、指示された印刷データを分割して複数の印
刷待ち行列を生成する印刷待ち行列生成手段と、該生成
された印刷待ち行列を印刷する印刷手段と、前記印刷待
ち行列が印刷中であるか否かを判別する判別手段とを備
え、該印刷中でないと判別された場合に直ちに省電力モ
ードに遷移し、該印刷中であると判別された場合に前記
印刷待ち行列の印刷終了まで待機した後に前記省電力モ
ードに遷移することを特徴とする。
In order to achieve the above object, an information processing apparatus according to claim 1 of the present invention is an information processing apparatus having a power saving mode, in which the power saving mode and the normal mode are combined. An electric power mode switching unit for switching the electric power mode to any one, a standby unit for waiting for the switching of the electric power mode, a print queue generating unit for dividing the designated print data and generating a plurality of print queues, A printing unit that prints the generated print queue and a determination unit that determines whether or not the print queue is being printed, and immediately shifts to the power saving mode when it is determined that the printing queue is not printing However, when it is determined that the printing is in progress, the process waits until the end of printing in the print queue and then transitions to the power saving mode.

【0008】請求項2に係る情報処理装置は、請求項1
に係る情報処理装置において前記電力モード切替手段に
よって省電力モードから通常モードに復帰した場合、未
印刷の印刷待ち行列があるか否かを判別する第2判別手
段を備え、前記未印刷の印刷待ち行列があると判別され
た場合、前記印刷手段は該未印刷の印刷待ち行列を印刷
することを特徴とする。
An information processing apparatus according to claim 2 is the information processing apparatus according to claim 1.
In the information processing apparatus according to the second aspect, when the power mode switching unit returns from the power saving mode to the normal mode, the information processing apparatus includes a second determining unit that determines whether or not there is an unprinted print queue, When it is determined that there is a queue, the printing unit prints the unprinted print queue.

【0009】請求項3に係る情報処理装置は、省電力モ
ードを具備する情報処理装置において、前記省電力モー
ドと通常モードとのいずれかに電力モードを切り替える
電力モード切替手段と、指示された印刷データを分割し
て複数の印刷単位が格納される印刷待ち行列を生成する
印刷待ち行列生成手段と、該生成された印刷待ち行列内
に格納された印刷単位を印刷する印刷手段と、前記印刷
待ち行列の一印刷単位の印刷を終了した後に、前記電力
モードの切り替えを判別する判別手段とを備え、該判別
結果に応じて省電力モードに遷移することを特徴とす
る。
According to a third aspect of the present invention, in an information processing apparatus having a power saving mode, a power mode switching means for switching the power mode between the power saving mode and the normal mode, and the instructed printing. A print queue generating unit that divides the data to generate a print queue in which a plurality of print units are stored; a printing unit that prints the print units stored in the generated print queue; It is characterized in that it comprises a determining means for determining the switching of the power mode after the printing of one printing unit of the matrix is completed, and transitions to the power saving mode according to the determination result.

【0010】請求項4に係る情報処理装置は、請求項3
に係る情報処理装置において前記電力モード切替手段に
よって省電力モードから通常モードに復帰した場合、前
記印刷待ち行列内に未印刷の印刷単位があるか否かを判
別する第2判別手段を備え、前記未印刷の印刷単位があ
ると判別された場合、前記印刷手段は該未印刷の印刷単
位を印刷することを特徴とする。
An information processing device according to claim 4 is the information processing device according to claim 3.
In the information processing apparatus according to the second aspect, when the power mode switching unit returns from the power saving mode to the normal mode, the information processing apparatus includes a second determining unit that determines whether or not there is an unprinted print unit in the print queue. When it is determined that there is an unprinted print unit, the printing unit prints the unprinted print unit.

【0011】請求項5に係る情報処理装置は、省電力モ
ードを具備する情報処理装置において、前記省電力モー
ドと通常モードとのいずれかに電力モードを切り替える
電力モード切替手段と、指示された印刷データを分割し
て複数の印刷単位が格納される印刷待ち行列を複数生成
する印刷待ち行列生成手段と、該生成された複数の印刷
待ち行列のいずれかに格納された前記印刷単位を印刷す
る印刷手段と、前記複数の印刷待ち行列のいずれかに格
納された一印刷単位の印刷を終了した後に、前記電力モ
ードの切り替えを判別する判別手段とを備え、該判別結
果に応じて省電力モードに遷移することを特徴とする。
According to a fifth aspect of the present invention, in an information processing apparatus having a power saving mode, a power mode switching unit for switching the power mode between the power saving mode and the normal mode, and the instructed printing. Print queue generation means for dividing the data to generate a plurality of print queues storing a plurality of print units, and printing for printing the print units stored in any of the plurality of generated print queues And a determination unit that determines the switching of the power mode after the printing of one printing unit stored in any of the plurality of print queues is completed, and the power saving mode is set according to the determination result. It is characterized by transition.

【0012】請求項6に係る情報処理装置は、請求項5
に係る情報処理装置において前記電力モード切替手段に
よって省電力モードから通常モードに復帰した場合、前
記印刷待ち行列内に未印刷の印刷単位があるか否かを判
別する第2判別手段を備え、前記未印刷の印刷単位があ
ると判別された場合、前記印刷手段は該未印刷の印刷単
位を印刷することを特徴とする。
An information processing apparatus according to claim 6 is the information processing apparatus according to claim 5.
In the information processing apparatus according to the second aspect, when the power mode switching unit returns from the power saving mode to the normal mode, the information processing apparatus includes a second determining unit that determines whether or not there is an unprinted print unit in the print queue. When it is determined that there is an unprinted print unit, the printing unit prints the unprinted print unit.

【0013】請求項7に係る情報処理装置では、請求項
1に係る情報処理装置において前記印刷待ち行列生成手
段は、ページ単位で印刷待ち行列を生成することを特徴
とする。
According to a seventh aspect of the present invention, there is provided the information processing apparatus according to the first aspect, wherein the print queue generating means generates the print queue in page units.

【0014】請求項8に係る情報処理装置では、請求項
3または請求項5に係る情報処理装置において前記印刷
単位はページであることを特徴とする。
An information processing apparatus according to claim 8 is characterized in that, in the information processing apparatus according to claim 3 or 5, the printing unit is a page.

【0015】請求項9に係る情報処理装置では、請求項
1、請求項3または請求項5に係る情報処理装置におい
て前記印刷手段は一体に成形されていることを特徴とす
る。
An information processing apparatus according to a ninth aspect is characterized in that the printing means is integrally formed in the information processing apparatus according to the first, third or fifth aspect.

【0016】請求項10に係る情報処理装置の印刷方法
は、省電力モードを具備する情報処理装置の印刷方法に
おいて、指示された印刷データを分割して複数の印刷待
ち行列を生成し、該生成された印刷待ち行列を印刷し、
前記印刷待ち行列が印刷中であるか否かを判別し、該印
刷中でないと判別された場合に直ちに省電力モードに遷
移し、該印刷中であると判別された場合に前記印刷待ち
行列の印刷終了まで待機した後に前記省電力モードに遷
移することを特徴とする。
According to a tenth aspect of the present invention, there is provided a printing method of an information processing apparatus, wherein the designated print data is divided to generate a plurality of print queues, and the generation is performed. Prints the specified print queue,
It is determined whether or not the print queue is being printed. If it is determined that the print queue is not being printed, the power saving mode is immediately entered, and if it is determined that the print queue is being printed, the print queue The invention is characterized in that the mode is changed to the power saving mode after waiting until the end of printing.

【0017】[0017]

【作用】本発明の請求項1に係る情報処理装置では、電
力モード切替手段により前記省電力モードと通常モード
とのいずれかに電力モードを切り替え、待機手段により
該電力モードの切替を待機する際に、印刷待ち行列生成
手段により指示された印刷データを分割して複数の印刷
待ち行列を生成し、印刷手段により該生成された印刷待
ち行列を印刷し、判別手段により前記印刷待ち行列が印
刷中であるか否かを判別し、該印刷中でないと判別され
た場合に直ちに省電力モードに遷移し、該印刷中である
と判別された場合に前記印刷待ち行列の印刷終了まで待
機した後に前記省電力モードに遷移する。
In the information processing apparatus according to claim 1 of the present invention, when the power mode switching means switches the power mode to either the power saving mode or the normal mode, and the standby means waits for the switching of the power mode. , The print data designated by the print queue generating unit is divided to generate a plurality of print queues, the print unit prints the generated print queues, and the determining unit prints the print queues. If it is determined that the printing is not in progress, the power saving mode is immediately entered, and if it is determined that the printing is in progress, after waiting until the end of printing in the print queue, Transition to power saving mode.

【0018】[0018]

【実施例】本発明の情報処理装置の実施例について説明
する。本実施例の情報処理装置はプリンタ一体型のパー
ソナルコンピュータに適用される。図1はパーソナルコ
ンピュータの外観を示す斜視図である。
EXAMPLE An example of the information processing apparatus of the present invention will be described. The information processing apparatus of the present embodiment is applied to a personal computer integrated with a printer. FIG. 1 is a perspective view showing the external appearance of a personal computer.

【0019】パーソナルコンピュータは、装置本体10
1、キーボード102、表示部103などを有する上カ
バー104、サスペンド/レジュームキー105、プリ
ンタユニット2などから構成される。上カバー104は
装置本体101に対して後部両端に設けられたヒンジ1
04aを介して回動可能に取り付けられている。本装置
の使用時には上カバー104を回動させて表示部103
が見易くなる位置にまで開け、不使用時には閉じてカバ
ーとする。
The personal computer is the main body 10 of the apparatus.
1, a keyboard 102, an upper cover 104 having a display unit 103, a suspend / resume key 105, a printer unit 2, and the like. The upper cover 104 is a hinge 1 provided at both ends of the rear of the apparatus body 101.
It is rotatably attached via 04a. When using this device, the upper cover 104 is rotated to display the display unit 103.
Open to a position where it is easy to see, and close it when not in use to form a cover.

【0020】表示部103には表示素子として液晶表示
素子が用いられている。
A liquid crystal display element is used as a display element in the display section 103.

【0021】サスペンド/レジュームキー105はトグ
ルキーであり、レジュームモードで押下された場合には
サスペンドを行い、サスペンドモードで押下された場合
にはレジュームを行う。
The suspend / resume key 105 is a toggle key. When the suspend / resume key 105 is pressed in the resume mode, it suspends, and when it is pressed in the suspend mode, it resumes.

【0022】プリンタユニット2はインクジェット方式
の記録ヘッドを採用しており、表示部103の前方の装
置本体101内に収納される。また、プリンタユニット
2は操作者が開閉可能な開口部(図示せず)を有してお
り、記録ヘッドの交換が可能である。
The printer unit 2 employs an ink jet type recording head and is housed in the apparatus main body 101 in front of the display section 103. Further, the printer unit 2 has an opening (not shown) that can be opened and closed by the operator, and the recording head can be replaced.

【0023】記録紙3はキーボード102の下部に設け
られた給紙口101aから挿入され、装置本体101内
を貫通する搬送路内を搬送されて装置後方の排紙口(図
示せず)から排出される。キーボード102は装置本体
101の両側に設けられたヒンジ102aを介して回動
可能に取り付けられている。これにより、封筒、はがき
などの比較的長さの短い記録紙を使用する場合、キーボ
ード102を上部に開き、記録紙3を搬送路内の奥に挿
入することができる。
The recording paper 3 is inserted from a paper feed port 101a provided in the lower part of the keyboard 102, is transported in a transport path penetrating the inside of the apparatus main body 101, and is discharged from a paper discharge port (not shown) at the rear of the device. To be done. The keyboard 102 is rotatably attached via hinges 102a provided on both sides of the apparatus main body 101. Thus, when a relatively short length of recording paper such as an envelope or a postcard is used, the keyboard 102 can be opened upward and the recording paper 3 can be inserted deep inside the transport path.

【0024】このように、キーボード102の下部に記
録紙3の搬送路が設けられているので、記録紙をセット
した状態でもキーボード102および表示部103を用
いた種々の操作が可能である。本実施例では、プリンタ
ユニット2を除く部分、いわゆるコンピュータ部をホス
トコンピュータ1と呼ぶことにする。
As described above, since the conveyance path for the recording paper 3 is provided below the keyboard 102, various operations using the keyboard 102 and the display unit 103 are possible even when the recording paper is set. In the present embodiment, a portion other than the printer unit 2, a so-called computer portion, will be referred to as a host computer 1.

【0025】図2はホストコンピュータ1の構成を示す
ブロック図である。ホストコンピュータ1では、中央処
理装置(CPU)が主制御を司っており、その基本的制
御をBIOS ROM(Basic Input Output System RO
M )により指示する。フロッピーディスク(FDD)や
ハードディスク(HDD)からフロッピーディスクコン
トローラ(FDC)やハードディスクコントローラ(H
DC)を経由してアプリケーションプログラムを読み出
し、システムメモリ(RAM)を利用してプログラムの
実行を行う。
FIG. 2 is a block diagram showing the configuration of the host computer 1. In the host computer 1, a central processing unit (CPU) controls the main control, and the basic control is performed by a BIOS ROM (Basic Input Output System RO).
M). From floppy disk (FDD) or hard disk (HDD) to floppy disk controller (FDC) or hard disk controller (H
The application program is read via the DC) and the program is executed using the system memory (RAM).

【0026】この場合、画面の表示方法としてはVGA
(Video Graphic Array )コントローラ(VGAC)を
使って液晶(LCD)にキャラクタなどを表示し、キー
ボード(KB)からのキー入力はキーボードコントロー
ラ(KBC)を経由して行われる。ここで、数値演算プ
ロセッサ(FPU)はCPUに対して演算処理のサポー
トを行うものである。
In this case, the screen display method is VGA
Characters and the like are displayed on a liquid crystal (LCD) using a (Video Graphic Array) controller (VGAC), and key input from the keyboard (KB) is performed via the keyboard controller (KBC). Here, the numerical arithmetic processor (FPU) supports arithmetic processing for the CPU.

【0027】また、リアルタイムクロック(RTC)は
現時点の経過時間を示すものであり、システム全体の電
源が切られた状態においても専用バッテリにより動作す
る。DMAコントローラ(DMAC)はメモリ−メモリ
間、メモリ−I/O間、I/O−I/O間において高速
にデータを転送するために、CPUの介在なしでデータ
転送を行う。
The real-time clock (RTC) indicates the elapsed time at the present time, and operates with a dedicated battery even when the power of the entire system is turned off. The DMA controller (DMAC) transfers data at high speed between memory, between memory, between memory and I / O, and between I / O and I / O without CPU intervention.

【0028】割り込みコントローラ(IRQC)は各I
/Oからの割り込みを受け付け、優先順位にしたがって
処理を行う。
The interrupt controller (IRQC) is
Accepts interrupts from / O and performs processing according to priority.

【0029】タイマ(TIMER)は数チャンネルのフ
リーランニングタイマを有し、種々の時間管理を行う。
その他、外部に繋がるシリアルインターフェース(SI
O)、拡張ポート(PORT)やユーザに動作状況を知
らせるLEDが設けられている。プリンタユニット2は
ホストコンピュータに対して汎用のパラレルインターフ
ェースで繋がる形になっており、I/Oポートのレジス
タレベルでデータの送受信を行い、接続のイメージとし
ては外部プリンタとやり取りした場合と同等である。
The timer (TIMER) has a free-running timer of several channels and manages various times.
In addition, a serial interface that connects to the outside (SI
O), an expansion port (PORT), and an LED for notifying the user of the operation status. The printer unit 2 is connected to the host computer via a general-purpose parallel interface, and transmits / receives data at the register level of the I / O port, and the image of the connection is the same as the case of exchanging data with an external printer. .

【0030】図3はインクジェット記録方式を用いたプ
リンタユニット2の内部構成を示す斜視図である。図に
おいて、5001はインクタンクであり、5012はそ
れに結合された記録ヘッドである。インクタンク500
1と記録ヘッド5012とで一体型の交換可能なカート
リッジが形成される。5014はそのカートリッジをプ
リンタ本体に取り付けるためのキャリッジであり、50
03はそのキャリッジ5014を副走査方向に走査する
ためのガイドである。
FIG. 3 is a perspective view showing the internal structure of the printer unit 2 using the ink jet recording system. In the figure, 5001 is an ink tank, and 5012 is a recording head coupled thereto. Ink tank 500
1 and the recording head 5012 form an integral replaceable cartridge. Reference numeral 5014 is a carriage for mounting the cartridge on the printer body.
Reference numeral 03 is a guide for scanning the carriage 5014 in the sub-scanning direction.

【0031】5000は記録紙3を主走査方向に走査さ
せるためのプラテンローラである。5024はプラテン
ローラを回転させるための紙送りモータである。
Reference numeral 5000 denotes a platen roller for scanning the recording paper 3 in the main scanning direction. Reference numeral 5024 is a paper feed motor for rotating the platen roller.

【0032】尚、キャリッジ5014には記録ヘッド5
012を駆動するための信号パルスやヘッド温度調節用
の電流を供給するフレキシブルケーブル(図示せず)が
接続されたプリンタコントロール用プリント基板が設け
られている。
The carriage 5014 has a recording head 5
A printed circuit board for printer control is provided to which a flexible cable (not shown) for supplying a signal pulse for driving 012 and a current for head temperature adjustment is connected.

【0033】プリンタユニット2の機械的動作について
説明する。駆動モータ5013の正逆回転に連動して駆
動力伝達ギヤ5011、5009を介して回転するリー
ドスクリュー5004の螺旋溝5005に対して係合す
るキャリッジ5014は、ピン(図示せず)を有し、矢
印a、b方向に往復移動する。5002は紙押え板であ
り、キャリッジ5014の移動方向に亘って紙をプラテ
ン5000に押圧する。
The mechanical operation of the printer unit 2 will be described. The carriage 5014 that engages with the spiral groove 5005 of the lead screw 5004 that rotates via the driving force transmission gears 5011 and 5009 in conjunction with the forward and reverse rotation of the drive motor 5013 has a pin (not shown), It reciprocates in the directions of arrows a and b. A paper pressing plate 5002 presses the paper against the platen 5000 in the moving direction of the carriage 5014.

【0034】5007、5008はフォトカプラであ
り、キャリッジ5014のレバー5006のこの域での
存在を確認してモータ5013の回転方向を切り替える
ためのホームポジション検知手段である。
Reference numerals 5007 and 5008 denote photocouplers, which are home position detecting means for confirming the presence of the lever 5006 of the carriage 5014 in this area and switching the rotation direction of the motor 5013.

【0035】5016は記録ヘッドの前面をキャップす
るキャップ部材5022を支持する部材であり、501
5はこのキャップ内を吸引する吸引手段であり、キャッ
プ内閉口5023を介して記録ヘッド5012の吸引回
復を行う。
Reference numeral 5016 is a member that supports a cap member 5022 that caps the front surface of the recording head.
Reference numeral 5 is a suction means for sucking the inside of the cap, and performs suction recovery of the recording head 5012 through the cap closing port 5023.

【0036】5017はクリーニングブレードであり、
5019はクリーニングブレード5017を前後方向に
移動可能にする部材であり、支持板5018に支持され
ている。
5017 is a cleaning blade,
A member 5019 is a member that allows the cleaning blade 5017 to move in the front-rear direction, and is supported by a support plate 5018.

【0037】クリーニングブレード5017はこの形態
以外にも周知のものが適用できることはいうまでもな
い。また、5021は吸引を開始するためのレバーであ
り、キャリッジ5014と係合するカム5020の移動
に伴って移動し、駆動モータ5013からの駆動力によ
りクラッチ切換等の公知の伝達手段を介して制御され
る。すなわち、駆動モータ5013をキャリッジ501
4のホームポジションから逆回転させることにより、動
力伝達ギア5011から動力伝達ギア5010に切り替
える。駆動モータ5013からの駆動力がカム5020
を介してレバー5021に伝達されることにより、記録
ヘッド5012のキャッピングおよびクリーニングなど
の吸引回復が行える。
It goes without saying that a well-known cleaning blade other than this form can be applied to the cleaning blade 5017. Reference numeral 5021 denotes a lever for starting suction, which moves in accordance with the movement of the cam 5020 that engages with the carriage 5014, and is controlled by a driving force from a driving motor 5013 via a known transmission means such as clutch switching. To be done. That is, the drive motor 5013 is connected to the carriage 501.
By reversely rotating from the home position of No. 4, the power transmission gear 5011 is switched to the power transmission gear 5010. The driving force from the driving motor 5013 is the cam 5020.
By being transmitted to the lever 5021 via the recording head 5012, suction recovery such as capping and cleaning of the recording head 5012 can be performed.

【0038】図4はプリンタの電気的構成を示すブロッ
ク図である。プリンタはプリンタ制御用CPU21、プ
リンタ制御プログラムやプリンタエミュレーションや印
字フォントが格納されたROM22、印字を行うための
展開データやホストコンピュータ1からの受信データを
記憶する不揮発性のRAM23、プリンタユニット2の
印字ヘッドやモータを駆動するプリンタドライバ25、
メモリのアクセス制御やホストコンピュータ1とのデー
タのやり取りやプリンタドライバ25への制御信号送出
を行うコントローラ24で構成されている。
FIG. 4 is a block diagram showing the electrical construction of the printer. The printer has a printer control CPU 21, a ROM 22 in which a printer control program, printer emulation and print fonts are stored, a non-volatile RAM 23 for storing development data for printing and received data from the host computer 1, and printing by the printer unit 2. A printer driver 25 that drives a head and a motor,
The controller 24 controls access to the memory, exchanges data with the host computer 1, and sends control signals to the printer driver 25.

【0039】図5はプリンタドライバ25の電気的構成
を示す回路図である。吐出ユニットは64個の吐出口を
有するものである。図において、#1〜#64は吐出ユ
ニットに設けられた吐出口の位置に対応した番号であ
る。R1〜R64はそれぞれ#1〜#64の吐出口に対
応して設けられた吐出エネルギ発生素子としての発熱抵
抗体である。
FIG. 5 is a circuit diagram showing the electrical configuration of the printer driver 25. The discharge unit has 64 discharge ports. In the figure, # 1 to # 64 are numbers corresponding to the positions of the ejection ports provided in the ejection unit. R1 to R64 are heating resistors as ejection energy generating elements provided corresponding to the ejection ports # 1 to # 64.

【0040】発熱抵抗体R1〜R64は8個を単位とし
たブロックに分割され、各ブロックに共通にコモン側ド
ライバ回路Cのスイッチング用トランジスタQ1〜Q8
が接続される。トランジスタQ1〜Q8はそれぞれ制御
信号COM1〜COM8のオンオフに応じて通電経路の
オン/オフを行う。尚、各発熱抵抗体R1〜R64への
通電経路に配置されたD1〜D64は逆流防止用ダイオ
ードである。
The heating resistors R1 to R64 are divided into blocks in units of eight, and the switching transistors Q1 to Q8 of the common side driver circuit C are shared by each block.
Is connected. The transistors Q1 to Q8 turn on / off the energization path in response to turning on / off of the control signals COM1 to COM8, respectively. In addition, D1 to D64 arranged in the energization paths to the heating resistors R1 to R64 are diodes for backflow prevention.

【0041】各ブロック間で対応する位置にある発熱抵
抗体に対しては、セグメント側ドライバ回路Sのオン/
オフ用トランジスタQ9からQ16が接続される。トラ
ンジスタQ9〜Q16はそれぞれ制御信号SEG1〜S
EG8のオン/オフに応じて発熱抵抗体に対する通電経
路のオン/オフを行う。
For the heating resistors located at corresponding positions between the blocks, the segment side driver circuit S is turned on / off.
The off transistors Q9 to Q16 are connected. Transistors Q9-Q16 have control signals SEG1-S, respectively.
The energization path for the heating resistor is turned on / off according to turning on / off of the EG8.

【0042】図6はヘッドを駆動する信号を示すタイミ
ングチャートである。ヘッド走査方向上のある位置にお
いて、コモン側制御信号COM8〜COM1が順次オン
になる。オンにより1つのブロックが選択されて通電可
能な状態になるので、選択されたブロック内において記
録される画像に応じてセグメント側制御信号SEG8〜
SEG1をそれぞれオンまたはオフにすることにより、
発熱抵抗体に選択的に通電がなされ、発熱に応じてイン
クが吐出されドット記録が行われる。
FIG. 6 is a timing chart showing signals for driving the head. At a certain position in the head scanning direction, the common side control signals COM8 to COM1 are sequentially turned on. When turned on, one block is selected to be able to be energized. Therefore, the segment-side control signals SEG8 to SEG8 ...
By turning SEG1 on or off respectively,
The heating resistor is selectively energized, ink is ejected according to the heat generation, and dot recording is performed.

【0043】図7はキャリッジモータ5013およびモ
ータドライバの構成を示す回路図である。図8はキャリ
ッジモータ5013の駆動信号を示すタイミングチャー
トである。キャリッジモータ5013としてコイルφ1
〜φ4を有するステッピングモータを用い、駆動信号C
M1〜CM4により各コイルに接続されたスイッチトラ
ンジスタTr1〜Tr4を適切にオン/オフすることに
より2相励磁方式で駆動する。フィードモータ5024
についても同様な構成で、駆動信号FM1〜FM4によ
り駆動される。
FIG. 7 is a circuit diagram showing the configurations of the carriage motor 5013 and the motor driver. FIG. 8 is a timing chart showing drive signals for the carriage motor 5013. Coil φ1 as carriage motor 5013
Drive signal C using a stepping motor having
By appropriately turning on / off the switch transistors Tr1 to Tr4 connected to the coils by M1 to CM4, the two-phase excitation method is used. Feed motor 5024
Is driven by the drive signals FM1 to FM4 with the same configuration.

【0044】図9はプリンタのコントローラ24の構成
を示すブロック図である。コントローラ24は、ホスト
コンピュータ1とコマンドレベルでのデータのやり取り
を行うI/Oデータレジスタ、そのレジスタから受信デ
ータをRAM23に直接書き込む受信バッファコントロ
ーラ、RAM23の記録データバッファから記録データ
の読み出し、ヘッドドライバに対してCOM1〜COM
8/SEG1〜SEG8の制御信号を送出する印字バッ
ファコントローラ、さらにRAM23に対して3方向
(CPU21、受信バッファコントローラおよび印字バ
ッファコントローラ)からのメモリアクセスを制御する
メモリコントローラからなる4つのブロックで構成され
ている。
FIG. 9 is a block diagram showing the arrangement of the controller 24 of the printer. The controller 24 is an I / O data register for exchanging data at the command level with the host computer 1, a reception buffer controller for directly writing the reception data from the register to the RAM 23, reading the recording data from the recording data buffer of the RAM 23, and a head driver. For COM1 to COM
8 / SEG1 to SEG8, and a print buffer controller for sending control signals, and a memory controller for controlling memory access to the RAM 23 from three directions (CPU 21, reception buffer controller and print buffer controller). ing.

【0045】図10はプリンタI/Oレジスタのマップ
を示す説明図である。図において、モータコントロール
ポートはレジスタの値を直接に書き換えることによりポ
ートを制御し、各モータを駆動する(CM1〜CM4、
FM1〜FM4)。
FIG. 10 is an explanatory diagram showing a map of the printer I / O register. In the figure, the motor control port controls the port by directly rewriting the value of the register to drive each motor (CM1 to CM4,
FM1 to FM4).

【0046】印字バッファエリアは印字に必要なデータ
領域を設定するもので、開始アドレス(PB STAR
T)と終了アドレス(PB END)を設定することに
よりその範囲内で印字バッファコントローラによって開
始アドレスから順番に印字データを読み出し、終了アド
レスに至るまでRAM23から印字データを読み出し、
ヘッドドライバに制御信号を送出する。このとき、印字
データアドレスポインタ(PB POINT)は現在デ
ータ送出中のデータアドレスを示している。
The print buffer area is used to set a data area required for printing, and the start address (PB STAR
T) and the end address (PB END) are set, the print buffer controller sequentially reads the print data from the start address within the range, and the print data is read from the RAM 23 until the end address.
Sends a control signal to the head driver. At this time, the print data address pointer (PB POINT) indicates the data address of the data currently being sent.

【0047】受信データバッファエリアは、同様に受信
に必要なデータ領域を設定するもので、開始アドレス
(IB START)と終了アドレス(IB END)
を設定することによりその範囲内で受信バッファコント
ローラによって開始アドレスから順番に受信データを書
き込み、終了アドレスに至るまでRAM23へ受信デー
タを書き込む。このとき、受信データアドレスポインタ
(IB POINT)は現在データ受信済になっている
データアドレスを示している。
The reception data buffer area is used to set a data area required for reception similarly, and has a start address (IB START) and an end address (IB END).
By setting, the reception buffer controller writes the reception data in order from the start address within the range, and the reception data is written to the RAM 23 up to the end address. At this time, the reception data address pointer (IB POINT) indicates the data address that has already received the data.

【0048】図11はRAM23の印字バッファ(P
B)と受信バッファ(IB)のアドレス領域を各々示し
ている。各アドレスは図10に示すようにプリンタI/
Oレジスタにおいて指示されている。インターフェース
領域の部分は、ホストコンピュータ1とのデータのやり
取りを行う領域であり、ホストコンピュータ1において
はパラレルインターフェースのボードに相当する。
FIG. 11 shows the print buffer (P
B) and an address area of the reception buffer (IB) are shown respectively. As shown in FIG. 10, each address is printer I /
It is indicated in the O register. The interface area is an area for exchanging data with the host computer 1, and corresponds to a parallel interface board in the host computer 1.

【0049】図12はホストコンピュータとプリンタと
のインターフェース領域の関係を示す説明図である。ホ
ストコンピュータ1側のI/Oデータ、I/Oステータ
ス、I/コントローラのレジスタが、プリンタ側のI/
Oデータ、I/Oステータス、I/Oコントロールのレ
ジスタと同一のアドレスを示すようにホストコンピュー
タ1側から見たアドレス(n、n+1、n+2)がプリ
ンタ側から見たアドレス(m、m+1、m+2)と対応
がとれるようにアドレスマップが設定されている。即
ち、この部分のアドレスは双方向で読み書きできるレジ
スタになっている。
FIG. 12 is an explanatory diagram showing the relationship between the interface area between the host computer and the printer. I / O data on the host computer 1 side, I / O status, and I / O register are
The address (n, n + 1, n + 2) viewed from the host computer 1 side indicates the same address as the O data, I / O status, and I / O control registers, and the address (m, m + 1, m + 2) viewed from the printer side. ) Has been set up so that the address map can be taken. That is, the address of this portion is a register that can read and write in both directions.

【0050】尚、ホストコンピュータ側にも、周辺機器
を制御するためのI/Oレジスタを備えており、I/O
レジスタはホストコンピュータ1内でのI/O制御に使
用される。即ち、図2で示した各ブロックのI/O領域
を有していてその中のインターフェースの制御領域につ
いてのみがプリンタ側のI/Oレジスタのインターフェ
ース領域と共通になっている。
The host computer side is also equipped with an I / O register for controlling peripheral devices.
The register is used for I / O control in the host computer 1. That is, the I / O area of each block shown in FIG. 2 is provided, and only the interface control area therein is common with the interface area of the I / O register on the printer side.

【0051】つぎに、ホストコンピュータ1の電源投入
後の処理について説明する。図13は電源投入時の処理
手順を示すフローチャートである。この処理はキーボー
ドによるソフトリセット時、あるいは電源投入時に実行
される。
Next, the processing after the power of the host computer 1 is turned on will be described. FIG. 13 is a flowchart showing a processing procedure when the power is turned on. This processing is executed at the time of soft reset by the keyboard or when the power is turned on.

【0052】まず、POST(Power On Self-Test)処
理を実行する(ステップS10)。POST処理とは各
ハードウェアのテストおよび初期化である。つづいて、
システムプログラムを起動するために、ブートプログラ
ムのロードを行う(ステップS11)。ブートプログラ
ムはフロッピーディスク(FD)あるいはハードディス
ク(HD)などに保存されており、例えばトラック0、
セレクタ1に配置される。トラック0、セレクタ1をメ
モリ内に読み込むことでブートプログラムのロードが行
われる。ステップS10、ステップS11はROM B
IOS内のプログラムによって実行される。
First, a POST (Power On Self-Test) process is executed (step S10). The POST process is a test and initialization of each hardware. Continuing,
The boot program is loaded to activate the system program (step S11). The boot program is stored in a floppy disk (FD) or hard disk (HD), for example, track 0,
It is arranged in the selector 1. The boot program is loaded by reading track 0 and selector 1 in the memory. Steps S10 and S11 are ROM B
It is executed by a program in IOS.

【0053】ロードされたブートプログラムを実行する
(ステップS12)。ブートプログラムは、FDあるい
はHDからOSプログラムをロードするためのOSロー
ドプログラムをロードする(ステップS13)。
The loaded boot program is executed (step S12). The boot program loads the OS load program for loading the OS program from the FD or HD (step S13).

【0054】ロードされたOSロードプログラムを実行
する(ステップS14)。OSロードプログラムはOS
プログラムをメモリ内にロードするためのプログラムで
あり、まずI/Oドライバをロードする(ステップS1
5)。I/Oドライバというのは、I/Oを制御するた
めのプログラムであり、各種I/Oとのデータのやり取
りを行う。
The loaded OS load program is executed (step S14). OS load program is OS
This is a program for loading the program into the memory, and first loads the I / O driver (step S1.
5). The I / O driver is a program for controlling I / O and exchanges data with various I / O.

【0055】I/Oのテストと初期化を行う(ステップ
S16)。OSプログラムをメモリにロードする(ステ
ップS17)。ここまでのステップでOSプログラムを
実行する準備が整い、OSプログラムを実行する。OS
プログラムはキーボード102からの入力を処理し、各
種メッセージを表示器103に表示し、操作者とやり取
りを行う。OSプログラムは操作者の各種コマンドの入
力にしたがって各種コマンド処理を実行する。
I / O testing and initialization is performed (step S16). The OS program is loaded into the memory (step S17). With the steps so far, the OS program is ready to be executed, and the OS program is executed. OS
The program processes input from the keyboard 102, displays various messages on the display 103, and interacts with the operator. The OS program executes various command processes according to the input of various commands by the operator.

【0056】図14はPOST処理の手順を示すフロー
チャートである。まず、CPUやFPU(数値演算プロ
セッサ、コプロセッサ)のテストを行う(ステップS2
0)。つづいて、ROMのテストを行い(ステップS2
1)、バッテリーのチェックを行う(ステップS2
2)。さらに、LCD、LCDアブプタのテストと初期
化を行う(ステップS23)。LCDアダプタにはRA
M、ROMが含まれており、それらのチェックを行う。
FIG. 14 is a flow chart showing the procedure of POST processing. First, the CPU and FPU (numerical operation processor, coprocessor) are tested (step S2).
0). Next, the ROM test is performed (step S2
1) Check the battery (step S2)
2). Further, the LCD and the LCD abapter are tested and initialized (step S23). RA for LCD adapter
M and ROM are included and they are checked.

【0057】割り込みコントローラのテストと初期化を
行う(ステップS24)。タイマのテストを行う(ステ
ップS25)。DMAコントローラのテストを行う(ス
テップS26)。キーボード、キーボードコントローラ
のテストを行う(ステップS27)。シリアルパラレル
ポートのテストと初期化を行う(ステップS28)。ソ
フトリセットであるか否かをチェックする(ステップS
29)。ソフトリセットであるとき、RAMのテストと
初期化処理を行わない。ソフトリセットでないときはR
AMのテストと初期化を行う(ステップS30)。
The interrupt controller is tested and initialized (step S24). The timer is tested (step S25). The DMA controller is tested (step S26). The keyboard and keyboard controller are tested (step S27). The serial parallel port is tested and initialized (step S28). It is checked whether it is a soft reset (step S
29). When it is a soft reset, the RAM is not tested and the initialization process is not performed. R when not soft reset
The AM is tested and initialized (step S30).

【0058】FDのテストを行う(ステップS31)。
さらに、HDのテストを行う(ステップS32)。リア
ルタイムクロックのテストを行う(ステップS33)。
プリンタのテストを行う(ステップS34)。プリンタ
のテストは各種プリンタポートのチェックとプリンタ接
続のチェックを行う。最後にLEDのテストを行って
(ステップS35)終了する。
The FD test is performed (step S31).
Further, the HD test is performed (step S32). The real time clock is tested (step S33).
The printer is tested (step S34). The printer test checks various printer ports and printer connections. Finally, the LED test is performed (step S35), and the process ends.

【0059】上記POST処理が行われ、各装置にエラ
ーなどがあった場合にそれらを知らしめる。
When the POST processing is performed and there is an error in each device, they are notified.

【0060】つぎに、キーボード割り込み処理とキーコ
ード取得処理について説明する。キーボード割り込み処
理は、キーホード102のキー押下にしたがってキーボ
ードコントローラから割り込みが発生し、割り込みコン
トローラにより処理され、キーボード割り込み処理が実
行される。
Next, the keyboard interrupt processing and the key code acquisition processing will be described. In the keyboard interrupt process, an interrupt is generated from the keyboard controller according to the key press of the keyboard 102, is processed by the interrupt controller, and the keyboard interrupt process is executed.

【0061】キーコード取得処理は、キーボード割り込
みにより保存されたキーコードをキーバッファから取り
出し、キーコードは必要とする処理に戻される。
In the key code acquisition process, the key code saved by the keyboard interrupt is taken out from the key buffer, and the key code is returned to the required process.

【0062】尚、キーバッファはRAM上のBIOSコ
モンエリア内に設けられる。キーボード割り込み処理は
各I/Oの割り込みマップ上(図示せず)のハードウェ
ア割り込みのエントリなどに割り当てられ、また、キー
コード取得処理はソフトウェア割り込みのエントリなど
に割り当てられる。それぞれキーボードから割り込み、
ソフトウェア割り込みの呼び出しにより実行に移され
る。
The key buffer is provided in the BIOS common area on the RAM. The keyboard interrupt process is assigned to a hardware interrupt entry on an interrupt map (not shown) of each I / O, and the key code acquisition process is assigned to a software interrupt entry. Interrupt from the keyboard,
Moved to execution by calling software interrupt.

【0063】図15はキーボード割り込みが発生した場
合の処理手順を示すフローチャートである。まず、キー
ボード割り込みが発生すると、キースキャンコードをキ
ーボード102に割り当てられたI/Oポートから読み
取る(ステップS40)。
FIG. 15 is a flow chart showing the processing procedure when a keyboard interrupt occurs. First, when a keyboard interrupt occurs, the key scan code is read from the I / O port assigned to the keyboard 102 (step S40).

【0064】読み取ったコードはソフトリセットに相当
するコードであるか否かを判断する(ステップS4
1)。ソフトリセットに相当するコードであるとき、印
字バッファクリアコマンドの送信を実行し(ステップS
42)、実行後に実際のソフトリセット動作を開始す
る。
It is determined whether the read code is a code corresponding to a soft reset (step S4).
1). When the code is equivalent to the soft reset, the print buffer clear command is transmitted (step S
42) Then, after execution, the actual soft reset operation is started.

【0065】読み取ったコードがソフトリセットでない
場合、キーボードバッファが一杯でないか否かを確認す
る(ステップS43)。キーボードバッファが一杯であ
るとき、警告のためにビープ(Beep)音を発生して
(ステップS44)処理を終了する。キーボードバッフ
ァが一杯でないとき、キースキャンコードを文字コード
に対応したキーコードに変換し(ステップS45)、変
換されたキーコードをキーバッファにセットして(ステ
ップS46)処理を終了する。
If the read code is not a soft reset, it is confirmed whether the keyboard buffer is full (step S43). When the keyboard buffer is full, a beep sound is generated for warning (step S44), and the process ends. When the keyboard buffer is not full, the key scan code is converted into a key code corresponding to the character code (step S45), the converted key code is set in the key buffer (step S46), and the process is ended.

【0066】以上示したように、キーボード割り込み処
理内でソフトリセット実行時にはプリンタにバッファク
リアコマンド送信され、プリンタのバッファクリア処理
が行われる。
As described above, when the soft reset is executed in the keyboard interrupt process, the buffer clear command is transmitted to the printer and the buffer clear process of the printer is performed.

【0067】図16はキーコード取得処理の手順を示す
フローチャートである。キーコードが取得されると、ま
ず、キーボードバッファにキーコードがあるか否かをチ
ェックし(ステップS50)、キーコードがないときキ
ーコードバッファに入るのを待つ。キーコードが存在し
た場合、キーコードの変換が必要であるか否かをチェッ
クし(ステップS51)、必要な場合にはキーコードを
変換する(ステップS52)。キーコードの変換は主と
して国別にキーボードが異なる場合などに発生する。
FIG. 16 is a flowchart showing the procedure of the key code acquisition process. When the key code is acquired, it is first checked whether or not there is a key code in the keyboard buffer (step S50), and when there is no key code, the process waits for entry into the key code buffer. When the key code exists, it is checked whether or not the key code needs to be converted (step S51), and if necessary, the key code is converted (step S52). Key code conversion mainly occurs when the keyboard is different for each country.

【0068】一方、キーコードの変換が必要でない場
合、またはステップS52によってキーコードの変換が
行われた後には、キーコードをレジスタにセットして
(ステップS53)処理を終了する。
On the other hand, when the key code conversion is not necessary, or after the key code conversion is performed in step S52, the key code is set in the register (step S53) and the process ends.

【0069】図17はホストコンピュータによるコマン
ド解析処理の手順を示すフローチャートである。まず、
キーコード取得処理を実行する(ステップS100)。
つづいて、取得したキーコードがサスペンド/レジュー
ムのキーコードと一致するか否かを判別する(ステップ
S101)。
FIG. 17 is a flow chart showing the procedure of command analysis processing by the host computer. First,
A key code acquisition process is executed (step S100).
Then, it is determined whether or not the acquired key code matches the suspend / resume key code (step S101).

【0070】サスペンド/レジュームのキーコードと一
致しない場合、そのキーコードに対するキー処理を実行
する(ステップS102)。一方、一致する場合、電源
管理プログラムにサスペンド/レジュームキーが押され
たことを通知する(ステップS103)。
If the key code does not match the suspend / resume key code, the key process for the key code is executed (step S102). On the other hand, if they match, the power management program is notified that the suspend / resume key has been pressed (step S103).

【0071】図18は印刷処理手順を示すブロック図で
ある。アプリケーションプログラム201は印刷を行う
場合、印刷コマンドを描画制御プログラム202に渡
す。描画制御プログラム202は印刷すべきプリンタに
対応するプリンタドライバ203に対しアプリケーショ
ンプログラム201からの印刷コマンドをプリンタドラ
イバコマンドに変換して渡す。
FIG. 18 is a block diagram showing the print processing procedure. When performing printing, the application program 201 passes a print command to the drawing control program 202. The drawing control program 202 converts the print command from the application program 201 into a printer driver command and passes it to the printer driver 203 corresponding to the printer to be printed.

【0072】プリンタドライバ203は、プリンタドラ
イバコマンドにしたがってプリンタ204に対するコマ
ンドデータを作成する。プリンタドライバ203は作成
したプリンタに対するコマンドデータを描画制御プログ
ラム202に渡す。親スプーラ205は描画制御プログ
ラム202から渡されたデータを直ちにプリンタ204
に出力しないで一旦、印刷待ち行列206に入れる。
The printer driver 203 creates command data for the printer 204 according to the printer driver command. The printer driver 203 passes the created command data for the printer to the drawing control program 202. The parent spooler 205 immediately sends the data passed from the drawing control program 202 to the printer 204.
It is put in the print queue 206 once without being output to.

【0073】印刷待ち行列206への格納は、印刷ジョ
ブ207と呼ばれるひとまとまりの印刷データを単位と
して行う。例えば、ワードプロセッサの1つの文書全体
や特定のページなど、操作者が一度に印刷することを指
示した印刷データがひとつの印刷ジョブ207になる。
印刷ジョブ207の構成については後述する。
The print queue 206 is stored in units of a set of print data called a print job 207. For example, print data such as an entire document of a word processor or a specific page that the operator has instructed to print at once becomes one print job 207.
The configuration of the print job 207 will be described later.

【0074】親スプーラ205は、印刷ジョブ207を
子スプーラ208にページ単位で振り分ける。子スプー
ラ208はシステム内に1つ以上存在する。子スプーラ
208はプリンタ204へ1ページの出力を行う。1ペ
ージの出力が終わると、親スプーラ205から別のペー
ジが割り当てられる。子スプーラ208はそれぞれ独立
に印刷処理を実行する図19は親スプーラ205の構成
を示す説明図である。印刷待ち行列生成手段231は、
印刷待ち行列206を生成する。印刷待ち行列登録手段
233は印刷ジョブ207を印刷待ち行列206に登録
する。印刷待ち行列取り出し手段234は印刷ジョブ2
07を印刷待ち行列206から取り出す。印刷待ち行列
入れ替え手段235は印刷待ち行列206内の印刷ジョ
ブ207の順序を入れ替える。印刷待ち行列報告手段2
32は印刷待ち行列206内の印刷ジョブ207の数や
順序、内容などを他の手段に報告する。
The parent spooler 205 distributes the print job 207 to the child spooler 208 page by page. There are one or more child spoolers 208 in the system. The child spooler 208 outputs one page to the printer 204. When the output of one page ends, another page is allocated from the parent spooler 205. The child spooler 208 independently executes the printing process. FIG. 19 is an explanatory diagram showing the configuration of the parent spooler 205. The print queue generation unit 231
Create a print queue 206. The print queue registration unit 233 registers the print job 207 in the print queue 206. The print queue extracting unit 234 uses the print job 2
07 is taken from the print queue 206. The print queue changing means 235 changes the order of the print jobs 207 in the print queue 206. Print queue reporting means 2
32 reports the number, order, contents, etc. of the print jobs 207 in the print queue 206 to other means.

【0075】図20は印刷ジョブ207の構成を示す説
明図である。印刷ジョブ207はプリンタ204に対す
るページ単位のコマンドデータ211であり、複数ペー
ジで構成される。プリンタ204へのコマンドデータの
出力はページ単位で行う。ここで、ページというのはプ
リンタ204への出力単位のことであり、物理的なペー
ジと必ずしも対応するものではない。
FIG. 20 is an explanatory diagram showing the structure of the print job 207. The print job 207 is command data 211 for each page for the printer 204, and is composed of a plurality of pages. The command data is output to the printer 204 in page units. Here, the page is a unit of output to the printer 204 and does not necessarily correspond to a physical page.

【0076】ページの出力毎にプリンタの設定コマンド
を出力し、1つのプリントジョブについてページを1ペ
ージ目から最後のページまで連続して印刷しなくても、
ページとして正常に印刷することができるようにされて
いる。即ち、1つのプリントジョブにおいてページの出
力順をどのように変更しても、印刷後にページ順に並び
替えれば1ページ目から印刷した場合と同じ結果が得ら
れる。また、複数の印刷ジョブにおいてジョブ間でペー
ジの印刷順をどのように変更しても、やはりページとし
て正常に印刷することができる。さらに、ページの印刷
後、プリンタの電源の切断投入を行ってから別のページ
を印刷しても同様にページとして正常に印刷することが
できる。
Even if the printer setting command is output every time a page is output and pages for one print job are not continuously printed from the first page to the last page,
The page can be printed normally. That is, no matter how the page output order is changed in one print job, the same result as when printing from the first page can be obtained by rearranging the page order after printing. Further, no matter how the order of printing pages is changed between jobs in a plurality of print jobs, the pages can still be printed normally. Further, after printing the page, even if another page is printed after the power of the printer is turned off and on, the page can be printed normally as well.

【0077】複数のスプーラが存在するとき、同時にプ
リンタ204にコマンドデータを出力すると正しく印刷
できないので、描画制御プログラム202はプリンタ2
04への出力についてページ単位で排他制御を行う。
When a plurality of spoolers exist, if the command data is output to the printer 204 at the same time, printing cannot be performed correctly.
Exclusive control is performed page by page for output to 04.

【0078】電源管理プログラム209は装置のサスペ
ンド状態への移行、レジュームその他の省電力機能の制
御を司る。図21は電源管理プログラム209の構成を
示す説明図である。電力モード切換手段221はサスペ
ンド(省電力モード)とレジューム(通常モード)とを
切り替える。待機手段222は2つのモードの切換えを
待機する。印刷中フラグ223は現在印刷中か否かを管
理する。
The power management program 209 controls the transition of the apparatus to the suspend state and the control of the resume and other power saving functions. FIG. 21 is an explanatory diagram showing the configuration of the power management program 209. The power mode switching unit 221 switches between suspend (power saving mode) and resume (normal mode). The standby means 222 waits for switching between the two modes. The printing flag 223 manages whether printing is currently being performed.

【0079】電源管理プログラム209は、通常モード
の場合に印刷中フラグ223をONにしておく。この場
合、子スプーラ208から待ち状態に入るべきかについ
ての問い合わせがあった場合には、印刷中フラグ223
をチェックし、ONであるとき待機手段222により待
機状態に入る。印刷中フラグ223がOFFであると
き、直ちにサスペンドモードに入る。
The power management program 209 turns on the printing flag 223 in the normal mode. In this case, when there is an inquiry from the child spooler 208 as to whether to enter the waiting state, the printing flag 223 is set.
Is checked, and when it is ON, the standby means 222 enters the standby state. When the printing flag 223 is OFF, the suspend mode is immediately entered.

【0080】子スプーラ208との関係をつぎに説明す
る。図22は子スプーラ208による印刷処理の手順を
示すフローチャートである。子スプーラ208は印刷ペ
ージが親スプーラ205から渡されているか否かを判別
する(ステップS301)。印刷ページがないとき、一
定時間待ち状態になった後(ステップS302)、再
度、印刷ページが親スプーラ205から渡されているか
否かを判別する。
The relationship with the child spooler 208 will be described below. FIG. 22 is a flowchart showing the procedure of printing processing by the child spooler 208. The child spooler 208 determines whether the print page is passed from the parent spooler 205 (step S301). When there is no print page, after waiting for a certain period of time (step S302), it is determined again whether or not the print page is passed from the parent spooler 205.

【0081】印刷ページがあるとき、子スプーラ208
は描画制御プログラム202に対してプリンタの使用を
要求する(ステップS303)。
When there is a print page, the child spooler 208
Requests the drawing control program 202 to use the printer (step S303).

【0082】描画制御プログラム202は他の子スプー
ラがプリンタを使用しているなどでプリンタを現在使用
できない状態にあるか否かを調べ(ステップS30
4)、使用してよければプリンタ204の使用許可を与
える。子スプーラ208はプリンタ204の使用が可能
でない場合、一定時間待った後(ステップS305)、
再度、プリンタ204の使用許可を求める。プリンタ2
04の使用が可能な場合、子スプーラ208は直ちにプ
リンタコマンドをプリンタ204に出力せずに、電源管
理プログラム209を呼び出す(ステップS306)。
The drawing control program 202 checks whether or not the child spooler is currently in a state in which the printer cannot be used (step S30).
4) If it is acceptable to use the printer, give permission to use the printer 204. If the child spooler 208 cannot use the printer 204, after waiting for a certain period of time (step S305),
Again, the permission to use the printer 204 is requested. Printer 2
If 04 is available, the child spooler 208 immediately calls the power management program 209 without outputting a printer command to the printer 204 (step S306).

【0083】電源管理プログラム209はサスペンド状
態に移行すべき状態にあるとき、待ち状態に入るよう子
スプーラ208に指示し、そうでないとき何もしない。
子スプーラ208は電源管理プログラム209から待ち
状態に入るよう指示されると(ステップS307)、待
ち状態に入る(ステップS308)。
The power management program 209 instructs the child spooler 208 to enter the waiting state when it is in the state where the suspend state should be entered, and otherwise does nothing.
When the child spooler 208 is instructed by the power management program 209 to enter the waiting state (step S307), the child spooler 208 enters the waiting state (step S308).

【0084】待ち状態の解除は、装置がレジューム状態
になり待ち原因が解除されたときに、電源管理プログラ
ム209から子スプーラ208への指示により行われ
る。電源管理プログラム209から何も指示されなけれ
ば、子スプーラ208は1ページ分のプリンタコマンド
をプリンタ204に出力し(ステップS309)、描画
制御プログラム202に印刷終了を通知してプリンタ2
04を開放し(ステップS310)、再度、印刷ページ
を親スプーラ205から渡されているか否かを調べ、処
理を繰り返す。
The waiting state is released by an instruction from the power management program 209 to the child spooler 208 when the cause of the waiting state is released when the device enters the resume state. If no instruction is given from the power management program 209, the child spooler 208 outputs a printer command for one page to the printer 204 (step S309), notifies the drawing control program 202 of the end of printing, and notifies the printer 2
04 is released (step S310), it is again checked whether or not the print page is passed from the parent spooler 205, and the process is repeated.

【0085】[第2実施例]つぎに、第2実施例のプリ
ンタ一体型のパーソナルコンピュータについて説明す
る。前記第1実施例と較べてスプーラが1つだけである
点を除けば、他は同一の構成である。図23は第2実施
例のパーソナルコンピュータにおける印刷処理手順を示
すブロック図である。
[Second Embodiment] Next, a printer-integrated personal computer according to a second embodiment will be described. Compared with the first embodiment, the configuration is the same except that there is only one spooler. FIG. 23 is a block diagram showing a print processing procedure in the personal computer of the second embodiment.

【0086】スプーラ241は1つだけ存在し、このス
プーラ241は前記第1実施例の親スプーラと子スプー
ラの機能を併せもっている。スプーラ241の構成は図
19に示したものと基本的に同じである。
There is only one spooler 241, and this spooler 241 has the functions of the parent spooler and child spooler of the first embodiment. The configuration of the spooler 241 is basically the same as that shown in FIG.

【0087】アプリケーションプログラム201による
印刷指示からプリンタドライバ203により作成された
プリンタ204に対するコマンドデータがスプーラ24
1に渡されるまでの処理は前記第1実施例と同じであ
る。
Command data for the printer 204 created by the printer driver 203 from the print instruction from the application program 201 is sent to the spooler 24.
The processing up to 1 is the same as that in the first embodiment.

【0088】スプーラ241は描画制御プログラム20
2から渡されたデータを直ちにプリンタ204に出力し
ないで、一旦、印刷待ち行列206に入れる。そして、
印刷待ち行列206から印刷ジョブ207を1つずつ取
り出して印刷を行う。印刷ジョブ207の構成は前記第
1実施例の場合と同じくページ単位で構成され、どのペ
ージをばらばらに印刷してもページとしては正常に印刷
される。
The spooler 241 is the drawing control program 20.
Instead of immediately outputting the data passed from No. 2 to the printer 204, the data is temporarily put in the print queue 206. And
The print jobs 207 are taken out from the print queue 206 one by one and printed. The configuration of the print job 207 is configured on a page-by-page basis as in the case of the first embodiment, and even if any of the pages is printed separately, the pages are normally printed.

【0089】また、電源管理プログラム209の動作は
前記第1実施例と同じである。
The operation of the power management program 209 is the same as in the first embodiment.

【0090】図24はスプーラ241による印刷処理手
順を示すフローチャートである。スプーラ241は印刷
待ち行列206に印刷ジョブ207があるか否かを判別
し(ステップS311)、印刷ジョブ207がないと
き、一定時間待ち状態になった後(ステップS31
2)、再度、印刷待ち行列206に印刷ジョブ207が
あるか否かを判別する。印刷待ち行列206に印刷ジョ
ブ207があるとき、印刷ジョブ207を1つ取り出す
(ステップS313)。
FIG. 24 is a flow chart showing the print processing procedure by the spooler 241. The spooler 241 determines whether or not there is a print job 207 in the print queue 206 (step S311), and when there is no print job 207, after waiting for a certain period of time (step S31).
2) It is again determined whether or not there is a print job 207 in the print queue 206. When there is a print job 207 in the print queue 206, one print job 207 is taken out (step S313).

【0091】ここで、スプーラ241は直ちにプリンタ
コマンドをプリンタ204に出力せずに、電源管理プロ
グラム209を呼び出す(ステップS314)。電源管
理プログラム209はサスペンド状態に移行すべき状態
にあるとき、待ち状態に入るようにスプーラ241に指
示し、そうでないとき何も指示しない。
Here, the spooler 241 does not immediately output the printer command to the printer 204 but calls the power management program 209 (step S314). The power management program 209 instructs the spooler 241 to enter the waiting state when it is in the state where it should shift to the suspend state, and does not instruct anything otherwise.

【0092】スプーラ241は電源管理プログラム20
9から待ち状態に入るよう指示されると(ステップS3
15)、待ち状態に入る(ステップS316)。待ち状
態の解除は、装置がレジューム状態になり待ち原因が解
除されたときに電源管理プログラム209からスプーラ
241への指示により行われる。電源管理プログラム2
09から何も指示されないとき、スプーラ241は1ペ
ージ分のプリンタコマンドをプリンタ204に出力する
(ステップS317)。
The spooler 241 is the power management program 20.
When instructed to enter the waiting state from 9 (step S3
15) and enters a waiting state (step S316). The waiting state is released by an instruction from the power management program 209 to the spooler 241 when the device enters the resume state and the cause of the waiting is removed. Power management program 2
When no instruction is given from 09, the spooler 241 outputs a printer command for one page to the printer 204 (step S317).

【0093】ここで、スプーラ241は全ページの処理
を終えたか否かを判別し(ステップS318)、終了し
ているとき、再度、印刷待ち行列206に印刷ジョブ2
07があるか否かを判別する。
Here, the spooler 241 determines whether or not the processing of all pages has been completed (step S318). When the processing has been completed, the print job 2 is again stored in the print queue 206.
It is determined whether there is 07.

【0094】未処理のページがあるとき、再度、電源管
理プログラム209を呼び出し、待ち状態に入るべきか
否かを判別しつつ、プリンタコマンドをプリンタ204
に出力して処理を繰り返す。
When there is an unprocessed page, the power management program 209 is called again to determine whether or not to enter the waiting state, and the printer command is sent to the printer 204.
And repeat the process.

【0095】[第3実施例]つぎに、第3実施例のプリ
ンタ一体型のパーソナルコンピュータについて説明す
る。図25は第3実施例のパーソナルコンピュータにお
ける印刷処理手順を示すブロック図である。
[Third Embodiment] A printer-integrated personal computer according to the third embodiment will now be described. FIG. 25 is a block diagram showing a print processing procedure in the personal computer of the third embodiment.

【0096】第3実施例では、親スプーラと子スプーラ
の機能を併せもったスプーラ251を複数備える点で前
記第2実施例と相違する。スプーラ251の構成は前記
第2実施例と基本的に同じである。
The third embodiment differs from the second embodiment in that a plurality of spoolers 251 having the functions of the parent spooler and the child spooler are provided. The structure of the spooler 251 is basically the same as that of the second embodiment.

【0097】アプリケーションプログラム201による
印刷指示からプリンタドライバ203により作成された
プリンタ204に対するコマンドデータがスプーラ25
1に渡されるまでの処理は前記第1実施例と同じであ
る。
Command data for the printer 204 created by the printer driver 203 from the print instruction from the application program 201 is spooler 25.
The processing up to 1 is the same as that in the first embodiment.

【0098】スプーラ251は描画制御プログラム20
2から渡されたデータを直ちにプリンタ204に出力し
ないで、一旦、印刷待ち行列206に入れる。そして、
印刷待ち行列206から印刷ジョブ207を1つずつ取
り出して印刷を行う。印刷ジョブ207の構成は前記第
1実施例の場合と同じくページ単位で構成され、どのペ
ージをばらばらに印刷してもページとしては正常に印刷
される。
The spooler 251 is the drawing control program 20.
Instead of immediately outputting the data passed from No. 2 to the printer 204, the data is temporarily put in the print queue 206. And
The print jobs 207 are taken out from the print queue 206 one by one and printed. The configuration of the print job 207 is configured on a page-by-page basis as in the case of the first embodiment, and even if any of the pages is printed separately, the pages are normally printed.

【0099】また、電源管理プログラム209の動作は
前記第1実施例と同じである。
The operation of the power management program 209 is the same as that of the first embodiment.

【0100】図26はスプーラ251による印刷処理手
順を示すフローチャートである。スプーラ251は印刷
ジョブが印刷待ち行列206にあるか否かを判別する
(ステップS321)。印刷ジョブがないとき、一定時
間待ち状態になった後(ステップS322)、再度、印
刷ジョブが印刷待ち行列206にあるか否かを判別す
る。
FIG. 26 is a flow chart showing the print processing procedure by the spooler 251. The spooler 251 determines whether the print job is in the print queue 206 (step S321). When there is no print job, after waiting for a certain period of time (step S322), it is determined again whether or not the print job is in the print queue 206.

【0101】印刷ジョブが印刷待ち行列にあるとき、ス
プーラ251は印刷待ち行列から1つ取り出す。つづい
て、描画制御プログラム202に対してプリンタの使用
を要求する(ステップS324)。
When a print job is in the print queue, the spooler 251 removes one from the print queue. Subsequently, the drawing control program 202 is requested to use the printer (step S324).

【0102】描画制御プログラム202は他のスプーラ
252がプリンタを使用しているなどでプリンタを現在
使用できない状態にあるか否かを調べ(ステップS32
6)、使用してよければプリンタ204の使用許可を与
える。スプーラ251はプリンタ204の使用が可能で
ない場合、一定時間待った後(ステップS325)、再
度、プリンタ204の使用許可を求める。プリンタ20
4の使用が可能な場合、スプーラ251は直ちにプリン
タコマンドをプリンタ204に出力せずに、電源管理プ
ログラム209を呼び出す(ステップS327)。
The drawing control program 202 checks whether or not the printer is currently unavailable because another spooler 252 is using the printer (step S32).
6) If it is acceptable to use the printer, give permission to use the printer 204. If the spooler 251 cannot use the printer 204, the spooler 251 waits for a certain period of time (step S325), and again requests permission to use the printer 204. Printer 20
4 is available, the spooler 251 does not immediately output the printer command to the printer 204 but calls the power management program 209 (step S327).

【0103】電源管理プログラム209はサスペンド状
態に移行すべき状態にあるとき、待ち状態に入るようス
プーラ251に指示し、そうでないとき何もしない。ス
プーラ251は電源管理プログラム209から待ち状態
に入るよう指示されると(ステップS327)、待ち状
態に入る(ステップS329)。
The power management program 209 instructs the spooler 251 to enter the waiting state when it should enter the suspend state, and does nothing otherwise. When the spooler 251 is instructed by the power management program 209 to enter the waiting state (step S327), the spooler 251 enters the waiting state (step S329).

【0104】待ち状態の解除は、装置がレジューム状態
になり待ち原因が解除されたときに、電源管理プログラ
ム209からスプーラ251への指示により行われる。
電源管理プログラム209から何も指示されなければ、
スプーラ251は1ページ分のプリンタコマンドをプリ
ンタ204に出力する(ステップS330)。全ページ
の印刷が終了したか否かを判別し(ステップS33
1)、終了していない場合、ステップS324の処理に
戻り、終了した場合には描画制御プログラム202に印
刷終了を通知してプリンタ204を開放し(ステップS
332)、再度、印刷ジョブが印刷待ち行列206にあ
るか否かを調べ、処理を繰り返す。
The wait state is released by an instruction from the power management program 209 to the spooler 251 when the device enters the resume state and the cause of the wait is released.
If nothing is instructed from the power management program 209,
The spooler 251 outputs a printer command for one page to the printer 204 (step S330). It is determined whether printing of all pages has been completed (step S33).
1) If not completed, the process returns to step S324, and if completed, the drawing control program 202 is notified of the completion of printing and the printer 204 is opened (step S324).
332) Then, it is again checked whether or not the print job is in the print queue 206, and the process is repeated.

【0105】[0105]

【発明の効果】本発明の請求項1に係る情報処理装置に
よれば、電力モード切替手段により前記省電力モードと
通常モードとのいずれかに電力モードを切り替え、待機
手段により該電力モードの切替を待機する際に、印刷待
ち行列生成手段により指示された印刷データを分割して
複数の印刷待ち行列を生成し、印刷手段により該生成さ
れた印刷待ち行列を印刷し、判別手段により前記印刷待
ち行列が印刷中であるか否かを判別し、該印刷中でない
と判別された場合に直ちに省電力モードに遷移し、該印
刷中であると判別された場合に前記印刷待ち行列の印刷
終了まで待機した後に前記省電力モードに遷移するの
で、印刷待ち行列を印刷した後に速やかに省電力モード
に遷移でき、従来のように印刷処理中には印刷データの
印刷が完了するまで省電力モードに遷移できなかった問
題を解消できる。したがって、印刷処理中にローバッテ
リとなった場合など早急に省電力モードに切り替えるこ
とができる。
According to the information processing apparatus of the first aspect of the present invention, the power mode switching means switches the power mode between the power saving mode and the normal mode, and the standby means switches the power mode. When waiting, the print data designated by the print queue generating means is divided to generate a plurality of print queues, the printing means prints the generated print queues, and the determining means prints the print queues. It is determined whether or not the queue is being printed. If it is determined that the queue is not being printed, the mode immediately shifts to the power saving mode. If it is determined that the queue is being printed, until the end of printing of the print queue. Since it shifts to the power saving mode after waiting, it is possible to quickly shift to the power saving mode after printing the print queue, and until printing of print data is completed during the printing process as in the past. You can solve the problem that could not be a transition to power mode. Therefore, it is possible to quickly switch to the power saving mode, such as when the battery becomes low during the printing process.

【0106】請求項2に係る情報処理装置によれば、前
記電力モード切替手段によって省電力モードから通常モ
ードに復帰した場合、未印刷の印刷待ち行列があるか否
かを判別する第2判別手段を備え、前記未印刷の印刷待
ち行列があると判別された場合、前記印刷手段は該未印
刷の印刷待ち行列を印刷するので、引き続き印刷待ち行
列の印刷を再開できる。
According to the information processing apparatus of the second aspect, when the power mode switching unit returns from the power saving mode to the normal mode, the second determining unit determines whether or not there is an unprinted print queue. When it is determined that there is an unprinted print queue, the printing unit prints the unprinted print queue, so that the printing of the print queue can be resumed.

【0107】請求項3に係る情報処理装置によれば、省
電力モードを具備する情報処理装置において、前記省電
力モードと通常モードとのいずれかに電力モードを切り
替える電力モード切替手段と、指示された印刷データを
分割して複数の印刷単位が格納される印刷待ち行列を生
成する印刷待ち行列生成手段と、該生成された印刷待ち
行列内に格納された印刷単位を印刷する印刷手段と、前
記印刷待ち行列の一印刷単位の印刷を終了した後に、前
記電力モードの切り替えを判別する判別手段とを備え、
該判別結果に応じて省電力モードに遷移するので、印刷
単位の印刷が終了する度に省電力モードに遷移させるこ
とができ、従来のように印刷データの印刷が完了するま
で省電力モードに切り替えできなかった問題を解消でき
る。
According to the information processing apparatus of the third aspect, in the information processing apparatus having the power saving mode, the power mode switching means for switching the power mode between the power saving mode and the normal mode is instructed. A print queue generating unit that divides the print data into a print queue that stores a plurality of print units; a print unit that prints the print units stored in the generated print queue; And a determination unit that determines the switching of the power mode after the printing of one print unit of the print queue is completed,
Since the mode changes to the power saving mode according to the determination result, it can be switched to the power saving mode every time printing of a print unit is completed, and the mode is switched to the power saving mode until printing of print data is completed as in the conventional case. Can solve problems that could not be done.

【0108】請求項4に係る情報処理装置によれば、前
記電力モード切替手段によって省電力モードから通常モ
ードに復帰した場合、前記印刷待ち行列内に未印刷の印
刷単位があるか否かを判別する第2判別手段を備え、前
記未印刷の印刷単位があると判別された場合、前記印刷
手段は該未印刷の印刷単位を印刷するので、引き続き印
刷単位の印刷を再開できる。
According to the information processing apparatus of the fourth aspect, when the power mode switching unit returns from the power saving mode to the normal mode, it is determined whether or not there is an unprinted print unit in the print queue. When it is determined that there is the unprinted printing unit, the printing unit prints the unprinted printing unit, and thus printing of the printing unit can be resumed.

【0109】請求項5に係る情報処理装置によれば、省
電力モードを具備する情報処理装置において、前記省電
力モードと通常モードとのいずれかに電力モードを切り
替える電力モード切替手段と、指示された印刷データを
分割して複数の印刷単位が格納される印刷待ち行列を複
数生成する印刷待ち行列生成手段と、該生成された複数
の印刷待ち行列のいずれかに格納された前記印刷単位を
印刷する印刷手段と、前記複数の印刷待ち行列のいずれ
かに格納された一印刷単位の印刷を終了した後に、前記
電力モードの切り替えを判別する判別手段とを備え、該
判別結果に応じて省電力モードに遷移するので、複数の
印刷待ち行列のいずれかに格納された印刷単位の印刷が
終了する度に省電力モードに遷移させることができ、従
来のように印刷データの印刷が完了するまで省電力モー
ドに切り替えできなかった問題を解消できる。
According to the information processing apparatus of the fifth aspect, in the information processing apparatus having the power saving mode, the power mode switching means for switching the power mode to either the power saving mode or the normal mode is instructed. Print queue generating means for generating a plurality of print queues for storing a plurality of print units by dividing the print data, and printing the print units stored in any of the plurality of generated print queues. And a discriminating means for discriminating the switching of the power mode after the printing of one printing unit stored in any of the plurality of print queues is completed, and the power saving is performed according to the discrimination result. Since the mode is switched to the mode, it is possible to switch to the power saving mode every time the printing of the print unit stored in any of the plurality of print queues is completed. You can solve the problem that other printing has failed to be switched to the power-saving mode until it is completed.

【0110】請求項6に係る情報処理装置によれば、前
記電力モード切替手段によって省電力モードから通常モ
ードに復帰した場合、前記印刷待ち行列内に未印刷の印
刷単位があるか否かを判別する第2判別手段を備え、前
記未印刷の印刷単位があると判別された場合、前記印刷
手段は該未印刷の印刷単位を印刷するので、引き続き印
刷単位の印刷を再開できる。
According to the sixth aspect of the information processing apparatus, when the power mode switching unit returns from the power saving mode to the normal mode, it is determined whether or not there is an unprinted print unit in the print queue. When it is determined that there is the unprinted printing unit, the printing unit prints the unprinted printing unit, and thus printing of the printing unit can be resumed.

【0111】請求項7に係る情報処理装置によれば、前
記印刷待ち行列生成手段は、ページ単位で印刷待ち行列
を生成するので、ページ単位に印刷が終了する度に省電
力モードに切り替えることができる。
According to the information processing apparatus of the seventh aspect, since the print queue generating means generates the print queue in page units, it is possible to switch to the power saving mode each time printing is completed in page units. it can.

【0112】請求項8に係る情報処理装置によれば、前
記印刷単位はページであるので、ページ単位に印刷が終
了する度に省電力モードに切り替えることができる。
According to the information processing apparatus of the eighth aspect, since the printing unit is a page, it is possible to switch to the power saving mode each time printing is completed page by page.

【0113】請求項9に係る情報処理装置によれば、前
記印刷手段は一体に成形されているので、例えばラップ
トップ型のパーソナルコンピュータにおいて印刷処理中
にローバッテリとなった場合など早急に省電力モードに
切り替えることができる。
According to the information processing apparatus of the ninth aspect, since the printing means is integrally formed, for example, in a laptop personal computer, when the battery becomes low during the printing process, the power can be saved immediately. You can switch to mode.

【0114】請求項10に係る情報処理装置の印刷方法
によれば、省電力モードを具備する情報処理装置の印刷
方法において、指示された印刷データを分割して複数の
印刷待ち行列を生成し、該生成された印刷待ち行列を印
刷し、前記印刷待ち行列が印刷中であるか否かを判別
し、該印刷中でないと判別された場合に直ちに省電力モ
ードに遷移し、該印刷中であると判別された場合に前記
印刷待ち行列の印刷終了まで待機した後に前記省電力モ
ードに遷移するので、印刷待ち行列を印刷した後に速や
かに省電力モードに遷移でき、従来のように印刷処理中
には印刷データの印刷が完了するまで省電力モードに遷
移できなかった問題を解消できる。
According to the printing method of the information processing apparatus according to claim 10, in the printing method of the information processing apparatus having the power saving mode, the designated print data is divided to generate a plurality of print queues, The generated print queue is printed, and it is determined whether or not the print queue is printing. If it is determined that the print queue is not printing, the power saving mode is immediately entered, and the printing is in progress. If it is determined that the power saving mode is entered after waiting until the printing of the print queue is completed, the power saving mode can be immediately entered after the print queue is printed, and the printing process can be performed during the printing process as in the past. Can solve the problem that the power saving mode cannot be entered until the printing of the print data is completed.

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

【図1】パーソナルコンピュータの外観を示す斜視図で
ある。
FIG. 1 is a perspective view showing the external appearance of a personal computer.

【図2】ホストコンピュータ1の構成を示すブロック図
である。
FIG. 2 is a block diagram showing a configuration of a host computer 1.

【図3】インクジェット記録方式を用いたプリンタユニ
ット2の内部構成を示す斜視図である。
FIG. 3 is a perspective view showing an internal configuration of a printer unit 2 using an inkjet recording method.

【図4】プリンタの電気的構成を示すブロック図であ
る。
FIG. 4 is a block diagram showing an electrical configuration of the printer.

【図5】プリンタドライバ25の電気的構成を示す回路
図である。
FIG. 5 is a circuit diagram showing an electrical configuration of a printer driver 25.

【図6】ヘッドを駆動する信号を示すタイミングチャー
トである。
FIG. 6 is a timing chart showing signals for driving a head.

【図7】キャリッジモータ5013およびモータドライ
バの構成を示す回路図である。
FIG. 7 is a circuit diagram showing configurations of a carriage motor 5013 and a motor driver.

【図8】キャリッジモータ5013の駆動信号を示すタ
イミングチャートである。
FIG. 8 is a timing chart showing drive signals for a carriage motor 5013.

【図9】プリンタのコントローラ24の構成を示すブロ
ック図である。
FIG. 9 is a block diagram showing a configuration of a controller 24 of the printer.

【図10】プリンタI/Oレジスタのマップを示す説明
図である。
FIG. 10 is an explanatory diagram showing a map of a printer I / O register.

【図11】RAM23の印字バッファ(PB)と受信バ
ッファ(IB)のアドレス領域を各々示す説明図であ
る。
FIG. 11 is an explanatory diagram showing address areas of a print buffer (PB) and a receive buffer (IB) of the RAM 23, respectively.

【図12】ホストコンピュータとプリンタとのインター
フェース領域の関係を示す説明図である。
FIG. 12 is an explanatory diagram showing a relationship between an interface area between a host computer and a printer.

【図13】電源投入時の処理手順を示すフローチャート
である。
FIG. 13 is a flowchart showing a processing procedure when the power is turned on.

【図14】POST処理手順を示すフローチャートであ
る。
FIG. 14 is a flowchart showing a POST processing procedure.

【図15】キーボード割り込みが発生した場合の処理手
順を示すフローチャートである。
FIG. 15 is a flowchart showing a processing procedure when a keyboard interrupt occurs.

【図16】キーコード取得処理手順を示すフローチャー
トである。
FIG. 16 is a flowchart showing a key code acquisition processing procedure.

【図17】ホストコンピュータによるコマンド解析処理
手順を示すフローチャートである。
FIG. 17 is a flowchart showing a command analysis processing procedure by the host computer.

【図18】印刷処理手順を示すブロック図である。FIG. 18 is a block diagram illustrating a print processing procedure.

【図19】親スプーラ205の構成を示す説明図であ
る。
FIG. 19 is an explanatory diagram showing a configuration of a parent spooler 205.

【図20】印刷ジョブ207の構成を示す説明図であ
る。
FIG. 20 is an explanatory diagram showing the structure of a print job 207.

【図21】電源管理プログラム209の構成を示す説明
図である。
FIG. 21 is an explanatory diagram showing a configuration of a power management program 209.

【図22】子スプーラ208による印刷処理の手順を示
すフローチャートである。
FIG. 22 is a flowchart showing the procedure of a printing process by the child spooler 208.

【図23】第2実施例のパーソナルコンピュータにおけ
る印刷処理手順を示すブロック図である。
FIG. 23 is a block diagram illustrating a print processing procedure in the personal computer according to the second embodiment.

【図24】スプーラ241による印刷処理手順を示すフ
ローチャートである。
FIG. 24 is a flowchart showing a print processing procedure by the spooler 241.

【図25】第3実施例のパーソナルコンピュータにおけ
る印刷処理手順を示すブロック図である。
FIG. 25 is a block diagram illustrating a print processing procedure in the personal computer according to the third embodiment.

【図26】スプーラ251による印刷処理手順を示すフ
ローチャートである。
FIG. 26 is a flowchart showing a print processing procedure by the spooler 251.

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

1 ホストコンピュータ 2 プリンタユニット 21 CPU 105 サスペンド/レジュームキー 202 描画制御プログラム 204 プリンタ 205 親スプーラ 206 印刷待ち行列 208 子スプーラ 209 電源管理プログラム 241、251 スプーラ 1 Host Computer 2 Printer Unit 21 CPU 105 Suspend / Resume Key 202 Drawing Control Program 204 Printer 205 Parent Spooler 206 Print Queue 208 Child Spooler 209 Power Management Program 241, 251 Spooler

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 省電力モードを具備する情報処理装置に
おいて、 前記省電力モードと通常モードとのいずれかに電力モー
ドを切り替える電力モード切替手段と、 該電力モードの切替を待機する待機手段と、 指示された印刷データを分割して複数の印刷待ち行列を
生成する印刷待ち行列生成手段と、 該生成された印刷待ち行列を印刷する印刷手段と、 前記印刷待ち行列が印刷中であるか否かを判別する判別
手段とを備え、 該印刷中でないと判別された場合に直ちに省電力モード
に遷移し、該印刷中であると判別された場合に前記印刷
待ち行列の印刷終了まで待機した後に前記省電力モード
に遷移することを特徴とする情報処理装置。
1. An information processing apparatus having a power saving mode, a power mode switching unit for switching the power mode between the power saving mode and the normal mode, and a standby unit for waiting for the switching of the power mode. Print queue generation means for dividing the designated print data to generate a plurality of print queues, printing means for printing the generated print queues, and whether or not the print queue is being printed A determination unit that determines whether the printing is in progress, immediately transits to the power saving mode when it is determined that the printing is not in progress, and waits until the end of printing in the print queue when it is determined that the printing is in progress. An information processing device, characterized in that the device shifts to a power saving mode.
【請求項2】 前記電力モード切替手段によって省電力
モードから通常モードに復帰した場合、未印刷の印刷待
ち行列があるか否かを判別する第2判別手段を備え、 前記未印刷の印刷待ち行列があると判別された場合、前
記印刷手段は該未印刷の印刷待ち行列を印刷することを
特徴とする請求項1記載の情報処理装置。
2. When the power mode switching unit returns from the power saving mode to the normal mode, a second determination unit that determines whether or not there is an unprinted print queue is provided, and the unprinted print queue. The information processing apparatus according to claim 1, wherein when it is determined that there is a print queue, the printing unit prints the unprinted print queue.
【請求項3】 省電力モードを具備する情報処理装置に
おいて、 前記省電力モードと通常モードとのいずれかに電力モー
ドを切り替える電力モード切替手段と、 指示された印刷データを分割して複数の印刷単位が格納
される印刷待ち行列を生成する印刷待ち行列生成手段
と、 該生成された印刷待ち行列内に格納された印刷単位を印
刷する印刷手段と、 前記印刷待ち行列の一印刷単位の印刷を終了した後に、
前記電力モードの切り替えを判別する判別手段とを備
え、 該判別結果に応じて省電力モードに遷移することを特徴
とする情報処理装置。
3. An information processing apparatus having a power saving mode, wherein a power mode switching unit for switching the power mode between the power saving mode and the normal mode, and a plurality of prints by dividing the instructed print data. A print queue generating unit that generates a print queue in which units are stored; a printing unit that prints the print unit stored in the generated print queue; and a print unit that prints one print unit in the print queue. After finishing,
An information processing apparatus comprising: a determination unit that determines switching of the power mode, and transitions to a power saving mode according to the determination result.
【請求項4】 前記電力モード切替手段によって省電力
モードから通常モードに復帰した場合、前記印刷待ち行
列内に未印刷の印刷単位があるか否かを判別する第2判
別手段を備え、 前記未印刷の印刷単位があると判別された場合、前記印
刷手段は該未印刷の印刷単位を印刷することを特徴とす
る請求項3記載の情報処理装置。
4. When the power mode switching unit returns from the power saving mode to the normal mode, a second determining unit for determining whether or not there is an unprinted print unit in the print queue is provided. The information processing apparatus according to claim 3, wherein when it is determined that there is a print unit for printing, the printing unit prints the unprinted print unit.
【請求項5】 省電力モードを具備する情報処理装置に
おいて、 前記省電力モードと通常モードとのいずれかに電力モー
ドを切り替える電力モード切替手段と、 指示された印刷データを分割して複数の印刷単位が格納
される印刷待ち行列を複数生成する印刷待ち行列生成手
段と、 該生成された複数の印刷待ち行列のいずれかに格納され
た前記印刷単位を印刷する印刷手段と、 前記複数の印刷待ち行列のいずれかに格納された一印刷
単位の印刷を終了した後に、前記電力モードの切り替え
を判別する判別手段とを備え、 該判別結果に応じて省電力モードに遷移することを特徴
とする情報処理装置。
5. An information processing apparatus having a power saving mode, wherein a power mode switching unit for switching the power mode between the power saving mode and the normal mode, and a plurality of prints by dividing the instructed print data. A print queue generating unit that generates a plurality of print queues in which units are stored; a printing unit that prints the print unit stored in any of the plurality of generated print queues; Information that is characterized by comprising a determining unit that determines the switching of the power mode after the printing of one printing unit stored in any of the matrixes is completed, and transitions to the power saving mode according to the determination result. Processing equipment.
【請求項6】 前記電力モード切替手段によって省電力
モードから通常モードに復帰した場合、前記印刷待ち行
列内に未印刷の印刷単位があるか否かを判別する第2判
別手段を備え、 前記未印刷の印刷単位があると判別された場合、前記印
刷手段は該未印刷の印刷単位を印刷することを特徴とす
る請求項5記載の情報処理装置。
6. When the power mode switching unit returns from the power saving mode to the normal mode, a second determining unit is provided for determining whether or not there is an unprinted print unit in the print queue. The information processing apparatus according to claim 5, wherein when it is determined that there is a print unit for printing, the printing unit prints the unprinted print unit.
【請求項7】 前記印刷待ち行列生成手段は、ページ単
位で印刷待ち行列を生成することを特徴とする請求項1
記載の情報処理装置。
7. The print queue generation means generates a print queue on a page-by-page basis.
The information processing device described.
【請求項8】 前記印刷単位はページであることを特徴
とする請求項3または請求項5記載の情報処理装置。
8. The information processing apparatus according to claim 3, wherein the printing unit is a page.
【請求項9】 前記印刷手段は一体に成形されているこ
とを特徴とする請求項1、請求項3または請求項5記載
の情報処理装置。
9. The information processing apparatus according to claim 1, wherein the printing unit is integrally formed.
【請求項10】 省電力モードを具備する情報処理装置
の印刷方法において、 指示された印刷データを分割して複数の印刷待ち行列を
生成し、 該生成された印刷待ち行列を印刷し、 前記印刷待ち行列が印刷中であるか否かを判別し、 該印刷中でないと判別された場合に直ちに省電力モード
に遷移し、該印刷中であると判別された場合に前記印刷
待ち行列の印刷終了まで待機した後に前記省電力モード
に遷移することを特徴とする情報処理装置の印刷方法。
10. A printing method for an information processing apparatus having a power saving mode, wherein designated print data is divided to generate a plurality of print queues, the generated print queues are printed, and the print It is determined whether or not the queue is being printed. If it is determined that the printing is not in progress, the power saving mode is immediately entered, and if it is determined that the printing is in progress, the printing of the printing queue is completed. The printing method of the information processing apparatus, comprising: transitioning to the power saving mode after waiting up to.
JP7149427A 1995-05-24 1995-05-24 Information processing apparatus and printing method thereof Pending JPH08310086A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7149427A JPH08310086A (en) 1995-05-24 1995-05-24 Information processing apparatus and printing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7149427A JPH08310086A (en) 1995-05-24 1995-05-24 Information processing apparatus and printing method thereof

Publications (1)

Publication Number Publication Date
JPH08310086A true JPH08310086A (en) 1996-11-26

Family

ID=15474877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7149427A Pending JPH08310086A (en) 1995-05-24 1995-05-24 Information processing apparatus and printing method thereof

Country Status (1)

Country Link
JP (1) JPH08310086A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004362432A (en) * 2003-06-06 2004-12-24 Seiko Epson Corp Power control system, printer using terminal, network printer, terminal program and printer program, and power control method
JP2011152790A (en) * 2010-01-26 2011-08-11 Ricoh Co Ltd Method and apparatus for adjusting printing device power consumption based on usage data
US8994974B2 (en) 2012-08-03 2015-03-31 Brother Kogyo Kabushiki Kaisha Printer
US9057998B2 (en) 2012-08-03 2015-06-16 Brother Kogyo Kabushiki Kaisha Printer having a power saving mode

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004362432A (en) * 2003-06-06 2004-12-24 Seiko Epson Corp Power control system, printer using terminal, network printer, terminal program and printer program, and power control method
JP2011152790A (en) * 2010-01-26 2011-08-11 Ricoh Co Ltd Method and apparatus for adjusting printing device power consumption based on usage data
US8994974B2 (en) 2012-08-03 2015-03-31 Brother Kogyo Kabushiki Kaisha Printer
US9057998B2 (en) 2012-08-03 2015-06-16 Brother Kogyo Kabushiki Kaisha Printer having a power saving mode

Similar Documents

Publication Publication Date Title
JP3323527B2 (en) Printing apparatus and method
US5581668A (en) Method and apparatus for processing data
US20030156129A1 (en) Information processing method and apparatus
US5844813A (en) Information processing apparatus and method with setting of power off state and with recognition of printer operating state
JPH0781186A (en) Power saving device for information processing system
US5787308A (en) Printing apparatus and method in which virtual busy signal is generated when printer buffer has larger vacant area than a predetermined value
JPH10105295A (en) Electronic device with built-in battery and print control method
JP3093342B2 (en) Power saving method and printing apparatus
JPH0535421A (en) Information processing method and device
JP3542443B2 (en) Host computer and data transfer method
JPH08292854A (en) Information processing device
JPH08320772A (en) Information processing apparatus and printing method thereof
JP3278174B2 (en) Printing apparatus and initialization method
JPH0532016A (en) Mode switching method and device
JPH05169736A (en) Printer and printer control method
JPH0532011A (en) Printing method and device
JPH0532014A (en) Information processing method and device
JPH0532010A (en) Printing method and device
JPH0532013A (en) Information processing method and device
JPH08244314A (en) Printer system, printer in the system, and information processing apparatus
JPH06262809A (en) Printer control device
JP3205174B2 (en) Printing apparatus and control method thereof
JPH06110435A (en) Character processing method and apparatus thereof
JPH0532012A (en) Information processing method and device
JP3262355B2 (en) Information processing method and apparatus