JPH02188281A - Printing control device - Google Patents
Printing control deviceInfo
- Publication number
- JPH02188281A JPH02188281A JP1008352A JP835289A JPH02188281A JP H02188281 A JPH02188281 A JP H02188281A JP 1008352 A JP1008352 A JP 1008352A JP 835289 A JP835289 A JP 835289A JP H02188281 A JPH02188281 A JP H02188281A
- Authority
- JP
- Japan
- Prior art keywords
- data
- buffer
- cpu
- offline
- dedicated
- 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
Links
- 238000012545 processing Methods 0.000 claims abstract description 46
- 238000006243 chemical reaction Methods 0.000 claims abstract 2
- 238000012546 transfer Methods 0.000 abstract description 10
- 238000010586 diagram Methods 0.000 description 3
- 238000000034 method Methods 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- Dot-Matrix Printers And Others (AREA)
Abstract
Description
この発明はホストコンピュータ等に接続されたプリンタ
が該ホストコンピュータとオンライン、又はオフライン
状態に関わりなく全ての機能の動作確認を可能とした印
字制御装置に関するものである。The present invention relates to a printing control device that enables a printer connected to a host computer to check the operation of all functions regardless of whether the printer is online or offline with the host computer.
第2図は例えば特開昭62−203224号公報に示さ
れた従来のプリンタの入出力専用プロセッサ間のデータ
転送方式を示すブロック図であり、図において、1はチ
ャネルインタフェース、2はチャネルインタフェース1
内のデータ入力バッファ、3は入力処理専用CPUで前
記チャネルインタフェース1とデータ入力バッファ2か
ら転送されてくるコマンド及びデータを一時保管する中
間バッファ4等とを管理する。5は印字一部分のデータ
容量をもつラインバッファ、6は前記ラインバッファ5
から転送されてくる印刷情報をページバッファ7へ一時
格納する出力処理専用CPUである。
7は1ペ一ジ分以上の印刷情報を格納するページバッフ
ァ、8はプリンタで前記ページバッファ7から読み出し
た文字データを出力処理専用CPU6を介して出力印字
する。
また、9は入力処理専用CPU3を出力処理専用CPU
6とを制御するメインCPUでオフライン印字制御部1
1を備えている。10はホストコンピュータ20とオフ
ライン状態の時の印刷データを格納しているフロッピー
ディスクユニット(外部記憶媒体読取り装置)である。
次にこの発明の動作について説明する。最初にホストコ
ンピュータ20とオフライン状態の時のライトコマンド
にもとづく動作について説明する。
オフライン状態での印刷データはフロッピーディスク1
0に格納されている。まず、メインCPU9内のオフラ
イン印字制御部11は上記フロッピーディスク10内の
印刷データを読み込むと、入力処理専用CPU3に接続
された中間バッファ4へ該印刷データを一時格納する。
前記格納された印刷データは入力処理専用CPU3にて
コマンド及びデータのチエツクや印刷データの変換等の
データ処理を行った後、ラインバッファ5を経由して出
力処理専用CPU6ヘデータ転送する。
出力処理専用CPU6は前記データ転送のためにライン
バッファ5が開放されると、入力処理専用CPU3を常
時監視することなくプリンタ8が印字中であれば、ペー
ジバッファ7からのデータをプリンタ8へ優先的に出力
し、適時合間を見てラインバッファ5からデータを読み
出してページバッファ7へ格納する。
また、プリンタ8が印刷中でない場合の出力処理専用C
PU6はラインバッファ5から高速で印刷データを読み
出してページバッファ7へ入力する。FIG. 2 is a block diagram showing a data transfer method between input/output processors of a conventional printer disclosed in, for example, Japanese Unexamined Patent Publication No. 62-203224. In the figure, 1 is a channel interface, and 2 is a channel interface 1.
A data input buffer 3 in the data input buffer 3 is a CPU dedicated to input processing, and manages an intermediate buffer 4 for temporarily storing commands and data transferred from the channel interface 1 and the data input buffer 2. 5 is a line buffer having a data capacity for a portion of printing; 6 is the line buffer 5;
This CPU is dedicated to output processing and temporarily stores print information transferred from the page buffer 7 to the page buffer 7. Reference numeral 7 denotes a page buffer for storing printing information for one page or more, and 8 a printer which outputs and prints the character data read from the page buffer 7 via a CPU 6 dedicated to output processing. In addition, 9 is a CPU 3 dedicated to input processing and a CPU dedicated to output processing.
Off-line printing control unit 1 with the main CPU that controls 6 and 6.
1. 10 is a floppy disk unit (external storage medium reading device) that stores print data when the host computer 20 is in an offline state. Next, the operation of this invention will be explained. First, the operation based on a write command when the host computer 20 is in an offline state will be described. Print data in offline state is on floppy disk 1
Stored at 0. First, when the offline printing control section 11 in the main CPU 9 reads the print data in the floppy disk 10, it temporarily stores the print data in the intermediate buffer 4 connected to the CPU 3 dedicated to input processing. The stored print data is subjected to data processing such as checking commands and data and converting print data in the CPU 3 dedicated to input processing, and then transferred to the CPU 6 dedicated to output processing via the line buffer 5. When the line buffer 5 is released for data transfer, the CPU 6 dedicated to output processing gives priority to the data from the page buffer 7 to the printer 8 if the printer 8 is printing without constantly monitoring the CPU 3 dedicated to input processing. The data is read out from the line buffer 5 and stored in the page buffer 7 at an appropriate time. In addition, a dedicated C for output processing when the printer 8 is not printing.
The PU 6 reads print data from the line buffer 5 at high speed and inputs it to the page buffer 7.
従来の印字制御装置は以上のように構成されているので
、ホストコンピュータ20とオンライン印字時には、チ
ャネルインタフェース1を介してプリンタ8の印刷を確
認することはできるが、オフライン印字時には、中間バ
ッファ4に格納されている印字データ以降の処理しか動
作を確認することができないため、ホストコンピュータ
20が使用不能な場合には印字制御装置側のチャネルイ
ンタフェース1に関連する部分の動作を確認することが
できないという課題があった。
この発明は上記のような課題を解消するためになされた
もので、印字制御装置がホストコンピュータ20と接続
されていないオフライン状態においてもオンライン状態
での印字と同様にチャネルインタフェース1を介してデ
ータ処理を行い、印字制御装置のみで該装置のすべての
動作の機能確認が可能な印字制御装置を得ることを目的
とする。Since the conventional print control device is configured as described above, when printing online with the host computer 20, it is possible to check the printing of the printer 8 via the channel interface 1, but when printing offline, the printing of the printer 8 can be confirmed. Since it is possible to check the operation only after the stored print data, if the host computer 20 is unavailable, it is not possible to check the operation of the part related to the channel interface 1 on the print control device side. There was an issue. This invention was made to solve the above-mentioned problems, and even in an offline state where the printing control device is not connected to the host computer 20, data processing can be performed via the channel interface 1 in the same way as printing in an online state. It is an object of the present invention to obtain a print control device that allows functional confirmation of all operations of the device using only the print control device.
この発明に係る印字制御装置はホストコンピュータとオ
フライン状態の時にはメインCPU内のオフライン印字
処理制御部が外部記憶媒体に格納されているデータをチ
ャネルインタフェース内のデータ入力バッファへ送出す
る。印刷データを受けたチャネルインタフェースは引続
いて入力処理専用CPUに対し該印刷データを転送する
。この動作によってオンライン印刷時と同様に印字制御
装置の機能確認が行えるようにしたものである。When the print control device according to the present invention is offline from the host computer, the offline print processing control section in the main CPU sends data stored in the external storage medium to the data input buffer in the channel interface. The channel interface that receives the print data subsequently transfers the print data to the CPU dedicated to input processing. Through this operation, the function of the printing control device can be checked in the same way as during online printing.
この発明における印字制御装置はオフライン状態の印刷
時には予め外部記憶媒体に格納されているデータとメイ
ンCPU内のオフライン印字処理制御部を介してチャネ
ルインタフェース内のデータ入力バッファに転送し、引
続き入力処理専用CPUに゛送出してデータ処理を行う
。このデータ処理動作によってオンライン時と全く同様
の動作を実行しホストコンピュータが使用できない状態
でも印字制御装置の機能を全て確認できるようにする。When printing in an offline state, the print control device in this invention transfers the data previously stored in an external storage medium to the data input buffer in the channel interface via the offline print processing control unit in the main CPU, and continues to use data exclusively for input processing. The data is sent to the CPU for data processing. This data processing operation performs exactly the same operation as when online, so that all functions of the printing control device can be checked even when the host computer is unavailable.
以下、この発明の一実施例を図について説明する0図中
、第2図と同一の部分は同一の符号をもって図示した第
1図において、12はオフライン時の印字データを制御
するオフライン印字処理制御部、13はオフライン印字
処理制御部からデータをデータ入力バッファ2へ伝える
データインタフェースである。
次に動作について説明する。最初にオフライン時のライ
トコマンドにもとづく動作について説明する。
まず、メインCPUe内のオフライン印字処理制御部1
2はフロッピーディスク10よりデータを入力すると、
チャネルインタフェース1内のデータ入力バッファ2の
該データを送出する。
すると、データ入力バッファ2は前記データの先頭にあ
るコマンドを入力処理専用CPU3へ転送する。
入力処理専用CPU3は、このコマンド転送の動作を受
けて印刷データの入力を知り、データ入力バッファ2か
らの該データを中間バッファ4へ一旦格納してコマンド
及びデータのチエツク、更に印刷データの変換等の処理
を行う。そしてその後で中間バッファ4は入力処理専用
CPU3及びラインバッファ5を経由して出力処理専用
CPU6へ該データの転送を行う。
次にラインバッファ5が開放されると、出力処理専用C
PU6はプリンタ8が印字中であれば入力処理専用CP
U3を常時監視することなく、ページバッファ7からの
該データをプリンタ8へ優先的に出力する。しかし、そ
の間にあっても適時合間を見てラインバッファ5からの
データを読み出してページバッファ7へ入力する。
また、プリンタ8が印刷中でなければ、時間的に無駄な
くラインバッファ5からのデータを高速で読み出してペ
ージバッファ7へ入力する。
なお、上記実施例では印刷制御装置の動作確認をホスト
コンピュータから入力された印刷データのプリンタへの
印字動作によって、またはホストコンピュータがない場
合にはフロッピーディスクから入力されたデータを利用
して恰かもホストコンピュータとオンラインで機能確認
した時と同様の方法で確認を行う場合について説明した
が、該装置の機能確認に際し直接、プリンタへデータ出
力して行うのではなく、プリンタがない状態でもメイン
CPUに出力処理専用CPUから前記印刷データをルー
プバックするようにしても上記実施例と同様の効果を奏
する。Hereinafter, one embodiment of the present invention will be explained with reference to the drawings. In Fig. 1, the same parts as in Fig. 2 are shown with the same reference numerals, and 12 is an offline print processing control for controlling print data during offline. A section 13 is a data interface that transmits data from the offline print processing control section to the data input buffer 2. Next, the operation will be explained. First, the operation based on the write command when offline will be explained. First, the offline printing processing control section 1 in the main CPUe
2 inputs data from the floppy disk 10,
The data in the data input buffer 2 in the channel interface 1 is sent out. Then, the data input buffer 2 transfers the command at the beginning of the data to the input processing dedicated CPU 3. In response to this command transfer operation, the input processing dedicated CPU 3 learns of the input of print data, temporarily stores the data from the data input buffer 2 in the intermediate buffer 4, checks the command and data, and further converts the print data. Process. Thereafter, the intermediate buffer 4 transfers the data to the CPU 6 dedicated to output processing via the CPU 3 dedicated to input processing and the line buffer 5. Next, when the line buffer 5 is released, the output processing dedicated C
PU6 is a CP dedicated to input processing when printer 8 is printing.
The data from the page buffer 7 is preferentially output to the printer 8 without constantly monitoring U3. However, even during that time, the data is read from the line buffer 5 and input to the page buffer 7 at an appropriate time. Furthermore, if the printer 8 is not printing, data is read from the line buffer 5 at high speed and input to the page buffer 7 without wasting time. In the above embodiment, the operation of the print control device may be checked by printing the print data input from the host computer to the printer, or if there is no host computer, by using data input from the floppy disk. We have explained the case of checking the functionality of the device using the same method as when checking the functionality online with the host computer, but instead of outputting data directly to the printer when checking the functionality of the device, it is possible to check the functionality of the device using the main CPU even when there is no printer. Even if the print data is looped back from a CPU dedicated to output processing, the same effect as in the above embodiment can be obtained.
以上のように、この発明によればオフライン印刷時には
メインCPU内のオフライン印字処理制御部が外部記憶
媒体読取り装置からのデータをチャネルインタフェース
のデータ入力バッファに送出し、該チャネルインタフェ
ースを介したデータ処理をオンライン状態と全く同様に
行うことができるようにしたので、印刷制御装置だけで
全ての機能の動作i認を行うことができる効果がある。As described above, according to the present invention, during offline printing, the offline print processing control section in the main CPU sends data from the external storage medium reading device to the data input buffer of the channel interface, and performs data processing via the channel interface. Since the printing can be performed in exactly the same way as in the online state, there is an effect that the operation of all functions can be checked using only the printing control device.
第1図はこの発明の一実施例による印字制御装置を示す
ブロック図、第2図は従来の印字制御装置を示すブロッ
ク図である。
図において、1はチャネルインタフェース、2はデータ
入力バッファ、3は入力処理専用CPU、4は中間バッ
ファ、5はラインバッファ、6は出力処理専用CPU、
7はページバッファ、8はプリンタ、9はメインCPU
、10はフロッピーディスク、12はオフライン印字処
理制御部、13はデータインタフェース、20はホスト
コンピュータである。
尚、図中、同一符号は同一、又は相当部分を示す。FIG. 1 is a block diagram showing a print control device according to an embodiment of the present invention, and FIG. 2 is a block diagram showing a conventional print control device. In the figure, 1 is a channel interface, 2 is a data input buffer, 3 is a CPU dedicated to input processing, 4 is an intermediate buffer, 5 is a line buffer, 6 is a CPU dedicated to output processing,
7 is the page buffer, 8 is the printer, 9 is the main CPU
, 10 is a floppy disk, 12 is an offline print processing control section, 13 is a data interface, and 20 is a host computer. In addition, in the figures, the same reference numerals indicate the same or corresponding parts.
Claims (1)
ャネルインタフェース内に設けられ、前記入力情報を格
納するデータ入力バッファと、このデータ入力バッファ
内の前記入力情報を解析およびデータ変換する入力処理
専用プロセッサと、この入力処理専用プロセッサがデー
タ変換して作成した印字データを一時格納するラインバ
ッファと、このラインバッファ内の前記印字データを取
り出す出力処理専用プロセッサと、取り出された前記印
字データを格納するページバッファと、このページバッ
ファ内の前記印字データを印刷出力するプリンタと、オ
フライン入力情報を入力する外部記憶媒体読取り装置と
、前記入力処理専用プロセッサおよび前記出力処理専用
プロセッサを制御する主プロセッサと、この主プロセッ
サ内に設けられ、前記外部記憶媒体読取り装置から入力
されたオフライン入力情報を受け取るオフライン印字処
理制御部と、このオフライン印字処理制御部から前記オ
フライン入力情報を前記データ入力バッファに伝達する
データインタフェースを備えた印字制御装置。a channel interface that receives input information; a data input buffer provided within the channel interface that stores the input information; a processor dedicated to input processing that analyzes and converts the input information in the data input buffer; A line buffer that temporarily stores print data created by data conversion by a processor dedicated to processing, a processor dedicated to output processing that takes out the print data in this line buffer, a page buffer that stores the print data that has been taken out, and a page buffer that stores the print data that has been taken out. a printer that prints out the print data in the page buffer; an external storage medium reading device that inputs offline input information; a main processor that controls the input processing dedicated processor and the output processing dedicated processor; an offline printing processing control section for receiving offline input information inputted from the external storage medium reading device; and a data interface for transmitting the offline input information from the offline printing processing control section to the data input buffer. Control device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1008352A JPH02188281A (en) | 1989-01-17 | 1989-01-17 | Printing control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1008352A JPH02188281A (en) | 1989-01-17 | 1989-01-17 | Printing control device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02188281A true JPH02188281A (en) | 1990-07-24 |
Family
ID=11690833
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1008352A Pending JPH02188281A (en) | 1989-01-17 | 1989-01-17 | Printing control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02188281A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04363268A (en) * | 1991-06-10 | 1992-12-16 | Sharp Corp | Page printer |
US6629790B2 (en) * | 2000-03-17 | 2003-10-07 | Seiko Epson Corporation | Terminal printing apparatus, method of processing received data therein, and computer program product for achieving the method |
-
1989
- 1989-01-17 JP JP1008352A patent/JPH02188281A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04363268A (en) * | 1991-06-10 | 1992-12-16 | Sharp Corp | Page printer |
US6629790B2 (en) * | 2000-03-17 | 2003-10-07 | Seiko Epson Corporation | Terminal printing apparatus, method of processing received data therein, and computer program product for achieving the method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4979132A (en) | Control device for use with an image recording system | |
JPH041840A (en) | Data transfer control system | |
JPH02188281A (en) | Printing control device | |
US5842044A (en) | Input buffer device for a printer using an FIFO and data input method | |
JPH01188374A (en) | Printing system | |
KR19990026343A (en) | Adaptive Interface Circuitry for Serial and Serial Data Transmission | |
JP2699440B2 (en) | Printer device | |
JP4400097B2 (en) | Printing apparatus, printing control method, program, and recording medium | |
JP2707963B2 (en) | Printing system | |
JP2588214B2 (en) | Key code control device | |
JPH01171960A (en) | Printer apparatus | |
JP2756250B2 (en) | Recording device | |
JP3168853B2 (en) | Print data control method | |
KR940001591B1 (en) | Switching module system | |
JPH05216599A (en) | Output device for information processing system and spooling method | |
JPH06227059A (en) | Printer | |
JP2001290617A5 (en) | ||
JPH0522504A (en) | Reception data conversion system for printer | |
JP2000207151A (en) | Computer-readable recording medium recording printer driver program, device and method for controlling printer | |
JPH06195180A (en) | Control system for printer for server/client system | |
JPH05224845A (en) | Printer sharing system | |
JPH02258358A (en) | Communication controller in laser printer | |
JPH0521458B2 (en) | ||
JPH04140182A (en) | Printer | |
JPH04268910A (en) | Keyboard control device |