JPS62222292A - Information output unit - Google Patents

Information output unit

Info

Publication number
JPS62222292A
JPS62222292A JP61065172A JP6517286A JPS62222292A JP S62222292 A JPS62222292 A JP S62222292A JP 61065172 A JP61065172 A JP 61065172A JP 6517286 A JP6517286 A JP 6517286A JP S62222292 A JPS62222292 A JP S62222292A
Authority
JP
Japan
Prior art keywords
character
information
color
document
characters
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
JP61065172A
Other languages
Japanese (ja)
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 JP61065172A priority Critical patent/JPS62222292A/en
Publication of JPS62222292A publication Critical patent/JPS62222292A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Color, Gradation (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、多色で情報の出力が可能な情報出力装置に関
し、所望の情報に所望の色で出力できる情報出力装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to an information output device capable of outputting information in multiple colors, and more particularly, to an information output device capable of outputting desired information in a desired color.

〔従来技術〕[Prior art]

最近、OA種機器対して、カラー化が、望まれているが
、高級なオフィスコンピュータにおけるディスプレイや
、システム化された高級プリンタ等に限られ、色情報も
ドツト単位で持つ必要があり、メモリ容量も大きいもの
が必要となります0個人や、一般のユーザは複写機にお
いて、カラートナーを変換して、2色のコピーを取るこ
とができる程度であった。
Recently, colorization has been desired for office automation equipment, but it is limited to displays in high-end office computers and systemized high-end printers, and it is necessary to store color information in dot units, which requires memory capacity. Individuals and general users were only able to convert color toner and make two-color copies in a copying machine.

特に、ワードプロセッサやタイプライタでは大抵は印字
は黒一色であり、ディスプレイについても、特にパーソ
ナルユースでは1ライン或いは2ラインの白、黒の表示
が可能な液晶表示器が設けられているだけで、未だに白
黒の世界である。また、2色以上で印刷するプリンタで
も1色、変えをしたい場所、したい時に、インクリボン
或いはインク液体を人間が交換し、又、他の色に変える
場合は、同様の動作を繰返し多色のプリントを行うもの
で、非常に面倒で、使いづらく、かえっ°〔、操作性が
悪く、“多色印字°′が十分に生かしきれないというの
が現状であった。
In particular, most word processors and typewriters print in black, and displays, especially for personal use, are only equipped with liquid crystal displays that can display one or two lines of white and black, and are still not used today. It's a black and white world. In addition, even with printers that print in two or more colors, when you want to change one color, you can manually replace the ink ribbon or ink liquid, and if you want to change to another color, repeat the same operation to print multiple colors. The current situation was that it was very troublesome, difficult to use, and had poor operability, and the multicolor printing was not fully utilized.

〔目 的〕〔the purpose〕

以上の点に鑑み、本願発明は、上記欠点を除字を赤で出
力する等の多色印字を行う情報出力装置を提供すること
にある。
In view of the above points, it is an object of the present invention to provide an information output device that performs multicolor printing, such as outputting subtraction characters in red, to overcome the above-mentioned drawbacks.

又、本発明の目的は色変じたい文字列を特定のマークで
挟む事により、自動的に色変して出力を行う情報出力装
置を提供することにある。
Another object of the present invention is to provide an information output device that automatically changes the color and outputs the character string by sandwiching the character string whose color is desired to be changed between specific marks.

又、本発明の目的はアンダーラインやアッパーライン、
サイドライン等を自動的に色変して出力を行う情報出力
装置を提供することにある。
Further, the purpose of the present invention is to remove underlines, upperlines,
An object of the present invention is to provide an information output device that automatically changes the color of side lines, etc. and outputs them.

又1本発明の目的は、文書における本文と脚注部を自動
的に色変して出力する情報出力装置を提供することにあ
る。
Another object of the present invention is to provide an information output device that automatically changes the color of the main text and footnotes of a document and outputs the same.

又本発明の目的は、文書の途中から色変して出力する情
報出力装置を提供することにある。
Another object of the present invention is to provide an information output device that changes color from the middle of a document and outputs the document.

又1本発明の目的は、任意の文字を色変コマンドとして
登録し、文書中に無駄なコマンドマークを不要とし、文
書上のレイアウトから制約を除いた多色出力を行う情報
出力装置を提供することにある。
Another object of the present invention is to provide an information output device that registers any character as a color change command, eliminates the need for unnecessary command marks in a document, and performs multicolor output without restrictions from the layout on the document. There is a particular thing.

又、本願発明の目的は、色変コマンドに基づいて、所望
の情報を他と異なる色で出力し、見易く、高品質な出力
情報を得ることが可能な情報出力装置を提供することに
ある。
Another object of the present invention is to provide an information output device that can output desired information in a different color based on a color change command, and can obtain easy-to-read, high-quality output information.

又、本発明の目的は、文字、記号等のコード情報に色情
報を持たなくても所望の情報を他と異なる色で出力する
ことができる情報出力装置を提供することにある。
Another object of the present invention is to provide an information output device that can output desired information in a different color from other information even if code information such as characters and symbols does not include color information.

〔実施例〕〔Example〕

以下1図面を参照し、本願発明の詳細な説明する。なお
本発明において多色で出力される情報は、文字、記号2
図形9画像等のいずれであっても又、どの組合せであっ
ても良いことは言うまでもない。又、本発明でいう装置
は、システムであって、システムの一部であっても又1
機器単体であっても良いことは言うまでもない。
The present invention will be described in detail below with reference to one drawing. Note that in the present invention, information output in multiple colors includes characters, symbols 2
It goes without saying that any of the graphics 9 images, etc., or any combination thereof may be used. In addition, the device referred to in the present invention is a system, and even if it is a part of the system,
Needless to say, it may be a single device.

第1図に、本発明適用可能な情報出力装置の構成ブロッ
ク図を示す、なお1本実施例では、1例としてワードプ
ロセッサーについて、説明する。第1図において、CP
U(中央処理装置)はROM (リードオンリメモリ)
に含まれた第6図〜第1O図に示したプログラムメモリ
の内容を実行処理する事によりパスラインBLを介して
接続される各装置を制御する。このパスラインBLには
キーボードが接続され、このキーボードから入力された
文字情報はパスラインBLを介してRAM(ランダムア
クセスメモリ)の一部にある文書メモリBSMに供給記
憶される。記憶された文字情報をCRT (陰極線管)
に表示するにはCRTコントローラCRTCで制御され
るキャラクタジェネレータCGの中から文字コードに相
当するフォントをパスラインBLを介してCPUの指示
により行われる。RAMには前述の文書メモリBSMの
他にカーソルのX、Y座標を記憶するXPOI NT 
FIG. 1 shows a block diagram of the configuration of an information output device to which the present invention is applicable. In this embodiment, a word processor will be explained as an example. In Figure 1, CP
U (Central Processing Unit) is ROM (Read Only Memory)
Each device connected via the path line BL is controlled by executing the contents of the program memory shown in FIGS. 6 to 1O included in the path line BL. A keyboard is connected to this pass line BL, and character information input from this keyboard is supplied to and stored in a document memory BSM in a part of RAM (random access memory) via the pass line BL. Stored character information on CRT (cathode ray tube)
In order to display the image, a font corresponding to the character code is selected from the character generator CG controlled by the CRT controller CRTC via the pass line BL according to instructions from the CPU. In addition to the above-mentioned document memory BSM, the RAM has an XPOI NT that stores the X and Y coordinates of the cursor.
.

YPOINT。YPOINT.

第3図は前述した文書メモリBSMの構造図である6文
書メモリBSMはl0XIOのマトリックス構造になっ
ており、左上から(Xl。
FIG. 3 is a structural diagram of the document memory BSM described above. The 6-document memory BSM has a matrix structure of 10XIO, starting from the top left (X1).

y 1)(Xl 、 y2)−−(xm、yn)−−x
lo、yto)と表現することができる。
y1) (Xl, y2)--(xm, yn)--x
lo, yto).

第4図は文字コードのビット構成図である。FIG. 4 is a bit configuration diagram of a character code.

本実施例の文字コードは16ビツトから成り、うち先頭
ビットはアンダーライン用ビットとなっている。即ちこ
のビットが1ならアンダーライン付であるし、Oならア
ンダーラインなしを意味する。
The character code in this embodiment consists of 16 bits, the first bit of which is an underline bit. That is, if this bit is 1, there is an underline, and if this bit is O, there is no underline.

第5図は文書の表示(出力)例を示したものである6通
常の文字部(本文)の他に複数の脚注分離記号で区切ら
れた脚注がドにある0本例では、本文内の“ソフトウェ
ア°′という文字列を脚注において、乞食で出力する例
を示したものである0脚注分離記号は、第2図に示す文
字・記号キ一群MKYの中の例えば 〜 キーを押下す
ることにより入力である。なお脚注分離記号は1表示(
出力)されても良いし、どちらでも良い。
Figure 5 shows an example of how a document is displayed (output).6 In addition to the normal character section (main text), there are multiple footnotes separated by footnote separators. The 0 footnote separator symbol, which shows an example of outputting the character string "software °'" in a footnote, can be used by pressing the ~ key in the character/symbol group MKY shown in Figure 2. This is an input. Note that the footnote separator symbol is displayed as 1 (
output), or either is fine.

印刷文字を管理するテキトス文字ポインターPP0IN
T、テキスト内総文字数を記憶する。MOJISU、乞
食フラグCFI、AG、脚注分離フラグBFLAG、コ
マンド登録メモリCOMIM、C0M2M等の一時記憶
用エリアがある。
Text character pointer PP0IN that manages printed characters
T. Stores the total number of characters in the text. There are temporary storage areas such as MOJISU, beggar flags CFI and AG, footnote separation flag BFLAG, and command registration memories COMIM and C0M2M.

プリンターPRTは前述の文書メモリBSMのテキスト
をCPUの指示により印刷する為の例えば、熱転写プリ
ンタ等の装置である。なおプリンタは、LBP(レーザ
ビームプリンタ)。
The printer PRT is a device, such as a thermal transfer printer, for printing the text in the document memory BSM described above according to instructions from the CPU. The printer is an LBP (laser beam printer).

インクジェット、バブルジェットあるいは、インパクト
プリント等であっても良い。
Inkjet, bubble jet, impact printing, etc. may be used.

第2−1図は第1図キーボードKBの拡大詳細図である
。この白文字記号用キ一群MKYは通常の文字・記号を
人力する為のキ一群であり、ここで入力されたキーに対
応した文字記号コードが前述の文書メモリBSMに格納
されかつCRTに表示される。このキ一群の中には後述
する脚注分離記号、括弧記号、マイナス記号等が含まれ
る。なお、上記コードは、文字、記号を表わすものであ
っても良いし図形、イメージ等をランレングス或いは1
MH符号等を用いて、圧縮したリーグ等からの入力情報
をも含むものである。
FIG. 2-1 is an enlarged detailed view of the keyboard KB of FIG. 1. This white character symbol key group MKY is a key group for manually inputting ordinary characters and symbols, and the character symbol code corresponding to the key input here is stored in the document memory BSM mentioned above and displayed on the CRT. Ru. This group of keys includes footnote separators, parentheses, minus signs, etc., which will be described later. Note that the above code may represent a character or symbol, or may represent a figure, image, etc.
It also includes input information from leagues and the like compressed using MH codes and the like.

その他ファンクションキーとして改頁KPKY、カーソ
ル移動CKY、印刷PKY、アンダーラインULKY、
コマンド第1登録COMTIKY、コマンド第2登録C
OMT2KY等がある。
Other function keys include page break KPKY, cursor movement CKY, print PKY, underline ULKY,
Command 1st registration COMTIKY, Command 2nd registration C
There are OMT2KY etc.

次に、第2−2図〜第2−5図を参照して、第1図のプ
リンタPRTの乞食の1例について説明する。第2−2
図〜第2−5図は、サーマルヘッドが、2色印字用のリ
ボンを介して紙に選択的に2色の印字を行う場合の原理
を示す図である0図において、19は熱転写材、20は
熱溶融性のインクを有したインク層で、22は第1イン
ク層、23は第2インク層、21は該インクを指示して
いる支持体である。又、4はプラテン、2は記録紙、1
7は、サーマルヘッド、17aはサーマルヘッドのヒー
タ部(発熱体)である。なお、第1と第2のインク層の
間にも、剥g1層25を設けである。
Next, an example of the beggar of the printer PRT in FIG. 1 will be described with reference to FIGS. 2-2 to 2-5. 2-2
Figures 2-5 are diagrams showing the principle when a thermal head selectively prints two colors on paper via a ribbon for two-color printing.In Figure 0, 19 is a thermal transfer material; 20 is an ink layer having a heat-melting ink, 22 is a first ink layer, 23 is a second ink layer, and 21 is a support supporting the ink. Also, 4 is the platen, 2 is the recording paper, 1
7 is a thermal head, and 17a is a heater section (heating element) of the thermal head. Note that a peeling layer 25 is also provided between the first and second ink layers.

第2−2図、第2−3図は、第2インク層23を紙2に
転写させる場合を示す熱転写材の厚さ方向略断面図で、
第2−2図は記録前の状態を示している。$2−3図は
、熱転写材19が、ヒータ17aにより加熱された後、
直ちに、記録紙2から剥離された状態を示すもので、剥
離層25の接着力により第2インク層のみが、第2−3
図の23aに示す様に記録紙2に記録される。
2-2 and 2-3 are schematic cross-sectional views in the thickness direction of the thermal transfer material showing the case where the second ink layer 23 is transferred to the paper 2,
FIG. 2-2 shows the state before recording. Figures 2 and 3 show that after the thermal transfer material 19 is heated by the heater 17a,
This shows a state in which it is immediately peeled off from the recording paper 2, and due to the adhesive force of the peeling layer 25, only the second ink layer is separated from the 2nd-3rd ink layer.
The information is recorded on the recording paper 2 as shown at 23a in the figure.

第2−4図、第2−5図は、ヒータ17aによって加熱
された後レバー24によって、所定時間経過した後に、
記録紙から転写材19が剥離される。この場合、剥#M
25の接着力が強い為、第2−5図に示す様に、第2イ
ンク暦23a、第1インク層22aが共に記録紙2に記
録される。
2-4 and 2-5 show that after a predetermined period of time has elapsed, the lever 24 is heated by the heater 17a.
The transfer material 19 is peeled off from the recording paper. In this case, strip #M
25 has a strong adhesive force, so that both the second ink layer 23a and the first ink layer 22a are recorded on the recording paper 2, as shown in FIGS. 2-5.

つまり、支持体と第1インク層の第1接着力と第1層と
第2層との第2接着力の相対的な違い(第2−3図、第
1接着力〉第2接着力、第2−5図は、第1接着力く第
2接着力)を剥離時間を変えることにより、制御するの
である。
In other words, the relative difference between the first adhesive force between the support and the first ink layer and the second adhesive force between the first layer and the second layer (Fig. 2-3, first adhesive force > second adhesive force, In FIGS. 2-5, the first adhesive force and the second adhesive force are controlled by changing the peeling time.

なお、熱転写の方法或いはリボンの構成についての詳細
については、例えば特願昭60−298831又は、特
願昭59−260430の明細書に記載されているが、
発熱部を2つ設ける様にしても良い。
The details of the thermal transfer method and the structure of the ribbon are described, for example, in the specifications of Japanese Patent Application No. 60-298831 or Japanese Patent Application No. 59-260430.
Two heat generating parts may be provided.

更にレバー24も、インクリボンカセット内或いは、キ
ャリッジ上或いは、キャリッジのホームポジションに設
けられても良い、更には、本発明適用のプリンタはイン
クジェット、バブルジェット等どの様なプリンタであっ
ても良いことは言うまでもない。
Furthermore, the lever 24 may also be provided within the ink ribbon cassette, on the carriage, or at the home position of the carriage.Furthermore, the printer to which the present invention is applied may be any type of printer such as an inkjet printer or a bubble jet printer. Needless to say.

以上の構成の下で、本発明実施例の動作を第6図〜第1
0図のフローチャート図を参照して説明する。
Under the above configuration, the operation of the embodiment of the present invention is illustrated in FIGS. 6 to 1.
This will be explained with reference to the flowchart shown in FIG.

(文字入力処理) 本装置は電源投入すると第6図ステップS1に進む。(Character input processing) When the device is powered on, it proceeds to step S1 in FIG. 6.

ステップS1ではRAM内の文書メモリBSM、テキス
ト総文字数MOJISU等のRAM内容を初期化し、カ
ーソルを文書の先頭に位置させる。
In step S1, the RAM contents such as the document memory BSM in the RAM and the total number of text characters MOJISU are initialized, and the cursor is positioned at the beginning of the document.

ステップS2ではキー人力待ちの状態を保ち、何らかの
キーが入力されたならステップS3のキー判別処理へ進
む。
In step S2, the state of waiting for manual key input is maintained, and if any key is input, the process proceeds to key discrimination processing in step S3.

ステップS3で入力されたキーが文字記号用キーMKY
と判別された時ステップS4に進みキーに対応した文字
コードをカーソル座標XPOINT、YPOINTに対
応する文書メモリBSMに格納し、カーソルを歩進させ
、テキスト総文字数MOJISUを1加算する。文書メ
モリBSMを表示した後再びステップS2のキー人力待
ち状態に進む、その詳細を第7図を用いて説明する。第
7図のステップS41で文字コードをカーソルの示す文
書メモリBSMに格納する。以下はカーソル歩進の処理
で、ステップ54.2でX方向に1つ進める。その結果
ステップS4.3で10を越えたか否か判別し、越えた
時ステップ34.4に進み行方向を1つ進める(第3図
参照)、つまり、X座標は1に戻しy座標を1つ進める
訳である。その結果10行を越えた場合ステップ84.
6に進みカーソルを1行目に戻す、ステップS4.2又
ステツプ34.5で共に10を越えない場合はステップ
54.7に進み、入力総文字数を1加算する。
The key input in step S3 is the character symbol key MKY
When it is determined that this is the case, the process proceeds to step S4, where the character code corresponding to the key is stored in the document memory BSM corresponding to the cursor coordinates XPOINT and YPOINT, the cursor is advanced, and the total number of text characters MOJISU is incremented by 1. After displaying the document memory BSM, the process returns to step S2 to wait for key input.The details will be explained with reference to FIG. In step S41 of FIG. 7, the character code is stored in the document memory BSM indicated by the cursor. The following is the process of advancing the cursor, in which the cursor is advanced one step in the X direction at step 54.2. As a result, it is determined in step S4.3 whether or not the number has exceeded 10. When it has exceeded 10, the process proceeds to step 34.4 and advances the row direction by one (see Figure 3). In other words, the X coordinate is returned to 1 and the y coordinate is set to 1. This is a step forward. If the result exceeds 10 lines, step 84.
Step 6 returns the cursor to the first line. If the number does not exceed 10 in either step S4.2 or step 34.5, the flow advances to step 54.7, where 1 is added to the total number of input characters.

(°カーソル移動処理) 次に第6図ステップS3でカーソル移動用キーCKYと
判別された時はステップS5に進みカーソル移動処理を
行う。
(°Cursor Movement Process) Next, when it is determined in step S3 of FIG. 6 that the key is the cursor movement key CKY, the process proceeds to step S5 to perform cursor movement processing.

なお詳細説明は省略する。Note that detailed explanation will be omitted.

(改 頁) $6図のステップS3で改頁キーKPKYと判別された
時ステップS6に進む、ステップS6では文字入力と同
様に改頁マークをカーソル位置に入力し、カーソルを歩
進させる処理を行う。
(Page break) When the page break key KPKY is determined in step S3 of the $6 diagram, the process advances to step S6. In step S6, a page break mark is input at the cursor position in the same way as when inputting characters, and the cursor is advanced. conduct.

(アンダーライン) 第6図のステップS3でアンダーラインキーULKYと
判別された時ステップS7に進む。
(Underline) When it is determined in step S3 of FIG. 6 that the underline key is ULKY, the process advances to step S7.

第8図を用いて詳細を説明する。第8図のステップ87
.1でカーソル上の位置、つまりBSM(XPOI N
T 、YPOI NT)(7)文字コードを読込みステ
ップS7.2で該文字コードの先頭ビットに1を立てる
0文字コードのビット構成は既に説明した通り第4図の
如くなっている。
Details will be explained using FIG. 8. Step 87 in Figure 8
.. 1 indicates the position on the cursor, that is, BSM (XPOI N
T, YPOI NT) (7) Read the character code and set 1 to the first bit of the character code in step S7.2. The bit structure of the character code is as shown in FIG. 4, as already explained.

次にステップ37.3に進み、再び該文字コードをカー
ソル位置に担当する文書メモリBSMに格納する。なお
、アンダーラインの付いた文字を他の文字とは異なる様
にしても良い(マイナス数字印字の項参照)。
Next, the process proceeds to step 37.3, where the character code is again stored in the document memory BSM corresponding to the cursor position. Note that the underlined characters may be different from other characters (see the section on printing minus numbers).

(登 録) 第6図のステップS3で′S1登録キーCOMTIKY
と判別された時、ステップS8に進み、第2登録キーC
0M72KYと判別された時ステップS9に進む、この
2つの処理はほとんど同じなのでステップS8の方につ
いて、詳細に説明する。t!?、9図においてステップ
58.1でカーソル位置の文字コードを読込んで来る。
(Registration) In step S3 of Figure 6, 'S1 registration key COMTIKY
When it is determined that
When it is determined that 0M72KY, the process proceeds to step S9. Since these two processes are almost the same, step S8 will be explained in detail. T! ? , 9, the character code at the cursor position is read in step 58.1.

次にステップ58.2で該文字コードをRAMメモリコ
マンド第1登録メモリCOMIMに格納する6以上が第
6図ステップS8の処理であるが、ステップS9の処理
は文字コードとコマンド第2登録メモリに入れるだけの
違いである。
Next, in step 58.2, storing the character code in the RAM memory command first registration memory COMIM is the process of step S8 in FIG. 6, but the process of step S9 is to store the character code and command in the second registration memory. The only difference is that it is included.

(印 刷) 第6図のステップS3で印刷キーと判断された時ステッ
プ310に分岐する。ステップS10の詳細は第10図
〜第13図を参照して説明する。
(Print) When the print key is determined in step S3 of FIG. 6, the process branches to step 310. Details of step S10 will be explained with reference to FIGS. 10 to 13.

(マイナスで乞食文字) 第10図のステップS L O,Lで色変フラグFLA
Gとテキスト文字ポインターPPOI NTをOクリヤ
する0次にステップS 10.2でテキスト文字ポイン
ターP POI NTの示す文書メモリBSM内の1文
字を読込む、この場合文書は1oxtoのマトリックス
構造であるが第3図に示した構造で左上かり右下にかけ
てシリアルメモリとして順序が付くものとする。
(Beggar character in minus) Step S L in Figure 10 Color change flag FLA in O, L
G and the text character pointer PPOI NT are cleared to 0. Next, in step S10.2, one character in the document memory BSM indicated by the text character pointer PPOI NT is read. In this case, the document has a matrix structure of 1oxto. It is assumed that the structure shown in FIG. 3 is ordered as a serial memory from the upper left to the lower right.

ステップS L 0.3に進み前記読込んだ文字に応じ
て3つに分岐する。文字がマイナス記号の場合ステップ
S10.4に進み色変フラグCFLAGを1セツトする
。数字φマイナス記号以外の時はステップ510.5に
分岐し、色変フラグCF LAGをOクリヤする。ステ
ップ510.3で数字だった時ステップS10.6に分
岐する。
Proceeding to step S L 0.3, the process branches into three depending on the read character. If the character is a minus sign, the process advances to step S10.4 and the color change flag CFLAG is set to 1. If the number φ is not a minus sign, the process branches to step 510.5 and the color change flag CF LAG is cleared to O. If it is a number in step 510.3, the process branches to step S10.6.

以上の処理はマイナス記号の時に色変を行ない、マイナ
ス記号、数字以外の時は色変を行わない様にするための
フラグ処理である。
The above process is a flag process that changes the color when it is a minus sign, but does not change the color when it is anything other than a minus sign or a number.

なお、マイナス記号に係わらず、プラス記号や数字の他
のアルファベット等に変えても良いことは言うまでもな
い。
It goes without saying that the minus sign may be replaced with a plus sign, numbers, other alphabets, etc.

(アンダーラインを免疫印字) 次に、アンダーラインを色変する場合について説明する
(Immune printing of underline) Next, a case where the color of the underline is changed will be explained.

第11図のステップS I O,lにおいてまずテキス
ト文字ポインタPP0INTをOクリヤする。次にステ
ップ510.2に進み、ポインターに従って文書メモリ
BSMの1文字を読みステップ510.3にて印字する
。その後ステップ510.4に進み該印字文字にアンダ
ーラインビットが立っているか否か判別する。立ってい
なければステップS10.7に進むが、立っている場合
ステップS L 0.5に進みプリンターPRTに対し
包嚢信号を送出する。本発明ではプリンターの種別はど
の様なプリンタであってもよいので1色変信号を送出し
た後の印字で色が1文字分変わる仕組みについての説明
は省略する。
In step SIO,l of FIG. 11, the text character pointer PP0INT is first cleared to O. Next, the process proceeds to step 510.2, and one character in the document memory BSM is read according to the pointer and is printed in step 510.3. Thereafter, the process proceeds to step 510.4, and it is determined whether or not the underline bit is set for the printed character. If it is not standing, the process proceeds to step S10.7, but if it is standing, the process proceeds to step S L 0.5 and a cyst signal is sent to the printer PRT. In the present invention, the printer may be of any type, so a description of the mechanism by which the color changes by one character in printing after sending a one-color change signal will be omitted.

ステップS 10.6にてアンダーラインを1文字巾印
字し、ステップS10.7でテキスト文字ポインタPP
0INTを1加算する。シかる後ステップS10.8に
進みテキスト総文字数MOJrSUとプリンタポインタ
PP0INTとを比較し全文字印字路rしたか否か判別
する。全文字印字未完の場合ステップS L 0.2に
進み、同様の処理を行う完了の場合第6図のステップS
2に戻る。
In step S10.6, an underline is printed one character wide, and in step S10.7, the text character pointer PP is printed.
Add 1 to 0INT. After that, the process proceeds to step S10.8, and the total number of characters MOJrSU of the text is compared with the printer pointer PP0INT to determine whether all characters have been printed. If printing of all characters is not completed, proceed to step S L 0.2, and perform the same process. If printing is completed, proceed to step S of Fig. 6.
Return to 2.

次に、アンダーライン、マイナス等を色変えするのでは
なく、登録文字1乞食コマンド文字列等により範囲を指
定して、色変を行う場合について説明する。
Next, a case will be described in which, instead of changing the color of underlines, minuses, etc., a range is specified by a registered character 1 beggar command character string, etc., and the color is changed.

(登録文字により免疫範囲指定) 第10図のステップSI0.3において、読み込んだ文
字が、コマンド第1登録メモリCOMIMに格納さ′れ
ている文字と、同じ文字コードの時、ステップSL0.
4に進み1免疫フラグCFLAGを1にセットする。又
、第2コマンド登録メモリC0M2Mに格納されている
文字と同じ文字コードの時ステップ510.5に進み、
色変フラグCFALGをOクリアする。又、第1、第2
コマンド登録以外の文字は、ステップ510.6に進む
0以上のことから、コマンド第工登録文字以降、コマン
ド第2登録文字の前までが色変にて印刷される様になる
。なお、この色変の範囲は、コマンド第1登録文字の次
の文字からであってもよいし、コマンド第2登録文字ま
でが色変であっても良い、なお、色変コマンドは1つで
1次の色変コマンドが来ると、通常の色での印字に戻る
ようにしてもよい。
(Immunity range specified by registered characters) In step SI0.3 of FIG. 10, when the read character has the same character code as the character stored in the command first registration memory COMIM, step SL0.
Proceed to step 4 and set the 1 immunity flag CFLAG to 1. Also, if the character code is the same as the character stored in the second command registration memory C0M2M, the process advances to step 510.5;
Clear the color change flag CFALG to O. Also, the first and second
Since the characters other than the command registration are 0 or more and proceed to step 510.6, the characters after the command first registration character and before the command second registration character are printed in different colors. The range of this color change may be from the character following the first registered character of the command, or may be up to the second registered character of the command. Note that only one color change command is required. When a primary color change command is received, printing may be returned to normal colors.

(色変コマンド文字に挟まれた文字列の色変)まず第1
2図のステップS L 0.1で色変フラグF LAG
とテキスト文字ポインターPP0INTをOクリヤする
0次にステップ510.2でテキスト文字ポインターP
P0INTの示す文書メモリBSM内の1文字を読込む
、この場合文書は10×10のマトリックス構造である
が第3図に示した構造で左上から右下にかけてシリアル
メモリとして順序が付くものとする。ステップSI0.
3に進み前記読込んだ文字に応じて3つに分岐する0文
字が左括弧コードの場合ステップSL0.4に進み色変
フラグCFLAGに1をセットする。左括弧コードの場
合ステンプS10.5に進み色変フラグCFI、AGに
2をセットする。それ以外の文字の時ステップS10.
6に進み色変フラグCFLAGをチェックし、l又は0
の時ステップsio、aに進むが、2の時ステップS1
0.7に進み色変フラグCFLAGをOクリヤする。即
ち右括弧までは特定の色で印字し次の文字からは元の文
字に戻す事をこのフラグの可変えで行う訳である。ステ
ップS10.4.SLo、5.SLo、7の後は全てス
テップ510.8に進む。
(Color change of character string sandwiched between color change command characters) First of all
At step S L 0.1 in Figure 2, the color change flag F LAG
and clear the text character pointer PP0INT to 0. Then, in step 510.2, the text character pointer P
One character in the document memory BSM indicated by P0INT is read. In this case, the document has a 10×10 matrix structure as shown in FIG. 3, and is ordered as a serial memory from the upper left to the lower right. Step SI0.
The process proceeds to step SL0.3, which branches into three depending on the read character.If the 0 character is a left parenthesis code, the process proceeds to step SL0.4, where the color change flag CFLAG is set to 1. In the case of a left parenthesis code, the process advances to step S10.5 and the color change flags CFI and AG are set to 2. For other characters, step S10.
Proceed to step 6, check the color change flag CFLAG, and set it to l or 0.
When , proceed to steps sio and a, but when 2, proceed to step S1
Proceed to step 0.7 and clear the color change flag CFLAG. That is, by changing this flag, the characters up to the right parenthesis are printed in a specific color and the next character is returned to the original character. Step S10.4. SLo, 5. After SLo, 7, everything goes to step 510.8.

即ち分離フラグBFLAGが0の場合脚注部以外の文字
を印刷する場合であるからステップSL0.9に進むが
、分離フラグBFLAGが1の場合、脚注部の印刷文字
であるからステップS10.8に進み色変フラグCFC
AGを1セツトし、分離フラグBFLAGを0にリセッ
トする。しかる後ステップS L 0.9に進む。
That is, if the separation flag BFLAG is 0, this means that characters other than the footnote section are to be printed, and the process proceeds to step SL0.9; however, when the separation flag BFLAG is 1, the process proceeds to step S10.8, since the characters are to be printed in the footnote section. Color change flag CFC
Set AG to 1 and reset separation flag BFLAG to 0. Thereafter, the process proceeds to step S L 0.9.

なお1以上述べて来た実施例の他にも、例えばCRTの
代わりにLCD等の表示器を使用したり、メモリ構造を
1OX1.0より大きいものであっても良く、更に文字
コード構成も16ビツトに限る必要はなく、前述のアン
ダーラインの他にアッパーラインや縦書の際のサイドラ
イン、文字を取消す意味で引く取消線の機能(Aをhと
して、Aを消す)を色変えで行う様にしても良い、又、
色変コマンドは、2種類としたが、何種類でも良いこと
は言うまでもない、又括弧で挟まれた文字列を別色にて
印刷する様にしたが、括弧以外でも他の記号若しくは、
文字でも良い、又、脚注部だけでなく、冷鋼域内の文字
の色変えを行っても良い。
In addition to the embodiments described above, for example, a display such as an LCD may be used instead of a CRT, the memory structure may be larger than 1OX1.0, and the character code structure may also be 16. It does not have to be limited to bits, but in addition to the above-mentioned underline, the upper line, side line when writing vertically, and strikethrough function (setting A to h and erasing A) can be done by changing colors. You can also
There are two types of color change commands, but it goes without saying that any number of types may be used.Also, although we have made it possible to print character strings between parentheses in a different color, it is also possible to use other symbols or
It may be text, or the color of not only the footnote section but also the text within the cold steel area may be changed.

ステップS l O,9において色変フラグCFLAG
の内容を読み1の場合つまり前述した様に、脚注内の文
字を印字する場合ステップ510、10に進みプリンタ
ーPRTに対して免疫信号を送出する。ステップS L
 0.9で色変フラグCFLAGがOの場合ステップS
 I 0.11に進み1文字印刷を行う、さらにステッ
プS10、12に進み、テキスト文字ポインターPP0
INTを1加算する。次にステップS10、13に行き
テキスト絵文字数MOJISUとプリンタポインタPP
0INTとを比較し全文字印字終了してないならステッ
プS I 0.2に進み印字を繰り返す、終了した場合
は第6図のステップS2に進み再度キー人力待ちを保つ
In step S l O, 9, the color change flag CFLAG
If the content is 1, that is, if the characters in the footnote are to be printed as described above, the process proceeds to steps 510 and 10, and an immune signal is sent to the printer PRT. Step S L
0.9 and the color change flag CFLAG is O, step S
I 0. Proceed to 11 to print one character, further proceed to steps S10 and 12, and print the text character pointer PP0.
Add 1 to INT. Next, go to steps S10 and 13 and enter the number of text pictograms MOJISU and printer pointer PP.
0INT and if all characters have not been printed, proceed to step S I 0.2 and repeat printing; if completed, proceed to step S2 in FIG. 6 and wait again for key input.

(脚注部の色変) 次に、脚注部のみ、色変する場合について説明する。(Color change in footnote section) Next, a case where only the footnote section changes color will be explained.

第13図のステップ510.1で色変フラグFLAG、
脚注分離フラグBFLAG、テキスト文字ポインターP
P0INT+1j:Qクリヤする0次に前記同様にステ
ップS10.3に進み前記読込んだ文字に応じて3つに
分岐する0文字が改頁コードの場合ステップSI0.4
に進み脚注分離フラグB F LAGにOをセットし、
ステップS 10.5に進んで、改頁処理即ち紙のはき
出し処理を行う、しかる後ステップs i o、 l 
2に進む。
In step 510.1 of FIG. 13, the color change flag FLAG,
Footnote separation flag BFLAG, text character pointer P
P0INT+1j: Q clear 0 Next, proceed to step S10.3 as described above and branch into three depending on the read character. If the 0 character is a page break code, step SI0.4
Go to and set the footnote separation flag B F LAG to O.
Proceed to step S10.5 to perform page break processing, that is, paper rollout processing, and then step s io, l.
Proceed to step 2.

ステップS I 0.3で分離記号と判別された場合ス
テップs i o、 sに進み色変フラグCFLAGを
1セツトする。しかる後ステップS 10.9に進む。
If it is determined in step SI 0.3 that it is a separation symbol, the process proceeds to steps s io and s, where the color change flag CFLAG is set to 1. Thereafter, the process proceeds to step S10.9.

ステップS L 0.3で改頁9分離記号いずれでもな
いと判断された時(例えば文字)ステップ510.7に
進み脚注分離フラグBFLAGを判別する。
When it is determined in step S L 0.3 that there is no page break 9 separator symbol (for example, a character), the process proceeds to step 510.7 and the footnote separation flag BFLAG is determined.

〔効 果〕〔effect〕

以上、詳述した様に、本願発明により、色変コマンドに
基づいて、所望の情報を他と異なる色で出力し、見易く
、高品質な出力情報を得ることができる情報出力装置を
提供することが可能となった。
As described above in detail, the present invention provides an information output device that outputs desired information in a different color based on a color change command and can obtain easy-to-see, high-quality output information. became possible.

又1色変したい箇所を特定のマークで挟む事により、そ
の中の情報を自動的に色変することが可能となった・ 又、アンダーラインやアッパーライン、サイドライン等
を自動的に色変して出力することができる。
In addition, by sandwiching the part you want to change one color between specific marks, it is now possible to automatically change the color of the information inside. Also, it is possible to automatically change the color of underlines, upper lines, side lines, etc. and output it.

又、本文と脚注部を自動的に色変して出力することがで
きる。
Additionally, the main text and footnotes can be automatically changed in color and output.

又1文書の途中から自動免疫して出力することができる
Also, it is possible to automatically output from the middle of one document.

又、包嚢のコマンドを任意の文字として登録し、文書中
に無駄なマークを設けることなく。
Also, the cyst command can be registered as any character, without creating unnecessary marks in the document.

文書上のレイアウトからその制約を除いた多色出力を行
うことができる。
It is possible to perform multicolor output by removing this restriction from the layout on the document.

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

第1図は、本発明適用の情報出力装置の構成ブロック図
、 第2−1図はキーボードKBの拡大詳細図、第2−2図
〜第2−5図は2色サーマルプリンタによる印字の原理
説明図、 第3図は文書メモリBSMの構造説明図、84図は文字
コードのビットの構成図、第5図は文書の出力例を示す
図、 第6図は装置のゼネラルフローチャート、S7図は文字
入力処理のフローチャート、第8図はアンダーライン処
理のフローチャート、 第9図は文字を登録する登録処理のフローチャート、 第10図、第12図は登録文字に基づいて包嚢する印刷
処理のフローチャート、 第11図は、アンダーラインに基づいて免疫第13図は
分離記号に基づいて本分と脚注部を包嚢する印刷処理の
フローチャート。 CPU・・・中央処理装置 BSM・・・文書メモリ PKY・・・印刷キー
Fig. 1 is a block diagram of the configuration of an information output device to which the present invention is applied, Fig. 2-1 is an enlarged detailed view of the keyboard KB, and Figs. 2-2 to 2-5 are the principles of printing by a two-color thermal printer. 3 is an explanatory diagram of the structure of the document memory BSM, FIG. 84 is a configuration diagram of character code bits, FIG. 5 is a diagram showing an example of document output, FIG. A flowchart of character input processing, FIG. 8 is a flowchart of underline processing, FIG. 9 is a flowchart of registration processing for registering characters, FIGS. 10 and 12 are flowcharts of printing processing for enclosing based on registered characters, FIG. 11 is a flowchart of a printing process in which the main text and footnotes are enclosed based on the underline and FIG. 13 is the main text and footnote section based on the separation symbol. CPU...Central processing unit BSM...Document memory PKY...Print key

Claims (2)

【特許請求の範囲】[Claims] (1)少なくとも出力すべき情報を記憶する記憶手段、 上記記憶手段に記憶された情報は第1の文 書情報と該第1の文書情報に付加された第2の文書情報
と、上記第1の文書情報と上記 第2の文書情報とを分離する分離情報とを有し、 上記分離情報の有無を判定し、上記第1の 文書情報と上記第2の文書情報とを異なる色で出力する
様、出力手段を制御する制御手段を有したことを特徴と
する情報出力装置。
(1) Storage means for storing at least information to be output; The information stored in the storage means includes first document information, second document information added to the first document information, and the first document information. It has separation information that separates the document information and the second document information, and determines the presence or absence of the separation information, and outputs the first document information and the second document information in different colors. An information output device characterized in that it has a control means for controlling the output means.
(2)上記第2の文書情報は、上記第1の文書情報の一
部を説明する脚注部分であることを特徴とする第1項記
載の情報出力装置。
(2) The information output device according to item 1, wherein the second document information is a footnote portion explaining a part of the first document information.
JP61065172A 1986-03-24 1986-03-24 Information output unit Pending JPS62222292A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61065172A JPS62222292A (en) 1986-03-24 1986-03-24 Information output unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61065172A JPS62222292A (en) 1986-03-24 1986-03-24 Information output unit

Publications (1)

Publication Number Publication Date
JPS62222292A true JPS62222292A (en) 1987-09-30

Family

ID=13279205

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61065172A Pending JPS62222292A (en) 1986-03-24 1986-03-24 Information output unit

Country Status (1)

Country Link
JP (1) JPS62222292A (en)

Similar Documents

Publication Publication Date Title
US5480246A (en) Tape printing apparatus
JPH05185653A (en) Tape printing apparatus
JPH0473188B2 (en)
JPH05305748A (en) Printer
JP2564210Y2 (en) Label printing device
JPS62222294A (en) Information output unit
JPS62222292A (en) Information output unit
EP0573262B1 (en) Wordprocessing device
JPS62222296A (en) Information output unit
JPS62221564A (en) Information output device
JP2791007B2 (en) Information processing device
JPS62221547A (en) Information output device
JPH07123282B2 (en) Information processing equipment
JPS62221561A (en) Information output device
JPS62221562A (en) Information output device
JP3095046B2 (en) Dot pattern data creation device for registration of tape printer
JPS62221565A (en) Information output device
JP3292393B2 (en) Document processing device
JPH06198962A (en) Preparing device for registration dot pattern data of tape printer
JPS62221566A (en) Information output device
JPS62221563A (en) Information output device
JP3036260B2 (en) Information processing device
JP3229501B2 (en) Tape-shaped label making device
JPS62220337A (en) Output device for information
JPH04257466A (en) Manual type printer