JPS5870384A - Serial printer controlling system - Google Patents

Serial printer controlling system

Info

Publication number
JPS5870384A
JPS5870384A JP56151088A JP15108881A JPS5870384A JP S5870384 A JPS5870384 A JP S5870384A JP 56151088 A JP56151088 A JP 56151088A JP 15108881 A JP15108881 A JP 15108881A JP S5870384 A JPS5870384 A JP S5870384A
Authority
JP
Japan
Prior art keywords
message
command
manual operation
printer
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.)
Granted
Application number
JP56151088A
Other languages
Japanese (ja)
Other versions
JPS6246012B2 (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; CALCULATING OR 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)

Abstract

PURPOSE:To prevent annihilation of information due to an operator's erroneous operation, by giving a manual operation inhibiting command to the head of a message, when sending out the message of a 1 line portion to be printed, to a printer. CONSTITUTION:When information is transmitted from a host control part HC, a decoder 1 discrimnates whether this information is a character (message) or not, and in case of a message, it is sent out to a line buffer controlling circuit 3 and is stored in a line buffer memory 2. Unless it is wa message, whether it is a manual operation inhibiting command or not is decoded, and in case of the manual operation inhibiting command, the head of the manual operation inhibiting command is decoded by the decoder 1, a flip-flop 4 is set, and an AND gate 6 is turned off. A printer controlling circuit 7 reads out the message from the line buffer memory 2, controls a space controlling circuit 8, a printing controlling circuit 9, a form feed controlling circuit 10, etc., and executes prescribed priting-out.

Description

【発明の詳細な説明】 本発明はシリアルプリンタ制御方式に関し、特にホスト
制御部に対して:i!8!数のシリアルプリンタがマル
チ接続されている場合に、各プリンタに対してホスト制
御部からの伝文によりマニアル切換スイッチの動作を禁
止可能にするとともに、との赤土状mf解除する場合に
該プリンタの印字動作完了をホスト制御部で待つことな
く解除できるようにしたシリアルプリンタ制御方式に関
する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a serial printer control method, and particularly to a host controller: i! 8! When multiple serial printers are connected, it is possible to prohibit the operation of the manual changeover switch by sending a message from the host control unit to each printer, and to disable the operation of the manual changeover switch for each printer. The present invention relates to a serial printer control method that allows a host control unit to cancel the printing operation without waiting for the completion of the printing operation.

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

これを第2図(イ)にもとづき詳述する。第2図(イ)
においてプリンタAに対してホスト制御部HCから1行
分の伝文LTをストローブ信号8Tとともに送出する。
This will be explained in detail based on FIG. 2(a). Figure 2 (a)
Then, the host controller HC sends one line of message LT to the printer A together with the strobe signal 8T.

このときホスト制御部は印字命令CRfこの伝文LTに
次いで送出する。プリンタAはこの印字コマンドCRK
もとづき印字動作を行なうが、このときビジー信号BU
SYを出力し、印字完了後、伝文受信印刷完了および次
の伝文送出時を示す受信信号ACKを出力する。
At this time, the host control unit sends a print command CRf following this message LT. Printer A uses this print command CRK
Initially, printing operation is performed, but at this time, the busy signal BU
SY is output, and after printing is completed, a reception signal ACK indicating completion of message reception printing and time to send the next message is output.

ところがプリンタA −Cには、オペレータが随時手動
操作できるセレクトスイッチが設けられており、このセ
レクトスイッチを操作するとき当該プリンタはオフ・ラ
イン状態とカリ、ホスト制御部HCからの送信伝文をプ
リントせず、例えば自己のキイボードから入力されたデ
ータをプリントするような動作を行なう。そしてこのセ
レクトスイッチが操作されたときそのプリンタはデセレ
クト信号DSELCTを出力し、その状態をホスト制御
部HCに報告するとともにピーシ信号BUSY f出力
する。
However, printers A to C are equipped with a select switch that can be manually operated by the operator at any time, and when this select switch is operated, the printer is in an off-line state and prints the message sent from the host controller HC. Instead, it performs operations 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 PC signal BUSY f.

とのデセレクト信号DSELCTはもしホスト制御部H
Cから一部伝送された伝文をそのバッファ中11C保持
していてもこれを無効化するということをも意味してい
るので、ホスト制御部1−ICはとのデセレクト信号D
SELCTをみたとき当該プリンタに一部迭出ずみの伝
文があったとしてもそれが無効化されたことを認識し、
このデセレクト信号DILCTが落ちたとき、その伝文
f最初から再度送出することになる。
If the deselect signal DSELCT is
This also means that even if the message 11C partially transmitted from C is held in its buffer, it will be invalidated, so the host control unit 1-IC sends the deselect signal D to
When you look at SELCT, even if there is a partially missed message in the printer, you will recognize that it has been invalidated.
When this deselect signal DILCT falls, the message f will be sent again from the beginning.

ところが第2図(ロ)に示すように、1行分の印刷伝文
LTを送出したあと印字コマンドCR′f送出した近傍
に当該プリンタからデセレクト信号DSHLCTが送出
されたとき、ホスト制御部HCでは前記印字コマンドC
Rが実行されたのが、それとも実行されずそれまでの送
信伝文が無効にされたのか識別することができなかった
。すなわち前記印字コマンドCRがプリンタに実行され
るまでにある程度の時間を必賛とし、またプリンタにお
いてセレクト・スイッチが操作されてもとのデセレクト
信号DSELCTが送出されるなどやはりある程度の時
間が必要となるので、印字コマンドCRの実行が先か、
それともセレクト・スイッチの操作が先であったのか区
別することができないという問題が存在する。
However, as shown in FIG. 2(b), when the deselect signal DSHLCT is sent from the printer near the sending of the print command CR'f after sending out the printing message LT for one line, the host control unit HC The print command C
It was not possible to determine whether R 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 it also takes a certain amount of time for the select switch to be operated in the printer and the original deselect signal DSELCT to be sent out. Therefore, the print command CR should be executed first.
There is a problem in that it is not possible to distinguish whether the select switch was operated first.

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

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

したがって本発明の目的は、前記第2図(ロ)における
ような問題を改善するために、オペレータがマニアルな
セレクト・スイッチ操作f−J%i止する動作赤土信号
を伝文とともに送出するとともに、前記第3図のように
当該プリンタを長時間専有状態にすることなくこれを解
決できるようにしたシリアルプリンタ制御方式を提供す
るものである。そしてこのために本発明のシリアルプリ
ンタ制御方式では、複数のプリンタに接続されこれらの
プリンタに対して伝文を送出する上位装#(ホスト)を
有するプリンタ装置において、プリンタに伝送された情
報をデコードするデコード手段と、プリンタVCおける
マニアルスイッチ操作を禁止するマニアル動作禁止命令
が伝達されたときこれに応じてセット動作するマニアル
動作禁止指示手段と、前記ホストから伝送された伝文を
一時的に保持する伝文保持手段と、プリンタ制御手段を
有し、前記ホストからマニアル動作禁止命令が伝達され
たときこれに応じてマニアル動作禁止手段をセット動作
させ、マニアル動作禁止命令を解除する解除命令が伝達
されたときまたはプリンタにおいて所要の伝文をプリン
トしたときにこのマニアル動作禁止指示手段をリセット
動作させるようにしたことを特徴とする。
Therefore, it is an object of the present invention, 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 as shown in FIG. For this purpose, in the serial printer control method of the present invention, information transmitted to the printers is decoded in a printer device having a host that is connected to multiple printers and sends messages to these printers. a manual operation prohibition instruction means that sets and operates in response to a manual operation prohibition command that prohibits manual switch operation in the printer VC, and temporarily holds a message transmitted from the host. and a printer control means, wherein when a manual operation prohibition command is transmitted from the host, the manual operation prohibition means is set and operated, and a release command for canceling the manual operation inhibition command is transmitted. The present invention is characterized in that the manual operation prohibition instruction means is reset when the printer prints a required message.

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

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

図中、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, and 3 is a decoder.
4 is a manual inhibit flip-flop (hereinafter referred to as FF), 5 is a manual switch information storage register (hereinafter referred to as SW register), 6 is an AND gate, 7 is a printer control circuit, and 8 is a space control circuit. , 9 is a print control circuit, and 10 is a paper feed control circuit.

本発明ではホスト制御部Heからプリンタに対して1行
文の伝文LTを伝送するときその先頭にマニアル動作禁
止コマンドINHを付与し、伝文LTの最後に印字コマ
ンドCRを送出する。この印字コマンドCRKは印字開
始命令であるとともにマニアル動作禁止命令を解除する
マニアル動作禁止解除命令としての役目をも持つもので
ある。勿論専用のマニアル動作禁止解除コマンドOFF
も設けられている。
In the present invention, when transmitting a one-line message LT from the host control unit He to the printer, a manual operation inhibition command INH is added to the beginning of the message LT, and a print command CR is sent to the end of the message LT. This print command CRK 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, the dedicated manual operation prohibition release command is OFF.
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 this, control is performed accordingly.

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

ラインバッファ制御回路3は、デコーダ1から伝達され
た伝文LTを前記ラインバッファ、メモリ2に岩1人し
たり、後述するプリンタ制御回路7からの指令にもとづ
きこのラインバッファ・メモリ2に記入されている伝文
を胱出すような制御を行なうものである。
The line buffer control circuit 3 stores the message LT transmitted from the decoder 1 in the line buffer memory 2, or writes the message LT in the line buffer memory 2 based on a command from the printer control circuit 7, which will be described later. This is to perform control such that the message that is being transmitted is ejected from the body.

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

SWレジスタ5は、プリンタにおけるキイ、ボードのよ
うなマニアル操作部からオペレータがキイを手動操作し
て入力したデータを一時記憶するレジスタであシ、キイ
SWは多数のキイをSWという符号で総括的に示したも
のであって、前記セレクト・スイッチも含まれるもので
ある。そ1.、てこの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 or board in a printer. , which also includes the select switch. Part 1. , the data set in the lever SW register 5 will be output to the printer control circuit 7 when the AND gate 6 is in the on state.

プリンタ制御回路71dプリンタを制御するための各種
制御を行なうものであって、ラインバッファ・メモリ2
から伝文LT 、f読出したわ、伝文LTを印刷するた
めの印字を選択したりスペースを制御した。す、印刷用
紙を送るための制御等に必要な各種制御信号をスペース
制御回路8、印字制御回路9、用紙送多制御回路10等
に伝達したり、1行分の印字が終了したときにFF4に
対してリセット信号を出力する等の各種制御を行なう本
のである。
Printer control circuit 71d Performs various controls for controlling the printer, and includes the line buffer memory 2
I read out the message LT, f, selected the print to print the message LT, and controlled the space. FF4 transmits various control signals necessary for controlling the sending of printing paper to the space control circuit 8, print control circuit 9, paper feed control circuit 10, etc., and when printing for one line is completed. This is a book that performs various controls such as outputting a reset signal to the

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

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

用紙送多制御回路10け伝文の印刷に必要な印刷用紙を
供給する制御を行なうものであって、1行分の印刷が終
了したとき用紙供給部を1ピツチ駆動させて改行した伝
文が打出せるようにしたり、印字終了の場合にはこの伝
文の印刷された用紙を切断したりするものである。
Paper feeding control circuit (10) This circuit controls the supply of printing paper necessary for printing a message. When printing for one line is completed, the paper supply unit is driven one pitch to print a new line of the message. It makes it possible to print the message, and when printing is completed, it cuts the paper on which the message is printed.

次に第4図の動作について第5図(イ)のフロー・チャ
ートを参照しつつ説明する。
Next, the operation of FIG. 4 will be explained with reference to the flow chart of FIG. 5(a).

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

(2)  もしも伝文LTでない場合にはマニアル動作
禁止コマンドか否かをデコードし、マニアル動作禁止コ
マンドの場合にはマニアル動作禁止指令をIi’F4に
伝達してこれをセットし、「1」を出力させる。この「
1」はアンド・ゲート6の否定入力端に伝達されるので
アンド・ゲート6はオフとなり、SWレジスタ5から伝
達される情報は出力されない。したがって、ホスト制御
部Heから第5図の如きフォーマットで情報が伝達され
たとき、デコーダ1でまず先頭のマニアル動作禁止コマ
ンドINHを解読してFF4をセットしてアンド・ゲー
ト6fオフにし、次いで伝文をラインバッファ・メモリ
2に格納することになる。  。
(2) If the message is not LT, decode whether or not it is a manual operation prohibition command, and if it is a manual operation prohibition command, transmit the manual operation prohibition command to Ii'F4 and set it to "1". output. 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 SW register 5 is not output. Therefore, when information is transmitted from the host control section He in the format shown in FIG. The statement will be stored in line buffer memory 2. .

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

そしてマニアル動作禁止解除コマンドOFFでないとき
は印字コマンドCRか否かをデコードし、印字コマンド
の場合にはプリンタ制御回路7に対して印字指令信号を
出力する。プリンタ制御回路7はこれによりラインバッ
ファ制御回路3を経由してラインバッファ・メモリ2か
らそれまで保持していた伝文を読出し、この伝文印刷の
ためにスペース制御回路8、印字制御回路9、用紙送多
制御回路10等を制御して、所定のプリント打出しを行
なうものである。そしてこのラインノくツファ・メモリ
2に保持されている一行分の伝文の打出が終了したとき
プリンタ制御回路7はFF4にリセット信号を出力して
こ0FF4 fリセットして「0」を出力させ、アンド
・ゲート6をオン状態にする。
If the manual operation prohibition release command is not OFF, it is decoded to see if it is a print command CR, and if it is a print command, a print command signal is output to the printer control circuit 7. The printer control circuit 7 thereby reads out the message held until then from the line buffer memory 2 via the line buffer control circuit 3, and in order to print this message, a space control circuit 8, a print control circuit 9, It controls the paper feed control circuit 10 and the like to perform predetermined print embossing. When printing of one line of message stored in the line buffer memory 2 is completed, the printer control circuit 7 outputs a reset signal to FF4, resets 0FF4f and outputs "0", and outputs "0".・Turn on gate 6.

(4)本発明では、前記の如く、専用のマニアル動作禁
止解除コマンドOFFを用意するとともに、印字コマン
ドCRについても、本来の印字開始命令の外にマニアル
動作禁止解除コマンドとしての命令をも付加させている
。そしてこの印字コマンドCRを受信したとき、デコー
ダ1は先ずプリンタ制御回路7に対して印字指令を出力
し印字制御を開始させ、それからB”P4に対してマニ
アル動作禁止解除のだめの指令を送出してli’p4 
f IJ上セツト、アンド、ゲート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, the decoder 1 first outputs a print command to the printer control circuit 7 to start printing control, and then sends a command to B"P4 to cancel the manual operation prohibition. li'p4
f Set IJ, AND, turn on gate 6.

このようにアンド・ゲート6がオン状態になれば、第6
図(ロ)に示す如く、オペレータはそのキイ、ボードに
よりキイSWをマニアル操作シ、このマニアル操作にも
とづくデータをSWレジスタ5に保持させたのち、アン
ド・ゲート6を経由してこのデータをプリンタ制御回路
7に伝達し、マニアルによる各種制御動作を行なうこと
ができる。した、かってマニアル入力した入力文をプリ
ンタより打出すようなことができる。
If the AND gate 6 is turned on in this way, the sixth
As shown in Figure (B), the operator manually operates the key SW using the key and the board, stores data based on this manual operation in the SW register 5, and then transfers this data to the printer via the AND gate 6. The information is transmitted to the control circuit 7, and various control operations can be performed manually. It is now possible to print out an input sentence that was previously entered manually using a printer.

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

勿論ホスト制御部HCはこの印字コマンドCRを読出し
たのち、次のプリンタに対する制御を行なうことができ
るので、第3図に示したような問題は生じない。
Of course, the host controller HC can control the next printer after reading this print command CR, so the problem shown in FIG. 3 does not occur.

勿論、本発明では、第5図(ロ)に示す如く、先頭にマ
ニアル禁止コマンドINHが付与された伝文を送出して
いる期間に、何等かの理由でこの伝文をキャンセルする
場合には、専用のマニアル動作禁止解除コマンドOF’
F’を付与すればよい。これによシマニアル動作禁止状
態が解除されるとともに、キャンセルされた伝文に対し
て印字コマンドは送出されないので、このような専用の
マニアル動作禁止解除コマンドOFFを設けても、第3
図で鰭明したようが問題は発生しない。
Of course, in the present invention, as shown in FIG. 5(b), if a message to which the manual prohibition command INH is added at the beginning is sent, if this message is canceled for some reason, , Dedicated manual operation prohibition release command OF'
It is sufficient to give F'. 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 release command OFF is provided, the third
Although the fins are clearly visible in the diagram, no problem will occur.

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

INH・・・(ESC(x’ IB’ ) +J (x
’ 4A’ ) 、ハ(x’ CA’ ) + xxx
Qxxx×〕OFF ・・・ (ESC(x’ IB’
 ) 十J (x’ 4A’ )、ハ(x’ CA’ 
)+  xxxlxべ×]ここでESCはエスケープコ
マンド、Jおよびノーはアスキーコード、xxxQxx
xxおよびxxxl xxxxけ8ビツトのパラメータ
コードである。
INH...(ESC(x'IB') +J (x
'4A'), HA (x'CA') + xxx
Qxxx×]OFF... (ESC(x'IB'
) 10J (x'4A'), HA (x'CA'
)+xxxlxbe×] Here, ESC is an escape command, J and No are ASCII codes, xxxQxx
xx and xxxxl xxxx are 8-bit parameter codes.

捷たマニアル動作禁止コマンドの解除は前記マニアル動
作禁止解除コマンドOFFや印字コマンドCR(x’ 
OI)’ 、x’ 8D )の外に、他の印字コマンド
のLP 、 FF 、 VTや相対アドレス改行コマン
ド等を使用することもできる。
To cancel the manual operation prohibition command that has been deleted, use the manual operation prohibition release command OFF or the print command CR (x'
In addition to OI)', x'8D), other print commands such as LP, FF, VT, relative address line feed command, etc. can also be used.

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

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

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

第1図は複数のプリンタがホスト制御部に対しマルチ接
続されて因る場合の概略構成図、第2図はその動作説明
図、第3図は問題点説明図、第4図は本発明の一実施例
構成図、第5図はその動作状態を示すフローチャート、
第6図は本発明の動作説明図であ、る。 図中、1はデコーダ、2はラインバッファ・メモリ、3
はラインバッファ制御回路、4はマニアル禁止フリップ
フロップ、5はマニアルスイッチ情報記憶レジスタ、6
はアンド・ゲート、7.はフ0リンタ制御回路、8はス
ペース制御回路、9は印字制御回路、10は用紙送り制
御回路をそれぞれ示す。 特許出願人  富士通株式会社 代理人弁理士  山 谷晧栄
Fig. 1 is a schematic configuration diagram when multiple printers are connected to a host control unit, Fig. 2 is an illustration of its operation, Fig. 3 is an illustration of problems, and Fig. 4 is a diagram of the present invention. A configuration diagram of one embodiment, FIG. 5 is a flowchart showing its operating state,
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, and 3 is a decoder.
is a line buffer control circuit, 4 is a manual inhibit flip-flop, 5 is a manual switch information storage register, and 6 is a manual switch information storage register.
is and gate, 7. 8 represents a printer control circuit, 8 represents a space control circuit, 9 represents a print control circuit, and 10 represents a paper feed control circuit. Patent Applicant Fujitsu Limited Representative Patent Attorney Akinei Yamatani

Claims (2)

【特許請求の範囲】[Claims] (1)複数のプリンタに接続されこれらのプリンタに対
1−で伝文を送出する上位装置(ホスト)を有するプリ
ンタ装置において、プリンタに伝送された情報をデコー
ドするデコード手段と、プリンタにおけるマニアルスイ
ッチ操作を禁止するマニアル動作禁止命令が伝達された
ときこれに応じてセット動作するマニアル動作禁止指示
手段と、前記ホストから伝達された伝文を一時的に保持
する伝文保持手段と、プリンタ制御手段を有シー7、前
記ホストからマニアル動作禁止命令が伝達されたときこ
れに応じてマニアル動作禁止指示手段をセット動作させ
、マニアル動作禁止命令を解除する解除命令が伝達され
たときまたはプリンタにおいて所要の伝文をプリントし
たときにこのマニアル動作禁止指示手段をリセット動作
させるようにしたことを特徴とするシリアルプリンタ制
御方式。
(1) In a printer device that has a host device that is connected to multiple printers and sends messages to these printers on a one-to-one basis, a decoding means that decodes information transmitted to the printers and a manual switch in the printers are used. A manual operation prohibition instruction means that performs a set operation in response to a manual operation prohibition command that prohibits an operation, a message holding means that temporarily holds a message transmitted from the host, and a printer control means. 7. When a manual operation prohibition command is transmitted from the host, the manual operation prohibition instruction means is set and operated, and when a release command to cancel the manual operation inhibition command is transmitted, or when the printer performs the necessary operation. A serial printer control system characterized in that the manual operation prohibition instruction means is reset when a message is printed.
(2)  前記解除命令として印字コマンドを使用し、
該印字コマンドが伝達されたことをデコードされたとき
、印字制御を実行するとともに前記マニアル動作禁止指
示手段をリセット動作するようにしたことを特徴とする
特許請求の範囲第(1)項目e載のシリアルプリンタ制
御方式。
(2) Using a print command as the cancellation command,
When it is decoded that the printing command has been transmitted, printing control is executed and the manual operation prohibition instruction means is reset. Serial printer control method.
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 true JPS5870384A (en) 1983-04-26
JPS6246012B2 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05257620A (en) * 1992-08-31 1993-10-08 Star Micronics Co Ltd Terminal equipment
US9950857B1 (en) 2016-10-17 2018-04-24 Sidergas Spa Welding wire container
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
US11174121B2 (en) 2020-01-20 2021-11-16 Awds Technologies Srl Device for imparting a torsional force onto a wire
US11278981B2 (en) 2020-01-20 2022-03-22 Awds Technologies Srl Device for imparting a torsional force onto a wire

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0519662Y2 (en) * 1988-03-11 1993-05-24

Citations (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

Patent Citations (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

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05257620A (en) * 1992-08-31 1993-10-08 Star Micronics Co Ltd Terminal equipment
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
US11174121B2 (en) 2020-01-20 2021-11-16 Awds Technologies Srl Device for imparting a torsional force onto a wire
US11278981B2 (en) 2020-01-20 2022-03-22 Awds Technologies Srl Device for imparting a torsional force onto a wire

Also Published As

Publication number Publication date
JPS6246012B2 (en) 1987-09-30

Similar Documents

Publication Publication Date Title
EP1146419B1 (en) Output method for dot data and apparatus therefor
JPS5870384A (en) Serial printer controlling system
JP2615137B2 (en) Printing device
JPS6159920B2 (en)
US5058035A (en) Apparatus which records data on the basis of stored format information
JPH0236970B2 (en)
JPH03162979A (en) Printer device
JPH0453767A (en) Printing device
JPS5856085A (en) Print control system
JP2839334B2 (en) Printing control device
JP2550997B2 (en) Printer
JP3250118B2 (en) Printing device data management method
JP3012344B2 (en) Printing equipment
JPS6246010B2 (en)
JPH09216424A (en) Printer
KR100193804B1 (en) How to Support Printer Emulation Using Computer
JPH02286382A (en) Printing apparatus
JP2702705B2 (en) Facsimile machine
JP2574682B2 (en) Apparatus and method for selectively copying European numerals / graphic codes
JPS617922A (en) Processing method of image data
JPS61195080A (en) Image data printing system
JPH04216983A (en) Printing device
JPS62102329A (en) Printing device
JPH03290280A (en) Printer for cutform
JPH01242281A (en) Page printer