JPS58168577A - Apparatus for controlling blank pattern - Google Patents

Apparatus for controlling blank pattern

Info

Publication number
JPS58168577A
JPS58168577A JP5135982A JP5135982A JPS58168577A JP S58168577 A JPS58168577 A JP S58168577A JP 5135982 A JP5135982 A JP 5135982A JP 5135982 A JP5135982 A JP 5135982A JP S58168577 A JPS58168577 A JP S58168577A
Authority
JP
Japan
Prior art keywords
blank
dots
character
pattern
width
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
JP5135982A
Other languages
Japanese (ja)
Inventor
Hiroyuki Aoki
宏之 青木
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 JP5135982A priority Critical patent/JPS58168577A/en
Publication of JPS58168577A publication Critical patent/JPS58168577A/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
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/485Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by the process of building-up characters or image elements applicable to two or more kinds of printing or marking processes
    • B41J2/505Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by the process of building-up characters or image elements applicable to two or more kinds of printing or marking processes from an assembly of identical printing elements

Landscapes

  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To provide the titled apparatus capable of properly arranging a blank part even if the dot number of the blank part is an odd number, obtained by dividing odd number dots constituting the blank part between all square style letters into even number dots and odd number dots by a blank dot indicating part to properly distribute the same. CONSTITUTION:CPU1 receives and transmits a signal of each part through a buss 10 by carrying out a program accommodated in ROM6 processed by a blank dot indicating part 5 in a firm wear form and carries out the control of each part. A blank pattern generating part 4 carries out the generation of a dot constituting the space between letter patterns by controlling the indicating part 5.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、ドツトマトリクスプリンタに於ける、文字パ
ターン間のブランク部を構成するドツト数を適切に制御
する装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a device for appropriately controlling the number of dots forming blank portions between character patterns in a dot matrix printer.

〔発明の技術的背景〕[Technical background of the invention]

例えば、第1図に示されるように、従来のドツトマトリ
クスプリンタが全角文字「漢」と全角文字「字」とを印
字する際、これら全角文字間のブランク部を構成するド
ツト数を6ドツトとする。
For example, as shown in Figure 1, when a conventional dot matrix printer prints the full-width character ``kan'' and the full-width character ``ji'', the number of dots that make up the blank area between these two-width characters is 6 dots. do.

これに対して、半角文字「1」と半角文字「2」とを印
字する際には、これら半角文字間のブランク部を構成す
るドツト数は3ドツトとなる。
On the other hand, when printing the half-width character "1" and the half-width character "2", the number of dots forming the blank area between these half-width characters is three.

つまジ、ドツトマトリクスプリンタが横書きで半角文字
の印字を行なう場合には、半角文字間のブランク部を構
成するドツト数を、全角文字間のブランク部を構成する
ドツト数の半分としている。
When a dot matrix printer prints half-width characters horizontally, the number of dots forming the blank areas between half-width characters is half the number of dots forming the blank areas between full-width characters.

従って、全角文字及び半角文字間を構成するブランク部
のドツト数は適切に配分され、又、全角文字と半角文字
とが混在するようなことがあっても、調和のとれた文字
配置が得られるものである。
Therefore, the number of dots in the blank area between full-width and half-width characters is distributed appropriately, and even if full-width and half-width characters are mixed, a harmonious character arrangement can be obtained. It is something.

〔背景技術の問題点〕[Problems with background technology]

ところが、従来のドツトマトリクスプリンタ装置では、
半角文字間のブランク部を構成するドツト数を全角文字
間のブランク部を構成しているドツト数の半分とする為
に、全角文字間のブランク部を構成するドツト数を偶数
として印字している。
However, with conventional dot matrix printers,
In order to make the number of dots forming the blank area between half-width characters half the number of dots forming the blank area between full-width characters, the number of dots forming the blank area between full-width characters is printed as an even number. .

従って、全角文字間のブランク部を構成しているドツト
数が偶数であると、例えば禁則処理などの為に、文字間
のブランク部を構成しているドツト数を1ドツトのみ増
減させることはできない。
Therefore, if the number of dots that make up the blank area between full-width characters is an even number, it is not possible to increase or decrease the number of dots that make up the blank area between characters by one dot, for example, due to prohibition processing. .

つまシ、偶数ドツトが1ドツト増減されて全角文字間の
ブランク部を構成しているドツト数が奇数となると、こ
れを二分することはできず、半角文字間のブランク部を
構成するドツト数の指定が不可能となってしまう。
If the even-numbered dots are increased or decreased by one dot and the number of dots that make up the blank area between full-width characters becomes an odd number, it cannot be divided into two, and the number of dots that make up the blank area between half-width characters is It becomes impossible to specify.

(発明の目的〕 本発明の目的は、ドツトマトリクスプリンタが全角文字
間のブランク部を印字する場合に、全角文字間のブラン
ク部を構成するドツト数が奇数となっていても、適切に
配置する装置全提供することである。
(Object of the Invention) An object of the present invention is to appropriately arrange dots even if the number of dots forming the blank part between full-width characters is an odd number when a dot matrix printer prints a blank part between full-width characters. All equipment is provided.

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

本発明は、この目的を達成する為にブランクドツト指示
部を新たに設け、これによって全角文字間のブランク部
を構成する奇数ドラ14−更に偶数ドツト及び奇数ドツ
トに分割する。
In order to achieve this object, the present invention newly provides a blank dot designation section, thereby dividing the odd dot 14, which constitutes the blank section between full-width characters, into even dots and odd dots.

次に、全角文字間のブランク部を構成するトリト数をこ
れら偶数ドツト及び奇数ドツトによ)交、互に指定し、
ブランク部ドツト数の適切な配分を可能とするものであ
る。
Next, specify the number of trites constituting the blank part between full-width characters using these even number dots and odd number dots),
This makes it possible to appropriately allocate the number of blank dots.

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

本発明の実施例は第2図に示されるように、CPU(1
)、文字パターンバッフ了(2)、文字パターン発生部
(3)、ブランクパターン発生部(4)、ブランクドツ
ト指定部(5)からなる。
In the embodiment of the present invention, as shown in FIG.
), character pattern buffer completion (2), character pattern generation section (3), blank pattern generation section (4), and blank dot designation section (5).

ここで、図中CP U (1)は、後述するブランクド
ツト指定部(5)が有するR OM (6,)にファー
ムウェアの形で格納されたプログラムを実行することに
よって、パス00)ヲ介して各部の信号を送受信し、又
、各部の制御を行うものである。
Here, the CPU (1) in the figure executes a program stored in the form of firmware in a ROM (6,) possessed by a blank dot specifying unit (5), which will be described later. It transmits and receives signals from each part and also controls each part.

3− 文字パターンバッファ(2)は、文字パターン発生部(
3)が出力する全角文字パターン、半角文字パターン及
びその他のパターンデータを一時保持するものである。
3- The character pattern buffer (2) contains the character pattern generation section (
3) temporarily holds the full-width character patterns, half-width character patterns, and other pattern data output.

文字ハターン発生部(3)は、文字パターンバッファ(
2)へ各種パターンデータを出方し、又、ブランクドツ
ト指示部(5)へ発生したパターンが全角文字パターン
が半角文字パターンかの情報を与えるものである。
The character pattern generation part (3) is a character pattern buffer (
2), and outputs various pattern data to the blank dot indicating section (5), and provides information as to whether the generated pattern is a full-width character pattern or a half-width character pattern.

ブランクパターン発生部(4)は、ブランクドツト指定
部(5)の制御によって、文字パターン間を構成するド
ツトの発生を行うものである。
The blank pattern generating section (4) generates dots forming between character patterns under the control of the blank dot specifying section (5).

ブランクドツト指示部(5)は、例えばl’t OM 
(6)に格納された、第3図に示される動作を行うファ
ームウェアを有する。
The blank dot instruction section (5) is, for example, l't OM.
It has firmware stored in (6) that performs the operations shown in FIG.

又、このファームウェアがCPU(1)により実行され
ることによって、所定のブランクドツト数の作成、文字
パターン発生部(3)からの全角及び半角文字パターン
を指定する信号の解読、及びブランクパターン発生部(
4)に所定のドツト数の指示を行4− うものである。
Also, when this firmware is executed by the CPU (1), it creates a predetermined number of blank dots, decodes signals specifying full-width and half-width character patterns from the character pattern generator (3), and processes the blank pattern generator. (
In step 4), a predetermined number of dots is specified.

次に、第3図フローに於いて6開始”となる。Next, in the flowchart of FIG. 3, it becomes 6 start.

すなわちプリンタの動作が開始される。That is, the operation of the printer is started.

次のステップでは”ブランクドツト数(二N)セット”
が実行される。すなわち、CPU(1)にょシ全角文字
間のパターン間を構成するブランクドツト数の設定が行
なわれる。
The next step is to set the number of blank dots (2N).
is executed. That is, the CPU (1) sets the number of blank dots forming the pattern between two full-width characters.

次のステップでは6全角文字パターン?”が実行される
。ここで、判断としてYES”が選択されると、CP 
U (1)は文字パターン発生部(3)にアドレス指定
を行い、全角文字パターンデータの転送を指示する。全
角文字パターンデータは文字パターンバッファ(2)に
転送される。
The next step is a 6 double-byte character pattern? "is executed. If YES" is selected here, the CP
U (1) specifies an address to the character pattern generation section (3) and instructs the transfer of double-byte character pattern data. The full-width character pattern data is transferred to the character pattern buffer (2).

次のステップでは6ブランクドツト数=N”が実行され
る。すなわち、CP U(1)によって、設定されたブ
ランクドツト数及び全角文字パターンが指定されると言
う条件に基づいて、ブランク部の作成が可能かどうか検
討される。ブランク部の作成が可能であると判断される
と、CPU(1)は、ブランクパターン発生部(4)に
偶数のドツトからなるブランクパターンの発生を指示す
る。ブランクパターン発生部(4)は、この指示に基づ
き、偶数のパターン間ドツトからなるブランクパターン
データを発生する。ブランクパターンデータは、文字パ
ターンバッフ了(2)に転送される。
In the next step, 6 blank dots = N'' is executed. That is, the CPU (1) creates a blank section based on the conditions that the set number of blank dots and the double-byte character pattern are specified. If it is determined that it is possible to create a blank section, the CPU (1) instructs the blank pattern generating section (4) to generate a blank pattern consisting of an even number of dots.Blank Based on this instruction, the pattern generator (4) generates blank pattern data consisting of an even number of inter-pattern dots.The blank pattern data is transferred to the character pattern buffer (2).

以上で全角文字パターンの場合の動作が終了となる。This completes the operation for the double-byte character pattern.

又、前記したステップ”全角文字パターン?”の判断に
於いて、’NO”が選択され半角文字パターンが指定さ
れると、この指定情報は文字パターン発生部(3)に出
力される。
Further, in the above-described step "Full-width character pattern?", if 'NO' is selected and a half-width character pattern is designated, this designation information is output to the character pattern generating section (3).

次のステップでは″N=偶数?”が実行される。In the next step, "N=even number?" is executed.

すなわち、ここでの判断に於いて’YES”が選択され
ると、ブランクドツト数(N)は偶数となる。つまりC
PU(1)によp文字パターン間が偶数のドツトからな
るブランク部の指示が行なわれる。
That is, if 'YES' is selected in this judgment, the number of blank dots (N) will be an even number. That is, C
PU(1) specifies a blank portion consisting of an even number of dots between p character patterns.

次のステップでは”ブランクドツト数=N4 ”が実行
される。すなわち、 CP’U(1)により上記偶数の
ブランクドツト数に対応する半角文字パターンのドツト
数を得る。このために、プランクツ9−ン発生部(4)
には全角文字パターンの場合の半分のドツト数のブラン
クパターンの発生信号が与えられる。ブランクパターン
発生部(4)は全角文字パターンの場合の半分のドツト
数からなるブランクパターンデータを発生する。このブ
ランクパターン発生部ハ、文字パターンバッファ(2)
に転送される。
In the next step, "number of blank dots=N4" is executed. That is, the number of dots of the half-width character pattern corresponding to the even number of blank dots is obtained by CP'U(1). For this purpose, the plankton generator (4)
A blank pattern generation signal with half the number of dots as in the case of a full-width character pattern is given to . A blank pattern generating section (4) generates blank pattern data consisting of half the number of dots as in the case of a full-width character pattern. This blank pattern generation part C, character pattern buffer (2)
will be forwarded to.

以上で半角文字パターンでしかも文字間パターンが偶数
の場合の動作が終了となる。
This completes the operation for a half-width character pattern and an even character spacing pattern.

又、前記ステップ″N−偶数?”に於いて、No”が選
択される。つまり、ブランクドツト数Nが奇数である場
合には、CPU(1)によシ、ブランクパターン発生部
(4)に奇数のパターン間ドツトからなるブランク部の
発生が指示される。
Further, in the step "N-Even number?", "No" is selected.In other words, when the number N of blank dots is an odd number, the blank pattern generating section (4) is selected by the CPU (1). The generation of a blank section consisting of an odd number of inter-pattern dots is instructed.

次のステップでは1文字間ブランクドツト数=偶数?”
が実行される。ここで判断が”YES”であると、CP
U(1)により半角文字パターンに接続されるブランク
部の位置の判断が行なわれる。
In the next step, is the number of blank dots between one character = even number? ”
is executed. If the judgment is “YES” here, the CP
U(1) determines the position of a blank portion connected to a half-width character pattern.

例えば、このブランク部の位置が第4図の数字伐」と「
3」間のような場合、CPU(1)によシ半角文字パタ
ーン間のブランク部つまり、第4図の数字7− 「2」と「3」間に位置するブランク部は所定の位置か
否か判断される。
For example, the position of this blank part is "number cut" and "
3", the CPU (1) checks whether the blank part between the half-width character patterns, that is, the blank part located between the numbers 7-"2" and "3" in Figure 4, is in the specified position. will be judged.

次に、この判断に基づき奇数である文字パターン間ブラ
ンクドツト数を、偶数とする為に、CPU(1)によシ
全角文字パターン間のブランクドツト数は61”だけ小
さく設定される。更に、CP U(1)により、このド
ツト数は半分に変換され、この情報はブランクパターン
発生部(4)へ転送される。ブランクパターン発生部(
4)は、偶数のドツトからなるブランクパターンを発生
する。このブランクパターンi、CPU(1)によシ文
字パターンバッファ(2)に転送される。以上で半角文
字パターンが指定され、かつ全角文字間パターン間ドツ
トが奇数の場合の動作が終了となる。
Next, based on this judgment, in order to make the odd number of blank dots between character patterns an even number, the CPU (1) sets the number of blank dots between full-width character patterns smaller by 61".Furthermore, This number of dots is halved by the CPU (1), and this information is transferred to the blank pattern generator (4).
4) generates a blank pattern consisting of an even number of dots. This blank pattern i is transferred to the character pattern buffer (2) by the CPU (1). This completes the operation when a half-width character pattern is specified and the number of dots between double-width character patterns is odd.

又、上記ステップで判断がNO”であると、C,PU(
1)により半角文字パターン間のブランク部の位置の判
断が行なわれる。つまり、第4図の数字「3」と「4」
間に位置するブランク部は所定の位置か否か判断される
Also, if the judgment in the above step is "NO", C, PU (
1), the position of the blank portion between the half-width character patterns is determined. In other words, the numbers "3" and "4" in Figure 4
It is determined whether the blank portion located in between is at a predetermined position.

次に、この判断に基づき奇数である文字パターン8− 間ブランクドツト数を偶数とする為に、CPU(1)に
ヨリ全角文字パターンのブランクドツトe H” 1”
大きく設定される。更にCPU(1)により、このドツ
ト数は半分にされる。又、この情報はブランクパターン
発生8(S (4)へ転送される。ブランクパターン発
生部(4)は偶数のドツトからなるブランクパターンを
発生する。このブランクパターンはQPU(1)によシ
文字パターンバッファ(2)に転送される。以上で半角
文字パターンが指定され、かつ全角文字パターン間を構
成するドツトが奇数の場合の動作が終了となる。
Next, based on this judgment, in order to make the number of blank dots between the odd character patterns 8 and 8 even, the CPU (1) prints blank dots of the full-width character pattern e H"1"
It is set large. Furthermore, this number of dots is halved by CPU (1). This information is also transferred to the blank pattern generator 8 (S (4)). The blank pattern generator (4) generates a blank pattern consisting of an even number of dots. This blank pattern is used as a blank pattern by the QPU (1). The data is transferred to the pattern buffer (2).This completes the operation when a half-width character pattern is specified and the number of dots forming between the full-width character patterns is an odd number.

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

本発明による効果は従来のブランク部を構成するドツト
数が2ドツト単位で設定されることに対して、このドツ
ト数を偶数及び奇数で設定可能なことである。
The effect of the present invention is that the number of dots constituting the blank section is set in units of two dots in the conventional art, but the number of dots can be set in even or odd numbers.

従って、読点が行の先頭に配置される場合の禁則処理に
於いて、文字パターンの適正配[を行うことがoI′能
である。
Therefore, in the prohibition process when a comma is placed at the beginning of a line, it is possible to properly arrange the character pattern.

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

第1図は従来のプリンタ装置による文字パターン間を構
成するブランク部の例を示す図であり、第2図は本発明
のプリンタ制御装置を示すブロック図であり、第3図は
本発明に於いて、ブランク部を構成するドツト数を決定
するまでの流れ図であり、第4図は本発明によるブラン
ク部の例である。 1、、、cPU         2・・・文字パター
ンバッファ3・・・文字パターン発生部 4・・・ブランクパターン発生部 5・・・ブランクドツト指示部 6・・・ROMl0・・・パス 代理人 弁理士  則 近 憲 佑(ほか1名)11−
FIG. 1 is a diagram showing an example of a blank area between character patterns in a conventional printer device, FIG. 2 is a block diagram showing a printer control device according to the present invention, and FIG. 4 is a flowchart showing the process up to determining the number of dots constituting the blank portion, and FIG. 4 is an example of the blank portion according to the present invention. 1, cPU 2...Character pattern buffer 3...Character pattern generation section 4...Blank pattern generation section 5...Blank dot instruction section 6...ROMl0...Pass agent Patent attorney rules Kensuke Chika (and 1 other person) 11-

Claims (1)

【特許請求の範囲】 ドツトによる全角文字パターン及び半角文字パターンの
発生を行う文字パターン発生部と、該文字パターン発生
部から出力された文字パターンを保持する文字パターン
バッファと、該文字パターンバッファへ文字パターン間
のブランク部を構成するパターンを出力するブランクパ
ターン発生部と、 前記全角文”字パターン間のブランク部全構成するドツ
トが奇数個に指示されていると、このドツト数の分割に
より得られる偶数ドツト及び奇数ドツトに基づいて文字
パターン間のブランク部を作成し、これらを半角文字パ
ターン間のブランク部に交互に指示するブランクドツト
指示部と、上記谷部の制御を行うCPUとを具備するこ
とを特徴とするブランクパターン制御装置。
[Scope of Claims] A character pattern generation section that generates full-width character patterns and half-width character patterns using dots, a character pattern buffer that holds the character patterns output from the character pattern generation section, and a character pattern generation section that stores characters in the character pattern buffer. A blank pattern generator outputs a pattern that constitutes a blank area between patterns, and if an odd number of dots that constitute all of the blank areas between the double-byte character patterns is specified, the number of dots obtained by dividing this number of dots is The present invention includes a blank dot instruction section that creates blank portions between character patterns based on even-numbered dots and odd-numbered dots, and alternately instructs the blank portions between half-width character patterns, and a CPU that controls the valley portions. A blank pattern control device characterized by:
JP5135982A 1982-03-31 1982-03-31 Apparatus for controlling blank pattern Pending JPS58168577A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5135982A JPS58168577A (en) 1982-03-31 1982-03-31 Apparatus for controlling blank pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5135982A JPS58168577A (en) 1982-03-31 1982-03-31 Apparatus for controlling blank pattern

Publications (1)

Publication Number Publication Date
JPS58168577A true JPS58168577A (en) 1983-10-04

Family

ID=12884734

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5135982A Pending JPS58168577A (en) 1982-03-31 1982-03-31 Apparatus for controlling blank pattern

Country Status (1)

Country Link
JP (1) JPS58168577A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55161682A (en) * 1979-06-06 1980-12-16 Nippon Telegr & Teleph Corp <Ntt> Carriage feeding system for serial printer
JPS56120372A (en) * 1979-12-21 1981-09-21 Olivetti & Co Spa Electronic typewriter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55161682A (en) * 1979-06-06 1980-12-16 Nippon Telegr & Teleph Corp <Ntt> Carriage feeding system for serial printer
JPS56120372A (en) * 1979-12-21 1981-09-21 Olivetti & Co Spa Electronic typewriter

Similar Documents

Publication Publication Date Title
JPH0464314B2 (en)
JPS61206663A (en) Printing method in thermal printer
JPS58168577A (en) Apparatus for controlling blank pattern
JPS61209169A (en) Printer
JPS60109888A (en) Character processor
JP2685449B2 (en) Image processing device
JPS6189861A (en) Printing controller
JP3503586B2 (en) Printer, printer character conversion method, and computer-readable recording medium.
JPS62221546A (en) Printing speed control system
JPS6246010B2 (en)
JPS609759A (en) Printer
JP2940914B2 (en) Output device
JP2909075B2 (en) Printing equipment
JPS6316766A (en) Printing device
JPH0361562A (en) Printer
JPS61274954A (en) Printing system
JPS63286359A (en) Pattern generation system
JPH04268962A (en) Document preparing device
JPH0499659A (en) Smoothing system of bit map character data for printer
JPS5995159A (en) Serial dot printer
JPS6383823A (en) Compiling system for printed output
JP2002132473A (en) Network printer
JPS63287891A (en) Pattern generation system
JPH1086457A (en) Document editor/printer
JPH01229651A (en) Image recorder