JP2005148831A - Printing device control program and printing controller - Google Patents
Printing device control program and printing controller Download PDFInfo
- Publication number
- JP2005148831A JP2005148831A JP2003381326A JP2003381326A JP2005148831A JP 2005148831 A JP2005148831 A JP 2005148831A JP 2003381326 A JP2003381326 A JP 2003381326A JP 2003381326 A JP2003381326 A JP 2003381326A JP 2005148831 A JP2005148831 A JP 2005148831A
- Authority
- JP
- Japan
- Prior art keywords
- character string
- color
- print data
- designation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、印刷装置制御プログラムに係り、特に、特定の文字列について指定された色を付して印刷するための処理をコンピュータに実行させる印刷装置制御プログラムに関する。 The present invention relates to a printing apparatus control program, and more particularly to a printing apparatus control program that causes a computer to execute a process for printing a specific character string with a specified color.
レーザ方式のプリンタは、企業等で書類等を印刷する目的をはじめ、種々の用途で広く用いられている。従来、レーザ方式のプリンタは黒のトナーのみを用いて印刷するモノクロ印刷機が主流であり、印刷する書類もモノクロ印刷を前提としたものであった。このため、レーザ方式のプリンタで印刷されることを想定した書類のドキュメントデータ(ファイル)には、色情報が含まれていないものが多い。特に、いわゆるビジネス文書にこの傾向が顕著である。 Laser printers are widely used for various purposes including the purpose of printing documents and the like in companies and the like. Conventionally, laser printers have been mainly monochrome printers that print using only black toner, and the documents to be printed have been premised on monochrome printing. For this reason, many document data (files) of documents that are supposed to be printed by a laser printer do not include color information. This tendency is particularly noticeable in so-called business documents.
近年、複数のトナーを用いて印刷を行なうカラーのレーザプリンタが普及し始めているが、すでに作成済みのドキュメントを印刷する場合には、色情報が含まれていないものが多いため、カラーレーザプリンタを使用しているのにもかかわらず、主としてモノクロの印刷が行なわれている。 In recent years, color laser printers that print using a plurality of toners have begun to spread. However, when printing already created documents, there are many that do not contain color information. Despite being used, monochrome printing is mainly performed.
同じ書類であっても、カラーで印刷された場合には、モノクロで印刷された場合よりも表現力が豊かになる。特に、文書中において強調したい文字等に色を付すことができれば読者の注意を喚起することができる。このため、モノクロを前提とした文書であっても、特定の文字列に色を付して印刷することができれば便利である。 Even if the same document is printed in color, the expressive power is richer than when printed in monochrome. In particular, if a character or the like to be emphasized in a document can be colored, the reader's attention can be drawn. For this reason, even if a document is premised on monochrome, it is convenient if a specific character string can be printed with a color.
この場合、文書作成用のアプリケーション等でモノクロのドキュメントを編集して色情報を付加することが考えられるが、文字検索、書式変換等の作業が必要なり処理が煩雑となる。また、モノクロのレーザプリンタで別途印刷することがある場合には、ドキュメントを編集してカラー情報を付加することは望ましくない。 In this case, it may be possible to edit a monochrome document and add color information using a document creation application or the like. However, operations such as character search and format conversion are required, and the processing becomes complicated. Also, when printing with a monochrome laser printer, it is not desirable to edit the document and add color information.
本発明は、ドキュメント中の特定の文字列に色を付した印刷をドキュメントのデータに影響を与えることなく簡易に行なえるようにすることを目的とする。 An object of the present invention is to make it possible to easily perform printing in which a specific character string in a document is colored without affecting the document data.
上記課題を解決するため本発明によれば、
描画データを読み込み、印刷装置に出力する印刷データを生成する印刷データ生成処理をコンピュータに実行させる印刷装置制御プログラムであって、
文字列の指定を受け付ける文字列指定受け付け処理と、
受け付けた文字列について色の指定を受け付ける色指定受け付け処理とをさらにコンピュータに実行させ、
前記印刷データ生成処理は、描画データに前記指定された文字列が含まれている場合には、その文字列について指定された色の情報を付加して印刷データを生成することを特徴とする印刷装置制御プログラムが提供される。
In order to solve the above problems, according to the present invention,
A printing apparatus control program for causing a computer to execute print data generation processing for reading drawing data and generating print data to be output to a printing apparatus,
A character string specification acceptance process that accepts a character string specification;
Further causing the computer to execute color designation acceptance processing for accepting color designation for the accepted character string,
In the print data generation process, when the specified character string is included in the drawing data, the print data is generated by adding information of the color specified for the character string. A device control program is provided.
本発明では、印刷装置制御プログラムに基づく処理により、文字列と色との指定を受け付けることができ、特定の文字列に色を付す場合にドキュメントの編集が不要となる。 In the present invention, designation of a character string and a color can be accepted by processing based on the printing apparatus control program, and editing of a document becomes unnecessary when a color is added to a specific character string.
また、印刷装置制御プログラムに基づく処理により、印刷データを生成する際に色情報を付加するため、元のドキュメントには影響を与えることなく、特定の文字列に色を付して印刷することができる
なお、前記文字列指定処理受け付け処理は、複数の文字列について指定を受け付け可能であって、
前記色指定受け付け処理は、指定を受け付けた複数の文字列のそれぞれについて色の指定を受け付けるようにすることが望ましい。
In addition, since color information is added when print data is generated by processing based on the printing apparatus control program, it is possible to print a specific character string with a color without affecting the original document. The character string designation process acceptance process can accept designation for a plurality of character strings,
In the color designation receiving process, it is desirable to receive a color designation for each of a plurality of character strings for which the designation has been accepted.
本発明の実施の形態について図面を参照して説明する。 Embodiments of the present invention will be described with reference to the drawings.
図1は、本発明を適用した印刷システムのハードウェア構成の概要を説明するためのブロック図である。 FIG. 1 is a block diagram for explaining an outline of a hardware configuration of a printing system to which the present invention is applied.
本図に示すように、印刷システムは、アプリケーションソフトウェアによる各種処理、プリンタドライバによる印刷処理等を実現するためのコンピュータ30と、このコンピュータ30に接続されるプリンタ10とを備えて構成される。本実施形態において、コンピュータ30は、印刷データを生成し、プリンタ10に送信するプリンタホストとして機能する。そして、プリンタ10は、受信した印刷データに基づいて印刷を行なう印刷装置として機能する。なお、印刷システムの構成はこれに限られない。
As shown in the figure, the printing system includes a
コンピュータ30は、各種プログラムを実行するCPU(Central Processing Unit)31、データおよびプログラム等を一時的に記憶するRAM(Random Access Memory)32、コンピュータ30を制御するための各種データ、各種プログラム等があらかじめ不揮発的に記憶されているROM(Read Only Memory)33、および、接続されたプリンタ10等の周辺装置とのデータの送受信をつかさどるインタフェース34を備えている。
The
また、コンピュータ30には、カラーディスプレイ等の表示装置21、マウス、キーボード等の入力装置22、CD−ROM等の記録媒体からデータを読み取るメディア読取装置23および内蔵または外付けの補助記憶装置24が接続される。もちろん、コンピュータ30の構成はこれに限られない。例えば、インターネット等のコンピュータネットワークに接続するための通信制御装置を備えるようにしてもよい。
The
プリンタ10は、例えば、レーザ方式のカラーページプリンタである。レーザ方式のカラーページプリンタは、筐体内にトナーを充填したカートリッジを複数本備え、このトナーを印刷用紙等の印刷媒体に転写することで印刷を行なう。トナーは、例えば、黒、シアン、マゼンタ、イエローとし、これらの色を組み合わせることで種々の色を表現できるようになっている。
The
ただし、プリンタ10の印刷方式は、これに限られない。例えば、インクジェット方式のシリアルカラープリンタ、その他の印刷方式を用いたカラープリンタであってもよい。
However, the printing method of the
プリンタ10は、コンピュータ30とのデータの送受信をつかさどるインタフェース11、各種プログラムを実行するCPU12、印刷データ等を一時的に記憶するRAM13、プリンタ10を制御するための各種データ、各種プログラム等があらかじめ不揮発的に記憶されているROM14、トナーカートリッジ、感光体ドラム、レーザ光照射機構、紙送り機構、印刷媒体の給排紙処理を行なう給排紙機構等からなるプリントエンジン15を備えて構成される。もちろん、プリンタ10の構成はこれに限られない。
The
次に、上記印刷システムによりコンピュータ30およびプリンタ10に実現される機能構成について、図2のブロック図を参照して説明する。
Next, functional configurations realized in the
本図に示すように、コンピュータ30上には、オペレーティングシステム部300と、アプリケーション部310と、プリンタドライバ部320とが構築される。
As shown in the figure, an
オペレーティングシステム部300は、コンピュータ30のシステム管理と、基本的なユーザー操作環境を提供する、いわゆる、コンピュータ30の基本ソフトウェアである。
The
アプリケーション部310は、ドキュメントを作成・編集する処理をコンピュータ30に行なわせるための機能を有しており、RAM32が読み込んだワードプロセッサプログラム、グラフィックス処理プログラム等を、CPU31が実行することによりコンピュータ30上に構築される。
The
プリンタドライバ部320は、プリンタ10を制御して印刷を実行させるための処理を行なう。具体的には、ユーザからの印刷指示を受け付けると、アプリケーション部310が生成したドキュメントの描画データを読み込んで、印刷設定にしたがってプリンタ10が解釈できる形式の印刷データに変換し、インタフェース34を介してプリンタ10に送信する。ここで、描画データは、オペレーティングシステム部300で定義されている仕様で記載されたデータであり、印刷データは、例えば、ページ記述言語で記載され、プリンタ10を制御するコマンド群から構成されている。
The
このため、プリンタドライバ部320は、印刷指示、印刷設定等をユーザから受け付けるためのユーザインタフェース部321と、印刷データの生成、管理、送信等を処理する印刷処理部322とを備えている。
For this reason, the
本実施形態において、ユーザインタフェース部321が、ユーザから文字列と色の指定を受け付けると、印刷処理部322は、印刷対象のドキュメント中に含まれる指定された文字列について指定の色が印刷されるような印刷データを生成する。
In the present embodiment, when the
プリンタドライバ部320は、RAM32が読み込んだプリンタドライバプログラムを、CPU31が実行することによりコンピュータ30上に構築される。このためのプリンタドライバプログラムは、例えば、CD−ROM等の可搬型の記録媒体に記録することで流通させることができる。そして、この記録媒体を、メディア読取装置23で読み取ることにより、コンピュータ30にプリンタドライバプログラムをインストールすることができる。また、インターネット等のコンピュータネットワークを介してインストールすることもできる。
The
図2において、プリンタ10上には、印刷制御部110および印刷実行部120が構築される。
In FIG. 2, a
印刷制御部110は、コンピュータ30から送信された印刷データを解釈して、印刷データに基づく印刷をプリンタ10で実行するための制御を行なう。具体的には、印刷データに基づくプリントイメージデータを生成し、このプリントイメージデータを印刷するように印刷実行部120に指示を送る。
The
印刷実行部120は、印刷制御部110の指示にしたがって、印刷用紙等の印刷媒体に対して、プリントエンジン15による印刷を実行する。
The
つぎに、本実施例におけるプリンタドライバ部320の処理について説明する。
Next, processing of the
ここでは、ユーザがアプリケーション部310で処理中のドキュメントを印刷対象として説明する。一般に、ドキュメントは、テキストデータ、ビットマップデータ、ドローデータ等を含んで構成される。これらのデータは、色情報を含めることができるが、本実施例で扱うドキュメントは、モノクロプリンタを前提に作成された色情報を含まないドキュメントであるとする。ただし、色情報を含むドキュメントであってもかまわない。
Here, a document that is being processed by the user in the
ユーザは、アプリケーション部310でドキュメントの処理中に、プリンタドライバ部320のユーザインタフェース部321を呼び出して印刷設定を行なうことができる。
The user can call the
印刷設定では、従来から行なわれている用紙設定、解像度設定、部数の設定等に加え、本実施例においては、文字列の指定およびその文字列についての色の指定を行なうことができる。 In the print setting, in addition to the conventional paper setting, resolution setting, number of copies setting, etc., in this embodiment, it is possible to specify a character string and a color for the character string.
ユーザインタフェース部321は、この指定を、例えば、図3に示すような文字列設定画面500を表示することでユーザから受け付けるようにする。
The
本図に示すように文字列設定画面500は、文字列を指定する欄501と色を指定する欄502とを備えている。文字列と色とはセットで指定され、本画面では5セット指定することができるようになっている。もちろん、指定することができるセット数は5セットに限られない。
As shown in the figure, the character
ユーザは、文字列を指定する欄501に、色を付して印刷した文字列を入力することができる。そして、対応する色を指定する欄502でその文字に付す色を指定する。例えば、ユーザが、ドキュメント中の「機密事項」という文字列を赤で印刷させたい場合には、文字列を指定する欄501に「機密事項」と入力し、色を指定する欄502で「赤」を指定する。
The user can input a character string printed with a color in a
ユーザインタフェース部321は、例えば、色を指定する欄502のクリックを受け付けると、複数の色がサンプル表示された色指定のための小画面503を表示し、ユーザから色の指定を受け付けるようにする。ただし、色の指定の受け付け方法はこれに限られない。例えば、RGB等の色を示す値の入力を受け付けたり、色空間を二次元的に表示したパレット上から色の指定を受け付けるようにしてもよい。
For example, when the
図4は、プリンタドライバ部320がユーザから印刷実行命令を受け付けた場合の処理を示すフロー図である。
FIG. 4 is a flowchart showing processing when the
プリンタドライバ部320の印刷処理部322は、ユーザから印刷実行命令を受け付けると(S101)、アプリケーション部310からドキュメントの描画データを取得する(S102)。このとき、オペレーティングシステム部300を介して取得するようにしてもよい。
Upon receiving a print execution command from the user (S101), the
そして、取得した描画データを印刷データに変換していく。このとき、文字列設定画面500で文字列が指定されていない場合(S103:N)には、従来の印刷データ変換処理を行なう(S104)。 Then, the acquired drawing data is converted into print data. At this time, if no character string is designated on the character string setting screen 500 (S103: N), a conventional print data conversion process is performed (S104).
一方、文字列設定画面500で文字列が指定されている場合(S103:Y)には、ドキュメントの描画データを構成しているテキストデータ中に、指定された文字列が含まれているかどうかを検索しながら印刷データに変換していく。そして、指定された文字列が検出された場合には、その文字列ついて指定された色が付されてプリンタ10で印刷されるような色情報を付加してその文字列を印刷データに変換する(S105)。なお、文字列設定画面500で複数の文字列が指定されている場合には、それぞれの文字列について指定された色情報を付加して印刷データに変換する。
On the other hand, if a character string is specified on the character string setting screen 500 (S103: Y), it is determined whether or not the specified character string is included in the text data constituting the drawing data of the document. Convert to print data while searching. When a designated character string is detected, color information is added to the character string so that the designated color is added and printed by the
ここで、色情報の付加は、プリンタ10が採用している制御言語の仕様に基づいて行なうが、例えば、指定された色を付すコマンドを追加したり、文字列の属性として付加すること等により行なうことができる。
Here, the color information is added based on the specification of the control language adopted by the
そして、ドキュメントの描画データを印刷データに変換し終えると、印刷データをプリンタ10に出力する(S106)。 When the drawing data of the document is converted into the print data, the print data is output to the printer 10 (S106).
プリンタ10が、この印刷データに基づく印刷を実行することで、文字列設定画面500で文字列が指定されている場合には、指定された文字列について指定された色が付された印刷結果が得られることになる。
When a character string is designated on the character
なお、インクジェット方式のプリンタ等では、プリンタドライバ部320でイメージデータに展開しプリンタに出力するものがあるが、この場合には、プリンタドライバ部320が、指定された文字列について指定された色でイメージデータに展開するようにする。
In addition, in some inkjet printers and the like, the
このように、本実施例によれば、プリンタドライバ部320で色情報を付加した印刷データを生成することにより、ドキュメントのデータには影響を与えることなく、特定の文字列に色を付して印刷することができる。
As described above, according to the present embodiment, the
10…プリンタ、11…インタフェース、12…CPU、13…RAM、14…ROM、15…プリントエンジン、21…表示装置、22…入力装置、23…メディア読取装置、24…補助記憶装置、30…コンピュータ、31…CPU、32…RAM、33…ROM、34…インタフェース、110…印刷制御部、120…印刷実行部、300…オペレーティングシステム部、310…アプリケーション部、320…プリンタドライバ部、321…ユーザインタフェース部、322…印刷処理部
DESCRIPTION OF
Claims (4)
文字列の指定を受け付ける文字列指定受け付け処理と、
受け付けた文字列について色の指定を受け付ける色指定受け付け処理とをさらにコンピュータに実行させ、
前記印刷データ生成処理は、描画データに前記指定された文字列が含まれている場合には、その文字列について指定された色の情報を付加して印刷データを生成することを特徴とする印刷装置制御プログラム。 A printing apparatus control program for causing a computer to execute print data generation processing for reading drawing data and generating print data to be output to a printing apparatus,
A character string specification acceptance process that accepts a character string specification;
Further causing the computer to execute color designation acceptance processing for accepting color designation for the accepted character string,
The print data generation process includes generating print data by adding color information specified for the character string when the specified character string is included in the drawing data. Device control program.
前記文字列指定処理受け付け処理は、複数の文字列について指定を受け付け可能であって、
前記色指定受け付け処理は、指定を受け付けた複数の文字列のそれぞれについて色の指定を受け付けることを特徴とする印刷装置制御プログラム。 In the printing apparatus control program according to claim 1,
The character string designation process accepting process can accept designation for a plurality of character strings,
The printing apparatus control program, wherein the color designation receiving process receives a color designation for each of a plurality of character strings for which the designation is accepted.
ドキュメントの描画データを読み込んで、印刷装置に出力する印刷データを生成するプリンタドライバ手段とを備えた印刷制御装置であって、
前記プリンタドライバ手段は、
文字列の指定、および、指定された文字列について色の指定を受け付け、
描画データに前記指定された文字列が含まれている場合には、その文字列について指定された色の情報を付加して印刷データを生成することを特徴とする印刷制御装置。
Application means for processing documents;
A print control device comprising printer driver means for reading drawing data of a document and generating print data to be output to a printing device,
The printer driver means includes
Accepts the specification of the character string and the color of the specified character string,
A print control apparatus that generates print data by adding information of a color designated for a character string when the designated character string is included in the drawing data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003381326A JP2005148831A (en) | 2003-11-11 | 2003-11-11 | Printing device control program and printing controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003381326A JP2005148831A (en) | 2003-11-11 | 2003-11-11 | Printing device control program and printing controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005148831A true JP2005148831A (en) | 2005-06-09 |
Family
ID=34690732
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003381326A Pending JP2005148831A (en) | 2003-11-11 | 2003-11-11 | Printing device control program and printing controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005148831A (en) |
-
2003
- 2003-11-11 JP JP2003381326A patent/JP2005148831A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4082427B2 (en) | Image forming apparatus, image forming method, image processing apparatus, and image forming program | |
US20080055633A1 (en) | Computer readable medium, computer data signal, instruction apparatus, image processing method and image processing system | |
US20210216256A1 (en) | Support program, information processing device, and printing method | |
JP4874309B2 (en) | Image forming system, image processing apparatus, and image processing method | |
JP4396670B2 (en) | Image forming apparatus, image forming method, and program | |
JP2005063099A (en) | Image processor | |
CN110879691A (en) | Computer, image forming apparatus, information processing system | |
JP2008052552A (en) | Printer control device, program and recording medium | |
US20230102837A1 (en) | Non-transitory computer-readable medium storing support program | |
US8045211B2 (en) | Image forming device | |
US8270014B2 (en) | Printing method, recordable medium recorded with a program to execute the method and host apparatus | |
JP2006235933A (en) | Image processor and print job generating device | |
KR100565054B1 (en) | Method and apparatus for print file editing and color image forming system employing the same | |
JP2008299634A (en) | Print control device and program | |
JP2005148831A (en) | Printing device control program and printing controller | |
JP2002316453A (en) | Method for processing printing and apparatus for processing information | |
JP2008046856A (en) | Document processing apparatus, document processing program and document processing method | |
JP4428087B2 (en) | Printing control apparatus, printing apparatus control program, and printing system | |
JP2005157745A (en) | Print system, print apparatus, print controller and print apparatus control program | |
JP5526863B2 (en) | Printer driver and print control apparatus | |
US8228533B2 (en) | Image processing system, image processing method, computer readable medium, and computer data signal | |
JP2006123507A (en) | Printer | |
JP2005092255A (en) | Printing data supply unit, printing system, control method, control program and recording medium with the program recorded thereon | |
JP2005321886A (en) | Print supporting module, port monitor, recording medium and print job issuing method | |
JP2023020110A (en) | printer |