JPS6153073A - Printing system for printer - Google Patents

Printing system for printer

Info

Publication number
JPS6153073A
JPS6153073A JP17524384A JP17524384A JPS6153073A JP S6153073 A JPS6153073 A JP S6153073A JP 17524384 A JP17524384 A JP 17524384A JP 17524384 A JP17524384 A JP 17524384A JP S6153073 A JPS6153073 A JP S6153073A
Authority
JP
Japan
Prior art keywords
speed
printing
font
upper limit
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP17524384A
Other languages
Japanese (ja)
Other versions
JPH0227952B2 (en
Inventor
Junichi Otsuki
大槻 純一
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP17524384A priority Critical patent/JPH0227952B2/en
Publication of JPS6153073A publication Critical patent/JPS6153073A/en
Publication of JPH0227952B2 publication Critical patent/JPH0227952B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime 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
    • B41J19/00Character- or line-spacing mechanisms
    • B41J19/18Character-spacing or back-spacing mechanisms; Carriage return or release devices therefor
    • B41J19/20Positive-feed character-spacing mechanisms
    • B41J19/202Drive control means for carriage movement

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To enhance printing speed, eliminate starting and stopping actions of a printing head and markedly reduce vibration of a printer, by printing at an upper limit speed for a font for which the upper limit of printing speed is lowest, in the case where characters of a font suitable for high-speed printing and characters of a font suitable for low-speed printing are coexistent in a single line. CONSTITUTION:The printing time T in printing at a high speed and a low speed in combination and the printing time T' in totally printing at a low speed are culculated by a CPU2. In addition, the printing time T' in the case of printing a line at a stroke at the upper limit speed for a font for which the upper limit of printing speed is lowest is calculated. When the thus calculated printing time T and printing time T' are in the relation of T<T', the characters in each font are printed at the maximum printing speed for the font, while changing over the printing speed on a font basis. When T>=T', font data (a) and speed designating signals (b) are outputted to I/O port 3 so as to print at the upper limit speed for the font for which the upper limit of printing speed is lowest.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、シリアルインパクトプリンタにおける印字制
御に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to print control in a serial impact printer.

〔従来の技術〕[Conventional technology]

ワイヤドツトマトリックス方式のシリアルインパクトプ
リンタ(以下、プリンタと記す。)において、印字ヘッ
ドのインパクト速度の特性によシ、高速印字が可能でイ
ンパクト周期の長い疎なフォント(以下、高速フォント
と記す。)例えば英数字等と、低、速印字しかできなく
インパクト周期の短い細密フォント(以下、低速フォン
トと記す。)例えば漢字等が混゛在する場合、従来は高
速フォントに対しては高速で印字をすると共に低速フォ
ントに対しては低速で印字をしている。
In wire dot matrix type serial impact printers (hereinafter referred to as printers), high-speed printing is possible due to the impact speed characteristics of the print head, and sparse fonts with long impact cycles (hereinafter referred to as high-speed fonts). For example, when alphanumeric characters, etc., and fine fonts that can only be printed at low speed and have a short impact cycle (hereinafter referred to as low-speed fonts), such as kanji, etc., are mixed, conventionally, high-speed printing is required for high-speed fonts. At the same time, low-speed fonts are printed at low speed.

ここで、第2図に基づいて低速フォント例えば昭和と高
速フォント例えば59とを1行に続けて印字する場合に
ついて説明する。
Here, based on FIG. 2, a case where a low speed font such as Showa and a high speed font such as 59 are printed consecutively on one line will be described.

第2図は印字ヘッドの速度■とその印字及び印字位置X
との関係を示す説明図である。第2図において、低速で
低速フォントの昭和を低速フォント印字区間aで印字し
、印字ヘッドを加速しながら高速フォント印字区間すで
高速フォントの59を印字する。
Figure 2 shows the speed of the print head ■, its printing, and the printing position
FIG. In FIG. 2, the low-speed font Showa is printed in the low-speed font printing section a, and the high-speed font 59 is already printed in the high-speed font printing section while accelerating the print head.

〔発明が解決しようとする問題〕[Problem that the invention seeks to solve]

しかし々から、このような従来例は、近接した低速フォ
ントと高速フォントを一気に印字するために、第1図の
加減速区間Cで高速フォントを印字することに17、イ
ンパクトワイヤに加減速による力が働いて印字字形の乱
れが発生する問題が生じてくる。
However, in order to print a low-speed font and a high-speed font that are close to each other at once, such a conventional example prints a high-speed font in the acceleration/deceleration section C in Figure 117, and applies force due to acceleration/deceleration to the impact wire. This causes a problem in which the printed character shape becomes disordered.

そこで、この問題を解決するために、先ず低速で低速フ
ォントの昭和を印字し、この印字が終了した時点で一旦
印字ヘッドを停止する。そして、この印字ヘッドを印字
すべき文字位置から加速のために必要外助走距離分引き
戻し、その助走区間において印字−\ラドを高速の所定
速度に加速してから高速で高速フォントを印字する。
Therefore, in order to solve this problem, first, the Showa era in a slow font is printed at a low speed, and once this printing is completed, the print head is temporarily stopped. Then, the print head is pulled back from the character position to be printed by an extra necessary run-up distance for acceleration, and in the run-up section, the printing -\rad is accelerated to a high predetermined speed, and then a high-speed font is printed at high speed.

しかしガから、このよう々方法では、印字ヘッドを一旦
停止して助走距離分引き戻してから加速後印字するため
、1行内に高速フォントと低速フォントとが混在してい
る場合、前記速度切替に要する時間のために前記1行を
低速で印字するよシも時間がかかる場合が生じると言う
問題がある。
However, in this method, the print head is stopped once, pulled back by the run-up distance, and then accelerated and then printed. Therefore, when high-speed fonts and low-speed fonts are mixed in one line, the speed switching described above requires There is a problem in that it may take time to print the one line at a low speed because of the time.

本発明は、前記問題を解決するためになされたものであ
り、その目的は、効率よく印字を行うことにより印字速
度の向上をはかると共に印字の信頼性の向上をはかるこ
とにある。
The present invention has been made to solve the above-mentioned problems, and its purpose is to improve the printing speed and the reliability of printing by printing efficiently.

〔問題点を解決するための手段〕[Means for solving problems]

前記した目的を達成するため、本発明は、ある行の印字
の事前に、該行の印字速度の上限値により分類するクラ
ス毎のフォント数と、その印字速度と、その速度切替回
数とにより、各フォントをそれぞれそのクラス最高の印
字速度で速度切替を行い彦から印字する方式の場合の印
字時間Tを算出すると共に、前記行のフォントのうち印
字速度の上限値が最も低いクラスの上限速度で前記行を
印字する方式の場合の印字時間T′を算出する手段と、
前記印字時間Tと印字時間T′との関係に応じて印字方
式を選択し印字する手段とを有することを特徴とする。
In order to achieve the above-mentioned object, the present invention uses the number of fonts for each class classified according to the upper limit of the printing speed of a certain line, the printing speed thereof, and the number of times of speed switching, in advance of printing a certain line. Calculate the printing time T in the case of a method in which each font is switched to the highest printing speed in its class and printed from the top, and the upper limit speed of the class with the lowest upper limit of printing speed among the fonts in the above row is calculated. means for calculating a printing time T' in the case of the method of printing the line;
The present invention is characterized by comprising means for selecting a printing method and printing according to the relationship between the printing time T and the printing time T'.

〔作用〕[Effect]

前記特徴を有する本発明は、1行印字を行う事前に、前
記印字時間Tと印字時間T′とを算出し、この印字時間
Tと印字時間T′との関係が、T<T′のときは各フォ
ントをそれぞれそのクラス最高の印字速度で速度切替を
行いながら前記行を印字し、・またT≧T′のときは前
記行のフォントのうち印字速度の上限値が最も低いクラ
スの上限速度で速度切替を行わず前記行を印字する。
The present invention having the above features calculates the printing time T and the printing time T' before printing one line, and when the relationship between the printing time T and the printing time T' is T<T'. prints the line while switching speeds for each font at the highest print speed in its class, and when T≧T', prints the upper limit speed of the class with the lowest print speed limit among the fonts in the line. to print the line without changing the speed.

〔実施例〕〔Example〕

以下、本発明の一実施例を第1図及び第3図に基づいて
説明する。
Hereinafter, one embodiment of the present invention will be described based on FIGS. 1 and 3.

第1図は1行分の印字処理を示す本実施例のフローチャ
ート、第3図は第1図に示す印字処理を行うだめのハー
ドウェアの一実施例を示すブロック図である。第3図に
おいて、1はメモリで、図示せぬ上位装置よシコード化
した印字データを受取って記憶する。2はCPUで、フ
ォント展開、印字速度の演算及び印字速度制御の各処理
を前記メモリ1に記憶したプログラムに従って行う。3
は工、4ポート、4はプリンタ制御部、5はプリンタ、
6はフォントデータを記憶している読取シ専用メモリで
ある。
FIG. 1 is a flowchart of this embodiment showing printing processing for one line, and FIG. 3 is a block diagram showing an embodiment of hardware for carrying out the printing processing shown in FIG. 1. In FIG. 3, 1 is a memory that receives and stores coded print data from a host device (not shown). 2 is a CPU that performs font development, printing speed calculation, and printing speed control according to a program stored in the memory 1; 3
4 ports, 4 printer control unit, 5 printer,
6 is a read-only memory that stores font data.

次に、前記構成の作用を説明すると、先ず図示せぬ上位
装置によ91行分のコード化した印字データをメモリ1
で記憶する。尚、印字データにおける高速フォントと低
速フォントとのクラス別の指定方法としては、1)文字
コードにょフ決定する。
Next, to explain the operation of the above configuration, first, 91 lines of coded print data are stored in the memory by a host device (not shown).
memorize it. The method of specifying high-speed fonts and low-speed fonts in print data by class is as follows: 1) Determine the character code.

2)高速/低速指定用シフトコードにょシそのコード以
降のフォントを決定する等の方法があるが、本実施例で
はどちらを用いてもよい。
2) There are methods such as determining the font after the shift code for specifying high speed/low speed, but either method may be used in this embodiment.

前記メモリ1に記憶した1行分の印字データのフォント
展開を1行印字の事前にCPU 2で動くソフトウェア
にょシ行う。
Font development of one line of print data stored in the memory 1 is performed by software running on the CPU 2 before printing one line.

このとき、同時に前記行の印字速度の上限値に、1分類
するクラス毎のフォント数とその速度切替回数をカウン
トする。
At this time, at the same time, the number of fonts for each class classified into one class and the number of times the speed is changed are counted as the upper limit value of the printing speed of the line.

前記フォント展開より得たデータによシ高速と低速とを
混合して印字する場合の印字速度Tと、全て低速で印字
する場合の印字速度T′とを前記CPU 2で動くソフ
トウェアで算出する。すなわち、各フォントをそれぞれ
そのクラス最高の印字速度で速度切替を行いながら印字
した場合の印字時間Tは、次式(I)により算出される
Based on the data obtained from the font development, the software running on the CPU 2 calculates a printing speed T when high-speed and low-speed printing is mixed and a printing speed T' when all printing is performed at low speed. That is, the printing time T when each font is printed at the highest printing speed in its class while switching the speed is calculated by the following equation (I).

T=VuNH+VLNc +TC・・−べ■)尚、■H
:高速印字時の印字速度 VL :低速印字時の印字速度 NH:高速フォントの文字数 NL:低速フォントの文字数 Tc :高速と低速との速度切替時間の和また、前記行
のフォントのうち印字速度の上限値が最も低いクラスの
上限速度で前記行を一気に印字した場合の印字時間T′
は、次式(6)によシ算出されるC T′=Vj (NT(+NL )   ・・・・・・(
6)この算出した印字時間Tと印字時間T′との関係が
、T<T′のときは、各フォントをそれぞれそのクラス
最高の印字速度で速度切替を行い々から前記行を印字す
るように、I4ポート3にフォントデータ及び速度指定
を出力する。また、T≧T′のときは、前記行のフォン
トのうち印字速度の上限値が最も低いクラスの上限速度
で前記行を印字するように、I/Qボート3にフォント
データ及び速度指定を出力する。
T=VuNH+VLNc +TC...-be ■) In addition, ■H
: Printing speed VL during high-speed printing : Printing speed during low-speed printing NH : Number of characters in high-speed font NL : Number of characters in low-speed font Tc : Sum of speed switching times between high-speed and low-speed Printing time T' when the above line is printed all at once at the upper limit speed of the class with the lowest upper limit value
is calculated by the following equation (6).
6) If the relationship between the calculated printing time T and printing time T' is T<T', each font is switched to the highest printing speed in its class and the line is printed one after another. , outputs font data and speed designation to I4 port 3. Also, when T≧T', font data and speed specification are output to the I/Q boat 3 so that the line is printed at the upper limit speed of the class with the lowest print speed limit among the fonts in the line. do.

前記強ポート3が読取り専用メモリ6に記憶しているフ
ォントデータ及び速度指定を人力すると、それらの情報
をプリンタ制御部4に出力して該プリンタ制御部4の制
御によシプリンタを作動し、1行分の印字を行う。そし
て、引き続き次の行に対しても前記した動作を順次行う
When the strong port 3 manually inputs the font data and speed specification stored in the read-only memory 6, the information is output to the printer control section 4 and the printer is operated under the control of the printer control section 4; Prints one line. Then, the above-described operations are sequentially performed for the next row as well.

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

前記した如く、本発明に係るプリンタの印字力式によれ
ば、ある行の印字を行う事前に、該行の各フォントをそ
れぞれそのクラス最高の印字速度で速度切替を行いなが
ら印字した場合の印字時間Tを算出すると共に、前記行
のフォントのうち印字速度の上限値が最も低いクラスの
上限速度で速度切替を行わずに前記行を印字した場合の
印字時間T′を算出し、前記印字時間Tと印字時間T′
との関係が、T<T’のときは各フォントをそれぞれそ
のクラス最高の印字速度で速度切替を行いながら前記行
を印字し、またT≧T′のときは前記行のフォントのう
ち印字速度の上限値が最も低いクラスの上限速度で速度
切替を行わずに前記行を印字することによって、1行内
に高速フォントと低速フォントとが混在している場合に
前記行のフォントのうち印字速度の上限値が最も低いク
ラスの上限速度で印字するとき、従来と比べて前記行を
印字する印字速度が向上すると共に、印字ヘッドのスタ
ート及びストップ動作がなくなるためプリンタの振動が
極めて少なくなると言う効果を発揮する。
As described above, according to the printing power formula of the printer according to the present invention, before printing a certain line, each font in the line is printed while switching the speed at the highest printing speed in its class. Calculate the time T, and calculate the printing time T' when the line is printed at the upper limit speed of the class with the lowest printing speed limit among the fonts in the line without speed switching, and T and printing time T'
When the relationship between By printing the line without speed switching at the upper limit speed of the class with the lowest upper limit value, if high-speed fonts and low-speed fonts are mixed in one line, the printing speed of the fonts in the line is When printing at the upper limit speed of the class with the lowest upper limit value, the printing speed for printing the line is improved compared to the conventional method, and the printer's vibration is extremely reduced because the start and stop operations of the print head are eliminated. Demonstrate.

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

第1図は本発明の一実施例を示す1行分の印字処理のフ
ローチャート、第2図は印字ヘッドの速度と時間との関
係を示す従来例の説明図、第3図は第1図に示す印字処
理を行うだめの−・−ドウエアの一実施例を示すブロッ
ク図である。
Fig. 1 is a flowchart of printing processing for one line showing an embodiment of the present invention, Fig. 2 is an explanatory diagram of a conventional example showing the relationship between print head speed and time, and Fig. 3 is similar to Fig. 1. FIG. 2 is a block diagram showing an embodiment of software for performing the printing process shown in FIG.

Claims (1)

【特許請求の範囲】 1、印字速度の上限値が異なる複数クラスのフォントを
印字するワイヤドットマトリックス方式のシリアルイン
パクトプリンタにおいて、 ある行の印字を行う事前に、この行の印字速度の上限値
により分類するクラス毎のフォント数と、その印字速度
と、その速度切替回数とにより、 各フォントをそれぞれのクラス最高の印字速度で速度切
替を行いながら印字した場合の印字時間Tを算出すると
共に、 前記行のフォントのうち印字速度の上限値が最も低いク
ラスの上限速度で速度切替を行わず前記行を印字した場
合の印字時間T′を算出し、前記印字時間Tと印字時間
T′との関係が、T<T′のときは各フォントをそれぞ
れそのクラス最高の印字速度で速度切替を行いながら前
記行を印字し、 またT≧T′のときは前記行のフォントのうち印字速度
の上限値が最も低いクラスの上限速度で速度切替を行わ
ず前記行を印字することを特徴とするプリンタの印字方
式。
[Claims] 1. In a wire dot matrix serial impact printer that prints fonts of multiple classes with different upper limit values of printing speed, before printing a certain line, the upper limit value of the printing speed of this line is set. Based on the number of fonts for each class to be classified, their printing speed, and the number of speed switching, calculate the printing time T when each font is printed at the highest printing speed of each class while switching the speed, and Calculate the printing time T' when the line is printed without speed switching at the upper limit speed of the class with the lowest printing speed upper limit value among the fonts in the line, and calculate the relationship between the printing time T and the printing time T'. However, when T<T', each font is printed at the highest printing speed in its class while switching the speed, and when T≧T', the upper limit of the printing speed among the fonts in the above line is printed. A printer printing method characterized in that the line is printed at the upper limit speed of the lowest class without speed switching.
JP17524384A 1984-08-24 1984-08-24 PURINTANO INJIHOHO Expired - Lifetime JPH0227952B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17524384A JPH0227952B2 (en) 1984-08-24 1984-08-24 PURINTANO INJIHOHO

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17524384A JPH0227952B2 (en) 1984-08-24 1984-08-24 PURINTANO INJIHOHO

Publications (2)

Publication Number Publication Date
JPS6153073A true JPS6153073A (en) 1986-03-15
JPH0227952B2 JPH0227952B2 (en) 1990-06-20

Family

ID=15992760

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17524384A Expired - Lifetime JPH0227952B2 (en) 1984-08-24 1984-08-24 PURINTANO INJIHOHO

Country Status (1)

Country Link
JP (1) JPH0227952B2 (en)

Also Published As

Publication number Publication date
JPH0227952B2 (en) 1990-06-20

Similar Documents

Publication Publication Date Title
US4602880A (en) Dot printing device
US5189730A (en) Apparatus for generating character pattern signals and method for generating same
JPH01101173A (en) Printer
US4523294A (en) Character spaced justification method and apparatus
JPS6153073A (en) Printing system for printer
JPH0577491A (en) Printer device
KR950014201B1 (en) The complex printing method of normal character and bit image
JPH01275152A (en) Dot printer
JPH0214167A (en) Printing system
JPH01208155A (en) Dot matrix printer
JPH01310968A (en) High speed printing of printer
JPS6399963A (en) Printing control circuit
JPH03220624A (en) Optimum control system for printer
JPH01108061A (en) Serial dot matrix printer
JP3370838B2 (en) Character data generator
JP3083406B2 (en) Printing method and apparatus
JPH023334A (en) Control system of printer
JPH0276757A (en) Dot control system
JPS6328663A (en) Impact-type dot printer with noise reduction function
JPS6235855A (en) Printing apparatus
JPS63300318A (en) Printer controller
JPH02235773A (en) Printer
JPS6124484A (en) Space control system for printer
JPH02258265A (en) Recording head drive control system
JPH0419167A (en) Printer

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term