JP2003260819A - Printer controller, printer control method, program for making computer execute printer control method, printer system and pos system - Google Patents

Printer controller, printer control method, program for making computer execute printer control method, printer system and pos system

Info

Publication number
JP2003260819A
JP2003260819A JP2002064124A JP2002064124A JP2003260819A JP 2003260819 A JP2003260819 A JP 2003260819A JP 2002064124 A JP2002064124 A JP 2002064124A JP 2002064124 A JP2002064124 A JP 2002064124A JP 2003260819 A JP2003260819 A JP 2003260819A
Authority
JP
Japan
Prior art keywords
color
printer
print data
printing
printer control
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
JP2002064124A
Other languages
Japanese (ja)
Inventor
Masahiro Minowa
政寛 箕輪
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2002064124A priority Critical patent/JP2003260819A/en
Publication of JP2003260819A publication Critical patent/JP2003260819A/en
Pending legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To enable printing by a plurality of colors on the basis of printing data for monochromic printing. <P>SOLUTION: A POS application program 24 executed by a host unit 10 outputs monochromic printing data. The printing data is delivered to a service object (SO) 22 as a device driver corresponding to a printer 12. A color adding process corresponding to contents of a color adding information 38 is carried out by a data processing part 30 of the SO 22, whereby a printing command for two-color printing is formed. A character color or a background color is added in units of lines of printing lines in the color adding process. The printing command formed by the data processing part 30 is transmitted by a command output part 32 to the printer 12. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、複数色での印刷が
可能なプリンタを制御するための装置、方法、この方法
をコンピュータに実行させるためのプログラム、およ
び、このプログラムを記録したコンピュータ読み取り可
能な記録媒体に関する。また、本発明は、複数色での印
刷が可能なプリンタを含むプリンタシステムおよびPO
Sシステムにも関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus and method for controlling a printer capable of printing in a plurality of colors, a program for causing a computer to execute this method, and a computer readable recording program. Recording medium. The present invention also provides a printer system and a PO including a printer capable of printing in a plurality of colors.
It also relates to the S system.

【0002】[0002]

【従来の技術】店舗のレジ等で用いられるPOSシステ
ムにはレシートを印刷するためのプリンタが設けられて
いる。このプリンタではロール紙等の記録紙に商品名と
各商品の金額とを含む販売データが一行ずつ印刷され、
印刷された記録紙が切り離されてレシートとして発行さ
れる。レシートを受け取った顧客においては、レシート
に印刷された商品名と金額とを家計簿等に転記すること
等により、買物の履歴を個人情報として管理する場合が
ある。このような場合、一般にレシートは単色で印刷さ
れているため印刷内容が見難く、家計簿等へ転記する際
に間違いが起きやすいといった問題がある。
2. Description of the Related Art A POS system used at a cash register of a store is provided with a printer for printing receipts. With this printer, sales data including the product name and the price of each product is printed line by line on recording paper such as roll paper,
The printed recording paper is cut off and issued as a receipt. The customer who receives the receipt may manage the shopping history as personal information by posting the product name and the amount of money printed on the receipt to a household account book or the like. In such a case, since the receipt is generally printed in a single color, the printed contents are difficult to see and there is a problem that an error is likely to occur when the receipt is posted to a household account book or the like.

【0003】[0003]

【発明が解決しようとする課題】ところで、近年、パソ
コン用のプリンタとして、インクジェット式や熱転写式
等のカラープリンタが普及している。POSシステムで
も、プリンタのカラー化は進みつつあり、2色あるいは
それ以上の多色のカラープリンタが用いられるようにな
っている。このようなプリンタによってレシートをカラ
ーで印刷すれば、レシートが見易くなり、顧客サービス
の点で好ましい。
By the way, in recent years, color printers such as ink jet type and thermal transfer type have become widespread as printers for personal computers. Even in POS systems, colorization of printers is progressing, and color printers of two or more colors are being used. If the receipt is printed in color by such a printer, the receipt becomes easy to see, which is preferable in terms of customer service.

【0004】しかしながら、POSシステムで用いられ
ているアプリケーションプログラムは、従前の単色プリ
ンタを前提として作成されているものが多い。このた
め、プリンタがカラー印刷機能を有していても、レシー
トをカラーで印刷するにはアプリケーションプログラム
を変更しなければならない。このようなアプリケーショ
ンプログラムの変更にはコストがかかるため、POSユ
ーザである店舗側にとって経済的な負担が大きい。した
がって、単色プリンタを前提とした従前のアプリケーシ
ョンプログラムをそのまま用いながら、カラープリンタ
によりレシートをカラーで印刷できることが望まれる。
However, many application programs used in the POS system are created on the premise of the conventional monochrome printer. Therefore, even if the printer has a color printing function, the application program must be changed to print the receipt in color. Since such a change of the application program is costly, the store that is the POS user has a large financial burden. Therefore, it is desired that the color printer can print the receipt in color while using the conventional application program that is based on the monochromatic printer as it is.

【0005】本発明は上記の点に鑑みてなされたもので
あり、単色用の印刷データに基づいて複数色での印刷を
行なえるようにすることを目的とする。
The present invention has been made in view of the above points, and an object of the present invention is to enable printing in a plurality of colors based on print data for a single color.

【0006】[0006]

【課題を解決するための手段】上記の目的を達成するた
め、本発明は、複数色での印刷が可能なプリンタを制御
するためのプリンタ制御装置であって、単色での印刷を
行うための単色印刷データに所定のカラー付加処理を行
なって、前記プリンタにより複数色の印刷を行なうため
のカラー印刷データを作成する印刷データ加工手段と、
該作成したカラー印刷データを前記プリンタへ送信する
送信手段とを備えることを特徴とする。本発明によれ
ば、印刷データ加工手段が単色印刷データにカラー付加
処理を行なってカラー印刷データを作成するので、単色
印刷データに基づいて複数色の印刷を行なうことが可能
となる。
In order to achieve the above object, the present invention is a printer control device for controlling a printer capable of printing in a plurality of colors, and for performing printing in a single color. Print data processing means for performing a predetermined color addition process on the single color print data to create color print data for printing a plurality of colors by the printer;
A transmission unit that transmits the created color print data to the printer. According to the present invention, since the print data processing means performs color addition processing on the monochromatic print data to create color print data, it is possible to perform printing of a plurality of colors based on the monochromatic print data.

【0007】この場合、前記印刷データ加工手段は、前
記単色印刷データに含まれる印刷行の行単位で前記カラ
ー付加処理を行なうこととしてもよい。このようにすれ
ば、印刷行の行単位でカラー付加処理が行なわれるの
で、印刷内容を行単位で明瞭に区別することが可能とな
り、より見易い印刷結果を得ることができる。
In this case, the print data processing means may perform the color addition process on a line-by-line basis of print lines included in the monochrome print data. In this way, since the color addition processing is performed for each print line, it is possible to clearly distinguish the print contents for each line, and it is possible to obtain a print result that is easier to see.

【0008】また、前記カラー付加処理は、前記単色印
刷データに含まれる文字に背景色を付加する処理である
こととしてもよい。また、前記カラー付加処理は、前記
単色印刷データに含まれる文字のフォント色を変更する
処理であることとしてもよい。
Further, the color adding process may be a process of adding a background color to the characters included in the monochromatic print data. Further, the color addition process may be a process of changing a font color of a character included in the monochrome print data.

【0009】また、本発明のプリンタ制御装置は、前記
カラー付加処理の内容を指定するカラー付加情報を記憶
した記憶手段を備え、前記印刷データ加工手段は、前記
カラー付加情報に従って前記カラー付加処理を行なうこ
ととしてもよい。このようにすれば、記憶手段に記憶し
たカラー付加情報に従ってカラー付加処理が行なわれ
る。このため、カラー付加情報を適宜設定することで、
カラー付加処理の内容を指定することができる。
Further, the printer control device of the present invention comprises a storage means for storing color addition information designating the content of the color addition processing, and the print data processing means carries out the color addition processing in accordance with the color addition information. It may be done. In this way, the color addition processing is performed according to the color addition information stored in the storage means. Therefore, by setting the additional color information as appropriate,
The content of color addition processing can be specified.

【0010】また、前記単色印刷データは所定のアプリ
ケーションプログラムから出力されるものであり、前記
印刷データ加工手段は、前記アプリケーションプログラ
ムと前記プリンタとのインターフェースを提供するプリ
ンタドライバとして構成されていることとしてもよい。
このようにすれば、カラー付加処理を行なう印刷データ
加工手段は、アプリケーションプログラムと前記プリン
タとのインターフェースを提供するプリンタドライバと
して構成される。このため、従前のプリンタドライバを
交換するだけで、単色印刷データしか出力できないアプ
リケーションプログラムを用いつつ、複数色の印刷を行
なうことが可能となる。
The monochromatic print data is output from a predetermined application program, and the print data processing means is configured as a printer driver that provides an interface between the application program and the printer. Good.
With this configuration, the print data processing unit that performs the color addition process is configured as a printer driver that provides an interface between the application program and the printer. For this reason, it is possible to perform printing in a plurality of colors by using an application program that can output only monochromatic print data, simply by replacing the conventional printer driver.

【0011】また、本発明のプリンタ制御装置と、この
プリンタ制御装置により制御される複数色での印刷が可
能なプリンタとによりプリンタシステムを構成すること
もできる。
Also, a printer system can be configured by the printer control device of the present invention and a printer capable of printing in a plurality of colors controlled by the printer control device.

【0012】また、本発明のプリンタ制御装置と、この
プリンタ制御装置により制御される複数色での印刷が可
能なプリンタとを含むPOSシステムは、前記プリンタ
制御装置は、所定の入力装置から入力された商品情報に
基づいて販売情報を集計してレシート印刷用の印刷デー
タを出力するPOSアプリケーション実行部を備え、前
記単色印刷データは、前記POSアプリケーション実行
部から出力されるレシート印刷用の印刷データであるこ
ととしてもよい。
Further, in a POS system including a printer control device of the present invention and a printer capable of printing in a plurality of colors controlled by the printer control device, the printer control device is input from a predetermined input device. The POS application execution unit that aggregates sales information based on the product information and outputs the print data for receipt printing, wherein the single-color print data is print data for receipt printing output from the POS application execution unit. It may be that there is.

【0013】[0013]

【発明の実施の形態】図1は、本発明の一実施形態であ
るPOSシステムの全体構成図である。同図に示すよう
に、本実施形態のPOSシステムは、ホスト装置10を
備えている。ホスト装置10には、レシート印刷用のプ
リンタ12、商品コードを入力するための入力装置(例
えばバーコードリーダー)14、画面表示用のディスプ
レイ装置16等が接続されている。本実施形態におい
て、プリンタ12は、主色(例えば黒)および副色(例
えば赤や青等)の2色のカラー印刷が可能な例えばイン
クジェット式のプリンタであり、ホスト装置10による
制御の下でレシートの印刷を行なう。なお、後述するよ
うに、プリンタ12は、2色カラープリンタに限らず、
3色以上の印刷が可能なカラープリンタであってもよ
く、また、インクジェット式に限らず熱転写式その他複
数色での印刷が可能なプリンタであればその方式は問わ
ない。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is an overall configuration diagram of a POS system which is an embodiment of the present invention. As shown in the figure, the POS system of the present embodiment includes a host device 10. A printer 12 for receipt printing, an input device (for example, a barcode reader) 14 for inputting a product code, a display device 16 for displaying a screen, and the like are connected to the host device 10. In the present embodiment, the printer 12 is, for example, an inkjet printer that is capable of two-color printing of a primary color (for example, black) and a sub color (for example, red or blue), and is controlled by the host device 10. Print the receipt. As will be described later, the printer 12 is not limited to the two-color printer,
The printer may be a color printer capable of printing three or more colors, and any method may be used as long as it is a printer capable of printing in a plurality of colors such as a thermal transfer type as well as an inkjet type.

【0014】ホスト装置10はコンピュータシステムに
より構成されており、ホスト装置10におけるプリンタ
12の制御は、例えば、ウインドウズ(商標名)等のO
S上で稼動するプリンタドライバOLE for Re
tail POS(以下、OPOSという)により行な
われる。OPOSは、OS上で稼動するPOSアプリケ
ーションプログラム24に対して、プリンタ12や入力
装置14等の周辺デバイスとの機種依存性のないインタ
ーフェースを提供するものである。かかる機能を実現す
るため、OPOS上には、デバイスのカテゴリー毎に対
応したデバイスコントロールオブジェクト(CO)20
と、デバイスの機種毎に対応したサービスオブジェクト
(SO)22とが設けられている。
The host device 10 is composed of a computer system, and the control of the printer 12 in the host device 10 is performed by, for example, Windows (trademark) or the like.
Printer driver running on S OLE for Re
It is performed by tail POS (hereinafter referred to as OPOS). The OPOS provides a POS application program 24 running on the OS with a model-independent interface with peripheral devices such as the printer 12 and the input device 14. In order to realize such a function, a device control object (CO) 20 corresponding to each device category is provided on OPOS.
And a service object (SO) 22 corresponding to each device model.

【0015】POSアプリケーションプログラム24
は、入力装置14から入力された商品の商品コードに基
づいて販売データを集計し、その集計結果をレシートと
して印刷すべく印刷データを出力する。POSアプリケ
ーションプログラム24から出力された印刷データはプ
リンタ用のCO20に引き渡され、さらに、CO20か
らプリンタ12の機種に対応したSO22に引き渡され
る。SO22は、この印刷データを加工して、プリンタ
12のコマンド仕様に応じた印刷コマンドを作成し、O
S26を介してプリンタ12へ送信する。このように、
SO22は、デバイス(本例ではプリンタ)の機種毎の
差異を吸収して、POSアプリケーションプログラム2
4をデバイス機種に依存しないプログラムとして構成で
きるようにする役割を有している。
POS application program 24
Outputs the print data so that the sales data is totaled based on the product code of the product input from the input device 14 and the totalized result is printed as a receipt. The print data output from the POS application program 24 is delivered to the printer CO 20, and is further delivered from the CO 20 to the SO 22 corresponding to the model of the printer 12. The SO 22 processes this print data to create a print command according to the command specifications of the printer 12, and O
The data is transmitted to the printer 12 via S26. in this way,
The SO22 absorbs the difference of each device (printer in this example) model, and the POS application program 2
4 has the role of enabling the program 4 to be configured as a program that does not depend on the device model.

【0016】本実施形態におけるプリンタ12は、テキ
スト印刷コマンドと、イメージ印刷コマンドの2種類の
印刷コマンドを解釈して実行できるように構成されてい
る。
The printer 12 in this embodiment is configured to interpret and execute two types of print commands, a text print command and an image print command.

【0017】テキスト印刷コマンドはテキスト印刷を行
なうためのコマンドである。本実施形態では、テキスト
印刷コマンドにおいて、文字色、文字の背景パターン・
背景色を指定できるようになっている。なお、背景パタ
ーンとしては、例えば、「網掛け」、「斜線」(ハッチ
ング)、「ベタ塗り」を指定でき、さらに、各背景パタ
ーンについてパターンの濃度を、例えば「濃」,
「中」,「淡」と指定できる。
The text print command is a command for text printing. In this embodiment, in the text print command, the character color, the background pattern of the character,
The background color can be specified. As the background pattern, for example, "shading", "diagonal line" (hatching), and "solid painting" can be designated, and the density of the pattern for each background pattern can be, for example, "dark",
You can specify "medium" and "light".

【0018】イメージ印刷コマンドは、ビットイメージ
のイメージ印刷を行なうためのコマンドである。本実施
形態では、イメージ印刷コマンドにおいてイメージの印
刷色を指定でき、また、印刷対象としてプリンタ12に
予め登録されたイメージデータを指定できる。
The image print command is a command for printing an image of a bit image. In the present embodiment, the print color of the image can be designated by the image print command, and the image data registered in advance in the printer 12 as the print target can be designated.

【0019】ただし、上記したコマンドは一例であり、
プリンタ12に対して同様の印刷指示を行なうことがで
きれば他の形式のコマンドを用いてもよい。すなわち、
プリンタ12に対して、テキストおよびイメージの印刷
を指示でき、さらに、テキストについて印刷色および背
景パターン・背景色を、また、イメージについて印刷色
を夫々指定できるコマンド体系であればよい。
However, the above command is an example,
Other format commands may be used as long as the same print instruction can be issued to the printer 12. That is,
A command system that can instruct the printer 12 to print a text and an image, and further specify a print color and a background pattern / background color for the text and a print color for the image can be used.

【0020】また、本実施形態において、POSアプリ
ケーションプログラム24からプリンタ用のCO20に
引き渡される印刷データは、そのデータフォーマットに
より、テキスト(例えばレシートに印字すべき商品名や
価格等の文字データ)用の印刷データとイメージ(例え
ば商店のロゴマーク等)の印刷データとに区別できるよ
うになっている。SO22は、CO20から引き渡され
た印刷データがテキストデータであるかイメージデータ
であるかを判別し、その判別結果に応じて、テキスト印
刷コマンドまたはイメージ印刷コマンドを作成してプリ
ンタ12へ送信する。プリンタ12では送信されてきた
印刷コマンドに従って印刷処理が実行される。
In the present embodiment, the print data delivered from the POS application program 24 to the printer CO 20 is for text (for example, character data such as a product name or price to be printed on a receipt) depending on the data format. The print data and the print data of an image (for example, a logo mark of a store) can be distinguished. The SO 22 determines whether the print data delivered from the CO 20 is text data or image data, creates a text print command or an image print command according to the result of the determination, and sends it to the printer 12. The printer 12 executes print processing in accordance with the transmitted print command.

【0021】図2は、プリンタ12の機能ブロック図で
ある。同図に示すように、プリンタ12は、中央制御部
50、受信部52、およびコマンド解析部54を備えて
いる。中央制御部50は、受信部52がインターフェー
ス部62を介してホスト装置10から受信したコマンド
やデータをコマンド解析部54で解析し、受信コマンド
に応じた処理を実行する。なお、中央制御部50および
コマンド解析部54は、CPU60が所定の制御プログ
ラムを実行することにより実現される。
FIG. 2 is a functional block diagram of the printer 12. As shown in the figure, the printer 12 includes a central controller 50, a receiver 52, and a command analyzer 54. The central control unit 50 causes the command analysis unit 54 to analyze the command or data received by the reception unit 52 from the host device 10 via the interface unit 62, and executes the processing according to the received command. The central control unit 50 and the command analysis unit 54 are realized by the CPU 60 executing a predetermined control program.

【0022】CPU60には、RAM64、ROM6
6、第1ヘッド制御部68、第2ヘッド制御部70等が
接続されている。
The CPU 60 includes a RAM 64 and a ROM 6
6, the first head controller 68, the second head controller 70, etc. are connected.

【0023】RAM64には、受信バッファ72、第1
印刷バッファ74、および第2印刷バッファ76が設け
られている。受信バッファ72には、受信部52がホス
ト装置10から受信したコマンドやデータが格納され
る。また、第1印刷バッファ74には主色の印刷データ
が、第2受信バッファ76には副色の印刷データが夫々
格納される。
In the RAM 64, the receiving buffer 72, the first
A print buffer 74 and a second print buffer 76 are provided. The reception buffer 72 stores commands and data received by the reception unit 52 from the host device 10. The first print buffer 74 stores main color print data, and the second receive buffer 76 stores sub color print data.

【0024】ROM66には、CPU60が実行するプ
ログラムのほか、各キャラクタのビットパターンデータ
や、ロゴマークのイメージデータ等のデータが記録され
ている。
In addition to the program executed by the CPU 60, the ROM 66 stores data such as bit pattern data of each character and image data of a logo mark.

【0025】第1ヘッド制御部68および第2ヘッド制
御部70には、夫々、第1印刷ヘッド78よび第2印刷
ヘッド80が接続されている。第1印刷ヘッド78およ
び第2印刷ヘッド80は、夫々、主色および副色での印
刷を行なうための印刷ヘッドであり、第1ヘッド制御部
68および第2ヘッド制御部70による制御の下で、第
1印刷バッファ74および第2印刷バッファ76に格納
された印刷データに従って主色および副色で印刷を行な
う。
A first print head 78 and a second print head 80 are connected to the first head controller 68 and the second head controller 70, respectively. The first print head 78 and the second print head 80 are print heads for performing printing in the main color and the sub color, respectively, and are controlled by the first head control unit 68 and the second head control unit 70. , Printing is performed in the main color and the sub color in accordance with the print data stored in the first print buffer 74 and the second print buffer 76.

【0026】中央制御部50は、コマンド解析部54に
より解析されたコマンドに基づいて、第1印刷バッファ
74および第2印刷バッファ76に印刷データを格納す
る。すなわち、コマンドがテキスト印刷コマンドの場合
には、印刷すべきキャラクタのビットパターンデータを
ROM66から読み出し、このビットパターンデータ
を、印刷色が主色の場合には第1印刷バッファ74へ、
副色の場合には第2印刷バッファ76へ、夫々格納す
る。その際、テキスト印刷コマンドで背景印刷が指定さ
れている場合は、その背景パターン・濃度に応じたビッ
トパターンデータを、背景色に応じて第1印刷バッファ
74または第2印刷バッファ76へ格納する。また、イ
メージ印刷コマンドの場合も、テキストの場合と同様
に、印刷すべきイメージのビットパターンデータをRO
M66から読み出し、その印刷色に応じて第1印刷バッ
ファ74または第2印刷バッファ76へ格納する。そし
て、第1印刷バッファ74および第2印刷バッファ76
に格納された印刷データを夫々第1ヘッド制御部68お
よび第2ヘッド制御部70へ供給することにより主色お
よび副色の2色での印字を行なわせる。
The central control unit 50 stores print data in the first print buffer 74 and the second print buffer 76 based on the command analyzed by the command analysis unit 54. That is, when the command is a text print command, the bit pattern data of the character to be printed is read from the ROM 66, and this bit pattern data is sent to the first print buffer 74 when the printing color is the main color.
In the case of sub colors, they are stored in the second print buffer 76, respectively. At this time, when background printing is designated by the text print command, the bit pattern data corresponding to the background pattern / density is stored in the first print buffer 74 or the second print buffer 76 according to the background color. Also in the case of the image print command, the bit pattern data of the image to be printed is RO as in the case of the text.
It is read from M66 and stored in the first print buffer 74 or the second print buffer 76 according to the print color. Then, the first print buffer 74 and the second print buffer 76.
By supplying the print data stored in the first head control unit 68 and the second head control unit 70, respectively, printing with two colors of the main color and the sub color is performed.

【0027】本実施形態のPOSシステムは、POSア
プリケーションプログラム24から出力された単色の印
刷データに副色を付加した印刷コマンドを生成すること
で、プリンタ12により2色印刷を行なう機能(以下、
カラー付加機能という)を有している。
The POS system of this embodiment generates a print command in which a sub-color is added to the monochromatic print data output from the POS application program 24, so that the printer 12 performs two-color printing (hereinafter
It has a color addition function).

【0028】図3は、上記のカラー付加機能を実現する
ためのホスト装置10の機能ブロック図である。同図に
示すように、SO22は、データ加工部30およびコマ
ンド出力部32を備えている。データ加工部30は、C
O20から引き渡された単色の印刷データに副色を付加
する処理(以下、カラー付加処理という)を行なって、
プリンタ12のコマンド仕様に応じた印刷コマンドを生
成する。そして、作成された印刷コマンドはコマンド出
力部32からプリンタ12へ出力される。
FIG. 3 is a functional block diagram of the host device 10 for realizing the above color addition function. As shown in the figure, the SO 22 includes a data processing unit 30 and a command output unit 32. The data processing unit 30 is C
A process of adding a sub color to the single color print data delivered from O20 (hereinafter referred to as a color adding process) is performed,
A print command according to the command specifications of the printer 12 is generated. Then, the created print command is output from the command output unit 32 to the printer 12.

【0029】図3に示すように、ホスト装置10にはカ
ラー付加情報記憶部34が設けられている。カラー付加
情報記憶部34には、カラー付加処理の有効/無効を指
定するカラー化フラグ36と、カラー付加処理の内容を
指定するカラー付加情報38とが記憶されている。な
お、カラー付加情報記憶部34はハードディスク装置や
EEPROMのような書き換え可能な不揮発性の記憶装
置上に設けられている。
As shown in FIG. 3, the host device 10 is provided with a color additional information storage section 34. The color addition information storage unit 34 stores a colorization flag 36 that specifies validity / invalidity of the color addition process, and color addition information 38 that specifies the content of the color addition process. The color additional information storage unit 34 is provided on a rewritable nonvolatile storage device such as a hard disk device or an EEPROM.

【0030】図4は、カラー付加情報38の内容の一例
を示す。同図に示すように、カラー付加情報38は、行
単位、カラー付加方式、背景パターン、背景色調、イメ
ージデータ印刷色等の項目を含んでいる。 行単位:カラー付加処理を何行単位で行なうかの行数
を示す。例えば、行単位の値が「2」である場合、図5
に示すように、カラー付加処理が行なわれる2行とカラ
ー付加処理が行なわれない2行とが交互に繰り返され
る。 カラー付加方式:カラー付加処理を文字色の付加によ
り行なうか背景色の付加により行なうかの指定である。 背景パターン:背景色を付加する場合の背景パターン
を示すものであり、例えば、網掛け・斜線・ベタ塗りの
うち何れかに設定される。 背景色調:カラー付加処理を背景色の付加により行な
う場合の背景色の濃淡を示すものであり、例えば、濃・
中・淡の3段階に設定される。 イメージ印刷色:レシートに印刷される商店のロゴマ
ーク等のイメージデータの印刷色を示すものであり、主
色または副色に設定される。
FIG. 4 shows an example of the contents of the color addition information 38. As shown in the figure, the color addition information 38 includes items such as a line unit, a color addition method, a background pattern, a background color tone, and an image data print color. Line unit: Indicates the number of lines in which the color addition process is performed. For example, when the value of each row is “2”,
As shown in, the two lines to which the color addition process is performed and the two lines to which the color addition process is not performed are alternately repeated. Color addition method: Specifies whether the color addition process is performed by adding a character color or a background color. Background pattern: Indicates a background pattern when a background color is added, and is set to any one of shading, diagonal lines, and solid coating, for example. Background color tone: Indicates the shade of the background color when the color addition process is performed by adding the background color.
It is set in three levels, medium and light. Image print color: Indicates a print color of image data such as a logo of a store printed on a receipt, and is set as a main color or a sub color.

【0031】カラー付加情報38の内容は、カラー付加
情報設定部40によりメニュー画面でユーザが設定でき
るようになっている。これについては後述する。
The contents of the color additional information 38 can be set by the user on the menu screen by the color additional information setting section 40. This will be described later.

【0032】上記したデータ加工部30およびコマンド
出力部32は、SO22に実装されたプログラムにより
実現される。図6は、このプログラムにおける処理の内
容を表すフローチャートである。同図に示すように、P
OSアプリケーションプログラム24からCO20を介
して印刷データが引き渡されると(S100)、カラー
付加フラグ36がセットされているか否かが判別される
(S102)。その結果、カラー付加フラグ36がセッ
トされていなければ、印刷データをプリンタ12向けの
印刷コマンドに変換する通常のコマンド作成処理が行な
われる(S104)。一方、カラー付加フラグ36がセ
ットされている場合は、次に、印刷データがテキストま
たはイメージの何れの印刷データであるかが判別され
(S106)、テキストの印刷データである場合は、カ
ラー付加情報38に基づいて、カラー付加処理が行なわ
れる(S108)。
The data processing unit 30 and the command output unit 32 described above are realized by a program installed in the SO 22. FIG. 6 is a flowchart showing the contents of processing in this program. As shown in the figure, P
When the print data is delivered from the OS application program 24 via the CO 20 (S100), it is determined whether the color addition flag 36 is set (S102). As a result, if the color addition flag 36 is not set, the normal command creation process for converting the print data into the print command for the printer 12 is performed (S104). On the other hand, if the color addition flag 36 is set, then it is determined whether the print data is text or image print data (S106). If the print data is text print data, the color addition information is displayed. Color addition processing is performed based on S38 (S108).

【0033】図7は、上記S108で行なわれるカラー
付加処理の詳細を示すフローチャートである。同図に示
すように、先ず処理対象行を示すインデックスiが
「1」に初期化される(S200)。そして、カラー付
加情報38の行単位の値に基づいて、i行目がカラー付
加処理の対象行であるか否かが判別され(S202)、
カラー付加処理の対象行であれば、カラー付加方式が文
字色または背景色の何れであるかが判別される(S20
4)。その結果、カラー付加方式が文字色であれば、i
行目のテキストを副色で印刷するためのテキスト印刷コ
マンドが生成され(S206)、一方、カラー付加方式
が背景色であれば、i行目のテキストに、カラー付加情
報で指定された背景パターンを副色で付加して印刷する
ためのテキスト印刷コマンドが作成される(S20
8)。また、上記S202でi行目がカラー付加処理の
対象行でなければ、i行目のテキストを主色で印刷する
ためのテキスト印刷コマンドを生成する通常のコマンド
生成処理が行われる(S210)。
FIG. 7 is a flow chart showing the details of the color addition process performed in S108. As shown in the figure, first, the index i indicating the row to be processed is initialized to "1" (S200). Then, based on the line-by-line value of the color addition information 38, it is determined whether or not the i-th line is the target line for color addition processing (S202).
If the line is the color addition processing target line, it is determined whether the color addition method is the character color or the background color (S20).
4). As a result, if the color addition method is character color, i
A text print command for printing the text of the line in the sub color is generated (S206), while if the color addition method is the background color, the background pattern specified by the color addition information is added to the text of the i-th line. A text print command for adding and printing with a sub color is created (S20).
8). If the i-th line is not the target line of the color addition process in S202, a normal command generation process for generating a text print command for printing the text of the i-th line in the main color is performed (S210).

【0034】そして、i行目が最終行であるかどうかが
判別され(S212)、最終行でなければ、iに「1」
が加算(S214)された後、S202へ戻る。一方、
i行目が最終行であれば、図6のフローチャートに戻
る。
Then, it is judged whether or not the i-th row is the last row (S212). If it is not the last row, i is "1".
Is added (S214), the process returns to S202. on the other hand,
If the i-th row is the last row, the process returns to the flowchart of FIG.

【0035】一方、図6のS106において、印刷デー
タがイメージ印刷データである場合は、カラー付加情報
38に基づいてイメージデータの印刷色が判別される
(S110)。その結果、イメージデータの印刷色が主
色であれば、上記S104において、通常のコマンド作
成処理が行なわれる。一方、イメージデータの印刷色が
副色であれば、イメージデータを副色で印刷するための
イメージ印刷コマンドが作成される(S112)。
On the other hand, if the print data is image print data in S106 of FIG. 6, the print color of the image data is determined based on the color addition information 38 (S110). As a result, if the print color of the image data is the main color, the normal command creating process is performed in S104. On the other hand, if the print color of the image data is the sub color, an image print command for printing the image data in the sub color is created (S112).

【0036】そして、上記S104、S108,または
S112で作成された印刷コマンドが、プリンタ12へ
送信される(S114)。プリンタ12では、上記図2
を参照して述べたように、ホスト装置10から送信され
てきた印刷コマンドに従って印刷処理が行なわれること
で、上記図5に例示するような、行単位でカラー付加さ
れた見易いレシートが発行される。
Then, the print command created in S104, S108, or S112 is transmitted to the printer 12 (S114). In the printer 12, as shown in FIG.
As described with reference to FIG. 5, the print processing is performed in accordance with the print command transmitted from the host device 10 to issue an easy-to-read receipt in which color is added line by line as illustrated in FIG. .

【0037】次に、カラー付加情報設定部40によるカ
ラー付加情報36の設定について説明する。カラー付加
情報設定部40はホスト装置10において所定の設定用
プログラムが実行されることにより実現される。この設
定用プログラムが実行されると、ディスプレイ装置16
に例えば図8および図9に示すような設定画面100,
110が表示される。設定用プログラムの起動時には図
8に示す基本設定画面100が表示され、各設定画面の
上部のタブを選択することで、図9に示す変換設定画面
110との間で表示画面が切り替わるようになってい
る。
Next, the setting of the color additional information 36 by the color additional information setting section 40 will be described. The color additional information setting unit 40 is realized by executing a predetermined setting program in the host device 10. When this setting program is executed, the display device 16
For example, the setting screen 100 as shown in FIG. 8 and FIG.
110 is displayed. When the setting program is started, the basic setting screen 100 shown in FIG. 8 is displayed, and by selecting the tab at the top of each setting screen, the display screen is switched to the conversion setting screen 110 shown in FIG. ing.

【0038】図8に示すように、基本設定画面100に
は、用紙幅の設定欄102、および、カラー付加処理
(色変換)の有効(する)・無効(しない)の設定欄1
04が設けられている。また、図9に示すように、変換
設定画面110には、カラー付加情報38を項目毎に設
定するための設定欄、すなわち、カラー付加方式(文字
色または背景色)の設定欄112、カラー付加処理の行
単位の設定欄114、背景パターンの設定欄116、背
景色調の設定欄118、および、イメージ印刷色の設定
欄120等が設けられている。なお、図9に示す例で
は、行単位の設定欄114は行単位を数値で入力するよ
うにしており、入力欄右脇の「△」または「▽」をクリ
ックすると入力値が増減する。また、設定欄114以外
の設定欄は、各選択肢に対応して設けたチェックボック
スをクリックして設定内容を選択するようにしている。
なお、設定用プログラムの起動時には、カラー付加情報
記憶部34に格納されている現在のカラー付加フラグ3
6およびカラー付加情報38が読み出され、その内容が
印刷設定画面100および色変換設定画面110の該当
する設定欄にデフォルト値として表示されるようになっ
ている。
As shown in FIG. 8, on the basic setting screen 100, a paper width setting field 102 and a color addition process (color conversion) enable / disable (disable) setting field 1 are provided.
04 are provided. Further, as shown in FIG. 9, the conversion setting screen 110 has a setting field for setting the color addition information 38 for each item, that is, a setting field 112 for a color addition method (character color or background color), and a color addition. A processing line unit setting field 114, a background pattern setting field 116, a background color setting field 118, an image printing color setting field 120, and the like are provided. Note that, in the example shown in FIG. 9, the line-by-line setting field 114 is designed to input a numeric value for each line, and clicking “Δ” or “▽” on the right side of the input field increases or decreases the input value. Further, in the setting columns other than the setting column 114, the check boxes provided corresponding to the respective options are clicked to select the setting contents.
When the setting program is activated, the current color addition flag 3 stored in the color addition information storage unit 34 is stored.
6 and color additional information 38 are read out, and the contents thereof are displayed as default values in the corresponding setting fields of the print setting screen 100 and the color conversion setting screen 110.

【0039】基本設定画面100および変換設定画面1
10には共通の「OK」ボタン122が設けられてい
る。この「OK」ボタン122がクリックされると、上
記設定欄104で設定された内容がカラー付加フラグ3
6として、また、設定欄112〜120で設定された内
容がカラー付加情報38として、夫々カラー付加情報記
憶部34に格納される。
Basic setting screen 100 and conversion setting screen 1
10 has a common “OK” button 122. When the “OK” button 122 is clicked, the contents set in the setting column 104 are changed to the color addition flag 3
6, and the contents set in the setting fields 112 to 120 are stored in the color additional information storage unit 34 as the color additional information 38, respectively.

【0040】こうしてカラー付加情報38が設定される
と、以後、POSアプリケーションプログラム24から
印刷データが出力された場合に、設定されたカラー付加
情報38の内容に従って、上述したようにカラー付加処
理が実行され、プリンタ12により2色印刷が行なわれ
ることになる。
After the color addition information 38 is set in this manner, when print data is output from the POS application program 24, the color addition processing is executed as described above according to the contents of the set color addition information 38. Then, the printer 12 performs two-color printing.

【0041】以上説明したように、本実施形態では、P
OSアプリケーションプログラム24から出力された単
色の印刷データに、カラー付加情報36に応じたカラー
付加処理を行なって作成した複数色の印刷コマンドをプ
リンタ12へ送信する。このため、POSアプリケーシ
ョンプログラム24が単色プリンタにしか対応していな
い場合にも、プログラムを変更することなく、プリンタ
12によって複数色の印刷を行なうことができる。した
がって、本実施形態によれば、POSシステムのユーザ
である店舗に経済的な負担をかけることなく、複数色で
印刷された見易いレシートを発行できるようにすること
ができる。
As described above, in this embodiment, P
A single-color print data output from the OS application program 24 is subjected to color addition processing according to the color addition information 36, and a print command for a plurality of colors created and transmitted to the printer 12. Therefore, even when the POS application program 24 is compatible only with a single-color printer, the printer 12 can print a plurality of colors without changing the program. Therefore, according to the present embodiment, it is possible to issue an easy-to-read receipt printed in a plurality of colors without imposing an economical burden on the store that is the user of the POS system.

【0042】そして、カラー付加処理を行なうデータ加
工部30は、POSアプリケーションプログラム24と
プリンタ12とのインターフェースを提供するプリンタ
ドライバであるSO22に実装されているので、従前の
プリンタドライバをSO22に交換するだけで、上記し
た複数色の印刷を実現できる。
Since the data processing unit 30 for performing color addition processing is installed in SO22 which is a printer driver that provides an interface between the POS application program 24 and the printer 12, the conventional printer driver is replaced with SO22. Only by doing so, it is possible to realize the printing of the above-mentioned plural colors.

【0043】また、テキストへのカラー付加処理を印刷
行の行単位で行なうので、印刷内容を行単位で明瞭に区
別することができ、この点でもレシートが見易くなる。
すなわち、レシートの同じ行に印刷された商品名と金額
の対応関係が明瞭となり、商品名と金額とを1行ずらし
て読んでしまうといった見間違いを防止できる等の効果
が得られるのである。
Further, since the color adding process to the text is performed on a line-by-line basis of the print line, it is possible to clearly distinguish the print contents on a line-by-line basis, and in this respect also the receipt becomes easy to see.
That is, the correspondence between the product name and the amount of money printed on the same line of the receipt becomes clear, and it is possible to obtain the effect of preventing misunderstanding such that the product name and the amount of money are read one line apart.

【0044】また、イメージについてテキストとは別個
に印刷色を指定できるので、店舗のロゴマーク等につい
ては店舗側の希望に合わせた色で印刷することができ
る。
Further, since the printing color can be specified for the image separately from the text, the logo mark of the store can be printed in a color according to the wishes of the store.

【0045】また、カラー付加情報記憶部34に記憶し
たカラー付加情報38に従ってカラー付加処理を行なう
ので、カラー付加情報設定部40を介してカラー付加情
報38を適宜設定することにより、ユーザの好みに応じ
た態様で複数色の印刷を行なうことができる。
Further, since the color addition processing is performed in accordance with the color addition information 38 stored in the color addition information storage section 34, the color addition information 38 can be appropriately set through the color addition information setting section 40 to suit the user's preference. It is possible to perform printing in a plurality of colors in a corresponding manner.

【0046】ところで、一般に、プリンタ12のような
2色のインクジェット式プリンタにおいて、副色で印刷
される頻度は低いので、副色のインクは減り難い。この
ため、副色のインクは長期間プリンタ12に装着された
まま放置されることとなり、インク粘度の上昇やインク
組成の変質を招いて、印刷ヘッドの目詰まり等のトラブ
ル発生の原因となる場合がある。これに対して、本実施
形態では、POSアプリケーションプログラム24から
単色の印刷データが出力された場合にも、これに副色を
加えた印刷が行なわれる。このため、副色のインクも主
色のインクに近い頻度で使用されることとなるので、上
記のような印刷ヘッドの目詰まり等のトラブルの発生を
防止することができる。
By the way, generally, in a two-color ink jet printer such as the printer 12, the frequency of printing with the sub-color is low, and therefore the ink of the sub-color is difficult to decrease. For this reason, when the sub-colored ink is left attached to the printer 12 for a long period of time, it causes an increase in the ink viscosity and a change in the ink composition, which causes troubles such as clogging of the print head. There is. On the other hand, in the present embodiment, even when monochrome print data is output from the POS application program 24, printing is performed with sub colors added thereto. For this reason, the sub-colored ink is also used with a frequency close to that of the main-colored ink, so that it is possible to prevent the occurrence of troubles such as clogging of the print head as described above.

【0047】なお、上記実施形態では、テキストについ
てのカラー付加方式を文字色または背景色で指定するも
のとしたが、これに限らず、文字色および背景色の夫々
について印刷色を指定できるようにしてもよい。図10
および図11は、夫々、そのような指定を行なう場合の
カラー付加情報38および変換設定画面110の例を示
す。この場合、例えば、副色で印刷されたテキストの背
景に主色の背景を印刷するといった設定も可能であり、
2色印刷のバリエーションが広がることになる。
In the above embodiment, the color addition method for text is specified by the character color or the background color. However, the present invention is not limited to this, and the print color can be specified for each of the character color and the background color. May be. Figure 10
11 and 12 show examples of the color addition information 38 and the conversion setting screen 110 when such a designation is made. In this case, for example, it is possible to set the background of the main color to the background of the text printed in the secondary color.
The variations of two-color printing will spread.

【0048】また、上記実施形態では、行単位で指定さ
れた行数を単位として、カラー付加される行とカラー付
加されない行とを繰り返すものとしたが、カラー付加さ
れる行数とカラー付加されない行数とを独立に指定でき
るようにしてもよい。この場合、カラー付加される行数
とカラー付加されない行数とを異ならせることができ
る。
Further, in the above-described embodiment, the line to be color-added and the line to which color is not added are repeated with the number of lines specified in units of line as a unit. The number of lines may be specified independently. In this case, the number of lines to which color is added and the number of lines to which color is not added can be made different.

【0049】また、上記実施形態では、プリンタ12が
2色印刷が可能なプリンタであるものとしたが、本発明
はこれに限らず、3色以上の印刷が可能なプリンタ(例
えば、プリンタ12が主色および副色の同時印刷による
混色の印刷機能を有する場合や、3色以上の印字ヘッド
を備える場合)にも適用が可能である。
In the above embodiment, the printer 12 is a printer capable of two-color printing. However, the present invention is not limited to this, and a printer capable of printing three or more colors (for example, the printer 12 is The present invention can also be applied to the case where a printing function of mixed colors by simultaneous printing of main colors and sub colors is provided or a case where a print head having three or more colors is provided).

【0050】図12および図13は、プリンタ12が主
色、副色、および混色の3色で印字する機能を有する場
合についてのカラー付加情報38および変換設定画面1
02の例を示す。図12および図13に示す例では、文
字、背景、およびイメージについて夫々印刷色を主色,
副色、混色の中から選択できるようにしている。
FIGS. 12 and 13 show the color additional information 38 and the conversion setting screen 1 in the case where the printer 12 has a function of printing in three colors of the main color, the sub color and the mixed color.
An example of 02 is shown. In the example shown in FIG. 12 and FIG. 13, the printing colors of the character, the background, and the image are the main color,
You can choose from sub colors and mixed colors.

【0051】なお、上記実施形態では、本発明がPOS
システムにおけるレシート印刷に適用された場合につい
て説明したが、本発明はこれに限定されるものではな
く、複数色の印刷が可能なプリンタにより単色印刷用の
データに基づいて複数色の印刷を行なう場合に広く適用
が可能である。
In the above embodiment, the present invention is a POS.
The case where the present invention is applied to the receipt printing in the system has been described, but the present invention is not limited to this, and a case where a printer capable of printing a plurality of colors performs printing of a plurality of colors based on data for monochromatic printing. It can be widely applied to.

【0052】また、上記実施形態では、好ましい実施態
様としてイメージとテキストとを区別して夫々について
カラー付加処理の内容を指定できるものとした。しかし
ながら、本発明はこれに限らず、少なくともテキストに
ついて行単位でカラー付加を行えるようになっていれば
よい。
Further, in the above-described embodiment, as a preferred embodiment, the contents of the color addition processing can be specified for each image by distinguishing between images and text. However, the present invention is not limited to this, and it is sufficient that at least text can be color-added on a line-by-line basis.

【0053】[0053]

【発明の効果】以上説明したように、本発明によれば、
単色印刷用の印刷データに基づいて複数色での印刷を行
なうことができる。このため、既存のPOSシステムの
プログラムを変更することなく、店舗へのPOSプリン
タのインストールが可能で、システムの変更などの工
数、コストが削減でき店舗における利用価値が高まる。
As described above, according to the present invention,
Printing in a plurality of colors can be performed based on print data for single-color printing. Therefore, the POS printer can be installed in the store without changing the program of the existing POS system, the man-hours and costs for changing the system can be reduced, and the utility value in the store is increased.

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

【図1】本発明の一実施形態であるPOSシステムの全
体構成図である。
FIG. 1 is an overall configuration diagram of a POS system that is an embodiment of the present invention.

【図2】本実施形態のPOSシステムが備えるプリンタ
の機能ブロック図である。
FIG. 2 is a functional block diagram of a printer included in the POS system of this embodiment.

【図3】カラー付加機能を実現するためのホスト装置の
機能ブロック図である。
FIG. 3 is a functional block diagram of a host device for realizing a color addition function.

【図4】カラー付加情報の内容の一例を示す図である。FIG. 4 is a diagram showing an example of contents of color addition information.

【図5】本実施形態におけるレシートの印刷例を示す図
である。
FIG. 5 is a diagram showing an example of printing a receipt according to the present embodiment.

【図6】データ加工部およびコマンド出力部を実現する
プログラムの内容を示すフローチャートである。
FIG. 6 is a flowchart showing the contents of a program that realizes a data processing unit and a command output unit.

【図7】カラー付加処理の詳細を示すフローチャートで
ある。
FIG. 7 is a flowchart showing details of color addition processing.

【図8】基本設定画面の一例を示す図である。FIG. 8 is a diagram showing an example of a basic setting screen.

【図9】変換設定画面の一例を示す図である。FIG. 9 is a diagram showing an example of a conversion setting screen.

【図10】文字色および背景色を夫々独立に設定可能と
した場合のカラー付加情報の内容の一例を示す図であ
る。
FIG. 10 is a diagram showing an example of the content of color additional information when the character color and the background color can be set independently.

【図11】文字色および背景色を夫々独立に設定可能と
した場合の変換設定画面の一例を示す図である。
FIG. 11 is a diagram showing an example of a conversion setting screen when a character color and a background color can be independently set.

【図12】プリンタが主色、副色、および混色の3色で
印字する機能を有する場合のカラー付加情報の内容の一
例を示す図である。
FIG. 12 is a diagram showing an example of the content of color addition information when the printer has a function of printing with three colors of a primary color, a sub color, and a mixed color.

【図13】プリンタが主色、副色、および混色の3色で
印字する機能を有する場合の変換設定画面の一例を示す
図である。
FIG. 13 is a diagram showing an example of a conversion setting screen when the printer has a function of printing in three colors of a main color, a sub color, and a mixed color.

【符号の説明】[Explanation of symbols]

10 ホスト装置 12 プリンタ 14 入力装置 22 サービスオブジェクト(SO) 24 アプリケーションプログラム 30 データ加工部 32 コマンド出力部 34 カラー付加情報記憶部 36 カラー付加フラグ 38 カラー付加情報 10 Host device 12 Printer 14 Input device 22 Service Object (SO) 24 application programs 30 Data processing department 32 Command output section 34 Color additional information storage section 36 color addition flags 38 additional color information

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 1/46 H04N 1/40 D 5C079 1/60 1/46 C Fターム(参考) 2C087 AA15 BD31 BD55 CB17 3E042 BA07 CE01 5B021 AA14 LG07 LL05 5B057 AA11 CA12 CB01 CB12 CE16 CH01 5C077 MP08 PP31 PQ12 PQ22 TT02 TT10 5C079 LA02 LA10 LB12 LB13 MA01 MA11 NA06 PA03 ─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 7 Identification code FI theme code (reference) H04N 1/46 H04N 1/40 D 5C079 1/60 1/46 C F term (reference) 2C087 AA15 BD31 BD55 CB17 3E042 BA07 CE01 5B021 AA14 LG07 LL05 5B057 AA11 CA12 CB01 CB12 CE16 CH01 5C077 MP08 PP31 PQ12 PQ22 TT02 TT10 5C079 LA02 LA10 LB12 LB13 MA01 MA11 NA06 PA03

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 複数色での印刷が可能なプリンタを制御
するためのプリンタ制御装置であって、 単色での印刷を行うための単色印刷データに所定のカラ
ー付加処理を行なって、前記プリンタにより複数色での
印刷を行なうためのカラー印刷データを作成する印刷デ
ータ加工手段と、 該作成したカラー印刷データを前記プリンタへ送信する
送信手段とを備えることを特徴とするプリンタ制御装
置。
1. A printer control device for controlling a printer capable of printing in a plurality of colors, wherein predetermined color addition processing is performed on monochromatic print data for performing printing in a single color, and the printer controls the printer. A printer control device comprising: print data processing means for creating color print data for printing in a plurality of colors; and sending means for sending the created color print data to the printer.
【請求項2】 請求項1記載のプリンタ制御装置におい
て、前記印刷データ加工手段は、前記単色印刷データに
含まれる印刷行の行単位で前記カラー付加処理を行なう
ことを特徴とするプリンタ制御装置。
2. The printer control device according to claim 1, wherein the print data processing unit performs the color addition process on a line-by-line basis of print lines included in the single-color print data.
【請求項3】 請求項2記載のプリンタ制御装置におい
て、前記カラー付加処理は、前記単色印刷データに含ま
れる文字に背景色を付加する処理であることを特徴とす
るプリンタ制御装置。
3. The printer control device according to claim 2, wherein the color addition process is a process of adding a background color to a character included in the monochrome print data.
【請求項4】 請求項2または3記載のプリンタ制御装
置において、前記カラー付加処理は、前記単色印刷デー
タに含まれる文字のフォント色を変更する処理であるこ
とを特徴とするプリンタ制御装置。
4. The printer control device according to claim 2, wherein the color addition process is a process of changing a font color of a character included in the monochrome print data.
【請求項5】 請求項1乃至4のうち何れか1項記載の
プリンタ制御装置において、 前記カラー付加処理の内容を指定するカラー付加情報を
記憶した記憶手段を備え、 前記印刷データ加工手段は、前記カラー付加情報に従っ
て前記カラー付加処理を行なうことを特徴とするプリン
タ制御装置。
5. The printer control device according to claim 1, further comprising a storage unit that stores color addition information that specifies the content of the color addition process, wherein the print data processing unit includes: A printer control device for performing the color addition processing according to the color addition information.
【請求項6】 請求項1乃至5のうち何れか1項記載の
プリンタ制御装置において、前記単色印刷データは所定
のアプリケーションプログラムから出力される印刷デー
タであり、前記印刷データ加工手段は、前記アプリケー
ションプログラムと前記プリンタとのインターフェース
を提供するプリンタドライバとして構成されていること
を特徴とするプリンタ制御装置。
6. The printer control device according to claim 1, wherein the monochrome print data is print data output from a predetermined application program, and the print data processing unit includes the application. A printer control device configured as a printer driver that provides an interface between a program and the printer.
【請求項7】 請求項1乃至6のうち何れか1項記載の
プリンタ制御装置と、このプリンタ制御装置により制御
される複数色での印刷が可能なプリンタとにより構成さ
れたプリンタシステム。
7. A printer system comprising the printer control device according to claim 1 and a printer capable of printing in a plurality of colors controlled by the printer control device.
【請求項8】 請求項1乃至5のうち何れか1項記載の
プリンタ制御装置と、このプリンタ制御装置により制御
される複数色での印刷が可能なプリンタとを含み、前記
プリンタ制御装置は、所定の入力装置から入力された商
品情報に基づいて販売情報を集計してレシート印刷用の
印刷データを出力するPOSアプリケーション実行部を
備え、前記単色印刷データは、前記POSアプリケーシ
ョン実行部から出力されるレシート印刷用の印刷データ
であることを特徴とするPOSシステム。
8. A printer control device according to claim 1, and a printer capable of printing in a plurality of colors controlled by the printer control device, the printer control device comprising: A POS application execution unit that totals sales information based on product information input from a predetermined input device and outputs print data for receipt printing is provided, and the single-color print data is output from the POS application execution unit. A POS system characterized by print data for receipt printing.
【請求項9】 複数色での印刷が可能なプリンタを制御
するためのプリンタ制御方法であって、 単色での印刷を行うための単色印刷データを取得する印
刷データ取得ステップと、 前記単色印刷データに所定のカラー付加処理を行なっ
て、前記プリンタにより複数色の印刷を行なうためのカ
ラー印刷データを作成する印刷データ加工ステップと、 該作成したカラー印刷データを前記プリンタへ送信する
印刷データ送信ステップとを備えることを特徴とするプ
リンタ制御方法。
9. A printer control method for controlling a printer capable of printing in a plurality of colors, comprising: a print data acquisition step of acquiring a single color print data for performing a single color print; A print data processing step of creating a color print data for printing a plurality of colors by the printer by applying a predetermined color addition process to the printer, and a print data sending step of sending the created color print data to the printer. A printer control method comprising:
【請求項10】 請求項9記載のプリンタ制御方法にお
いて、前記データ加工ステップでは、前記単色印刷デー
タに含まれる印刷行の行単位で前記カラー付加処理を行
なうことを特徴とするプリンタ制御方法。
10. The printer control method according to claim 9, wherein, in the data processing step, the color addition processing is performed for each line of print lines included in the single-color print data.
【請求項11】 請求項10記載のプリンタ制御方法に
おいて、前記カラー付加処理では、前記単色印刷データ
の文字に背景色を付加することを特徴とするプリンタ制
御方法。
11. The printer control method according to claim 10, wherein in the color addition processing, a background color is added to the character of the single-color print data.
【請求項12】 請求項10または11記載のプリンタ
制御装置において、前記カラー付加処理では、前記単色
印刷データの文字のフォント色を変更することを特徴と
するプリンタ制御方法。
12. The printer control method according to claim 10, wherein in the color addition processing, the font color of the character of the single-color print data is changed.
【請求項13】 請求項9乃至12のうち何れか1項記
載のプリンタ制御方法をコンピュータに実行させるため
のプログラム。
13. A program for causing a computer to execute the printer control method according to claim 9. Description:
【請求項14】 請求項13記載のプログラムを記録し
たコンピュータ読み取り可能な記録媒体。
14. A computer-readable recording medium in which the program according to claim 13 is recorded.
JP2002064124A 2002-03-08 2002-03-08 Printer controller, printer control method, program for making computer execute printer control method, printer system and pos system Pending JP2003260819A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002064124A JP2003260819A (en) 2002-03-08 2002-03-08 Printer controller, printer control method, program for making computer execute printer control method, printer system and pos system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002064124A JP2003260819A (en) 2002-03-08 2002-03-08 Printer controller, printer control method, program for making computer execute printer control method, printer system and pos system

Publications (1)

Publication Number Publication Date
JP2003260819A true JP2003260819A (en) 2003-09-16

Family

ID=28670996

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002064124A Pending JP2003260819A (en) 2002-03-08 2002-03-08 Printer controller, printer control method, program for making computer execute printer control method, printer system and pos system

Country Status (1)

Country Link
JP (1) JP2003260819A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8717595B2 (en) 2008-03-21 2014-05-06 Seiko Epson Corporation Print controller having a filter driver installed in an operating system layer and a data outputting application installed in an application layer
JP2017087732A (en) * 2016-12-15 2017-05-25 セイコーエプソン株式会社 Printing device, control method of printing device, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8717595B2 (en) 2008-03-21 2014-05-06 Seiko Epson Corporation Print controller having a filter driver installed in an operating system layer and a data outputting application installed in an application layer
JP2017087732A (en) * 2016-12-15 2017-05-25 セイコーエプソン株式会社 Printing device, control method of printing device, and program

Similar Documents

Publication Publication Date Title
US7737990B2 (en) Colorization process and system and user interface for setting colorization information
US7280258B2 (en) Logo data generating system, logo data generating method, and data storage medium
JP6089406B2 (en) Image processing apparatus, printing apparatus, and image processing method
US20040105126A1 (en) Method of printing, program for realizing the same, recording medium, apparatus for printing, printer driver, merchandise sales data processing device, and point-of-sale system
US6789482B2 (en) Printing method, recording medium containing a program for applying the printing method, printer, printer driver, POS terminal, and POS system
US7355737B2 (en) Apparatus and method for two-color printing based on single color data
US20020118377A1 (en) Apparatus and method for printing image and information associated therewith
JP3719058B2 (en) Print control device
JP4241101B2 (en) Printing system, printer, printer driver, printing control method, program, and recording medium recording the program
JP2003260819A (en) Printer controller, printer control method, program for making computer execute printer control method, printer system and pos system
TW201637888A (en) Data processing apparatus, recording apparatus and control method of the data processing apparatus
JP6222311B2 (en) Printing apparatus, image processing apparatus, and data generation method
JP2003266804A (en) Printer, printer controlling method, apparatus and method for setting coloring information, program for executing these methods by computer and recording medium with the program recorded
JP4062413B2 (en) Printer control apparatus, printer control method, program for causing computer to execute printer control method, printer system, POS system
JP4341326B2 (en) Printing method, printing apparatus, printer driver, merchandise sales data processing apparatus, and POS system
JP4144218B2 (en) Logo data creation device, logo data creation method and recording medium thereof
JP2004013630A (en) Printer, printer driver, printing system, pos system, control method for printer, generation method of print data, program for impementing the methods by computer, and recording medium for the program
JP4062415B2 (en) Printer control apparatus, printer control method, program for causing computer to execute this method, recording medium recording this program, printer system, POS system
US8275280B2 (en) Print terminal unit and method of controlling print
KR20020055404A (en) Logotype printer
US8264741B2 (en) Color to black only percent threshold option for customers
EP1396808A1 (en) Method and apparatus of printing payment transaction information, program, printer driver and point of sale system for realising the same
JPH06246978A (en) Color printer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041221

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070402

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081125

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090121

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090303