JPS6158746A - Printing control system - Google Patents
Printing control systemInfo
- Publication number
- JPS6158746A JPS6158746A JP59181862A JP18186284A JPS6158746A JP S6158746 A JPS6158746 A JP S6158746A JP 59181862 A JP59181862 A JP 59181862A JP 18186284 A JP18186284 A JP 18186284A JP S6158746 A JPS6158746 A JP S6158746A
- Authority
- JP
- Japan
- Prior art keywords
- character
- code
- pattern
- basic
- character code
- 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
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J5/00—Devices or arrangements for controlling character selection
- B41J5/30—Character or syllable selection controlled by recorded information
- B41J5/44—Character or syllable selection controlled by recorded information characterised by storage of recorded information
Abstract
Description
【発明の詳細な説明】
[発明の技術分野]
本発明は、プリンタにおいて複合文字コードに対応する
文字パター ンを作成するようにした印字制御11方式
に関する。DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a print control system 11 for creating a character pattern corresponding to a composite character code in a printer.
[発明の技術的背景とその問題点コ
従来、シリアルプリンタ等では、ホストコンピュータか
ら送信される文字コードを受信すると、この文字コード
に対応する文字パターンが文字パターンメモリから読出
される。この読出された文字パターンが印字駆動部に出
力されて、この文字パターンに応じた印字動作が行われ
る。[Technical Background of the Invention and Its Problems] Conventionally, in a serial printer or the like, when a character code transmitted from a host computer is received, a character pattern corresponding to this character code is read from a character pattern memory. This read character pattern is output to the print drive section, and a printing operation according to this character pattern is performed.
ところで、文字パターンメモリには、予め文字コードに
1対1に対応する文字パターンが格納されている。この
ため、複数の基本文字パターンを合成して作成できる複
合文字パターンの場合でも、文字パターンメモリに格納
されている。この複合文字パターンは、複合文字コード
に対応しており、例えばドイツ語のウムラウトなどであ
る。このような複合文字パターンまで文字パターンメモ
リに格納すると、人容巳の文字パターンメモリを必要す
る問題がある。By the way, character patterns corresponding to character codes on a one-to-one basis are stored in advance in the character pattern memory. Therefore, even in the case of a composite character pattern that can be created by combining a plurality of basic character patterns, it is stored in the character pattern memory. This compound character pattern corresponds to a compound character code, such as a German umlaut. If such a composite character pattern is stored in a character pattern memory, there is a problem in that a character pattern memory of 200 characters is required.
[発明の目的〕
本発明は上記の点に鑑みてなされたもので、その目的は
、複合文字パターンに応じた印字を行なうプリンタの場
合でも、文字コードに対応する文字パターンを予め格納
する文字パターンメモリの記憶容量を大幅に減少できる
印字制御方式を提供することにある。[Object of the Invention] The present invention has been made in view of the above points, and its object is to provide a character pattern that stores in advance a character pattern corresponding to a character code, even in the case of a printer that prints according to a composite character pattern. An object of the present invention is to provide a printing control method that can significantly reduce the storage capacity of a memory.
[発明の概要コ
本発明では、ホストコンピュータ等から送信される印字
用文字コードが基本文字コードかまたは切手段が設けら
れている。文字コード判別手段により印字用文字コード
が複合文字コードであると判定されると、予め用意され
た分割用テーブルに基づいて上記複合文字コードは複数
の基本文字コードに分割される。パターン合成手段は、
分割された各基本文字コードに対応する各文字パターン
を文字パターンメモリから読出して合成し、複合文字パ
ターンを作成する。この複合文字パターンが印字駆動部
に送られて、複合文字コードに対応する印字動作が実行
されることになる。[Summary of the Invention] In the present invention, the printing character code sent from the host computer or the like is a basic character code, or a stamping means is provided. When the character code determining means determines that the printing character code is a composite character code, the composite character code is divided into a plurality of basic character codes based on a division table prepared in advance. The pattern synthesis means is
Each character pattern corresponding to each divided basic character code is read out from the character pattern memory and combined to create a composite character pattern. This composite character pattern is sent to the print driver, and a printing operation corresponding to the composite character code is executed.
このような構成により、文字パターンメモリでは予め複
合文字コードに対応する文字パターンを記憶する必要が
無く、文字パターンメモリの記憶容■を大幅に減少づ°
ることができる。With this configuration, there is no need to store character patterns corresponding to composite character codes in the character pattern memory in advance, and the storage capacity of the character pattern memory can be significantly reduced.
can be done.
[発明の実施例]
以下図面を参照して本発明の一実施例を説明する。図は
一実施例に係わるプリンタの印字制御部の構成を示すブ
ロック図である。図において、ホストコンピュータ10
は、印字文字コードをインク−フェース11を通じて印
字制御部12へ出力する。[Embodiment of the Invention] An embodiment of the present invention will be described below with reference to the drawings. The figure is a block diagram showing the configuration of a print control section of a printer according to an embodiment. In the figure, a host computer 10
outputs the print character code to the print control unit 12 through the ink face 11.
印字制御部12は、図に示すようにコード判別部13、
パターン読出部14、パターン合成部15及びイメージ
バッファ1Gを備えている。As shown in the figure, the print control unit 12 includes a code determination unit 13,
It includes a pattern reading section 14, a pattern synthesizing section 15, and an image buffer 1G.
コード判別部13は、ホストコンピュータ10から送信
される印字用文字コードに対して、基本文字コードかま
たは複合文字コードであるかを判別用テーブルメモリ1
7の判別用テーブルに基づいて判別する。判別用テーブ
ルメモリ17には、予め例えば基本文字コードのみから
なるテーブルが記憶されている。コード判別部13は、
印字用文字コードが複合文字コードであると判定した場
合、分割用テーブルメモリ18を参照してその複合文字
コードを複数の基本文字コードに分割して出力する。分
割用テーブルメモリ18には、予め複合文字コードに対
応する基本文字コード群からなるテーブルが記憶されて
いる。The code determination unit 13 determines whether the printing character code transmitted from the host computer 10 is a basic character code or a composite character code.
The determination is made based on the determination table No. 7. In the discrimination table memory 17, for example, a table consisting only of basic character codes is stored in advance. The code discrimination unit 13
When it is determined that the printing character code is a composite character code, the division table memory 18 is referred to and the composite character code is divided into a plurality of basic character codes and output. The division table memory 18 stores in advance a table consisting of basic character code groups corresponding to composite character codes.
パターン続出部14は、コード判別部13から出力され
る基本文字コードに応じた文字パターンを文字パターン
メモリ19から読出して、イメージバッファ16に出力
する。またパターン読出部14は、コード判別部13か
ら出力される複合文字コードに対応する各基本文字コー
ドに対して、文字パターンメモリ19から対応する各文
字パターンを読出して、パターン合成部15に出力する
。パターン合成部15は、パターン読出部14から出力
される各文字パターンを合成して上記の複合文字コード
に対応する文字パターンを作成し、イメージバッファ1
6に出力する。このイメージバッファ16に格納された
文字パターンが印字部へ出力されて、上記の印字用文字
コードに対応する印字動作が行なわれる。The pattern succession unit 14 reads out a character pattern corresponding to the basic character code output from the code determination unit 13 from the character pattern memory 19 and outputs it to the image buffer 16. Further, the pattern reading section 14 reads each corresponding character pattern from the character pattern memory 19 for each basic character code corresponding to the composite character code output from the code discriminating section 13, and outputs it to the pattern synthesis section 15. . The pattern synthesis section 15 synthesizes each character pattern output from the pattern reading section 14 to create a character pattern corresponding to the above composite character code, and stores the character pattern in the image buffer 1.
Output to 6. The character pattern stored in the image buffer 16 is output to the printing section, and a printing operation corresponding to the above-mentioned printing character code is performed.
上記のような構成の印字制御部において、一実施例に係
わる動作を説明する。先ず、ホストコンピュータ10か
ら出力された印字用文字コードが、インターフェース1
1を通じてコード判別部13に送られる。コード判別部
13では、送信された印字用文字コードが基本文字コー
ドまたは複合文字コードであるかの判定が、判別用テー
ブルを参照することにより実行される。ここで、基本文
字コードは例えば英数字等に対応するコードであり、複
合文字コードとはその英数字等に特殊記号(基本文字コ
ード)を組合わせた例えばドイツ語のウムラウトを示す
コードである。コード判別部13では、印字用文字コー
ドが基本文字コードであると判定すると、その基本文字
コードがパターン続出部14に出力される。パターン読
出部14では、文字パターンメモリ19から基本文字コ
ードに対応する文字パターンが読出されて、イメージバ
ッファ16に出力される。そして、イメージバッフ?1
Gから文字パターンが印字部へ出力されることにより、
例えば英数字等が印字されることになる。The operation of an embodiment of the print control section configured as described above will be described. First, the printing character code output from the host computer 10 is sent to the interface 1.
1 to the code discriminator 13. The code determination unit 13 determines whether the transmitted character code for printing is a basic character code or a composite character code by referring to the determination table. Here, the basic character code is a code corresponding to, for example, alphanumeric characters, and the composite character code is a code that is a combination of the alphanumeric characters and a special symbol (basic character code), such as a code indicating a German umlaut. When the code determination section 13 determines that the printing character code is a basic character code, the basic character code is output to the pattern succession section 14. The pattern reading section 14 reads out the character pattern corresponding to the basic character code from the character pattern memory 19 and outputs it to the image buffer 16. And image buff? 1
By outputting the character pattern from G to the printing section,
For example, alphanumeric characters etc. will be printed.
一方、コード判別部13で、ホストコンピュータ10か
ら送信された印字用文字コードが複合文字コードである
と判定されたとする。この場合、コード判別部13では
、複合文字コードを構成する複数の基本文字コードが、
分割用テーブルを参照することにより求められる。即ち
、複合文字コードが、複数の基本文字コードに分割され
ることになる。On the other hand, assume that the code determination unit 13 determines that the printing character code transmitted from the host computer 10 is a composite character code. In this case, the code discrimination unit 13 determines that the plurality of basic character codes that constitute the composite character code are
It is obtained by referring to the partitioning table. That is, the composite character code is divided into a plurality of basic character codes.
この分割された各基本文字コードは、コード判別部13
からパターン読出部14へ出力される。パターン読出部
14では、各基本文字コードに対応する複数の文字パタ
ーンが文字パターンメモリ19から読出されて、パター
ン合成部15に出力される。即ち、例えば上記の複合文
字コードがドイツ語のウムラウトである場合、文字パタ
ーンメモリ19からウムラウト符号に対応する文字パタ
ーン及びアルファベット文字に対応する文字パターンの
両者がパターン合成部15に出力されることになる。パ
ターン合成部15では、パターン読出部14から出力さ
れる複数の文字パターンを合成し、上記複合文字コード
に対応する複合文字パターンを作成することになる。こ
の複合文字パターンが、イメージバッファ16に出力さ
れる。これにより、イメージバッファ16から複合文字
コードに対応する複合文字パターンが印字部へ出力され
て、例えばドイツ語のウムラウト文字が印字されること
になる。Each of the divided basic character codes is processed by the code discriminator 13
It is output to the pattern reading section 14 from there. The pattern reading section 14 reads out a plurality of character patterns corresponding to each basic character code from the character pattern memory 19 and outputs them to the pattern synthesis section 15. That is, for example, when the above-mentioned composite character code is a German umlaut, both the character pattern corresponding to the umlaut code and the character pattern corresponding to the alphabetic character are output from the character pattern memory 19 to the pattern synthesis section 15. Become. The pattern synthesis section 15 synthesizes a plurality of character patterns output from the pattern reading section 14 to create a compound character pattern corresponding to the compound character code. This composite character pattern is output to the image buffer 16. As a result, a composite character pattern corresponding to the composite character code is outputted from the image buffer 16 to the printing unit, and, for example, a German umlaut character is printed.
このようにして、ホストコンピュータ等から送信される
複合文字コードは複数の基本文字コードに分割される。In this way, a composite character code sent from a host computer or the like is divided into a plurality of basic character codes.
この各基本文字コードに対応する文字パターンが合成さ
れて、複合文字コードに対応する複合文字パターンが作
成される。そして、作成された複合文字パターンが印字
部に出力されることにより、複合文字コードに応じた文
字が印字されることになる。したがって、複合文字コー
ドに対応する複合文字パターンを文字パターンメモリに
予め記憶しておくことを不要にすることができる。この
ため、文字パターンメモリには基本文字コードに対応す
る文字パターンのみを記憶するだけでよく、文字パター
ン合成部の記憶容量を大幅に減少することができる。The character patterns corresponding to these basic character codes are combined to create a composite character pattern corresponding to the composite character code. Then, by outputting the created composite character pattern to the printing unit, characters corresponding to the composite character code are printed. Therefore, it is not necessary to previously store a composite character pattern corresponding to a composite character code in a character pattern memory. Therefore, the character pattern memory only needs to store character patterns corresponding to basic character codes, and the storage capacity of the character pattern synthesis section can be significantly reduced.
また、予め分割用テーブルに該当する基本文字コード群
を設定することにより、基本文字パターンを組合わせた
複合文字パターンを任意に合成できる利点もある。Furthermore, by setting the corresponding basic character code group in the division table in advance, there is an advantage that a composite character pattern that is a combination of basic character patterns can be arbitrarily synthesized.
尚、上記実施例において、コード判別部13で基本文字
コードと複合文字コードとの判定を行なう場合、判別用
テーブルメモリ17の判別用テーブルを参照している。In the above embodiment, when the code discriminator 13 discriminates between a basic character code and a composite character code, it refers to the discrimination table in the discrimination table memory 17.
この場合、判別用テーブルの代わりに分割用テーブルメ
モリ18の分割用テーブルを利用してもよい。In this case, the division table in the division table memory 18 may be used instead of the determination table.
[発明の効果]
以上詳述したように本発明によれば、複合文字コードに
応じた印字を行なう場合、その複合文字コードに対応す
る複合文字パターンを基本文字コードに応じた基本文字
パターンにより合成して作成できる。[Effects of the Invention] As detailed above, according to the present invention, when printing according to a composite character code, a composite character pattern corresponding to the composite character code is synthesized with a basic character pattern according to the basic character code. It can be created by
したがって、予め複合文字コードに対応する複合文字パ
ターンを記憶する必要がなく、文字コードに対応する文
字パターンを予め格納する文字パターンメモリの記憶容
量を大幅に減少できる。また、基本文字パターンから所
定の複合文字パターンを比較的用意に合成して、作成で
きる効果も得ることができるものである。Therefore, there is no need to previously store composite character patterns corresponding to composite character codes, and the storage capacity of a character pattern memory that stores character patterns corresponding to character codes in advance can be significantly reduced. Further, it is possible to obtain the effect that a predetermined composite character pattern can be synthesized and created from basic character patterns relatively easily.
図は本発明の一実施例に係わるプリンタの印字制御部の
構成を示すブロック図である。
13・・・コード判別部、14・・・パターン読出部、
15・・・パターン合成部、17・・・判別用テーブル
メモリ、1B・・・分割用テーブルメモリ、19・・・
文字パターンメモリ。FIG. 1 is a block diagram showing the configuration of a print control section of a printer according to an embodiment of the present invention. 13... Code discrimination section, 14... Pattern reading section,
15... Pattern synthesis unit, 17... Table memory for discrimination, 1B... Table memory for division, 19...
Character pattern memory.
Claims (1)
段と、この受信手段で受信された上記印字用文字コード
が基本文字コードまたは複合文字コードのいずれかであ
るかを判別する文字コード判別手段と、この文字コード
判別手段の判別結果により印字用文字コードが複合文字
コードである場合予め用意された分割用テーブルに基づ
いて上記複合文字コードを複数の基本文字コードに分割
する分割手段と、上記基本文字コードに対応する基本文
字パターンを予め記憶している文字パターンメモリと、
上記文字コード判別手段の判別結果により印字用文字コ
ードが基本文字コードである場合上記文字パターンメモ
リから上記基本文字コードに対応する基本文字パターン
を読出す基本文字パターン出力手段と、上記分割手段に
より得られる複数の基本文字コードに対応する各文字パ
ターンを上記文字パターンメモリから読出して合成し上
記複合文字コードに対応する複合文字パターンを出力す
るパターン合成手段と、このパターン合成手段または上
記基本文字パターン出力手段から出力される基本文字パ
ターン又は複合文字パターンに基づいた印字動作を行な
うように制御する印字制御手段とを具備してなることを
特徴とする印字制御方式。a receiving means for receiving a character code for printing transmitted from the outside; and a character code determining means for determining whether the character code for printing received by the receiving means is either a basic character code or a composite character code. , dividing means for dividing the composite character code into a plurality of basic character codes based on a pre-prepared division table when the printing character code is a composite character code according to the determination result of the character code determination means; A character pattern memory that stores basic character patterns corresponding to character codes in advance;
If the character code for printing is a basic character code according to the determination result of the character code determination means, the basic character pattern output means reads out the basic character pattern corresponding to the basic character code from the character pattern memory, and the dividing means a pattern synthesizing means for reading each character pattern corresponding to a plurality of basic character codes from the character pattern memory and synthesizing it to output a compound character pattern corresponding to the compound character code; and the pattern synthesizing means or the basic character pattern output. 1. A printing control system comprising a printing control means for controlling a printing operation based on a basic character pattern or a composite character pattern output from the means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59181862A JPS6158746A (en) | 1984-08-31 | 1984-08-31 | Printing control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59181862A JPS6158746A (en) | 1984-08-31 | 1984-08-31 | Printing control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6158746A true JPS6158746A (en) | 1986-03-26 |
Family
ID=16108135
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59181862A Pending JPS6158746A (en) | 1984-08-31 | 1984-08-31 | Printing control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6158746A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7869844B2 (en) | 2004-09-15 | 2011-01-11 | Laird Technologies, Inc. | Sliding mechanism for opening and closing of cellular phone |
US7967346B2 (en) | 2007-07-30 | 2011-06-28 | Laird Technologies Korea Yh | Slider mechanisms for opening and closing portable terminals |
-
1984
- 1984-08-31 JP JP59181862A patent/JPS6158746A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7869844B2 (en) | 2004-09-15 | 2011-01-11 | Laird Technologies, Inc. | Sliding mechanism for opening and closing of cellular phone |
US7967346B2 (en) | 2007-07-30 | 2011-06-28 | Laird Technologies Korea Yh | Slider mechanisms for opening and closing portable terminals |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5146544A (en) | Printer control device | |
ES8404915A1 (en) | Dot matrix character printing using constrained memory. | |
JPS5936778B2 (en) | data printing device | |
US4463444A (en) | Word processing system having a formatting bidirectional printer | |
JPS6158746A (en) | Printing control system | |
US4523294A (en) | Character spaced justification method and apparatus | |
US5097426A (en) | Printer controlling apparatus | |
GB2217491A (en) | Output apparatus | |
JP2584973B2 (en) | Recognition result output method in character recognition device | |
JPS58114289A (en) | Printer controller | |
EP0356076B1 (en) | Pattern output apparatus | |
JPS6321158A (en) | Printer output device | |
JPS6145325A (en) | Printer | |
JPS59111861A (en) | Control system for printing | |
US4490058A (en) | Line printer and type carrier for use therein | |
EP0762320A3 (en) | Continued printing by resolution reduction | |
JPS5938080A (en) | Form overlay control system | |
GB1341526A (en) | ||
US5746524A (en) | Printing control apparatus for spacing 1-byte and 2-byte characters | |
JPH0790651B2 (en) | Page printer print controller | |
JP2913502B2 (en) | Stencil printer with character font conversion function | |
JP2674020B2 (en) | Optical character recognition device | |
JPH04332032A (en) | Printer buffer | |
JPH03227285A (en) | Forms output editor | |
JPS63256446A (en) | Printer |