JP6394304B2 - CONTROL METHOD FOR PRINT CONTROL DEVICE, PRINT CONTROL DEVICE, AND PRINT SYSTEM - Google Patents

CONTROL METHOD FOR PRINT CONTROL DEVICE, PRINT CONTROL DEVICE, AND PRINT SYSTEM Download PDF

Info

Publication number
JP6394304B2
JP6394304B2 JP2014230435A JP2014230435A JP6394304B2 JP 6394304 B2 JP6394304 B2 JP 6394304B2 JP 2014230435 A JP2014230435 A JP 2014230435A JP 2014230435 A JP2014230435 A JP 2014230435A JP 6394304 B2 JP6394304 B2 JP 6394304B2
Authority
JP
Japan
Prior art keywords
print
data
unit
text data
command
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.)
Active
Application number
JP2014230435A
Other languages
Japanese (ja)
Other versions
JP2016095608A5 (en
JP2016095608A (en
Inventor
明男 高本
明男 高本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2014230435A priority Critical patent/JP6394304B2/en
Priority to US14/921,461 priority patent/US9542676B2/en
Priority to CN201510702211.4A priority patent/CN105607875B/en
Publication of JP2016095608A publication Critical patent/JP2016095608A/en
Priority to US15/369,985 priority patent/US10102457B2/en
Publication of JP2016095608A5 publication Critical patent/JP2016095608A5/ja
Application granted granted Critical
Publication of JP6394304B2 publication Critical patent/JP6394304B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、印刷制御装置の制御方法等に関し、特に、既存のアプリケーション及びドラ
イバーと印刷出力の結果を変更せずに、印刷データからの情報取得を容易に行える様にす
ることのできる印刷制御装置の制御方法等に関する。
The present invention relates to a control method for a print control apparatus and the like, and in particular, a print control apparatus capable of easily obtaining information from print data without changing an existing application and driver and the result of print output. It relates to a control method of the above.

スーパーマーケットなどの小売販売業においては販売管理システムであるPOSシステ
ムが普及しており、当該システムでは、サーバーとネットワークで接続される複数の端末
装置(レジ)が当該装置に備えられるアプリケーションに従って動作し各種の処理を実行
する。また、通常、当該端末装置には、それぞれ、プリンターが設けられ、上記アプリケ
ーションの指示によりレシートやクーポンの出力を実行する。また、このような出力を伴
うPOSシステムと類似した構成のシステムとしては、病院で用いられるシステム、運送
会社で用いられるシステムなどがある。
In retail sales businesses such as supermarkets, a POS system, which is a sales management system, has become widespread, and in this system, a plurality of terminal devices (registers) connected to a server via a network operate according to applications provided in the device. Execute the process. Also, normally, each terminal device is provided with a printer, and outputs a receipt or a coupon according to an instruction from the application. In addition, as a system having a configuration similar to the POS system with such output, there are a system used in a hospital, a system used in a transportation company, and the like.

かかるシステムにおいて、導入後の技術向上や業務改善要望等に伴って、機能拡張の必
要が出てくる場合がある。特に、POSシステムの場合、売上情報の分析、電子レシート
化などの機能追加が望まれる場合がある。
In such a system, there is a case where the function needs to be expanded in accordance with a technical improvement or a business improvement request after the introduction. In particular, in the case of a POS system, it may be desired to add functions such as analysis of sales information and conversion to electronic receipts.

しかしながら、かかるシステムは一般に業務の中枢として常時利用されているものであ
り、また、他のシステムとも複雑に連携している場合も多いため、そのアプリケーション
を改変することは通常容易ではない。
However, since such a system is generally used as a business center at all times and is often linked in a complicated manner with other systems, it is usually not easy to modify the application.

かかる課題に対して、下記特許文献1では、POS端末が出力するデータを加工して外
部装置へ提供することが可能な技術について提案されている。
In order to deal with such a problem, Japanese Patent Application Laid-Open No. 2004-228561 proposes a technique that can process data output from a POS terminal and provide it to an external device.

一方、POSシステム等においてレシート等の印刷を命令する端末装置では、近年、多
くの場合、プリンター用のドライバーとしてWindows(登録商標)ドライバーを用
いており、この場合、印刷対象物はドライバーでラスターデータ化されてプリンターへ送
信される。
On the other hand, in recent years, terminal devices that command printing of receipts and the like in a POS system or the like often use a Windows (registered trademark) driver as a driver for a printer. Sent to the printer.

特開2014−85741号公報Japanese Unexamined Patent Publication No. 2014-85741

上記特許文献1に示される方法の場合、POS端末装置でWindowsドライバーが
用いられていると、印刷データから情報を取得するデータ処理装置において、ラスターデ
ータ化された印刷対象物(文字など)の意味を取得するために、OCR(Optical
Character Recognition)技術等を用いる必要があり、情報の正
確性、処理の負担などの点で課題がある。
In the case of the method disclosed in Patent Document 1, if a Windows driver is used in a POS terminal device, the meaning of a print object (such as characters) converted into raster data in a data processing device that acquires information from print data To obtain OCR (Optical
It is necessary to use (Character Recognition) technology and the like, and there are problems in terms of accuracy of information and processing burden.

また、POS端末装置からテキストデータをプリンターへ送信するモードに変更するこ
とで、上述の情報取得に係る課題はなくなるが、この場合には、印刷の際にプリンターが
内蔵するフォントを用いることになり、以前と出力の表現が変わってしまう虞がある。
Also, changing the mode to send text data from the POS terminal device to the printer eliminates the above-mentioned problem related to information acquisition. In this case, however, the font built in the printer is used for printing. There is a risk that the expression of the output will change.

また、このような機能追加のためにプリンタードライバーを新しくすると、既存のドラ
イバーが特殊な機能を用いていた場合などに、出力の表現が以前と変わってしまうことが
あり得る。
Also, if the printer driver is renewed for such a function addition, the output expression may change from the previous case when the existing driver uses a special function.

そこで、本発明の目的は、印刷制御装置の制御方法であって、既存のアプリケーション
及びドライバーと印刷出力の結果を変更せずに、印刷データからの情報取得を容易に行え
る様にすることのできる印刷制御装置の制御方法、等を提供することである。
Accordingly, an object of the present invention is a control method for a print control apparatus, which can easily acquire information from print data without changing the result of a print output with an existing application and driver. It is to provide a control method of a printing control apparatus.

上記の目的を達成するために、本発明の一つの側面は、印刷制御装置における制御方法
が、印刷要求データをプリンタードライバーが受け取る前に受信して当該印刷要求データ
から印刷対象のテキストデータを取得し、前記印刷要求データを前記プリンタードライバ
ーに送信する取得工程と、前記印刷要求データに基づいて前記プリンタードライバーが出
力する印刷データを受信し、前記取得工程で取得されたテキストデータを、前記印刷デー
タのコマンドを用いて前記印刷データに付加し、当該付加後の印刷データをプリンターへ
送信する合成工程と、を有する、ことである。
In order to achieve the above object, according to one aspect of the present invention, a control method in a print control apparatus receives print request data before the printer driver receives the print request data and obtains text data to be printed from the print request data. Receiving the print data output from the printer driver based on the print request data, and obtaining the text data acquired in the acquisition step And a compositing step of adding the print data after the addition to the printer using the command.

更に、上記発明において、その好ましい態様は、前記プリンタードライバーが出力する
印刷データでは、印刷内容がラスターデータで表現される、ことを特徴とする。
Furthermore, in the above-described invention, a preferable aspect thereof is characterized in that the print content is expressed by raster data in the print data output by the printer driver.

更に、上記発明において、その好ましい態様は、前記合成工程では、前記テキストデー
タを印刷物における出現順に並べ替えて前記印刷データに付加する、ことを特徴とする。
Furthermore, in the above invention, a preferred aspect thereof is characterized in that, in the synthesis step, the text data is rearranged in the order of appearance in a printed matter and added to the print data.

更に、上記発明において、その一つの態様は、前記合成工程における前記印刷データへ
の付加は、プリンターで所定印刷範囲の印刷データを蓄積した後に当該蓄積した印刷デー
タについて印刷処理を実行するページモードの登録コマンドと、当該ページモードによる
印刷のキャンセルコマンドの間に、前記取得されたテキストデータを入れて行う、ことを
特徴とする。
Further, in the above invention, one aspect is that the addition to the print data in the combining step is a page mode in which print data of a predetermined print range is accumulated by a printer and print processing is executed on the accumulated print data. The acquired text data is inserted between a registration command and a print cancel command in the page mode.

更に、上記発明において、その一つの態様は、前記合成工程における前記印刷データへ
の付加は、印刷データをテキストデータで前記プリンターへ送信するテキストモードの開
始コマンドと、所定文字数のテキストデータ及びそれに続くクリアコマンドを用いて行う
、ことを特徴とする。
Further, in the above-mentioned invention, one aspect thereof is that the addition to the print data in the combining step is a text mode start command for transmitting the print data to the printer as text data, text data of a predetermined number of characters, and the following. It is performed using a clear command.

上記の目的を達成するために、本発明の別の側面は、印刷制御装置が、印刷要求データ
をプリンタードライバーが受け取る前に受信して当該印刷要求データから印刷対象のテキ
ストデータを取得し、前記印刷要求データを前記プリンタードライバーに送信する取得部
と、前記印刷要求データに基づいて前記プリンタードライバーが出力する印刷データを受
信し、前記取得されたテキストデータを、前記印刷データのコマンドを用いて前記印刷デ
ータに付加し、当該付加後の印刷データをプリンターへ送信する合成部と、を有する、こ
とである。
In order to achieve the above object, according to another aspect of the present invention, the print control apparatus receives the print request data before the printer driver receives the print request data, acquires the print target text data from the print request data, and An acquisition unit that transmits print request data to the printer driver; receives print data output by the printer driver based on the print request data; and uses the print data command to receive the acquired text data. And a combining unit that adds the print data to the printer and transmits the print data after the addition to the printer.

上記の目的を達成するために、本発明の更に別の側面は、プリンターとその印刷制御装
置を有する印刷システムにおいて、前記印刷制御装置は、印刷要求データをプリンタード
ライバーが受け取る前に受信して当該印刷要求データから印刷対象のテキストデータを取
得し、前記印刷要求データを前記プリンタードライバーに送信する取得部と、前記印刷要
求データに基づいて前記プリンタードライバーが出力する印刷データを受信し、前記取得
されたテキストデータを、前記印刷データのコマンドを用いて前記印刷データに付加し、
当該付加後の印刷データを前記プリンターへ送信する合成部と、を備え、前記プリンター
は、前記送信された印刷データから前記付加されたテキストデータを取得するテキストデ
ータ処理部と、前記印刷データに基づいて印刷処理を実行する印刷部と、を備える、こと
である。
In order to achieve the above object, according to still another aspect of the present invention, in a printing system including a printer and a print control device thereof, the print control device receives the print request data before the printer driver receives the print request data. An acquisition unit that acquires text data to be printed from print request data and transmits the print request data to the printer driver; receives print data output by the printer driver based on the print request data; Adding the text data to the print data using the print data command,
A composition unit that transmits the added print data to the printer, and the printer is based on the print data and a text data processing unit that acquires the added text data from the transmitted print data. A printing unit that executes the printing process.

更に、上記発明において、その一つの態様は、前記テキストデータ処理部は、前記取得
したテキストデータを記憶し、当該テキストデータを所定のタイミングで他の装置へ送信
する、ことを特徴とする。
Furthermore, in the above-described invention, one aspect thereof is characterized in that the text data processing unit stores the acquired text data and transmits the text data to another device at a predetermined timing.

本発明の更なる目的及び、特徴は、以下に説明する発明の実施の形態から明らかになる
Further objects and features of the present invention will become apparent from the embodiments of the invention described below.

本発明を適用した印刷システムの実施の形態例に係る構成図である。1 is a configuration diagram according to an embodiment of a printing system to which the present invention is applied. フィルタードライバー部12とコマンド合成部14における処理の手順を例示したフローチャートである。4 is a flowchart illustrating an example of processing procedures in a filter driver unit 12 and a command synthesis unit 14. 印刷データの構造を概念的に例示した図である。FIG. 3 is a diagram conceptually illustrating the structure of print data. テキストデータ処理部21における処理手順を例示したフローチャートである。5 is a flowchart illustrating a processing procedure in a text data processing unit 21. 印刷制御部22及び印刷機構部23における処理手順を例示したフローチャートである。5 is a flowchart illustrating an example of a processing procedure in a print control unit 22 and a print mechanism unit 23.

以下、図面を参照して本発明の実施の形態例を説明する。しかしながら、かかる実施の
形態例が、本発明の技術的範囲を限定するものではない。なお、図において、同一又は類
似のものには同一の参照番号又は参照記号を付して説明する。
Embodiments of the present invention will be described below with reference to the drawings. However, such an embodiment does not limit the technical scope of the present invention. In the drawings, the same or similar elements are denoted by the same reference numerals or reference symbols.

図1は、本発明を適用した印刷システムの実施の形態例に係る構成図である。図1に示
すPOS(Point Of Sales)端末装置1では、POSアプリケーション部
11から印刷要求データが出力された際に、フィルタードライバー部12が、その印刷要
求データをプリンタードライバー部13が受け取る前に受信し、その印刷要求データから
印刷対象のテキストデータを取得する。その後、印刷要求データに基づいてプリンタード
ライバー部13が生成したレシートプリンター2用の印刷データに、コマンド合成部14
が、上記取得されたテキストデータを付加する処理を実行し、その後の印刷データをレシ
ートプリンター2に送信する。この処理により、印刷データを受信するレシートプリンタ
ー2では、上記付加されたテキストデータを取得することにより、容易にレシートの印刷
データから売上情報を取得することができる。従って、既存のPOSシステムに売上情報
の分析機能等を追加しようとする場合に、既存のPOSアプリケーションやプリンタード
ライバーを改変する必要がなく、容易であると共に印刷出力の結果を変えてしまうことも
ない。
FIG. 1 is a configuration diagram according to an embodiment of a printing system to which the present invention is applied. In the POS (Point Of Sales) terminal device 1 shown in FIG. 1, when print request data is output from the POS application unit 11, the filter driver unit 12 receives the print request data before the printer driver unit 13 receives it. The text data to be printed is acquired from the print request data. Thereafter, the command combining unit 14 adds the print data for the receipt printer 2 generated by the printer driver unit 13 based on the print request data.
However, the process of adding the acquired text data is executed, and the subsequent print data is transmitted to the receipt printer 2. With this process, the receipt printer 2 that receives the print data can easily acquire the sales information from the print data of the receipt by acquiring the added text data. Therefore, when adding a sales information analysis function or the like to an existing POS system, it is not necessary to modify an existing POS application or printer driver, and it is easy and does not change the print output result. .

図1に示すように、本実施の形態例に係る印刷システムは、POS端末装置1及びレシ
ートプリンター2を備え、レシートプリンター2は、インターネットなどのネットワーク
4を介して売上情報分析サーバー3と接続される。
As shown in FIG. 1, the printing system according to the present embodiment includes a POS terminal device 1 and a receipt printer 2, and the receipt printer 2 is connected to a sales information analysis server 3 via a network 4 such as the Internet. The

POS端末装置1は、スーパーマーケットなどのレジに設けられるPOSシステムの端
末装置であり、レシートプリンター2と通信可能に接続される。POS端末装置1は、レ
シートプリンター2のホスト装置(印刷制御装置)であり、商品販売の会計時(精算時)
などにレシートプリンター2に対してレシートやクーポンの印刷指示を行う。また、PO
S端末装置1は、コンピューターで構成され、図示していないが、CPU、RAM、RO
M、HDDなどを備える。また、周辺装置として、図示していないが、ディスプレイ、キ
ーボード、バーコードリーダー、及びカードリーダー等を備える。
The POS terminal device 1 is a terminal device of a POS system provided at a cash register such as a supermarket, and is connected to the receipt printer 2 so as to be communicable. The POS terminal device 1 is a host device (printing control device) for the receipt printer 2, and at the time of product sales accounting (at the time of payment)
For example, the receipt printer 2 is instructed to print a receipt or coupon. PO
The S terminal device 1 is composed of a computer, and although not shown, a CPU, RAM, RO
M, HDD, etc. Although not shown, the peripheral device includes a display, a keyboard, a barcode reader, a card reader, and the like.

図1に示すように、POS端末装置1は、機能構成として、POSアプリケーション部
11、フィルタードライバー部12、プリンタードライバー部13、及びコマンド合成部
14を備える。
As shown in FIG. 1, the POS terminal device 1 includes a POS application unit 11, a filter driver unit 12, a printer driver unit 13, and a command composition unit 14 as functional configurations.

POSアプリケーション部11は、商品販売時の精算処理、レシート・クーポンの印刷
要求、図示していないPOSサーバーへのデータ送信等を担う部分である。上記印刷要求
時には、印刷要求データをプリンタードライバー部13に向けて出力する。印刷要求デー
タは、標準的なコマンドで表現され、ここでは、GDI(Graphic Device Interface)仕
様で表現される。なお、POSアプリケーション部11は、POS端末装置1を構成する
コンピューターのアプリケーション層に位置し、上述した処理の手順を記述したアプリケ
ーションプログラム、当該プログラムに従って動作するCPU、RAM等によって構成さ
れる。
The POS application unit 11 is a part responsible for checkout processing at the time of product sales, receipt / coupon print request, data transmission to a POS server (not shown), and the like. At the time of the print request, the print request data is output to the printer driver unit 13. The print request data is expressed by a standard command, and here is expressed by a GDI (Graphic Device Interface) specification. Note that the POS application unit 11 is located in an application layer of a computer that constitutes the POS terminal device 1 and includes an application program that describes the above-described processing procedure, a CPU that operates according to the program, a RAM, and the like.

フィルタードライバー部12(取得部)は、POSアプリケーション部11からプリン
タードライバー部13に向けて出力された印刷要求データを、プリンタードライバー部1
3が受け取る前に受信し、その印刷要求データから印刷対象のテキストデータを取得する
部分である。なお、フィルタードライバー部12は、POS端末装置1を構成するコンピ
ューターのOS(オペレーティングシステム)カーネル層に位置し、上述した処理の手順
を記述したプログラム、当該プログラムに従って動作するCPU、RAM等によって構成
される。
The filter driver unit 12 (acquisition unit) outputs the print request data output from the POS application unit 11 to the printer driver unit 13 to the printer driver unit 1.
3 is received before the print request data is received from the print request data. The filter driver unit 12 is located in the OS (operating system) kernel layer of the computer that constitutes the POS terminal device 1, and is configured by a program that describes the above-described processing procedure, a CPU that operates according to the program, a RAM, and the like. The

プリンタードライバー部13は、レシートプリンター2用のドライバー機能を担う部分
である。プリンタードライバー部13は、POSアプリケーション部11から出力された
印刷要求データを受信し、その印刷要求データに従ってレシートプリンター2用のコマン
ドで表現された印刷データを生成し、その印刷データを、レシートプリンター2へ向けて
設定されたポート等に対して送信する。また、プリンタードライバー部13は、印刷要求
データに含まれる印刷対象(印刷する内容)を画像化し、そのラスターデータを印刷デー
タに含める。なお、ラスターデータは、印刷対象を画素毎に各色の濃度階調値で表現した
データを意味する。なお、プリンタードライバー部13は、POS端末装置1を構成する
コンピューターのアプリケーション層に位置し、ドライバープログラム、当該プログラム
に従って動作するCPU、RAM等によって構成される。
The printer driver unit 13 is a part that performs a driver function for the receipt printer 2. The printer driver unit 13 receives the print request data output from the POS application unit 11, generates print data represented by a command for the receipt printer 2 in accordance with the print request data, and uses the print data as the receipt printer 2. Sends to the port etc. set for. In addition, the printer driver unit 13 converts the print target (contents to be printed) included in the print request data into an image, and includes the raster data in the print data. Note that the raster data means data in which a print target is expressed by a density gradation value of each color for each pixel. The printer driver unit 13 is located in an application layer of a computer that constitutes the POS terminal device 1 and includes a driver program, a CPU that operates according to the program, a RAM, and the like.

コマンド合成部14(合成部)は、フィルタードライバー部12が取得したテキストデ
ータを、プリンタードライバー部13が生成した印刷データに付加する処理を行う部分で
ある。具体的な処理内容については後述する。なお、コマンド合成部14は、POS端末
装置1を構成するコンピューターのアプリケーション層に位置し、上記処理を指示するプ
ログラム、当該プログラムに従って動作するCPU、RAM等によって構成される。
The command composition unit 14 (composition unit) is a part that performs processing for adding the text data acquired by the filter driver unit 12 to the print data generated by the printer driver unit 13. Specific processing contents will be described later. The command composition unit 14 is located in an application layer of a computer that constitutes the POS terminal device 1 and includes a program that instructs the above processing, a CPU that operates according to the program, a RAM, and the like.

次に、レシートプリンター2は、POS端末装置1の指示に従ってレシート・クーポン
等を印刷するプリンターである。印刷方式としては、例えば、インクジェット方式、サー
マル方式などを用いることができる。レシートプリンター2は、ロール状の用紙に印刷対
象を印刷し、印刷が完了するとカッターにより用紙を切断する。
Next, the receipt printer 2 is a printer that prints a receipt, a coupon, or the like in accordance with an instruction from the POS terminal device 1. As the printing method, for example, an inkjet method, a thermal method, or the like can be used. The receipt printer 2 prints an object to be printed on roll-shaped paper, and cuts the paper with a cutter when printing is completed.

また、レシートプリンター2は、いわゆるインテリジェントプリンターと呼ばれるもの
であり、一般的なプリンターにおける印刷制御部のほかに、パーソナルコンピューターと
同様のデータ処理装置(演算装置)を備える。
The receipt printer 2 is a so-called intelligent printer, and includes a data processing device (arithmetic device) similar to a personal computer in addition to a print control unit in a general printer.

機能構成としては、図1に示すように、レシートプリンター2は、テキストデータ処理
部21、印刷制御部22、及び、印刷機構部23(印刷制御部22と印刷機構部23で印
刷部)を備える。
As a functional configuration, as shown in FIG. 1, the receipt printer 2 includes a text data processing unit 21, a print control unit 22, and a printing mechanism unit 23 (a printing unit including the printing control unit 22 and the printing mechanism unit 23). .

テキストデータ処理部21は、上述したデータ処理装置、すなわち、CPU、ROM、
RAM、HDD等と、処理内容を記述したプログラム等で構成することができる。当該テ
キストデータ処理部21は、POS端末装置1から送信される上述した印刷データを受信
し、その印刷データに付加されたテキストデータを取得する処理、取得したテキストデー
タを売上情報分析サーバー3に送信する処理等を実行する。
The text data processing unit 21 is the data processing device described above, that is, a CPU, a ROM,
It can be composed of a RAM, an HDD, etc., and a program describing the processing contents. The text data processing unit 21 receives the above-described print data transmitted from the POS terminal device 1, acquires the text data added to the print data, and transmits the acquired text data to the sales information analysis server 3. The process etc. which perform are performed.

次に、印刷制御部22は、いわゆるプリンターの制御部であり、上記受信された印刷デ
ータに従って印刷処理を制御する部分である。印刷制御部22は、プログラム、CPU、
ROM、RAM、ASIC、NVRAM等で構成することができる。
Next, the print control unit 22 is a so-called printer control unit, and controls printing processing according to the received print data. The print control unit 22 includes a program, a CPU,
A ROM, a RAM, an ASIC, an NVRAM, or the like can be used.

印刷機構部23は、印刷制御部22の制御で動作し、用紙に印刷処理を施す部分である
。印刷機構部23は、印刷ヘッド、用紙の搬送装置、カッター等を備える。
The printing mechanism unit 23 operates under the control of the printing control unit 22 and performs a printing process on the paper. The printing mechanism unit 23 includes a print head, a paper transport device, a cutter, and the like.

次に、売上情報分析サーバー3は、レシートプリンター2から送信される上述したテキ
ストデータを受信し、受信したテキストデータを用いて、売上分析処理、電子レシート提
供処理等を実行するサーバーコンピューターである。
Next, the sales information analysis server 3 is a server computer that receives the above-described text data transmitted from the receipt printer 2 and executes sales analysis processing, electronic receipt provision processing, and the like using the received text data.

売上分析処理では、レシートに印刷される、販売した商品の名称、個数、及び単価、販
売店、販売日、合計金額(販売総額)等の情報が上述したテキストデータとして得られる
ので、例えば、売上の時間変動、季節変動、及び地域変動等の分析を行うことができる。
また、電子レシート提供処理では、レシートに印刷される主要な情報がテキストデータと
して取得されるので、ユーザーの端末装置からのアクセスに応答して、要求されたレシー
トの内容を示す画面を、その端末装置に提供することができる。
In the sales analysis process, information such as the name, number and unit price of the sold product printed on the receipt, the store, the sales date, the total price (total sales), etc. is obtained as the text data described above. Analysis of time variation, seasonal variation, and regional variation.
Also, in the electronic receipt providing process, main information printed on the receipt is acquired as text data, so in response to access from the user's terminal device, a screen showing the contents of the requested receipt is displayed on the terminal. Can be provided to the device.

以上説明したような構成を備える本実施の形態例に係る印刷システムでは、レシートの
印刷要求がなされた際に、以下のような手順で処理が実行される。図2は、フィルタード
ライバー部12とコマンド合成部14における処理の手順を例示したフローチャートであ
る。レシートの印刷要求時には、上述の通り、POSアプリケーション部11から印刷要
求データが出力される。フィルタードライバー部12は、当該印刷要求データをプリンタ
ードライバー部13が受信する前に、受信する(図2のステップS1)。
In the printing system according to the present embodiment having the configuration as described above, when a receipt printing request is made, processing is executed in the following procedure. FIG. 2 is a flowchart illustrating an example of a processing procedure in the filter driver unit 12 and the command synthesis unit 14. At the time of receipt print request, print request data is output from the POS application unit 11 as described above. The filter driver unit 12 receives the print request data before the printer driver unit 13 receives it (step S1 in FIG. 2).

具体的には、印刷要求データは、前述のとおり、GDI仕様で記述されており、プリン
タードライバー部13に渡される際にOSカーネル層に備えられるGDI関数を呼びに行
くので、フィルタードライバー部12は、その際にGDI関数の呼び口で印刷要求データ
を捉える。
Specifically, as described above, the print request data is described in the GDI specification, and when the print request data is passed to the printer driver unit 13, the GDI function provided in the OS kernel layer is called. At that time, the print request data is captured at the GDI function call.

その後、フィルタードライバー部12は、受信した印刷要求データのコマンドを逐次解
釈する(図2のステップS2)。印刷要求がなされたレシートに含まれる印刷対象物には
、店舗名、商品名等を表す文字、価格等を表す数字、ロゴ等を表すイメージなどが含まれ
、上記解釈の結果、印刷対象物が文字や数字のテキストである場合には、フィルタードラ
イバー部12は、そのテキストデータを取得(抽出)し、その印刷位置情報と共にメモリ
に記憶する(図2のステップS3)。
Thereafter, the filter driver unit 12 sequentially interprets the received print request data command (step S2 in FIG. 2). The print object included in the receipt for which the print request has been made includes characters such as store names, product names, numbers representing prices, etc., images representing logos, etc. If the text is a character or numeric text, the filter driver unit 12 acquires (extracts) the text data and stores it in the memory together with the print position information (step S3 in FIG. 2).

フィルタードライバー部12は、その後、受信した印刷要求データをプリンタードライ
バー部13に送信する(図2のステップS4)。
Thereafter, the filter driver unit 12 transmits the received print request data to the printer driver unit 13 (step S4 in FIG. 2).

プリンタードライバー部13は、送信された印刷要求データを解釈して、レシートに印
刷される印刷対象を画像化し、印刷すべき印刷内容をラスターデータとしてレシートプリ
ンター2用のコマンドを用いて印刷データを生成する。そして、生成した印刷データをプ
リンタードライバー部13に設定されている出力先に送信する。なお、予め当該出力先と
してコマンド合成部14が設定されている。
The printer driver unit 13 interprets the transmitted print request data, images the print target to be printed on the receipt, and generates print data using the command for the receipt printer 2 with the print content to be printed as raster data To do. Then, the generated print data is transmitted to the output destination set in the printer driver unit 13. A command composition unit 14 is set in advance as the output destination.

図2に戻って、次に、コマンド合成部14は、フィルタードライバー部12によって取
得され記憶されているテキストデータを読み出して、そのテキストデータの並べ替え処理
を実行する(図2のステップS5)。印刷要求データに含まれるテキストデータの印刷対
象物は、必ずしも印刷した際の順番になっていないので、すなわち、レシートにおける上
からの順番になっていないので、当該並べ替えの処理では、コマンド合成部14は、取得
したテキストデータをレシートにおける出現順に並べ替える。
Returning to FIG. 2, next, the command synthesis unit 14 reads the text data acquired and stored by the filter driver unit 12, and executes the reordering process of the text data (step S5 in FIG. 2). Since the print target of the text data included in the print request data is not necessarily in the order in which it was printed, that is, it is not in the order from the top in the receipt, 14 rearranges the acquired text data in the order of appearance in the receipt.

具体的には、上記印刷位置情報に基づいて、各印刷対象物を表すテキストデータをレシ
ートにおける出現順にソートする。より具体的には、まず、レシートの上下方向で上側を
先にしたソートを行い、その後、上下方向が同じ印刷対象物について、レシートの左右方
向で左を先とするソートを行う。
Specifically, text data representing each print object is sorted in the order of appearance in the receipt based on the print position information. More specifically, first, sorting is performed with the upper side first in the up-down direction of the receipt, and then, with respect to the print target having the same up-down direction, sorting is performed with the left in the left-right direction of the receipt first.

次に、コマンド合成部14は、並べ替え処理を終了したテキストデータを上記生成され
た印刷データに付加するための付加コマンドの生成を行う(図2のステップS6)。当該
処理では、コマンド合成部14は、レシートプリンター2用のコマンドを用いてレシート
プリンター2の印刷制御部22が理解(解釈)可能な表現で、かつ、レシートプリンター
2で当該テキストデータが印刷されないように、テキストデータを付加する付加コマンド
を生成する。
Next, the command composition unit 14 generates an additional command for adding the text data that has undergone the rearrangement process to the generated print data (step S6 in FIG. 2). In this process, the command composition unit 14 uses a command for the receipt printer 2 so that the print control unit 22 of the receipt printer 2 can understand (interpret) and the receipt printer 2 does not print the text data. An additional command for adding text data is generated.

具体的には、一つの例として、ページモード用のコマンドを用いて当該付加コマンドを
生成することができる。レシートプリンター2では、通常、上述の通り、印刷データに含
まれる印刷対象物はラスターデータで表現されているので、受信したラスターデータを、
順次、印刷処理し、データを蓄積しておくことはしないが、このページモードでは、所定
範囲分(1ページ分、1レシート分)の印刷対象物のデータを、レシートプリンター2の
メモリに蓄積(保持)した後に、その範囲についての印刷処理を実行する。また、このペ
ージモードでは、印刷対象物はラスターデータで表現されている必要はなく、テキストデ
ータで表現されていてよい。また、このページモードでは、ページモードを登録するコマ
ンド(ページモード開始コマンド)、印刷対象物のデータ、印刷処理の実行に係るコマン
ドの順で印刷データ内のコマンドが構成される。
Specifically, as an example, the additional command can be generated using a page mode command. In the receipt printer 2, normally, as described above, the print object included in the print data is expressed by raster data.
In this page mode, the print target data for a predetermined range (one page, one receipt) is stored in the memory of the receipt printer 2 (in this page mode, the data is not sequentially stored and stored. (Holding), the printing process for the range is executed. In this page mode, the print object need not be expressed as raster data, and may be expressed as text data. Also, in this page mode, commands in the print data are configured in the order of a command for registering the page mode (page mode start command), print target object data, and a command related to execution of print processing.

この例では、このページモードのコマンドを利用し、ページモード登録コマンド、上記
取得し並べ替えたテキストデータ、及び、キャンセルコマンドを、この順番で並べて付加
コマンドとする。
In this example, using the page mode command, the page mode registration command, the acquired and rearranged text data, and the cancel command are arranged in this order as an additional command.

図3は、印刷データの構造を概念的に例示した図である。図3に示す例は、コマンド
合成部14で生成されレシートプリンター2に送信される印刷データの一例を示しており
、1レシート分のデータを表している。図3において、C2は、上述した画像化された印
刷内容のラスターデータであり、C1で示される印刷開始コマンドは、このラスターデー
タのヘッダーとしてラスターデータの量(バイト数)等を示すものである。また、C6に
示す印刷終了コマンドは、印刷データの終了を示すコマンドであり、ここではカットコマ
ンドである。これらC1、C2、及びC6が上述したプリンタードライバー部13で生成
される印刷データである。
FIG. 3 is a diagram conceptually illustrating the structure of print data. The example shown in FIG. 3 shows an example of print data generated by the command synthesis unit 14 and transmitted to the receipt printer 2, and represents data for one receipt. In FIG. 3, C2 is raster data of the imaged print content described above, and the print start command indicated by C1 indicates the amount (number of bytes) of raster data as a header of the raster data. . A print end command indicated by C6 is a command indicating the end of print data, and is a cut command here. These C1, C2, and C6 are print data generated by the printer driver unit 13 described above.

図3のA1で示す部分がコマンド合成部14で生成される付加コマンドの部分であり、
上述にとおり、ページモード登録コマンド(C3)、上記並べ替えたテキストデータ(C
4)、及び、キャンセルコマンド(C5)が当該部分に含まれる。
A portion indicated by A1 in FIG. 3 is a portion of the additional command generated by the command synthesis unit 14,
As described above, the page mode registration command (C3), the rearranged text data (C
4) and the cancel command (C5) are included in this part.

なお、他のコマンドを利用して付加コマンドを生成することもできる。二つ目の例とし
て、テキストモード(印刷データをテキストデータでプリンターへ送信するモード)にお
いて、用紙幅を超えない文字数のテキストデータとクリアコマンドを用いて上記付加コマ
ンドを生成することもできる。具体的には、コマンド合成部14は、まず、テキストモー
ドの開始コマンドを用意する。その後、用紙幅内に1行で入る文字数を求め、上記並べ替
えたテキストデータから、順次、当該文字数のテキストデータを取り出してテキストモー
ドの開始コマンドに付加し、その後に、クリアコマンドを付加する。そして、上記テキス
トデータがなくなるまで、上記文字数のテキストデータとクリアコマンドの付加を繰り返
し行う。その結果生成されるテキストモードの開始コマンドから最後のクリアコマンドま
でが付加コマンドとなる。
An additional command can be generated using another command. As a second example, in the text mode (a mode in which print data is transmitted to the printer as text data), the additional command can be generated using text data having a number of characters not exceeding the paper width and a clear command. Specifically, the command composition unit 14 first prepares a text mode start command. Thereafter, the number of characters that can be entered in one line within the sheet width is obtained, and the text data of the number of characters is sequentially extracted from the rearranged text data and added to the text mode start command, and then the clear command is added. Then, the text data of the number of characters and the clear command are repeatedly added until the text data is exhausted. The additional commands are from the text mode start command to the last clear command generated as a result.

このようにして付加コマンドが生成されると、コマンド合成部14は、プリンタードラ
イバー部13が生成した印刷データに付加コマンドを付加する処理を行う(図2のステッ
プS7)。具体的には、上述の通り、プリンタードライバー部13からの印刷データの送
信先がコマンド合成部14に設定されているので、プリンタードライバー部13から送信
された印刷データを受信し、上記生成した付加コマンドを受信した印刷データの所定箇所
に組み込む(合成する)。
When the additional command is generated in this way, the command composition unit 14 performs processing for adding the additional command to the print data generated by the printer driver unit 13 (step S7 in FIG. 2). Specifically, as described above, since the transmission destination of the print data from the printer driver unit 13 is set in the command composition unit 14, the print data transmitted from the printer driver unit 13 is received and the generated addition The command is incorporated (synthesized) in a predetermined location of the received print data.

ページモードのコマンドを利用して付加コマンドを生成した場合には図3に例示した箇
所に組み込み、テキストモードのコマンドを利用して付加コマンドを生成した場合には、
同様に、図3のA1で示す箇所に付加コマンドを組み込む。
When an additional command is generated using a page mode command, it is incorporated in the location illustrated in FIG. 3, and when an additional command is generated using a text mode command,
Similarly, an additional command is incorporated at a location indicated by A1 in FIG.

このようにして付加処理が終了すると、コマンド合成部14は、付加処理後の印刷デー
タをレシートプリンター2に送信する(図2のステップS8)。
When the addition process is completed in this way, the command composition unit 14 transmits the print data after the addition process to the receipt printer 2 (step S8 in FIG. 2).

以上のようにしてPOS端末装置1における処理が終了する。   As described above, the processing in the POS terminal device 1 ends.

次に、レシートプリンター2のテキストデータ処理部21の処理について説明する。図
4は、テキストデータ処理部21における処理手順を例示したフローチャートである。テ
キストデータ処理部21は、コマンド合成部14から送信された上記印刷データを受信し
(図4のステップS11)、その印刷データに含まれるコマンドを順次解釈する(図4の
ステップS12)。
Next, processing of the text data processing unit 21 of the receipt printer 2 will be described. FIG. 4 is a flowchart illustrating a processing procedure in the text data processing unit 21. The text data processing unit 21 receives the print data transmitted from the command synthesis unit 14 (step S11 in FIG. 4), and sequentially interprets the commands included in the print data (step S12 in FIG. 4).

テキストデータ処理部21は、当該解釈処理において、テキストデータを含まないと判
断した部分については、そのまま印刷データを印刷制御部22に送信し(図4のステップ
S14)、一方、テキストデータであると判断した部分については、そのテキストデータ
を取得してメモリに記憶し(図4のステップS13)、その後、当該部分の印刷データを
印刷制御部22に送信する(図4のステップS14)。
The text data processing unit 21 transmits the print data as it is to the print control unit 22 for the portion determined not to include the text data in the interpretation process (step S14 in FIG. 4), and on the other hand, the text data is the text data. For the determined part, the text data is acquired and stored in the memory (step S13 in FIG. 4), and then the print data of the part is transmitted to the print control unit 22 (step S14 in FIG. 4).

図3に例示した印刷データの場合には、C4のテキストデータが取得されて記憶され、
印刷データ全体(C1−C6)は、印刷制御部22に送信される。
In the case of the print data illustrated in FIG. 3, C4 text data is acquired and stored,
The entire print data (C1-C6) is transmitted to the print control unit 22.

また、テキストモードを利用して所定数のテキストデータとクリアコマンドを付加した
上述の例では、テキストデータの部分は取得されて記憶され、印刷データ全体は、印刷制
御部22に送信される。
In the above example in which a predetermined number of text data and a clear command are added using the text mode, the text data portion is acquired and stored, and the entire print data is transmitted to the print control unit 22.

なお、代替案として、テキストデータの取得・記憶後、テキストデータ処理部21が、
テキストデータ部分を印刷データから削除し、その後の印刷データを印刷制御部22に送
信するようにしてもよい。なお、この場合、上記付加処理で加えられた部分が削除される
As an alternative, after obtaining and storing the text data, the text data processing unit 21
The text data portion may be deleted from the print data, and the subsequent print data may be transmitted to the print control unit 22. In this case, the part added in the addition process is deleted.

このようにして、受信した印刷データについてテキストデータの取得・記憶処理(S1
3)と送信処理(S14)が終了すると、テキストデータ処理部21は、次に、上記記憶
したテキストデータを売上情報分析サーバー3に送信する処理を行う(図4のステップS
15)。当該送信処理では、テキストデータ処理部21は、上記記憶したテキストデータ
をマークアップ言語(例えば、XML(Extensible Markup Lang
uage))に変換してから送信するようにしてもよい。また、売上情報分析サーバー3
への送信の頻度は、レシートが発行される度、日毎、週単位など必要に応じた頻度で行う
ことができる。
In this way, the text data acquisition / storage process (S1) for the received print data is performed.
3) and the transmission process (S14), the text data processing unit 21 next performs a process of transmitting the stored text data to the sales information analysis server 3 (step S in FIG. 4).
15). In the transmission process, the text data processing unit 21 converts the stored text data into a markup language (for example, XML (Extensible Markup Lang).
uage)) and may be transmitted. Sales information analysis server 3
The frequency of transmission to can be performed at a frequency as necessary, such as every day or every week when a receipt is issued.

送信されたテキストデータには、レシートに印刷される売上情報が含まれるので、売上
情報分析サーバー3により、これらの情報に基づいた分析処理、電子レシート提供処理等
がなされる。
Since the transmitted text data includes sales information to be printed on the receipt, the sales information analysis server 3 performs analysis processing, electronic receipt provision processing, and the like based on the information.

以上のようにして、テキストデータ処理部21による処理が終了する。   As described above, the processing by the text data processing unit 21 ends.

次に、印刷制御部22及び印刷機構部23の処理について説明する。図5は、印刷制御
部22及び印刷機構部23における処理手順を例示したフローチャートである。テキスト
データ処理部21から送信された上記印刷データは、印刷制御部22によって受信され(
図5のステップS21)、印刷制御部22は、受信した印刷データに含まれるコマンドを
順次解釈する(図5のステップS22)。
Next, processing of the printing control unit 22 and the printing mechanism unit 23 will be described. FIG. 5 is a flowchart illustrating a processing procedure in the print control unit 22 and the printing mechanism unit 23. The print data transmitted from the text data processing unit 21 is received by the print control unit 22 (
In step S21 in FIG. 5, the print control unit 22 sequentially interprets commands included in the received print data (step S22 in FIG. 5).

印刷制御部22は、当該解釈の結果に応じて印刷機構部23を制御し、印刷機構部23
による用紙への印刷処理が実行される(図5のステップS23)。上述の通り、ラスター
データ部分については、印刷制御部22は、受信したラスターデータを、逐次、印刷機構
部23へ渡して当該データに基づく印刷処理がなされていく。
The print control unit 22 controls the printing mechanism unit 23 according to the interpretation result, and the printing mechanism unit 23.
Is performed on the paper (step S23 in FIG. 5). As described above, for the raster data portion, the print control unit 22 sequentially passes the received raster data to the printing mechanism unit 23 and print processing based on the data is performed.

一方、上記付加処理によって付加されたテキストデータの部分は、その後に加えられて
いるコマンドにより消去され、印刷機構部23による印刷処理はなされない(図5のステ
ップS24)。
On the other hand, the portion of the text data added by the addition processing is erased by a command added thereafter, and the printing processing by the printing mechanism unit 23 is not performed (step S24 in FIG. 5).

図3に例示した印刷データでは、C2の部分(ラスターデータ)まで印刷処理がなされ
、C4の部分(テキストデータ)はC5のキャンセルコマンドでメモリから削除されて印
刷処理はなされない。
In the print data illustrated in FIG. 3, the printing process is performed up to the C2 portion (raster data), and the C4 portion (text data) is deleted from the memory by the C5 cancel command, and the printing process is not performed.

また、テキストモードを利用して所定数のテキストデータとクリアコマンドを付加した
上述の例では、各所定数のテキストデータはその直後のクリアコマンドで消去され、印刷
処理はなされない。
Further, in the above example in which a predetermined number of text data and a clear command are added using the text mode, each predetermined number of text data is erased by the immediately following clear command, and printing processing is not performed.

このように、本来レシートとして印刷されるべき部分のみが印刷処理され、売上情報取
得のために付加された部分については印刷処理がなされない。また、テキストデータ処理
部21で、付加したテキストデータ部分を削除した場合にも、当然にして本来レシートと
して印刷されるべき部分のみが印刷処理される。
Thus, only the portion that should be printed as a receipt is printed, and the portion added for acquiring sales information is not printed. Even when the added text data portion is deleted by the text data processing unit 21, only the portion that should be printed as a receipt is naturally printed.

以上のようにして、印刷制御部22及び印刷機構部23の処理が終了する。   As described above, the processes of the printing control unit 22 and the printing mechanism unit 23 are completed.

このように、上記付加処理で印刷データに付加されたテキスト部分は、レシートプリン
ター2が解釈可能なコマンドで表現され、上述のように、印刷処理に影響を与えることな
く処理されるので、レシートプリンター2がいわゆるインテリジェントプリンターでなく
テキストデータ処理部21に相当する部分を備えていなくても、エラーを起こすことなく
レシートの印刷を行うことができる。
As described above, the text portion added to the print data by the addition processing is expressed by a command that can be interpreted by the receipt printer 2, and is processed without affecting the printing processing as described above. Even if No. 2 is not a so-called intelligent printer and does not include a portion corresponding to the text data processing unit 21, a receipt can be printed without causing an error.

以上説明したように、本実施の形態例に係る印刷システムでは、POSアプリケーショ
ン部11とプリンタードライバー部13が通常の印刷要求・印刷指示の処理を行っていて
も、フィルタードライバー部12とコマンド合成部14の機能により、印刷対象のテキス
ト部分のテキストデータが印刷データに付加される。従って、テキストデータ付加・当該
テキストデータによる分析等の機能を既存のシステムに追加する際に、既存のPOSアプ
リケーション及びプリンタードライバーを改変する必要がなく、機能追加が容易であると
共に印刷結果が変わってしまう虞もない。
As described above, in the printing system according to the present embodiment, even if the POS application unit 11 and the printer driver unit 13 perform normal print request / print instruction processing, the filter driver unit 12 and the command synthesis unit. With the function 14, text data of the text portion to be printed is added to the print data. Therefore, when adding functions such as adding text data and analyzing the text data to an existing system, there is no need to modify the existing POS application and printer driver, and it is easy to add functions and the printing results change. There is no fear of it.

また、既存のシステムにおいて、プリンタードライバーが印刷内容をラスターデータと
してプリンターへ送信している場合にも、上記機能追加後もその処理を変える必要がない
ので、この点においても印刷結果が変わってしまう虞がない。
Also, in the existing system, even if the printer driver sends the print contents as raster data to the printer, there is no need to change the processing after adding the above functions, so the printing result also changes in this respect. There is no fear.

また、印刷データにテキストデータが付加されるので、プリンター側でレシートに印刷
される情報を容易に取り出すことができる。
Further, since the text data is added to the print data, the information printed on the receipt can be easily taken out on the printer side.

また、フィルタードライバー部12では、印刷データに付加する上記テキストデータを
、印刷対象をラスターデータ化する前に取得するので、処理が容易であり情報を正確に取
得することができる。
Further, since the filter driver unit 12 acquires the text data to be added to the print data before converting the print target into raster data, the processing is easy and information can be acquired accurately.

また、コマンド合成部14で、テキストデータを、レシートに記載される順に並べ替え
てから付加するので、当該テキストデータが売上情報分析サーバー3等で利用される際に
便利である。
Further, since the command composition unit 14 adds the text data after rearranging in the order described in the receipt, it is convenient when the text data is used in the sales information analysis server 3 or the like.

また、コマンド合成部14でテキストデータを付加する際に、レシートプリンター2用
のコマンドを用いて印刷データに組み込むので、レシートプリンター2側で容易に解釈で
き、印刷制御部22でエラーを起こすことはない。
In addition, when the text data is added by the command composition unit 14, it is incorporated into the print data by using the command for the receipt printer 2, so that it can be easily interpreted on the receipt printer 2 side and an error is caused in the print control unit 22. Absent.

なお、本実施の形態例ではPOSシステムの例を示したが、本発明は、POSシステム
に限らず、病院や運送会社で使用されるシステムなど、プリンターからの印刷物の出力を
含む所定のアプリケーションを備えたシステムに適用可能であり、特に、既存のアプリケ
ーションプログラムの改変が困難である場合に有効である。
In this embodiment, an example of a POS system is shown. However, the present invention is not limited to a POS system, and a predetermined application including output of printed matter from a printer, such as a system used in a hospital or a transportation company, is used. The present invention can be applied to a provided system, and is particularly effective when it is difficult to modify an existing application program.

本発明の保護範囲は、上記の実施の形態に限定されず、特許請求の範囲に記載された発
明とその均等物に及ぶものである。
The protection scope of the present invention is not limited to the above-described embodiment, but covers the invention described in the claims and equivalents thereof.

1 POS端末装置、 2 レシートプリンター、 3 売上情報分析サーバー、 4
ネットワーク、 11 POSアプリケーション部、 12 フィルタードライバー部
、 13 プリンタードライバー部、 14 コマンド合成部、 21 テキストデータ
処理部、 22 印刷制御部、 23 印刷機構部
1 POS terminal device 2 Receipt printer 3 Sales information analysis server 4
Network, 11 POS application section, 12 Filter driver section, 13 Printer driver section, 14 Command composition section, 21 Text data processing section, 22 Print control section, 23 Print mechanism section

Claims (8)

印刷要求データを出力するアプリケーション部と、
前記印刷要求データに基づいて、印刷データを生成するプリンタードライバー部と、を備える印刷制御装置制御方法であって、
前記プリンタードライバー、出力された前記印刷要求データを受け取る前に、前記印刷要求データからテキストデータを取得する第1のステップと、
出力された前記印刷要求データに基づいて、生成された前記印刷データに、前記テキストデータを付加する第2のステップと、
付加した前記テキストデータを印刷処理しないように指示する所定のコマンドを、前記印刷データに合成する第3のステップと、
合成後の前記印刷データをプリンターへ送信する第4のステップと、を有する印刷制御装置の制御方法。
An application unit that outputs print request data;
A control method of a print control device comprising a printer driver unit that generates print data based on the print request data ,
The printer driver unit, before receiving the output the print request data, the first step you retrieve text data from the print request data,
Based on the output the print request data, to the generated the print data, a second step of adding the text data,
A third step of combining a predetermined command for instructing not to print the added text data with the print data ;
Method for controlling the printing controller having a fourth step of transmitting the print data after synthesis to the printer, the.
請求項1において、
前記プリンタードライバー生成する前記印刷データは、前記印刷要求データに基づくラスターデータ、及び、前記ラスターデータを示すコマンドを含む印刷制御装置の制御方法。
In claim 1,
The print data is raster data based on the print request data, and a control method for a printing control device including a command indicating the raster data to which the printer driver unit generates.
請求項1あるいは2において、
前記第2のステップは、前記テキストデータの印刷対象物が、前記印刷データを印刷した際の出現順になるように、前記テキストデータを並べ替えて、前記印刷データに付加する印刷制御装置の制御方法。
In claim 1 or 2,
The second step includes a control method for a print control apparatus , wherein the text data is rearranged so that print objects of the text data are in the order of appearance when the print data is printed, and added to the print data. .
請求項1乃至3のいずれか1項において、
合成後の前記印刷データは、前記プリンターのメモリに所定範囲の前記テキストデータを保持させるページモードの登録コマンドと、前記メモリから前記テキストデータの削除を指示するキャンセルコマンドと、の間に前記テキストデータを有する印刷制御装置の制御方法。
In any one of Claims 1 thru | or 3,
The print data after synthesis, the text data and the registration command for page mode for holding said text data in a predetermined range to the memory of the printer, while from the memory of a cancel command that instructs the deletion of the text data A control method of a printing control apparatus having the above .
請求項1乃至3のいずれか1項において、
所定の前記コマンドは、前記テキストデータの消去を指示するクリアコマンドである印刷制御装置の制御方法。
In any one of Claims 1 thru | or 3,
The control method of the print control apparatus , wherein the predetermined command is a clear command for instructing deletion of the text data.
印刷要求データを出力するアプリケーション部と、
前記印刷要求データに基づいて、印刷データを生成するプリンタードライバーと、
前記プリンタードライバー、出力された前記印刷要求データを受け取る前に、前記印刷要求データからテキストデータを取得する取得部と、
出力された前記印刷要求データに基づいて、生成された前記印刷データに、前記テキストデータを付加する合成部と、を有し、
前記合成部は、付加した前記テキストデータを印刷処理しないように指示する所定のコマンドを、前記印刷データに合成し、
前記合成部は、合成後の前記印刷データをプリンターへ送信する印刷制御装置。
An application unit that outputs print request data ;
On the basis of the print request data, and the printer driver unit that generates print data,
An acquisition unit the printer driver unit, before receiving the output the print request data, to retrieve the text data from the print request data,
Based on the output the print request data, to the generated the print data, have a, a combining unit for adding said text data,
The synthesizing unit synthesizes a predetermined command for instructing not to print the added text data with the print data;
The synthesizing unit is a print control apparatus that transmits the synthesized print data to a printer .
プリンターとその印刷制御装置を有する印刷システムであって、
前記印刷制御装置は、
印刷要求データを出力するアプリケーション部と、
前記印刷要求データに基づいて、印刷データを生成するプリンタードライバーと、
前記プリンタードライバーが、出力された印刷要求データを受け取る前に、前記印刷要求データからテキストデータを取得する取得部と、
出力された前記印刷要求データに基づいて、生成された印刷データに、前記テキストデータを付加し、付加後の前記印刷データに、付加した前記テキストデータを印刷処理しないように指示する所定のコマンドを合成し、合成後の前記印刷データを前記プリンターへ送信する合成部と、を備え、
前記プリンターは、
送信された前記印刷データから付加された前記テキストデータを取得するテキストデータ処理部と、
前記印刷データに基づいて印刷処理を実行する際、所定の前記コマンドに基づき前記テキストデータに対しては印刷処理を実行しない印刷部と、を備える印刷システム。
A printing system having a printer and a printing control device thereof,
The print control device includes:
An application unit that outputs print request data ;
On the basis of the print request data, and the printer driver unit that generates print data,
The printer driver unit, before receiving the output print request data, an acquisition unit that acquires text data from the print request data,
Based on the output the print request data, the generated print data, adds the text data, the print data after adding an instruction to predetermined command to not print processing said text data added synthesized, comprising a combining unit that transmits the print data after synthesis to the printer, and
The printer is
A text data processing unit that acquires the text data added from the transmitted said print data,
On the basis of the print data, when executing a printing process, based on a predetermined said command, a printing system and a printing unit not to execute the printing process for the text data.
請求項7において、
前記テキストデータ処理部は、取得した前記テキストデータを所定のタイミングで他の装置へ送信する印刷システム。
In claim 7,
The text data processing unit to a printing system for transmitting the text data acquired to another device at a predetermined timing.
JP2014230435A 2014-11-13 2014-11-13 CONTROL METHOD FOR PRINT CONTROL DEVICE, PRINT CONTROL DEVICE, AND PRINT SYSTEM Active JP6394304B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2014230435A JP6394304B2 (en) 2014-11-13 2014-11-13 CONTROL METHOD FOR PRINT CONTROL DEVICE, PRINT CONTROL DEVICE, AND PRINT SYSTEM
US14/921,461 US9542676B2 (en) 2014-11-13 2015-10-23 Host device, printing system, and data processing method
CN201510702211.4A CN105607875B (en) 2014-11-13 2015-10-26 Host apparatus, print system and data processing method
US15/369,985 US10102457B2 (en) 2014-11-13 2016-12-06 Host device, printing system, and data processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014230435A JP6394304B2 (en) 2014-11-13 2014-11-13 CONTROL METHOD FOR PRINT CONTROL DEVICE, PRINT CONTROL DEVICE, AND PRINT SYSTEM

Publications (3)

Publication Number Publication Date
JP2016095608A JP2016095608A (en) 2016-05-26
JP2016095608A5 JP2016095608A5 (en) 2017-11-09
JP6394304B2 true JP6394304B2 (en) 2018-09-26

Family

ID=56071236

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014230435A Active JP6394304B2 (en) 2014-11-13 2014-11-13 CONTROL METHOD FOR PRINT CONTROL DEVICE, PRINT CONTROL DEVICE, AND PRINT SYSTEM

Country Status (1)

Country Link
JP (1) JP6394304B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021039496A (en) * 2019-09-02 2021-03-11 東芝テック株式会社 Information processing apparatus, program, and system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3814373B2 (en) * 1996-12-27 2006-08-30 キヤノン株式会社 Information processing apparatus, print control apparatus and method, and program storage medium
JP3235545B2 (en) * 1997-10-29 2001-12-04 日本電気株式会社 Printing system
JPH11261828A (en) * 1998-03-12 1999-09-24 Canon Inc Printer driver and recording medium
EP1160657A3 (en) * 2000-06-02 2004-06-23 Matsushita Electric Industrial Co., Ltd. Printing control interface
JP4389968B2 (en) * 2007-05-30 2009-12-24 ブラザー工業株式会社 Printer driver and information processing system
JP2011197511A (en) * 2010-03-23 2011-10-06 Seiko Epson Corp Voice output device, method for controlling the same, and printer and mounting board
JP2012068783A (en) * 2010-09-22 2012-04-05 Seiko Epson Corp Value addition program for print data, value addition apparatus, and value addition method
JP2012190114A (en) * 2011-03-09 2012-10-04 Seiko Epson Corp Sales analytical program using print data, sales information acquisition device, and sales information acquisition method
JP6123166B2 (en) * 2012-03-30 2017-05-10 セイコーエプソン株式会社 Printing control apparatus, printing system, and printing control method

Also Published As

Publication number Publication date
JP2016095608A (en) 2016-05-26

Similar Documents

Publication Publication Date Title
KR101364808B1 (en) Function expansion method using print data, function expansion device, and recording medium
JP6337778B2 (en) Data conversion system, data conversion device, and data conversion method
US8441667B2 (en) Printer driver and image forming apparatus
US10102457B2 (en) Host device, printing system, and data processing method
US9058139B2 (en) Function expansion method using print data, and function expansion device
CN103516952B (en) Image processing apparatus, image processing system and Method of printing
JP2015114687A (en) Printer, and control method
JP6394304B2 (en) CONTROL METHOD FOR PRINT CONTROL DEVICE, PRINT CONTROL DEVICE, AND PRINT SYSTEM
JP6394303B2 (en) Driver program, printing system, and data processing method
US9990572B2 (en) Information processing apparatus, print data generation method, and storage medium
JP5708012B2 (en) Printer changing program, printer changing method, and host device
JP5790267B2 (en) Output control system and control method
CN107111919B (en) Print data processing device, print data processing method, program, and printing system
JP6075427B2 (en) Print control method and printer driver
JP2012208765A (en) Print content change program, print content change method, and host device

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20160623

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170927

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170927

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180426

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180529

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180627

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180731

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180813

R150 Certificate of patent or registration of utility model

Ref document number: 6394304

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150