Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0777812B2 - Output device - Google Patents
[go: Go Back, main page]

JPH0777812B2 - Output device - Google Patents

Output device

Info

Publication number
JPH0777812B2
JPH0777812B2 JP62090974A JP9097487A JPH0777812B2 JP H0777812 B2 JPH0777812 B2 JP H0777812B2 JP 62090974 A JP62090974 A JP 62090974A JP 9097487 A JP9097487 A JP 9097487A JP H0777812 B2 JPH0777812 B2 JP H0777812B2
Authority
JP
Japan
Prior art keywords
pattern
character
output
color
output device
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 - Lifetime
Application number
JP62090974A
Other languages
Japanese (ja)
Other versions
JPS63256445A (en
Inventor
吉章 河村
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 JP62090974A priority Critical patent/JPH0777812B2/en
Publication of JPS63256445A publication Critical patent/JPS63256445A/en
Publication of JPH0777812B2 publication Critical patent/JPH0777812B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K2215/00Arrangements for producing a permanent visual presentation of the output data
    • G06K2215/0082Architecture adapted for a particular function
    • G06K2215/0094Colour printing

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Color, Gradation (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は出力装置、詳しくは外部から入力される情報に
基づいてパターンを発生し、出力する出力装置に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an output device, and more particularly to an output device that generates and outputs a pattern based on information input from the outside.

[従来の技術] 従来、例えば2色或いはそれ以上の色でカラー印刷する
プリンタを備えたシステムでは、ホストコンピユータか
ら印刷すべき文字記号の出力色を指定する出力色指定制
御コードを入力し、その出力指定制御コードに基づい
て、所定の出力色でもつて印刷出力していた。
[Prior Art] Conventionally, in a system including a printer that performs color printing with two or more colors, for example, an output color designation control code that designates an output color of a character symbol to be printed is input from a host computer, and According to the output designation control code, the image is printed out in a predetermined output color.

[発明が解決しようとする問題点] 従つて、ホストコンピユータ上で処理しているアプリケ
ーシヨンプログラムに、その色指定の機能がなければ、
単色(初期設定された色)でもつて印字するしか方法が
無く、カラープリンタであるが故の恩恵を受けることが
できなかつた。
[Problems to be Solved by the Invention] Therefore, if the application program processed on the host computer does not have the function of specifying the color,
There was no other way but to print with a single color (initially set color), and I could not receive the benefit of being a color printer.

本発明はかかる問題点に鑑みなされたものであり、外部
から入力したモノクロデータの印字対象となっていたパ
ターンを、意図した色で出力することを可能にする出力
装置を提供しようとするものである。
The present invention has been made in view of the above problems, and it is an object of the present invention to provide an output device capable of outputting a pattern, which is a print target of monochrome data input from the outside, in an intended color. is there.

[問題点を解決するための手段] この問題を解決するため、本発明の出力装置は以下の構
成を備える。すなわち、 外部装置から文字情報と色指定のない文字属性情報を受
信する受信手段と、 文字属性情報に係るパターンの出力色を指定する色指定
情報を入力する入力手段と、 前記受信手段で受信した色指定のない文字属性情報に係
るパターンを、前記入力手段で入力した色指定情報に基
づく色で出力する出力手段とを有する。
[Means for Solving Problems] In order to solve this problem, the output device of the present invention has the following configuration. That is, receiving means for receiving character information and character attribute information without color designation from an external device, input means for inputting color designation information for designating an output color of a pattern relating to the character attribute information, and the receiving means for receiving. Output means for outputting a pattern relating to character attribute information without color designation in a color based on the color designation information input by the input means.

[作用] かかる本発明の構成において、外部から文字情報と色指
定のない文字属性情報を受信手段で受信する。また、入
力手段によって、文字属性情報に係るパターンの出力色
を指定する色指定情報を入力する。そして、出力手段
は、受信手段で受信した色指定のない文字属性情報に係
るパターンを、入力手段で入力した色指定情報に基づく
色で出力する。
[Operation] In such a configuration of the present invention, the receiving unit receives the character information and the character attribute information without color designation from the outside. Further, the input means inputs color designation information for designating an output color of the pattern relating to the character attribute information. Then, the output means outputs the pattern relating to the character attribute information having no color designation received by the receiving means, in a color based on the color designation information input by the input means.

[実施例] 以下、添付図面に従つて本発明に係る実施例を詳細に説
明する。
Embodiments Embodiments according to the present invention will be described in detail below with reference to the accompanying drawings.

尚、本実施例における印刷装置の出力色の種類は、説明
を簡単にするために“赤”と“黒”の2種類として説明
するが、この出力色の種類は3種類、或いはそれ以上で
あつても構わない。
It should be noted that the output color types of the printing apparatus in the present embodiment are described as two types of "red" and "black" for the sake of simplicity, but the output color types are three types or more. I don't mind.

第1図は本実施例におけるホストコンピユータに接続さ
れる印刷装置のブロツク構成の概略を示す図である。
FIG. 1 is a diagram showing an outline of a block configuration of a printing apparatus connected to a host computer in this embodiment.

図中、1は印字データや各種制御コードを出力してくる
ホストコンピユータである。2は印刷装置であり、内部
に印刷装置2全体を制御する制御部21がある。また、制
御部21内には後述する第3図の制御手順(プログラム)
を格納しているROM21aと、その処理中に使用するワーク
エリア及びホストコンピユータ1から出力されてくる各
種データを一旦格納するバツフアエリアの2つのエリア
とからなるRAM21bとを備えている。
In the figure, reference numeral 1 is a host computer that outputs print data and various control codes. Reference numeral 2 is a printing apparatus, and a control unit 21 for controlling the entire printing apparatus 2 is provided inside. Further, the control procedure (program) shown in FIG.
And a RAM 21b that includes a work area used during the processing and a buffer area that temporarily stores various data output from the host computer 1 and a RAM 21b.

また、22は印刷装置2における印刷色を設定する属性指
定スイツチであり、その詳細は後述する。23はホストコ
ンピユータ1からの文字記号コードに対する文字記号パ
ターンを発生するパターン変換部である。24,25は入力
したデータを基にパターン変換部23でもつて発生したパ
ターンを制御部21を介して蓄えるバツフアメモリであ
り、バツフアメモリ24には印字色が“黒”のパターンが
格納され、バツファメモリ25には印字色が“赤”のパタ
ーンが格納されることになる。また、本実施例ではバツ
フアメモリ24,25のそれぞれの容量は印刷用紙1枚分の
容量を持つものとして説明する。26はドツトプリンタ部
であつて、“赤”と“黒”の2色のインクリボンを備
え、バツフアメモリ24,25からのパターンデータを入力
し、その入力したバツフアメモリに従つて黒或いは赤で
もつて印刷する。
Reference numeral 22 is an attribute designation switch for setting the printing color in the printing device 2, the details of which will be described later. Reference numeral 23 is a pattern conversion unit that generates a character / symbol pattern for the character / symbol code from the host computer 1. Reference numerals 24 and 25 are buffer memories that store the patterns generated by the pattern conversion unit 23 based on the input data via the control unit 21, and the buffer memory 24 stores the pattern of the printing color "black" and the buffer memory 25. Will store a pattern whose print color is "red". Further, in the present embodiment, the capacity of each of the buffer memories 24 and 25 will be described as having a capacity of one printing sheet. Reference numeral 26 is a dot printer section, which is provided with two color ink ribbons of "red" and "black", inputs the pattern data from the buffer memories 24 and 25, and prints in black or red according to the input buffer memory. .

[属性指定スイツチの説明(第2図)] 第2図に本実施例における属性指定スイツチ22を示す。[Description of Attribute Designating Switch (FIG. 2)] FIG. 2 shows the attribute designating switch 22 in this embodiment.

図示の毎く、出力文字種に対して各スイツチsw1〜sw8が
設けられている。これら各スイツチsw1〜sw8をONにする
と、ONになつた文字種の出力色が“赤”でもつて印刷出
力され、“OFF"にすると出力色が“黒”でもつて印刷さ
れることになる。
As shown, the switches sw1 to sw8 are provided for the output character types. When these switches sw1 to sw8 are turned ON, the output color of the character type that has been turned ON is printed out with "red", and when it is turned "OFF", the output color is printed with "black".

例えば図示の場合には、ボールド文字に対してのみスイ
ツチsw1が“ON"になつている。従つて、ホストコンピユ
ータ1からの制御コード中の出力文字属性コードがボー
ルド文字指定コードであつた場合には、本印刷装置は
“赤”でもつて印刷出力することになるわけである。
尚、ホストコンピユータ1からの制御コードはキヤリツ
ジリターン(0DH、Hは16進数を示す)等の制御コード
を除いて、一般にエスケープシーケンスを用いるのが普
通であり、本実施例もそれに従つて説明する。また、こ
のエスケープシーケンスであるかESC(エスケープ,“1
BH"で表わされる)に後続する1バイト或いは2バイト
のコードでもつて文字種が指定されるものである。
For example, in the illustrated case, the switch sw1 is "ON" only for bold characters. Therefore, when the output character attribute code in the control code from the host computer 1 is a bold character designation code, the printing apparatus prints with "red".
The control code from the host computer 1 is generally an escape sequence, except for control codes such as carriage return (0D H , H is hexadecimal), and this embodiment also follows it. explain. In addition, is this escape sequence ESC (escape, "1
The character type is specified by a 1-byte or 2-byte code that follows "B H ").

[制御処理の説明(第3図)] 第3図は本実施例の制御部21の処理手順を示すフローチ
ヤートであり、以下、これに従つて処理の流れを説明す
る。
[Explanation of Control Processing (FIG. 3)] FIG. 3 is a flow chart showing the processing procedure of the control unit 21 of the present embodiment, and the processing flow will be described below according to this.

ステツプS1でホストコンピユータ1から受信されたデー
タはステツプS2においてデータ属性によつて分岐され
る。このとき、ボールド文字であると判断された場合に
はステツプS31に移ることになる。ステツプS31ではボー
ルド文字に対応するスイツチsw1が“ON"か“OFF"かを判
断する。この判断でスイツチsw1が“OFF"であると判断
した場合にはステツプs41に移つて、入力した文字記号
に対応する文字記号パターンをバツフアメモリ24に格納
し、“ON"のときにはステツプS51に移つて、バツフアメ
モリ25に文字記号パターンを格納する。ステツプS41或
いはステツプS51の処理が終了したら、ステツプS61に移
り、バツフアメモリ24,25に1ページ分の文字記号パタ
ーンの格納が終了したか否かを判断する。尚、この判断
の基準であるが、格納していつた文字記号パターンの行
数が1ページ分になつたか、或いはホストコンピユータ
1より改ページの制御コードが送られてきたかで判断す
る。さて、このステツプS61での判断が“NO"であるとき
には、再びステップS1に戻ることになる。
The data received from the host computer 1 in step S1 is branched according to the data attribute in step S2. At this time, if it is determined that it is a bold character, the process proceeds to step S31. In step S31, it is determined whether the switch sw1 corresponding to the bold character is "ON" or "OFF". If the switch sw1 is determined to be "OFF" by this determination, the process proceeds to step s41, the character symbol pattern corresponding to the input character symbol is stored in the buffer memory 24, and if "ON", the process proceeds to step S51. The character / symbol pattern is stored in the buffer memory 25. When the processing of step S41 or step S51 is completed, the process proceeds to step S61, and it is determined whether or not the storage of the character / symbol pattern for one page in the buffer memories 24 and 25 is completed. As a criterion for this determination, it is determined whether the number of lines of the character / symbol pattern stored is one page or the control code for page break is sent from the host computer 1. Now, if the determination in step S61 is "NO", the process returns to step S1 again.

また、ステツプS2で属性コードがアンダーラインである
と判断された場合にはステツプS32に移り、その属性に
基づくスイツチSW2が“ON"か“OFF"かを判断し、“ON"
の場合にはステツプS42、“OFF"のときにはステツプS52
に移り、以下、ステツプS41,S51,S61と同様の処理をす
る。また、ステツプS2での判断、“網掛け”の場合には
ステツプS33以下の処理を、“罫線”の場合にはステツ
プS34の処理を実行する。
If it is determined in step S2 that the attribute code is underlined, the process proceeds to step S32, and it is determined whether switch SW2 based on the attribute is "ON" or "OFF".
If it is, step S42, if it is "OFF", step S52
Then, the same processing as steps S41, S51, S61 is performed. Further, in the case of the judgment in step S2, in the case of "shading", the processing of step S33 and thereafter is executed, and in the case of "ruled line", the processing of step S34 is executed.

さて、バツフアメモリ24,25に1ページ分の文字記号パ
ターンが格納されたとき、すなわち、ステツプS61の判
断が“YES"のときには、ステツプS62に移り、バツフア
メモリ24内に展開された文字記号パターンは“黒”で、
バツフアメモリ25内に展開された文字記号パターンは
“赤”で印刷出力されることになる。
When one page of the character / symbol pattern is stored in the buffer memories 24 and 25, that is, when the determination in step S61 is "YES", the process proceeds to step S62 and the character / symbol pattern developed in the buffer memory 24 is " In black,
The character / symbol pattern developed in the buffer memory 25 is printed out in "red".

以上の処理における属性指定スイツチ22が例えば第2図
に示す状態であつた場合、ホストコンピユータ1から送
られてくる文字情報中のボールド文字(ボールド文字パ
ターンはバツフアメモリ25内に展開される)のみが
“赤”で印刷され、他の字種(バツフアメモリ24内に展
開される)が“黒”でもつて印刷されることになる。
When the attribute designation switch 22 in the above processing is in the state shown in FIG. 2, for example, only the bold characters (bold character patterns are expanded in the buffer memory 25) in the character information sent from the host computer 1 are used. It will be printed in "red", and will be printed with other characters (developed in the buffer memory 24) in "black".

尚、以上の説明では文字の出力形態でボールド文字、ア
ンダーライン、網掛け、罫線について説明したが、例え
ばイタリツク文字、拡大或いは縮小文字等でも、その文
字記号に対応する制御コードが送られてくるものであれ
ば、出力色指定をすることができる。更にはカタカナ或
いは漢字のみを“赤”でもつて印刷したりすることも可
能である。このときには、入力した文字記号コード(多
くの場合にはJIS規格コード)の大小でもつて判断する
ことになる。また、印字色を2色に限定されるものでは
なく、3色以上(その場合には属性指定スイツチは3段
階以上に設定される)にして、同様の処理をしても良
い。
In the above description, bold characters, underlines, halftones, and ruled lines have been described as the output form of characters, but for example, even for italic characters, enlarged or reduced characters, etc., the control code corresponding to the character symbol is sent. If it is one, the output color can be designated. Furthermore, it is also possible to print only katakana or kanji in "red". At this time, the judgment is made based on the size of the input character symbol code (in many cases, JIS standard code). Further, the printing color is not limited to two colors, and three or more colors (in that case, the attribute designation switches are set to three or more levels) and the same processing may be performed.

以上、説明した様に本実施例によれば、文字記号情報か
らなる文書情報を出力する側(本実施例の場合にはホス
トコンピユータ)に色指定コードがなくとも、適当な字
種に対して出力色の指定が行える。
As described above, according to the present embodiment, even if there is no color designation code on the side (the host computer in the case of this embodiment) that outputs the document information consisting of character symbol information, it is possible to obtain an appropriate character type. You can specify the output color.

尚、本実施例ではバツフアメモリ24,25のメモリ容量を
印刷用紙1ページ分としたが、これに限定されるもので
はなく、1行分のメモリ容量であつても全く構わない。
In this embodiment, the memory capacity of the buffer memories 24 and 25 is one page of printing paper, but the present invention is not limited to this, and the memory capacity of one line may be used.

更に、本実施例でのプリンタは少なくとも2色でもつて
印刷出力できればよいので、プリンタのタイプで本発明
は限定されるものではない。
Further, the printer according to the present embodiment only needs to be able to print out with at least two colors, so the present invention is not limited by the type of printer.

[発明の効果] 以上説明した様に本発明によれば、例えばホストコンピ
ュータから入力したモノクロデータの印刷対象(アンダ
ーライン、網掛け、罫線、ボールド文字、イタリック文
字、拡大文字、縮小文字等)を任意に設定した色でカラ
ー印字することができるという優れた効果を奏する。
[Effects of the Invention] As described above, according to the present invention, for example, monochrome data input from a host computer can be printed (underlines, halftone dots, ruled lines, bold characters, italic characters, enlarged characters, reduced characters, etc.). It has an excellent effect that color printing can be performed with a color set arbitrarily.

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

第1図は本実施例の印刷装置にブロツク構成の概略図、 第2図は属性指定スイツチを説明するための図、 第3図は本実施例の制御部の処理手順を示すフローチヤ
ートである。 図中、1……ホストコンピユータ、2……印刷装置、21
……制御部、22……属性指定スイツチ、23……パターン
変換部、24,25……バツフアメモリ、26……ドツトプリ
ンタである。
FIG. 1 is a schematic diagram of the block configuration of the printing apparatus of this embodiment, FIG. 2 is a diagram for explaining the attribute designation switch, and FIG. 3 is a flow chart showing the processing procedure of the control unit of this embodiment. . In the figure, 1 ... Host computer, 2 ... Printing device, 21
...... Control unit, 22 ...... Attribute designation switch, 23 ...... Pattern conversion unit, 24,25 ...... Buffer memory, 26 ...... Dot printer.

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】外部装置から文字情報と色指定のない文字
属性情報を受信する受信手段と、 文字属性情報に係るパターンの出力色を指定する色指定
情報を入力する入力手段と、 前記受信手段で受信した色指定のない文字属性情報に係
るパターンを、前記入力手段で入力した色指定情報に基
づく色で出力する出力手段とを有することを特徴とする
出力装置。
1. A receiving means for receiving character information and character attribute information without color designation from an external device, an input means for inputting color designation information for designating an output color of a pattern relating to the character attribute information, and the receiving means. An output device for outputting the pattern relating to the character attribute information having no color designation received in 1. in a color based on the color designation information input by the input means.
【請求項2】前記出力されるパターンは、アンダーライ
ンであることを特徴とする特許請求の範囲第1項記載の
出力装置。
2. The output device according to claim 1, wherein the output pattern is an underline.
【請求項3】前記出力されるパターンは、網かけパター
ンであることを特徴とする特許請求の範囲第1項記載の
出力装置。
3. The output device according to claim 1, wherein the output pattern is a halftone pattern.
【請求項4】前記出力されるパターンは、罫線パターン
であることを特徴とする特許請求の範囲第1項記載の出
力装置。
4. The output device according to claim 1, wherein the output pattern is a ruled line pattern.
【請求項5】前記出力されるパターンは、ボールド文字
パターンであることを特徴とする特許請求の範囲第1項
記載の出力装置。
5. The output device according to claim 1, wherein the output pattern is a bold character pattern.
【請求項6】前記出力されるパターンは、イタリック文
字パターンであることを特徴とする特許請求の範囲第1
項記載の出力装置。
6. The first pattern according to claim 1, wherein the output pattern is an italic character pattern.
The output device according to the item.
【請求項7】前記出力されるパターンは、拡大文字パタ
ーンであることを特徴とする特許請求の範囲第1項記載
の出力装置。
7. The output device according to claim 1, wherein the output pattern is an enlarged character pattern.
【請求項8】前記出力されるパターンは、縮小文字パタ
ーンであることを特徴とする特許請求の範囲第1項記載
の出力装置。
8. The output device according to claim 1, wherein the output pattern is a reduced character pattern.
【請求項9】前記出力装置は、プリンタであることを特
徴とする特許請求の範囲第1項記載の出力装置。
9. The output device according to claim 1, wherein the output device is a printer.
【請求項10】前記色指定情報は、前記文字情報と前記
文字属性情報を受信する前に予め設定されていることを
特徴とする特許請求の範囲第1項記載の出力装置。
10. The output device according to claim 1, wherein the color designation information is preset before receiving the character information and the character attribute information.
JP62090974A 1987-04-15 1987-04-15 Output device Expired - Lifetime JPH0777812B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62090974A JPH0777812B2 (en) 1987-04-15 1987-04-15 Output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62090974A JPH0777812B2 (en) 1987-04-15 1987-04-15 Output device

Publications (2)

Publication Number Publication Date
JPS63256445A JPS63256445A (en) 1988-10-24
JPH0777812B2 true JPH0777812B2 (en) 1995-08-23

Family

ID=14013484

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62090974A Expired - Lifetime JPH0777812B2 (en) 1987-04-15 1987-04-15 Output device

Country Status (1)

Country Link
JP (1) JPH0777812B2 (en)

Also Published As

Publication number Publication date
JPS63256445A (en) 1988-10-24

Similar Documents

Publication Publication Date Title
US5093903A (en) System for controlling printers having differing dot densities
US5748859A (en) Method and device for transmitting and processing print data used for printer
US5355231A (en) Output apparatus with dot density adjustments
US5562350A (en) Output apparatus that selects a vector font based on character size
JPH0490669A (en) Printer
JPH0777812B2 (en) Output device
JPH01165443A (en) printer
JP2572074B2 (en) Character processor
JP2940914B2 (en) Output device
JPS61209169A (en) printing device
JPS62208176A (en) Image processor
JPH0425570B2 (en)
JP2711860B2 (en) Output control method and device
JPS63242561A (en) Font reducing system
JPS5933544A (en) Display control method
JPH0765181A (en) Image processing device
JP2958017B2 (en) Output control apparatus and method
JPH08132684A (en) Braille plate output system and Braille plate output method
JPH06183074A (en) Character processing device
JPH0781145A (en) Multicolor printer
JPH06155808A (en) Printing control device and print control method
JPH0615876A (en) Printing equipment
JPH01113247A (en) Printing device
JPH03110182A (en) Hybrid printer
JPH04216263A (en) Picture recorder

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070823

Year of fee payment: 12