JPH0441391Y2 - - Google Patents
Info
- Publication number
- JPH0441391Y2 JPH0441391Y2 JP1985180518U JP18051885U JPH0441391Y2 JP H0441391 Y2 JPH0441391 Y2 JP H0441391Y2 JP 1985180518 U JP1985180518 U JP 1985180518U JP 18051885 U JP18051885 U JP 18051885U JP H0441391 Y2 JPH0441391 Y2 JP H0441391Y2
- Authority
- JP
- Japan
- Prior art keywords
- code
- printer
- character
- kana
- output
- 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.)
- Expired
Links
Landscapes
- Dot-Matrix Printers And Others (AREA)
Description
【考案の詳細な説明】
[考案の技術分野]
この考案は、接続対象となるプリンタが、漢字
コード系、カナコード系の何れか一方に特定され
ないシステムに用いて好適する印字制御装置に関
する。[Detailed Description of the Invention] [Technical Field of the Invention] This invention relates to a printing control device suitable for use in a system in which a printer to be connected is not specified as either a Kanji code system or a Kana code system.
[従来技術とその問題点]
従来、漢字コード体系の文書を取扱うことので
きるシステムにおいて、一印字出力対象として、
英数プリンタを接続した場合、漢字のコードに対
しては、その漢字が印字できないことから、その
部分に、スペース、又はそのコードそのものを印
字するようにした装置がある。[Prior art and its problems] Conventionally, in a system that can handle documents in a kanji code system, as a printout target,
When an alphanumeric printer is connected, since the Kanji code cannot be printed, there is a device that prints a space or the code itself in that part.
しかしながら、このような従来の装置に於いて
は、漢字が混在する文書をプリントアウトしたい
とき、その内容を容易に判読できる状態で印字出
力することができないという欠点があつた。 However, such conventional devices have a drawback in that when it is desired to print out a document containing a mixture of Chinese characters, the content cannot be printed out in an easily readable manner.
[考案の目的]
この考案は、出力すべき文書の文字コード体系
が出力対象となるプリンタの文字コード系と合致
しない場合であつても、その文書内容を容易に判
読できる状態で印字出力することができる印字制
御装置を提供することを目的とする。[Purpose of the invention] This invention is capable of printing out the document contents in an easily legible state even when the character encoding system of the document to be output does not match the character encoding system of the printer to be output. The purpose is to provide a printing control device that can perform the following functions.
[考案の要点]
この考案は、接続対象となるプリンタが、漢字
コード系、カナコード系の何れか一方に特定され
ないシステムに於いて、印字すべき文書の文字コ
ード列を貯える入力バツフアと、出力対象プリン
タが漢字コードプリンタであるかカナコードプリ
ンタであるかを示す指定信号を受ける受信手段
と、前記指定信号が漢字コードプリンタを示す場
合前記入力バツフアに貯えられた文字コードを前
記プリンタからの同期信号に従つて読み出しその
まま前記プリンタに出力する制御手段と、前記指
定信号がカナコードプリンタを示す場合、前記入
力バツフアに貯られた文字コードを1文字単位で
読出し、そのコード体系を判別する手段と、該判
別手段により判別された文字コードのコード体系
がカナコード体系でないとき、該文字コードを上
記出力対象プリンタのコード体系による所定の対
応付けを施したカナコード又はカナコード列に変
換するコード変換テーブルとを備え、特定コード
体系の文書を出力対象となるプリンタのコード体
系に従う文字形態で印字出力する構成としたもの
で、これにより出力すべき文書の文字コード体系
が出力対象となるプリンタの文字コード系と合致
しない場合であつても、その文書内容を容易に判
読できる状態で印字出力することが出来る。[Key points of the invention] This invention is based on an input buffer that stores the character code string of the document to be printed, and an output receiving means for receiving a designation signal indicating whether the target printer is a Kanji code printer or a Kana code printer; and if the designation signal indicates a Kanji code printer, synchronizing the character code stored in the input buffer from the printer; control means for reading and outputting the data as is to the printer in accordance with a signal; and when the designated signal indicates a kana code printer, means for reading character codes stored in the input buffer character by character and determining the code system thereof; , code conversion for converting the character code into a kana code or a kana code string with a predetermined correspondence according to the code system of the output target printer when the code system of the character code determined by the discrimination means is not a kana code system; It is configured to print out a document of a specific code system in a character form that conforms to the code system of the printer to be output, so that the character code system of the document to be output is changed to the character code of the printer to be output. Even if the document contents do not match the code system, the document contents can be printed out in an easily readable manner.
[実施例]
(1) 構成
第1図に於いて、11は出力すべき文書の文字
コード列を入力し、その文字コード列を出力対象
となるプリンタで扱う文字コード列にした後、上
記プリンタに供給して印字出力制御する出力制御
回路であり、ホスト機器側からは、印字制御信号
(PC)、文字コード列でなる印字データ(CD)等
を受けるとともに、出力対象となるプリンタが漢
字コードを扱う漢字プリンタであるかカナコード
を扱うカナプリンタであるかを示す信号をコード
変換指定信号(CC)として受け、出力対象とな
るプリンタに対応した文字コード列の印字データ
(PD)を同プリンタに出力する。12乃至15は
それぞれ上記出力制御回路11によりアクセス制
御されるもので、12は入力バツフア、13は出
力バツフア、14,15は第1,第2の各コード
変換回路である。上記入力バツフア12はホスト
機器側から入力された印字文字コード列でなる印
字データ(CD)を貯え、出力バツフア13は出
力対象プリンタで扱うコード系の印字データ
(PD)を貯える。又、上記第1のコード変換回路
14は、出力制御回路11より受けた2バイト構
成の漢字コードを予め対応付けられた1バイト構
成のカナコード(又はカナコード列)に変換して
出力制御回路11に送出し、上記第2のコード変
換回路15は、出力制御回路11より受けた2バ
イト構成の漢字・英数・カナコードを予め対応付
けられた1バイト構成の英数・カナコード(又は
カナコード列)に変換して出力制御回路11に送
出する。[Example] (1) Configuration In Fig. 1, 11 inputs the character code string of the document to be output, converts the character code string into a character code string handled by the printer to be output, and then outputs the character code string to the printer. This is an output control circuit that controls print output by supplying data to the host device, and receives a print control signal (PC), print data (CD) consisting of a character code string, etc. from the host device, and the printer that is the output target receives the kanji code. A signal indicating whether the printer is a kanji printer that handles kanji characters or a kana printer that handles kana codes is received as a code conversion designation signal (CC), and the print data (PD) of the character code string corresponding to the printer to be output is sent to the same printer. Output to. Reference numerals 12 to 15 are access-controlled by the output control circuit 11, respectively: 12 is an input buffer, 13 is an output buffer, and 14 and 15 are first and second code conversion circuits. The input buffer 12 stores print data (CD) consisting of a print character code string input from the host device, and the output buffer 13 stores code-based print data (PD) handled by the output target printer. Further, the first code conversion circuit 14 converts the 2-byte kanji code received from the output control circuit 11 into a 1-byte kana code (or kana code string) associated with the output control circuit 11 in advance. 11, and the second code conversion circuit 15 converts the 2-byte kanji/alphanumeric/kana code received from the output control circuit 11 into a 1-byte alphanumeric/kana code (or (kana code string) and sends it to the output control circuit 11.
16は出力制御回路11制御対象下におかれた
プリンタである。 16 is a printer placed under the control of the output control circuit 11;
(2) 作用
出力制御回路11は、ホスト機器側から受けた
印字データ(CD)を入力バツフア12に貯えた
後、入力順に1文字ずつ読出し、その文字コード
が2バイト構成の漢字文字コードであるか、漢字
コードで表わした英数・カナコードであるか、1
バイト構成のカナコードであるかを判断する。(2) Function The output control circuit 11 stores the print data (CD) received from the host device in the input buffer 12, reads out the characters one by one in the input order, and the character code is a 2-byte Kanji character code. or alphanumeric/kana code expressed in kanji code, 1
Determine whether it is Kana code with a byte structure.
ここで、出力対象となるプリンタ16がカナコ
ード系である際は、カナ変換を指定するコード変
換指定信号(CC)が出力制御回路11に入力さ
れる。出力制御回路11は、このコード変換指定
信号(CC)に従い、上記コード判別の結果が1
バイト構成のカナコードである際は、上記入力バ
ツフア12より読出した文字コードをそのまま出
力バツフア13に貯え、又、上記コード判別の結
果が2バイト構成の漢字文字コードである際は、
上記入力バツフア12より読出した文字コードを
第1のコード変換回路14により1バイト構成の
カナコード(又はカナコード列)に変換して、そ
の変換した文字コードを出力バツフア13に貯
え、又、上記コード判別の結果が2バイト構成の
漢字・英数・カナコードである際は、上記入力バ
ツフア12より読出した文字コードを第2のコー
ド変換回路15により1バイト構成の英数・カナ
コード(又は英数・カナコード列)に変換して、
その変換した文字コードを出力バツフア13に貯
える。例えば「発」「明」の各漢字文字コードに
対しては、そのコードが「ハ」「ツ」「メ」「イ」
の各カナ文字コード列に変換されて出力バツフア
13に貯えられる。 Here, when the printer 16 to be output is a kana code system, a code conversion designation signal (CC) specifying kana conversion is input to the output control circuit 11. According to this code conversion designation signal (CC), the output control circuit 11 determines whether the result of the code discrimination is 1.
When the character code is a byte-structured Kana code, the character code read from the input buffer 12 is stored as it is in the output buffer 13, and when the result of the code discrimination is a 2-byte-structured Kanji character code,
The character code read from the input buffer 12 is converted into a 1-byte kana code (or kana code string) by the first code conversion circuit 14, and the converted character code is stored in the output buffer 13. When the result of code discrimination is a 2-byte kanji, alphanumeric, or kana code, the character code read from the input buffer 12 is transferred to a 1-byte alphanumeric or kana code by the second code conversion circuit 15. (alphanumeric/kana code string),
The converted character code is stored in the output buffer 13. For example, for each kanji character code of ``Ha'', ``Mei'', the code is ``Ha'', ``Tsu'', ``Me'', and ``I''.
are converted into each kana character code string and stored in the output buffer 13.
このようなコード変換処理を入力バツフア12
に貯えられた印字データ(CD)の全てついて行
ない、これによつて出力バツフア13に貯えられ
た変換処理後の文字コードをプリンタ16からの
同期信号(SC)に従い、順次印字データ(PD)
としてプリンタ16に出力する。 The input buffer 12 performs such code conversion processing.
All of the print data (CD) stored in the printer 16 is followed, and the converted character codes stored in the output buffer 13 are sequentially converted into print data (PD) according to the synchronization signal (SC) from the printer 16.
It is output to the printer 16 as .
又、出力対象となるプリンタ16が漢字コード
系である際は、漢字変換を指定するコード変換指
定信号(CC)が出力制御回路11に入力される。
出力制御回路11は、このコード変換指定信号
(CC)に従い、上記入力バツフア12に貯えられ
た印字データ(CD)を出力バツフア13を介さ
ずに、プリンタ16からの同期信号(SC)に従
い順次読出してそのままプリンタ16に出力す
る。 Further, when the printer 16 to be output is a Kanji code system, a code conversion designation signal (CC) designating Kanji conversion is input to the output control circuit 11.
The output control circuit 11 sequentially reads out the print data (CD) stored in the input buffer 12 according to the code conversion designation signal (CC) without going through the output buffer 13 and according to the synchronization signal (SC) from the printer 16. and output it to the printer 16 as it is.
このように、印字出力される文書の各文字コー
ドを出力対象となるプリンタ16で扱うコード系
に対応した文字コード列の印字データに選択的に
変換して上記プリンタ16に送出する構成とした
ことから、出力すべき文書の文字コード体系が出
力対象となるプリンタ文字コード系と合致しない
場合であつても、その文書内容を容易に判読でき
る状態で印字出力することができる。 In this way, each character code of a document to be printed out is selectively converted into print data of a character code string corresponding to the code system handled by the printer 16 to be output, and the print data is sent to the printer 16. Therefore, even if the character code system of the document to be output does not match the character code system of the printer to be output, the content of the document can be printed out in an easily readable state.
尚、上記した実施例では漢字を選択的にカナ文
字に変換して印字出力しているが、例えば漢字を
選択的にローマ字に変換し、又はカナを選択的に
ローマ字に変換して出力することも可能である。 In the above embodiment, kanji are selectively converted to kana characters and printed out. However, for example, kanji can be selectively converted to Roman characters, or kana can be selectively converted to Roman characters and output. is also possible.
[考案の効果]
以上詳述したようにこの考案の印字制御装置に
よれば、接続対象となるプリンタが、漢字コード
系、カナコード系の何れか一方に特定されないシ
ステムに於いて、入力バツフアに貯えられた文字
コードを1文字単位で読出し、そのコード体系を
判別する手段と、上記コード体系が出力対象プリ
ンタと一致しないとき、上記入力バツフアより読
出したコードを上記出力対象プリンタのコード体
系による所定の対応付けを施したコード又はコー
ド列に変換するコード変換テーブルとを備え、特
定コード体系の文書を出力対象となるプリンタの
コード系に従う文字形態で印字出力する構成とし
たことにより、出力すべき文書の文字コード体系
が出力対象となるプリンタの文字コード系と合致
しない場合であつても、その文書内容を容易に判
読できる状態で印字出力することができる。[Effects of the invention] As detailed above, according to the printing control device of this invention, in a system where the printer to be connected is not specified as either the Kanji code system or the Kana code system, the input buffer can be improved. means for reading stored character codes character by character and determining the code system thereof; and when the code system does not match the output target printer, the code read from the input buffer is read out in a predetermined manner according to the code system of the output target printer; It is equipped with a code conversion table for converting into codes or code strings that have been mapped to Even when the character code system of a document does not match the character code system of a printer to be output, the content of the document can be printed out in an easily readable state.
第1図はこの考案の一実施例の構成を示すブロ
ツク図である。
11……出力制御回路、12……入力バツフ
ア、13出力バツフア、14……第1のコード変
換回路、15……第2のコード変換回路、16…
…プリンタ。
FIG. 1 is a block diagram showing the structure of an embodiment of this invention. 11... Output control circuit, 12... Input buffer, 13 Output buffer, 14... First code conversion circuit, 15... Second code conversion circuit, 16...
...Printer.
Claims (1)
ナコード系の何れか一方に特定されないシステム
に於いて、 印字すべき文書の文字コード列を貯える入力バ
ツフアと、 出力対象プリンタが漢字コードプリンタである
かカナコードプリンタであるかを示す指定信号を
受ける受信手段と、 前記指定信号が漢字コードプリンタを示す場合
前記入力バツフアに貯られた文字コードを前記プ
リンタからの同期信号に従つて読み出しそのまま
前記プリンタに出力する制御手段と、 前記指定信号がカナコードプリンタを示す場合
前記入力バツフアに貯られた文字コードを1文字
単位で読出し、そのコード体系を判別する手段
と、 該判別手段により判別された文字コードのコー
ド体系がカナコード体系でないとき、該文字コー
ドを上記出力対象プリンタのコード体系による所
定の対応付けを施したカナコード又はカナコード
列に変換するコード変換テーブルとを備え、 特定コード体系の文書を出力対象となるプリン
タのコード体系に従う文字形態で印字出力するこ
とを特徴とした印字制御装置。[Scope of claim for utility model registration] In a system where the printer to be connected is not specified as either Kanji code system or Kana code system, an input buffer for storing character code strings of documents to be printed, and an output target. receiving means for receiving a designation signal indicating whether the printer is a Kanji code printer or a Kana code printer; and when the designation signal indicates a Kanji code printer, the character code stored in the input buffer is sent to a synchronization signal from the printer; control means for reading and outputting it as is to the printer according to the above; and means for reading character codes stored in the input buffer one character at a time when the designated signal indicates a kana code printer, and determining the code system thereof; a code conversion table for converting the character code into a kana code or a kana code string with a predetermined correspondence according to the code system of the output target printer when the code system of the character code determined by the determining means is not the kana code system; What is claimed is: 1. A print control device that prints out a document in a specific code system in a character form that conforms to the code system of the printer to be outputted.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1985180518U JPH0441391Y2 (en) | 1985-11-22 | 1985-11-22 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1985180518U JPH0441391Y2 (en) | 1985-11-22 | 1985-11-22 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6289035U JPS6289035U (en) | 1987-06-06 |
| JPH0441391Y2 true JPH0441391Y2 (en) | 1992-09-29 |
Family
ID=31124551
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1985180518U Expired JPH0441391Y2 (en) | 1985-11-22 | 1985-11-22 |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0441391Y2 (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS55159245A (en) * | 1979-05-30 | 1980-12-11 | Nippon Telegr & Teleph Corp <Ntt> | Output method of japanese language information |
| JPS56153442A (en) * | 1980-04-30 | 1981-11-27 | Toshiba Corp | Output code translator for printer |
-
1985
- 1985-11-22 JP JP1985180518U patent/JPH0441391Y2/ja not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6289035U (en) | 1987-06-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0441391Y2 (en) | ||
| JPS5622185A (en) | Chinese character bit pattern control system for chinese character printer | |
| EP0356076A2 (en) | Pattern output apparatus | |
| JPS5690368A (en) | Document editing device | |
| JPH0514607Y2 (en) | ||
| JP2913502B2 (en) | Stencil printer with character font conversion function | |
| JPH01126769A (en) | Character string registration control system for printer | |
| JPS5627484A (en) | Print format assignment system | |
| JPS5553729A (en) | Data input/output system | |
| JPS61176647U (en) | ||
| JPH05173731A (en) | Printer | |
| JPS63107059U (en) | ||
| JP2001285545A (en) | Communication terminal device with destination recognition function | |
| JPS5585937A (en) | Print control system for same sound different word in kana-kanji conversion | |
| JPH0426487B2 (en) | ||
| JPS6022227A (en) | European text processor | |
| JPH0398113A (en) | 1-byte/2-byte character string bidirectional conversion system | |
| JPH10232861A (en) | Document output device | |
| JPS62231776A (en) | Portable-type terminal device | |
| JPH04140949A (en) | Telex terminal equipment printing out japanese word | |
| JPH0314167A (en) | Data converting system | |
| JPS62160485A (en) | Display unit | |
| JPS63182131U (en) | ||
| JPH0286484A (en) | Printing output form record-generating system | |
| JPS63168561U (en) |