JPS62108296A - Kanji printer - Google Patents

Kanji printer

Info

Publication number
JPS62108296A
JPS62108296A JP60248263A JP24826385A JPS62108296A JP S62108296 A JPS62108296 A JP S62108296A JP 60248263 A JP60248263 A JP 60248263A JP 24826385 A JP24826385 A JP 24826385A JP S62108296 A JPS62108296 A JP S62108296A
Authority
JP
Japan
Prior art keywords
kanji
code
old
new
jis
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
JP60248263A
Other languages
Japanese (ja)
Inventor
優 植松
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60248263A priority Critical patent/JPS62108296A/en
Publication of JPS62108296A publication Critical patent/JPS62108296A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔概要〕 コードを指定して漢字パターンを発生する漢字パターン
発生部(以下漢字CG、キャラクタジェネレータ)とし
て、2組の種別が普及している。
[Detailed Description of the Invention] [Summary] Two types of kanji pattern generators (hereinafter referred to as kanji CG, character generators) that generate kanji patterns by specifying codes are popular.

プリンタでは、それぞれの漢字CGを搭載して対応して
いるが、機種が増加する。
Printers are equipped with CG for each type of kanji to support this, but the number of models will increase.

本発明は2組の漢字CGが置換できるプリンタを従供す
るもので、搭載した漢字CGの種別を判別し、指定のコ
ードと照合してコード変換するものである。
The present invention provides a printer capable of replacing two sets of kanji CG, and determines the type of the kanji CG installed and converts the code by comparing it with a designated code.

〔産業上の利用分野〕[Industrial application field]

本発明は漢字プリンタにおける漢字制御方式の改良に関
する。
TECHNICAL FIELD The present invention relates to an improvement in a kanji control method in a kanji printer.

シリアル漢字プリンタ(以下漢字プリンタ)には、ホス
トコンピュータから文字パターンを入力して印字するイ
メージタイプと、漢字CGをプリンタに搭載し、漢字コ
ードを入力して印字するコードタイプとがある。
There are two types of serial kanji printers (hereinafter referred to as kanji printers): an image type that prints by inputting a character pattern from a host computer, and a code type that has a kanji CG installed in the printer and prints by inputting a kanji code.

この漢字CGに記録されている漢字パターンおよび漢字
コードは、JISC6226に基づくものであるが、1
978年に制定されたもの(以下旧JISと称する)と
1983年に改定されたもの(新JISと称する)とが
背反している。
The kanji patterns and kanji codes recorded in this kanji CG are based on JISC6226, but 1
The one established in 1978 (hereinafter referred to as the old JIS) and the one revised in 1983 (hereinafter referred to as the new JIS) are contradictory.

上記、新JISと旧JISの相違は、第1水準と第2水
阜との入換えに伴う漢字コードの変更およびパターンの
変更(略字方法)であるが、旧J。
The difference between the new JIS and the old JIS mentioned above is the change in the kanji code and the change in the pattern (abbreviation method) due to the exchange of the 1st level and the 2nd level, but the old JIS.

■Sのパターンを使用する利用者に対して、旧JISの
漢字CGを搭載したプリンタが供給されている。
■Printers equipped with old JIS kanji CG are being supplied to users who use the S pattern.

一方、プリンタの利用者側でもホストコンピュータの送
出する印字コードをプリンタに対応せしめる必要があり
、プリンタ側で自己の漢字CGにコード変換して印字す
るものが出現している。
On the other hand, it is also necessary for the user of the printer to make the printing code sent by the host computer compatible with the printer, and some printers are emerging that convert the code into its own kanji CG on the printer side and print it.

このようにそれぞれ新JISまたは旧JISの漢字CG
を搭載したもの、さらには搭載した漢字CGにコード変
換するもの等のプリンタが求められ、機種が増大してコ
スト低減の障害となっている。
In this way, the new JIS or old JIS kanji CG
There is a demand for printers that are equipped with kanji CG, and even those that convert codes into Kanji CG, and the number of models has increased, creating an obstacle to cost reduction.

そのため、上記問題点を解決した1TJf、字プリンタ
が求められている。
Therefore, there is a need for a 1TJf printer that solves the above problems.

〔従来の技術〕[Conventional technology]

従来例を第3図を参照しつつ説明する。 A conventional example will be explained with reference to FIG.

第3図(=1)は旧JIS漢字CGと、新JISから旧
JISにコード変換する新−旧コード変換テーブルとを
備えた漢字プリンタのブロック図、第3図(blはコー
ド変換動作フローヂャート図である。
Figure 3 (=1) is a block diagram of a kanji printer equipped with old JIS kanji CG and a new-old code conversion table for code conversion from new JIS to old JIS; Figure 3 (bl is a code conversion operation flowchart) It is.

第3図(alにおいて、ホストコンピュータよす受信し
た漢字コードは受信バッファ3に格納され、1行分のコ
ードを受信した後、旧JIS漢字CG4が参照されて、
ラインバッファ8にパターン展開される。続いてライン
バッファ8の内容は印字部7により読取られ、スペーシ
ングにしたがってシリアルに印字される。
In Figure 3 (al), the kanji code received by the host computer is stored in the reception buffer 3, and after receiving one line of code, the old JIS kanji CG4 is referred to.
The pattern is developed in the line buffer 8. Subsequently, the contents of the line buffer 8 are read by the printing section 7 and printed serially according to the spacing.

以上は旧JIS指定の動作であるが、印字に先立ち、新
JISの指定があると、漢字コードを受信した際、新−
旧コード変換テーブル5を検索し、該当コードが検出さ
れたとき、コード変換して受信バッファ3に格納する。
The above is the operation specified by the old JIS, but if the new JIS is specified before printing, when the kanji code is received, the new
The old code conversion table 5 is searched, and when a corresponding code is detected, the code is converted and stored in the reception buffer 3.

以後受信ハラツブ3に基づいてパターン展開すると、新
JISコード指定で旧JISパターンを印字させること
ができる。
Thereafter, when the pattern is developed based on the received Haratsub 3, the old JIS pattern can be printed by specifying the new JIS code.

なお上記は受信時にコード変換したが、そのまま受(f
iバッファ3に格納し、パターン展開する際、コード変
換する方法もある。
The above code was converted when received, but it was received as is (f
There is also a method of storing the data in the i-buffer 3 and converting the code when developing the pattern.

新JIS漢字CGを搭載したプリンタも同様で。The same goes for printers equipped with the new JIS Kanji CG.

あって、旧JISの指定があると、旧JIS−新JIS
のコード変換を行い、新JISパターンで印字する。
If there is an old JIS designation, the old JIS - new JIS
The code is converted and printed using the new JIS pattern.

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

以上説明したように、漢字CGに新JISと旧JISの
ものがあり、漢字パターンが異なるために両者とも要望
されている。
As explained above, there are two types of kanji CG: the new JIS and the old JIS, and both are desired because their kanji patterns are different.

しかも旧JISから新JISへの改定に伴い、第1水準
と第2水準との漢字入れ換えがあり、そのため、その漢
字に対応する漢字コードが一部(20数文字)変更され
ている。
Moreover, with the revision from the old JIS to the new JIS, kanji characters were replaced between the first and second level, and as a result, the kanji code corresponding to that kanji was partially changed (more than 20 characters).

そのためホスト側の漢字コードに対応するために、新J
 T S、旧JIS両方の漢字CCを搭載すればよいが
、高価となるため、搭載した漢字CGにコード変換する
プリンタが出現している。
Therefore, in order to correspond to the kanji code on the host side, the new J
It would be possible to install both TS and old JIS Kanji CC, but this would be expensive, so some printers have appeared that convert the code to Kanji CG.

しかし搭載した漢字CGにより変換方法が異なるため、
やはり2機種製作する必要があって高価となる問題点が
ある。
However, since the conversion method differs depending on the kanji CG installed,
There is also the problem that it is necessary to manufacture two models, which makes them expensive.

本発明は以上の問題点に爲み、新JIS、旧JIS漢字
CGに対応し得る漢字プリンタを提供することを目的と
するものである。
SUMMARY OF THE INVENTION In view of the above-mentioned problems, it is an object of the present invention to provide a kanji printer that is compatible with new JIS and old JIS kanji CG.

C問題点を解決するための手段〕 上記目的のため、本発明の漢字プリンタは第1図原理説
明図に示すように、 対応する前記2組の漢字コードを相互に変換するコード
変換テーブル(10)と、 搭載した自己の漢字パターン発生部のコード種別を判別
する手段(l l)と、 指令されたコード種別と前記判別した自己のコード種別
とを照合するとともに、該指令に基づき送出された印字
コードを前記自己のコードに変換する手段(12)と、 を備え、コード種別の指定により、自己の漢字パターン
発生部のコードに変換して印字するものである。
Means for Solving Problem C] For the above purpose, the kanji printer of the present invention has a code conversion table (10 ), a built-in means (l l) for determining the code type of its own kanji pattern generation unit, and a means (l l) for determining the code type of its own kanji pattern generation unit, which compares the commanded code type with the determined own code type, and also compares the code type transmitted based on the command. A means (12) for converting the printing code into the own code, and according to the designation of the code type, the printing code is converted into the code of the own Kanji pattern generating section and printed.

〔作用〕[Effect]

即ち、搭載した漢字CGの種別を判別し、漢字CG種別
の指定がなされると、コード変換の可否および新JIS
−旧JISか、旧JIS=新JISかのコード変換手段
を判定する。
In other words, the type of the installed kanji CG is determined, and once the kanji CG type is specified, it is determined whether code conversion is possible or not, and the new JIS
- Determine whether the code conversion means is old JIS or old JIS=new JIS.

そのためコード変換テーブルを2&If準備しておくと
、共通の変換制御で旧JIS、新JtSの漢字CGに対
応することができるため、新JIS。
Therefore, if you prepare a code conversion table 2&If, you can use the same conversion control to support the old JIS and new JtS kanji CG, so you can use the new JIS.

旧JISの漢字CGを交換するだけでよく、またホスト
もプリンタ側のパターンを問題にしなければ、漢字コー
ドを意識する必要がない。
All you need to do is replace the old JIS kanji CG, and the host does not need to be aware of kanji codes unless the printer's patterns are a problem.

〔実施例〕〔Example〕

本発明の実施例を第2図に従って説明する。 An embodiment of the present invention will be described with reference to FIG.

第2図(alは実施例の漢字プリンタのブロック図、第
2図(blは動作フローチャー1・である。
FIG. 2 (al is a block diagram of the kanji printer of the embodiment, and FIG. 2 (bl is an operation flowchart 1).

第2図fa)において、 13は新JISまたは旧JISの漢字CG、14は旧J
ISコードから新JISコードに変換するための旧−新
コード変換テーブル、5は新JISコードから旧JIS
コードへ変換するための新→旧コード変換テーブル、1
5はオペレータがプリンタに新/旧を指定するための設
定スイッチ、 16は新−旧および旧−新コード変換するコード変換部
、 17は漢字CG13が旧JISか、新JISかを判別す
る新旧漢字CG判別部、 であり、その細筒3図(a)と同一符号は同一対象物を
表している。
In Figure 2 fa), 13 is the new JIS or old JIS kanji CG, and 14 is the old JIS.
Old-new code conversion table for converting from IS code to new JIS code, 5 is from new JIS code to old JIS code
New → old code conversion table for converting to code, 1
5 is a setting switch for the operator to specify new/old to the printer; 16 is a code conversion unit that converts new-old and old-new codes; 17 is a new/old kanji that determines whether kanji CG 13 is old JIS or new JIS. CG discrimination unit, and the same reference numerals as in the narrow tube 3 (a) represent the same objects.

以下動作を第2図(b)を参照しつつ説明する。The operation will be explained below with reference to FIG. 2(b).

(11オペレータはホストの漢字コードを、設定スイッ
チ15で設定する。
(11 The operator sets the host's kanji code using the setting switch 15.

(2)新旧漢字CG判別部17は漢字CG13の所定領
域を検索して新旧を判別する。
(2) The old and new kanji CG determination unit 17 searches a predetermined area of the kanji CG 13 to determine whether it is new or old.

新旧の判別方法としては、旧JISでは漢字コードの「
8区」にはパターンが存在しないため、「8区」と、所
定の「点」とを指定してパターンを読取り、パターンが
空のとき旧JISと判別する。
In the old JIS, the kanji code "
Since there is no pattern for "8th ward", the pattern is read by specifying "8th ward" and a predetermined "point", and if the pattern is empty, it is determined that it is the old JIS.

また旧JrSでは24X24マトリツクスの内22X2
2の領域しか使用しておらず、特定の漢字を指定して読
取り、所定領域のパターンの有無を判別する。
Also, in the old JrS, 22X2 of the 24X24 matrix
Only two areas are used, and a specific kanji character is specified and read to determine whether a pattern exists in a predetermined area.

(3)上記設定と、新旧判別とに基づき、変換せず、 新−旧コード変換、 旧→新コード変換、 をコード変換部16に指令する。(3) Based on the above settings and old/new discrimination, do not convert, New-old code conversion, Old → new code conversion, is commanded to the code conversion unit 16.

(4)漢字コードを受信したとき、主制御部1はコード
変換せずの場合は、そのまま受信バッファ3に格納し、
変換指令があるとき、コード変換部16により所定のコ
ード変換テーブルを参照してコード変換し、受信バッフ
ァ3に格納せしめる。
(4) When receiving a kanji code, if the main control unit 1 does not convert the code, it stores it in the reception buffer 3 as it is,
When there is a conversion command, the code conversion section 16 converts the code by referring to a predetermined code conversion table, and stores the converted code in the reception buffer 3.

なお前述したように、パターン展開する際、コード変換
してもよい。
Note that, as described above, code conversion may be performed when developing the pattern.

以上により新旧コードを指定するのみで、所定の漢字パ
ターンに展開して印字することができ、さらにソケット
等で漢字CGを交換すれば、簡易に新旧パターンが選択
できる。
As described above, by simply specifying the new and old codes, a predetermined kanji pattern can be developed and printed, and by exchanging the kanji CG using a socket or the like, the new and old patterns can be easily selected.

なお実施例では設定スイッチ15により新旧を指定した
がホストコンピュータによって指定してもよく、また自
己の新旧の判別は電源投入時に行って、自己の種別を記
録しておいてもよい。
In the embodiment, the setting switch 15 is used to designate the new or old, but the host computer may also designate the new or old.Alternatively, the determination of whether the device is new or old may be made when the power is turned on, and the type of the device may be recorded.

また第2図(alのブロック図において、旧−新コード
変換テーブル14.新−旧コード変換テーブル5は同一
のテーブルにまとめることが出来、またコード変換部1
6、新旧漢字CG判別部17は主制御部1に含めること
ができる。
In addition, in the block diagram of FIG. 2 (al), the old-new code conversion table 14 and the new-old code conversion table 5 can be combined into the same table, and
6. The old and new kanji CG discrimination section 17 can be included in the main control section 1.

以上の結果、利用者は新JIS、旧JISを意識する必
要がな(、また製作者は従来製作していた、新、J I
 S専用、旧JIS専用、コード変換付き新、lrS、
コード変換付き旧JISの4機種を1機種として纏める
ことができる。
As a result of the above, users do not need to be aware of the new JIS and old JIS.
S only, old JIS only, new with code conversion, lrS,
Four old JIS models with code conversion can be combined into one model.

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

以上説明したように、本発明は自己の漢字CGの種別を
判別する手段と、指定の種別に対応してコード変換する
手段とを備えたプリンタを提供するもので、ホストの新
旧コードに対する対応が容易となる他、プリンタは新旧
漢字CGの交換のみで新旧に対応できる。
As explained above, the present invention provides a printer equipped with a means for determining the type of its own kanji CG and a means for converting the code according to the specified type, and is capable of handling new and old codes of the host. In addition to being easier, the printer can handle the new and old kanji by simply replacing the CG of the old and new kanji.

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

第1図は本発明の原理説明図、 第2図(alは実施例の漢字プリンタのブロック図、第
2図(b)は動作フローチャート図、第3図(a)は旧
JIS漢字CGを搭載した漢字プリンタのブロック図、 第3図(blはコード変換動作フローチャート図、であ
る。図中、 1は主制御部、 2はインタフェース、 3は受信バッファ、 4は旧JIS漢字CG。 5は新−旧コード変換テーブル、 7は印字部、 8はラインバッファ、 9はコード変換部、 IOはコード変換テーブル、 11は新旧判別部、 12はコード変換部 13は漢字CG。 14は旧−新コード変換テーブル、 15は設定スイッチ、 16はコード変換部、 17は新旧漢字C0判別部、 である。
Figure 1 is a diagram explaining the principle of the present invention, Figure 2 (al is a block diagram of the kanji printer of the embodiment, Figure 2 (b) is an operation flowchart, and Figure 3 (a) is equipped with the old JIS kanji CG Figure 3 is a block diagram of a kanji printer that has been updated (BL is a code conversion operation flowchart. In the figure, 1 is the main control unit, 2 is the interface, 3 is the reception buffer, 4 is the old JIS kanji CG, and 5 is the new CG). - Old code conversion table, 7 is the printing section, 8 is the line buffer, 9 is the code conversion section, IO is the code conversion table, 11 is the new/old discrimination section, 12 is the code conversion section 13 is the Kanji CG. 14 is the old-new code A conversion table, 15 a setting switch, 16 a code conversion section, and 17 a new/old kanji C0 discrimination section.

Claims (1)

【特許請求の範囲】 コード種別の異なる2組の漢字パターン発生部をそれぞ
れ搭載可能な漢字プリンタであって、対応する前記2組
の漢字コードを相互に変換するコード変換テーブル(1
0)と、 搭載した自己の漢字パターン発生部のコード種別を判別
する手段(11)と、 指令されたコード種別と前記判別した自己のコード種別
とを照合するとともに、該指令とともに送出された漢字
コードを前記自己のコードに変換する手段(12)と、 を備え、コード種別の指定により、自己の漢字パターン
発生部のコードに変換して印字することを特徴とする漢
字プリンタ。
[Scope of Claims] A kanji printer capable of mounting two sets of kanji pattern generators with different code types, the code conversion table (1) for mutually converting the two sets of corresponding kanji codes.
0), a means (11) for determining the code type of its own kanji pattern generation section installed, and a means (11) for comparing the commanded code type with the determined own code type, and comparing the kanji character transmitted with the command. A kanji printer comprising: means (12) for converting a code into the own code, and converting the code into the code of the own kanji pattern generation section and printing according to the designation of the code type.
JP60248263A 1985-11-06 1985-11-06 Kanji printer Pending JPS62108296A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60248263A JPS62108296A (en) 1985-11-06 1985-11-06 Kanji printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60248263A JPS62108296A (en) 1985-11-06 1985-11-06 Kanji printer

Publications (1)

Publication Number Publication Date
JPS62108296A true JPS62108296A (en) 1987-05-19

Family

ID=17175538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60248263A Pending JPS62108296A (en) 1985-11-06 1985-11-06 Kanji printer

Country Status (1)

Country Link
JP (1) JPS62108296A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01229666A (en) * 1988-03-11 1989-09-13 Fuji Xerox Co Ltd Printer
JP4916080B2 (en) * 2000-05-31 2012-04-11 ハイネケン テクニカル サービシーズ ビー.ブイ. Pouring device, container for pouring device, and manufacturing method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01229666A (en) * 1988-03-11 1989-09-13 Fuji Xerox Co Ltd Printer
JP4916080B2 (en) * 2000-05-31 2012-04-11 ハイネケン テクニカル サービシーズ ビー.ブイ. Pouring device, container for pouring device, and manufacturing method thereof

Similar Documents

Publication Publication Date Title
US5361134A (en) Integrated multifunctional document processing system for faxing, copying, printing, and scanning document information
US5459579A (en) Multifunctional document processing system for receiving document signals from a local or a remote device
JPS60234856A (en) Recording apparatus
JPH113352A (en) Electronic document file processing method and its device
JPH04232587A (en) Format used in machine language data input/ retrieving apparatus
JPH07175823A (en) Image formation storing/retrieving device
JPS62108296A (en) Kanji printer
EP0564202B1 (en) Image output method and apparatus with cache memory
JP2000010745A (en) Print system, terminal device, printer, and recording medium
JP2000341455A (en) Image processor and image processing system
JP2006202197A (en) Image management system
US6775024B1 (en) Method for selectively detecting and reading a character string
JP3322042B2 (en) Character processor
JP2002211071A (en) Image printer, apparatus and method for processing image, and storage medium
JP4018184B2 (en) Information processing apparatus and information processing method
JPH08138007A (en) Information recording and reading method and document information processor
JPH1146297A (en) Image-processing system
JPH0747724A (en) Printer
JPH0452161A (en) Printer
JP3385635B2 (en) Document editing apparatus and document editing method
JPS63272145A (en) Dump output device
JP4548426B2 (en) WRITING INFORMATION MANAGEMENT DEVICE, WRITING INFORMATION MANAGEMENT SYSTEM, AND PROGRAM
JPH02291068A (en) Document image conversion system
JP2009252063A (en) Writing information generating device and program
JP5293304B2 (en) Medium position management device and program