JPH0564942A - Printing device - Google Patents

Printing device

Info

Publication number
JPH0564942A
JPH0564942A JP3229323A JP22932391A JPH0564942A JP H0564942 A JPH0564942 A JP H0564942A JP 3229323 A JP3229323 A JP 3229323A JP 22932391 A JP22932391 A JP 22932391A JP H0564942 A JPH0564942 A JP H0564942A
Authority
JP
Japan
Prior art keywords
printing
character data
buffer memory
print
stored
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
JP3229323A
Other languages
Japanese (ja)
Inventor
Yukio Shinogi
幸夫 篠儀
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP3229323A priority Critical patent/JPH0564942A/en
Publication of JPH0564942A publication Critical patent/JPH0564942A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a printing device wherein, when printing is restarted after a temporary interruption of operation caused by abnormality during printing, omissions of printing are not produced. CONSTITUTION:When a printing stop signal is outputted from a printing mechanism 6 during the operation of a printing device 1, the character data stored at the address out of the character data stored in a buffer memory 5 and the character data which have been stored following the storage of said character data in the buffer memory 5 are read out in the order of storage thereof, wherein a printing monitor 7 is provided to deliver the character data having been read out to a device of higher rank. When a printing stop signal is outputted from the printing mechanism 6 during the printing operation and the printing operation is stopped, character data which have not been printed are sent to the device of higher rank by the action of the monitor 7.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は印字装置に関し、特に情
報処理装置等の上位装置から送出される文字データを紙
面の所定の位置に印字する印字装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing device, and more particularly to a printing device for printing character data sent from a host device such as an information processing device at a predetermined position on a paper surface.

【0002】[0002]

【従来の技術】従来の印字装置10は、その構成の一例
を図2のブロック図に示したように、入力される文字デ
ータを一時記憶するバッファメモリ50と、バッファメ
モリ50から読み出された文字データを所定の用紙上に
印字する印字機構部6と、印字機構部6とバッファメモ
リ50を制御してして上述したバッファメモリ50に記
憶されている文字データに対応する文字を前述した用紙
上に印字するときの印字機構部6の制御を行う印字制御
部4とから構成されている。
2. Description of the Related Art A conventional printer 10 has a buffer memory 50 for temporarily storing input character data and a buffer memory 50 read from the buffer memory 50, as shown in the block diagram of FIG. The printing mechanism unit 6 that prints character data on a predetermined sheet, and the printing mechanism unit 6 and the buffer memory 50 are controlled so that the characters corresponding to the character data stored in the buffer memory 50 described above are printed. It is composed of a print control unit 4 for controlling the print mechanism unit 6 for printing on the upper side.

【0003】情報処理装置などの図示されていない上位
装置から文字データが入力されると、バッファメモリ5
0にこの文字データを一時記憶しておき、印字制御部4
が印字機構部6とバッファメモリ50を制御してバッフ
ァメモリ50に記憶されている文字データを読み出し、
読み出した文字データに対応する文字を印字制御部4か
ら出力される制御信号により印字機構部6を制御して所
定の用紙上の所定の位置に印字させている。
When character data is input from a host device (not shown) such as an information processing device, the buffer memory 5
This character data is temporarily stored in 0, and the print control unit 4
Controls the printing mechanism unit 6 and the buffer memory 50 to read the character data stored in the buffer memory 50,
A character corresponding to the read character data is controlled by the print control unit 4 by the control signal output from the print control unit 4 to print the character at a predetermined position on a predetermined sheet.

【0004】このような印字装置10により所定の用紙
上に文字を印字しているとき、この用紙が印字機構部6
によりフィードされ所定の印字位置に用紙が位置してい
ない状態となったとき、あるいは、印字装置10を構成
する部分である図示されていないケースの蓋を印字装置
10の操作者が印字動作中に開けたとき、あるいは、印
字動作中に用紙が印字装置内でジャムしたときなどに、
予め印字機構部6に設けられている異常を検出する図示
されていない検出器がこの異常を検知して印字停止信号
を生成し印字制御部4に出力する。印字制御部4は、印
字停止信号を受信すると印字機構部6による印字動作を
停止させる。この異常の原因が除去されると、印字停止
信号の出力が停止するので、印字動作が再開される。
When characters are printed on a predetermined sheet by the printing device 10 as described above, the sheet is printed by the printing mechanism section 6.
When the sheet is fed by the printer and the sheet is not positioned at the predetermined printing position, or when the operator of the printing device 10 is performing a printing operation, the lid of a case (not shown), which is a part constituting the printing device 10, is placed. When opened, or when the paper jams in the printer during printing,
A detector (not shown) provided in advance in the printing mechanism section 6 for detecting an abnormality detects this abnormality, generates a print stop signal, and outputs it to the print control section 4. Upon receiving the print stop signal, the print control unit 4 stops the print operation by the print mechanism unit 6. When the cause of this abnormality is removed, the output of the print stop signal is stopped, and the print operation is restarted.

【0005】[0005]

【発明が解決しようとする課題】上述した従来の印字装
置は、上述したような異常、すなわち、印字障害が発生
したとき、バッファメモリに記憶されている未印字の文
字データはそのまま保存されるかあるいは、異常が発生
した時点で消失してしまうかは不定であるので、上位装
置から見たとき、この印字装置10に出力した文字デー
タの内でどこまでの文字データが印字されたのかは不明
となるので、上述したように印字装置10に異常が生じ
た後に正常状態となり印字動作を再開したときどの文字
データから印字装置10に送出するべきかがわからない
ので、印字の再開時に用紙上に印字抜けを生じたり、あ
るいは、二重印字が行われるという欠点がある。
In the above-mentioned conventional printing apparatus, is the unprinted character data stored in the buffer memory stored as it is when the above-mentioned abnormality, that is, the printing failure occurs? Alternatively, since it is uncertain whether or not the character data will disappear when an abnormality occurs, it is unclear as to how much character data is printed out of the character data output to the printing device 10 when viewed from the host device. Therefore, as described above, when the printing device 10 becomes normal after the abnormality occurs and the printing operation is restarted, it is not known from which character data the printing data should be sent to the printing device 10. However, there is a disadvantage that double printing is performed.

【0006】本発明の目的は、上述した印字停止信号を
印字機構部6が生成し出力したとき、まだ印字されない
でバッファメモリ内に記憶され残留している文字データ
部分を検出し上位装置にこの残留している未印字データ
を送出する印字監視部を設けることにより、この印字監
視部から送出された文字データを受信した上位装置が、
この印字装置の動作を再開したとき送出すべき最初の文
字データを知ることを可能とする印字装置を提供するこ
とにある。
An object of the present invention is to detect, when the printing mechanism section 6 generates and outputs the above-mentioned printing stop signal, a character data portion which has not been printed yet and which is stored in the buffer memory and remains. By providing a print monitoring unit that sends out the remaining unprinted data, the host device that received the character data sent from this print monitoring unit
It is an object of the present invention to provide a printing device which makes it possible to know the first character data to be sent when the operation of the printing device is restarted.

【0007】[0007]

【課題を解決するための手段】本発明の印字装置は、情
報処理装置等の上位装置から出力される文字データをバ
ッファメモリに一時記憶しこのバッファメモリから印字
制御部により制御され読み出された文字データに従った
文字を前記印字制御部により制御される印字機構部によ
り所定の位置に置かれた用紙上に印字し印字中に前記印
字機構が前記用紙の所定の位置に存在しないときあるい
はその他の要因で異常状態になったことを前記印字機構
部が検出し印字停止信号を前記印字制御部に送出し印字
動作を停止させる印字装置において、前記印字制御部に
より制御され印字動作中に次に印字されるべき文字デー
タが格納されていたバッファメモリのアドレスを常時検
出し前記印字停止信号が出力されたとき、前記バッファ
メモリ中から前記所定の紙面上に未印刷となった文字デ
ータの先頭の文字以後の文字データを前記バッファメモ
リが記憶した順に前記バッファメモリ中から読み出し読
み出した文字データを前記上位装置に送出する印字監視
部を備えて構成されている。
According to the printer of the present invention, character data output from a higher-level device such as an information processing device is temporarily stored in a buffer memory and is read from the buffer memory under the control of a print controller. When a character according to character data is printed on a sheet placed at a predetermined position by a printing mechanism section controlled by the printing control section and the printing mechanism does not exist at a predetermined position on the sheet during printing, or other In a printing device in which the printing mechanism section detects that an abnormal state has occurred due to the following, sends a printing stop signal to the printing control section to stop the printing operation, When the address of the buffer memory where the character data to be printed is stored is always detected and the print stop signal is output, A print monitoring unit is provided that reads out the character data after the first character of the unprinted character data on the fixed paper from the buffer memory in the order stored in the buffer memory and sends the read character data to the host device. Is configured.

【0008】[0008]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0009】図1は本発明の印字装置の一実施例を示す
ブロック図である。
FIG. 1 is a block diagram showing an embodiment of the printing apparatus of the present invention.

【0010】本実施例の印字装置1は、図1に示すよう
に、すでに図2で説明した印字装置10と同じ印字機構
部6および印字制御部4のほかに、上位装置からの文字
データを受信し一時記憶しておき印字制御部4からの制
御信号によって指定された文字データを記憶した順に印
字機構部6に出力し、印字出力信号を受信したときには
未印字で内部に記憶されている文字データを記憶した順
序で上位装置に出力するバッファメモリ5と、印字動作
中に印字制御部4の制御により印字のためにバッファメ
モリ5から読み出され印字機構部6により次の印字が行
われるべき文字データが格納されているバッファメモリ
5のアドレスを常に検知し、上述した印字停止信号を受
信したときにはそのとき検知している文字データより後
で印字されるべきすべての未印字データを前述したバッ
ファメモリが記憶した順にこのバッファメモリから読み
出し前述した上位装置に出力する印字監視部7より構成
されている。
As shown in FIG. 1, the printing apparatus 1 of the present embodiment, in addition to the same printing mechanism section 6 and printing control section 4 as the printing apparatus 10 already described with reference to FIG. Character data that has been received and temporarily stored, is output to the printing mechanism unit 6 in the order in which the character data designated by the control signal from the print control unit 4 is stored, and when the print output signal is received, the character that is not printed and is stored inside The buffer memory 5 that outputs the data to the host device in the order in which the data is stored, and the print mechanism unit 6 should perform the next printing by reading from the buffer memory 5 for printing under the control of the print control unit 4 during the printing operation. The address of the buffer memory 5 in which the character data is stored is always detected, and when the above-mentioned print stop signal is received, it should be printed after the character data detected at that time. Buffer memory as described above the non-printing data all are composed of print monitoring unit 7 for outputting the higher-level apparatus read above from the buffer memory in the order in which they were stored.

【0011】従って、上述した印字装置1が異常状態と
なり印字機構部6がこの異常を検出し、印字装置1が印
字動作を停止したとき、印字監視部7が動作してバッフ
ァメモリ5に記憶され未だに印字されないで残留してい
た文字データはすべてこの印字装置に接続されている上
位装置に送出されるので、上位装置は、印字装置1が正
常状態となり、印字を再開したときどの文字データから
印字装置1に対して文字データの送出を再開すればよい
のかを知ることができる。
Therefore, when the above-mentioned printing apparatus 1 becomes abnormal and the printing mechanism section 6 detects this abnormality and the printing apparatus 1 stops the printing operation, the printing monitoring section 7 operates and is stored in the buffer memory 5. Since all the character data that has not been printed and remains is sent to the upper device connected to this printer, the upper device prints from which character data when the printer 1 is in the normal state and printing is restarted. It is possible to know whether to restart the transmission of the character data to the device 1.

【0012】[0012]

【発明の効果】以上説明したように、本発明の印字装置
は、印字監視部7により印字機構部6で次に印字される
べきバッファメモリ5内の文字データのアドレスを監視
する印字監視部を設け、印字機構から印字停止信号が出
力されたときバッファメモリ5から上述のアドレスを基
に未印字の文字データを上位装置に出力させることによ
り、この印字装置が印字を再開するとき、上位装置がど
の文字データから文字データの送出を再開すべきかを判
断することを可能とし、所定の用紙に文字データに基づ
く印字を印字装置によって行うときに二重印字および印
字もれを防止することができるという効果を有してい
る。
As described above, the printing apparatus of the present invention includes the print monitoring unit 7 for monitoring the address of the character data in the buffer memory 5 to be printed next by the print monitoring unit 7 by the print monitoring unit 7. When the printing mechanism restarts printing, the host device outputs unprinted character data to the host device based on the above-mentioned address when the print stop signal is output from the printing mechanism. It is possible to determine from which character data the transmission of the character data should be restarted, and it is possible to prevent double printing and print omission when printing based on the character data on a predetermined paper by the printing device. Have an effect.

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

【図1】本発明の印字装置の一実施例を示すブロック図
である。
FIG. 1 is a block diagram showing an embodiment of a printing apparatus of the present invention.

【図2】従来のこの種の印字装置の一例を示すプロック
図である。
FIG. 2 is a block diagram showing an example of a conventional printing apparatus of this type.

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

1 印字装置 4 印字制御部 5 バッファメモリ 6 印字機構部 7 印字監視部 1 printing device 4 printing control unit 5 buffer memory 6 printing mechanism unit 7 printing monitoring unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 情報処理装置等の上位装置から出力され
る文字データをバッファメモリに一時記憶しこのバッフ
ァメモリから印字制御部により制御され読み出された文
字データに従った文字を前記印字制御部により制御され
る印字機構部により所定の位置に置かれた用紙上に印字
し印字中に前記印字機構が前記用紙の所定の位置に存在
しないときあるいはその他の要因で異常状態になったこ
とを前記印字機構部が検出し印字停止信号を前記印字制
御部に送出し印字動作を停止させる印字装置において、
前記印字制御部により制御され印字動作中に次に印字さ
れるべき文字データが格納されていたバッファメモリの
アドレスを常時検出し前記印字停止信号が出力されたと
き、前記バッファメモリ中から前記所定の紙面上に未印
刷となった文字データの先頭の文字以後の文字データを
前記バッファメモリが記憶した順に前記バッファメモリ
中から読み出し読み出した文字データを前記上位装置に
送出する印字監視部を備えることを特徴とする印字装
置。
1. Character data output from a higher-level device such as an information processing device is temporarily stored in a buffer memory, and a character according to the character data read from the buffer memory under the control of the print controller is read by the print controller. The printing mechanism controlled by means of printing on a paper placed in a predetermined position, and the fact that the printing mechanism is not in the predetermined position of the paper during printing or that an abnormal state is caused by other factors is described above. In a printing device that detects a printing mechanism section and sends a printing stop signal to the printing control section to stop the printing operation,
When the address of the buffer memory in which the character data to be printed next is stored during the printing operation controlled by the print control unit is constantly detected and the print stop signal is output, the predetermined value is output from the buffer memory. A print monitoring unit that reads out character data after the first character of the unprinted character data on the paper from the buffer memory in the order stored in the buffer memory and sends the read character data to the host device. Characteristic printing device.
JP3229323A 1991-09-10 1991-09-10 Printing device Pending JPH0564942A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3229323A JPH0564942A (en) 1991-09-10 1991-09-10 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3229323A JPH0564942A (en) 1991-09-10 1991-09-10 Printing device

Publications (1)

Publication Number Publication Date
JPH0564942A true JPH0564942A (en) 1993-03-19

Family

ID=16890351

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3229323A Pending JPH0564942A (en) 1991-09-10 1991-09-10 Printing device

Country Status (1)

Country Link
JP (1) JPH0564942A (en)

Similar Documents

Publication Publication Date Title
KR920015234A (en) System Self-Diagnostic Device of Color Video Printer and Its Method
JPS6221572A (en) Recorder
JP3149168B2 (en) Printing device
JPH0564942A (en) Printing device
JP3674220B2 (en) Printer and recording paper jam processing method thereof
JP2987958B2 (en) Printer
KR0146533B1 (en) Print control method
US6712464B1 (en) Image processing apparatus, image processing system apparatus, and recording medium which records image processing program
JPH05270114A (en) Detecting system for depletion of sheet feeding in printer
JPS6243970A (en) Facsimile equipment
JP2546338B2 (en) Impact printer
JP2971602B2 (en) How to detect incorrect mounting of printing plate
JPH07108718A (en) Printer with print omission preventing function
JP2768307B2 (en) Printer device
JP3038089B2 (en) Printer
JP2804560B2 (en) Video printer device
JP2004017525A (en) Image formation device and test pattern output method
JP3279422B2 (en) Image forming device
JPH0699633A (en) Printer device
JPH0225368A (en) Printer
JPH06245046A (en) Facsimile equipment
JPH11138924A (en) Means for detecting size of recording medium and line printer
JPS5827458A (en) Paper size detector
JPH0647976A (en) Detecting apparatus for exhaustion of printing paper
JPH05270080A (en) Printer