JPH064240A - Printer device control system - Google Patents
Printer device control systemInfo
- Publication number
- JPH064240A JPH064240A JP4162365A JP16236592A JPH064240A JP H064240 A JPH064240 A JP H064240A JP 4162365 A JP4162365 A JP 4162365A JP 16236592 A JP16236592 A JP 16236592A JP H064240 A JPH064240 A JP H064240A
- Authority
- JP
- Japan
- Prior art keywords
- printer device
- printer
- print data
- output
- 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.)
- Granted
Links
- 230000002159 abnormal effect Effects 0.000 claims abstract description 12
- 238000000034 method Methods 0.000 claims description 5
- 230000010365 information processing Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 4
- 230000005856 abnormality Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
Landscapes
- Hardware Redundancy (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、プリンタ装置制御方式
に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer device control system.
【0002】[0002]
【従来の技術】通常、プリンタ装置制御方式は、プリン
タ装置へ高速、かつ正確に出力することが要求される。2. Description of the Related Art Generally, a printer control system is required to output to a printer at high speed and accurately.
【0003】従来のプリンタ装置制御方式では、プリン
タ装置が異常の場合に、正常状態となるまで待ち、正常
状態になってからプリントデータの出力を再開する方式
で処理を行っていた。In the conventional printer device control system, when the printer device is abnormal, the process is performed by waiting until the printer is in the normal state and restarting the output of the print data when the printer is in the normal state.
【0004】[0004]
【発明が解決しようとする課題】従来のプリンタ装置制
御方式では、プリンタ装置が異常の場合、そのプリンタ
装置が正常状態に復旧しないかぎりプリントデータを出
力できないという欠点がある。The conventional printer control method has a drawback in that when the printer is abnormal, print data cannot be output unless the printer is restored to a normal state.
【0005】そこで、本発明の目的は、プリンタ装置が
異常の場合、代替プリンタ装置にプリントデータの出力
を行うプリンタ装置制御方式を提供することにある。Therefore, an object of the present invention is to provide a printer device control system for outputting print data to an alternative printer device when the printer device is abnormal.
【0006】[0006]
【課題を解決するための手段】本発明のプリンタ装置制
御方式は、複数のプリンタ装置を管理してプリントデー
タを出力する情報処理システムにおけるプリンタ装置制
御方式において、プリントデータの出力先プリンタ装置
を示すプリントキューの登録要求を行うプリントキュー
登録部と、前記プリントキューの登録要求を受けてキュ
ー番号及びプリンタ番号さらに前記プリンタ番号で示さ
れるプリンタ装置の代替プリンタ番号を備えたプリント
キュー状態管理テーブルに登録する二重化登録部と、プ
リントデータ出力要求を受け付けるプリントデータ受付
部と、前記出力要求が受け付けられたプリンタ装置への
プリントデータの第一の出力指示を出力し前記プリンタ
装置が異常の場合に前記キュー番号を介して前記プリン
トキュー状態管理テーブルから得られる前記代替プリン
タ番号で示される代替プリンタ装置への第二の出力指示
を出力するプリントキュー管理部と、前記第一の出力指
示及び前記第二の出力指示における前記プリンタ番号で
示されるプリンタ装置への前記プリントデータの出力を
行うプリントデータ出力部を備えたことを特徴とする。A printer device control system according to the present invention is a printer device control system in an information processing system for managing a plurality of printer devices and outputting print data. A print queue registration unit for making a print queue registration request, and a print queue status management table having a queue number and a printer number in response to the print queue registration request and an alternative printer number of the printer device indicated by the printer number. A duplication registration unit, a print data reception unit that receives a print data output request, a first output instruction of print data to the printer device that receives the output request, and the queue when the printer device is abnormal. Print queue status management via number A print queue management unit that outputs a second output instruction to the alternative printer device indicated by the alternative printer number obtained from the table, and indicated by the printer number in the first output instruction and the second output instruction. A print data output unit for outputting the print data to a printer device is provided.
【0007】[0007]
【実施例】以下、本発明の詳細を、その実施例につき図
面を参照して説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The details of the present invention will be described below with reference to the accompanying drawings.
【0008】図1は、本発明の一実施例の構成図であ
る。FIG. 1 is a block diagram of an embodiment of the present invention.
【0009】図1に示すように、本実施例はプリンタ装
置が異常の場合に代替プリンタ装置にプリントデータを
出力するために、プリントキュー登録部1、二重化登録
部2、プリントデータ受付部3、プリントキュー状態管
理テーブル4、プリントキュー管理部5、二重化管理部
6、プリントデータ出力部7、プリンタ装置8、代替プ
リンタ装置9を用いる。As shown in FIG. 1, in this embodiment, in order to output print data to an alternative printer device when the printer device is abnormal, a print queue registration unit 1, a duplication registration unit 2, a print data reception unit 3, The print queue status management table 4, the print queue management unit 5, the duplication management unit 6, the print data output unit 7, the printer device 8, and the alternative printer device 9 are used.
【0010】図2は、プリントキュー状態管理テーブル
の構造図である。FIG. 2 is a structural diagram of the print queue status management table.
【0011】図2に示すように、プリントキュー状態管
理テーブルは、プリントキューの番号を示すプリントキ
ュー番号10、プリントキューに対するプリンタ装置の
番号を示すプリンタ番号11、プリンタ装置が正常状
態、または異常状態かを示すプリンタ状態12、プリン
タ番号11に設定されているプリンタ装置が異常の場合
の代替プリンタ装置の番号を示す二重化プリンタ番号1
4、プリントデータバッファの先頭位置を示すプリント
データバッファ先頭ポインタ15、プリントデータの全
体長を示すプリントデータレングス16の領域の並びで
構成される。As shown in FIG. 2, the print queue status management table includes a print queue number 10 indicating a print queue number, a printer number 11 indicating a printer apparatus number corresponding to the print queue, and a normal or abnormal status of the printer apparatus. Duplicated printer number 1 indicating the number of the alternative printer device when the printer device set in printer status 12 and printer number 11 indicating
4, a print data buffer start pointer 15 indicating the start position of the print data buffer, and a print data length 16 indicating the overall length of the print data.
【0012】次に、代替プリンタ装置9を備え、プリン
トキュー番号が0のプリンタ装置8にプリントデータを
出力中にプリンタ装置8が異常となった時の本発明の実
施例について説明する。Next, a description will be given of an embodiment of the present invention, which is provided with the alternative printer device 9 and when the printer device 8 becomes abnormal while outputting print data to the printer device 8 with the print queue number 0.
【0013】本システムが起動されると、プリントキュ
ー登録部1に制御を渡される。プリントキュー登録部1
では、代替プリンタ装置指定のプリントキュー登録のた
め、二重化登録部2に制御を渡す。When the system is activated, the print queue registration unit 1 is given control. Print queue registration section 1
Then, in order to register the print queue with the alternative printer device designated, control is passed to the duplex registration unit 2.
【0014】二重化登録部2では、プリントキュー状態
管理テーブル4のプリントキュー番号10に0を設定
し、プリンタ番号11にプリンタ装置8の番号を設定
し、二重化プリンタ番号14に代替プリンタ装置9の番
号を設定する。In the duplicate registration unit 2, 0 is set in the print queue number 10 of the print queue status management table 4, the number of the printer device 8 is set in the printer number 11, and the number of the alternative printer device 9 is set in the duplicate printer number 14. To set.
【0015】プリントデータ出力要求があると、プリン
トデータ受付部3に制御が渡される。プリントデータ受
付部3では、プリントデータに対するプリントキュー番
号として0とプリントデータバッファの先頭位置とプリ
ントデータの全体長をプリントキュー管理部5に渡す。When a print data output request is issued, control is passed to the print data receiving unit 3. The print data acceptance unit 3 passes 0 as the print queue number for the print data, the start position of the print data buffer, and the entire length of the print data to the print queue management unit 5.
【0016】プリントキュー管理部5では、プリントキ
ュー番号の0とプリントデータバッファの先頭位置とプ
リントデータの全体長を二重化管理部6に渡す。In the print queue management unit 5, the print queue number 0, the start position of the print data buffer and the total length of the print data are passed to the duplication management unit 6.
【0017】二重化管理部6では、プリントキュー状態
管理テーブル4をサーチして、プリントキュー番号が0
のプリンタ装置に代替プリンタ装置が割当てられている
ため、プリントデータバッファの先頭位置をプリントデ
ータバッファ先頭ポインタ15に設定し、プリントデー
タの全体長をプリントデータレングス16に設定し、プ
リントキュー管理部5に戻る。The duplication management unit 6 searches the print queue status management table 4 to find that the print queue number is 0.
Since the alternative printer device is assigned to this printer device, the start position of the print data buffer is set in the print data buffer start pointer 15, the total length of the print data is set in the print data length 16, and the print queue management unit 5 Return to.
【0018】プリントキュー管理部5では、プリントデ
ータを一定の大きさに区切って、プリンタ装置8の番号
とともにプリントデータ出力部7に渡す。The print queue management section 5 divides the print data into a predetermined size and sends it to the print data output section 7 together with the number of the printer device 8.
【0019】プリントデータ出力部7では、プリンタ装
置8に対してプリントデータを出力する。The print data output section 7 outputs print data to the printer device 8.
【0020】プリンタ装置8へ出力中に異常が発生する
と、プリントデータ出力部7は、プリンタ装置8におい
て異常が発生したことをプリントキュー管理部5に通知
する。When an abnormality occurs during output to the printer device 8, the print data output unit 7 notifies the print queue management unit 5 that the abnormality has occurred in the printer device 8.
【0021】プリントキュー管理部5では、プリントキ
ュー番号の0で異常が発生したことを二重化管理部6に
通知し、代替プリンタがあるか否かのサーチを要求す
る。The print queue management unit 5 notifies the duplication management unit 6 that an error has occurred at the print queue number 0, and requests a search to see if there is an alternative printer.
【0022】二重化管理部6では、プリントキュー状態
管理テーブル4を参照して、プリントキュー番号が0の
プリンタ装置8に対する代替プリンタが代替プリンタ装
置9であることが分かり、代替プリンタ装置9の装置番
号とプリントデータバッファの先頭位置とプリントバッ
ファの全体長をプリントキュー管理部5に渡す。The duplication management unit 6 refers to the print queue status management table 4 and finds that the alternative printer for the printer device 8 with the print queue number 0 is the alternative printer device 9, and the device number of the alternative printer device 9 is shown. The start position of the print data buffer and the entire length of the print buffer are passed to the print queue management unit 5.
【0023】プリントキュー管理部5では、再度プリン
トデータの先頭から一定の大きさに区切って、代替プリ
ンタ装置9の番号とともにプリントデータ出力部7に渡
す。The print queue management unit 5 again divides the print data into a certain size from the beginning, and passes the data together with the number of the alternative printer device 9 to the print data output unit 7.
【0024】以上のようにして、プリンタ装置が異常の
場合の代替プリンタ装置への切り替えを行う。As described above, switching to the alternative printer device is performed when the printer device is abnormal.
【0025】[0025]
【発明の効果】以上の説明で明らかなごとく、本発明の
プリンタ装置制御方式によれば、プリンタ装置が異常の
場合でも、代替プリンタ装置にプリントデータを出力可
能となるため、プリンタ復旧までの待ち時間や復旧によ
る時間のロスが少なくなる効果がある。As is apparent from the above description, according to the printer device control method of the present invention, even if the printer device is abnormal, the print data can be output to the alternative printer device. This has the effect of reducing time loss due to time and recovery.
【図1】本発明の一実施例の構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.
【図2】プリントキュー状態管理テーブルの一例を示す
構造図である。FIG. 2 is a structural diagram showing an example of a print queue status management table.
1 プリントキュー登録部 2 二重化登録部 3 プリントデータ受付部 4 プリントキュー状態管理テーブル 5 プリントキュー管理部 6 二重化管理部 7 プリントデータ出力部 8 プリンタ装置 9 代替プリンタ装置 1 Print Queue Registration Unit 2 Duplication Registration Unit 3 Print Data Reception Unit 4 Print Queue Status Management Table 5 Print Queue Management Unit 6 Duplication Management Unit 7 Print Data Output Unit 8 Printer Device 9 Alternative Printer Device
Claims (1)
データを出力する情報処理システムにおけるプリンタ装
置制御方式において、プリントデータの出力先プリンタ
装置を示すプリントキューの登録要求を行うプリントキ
ュー登録部と、前記プリントキューの登録要求を受けて
キュー番号及びプリンタ番号さらに前記プリンタ番号で
示されるプリンタ装置の代替プリンタ番号を備えたプリ
ントキュー状態管理テーブルに登録する二重化登録部
と、プリントデータ出力要求を受け付けるプリントデー
タ受付部と、前記出力要求が受け付けられたプリンタ装
置へのプリントデータの第一の出力指示を出力し前記プ
リンタ装置が異常の場合に前記キュー番号を介して前記
プリントキュー状態管理テーブルから得られる前記代替
プリンタ番号で示される代替プリンタ装置への第二の出
力指示を出力するプリントキュー管理部と、前記第一の
出力指示及び前記第二の出力指示における前記プリンタ
番号で示されるプリンタ装置への前記プリントデータの
出力を行うプリントデータ出力部を備えたことを特徴と
するプリンタ装置制御方式。1. In a printer device control method in an information processing system for managing a plurality of printer devices and outputting print data, a print queue registration unit for requesting registration of a print queue indicating a printer device to which print data is output, A duplex registration unit that receives a print queue registration request and registers it in a print queue status management table that includes a queue number, a printer number, and an alternative printer number of the printer device indicated by the printer number, and a print that receives a print data output request. A data reception unit outputs a first output instruction of print data to the printer device that has received the output request, and is obtained from the print queue state management table via the queue number when the printer device is abnormal. Indicated by the alternative printer number A print queue management unit that outputs a second output instruction to the alternative printer device, and an output of the print data to the printer device indicated by the printer number in the first output instruction and the second output instruction. A printer apparatus control method comprising a print data output unit for performing.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4162365A JP2798558B2 (en) | 1992-06-22 | 1992-06-22 | Printer device control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4162365A JP2798558B2 (en) | 1992-06-22 | 1992-06-22 | Printer device control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH064240A true JPH064240A (en) | 1994-01-14 |
| JP2798558B2 JP2798558B2 (en) | 1998-09-17 |
Family
ID=15753183
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4162365A Expired - Fee Related JP2798558B2 (en) | 1992-06-22 | 1992-06-22 | Printer device control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2798558B2 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7054018B1 (en) | 1994-07-22 | 2006-05-30 | Fuji Xerox Co., Ltd. | Printing apparatus and printing control method and character font pattern control method in printing apparatus |
| US8711379B2 (en) | 2003-12-10 | 2014-04-29 | Canon Kabushiki Kaisha | Method and apparatus for executing load distributed printing |
-
1992
- 1992-06-22 JP JP4162365A patent/JP2798558B2/en not_active Expired - Fee Related
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7054018B1 (en) | 1994-07-22 | 2006-05-30 | Fuji Xerox Co., Ltd. | Printing apparatus and printing control method and character font pattern control method in printing apparatus |
| US8711379B2 (en) | 2003-12-10 | 2014-04-29 | Canon Kabushiki Kaisha | Method and apparatus for executing load distributed printing |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2798558B2 (en) | 1998-09-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH07311660A (en) | Data processing method of software control system for early detection of fault | |
| US6061757A (en) | Handling interrupts by returning and requeuing currently executing interrupts for later resubmission when the currently executing interrupts are of lower priority than newly generated pending interrupts | |
| JPH064240A (en) | Printer device control system | |
| JP2000276433A (en) | Data transfer device | |
| JPH05241852A (en) | Interruption generating device for information processing system | |
| JPH04256013A (en) | Printer control system | |
| JP3274628B2 (en) | Job result high-speed printing method | |
| JPS60168240A (en) | Interrupt processing circuit | |
| JP2755998B2 (en) | Data transfer device | |
| JP2911968B2 (en) | Device state transition notification method for computer systems | |
| JP3099355B2 (en) | Input/Output Processor | |
| JPH0520049A (en) | Information processing system having control memory correction function and control memory correction method | |
| JPH05274242A (en) | Asynchronous input/output demon processing system | |
| JPH0417530B2 (en) | ||
| JPH05241986A (en) | Input/output instruction retrying system | |
| JPH0577532A (en) | Print control system for printer device | |
| JPH0248749A (en) | buffer storage controller | |
| JPS5931737B2 (en) | Multiple control data processing system | |
| JPH0532017A (en) | Printer | |
| JPH113310A (en) | Direct memory access request controller | |
| JPH02159170A (en) | Coding device | |
| JPH06259289A (en) | Character pattern cancel control system | |
| JPS61264829A (en) | Control system for interruption of network controller | |
| JPH05216846A (en) | Communication packet transfer system | |
| JPH0668015A (en) | Assign information holding circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 19980609 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |