JPH03184881A - printing device - Google Patents

printing device

Info

Publication number
JPH03184881A
JPH03184881A JP1324057A JP32405789A JPH03184881A JP H03184881 A JPH03184881 A JP H03184881A JP 1324057 A JP1324057 A JP 1324057A JP 32405789 A JP32405789 A JP 32405789A JP H03184881 A JPH03184881 A JP H03184881A
Authority
JP
Japan
Prior art keywords
printing
print
page
data
color
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
JP1324057A
Other languages
Japanese (ja)
Inventor
Fumiko Fujii
藤井 文子
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 JP1324057A priority Critical patent/JPH03184881A/en
Publication of JPH03184881A publication Critical patent/JPH03184881A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (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 [Field of Industrial Application] The present invention relates to a printing device, and more particularly to a printing device that prints out characters in various forms.

[従来の技術] 文字を様々な形態で印刷する手段としては、色別に印字
したり、特定文字(或いは文字列)に例えばアンダーラ
インを付したり等様々である。
[Prior Art] There are various means for printing characters in various forms, such as printing in different colors and adding an underline to specific characters (or character strings).

いずれにせよ、こうした印刷形態の異なる文字を含む印
字を行わせる場合、ホストコンピュータ等は、その形態
にする旨のコマンドをプリンタに出力する。
In any case, when printing including characters in different printing formats, the host computer or the like outputs a command to the printer to print in that format.

ここで、赤黒の2色印字可能な印刷装置を考えてみる。Now, consider a printing device capable of printing in two colors, red and black.

この場合、印字色(形態)を変更させるたびに印字色変
更コマンドを受けとり、解析をし、そして印字するとい
う処理を行う。そして、1個の印字色変更コマンドを受
けた後に受信した文字コードに対しては、新たな印字色
変更コマンドを受信するまで従前に受信した印字色で印
字するという処理を行う。
In this case, each time the print color (format) is changed, a print color change command is received, analyzed, and then printed. Then, for a character code received after receiving one print color change command, a process is performed in which the character code is printed in the previously received print color until a new print color change command is received.

[発明が解決しようとしている課題] しかしながら、印字内容は異なるにしても、各ページ単
位に赤色及び黒色で印字される位置が同一位置であるよ
うな印字を行う場合にも上述したコマンドの解析、実行
といった処理をしなければならず、処理に時間がかかる
という問題があった。
[Problems to be Solved by the Invention] However, even if the printed contents are different, the analysis of the above-mentioned commands is also necessary when printing in which the red and black characters are printed at the same position on each page. There was a problem that processing such as execution had to be performed, and the processing took time.

本発明はかかる課題に鑑みなされたものであり、印字形
態の異なる領域が各ページの共通した位置にあるときの
印字処理を効率的にすることを可能にする印刷装置を提
供しようとするものである。
The present invention has been made in view of this problem, and it is an object of the present invention to provide a printing device that makes it possible to efficiently perform printing processing when areas with different printing formats are located at a common position on each page. be.

[課題を解決するための手段及び作用]この課題を解決
する本発明の印刷装置は以下に示す構成を備える。すな
わち、 印字データを受信し、ページ単位に印刷出力する印刷装
置において、所望の領域を指定する領域指定手段と、指
定された領域を特定する情報を記憶保持する保持手段と
を備え、受信した印字データに基づいて印刷するとき、
前記保持手段に保持された領域に含まれる文字群の印字
形態を所定の形態に変更して印刷出力する。
[Means and operations for solving the problem] A printing apparatus of the present invention that solves this problem has the configuration shown below. That is, a printing device that receives print data and prints out page by page is provided with an area specifying means for specifying a desired area and a holding means for storing and holding information specifying the specified area, so that the received print When printing based on data,
The printing form of the group of characters included in the area held by the holding means is changed to a predetermined form and then printed out.

[実施例] 以下、添付図面に従って本発明に係る実施例を詳細に説
明する。尚、実施例では赤、黒の2色印字可能な印刷装
置を例にして説明する。
[Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the embodiment, a printing device capable of printing in two colors, red and black, will be described as an example.

〈装置構成の説明(第1図)〉 第1図に実施例における印刷装置のブロック構成図を示
す。
<Description of Apparatus Configuration (FIG. 1)> FIG. 1 shows a block configuration diagram of a printing apparatus in an embodiment.

図中、100が本実施例の印刷装置であり、lOlが印
刷データを出力してくるホストコンピュータである。
In the figure, 100 is the printing apparatus of this embodiment, and 101 is a host computer that outputs print data.

印刷装置100には、装置全体の制御を司るCPtJl
をはじめ、以下に示す構成ユニットがある。
The printing device 100 includes a CPtJl that controls the entire device.
There are the following configuration units, including:

2は文字フォントパターンやCPU 1の動作に係るプ
ログラム(後述する第3図のフローチャート)を記憶し
ているROM、3はCPtJlのワークエリアとして使
用されるRAMである。4はホストコンピュータ101
より受信したデータ(文字コードや制御コード)を−時
的に格納する入力バッファである。5はRAM等で構成
される印字色変更範囲記憶部であり、その詳細は後述す
る。
2 is a ROM that stores character font patterns and programs related to the operation of the CPU 1 (the flowchart in FIG. 3, which will be described later); and 3 is a RAM used as a work area for CPtJl. 4 is a host computer 101
This is an input buffer that temporarily stores received data (character codes and control codes). Reference numeral 5 denotes a print color change range storage section comprised of a RAM or the like, the details of which will be described later.

6は基本色(黒)で印字されるイメージデータを1ペ一
ジ分展開可能な基本色出力ページバッファ、7は第2の
色(赤)で印字されるイメージデータを1ペ一ジ分展開
可能な異色出力用ページバッファである。8は、これら
ページバッファ6.7よりのイメージデータを印刷部9
に出力するプリンタインタフェース部である。
6 is a basic color output page buffer that can develop one page of image data to be printed in the basic color (black), and 7 is a basic color output page buffer that can develop one page of image data to be printed in the second color (red). This is a page buffer for possible different color output. 8 prints the image data from the page buffers 6 and 7 to the print unit 9.
This is a printer interface unit that outputs to the printer.

尚、印刷部9は、例えばレーザビーム方式を採用しもの
とする。簡単に説明すれば、基本色出力用ページバッフ
ァ6と異色出力用ページバッファ7内のデータはプリン
タインタフェース部8を介して、それぞれの印字タイミ
ングに従って出力されくる。この各々の色に対応するビ
デオ信号に基づき、感光ドラムにレーザ光を照射露光さ
せ、それぞれの色のトナーで現像、転写、定着といった
工程を行って2色印字を行う。
It is assumed that the printing section 9 employs a laser beam method, for example. Briefly, the data in the basic color output page buffer 6 and the different color output page buffer 7 are outputted via the printer interface section 8 according to their respective printing timings. Based on the video signals corresponding to each color, the photosensitive drum is exposed to laser light, and processes such as development, transfer, and fixing are performed using toner of each color to perform two-color printing.

く処理概要の説明(第2図)〉 上述した構成における実施例の印刷装置の動作概要を以
下に説明する。
Description of Outline of Processing (FIG. 2)> An outline of the operation of the printing apparatus of the embodiment with the above-described configuration will be described below.

通常、2色印字可能な印刷装置でもってカレンダー等を
印字する場合、“°日曜日°°の欄に印字される数字は
赤で、それ以外の曜日の数字は黒で印字することになる
Normally, when printing a calendar or the like using a printing device capable of two-color printing, the numbers printed in the "°Sunday°°" column are printed in red, and the numbers for other days of the week are printed in black.

例えば第2図(A)のようなカレンダーを印字させよう
とする場合、従来ではホストコンピュータは、曜日を示
す°’ S U N ”及び、日付°゛2°゛” 9 
”・・・等の文字(列)を特定する文字コード(列)の
直前に、基本色(黒)に対して印字色変更コマンド(或
いは赤色印字指定コマンド)を挿入すると共に、その文
字(列)を印字した後に印字色を再び基本色に戻すため
その文字コードの直後に印字色変更コマンド(或いは黒
色印字指定コマンド)を挿入した印字データを送ってい
た。換言すれば、印刷装置側のCPUは印字色が変更さ
れる度に印字色変更コマンドを解析しなければならない
For example, when trying to print a calendar as shown in FIG.
Immediately before the character code (column) that specifies a character (column) such as ``...'', insert a print color change command (or red print designation command) for the basic color (black), and ) was printed, and in order to return the print color to the basic color again, the print data was sent with a print color change command (or black print designation command) inserted immediately after that character code.In other words, the CPU on the printing device side must parse the print color change command every time the print color is changed.

しかも、第2図(B)の様に、次の月のカレンダーを印
字する場合にも同様の処理をしなければならず、処理効
率が低下することは否めない。
Furthermore, as shown in FIG. 2(B), similar processing must be performed when printing the next month's calendar, which inevitably reduces processing efficiency.

そこで、本実施例では、印字色の指定を文字コードに対
して付加させるのではなく、領域として指定するように
した。
Therefore, in this embodiment, the print color designation is not added to the character code, but is designated as an area.

具体的には、第2図(A)において、点A。Specifically, point A in FIG. 2(A).

B、C,Dの各点の座標データと、その4点で特定され
る領域内に対する印字色変更コマンド(この場合は赤色
印字指定コマンド)を受信可能にした。尚、これらのコ
マンドそのものは例えばエスケープシーケンスに従えば
良いので、そのコマンドフォーマットの説明は割愛する
It is possible to receive the coordinate data of each point B, C, and D and a print color change command (in this case, a red print designation command) for the area specified by the four points. Note that since these commands themselves can follow, for example, an escape sequence, an explanation of their command formats will be omitted.

いずれにせよ、ホストコンピュータから点A。In any case, point A from the host computer.

B、C,Dの各点の座標と、それによって特定される領
域内に対する印字色変更コマンドを受信した場合には、
そのデータを印字色変更範囲記憶部5に記憶する。
When receiving the coordinates of points B, C, and D and a print color change command for the area specified by the coordinates,
The data is stored in the print color change range storage section 5.

そして、以降、ホストコンピュータ101から送られて
きた文字コードに対応する文字パターンは、ページバッ
ファへの展開座標位置(印字位置)が記憶された領域内
に入るのか否かを判断する。そして、入ると判断した場
合には、その文字パターンは異色出力用ページバッファ
7の対応する位置に展開し、入らないと判断した場合に
は基本色出力用ページバッファ6の対応する位置に展開
する。
Thereafter, it is determined whether or not the character pattern corresponding to the character code sent from the host computer 101 falls within the area where the development coordinate position (print position) in the page buffer is stored. If it is determined that the character pattern will fit, the character pattern is expanded to the corresponding position in the page buffer 7 for different color output, and if it is determined that it is not included, it is expanded to the corresponding position in the page buffer 6 for basic color output. .

〈処理手順の説明(第3図)〉 上述した実施例における動作処理手順を第3図のフロー
チャートに従って説明する。尚、以下の説明では、既に
入力バッファ4には印字データが格納されているものと
して説明する。
<Explanation of Processing Procedure (FIG. 3)> The operational processing procedure in the above-described embodiment will be explained according to the flowchart of FIG. 3. In the following explanation, it is assumed that print data is already stored in the input buffer 4.

さて、本装置に電源が投入されると、CPUIは先ずス
テップSlにおいて、ページバッファ6.7及び印字色
変更範囲記憶部5等の初期化を行う。次に、ステップS
2に進んで、印字色変更範囲の座標点を印字色変更範囲
記憶部5に格納する。次いで、ステップS3において、
印字データを入力バッファ4より読み出す処理を行うが
、読み込むべきデータがもうない(印字データ終了)と
判断した場合にはステップS10に、印字データ終了で
はないと判断した場合にはステップS5に進む。尚、こ
こではステップS5以降の処理を説明する。
Now, when this apparatus is powered on, the CPU first initializes the page buffer 6.7, print color change range storage section 5, etc. in step Sl. Next, step S
Proceeding to step 2, the coordinate points of the print color change range are stored in the print color change range storage section 5. Next, in step S3,
A process of reading print data from the input buffer 4 is performed, and if it is determined that there is no more data to be read (print data has ended), the process advances to step S10, and if it is determined that the print data has not ended, the process advances to step S5. Note that the processing from step S5 onwards will be explained here.

さて、ステップS5では、読み出したデータ(文字コー
ド)に対する文字パターンの展開位置(印字位置)が先
に印字色変更範囲記憶部5に記憶された領域内に入るの
か否かを判断する。
Now, in step S5, it is determined whether the development position (print position) of the character pattern for the read data (character code) falls within the area previously stored in the print color change range storage section 5.

その範囲内に入ると判断した場合には、その文字パター
ンを異色出力用ページバッファ7に展開(ステップS6
)し、範囲外であると判断した場合には基本色出力用ペ
ージバッファ6に展開する(ステップS7)。
If it is determined that the character pattern falls within that range, the character pattern is expanded to the page buffer 7 for different color output (step S6
), and if it is determined that it is outside the range, it is expanded to the basic color output page buffer 6 (step S7).

いずれにせよ、ページバッファ6もしくは7への展開を
終えると、処理はステップS8に進み、いずれかのペー
ジバッファに1ペ一ジ分の印字データの展開が終了した
か否かを判断する。そして、1ペ一ジ分のデータ展開が
終了した或いは、受信した分のデータ展開が終了したと
判断するまで、上述したステップ83以下の処理を繰り
返す。
In any case, when the expansion to the page buffer 6 or 7 is completed, the process proceeds to step S8, and it is determined whether or not the expansion of one page's worth of print data to either page buffer has been completed. Then, the process from step 83 described above is repeated until it is determined that the data development for one page has been completed or that the data development for the received portion has been completed.

1ペ一ジ分のデータ展開が終了したと判断した場合には
、ステップS9で基本色出力用ページバッファ6のデー
タを黒色で、異色出力用ページバッファ7に展開された
データを赤色でそれぞれ合成印字する。
If it is determined that data development for one page has been completed, in step S9, the data in the basic color output page buffer 6 is combined in black, and the data developed in the different color output page buffer 7 is combined in red. Print.

また、受信した印字データでページバッファ6.7に展
開している最中に、印字データ終了と判断した場合、処
理はステップS10からステップS9に進んで、印字処
理を行う。
Further, if it is determined that the print data is finished while the received print data is being developed in the page buffer 6.7, the process proceeds from step S10 to step S9, and print processing is performed.

以上説明した処理は各ページ単位に行うが、次のページ
の印字で、新たな印字色変更範囲の座標点(或いは印字
色変更範囲の取り消しを指示するコマンド)が来ないか
ぎりは、既に印字色変更範囲記憶部5に記憶されたデー
タを参照に印字処理を行う。従って、第2図(B)のカ
レンダーを、第2図(A)に続いて印字する場合には、
その印字のための出力データ中には色変更コマンドは一
切不要となる。
The process explained above is performed for each page, but unless a new print color change range coordinate point (or a command to cancel the print color change range) arrives when printing the next page, the print color has already been changed. The printing process is performed with reference to the data stored in the change range storage section 5. Therefore, when printing the calendar of FIG. 2(B) following the calendar of FIG. 2(A),
No color change command is required in the output data for printing.

以上説明したように本実施例によれば、印字色を領域単
位に管理し、しかも、その領域は新たに設定しなおされ
るまで保持されるので、ホストコンピュータは印字色を
変更しようとしている文字コードの直前に一々その旨の
コマンドを挿入することが不要になる。従って、各ペー
ジ単位に印字色の変更位置が決まったような文書を印刷
する場合に、特にその効力を発揮することが可能となる
As explained above, according to this embodiment, the print color is managed in units of areas, and the area is retained until it is newly set, so the host computer There is no need to insert a command to that effect immediately before each code. Therefore, this method is especially effective when printing a document in which the position at which the print color is changed is determined for each page.

尚、実施例では、2色印字が可能な印刷装置を例にして
説明したが、3色以上で印字が可能な印刷装置に適応さ
せても良い。この場合、印字色変更範囲記憶部5には、
単に変更する範囲を示す座標データのみではなく、各々
の範囲を何色で印字するのかを示す情報も関連付けて記
憶させれば良い。、 また、各ページ毎に決まった位置に特殊文字(アンダー
ライン付き文字や影付き文字等)で印字する場合にも適
応できるので、印字形態として色のみに限定されるもの
ではない。
In the embodiment, a printing device capable of printing in two colors has been described as an example, but the present invention may be applied to a printing device capable of printing in three or more colors. In this case, the print color change range storage section 5 has the following information:
Not only the coordinate data indicating the range to be changed, but also information indicating in which color each range is to be printed may be stored in association with each other. Furthermore, the printing method is not limited to only color, as it can also be applied to cases in which special characters (underlined characters, shadowed characters, etc.) are printed in a fixed position on each page.

[発明の効果] 以上説明したように本発明によれば、印字形態の異なる
領域が各ページの共通した位置にあるときに、効率的な
印字が行なえるようなる。
[Effects of the Invention] As described above, according to the present invention, efficient printing can be performed when areas with different printing forms are located at a common position on each page.

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

第1図は実施例の印刷装置のブロック構成図、第2図(
A)、(B)は実施例における印刷処理の動作概要を説
明するための図、 第3図は実施例の印刷装置の動作処理手順を示すフロー
チャートである。 図中、1・・・CPU、2・・・ROM、3・・・RA
M。 4・・・大力バッファ、5・・・印字色変更範囲記憶部
、6・・・基本色出力用ページバッファ、7・・・異色
出力用ページバッファ、8・・・プリンタインタフェー
ス部、9・・・印刷部、100・・・印刷装置、101
・・・ホストコンビュークである。
Fig. 1 is a block diagram of the printing apparatus of the embodiment, and Fig. 2 (
A) and (B) are diagrams for explaining the outline of the operation of the printing process in the embodiment, and FIG. 3 is a flowchart showing the operation processing procedure of the printing apparatus of the embodiment. In the figure, 1...CPU, 2...ROM, 3...RA
M. 4... Power buffer, 5... Print color change range storage unit, 6... Page buffer for basic color output, 7... Page buffer for different color output, 8... Printer interface unit, 9...・Printing department, 100...Printing device, 101
...This is host conbuque.

Claims (1)

【特許請求の範囲】 印字データを受信し、ページ単位に印刷出力する印刷装
置において、 所望の領域を指定する領域指定手段と、 指定された領域を特定する情報を記憶保持する保持手段
とを備え、 受信した印字データに基づいて印刷するとき、前記保持
手段に保持された領域に含まれる文字群の印字形態を所
定の形態に変更して印刷出力することを特徴とする印刷
装置。
[Scope of Claims] A printing device that receives print data and prints out page by page, comprising: area specifying means for specifying a desired area; and retaining means for storing information specifying the specified area. . A printing apparatus, wherein when printing based on the received print data, the print form of a group of characters included in the area held by the holding means is changed to a predetermined form and then printed out.
JP1324057A 1989-12-15 1989-12-15 printing device Pending JPH03184881A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1324057A JPH03184881A (en) 1989-12-15 1989-12-15 printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1324057A JPH03184881A (en) 1989-12-15 1989-12-15 printing device

Publications (1)

Publication Number Publication Date
JPH03184881A true JPH03184881A (en) 1991-08-12

Family

ID=18161672

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1324057A Pending JPH03184881A (en) 1989-12-15 1989-12-15 printing device

Country Status (1)

Country Link
JP (1) JPH03184881A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014195939A (en) * 2013-03-29 2014-10-16 セイコーエプソン株式会社 Print controller, print device, print controller setting method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014195939A (en) * 2013-03-29 2014-10-16 セイコーエプソン株式会社 Print controller, print device, print controller setting method, and program

Similar Documents

Publication Publication Date Title
EP0659570B1 (en) Pattern output apparatus and pattern output method
JPS60141076A (en) Control system of printer
JPH0619699B2 (en) Page printer control method
JPH03184881A (en) printing device
JPS61250722A (en) Printer
JPS63288562A (en) Image processor
JP2716087B2 (en) Output device
JPS6235856A (en) Output apparatus
JPS6347863A (en) Printer controller
JPH01208141A (en) Printing control apparatus
JP2848572B2 (en) Output device and control method thereof
JPS6322672A (en) printing device
JPH01306892A (en) Document image processing system
JPS6359575A (en) Test printing system
JPH08202886A (en) Document creation device
JPS62232027A (en) Printing system for graphics in line printer
JPH0465261A (en) printing device
JPH0444869A (en) multicolor printing equipment
JPS63242561A (en) Font reducing system
JPH04175923A (en) Overlay printer
JPH0580953A (en) Method and device for printing
JPH01229666A (en) Printer
JPH05301411A (en) Method for treating printing of page printer
JPS63203342A (en) Japanese line printer
JPH02194977A (en) Apparatus for forming of image