JPS6377774A - Printing controller for line printer - Google Patents

Printing controller for line printer

Info

Publication number
JPS6377774A
JPS6377774A JP61221118A JP22111886A JPS6377774A JP S6377774 A JPS6377774 A JP S6377774A JP 61221118 A JP61221118 A JP 61221118A JP 22111886 A JP22111886 A JP 22111886A JP S6377774 A JPS6377774 A JP S6377774A
Authority
JP
Japan
Prior art keywords
printing
print
test
column
printed
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
Application number
JP61221118A
Other languages
Japanese (ja)
Inventor
Kazuya Takagi
和也 高城
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP61221118A priority Critical patent/JPS6377774A/en
Publication of JPS6377774A publication Critical patent/JPS6377774A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To enable optimal test printing by designating a printing column by means of a switch according to the width of a print sheet attached to a line printer, and generating test data matched to the sheet. CONSTITUTION:When a test printing is executed, a column to be printed is designated by the attaching state of a print sheet 11 by a printing column designation switch 15. Then, information 15a is applied to a test printing control circuit 2. The control circuit 2 controls the generation of test printing data on the basis of a column to be printed. That is, a signal 2a is so supplied and designated to a test printing data generation circuit 4 to generate a printing data code to the column to be printed. The generation circuit 4 generates a blank code in a column except the column to be printed and a printing data code in the column to be printed, and feeds the signal to a printing data memory 5. When data of one column are fed to the memory 5, a printing operation is executed only on the column to be printed attached with a print sheet.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ラインプリンタの印字制御装置に関し、特に
テスト印字機能を持ったラインプリンタの印字制御装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a print control device for a line printer, and particularly to a print control device for a line printer having a test printing function.

[゛従来の技術〕 従来、ラインプリンタの印字制御装置においては、テス
ト印字機能がないか、又はあったとしても、印字出力さ
れるテストパターンは、ラインプリンタに装着された印
字用紙の幅に関係なく、常にその装置の最大印字桁数、
又は−電析に印字していfS6 [発明が解決しようとする問題点〕 上述した従来のラインプリンタの印字制御装置は、幅の
狭い印字用紙を使用している時に、テスト印字を実行す
ると、印字用紙がない所に印字してしまういわゆる空打
ち現象か発生し7、印字ハンマ、活字ドラム及びインク
リボンの寿命に悪影響をIj〜えている等の欠点がある
。本発明のLI的はこのような不具合をなくし、ライン
プリンタに装着された印字用紙の幅によって印字桁をス
イッチで指定し、印字用紙に合ったテストデータを発生
ずる事により、最適なテスト印字ができるようにしたラ
インプリンタの印字制御装置を提供することにある。
[Prior Art] Conventionally, print control devices for line printers do not have a test printing function, or even if they do, the test pattern to be printed out is related to the width of the printing paper loaded in the line printer. always the maximum number of printable digits for that device,
or - Printing on electrodeposition fS6 [Problems to be solved by the invention] The print control device of the conventional line printer described above does not print when performing test printing when using narrow printing paper. There are drawbacks such as the occurrence of a so-called blank printing phenomenon in which printing occurs in areas where there is no paper, which has an adverse effect on the lifespan of the printing hammer, type drum, and ink ribbon. The LI aspect of the present invention eliminates such problems and allows optimal test printing by specifying the printing digit with a switch according to the width of the printing paper loaded in the line printer and generating test data that matches the printing paper. An object of the present invention is to provide a printing control device for a line printer that enables the following.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。第
1図において、本実施例は活字ドラム13と複数の印字
ハンマ10とで印字を行うラインプリンタにおいて、上
位装置からの印字指令により印字データを送出する外部
データ源3と、この印字データを記憶する印字データメ
モリ5と、活字ドラムの回転を検出する同期パルス検出
機構14と、この同期パルスにより活字コードを発生す
る活字コード発生回路6と、印字データメモリ5からの
印字データコ・−ドと活字コード発生回路6からの活字
コードとを比較する比較回路7と、比較回路の比較結果
を入力するシフトレジスタ8と、シフl−レジスタ8の
内容にj:り印字ハンマ10を駆動するハンマ駆動回路
9とを含み、更にナス1〜印字スイッヂ1と、印字桁指
定スイッチ15と、両スイッヂ1.15に接続されたテ
スト印字制御回路2と、テスト印字制御回路2に制御さ
れ、印字データメモリ5にテスト印字データを供給する
テスト印字データ発生回路4とを含む。
FIG. 1 is a block diagram showing one embodiment of the present invention. In FIG. 1, this embodiment is a line printer that prints using a type drum 13 and a plurality of printing hammers 10, and includes an external data source 3 that sends out print data in response to a print command from a host device, and stores this print data. a synchronous pulse detection mechanism 14 that detects the rotation of the type drum, a type code generation circuit 6 that generates a type code using the synchronized pulses, and a print data code and type data from the print data memory 5. A comparison circuit 7 that compares the printed code from the code generation circuit 6, a shift register 8 that inputs the comparison result of the comparison circuit, and a hammer drive circuit that drives the printing hammer 10 by adding j to the contents of the shift register 8. 9, and is further controlled by the test print control circuit 2 connected to the eggplant 1 to print switch 1, the print digit designation switch 15, and both switches 1 and 15, and the print data memory 5. and a test print data generation circuit 4 for supplying test print data to the test print data.

まず、通常の印字動作について説明すると、ラインプリ
ンタは、外部データ源3から送られて来る1桁分の印字
データ3aを印字データメモリ5に記憶させる。一方活
字ドラム13は一定速度で回転し、活字の移動位置に同
期して出力する同期パルスを発生し、そのパルスが、同
期パルス検出機m14で検出され、そのパルス14 a
として活字コード発生回路6に加える。これによって活
字コード発生回路6には常に印字ハンマ10の前に来て
いる活字と対応した活字コードが保持されている。1桁
分の印字データを受信すると比較回路7は、印字データ
メモリ5の出力コード5aと、活字コード発生回路6の
出力コード6aを比較し、比較結果を信号7aとしてシ
フトレジスタ8に加える。シフトレジスタ8には各印字
桁の比較結果が格納され、その出力は、ハンマ駆動回路
9に加えられる。ハンマ駆動回路9は、印字ハンマ10
を駆動し、印字ハンマ10は、印字用紙11及びインク
リボン12を介して活字ドラム13上の活字をたたき印
字が行なわれる。
First, the normal printing operation will be explained. The line printer stores one digit worth of print data 3a sent from the external data source 3 in the print data memory 5. On the other hand, the type drum 13 rotates at a constant speed and generates a synchronous pulse that is output in synchronization with the moving position of the type, and this pulse is detected by the synchronous pulse detector m14, and the pulse 14 a
It is added to the printed code generation circuit 6 as As a result, the printed character code generating circuit 6 always holds the printed character code corresponding to the printed character coming before the printing hammer 10. Upon receiving one digit worth of print data, the comparison circuit 7 compares the output code 5a of the print data memory 5 with the output code 6a of the print code generation circuit 6, and adds the comparison result to the shift register 8 as a signal 7a. The shift register 8 stores the comparison results for each print digit, and its output is applied to the hammer drive circuit 9. The hammer drive circuit 9 drives the printing hammer 10
The print hammer 10 strikes the type on the type drum 13 via the print paper 11 and the ink ribbon 12 to perform printing.

次にテスト印字動作について説明すると、操作員は印字
用紙11の装着状態によって、印字したい桁を印字桁指
定スイッチ15によって指定する。例えばラインプリン
タは1桁から132桁抜での132個のハンマ10を有
しており、今254mm(1,0インチ〉幅の印字用紙
11が装着されており、印字ハンマ10の10桁目から
100桁目の間に印字したいと仮定すると、操作員は印
字桁指定スイッチ15を操作して、10桁〜100桁ま
で印字するという情報1.5 aをナス1〜印字制御回
路2へ加える。次に操作員はテスト印字スイッチ1を押
下し、テスト印字起動要求1aをテスト印字制御回路2
へ加える。
Next, the test printing operation will be described. The operator specifies the digit to be printed using the printing digit designation switch 15 depending on the mounting state of the printing paper 11. For example, a line printer has 132 hammers 10 from the 1st digit to the 132nd digit, and a printing paper 11 with a width of 254 mm (1.0 inch) is currently installed, and from the 10th digit of the printing hammer 10, Assuming that it is desired to print between the 100th digit, the operator operates the printing digit designation switch 15 to add information 1.5a indicating that digits 10 to 100 are to be printed to the eggplant 1 to print control circuit 2. Next, the operator presses the test print switch 1 and sends a test print start request 1a to the test print control circuit 2.
Add to.

テスト印字制御回路2は、印字桁に基すいて、テスト印
字データの発生を制御する。すなわち1桁〜9桁と10
1桁〜132桁にはブランクコードを、10桁〜100
桁には、印字データコードを発生ずるよう信号2aをテ
スト印字データ発生回路4に供給し、指令する。テスト
印字データ発生回路4は、1桁〜9桁まではブランクの
コード、10桁〜100桁までは印字データコード、1
01〜132桁まではブランクコードを発生し、その信
号4aを印字データメモリ5に送る。
The test print control circuit 2 controls the generation of test print data based on the print digit. i.e. 1 digit to 9 digits and 10
Blank code for 1st to 132nd digits, 10th to 100th digits
For the digit, a signal 2a is supplied to the test print data generation circuit 4 to instruct it to generate a print data code. The test print data generation circuit 4 generates a blank code for the 1st to 9th digits, a print data code for the 10th to 100th digits, and a blank code for the 10th to 9th digits.
A blank code is generated for digits 01 to 132, and the signal 4a is sent to the print data memory 5.

印字データメモリ5に1桁分のデータが送られると、前
記の印字の場合と同様にして印字動作が実行される。こ
の場合印字用紙が装着された印字桁のみに、印字動作が
実行され、印字用紙が装着されていない印字桁への印字
は、ブランクコードにより禁止されるので空打ちが防止
でき印字用紙の装着状態に合った最適なテスト印字が行
なわれることになる。
When one digit worth of data is sent to the print data memory 5, the printing operation is executed in the same manner as in the case of printing described above. In this case, the printing operation is performed 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 installed state The most suitable test printing will be performed.

〔発明の効果〕 以上説明したように、本発明は、ラインプリン6一 夕に印字桁指定スイッチを設け1.二の情報と連動して
テストデータを発生させることにより、印字用紙が装着
されていない印字桁の印字が禁止され、印字ハンマ、活
字ドラム及びインクリボンの寿命に悪影響を与えない効
果がある。
[Effects of the Invention] As explained above, the present invention provides a print digit designation switch in the line printer 6, and 1. By generating the test data in conjunction with the second information, printing on the printing digits to which no printing paper is attached is prohibited, and there is an effect that the life of the printing hammer, type drum, and ink ribbon is not adversely affected.

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

第1図は本発明の一実施例を示すブロック図である。 FIG. 1 is a block diagram showing one embodiment of the present invention.

Claims (1)

【特許請求の範囲】[Claims] 上位装置からの印字指令により、データ源から送られる
印字データコードと、活字の移動位置に対応した活字コ
ードとを逐次比較して、一致していれば当該桁の印字ハ
ンマを駆動して印字するラインプリンタにおいて、テス
ト印字を起動するためのテスト印字スイッチと、印字す
る桁を指定する印字桁指定スイッチと、前記テスト印字
スイッチと、前記印字桁指定スイッチにより、テスト印
字を制御するテスト印字制御回路と、前記テスト印字制
御回路の指令により、印字すべきテストデータを発生す
るテスト印字データ発生回路とを有することを特徴とす
るラインプリンタの印字制御装置。
In response to a print command from a host device, the print data code sent from the data source is successively compared with the print code corresponding to the moved position of the print character, and if they match, the print hammer of the relevant digit is driven to print. In a line printer, a test print switch for starting test print, a print digit designation switch for designating the digit to be printed, a test print control circuit that controls test printing by the test print switch and the print digit designation switch. and a test print data generation circuit that generates test data to be printed according to a command from the test print control circuit.
JP61221118A 1986-09-19 1986-09-19 Printing controller for line printer Pending JPS6377774A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61221118A JPS6377774A (en) 1986-09-19 1986-09-19 Printing controller for line printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61221118A JPS6377774A (en) 1986-09-19 1986-09-19 Printing controller for line printer

Publications (1)

Publication Number Publication Date
JPS6377774A true JPS6377774A (en) 1988-04-07

Family

ID=16761754

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61221118A Pending JPS6377774A (en) 1986-09-19 1986-09-19 Printing controller for line printer

Country Status (1)

Country Link
JP (1) JPS6377774A (en)

Similar Documents

Publication Publication Date Title
US5454653A (en) Printing device having record medium feed means
JPS58160181A (en) Printing apparatus
JPS6151353A (en) Dot matrix type serial printer
US5028157A (en) Printer having an erasing mechanism
JPS6377774A (en) Printing controller for line printer
JPS61262165A (en) Printing control apparatus
JPH0298477A (en) Printing controller for line printer
US5147143A (en) Printer carriage homing mechanism
JPH04239667A (en) Printing controller of line printer
JPS58116185A (en) Printer
JPS61262164A (en) Printing control apparatus
KR100238596B1 (en) Image forming device with function settling printing condition
JPH0696322B2 (en) Printer
JPS60208156A (en) Picture printer
JPS628317B2 (en)
JPS60187555A (en) Printing method
JPH02303876A (en) Printing control apparatus of line printer
JPH0250875A (en) Printing controller in line printer
JPS62236778A (en) Printing control device of line printer
JPS6398455A (en) Control system for power conduction
JPS63145061A (en) Printing hammer recovery time checking system
JPS61258765A (en) Printer
JPS62179973A (en) Line printer
JPH0475828B2 (en)
JPH06246952A (en) Thermal printer