JPS5932036A - Print controller - Google Patents

Print controller

Info

Publication number
JPS5932036A
JPS5932036A JP14236782A JP14236782A JPS5932036A JP S5932036 A JPS5932036 A JP S5932036A JP 14236782 A JP14236782 A JP 14236782A JP 14236782 A JP14236782 A JP 14236782A JP S5932036 A JPS5932036 A JP S5932036A
Authority
JP
Japan
Prior art keywords
printing
head
print
space
print data
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
JP14236782A
Other languages
Japanese (ja)
Inventor
Yukio Tsuneki
常木 幸男
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Tokyo Shibaura Electric Co 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 Toshiba Corp, Tokyo Shibaura Electric Co Ltd filed Critical Toshiba Corp
Priority to JP14236782A priority Critical patent/JPS5932036A/en
Publication of JPS5932036A publication Critical patent/JPS5932036A/en
Pending 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)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To improve the effective processing time of a CPU and at the same time to increase the buffer effective region of a picture element memory, by performing the space printing only with a shift of carriage without feeding the space data to a printing head. CONSTITUTION:A CPU1 feeds the print data to a head controller 4 in response to a print data request signal (g). While a memory 2 stores a working program and the print data of the CPU1. A motor control part 3 controls the paper feed as well as a carriage motor which feeds a print head 8, and a head control part 4 performs printing with the head 8 on the basis of the print data given from the CPU1. An interruption request for transmission of print data is not necessary to the CPU1 in a space section where the head 8 has no need for printing. Therefore, it is possible for the CPU1 to perform other processing. This device improves the system efficiency.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は印字制御装置に係り、特に中央制御部(以下、
CPUと称する)の印字処理に要する専有時間を減少す
るに好適な印字制御装置?こ関する。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to a printing control device, and particularly to a central control unit (hereinafter referred to as
A print control device suitable for reducing the dedicated time required for print processing by a CPU (referred to as a CPU)? Regarding this.

〔発明の技術的背景及びその問題点〕[Technical background of the invention and its problems]

一般に、シリアルドツトマトリクスプリンタは専用のマ
イクロプロセッサによるコントロールが行ガわれるが、
近年に於ける印字速度の高速化機能の増加、印字の高品
質化等に伴ないマイクロプロセッサの負担が増大してき
ている。例えば、キャリッジモータが動作し、印字が行
なわれている間もデータ転送等のサービスが必要tこな
る場合があるが、これに対しては割込やポーリング等で
対処する必要がある。この為に、CPUはこれらの処理
やサーチの為に時間を要することとなり、処理速度の向
上には限界があった。
Generally, serial dot matrix printers are controlled by a dedicated microprocessor.
In recent years, the burden on microprocessors has increased as functions for increasing printing speeds and printing quality have increased. For example, while the carriage motor is operating and printing is being performed, services such as data transfer may be required, and it is necessary to deal with this by using interrupts, polling, or the like. For this reason, the CPU requires time for these processes and searches, and there is a limit to the improvement in processing speed.

一方、従来の印字制御に於いては、例えば第1図(イ)
の説明図の印字例に示す如く、文字と文字の間に例も印
字しないスペース82部分から成るスペース区間T81
)があっても、各スペースs p yt−それぞれ1個
の文字として取り扱っている為、第1図0()のタイム
チャートに示す如く印字の為の印字ヘッドを送るギヤリ
ッジモータが加速して所定の文字列を印字する定速区間
を経て減速するまでの間に、文字印字、スペースのいず
itに対してもCPUは同様な印字処理動作を行なって
いた。この為に、CPUは印字ヘッドが印字を行う必要
のないスペース8P区間に於いても印字ヘッドにスペー
スデータを送出する必要がらり、CPUの負担や処理時
間を考えた場合に大きな無駄となっていた。
On the other hand, in conventional printing control, for example,
As shown in the printing example in the explanatory diagram, a space section T81 consists of 82 spaces where no example is printed between characters.
), each space is treated as one character, so the gear ridge motor that sends the print head for printing accelerates as shown in the time chart in Figure 1 (0). The CPU performs similar printing processing operations for both character printing and space printing until the speed is decelerated after passing through a constant speed section during which a predetermined character string is printed. For this reason, the CPU has to send space data to the print head even in the space 8P section where the print head does not need to print, which is a big waste when considering the load on the CPU and processing time. .

〔発明の目的〕[Purpose of the invention]

従って、本発明の目的は上記従来技術の欠点を除去し、
スペース印字に於いてスペースデータを印字ヘッドに送
出する小なくキャリッジ送りのみを行なわせる事でこれ
を実施する事により、CPUに対するスペースデータの
要求を不要とし、CPUの有効処理時間を向上させると
共に画素メモリのバッファ有効領域を拡大する事を可能
ならしめた印字制御装置を提供するlこある。
Therefore, the object of the present invention is to eliminate the drawbacks of the above-mentioned prior art and
In space printing, this is done by only sending the space data to the print head and only sending the carriage. This eliminates the need for the CPU to request space data, improves the CPU's effective processing time, and improves the pixel processing time. The present invention provides a print control device that makes it possible to expand the effective buffer area of memory.

〔発明の概要〕[Summary of the invention]

上記目的を達成するために、本発明の印字制御装置は印
字を行う印字ヘッドを制御するヘッドコントロール手段
と、印字の周期を決定する第1の手段と、第1の手段の
出力に基いて中央制御部にヘッドコントロール部に対す
る印字データの送出を要求すべく割込[号を発生する第
2の手段と、スペース区間に於いて第2の手段から中央
制御部に送出てれる割込信号を禁止する第3の手段とか
ら4’7&成されている。
In order to achieve the above object, the printing control device of the present invention includes a head control means for controlling a print head that performs printing, a first means for determining the printing period, and a central control device based on the output of the first means. a second means for generating an interrupt signal to request the control section to send print data to the head control section; and prohibiting an interrupt signal sent from the second means to the central control section in the space section. and the third means to do so.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を図面を参照しながら説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第2図は本発明の一実施例に係る印字制御装置のブロッ
ク図である。CPUIは印字制御に係る全ての部分をコ
ントロールするもので、印字データ要求信号gに基き印
字データをヘッドコントロール部4に送出する作用を有
する。一方、メモリ2はCPUIの動作プログラム及び
印字データを(−3納している。また、モータコントロ
ール部3は印字ヘッド8を送る図示しないキャリッジモ
ータ(パルスモータ)や紙送り叫の制御を行ない、ヘッ
ドコントロール部4はCP ’U 1からの印字データ
に基いて印字ヘッド8を副側1して必要な印字を行なわ
せる作用を有する。カウンタ50はへッドコントロール
部4からの印字開始全知らせる信号aの入力を受けて、
連続した文字の印字に必要な印字周期全決定して、これ
に対応するイぎ号すを送出する。控だ、カウンタ51は
プログラマグルカウンタ50からの信号bf:受けて印
字ヘッド8の励磁時間に対応する信号cf送出する。更
に、カウンタ52はスペース区間を設定し、スペース区
間の始まりを表わす・1号dが入力されてからスペース
1メ間を示す信号6 音出力する。ゲート6はカウンタ
51からの4M’−’8’ Cに基きCP ’U 1に
対して印字の為のデータ要求の割込イハ゛号gを送出す
る作用を有し、インパーク7はカウンタ52からのスペ
ース区間を示す信号eを反転して信号fとしてゲート6
に与える作用を有する。
FIG. 2 is a block diagram of a print control device according to an embodiment of the present invention. The CPUI controls all parts related to print control, and has the function of sending print data to the head control section 4 based on the print data request signal g. On the other hand, the memory 2 stores CPUI operating programs and print data (-3).Moreover, the motor control section 3 controls the carriage motor (pulse motor, not shown) that sends the print head 8 and the paper feed. The head control section 4 has the function of causing the print head 8 to perform the necessary printing based on the print data from the CP'U 1.The counter 50 notifies all print starts from the head control section 4. Upon receiving the input of signal a,
The entire printing cycle required for printing consecutive characters is determined, and the corresponding key code is sent out. On the other hand, the counter 51 receives the signal bf from the programmable counter 50 and sends out a signal cf corresponding to the excitation time of the print head 8. Furthermore, the counter 52 sets a space section, and outputs a signal 6 tones representing the start of the space section and indicating the interval of space 1 after input of No. 1 d. The gate 6 has the function of sending an interrupt high signal g for a data request for printing to the CP 'U 1 based on the 4M'-'8'C from the counter 51, and the impark 7 has the function of sending an interrupt high signal g for a data request for printing to the CP 'U1 based on the 4M'-'8'C from the counter 51. The gate 6 inverts the signal e indicating the space section of and outputs it as a signal f.
It has the effect of giving

かかる構成に於いて、次にその詳細なTjD+作を第3
図(a)〜(ロ))のタイムチャートに従って説明する
In this structure, the detailed TjD+ work will be shown in the third section.
This will be explained according to the time charts shown in FIGS. (a) to (b).

ちなみに、第3図(a)〜(g)はそれぞれ第2図のブ
ロック図におけるイキ号a−gの波形に対応するもので
ある。
Incidentally, FIGS. 3(a) to 3(g) correspond to the waveforms of numbers a to g in the block diagram of FIG. 2, respectively.

印字を開始するに肖ってCPUIからモータコントロー
ル部3にキャリッジモータの起動信号が与えられると印
字ヘッド8の送シが開始されるが、これが定速状態に達
するとヘッドコントロール部4よりその事を示す信号a
が送出される。この信号a′fr、受けたカウンタ50
はキャリッジ速度と印字間隔で決定される印字周期に対
応した時間信号すの周期的な出力を開始する。印字周期
で出力される信号すはカウンタ51に4釆られるが、信
号す全受けたカウンタ51は印字ヘッド8が1文字分の
印字を行うのに必要な励磁時間をカウントして、CPU
Iに対するデータ要求の為の割込の基本となる信号Cf
送出する。なお、ヘッドコントロール部4はスペースに
対応する印字時には信号dを送出するが、この1寺にカ
ウンタ52はCPUIよシスペース区間をプリ七ットさ
れ、この区間分の信号Cをカウントアツプするまでその
出力である信号eをロウレベルとする。その結果、イン
バータ7の出力である信号fはスペース区間でハイレベ
ルとなる。一方、ヘッドコントロール部4よシスペース
区間の開始を示す信号dが送出されない場合、カウンタ
52はその出力である信号eをハイレベルに保持するた
め、インバータ7の出力信号fはロウレベルとされる。
At the start of printing, when a carriage motor start signal is given from the CPU to the motor control section 3, the print head 8 starts to feed, but when it reaches a constant speed, the head control section 4 sends a signal to start the carriage motor. signal a indicating
is sent. This signal a'fr is received by the counter 50.
starts periodic output of a time signal corresponding to the print cycle determined by the carriage speed and print interval. Four signals output in each print cycle are stored in a counter 51, and the counter 51 that receives all the signals counts the excitation time required for the print head 8 to print one character, and then
Signal Cf that is the basis of interrupt for data request to I
Send. Note that the head control unit 4 sends out a signal d when printing corresponding to a space, but at this point the counter 52 is preset by the CPU to the space interval, and the counter 52 continues to count up the signal C for this interval. The output signal e is set to low level. As a result, the signal f, which is the output of the inverter 7, becomes high level in the space section. On the other hand, when the head control unit 4 does not send out the signal d indicating the start of the space interval, the counter 52 maintains its output signal e at a high level, so that the output signal f of the inverter 7 is set at a low level.

従って、ゲート6はスペース以外の文字印字時にはカウ
ンタ51からの信号Cを印字データ要求の割込信号gと
してCPUIに送出し、必要な文字の印字に要求される
割込動作、つまりヘッドコントロール部4に対する印字
データの送出動作を行なわせる。一方、スペースの印字
区間に於いては、カウンタ52が動作してゲート6から
印字データ要求(g号gが出力されるのを禁止するため
、CPUIに印字データ送出のための割込がかがらず、
従って印字ヘッド8はこのスペース区間に於いては伺の
印字も行なわず、キャリッジのみがスペース区間分空送
シされることとなる。
Therefore, when printing characters other than spaces, the gate 6 sends the signal C from the counter 51 to the CPUI as the print data request interrupt signal g, and performs the interrupt operation required to print the necessary character, that is, the head control unit 4. The print data is transmitted to the target. On the other hand, in the space printing section, the counter 52 operates to prohibit the output of the print data request (g, g) from the gate 6, so an interrupt is generated to the CPUI to send the print data. figure,
Therefore, the print head 8 does not perform any printing in this space section, and only the carriage is moved by the space section.

つまシ、第2図の如き+1”り成に於いては、印字ヘッ
ド8が印字動作を行なう必要のないスペース区間ではC
PUに対する印字データ送出のliqυ込要求が入らな
いため、その間にCPUIは他の各鍾処理、例えばデー
タ転送処理を行う事が可能となり、システム効率を高め
る事が可能である。一方、従来は1文字分のデータとし
て取り扱われていたスペース文字を画集用のバッファメ
モリに格納する必要がなくなるため、バッファメモリの
利用効率が高まり、メモリ領域を多く要求される高品質
印字、例えば漢字文字の印字に容易に対処することが可
能となる。
In the case of +1" printing as shown in Fig. 2, C is used in the space section where the print head 8 does not need to perform printing operation.
Since there is no request to send print data to the PU, the CPU can perform other processing such as data transfer processing during this time, making it possible to improve system efficiency. On the other hand, since it is no longer necessary to store space characters, which were conventionally treated as one character's worth of data, in the buffer memory for art books, the efficiency of buffer memory usage increases, and high-quality printing that requires a large amount of memory space, such as It becomes possible to easily handle the printing of Kanji characters.

〔発明の効果〕〔Effect of the invention〕

以上述べた如く、本発明によれば、印字に当って印字デ
ータを必要としないスペース区間に於いては、CPUに
対する文字データ要求の割込を禁止してキャリッジの空
送りのみを行なわせることにより、CI)TJが他の処
理を行なうことを可能ならしめ、CPUの利用効率を高
めると共に各種の処Jllll速度の向上に効果的な印
字制御装置を得ることが出来るものである。
As described above, according to the present invention, in a space section in which no print data is required for printing, interrupts of character data requests to the CPU are prohibited and only the carriage is moved in a blank manner. , CI) TJ can perform other processing, thereby increasing the utilization efficiency of the CPU and providing a printing control device that is effective in increasing the speed of various processing.

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

第1図囚は印字例の説明図、 第1図(B)は第1図の印字例に対応するキャリッジモ
ータの速度を示すタイムチャート、第2図は本発明の一
実施例に係る印字1ljlJ御装置のブロック図、 第3図(a)〜(g)は第21剤の各m号の動作を示す
タイムチャートである。 1・・・C1)U、2・・・メモリ部、3・・・モーフ
コントロール部、4・・・ヘッドコントロール131(
、50,51,52・・・プログラマブルカウンタ、8
・・・印字ヘッド。 111願人代理人  猪 股    f+″f219
FIG. 1(B) is an explanatory diagram of a printing example, FIG. 1(B) is a time chart showing the speed of the carriage motor corresponding to the printing example in FIG. 1, and FIG. The block diagram of the control device and FIGS. 3(a) to 3(g) are time charts showing the operation of each item m of the 21st agent. 1... C1) U, 2... Memory section, 3... Morph control section, 4... Head control 131 (
, 50, 51, 52... programmable counter, 8
...Print head. 111 Applicant's Agent Ino Mata f+″f219

Claims (1)

【特許請求の範囲】 1、印字ヘッドを制御するヘッドコントリール手段と、
印字の周期を決定する第1の手段と、第1の手段の出力
に基いて中央制御部にヘッドコントロール部に対する印
字データの送出全要求すべく割込信号を発生する第2の
手段と、印字スペース区間に於いて第2の手段から中央
制御部に送出される割込信号を要求すべく割込信号を発
生する第2の手段と、印字スペース区間に於いて第2の
手段から中央制御1’jlSに送出される割込(,4号
を禁止する第3の手段とから伐る事を特徴とする印字制
御装ftt 0 2、第3の手段が印字スペース区間、長全プリセットさ
れ、印字スペース区間の開始時点より動作するカウンタ
によって制御されるゲート回路から成る特許請求の範囲
第1項に記載の印字制御装置。
[Claims] 1. Head control means for controlling the print head;
a first means for determining a printing cycle; a second means for generating an interrupt signal to request the central control section to send all print data to the head control section based on the output of the first means; second means for generating an interrupt signal to request an interrupt signal to be sent from the second means to the central control unit in the space interval; 'jlS is sent to an interrupt (, No. 4) The third means for inhibiting the print control device ftt 0 2, the third means is the print space section, the entire length is preset, and the print space is The printing control device according to claim 1, comprising a gate circuit controlled by a counter that operates from the start of the section.
JP14236782A 1982-08-17 1982-08-17 Print controller Pending JPS5932036A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14236782A JPS5932036A (en) 1982-08-17 1982-08-17 Print controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14236782A JPS5932036A (en) 1982-08-17 1982-08-17 Print controller

Publications (1)

Publication Number Publication Date
JPS5932036A true JPS5932036A (en) 1984-02-21

Family

ID=15313732

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14236782A Pending JPS5932036A (en) 1982-08-17 1982-08-17 Print controller

Country Status (1)

Country Link
JP (1) JPS5932036A (en)

Similar Documents

Publication Publication Date Title
JP3055917B2 (en) Data transfer control device
US5623675A (en) Printing system, and method of receiving and processing interrupt request in printer
JPH1083314A (en) Electronic device of multi-function parallel processing type
JPS5932036A (en) Print controller
JPS60200353A (en) Control system of input and output device
JPH10254721A (en) Printing device, interruption request processing method and storage medium
JP3027849B2 (en) Printing device
JPS61104860A (en) Reduction printer
JPS63312845A (en) Page managing system
JPS5936314B2 (en) Display device control method
JPS6316766A (en) Printing device
JPS59123987A (en) Print data developing method of image memory
JPH04294182A (en) Printer
JPS5616357A (en) Facsimile device
JPS6399963A (en) Printing control circuit
JPH04130945A (en) Information processor
JPH111048A (en) Printing control method and printing apparatus
JPS63137880A (en) Print interval control circuit
JPH0361562A (en) Printer
JPH04201471A (en) Controller of page printer
JPH01210991A (en) Busy control circuit for display device
JPS58117037A (en) Print controller
JPS5697154A (en) Interruption control system for information processor
JP2002144646A (en) Memory control method and unit in printer system
JPH0628124A (en) Image processor