JPH0250875A - Printing controller in line printer - Google Patents
Printing controller in line printerInfo
- Publication number
- JPH0250875A JPH0250875A JP63201248A JP20124888A JPH0250875A JP H0250875 A JPH0250875 A JP H0250875A JP 63201248 A JP63201248 A JP 63201248A JP 20124888 A JP20124888 A JP 20124888A JP H0250875 A JPH0250875 A JP H0250875A
- Authority
- JP
- Japan
- Prior art keywords
- printing
- test
- line
- circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000007639 printing Methods 0.000 title claims abstract description 48
- 238000001514 detection method Methods 0.000 claims abstract description 12
- 238000013500 data storage Methods 0.000 claims 1
- 230000003044 adaptive effect Effects 0.000 abstract 1
- 230000007547 defect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はラインプリンタの印字制御装置に関し、特にテ
スト印字機能を持ったラインプリンタの印字制御装置に
関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a print control device for a line printer, and more particularly to a print control device for a line printer having a test printing function.
従来、ラインプリンタの印字制御装置においては、印字
業務実行中におけるテスト印字動作は禁止されていた。Conventionally, in print control devices for line printers, test printing operations have been prohibited during execution of printing operations.
このため、多量の印字業務を実行中に印字不良(脱字2
文字欠は等)が発生した場合、どこから回復処理を行え
ば良いかわからないため、最初から全部打ち直さなけれ
ばならず、印字用紙及び計算機使用時間に多大な損害を
与えていた。For this reason, printing defects (missing characters, 2
When errors (such as missing characters, etc.) occur, it is difficult to know where to start the recovery process, and the user has to retype everything from the beginning, causing a great deal of damage to printing paper and computer usage time.
本発明は、印字行数を計数し、一定行数に達した時点で
自動的にテスト印字を実行することができるラインプリ
ンタの印字制御装置を提供するものである。The present invention provides a print control device for a line printer that can count the number of printed lines and automatically execute test printing when a certain number of lines is reached.
本発明のラインプリンタの印字制御装置は、印字行数を
計数するラインカウンタ回路と、ラインカウンタ回路の
内容によりテスト印字を起動するテスト印字制御回路と
、ラインプリンタに装着された印字用紙の幅を検出する
用紙幅検出機構と、用紙幅検出機構の内容とテスト印字
制御回路の指令とにより印字すべきテストデータを発生
するテストデータ発生回路とを有している。The print control device for a line printer according to the present invention includes a line counter circuit that counts the number of printed lines, a test print control circuit that starts test printing based on the contents of the line counter circuit, and a test print control circuit that starts test printing based on the contents of the line counter circuit. It has a paper width detection mechanism for detecting paper width, and a test data generation circuit for generating test data to be printed based on the contents of the paper width detection mechanism and instructions from the test print control circuit.
次に本発明の一実施例について図面を参照して説明する
。第1図は本発明の一実施例のブロック図である。Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of one embodiment of the present invention.
ラインプリンタは、外部データ源3から送られて来る1
行分の印字データを信号線3aを介して印字データメモ
リ5に記憶する。一方活字ドラム15は一定速度で回転
し、活字の移動位置に同期して出力する周期パルスが同
期パルス検出機構14で検出され信号線14aを介して
活字コード発生回路6に加えられる。これにより活字コ
ード発生回路6には、常に印字ハンマ10の前に来てい
る活字と対応した活字コードが保持される。1行分の印
字データを受信すると、比較回路7は印字データメモリ
5の出力5aと活字コード発生回路6の出力6aとを比
較し、比較結果を信号線7・aを介してシフトレジスタ
8に加える。シフトレジスタ8には各印字桁の比較結果
が格納され、その出力はハンマ駆動回路9に加えられる
。ノーンマ駆動回路9は印字ノ・ンマ10を駆動し、印
字ノーンマ10は印字用紙11及びインクリボン12を
介して活字Fラム15上の活字を打撃して印字が行なわ
れる。The line printer receives 1 data from an external data source 3.
Print data for a line is stored in the print data memory 5 via the signal line 3a. On the other hand, the type drum 15 rotates at a constant speed, and periodic pulses output in synchronization with the moving position of the type are detected by the synchronous pulse detection mechanism 14 and applied to the type code generation circuit 6 via the signal line 14a. As a result, the printed character code generating circuit 6 always holds the printed character code corresponding to the printed character that is in front of the printing hammer 10. Upon receiving one line of print data, the comparison circuit 7 compares the output 5a of the print data memory 5 with the output 6a of the printed code generation circuit 6, and sends the comparison result to the shift register 8 via the signal line 7.a. Add. The shift register 8 stores the comparison results for each print digit, and its output is applied to the hammer drive circuit 9. The printer drive circuit 9 drives the printer printer 10, and the printer printer 10 hits the characters on the printer F ram 15 via the printing paper 11 and the ink ribbon 12 to perform printing.
ラインカウンタ回路1は電源投入時ゼロにリセットされ
、その後1行印字する毎に+1される。The line counter circuit 1 is reset to zero when the power is turned on, and is incremented by one every time one line is printed thereafter.
ラインカウンタ回路1が予め定められた行数(例えば1
000行)に達すると、信号線1aを介してテスト印字
要求をテスト印字制御回路2に加えるとともにラインカ
ウンタ回路1をゼロにリセットする。The line counter circuit 1 has a predetermined number of lines (for example, 1
000 row), a test print request is applied to the test print control circuit 2 via the signal line 1a, and the line counter circuit 1 is reset to zero.
一方、ラインプリンタに装着された印字用紙11の幅(
水平方向の)が用紙幅検出機構13によって検出される
。例えばラインプリンタは1桁から132桁までの13
2個の印字ハンマ10を有している。いま、304.8
mm (12インチ)幅の印字用紙11が印字ハンマ1
0の10桁目から12020桁目に装着されていると仮
定すると、用紙幅検出機構13は、この用紙幅情報を線
13aを介してテスト印字制御回路2へ加える。テスト
印字制御回路2は用紙幅情報に基いて、テスト印字デー
タとして1桁〜9桁および121桁〜132桁にはブラ
ンクコードを、10桁〜120桁には印字データコード
を発生するよう信号線2aを介してテストデータ発生回
路4に指令する。テストデータ発生回路4は1桁〜9桁
まではブランクコード、10桁〜120桁までは印字デ
ータコード、121桁〜132桁まではブランクコード
を発生し、信号線4aを介して印字データメモリ5に送
る。On the other hand, the width (
) in the horizontal direction is detected by the paper width detection mechanism 13. For example, a line printer has 13 characters from 1 digit to 132 digits.
It has two printing hammers 10. Now 304.8
mm (12 inch) wide printing paper 11 is printed by printing hammer 1
Assuming that the paper is installed from the 10th digit to the 12020th digit of 0, the paper width detection mechanism 13 applies this paper width information to the test print control circuit 2 via the line 13a. The test print control circuit 2 generates a blank code for the 1st to 9th digits and 121st to 132nd digits and a print data code for the 10th to 120th digits as test print data based on the paper width information. A command is given to the test data generation circuit 4 via 2a. The test data generation circuit 4 generates blank codes for the 1st to 9th digits, print data codes for the 10th to 120th digits, and blank codes for the 121st to 132nd digits. send to
印字データメモリ5に1行分のデータが送られると、前
述した印字の場合と同様にして印字動作が実行される。When one line of data is sent to the print data memory 5, a printing operation is performed in the same manner as in the case of printing described above.
この場合印字用紙が装着された印字桁のみに、印字動作
が実行され、印字用紙が装着されていない印字桁への印
字はブランクコードにより禁止されるので、空打ちが防
止でき印字用紙の装着状態に合った最適なテスト印字が
行なわれる。このようにして−走行数印字する毎にテス
トデータ印字が自動的に実行される。In this case, the printing operation is executed only on the printing digits with printing paper attached, and printing on the printing digits with no printing paper attached is prohibited by the blank code, so blank printing can be prevented and the printing paper attached state The most suitable test printing is performed. In this way, test data printing is automatically executed every time the travel number is printed.
以上説明したように、本発明は印字行数を計数するライ
ンカウンタ回路と、ラインプリンタに装着された印字用
紙の幅を検出する用紙幅検出機構と、テスト印字制御回
路とテストデータ発生回路とを設ける事により、用紙の
装着状態に適合したテスト印字が一定行数毎に自動的に
実行され、脱字等の印字不良発生時の回復作業を最少限
にすることができる。As explained above, the present invention includes a line counter circuit that counts the number of printed lines, a paper width detection mechanism that detects the width of printing paper installed in a line printer, a test print control circuit, and a test data generation circuit. By providing this, test printing adapted to the paper loading condition is automatically executed every fixed number of lines, and recovery work when printing defects such as omitted characters occur can be minimized.
第1図は本発明の一実施例を示すブロック図である。
1・・・・・・ラインカウンタ回路、2・・・・・・テ
スト印字制御回路、3・・・・・・外部データ源、4・
・・・・・テストデータ発生回路、5・・・・・・印字
データメモリ、6・・・・・・活字コード発生回路、7
・・・・・・比較回路、訃・・・・・シフトレジスタ、
9・・・・・・ハンマ駆動回路、10・・・・・・印字
ハンマ、11・・・・・・印字用紙、12・・・・・・
インクリボン、13・・・・・・用紙幅検出機構、14
・・・・・・同期パルス検出機構、15・・・・・・活
字ドラム。
代理人 弁理士 内 原 晋FIG. 1 is a block diagram showing one embodiment of the present invention. 1...Line counter circuit, 2...Test print control circuit, 3...External data source, 4...
...Test data generation circuit, 5...Print data memory, 6...Print code generation circuit, 7
・・・Comparison circuit, Shift register,
9... Hammer drive circuit, 10... Printing hammer, 11... Printing paper, 12...
Ink ribbon, 13...Paper width detection mechanism, 14
....Synchronous pulse detection mechanism, 15.....Type drum. Agent Patent Attorney Susumu Uchihara
Claims (1)
れる印字データコードと活字の移動位置に対応した活字
コードとを逐次比較し、一致していれば当該桁の印字ハ
ンマを駆動して印字するラインプリンタにおいて、印字
行数を計数するラインカウンタ回路と、前記ラインカウ
ンタ回路の内容によりテスト印字を起動するテスト印字
制御回路と、前記ラインプリンタに装着された印字用紙
の幅を検出する用紙幅検出機構と、前記用紙幅検出機構
の内容と前記テスト印字制御回路の指令とにより印字す
べきテストデータを発生するテストデータ発生回路とを
有することを特徴とするラインプリンタの印字制御装置
。A line printer that successively compares the print data code sent from the data storage means with the print code corresponding to the moving position of the print in response to a print command from the host device, and if they match, drives the print hammer of the relevant digit to print. A line counter circuit that counts the number of printed lines, a test print control circuit that starts test printing based on the contents of the line counter circuit, and a paper width detection mechanism that detects the width of printing paper installed in the line printer. A print control device for a line printer, comprising: a test data generation circuit that generates test data to be printed based on the contents of the paper width detection mechanism and the commands of the test print control circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63201248A JPH0250875A (en) | 1988-08-12 | 1988-08-12 | Printing controller in line printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63201248A JPH0250875A (en) | 1988-08-12 | 1988-08-12 | Printing controller in line printer |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0250875A true JPH0250875A (en) | 1990-02-20 |
Family
ID=16437793
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63201248A Pending JPH0250875A (en) | 1988-08-12 | 1988-08-12 | Printing controller in line printer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0250875A (en) |
-
1988
- 1988-08-12 JP JP63201248A patent/JPH0250875A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0027861A2 (en) | Typewriter including an apparatus for repositioning a printing element upon power return | |
CA1114516A (en) | Apparatus for synchronizing carrier and rotatable print disk positions in on-the-fly printing | |
JPH0225203B2 (en) | ||
EP0152732B1 (en) | A fault protection system for a line printer | |
JPH0250875A (en) | Printing controller in line printer | |
JPS62236778A (en) | Printing control device of line printer | |
JPS61262164A (en) | Printing control apparatus | |
JPS61262165A (en) | Printing control apparatus | |
JPS62179973A (en) | Line printer | |
EP0137463B1 (en) | Daisy wheel type printing device | |
JPH02303876A (en) | Printing control apparatus of line printer | |
JPH0298477A (en) | Printing controller for line printer | |
JPH0696322B2 (en) | Printer | |
JPS5811574Y2 (en) | digital printer drive device | |
JPS6377774A (en) | Printing controller for line printer | |
US3977319A (en) | Drum column printer | |
JPS6043528B2 (en) | electronic typewriter | |
US4911568A (en) | Printer | |
JP2810219B2 (en) | Apparatus for monitoring that predetermined processing is performed on an object that sequentially moves on a passage | |
JPH04239667A (en) | Printing controller of line printer | |
IE54176B1 (en) | Dot matrix printing apparatus | |
JPS63145061A (en) | Printing hammer recovery time checking system | |
JP3106025B2 (en) | Print control apparatus and method | |
JP3021863B2 (en) | Dot matrix printer | |
SU864311A2 (en) | Printing device |