JPS63184826A - Printing device incorporating microprogram - Google Patents

Printing device incorporating microprogram

Info

Publication number
JPS63184826A
JPS63184826A JP62016082A JP1608287A JPS63184826A JP S63184826 A JPS63184826 A JP S63184826A JP 62016082 A JP62016082 A JP 62016082A JP 1608287 A JP1608287 A JP 1608287A JP S63184826 A JPS63184826 A JP S63184826A
Authority
JP
Japan
Prior art keywords
printer
printing
memory
host computer
microprogram
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
JP62016082A
Other languages
Japanese (ja)
Inventor
Fumimasa Hayashi
林 文聖
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.)
Hitachi Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Engineering Co Ltd
Hitachi Ltd
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 Hitachi Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Engineering Co Ltd
Priority to JP62016082A priority Critical patent/JPS63184826A/en
Publication of JPS63184826A publication Critical patent/JPS63184826A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To decide the result of operation and the processing of a printer by the inside of a device, by incorporating a state monitoring device subjected to a microprogram, and an input/output controller, in the printer. CONSTITUTION:A microprogram built-in type printing device 7 is provided with a printer state monitoring device 1 for detecting the transmission of a printing pattern and a variable printing raw data from a host computer, a printer input/output controller 2 for operating by a detection of the device 1, fetching each information from a printing pattern storage 3 and a variable printing raw data buffer memory 4, bringing it to buffering to a printer printing data buffer memory 5, and simultaneously, operating a printer 8, and a status register 6 for storing the result of operation. Whether printing is ended normally or not is decided from the register 6, and when it is ended normally, the memory 4 and the memory 5 are released, the next transmission request is executed, and at the time of an abnormal end, only the memory 4 is released and in a state that the memory 5 remains held, an abnormality report is issued.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプリンター装置に関し、特に印字内容変更時の
メンテナンス性向上及び異常回復結果に対する上位計算
機側の後処理に好適なマイクロプログラムを内蔵したプ
リンター装置に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a printer device, and in particular to a printer incorporating a microprogram suitable for improving maintainability when changing printed content and post-processing on the host computer side for abnormal recovery results. Regarding equipment.

〔従来の技術〕[Conventional technology]

従来のプリンター装置はプリンター印字データバッファ
しか持っておらず、その内容を単にプリンターに出力す
るといったものだった為、プリンターに所定パターンに
て印字要求する際には上位計算機側で印字パターンと印
字生データより印字データを作成しプリンター印字デー
タバッファに伝送しなければならなかった。
Conventional printer devices only had printer print data buffers and simply outputted the contents to the printer, so when requesting the printer to print a predetermined pattern, the host computer side would need to input the print pattern and print data. Print data had to be created from the data and transmitted to the printer print data buffer.

又、異常回復結果の報告がプリンター装置から無い為、
異常回復後の後処理を上位計算機で行なう時にはオペレ
ータからの連絡をもらってからでないと出来なかった。
Also, since there is no report of abnormal recovery results from the printer device,
Post-processing after an abnormality recovery could be performed on the host computer only after receiving notification from the operator.

なお、関連するものとしては例えば特開昭53−441
32号が挙げられる。
In addition, as a related matter, for example, Japanese Patent Application Laid-Open No. 53-441
No. 32 is mentioned.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来技術は上位計算機側のプログラムが複雑となる
ばかりか、印字内容によってはメモリ容量も多く必要と
なり且つ、印字パターン変更時のメンテナンスにかかる
工数も多く又、異常回復後の後処理忘れによりトラブル
が発生するというような問題があった。
The above conventional technology not only complicates the program on the host computer side, but also requires a large memory capacity depending on the print content, requires a lot of man-hours for maintenance when changing the print pattern, and also causes problems due to forgetting post-processing after abnormality recovery. There was a problem that occurred.

本発明の目的は上記問題点を解消したマイクロプログラ
ム内蔵型プリンター装置を提供することにある。
An object of the present invention is to provide a microprogram built-in printer device that solves the above problems.

C問題点を解決するための手段〕 上記目的はプリンター状態監視装置とプリンター入出力
制御装置をマイクロプログラム化してプリンター装置に
内蔵させ上位計算機より伝送されてきた印字パターンと
可変印字生データを各々のバッファメモリより取出しプ
リンター印字データに変換後プリンタ一本体に出力要求
し、その動作結果とそれに対する処置を上位計算機に報
告するようにすることにより、達成される。
Means for Solving Problem C] The above purpose is to microprogram the printer status monitoring device and printer input/output control device, incorporate it into the printer device, and print the print pattern and variable print raw data transmitted from the host computer. This is achieved by extracting data from the buffer memory, converting it into printer print data, requesting output from the main body of the printer, and reporting the operation results and actions taken accordingly to the host computer.

〔作用〕[Effect]

本プリンター装置はマイクロプログラム化してプリンタ
ー入出力制御装置とプリンター状態監視装置が内蔵され
ており、前者は上位計算機より伝送されてきた印字パタ
ーンと可変印字生データを各々のバッファメモリより取
出し、プリンター印字データに変換後プリンタ一本体に
出方要求すると同時にプリンター動作結果を要因別に端
末スティタスレジスタに記憶するようになっており、後
者は端末スティタスレジスタによりプリンター状態を判
断し異常のみならず異常回復の報告も上位計算機に対し
実施するようになっている。
This printer device is microprogrammed and has a built-in printer input/output control device and a printer status monitoring device. After converting to data, a request is made to the printer itself, and at the same time, the printer operation results are stored in the terminal status register by factor.The latter determines the printer status by the terminal status register and reports not only abnormalities but also abnormal recovery. It is now also performed on the host computer.

それによって、上位計算機プログラムは簡素化され且つ
、印字パターン変更時のメンテナンス性が向上するので
工数も低減され又、異常回復報告がされるために上位計
算機内での後処理忘れによるトラブル発生もなくなる。
This simplifies the host computer program, improves maintenance when changing print patterns, reduces man-hours, and eliminates troubles caused by forgetting post-processing in the host computer because abnormality recovery is reported. .

〔実施例〕〔Example〕

以下、本発明の一実施例を図により説明する。 Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

従来のプリンター装置は回内のプリンター印字データバ
ッファ5とプリンター入出力制御装置2のみからなり、
上位計算機からプリンター印字データバッファ5に伝送
されて来たデータをプリンター8に出力する単純なもの
であったに の様な構成をもったプリンター装置では様々な印字パタ
ーン出力要求に対して、その都度上位計算機側にてプリ
ンター印字データを作成し伝送しなければならず、メモ
リ容量が多くなるばかりか印字パターン変更時のメンテ
ナンス性も低下してしまう。
A conventional printer device consists only of a pronated printer print data buffer 5 and a printer input/output control device 2.
A printer device with a simple configuration that outputs data transmitted from a host computer to a printer print data buffer 5 to a printer 8 responds to various print pattern output requests each time. Printer print data must be created and transmitted on the host computer side, which not only increases memory capacity but also reduces maintainability when changing print patterns.

又、上位計算機への異常回復報告が無いため後処理忘れ
によりトラブルも発生してしまう。
Moreover, since there is no abnormality recovery report to the host computer, troubles may occur due to forgetting post-processing.

そこで本発明はこの様な問題点をなくすべく第1図に示
すような構成をもったマイクロプログラム内蔵型プリン
ター装置7を提供するものである。
Therefore, in order to eliminate such problems, the present invention provides a microprogram built-in printer device 7 having a configuration as shown in FIG.

すなわち、プリンター状態監視装!!1が上位計算機よ
り印字パターンと可変印字生データが伝送されて来たこ
とを検知するとプリンター入出力制御装置2が動作し印
字パターン記憶メモリ3と可変印字生データバッファメ
モリ4より各情報を取出しプリンターに対して印字可能
なデータに変換後、一旦、プリンター印字データバッフ
ァメモリ5にバッファリングすると同時にプリンター8
に対し出力要求を発し、プリンター8を動作させようと
するものである。
In other words, a printer status monitoring device! ! When 1 detects that the print pattern and variable print raw data have been transmitted from the host computer, the printer input/output control device 2 operates, extracts each information from the print pattern storage memory 3 and the variable print raw data buffer memory 4, and outputs the information to the printer. After converting the data into printable data, the data is temporarily buffered in the printer print data buffer memory 5, and at the same time, the data is transferred to the printer 8.
The printer 8 attempts to operate the printer 8 by issuing an output request to the printer 8.

又、その動作結果を要因別に端末スティタスレジスタ6
に記憶する。
In addition, the operation results are stored in the terminal status register 6 for each factor.
to be memorized.

さらに、印字が正常に終了したかどうかをプリンター状
態監視装置i!lが端末スティタスレジスタ6により判
断し正常終了時は可変印字生データバッファメモリ4と
プリンター印字データバッファメモリ5を開放し、上位
計算機に対し次のデータ伝送要求を行ない、異常終了時
はデータ消滅を防止する為、可変印字生データバッファ
メモリ4のみ開放し、プリンター印字データバッファメ
モリ5は保持した状態で異常要因別の異常報告を行なう
Furthermore, the printer status monitoring device i! checks whether printing has completed normally. l determines from the terminal status register 6, and when the process ends normally, the variable print raw data buffer memory 4 and the printer print data buffer memory 5 are released, and the next data transmission request is made to the host computer, and when the process ends abnormally, the data is deleted. In order to prevent this, only the variable print raw data buffer memory 4 is released, and the printer print data buffer memory 5 is held while reporting abnormalities for each abnormality cause.

又、異常要因が解除された場合には端末スティタスレジ
スタ6の異常要因をリセットすると同時にそれらの異常
回復報告を、印字パターン記憶メモリ3に印字パターン
が伝送されていない場合には印字パターン伝送要求をそ
れぞれ上位計算機に対して行なう。
Furthermore, if the abnormality factor is removed, the abnormality factor in the terminal status register 6 is reset, and at the same time, a report of the abnormality recovery is sent, and if the printing pattern has not been transmitted to the printing pattern storage memory 3, a printing pattern transmission request is sent. Perform each for the host computer.

以上により、上位計算機側からは最初に印字パターンを
伝送してもらい、それ以降は可変印字生データのみをデ
ータ伝送要求毎に伝送してもらうだけでプリンター8へ
の出力はプリンター装置内部で行なうようにし、プリン
ターの動作結果とそれに対する処置もオペレータを介さ
ずプリンター装置内部で判断し上位計算機に報告出来る
様にしたものである。
As described above, the host computer first transmits the printing pattern, and after that, only the variable printing raw data is transmitted for each data transmission request, and the output to the printer 8 is performed within the printer device. In addition, the printer's operation results and corresponding actions can be determined within the printer device and reported to the host computer without the intervention of an operator.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、プリンター装置へのデータ出力時は上
位計算機より印字パターンと可変印字生データのみを伝
送さえすれば良い為、上位計算機側のプログラムも簡素
化され、従って、メモリ容量も少なくなり印字パターン
変更時のメンテナンス性も向上する。
According to the present invention, when outputting data to a printer device, it is only necessary to transmit the print pattern and variable print raw data from the host computer, so the program on the host computer side is also simplified, and therefore the memory capacity is reduced. It also improves maintainability when changing printing patterns.

又、プリンターの動作結果とそれに対する処置もオペレ
ータを介さずプリンター装置内部で判断し上位計算機に
報告される為、オペレータからの連絡もれによる上位計
算機側熱処理忘れによりトラブル発生もなくなる。
In addition, since the printer operation results and corresponding actions are determined within the printer device and reported to the host computer without involving the operator, troubles caused by forgetting heat treatment on the host computer due to lack of communication from the operator are eliminated.

【図面の簡単な説明】[Brief explanation of the drawing]

図は本発明の一実施例のマイクロプログラム内蔵型プリ
ンター装置の構成図である。 1・・・プリンター状態監視装置、2・・・プリンター
入出力制御装置、3・・・印字パターン記憶メモリ、4
・・・バッファメモリ、5・・・バッファメモリ、6・
・・端末スティタスレジスタ、7・・・プリンター装置
、8・・・プリンター。              
    バ )′7・11″; 1シ′
The figure is a configuration diagram of a printer device with a built-in microprogram according to an embodiment of the present invention. 1... Printer status monitoring device, 2... Printer input/output control device, 3... Print pattern storage memory, 4
... Buffer memory, 5... Buffer memory, 6.
...Terminal status register, 7...Printer device, 8...Printer.
ba )′7・11″; 1shi′

Claims (1)

【特許請求の範囲】[Claims] 1、プリンター状態監視装置とプリンター入出力制御装
置よりなるマイクロプログラム内蔵型プリンター装置に
おいて、上位計算機より印字パターンと可変印字生デー
タを伝送してもらうだけで所定のパターンにてプリンタ
ーへの印字を可能とし、且つプリンターの異常状態及び
異常回復結果を上位計算機へ報告することを可能とした
ことを特徴とするマイクロプログラム内蔵型プリンター
装置。
1. In a printer device with a built-in microprogram consisting of a printer status monitoring device and a printer input/output control device, it is possible to print in a predetermined pattern to the printer simply by having the print pattern and variable print raw data transmitted from the host computer. What is claimed is: 1. A printer device with a built-in microprogram, characterized in that the abnormal state of the printer and the abnormal recovery results can be reported to a host computer.
JP62016082A 1987-01-28 1987-01-28 Printing device incorporating microprogram Pending JPS63184826A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62016082A JPS63184826A (en) 1987-01-28 1987-01-28 Printing device incorporating microprogram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62016082A JPS63184826A (en) 1987-01-28 1987-01-28 Printing device incorporating microprogram

Publications (1)

Publication Number Publication Date
JPS63184826A true JPS63184826A (en) 1988-07-30

Family

ID=11906626

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62016082A Pending JPS63184826A (en) 1987-01-28 1987-01-28 Printing device incorporating microprogram

Country Status (1)

Country Link
JP (1) JPS63184826A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006130692A (en) * 2004-11-02 2006-05-25 Lintec Corp Label printer and method of controlling the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006130692A (en) * 2004-11-02 2006-05-25 Lintec Corp Label printer and method of controlling the same

Similar Documents

Publication Publication Date Title
JPS63184826A (en) Printing device incorporating microprogram
JP2613283B2 (en) Printer
JPS61121128A (en) Print control system
JPH02166511A (en) Printing system
JP2663713B2 (en) Bus connection device
JPH0521458B2 (en)
JP2504928Y2 (en) Facsimile reception system
JPH01171959A (en) Printer
JPS62205420A (en) Printer diagnosis system
JP2725385B2 (en) Data transfer method of information processing system
JPH02272658A (en) Data processor
JPS61179757A (en) Double surface buffer transmitting control system of printer
JPS6042496B2 (en) Parity error processing method
JPH04139556A (en) Retry control system
JPS58161021A (en) Controlling system of output device
JPS6276866A (en) Parallel-serial conversion circuit
JPS61123555A (en) Printer-controlling system
JPH04268910A (en) Keyboard control device
JPH06259289A (en) Character pattern cancel control system
JPH03248253A (en) Data reception processing device
JPH01173221A (en) Printing device
JPH0513068B2 (en)
JPH10119389A (en) Signal processing circuit and printer with the same
JPS59194239A (en) Data printing system
JPH02201630A (en) Printer backup system