JPS58160172A - Controlling system for print color of printer - Google Patents

Controlling system for print color of printer

Info

Publication number
JPS58160172A
JPS58160172A JP4234082A JP4234082A JPS58160172A JP S58160172 A JPS58160172 A JP S58160172A JP 4234082 A JP4234082 A JP 4234082A JP 4234082 A JP4234082 A JP 4234082A JP S58160172 A JPS58160172 A JP S58160172A
Authority
JP
Japan
Prior art keywords
print
color
character
printer
printing
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
JP4234082A
Other languages
Japanese (ja)
Inventor
Makiyo Yamada
山田 眞紀代
Shinji Taguchi
田口 新治
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP4234082A priority Critical patent/JPS58160172A/en
Publication of JPS58160172A publication Critical patent/JPS58160172A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J5/00Devices or arrangements for controlling character selection
    • B41J5/30Character or syllable selection controlled by recorded information

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)
  • Color, Gradation (AREA)

Abstract

PURPOSE:To obtain the titled system enabling the printing of some characters with a different color from that of neighboring characters, by detecting a (group of) specified character(s) from printing data, by giving a print-color information thereto, and by delivering then the printing data to a printer. CONSTITUTION:Besides a user program 21 and a program (writer) 22 for control of printing, a print-color switching program 23 is added to programs in a memory 2. The print-color switching program 23 analyzes printing informations inputted from a control card 6, etc., i.e. informations on specification of a character and a print color for printing data for monochrome, and controls the switching of the print color.

Description

【発明の詳細な説明】 発明の技術牙野 本発明は、印字す、る文字の任意の一部の文字を周囲の
文字とは興なる色で印字可能にするラインプリンタの印
字色制御方式に関する。3 従来技術と問題点 ラインプリンタはCPU (中央処理装置)から与えら
れるデータを通常1つの印字色、普通は黒色で印字する
。このため長い印字分の中で内容面から特に強調したい
部分があっても、その部分を視覚的に強調することはで
きない、印字された長文の資料が単色であると、要所、
要所の把握が困難で、見落し、忘却、判断力の個人差に
よる主旨食違いなどが生じ易い。
DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to a print color control method for a line printer that allows any part of characters to be printed in a color different from surrounding characters. 3. Prior Art and Problems Line printers usually print data given from a CPU (central processing unit) in one print color, usually black. For this reason, even if there is a part of a long printed document that you would like to particularly emphasize from a content perspective, it is not possible to visually emphasize that part.
It is difficult to grasp important points, and it is easy to overlook, forget, or deviate from the main idea due to individual differences in judgment.

発明の目的 本発明は、通常の単色用印字データに印字色変更情報を
作用させて該情報により指定した文字または文字群等を
周囲と興なる印字色で印字可能にしようとするものであ
る。指定した文字又は文字群の色を他とは興なる色で印
字するには個々の文字コードに印字色情報を附属させる
という方法があるが、これでは印字データの情報量が多
くなり、また変更が容易でない0本発明は単色なら従来
方式によって、何ら手を加えることなくそのまま4字で
きるデータを用い、該データに対し指定文字又は文字群
に対する色情報を付加することによって、その当該文字
又は文字群を指定色で印字しようとするものであり、融
通性が極めて高い。
OBJECTS OF THE INVENTION The present invention is intended to apply print color change information to normal monochrome print data so that a character or a group of characters, etc. specified by the information can be printed in a print color that stands out from the surroundings. One way to print a specified character or group of characters in a color that stands out from others is to attach print color information to each character code, but this increases the amount of information in the print data and makes it difficult to change The present invention uses data that can be made into four characters as is without any modification using the conventional method if it is a single color, and adds color information for a specified character or character group to the data to create the character or character. It attempts to print a group in a specified color, and is extremely flexible.

発明の構成 本発明は、中央処理装置により制御されるプリンタの印
字色制御方式において、印字データ中の文字または文字
群を指定しその印字色を指示する情報を制御カード等の
入力手段により中央処理装置へ入力し、印字に際して中
央処理装置は印字データより該指示支字または文字群を
検出し、検出された文字又は文字群に対して印字色情報
を付して印字データをプリンタへ送出することを特徴と
するものであるが、以下図示の実施例を参照しながらこ
れを詳細に説明する。
Components of the Invention The present invention provides a print color control method for a printer controlled by a central processing unit, in which information specifying a character or a group of characters in print data and instructing the print color is sent to the central processing unit using an input means such as a control card. When inputting to the device and printing, the central processing unit detects the designated character or character group from the print data, attaches print color information to the detected character or character group, and sends the print data to the printer. This will be described in detail below with reference to the illustrated embodiments.

発明の実施例 第1図はラインプリンタ制御システム全体の概略ブロッ
ク図で、1はCPU (中央処理装置)、2は各種のプ
ログラムを格納したメモリ、3はキーボード、4はキー
ボード3およびCPUI等から入力されたデータ等を格
納する磁気ディスク装置、5はCPUIから与えられる
データ等を印字出力するラインプリンタである。メモリ
2内のプロダラムには通常総括的なユーザプログラム2
1や印字制御用の10グラム(ライター)22が格納さ
れているが、本発明ではここに印字色切替えプログラム
23を追加する。この印字色切替えプログラム23は制
御カードなどから入力された印字色情報、即ち、単色用
印字データに対する文字指定および印字色指定情報を解
析し、印字色の切替制御を行なう、第2図は処理要領を
示す図で、ディスク装置4内の処理前のリスト(印字デ
ータ)41を読出し、制御カード、6で指定された文字
部分を周囲とは異なる印字色(これもカード6で指定)
にする処理をなす。42は処理後のリストであり、これ
がプリンタに送られて印字される。
Embodiment of the Invention Fig. 1 is a schematic block diagram of the entire line printer control system, in which 1 is a CPU (central processing unit), 2 is a memory storing various programs, 3 is a keyboard, and 4 is a control system from the keyboard 3 and CPUI, etc. A magnetic disk device stores input data, etc., and 5 is a line printer that prints out data etc. given from the CPUI. The program memory in memory 2 usually contains the general user program 2.
1 and 10 grams (writer) 22 for print control are stored, but in the present invention, a print color switching program 23 is added here. This print color switching program 23 analyzes print color information input from a control card, that is, character designation and print color designation information for single-color print data, and performs print color switching control. Fig. 2 shows the processing procedure. In this figure, the unprocessed list (print data) 41 in the disk device 4 is read out, and the character portion specified by the control card 6 is printed in a different color from the surrounding area (this is also specified by the card 6).
Process to make it. 42 is a list after processing, which is sent to the printer and printed.

第3図(al〜(C)は処理前のりスト41、制御カー
ド6、処理後のりスト42の一例を示すものである。制
御カード6には、EO3IOなる情報があり、これによ
って、正常(10)に完了(EO3: End  or
  5tep) L/ていない(1)全ての完了゛コー
ド(EO3の次が10以外のもの)の内容(90SYS
TEM=OC4−004)を周囲と興なる印字色で印字
する指示を与えている0本例ではプリンタ5は黒色、赤
色の2色印字型で、無指定なら黒色、指定ありで赤色と
なることを想定しているので、制御カードに特に色指定
情報は含ませてないが、3色以上であれば制御カード6
で色指定も行なう0本例では処理前のりスト41の完了
コードには異常終了(ABEND)のもの(90)があ
るので、処理後のりスト42ではこの部分(1点鎖線枠
内)7が赤色印字に指定される。
FIG. 3 (al to (C)) shows an example of the list 41 before processing, the control card 6, and the list 42 after processing.The control card 6 has information EO3IO, which indicates that it is normal ( 10) Completed (EO3: End or
5tep) L/Not completed (1) All completed code (the one after EO3 is other than 10) contents (90SYS
TEM=OC4-004) is given an instruction to print in a color that blends with the surroundings. In this example, the printer 5 is a two-color printing type, black and red. If no specification is specified, the printer 5 is black, and if specified, it is red. Since we are assuming that the color specification information is not included in the control card, if there are three or more colors, the control card 6
In this example, the list 41 before processing has an abnormal end (ABEND) completion code (90), so in the list 42 after processing, this part (within the one-dot chain line frame) 7 is Specified to be printed in red.

尚、90SYSTEM−OC4−004はデータ例外(
OC4)の第4項目(004)の理由で異常終了したこ
とを示している。
In addition, 90SYSTEM-OC4-004 has a data exception (
This indicates that the process ended abnormally due to the reason in the fourth item (004) of OC4).

第4図(a)は印字色切替えプログラム23のジェネラ
ルフローで、(b)〜(dlは各部の詳細フローである
。図示の如く印字色切替えてログラムがスタートすると
先ずイニシャル処理が行なわれ、印字データ等のメモリ
上への展開、初期値セットが行なわれ、次に制御カード
解析処理が行なわれ、制御カード読取り、定形へのセン
トが行なわれる0次いで印字色切替え処理が行なわれ、
印字データをプリンタ出力しながら制御カードが指定し
た文字を探し、該文字が来るとそのコードと共に色情報
をプリンタに融り、当該文字の印字色を他とは異なるも
のにする。
FIG. 4(a) shows the general flow of the print color switching program 23, and (b) to (dl) show the detailed flow of each part.As shown in the figure, when the print color is changed and the program starts, initial processing is performed, and the printing Data etc. are expanded onto the memory and initial values are set, then control card analysis processing is performed, control card reading and cents to standard format are performed, and then printing color switching processing is performed.
While outputting print data to the printer, a control card searches for a character specified, and when the character comes, the color information along with its code is melted into the printer, making the printing color of the character different from the others.

制御カード6による印字色指定は上述した例に限らない
。例えばプログラム吊の所定範囲内に特定(D7.f 
−)/ 7 )かあ、たらそ。印字色を全、変えるとい
ろ指定も可能である。第5図はこの説明図で、(a)は
プログラム、(blは制御カードである。本例のプログ
ラムは6〜80カラムを想定しており、そのうち12〜
62゛カラムの範囲内にEXAMi NEというステー
トメントがあったらその印字色を変えるというのが制御
カー昌の指定である。この場合には12〜62カラム内
のEXAMiNEは全て赤色(Ill線枠で示す)に印
字゛されるが、0〜11カラムと63〜80カラムは検
索対象基なので1ここにEXAMiNEがあっても周囲
と同様黒色i字される。
Print color designation by the control card 6 is not limited to the example described above. For example, within a predetermined range of program suspension (D7.f
-) / 7) Kaa, Taraso. It is also possible to change all printing colors. Figure 5 is an explanatory diagram of this.
The control cursor specifies that if there is a statement EXAMi NE within the range of column 62, the print color will be changed. In this case, all EXAMiNEs in columns 12 to 62 are printed in red (indicated by a line frame), but columns 0 to 11 and columns 63 to 80 are search target groups, so even if EXAMiNE is located here, It is marked with a black "I" like the surrounding area.

第6図は3色以上で印字可能な日本語ラインプリンタ(
NLP)を例としたものである。各種の帳票類の中には
形状、書式等が類似するものが多いので、それらを区別
するために通常は帳票そのものの(下地の)色を黄色、
縁等に変えて、混同を防ぐが、−々用紙の色を変えると
いうのは、プリンタ用紙交換などを必要として厄介であ
る0本発明ではこれを印字色の切替えで行なおうとする
もので、帳票8の下地(用紙の色)は全て同一の色(例
えば白色)とする。そして業務に関する帳票のうち給与
に関するものであれば、文字「給与」が印字される小区
分81の背景を例えば縁に、そして図示しないが人事に
関するものであれば文字「人事」が印字される小区分の
背景を赤で(以下これに準じる)、プリントする。 l
b)はこのときの指定部を書込んだ制御カード6を示す
、領域81は座標(10,6)で始まる横の長さ20、
縦の長さ10の方形であるから、これを5QUARE 
(10,6,20,10)で指定する。そして、この場
合は領域81を緑色に着色するので、GREEN、5H
ADOWとする。5HADOWとは小さな星印などを多
数分布させて印字し、当該印字部分を該星印の色にする
操作をも)う。帳票8が人事に関するものであれば制御
カード6のGREENをREDに変更するだけで領域8
1の背景は赤色となる。帳票は、枠、社名など固定部分
と、その都度変る可変部分とからなり、固定部分(フォ
ーマット又はホームオーバレイ)は予め登録しておいて
可変情報のみキーボード等から入力する。領域81は固
定部分に属するからその印字色指定は也−ムオーバレイ
の登録時に行なう。
Figure 6 shows a Japanese line printer that can print in three or more colors (
NLP) is taken as an example. Many of the various types of forms have similar shapes and formats, so to distinguish them, the color of the form itself (underneath) is usually changed to yellow, yellow, etc.
However, changing the color of the paper is troublesome as it requires replacing the printer paper, etc. The present invention attempts to do this by switching the printing color. The base (paper color) of the form 8 is all the same color (for example, white). If the business-related document is related to payroll, the background of subdivision 81 where the letters "Salary" are printed is used, for example, on the edge, and if it is related to human resources (not shown), the subsection where the letters "Personnel" are printed. Print the minute background in red (hereinafter this applies). l
b) shows the control card 6 in which the specified part is written at this time, the area 81 has a horizontal length of 20 starting at the coordinates (10, 6),
Since it is a rectangle with a vertical length of 10, it is called 5QUARE.
Specify as (10, 6, 20, 10). In this case, the area 81 is colored green, so GREEN, 5H
Let it be ADOW. 5HADOW also refers to an operation in which a large number of small stars are printed in a distributed manner, and the printed portion is colored in the color of the stars. If the form 8 is related to human resources, just change the GREEN of the control card 6 to RED and the area 8
The background of 1 is red. A form consists of fixed parts such as frames and company names, and variable parts that change each time.The fixed parts (format or home overlay) are registered in advance, and only the variable information is entered from a keyboard or the like. Since the area 81 belongs to the fixed portion, its printing color is specified when registering the overlay.

発明の効果 以上述べたように本発明によれば、プリンタカ1ら出力
される印刷文の一部を任意に指定して周囲と興なる色に
印刷でき、これにより特に注意を喚起したい部分等を視
覚的に強調できる利点がある。
Effects of the Invention As described above, according to the present invention, it is possible to arbitrarily designate a part of the printed text output from the printer 1 and print it in a color that stands out from the surroundings, thereby making it possible to print parts that particularly need attention, etc. It has the advantage of being able to visually emphasize the

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

第1図はラインプリンタ制御システムの概略ブロック図
、第2図は本発明に係る印字処理の概略を示すフローチ
ャート、第3図は本発明の一実施例を示す説明図、第4
図は印字色切替えプログラムのフローチャート、第′5
図および第6図は本発明の異なる実施例の説明図である
。 図中、5はプリンタ、6は制御カード、7.81は印字
色切替え指定部分、22は印字制御プログラム、23は
印字色切替えプログラムである。 出願人 富士通株式会社 代理人弁理士  青  柳    稔 第2図 第3図
FIG. 1 is a schematic block diagram of a line printer control system, FIG. 2 is a flowchart showing an outline of printing processing according to the present invention, FIG. 3 is an explanatory diagram showing an embodiment of the present invention, and FIG.
The figure is a flowchart of the print color switching program, No.
6 and 6 are explanatory diagrams of different embodiments of the present invention. In the figure, 5 is a printer, 6 is a control card, 7.81 is a print color switching specification section, 22 is a print control program, and 23 is a print color switching program. Applicant Fujitsu Ltd. Representative Patent Attorney Minoru Aoyagi Figure 2 Figure 3

Claims (1)

【特許請求の範囲】[Claims] 中央処理装置により制御されるプリンタの印字色制御方
式において、印字データ中の文字または文字群を指定し
その印字色を指示する情報を制御カーr等の入力手段に
より中央処理装置へ入力し、印字に際シて中央処理装置
は印字データより該指定文字または文字群を検出し、検
出された文字又は文字群に対して印字色情報を付して印
字データをプリンタへ送出することを特徴とするプリン
タの印字色制御方式。
In the print color control method of a printer controlled by a central processing unit, information specifying a character or a group of characters in print data and instructing the print color is inputted to the central processing unit by an input means such as a control car r, and printing is performed. At this time, the central processing unit detects the designated character or character group from the print data, attaches print color information to the detected character or character group, and sends the print data to the printer. A printer's print color control method.
JP4234082A 1982-03-17 1982-03-17 Controlling system for print color of printer Pending JPS58160172A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4234082A JPS58160172A (en) 1982-03-17 1982-03-17 Controlling system for print color of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4234082A JPS58160172A (en) 1982-03-17 1982-03-17 Controlling system for print color of printer

Publications (1)

Publication Number Publication Date
JPS58160172A true JPS58160172A (en) 1983-09-22

Family

ID=12633278

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4234082A Pending JPS58160172A (en) 1982-03-17 1982-03-17 Controlling system for print color of printer

Country Status (1)

Country Link
JP (1) JPS58160172A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6153050A (en) * 1984-08-24 1986-03-15 Yokogawa Hokushin Electric Corp Control apparatus of color printer
JPH03136877A (en) * 1989-10-24 1991-06-11 Canon Inc Color recording device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6153050A (en) * 1984-08-24 1986-03-15 Yokogawa Hokushin Electric Corp Control apparatus of color printer
JPH03136877A (en) * 1989-10-24 1991-06-11 Canon Inc Color recording device

Similar Documents

Publication Publication Date Title
US4858171A (en) Word processor with selective placement of printhead for printing of newly input print data after interruption of printing
EP0469882B1 (en) Image processing apparatus
JPS58160172A (en) Controlling system for print color of printer
US5537525A (en) Column layout information processing system
JPH04264915A (en) Form overlay printing system
JP3005021B2 (en) Document processing method and apparatus
JPS6362005B2 (en)
JPH0877376A (en) Image processing method and device therefor
JPS62211146A (en) Recording apparatus
JPH0429861A (en) Label printer
JPS61290579A (en) Character recognizing device
JPS62157937A (en) Color printing control system
JP2624670B2 (en) Typesetting system
JPS6427952A (en) Color printing control system
JPS6487252A (en) Printing device
JPH0195075A (en) Printing processor
JPS5855278A (en) Ruled line input system
JPH04115970A (en) Variable item edition system
JPH09174943A (en) Method for designating color attribute in color printer
JPH04329137A (en) Method for indicating region of block copy manuscript
JPH03147017A (en) Image processor
JPH04242474A (en) Document preparing device
JPH0224169A (en) Printer
JPH01238938A (en) Character processor
JPH04151760A (en) Document preparing device