Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6246012B2 - - Google Patents
[go: Go Back, main page]

JPS6246012B2 - - Google Patents

Info

Publication number
JPS6246012B2
JPS6246012B2 JP56151088A JP15108881A JPS6246012B2 JP S6246012 B2 JPS6246012 B2 JP S6246012B2 JP 56151088 A JP56151088 A JP 56151088A JP 15108881 A JP15108881 A JP 15108881A JP S6246012 B2 JPS6246012 B2 JP S6246012B2
Authority
JP
Japan
Prior art keywords
command
printer
message
manual operation
transmitted
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.)
Expired
Application number
JP56151088A
Other languages
Japanese (ja)
Other versions
JPS5870384A (en
Inventor
Mari Nagayama
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 JP56151088A priority Critical patent/JPS5870384A/en
Publication of JPS5870384A publication Critical patent/JPS5870384A/en
Publication of JPS6246012B2 publication Critical patent/JPS6246012B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

【発明の詳細な説明】 本発明はシリアルプリンタ制御方式に関し、特
にホスト制御部に対して複数のシリアルプリンタ
がマルチ接続されている場合に、各プリンタに対
してホスト制御部からの伝文によりマニアル切換
スイツチの動作を禁止可能にするとともに、この
禁止状態を解除する場合に該プリンタの印字動作
完了をホスト制御部で待つことなく解除できるよ
うにしたシリアルプリンタ制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a serial printer control system, and in particular, when a plurality of serial printers are connected to a host control unit, manual control is performed for each printer by a message from the host control unit. The present invention relates to a serial printer control method that allows the operation of a changeover switch to be inhibited, and also allows the inhibited state to be canceled without waiting for the host controller to complete the printing operation of the printer.

例えば第1図に示す如く、ホスト制御部HCに
対して複数のプリンタA,B,Cがマルチ接続さ
れている場合、ホスト制御部HCからプリンタA
に伝文を送出し、次にプリンタBに伝文を送出
し、次にプリンタCに伝文を送出し、再びプリン
タAに伝文を送出する。このように各プリンタA
〜Cに対して順次伝文を送出し、例えばプリンタ
Aに対して1行文の印刷伝文を送出したとき、こ
のプリンタAに対して印字コマンドCRを送出
し、印字動作を行なわせる。
For example, as shown in Fig. 1, when multiple printers A, B, and C are connected to the host controller HC, the host controller HC connects printer A.
, then sends a message to printer B, then sends a message to printer C, and then sends a message to printer A again. In this way, each printer A
Messages are sequentially sent to C to C. For example, when a one-line print message is sent to printer A, a print command CR is sent to printer A to cause it to perform a printing operation.

これを第2図イにもとづき詳述する。第2図イ
においてプリンタAに対してホスト制御部HCか
ら1行分の伝文LTをストローブ信号STとともに
送出する。このときホスト制御部は印字命令CR
をこの伝文LTに次いで送出する。プリンタAは
この印字コマンドCRにもとづき印字動作を行な
うが、このときビジー信号BUSYを出力し、印字
完了後、伝文受信印刷完了および次の伝文送出待
を示す受信信号ACKを出力する。
This will be explained in detail based on FIG. 2A. In FIG. 2A, a message LT for one line is sent from the host control unit HC to the printer A together with a strobe signal ST. At this time, the host control unit prints the print command CR.
is sent after this message LT. Printer A performs a printing operation based on this print command CR. At this time, it outputs a busy signal BUSY, and after printing is completed, it outputs a reception signal ACK indicating completion of message reception and printing and waiting for the next message to be sent.

ところがプリンタA〜Cには、オペレータが随
時手動操作できるセレクトスイツチが設けられて
おり、このセレクトスイツチを操作するとき当該
プリンタはオフ・ライン状態となり、ホスト制御
部HCからの送信伝文をプリントせず、例えば自
己のキイボードから入力されたデータをプリント
するような動作を行なう。そしてこのセレクトス
イツチが操作されたときそのプリンタはデセレク
ト信号DSELCTを出力し、その状態をホスト制
御部HCに報告するとともにビージ信号BUSYを
出力する。このデセレクト信号DSELCTはもし
ホスト制御部HCから一部伝送された伝文をその
バツブア中に保持していてもこれを無効化すると
いうことをも意味しているので、ホスト制御部
HCはこのデセレクト信号DSELCTをみたとき当
該プリンタに一部送出ずみの伝文があつたとして
もそれが無効化されたことを認識し、このデセレ
クト信号DSELCTが落ちたとき、その伝文を最
初から再度送出することになる。
However, printers A to C are equipped with a select switch that can be operated manually by the operator at any time, and when this select switch is operated, the printer goes offline and cannot print the transmission message from the host controller HC. First, it performs an operation such as printing data input from its own keyboard, for example. When this select switch is operated, the printer outputs a deselect signal DSELCT, reports the status to the host controller HC, and outputs a busy signal BUSY. This deselect signal DSELCT also means that even if a message partially transmitted from the host control unit HC is held in its buffer, it will be invalidated.
When the HC sees this deselect signal DSELCT, it recognizes that even if there is a message that has been partially sent to the printer, it has been invalidated, and when this deselect signal DSELCT falls, it starts the message from the beginning. Will have to send it again.

ところが第2図ロに示すように、1行分の印刷
伝文LTを送出したあと印字コマンドCRを送出し
た近傍に当該プリンタからデセレクト信号
DSELCTが送出されたとき、ホスト制御部HCで
は前記印字コマンドCRが実行されたのか、それ
とも実行されずそれまでの送信伝文が無効にされ
たのか識別することができなかつた。すなわち前
記印字コマンドCRがプリンタに実行されるまで
にある程度の時間を必要とし、またプリンタにお
いてセレクト・スイツチが操作されてもこのデセ
レクト信号DSELCTが送出されるなどやはりあ
る程度の時間が必要となるので、印字コマンド
CRの実行が先か、それともセレクト・スイツチ
の操作が先であつたのか区別することができない
という問題が存在する。
However, as shown in FIG.
When DSELCT was sent, the host control unit HC could not identify whether the print command CR was executed or whether it was not executed and the previously transmitted message was invalidated. That is, it takes a certain amount of time for the print command CR to be executed by the printer, and even if the select switch is operated in the printer, it also takes a certain amount of time for the deselect signal DSELCT to be sent out. print command
There is a problem in that it is not possible to distinguish whether CR was executed first or whether the select switch was operated first.

そこでこのような問題を解決するために、仮り
に第3図に示すように、印字直前の伝文LTに対
して当該プリンタにおいてセレクト・スイツチの
動作を禁止する動作禁止コマンドINHを付与し、
あとでこの禁止状態を解除する解除コマンド
INHOFFを送出するようにする場合には、前記
の如く、伝文が印刷されたか否かという問題はな
くなるものの新らたに次のような問題が生ずるこ
とになる。
Therefore, in order to solve this problem, as shown in Fig. 3, an operation prohibition command INH that prohibits the operation of the select switch in the printer is added to the message LT just before printing, and
Release command to release this prohibited state later
In the case where INHOFF is sent, the problem of whether the message has been printed or not, as described above, is eliminated, but the following new problem arises.

すなわち、第3図において時刻T0に動作禁止
コマンドINH付きの伝文LTが送出され、その後
時刻T1で印字コマンドCRが出力されて時刻T2
り印字動作が行なわれることになる。そしてこの
印字動作のためのビージ信号出力期間T3後に前
記解除コマンドINHOFFによる解除制御が行な
われることになるため、早くても時刻T1よりそ
の印字のためのビージ信号期間T3―T2を考慮し
た時刻T′でこの解除コマンドINHOFFが出力さ
れるために、前記印字コマンドCRが送出されて
からこの解除コマンドINHOFFが出力されるま
での間、ホスト制御部HCは当該プリンタと接続
状態にあり、この期間つまりビージ信号期間だけ
専有状態が長くなり、かくしてプリンタ全体とし
てみれば情報処理効率が低減することになる。
That is, in FIG. 3, a message LT with an operation inhibiting command INH is sent out at time T 0 , then a print command CR is output at time T 1 , and a printing operation is performed from time T 2 . Since the release control by the release command INHOFF will be performed after the beege signal output period T3 for this printing operation, the beege signal period T3 - T2 for that printing will start from time T1 at the earliest. Since this release command INHOFF is output at the considered time T', the host control unit HC is connected to the printer from the time the print command CR is sent until the release command INHOFF is output. , the exclusive state becomes longer by this period, that is, the beege signal period, and the information processing efficiency of the printer as a whole is thus reduced.

したがつて本発明の目的は、前記第2図ロにお
けるような問題を改善するために、オペレータが
マニアルなセレクト・スイツチ操作を禁止する動
作禁止信号を伝文とともに送出するとともに、前
記第3図のように当該プリンタを長時間専有状態
にすることなくこれを解決できるようにしたシリ
アルプリンタ制御方式を提供するものである。そ
してこのために本発明のシリアルプリンタ制御方
式では、複数のプリンタに接続されこれらのプリ
ンタに対して伝文を送出する上位装置(ホスト)
を有するプリンタ装置において、プリンタに伝送
された情報をデコードするデコード手段と、プリ
ンタにおけるマニアルスイツチ操作を禁止するマ
ニアル動作禁止命令が伝達されたときこれに応じ
てセツト動作するマニアル動作禁止指示手段と、
前記ホストから伝送された伝文を一時的に保持す
る伝文保持手段と、プリンタ制御手段を有し、前
記ホストからマニアル動作禁止命令が伝達された
ときこれに応じてマニアル動作禁止手段をセツト
動作させ、マニアル動作禁止命令を解除する解除
命令が伝達されたとき、またはプリンタにおいて
所要の伝文をプリントしたとき前記プリンタ制御
手段により、このマニアル動作禁止指示手段をリ
セツト動作させるようにしたことを特徴とする。
Therefore, an object of the present invention is to transmit an operation prohibition signal together with a message that prohibits the operator from manually operating the select switch, in order to improve the problem as shown in FIG. The present invention provides a serial printer control method that can solve this problem without keeping the printer in an exclusive state for a long time. For this purpose, in the serial printer control method of the present invention, a host device (host) that is connected to a plurality of printers and sends messages to these printers.
a decoding means for decoding information transmitted to the printer; a manual operation prohibition instructing means for setting and operating in response to a manual operation prohibition command for prohibiting manual switch operation in the printer;
It has a message holding means for temporarily holding a message transmitted from the host, and a printer control means, and sets the manual operation inhibiting means in response to a manual operation inhibiting command transmitted from the host. and when a release command for canceling the manual operation prohibition command is transmitted or when a required message is printed in the printer, the manual operation prohibition instruction means is reset by the printer control means. shall be.

以下本発明の一実施例を第4図〜第6図にもと
づき説明する。
An embodiment of the present invention will be described below based on FIGS. 4 to 6.

第4図は本発明の一実施例構成を示すものであ
つてプリンタに設けられるもの、第5図はプリン
タに対して送出される情報説明図、第6図は動作
状態を説明するフローチヤートである。
Fig. 4 shows the configuration of an embodiment of the present invention, which is provided in the printer, Fig. 5 is an explanatory diagram of information sent to the printer, and Fig. 6 is a flowchart explaining the operating state. be.

図中、1はデコーダ、2はラインバツフア・メ
モリ、3はラインバツフア制御回路、4はマニア
ル禁止フリツプ・フロツプ(以下FFという)、5
はマニアルスイツチ情報記憶レジスタ(以下SW
レジスタという)、6はアンド・ゲート、7はプ
リンタ制御回路、8はスペース制御回路、9は印
字制御回路、10は用紙送り制御回路である。
In the figure, 1 is a decoder, 2 is a line buffer memory, 3 is a line buffer control circuit, 4 is a manual inhibit flip-flop (hereinafter referred to as FF), 5
is the manual switch information storage register (SW
6 is an AND gate, 7 is a printer control circuit, 8 is a space control circuit, 9 is a print control circuit, and 10 is a paper feed control circuit.

本発明ではホスト制御部HCからプリンタに対
して1行文の伝文LTを伝送するときその先頭に
マニアル動作禁止コマンドINHを付与し、伝文
LTの最後に印字コマンドCRを送出する。この印
字コマンドCRには印字開始命令であるとともに
マニアル動作禁止命令を解除するマニアル動作禁
止解除命令としての役目をも持つものである。勿
論専用のマニアル動作禁止解除コマンドOFFも
設けられている。
In the present invention, when transmitting a one-line message LT from the host control unit HC to the printer, a manual operation inhibition command INH is added to the beginning of the message.
Send print command CR at the end of LT. This print command CR serves not only as a print start command but also as a manual operation inhibition release command for canceling the manual operation inhibition command. Of course, a dedicated manual operation prohibition release command OFF is also provided.

デコーダ1はホスト制御部HCから伝達される
情報をデコードしてこの情報が伝文LTか、印字
コマンドCRか、マニアル動作禁止コマンドであ
るか等のデコードを行なうものであり、そのデコ
ード結果にもとづきそれに応じた制御を行なうも
のである。
The decoder 1 decodes information transmitted from the host control unit HC and determines whether this information is a message LT, a print command CR, a manual operation prohibition command, etc. Based on the decoding result, Control is performed accordingly.

ラインバツフア・メモリ2はプリンタとして印
字すべき伝文LTが記入されるメモリであり、少
なくとも一行分の印字容量を有する。
The line buffer memory 2 is a memory in which a message LT to be printed by the printer is written, and has a printing capacity for at least one line.

ラインバツフア制御回路3は、デコーダ1から
伝達された伝文LTを前記ラインバツフア・メモ
リ2に記入したり、後述するプリンタ制御回路7
からの指令にもとづきこのラインバツフア・メモ
リ2に記入されている伝文を読出すような制御を
行なうものである。
The line buffer control circuit 3 writes the message LT transmitted from the decoder 1 into the line buffer memory 2, and the printer control circuit 7 to be described later.
It performs control such as reading out the message written in this line buffer memory 2 based on a command from the line buffer memory 2.

FF4はマニアルで動作するマニアルスイツチ
の動作にもとづく信号の出力を抑制する制御信号
を出力するものであつて、デコーダ1から伝達さ
れるマニアル動作禁止コマンドにもとづきセツト
されて「1」を出力し、アンド・ゲート6をオフ
にする。そしてデコーダ1からマニアル動作禁止
解除指令が第1リセツト端子R1に伝達されたと
き、あるいはプリンタ制御回路7からリセツト信
号が第2リセツト端子R2に伝達されたときいず
れもリセツトされて「0」を出力し、アンド・ゲ
ート6をオン状態にする。
FF4 outputs a control signal that suppresses the output of a signal based on the operation of a manually operated manual switch, and is set and outputs "1" based on a manual operation prohibition command transmitted from the decoder 1. Turn off AND gate 6. Then, when a manual operation prohibition release command is transmitted from the decoder 1 to the first reset terminal R1 , or when a reset signal is transmitted from the printer control circuit 7 to the second reset terminal R2 , it is reset to "0". is output, and the AND gate 6 is turned on.

SWレジスタ5は、プリンタにおけるキイ・ボ
ードのようなマニアル操作部からオペレータがキ
イを手動操作して入力したデータを一時記憶する
レジスタであり、キイSWは多数のキイをSWと
いう符号で総括的に示したものであつて、前記セ
レクト・スイツチも含まれるものである。そして
このSWレジスタ5にセツトされているデータ
は、アンド・ゲート6がオン状態のときプリンタ
制御回路7に出力されることになる。
The SW register 5 is a register that temporarily stores data input by an operator manually operating keys from a manual operation unit such as a key board in a printer. This includes the select switch described above. The data set in this SW register 5 will be output to the printer control circuit 7 when the AND gate 6 is on.

プリンタ制御回路7はプリンタを制御するため
の各種制御を行なうものであつて、ラインバツフ
ア・メモリ2から伝文LTを読出したり、伝文LT
を印刷するための印字を選択したりスペースを制
御したり、印刷用紙を送るための制御等に必要な
各種制御信号をスペース制御回路8、印字制御回
路9、用紙送り制御回路10等に伝達したり、1
行分の印字が終了したときにFF4に対してリセ
ツト信号を出力する等の各種制御を行なうもので
ある。
The printer control circuit 7 performs various controls for controlling the printer, and reads out the message LT from the line buffer memory 2 and outputs the message LT.
It transmits various control signals necessary for selecting the print for printing, controlling the space, controlling the feeding of printing paper, etc. to the space control circuit 8, print control circuit 9, paper feed control circuit 10, etc. ,1
It performs various controls such as outputting a reset signal to FF 4 when printing for a line is completed.

スペース制御回路8は伝文LTをプリント用紙
に打出すとき、その活字間のスペース制御に必要
な動作信号を制御するものであつて、印字開始位
置を決めたり、印字間隔を定めたりするものであ
る。
The space control circuit 8 controls the operation signals necessary to control the space between characters when printing the message LT onto printing paper, and determines the printing start position and the printing interval. be.

印字制御回路9は伝文LTを印刷するときに必
要な活字選択を行なつたり、選択された活字ある
いは文字を印刷するための印字用コイルの制御等
を行なうものである。
The print control circuit 9 performs the selection of type required when printing the message LT, and controls the printing coil for printing the selected type or characters.

用紙送り制御回路10は伝文の印刷に必要な印
刷用紙を供給する制御を行なうものであつて、1
行分の印刷が終了したとき用紙供給部を1ピツチ
駆動させて改行した伝文が打出せるようにした
り、印字終了の場合にはこの伝文の印刷された用
紙を切断したりするものである。
The paper feed control circuit 10 controls the supply of printing paper necessary for printing a message, and includes 1
When printing for a line is completed, the paper supply unit is driven one pitch so that a message with a new line can be printed, and when printing is completed, the paper on which this message is printed is cut. .

次に第4図の動作について第6図イのフロー・
チヤートを参照しつつ説明する。
Next, regarding the operation in Figure 4, the flow in Figure 6 A.
This will be explained with reference to the chart.

(1) ホスト制御部HCから情報が伝送されたと
き、デコーダ1はこの情報が文字(伝文)であ
るか否かを識別し、伝文の場合にはこれをライ
ンバツフア制御回路3に送出してラインバツフ
ア・メモリ2に格納する。
(1) When information is transmitted from the host control unit HC, the decoder 1 identifies whether this information is a character (message) or not, and if it is a message, sends it to the line buffer control circuit 3. and stores it in the line buffer memory 2.

(2) もしも伝文LTでない場合にはマニアル動作
禁止コマンドか否かをデコードし、マニアル動
作禁止コマンドの場合にはマニアル動作禁止指
令をFF4に伝達してこれをセツトし、「1」を
出力させる。この「1」はアンド・ゲート6の
否定入力端に伝達されるのでアンド・ゲート6
はオフとなり、SWレジスタ5から伝達される
情報は出力されない。したがつて、ホスト制御
部HCから第5図の如きフオーマツトで情報が
伝達されたとき、デコーダ1でまず先頭のマニ
アル動作禁止コマンドINHを解読してFF4を
セツトしてアンド・ゲート6をオフにし、次い
で伝文をラインバツフア・メモリ2に格納する
ことになる。
(2) If the message is not LT, decode whether it is a manual operation prohibition command or not, and if it is a manual operation prohibition command, transmit the manual operation prohibition command to FF4, set it, and output "1". let This "1" is transmitted to the negative input terminal of AND gate 6, so AND gate 6
is turned off, and the information transmitted from the SW register 5 is not output. Therefore, when information is transmitted from the host control unit HC in the format shown in FIG. 5, the decoder 1 first decodes the first manual operation inhibition command INH, sets FF4, and turns off the AND gate 6. , then the message will be stored in the line buffer memory 2.

(3) そして伝文でもなく、マニアル動作禁止コマ
ンドでもなければマニアル動作禁止解除コマン
ドOFFか否かをデコードする。そしてマニア
ル動作禁止解除コマンドOFFの場合には、デ
コーダ1はFF4にマニアル動作禁止解除指令
を出力してFF4をリセツトし、アンド・ゲー
ト6をオン可能状態にする。
(3) If it is neither a message nor a manual operation prohibition command, it is decoded to see if the manual operation inhibition release command is OFF. When the manual operation inhibition release command is OFF, the decoder 1 outputs a manual operation inhibition release command to the FF 4, resets the FF 4, and turns the AND gate 6 on.

そしてマニアル動作禁止解除コマンドOFF
でないときは印字コマンドCRか否かをデコー
ドし、印字コマンドの場合にはプリンタ制御回
路7に対して印字指令信号を出力する。プリン
タ制御回路7はこれによりラインバツフア制御
回路3を経由してラインバツフア・メモリ2か
らそれまで保持していた伝文を読出し、この伝
文印刷のためにスペース制御回路8、印字制御
回路9、用紙送り制御回路10等を制御して、
所定のプリント打出しを行なうものである。そ
してこのラインバツフア・メモリ2に保持され
ている一行分の伝文の打出が終了したときプリ
ンタ制御回路7はFF4にリセツト信号を出力
してこのFF4をリセツトして「0」を出力さ
せ、アンド・ゲート6をオン状態にする。この
ようにして印字コマンドCRにマニアル動作禁
止解除命令としての役目をも持たせることがで
きる。
And manual operation prohibition release command OFF
If not, it decodes whether it is a print command CR or not, and if it is a print command, outputs a print command signal to the printer control circuit 7. The printer control circuit 7 thereby reads out the message previously held from the line buffer memory 2 via the line buffer control circuit 3, and in order to print this message, the space control circuit 8, print control circuit 9, and paper feed control are executed. Control the circuit 10 etc.,
A predetermined print embossing is performed. When printing of one line of message held in the line buffer memory 2 is completed, the printer control circuit 7 outputs a reset signal to the FF 4 to reset the FF 4 to output "0", and performs an AND operation. Gate 6 is turned on. In this way, the print command CR can also serve as a manual operation prohibition release command.

(4) 本発明では、前記の如く、専用のマニアル動
作禁止解除コマンドOFFを用意するととも
に、印字コマンドCRについても、本来の印字
開始命令の外にマニアル動作禁止解除コマンド
としての命令をも付加させている。そしてこの
印字コマンドCRを受信したとき、デコーダ1
は先ずプリンタ制御回路7に対して印字指令を
出力し印字制御を開始させ、それからFF4に
対してマニアル動作禁止解除のための指令を送
出してFF4をリセツトし、アンド・ゲート6
をオン状態にする。
(4) In the present invention, as described above, a dedicated manual operation prohibition release command OFF is prepared, and for the print command CR, an instruction as a manual operation prohibition release command is added in addition to the original print start command. ing. When this print command CR is received, decoder 1
first outputs a print command to the printer control circuit 7 to start print control, then sends a command to cancel the manual operation prohibition to the FF4 to reset the FF4, and then the AND gate 6
Turn on.

このようにアンド・ゲート6がオン状態になれ
ば、第6図ロに示す如く、オペレータはそのキ
イ・ボードによりキイSWをマニアル操作し、こ
のマニアル操作にもとづくデータをSWレジスタ
5に保持させたのち、アンド・ゲート6を経由し
てこのデータをプリンタ制御回路7に伝達し、マ
ニアルによる各種制御動作を行なうことができ
る。したがつてマニアル入力した入力文をプリン
タより打出すようなことができる。
When the AND gate 6 is turned on in this way, the operator manually operates the key SW using the key board, and the data based on this manual operation is stored in the SW register 5, as shown in FIG. 6B. Thereafter, this data is transmitted to the printer control circuit 7 via the AND gate 6, and various control operations can be performed manually. Therefore, it is possible to print out manually input sentences from a printer.

本発明では、第5図イに示す如く、印字すべき
1行分の伝文を当該プリンタに送出するときその
伝文の先頭にマニアル動作禁止コマンドINHを付
与するので、これによりそのプリンタではキイ
SWをマニアル動作してもその出力がプリンタ制
御回路7に伝達されないので、これによる悪影響
はない。そして伝文終了時に送出される印字コマ
ンドCRにマニアル動作禁止解除機能を付与して
おり、伝文印刷後にそのマニアル動作禁止状態を
解除することになる。したがつて、印字コマンド
CRの直後にセレクト・スイツチが操作されたこ
とを示すデセレクト信号が伝達されても、先の伝
文に対する印字が確実に実行されているので、第
1図および第2図について説明したような問題は
生じない。勿論ホスト制御部HCはこの印字コマ
ンドCRを読出したのち、次のプリンタに対する
制御を行なうことができるので、第3図に示した
ような問題は生じない。
In the present invention, as shown in FIG. 5A, when sending a message for one line to be printed to the printer concerned, a manual operation inhibition command INH is added to the beginning of the message, so that the printer can
Even if the SW is operated manually, its output is not transmitted to the printer control circuit 7, so there is no adverse effect. The print command CR sent at the end of the message is given a manual operation prohibition canceling function, and the manual operation prohibition state is canceled after the message is printed. Therefore, the print command
Even if a deselect signal indicating that the select switch was operated is transmitted immediately after CR, printing for the previous message is reliably executed, so the problem explained in Figures 1 and 2 does not occur. does not occur. Of course, the host control unit HC can control the next printer after reading this print command CR, so the problem shown in FIG. 3 does not occur.

勿論、本発明では、第5図ロに示す如く、先頭
にマニアル禁止コマンドINHが付与された伝文を
送出している期間に、何等かの理由でこの伝文を
キヤンセルする場合には、専用のマニアル動作禁
止解除コマンドOFFを付与すればよい。これに
よりマニアル動作禁止状態が解除されるととも
に、キヤンセルされた伝文に対して印字コマンド
は送出されないので、このような専用のマニアル
動作禁止解除コマンドOFFを設けても、第3図
で説明したような問題は発生しない。
Of course, in the present invention, as shown in FIG. All you have to do is add the manual operation prohibition release command OFF. As a result, the manual operation prohibition state is canceled, and no print command is sent for the canceled message, so even if such a dedicated manual operation prohibition cancellation command OFF is provided, as explained in Figure 3. No problems will occur.

なお、本発明において使用されるマニアル動作
禁止コマンドINHおよびマニアル動作禁止解除コ
マンドOFFとしては、拡張コマンドの1種とし
て次のようなコマンドを使用することができる。
Note that as the manual operation inhibition command INH and the manual operation inhibition release command OFF used in the present invention, the following commands can be used as a type of extended command.

INH…〔ESC(×′1B′)+J(×′4A′), ハ(×′CA′)+×××0××××〕 OFF…〔ESC(×′1B′)+J(×′4A′), ハ(×′CA′)+×××1××××〕 ここでESCはエスケープコマンド、Jおよび
ハはアスキーコード、×××0××××および×
××1××××は8ビツトのパラメータコードで
ある。
INH…[ESC(×′1B′)+J(×′4A′), HA(×′CA′)+×××0××××] OFF…[ESC(×′1B′)+J(×′4A′) ′), Ha (×′CA′)+×××1××××〕 Here, ESC is an escape command, J and Ha are ASCII codes, ×××0×××× and ×
XX1XXXX is an 8-bit parameter code.

またマニアル動作禁止コマンドの解除は前記マ
ニアル動作禁止解除コマンドOFFや印字コマン
ドCR(×′0D′,×′8D)の外に、他の印字コマン
ドのLF,FF,VTや相対アドレス改行コマンド
等を使用することもできる。
To cancel the manual operation prohibition command, use other print commands such as LF, FF, VT, relative address line feed command, etc. in addition to the manual operation prohibition cancellation command OFF and print command CR (×'0D', ×'8D). You can also use

したがつて本発明によればホスト制御部からプ
リンタに対して伝文を転送するときに、セレク
ト・スイツチのようなマニアルスイツチが押され
てもホスト制御部から印字コマンドを転送し、プ
リンタが印字(或は改行)動作を終了したのち、
あるいはホスト制御部からマニアル動作禁止解除
コマンドを転送し、プリンタがその実行終了時点
にデセレクトとなるので、ホスト制御部側ではこ
れにより伝文の状態を確実に認識することが可能
となりプリンタ側に転送した伝文の不用意の消滅
を防止することができる。
Therefore, according to the present invention, even if a manual switch such as a select switch is pressed when a message is transferred from the host control unit to the printer, the print command is transferred from the host control unit and the printer prints the message. (or line break) After finishing the operation,
Alternatively, the host control unit transfers a manual operation prohibition release command, and the printer is deselected when the command finishes executing, so the host control unit can reliably recognize the status of the message and forward it to the printer side. It is possible to prevent the messages sent from being inadvertently deleted.

このようにしてプリンタを使用するオペレータ
の操作ミスによる情報の消滅が防止でき、また高
速情報処理に使用した場合、ホスト制御部側の情
報転送手順を軽減でき、しかもこのマニアル動作
禁止およびその解除をホスト制御部側からインタ
ーフエースを介して制御することができるので、
伝文処理制御を非常に確実に、しかも効率よく遂
行することができる。
In this way, it is possible to prevent information from disappearing due to operator error when using the printer, and when used for high-speed information processing, it is possible to reduce the information transfer procedure on the host controller side. Since it can be controlled from the host controller side via the interface,
Message processing control can be performed very reliably and efficiently.

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

第1図は複数のプリンタがホスト制御部に対し
マルチ接続されている場合の概略構成図、第2図
はその動作説明図、第3図は問題点説明図、第4
図は本発明の一実施例構成図、第5図はその動作
状態を示すフローチヤート、第6図は本発明の動
作説明図である。 図中、1はデコーダ、2はラインバツフア・メ
モリ、3はラインバツフア制御回路、4はマニア
ル禁止フリツプフロツプ、5はマニアルスイツチ
情報記憶レジスタ、6はアンド・ゲート、7はプ
リンタ制御回路、8はスペース制御回路、9は印
字制御回路、10は用紙送り制御回路をそれぞれ
示す。
Figure 1 is a schematic configuration diagram when multiple printers are multi-connected to the host control unit, Figure 2 is a diagram explaining its operation, Figure 3 is a diagram explaining problems, and Figure 4 is a diagram explaining the problem.
The figure is a block diagram of an embodiment of the present invention, FIG. 5 is a flowchart showing its operating state, and FIG. 6 is an explanatory diagram of the operation of the present invention. In the figure, 1 is a decoder, 2 is a line buffer memory, 3 is a line buffer control circuit, 4 is a manual inhibit flip-flop, 5 is a manual switch information storage register, 6 is an AND gate, 7 is a printer control circuit, and 8 is a space control circuit. , 9 indicates a print control circuit, and 10 indicates a paper feed control circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 複数のプリンタに接続されこれらのプリンタ
に対して伝文を送出する上位装置(ホスト)を有
するプリンタ装置において、プリンタに伝送され
た情報をデコードするデコード手段と、プリンタ
におけるマニアルスイツチ操作を禁止するマニア
ル動作禁止命令が伝達されたときこれに応じてセ
ツト動作するマニアル動作禁止指示手段と、前記
ホストから伝達された伝文を一時的に保持する伝
文保持手段と、プリンタ制御手段を有し、前記ホ
ストからマニアル動作禁止命令が伝達されたとき
これに応じてマニアル動作禁止指示手段をセツト
動作させ、マニアル動作禁止命令を解除する解除
命令が伝達されたとき、またはプリンタにおいて
所要の伝文をプリントしたとき前記プリンタ制御
手段により、このマニアル動作禁止指示手段をリ
セツト動作させるようにしたことを特徴とするシ
リアルプリンタ制御方式。
1. In a printer device that is connected to multiple printers and has a host device that sends messages to these printers, prohibiting decoding means for decoding information transmitted to the printers and manual switch operation on the printers. comprising: manual operation prohibition instruction means that performs a set operation in response to a manual operation prohibition instruction transmitted; message holding means that temporarily retains a message transmitted from the host; and printer control means; When a manual operation prohibition command is transmitted from the host, the manual operation inhibition instruction means is set and operated in response to the manual operation inhibition command, and when a release command to cancel the manual operation inhibition command is transmitted, or when the printer prints a required message. 1. A serial printer control method, characterized in that, when this happens, the printer control means resets the manual operation prohibition instruction means.
JP56151088A 1981-09-24 1981-09-24 Serial printer controlling system Granted JPS5870384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56151088A JPS5870384A (en) 1981-09-24 1981-09-24 Serial printer controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56151088A JPS5870384A (en) 1981-09-24 1981-09-24 Serial printer controlling system

Publications (2)

Publication Number Publication Date
JPS5870384A JPS5870384A (en) 1983-04-26
JPS6246012B2 true JPS6246012B2 (en) 1987-09-30

Family

ID=15511058

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56151088A Granted JPS5870384A (en) 1981-09-24 1981-09-24 Serial printer controlling system

Country Status (1)

Country Link
JP (1) JPS5870384A (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2584576B2 (en) * 1992-08-31 1997-02-26 スター精密 株式会社 Printer device
US10343231B2 (en) 2014-05-28 2019-07-09 Awds Technologies Srl Wire feeding system
US10350696B2 (en) 2015-04-06 2019-07-16 Awds Technologies Srl Wire feed system and method of controlling feed of welding wire
US9950857B1 (en) 2016-10-17 2018-04-24 Sidergas Spa Welding wire container
US11278981B2 (en) 2020-01-20 2022-03-22 Awds Technologies Srl Device for imparting a torsional force onto a wire
US11174121B2 (en) 2020-01-20 2021-11-16 Awds Technologies Srl Device for imparting a torsional force onto a wire

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS551763A (en) * 1978-06-21 1980-01-08 Hitachi Ltd Transmission control system in on-line system

Also Published As

Publication number Publication date
JPS5870384A (en) 1983-04-26

Similar Documents

Publication Publication Date Title
JPH1070626A (en) Digital copying machine with improved operation characteristic
EP0212335A2 (en) Printer, and printer characteristics identifying system
JPS6246012B2 (en)
US6688220B2 (en) Stencil printer
US20040004739A1 (en) Printer system, printer, printer control method
JP4449367B2 (en) Printer
JPS6159920B2 (en)
JP2000177211A (en) Printing system
US6292266B1 (en) Printing apparatus with facsimile function
JPH0236970B2 (en)
JP2839334B2 (en) Printing control device
JPH0671980A (en) Recording device
JP3387864B2 (en) Reading system, control method thereof, and storage medium
JP2922676B2 (en) Image forming device
JP3001064B2 (en) Facsimile machine
JP2574682B2 (en) Apparatus and method for selectively copying European numerals / graphic codes
JPH06155808A (en) Printing control device and print control method
JPH0453767A (en) Printing device
JP2514716B2 (en) Recording device
JPS61195080A (en) Image data printing system
JPH05292233A (en) Recording device
JP2000172459A (en) Image forming system
JPH03290280A (en) slip printer
JPS617922A (en) Processing method of image data
JPH077597A (en) Printer with facsimile function