JP2010099989A - Print control method, print control program, and printer - Google Patents

Print control method, print control program, and printer Download PDF

Info

Publication number
JP2010099989A
JP2010099989A JP2008275305A JP2008275305A JP2010099989A JP 2010099989 A JP2010099989 A JP 2010099989A JP 2008275305 A JP2008275305 A JP 2008275305A JP 2008275305 A JP2008275305 A JP 2008275305A JP 2010099989 A JP2010099989 A JP 2010099989A
Authority
JP
Japan
Prior art keywords
coupon
identifier
last
printer
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.)
Withdrawn
Application number
JP2008275305A
Other languages
Japanese (ja)
Inventor
Shoji Shiba
省自 柴
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 JP2008275305A priority Critical patent/JP2010099989A/en
Publication of JP2010099989A publication Critical patent/JP2010099989A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a print control method, a print control program, and a printer in which a user of a printer can easily identify the last coupon and a coupon which is not the last coupon in performing a print job for printing a plurality of coupons. <P>SOLUTION: The printer 100 which can print a plurality of coupons by one print job includes: an identifier storing part 170 for storing identifiers showing that coupons are intermediate coupons and/or an identifier showing that a coupon is the last coupon; a command determining part 140 for determining that a FF command for instructing to turn a page and a job end command for finishing the print job are received, a print control part 150 which obtains an identifier showing that the coupon is an intermediate coupon from the identifier storing part 170 when the command determining part 140 receives a FF command, obtains the identifier showing that the coupon is the last coupon from the identifier storing part 170 when receiving a job end command, and controls so as to print the identifier in a predetermined part of the coupon. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、プリンタの印刷制御方法、印刷制御プログラム及びプリンタに関し、特に、スーパーマーケット等の店舗のレジなどにおいて顧客に応じてクーポンを印刷・発券するプリンタの印刷制御方法、印刷制御プログラム及びプリンタに関する。   The present invention relates to a printer print control method, a print control program, and a printer, and more particularly to a printer print control method, a print control program, and a printer that print and issue coupons according to customers at a cash register in a store such as a supermarket.

スーパーマーケット等の店舗のレジで会計を行う際に、会計のレシートとともに、商品の割引特典などのクーポンが印刷されることがある。クーポンは販売促進のツールとして効果が期待されており、クーポンを印刷する機能を搭載したレシートプリンタなども開発されている(例えば、特許文献1を参照)。   When accounting at a cash register of a store such as a supermarket, a coupon such as a discount privilege for a product may be printed together with a receipt for the accounting. Coupons are expected to be effective as sales promotion tools, and receipt printers equipped with a function for printing coupons have also been developed (see, for example, Patent Document 1).

近年は、すべての顧客に同じクーポンを発券するのではなく、顧客の購買履歴などに応じて、販売促進に効果的なクーポンの発券が行われており、場合によっては1人の顧客に対して複数のクーポンが連続して発券される場合がある。   In recent years, instead of issuing the same coupon to all customers, coupons effective for sales promotion have been issued according to the customer's purchase history, etc. In some cases, for one customer A plurality of coupons may be issued in succession.

特開2006−146547号公報JP 2006-146547 A

発券されるクーポンの種類や枚数は、地域や時期(季節)、購入した商品の種類や金額、客の性別・年齢、会員か非会員か、などの条件により変化するため、レジで会計を行う店員は、配布するクーポンの種類や枚数を顧客ごとに事前に把握することができない。つまり、従来のプリンタでは、現在会計中の顧客に配布する分の全てのクーポンの印刷が完了したか否かの判断を店員が行うことが困難であるという問題があった。   The type and number of coupons issued will vary depending on the region and season (season), the type and amount of the purchased product, the gender / age of the customer, whether the member is a non-member, and so on. The store clerk cannot grasp in advance the type and number of coupons to be distributed for each customer. In other words, the conventional printer has a problem that it is difficult for the store clerk to determine whether or not printing of all coupons to be distributed to the customer who is currently accounting is completed.

そのため、店員は、残りのクーポンの印刷が終了しないうちに用紙(ロール紙等)を無理に引っ張って切り離そうとして、その結果、紙ジャム(紙づまりなど)が発生する虞がある。また、クーポン毎に自動的にカットして発券するプリンタであっても、店員は発券されたクーポンがその顧客の最後のものであるか否かがわからないので、残りのクーポンが印刷される前に客を帰してしまう虞がある。   For this reason, the store clerk tries to forcibly pull the paper (roll paper or the like) before the remaining coupons are printed, and as a result, a paper jam (paper jam or the like) may occur. Also, even with a printer that automatically cuts and issues each coupon, the clerk does not know whether the issued coupon is the last one of the customer, so before the remaining coupons are printed There is a risk of returning customers.

本発明の目的は上記課題を解消することに係り、複数のクーポンを印刷する印刷ジョブの実行時において、プリンタの使用者が、最後のクーポンと最後のクーポンではない途中のクーポンとを容易に識別することができるプリンタの印刷制御方法、印刷制御プログラム及びプリンタを得ることである。   An object of the present invention is to solve the above problem, and when executing a print job for printing a plurality of coupons, a printer user can easily identify the last coupon and a coupon that is not the last coupon. A printer print control method, a print control program, and a printer are provided.

上記目的を達成するために、本発明に係るプリンタの印刷制御方法は、1つの印刷ジョブによって複数のクーポンを印刷するプリンタの印刷制御方法であって、
前記複数のクーポンのうち、最後に印刷するクーポンが当該印刷ジョブによって印刷される最後のクーポンであることを識別できるように、識別子を最後のクーポンではない途中のクーポンおよび/または最後のクーポンの所定の箇所に印刷することを特徴とする。
上記制御方法によれば、1つの印刷ジョブで複数のクーポンが発券される場合に、最後に発券されるクーポンと最後のクーポンではない途中のクーポンとを容易に識別することができる。
また好ましくは、前記所定の箇所は、前記途中のクーポンおよび/または最後のクーポンの最終行であることを特徴とする。
上記制御方法によれば、クーポンの文字や画像にできるだけ重ならないように、上記識別子を印刷することができ、クーポンの外観を損なうことなく最後のクーポンを容易に認識することができる。
また好ましくは、前記印刷ジョブは、前記印刷ジョブを開始するジョブスタートコマンドと、次のクーポンの印刷実行のために改頁を指示するFFコマンドと、最後のクーポンの印刷を終了するジョブエンドコマンドと、を含み、
受信したコマンドが前記FFコマンドであると判定された場合、前記途中のクーポンであることを識別できる識別子を印刷するステップと、
受信したコマンドが前記ジョブエンドコマンドであると判定された場合、前記最後のクーポンであることを識別できる識別子を印刷するステップと、
を含むことを特徴とする。
上記制御方法によれば、新たなコマンドを作成することなく、既存のFFコマンド及びジョブエンドコマンドを利用して、1つの印刷ジョブで複数のクーポンが発券される場合に、最後に発券されるクーポンと最後のクーポンではない途中のクーポンとを容易に識別することができる。
また好ましくは、前記途中のクーポンであることを識別できる識別子は、クーポンを印刷する順番の通し番号であり、
前記最後のクーポンであることを識別できる識別子は、前記通し番号及びクーポンの総数であることを特徴とする。
上記制御方法によれば、1つの印刷ジョブで複数のクーポンが発券される場合に、最後に発券されるクーポンと最後のクーポンではない途中のクーポンとを容易に識別することができるとともに、発券されたクーポンの枚数を容易に把握することができる。
また好ましくは、前記途中のクーポンであることを識別できる識別子は、所定のマークであり、
前記最後のクーポンであることを識別できる識別子は、空白データであることを特徴とする。
上記制御方法によれば、最後に発券されるクーポンに所定のマークが無いことによって、1つの印刷ジョブで複数のクーポンが発券される場合に、最後に発券されるクーポンと最後のクーポンではない途中のクーポンとを容易に識別することができる。
また好ましくは、前記途中のクーポンであることを識別できる識別子は、所定のマークであり、
前記最後のクーポンであることを識別できる識別子は、前記所定のマークとは異なるマークであることを特徴とする。
上記制御方法によれば、最後に発券されるクーポンに途中のクーポンに印刷された所定のマークとは異なるマークが印刷されていることによって、1つの印刷ジョブで複数のクーポンが発券される場合に、最後に発券されるクーポンと最後のクーポンではない途中のクーポンとを容易に識別することができる。
また好ましくは、前記途中のクーポンであることを識別できる識別子は、空白データであり、
前記最後のクーポンであることを識別できる識別子は、所定のマークであることを特徴とする。
上記制御方法によれば、途中のクーポンにマークが印刷されず、最後のクーポンのみマークが印刷されていることによって、1つの印刷ジョブで複数のクーポンが発券される場合に、最後に発券されるクーポンと最後のクーポンではない途中のクーポンとを容易に識別することができる。
In order to achieve the above object, a printing control method for a printer according to the present invention is a printing control method for a printer that prints a plurality of coupons by one print job,
Among the plurality of coupons, an identifier is determined as an intermediate coupon that is not the last coupon and / or a predetermined one of the last coupon so that the last coupon to be printed can be identified as the last coupon printed by the print job. It prints in the location of this.
According to the above control method, when a plurality of coupons are issued in one print job, it is possible to easily identify the coupon that is issued last and the coupon that is not the last coupon.
Preferably, the predetermined portion is a last line of the intermediate coupon and / or the last coupon.
According to the said control method, the said identifier can be printed so that it may overlap with the character and image of a coupon as much as possible, and the last coupon can be easily recognized, without impairing the external appearance of a coupon.
Preferably, the print job includes a job start command for starting the print job, an FF command for instructing a page break for printing execution of the next coupon, and a job end command for ending printing of the last coupon. Including,
If it is determined that the received command is the FF command, printing an identifier that can identify that the coupon is halfway;
If it is determined that the received command is the job end command, printing an identifier that identifies the last coupon;
It is characterized by including.
According to the above control method, when a plurality of coupons are issued in one print job using an existing FF command and a job end command without creating a new command, the coupon issued at the end And a coupon that is not the last coupon can be easily identified.
Preferably, the identifier that can identify the coupon on the way is a serial number in the order of printing the coupon,
The identifier that can identify the last coupon is the serial number and the total number of coupons.
According to the above control method, when a plurality of coupons are issued in one print job, it is possible to easily identify the coupon that is issued last and the coupon that is not the last coupon and is issued. It is possible to easily grasp the number of coupons.
Preferably, the identifier that can identify the coupon on the way is a predetermined mark,
The identifier that can identify the last coupon is blank data.
According to the above control method, when a plurality of coupons are issued in one print job because there is no predetermined mark on the coupon that is issued last, the coupon that is issued last and the middle that is not the last coupon Can be easily identified.
Preferably, the identifier that can identify the coupon on the way is a predetermined mark,
The identifier that can identify the last coupon is a mark different from the predetermined mark.
According to the above control method, when a plurality of coupons are issued in one print job by printing a mark different from a predetermined mark printed on a coupon on the way on the coupon issued last. The coupon that is issued last and the coupon that is not the last coupon can be easily identified.
Preferably, the identifier that can identify the coupon on the way is blank data,
The identifier that can identify the last coupon is a predetermined mark.
According to the above control method, when a mark is not printed on a coupon on the way and only a mark is printed on the last coupon, a plurality of coupons are issued in one print job. The coupon and the coupon that is not the last coupon can be easily identified.

上記目的を達成するために、本発明に係るプリンタの印刷制御プログラムは、上記の各印刷制御方法の一に記載されたプリンタの印刷制御方法の各手順を、前記プリンタに搭載されたコンピュータに実行させることを特徴とする。
上記制御プログラムを前記インクジェットプリンタに搭載されたコンピュータに実行させることにより、1つの印刷ジョブで複数のクーポンが発券される場合に、最後に発券されるクーポンと最後のクーポンではない途中のクーポンとを容易に識別することができる。
In order to achieve the above object, a printing control program for a printer according to the present invention executes each procedure of the printing control method for a printer described in one of the above printing control methods on a computer mounted on the printer. It is characterized by making it.
By causing the computer mounted on the inkjet printer to execute the control program, when a plurality of coupons are issued in one print job, a coupon that is issued last and a coupon that is not the last coupon are issued. It can be easily identified.

上記目的を達成するために、本発明に係るプリンタは、1つの印刷ジョブによって複数のクーポンを印刷可能なプリンタであって、
当該クーポンが途中のクーポンであることを示す識別子および/または当該クーポンが最後のクーポンであることを示す識別子を記憶する識別子記憶部と、
次のクーポンの印刷実行のために改頁を指示するFFコマンド及び前記印刷ジョブを終了するジョブエンドコマンドを受信したことを判定するコマンド判定部と、
前記コマンド判定部が、前記FFコマンドを受信した場合は前記識別子記憶部から当該クーポンが途中のクーポンであることを示す識別子を取得し、前記ジョブエンドコマンドを受信した場合は前記識別子記憶部から当該クーポンが最後のクーポンであることを示す識別子を取得し、前記識別子をクーポンの所定の箇所に印刷するように制御する印刷制御部と、
を備えることを特徴とする。
上記構成により、プリンタによって、1つの印刷ジョブで複数のクーポンを発券する場合に、最後に発券されるクーポンと最後のクーポンではない途中のクーポンとを容易に識別することができる。
In order to achieve the above object, a printer according to the present invention is a printer capable of printing a plurality of coupons by one print job,
An identifier storage unit that stores an identifier indicating that the coupon is an intermediate coupon and / or an identifier indicating that the coupon is the last coupon;
A command determination unit for determining that an FF command for instructing a page break for printing execution of the next coupon and a job end command for ending the print job;
When the command determination unit receives the FF command, an identifier indicating that the coupon is an intermediate coupon is acquired from the identifier storage unit, and when the job end command is received, the identifier is stored from the identifier storage unit. A print control unit that acquires an identifier indicating that the coupon is the last coupon, and controls the identifier to be printed on a predetermined portion of the coupon;
It is characterized by providing.
With the above configuration, when a plurality of coupons are issued by one printer with a printer, it is possible to easily identify a coupon that is issued last and a coupon that is not the last coupon.

以下、図面を参照しながら、本発明に係るプリンタの印刷制御方法及びプリンタの実施形態を説明する。   Hereinafter, a printer control method and a printer according to embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の実施形態に係るプリンタの概略構成を説明するブロック図である。プリンタ100は、シリアル、パラレル、USBといった各種インタフェースを介して、ホストコンピュータ200と通信可能に接続されており、ホストコンピュータ200から送信される各種コマンドに応じて動作する。印刷にあたっては、ホストコンピュータ200は、印刷に必要な各種動作を指示するコマンドと、印刷すべき画像に応じた印刷データとで構成される印刷ジョブを送信する。プリンタ100は、この印刷ジョブに応じた動作を実行する。   FIG. 1 is a block diagram illustrating a schematic configuration of a printer according to an embodiment of the present invention. The printer 100 is communicably connected to the host computer 200 via various interfaces such as serial, parallel, and USB, and operates according to various commands transmitted from the host computer 200. In printing, the host computer 200 transmits a print job including commands for instructing various operations necessary for printing and print data corresponding to an image to be printed. The printer 100 executes an operation corresponding to the print job.

プリンタ100は、主として、ホストコンピュータ200から送信される各種コマンドや印刷データを受信する受信部110と、受信部110が受信した各種コマンドや印刷データを一時的に保持する受信バッファ120が設けられている。   The printer 100 is mainly provided with a receiving unit 110 that receives various commands and print data transmitted from the host computer 200, and a reception buffer 120 that temporarily stores various commands and print data received by the receiving unit 110. Yes.

受信バッファ120によって受信された各種コマンドやデータは、コマンド解析部130に順次読み出されて解析され、各種コマンドはコマンド判定部140に送られ、印刷データは、印刷制御部150に送られる。   Various commands and data received by the reception buffer 120 are sequentially read and analyzed by the command analysis unit 130, various commands are sent to the command determination unit 140, and print data is sent to the print control unit 150.

そして、コマンド判定部140で判定されたコマンドはメカ制御部160に送られる。   Then, the command determined by the command determination unit 140 is sent to the mechanical control unit 160.

1つの印刷ジョブによって複数のクーポンを印刷する場合、コマンド判定部140は、コマンドが次のクーポンの印刷実行のために改頁を指示するFF(フォームフィード:改頁)コマンドである場合は、識別子記憶部170から途中のクーポンであることを識別できる識別子(マークや番号等)を取得して、印刷制御部150に送る。   When printing a plurality of coupons by one print job, the command determination unit 140 determines an identifier when the command is an FF (form feed: page break) command for instructing a page break for executing printing of the next coupon. An identifier (mark, number, etc.) that can be identified as a coupon on the way is acquired from the storage unit 170 and sent to the print control unit 150.

また、コマンド判定部140は、コマンドが最後のクーポンの印刷を終了するジョブエンドコマンドである場合は、識別子記憶部170から最後のクーポンであることを識別できる識別子(マークや番号等)を取得して、印刷制御部150に送る。   In addition, when the command is a job end command for ending printing of the last coupon, the command determination unit 140 acquires an identifier (mark, number, or the like) that can identify the last coupon from the identifier storage unit 170. To the print control unit 150.

つまり、上記識別子記憶部170には、識別子となる各種マークや番号等が記憶されている。そして、予め識別子設定を行って、途中のクーポンであることを識別できる識別子とするマーク又は番号と、最後のクーポンであることを識別できる識別子とするマーク又は番号を設定しておく。なお、いずれかの識別子を空白(実際には何も印刷しない)と設定しておいてもよい。また、識別子を番号とする場合は、クーポンの印刷順の通し番号となるようにし、最後のクーポンには、「通し番号/クーポンの総数」のようにしてもよい。   In other words, the identifier storage unit 170 stores various marks and numbers as identifiers. Then, an identifier is set in advance, and a mark or number as an identifier that can be identified as a mid-course coupon and a mark or number as an identifier that can be identified as the last coupon are set. One of the identifiers may be set to blank (nothing is actually printed). When the identifier is a number, it may be a serial number in the coupon printing order, and the last coupon may be “serial number / total number of coupons”.

印刷制御部150に送られた印刷データは、データ展開処理が行われてデータ変換され、印刷イメージデータが生成されて印刷バッファ180に記憶される。このとき、識別子記憶部170から「途中のクーポンであることを識別できる識別子」または「最後のクーポンであることを識別できる識別子」が送られた場合は、1枚のクーポンの印刷イメージデータの最終行に上記識別子を書き込む。そして、印刷制御部150は、印刷バッファ180に記憶された印刷イメージデータを基に印刷ヘッドを駆動して、ロール紙上にクーポンの文字や画像等を印刷する。   The print data sent to the print control unit 150 is subjected to data expansion processing, converted into data, and print image data is generated and stored in the print buffer 180. At this time, if an “identifier that can be identified as a midway coupon” or “an identifier that can be identified as the last coupon” is sent from the identifier storage unit 170, the final print image data of one coupon Write the above identifier in a line. Then, the print control unit 150 drives the print head based on the print image data stored in the print buffer 180 to print the coupon characters and images on the roll paper.

一方、メカ制御部160によって読み出された各種コマンドについては、その指示する内容に応じて紙送りや用紙カットなどの各種処理が実行される。   On the other hand, for various commands read by the mechanical control unit 160, various processes such as paper feeding and paper cutting are executed in accordance with the instructed contents.

ホストコンピュータ200は、主として、クーポンの印刷データを保存するクーポン印刷データ登録部210、複数のクーポンを組み合わせた印刷ジョブを生成するクーポン印刷ジョブ生成部220、生成した印刷ジョブをプリンタ100へ送信する送信部230が設けられている。なお、クーポン印刷ジョブ生成部220は、ホストコンピュータ200が内部に有する購買履歴等の顧客情報に応じてクーポンの組み合わせや枚数を決定する。   The host computer 200 mainly transmits a coupon print data registration unit 210 that stores coupon print data, a coupon print job generation unit 220 that generates a print job that combines a plurality of coupons, and a transmission that transmits the generated print job to the printer 100. A section 230 is provided. Note that the coupon print job generation unit 220 determines the combination and number of coupons according to customer information such as a purchase history that the host computer 200 has inside.

次に、本実施形態のプリンタの制御方法について説明する。
はじめに、本実施形態のプリンタの制御方法の実施例1について図2〜図4を参照して説明する。図2は実施例1に係るプリンタにおける制御方法のクーポン発券処理の流れを示すフローチャート、図3はクーポン印刷ジョブの構成を概念的に示す模式図、図4は、クーポンの識別手段として番号を印刷する場合の印刷例を示す模式図である。
Next, a printer control method according to this embodiment will be described.
First, Example 1 of the printer control method of this embodiment will be described with reference to FIGS. FIG. 2 is a flowchart showing a flow of coupon issuing processing of the control method in the printer according to the first embodiment, FIG. 3 is a schematic diagram conceptually showing the configuration of a coupon print job, and FIG. 4 is printing a number as a coupon identifying means. It is a schematic diagram which shows the example of printing in the case of doing.

(実施例1)
実施例1は、1つの印刷ジョブで印刷される複数のクーポンのそれぞれに印刷順の通し番号を印刷し、最後に印刷されるクーポンにはこのクーポンで1つの印刷ジョブにおける印刷が終了することが識別できるように、総クーポン数と通し番号とを印刷する例である。
Example 1
In the first embodiment, a serial number in the printing order is printed on each of a plurality of coupons printed in one print job, and the last printed coupon is identified to be printed in one print job with this coupon. This is an example of printing the total number of coupons and serial numbers so that they can be made.

ホストコンピュータ200は、会計情報や顧客のユーザー情報、その他の付帯情報を参照して(ステップS11)、クーポン印刷データ登録部210に登録されたクーポンを選択し(ステップS12)、クーポン印刷データを収集する(ステップS13)。   The host computer 200 refers to the accounting information, customer user information, and other incidental information (step S11), selects a coupon registered in the coupon print data registration unit 210 (step S12), and collects coupon print data. (Step S13).

次に、クーポン印刷ジョブ生成部220は、選択した複数のクーポンに係る印刷ジョブ(クーポン印刷ジョブ)を生成する(ステップS14)。
図3に示すように、クーポン印刷ジョブの最初と最後には、ジョブスタートコマンドとジョブエンドコマンドが含まれる。また、クーポン印刷ジョブの中の印刷データと印刷データの区切りには、他のクーポンと区別するためのFFコマンドが付与されている。
Next, the coupon print job generation unit 220 generates a print job (coupon print job) related to the selected coupons (step S14).
As shown in FIG. 3, a job start command and a job end command are included at the beginning and end of the coupon print job. In addition, an FF command for distinguishing from other coupons is given to the separator between the print data and the print data in the coupon print job.

ホストコンピュータ200が送信部230を介してプリンタ100へジョブスタートコマンドを送信すると(ステップS15)、プリンタ100の印刷制御部150はクーポンの印刷動作を開始する(ステップS16)。   When the host computer 200 transmits a job start command to the printer 100 via the transmission unit 230 (step S15), the print control unit 150 of the printer 100 starts a coupon printing operation (step S16).

ジョブスタートコマンドに引き続いて1枚目のクーポンの印刷データがホストコンピュータ200より送信されると(ステップS17)、印刷制御部150は1枚目のクーポンの印刷を実行する(ステップS18)。1枚目の印刷データの後には、2枚目のクーポンとの区切りとしてFFコマンドを送信する(ステップS19)。このコマンドがコマンド判定部140において、FFコマンドであると判定されるので、コマンド判定部140は識別子記憶部170にFFコマンドが受信されたことを通知する。   When the print data of the first coupon is transmitted from the host computer 200 following the job start command (step S17), the print control unit 150 prints the first coupon (step S18). After the print data for the first sheet, an FF command is transmitted as a break from the second coupon (step S19). Since this command is determined by the command determination unit 140 to be an FF command, the command determination unit 140 notifies the identifier storage unit 170 that the FF command has been received.

実施例1では、識別子記憶部170には、「途中のクーポンであることを識別できる識別子」としてクーポン印刷順の通し番号が設定されているので、上記通知を受けて、識別子記憶部170は最初の番号「1」を識別子として印刷制御部150に送る。印刷制御部150は、識別子記憶部170から送られた、通し番号「1」を当該クーポンの最終行に印刷する(ステップS20)。   In the first embodiment, the identifier storage unit 170 is set with a serial number in the order of coupon printing as “an identifier that can be identified as a midway coupon”. The number “1” is sent to the print control unit 150 as an identifier. The print control unit 150 prints the serial number “1” sent from the identifier storage unit 170 on the last line of the coupon (step S20).

ステップS17からステップS20までの手順を繰り返し、複数のクーポンの印刷が実行される。このとき、各クーポンに対して、印刷順に通し番号がカウントアップされ、例えば2枚目のクーポンの最終行には「2」が印刷される。   The procedure from step S17 to step S20 is repeated to print a plurality of coupons. At this time, for each coupon, the serial number is counted up in the order of printing. For example, “2” is printed on the last line of the second coupon.

そして、最後のクーポンの印刷も終了すると(ステップS21およびステップS22)、ホストコンピュータ200がジョブエンドコマンドを送信する(ステップS23)。このとき、コマンド判定部140において、ジョブエンドコマンドであると判定されるので、コマンド判定部140は識別子記憶部170にジョブエンドコマンドが受信されたことを通知する。   When printing of the last coupon is completed (steps S21 and S22), the host computer 200 transmits a job end command (step S23). At this time, since the command determination unit 140 determines that the job end command is received, the command determination unit 140 notifies the identifier storage unit 170 that the job end command has been received.

識別子記憶部170には、上記通知を受けて、「最後のクーポンであることを識別できる識別子」として、識別子記憶部170は、最後のクーポンの通し番号をクーポンの総数として、「通し番号/クーポンの総数」を識別子として印刷制御部150に送る。   The identifier storage unit 170 receives the above notification, and “identifier that can identify that it is the last coupon”, the identifier storage unit 170 sets the serial number of the last coupon as the total number of coupons, “serial number / total number of coupons” As an identifier to the print control unit 150.

印刷制御部150は、識別子記憶部170から送られた「通し番号/クーポンの総数」(図4の例ではクーポンの総数は3なので、「3/3」となる)を当該クーポンの最終行に印刷する印刷して印刷動作を終了する(ステップS24)。   The print control unit 150 prints “serial number / total number of coupons” sent from the identifier storage unit 170 (the total number of coupons in the example of FIG. 4 is “3/3”) on the last line of the coupon. The printing operation is finished and the printing operation is finished (step S24).

図4に示すように、途中のクーポンは通し番号のみの印字であるが、最後のクーポンだけは「3/3」というように分母にクーポンの総枚数が印字される。従って、プリンタの使用者である店員は、複数発券されるクーポンのうちこのクーポンが最後のクーポンであることを容易に認識することができる。   As shown in FIG. 4, the coupon in the middle is printed with only the serial number, but only the last coupon is printed with the total number of coupons in the denominator, such as “3/3”. Therefore, the clerk who is the user of the printer can easily recognize that this coupon is the last coupon among the coupons issued a plurality of times.

次に、本実施形態のプリンタの制御方法の実施例2について図3,図5,図6を参照して説明する。図5は実施例2に係るプリンタにおける制御方法のクーポン発券処理の流れを示すフローチャート、図6は、クーポンの識別手段としてマークを印刷する場合の印刷例を示す模式図である。   Next, Example 2 of the printer control method of this embodiment will be described with reference to FIGS. FIG. 5 is a flowchart showing a flow of coupon issuing processing of the control method in the printer according to the second embodiment, and FIG. 6 is a schematic diagram showing a printing example when a mark is printed as a coupon identifying means.

(実施例2)
実施例2は、最後のクーポンと途中のクーポンとの識別ができるように、途中のクーポンに所定のマークを印刷する例である。
(Example 2)
Example 2 is an example in which a predetermined mark is printed on an intermediate coupon so that the last coupon and the intermediate coupon can be identified.

ホストコンピュータ200は、会計情報や顧客のユーザー情報、その他の付帯情報を参照して(ステップS31)、クーポン印刷データ登録部210に登録されたクーポンを選択し(ステップS32)、クーポン印刷データを収集する(ステップS33)。   The host computer 200 refers to the accounting information, customer user information, and other incidental information (step S31), selects a coupon registered in the coupon print data registration unit 210 (step S32), and collects coupon print data. (Step S33).

次に、クーポン印刷ジョブ生成部220は、選択した複数のクーポンに係る印刷ジョブを生成する(ステップS34)。ホストコンピュータ200が送信部230を介してプリンタ100へジョブスタートコマンドを送信すると(ステップS35)、プリンタ100の印刷制御部150はクーポンの印刷動作を開始する(ステップS36)。   Next, the coupon print job generation unit 220 generates a print job related to the selected coupons (step S34). When the host computer 200 transmits a job start command to the printer 100 via the transmission unit 230 (step S35), the print control unit 150 of the printer 100 starts a coupon printing operation (step S36).

ジョブスタートコマンドに引き続いて1枚目のクーポンの印刷データがホストコンピュータ200より送信されると(ステップS37)、印刷制御部150は1枚目のクーポンの印刷を実行する(ステップS38)。1枚目の印刷データの後には、2枚目のクーポンとの区切りとしてFFコマンドを送信する(ステップS39)。このコマンドがコマンド判定部140において、FFコマンドであると判定されるので、コマンド判定部140は識別子記憶部170にFFコマンドが受信されたことを通知する。   When the print data of the first coupon is transmitted from the host computer 200 following the job start command (step S37), the print control unit 150 prints the first coupon (step S38). After the first print data, an FF command is transmitted as a break from the second coupon (step S39). Since this command is determined by the command determination unit 140 to be an FF command, the command determination unit 140 notifies the identifier storage unit 170 that the FF command has been received.

実施例2では、識別子記憶部170には、「途中のクーポンであることを識別できる識別子」として所定のマーク(図6の例では「○」)が設定されているので、上記通知を受けて、識別子記憶部170は最初の番号「○」を識別子として印刷制御部150に送る。印刷制御部150は、識別子記憶部170から送られた、マークである「○」を当該クーポンの最終行に印刷する(ステップS40)。   In the second embodiment, the identifier storage unit 170 is set with a predetermined mark (“◯” in the example of FIG. 6) as an “identifier that can be identified as a midway coupon”. The identifier storage unit 170 sends the first number “◯” to the print control unit 150 as an identifier. The print control unit 150 prints the mark “◯” sent from the identifier storage unit 170 on the last line of the coupon (step S40).

ステップS37からステップS40までの手順を繰り返し、複数のクーポンの印刷が実行される。そして、最後のクーポンの印刷データの後に(ステップS41およびステップS42)、ホストコンピュータ200がジョブエンドコマンドを送信する(ステップS43)。このとき、コマンド判定部140において、ジョブエンドコマンドであると判定されるので、コマンド判定部140は識別子記憶部170にジョブエンドコマンドが受信されたことを通知する。   The procedure from step S37 to step S40 is repeated to print a plurality of coupons. Then, after the print data of the last coupon (step S41 and step S42), the host computer 200 transmits a job end command (step S43). At this time, since the command determination unit 140 determines that the job end command is received, the command determination unit 140 notifies the identifier storage unit 170 that the job end command has been received.

上記通知を受けて、「最後のクーポンであることを識別できる識別子」として、識別子記憶部170は、識別子である空白データを印刷制御部150に送る。   Upon receipt of the notification, the identifier storage unit 170 sends blank data as an identifier to the print control unit 150 as “an identifier that can be identified as the last coupon”.

印刷制御部150は、識別子記憶部170から送られた識別子が空白データであるので、当該クーポンの最終行には何も印刷せずに印刷動作を終了する(ステップS44)。   Since the identifier sent from the identifier storage unit 170 is blank data, the print control unit 150 ends the printing operation without printing anything on the last line of the coupon (step S44).

図6に示すように、途中までのクーポンにはマーク「○」が印刷されているが、最後のクーポンだけはマークが印刷されていない。従って、プリンタの使用者である店員は、複数発券されるクーポンのうちこのクーポンが最後のクーポンであることを容易に認識することができる。   As shown in FIG. 6, the mark “◯” is printed on the coupon up to the middle, but only the last coupon is not printed with the mark. Therefore, the clerk who is the user of the printer can easily recognize that this coupon is the last coupon among the coupons issued a plurality of times.

なお、マークは「○」に限定されず、他のマークを用いてもよい。さらに、クーポン毎に異なるマークを印刷するようにしてもよく、最後のクーポンにもマークを印刷するが途中までのクーポンとは異なるマークを印刷し、最後のクーポンであることがその「異なるマーク」により識別できるようにしてもよい。
また、上記とは逆に、途中のクーポンには何も印刷せず、最後のクーポンだけにマークを印刷するようにしてもよい。
The mark is not limited to “◯”, and other marks may be used. In addition, a different mark may be printed for each coupon, a mark is also printed on the last coupon, but a mark different from the coupon until the middle is printed, and the `` different mark '' that the last coupon is May be identified.
In contrast to the above, nothing may be printed on the middle coupon, and the mark may be printed only on the last coupon.

また、上記実施例1,2において、さらに、最後のクーポンの印刷時に、音声やブザーなどで同一ジョブによる一連の印刷の最後であることを報知するようにしてもよい。   In the first and second embodiments, when the last coupon is printed, the end of a series of prints by the same job may be notified by voice or buzzer.

以上、説明したように、本実施形態のプリンタ100及びその制御方法によれば、1つの印刷ジョブによって複数のクーポンを印刷する場合、複数のクーポンのうち、最後に印刷するクーポンが当該印刷ジョブによって印刷される最後のクーポンであることを識別できるように印刷することができる。
これにより、本実施形態のプリンタ100によれば、使用者は複数枚発券されるクーポンのうち最後のクーポンを容易に認識することができる。
よって、本実施形態のプリンタ100をスーパーマーケット等のレジで会計を行うなどの場合に、店員は、最後のクーポンがまだ発券されていないのに間違って顧客を帰してしまったり、慌てて用紙を引きちぎってしまったりすることなく、発券されたクーポンを顧客に確実に配布することができる。
As described above, according to the printer 100 and the control method thereof according to the present embodiment, when printing a plurality of coupons by one print job, the coupon to be printed last among the plurality of coupons is the print job. It can be printed so that it can be identified that it is the last coupon to be printed.
Thereby, according to the printer 100 of the present embodiment, the user can easily recognize the last coupon among the coupons to be issued.
Therefore, when the printer 100 according to the present embodiment is to be checked out at a cash register such as a supermarket, the store clerk returns the customer by mistake even though the last coupon has not yet been issued, or rushes to tear the paper. It is possible to reliably distribute the issued coupons to customers without any trouble.

本発明の実施形態に係るプリンタの概略構成を説明するブロック図である。1 is a block diagram illustrating a schematic configuration of a printer according to an embodiment of the present invention. 実施例1に係るプリンタにおける制御方法のクーポン発券処理の流れを示すフローチャートである。6 is a flowchart illustrating a flow of coupon issuing processing of the control method in the printer according to the first embodiment. クーポン印刷ジョブの構成を概念的に示す模式図である。It is a schematic diagram which shows notionally the structure of a coupon print job. クーポンの識別手段として番号を印刷する場合の印刷例を示す模式図である。It is a schematic diagram which shows the example of a print in the case of printing a number as a coupon identification means. 実施例2に係るプリンタにおける制御方法のクーポン発券処理の流れを示すフローチャートである。6 is a flowchart illustrating a flow of coupon issuing processing of a control method in a printer according to a second embodiment. クーポンの識別手段としてマークを印刷する場合の印刷例を示す模式図である。It is a schematic diagram which shows the example of a print in the case of printing a mark as a coupon identification means.

符号の説明Explanation of symbols

100…プリンタ、110…受信部、120…受信バッファ、130…コマンド解析部、140…コマンド判定部、150…印刷制御部、160…メカ制御部、170…識別子記憶部、180…印刷バッファ、200…ホストコンピュータ、210…クーポン印刷データ登録部、220…クーポン印刷ジョブ生成部、230…送信部   DESCRIPTION OF SYMBOLS 100 ... Printer, 110 ... Reception part, 120 ... Reception buffer, 130 ... Command analysis part, 140 ... Command determination part, 150 ... Print control part, 160 ... Mechanical control part, 170 ... Identifier storage part, 180 ... Print buffer, 200 ... host computer, 210 ... coupon print data registration unit, 220 ... coupon print job generation unit, 230 ... transmission unit

Claims (9)

1つの印刷ジョブによって複数のクーポンを印刷するプリンタの印刷制御方法であって、
前記複数のクーポンのうち、最後に印刷するクーポンが当該印刷ジョブによって印刷される最後のクーポンであることを識別できるように、識別子を最後のクーポンではない途中のクーポンおよび/または最後のクーポンの所定の箇所に印刷することを特徴とするプリンタの印刷制御方法。
A printing control method for a printer that prints a plurality of coupons by one print job,
Among the plurality of coupons, an identifier is determined as an intermediate coupon that is not the last coupon and / or a predetermined one of the last coupon so that the last coupon to be printed can be identified as the last coupon printed by the print job. A printing control method for a printer, characterized in that printing is performed at a location.
前記所定の箇所は、前記途中のクーポンおよび/または最後のクーポンの最終行であることを特徴とする請求項1に記載のプリンタの印刷制御方法。   The printer control method according to claim 1, wherein the predetermined portion is a final row of the midway coupon and / or the last coupon. 前記印刷ジョブは、前記印刷ジョブを開始するジョブスタートコマンドと、次のクーポンの印刷実行のために改頁を指示するFFコマンドと、最後のクーポンの印刷を終了するジョブエンドコマンドと、を含み、
受信したコマンドが前記FFコマンドであると判定された場合、前記途中のクーポンであることを識別できる識別子を印刷するステップと、
受信したコマンドが前記ジョブエンドコマンドであると判定された場合、前記最後のクーポンであることを識別できる識別子を印刷するステップと、
を含むことを特徴とする請求項1又は2に記載のプリンタの印刷制御方法。
The print job includes a job start command for starting the print job, an FF command for instructing a page break for printing execution of the next coupon, and a job end command for ending printing of the last coupon,
If it is determined that the received command is the FF command, printing an identifier that can identify that the coupon is halfway;
If it is determined that the received command is the job end command, printing an identifier that identifies the last coupon;
The printer print control method according to claim 1, further comprising:
前記途中のクーポンであることを識別できる識別子は、クーポンを印刷する順番の通し番号であり、
前記最後のクーポンであることを識別できる識別子は、前記通し番号及びクーポンの総数であることを特徴とする請求項1〜3のいずれかに記載のプリンタの印刷制御方法。
The identifier that can be identified as a coupon on the way is a serial number in the order of printing coupons,
The printer control method according to claim 1, wherein the identifier that can identify the last coupon is the serial number and the total number of coupons.
前記途中のクーポンであることを識別できる識別子は、所定のマークであり、
前記最後のクーポンであることを識別できる識別子は、空白データであることを特徴とする請求項1〜3のいずれかに記載のプリンタの印刷制御方法。
The identifier that can be identified as a coupon on the way is a predetermined mark,
The printer control method according to claim 1, wherein the identifier that can identify the last coupon is blank data.
前記途中のクーポンであることを識別できる識別子は、所定のマークであり、
前記最後のクーポンであることを識別できる識別子は、前記所定のマークとは異なるマークであることを特徴とする請求項1〜3のいずれかに記載のプリンタの印刷制御方法。
The identifier that can be identified as a coupon on the way is a predetermined mark,
The printer control method according to claim 1, wherein the identifier that can identify the last coupon is a mark different from the predetermined mark.
前記途中のクーポンであることを識別できる識別子は、空白データであり、
前記最後のクーポンであることを識別できる識別子は、所定のマークであることを特徴とする請求項1〜3のいずれかに記載のプリンタの印刷制御方法。
The identifier that can be identified as a coupon on the way is blank data,
The printer control method according to claim 1, wherein the identifier that can be identified as the last coupon is a predetermined mark.
請求項1から7のいずれか一項に記載されたプリンタの印刷制御方法の各手順を、前記プリンタに搭載されたコンピュータに実行させることを特徴とするプリンタの印刷制御プログラム。   A printer print control program that causes a computer installed in the printer to execute each procedure of the printer print control method according to any one of claims 1 to 7. 1つの印刷ジョブによって複数のクーポンを印刷可能なプリンタであって、
当該クーポンが途中のクーポンであることを示す識別子および/または当該クーポンが最後のクーポンであることを示す識別子を記憶する識別子記憶部と、
次のクーポンの印刷実行のために改頁を指示するFFコマンド及び前記印刷ジョブを終了するジョブエンドコマンドを受信したことを判定するコマンド判定部と、
前記コマンド判定部が、前記FFコマンドを受信した場合は前記識別子記憶部から当該クーポンが途中のクーポンであることを示す識別子を取得し、前記ジョブエンドコマンドを受信した場合は前記識別子記憶部から当該クーポンが最後のクーポンであることを示す識別子を取得し、前記識別子をクーポンの所定の箇所に印刷するように制御する印刷制御部と、
を備えることを特徴とするプリンタ。
A printer capable of printing a plurality of coupons by one print job,
An identifier storage unit that stores an identifier indicating that the coupon is an intermediate coupon and / or an identifier indicating that the coupon is the last coupon;
A command determination unit for determining that an FF command for instructing a page break for printing execution of the next coupon and a job end command for ending the print job;
When the command determination unit receives the FF command, an identifier indicating that the coupon is an intermediate coupon is acquired from the identifier storage unit, and when the job end command is received, the identifier is stored from the identifier storage unit. A print control unit that acquires an identifier indicating that the coupon is the last coupon, and controls the identifier to be printed on a predetermined portion of the coupon;
A printer comprising:
JP2008275305A 2008-10-27 2008-10-27 Print control method, print control program, and printer Withdrawn JP2010099989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008275305A JP2010099989A (en) 2008-10-27 2008-10-27 Print control method, print control program, and printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008275305A JP2010099989A (en) 2008-10-27 2008-10-27 Print control method, print control program, and printer

Publications (1)

Publication Number Publication Date
JP2010099989A true JP2010099989A (en) 2010-05-06

Family

ID=42291050

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008275305A Withdrawn JP2010099989A (en) 2008-10-27 2008-10-27 Print control method, print control program, and printer

Country Status (1)

Country Link
JP (1) JP2010099989A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013244709A (en) * 2012-05-29 2013-12-09 Seiko Epson Corp Printer and its control method
JP2014028459A (en) * 2012-07-31 2014-02-13 Canon Inc Printing apparatus and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0524313A (en) * 1991-07-19 1993-02-02 Canon Inc Electronic machinery
JP2006268094A (en) * 2005-03-22 2006-10-05 Seiko Epson Corp Print control device, print control method, and print control program
JP2006318158A (en) * 2005-05-12 2006-11-24 Seiko Epson Corp Printing system, pos system, connection device, control method for printing system and program therefor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0524313A (en) * 1991-07-19 1993-02-02 Canon Inc Electronic machinery
JP2006268094A (en) * 2005-03-22 2006-10-05 Seiko Epson Corp Print control device, print control method, and print control program
JP2006318158A (en) * 2005-05-12 2006-11-24 Seiko Epson Corp Printing system, pos system, connection device, control method for printing system and program therefor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013244709A (en) * 2012-05-29 2013-12-09 Seiko Epson Corp Printer and its control method
JP2014028459A (en) * 2012-07-31 2014-02-13 Canon Inc Printing apparatus and method

Similar Documents

Publication Publication Date Title
JP4710903B2 (en) PRINT SYSTEM, POS SYSTEM, CONNECTION DEVICE, PRINT SYSTEM CONTROL METHOD AND ITS PROGRAM
JP5810609B2 (en) RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM
JP2009529165A5 (en)
JP2006323445A (en) Printing system, pos system, connection device, control method for printing system, and program therefor
JP6962086B2 (en) Management system and information processing method
US8755081B2 (en) Devices, methods, and media for using compatible commands to control recording devices
US9898691B2 (en) Control device, control system, and control method of a control device
JP2010099989A (en) Print control method, print control program, and printer
US9058133B2 (en) Control device, control method for a control device, and recording medium
JP4492188B2 (en) POS terminal control method, receipt print data generation method, program, printing apparatus, merchandise sales data processing apparatus, and POS system
US10048901B2 (en) Control device, control method of a control device, and storage medium
US8769170B2 (en) Electronic device, control method for an electronic device, and recording medium
JP2012198613A (en) Output device, journal generation system, journal generation method and program
JP4594812B2 (en) Printing system, printing request apparatus control method, program, and printing request apparatus
JP6986948B2 (en) Printer device
JP5031515B2 (en) Image forming apparatus, image forming method, program, and computer-readable recording medium
JP5828398B2 (en) RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM
US20120120442A1 (en) Recording device, control method for a recording device, and storage medium
JP2010105287A (en) Inkjet printer, and method and program for controlling inkjet printer
JP2011192107A (en) Control device, recording system, control method of the control device and program
US20170364314A1 (en) Print data processing device, print data processing method, program, and printing system
JP5810616B2 (en) RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM
JP5377378B2 (en) Form issuing system
KR101092552B1 (en) image forming apparatus and host apparatus
JP4414742B2 (en) Passbook printing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20111014

Free format text: JAPANESE INTERMEDIATE CODE: A621

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20120816

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121012

A131 Notification of reasons for refusal

Effective date: 20130205

Free format text: JAPANESE INTERMEDIATE CODE: A131

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20130213