JPH0447967A - Printing device - Google Patents
Printing deviceInfo
- Publication number
- JPH0447967A JPH0447967A JP15701490A JP15701490A JPH0447967A JP H0447967 A JPH0447967 A JP H0447967A JP 15701490 A JP15701490 A JP 15701490A JP 15701490 A JP15701490 A JP 15701490A JP H0447967 A JPH0447967 A JP H0447967A
- Authority
- JP
- Japan
- Prior art keywords
- printing
- print data
- ram
- data
- communication buffer
- 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
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、印刷データを受信し印刷を行なう印刷装置に
関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printing device that receives print data and performs printing.
[従来の技術] 印刷装置はホストより印刷データを受信し。[Conventional technology] The printing device receives print data from the host.
印刷を行うものである0例えば、ホストコンピュータ上
で起動されるソフトウェアにより生成される印刷データ
は通信回路を経由して印刷装置に送られる。印刷装置は
該印刷データを受信して印刷を行う。For example, print data generated by software running on a host computer is sent to a printing device via a communication circuit. The printing device receives the print data and performs printing.
[発明が解決しようとしている課題]
しかし、印刷を行った後、何らかの理由により印刷を中
止する要因が発生した場合、中止させる方法としては、
下記の2通っである。[Problem to be Solved by the Invention] However, if a factor that causes printing to be stopped occurs for some reason after printing, the methods for stopping printing are as follows.
There are two letters below.
1、ホストコンピュータ側で中止をする。1. Cancel on the host computer side.
2、印刷装置側て中止をする。2. Cancel on the printing device side.
しかし、上記lの方法により中止させるには、中止させ
るためのソフトか完備されていなければならない、現在
のソフトウェアの中には、ホストコンピュータの操作に
より印刷を中止できる様になったソフトウェアもあり、
多少使用されはじめてきているがその数は限られている
。現状は印刷装置の印刷を中止できないソフトウェアが
多く使用されている。また、次のような問題点もある。However, in order to cancel printing using method 1 above, you must have complete software to cancel printing.Some of the current software allows printing to be canceled by operating the host computer.
It has begun to be used to some extent, but the number is limited. Currently, many software programs are being used that do not allow printing by a printing device to be stopped. There are also the following problems.
ホストコンピュータにて印刷を中止しても印刷データの
送信を中止するのみであって、印刷装置は印刷を継続す
る。何故なら、現在の印刷装置のほとんどは印刷装置内
部のRAM上にコミュニケーションバッファーと呼ばれ
る、印刷データを一時蓄えるバッファーを有しており、
この印刷データかなくなるまで印刷を継続するからであ
る。故に、ホストコンピュータで印刷データの送信を中
止しても印刷装置内に蓄えられた印刷データにより実際
の印刷は中止されない、中止させるためにはホストコン
ピュータで印刷を中止した後、ホストコンピュータより
印刷装置に対し初期化信号を送られなければならない。Even if the host computer stops printing, it only stops sending the print data, and the printing device continues printing. This is because most current printing devices have a buffer called a communication buffer that temporarily stores print data on the internal RAM of the printing device.
This is because printing continues until this print data runs out. Therefore, even if the host computer stops sending print data, the actual printing will not be stopped using the print data stored in the printing device. An initialization signal must be sent to the
上記2の方法により印刷を中止させるための方法は現在
のところ印刷装置の電源を切るか、或は操作パネルから
の印刷装置初期化操作を行う方法である。しかしこの方
法は、印刷データ量か多い場合、−度初期化操作を行っ
て印刷装置内の印刷データを消去しても初期化後残りの
印刷データがホストコンピュータより送信されるので、
何回も印刷装置初期化操作を行わなければならなかりた
。At present, the method for stopping printing using method 2 above is to turn off the power to the printing device or to initialize the printing device from the operation panel. However, with this method, if the amount of print data is large, even if you perform an initialization operation to erase the print data in the printing device, the remaining print data will be sent from the host computer after initialization.
I had to perform a printer initialization operation many times.
[課題を解決するための手段及び作用]本発明は上述の
課題を解決すべく印刷データを受信し印刷を行う印刷装
置に於て、受信した印刷データを廃棄する指示手段と、
前記指示手段の指示に応答して、受信データを無効にす
る手段とを備えた印刷装置を提供するものである。[Means and operations for solving the problems] In order to solve the above-mentioned problems, the present invention provides a printing device that receives print data and performs printing, including an instruction means for discarding the received print data;
The present invention provides a printing apparatus comprising means for invalidating received data in response to an instruction from the instruction means.
[実施例] 以下図面を参照して本発明を具体的に説明する。[Example] The present invention will be specifically described below with reference to the drawings.
第1図は、該印刷装置の印刷動作の制御を司る電気回路
系のブロック図である。FIG. 1 is a block diagram of an electric circuit system that controls the printing operation of the printing apparatus.
第1図において、中央処理装置(メインCPU)101
からアドレスバス、データバス、及びそれらを制御する
制御信号からなるバス114が出力されてあり、メイン
CP 0101は、ROM 103に内蔵された第6,
7図に示す制御手順により制御される。メインCP U
101はROM1G3.印刷すべきコートデータを記
憶するFIFOとそのパターンデータを記憶する印刷バ
ッファとを有するRAM102.データ受信部104、
スイッチ入力部105、ランプ点灯部106、及び補助
処理装置(サブ;CPU)107に接続されている。又
、補助処理装置(サブCPU)107からもアドレスバ
ス、データバス及びそれらを制御する制御信号からなる
バス115か出力されており、印刷ヘット移動駆動部1
08、紙送り駆動部109、印刷ヘット印刷駆動部11
O、シリンダー駆動部111、大気連通口開閉駆動部1
12、各種センサ一部113、タイマー部116に接続
されている。In FIG. 1, a central processing unit (main CPU) 101
A bus 114 consisting of an address bus, a data bus, and control signals for controlling them is output from the main CP 0101.
It is controlled by the control procedure shown in FIG. Main CPU
101 is ROM1G3. A RAM 102 having a FIFO for storing coat data to be printed and a print buffer for storing its pattern data. data receiving section 104,
It is connected to a switch input section 105, a lamp lighting section 106, and an auxiliary processing unit (sub; CPU) 107. A bus 115 consisting of an address bus, a data bus, and control signals for controlling them is also output from the auxiliary processing unit (sub CPU) 107, and the print head movement drive unit 1
08, paper feed drive unit 109, print head print drive unit 11
O, cylinder drive unit 111, atmosphere communication port opening/closing drive unit 1
12, various sensors are connected to a portion 113 and a timer portion 116.
上述の構成から成る実施例の作動を説明する。The operation of the embodiment configured as described above will be explained.
ホストコンピュータから送信された印刷情報は、ステッ
プSlで印刷装置側のデータ受信部104て受信される
。データ受信部104は、設定された手順に従いデータ
の受信と用紙状態等のデータの授受をステップSl、S
2でホストコンピュータとの間で行う、受信された印字
情報はステップS3でRAM1口2に保管され、ステッ
プS4で印字命令等の印字要因が発生したときにサブC
P U 107に印刷命令を与える。印刷命令を受信し
たサブCP U 107はステップP2で印刷ヘッド移
動駆動部108、紙送り駆動部109、印刷ヘッド印刷
駆動部110、シリンダー駆動部111、大気連通口開
閉駆動部112を最適に制御させ各種センサ一部113
の状態を確認しなから印刷を行う。The print information transmitted from the host computer is received by the data receiving unit 104 on the printing apparatus side in step Sl. The data receiving unit 104 receives data and exchanges data such as paper status in steps Sl and S according to a set procedure.
The received printing information performed with the host computer in Step 2 is stored in RAM 1 port 2 in Step S3, and is stored in the sub-C when a printing factor such as a printing command occurs in Step S4.
Give a print command to P U 107. Upon receiving the print command, the sub CPU 107 optimally controls the print head movement drive unit 108, paper feed drive unit 109, print head print drive unit 110, cylinder drive unit 111, and atmosphere communication port opening/closing drive unit 112 in step P2. Various sensors part 113
Check the status before printing.
データ受信部104により受信された印刷データはRA
M 102の部分領域のコミュニケーションバッファ
一部に格納される0通常コミュニケーションバッファー
はリング上のバッファーとして作成されファーストイン
ファーストアウトの機能を持つ、メインCP U 10
1はRAM102のコミュニケーションハラファーより
印刷データを読み出し、そのデータが文字コードであれ
ばROM 103の一部に書き込まれているキャラクタ
ジェネレータよりフォントパターンを読み出し、RA
M 102の印刷バッファーに印刷イメージ状態にて格
納する。ステップS子でスイッチ入力部105により印
刷データの廃棄が指示された場合は、メインCP U
101はRAM102の部分領域のコミュニケーション
バッファ−内に現在格納しである印刷データを消去し、
サブCP U 107に印刷中止命令を出す、更にメイ
ンCP 0101はステップSIOでスイッチ入力部1
05の印刷データの廃棄の指示が終了するまでデータ受
信部104で受信した印刷データをRA M 102内
のコミュニケーションバッファー内に格納しないでその
まま廃棄する。第2因にスイッチ入力部の一例を示す。The print data received by the data receiving unit 104 is
The communication buffer is stored in a part of the communication buffer in the partial area of M 102. The communication buffer is normally created as a buffer on a ring and has a first-in first-out function.
1 reads print data from the communication Halafah of the RAM 102, and if the data is a character code, reads the font pattern from the character generator written in a part of the ROM 103;
It is stored in the print buffer of M 102 in the print image state. If the switch input unit 105 instructs to discard the print data in step S, the main CPU
101 erases the print data currently stored in the communication buffer of a partial area of the RAM 102;
The main CPU 0101 issues a printing stop command to the sub CPU 107, and the main CPU 0101 also issues a command to the switch input section 1 at step SIO.
The print data received by the data receiving unit 104 is not stored in the communication buffer in the RAM 102 and is discarded as is until the instruction to discard the print data in step 05 is completed. The second factor is an example of a switch input section.
第2図においてインターフェイススイッチISはスライ
ドスイッチであり、他のスイッチつまり改頁、改行、オ
ンラインのスイッチはタクトスイッチである。オンライ
ンスイッチはホストコンピュータからの印刷データの授
受の許可又は禁止を制御するスイッチで押す毎に状態が
切り替わる。改行スイッチと改頁スイッチは用紙送りを
制御するスイッチである。インターフェイススイッチI
Sは、印刷データの廃棄を指示するスイッチて、スライ
ド指示部が中央位置のクリアの位置に来ると印刷データ
の廃棄指示となる。第2図はインターフェイスコネクタ
が2個の場合の例である。インターフェイスコネクタを
それぞれA、Bとすると、スライド指示部かAの位置に
ある時は、A側のインターフェースコネクタが受信機能
しており、B側の位置ある時は、B側のインターフェイ
スコネクタか受信機能しているものとする。スライド指
示部がA側の状態から中央のクリアの位置に移動すると
、A側のコネクタから受信されるデータか廃棄される。In FIG. 2, the interface switch IS is a slide switch, and the other switches, ie, page feed, line feed, and online switches, are tact switches. The online switch controls permission or prohibition of sending and receiving print data from the host computer, and its state changes each time it is pressed. The line feed switch and page feed switch are switches that control paper feed. Interface switch I
S is a switch for instructing the discard of print data, and when the slide instruction section reaches the central clear position, the discard of the print data is instructed. FIG. 2 shows an example in which there are two interface connectors. Assuming that the interface connectors are A and B, respectively, when the slide instruction part is in position A, the interface connector on the A side has a receiving function, and when it is in the position on the B side, the interface connector on the B side has a receiving function. It is assumed that When the slide instruction section moves from the A side state to the central clear position, the data received from the A side connector is discarded.
スライド指示部がB側の状態から中央のクリアの位置に
移動すると、B側のコネクタから受信されるデータが廃
棄される。第2図のインターフェイススイッチはA、ク
リア、Bの3ポジシヨンにスライド可能あり、A側から
クリアポジションに移動し、印刷データを廃棄し、その
後A側に移動することも可能であり、又、クリアポジシ
ョンからB側に移動することも可能である。B側からの
移動も上記A側からの移動と同様可能である。When the slide instruction section moves from the B-side state to the central clear position, data received from the B-side connector is discarded. The interface switch in Figure 2 can be slid to three positions: A, clear, and B. It is also possible to move from the A side to the clear position, discard the print data, and then move to the A side. It is also possible to move from the position to the B side. Movement from the B side is also possible in the same way as movement from the A side.
[他の実施例]
上記実施例は印刷データの廃棄操作を使用者がスライド
スイッチを操作することにより実現したが、下記のよう
な実施も可能である。[Other Embodiments] In the above embodiments, the user operates a slide switch to discard print data, but the following implementation is also possible.
1、印刷データの1つのブロックがブロックの開始と終
了を示すブロック開始符号とブロック終了符号と印刷デ
ータによって構成されている場合、ブロック単位て印刷
データの廃棄を行うことも可能である。1. When one block of print data is composed of a block start code, a block end code, and print data indicating the start and end of the block, it is also possible to discard the print data in units of blocks.
第3図に印刷データのブロック構成例を示す0例えば、
ブロック開始符号を受信後、印刷データを受信中に印刷
データの廃棄指示かなされた場合は、現在受信中の印刷
データのブロック終了符号が受信されるまでの印刷デー
タを廃棄する。この場合のスイッチ入力部は、第4図で
示すようなものとなる。印刷データを廃棄する場合は、
インターフェイスクリアスイッチ(タクトスイッチ等)
を押す、この時点でブロック開始符号が受信されていれ
ば、クリアランプ点灯する。その後ブロック終了符号が
受信されるまで印刷データを廃棄する。印刷データの終
りを示すブロック終了符号が受信された時点でクリアラ
ンプを消灯し印刷データの廃棄機構を終了する。FIG. 3 shows an example of the block configuration of print data. For example,
After receiving the block start code, if a print data discard instruction is issued while print data is being received, the print data up to the block end code of the print data currently being received is discarded. The switch input section in this case is as shown in FIG. If you want to discard print data,
Interface clear switch (tact switch, etc.)
Press .If the block start code has been received at this point, the clear lamp will light up. Thereafter, print data is discarded until an end-of-block code is received. When a block end code indicating the end of print data is received, the clear lamp is turned off and the print data discard mechanism is terminated.
2、上記1において印刷データブロックの各々か異なる
ブロック開始符号、ブロック終了符号を有する場合は、
指定される印刷データブロックのみ印刷データの廃棄を
行うことか可能である。2. In 1 above, if each print data block has a different block start code and block end code,
It is possible to discard print data only for specified print data blocks.
第5図に異なった印刷データのブロック開始終了符号を
有する印刷データストリームを示す、印刷データには印
刷データの分類を示すサフィックスか追加される。追加
されたサフィックスを識別することにより指定された印
刷データのみを廃棄する。廃棄する印刷データの指示方
法はスイッチ入力部と文字を表記できる表示装置(図示
せず)によって指定できる。第5図の例では印刷データ
の内、サフィックスとして3に含まれる印刷データを廃
棄することを示している。FIG. 5 shows a print data stream with different print data block start and end codes, the print data being appended with a suffix indicating the classification of the print data. Only print data specified by identifying the added suffix is discarded. The method of instructing print data to be discarded can be specified using a switch input section and a display device (not shown) capable of displaying characters. The example in FIG. 5 shows that among the print data, the print data included in the suffix 3 is to be discarded.
なお上述の例ではメモリをクリア、受信をしないという
処置をとったが、印刷をし・なければ良いので、データ
に対し、無効の属性情報を付加することをしても良い。Note that in the above example, the memory is cleared and no reception is performed, but since printing is not required, invalid attribute information may be added to the data.
[発明の効果]
以上説明したように、印刷装置に印刷データの廃棄機能
を有することにより、
1、必要としない印刷デ“−夕を除去できる。[Effects of the Invention] As explained above, by having the print data discard function in the printing device, 1. Unnecessary print data can be removed.
2、不要な印刷データを印刷しないため、無駄に印刷装
置を動作させることがなくなり、時間的に印刷装置の使
用効率が良くなる。2. Since unnecessary print data is not printed, the printing device is not operated unnecessarily, and the usage efficiency of the printing device is improved in terms of time.
3、印刷用紙の無駄が無くなる。3. Eliminates waste of printing paper.
4、ホストコンピュータの印刷制御に無関係に印刷を行
わないことができる。4. Printing can not be performed regardless of the print control of the host computer.
第1図は本発明を実施するための電気回路系のブロック
図であり、第2図は本発明を実施するためのスイッチ部
の一例を示す図、$3図は印刷データにブロック開始終
了符号を有した場合の印刷データのブロック構成図、第
4図はブロック開始終了符号を有した印刷データの廃棄
操作を行うためのスイッチ入力部を示す図、第5図は印
刷データのブロックに認識符号を有した印刷データスト
リームを示す図、第6図は制御手順を示す図、第7図は
制御手順を示す図、105・・・スイッチ入力部
102−・・メモリ
場10
電気丘腎死のプロ、ソツ図
嘱2図
ス、ソ手入力話千の一イ列
第3 図
1p昇1斤−夕のフパ口・ツク県゛FIG. 1 is a block diagram of an electric circuit system for implementing the present invention, FIG. 2 is a diagram showing an example of a switch section for implementing the present invention, and FIG. FIG. 4 is a diagram showing a switch input section for discarding print data that has a block start/end code, and FIG. FIG. 6 is a diagram showing a control procedure. FIG. 7 is a diagram showing a control procedure. , Figure 2, Sotsu manual input story, 1,000, 1 row, 3rd Figure 1 p.
Claims (1)
した印刷データを廃棄する指示手段と、前記指示手段の
指示に応答して、受信データを無効にする手段とを備え
た印刷装置。A printing device that receives print data and performs printing, the printing device comprising: instructing means for discarding the received print data; and means for invalidating the received data in response to an instruction from the instructing means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15701490A JPH0447967A (en) | 1990-06-15 | 1990-06-15 | Printing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15701490A JPH0447967A (en) | 1990-06-15 | 1990-06-15 | Printing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0447967A true JPH0447967A (en) | 1992-02-18 |
Family
ID=15640297
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP15701490A Pending JPH0447967A (en) | 1990-06-15 | 1990-06-15 | Printing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0447967A (en) |
-
1990
- 1990-06-15 JP JP15701490A patent/JPH0447967A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| ATE325386T1 (en) | TERMINAL DEVICE AND METHOD FOR DATA TRANSMISSION CONTROL IN THE TERMINAL DEVICE | |
| EP0722841A3 (en) | Printing apparatus and method of saving power consumption of same | |
| JPH0447967A (en) | Printing device | |
| JPH0250865A (en) | printing device | |
| JP3559620B2 (en) | Printer system | |
| JP3739527B2 (en) | Image forming apparatus | |
| JP2830383B2 (en) | Printer interface switching device | |
| JPS63288771A (en) | Controller for printer | |
| JPH08295065A (en) | Image forming device | |
| JPH06208441A (en) | System for controlling printing environment of printer device | |
| JPH1021019A (en) | Printer device | |
| JP3092327B2 (en) | Printer | |
| JPS5933544A (en) | Display control method | |
| JP3222675B2 (en) | Printing apparatus and display control method for printing apparatus | |
| JP3045116B2 (en) | Graphic drawing equipment | |
| JPH06155820A (en) | Data management system for printer | |
| JPH06210936A (en) | Printing control device of printer | |
| JPH02268320A (en) | Printer | |
| JPH05204563A (en) | Printer device | |
| JPS61118263A (en) | Letter development system to image memory | |
| JPH01242281A (en) | Page printer | |
| JPH04125177A (en) | Printer setting apparatus | |
| JPS58217042A (en) | Character and picture display system | |
| JPH05224842A (en) | Method and device for printing | |
| JPH0764737A (en) | Printing apparatus and method for setting printing environment in the apparatus |