JPS584431A - Controlling system of kanji (chinese character) printer - Google Patents

Controlling system of kanji (chinese character) printer

Info

Publication number
JPS584431A
JPS584431A JP56102980A JP10298081A JPS584431A JP S584431 A JPS584431 A JP S584431A JP 56102980 A JP56102980 A JP 56102980A JP 10298081 A JP10298081 A JP 10298081A JP S584431 A JPS584431 A JP S584431A
Authority
JP
Japan
Prior art keywords
kanji
ram
data
printer
segment
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
JP56102980A
Other languages
Japanese (ja)
Other versions
JPH0216218B2 (en
Inventor
Kiyobumi Nosaka
野坂 清文
Akihiko Inamoto
稲本 彰彦
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.)
Usac Electronic Ind Co Ltd
Original Assignee
Usac Electronic Ind 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 Usac Electronic Ind Co Ltd filed Critical Usac Electronic Ind Co Ltd
Priority to JP56102980A priority Critical patent/JPS584431A/en
Publication of JPS584431A publication Critical patent/JPS584431A/en
Publication of JPH0216218B2 publication Critical patent/JPH0216218B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/018Input/output arrangements for oriental characters

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To increase the system efficiency, by forming a character generator (CG) with an RAM and performing the storage and reading of a CG pattern via a segment register. CONSTITUTION:A main body device 1 sets the initial value to a segment register 7 and at the same time sets other necessary information to a printer control circuit. Then the data to be written into an RAM6 for CG is fed by a byte and then written into the storing place of the RAM6 which is designated by an address generated from a segment register 7. When the printing is carried out, the print data equivalent to a line is stored in an RAM5 for work. After this, the print data in the RAM5 is read out by a piece, and the corresponding pattern is read out of the CG or the RAM6 for CG of a control storage 4 to be fed to a priting head.

Description

【発明の詳細な説明】 本発明は1文字発生器’tRAM−’l:構成すると共
に1文字発生器用RAM¥tアクセスするためのセグメ
ント・レジスタ管設けた漢字プリンタの制御方式に関す
るものでるる。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a control system for a Kanji printer which includes a one-character generator 'tRAM-' and a segment register tube for accessing the one-character generator RAM.

従来、漢字プリンタの制御方式としては、制御回路内に
一行分だけのバッファを持ち、漢字を印字する時にはそ
の都度本体より印字データΦバタた=−ド會指定し、1
0M1’lO印字パターンもこの=−ドを変換し九アド
レスでCGMROMより印字パターンt*V出す方式と
がある。しかるに。
Traditionally, the control system for kanji printers has been to have a buffer for only one line in the control circuit, and each time a kanji character is printed, the print data Φbatta = - is specified from the main body, and 1
There is also a method for converting this =- code for the 0M1'lO print pattern and outputting the print pattern t*V from the CGMROM at the 9th address. However.

前者は、印字するたびに印字データを本体より伝達しな
ければならず、−回の伝達のために費やされる伝達時間
が大暑くなり、システム効率の上から問題がある◇また
、後者においては、コスト的に高価であり、更にROM
であるが故にパターンの変更は簡単に出来す、印字でき
る文字の種類にも制限がつくという欠点がある◎CGか
大きくなり、例えば64KVこえる容量を要するような
場合には、従来のやり方でアドレッシングが出来ないと
い5ような問題もある0 本発明は、上述のような点に鑑み、CGv制御制御回路
膜けたRAMで構成し、かつ、大容量のCGメモリが実
現できる漢字プリンタの制御方式を提供することY目的
とするものである◎そのために本発明の漢字1リンタの
制御方式は、漢字プリンタ機構部と、該漢字プリンタ機
構st’制御するマイクロプロセッサY中心として構成
されたプリンタ制御回路と、本体装置と、上記本体装置
とプリンタ制御回路との間のデータ転送を制御するイン
タフェース回路とrwflllえtダηンタ拳システム
におい【、−文字分の漢字ドツト・パターンを格納する
セグメントを複数個有する文字発生器用RAMと、デー
タ・バス上のデータか入力されると共に出力データ音ア
ドレスとして上記文字発生器用RAMK供給するセグメ
ント・レジスタとt設けたことvll#徴とするもので
ある。以下、本発明t@面を参照しつつ説明する。
In the former, the print data must be transmitted from the main body each time printing is performed, and the transmission time required for each transmission becomes extremely hot, which poses a problem in terms of system efficiency.In addition, in the latter, It is expensive in terms of cost and also requires ROM.
However, the disadvantage is that the pattern can be easily changed, and there are restrictions on the types of characters that can be printed.◎If the CG becomes large and requires a capacity exceeding, for example, 64KV, addressing can be done using the conventional method. In view of the above-mentioned problems, the present invention provides a control method for a kanji printer that is configured with a RAM with a CGv control circuit and that can realize a large capacity CG memory. ◎For this purpose, the control system of the Kanji 1 printer of the present invention includes a printer control circuit mainly configured with a Kanji printer mechanism section and a microprocessor Y that controls the Kanji printer mechanism st'. , a main unit, an interface circuit for controlling data transfer between the main unit and the printer control circuit, and a plurality of segments for storing kanji dot patterns for - characters in the Data Fist system. The character generator RAMK is provided with a segment register into which data on the data bus is input and which supplies the character generator RAMK as an output data sound address. Hereinafter, the present invention will be explained with reference to the t@ side.

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

図において、1は本体装置、2はインターフェイス回路
、3はマイクロプロセッサ、4は制御記憶、5嬬ワ一ク
用RAM%6はCG用RAM、7はセグメント警レジス
タ、8と9はデコーダ、10は入力ボート、11は出力
ボート、12はドライバー回路、13はメカ機構11s
、14はOR回路、15はセレクタtそれぞれ示してい
る。
In the figure, 1 is the main unit, 2 is an interface circuit, 3 is a microprocessor, 4 is a control memory, 5 is RAM for work, 6 is RAM for CG, 7 is a segment register, 8 and 9 are decoders, 10 is an input boat, 11 is an output boat, 12 is a driver circuit, 13 is a mechanical mechanism 11s
, 14 indicates an OR circuit, and 15 indicates a selector t.

本体装置1はプリンタ制御回路に対して印字データや制
御データを送出する。インタフェース制御回路2はプリ
ンタ制御回路と本体装置1との間のデータ転送を制御す
るものでああ。インタフェース回路2tli、本体装置
の指示に従い、プリンタ制御回路のレジスタやメモリに
制御データをセットすることが出来る0プリンタ制御回
路は1本体装置1.インタフェース回路2.およびメカ
機構部13會除いた部分で構成されている。マイクロプ
ルセッサ3社1例えば8ビツトのマイクロプロセッサで
あり、制御記憶4に格納されているプログラムにしたが
って種々の演算會実行するOこO制御記憶の中に英数字
と仮名文字用のCGが設けられている。ワーク用RAM
5は、一時的なデータを格納するものであるo CG 
j@ RA M 6は漢字の文字ドツト1パターンを格
納するものである。漢字−文字のパターンは24X24
ドツトで表わされる。
The main device 1 sends print data and control data to the printer control circuit. The interface control circuit 2 controls data transfer between the printer control circuit and the main device 1. Interface circuit 2tli, which can set control data in registers and memory of the printer control circuit according to instructions from the main unit 0Printer control circuit 1 Main unit 1. Interface circuit 2. and a portion excluding the mechanical mechanism section 13. Microprocessor 3 companies 1 For example, 8-bit microprocessors, which execute various calculations according to programs stored in control memory 4, have CGs for alphanumeric characters and kana characters in the control memory. It is being Work RAM
5 is for storing temporary data o CG
j@RAM 6 stores one pattern of kanji character dots. Kanji - Character pattern is 24X24
Represented by a dot.

=グメント警レジスタ7はCG用RAM6に対するアド
レスを生成するものである。このアドレス続されている
。デコーダ8轄アVレス情報會デコードするものでTo
9.そのアドレス情報がセグメント・レジメタフを指定
している場合にはセグメント・レジスタ7に対してデー
ターセット信号會送出する0デコーダ9線、アドレス情
報をデコードし、デコード信号を人力ボート10又は出
カポ−) 11に送る。ドライバ回路nは、メカ機構s
13へ送る信号又はメカ機構1113から送られ1来る
信号を増幅するもめでめるoOR回路140出力はセグ
メント・レジスタ70セツト端子に接続され、その入力
端子はデコーダ8およびインタフェース回1111cI
illされている。
The segment register 7 generates an address for the CG RAM 6. This address has been continued. Decoder 8 category A V reply information meeting decoding To
9. If the address information specifies a segment register, the 0 decoder 9 line sends a data set signal to the segment register 7, decodes the address information, and sends a decoded signal to the manual boat 10 or output capo). Send to 11. The driver circuit n is a mechanical mechanism s
The output of an oOR circuit 140 for amplifying the signal sent to 13 or the signal sent from mechanical mechanism 1113 is connected to the set terminal of segment register 70, and its input terminal is connected to decoder 8 and interface circuit 1111cI.
It is ill.

第2wAは本体装置1から送られて米る一行分の印字デ
ータ管示しているoABCは以下に続くデータが英数字
4L<は仮名コードであることを示しており、に8Cは
以下に続くデータがセグメント−アドレスでおることt
示しているO第3図はCG  RAM5内の漢字CGパ
ターンの格納の状態管示し1いる0漢字−文字のドツト
!パターンはス×ムドットでめり、したがりて漢字−文
字のドツト・パターンを格納するためには72バイトの
領域を必要とする。この72パイシの領域管セグメント
という。
The 2nd wA indicates the one-line print data tube sent from the main unit 1.oABC indicates that the following data is an alphanumeric character 4L< indicates that it is a kana code, and 8C indicates the following data. is a segment address.
Figure 3 shows the storage status of the Kanji CG pattern in the CG RAM5. The pattern is filled with sum dots, and therefore requires 72 bytes of space to store the Kanji-character dot pattern. This 72 paise area is called a tube segment.

次に第1図の実施例の動作音説明する。CG用RAM6
に漢字ドツト・パターンを格納するためには1次のよう
な動作が行われる。本体装置111は。
Next, the operation sounds of the embodiment shown in FIG. 1 will be explained. CG RAM6
In order to store a kanji dot pattern in , the following operations are performed. The main device 111 is.

セグメント・レジスタ7に初期値を設定すると共に、そ
の他の必要情報(パターン・データのライトで参ること
を示すなどの情報)をプリンタ制御回路にセットする。
In addition to setting an initial value in the segment register 7, other necessary information (such as information indicating that pattern data writing will fail) is set in the printer control circuit.

そして、CG用RAM6に書込むべきデータを1バイト
ずつ送出すると、そのデータはセグメント・レジスタ7
で生成されるアドレスで指定され4CG用RAM6O記
憶場所に書込まれる。1バイトのデータがCG  RA
M6に書込まれる度にセグメント・レジスタ7の出力す
るアドレス情報は更新される。図示しないが、セグメン
ト・レジスタ7は内部に72進カウンタ管有しているも
のである。所定数の漢字CGパターンがCG用RAM6
に格納され九時点で、以後こ、ThRAMはCGとして
利用可能となる。
Then, when the data to be written to the CG RAM 6 is sent one byte at a time, the data is transferred to the segment register 7.
is specified by the address generated by , and written to the 4CG RAM 60 storage location. 1 byte of data is CG RA
The address information output from segment register 7 is updated every time it is written to M6. Although not shown, the segment register 7 has an internal 72-base counter. A predetermined number of kanji CG patterns are stored in CG RAM 6.
At the 9th point in time, the ThRAM can be used as CG.

印字管行う場合には、先ず第2図のような一行分の印字
データがワーク用RAM5に格納されもしかる後、プリ
ント起動指令を受信すると、制御記憶4内の対応するプ
ログラムが実行され、ワークRAM5内の印字データが
1個ずつ読出される0読出された印字データが英数字コ
ードもしくは仮名コードである場合には制御記憶4のC
Gから対応する文字ドツト・パターンが読出され、そし
て印字ヘッドに送られる0ワ一ク用RAM5から読出さ
れた印字データがセグメント・アドレスである場合には
、このセグメントOアドレスはセグメント管レジスタ7
にセットされ、CG用RAM6かも対応する漢字CGパ
ターンの最初の1バイトの列エレメントが読出される。
When printing with a printing tube, first, one line of printing data as shown in Fig. 2 is stored in the work RAM 5. After that, when a print start command is received, the corresponding program in the control memory 4 is executed and the work is printed. The print data in the RAM 5 is read out one by one. 0 If the read print data is an alphanumeric code or a kana code, C of the control memory 4 is read out.
When the corresponding character dot pattern is read out from G and the print data read out from RAM 5 for 0 work sent to the print head is a segment address, this segment O address is sent to the segment tube register 7.
, and the first 1-byte column element of the corresponding Kanji CG pattern is read out from the CG RAM 6 as well.

1バイトの列エレメントが読出される度にセグメント・
レジスタ7の出力するアドレスは+1される。同一の漢
字CGパターンに属する全ての列エレメントが読出され
ると、CG用RAM6から次の印字データが読出される
A segment is created each time a 1-byte column element is read.
The address output by register 7 is incremented by 1. When all column elements belonging to the same kanji CG pattern are read out, the next print data is read out from the CG RAM 6.

以上の説明から明らかなように1本発明によれ社、CG
tRAMで構成し、このCG用RAMのアドレスがマイ
クロプロセッサ等で指定できる範囲1越える場合でも、
セグメント・レジスタを介してCGパターンの格納およ
び読出しが出来るの−t”、CGtRAMで構成し、か
つ、セグメント・レジスタで指定できる範凹内において
大容量のCGメモリを実現することができ、システム効
率の上でも優れ良漢字プリンタの制御方式を提供する仁
とができる。
As is clear from the above description, according to the present invention, Resha, CG
tRAM, and even if the address of this CG RAM exceeds the range 1 that can be specified by a microprocessor, etc.
It is possible to store and read CG patterns through segment registers.It is configured with CGtRAM and can realize a large capacity CG memory within the range specified by segment registers, improving system efficiency. It is also possible to provide an excellent control method for kanji printers.

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

第1図は本発明の一実施例1示す漢字プリンタの制御装
置の構成甲、第2図はデータ・バッファ内の一行分印字
データ管示す図、第3wAはセグメントとCG用RAM
との対応管示す図である。 1・・・本体装置i1.2・・・インタフェース回路%
3・・・マイク党プロセッサ、4・・・マイクログーダ
ラム格納用ROM、5・・・ワーク用RAM、6・−C
G711RAM、7−・・セグメント−レジスタ、8と
9・・・アトfノ 特許出願人  ニーザック電子工業株式金社代理人弁理
士 京 谷 四 部外1名
Fig. 1 shows the configuration A of a control device for a kanji printer showing Embodiment 1 of the present invention, Fig. 2 shows a print data tube for one line in the data buffer, and 3wA shows a segment and CG RAM.
It is a diagram showing a corresponding tube. 1...Main device i1.2...Interface circuit%
3... Microphone processor, 4... ROM for storing micro good ram, 5... RAM for work, 6...-C
G711RAM, 7-...Segment-Register, 8 and 9...Ato f No. Patent Applicant Niezak Electronic Industry Co., Ltd. Representative Patent Attorney Yotsu Kyotani 1 Outside Person

Claims (1)

【特許請求の範囲】 漢字プリンタ機構部と、皺漢字プリンタ機構部を制御す
るマイクQプロセッサl中心とし【構成制御するインタ
フェース回路とを備エルプリyり・システムにおいて、
1文字分の漢字ドツト・パターンを格納するセグメント
を複数個有する文字発生器用RAMと、f−タ・パス上
の〒−夕が入力されると共に出力データをアドレスとし
て上記文字発生器用RAMK供給するセグメント・レジ
スタと【設けたことV*黴とする漢字プリンタの制御方
式。
[Claims] In an Elpuri system comprising a kanji printer mechanism section and a microphone Q processor that controls the wrinkled kanji printer mechanism section and an interface circuit that controls the configuration,
A character generator RAM having a plurality of segments for storing one character's worth of kanji dot patterns, and a segment for supplying the character generator RAMK with output data as an address when 〒-〒 on the f-ta path is input.・Control system for kanji printer using register and
JP56102980A 1981-06-30 1981-06-30 Controlling system of kanji (chinese character) printer Granted JPS584431A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56102980A JPS584431A (en) 1981-06-30 1981-06-30 Controlling system of kanji (chinese character) printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56102980A JPS584431A (en) 1981-06-30 1981-06-30 Controlling system of kanji (chinese character) printer

Publications (2)

Publication Number Publication Date
JPS584431A true JPS584431A (en) 1983-01-11
JPH0216218B2 JPH0216218B2 (en) 1990-04-16

Family

ID=14341872

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56102980A Granted JPS584431A (en) 1981-06-30 1981-06-30 Controlling system of kanji (chinese character) printer

Country Status (1)

Country Link
JP (1) JPS584431A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5622185A (en) * 1979-07-31 1981-03-02 Fujitsu Ltd Chinese character bit pattern control system for chinese character printer
JPS6150787A (en) * 1984-08-13 1986-03-13 株式会社日立製作所 Hand device for built-up robot

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5622185A (en) * 1979-07-31 1981-03-02 Fujitsu Ltd Chinese character bit pattern control system for chinese character printer
JPS6150787A (en) * 1984-08-13 1986-03-13 株式会社日立製作所 Hand device for built-up robot

Also Published As

Publication number Publication date
JPH0216218B2 (en) 1990-04-16

Similar Documents

Publication Publication Date Title
JPH0630910B2 (en) Printing method
JPS584431A (en) Controlling system of kanji (chinese character) printer
JPS5941052A (en) Character pattern generator
JPS61237666A (en) Printing controller
JPS5827232A (en) Printer
JP2645170B2 (en) Line printer printing method
JP2699440B2 (en) Printer device
JP2636312B2 (en) Printer interface device
JPH04173359A (en) Printer
JPS6230111B2 (en)
JPH0398115A (en) Sentence processor
JPS61292190A (en) Control code output method
JPH0630927B2 (en) Pattern output method
JPS5936314B2 (en) Display device control method
JPS6364086A (en) Output unit
JPS61120755A (en) Printer
JPS5959459A (en) Reverse-order printing system for printer
JPS60179280A (en) Proportional spacing printing method
JPS62257867A (en) Printer
JPH0139357B2 (en)
JPS59106041A (en) Character code converting circuit
JPH01204758A (en) Dot printer
JPS6230112B2 (en)
JPS62211690A (en) Character display system
JPH0462084A (en) Printer