JP3513263B2 - Printing system and printing control method - Google Patents
Printing system and printing control methodInfo
- Publication number
- JP3513263B2 JP3513263B2 JP12397495A JP12397495A JP3513263B2 JP 3513263 B2 JP3513263 B2 JP 3513263B2 JP 12397495 A JP12397495 A JP 12397495A JP 12397495 A JP12397495 A JP 12397495A JP 3513263 B2 JP3513263 B2 JP 3513263B2
- Authority
- JP
- Japan
- Prior art keywords
- printer
- print data
- printing
- control device
- 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 - Lifetime
Links
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、シリアルプリンタある
いはページプリンタを有する印字システムおよびその印
字制御方法に係り、特に、印字動作の中断と再開時の文
字・記号データの消失あるいは重複印字を防止する印字
システムおよびその印字制御方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing system having a serial printer or a page printer and a printing control method therefor, and more particularly to preventing loss of character / symbol data or duplicate printing at the time of interruption and resumption of printing operation. The present invention relates to a printing system and a printing control method thereof.
【0002】[0002]
【従来の技術】一般に、プリンタの作動状態を確認しな
がら印字データをプリンタへ出力するプリンタ制御装置
と、前記プリンタ制御装置からのプリンタ状態の問い合
わせに答えながら送信された印字データを所定量ごとに
逐次出力するシリアルプリンタとからなる印字システム
は広く知られている。2. Description of the Related Art Generally, a printer control device for outputting print data to a printer while confirming the operating state of the printer, and print data transmitted while answering an inquiry about the printer state from the printer control device at a predetermined amount. A printing system including a serial printer that sequentially outputs is widely known.
【0003】図3は従来の印字システムの例とその印字
データのやり取りを時系列的に示したものである。FIG. 3 shows an example of a conventional printing system and the exchange of print data in time series.
【0004】図3の印字システム11は、プリンタ制御
装置12と、プリンタ13とからなる。印字システム1
1は、印字データを編集する印字データ編集部14と、
印字データに改行、改頁等の制御信号を付与するプリン
タコントローラ15と、印字データを1回の送信分ごと
にプリンタ13へ送信するプリンタ制御装置側通信手段
であるOSパラレルポートドライバ16とからなる。The printing system 11 shown in FIG. 3 comprises a printer controller 12 and a printer 13. Printing system 1
1 is a print data editing unit 14 for editing print data,
It comprises a printer controller 15 for giving a control signal such as a line feed and a page break to the print data, and an OS parallel port driver 16 which is a printer controller communication means for transmitting the print data to the printer 13 for each transmission. .
【0005】一方、プリンタ13は、プリンタ側の通信
手段であるプリンタアダプタ17と、プリンタアダプタ
17から受け取った印字データを所定量ごとに逐次出力
する印字データ出力手段18と、プリンタ13の全体を
管理・制御するデバイス制御手段19とからなる。On the other hand, the printer 13 manages the entire printer 13, and a printer adapter 17 which is a communication means on the printer side, a print data output means 18 which sequentially outputs the print data received from the printer adapter 17 for each predetermined amount. And device control means 19 for controlling.
【0006】印字データ編集部14とプリンタコントロ
ーラ15は、印字すべき”A”,”B”,…等の文字・
記号データと、改行・改頁・データの区切り等を示す印
字契機 LF とからなる印字データを編集し、1回の送信
分ごとの印字データ”A BC LF D E LF ”をOS
パラレルポートドライバ16へ出力する。The print data editing unit 14 and the printer controller 15 display characters such as "A", "B", ...
Edit the print data consisting of the symbol data and the print trigger LF that indicates line breaks, page breaks, data breaks, etc., and print the print data "A BC LF D E LF" for each transmission.
Output to the parallel port driver 16.
【0007】OSパラレルポートドライバ16は、プリ
ンタ13の閉塞状態を確認しながら1バイトごとに印字
データをプリンタアダプタ17へ送信する。The OS parallel port driver 16 transmits print data to the printer adapter 17 byte by byte while confirming the blocked state of the printer 13.
【0008】プリンタアダプタ17は、受信した印字デ
ータを印字データ出力手段18へ出力し、印字データ出
力手段18は、印字データ出力手段18から受け取った
印字データ・制御コードを印字・実行する。The printer adapter 17 outputs the received print data to the print data output means 18, and the print data output means 18 prints / executes the print data / control code received from the print data output means 18.
【0009】この従来の印字システム11において、仮
に印字データ”A”,”B”をプリンタ13へ送信し、
次の印字データ”C”を送信する前のプリンタ閉塞状態
の確認直後に、ユーザの操作によってプリンタ13が閉
塞状態になったとする。In this conventional printing system 11, the print data "A" and "B" are temporarily transmitted to the printer 13,
Immediately after confirming the printer blockage state before transmitting the next print data "C", it is assumed that the printer 13 is blocked by the user operation.
【0010】このとき、プリンタ制御装置12側は印字
データ”C”を送信してよいとの確認の下、印字デー
タ”C”をプリンタ13へ送信する。At this time, the printer controller 12 sends the print data "C" to the printer 13 after confirming that the print data "C" may be sent.
【0011】しかし、印字データ”C”がプリンタ13
へ送信されたときはプリンタはすでに閉塞状態になって
いるため、印字データ”C”が消失することがあった。However, the print data "C" is the printer 13
When sent to, the print data "C" may be lost because the printer has already been closed.
【0012】プリンタ制御装置12は、次の印字契機 L
F を送信するときに、はじめてプリンタの閉塞を確認す
る。これに対してシステムによって、プリンタ制御装置
12は、印字データ”C”を未送信の印字データとして
プリンタコントローラ15へ返送したり、印字データ”
C”を送信済の印字データとしてプリンタコントローラ
15へ返送するが、印字が再開されたときに、印字デー
タ”C”が印字されなかったり、重複印字されることが
あった。The printer control unit 12 determines the next printing timing L
Check for printer blockage for the first time when sending F. On the other hand, depending on the system, the printer control device 12 returns the print data “C” to the printer controller 15 as untransmitted print data or print data “C”.
Although C "is returned to the printer controller 15 as the transmitted print data, the print data" C "may not be printed or may be duplicated when the printing is restarted.
【0013】[0013]
【発明が解決しようとする課題】しかしながら、上記従
来の印字システムでは、たとえば帳票のような1文字1
文字の印字の有無が重要な意味を有する印字には不都合
であった。However, in the above-mentioned conventional printing system, one character 1 such as a form is used.
This is inconvenient for printing in which the presence or absence of printing of characters has an important meaning.
【0014】帳票のようなものを印字する場合、印字デ
ータの消失や重複印字は、たとえば金額の桁の相違にな
る。このため、従来の印字システムでは、プリンタの閉
塞・印字再開があったときは、オペレータによって印字
データの消失や重複印字がないことを確認するようにし
ていた。When printing a form such as a form, the disappearance of print data and duplicate printing result in a difference in the digit of the amount of money. Therefore, in the conventional printing system, when the printer is blocked or the printing is restarted, the operator confirms that there is no loss of print data or duplicate printing.
【0015】このような方法では、正しい印字確認のた
めの時間と手間がかかる上、信頼性が低いという問題が
あった。In such a method, there is a problem that it takes time and labor for correct printing confirmation and the reliability is low.
【0016】そこで、本発明の目的は、上記従来の印字
システムの課題を解決し、プリンタの印字を途中で中断
・再開したときに、文字・記号データの消失あるいは重
複印字を防止する印字システムあるいは印字制御方法を
提供することにある。Therefore, an object of the present invention is to solve the above-mentioned problems of the conventional printing system and to prevent the loss of character / symbol data or duplicate printing when the printing of the printer is interrupted / restarted. A print control method is provided.
【0017】[0017]
【課題を解決するための手段】上記目的を達成するため
に、本願請求項1に係る印字システムは、プリンタの印
字動作を制御するプリンタ制御装置と、前記プリンタ制
御装置によって制御されるプリンタとを有する印字シス
テムにおいて、前記プリンタ制御装置は、印字データ編
集手段とプリンタコントローラとプリンタ制御装置側通
信手段とを有し、前記印字データ編集手段は、外部から
印字用の信号を取得して印字制御用の印字契機と文字・
記号データを含む印字データを編集して前記プリンタコ
ントローラへ出力し、前記プリンタコントローラは、前
記印字データ編集手段から印字データを受け取った場合
は、前記印字契機によって区切られた一連の文字・記号
データの前と、前記各印字契機の後に、それぞれ閉塞保
留開始制御コードを付与するとともに、一回の送信分の
末尾に閉塞保留解除制御コードを付与して前記プリンタ
制御装置側通信手段へ出力し、前記プリンタ制御装置側
通信手段から未送信の印字データを受け取った場合は、
未送信の印字データの先頭に閉塞保留開始制御コードを
付与し、プリンタの閉塞状態が解除されたときに、前記
プリンタ制御装置側通信手段へ再送信し、前記プリンタ
制御装置側通信手段は、前記プリンタコントローラから
一回の送信分の印字データを受け取ってプリンタの閉塞
状態を確認しながら1送信単位ごとに前記印字データを
送信し、印字途中でプリンタが閉塞状態になった場合に
現在の送信分の印字データのうちの未送信の印字データ
を前記プリンタコントローラに返し、前記プリンタは、
プリンタ側通信手段と印字データ出力手段とデバイス制
御手段とを有し、前記プリンタ側通信手段は、前記プリ
ンタ制御装置側通信手段からのプリンタ閉塞状態の問い
合わせに答えながら、印字データを受け取って前記印字
データ出力手段へ出力し、前記デバイス制御手段からプ
リンタ閉塞信号を受け取ったときに、前記プリンタ制御
装置側通信手段からの問い合わせに対してプリンタ閉塞
信号を返し、前記印字データ出力手段は、前記プリンタ
側通信手段から受け取った印字データあるいは制御コー
ドを、印字あるいは実行し、前記デバイス制御手段は、
印字データを受信している途中でプリンタが閉塞状態に
なった場合に、前記プリンタ側通信手段が次の印字契機
を受け取るまで前記プリンタ側通信手段へのプリンタ閉
塞信号の出力を保留する、ことを特徴とするものである
本願請求項2に係る印字システムは、プリンタの印字動
作を制御するプリンタ制御装置と、前記プリンタ制御装
置によって制御されるプリンタとを有する印字システム
において、前記プリンタ制御装置は、印字データ編集手
段とプリンタコントローラとプリンタ制御装置側通信手
段とを有し、前記印字データ編集手段は、外部から印字
用の信号を取得して印字制御用の印字契機と文字・記号
データを含む印字データを編集して前記プリンタコント
ローラへ出力し、前記プリンタコントローラは、前記印
字データ編集手段から印字データを受け取った場合は、
前記印字契機によって区切られた一連の文字・記号デー
タの前と、前記各印字契機の後に、それぞれ閉塞保留開
始制御コードを付与して前記プリンタ制御装置側通信手
段へ出力し、前記プリンタ制御装置側通信手段から未送
信の印字データを受け取った場合は、未送信の印字デー
タの先頭に閉塞保留開始制御コードを付与し、プリンタ
の閉塞状態が解除されたときに、前記プリンタ制御装置
側通信手段へ再送信し、前記プリンタ制御装置側通信手
段は、前記プリンタコントローラから一回の送信分の印
字データを受け取ってプリンタの閉塞状態を確認しなが
ら1送信単位ごとに前記印字データを送信し、印字途中
でプリンタが閉塞状態になった場合に現在の送信分の印
字データのうちの未送信の印字データを前記プリンタコ
ントローラに返し、前記プリンタは、プリンタ側通信手
段と印字データ出力手段とデバイス制御手段とを有し、
前記プリンタ側通信手段は、前記プリンタ制御装置側通
信手段からのプリンタ閉塞状態の問い合わせに答えなが
ら、印字データを受け取って前記印字データ出力手段へ
出力し、前記デバイス制御手段からプリンタ閉塞信号を
受け取ったときに、前記プリンタ制御装置側通信手段か
らの問い合わせに対してプリンタ閉塞信号を返し、前記
印字データ出力手段は、前記プリンタ側通信手段から受
け取った印字データあるいは制御コードを、印字あるい
は実行し、前記デバイス制御手段は、印字データを受信
している途中でプリンタが閉塞状態になった場合に、前
記プリンタ側通信手段が次の印字契機を受け取るまで前
記プリンタ側通信手段へのプリンタ閉塞信号の出力を保
留する、ことを特徴とするものである。本願請求項3に
係る印字システムは、請求項1または2の印字システム
において、前記プリンタ制御装置は、前記プリンタに接
続された情報処理装置に内蔵されていることを特徴とす
るものである。In order to achieve the above object, a printing system according to claim 1 of the present invention comprises a printer control device for controlling a printing operation of a printer and a printer controlled by the printer control device. In the printing system, the printer control device has a print data editing means, a printer controller and a printer control device side communication means, and the print data editing means obtains a printing signal from the outside and controls the printing. Print timing and characters
When the print data including the symbol data is edited and output to the printer controller, and the printer controller receives the print data from the print data editing means, the printer controller outputs a series of character / symbol data separated by the print trigger. Before and after each of the printing triggers, the block hold start control code is added, and the block hold release control code is added to the end of one transmission and output to the printer control device side communication unit. If you receive untransmitted print data from the printer controller communication means,
When a blockage hold start control code is added to the head of untransmitted print data, and when the blocked state of the printer is released, the printout data is retransmitted to the printer control device side communication means, and the printer control device side communication means When the print data for one transmission is received from the printer controller and the blocked state of the printer is confirmed, the print data is transmitted for each transmission unit. If the printer becomes blocked during printing, the current transmission The untransmitted print data of the print data of the above is returned to the printer controller, and the printer is
The printer-side communication unit, the print data output unit, and the device control unit are provided, and the printer-side communication unit receives the print data while answering the inquiry about the printer blockage state from the printer control unit-side communication unit, and receives the print data. When the printer output signal is output to the data output unit and the printer block signal is received from the device control unit, the printer block signal is returned in response to the inquiry from the printer control device side communication unit, and the print data output unit is the printer side. The print data or control code received from the communication means is printed or executed, and the device control means
If the printer becomes blocked while receiving print data, output of the printer block signal to the printer communication unit is suspended until the printer communication unit receives the next print trigger. According to another aspect of the present invention, there is provided a printing system including: a printer control device that controls a printing operation of a printer; and a printer that is controlled by the printer control device. It has a print data editing means, a printer controller, and a printer control device side communication means, and the print data editing means obtains a print signal from the outside and prints a print trigger for print control and character / symbol data. The data is edited and output to the printer controller, and the printer controller uses the print data editing means. If you receive al print data,
Before the series of character / symbol data separated by the printing trigger and after each of the printing triggers, a blocking hold start control code is added and output to the printer control device side communication means, and the printer control device side When untransmitted print data is received from the communication means, a blockage hold start control code is added to the beginning of the untransmitted print data, and when the blocked state of the printer is released, the printer control device side communication means is sent. Retransmitting, the printer control device side communication means receives the print data for one transmission from the printer controller, transmits the print data for each transmission unit while confirming the blocked state of the printer, and during printing. When the printer is blocked by, the untransmitted print data of the print data for the current transmission is returned to the printer controller. The printer includes a printer communication means and print data output means and device control means,
The printer-side communication means receives print data and outputs it to the print-data output means while answering the inquiry about the printer blockage state from the printer control device-side communication section, and receives a printer blockage signal from the device control section. At this time, a printer block signal is returned in response to an inquiry from the printer control device side communication means, and the print data output means prints or executes the print data or control code received from the printer side communication means, When the printer is blocked while receiving print data, the device control means outputs the printer block signal to the printer side communication means until the printer side communication means receives the next print trigger. It is characterized by holding. A printing system according to claim 3 of the present application is the printing system according to claim 1 or 2, wherein the printer control device is built in an information processing device connected to the printer.
【0018】本願請求項4に係る印字システムは、請求
項1または2の印字システムにおいて、前記プリンタ制
御装置は、プリンタに内蔵されていることを特徴とする
ものである。According to a fourth aspect of the present invention, in the printing system according to the first or second aspect, the printer control device is built in the printer.
【0019】本願請求項5に係る印字制御方法は、印字
用の信号を取得して文字・記号データと印字契機を含む
印字データを編集し、前記印字契機によって区切られた
一連の文字・記号データの前と、前記印字契機の後に、
閉塞保留開始制御コードを付与するとともに、一回の送
信分の印字データの末尾に閉塞保留解除制御コードを付
与し、プリンタの閉塞状態を確認しながら印字データを
1送信単位ごとにプリンタへ送信し、印字データの受送
信の途中でプリンタが閉塞されたときに、プリンタが次
の印字契機を受け取るまではプリンタの閉塞信号の出力
を保留し、プリンタ閉塞信号が出力されたときに、未送
信の印字データの先頭に閉塞保留開始制御コードを付与
し、プリンタの閉塞状態が解除されたときに前記未送信
の印字データをプリンタへ再送信することを特徴とする
ものである。本願請求項6に係る印字制御方法は、印字
用の信号を取得して文字・記号データと印字契機を含む
印字データを編集し、前記印字契機によって区切られた
一連の文字・記号データの前と、前記印字契機の後に、
閉塞保留開始制御コードを付与し、プリンタの閉塞状態
を確認しながら印字データを1送信単位ごとにプリンタ
へ送信し、印字データの受送信の途中でプリンタが閉塞
されたときに、プリンタが次の印字契機を受け取るまで
はプリンタの閉塞信号の出力を保留し、プリンタ閉塞信
号が出力されたときに、未送信の印字データの先頭に閉
塞保留開始制御コードを付与し、プリンタの閉塞状態が
解除されたときに前記未送信の印字データをプリンタへ
再送信することを特徴とするものである。The print control method according to claim 5 of the present application obtains a signal for printing, edits print data including character / symbol data and a print trigger, and prints a series of character / symbol data separated by the print trigger. Before and after the printing trigger,
The block hold start control code is added, and the block hold release control code is added to the end of the print data for one transmission, and the print data is sent to the printer for each transmission unit while checking the printer block status. , When the printer is blocked in the middle of receiving and transmitting print data, the output of the printer block signal is suspended until the printer receives the next print trigger, and when the printer block signal is output, it is not transmitted. The block hold start control code is added to the head of the print data, and when the block status of the printer is released, the untransmitted print data is retransmitted to the printer. The print control method according to claim 6 of the present application obtains a signal for printing, edits print data including character / symbol data and a print trigger, and deletes the data before the series of character / symbol data separated by the print trigger. After the printing trigger,
A block hold start control code is added, print data is transmitted to the printer in units of transmission while checking the blockage status of the printer, and when the printer is blocked in the middle of receiving and transmitting print data, the printer Until the print trigger is received, the output of the printer block signal is suspended, and when the printer block signal is output, the block hold start control code is added to the beginning of the untransmitted print data, and the block state of the printer is released. In this case, the untransmitted print data is retransmitted to the printer.
【0020】[0020]
【作用】本発明の印字システムと印字制御方法によれ
ば、プリンタが閉塞状態になったときに、デバイス制御
手段が次の印字契機を受信するまで、プリンタ閉塞信号
を保留する。これにより、印字データの受送信の途中で
印字契機までの文字・記号データが確実にプリンタへ送
信される。According to the printing system and the printing control method of the present invention, when the printer is in the blocked state, the printer blocking signal is held until the device control means receives the next printing trigger. As a result, the character / symbol data up to the timing of printing can be reliably transmitted to the printer while the print data is being received / transmitted.
【0021】また、本発明の印字システムおよび印字制
御方法では、印字データの編集時に印字契機の後に閉塞
保留開始制御コードを配置している。この閉塞保留開始
制御コードは、印字されないものであるため、プリンタ
側に送られて消失した場合も、実際の文字・記号の印字
には何ら影響が生じない。Further, in the printing system and the printing control method of the present invention, the blocking hold start control code is arranged after the printing trigger when the printing data is edited. Since this blocking hold start control code is not printed, even if it is sent to the printer side and disappears, there is no effect on the actual printing of characters and symbols.
【0022】また、本発明の印字システムおよび印字制
御方法によれば、未送信の印字データをプリンタコント
ローラへ返送し、その先頭に新たに閉塞保留開始制御コ
ードを付加する。Further, according to the printing system and the printing control method of the present invention, untransmitted printing data is returned to the printer controller, and a new block pending start control code is added to the head of the printing data.
【0023】この閉塞保留開始制御コードは、印字再開
されたときに、重複して送信されることがあっても、印
字されないために、実際の文字・記号の印字は何ら影響
が生じない。This blocking hold start control code is not printed even if it is transmitted in duplicate when printing is restarted, so that actual printing of characters and symbols has no effect.
【0024】すなわち、本発明の印字システムおよび印
字制御方法によれば、印字データが消失・重複印字され
る位置に閉塞保留開始制御コードを配置することによ
り、文字・記号の印字が消失・重複印字されるのを防止
することができる。That is, according to the printing system and the printing control method of the present invention, by placing the blockage hold start control code at the position where the print data is erased / duplicated, the characters / symbols are erased / duplicated. Can be prevented.
【0025】[0025]
【実施例】次に本発明の実施例について添付の図面を用
いて以下に説明する。図1は、本発明の一実施例による
印字システムの構成とその印字制御のデータの流れを時
系列的に示したものである。Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 shows a configuration of a printing system according to an embodiment of the present invention and a data flow of printing control in time series.
【0026】本実施例の印字システム1は、プリンタの
印字動作を制御するためのプリンタ制御装置2と、プリ
ンタ制御装置2によって印字制御されるプリンタ3とか
らなる。プリンタ制御装置2は、印字データ編集手段4
と、プリンタコントローラ5と、プリンタ制御装置2に
付属する通信手段であるOSパラレルポートドライバ6
とからなる。一方、プリンタ3は、プリンタ付属の通信
手段であるプリンタアダプタ7と、印字データ出力手段
8と、プリンタアダプタ7と印字データ出力手段8を制
御するデバイス制御手段9とからなる。The printing system 1 of the present embodiment comprises a printer control device 2 for controlling the printing operation of the printer, and a printer 3 whose printing is controlled by the printer control device 2. The printer control device 2 includes print data editing means 4
A printer controller 5 and an OS parallel port driver 6 which is a communication means attached to the printer controller 2.
Consists of. On the other hand, the printer 3 comprises a printer adapter 7 which is a communication means attached to the printer, a print data output means 8, and a device control means 9 which controls the printer adapter 7 and the print data output means 8.
【0027】上記印字データ編集手段4は、上位のコン
ピュータあるいは通信ネットワークから、印字命令等の
制御信号と文字・記号等の印字データとを含む印字用の
信号を受け取り、プリンタ3で出力可能な印字データに
編集してプリンタコントローラ5へ出力する。The print data editing means 4 receives a print signal including a control signal such as a print command and print data such as characters and symbols from a host computer or a communication network, and the printer 3 can output the print data. The data is edited and output to the printer controller 5.
【0028】この印字データは、文字・記号データ(図
1に例示する”A,B,…,E”)以外に、改行、改
頁、データ間の区切り、およびデバイス制御手段9に対
する閉塞信号保留解除等を指示する印字契機(図1に”
LF”と示す)を含む。In addition to character / symbol data (“A, B, ..., E” illustrated in FIG. 1), this print data includes line feeds, page breaks, data delimiters, and device block signal suspension signals. Print trigger for instructing cancellation (see "1"
LF ”).
【0029】印字データ編集手段4は、前記印字データ
を編集してプリンタコントローラ5へ出力する。The print data editing means 4 edits the print data and outputs it to the printer controller 5.
【0030】プリンタコントローラ5は、印字データ編
集手段4から受け取った印字データに対して、印字契機
LF によって区切られた一連の文字・記号データ(”A
BC ”や”D E ”)の前と、各印字契機 LF の
後に閉塞保留開始制御コード CC (デバイス制御手段9
に対する閉塞信号保留開始を指示し、印字も桁送りもさ
れない制御コード。図1に斜線を付して示す)を付与す
る。The printer controller 5 triggers printing on the print data received from the print data editing means 4.
A series of character / symbol data separated by LF ("A
Blocking hold start control code CC (device control means 9) before "BC" or "DE") and after each print trigger LF
A control code that instructs the start of the block signal hold for and is neither printed nor shifted. 1 is shown with hatching).
【0031】また、プリンタコントローラ5は、印字デ
ータを所定の長さに区切ってOSパラレルポートドライ
バ6へ送信するが、各送信分の印字データの最後に閉塞
保留解除制御コード EC (図1に網目線を付して示す)
を付与する。Further, the printer controller 5 divides the print data into predetermined lengths and transmits them to the OS parallel port driver 6. At the end of the print data for each transmission, the blocking hold release control code EC (see the network in FIG. 1). (Shown with a line of sight)
Is given.
【0032】OSパラレルポートドライバ6は、プリン
タ3の閉塞状態を確認しながら印字データを1送信単位
ずつ(本実施例では1バイトずつ、すなわち1文字ず
つ)プリンタ3へ送信する。The OS parallel port driver 6 transmits the print data to the printer 3 one transmission unit (one byte in this embodiment, that is, one character) while confirming the closed state of the printer 3.
【0033】プリンタアダプタ7は、OSパラレルポー
トドライバ6からのプリンタ閉塞状態の問い合わせに答
えながら、印字データを受け取って図示しないメモリバ
ッファを介して所定の長さ/印字量ごとに印字データ出
力手段8へ出力する。The printer adapter 7 receives the print data from the OS parallel port driver 6 while answering the inquiry about the printer blockage state, and print data output means 8 for each predetermined length / print amount via a memory buffer (not shown). Output to.
【0034】印字データ出力手段8は、プリンタアダプ
タ7から受け取った印字データを逐次出力あるいは実行
する。The print data output means 8 sequentially outputs or executes the print data received from the printer adapter 7.
【0035】一方、デバイス制御手段9は、プリンタ3
全体の印字動作を管理し、印字データのメモリバッファ
への格納、印字の実行、プリンタアダプタ7へのプリン
タ閉塞信号の出力等を行う。On the other hand, the device control means 9 includes the printer 3
It manages the entire printing operation, stores print data in a memory buffer, executes printing, outputs a printer block signal to the printer adapter 7, and so on.
【0036】本発明の印字システム1は、印字動作中に
プリンタ3が閉塞状態になった場合の印字制御に特徴が
ある。以下にその印字制御について説明する。The printing system 1 of the present invention is characterized by the printing control when the printer 3 is closed during the printing operation. The print control will be described below.
【0037】印字データの受送信が開始されると、プリ
ンタアダプタ7に最初に閉塞保留開始制御コード CC が
送信される。この閉塞保留開始制御コード CC は、デバ
イス制御手段9へ送られる。When print data reception / transmission is started, the block hold start control code CC is first transmitted to the printer adapter 7. The blocking hold start control code CC is sent to the device control means 9.
【0038】この閉塞保留開始制御コード CC の指令に
より、デバイス制御手段9は、プリンタ3が閉塞状態に
なった場合、プリンタアダプタ7が次の印字契機 LF を
受け取るまで、プリンタアダプタ7へのプリンタ閉塞信
号の出力を保留する。印字契機 LF は、閉塞保留の解除
を行う。When the printer 3 is in the closed state by the command of the block hold start control code CC, the device controller 9 closes the printer adapter 7 until the printer adapter 7 receives the next print trigger LF. Suspend signal output. Print trigger LF releases the blocking hold.
【0039】図1に示すように、OSパラレルポートド
ライバ6は、1バイトごとにプリンタの閉塞状態を確認
しながらプリンタアダプタ7へ印字データを送信する。
今、印字データ”CC”と”A ”まで送信したところ
で、ユーザの操作等によってプリンタ3が閉塞状態にな
ったとする。デバイス制御手段9は、上記プリンタ3の
閉塞状態を直ちに検出するが、プリンタアダプタ7が次
の印字契機 LF を受信するまで、プリンタアダプタ7へ
のプリンタ閉塞信号の出力を保留する。As shown in FIG. 1, the OS parallel port driver 6 transmits the print data to the printer adapter 7 while checking the blocked state of the printer for each byte.
Now, it is assumed that the printer 3 is blocked by the user's operation or the like when the print data "CC" and "A" are transmitted. The device control means 9 immediately detects the blocked state of the printer 3, but suspends the output of the printer blocked signal to the printer adapter 7 until the printer adapter 7 receives the next print trigger LF.
【0040】これにより、プリンタアダプタ7は、すで
に受信した印字データ”CC A ”に続いて”B C L
F ”を受信する。プリンタアダプタ7が印字契機 LF を
受信したときに、これをデバイス制御手段9が検出して
プリンタ閉塞信号を出力する。As a result, the printer adapter 7 causes the print data "CC A" already received to be followed by "BC L".
F "is received. When the printer adapter 7 receives the print trigger LF, the device control means 9 detects this and outputs a printer block signal.
【0041】図1は、プリンタ3が閉塞状態になったこ
とによって、印字データが消失しなかった場合を示して
いる。FIG. 1 shows a case where the print data is not lost due to the printer 3 being in the closed state.
【0042】すなわち、図1の例では、プリンタアダプ
タ7が印刷契機 LF を受信した直後に、デバイス制御手
段9がプリンタ閉塞信号を出力し、次のOSパラレルポ
ートドライバ6のプリンタ閉塞状態の問い合わせに対し
て、プリンタアダプタ7は”プリンタ閉塞”の信号を回
答している。これにより、OSパラレルポートドライバ
6は、それ以上印字データを送ることなく、この時点で
の未送信の印字データ”CC D E LF CC EC ”をプリ
ンタコントローラ5へ返送する。この場合、印字データ
は消失しない。That is, in the example of FIG. 1, immediately after the printer adapter 7 receives the print trigger LF, the device control means 9 outputs a printer block signal, and the next OS parallel port driver 6 inquires about the printer block state. On the other hand, the printer adapter 7 responds with a "printer block" signal. As a result, the OS parallel port driver 6 returns the untransmitted print data “CC D E LF CC EC” at this time to the printer controller 5 without sending any more print data. In this case, the print data does not disappear.
【0043】未送信の印字データを受け取ったプリンタ
コントローラ5は、未送信の印字データ” CC D E L
F CC EC ”の前に閉塞保留開始制御コード CC を一個追
加し、次の印字再開の信号を待つ状態に入る。The printer controller 5, which has received the untransmitted print data, sends the untransmitted print data “CC D E L
Add one blocking hold start control code CC before "F CC EC" and enter the state of waiting for the next print restart signal.
【0044】この状態で、ユーザによってプリンタの閉
塞が解除された場合に、デバイス制御手段9は、プリン
タ閉塞解除を検出し、その信号をプリンタコントローラ
5へフィードバックする。In this state, when the user releases the blockade of the printer, the device control means 9 detects the printer blockage release and feeds back the signal to the printer controller 5.
【0045】プリンタの閉塞解除によって、プリンタコ
ントローラ5は、閉塞保留開始制御コードを追加した未
送信印字データ”CC CC D E LF CC EC ”をOSパラ
レルポートドライバ6へ再送し、OSパラレルポートド
ライバ6は、再びプリンタの閉塞状態を確認しながら1
バイトごとに印字データを送信し、プリンタ3は印字を
再開する。By releasing the blockage of the printer, the printer controller 5 retransmits the untransmitted print data "CC CC D E LF CC EC" to which the block hold start control code is added to the OS parallel port driver 6, and the OS parallel port driver 6 Check the blocked status of the printer again 1
The print data is transmitted byte by byte, and the printer 3 restarts printing.
【0046】再送信される印字データの先頭の閉塞保留
開始制御コード CC は、実際には印字も桁送りもされな
い。このため、プリンタ閉塞前に送信された印字デー
タ”AB C LF ”に続いて”D E LF ”が印字ある
いは実行され、文字・記号データの消失あるいは重複印
字が起こらない。The blockage hold start control code CC at the head of the retransmitted print data is not actually printed or shifted. Therefore, "DELF" is printed or executed after the print data "ABCLF" transmitted before the printer is blocked, and the disappearance of character / symbol data or duplicate printing does not occur.
【0047】上記図1の例は、印字契機 LF に続く閉塞
保留開始制御コード CC が送信されない場合について示
している。しかし、プリンタ閉塞信号の出力のタイミン
グによってはプリンタ閉塞状態の確認後にプリンタ閉塞
信号が出力され、閉塞保留開始制御コード CC が消失す
る場合がある。図2は、この閉塞保留開始制御コード C
C が消失する場合の印字制御処理の流れを示しており、
以下にこの場合について説明する。The example of FIG. 1 shows the case where the block hold start control code CC following the print trigger LF is not transmitted. However, depending on the output timing of the printer block signal, the printer block signal may be output after the printer block status is confirmed, and the block hold start control code CC may disappear. Fig. 2 shows this blocking hold start control code C
It shows the flow of print control processing when C disappears.
This case will be described below.
【0048】図2において、OSパラレルポートドライ
バ6が、印字データ””CC A BC LF ”をプリンタ
アダプタ7へ送信するまでは図1と同一であるので、こ
こでの重複説明を省略する。In FIG. 2, the OS parallel port driver 6 is the same as FIG. 1 until the print data ““ CC A BC LF ”is transmitted to the printer adapter 7. Therefore, the duplicated description will be omitted here.
【0049】しかし、図2の例では、印字契機 LF に続
く閉塞保留開始制御コード CC を送信するときに、OS
パラレルポートドライバ6の問い合わせに対して、デバ
イス制御手段9からのプリンタ制御信号がその後に出力
されている。このため、OSパラレルポートドライバ6
は、プリンタ閉塞を認識することなく、閉塞保留開始制
御コード CC を送信してしまう。ところが、この閉塞保
留開始制御コード CCを送信したときは、プリンタ側は
すでに閉塞となってしまっているので、送信された閉塞
保留開始制御コード CC は消失してしまう。However, in the example of FIG. 2, when the blocking hold start control code CC following the print trigger LF is transmitted, the OS
In response to the inquiry from the parallel port driver 6, the printer control signal from the device control means 9 is output thereafter. Therefore, the OS parallel port driver 6
Sends the block hold start control code CC without recognizing the printer block. However, when the blocking hold start control code CC is transmitted, the blocked hold start control code CC sent is lost because the printer side has already been blocked.
【0050】この印字データが消失する場合に対して
も、本実施例の印字システム1は印字データの消失や重
複印字を防止することができる。Even when the print data is lost, the print system 1 of the present embodiment can prevent the print data from being lost and the duplicate printing.
【0051】すなわち、閉塞保留開始制御コード CC の
次の印字データ”D”を送信するときに、OSパラレル
ポートドライバ6は”プリンタ閉塞”の回答を得る。こ
れにより、OSパラレルポートドライバ6から未送信印
字データ”D E LF CC EC”がプリンタコントローラ
5へ返送される。That is, when transmitting the print data "D" next to the block hold start control code CC, the OS parallel port driver 6 obtains the reply "printer block". As a result, the untransmitted print data “D E LF CC EC” is returned from the OS parallel port driver 6 to the printer controller 5.
【0052】プリンタコントローラ5は、この未送信印
字データ”D E LF CC EC ”の先頭に閉塞保留開始制
御コード CC を付加してプリンタの閉塞解除を待つ。The printer controller 5 adds the block hold start control code CC to the head of this untransmitted print data "D E LF CC EC", and waits for the block release of the printer.
【0053】ユーザによってプリンタの閉塞状態が解除
されたときは、デバイス制御手段9がそれを検出し、印
字再開の信号をOSパラレルポートドライバ6へ送る。
このプリンタ閉塞解除の信号により、OSパラレルポー
トドライバ6は、閉塞保留開始制御コード CC を新たに
付与した未送信印字データ”CC D E LF CC EC ”を
プリンタアダプタ7へ逐次送信する。When the user releases the blocked state of the printer, the device control means 9 detects it and sends a signal for restarting printing to the OS parallel port driver 6.
In response to this printer blockage release signal, the OS parallel port driver 6 sequentially transmits the untransmitted print data "CC D E LF CC EC" to which the blockage hold start control code CC is newly added to the printer adapter 7.
【0054】この再送された未送信印字データの先頭の
閉塞保留開始制御コード CC は、実際には印字も桁送り
もしないので、プリンタ閉塞前に送信された印字デー
タ”AB C LF ”に続いて”D E LF ”が印字ある
いは実行され、文字・記号データの消失あるいは重複印
字が起こることがない。Since the block-holding start control code CC at the head of the retransmitted untransmitted print data does not actually print or shift digits, it follows the print data "AB C LF" transmitted before the printer block. "D E LF" is printed or executed, and there is no loss of character / symbol data or duplicate printing.
【0055】このように、本実施例の印字システム1に
よれば、プリンタ閉塞信号の出力のタイミングに拘わら
ず、同一の処理によって、印字の中断による文字・記号
データの消失あるいは重複印字を確実に防止することが
できる。As described above, according to the printing system 1 of the present embodiment, regardless of the output timing of the printer block signal, the same processing ensures the disappearance of the character / symbol data or the duplicate printing due to the interruption of the printing. Can be prevented.
【0056】これにより、数字の1文字の消失や重複印
字が許されない帳票の印字等において、印字の中断・再
開時にオペレータが確認する手間・時間が省け、効率が
よく、かつ、信頼性が高い印字を行うことができる。As a result, in the printing of a form in which one digit of a number is lost or duplicate printing is not permitted, the operator can save time and effort to confirm when printing is interrupted / restarted, which is efficient and highly reliable. Printing can be performed.
【0057】なお、上記プリンタ制御装置2は、印字シ
ステム1のいずれかに配設されていればよく、ハードウ
ェア上の形態にとらわれない。すなわち、プリンタ制御
装置2は、プリンタに接続された情報処理装置に内蔵さ
れていてもよく、あるいはプリンタ、またはプリンタバ
ッファ装置に内蔵されていてもよく、さらにはプリンタ
制御装置として独立していてもよい。The printer control device 2 may be arranged in any one of the printing systems 1 and is not limited to a hardware form. That is, the printer control device 2 may be built in the information processing device connected to the printer, or may be built in the printer or the printer buffer device, or may be an independent printer control device. Good.
【0058】プリンタ制御装置がプリンタまたはプリン
タバッファ装置に内蔵されている場合や、プリンタ制御
装置として独立している場合としては、LAN等の通信
ネットワークからデータを受け入れ逐次印字するプリン
タが考えられる。この場合、印字データ編集手段4は、
通信ネットワークから直接データを受け入れ、印字デー
タとして編集する。それ以降の処理はすでに説明した通
りである。When the printer control device is built in the printer or the printer buffer device or when the printer control device is independent, a printer that receives data from a communication network such as a LAN and prints sequentially can be considered. In this case, the print data editing means 4
Accepts data directly from the communication network and edits it as print data. The subsequent processing is as described above.
【0059】また、上記実施例は、ラインプリンタによ
る印字を念頭において、プリンタが閉塞した後に、次の
印字契機 LF (改行信号)をプリンタが受信するまで、
プリンタ閉塞信号の出力を保留するものについて説明し
たが、上記印字システムおよび印字制御方法は、ページ
プリンタにもそのまま適用することができる。Further, in the above embodiment, in consideration of printing by the line printer, after the printer is closed, until the printer receives the next print trigger LF (line feed signal).
Although the case where the output of the printer block signal is suspended has been described, the printing system and the printing control method described above can be directly applied to the page printer.
【0060】すなわち、ページプリンタにおいて、1ペ
ージ分ごとに印字データがプリンタへ送信されるが、ペ
ージプリンタが受信の途中で閉塞状態になった場合、プ
リンタ閉塞信号の出力を次の改頁信号(印字契機 LF )
を受信するまで保留すればよい。このようにすることに
より、各頁の先頭の文字・記号データの消失あるいは重
複印字を防止することができる。That is, in the page printer, print data is sent to the printer every page, but if the page printer is blocked during reception, the printer block signal is output and the next page feed signal ( Printing opportunity LF)
Just hold until you receive. By doing so, it is possible to prevent the loss of the character / symbol data at the beginning of each page or the duplicate printing.
【0061】[0061]
【発明の効果】上記説明から明らかなように、本発明の
印字システムおよび印字制御方法によれば、プリンタ閉
塞信号の出力を文字・記号データの一区切りを完全に受
信するまで留保し、このプリンタ閉塞信号が出力される
タイミングの位置に閉塞保留開始制御コードを配置して
いる。これにより、文字・記号の消失を防止し、かつ、
重複印字が生じる場所に閉塞保留開始制御コードを充当
しているので、印字の中断・再開によって文字・記号が
重複印字あるいは消失することを防止することができ
る。As is apparent from the above description, according to the printing system and the printing control method of the present invention, the output of the printer block signal is reserved until a segment of character / symbol data is completely received, and this printer block is blocked. The blocking pending start control code is placed at the timing of the signal output. This prevents the loss of characters and symbols, and
Since the blocking hold start control code is applied to the location where duplicate printing occurs, it is possible to prevent duplicate printing or disappearance of characters and symbols due to interruption / restart of printing.
【0062】これによって、効率が高く、かつ、信頼性
が高い印字システムおよび印字制御方法を得ることがで
きる。As a result, it is possible to obtain a highly efficient and highly reliable printing system and printing control method.
【図1】受送信される印字データが印字中断によって消
失しない場合の印字制御の流れを併せて示した本発明に
よる印字システムのブロック図。FIG. 1 is a block diagram of a printing system according to the present invention, which also shows the flow of print control when print data that is received and transmitted does not disappear due to a print interruption.
【図2】受送信される印字データが印字中断によって消
失する場合の印字制御の流れを併せて示した本発明によ
る印字システムのブロック図。FIG. 2 is a block diagram of a printing system according to the present invention, which also shows a flow of print control when print data received and transmitted is lost due to print interruption.
【図3】印字中断時の印字データの流れを併せて示した
従来の印字システムのブロック図。FIG. 3 is a block diagram of a conventional printing system that also shows the flow of print data when printing is interrupted.
1 印字システム 2 プリンタ制御装置 3 プリンタ 4 印字データ編集手段 5 プリンタコントローラ 6 OSパラレルポートドライバ 7 プリンタアダプタ 8 印字データ出力手段 9 デバイス制御手段 LF 印字契機 CC 閉塞保留開始制御コード EC 閉塞保留解除制御コード 1 printing system 2 Printer control device 3 printers 4 Print data editing means 5 Printer controller 6 OS parallel port driver 7 Printer adapter 8 Print data output means 9 Device control means LF printing opportunity CC shutdown hold control code EC blocking hold release control code
───────────────────────────────────────────────────── フロントページの続き (72)発明者 松 田 一 彦 神奈川県横浜市保土ケ谷区神戸町134番 地 株式会社野村総合研究所内 (56)参考文献 特開 平5−221093(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 3/12 B41J 29/00 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Kazuhiko Matsuda, Nomura Research Institute, Ltd., 134, Kobe-cho, Hodogaya-ku, Yokohama-shi, Kanagawa Prefecture (56) Reference JP-A-5-221093 (JP, A) ( 58) Fields surveyed (Int.Cl. 7 , DB name) G06F 3/12 B41J 29/00
Claims (6)
御装置と、前記プリンタ制御装置によって制御されるプ
リンタとを有する印字システムにおいて、 前記プリンタ制御装置は、印字データ編集手段とプリン
タコントローラとプリンタ制御装置側通信手段とを有
し、 前記印字データ編集手段は、外部から印字用の信号を取
得して印字制御用の印字契機と文字・記号データを含む
印字データを編集して前記プリンタコントローラへ出力
し、 前記プリンタコントローラは、前記印字データ編集手段
から印字データを受け取った場合は、前記印字契機によ
って区切られた一連の文字・記号データの前と、前記各
印字契機の後に、それぞれ閉塞保留開始制御コードを付
与するとともに、一回の送信分の末尾に閉塞保留解除制
御コードを付与して前記プリンタ制御装置側通信手段へ
出力し、前記プリンタ制御装置側通信手段から未送信の
印字データを受け取った場合は、未送信の印字データの
先頭に閉塞保留開始制御コードを付与し、プリンタの閉
塞状態が解除されたときに、前記プリンタ制御装置側通
信手段へ再送信し、 前記プリンタ制御装置側通信手段は、前記プリンタコン
トローラから一回の送信分の印字データを受け取ってプ
リンタの閉塞状態を確認しながら1送信単位ごとに前記
印字データを送信し、印字途中でプリンタが閉塞状態に
なった場合に現在の送信分の印字データのうちの未送信
の印字データを前記プリンタコントローラに返し、 前記プリンタは、プリンタ側通信手段と印字データ出力
手段とデバイス制御手段とを有し、 前記プリンタ側通信手段は、前記プリンタ制御装置側通
信手段からのプリンタ閉塞状態の問い合わせに答えなが
ら、印字データを受け取って前記印字データ出力手段へ
出力し、前記デバイス制御手段からプリンタ閉塞信号を
受け取ったときに、前記プリンタ制御装置側通信手段か
らの問い合わせに対してプリンタ閉塞信号を返し、 前記印字データ出力手段は、前記プリンタ側通信手段か
ら受け取った印字データあるいは制御コードを、印字あ
るいは実行し、 前記デバイス制御手段は、印字データを受信している途
中でプリンタが閉塞状態になった場合に、前記プリンタ
側通信手段が次の印字契機を受け取るまで前記プリンタ
側通信手段へのプリンタ閉塞信号の出力を保留する、こ
とを特徴とする印字システム。1. A printing system having a printer control device for controlling a printing operation of a printer and a printer controlled by the printer control device, wherein the printer control device comprises print data editing means, a printer controller and a printer control device. The print data editing means acquires a print signal from the outside, edits print timing for print control, print data including character / symbol data, and outputs the print data to the printer controller. When the print data is received from the print data editing unit, the printer controller receives a block hold start control code before a series of character / symbol data separated by the print trigger and after each print trigger. And add the block hold release control code to the end of one transmission. When the untransmitted print data is received from the printer control device side communication means and is output to the printer control device side communication means, a blockage hold start control code is added to the head of the untransmitted print data, and the printer is blocked. Is canceled, the data is retransmitted to the printer control device side communication means, and the printer control device side communication means receives the print data for one transmission from the printer controller and confirms the blocked state of the printer. However, the print data is transmitted for each transmission unit, and if the printer is blocked during printing, the printer controller returns untransmitted print data of the print data for the current transmission, and the printer A printer-side communication unit, a print data output unit, and a device control unit, wherein the printer-side communication unit is the printer. While answering the inquiry about the printer blocking state from the device side communication means, the print data is received and output to the print data output means, and when the printer block signal is received from the device control means, the printer control side communication is performed. A printer block signal is returned in response to an inquiry from the means, the print data output means prints or executes the print data or control code received from the printer side communication means, and the device control means receives the print data. If the printer becomes blocked during the operation, the output of the printer block signal to the printer communication unit is suspended until the printer communication unit receives the next print trigger. system.
御装置と、前記プリンタ制御装置によって制御されるプ
リンタとを有する印字システムにおいて、 前記プリンタ制御装置は、印字データ編集手段とプリン
タコントローラとプリンタ制御装置側通信手段とを有
し、 前記印字データ編集手段は、外部から印字用の信号を取
得して印字制御用の印字契機と文字・記号データを含む
印字データを編集して前記プリンタコントローラへ出力
し、 前記プリンタコントローラは、前記印字データ編集手段
から印字データを受け取った場合は、前記印字契機によ
って区切られた一連の文字・記号データの前と、前記各
印字契機の後に、それぞれ閉塞保留開始制御コードを付
与して前記プリンタ制御装置側通信手段へ出力し、前記
プリンタ制御装置側通信手段から未送信の印字データを
受け取った場合は、未送信の印字データの先頭に閉塞保
留開始制御コードを付与し、プリンタの閉塞状態が解除
されたときに、前記プリンタ制御装置側通信手段へ再送
信し、 前記プリンタ制御装置側通信手段は、前記プリンタコン
トローラから一回の送信分の印字データを受け取ってプ
リンタの閉塞状態を確認しながら1送信単位ごとに前記
印字データを送信し、印字途中でプリンタが閉塞状態に
なった場合に現在の送信分の印字データのうちの未送信
の印字データを前記プリンタコントローラに返し、 前記プリンタは、プリンタ側通信手段と印字データ出力
手段とデバイス制御手段とを有し、 前記プリンタ側通信手段は、前記プリンタ制御装置側通
信手段からのプリンタ閉塞状態の問い合わせに答えなが
ら、印字データを受け取って前記印字データ出力手段へ
出力し、前記デバイス制御手段からプリンタ閉塞信号を
受け取ったときに、前記プリンタ制御装置側通信手段か
らの問い合わせに対してプリンタ閉塞信号を返し、 前記印字データ出力手段は、前記プリンタ側通信手段か
ら受け取った印字データあるいは制御コードを、印字あ
るいは実行し、 前記デバイス制御手段は、印字データを受信している途
中でプリンタが閉塞状態になった場合に、前記プリンタ
側通信手段が次の印字契機を受け取るまで前記プリンタ
側通信手段へのプリンタ閉塞信号の出力を保留する、こ
とを特徴とする印字システム。2. A printing system having a printer control device for controlling a printing operation of a printer and a printer controlled by the printer control device, wherein the printer control device comprises print data editing means, a printer controller and a printer control device. The print data editing means acquires a print signal from the outside, edits print timing for print control, print data including character / symbol data, and outputs the print data to the printer controller. When the print data is received from the print data editing unit, the printer controller receives a block hold start control code before a series of character / symbol data separated by the print trigger and after each print trigger. Is output to the communication means on the printer control device side, and the communication on the printer control device side is performed. When the untransmitted print data is received from the printer, the block hold start control code is added to the head of the untransmitted print data, and when the blocked state of the printer is released, the print data is sent to the printer controller communication means again. The printer control device side communication means receives the print data for one transmission from the printer controller, transmits the print data for each transmission unit while confirming the blocked state of the printer, and during the printing process. When the printer is in the blocked state, it returns untransmitted print data of the print data for the current transmission to the printer controller, and the printer includes a printer-side communication unit, a print data output unit, and a device control unit. The printer-side communication means does not answer the inquiry about the printer blocking state from the printer control device-side communication means. Receiving print data, outputting the print data to the print data output means, and receiving a printer block signal from the device control section, returning a printer block signal in response to an inquiry from the printer control device side communication section, The data output means prints or executes the print data or the control code received from the printer side communication means, and the device control means, when the printer is blocked while receiving the print data, A printing system, wherein output of a printer block signal to the printer-side communication means is suspended until the printer-side communication means receives a next print trigger.
接続された情報処理装置に内蔵されていることを特徴と
する請求項1または2に記載の印字システム。3. The printing system according to claim 1, wherein the printer control device is incorporated in an information processing device connected to the printer.
されていることを特徴とする請求項1または2に記載の
印字システム。4. The printing system according to claim 1, wherein the printer control device is built in a printer.
と印字契機を含む印字データを編集し、 前記印字契機によって区切られた一連の文字・記号デー
タの前と、前記印字契機の後に、閉塞保留開始制御コー
ドを付与するとともに、一回の送信分の印字データの末
尾に閉塞保留解除制御コードを付与し、 プリンタの閉塞状態を確認しながら印字データを1送信
単位ごとにプリンタへ送信し、 印字データの受送信の途中でプリンタが閉塞されたとき
に、プリンタが次の印字契機を受け取るまではプリンタ
の閉塞信号の出力を保留し、 プリンタ閉塞信号が出力されたときに、未送信の印字デ
ータの先頭に閉塞保留開始制御コードを付与し、プリン
タの閉塞状態が解除されたときに前記未送信の印字デー
タをプリンタへ再送信することを特徴とする印字制御方
法。5. A print signal is acquired to edit print data including character / symbol data and a print trigger, before a series of character / symbol data separated by the print trigger and after the print trigger. In addition to the block hold start control code, the block hold release control code is added to the end of the print data for one transmission, and the print data is sent to the printer for each transmission unit while checking the printer block status. However, when the printer is blocked in the middle of receiving and transmitting print data, the printer block signal output is suspended until the printer receives the next print trigger, and when the printer block signal is output, it is not transmitted. The block hold start control code is added to the beginning of the print data of the above, and the untransmitted print data is retransmitted to the printer when the blocked state of the printer is released. Print control method.
と印字契機を含む印字データを編集し、 前記印字契機によって区切られた一連の文字・記号デー
タの前と、前記印字契機の後に、閉塞保留開始制御コー
ドを付与し、 プリンタの閉塞状態を確認しながら印字データを1送信
単位ごとにプリンタへ送信し、 印字データの受送信の途中でプリンタが閉塞されたとき
に、プリンタが次の印字契機を受け取るまではプリンタ
の閉塞信号の出力を保留し、 プリンタ閉塞信号が出力されたときに、未送信の印字デ
ータの先頭に閉塞保留開始制御コードを付与し、プリン
タの閉塞状態が解除されたときに前記未送信の印字デー
タをプリンタへ再送信することを特徴とする印字制御方
法。6. A signal for printing is acquired to edit print data including character / symbol data and a print trigger, before a series of character / symbol data separated by the print trigger and after the print trigger. , Blocking hold start control code is added, print data is sent to the printer for each transmission unit while confirming the blocked status of the printer, and when the printer is blocked in the middle of receiving and transmitting print data, the printer Output of the printer block signal is suspended until the print trigger is received, and when the printer block signal is output, the block hold start control code is added to the beginning of the untransmitted print data, and the block state of the printer is released. A printing control method, wherein the untransmitted print data is retransmitted to the printer when the printing is performed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12397495A JP3513263B2 (en) | 1995-05-23 | 1995-05-23 | Printing system and printing control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12397495A JP3513263B2 (en) | 1995-05-23 | 1995-05-23 | Printing system and printing control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH08314644A JPH08314644A (en) | 1996-11-29 |
| JP3513263B2 true JP3513263B2 (en) | 2004-03-31 |
Family
ID=14873923
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP12397495A Expired - Lifetime JP3513263B2 (en) | 1995-05-23 | 1995-05-23 | Printing system and printing control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3513263B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5827025B2 (en) * | 2011-04-05 | 2015-12-02 | セイコーソリューションズ株式会社 | Order management system and control device |
-
1995
- 1995-05-23 JP JP12397495A patent/JP3513263B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH08314644A (en) | 1996-11-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5799206A (en) | Remote print system having a plurality of computers which are capable of monitoring and controlling operations of a remote printer | |
| US6734985B1 (en) | Printing apparatus, printing system and method of controlling same | |
| US6388760B2 (en) | Host-based printing system and printing control method thereof | |
| CA2197383C (en) | Method and apparatus for providing print job buffering for a printer on a fast data path | |
| EP1024424A2 (en) | Print system and host device therefor | |
| KR100255889B1 (en) | Communications terminal and control method therefor | |
| EP0651335A1 (en) | High speed receiver/transmitter interface | |
| KR19990083207A (en) | A peripheral device and control method thereof | |
| BR9300357A (en) | HIGH PERFORMANCE CHANNELS FOR DATA PROCESSING SYSTEMS, SYSTEM INCLUDING IT AND METHOD FOR RECOVERING INDIVIDUAL OPERATIONS IN A MULTIPLE OPERATING ENVIRONMENT | |
| JPH1195941A (en) | Printer system and its printer device and its computer device | |
| JP3513263B2 (en) | Printing system and printing control method | |
| JP3034540B2 (en) | Printing system and its error recovery method | |
| US5973790A (en) | Facsimile machine | |
| JP3528708B2 (en) | Printer system | |
| JP3235545B2 (en) | Printing system | |
| JP3194938B2 (en) | Printing system | |
| US20060238804A1 (en) | Print control apparatus and printing system | |
| JPS60201980A (en) | Controlling method of printer | |
| JPH0976603A (en) | Printing equipment | |
| JP2831019B2 (en) | Print start processing method for print output device | |
| JPH0811358A (en) | Hard disk built-in printer | |
| JPH0347791B2 (en) | ||
| JPH0438618Y2 (en) | ||
| JPH0354909B2 (en) | ||
| JPH0357027A (en) | Emergency operation method in online system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040109 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090116 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100116 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100116 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110116 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120116 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120116 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130116 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140116 Year of fee payment: 10 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| EXPY | Cancellation because of completion of term |