JPS6310228A - Recorder - Google Patents

Recorder

Info

Publication number
JPS6310228A
JPS6310228A JP61152743A JP15274386A JPS6310228A JP S6310228 A JPS6310228 A JP S6310228A JP 61152743 A JP61152743 A JP 61152743A JP 15274386 A JP15274386 A JP 15274386A JP S6310228 A JPS6310228 A JP S6310228A
Authority
JP
Japan
Prior art keywords
code
information
systems
register
control
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
JP61152743A
Other languages
Japanese (ja)
Inventor
Yutaka Murakami
裕 村上
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP61152743A priority Critical patent/JPS6310228A/en
Publication of JPS6310228A publication Critical patent/JPS6310228A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform a recording action on receiving the information on plural types of code systems including the information on the code systems of different codes, by selecting the contents of a storing means which stores the information on different codes. CONSTITUTION:A control part 33 containing a microcomputer MPU, a program ROM, etc. of a printer main body 32 reads the set value of a dip switch 35 and selects a code system number to set it to a code system register 37. The code systems 1-n of a code system information memory 34 are selected according to the value set to the register 37. Then data are received from a host computer 31 and set to a reception code register 23. The internal code is read out of the selected one of systems 1-n. When this code is equal to a character code, the corresponding information is read out of a character pattern storing part 38 and supplied to a printer part 39. While the desired processing is carried out at the part 39 if said internal code is equal to a control code. Then the information including those on the systems of different control codes is received for execution of control/recording actions.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は複数の体系の異なる入力情報に対して、記憶情
報の作成が可能な記録装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a recording device that can create storage information for input information of a plurality of different systems.

[従来の技術] まず最初に文字コード体系という用語の意味を明確にす
る。第2図において、1はコード表の例で00〜7FH
(Hは16進コード)までのコードが表わされている。
[Prior Art] First, the meaning of the term character encoding system will be clarified. In Figure 2, 1 is an example of a code table, 00-7FH
(H is a hexadecimal code).

斜線部11は制御コード領域でコード00〜20H,:
ff−ドアFHが制御コードである。白い部分12は文
字コード領域を表わしている。これら文字コード領域の
コードと制御コード領域のコードを組み合わせた全体を
1種類の文字コード体系と呼ぶ。 さて従来より、入力
されたコード情報に対応してパターン清報を出力する記
録装置において、複数種の文字コード体系情報、例えば
ASCIIコードとJISコード体系の情報処理部を装
置内に備え、あるいはカートリッジを着脱することによ
り結果的に複数種の文字コード情報に対応できるように
し、選択された文字コード体系により人力されたコード
情報をパターンに変換し出力する記録装置は存在してい
る。
The shaded area 11 is the control code area with codes 00 to 20H:
ff-Door FH is the control code. A white portion 12 represents a character code area. The entire combination of codes in the character code area and codes in the control code area is called one type of character code system. Conventionally, in a recording device that outputs a pattern report in response to input code information, an information processing unit for multiple types of character code system information, for example, an ASCII code and a JIS code system, is provided in the device, or a cartridge is provided. There is a recording device that can handle a plurality of types of character code information by attaching and detaching a character code system, and converts code information manually entered into a pattern according to a selected character code system and outputs the pattern.

しかしこのような記録装置でも、文字コードのみでなく
、制御コードが異なるコードの体系の情報、あるいは文
字コード領域と制御コード領域が他のコード体系の情報
のそれぞれの領域と互いに交錯してしまうようなコード
体系情報の場合は対応できなかった。例えば第3図にお
いて、2は1と異なるコード体系を示す図で、21は制
御コード領域、22は文字コード領域である。ここでコ
ード°′42H”に該当するコード領域13は第2図で
は文字コードであるが、第3図では制御コードとなる。
However, even in such a recording device, not only the character code but also the control code can be used to store information in different code systems, or the character code area and control code area can intersect with each other with information in other code systems. It was not possible to deal with cases where the code system information was For example, in FIG. 3, 2 is a diagram showing a code system different from 1, 21 is a control code area, and 22 is a character code area. Here, the code area 13 corresponding to the code 0'42H'' is a character code in FIG. 2, but is a control code in FIG. 3.

このような異種のコード体系の情報のどちらも正しく受
信して記録できる記録装置の出現が望まれていた。
There has been a desire for a recording device that can correctly receive and record information of such different code systems.

[発明が解決しようとする問題点] 本発明は上述の点に鑑みてなされたもので、制御コード
も含めた複数種のコード体系の情報を予め装置内に備え
ておき、人力コード情報に対応したコード体系を選択し
、人力されたコード情報に基づき記録動作を行う記録装
置を提供することを目的とする。
[Problems to be Solved by the Invention] The present invention has been made in view of the above-mentioned points. Information on multiple types of code systems including control codes is prepared in advance in the device, and it is possible to respond to manual code information. The object of the present invention is to provide a recording device that selects a code system and performs a recording operation based on manually input code information.

[問題点を解決するための手段] 上記目的を達成するために本発明の記録装置は以下の様
な構成から成る。
[Means for Solving the Problems] In order to achieve the above object, the recording apparatus of the present invention has the following configuration.

即ち、符号情報を人力して、記録を行う記録装置におい
て、符号体系の異なる複数種の符号体系情報を格納する
格納手段と前記格納手段の符号体系情報を選択する選択
手段を備える。
That is, a recording apparatus that manually records code information is provided with a storage means for storing a plurality of types of code system information of different code systems, and a selection means for selecting the code system information of the storage means.

[作用] 以上の構成において、異種の符号体系の入力符号情報を
入力して、記録できる様に動作する。
[Operation] The above configuration operates so that input code information of different code systems can be input and recorded.

[実施例] 以下図面を参照して本発明に係る一実施例を詳細に説明
する。
[Embodiment] An embodiment of the present invention will be described in detail below with reference to the drawings.

[印刷装置の説明 (第1図)] 第1図は本発明に係る一実施例の印刷装置の構成を示す
ブロック図である。図において31は、印刷装置にデー
タを伝送するホストコンピュータ、32は本実施例の印
刷装置本体である。33はマイクロプロセッサ(MPU
)とその制御プログラムやデータ等を格納するROM、
ワークエリアとしてのRAM等により構成され装置の印
刷制御を司る制御部である。34はホストコンピュータ
31より伝送されたコードを、特定の文字あるいは制御
指令として意味づけるためのコード体系情報メモリであ
り、35はホストコンピュータより伝送されるコードの
コード体系を選択するディツブスイッチである。36は
コード体系情報メモリ34内のコード体系テーブルを検
索して、受信したコードを固有の内部コードに変換する
ためのテーブルポインタレジスタである。37は現在選
択されているコード体系の番号を格納するコード体系レ
ジスタ、38は印字に際して内部コードを文字パターン
に変換するための文字パターン格納部である。39は用
紙上にパターンデータに基づき可視像を形成するドツト
プリンタ部である。
[Description of Printing Apparatus (FIG. 1)] FIG. 1 is a block diagram showing the configuration of a printing apparatus according to an embodiment of the present invention. In the figure, 31 is a host computer that transmits data to the printing apparatus, and 32 is the main body of the printing apparatus of this embodiment. 33 is a microprocessor (MPU)
) and a ROM that stores its control programs and data, etc.
This is a control unit that is configured with a RAM and the like as a work area and controls printing of the apparatus. 34 is a code system information memory for giving meaning to the code transmitted from the host computer 31 as a specific character or control command, and 35 is a switch for selecting the code system of the code transmitted from the host computer. . 36 is a table pointer register for searching the code system table in the code system information memory 34 and converting the received code into a unique internal code. 37 is a code system register for storing the number of the currently selected code system, and 38 is a character pattern storage section for converting the internal code into a character pattern during printing. A dot printer section 39 forms a visible image on paper based on pattern data.

[コード体系情報の説明 (第4図)コ第4図はコード
体系情報メモリ34のテーブルとコード体系レジスタ3
7とテーブルポインタレジスタ36の関係を示した図で
、このテーブルにより入力コード情報が内部コードに変
換される。
[Explanation of code system information (Fig. 4) Fig. 4 shows the table of the code system information memory 34 and the code system register 3.
7 and a table pointer register 36. This table converts input code information into an internal code.

コード体系情報メモリ34はn個のコード体系に基づく
コード変換テーブル44を備えていて、コード体系1〜
nに対応した各変換テーブル44の先頭アドレスは、テ
ーブルポインタレジスタ36で指示され、そのテーブル
ポインタレジスタ36はコード体系レジスタ37のコー
ド体系ナンバーに対応して選択されることを示している
。このコード体系ナンバーはディップスイッチ35によ
り選択された番号である。
The code system information memory 34 includes a code conversion table 44 based on n code systems.
The start address of each conversion table 44 corresponding to n is indicated by the table pointer register 36, and the table pointer register 36 is selected in accordance with the code system number of the code system register 37. This code system number is the number selected by the dip switch 35.

コード変換テーブル44はコード欄45と内部コード欄
46とから成り、入力されたコードがコード欄45の数
字に対応し、コード欄45のコードに対応した内部コー
ド欄46の内部コードが、この装置が対応するコード体
系に含まれる全ての文字、全ての制御コートが意味する
ものを含む内部処理用のコードである。
The code conversion table 44 consists of a code field 45 and an internal code field 46, the input code corresponds to the number in the code field 45, and the internal code in the internal code field 46 corresponding to the code in the code field 45 corresponds to the code in the code field 45. is a code for internal processing that includes all characters and meanings of all control codes included in the corresponding code system.

25はデコーダでコード体系レジスタ37の内容をデコ
ードして、テーブルポインタレジスタ36のコード体系
ナンバーに対応したポインタを選択し、コード体系情報
メモリ34のコード体系1〜nのうちのいずれかを選択
する。一方受信されたコードは受信コードレジスタ23
にセットされ、コード体系レジスタ37により選択され
たテーブルポインタレジスタ36の値とともに、加算回
路24に人力されることにより、受信コードに対応した
内部コードが読み出されるようになっている。
25 decodes the contents of the code system register 37 with a decoder, selects the pointer corresponding to the code system number of the table pointer register 36, and selects one of the code systems 1 to n in the code system information memory 34. . On the other hand, the received code is stored in the reception code register 23.
By manually inputting the value of the table pointer register 36 selected by the code system register 37 to the adder circuit 24, the internal code corresponding to the received code is read out.

[制御部の動作説明 (第4図、第5図)]次に第5図
のフローチャートを参照して、本実施例の制御部33の
動作を説明する。なお本プログラムは制御部33のRO
Mに格納されている。
[Explanation of Operation of Control Section (FIGS. 4 and 5)] Next, the operation of the control section 33 of this embodiment will be explained with reference to the flowchart of FIG. Note that this program is executed by the RO of the control unit 33.
It is stored in M.

電源スィッチの入力またはリセット信号の入力によりプ
ログラムがスタートすると、まずステップS1に進みデ
ィツブスイッチ35の値を読み込む。ステップS2でデ
ィツブスイッチ35に対応したコード体系ナンバーが選
択され、その値をコード体系レジスタ37にセットする
。これによりコード体系情報メモリ34のうちどのコー
ド体系が選ばれるかが決定する。
When the program is started by inputting a power switch or a reset signal, the program first proceeds to step S1 and reads the value of the dip switch 35. In step S2, the code system number corresponding to the dip switch 35 is selected, and its value is set in the code system register 37. This determines which code system is selected from the code system information memory 34.

ステップS3ではホストコンピュータ31よりの受信デ
ータを待つ。データが受信されるとステップS4に進み
そのデータを取り込む。次にステップS5でそのデータ
を受信コードレジスタ23にセットする。ステップS6
でコード体系情報メモリ34より内部コードを読み出し
、ステップS7で文字コードの場合は文字パターン格納
部38より内部コードに対応する文字パターンを読み出
してプリンタ部39に送出する。この時制御コードの場
合は各制御コードに対応した処理等を行う様な通常の印
字制御動作を行い、再びステップS3に戻り次のデータ
受信を待つ。
In step S3, data received from the host computer 31 is awaited. When the data is received, the process advances to step S4 and the data is taken in. Next, in step S5, the data is set in the reception code register 23. Step S6
The internal code is read from the code system information memory 34, and in step S7, if it is a character code, the character pattern corresponding to the internal code is read from the character pattern storage section 38 and sent to the printer section 39. At this time, in the case of a control code, normal printing control operations such as processing corresponding to each control code are performed, and the process returns to step S3 again to wait for the next data reception.

第4図を参照して前記ステップを具体的に説明すると、
いま例えばディップスイッチ35によりコード体系が“
2”に選択されているとすると、コード体系レジスタ3
7には2”がセットされ、デコーダ25よりテーブルポ
インタレジスタ36ではアドレスとしてADR2が選択
される。
The steps will be explained in detail with reference to FIG.
Now, for example, the code system is set by the dip switch 35.
2” is selected, code system register 3
7 is set to 2'', and the decoder 25 selects ADR2 as the address in the table pointer register 36.

これによりコード体系2の変換テーブル44が、コード
変換のために使用される。ここで受信データとじて「0
2」というコードが入力されると、このコードは受信コ
ードレジスタ23にセットされ、加算回路24によりテ
ーブルポインタレジスタ36と受信コードレジスタ23
の内容が加算され、その結果アドレス信号ADR2+0
2が出力されて、コード欄45のコード「02」に対応
した内部コード400が読み出されることになる。
As a result, the conversion table 44 of code system 2 is used for code conversion. Here, the received data is “0”.
2'' is input, this code is set in the reception code register 23, and the adder circuit 24 inputs the table pointer register 36 and the reception code register 23.
The contents of are added, and as a result, the address signal ADR2+0
2 is output, and the internal code 400 corresponding to the code "02" in the code field 45 is read out.

なお本実施例では内部コードの取り出しは、コード変換
テーブルの先頭アドレスと受信コードを加算してアドレ
スを計算するようにしたが、これに限定されるものでは
なく、プログラムによ°るサーチなどでも良いことはも
ちろんである。またコード体系の選択はディツブスイッ
チにより行うと述べたが、ホストコンピュータよりコー
ド体系選択命令を送信するようにしてもよい。
Note that in this embodiment, the internal code is retrieved by calculating the address by adding the start address of the code conversion table and the received code, but the address is not limited to this, and a search by a program can also be used. Of course it's a good thing. Furthermore, although it has been described that the coding system is selected by the digital switch, the coding system selection command may be sent from the host computer.

以上述べた如く本実施例によれば、極めて簡便な操作に
よってコード体系が選択され、複数種のコード体系のデ
ータに対応した記録装置が提供でき、あるコード体系の
コンピュータと、制御コードすらも異なるコード体系の
他のコンピュータとが記録装置を共有できるため、ユー
ザーにとっては設備投資が安価となるとともに、別々に
使用した場合にも他への転用がきくという効果がある。
As described above, according to this embodiment, a code system can be selected by an extremely simple operation, a recording device compatible with data of multiple types of code systems can be provided, and even the control code may be different from a computer of a certain code system. Since the recording device can be shared with other computers in the code system, the equipment investment is low for the user, and even when used separately, it can be used for other purposes.

[発明の効果コ 以上述べたように本発明によれば、制御コードも異なる
コード体系の情報を含む複数種のコード体系の情報を受
信して記録動作を行うことができる記録装置を提供でき
た。
[Effects of the Invention] As described above, according to the present invention, it is possible to provide a recording device that can perform a recording operation by receiving information of multiple types of code systems including information of different code systems for control codes. .

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

第1図は本発明に係る一実施例である記録装置の構成を
示すブロック図、 第2図はコード体系の一例を示した図、第3図は第2図
と異なるコード体系の一例を示した図、 第4図は第1図のコード体系情報メモリとコード体系レ
ジスタとテーブルポインタレジスタの関連を示した図、 第5図は制御部に内蔵されたプログラムの動作例を示す
フローチャートである。 図中、23・・・受信コードレジスタ、24・・・加算
回路、25・・・デコーダ、31・・・ホストコンピュ
ータ、33・・・制御部、34・・・コード体系情報メ
モリ、35・・・ディツブスイッチ、36・・・テーブ
ルポインタレジスタ、37・・・コード体系レジスタ、
38・・・文字パターン格納部、45・・・コード欄、
46・・・内部コード欄である。 特許出願人   キャノン株式会社 第2図 第311A
FIG. 1 is a block diagram showing the configuration of a recording device that is an embodiment of the present invention, FIG. 2 is a diagram showing an example of a code system, and FIG. 3 is a diagram showing an example of a code system different from that in FIG. FIG. 4 is a diagram showing the relationship between the code system information memory, the code system register, and the table pointer register in FIG. 1, and FIG. 5 is a flowchart showing an example of the operation of the program built in the control section. In the figure, 23... Reception code register, 24... Addition circuit, 25... Decoder, 31... Host computer, 33... Control unit, 34... Code system information memory, 35...・Ditub switch, 36...Table pointer register, 37...Code system register,
38...Character pattern storage section, 45...Code field,
46: Internal code column. Patent applicant: Canon Co., Ltd. Figure 2, Figure 311A

Claims (2)

【特許請求の範囲】[Claims] (1)符号情報を入力して、記録を行う記録装置におい
て、符号体系の異なる複数種の符号体系情報を格納する
格納手段と前記格納手段の符号体系情報を選択する選択
手段を備え、異種の符号体系の入力符号情報を記録可能
にしたことを特徴とする記録装置。
(1) A recording device that inputs code information and performs recording, comprising a storage means for storing a plurality of types of code system information with different code systems, and a selection means for selecting the code system information of the storage means, A recording device that is capable of recording input code information of a coding system.
(2)符号体系情報には、文字符号と制御符号を含み、
異種の符号体系情報は文字符号に加えて制御符号も異な
る符号体系情報であることを特徴とする特許請求範囲第
1項記載の記録装置。
(2) Coding system information includes character codes and control codes,
2. The recording device according to claim 1, wherein the different encoding system information includes different encoding system information in which not only character codes but also control codes are different.
JP61152743A 1986-07-01 1986-07-01 Recorder Pending JPS6310228A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61152743A JPS6310228A (en) 1986-07-01 1986-07-01 Recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61152743A JPS6310228A (en) 1986-07-01 1986-07-01 Recorder

Publications (1)

Publication Number Publication Date
JPS6310228A true JPS6310228A (en) 1988-01-16

Family

ID=15547185

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61152743A Pending JPS6310228A (en) 1986-07-01 1986-07-01 Recorder

Country Status (1)

Country Link
JP (1) JPS6310228A (en)

Similar Documents

Publication Publication Date Title
US4480314A (en) Method for optimizing printer response time for a key to print operation
JP2615137B2 (en) Printing device
US5028923A (en) ISO/EIA code converting method
JPS6310228A (en) Recorder
US4432056A (en) Programmable electronic computer
JPH0753460B2 (en) Print control method
US5675722A (en) Pattern output apparatus
JP3097721B2 (en) Terminal printer
JPS63202476A (en) Document output unit
JP3131918B2 (en) Memory device
JP2644778B2 (en) Character generator
JP2665016B2 (en) Code conversion method
JP2913502B2 (en) Stencil printer with character font conversion function
JP2940140B2 (en) Document data processing device
JPS642180Y2 (en)
JPH03142271A (en) Printer
JPH02113963A (en) Data output apparatus
JPS5819968A (en) Address designating system
JPH065552B2 (en) Composite input method for image and character information
JPS6263366A (en) Searching system for unwritten part in word processor
JPS58193577A (en) Graphic japanese character learning machine
JPS5936314B2 (en) Display device control method
JPS6235931A (en) Input buffer control system
JPH0638258B2 (en) Character processor
JPH03188560A (en) Print page designation system for word processor