JPH08249145A - Printer - Google Patents

Printer

Info

Publication number
JPH08249145A
JPH08249145A JP7051303A JP5130395A JPH08249145A JP H08249145 A JPH08249145 A JP H08249145A JP 7051303 A JP7051303 A JP 7051303A JP 5130395 A JP5130395 A JP 5130395A JP H08249145 A JPH08249145 A JP H08249145A
Authority
JP
Japan
Prior art keywords
print
printing
command
data
control instruction
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.)
Withdrawn
Application number
JP7051303A
Other languages
Japanese (ja)
Inventor
Noriyuki Takasu
紀之 高須
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP7051303A priority Critical patent/JPH08249145A/en
Publication of JPH08249145A publication Critical patent/JPH08249145A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE: To provide a printer capable of preventing a printing command from being disconnected on the way at the occurrence of an error or the interruption of printing operation due to a user's instruction and always obtaining a normal printing result without requiring the reexecution of printing at the time of restarting the printing operation. CONSTITUTION: The printer is provided with a printing data/command receiving means 12 for receiving printing data and a printing command, a printing data storing means 14 for storing the received printing data, a printing control instruction generating means 16 for generating a printing control instruction from the received printing command, a received data printing means 20 for printing out the data stored in the means 14 on a paper sheet 18 and carrying the paper sheet 18, a printing operation stopping means 24 for stopping the operation of the means 20 when an error detection means 22 detects the occurrence of an error, and a receiving operation stopping means 26 for stopping receiving operation when the means 12 receives a printing command for requesting the start of printing after detecting the occurrence of the error and clearing the contents stored in the means 14.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ホストより印字データ
を受信して蓄積しながら出力するプリンタに関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer which receives print data from a host and outputs the print data while accumulating the print data.

【0002】ホストとなるコンピュータの高速化に伴っ
てプリンタの処理能力も大幅に向上させることが要求さ
れる。そこで、ホストより印字データを受信して蓄積す
る動作と蓄積したデータを印字出力する動作とが並行し
て行われる。
As the speed of a host computer increases, it is required that the processing capacity of a printer be greatly improved. Therefore, the operation of receiving and storing print data from the host and the operation of printing out the stored data are performed in parallel.

【0003】[0003]

【従来の技術】ホストのコンピュータは印字データと印
字コマンドをプリンタへ送出し、プリンタはホストのコ
ンピュータが送出した印字データと印字コマンドを受信
して印字データをラインバッファやページメモリに蓄積
する。
2. Description of the Related Art A host computer sends print data and print commands to a printer, and the printer receives print data and print commands sent by the host computer and stores the print data in a line buffer or page memory.

【0004】また、ホストのコンピュータから印字コマ
ンドを受信する毎に同コマンドの解析を行い、コマンド
解析の結果に応じて蓄積データの印字出力や用紙の搬送
を行う。
Each time a print command is received from the host computer, the command is analyzed, and the accumulated data is printed out or the paper is conveyed according to the result of the command analysis.

【0005】ここで、プリンタは用紙切れ,用紙ジャム
などのエラー発生を検知すると直ちにオフラインの状態
となり、ホストのコンピュータが送出する印字データ,
印字コマンドの受信を停止する。ホストのコンピュータ
はプリンタが印字の可能な状態となるまで待ってからデ
ータ,コマンドの送出を再開する。
Here, when the printer detects an error such as a paper shortage or a paper jam, it immediately becomes offline, and the print data sent by the host computer,
Stop receiving print commands. The host computer waits until the printer is ready for printing and then resumes sending data and commands.

【0006】[0006]

【発明が解決しようとする課題】ホストのコンピュータ
で使用される多くのプログラムはプリンタがオフライン
の状態となる直前に送出したコードの次から印字デー
タ,印字コマンドのコード送出を再開する。
Many programs used in the host computer restart the print data and print command code transmission from the code transmitted immediately before the printer goes offline.

【0007】したがって、プリンタがオフラインとなる
タイミングによっては印字コマンド(プリンタの制御コ
ード)の途中から印字が再開され、このため、以降の印
字結果がしばしば乱れ、その場合には、印字のやり直し
操作が必要となる。
Therefore, depending on the timing when the printer goes off-line, printing is resumed from the middle of the print command (printer control code), and the subsequent print results are often disturbed. Will be needed.

【0008】同様なことは、シリアルプリンタで連続帳
票へ印字しているときにユーザが印字位置を調整(印字
中にユーザが操作パネルのスイッチを操作してプリンタ
をオフラインとし、そのプラテンノブを操作し、同パネ
ルのスイッチ操作で印字を再開させる)する場合にもし
ばしば生ずる。
[0008] Similarly, the user adjusts the printing position while printing on a continuous form with a serial printer (during printing, the user operates the switch on the operation panel to take the printer offline and operate the platen knob thereof). , When printing is restarted by operating the switch of the panel), it often occurs.

【0009】本発明は上記の事情に鑑みてなされたもの
であり、その目的は、エラー発生やユーザ指示による印
字中断にかかわらず印字再開時の不正な印字動作を完全
に回避することが可能となるプリンタを提供することに
ある。
The present invention has been made in view of the above circumstances, and an object thereof is to completely avoid an illegal printing operation at the time of restarting printing regardless of occurrence of an error or interruption of printing due to a user instruction. To provide a printer.

【0010】[0010]

【課題74決するための手段】図1において第1発明に
かかるプリンタは、印字データと印字コマンドをホスト
10から受信する印字データ/コマンド受信手段12
と、印字データ/コマンド受信手段12で受信された印
字データを蓄積する印字データ蓄積手段14と、印字デ
ータ/コマンド受信手段12で受信された印字コマンド
から印字の制御指示を生成する印字制御指示生成手段1
6と、印字制御指示生成手段16で生成された制御指示
に従い、印字データ蓄積手段14で蓄積されていたデー
タを用紙18上へ印字出力し、印字用紙18の搬送を行
う受信データ印字手段20と、エラー発生の検知を行う
エラー検知手段22と、エラー検知手段22でエラー発
生の検知が行われたときに、受信データ印字手段20の
動作を停止させる印字動作停止手段24と、エラー発生
の検知がエラー検知手段22で行われた後において印字
の開始を要求する印字コマンドが印字データ/コマンド
受信手段12で受信されたときに、印字データ/コマン
ド受信手段12の受信動作を停止させるとともに、印字
データ蓄積手段14の蓄積内容をクリアする受信動作停
止手段26と、を有する。
PROBLEM TO BE SOLVED BY THE INVENTION In FIG. 1, the printer according to the first invention is a print data / command receiving means 12 for receiving print data and a print command from a host 10.
A print data storage means 14 for storing the print data received by the print data / command receiving means 12, and a print control instruction generation for generating a print control instruction from the print command received by the print data / command receiving means 12. Means 1
6 and a received data printing unit 20 that prints out the data stored in the print data storage unit 14 onto the paper 18 and conveys the print paper 18 according to the control instruction generated by the print control instruction generation unit 16. An error detection unit 22 for detecting an error occurrence, a printing operation stopping unit 24 for stopping the operation of the received data printing unit 20 when the error detection unit 22 detects an error occurrence, and an error occurrence detection When a print command requesting the start of printing is received by the print data / command receiving means 12 after the error detection means 22 has been executed, the receiving operation of the print data / command receiving means 12 is stopped and the print operation is performed. And a reception operation stopping means 26 for clearing the contents stored in the data storage means 14.

【0011】図2において第2発明にかかるプリンタ
は、印字データと印字コマンドをホスト10から受信す
る印字データ/コマンド受信手段12と、印字データ/
コマンド受信手段12で受信された印字データを蓄積す
る印字データ蓄積手段14と、印字データ/コマンド受
信手段12で受信された印字コマンドから印字の制御指
示を生成する印字制御指示生成手段16と、印字制御指
示生成手段16で生成された制御指示に従い、印字デー
タ蓄積手段14で蓄積されていたデータを用紙18上へ
印字出力し、印字用紙18の搬送を行う受信データ印字
手段20と、ユーザの操作により印字停止の制御指示を
生成する動作停止制御指示生成手段28と、動作停止制
御指示生成手段28で印字停止の制御指示が生成された
ときに、受信データ印字手段20の動作を停止させる印
字動作停止手段24と、動作停止制御指示生成手段28
で印字停止の制御指示が生成された後において印字の開
始を要求する印字コマンドが印字データ/コマンド受信
手段12で受信されたときに、印字データ/コマンド受
信手段12の受信動作を停止させるとともに、印字デー
タ蓄積手段14の蓄積内容をクリアする受信動作停止手
段26と、を有する。
In FIG. 2, the printer according to the second aspect of the present invention includes a print data / command receiving means 12 for receiving print data and a print command from a host 10, and a print data / command receiving means 12.
Print data storage means 14 for storing the print data received by the command reception means 12, print control instruction generation means 16 for generating a print control instruction from the print command received by the print data / command reception means 12, and printing In accordance with the control instruction generated by the control instruction generation means 16, the data stored in the print data storage means 14 is printed out on the paper 18 and the received data printing means 20 for carrying the print paper 18 and the user operation. And an operation stop control instruction generating means 28 for generating a print stop control instruction, and a print operation for stopping the operation of the received data printing means 20 when the operation stop control instruction generating means 28 generates a print stop control instruction. Stop means 24 and operation stop control instruction generation means 28
When a print command requesting the start of printing is received by the print data / command receiving means 12 after the print stop control instruction is generated by, the receiving operation of the print data / command receiving means 12 is stopped, and A reception operation stopping means 26 for clearing the contents stored in the print data storage means 14.

【0012】[0012]

【作用】本発明にかかるプリンタは、エラーの発生また
はユーザの指示で印字動作を停止する際に、改行や改ペ
ージのコマンド(印字の開始を要求する印字コマンドと
して取り扱われる)まで受信動作を継続し、そのコマン
ドを受信してからオフライン状態となる。
In the printer according to the present invention, when the printing operation is stopped by the occurrence of an error or the user's instruction, the receiving operation is continued until a line feed or page break command (which is treated as a print command requesting the start of printing). After receiving the command, it goes offline.

【0013】したがって、制御コードの途中から受信動
作及び印字動作が再開されることはなく、このため、エ
ラー発生やユーザ指示による印字中断にかかわらず印字
再開時の不正な印字動作が完全に回避され、次行や次ペ
ージの先頭から印字動作が正常に再開される。
Therefore, the receiving operation and the printing operation are not restarted from the middle of the control code, and therefore, the illegal printing operation at the time of restarting the printing is completely avoided regardless of the occurrence of the error or the interruption of the printing by the user's instruction. , The printing operation resumes normally from the beginning of the next line or the next page.

【0014】[0014]

【実施例】図3において、コンピュータ30は印字デー
タ,印字コマンドを送出し、プリンタ(シリアルプリン
タ:本発明はページプリンタにも適用できる)の通信部
32はコンピュータ30が送出した印字データ,印字コ
マンドを受信する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In FIG. 3, a computer 30 sends print data and a print command, and a communication section 32 of a printer (serial printer: the present invention is also applicable to a page printer) is a print data and print command sent by the computer 30. To receive.

【0015】このプリンタにはコマンド解析部34,ラ
インバッファ36,印字実行部38(印字ヘッド及びそ
のドライバを含む),用紙搬送部40,エラー検知部4
2,操作パネル44も設けられている。
The printer includes a command analysis section 34, a line buffer 36, a print execution section 38 (including a print head and its driver), a paper transport section 40, and an error detection section 4.
2. An operation panel 44 is also provided.

【0016】コマンド解析部34は通信部32がコンピ
ュータ30から受信したコードが印字データのものか印
字コマンドのものかを判別し、印字データのものである
ときにはこれをラインバッファ36へ格納する。
The command analysis unit 34 determines whether the code received by the communication unit 32 from the computer 30 is print data or print command, and if it is print data, it is stored in the line buffer 36.

【0017】また、通信部32がコンピュータ30から
印刷指令(印字の開始を要求する印字コマンド)を受信
すると、コマンド解析部34はラインバッファ36に印
字データ(文字,ドット)を格納順で出力させる。
When the communication unit 32 receives a print command (a print command requesting the start of printing) from the computer 30, the command analysis unit 34 causes the line buffer 36 to output print data (characters, dots) in the storage order. .

【0018】印字実行部38はラインバッファ36が出
力した印字データを用紙(図示は省略する)に印字出力
する。また、通信部32が用紙の搬送に関する印字コマ
ンドを受信すると、コマンド解析部34の出力に応じて
用紙搬送部40が印字用紙を搬送する。
The print execution unit 38 prints out the print data output by the line buffer 36 on a sheet (not shown). Further, when the communication unit 32 receives a print command relating to the conveyance of the paper, the paper conveyance unit 40 conveys the print paper according to the output of the command analysis unit 34.

【0019】この用紙搬送部40は印刷指令を通信部3
2が受信した場合や印字位置が行の終端へ達したときに
用紙の改行送りを、印字位置がページの終端位置へ達し
たときに用紙の改ページ送りを、コマンド解析部34の
出力に従って各々行える。
The paper transport unit 40 sends a print command to the communication unit 3
2 is received or when the print position reaches the end of the line, the line feed of the paper is performed, and when the print position reaches the end of the page, the page feed of the paper is performed according to the output of the command analysis unit 34. You can do it.

【0020】さらに、エラー検知部42は用紙切れ,用
紙ジャムなどのエラーの発生を検知するセンサを備え、
エラー検知部42はそのエラー内容をコマンド解析部3
4へ通知する。
Further, the error detecting section 42 is provided with a sensor for detecting the occurrence of an error such as paper shortage or paper jam,
The error detection unit 42 reports the error content to the command analysis unit 3
Notify 4.

【0021】そして、操作パネル44にはユーザが操作
する複数のボタンスイッチが設けられており、操作パネ
ル44はユーザ操作のボタンスイッチに応じた指示をコ
マンド解析部34へ与える。
The operation panel 44 is provided with a plurality of button switches operated by the user, and the operation panel 44 gives an instruction to the command analysis section 34 according to the user operated button switches.

【0022】図4,図5は本実施例の印字動作中におけ
る作用を説明するフローチャートで、コンピュータ30
から通信部32が印字データまたは印字コマンドを受信
すると(ステップ400)、印字データを受信したか印
字コマンドを受信したかをコマンド解析部34が判断す
る(ステップ402)。
FIGS. 4 and 5 are flow charts for explaining the operation during the printing operation of this embodiment.
When the communication unit 32 receives the print data or the print command from (step 400), the command analysis unit 34 determines whether the print data or the print command is received (step 402).

【0023】印字データを通信部32が受信したことを
確認した場合(ステップ402でYES)、コマンド解
析部34は印字すべき位置が行の終端へ達したか否かを
判断し(ステップ404)、印字すべき位置が行の終端
へ達しないとき(ステップ404でNO)には、通信部
32の受信した印字データをラインバッファ36へ格納
する(ステップ406)。
When it is confirmed that the print data is received by the communication unit 32 (YES in step 402), the command analysis unit 34 determines whether or not the position to be printed has reached the end of the line (step 404). When the position to be printed does not reach the end of the line (NO in step 404), the print data received by the communication unit 32 is stored in the line buffer 36 (step 406).

【0024】そして印字すべき位置が行の終端へ達した
とき(ステップ404でYES)には、この行がページ
の最終行か否かを判断し(ステップ408)、印字すべ
き位置の含まれる行がページの最終行でないことを確認
すると(ステップ408でNO)、ラインバッファ36
に格納されていたデータの全てを印字実行部38に印字
出力させてから、印字位置を行の先端へ戻し、かつ、用
紙搬送部40に用紙を搬送させて印字位置を次行へ移動
させる(ステップ410)。
When the position to be printed reaches the end of the line (YES in step 404), it is determined whether this line is the last line of the page (step 408), and the line containing the position to be printed is included. Is not the last line of the page (NO in step 408), the line buffer 36
After printing all the data stored in the print execution unit 38, the print position is returned to the leading end of the line, and the paper conveyance unit 40 conveys the paper to move the print position to the next line ( Step 410).

【0025】また、印字すべき位置の含まれる行がペー
ジの最終行であることを確認すると(ステップ408で
YES)、ラインバッファ36に格納されていたデータ
の全てを印字実行部38に印字出力させてから、印字位
置を行の先端へ戻し、かつ、用紙搬送部40に用紙を搬
送させて印字位置を次ページの先頭行へ移動させる(ス
テップ412)。
When it is confirmed that the line including the position to be printed is the last line of the page (YES in step 408), all the data stored in the line buffer 36 is printed out to the print execution unit 38. After that, the print position is returned to the leading end of the line, and the paper is conveyed by the paper conveyance unit 40 to move the print position to the first line of the next page (step 412).

【0026】印字コマンドを通信部32が受信したこと
を確認した場合(ステップ402でNO)、コマンド解
析部34はその印字コマンドの解析を行い(ステップ4
14)、、解析の結果に応じた処理(ステップ416)
を行う。
When it is confirmed that the communication unit 32 has received the print command (NO in step 402), the command analysis unit 34 analyzes the print command (step 4).
14), processing according to the result of the analysis (step 416)
I do.

【0027】たとえば通信部32が印刷指令を受信する
と、ラインバッファ36に格納されていたデータの全て
を印字実行部38に印字出力させてから、印字位置を行
の先端へ戻し、かつ、用紙搬送部40に用紙を搬送させ
て印字位置を次行へ移動させる。
When the communication unit 32 receives a print command, for example, all the data stored in the line buffer 36 is printed out by the print execution unit 38, the print position is returned to the leading end of the line, and the paper is conveyed. The sheet is conveyed to the section 40 and the printing position is moved to the next line.

【0028】さらに、コマンド解析部34は通信部32
が受信した印字コマンドに応じてモード,印字範囲,改
行ピッチ,文字間隔,字体,文字の大きさ,印字色など
の設定も行う。
Further, the command analysis section 34 is connected to the communication section 32.
It also sets the mode, print range, line feed pitch, character spacing, font, character size, print color, etc., according to the print command received by.

【0029】ここで、エラー検知部42から用紙切れ,
用紙ジャムなどのエラーが通知された場合(ステップ4
18でYES)、あるいは、ユーザが印字位置の調整な
どを行うために操作パネル44上における所定のボタン
スイッチを操作して印字動作の停止を指示した場合(ス
テップ420でYES)、コマンド解析部34は印字実
行部38と用紙搬送部40の動作を直ちに停止させる
(ステップ500)。
Here, the error detection unit 42 runs out of paper,
When an error such as a paper jam is notified (step 4)
If YES in step 18, or if the user instructs the stop of the printing operation by operating a predetermined button switch on the operation panel 44 in order to adjust the printing position (YES in step 420), the command analysis unit 34 Immediately stops the operations of the print executing unit 38 and the sheet conveying unit 40 (step 500).

【0030】そして、通信部32に次の印字データ,印
字コマンドを受信させ(ステップ502)、通信部32
が印字データを受信した場合はその印字位置が行終端ま
たはページ終端となるか否かを判断し(ステップ50
4,506)、通信部32が印字コマンドを受信した場
合はこのコマンドが印刷指令か否かを判断する(ステッ
プ508)。
Then, the communication unit 32 is made to receive the next print data and print command (step 502).
When the print data is received by the printer, it is determined whether the print position is the line end or the page end (step 50).
4, 506), when the communication unit 32 receives the print command, it is determined whether this command is a print command (step 508).

【0031】通信部32が印字データを受信した場合で
その印字位置が行終端またはページ終端へ達していない
とき(ステップ504,506でNO:論理的な印字位
置を次へ進める)、あるいは、通信部32が印字コマン
ドを受信した場合でこのコマンドが印刷指令でないとき
(ステップ508でNO)には、次の印字データ,印字
コマンドを通信部32に受信させる(ステップ50
2)。
When the communication unit 32 receives print data and the print position has not reached the line end or page end (NO in steps 504 and 506: advance logical print position to the next), or communication When the unit 32 receives the print command and this command is not the print command (NO in step 508), the communication unit 32 receives the next print data and print command (step 50).
2).

【0032】したがって本実施例のプリンタは、現在の
印字位置が行終端またはページ終端へ達するまで、ある
いは、印字指令を受信するまで、印字データ,印字コマ
ンドの受信を継続する。
Therefore, the printer of this embodiment continues to receive the print data and the print command until the current print position reaches the end of the line or the end of the page, or until the print command is received.

【0033】以後において現在の印字位置が行終端また
はページ終端へ達したこと、あるいは、通信部32が印
字指令を受信したことを確認すると(ステップ504,
506,508でYES)、コマンド解析部34は通信
部32の受信動作を禁止し、プリンタがオフライン状態
となったことをコンピュータ30へ通信部32を介して
通知する(ステップ510)。
After that, when it is confirmed that the current print position has reached the end of the line or the end of the page, or that the communication unit 32 has received the print command (step 504,
If YES at 506 and 508), the command analysis unit 34 prohibits the receiving operation of the communication unit 32 and notifies the computer 30 via the communication unit 32 that the printer is in the off-line state (step 510).

【0034】さらにラインバッファ36をクリアしてか
ら(ステップ512)、プリンタが印字可能な状態(ユ
ーザが発生エラーを復旧させて前記のボタンスイッチを
操作する)となるまで待つ(ステップ514)。
After the line buffer 36 is further cleared (step 512), the printer waits until the printer is ready to print (the user recovers the error and operates the button switch) (step 514).

【0035】そしてプリンタが印字可能な状態となった
ことを確認すると(ステップ514でYES)、コマン
ド解析部34はこれをコンピュータ30へ通知し、通信
部32の受信動作を再び可能とする(ステップ51
6)。
When it is confirmed that the printer is ready for printing (YES in step 514), the command analysis section 34 notifies the computer 30 of this, and the receiving operation of the communication section 32 is enabled again (step). 51
6).

【0036】以上説明したように本実施例によれば、エ
ラーが発生したときやユーザが印字動作の停止を指示し
たときに、現在の印字位置が行終端またはページ終端へ
達してから、あるいは、印字指令を受信してから、プリ
ンタがオフライン状態となるので、その際に印字コマン
ドが途中で切れることはなく、したがって、プリンタの
動作再開時に正常な印字結果が常に得られる。
As described above, according to this embodiment, when an error occurs or when the user gives an instruction to stop the printing operation, the current print position reaches the end of the line or the end of the page, or Since the printer goes off-line after receiving the print command, the print command is not interrupted at that time, and therefore a normal print result is always obtained when the printer operation is restarted.

【0037】[0037]

【発明の効果】以上説明したように本発明によれば、エ
ラー発生やユーザ指示による印字動作の中断時に印字コ
マンドが途中で切断されないので、それらエラー発生や
ユーザ指示による印字中断にかかわらず、印字再開時の
不正な印字動作を完全に回避でき、したがって、プリン
タ動作が再開されたときに正常な印字結果が常に得られ
る。
As described above, according to the present invention, since the print command is not cut off midway when an error occurs or the printing operation is interrupted by a user instruction, the printing is performed regardless of the error occurrence or the user-instructed printing interruption. It is possible to completely avoid an illegal print operation at the time of restart, and therefore, a normal print result is always obtained when the printer operation is restarted.

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

【図1】第1発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the first invention.

【図2】第2発明の原理説明図である。FIG. 2 is a diagram illustrating the principle of the second invention.

【図3】実施例の構成説明図である。FIG. 3 is a diagram illustrating the configuration of an embodiment.

【図4】実施例の作用を説明するフローチャートであ
る。
FIG. 4 is a flowchart illustrating the operation of the embodiment.

【図5】実施例の作用を説明するフローチャートであ
る。
FIG. 5 is a flowchart illustrating the operation of the embodiment.

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

30 コンピュータ 32 通信部 34 コマンド解析部 36 ラインバッファ 38 印字実行部 40 用紙搬送部 42 エラー検知部 44 操作パネル 30 computer 32 communication unit 34 command analysis unit 36 line buffer 38 print execution unit 40 paper transport unit 42 error detection unit 44 operation panel

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 印字データと印字コマンドをホストから
受信する印字データ/コマンド受信手段と、 印字データ/コマンド受信手段で受信された印字データ
を蓄積する印字データ蓄積手段と、 印字データ/コマンド受信手段で受信された印字コマン
ドから印字の制御指示を生成する印字制御指示生成手段
と、 印字制御指示生成手段で生成された制御指示に従い、印
字データ蓄積手段で蓄積されていたデータを用紙上へ印
字出力し、印字用紙の搬送を行う受信データ印字手段
と、 エラー発生の検知を行うエラー検知手段と、 エラー検知手段でエラー発生の検知が行われたときに、
受信データ印字手段の動作を停止させる印字動作停止手
段と、 エラー発生の検知がエラー検知手段で行われた後におい
て印字の開始を要求する印字コマンドが印字データ/コ
マンド受信手段で受信されたときに、印字データ/コマ
ンド受信手段の受信動作を停止させるとともに、印字デ
ータ蓄積手段の蓄積内容をクリアする受信動作停止手段
と、 を有する、 ことを特徴としたプリンタ。
1. A print data / command receiving means for receiving print data and a print command from a host, a print data storing means for storing print data received by the print data / command receiving means, and a print data / command receiving means. The print control instruction generating means for generating a print control instruction from the print command received by the print control instruction generating means and the data stored in the print data accumulating means are printed on the paper according to the control instruction generated by the print control instruction generating means. However, when the error data is detected by the received data printing unit that conveys the print paper, the error detection unit that detects the error occurrence, and the error detection unit,
When a print operation stopping means for stopping the operation of the received data printing means and a print command requesting the start of printing after the occurrence of an error is detected by the error detecting means, are received by the print data / command receiving means. A receiving operation stopping means for stopping the receiving operation of the print data / command receiving means and clearing the stored contents of the print data accumulating means.
【請求項2】 印字データと印字コマンドをホストから
受信する印字データ/コマンド受信手段と、 印字データ/コマンド受信手段で受信された印字データ
を蓄積する印字データ蓄積手段と、 印字データ/コマンド受信手段で受信された印字コマン
ドから印字の制御指示を生成する印字制御指示生成手段
と、 印字制御指示生成手段で生成された制御指示に従い、印
字データ蓄積手段で蓄積されていたデータを用紙上へ印
字出力し、印字用紙の搬送を行う受信データ印字手段
と、 ユーザの操作により印字停止の制御指示を生成する動作
停止制御指示生成手段と、 動作停止制御指示生成手段で印字停止の制御指示が生成
されたときに、受信データ印字手段の動作を停止させる
印字動作停止手段と、 動作停止制御指示生成手段で印字停止の制御指示が生成
された後において印字の開始を要求する印字コマンドが
印字データ/コマンド受信手段で受信されたときに、印
字データ/コマンド受信手段の受信動作を停止させると
ともに、印字データ蓄積手段の蓄積内容をクリアする受
信動作停止手段と、 を有する、 ことを特徴としたプリンタ。
2. A print data / command receiving means for receiving print data and a print command from a host, a print data storing means for storing print data received by the print data / command receiving means, and a print data / command receiving means. The print control instruction generating means for generating a print control instruction from the print command received by the print control instruction generating means and the data stored in the print data accumulating means are printed on the paper according to the control instruction generated by the print control instruction generating means. Then, the received data printing means that conveys the print paper, the operation stop control instruction generation means that generates the print stop control instruction by the user operation, and the print stop control instruction is generated by the operation stop control instruction generation means. Sometimes, the print operation stop means for stopping the operation of the received data print means and the print stop control instruction by the operation stop control instruction generation means When a print command requesting the start of printing after the display is generated is received by the print data / command receiving means, the receiving operation of the print data / command receiving means is stopped and the content stored in the print data accumulating means is stopped. A receiving operation stopping means for clearing the printer, and a printer characterized by:
JP7051303A 1995-03-10 1995-03-10 Printer Withdrawn JPH08249145A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7051303A JPH08249145A (en) 1995-03-10 1995-03-10 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7051303A JPH08249145A (en) 1995-03-10 1995-03-10 Printer

Publications (1)

Publication Number Publication Date
JPH08249145A true JPH08249145A (en) 1996-09-27

Family

ID=12883159

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7051303A Withdrawn JPH08249145A (en) 1995-03-10 1995-03-10 Printer

Country Status (1)

Country Link
JP (1) JPH08249145A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012166443A (en) * 2011-02-14 2012-09-06 Canon Inc Print control device, method and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012166443A (en) * 2011-02-14 2012-09-06 Canon Inc Print control device, method and program

Similar Documents

Publication Publication Date Title
US7999953B2 (en) Printer having print and receive buffers and a printer control method for controlling same
US8077331B2 (en) Printer and printer control method
KR100484336B1 (en) Composite printing device and control method with multiple printer mechanisms
WO1990014231A2 (en) Printer switchable between duplex and simplex mode on a page by page basis
US6426805B1 (en) Image recording apparatus and method therefor
JP2001301282A (en) Print processor for serial printer
US6567183B1 (en) Output apparatus and output method
US5889930A (en) Output method and apparatus
US20050231750A1 (en) Image output apparatus and method of controlling same
JPH08249145A (en) Printer
JP2004216778A (en) Image forming apparatus and method of controlling command therein
JP3624685B2 (en) Printer
JP2569559B2 (en) Printer
JP2001191601A (en) Printer, print system and method for feeding/discharging sheet
JPH08192553A (en) Printer
JP3286477B2 (en) Printer
JP4339629B2 (en) Printer
JPH09314937A (en) Continuous paper cutter for printer
JPH1083368A (en) Communication controller and method therefor
JP2000128418A (en) Printing device
JPH09263026A (en) Image forming apparatus
JPH0615930A (en) Printing device
JPS6327278A (en) Printer
JP2003063669A (en) Paper feeder and computer program
JP2000118099A (en) Image-forming apparatus

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020604