JPH01184171A - Printer - Google Patents

Printer

Info

Publication number
JPH01184171A
JPH01184171A JP63009967A JP996788A JPH01184171A JP H01184171 A JPH01184171 A JP H01184171A JP 63009967 A JP63009967 A JP 63009967A JP 996788 A JP996788 A JP 996788A JP H01184171 A JPH01184171 A JP H01184171A
Authority
JP
Japan
Prior art keywords
conversion table
character code
font
memory
logical
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
JP63009967A
Other languages
Japanese (ja)
Other versions
JPH0698792B2 (en
Inventor
Manabu Ajioka
味岡 学
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP63009967A priority Critical patent/JPH0698792B2/en
Publication of JPH01184171A publication Critical patent/JPH01184171A/en
Publication of JPH0698792B2 publication Critical patent/JPH0698792B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To ensure a conversion table to prevent the generation of trouble in operation on and after, by providing an inverse conversion table and the conversion table as a pair. CONSTITUTION:When the continuation of operation becomes impossible by the generation of an error on the way of a series of operations from the registration of a conversion table 2 to the completion of the writing to a font memory and the situation discarding the data in a buffer memory 3 is generated, the next processing is performed. That is, when a font pattern is contained in the page buffer, by applying a physical character code to the address of an inverse conversion table 6, the logical character code being the content thereof can be obtained and the canceling of the registration of the conversion table 2 becomes possible. As mentioned above, since the printer is constituted so as to perform restoration at the time of the generation of an error by the inverse conversion table, user's convenience is excellent and a highly precise apparatus is obtained inexpensively.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、外字処理機納をもつプリンタ装置に関し、
特にコラ−発生時の復旧方式に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a printer device having an external character processing mechanism,
In particular, it relates to a recovery method when a collision occurs.

〔従来の技術〕[Conventional technology]

第2図は従来の外字処理機納をもつプリンタ装置であり
、図において、(1)はホスト計算機やMT等より送ら
れる入力データを示し、論理文字コード、制御コード、
フォントパターンが含まれる。
Figure 2 shows a conventional printer device with external character processing. In the figure, (1) indicates input data sent from a host computer, MT, etc., including logical character codes, control codes,
Contains font patterns.

(2)は入力データ(1)の中の論理文字コードをフォ
ントメモリ(4)対応の物理文字コードに変換する変換
テーブル、(8)は得られた物理文字コードを1ペ一ジ
単位で複数ページストアするページバッファ、(4)は
各物理文字コード単位にフォントパターンをストアする
フオ〉トメモリを示す。(5)はフォントメモリ(4)
より得られたフォントパターンを用紙上に印字出力する
印字出力部を示す。
(2) is a conversion table that converts the logical character code in input data (1) to a physical character code compatible with font memory (4), and (8) is a conversion table that converts the obtained physical character code in units of one page. A page buffer stores pages, and (4) represents a photo memory that stores font patterns for each physical character code. (5) is font memory (4)
A printout section is shown that prints out the obtained font pattern on paper.

次に動作について説明する。入力データ(1)の中にフ
ォントパター〉があれば、その中には対応する論理文字
コードが含まれており、この論理文字コードヲ変換テー
ブル(4)のアドレスとして与え、これに対し、順次フ
ォントメモリの収納アドレスを決定し、これを物理文字
コードとして変換テーブル(4)の論理文字コードアド
レスに書き込む。又この物理文字コードを上記フォント
パターンと共にページバッファ(8)へ書き込む。フォ
ントパターンデータがあれば、以上の様な手順にて変換
テーブル(2)を登録していく。次に入力データ(1)
として、印字出力データ用の論理文字コードが来れば、
変換テーブル(4)により物理文字コードに変換し、ペ
ージバッファ(8)にストアする。ページバッファ(8
)より読み出したデータの内、フォントパターンはフォ
ントメモリ(4)の対応する物理文字コードアドレスへ
書き込む。出力データ用の物理文字コードであれば、フ
ォントメモリ(4)より対応するフォントパターンを読
み出し、印字出力部(5)へ送り、用紙への出力を行な
う。
Next, the operation will be explained. If there is a font pattern in the input data (1), it contains the corresponding logical character code, and this logical character code is given as the address of the conversion table (4), and the font pattern is Determine the memory storage address and write this as a physical character code to the logical character code address of the conversion table (4). Also, this physical character code is written to the page buffer (8) together with the font pattern. If font pattern data is available, a conversion table (2) is registered using the steps described above. Next, input data (1)
As, if the logical character code for print output data comes,
It is converted into a physical character code using the conversion table (4) and stored in the page buffer (8). Page buffer (8
), the font pattern is written to the corresponding physical character code address in the font memory (4). If it is a physical character code for output data, the corresponding font pattern is read from the font memory (4), sent to the print output section (5), and outputted onto paper.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のプリンタ装置は以上の様に構成されているので、
動作中のエラー等の発生により印字続行が不可能になり
ページバッファ内のデータが不要になった場合、その中
にフォントパターンが含まれておれば変換テーブルを対
応論理文字コード部を元へ戻す必要があるが、物理文字
コードから元の論理文字コードを知ることは不可能であ
り、以降文字化は等の不具合が発生する問題点があった
Conventional printer devices are configured as described above, so
If it becomes impossible to continue printing due to an error during operation and the data in the page buffer is no longer needed, if the data contains a font pattern, the conversion table is restored to the corresponding logical character code section. However, it is impossible to know the original logical character code from the physical character code, and there is a problem that problems such as characterization may occur afterward.

この発明は上記の様な問題点を解消するためになされた
もので、動作中のエラー発生等により印字続行が不可能
になった場合においても、変換テーブルの保証が可能と
なり、以降の動作において文字化は等の不具合が発生し
ないプリンタ装置を得ることを目的とする・ 〔課題を解決するための手段〕 この発明に係る外字処理機納をもつプリンタ装置におい
て、ページバッファ内のデータを廃却する時に、変換テ
ーブルの登録の取り消しを可能とする為、逆変換テーブ
ルを変換テーブルと対に設けることにより、変換テーブ
ルの内容を保証する様にしたものである。
This invention was made to solve the above-mentioned problems, and even if it becomes impossible to continue printing due to an error occurring during operation, the conversion table can be guaranteed, and the subsequent operation The object of the present invention is to obtain a printer device that does not cause problems such as character conversion. In order to make it possible to cancel the registration of the conversion table when doing so, an inverse conversion table is provided as a pair with the conversion table, thereby guaranteeing the contents of the conversion table.

〔作用〕[Effect]

この発明における逆変換テーブルは、ページバッファに
格納されている物理文字コードから論理文字コードへの
変換により論理文字コードに対応する変換テーブルの内
容(=物理文字コード)の登録の取り消しが可能となり
、変換テーブルの内容を保証する。
The inverse conversion table in this invention enables the cancellation of the registration of the contents of the conversion table (=physical character code) corresponding to the logical character code by converting the physical character code stored in the page buffer to the logical character code, Guarantee the contents of the translation table.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図において(1)はホスト計算機やMT等より送られる
入力データを示し、論理文字コード、制御コード、フォ
ントパターンが含まれる。(2)は入力データ(1)中
の論理文字コードをフォントメモリ(4)対応の物理文
字コードに変換する変換テーブル、(8)は得られた物
理文字コードを1ペ一ジ単位にストアするページバッフ
ァ、(4)は各物理文字コード単位にフォントパターン
をストアしておくフォントメモリを示す。(5)はフォ
ントメモリ(4)より得られたフオ〉ドパターンを用紙
上に印字出力する印字出力部を示す。(6)は各物理文
字コードから論理文字コードに変換する逆変換テーブル
を示す。
An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, (1) shows input data sent from a host computer, MT, etc., and includes logical character codes, control codes, and font patterns. (2) is a conversion table that converts the logical character code in input data (1) to a physical character code compatible with font memory (4), and (8) stores the obtained physical character code in units of one page. A page buffer (4) indicates a font memory that stores font patterns for each physical character code. (5) shows a print output section that prints out the font pattern obtained from the font memory (4) on paper. (6) shows an inverse conversion table for converting each physical character code into a logical character code.

次に第1図に従って、この発明の詳細な説明する。入力
データ(1)の中にフォントパターンがあれば、この中
には対応する論理文字コードが含まれており、これに対
しフォントメモリ(4)対応の物理文字コードを決定す
る必要がある。この論理文字コードに対し、入力順に物
理文字コードを一意的に決定し、論理文字コードの示す
変換テーブル(2)のアドレスに、物理文字コードをデ
ータとして書き込むと同時に、物理文字コードの示す逆
変換テーブル(6)のアドレスに、論理文字コードをデ
ータとして書き込む。以上の動作をフォントパターンデ
ータごとにくり返す。一方、入力データ(1)の中に出
力データ用の論理文字コードがあれば、変換テーブル(
2)により物理文字コードを得て、ページバッファ(8
)にページ単位で管理し、ストアされていく。次にペー
ジバッファ(3)より読み出したデータは、フォントパ
ターンであれば、その物理文字コードの示すフォントメ
モリ(4)のアドレスへフォシトパター〉をストアする
。又出力データ用の物理文字コードであれば、これをア
ドレスとしてフォントメモリ(4)に与えることにより
対応するフォントパターンを得て、これを印字出力部(
5)へ送り、用紙上に印字させる。
Next, the present invention will be explained in detail with reference to FIG. If there is a font pattern in the input data (1), this includes a corresponding logical character code, and it is necessary to determine the physical character code corresponding to the font memory (4). For this logical character code, the physical character code is uniquely determined in the input order, and the physical character code is written as data to the address of the conversion table (2) indicated by the logical character code, and at the same time, the inverse conversion indicated by the physical character code is performed. Write the logical character code as data to the address in table (6). The above operations are repeated for each font pattern data. On the other hand, if there is a logical character code for output data in the input data (1), the conversion table (
2) to obtain the physical character code and store it in the page buffer (8
) and are managed and stored on a page-by-page basis. Next, if the data read from the page buffer (3) is a font pattern, the font pattern is stored at the address of the font memory (4) indicated by the physical character code. If it is a physical character code for output data, give this as an address to the font memory (4) to obtain the corresponding font pattern, and send this to the print output unit (
5) and print it on the paper.

以上の様な変換テーブル(2)の登録からフォントメモ
リ(4)へ書き込み完了までの一連の動作の途中、エラ
ー等が発生し、動作続行が不可能となり、ページバッフ
ァ(8)内のデータを廃却する事態が起こった場合、次
の処理を行なう。ページバッファ内にフォントパターン
が含まれている場合、フォントメモリ(4)に書き込む
前に途中廃却する為、変換テーブル(2)の物理文字コ
ード登録は無効となり、取消を行なう必要が生ずる。こ
の時、逆変換テーブル(6)のアドレスへ物理文字コー
ドを与えることにより、その内容である論理文字コード
を得ることができ、変換テーブル(2)の登録取消が可
能となる。ページバッファ(8)に、フォントパターン
がない場合は、変換テーブル(2)の登録取り消しは必
要ない。
During the series of operations from registration of the conversion table (2) to completion of writing to the font memory (4), an error occurs, making it impossible to continue the operation, and the data in the page buffer (8) is If a situation arises that requires disposal, the following steps will be taken: If a font pattern is included in the page buffer, it will be discarded before being written into the font memory (4), so the physical character code registration in the conversion table (2) will become invalid and it will be necessary to cancel it. At this time, by giving the physical character code to the address of the inverse conversion table (6), the logical character code that is its contents can be obtained, and the registration of the conversion table (2) can be canceled. If there is no font pattern in the page buffer (8), there is no need to cancel the registration of the conversion table (2).

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

以上の様に、この発明によれば、逆変換テーブルにより
、エラー発生時の復旧を行なう様構成したので、使い勝
手がよく精度の高い装置が安価に得られる効果がある。
As described above, according to the present invention, since the inverse conversion table is configured to perform recovery when an error occurs, it is possible to obtain an easy-to-use and highly accurate device at a low cost.

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

第1図はこの発明による一実施例を示すブロック図、第
2図は従来のプリンタ装置を示すブロック図である。 図中、(1)は入力データ、(2)は変換テーブル、(
8)はページバッファ、(4)はフォントメモリ、(5
)ハ印字出力部、(6)は逆変換テーブルである。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a block diagram showing a conventional printer device. In the figure, (1) is the input data, (2) is the conversion table, (
8) is the page buffer, (4) is the font memory, (5)
) c Print output section, (6) is an inverse conversion table.

Claims (1)

【特許請求の範囲】[Claims]  ホスト計算機や磁気テープ装置等より送られる印字デ
ータはフォントパターンの中の論理文字コードを物理文
字コードに変換する機能を有し、この物理文字コードと
フォントパターンを格納するメモリを有し、各文字単位
にフォントパターンを収納するメモリを有し、内部に常
駐しない文字を印字出力する外字処理機納を有するプリ
ンタ装置において、物理文字コードから論理文字コード
への変換を行なう逆変換テーブルを設けることにより、
異常発生後のリカバー処理にて装置の正常状態を保証す
ることを特徴とするプリンタ装置。
Print data sent from a host computer, magnetic tape device, etc. has a function to convert logical character codes in font patterns into physical character codes, and has a memory that stores this physical character code and font pattern, and each character By providing an inverse conversion table for converting physical character codes to logical character codes in a printer device that has a memory for storing font patterns in units and a foreign character processing mechanism that prints out characters that are not resident internally. ,
A printer device characterized in that a normal state of the device is guaranteed through recovery processing after an abnormality occurs.
JP63009967A 1988-01-19 1988-01-19 Printer device Expired - Lifetime JPH0698792B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63009967A JPH0698792B2 (en) 1988-01-19 1988-01-19 Printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63009967A JPH0698792B2 (en) 1988-01-19 1988-01-19 Printer device

Publications (2)

Publication Number Publication Date
JPH01184171A true JPH01184171A (en) 1989-07-21
JPH0698792B2 JPH0698792B2 (en) 1994-12-07

Family

ID=11734700

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63009967A Expired - Lifetime JPH0698792B2 (en) 1988-01-19 1988-01-19 Printer device

Country Status (1)

Country Link
JP (1) JPH0698792B2 (en)

Also Published As

Publication number Publication date
JPH0698792B2 (en) 1994-12-07

Similar Documents

Publication Publication Date Title
JPH0811411A (en) Automatic sealing device
JPH01184171A (en) Printer
JP2839246B2 (en) Printer control method
JPS602715B2 (en) Kanji bit pattern management method for kanji printers
JP2844256B2 (en) Memory management method for facsimile machine
JPS62108074A (en) Printer device
JP2737883B2 (en) Output control device
JP2861033B2 (en) Document processing device
JP2846766B2 (en) Barcode font creation control device
JPS63282831A (en) Document printing system for electronic filing device
JPH02286382A (en) Printing apparatus
JPH0324999A (en) Electronic blackboard
JPH04216983A (en) Printing device
JPS5957277A (en) Information output unit
JPH01262166A (en) Error correction system for printer
JPS62294378A (en) Picture processor
JPH05208527A (en) Printing device
JPH02127059A (en) Printer device
JPH04144759A (en) Serial printer
JPH01256861A (en) Facsimile equipment incorporating character font
JPS63139798A (en) Log information printing output method in electronic blackboard device
JPH05114969A (en) Facsimile equipment
JPS61149362A (en) Data controlling device
JPS63292189A (en) Character output apparatus
JPH04166376A (en) Printing apparatus