JPS62271774A - Printer - Google Patents

Printer

Info

Publication number
JPS62271774A
JPS62271774A JP61117106A JP11710686A JPS62271774A JP S62271774 A JPS62271774 A JP S62271774A JP 61117106 A JP61117106 A JP 61117106A JP 11710686 A JP11710686 A JP 11710686A JP S62271774 A JPS62271774 A JP S62271774A
Authority
JP
Japan
Prior art keywords
data
external
character
ram
registered
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
JP61117106A
Other languages
Japanese (ja)
Inventor
Akihiko Yamamoto
章彦 山本
Michio Osada
長田 実千男
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.)
Casio Computer Co Ltd
Casio Electronics Manufacturing Co Ltd
Original Assignee
Casio Computer Co Ltd
Casio Electronics Manufacturing 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 Casio Computer Co Ltd, Casio Electronics Manufacturing Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP61117106A priority Critical patent/JPS62271774A/en
Publication of JPS62271774A publication Critical patent/JPS62271774A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To enable the total storage capacity in a printer to be regulated as required, by equipping the main body of the printer with a detachable second storage means for registration of external characters and registration of forms. CONSTITUTION:A main body 1 of a printer is equipped with a detachable external RAM 11 as a second storage means, which is used for registering data of characters not registered in a CG ROM 6 or data of formats of tables or the like. Writing into and reading from the RAM 11 are controlled by an R/W controlling part 12 according to specifications by a CPU 4. A synthesis controlling part 13 synthesizes the character data and the form data registered in the external RAM 11, and writes the synthetic data into a band memory 8, whereby a form overlay processing is performed in which the characters and the format of a table or the like are printed in an overlaid condition. By the form overlay processing, it is possible to synthesize character data transmitted as code data from an external apparatus 2 and the form data registered in the external RAM 11, and to synthesize the character data registered as external characters in the RAM 11 and the form data.

Description

【発明の詳細な説明】 3、発明の詳細な説明 〔発明の技術分野〕 本発明は、ホストコンピュータ、ワードプロセッサ等の
外部機器から送信された印字データを印字する印字装置
に関する。
Detailed Description of the Invention 3. Detailed Description of the Invention [Technical Field of the Invention] The present invention relates to a printing device that prints print data transmitted from an external device such as a host computer or a word processor.

〔従 来 技 術〕[Traditional technique]

一般に、ホストコンピュータ等の外部機器から印字装置
に印字データを送信するときは、送信時間を短縮するた
め、文字データをコード化したコードデータで送信され
る。印字装置は、内部に数字、アルファベント、カナ、
漢字等の文字パターンを格納したCG(キャラクタジェ
ネレータ)カートリッジを備え、外部機器から送信され
たコードデータは、CGカートリッジの中から対応した
文字パターンを読み出すことで、文字パターンデータに
変換される。また、CGカートリ、ジに格納されていな
い文字を印字したいときは、印字装置内部の記憶装置に
コードデータと文字パターンを記憶させることにより、
外字登録が行われる。
Generally, when print data is transmitted from an external device such as a host computer to a printing device, it is transmitted as code data obtained by encoding character data in order to shorten the transmission time. The printing device has numbers, alpha vents, kana, and
It is equipped with a CG (character generator) cartridge that stores character patterns such as kanji characters, and code data sent from an external device is converted into character pattern data by reading the corresponding character pattern from the CG cartridge. Also, when you want to print characters that are not stored in the CG cartridge, you can store the code data and character pattern in the storage device inside the printing device.
External characters are registered.

外字登録処理を行った以降は、コードデータを送信する
だけで、前記と同様にそのコードデータに対応した文字
が印字される。
After performing the external character registration process, just by transmitting the code data, the characters corresponding to the code data are printed in the same way as described above.

外字を登録する記憶装置としては、一般にはRAMが用
いられ、前述のような外字登録のほかに、フオームオー
バレイ処理にも使用されている。フオームオーバレイ処
理は、文字と例えば表等のフォーマットを重ねて印字す
るもので、そのフォーマットデータは前記と同様に記憶
装置に予め登録される。
A RAM is generally used as a storage device for registering external characters, and is used not only for registering external characters as described above but also for form overlay processing. The form overlay process prints characters and a format such as a table, for example, and the format data is registered in advance in the storage device as described above.

〔従来技術の問題点〕[Problems with conventional technology]

しかしながら、前述のような印字装置では、外字登録用
の記憶装置は記憶容量に制限があるため、外字あるいは
フォーマットデータの登録数も制限を受ける。特にフォ
ーマットの登録を行う場合は、データ量が多いため、フ
ォーマットデータの登録数は限られたものとなる。この
ような場合、記憶装置の記憶容量を増加すればよいが、
コストが高価になるばかりでなく、外字あるいはフォー
マ・7ト登録を必要としない場合は無駄になる問題があ
った。
However, in the above-mentioned printing device, since the storage device for registering external characters has a limited storage capacity, the number of registered external characters or format data is also limited. In particular, when registering a format, the amount of data is large, so the number of format data to be registered is limited. In such a case, you can increase the storage capacity of the storage device, but
There was a problem that not only was the cost high, but it was also wasted if external characters or format/7t registration was not required.

〔発明の目的〕[Purpose of the invention]

本発明は上記問題点に鑑み、外字登録及びフォーマ・ノ
ド登録用の記憶手段を印字装置本体に着乳自在に設ける
ことにより、記憶手段の記憶容量を調整できる印字装置
を提供することを目的とする。
In view of the above-mentioned problems, an object of the present invention is to provide a printing device in which the storage capacity of the storage device can be adjusted by freely providing a storage device for external character registration and former/node registration in the main body of the printing device. do.

〔発明の要点〕[Key points of the invention]

本発明は、上記目的を達成するために、外部機器から送
信されたコードデータを文字パターンに変換する変換手
段と、該変換手段により変換された文字パターンデータ
を記憶する第1の記憶手段と、該第1の記憶手段より読
出されたデータを印字する印字手段とを有する印字装置
において、前記変換手段に登録されていないコードデー
タと該コードデータに対応した文字パターンとフォーマ
ットデータとを記憶し、印字装置本体に着説可能に設け
た外字及びフォーマント登録用の第2の記憶手段と、前
記変換手段により変換された文字パターンもしくは前記
第2の記憶手段より読出された文字バクーンと該第2の
記憶手段より読出されたフォーマットデータとを合成す
るデータ合成手段とを設け、該データ合成手段の出力を
前記第1の記憶手段に記憶させることを特徴とする。
In order to achieve the above object, the present invention includes a converting means for converting code data transmitted from an external device into a character pattern, a first storage means for storing the character pattern data converted by the converting means, A printing device having a printing means for printing data read from the first storage means, storing code data not registered in the conversion means, character patterns and format data corresponding to the code data, a second storage means for registering external characters and formants, which is removably provided in the main body of the printing device; a character pattern converted by the conversion means or a character Bakun read from the second storage means; The data combining means is provided for combining the format data read from the storage means, and the output of the data combining means is stored in the first storage means.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を図面を参照して詳細に説明する
。第1図は本発明の一実施例を示す回路ブロック図であ
る。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a circuit block diagram showing one embodiment of the present invention.

第1図において、■は液晶光シャッタ、発光ダイオード
、レーザ等の印字ヘッドを使用した印字装置本体である
。本体1はI/F (インターフェイス)部3を有し、
外部機器2から送信された印字データはI/F部3に受
信される。印字データは文字データをコード化したコー
ドデータと、例えば改行コード、改頁コード等の制御デ
ータが混在した記録情報であって、1ページあるいは複
数のページ分のデータがシリアルもしくはパラレルにI
/F部3に送信される。なお、外部機器2としては、代
表的にホストコンピュータがあるが、その他にワードプ
ロセッサやパーソナルコンピュータ等がある。
In FIG. 1, ``■'' is the main body of a printing device that uses a printing head such as a liquid crystal optical shutter, a light emitting diode, and a laser. The main body 1 has an I/F (interface) section 3,
The print data transmitted from the external device 2 is received by the I/F section 3. Print data is recorded information that is a mixture of code data that encodes character data and control data such as line feed codes and page feed codes, and data for one page or multiple pages is printed serially or in parallel.
/F section 3. The external device 2 is typically a host computer, but other devices include a word processor, a personal computer, and the like.

4は、本体1内の各回路の制御を行うCPU(プロセッ
サ回路)であり、システムROM5に格納されたプログ
ラムに従って本体1の動作を制御する。前記1/F部3
が印字データを受信すると、CPU4はCG(キャラク
タジェネレーク)ROM6に格納された文字パターンの
アドレスを一時的にシステムRAM7に記憶させる。即
ち、CGROM6はROMから構成され、アルファベン
ト、数字、カナ、漢字等の文字パターンが予め格納され
ている。そしてCPU4は、印字データに含まれるコー
ドデータに対応した文字パターンのアドレスをシステム
RAM7に書き込むように制御する。この後、CPU4
はCGROM6からシステムRAM7に書き込まれたア
ドレスの文字パターンを読み出して前記コードデータを
1文字分の文字パターンデータに変換する。そして、変
換された文字パターンデータは、CPU4の制御動作に
より、制御データに従って第1の記憶手段として設けた
バンドメモリ8に書き込まれる。バンドメモリ8は、R
AM等を用いた1ペ一ジ分の記憶容量に満たない容量の
記憶装置であり、バントメモリ8に書き込まれたデータ
は順次1ライン毎に印字制御部9によりビデオI/F部
10を介して読み出される。印字制御部9にデータが読
み出されると、前述の動作でバンドメモリ8に次のデー
タが書き込まれ、データの書込み及び読出しを繰り返し
行うことで、1ペ一ジ分のデータが印字制御部9に読出
される。
4 is a CPU (processor circuit) that controls each circuit in the main body 1, and controls the operation of the main body 1 according to a program stored in the system ROM 5. Said 1/F section 3
When the CPU 4 receives the print data, the CPU 4 temporarily stores the address of the character pattern stored in the CG (character generator) ROM 6 in the system RAM 7. That is, the CGROM 6 is composed of a ROM, and character patterns such as alpha bent, numbers, kana, kanji, etc. are stored in advance. The CPU 4 then controls the system RAM 7 to write the address of the character pattern corresponding to the code data included in the print data. After this, CPU4
reads the character pattern at the address written in the system RAM 7 from the CGROM 6 and converts the code data into character pattern data for one character. Then, the converted character pattern data is written into the band memory 8 provided as a first storage means according to the control data by the control operation of the CPU 4. Band memory 8 is R
This is a storage device that uses AM or the like and has a capacity that is less than the storage capacity for one page, and the data written in the bunt memory 8 is sequentially sent line by line by the print control unit 9 via the video I/F unit 10. is read out. When the data is read to the print control unit 9, the next data is written to the band memory 8 by the above-mentioned operation, and by repeatedly writing and reading data, one page of data is written to the print control unit 9. Read out.

印字制御部9は、前述の如く、液晶光シャッタ等を使用
した印字ヘッド(図示せず)と、感光体、現像器、定着
器等の電子写真プロセスに必要な装置を備え、バンドメ
モリ8から1ライン分のデータを読み出す毎に二そのl
ライフ分ずつ印字ヘッドにより感光体に光書込みを行う
。この後、印字制御部9の制御動作により電子写真プロ
セスを用いて印字を行う。
As mentioned above, the print control section 9 includes a print head (not shown) using a liquid crystal optical shutter, etc., and devices necessary for the electrophotographic process such as a photoreceptor, a developer, and a fixing device, and stores information from the band memory 8. Every time one line of data is read, two
The print head performs optical writing on the photoreceptor for each life. Thereafter, printing is performed using an electrophotographic process under the control operation of the printing control section 9.

また、印字装置本体1には、着脱できるように外付けR
AMIIが設けられ、必要に応じて取り付け、取り外し
が出来るように構成されている。
In addition, the printing device main body 1 is provided with an external R
AMII is provided and configured so that it can be attached and removed as necessary.

外付けRAMIIは、第一2の記憶手段として設けたも
ので、前記CGROM6に登録されていない文字を登録
する、いわゆる外字登録を行うのに用いられる。また、
外付けRAMIIは、表等のフォーマントのデータを登
録するのにも用いられる。
The external RAM II is provided as a second storage means and is used to register characters that are not registered in the CGROM 6, so-called external character registration. Also,
The external RAM II is also used to register formant data such as tables.

12は外付けRAMIIへの書込み、あるいは読出しを
制御するR/W (リード/ライト)制御部であって、
CPU4の指定により前記書込み、読出しを制御する。
12 is an R/W (read/write) control unit that controls writing to or reading from the external RAM II;
The writing and reading are controlled by the CPU 4's designation.

更に、13は文字データと外付けRAMIIに登録され
たフオームデータを合成してバンドメモリ8に書き込む
合成制御部である。
Further, reference numeral 13 denotes a synthesis control section which synthesizes character data and form data registered in the external RAM II and writes the synthesized data into the band memory 8.

これにより、文字と表等のフォーマントが重ねた状態で
印字され、フオームオーバレイ処理が行なわれる。なお
、フオームオーバレイ処理は外部機器2からコードデー
タで送信された文字データと外付けRAMIIに登録さ
れたフオームデータとの合成、外付けRAMIIに外字
登録された文字データとフオームデータとの合成が可能
である。
As a result, characters and formants such as tables are printed in an overlapping state, and form overlay processing is performed. In addition, form overlay processing can combine character data sent as code data from external device 2 with form data registered in external RAMII, and combination of character data registered as external characters in external RAMII and form data. It is.

第2図は前記外付けRAM11のデータ構成の具体例を
示す説明図である。
FIG. 2 is an explanatory diagram showing a specific example of the data structure of the external RAM 11. As shown in FIG.

外付けRAMIIは本体Iに着脱するため、カートリッ
ジタイプのものが使用され、カートリッジ識別子は印字
装置本体lに装着されているカートリッジ(外付けRA
MII)の種類を示す識別子である。外付けRAMII
は電源の遮断や、本体1からの取外しにより記憶内容が
消失するので、外付けRAM11が1種類しかない場合
は不要であるが、バックアップ電源を内蔵した記憶内容
がそれぞれ異なる外付けRAMIIを複数種類用いる場
合は必要であ名。また、外付けRAMIIの代りに、外
付けROMを用いた場合にもROMのf!類を区別する
のに必要であり、更にRAMとROMの双方を用いた場
合に互換性をもたせるために必要である。なお、識別子
がクリアされている場合は、本体lに装着されているも
のがRAMと判断できるが、更に確実にするため、カー
トリッジにROM、RAM区別用のショートバ一端子(
図示せず)を設け、この端子がROMを報知していると
きは前記識別子によりその外付けROMの種類を判別で
きるようにしてもよい。
Since the external RAM II can be attached to and removed from the main body I, a cartridge type one is used, and the cartridge identifier is the cartridge (external RAM II) installed in the printer main body I.
This is an identifier indicating the type of MII. External RAM II
Since the memory contents are lost when the power is turned off or removed from the main body 1, it is not necessary if there is only one type of external RAM 11, but it is not necessary to use multiple types of external RAM II each with a built-in backup power supply and each with different memory contents. If used, the first name is required. Also, when using an external ROM instead of the external RAM II, the ROM's f! This is necessary to distinguish between different types of RAM and ROM, and it is also necessary to ensure compatibility when both RAM and ROM are used. If the identifier is cleared, it can be determined that the device installed in the main unit is RAM, but to be even more certain, a short bar terminal (
(not shown), and when this terminal notifies a ROM, the type of external ROM may be determined from the identifier.

外字コントロールヘッダ識別子及びフオームオーバレイ
コントロールヘッダ識別子は、外付けRA M 11に
外字登録及びフオーム登録の一方もしくは双方がなされ
ているため、外字登録もしくはフオーム登録がどこのア
ドレス領域に登録されているかを識別するためのもので
ある。CPU4が外付けRA Mのデータを読出す場合
、前記カートリッジ識別子から外字コントロールヘッダ
識別子へと読出すが、この外字コントロールヘッダAm
 電子、フオームオーバレイコントロールヘッダ識別子
により外字かフオームかを識別する。外字であった場合
は、その識別子の次に書き込まれた外字データコントロ
ールブロックのアドレスにより外字フォント総合管理テ
ーブルが指示される。また、フオームであった場合は、
その識別子の次に書き込まれたフオームオーバレイコン
トロールブロックのアドレスにより登録フオームが指示
される。
The private character control header identifier and the form overlay control header identifier identify in which address area the private character registration or form registration is registered, since one or both of the private character registration and form registration is done in the external RAM 11. It is for the purpose of When the CPU 4 reads data from the external RAM, it reads from the cartridge identifier to the external character control header identifier.
Electronic, form overlay control header identifier identifies whether it is a custom character or a form. If it is a private character, the private character font comprehensive management table is designated by the address of the private character data control block written next to the identifier. Also, if it is a form,
The registered form is indicated by the address of the form overlay control block written next to the identifier.

外付けRAMIIのフオームデータ書込領域は、図示の
如く登録Nul、2.nとして示すように、複数に区分
され、外部機器2からの指定により、いずれかが選択さ
れる。例えば外部機器2の選択が登録阻1であった場合
は、その登録気1の領域にフオームコントロールデータ
の先端アドレスとフオームデータ数が書き込まれている
ので、その先頭アドレスを読出すと、自動的にフオーム
コントロールデータ1及びフオームデータ1が読出され
る。フオームコントロールデータは、フオームデータを
像パターンに展開するための制御情報であって、例えば
ポートレー1・かランドスケープが、行ピンチ、文字ピ
ッチ、文字サイズ等の情報である。フオームデータ1は
この制御情報に従って前述の如くバンドメモリ8に書き
込まれる。
The form data writing area of the external RAMII is registered Nul, 2. It is divided into a plurality of types as indicated by n, and one of them is selected according to a designation from the external device 2. For example, if the selection of external device 2 is Registration 1, the start address of the form control data and the number of form data are written in the registration 1 area, so when you read the start address, the Form control data 1 and form data 1 are read out. Form control data is control information for developing form data into an image pattern, and includes information such as portrait 1, landscape, line pinch, character pitch, and character size. Form data 1 is written into band memory 8 as described above in accordance with this control information.

一方、外字であった場合は、前述の如く外字フォント総
合管理テーブルが指示され、この管理テーブルには、文
字セフh数、存在する文字セントのシリアル阻、書体、
文字サイズ等の情報が格納されている。これらの情報は
外部機器2の指示する文字種の文字セントを選択するた
めに用いられる。更に各文字セットの文字セット管理テ
ーブルのアドレスが管理テーブルポインタにより指示さ
れる。例えば文字管理テーブル1が指示されると、この
管理テーブル1には文字セントに関する情報、すなわち
前記総合管理テーブルの情報よりも更に詳しい情報及び
例えばボディフェイスまでの余白の量等の文字情報が格
納されており、更にコードポインタによりフォントデー
タ1内の指定する文字に対応するフォントデータのアド
レスが指示される。フォントデータ1は文字を像パター
ンに展開したデータであって、前述の如<CPU4に読
出され、バンドメモリ8に書き込まれる。各文字管理テ
ーブルには、各文字に対応した文字情報が格納されてい
る。
On the other hand, if it is a custom character, the custom character font comprehensive management table is specified as described above, and this management table contains the number of character sefs, the serial number of existing character cents, the typeface,
Information such as font size is stored. These pieces of information are used to select the character cent of the character type specified by the external device 2. Furthermore, the address of the character set management table for each character set is indicated by the management table pointer. For example, when character management table 1 is specified, information regarding character cents, that is, more detailed information than the information in the general management table, and character information such as the amount of margin up to the body face are stored in this management table 1. Furthermore, the address of the font data corresponding to the designated character in the font data 1 is indicated by the code pointer. The font data 1 is data in which characters are developed into image patterns, and is read out by the CPU 4 and written into the band memory 8 as described above. Each character management table stores character information corresponding to each character.

次に、外付けRAMIIに外字を登録するときの動作に
ついて第3図を参照しながら説明する。
Next, the operation when registering external characters in the external RAM II will be explained with reference to FIG.

外字を登録する場合、外部機器2から外字登録指令信号
、コードデータ及びこれに対応したフォントデータ、更
に今回登録する外字に関する情報を印字装置本体に送出
する。本体1はこれを受けて、CPU4が外付けRAM
IIに格納されたデータを読み出しく5TI)、外部機
器2から送信された外字登録データが外付けRAMI 
1に登録されていないことを確認する。外付けRAMI
Iに未登録であれば、Sr1で外付けRAMIIの総合
フォント管理テーブルを更新し、Sr3で文字セット管
理テーブルを作成する。次に、Sr1でフォントデータ
を外付けRAMIIに登録して登録作業を終了する。
When registering a custom character, the external device 2 sends a custom character registration command signal, code data, font data corresponding thereto, and information regarding the custom character to be registered this time to the printer main body. In response to this, the main unit 1 uses the external RAM as the CPU 4.
5TI), the external character registration data sent from the external device 2 is read out from the external RAMI.
Confirm that it is not registered in 1. External RAMI
If it is not registered in I, the general font management table of the external RAM II is updated in Sr1, and the character set management table is created in Sr3. Next, in Sr1, the font data is registered in the external RAM II, and the registration work is completed.

次に、フオームデータを登録するときの動作を第4図を
参照して説明する。
Next, the operation when registering form data will be explained with reference to FIG.

まず、外部機″J52から本体1に前記と同様にフ゛オ
ームt 録th令信号、フオームコントロールデータ、
フオームデータが送信される。本体1のCPU4は、こ
れらの信号を受けて、STIで外付けRAMIIに登録
されたデータを読出しくヘンドリード)、Sr1で外部
機器2からのデータが既に登録されているか否か、即ち
新規登録か否かを判定する。新規登録であればSr1に
進み、新規登録でなければSr3で外付けRAMIIに
格納されたデータの順序を入れ換えたり、あるいは不要
なデータをFill除してこれから登録するデータの記
憶エリアを確保する処理を行う。次にCPU4はSr1
で外付けRAMIIの記憶容量が残っているか否か、即
ち外部機器2から送信されたフオームデータを記憶する
だけの容量があるか否かを確認する。記憶容量が残って
いなければ、Sr1でエラー処理を行い、エラー表示を
行うと共に、外部機″52に記憶容量なしを示すデータ
を転送する。Sr1で外付けRAMIIの記憶容量があ
れば、Sr6で外付けRAMIIのヘッダを更新し、S
r7で外部機器2から送信されたフオームコントロール
データをシステムRAM7に格納する。
First, from the external device "J52" to the main body 1, the form command signal, form control data,
Form data is sent. Upon receiving these signals, the CPU 4 of the main body 1 reads the data registered in the external RAM II using the STI (Hend Read), and checks whether the data from the external device 2 has already been registered using the Sr1, that is, whether it is newly registered. Determine whether or not. If it is a new registration, proceed to Sr1, and if it is not a new registration, proceed to Sr3 to rearrange the order of data stored in the external RAM II, or remove unnecessary data from Fill to secure a storage area for data to be registered from now on. I do. Next, CPU4 is Sr1
Then, it is checked whether there is any remaining storage capacity of the external RAM II, that is, whether there is enough capacity to store the form data transmitted from the external device 2. If there is no storage capacity remaining, Sr1 performs error processing, displays an error, and transfers data indicating that there is no storage capacity to the external device 52.If Sr1 has the storage capacity of the external RAMII, Sr6 Update the external RAMII header and
The form control data transmitted from the external device 2 is stored in the system RAM 7 at r7.

また、Sr8で外部機器2から送信されたフオームデー
タを同様に外付けRAM7に格納し、Sr9で全てのフ
オームデータを格納するまで待つ。
Further, the form data transmitted from the external device 2 is similarly stored in the external RAM 7 at Sr8, and the process waits until all form data is stored at Sr9.

Sr9で全データの送信が終了し、そのデータのシステ
ムRAM7への格納が終了すれば、5T10でシステム
RA M 7は一時的に格納したフオームコントロール
データ及びフオームデータを外付けRAMIIに転送し
てフオーム登録が終了する。
When the transmission of all data is completed in Sr9 and the storage of the data in the system RAM 7 is completed, in 5T10 the system RAM 7 transfers the temporarily stored form control data and form data to the external RAMII and forms the data. Registration ends.

次に、印字を行うときの動作を第5図に示すフローチャ
ートを参照して説明する。
Next, the operation for printing will be explained with reference to the flowchart shown in FIG.

まず、STIでCPU4はフオームデータを発生するか
否か、即ち外部機器2からフオームデータを印字する指
令信号が送信されたか否かを判定する。外部機器2から
文字データのみを印字する指令信号が送信されていれば
(STIがN)、Sr1で外部機器2から送信されたコ
ードデータに対応したフオームデータをCGROM6あ
るいは外付けRAMIIから読み出して、そのデータを
前述の如くバンドメモリ8に書き込み、ハンドメモリ8
に書込まれたデータは順次1ライン毎に印字される。そ
して、Sr1で外部機器2から送信されたコードデータ
に対応した全てのフォントデータをバンドメモリ8に書
き込み印字されるのを待ち、Sr4で排紙を終了する。
First, in the STI, the CPU 4 determines whether or not form data is to be generated, that is, whether or not a command signal for printing form data has been transmitted from the external device 2. If a command signal to print only character data is sent from the external device 2 (STI is N), the form data corresponding to the code data sent from the external device 2 is read out from the CGROM 6 or the external RAMII in Sr1, The data is written to the band memory 8 as described above, and the hand memory 8
The data written in is sequentially printed line by line. Then, in Sr1, all the font data corresponding to the code data transmitted from the external device 2 are written into the band memory 8 and waits for printing, and the paper ejection is finished in Sr4.

一方、外部機器2からフオームデータを印字する指令信
号が送信されると(STIがY)、CPU4はSr5で
外付けRAMIIのヘッダを読み出し、Sr6で外部機
器2から指令されたフオームが外付けRAMI 1に登
録されているか否かを判定する。ここで、外付けRAM
IIに外部機器2により指定されたフオームデータが登
録されていなければ、Sr1で前記と同様に外部機器2
がら送信されたコードデータに対応したフォントデータ
を外付けRAMIIあるいはCG ROM 6がら読み
出してバンドメモリ8に書込み、そのデータの印字を行
う。Sr6でフオームデータが外付けRAMIIに登録
されていれば、CPU4はSr1でそのフオームデータ
のコントロールデータのエリアを外付けRAMIIから
検出し、Sr8でフオームデータ量を検出する。そして
、CPU4はSr1でそのフオームデータをシステムR
AM7に転送し、5TIOで合成制御部13が転送され
たフオームデータをフオームコントロールデータに基づ
きバンドメモリ8に書き込む。同時に合成制御部13は
、外部機器2から送信されたコードデータに対応するフ
ォントデータをCGROM6もしくは外付けRAMII
から読み出し、このフォントデータも前記フオームデー
タと合成してバンドメモリ8に書き込む(STI 1)
、例えば、第6図(a)に示すようなフオームデータが
外付けRAMIIから読み出され、また第4図(b)に
示すようなフォントデータがCGROM6から読み出さ
れると、合成制御部13は双方のデータを合成して第4
図(C1に示す合成データをバンドメモIJ 8に書き
込み、バンドメモリ8に書込まれたデータは順次1ライ
ン毎に印字される。5T12ではこれらのデータが全て
バンドメモリ8に書き込み印字されるのを待ち、Sr4
で前記と同様に排紙を終了する。
On the other hand, when a command signal to print form data is sent from the external device 2 (STI is Y), the CPU 4 reads the header of the external RAMII in Sr5, and the form commanded from the external device 2 is printed in the external RAMII in Sr6. 1 is registered. Here, external RAM
If the form data specified by the external device 2 is not registered in II, the form data specified by the external device 2 is registered in Sr1 as described above.
The font data corresponding to the transmitted code data is read from the external RAM II or CG ROM 6, written into the band memory 8, and the data is printed. If the form data is registered in the external RAM II in Sr6, the CPU 4 detects the control data area of the form data from the external RAM II in Sr1, and detects the amount of form data in Sr8. Then, CPU4 uses Sr1 to transfer the form data to system R.
The form data is transferred to AM7, and at 5TIO, the synthesis control unit 13 writes the transferred form data into the band memory 8 based on the form control data. At the same time, the composition control unit 13 transfers the font data corresponding to the code data transmitted from the external device 2 to the CGROM 6 or external RAM II.
This font data is also combined with the form data and written to the band memory 8 (STI 1).
For example, when form data as shown in FIG. 6(a) is read from the external RAM II and font data as shown in FIG. 4(b) is read from the CGROM 6, the composition control unit 13 The fourth data is synthesized by combining the data of
The composite data shown in Figure (C1) is written to the band memo IJ 8, and the data written to the band memory 8 is sequentially printed line by line.In the 5T12, all of these data are written to the band memory 8 and printed. Wait for Sr4
Then, paper ejection is finished in the same way as above.

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

以上説明したように本発明によれば、印字装置本体に、
外字登録及びフオーム登録を行うための第2の記憶手段
を着脱自在に設けたので、印字装置全体の記憶容最を必
要に応じて関節することができる。従って、外字登録あ
るいはフオーム登録を必要なときのみ第2の記憶手段を
本体に装着し、不必要なときは装着しなければよいため
、記憶装置のコストを安価にすることができる。また、
第2の記憶手段にフオーム登録及び外字登録を行うよう
に構成したので、双方のデータを1つの記憶装置で記憶
でき、構成を簡単化できる。しかも、第2の記憶手段に
登録されたフオームデータと、内部記憶装置に格納され
た文字データあるいは第2の記憶手段に格納された文字
データを合成するようにしたので、内部登録、外字登録
にかかわらず双方の文字データとフオームデータを合成
でき、有効にフオームオーバレイ処理を行うことができ
る。
As explained above, according to the present invention, in the printing device main body,
Since the second storage means for registering external characters and forms is detachably provided, the storage capacity of the entire printing device can be adjusted as necessary. Therefore, the second storage means can be attached to the main body only when external character registration or form registration is necessary, and can be omitted when unnecessary, so that the cost of the storage device can be reduced. Also,
Since the second storage means is configured to perform form registration and external character registration, both data can be stored in one storage device, and the configuration can be simplified. Moreover, since the form data registered in the second storage means and the character data stored in the internal storage device or the character data stored in the second storage means are combined, internal registration and external character registration are possible. Regardless, both character data and form data can be combined, and form overlay processing can be performed effectively.

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

第1図は本発明の一実施例の回路ブロック図、第2図は
外付けRAMのデータ構成を示す説明図、 第3図は外付けRAMに外字登録するときの動作を示す
フローチャート、 第4図は外付けRAMにフオームデータを登録するとき
の動作を示すフローチャート、第5図は印字を行うとき
の動作を示すフローチャー1・、 第6図(alはフオームデータの一例を示す説明図、第
6図(blは文字データの一例を示す説明図、第6図(
C)は第6図(al及び(b)のデータを合成したデー
タを示す説明図である。 1・・・印字装置本体、 2・・・外部機器、 3・・・I/F部、 4・・・CPU。 5・・・システムROM。 6・・・CGROM。 7・・・システムRAM。 8・ ・ ・バンドメモリ、 9・・・印字制御部、 11・・・外付けRAM、 13・・・合成制御部。 特許出願人  カシオ計算機株式会社 同   上  カシオ電子工業株式会社第3図 第4図 第5図
FIG. 1 is a circuit block diagram of an embodiment of the present invention, FIG. 2 is an explanatory diagram showing the data structure of an external RAM, FIG. 3 is a flowchart showing the operation when registering a custom character in the external RAM, and FIG. The figure is a flowchart showing the operation when registering form data in the external RAM, Figure 5 is a flowchart 1 showing the operation when printing, and Figure 6 is an explanatory diagram showing an example of form data. Figure 6 (bl is an explanatory diagram showing an example of character data, Figure 6 (
C) is an explanatory diagram showing data obtained by combining the data in FIG. 6 (al and (b)). 1...Printing device main body, 2...External device, 3...I/F section, 4・・・CPU. 5... System ROM. 6... CGROM. 7... System RAM. 8... Band memory, 9... Print control section, 11... External RAM, 13. ...Synthesis control section. Patent applicant Casio Computer Co., Ltd. Same as above Casio Electronics Co., Ltd. Figure 3 Figure 4 Figure 5

Claims (1)

【特許請求の範囲】[Claims] 外部機器から送信されたコードデータを文字パターンに
変換する変換手段と、該変換手段により変換された文字
パターンデータを記憶する第1の記憶手段と、該第1の
記憶手段より読出されたデータを印字する印字手段とを
有する印字装置において、前記変換手段に登録されてい
ないコードデータと該コードデータに対応した文字パタ
ーンとフォーマットデータとを記憶し、印字装置本体に
着脱可能に設けた外字及びフォーマット登録用の第2の
記憶手段と、前記変換手段により変換された文字パター
ンもしくは前記第2の記憶手段より読出された文字パタ
ーンと該第2の記憶手段より読出されたフォーマットデ
ータとを合成するデータ合成手段とを設け、該データ合
成手段の出力を前記第1の記憶手段に記憶させることを
特徴とする印字装置。
A conversion means for converting code data transmitted from an external device into a character pattern, a first storage means for storing the character pattern data converted by the conversion means, and a first storage means for storing the data read from the first storage means. In a printing device having a printing means for printing, code data not registered in the conversion means and character patterns and format data corresponding to the code data are stored, and external characters and formats are provided removably on the main body of the printing device. A second storage means for registration, and data for synthesizing the character pattern converted by the conversion means or the character pattern read from the second storage means and the format data read from the second storage means. 1. A printing device comprising: a combining means; and an output of the data combining means is stored in the first storage means.
JP61117106A 1986-05-21 1986-05-21 Printer Pending JPS62271774A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61117106A JPS62271774A (en) 1986-05-21 1986-05-21 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61117106A JPS62271774A (en) 1986-05-21 1986-05-21 Printer

Publications (1)

Publication Number Publication Date
JPS62271774A true JPS62271774A (en) 1987-11-26

Family

ID=14703549

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61117106A Pending JPS62271774A (en) 1986-05-21 1986-05-21 Printer

Country Status (1)

Country Link
JP (1) JPS62271774A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01228865A (en) * 1988-03-09 1989-09-12 Minolta Camera Co Ltd Printer controller
JPH02145368A (en) * 1988-11-28 1990-06-04 Tokyo Electric Co Ltd Printer
EP0720118A2 (en) * 1989-11-14 1996-07-03 Canon Kabushiki Kaisha Printing apparatus and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59177635A (en) * 1983-03-29 1984-10-08 Toshiba Corp Kanji pattern managing system
JPS60232973A (en) * 1984-05-07 1985-11-19 Canon Inc Printer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59177635A (en) * 1983-03-29 1984-10-08 Toshiba Corp Kanji pattern managing system
JPS60232973A (en) * 1984-05-07 1985-11-19 Canon Inc Printer

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01228865A (en) * 1988-03-09 1989-09-12 Minolta Camera Co Ltd Printer controller
JPH02145368A (en) * 1988-11-28 1990-06-04 Tokyo Electric Co Ltd Printer
EP0720118A2 (en) * 1989-11-14 1996-07-03 Canon Kabushiki Kaisha Printing apparatus and method
EP0720118A3 (en) * 1989-11-14 1997-09-24 Canon Kk Printing apparatus and method

Similar Documents

Publication Publication Date Title
JPS63256450A (en) Multi-color image forming apparatus
JP2796628B2 (en) Printing device
US5067024A (en) Recording apparatus with control of stored overlapping form data for two sided printing
US5483623A (en) Printing apparatus
US6331894B1 (en) Pattern output apparatus and method for converting form data and input data to intermediate data to form an overlay pattern
JPS62271774A (en) Printer
JPS6322672A (en) Printer
JP2004009717A (en) Receipt printer and method of printing receipt
JPS6145325A (en) Printer
JPH01290448A (en) Character generator
JPS6322671A (en) Printer
JPS6056637B2 (en) printing device
JPH08142440A (en) Printer
JP2005025772A (en) Method and device for previewing print data and recording medium
JPS6111844A (en) Recorder
JP2526873B2 (en) Character generator
JPH04285996A (en) Method and device for output
JPH0747724A (en) Printer
JP2636312B2 (en) Printer interface device
JP2003266811A (en) Printer system
JPH02289088A (en) Document processor
JPH0417023A (en) Information processing system
JPH08282024A (en) Printing device
JPH02125771A (en) Recording apparatus
JPH04361937A (en) Printing control device