[go: up one dir, main page]

JP2012113608A - Control device, recording system, control method of control device, and program - Google Patents

Control device, recording system, control method of control device, and program Download PDF

Info

Publication number
JP2012113608A
JP2012113608A JP2010263598A JP2010263598A JP2012113608A JP 2012113608 A JP2012113608 A JP 2012113608A JP 2010263598 A JP2010263598 A JP 2010263598A JP 2010263598 A JP2010263598 A JP 2010263598A JP 2012113608 A JP2012113608 A JP 2012113608A
Authority
JP
Japan
Prior art keywords
recording
image
recorded
recording speed
speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2010263598A
Other languages
Japanese (ja)
Inventor
Yasuhiro Takeuchi
康博 竹内
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 JP2010263598A priority Critical patent/JP2012113608A/en
Publication of JP2012113608A publication Critical patent/JP2012113608A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

【課題】記録に要する時間の長時間化を抑制しつつ、所定のシンボル画像については高い精度で記録できるようにする。
【解決手段】ホストコンピューター10は、プリンター12に記録させる画像に、所定のシンボル画像が含まれているか否かに応じて、記録速度を変更させてプリンター12に画像を記録させるプリンタードライバー実行部21を備える。
【選択図】図1
A predetermined symbol image can be recorded with high accuracy while suppressing an increase in time required for recording.
A host computer 10 changes a recording speed according to whether or not an image to be recorded by a printer 12 includes a predetermined symbol image, and causes the printer 12 to record an image. Is provided.
[Selection] Figure 1

Description

本発明は、記録装置を制御して記録媒体に記録を行わせる制御装置、制御装置と記録装置とを備える記録システム、制御装置の制御方法、及び、制御装置を制御するためのプログラムに関する。   The present invention relates to a control apparatus that controls a recording apparatus to perform recording on a recording medium, a recording system including the control apparatus and the recording apparatus, a control method for the control apparatus, and a program for controlling the control apparatus.

従来、シート等の記録媒体にバーコードを記録するバーコード印刷システムが知られている(例えば、特許文献1参照)。   Conventionally, a barcode printing system that records a barcode on a recording medium such as a sheet is known (see, for example, Patent Document 1).

特開2002−150211号公報JP 2002-150211 A

ここで、記録媒体に記録されるバーコードは、後に光学的に読み取られることが想定されている画像であり、高い精度で記録媒体に記録されることにより、後に光学的に読み取られるときの読み取りの成功率を向上することが求められる。一般に、記録媒体を搬送しつつ、記録ヘッドによって画像を記録する記録装置では、記録に伴って発生する振動の影響、その他の記録に係る構造上の特徴に起因して、遅い記録速度で画像を記録した場合の方が、速い記録速度で画像を記録する場合と比較して、高い精度で画像を記録することができるため、遅い記録速度で画像の記録を実行することにより、バーコード等の特定のシンボル画像を高い精度で記録することは可能となるものの、できるだけ画像の記録に要する時間を長くしたくないとするニーズがある。
本発明は、上述した事情に鑑みてなされたものであり、記録に要する時間の長時間化を抑制しつつ、所定のシンボル画像については高い精度で記録できるようにすることを目的とする。
Here, the barcode recorded on the recording medium is an image that is supposed to be optically read later, and is read when it is optically read later by being recorded on the recording medium with high accuracy. To improve the success rate. In general, in a recording apparatus that records an image by a recording head while transporting a recording medium, an image is recorded at a slow recording speed due to the influence of vibrations generated during recording and other structural features related to recording. Compared with the case of recording an image at a higher recording speed, the image can be recorded with higher accuracy. Therefore, by executing the image recording at a lower recording speed, a barcode or the like can be recorded. Although it is possible to record a specific symbol image with high accuracy, there is a need not to make the time required for image recording as long as possible.
The present invention has been made in view of the above-described circumstances, and an object of the present invention is to allow a predetermined symbol image to be recorded with high accuracy while suppressing an increase in time required for recording.

上記目的を達成するために、本発明は、前記記録装置を制御して記録媒体に記録を行わせる制御装置であって、前記記録装置に記録させる画像に、所定のシンボル画像が含まれているか否かに応じて、記録速度を変更させて前記記録装置に画像を記録させる記録制御部を備えることを特徴とする。
この構成によれば、記録制御部は、記録媒体に記録すべき画像に所定のシンボル画像が含まれているか否かに応じて、記録速度を変更させて記録装置に画像を記録させることが可能なため、所定のシンボル画像を含む画像については、記録速度を落として画像を記録し、これにより、当該画像を高い精度で記録することが可能となる。さらに、所定のシンボル画像を含まない場合は、記録速度を落とすことなく画像の記録を実行することが可能であるため、記録に要する時間の長時間化を抑制できる。
In order to achieve the above object, the present invention provides a control device for controlling the recording device to perform recording on a recording medium, wherein an image to be recorded by the recording device includes a predetermined symbol image. According to the determination, the recording apparatus is provided with a recording control unit that changes the recording speed and causes the recording apparatus to record an image.
According to this configuration, the recording control unit can cause the recording device to record an image by changing the recording speed depending on whether or not the image to be recorded on the recording medium includes a predetermined symbol image. Therefore, for an image including a predetermined symbol image, the image is recorded at a lower recording speed, and thus the image can be recorded with high accuracy. Furthermore, when a predetermined symbol image is not included, it is possible to perform image recording without reducing the recording speed, and therefore, it is possible to suppress an increase in time required for recording.

また、上記発明の制御装置であって、本発明は、前記記録制御部は、少なくとも、前記所定のシンボル画像を記録させる際の記録速度を変更させて、前記記録装置を制御して前記記録媒体に記録を行わせることを特徴とする。
この構成によれば、シンボル画像のみを記録速度を落として記録することが可能となり、記録速度の低下に伴う記録に要する時間の長時間化を効果的に抑制できる。
In the control device according to the invention, the recording control unit may change the recording speed at the time of recording the predetermined symbol image to control the recording device to control the recording medium. It is characterized in that the recording is performed.
According to this configuration, it is possible to record only the symbol image at a lower recording speed, and it is possible to effectively suppress an increase in the time required for recording accompanying a decrease in the recording speed.

また、上記発明の制御装置であって、本発明は、所定のアプリケーションを実行することにより、前記記録媒体に記録すべき画像に係る情報を含んだ記録情報データを生成するアプリケーション実行部をさらに備え、前記記録制御部は、前記アプリケーション実行部が生成した前記記録情報データに、前記記録媒体に記録すべき画像に係る情報として、前記所定のシンボル画像に係る情報が含まれているか否かに応じて、記録速度を変更させる制御コマンドを生成し、前記記録装置に出力することを特徴とする。
この構成によれば、記録制御部は、前記所定のシンボル画像に係る情報が含まれているか否かに応じて、記録速度を変更させる制御コマンドを生成し、記録装置に出力するため、記録装置は、入力された制御コマンドに基づいて、所定のシンボル画像に係る情報が含まれているか否かに応じて、記録速度を変更して画像を記録できる。
また、上記のような制御コマンドを記録装置と制御装置との間でやり取り可能なように、制御プログラムや、通信のプロトコルを設定することにより、制御装置は、制御コマンドを活用して、簡易に、記録速度を変更させることができる。
The control device according to the invention may further include an application execution unit that generates recording information data including information on an image to be recorded on the recording medium by executing a predetermined application. The recording control unit determines whether the recording information data generated by the application execution unit includes information on the predetermined symbol image as information on the image to be recorded on the recording medium. Then, a control command for changing the recording speed is generated and output to the recording apparatus.
According to this configuration, the recording control unit generates a control command for changing the recording speed according to whether or not information relating to the predetermined symbol image is included, and outputs the control command to the recording apparatus. Can record an image by changing the recording speed according to whether or not information relating to a predetermined symbol image is included based on the input control command.
In addition, by setting a control program and a communication protocol so that the above control commands can be exchanged between the recording device and the control device, the control device can easily use the control commands. The recording speed can be changed.

また、上記発明の制御装置であって、本発明は、前記所定のシンボル画像を含む画像を記録させる際の記録速度が入力可能なユーザーインターフェイスをさらに備え、前記記録制御部は、前記記録装置に記録させる画像に、前記所定のシンボル画像が含まれている場合は、前記所定のシンボル画像を少なくとも含む画像を記録する際の記録速度が、前記ユーザーインターフェイスに入力された記録速度となるように、記録速度を変更させて前記記録装置に画像を記録させることを特徴とする。
この構成によれば、ユーザーインターフェイスを利用して、ユーザーは、容易に所定のシンボル画像を含む画像を記録させる際の記録速度を設定できる。また、ユーザーによる設定に応じて、シンボル画像を含む画像を記録する際の記録速度を変更して、画像の記録を実行できる。
The control device according to the invention may further include a user interface capable of inputting a recording speed when recording an image including the predetermined symbol image, and the recording control unit may be included in the recording device. When the predetermined symbol image is included in the image to be recorded, the recording speed when recording an image including at least the predetermined symbol image is the recording speed input to the user interface. An image is recorded on the recording apparatus by changing a recording speed.
According to this configuration, using the user interface, the user can easily set a recording speed for recording an image including a predetermined symbol image. Further, the image recording can be executed by changing the recording speed when recording the image including the symbol image according to the setting by the user.

また、上記発明の制御装置であって、本発明は、前記記録制御部は、前記記録装置に記録させる画像に、前記所定のシンボル画像が含まれている場合は、前記所定のシンボル画像を少なくとも含む画像を記録する際の記録速度が、当該所定のシンボル画像を記録するのに適した記録速度となるように、記録速度を変更させて前記記録装置に画像を記録させることを特徴とする。
この構成によれば、シンボル画像については、当該シンボル画像を記録するのに適した記録速度で記録することが可能となる。また、シンボル画像以外の画像については、記録速度を落として画像が記録されることがないため、記録に要する時間の長時間化を抑制できる。
Further, in the control device according to the invention, the recording control unit may include at least the predetermined symbol image when the image to be recorded by the recording device includes the predetermined symbol image. The recording apparatus is configured to record the image by changing the recording speed so that the recording speed when recording the image including the image becomes a recording speed suitable for recording the predetermined symbol image.
According to this configuration, the symbol image can be recorded at a recording speed suitable for recording the symbol image. Further, since images other than the symbol image are not recorded at a lower recording speed, it is possible to suppress an increase in the time required for recording.

また、上記発明の制御装置であって、本発明は、前記記録媒体に画像を形成する記録ヘッドを備え、前記記録制御部は、前記所定のシンボル画像、及び、前記記録ヘッドにより当該所定のシンボル画像と同時並行的に記録される他の画像の全領域が一定の記録速度で記録が行われるように前記記録装置を制御することを特徴とする。
この構成によれば、記録ヘッドにより所定のシンボル画像と同時並行的に記録される他の画像については、途中で記録速度が変わることなく、全領域が一定の記録速度で記録されることとなり、途中で記録速度が変わることによるムラが発生することを効果的に防止できる。
In the control device according to the invention, the invention includes a recording head that forms an image on the recording medium, and the recording control unit includes the predetermined symbol image and the predetermined symbol by the recording head. The recording apparatus is controlled so that recording is performed at a constant recording speed for all areas of other images recorded in parallel with the image.
According to this configuration, for other images recorded in parallel with a predetermined symbol image by the recording head, the entire area is recorded at a constant recording speed without changing the recording speed in the middle, It is possible to effectively prevent the occurrence of unevenness due to a change in recording speed in the middle.

また、上記発明の制御装置であって、本発明は、前記所定のシンボル画像は、光学的に読み取られることが想定された画像であり、前記記録制御部は、少なくとも、前記記録装置に前記所定のシンボル画像を記録させる際の記録速度を、他の画像を記録させる際の記録速度よりも遅くさせることを特徴とする。
この構成によれば、光学的に読み取られることが想定されたシンボル画像について、記録速度を遅くして記録することにより、高い精度での記録が可能となる。
Further, in the control device according to the above invention, in the present invention, the predetermined symbol image is an image that is assumed to be optically read, and the recording control unit at least applies the predetermined symbol to the recording device. The recording speed when recording the symbol image is slower than the recording speed when recording other images.
According to this configuration, a symbol image that is supposed to be optically read can be recorded with high accuracy by recording at a low recording speed.

また、上記目的を達成するために、本発明は、記録装置と、前記記録装置に接続され、前記記録装置を制御して記録媒体に記録を行わせる制御装置とを備える記録システムであって、前記制御装置は、前記記録装置に記録させる画像に、所定のシンボル画像が含まれているか否かに応じて、記録速度を変更させて前記記録装置に画像を記録させる記録制御部を備えることを特徴とする。
この構成によれば、記録制御部は、記録媒体に記録すべき画像に所定のシンボル画像が含まれているか否かに応じて、記録速度を変更させて記録装置に画像を記録させることが可能なため、所定のシンボル画像を含む画像については、記録速度を落として画像を記録し、これにより、当該画像を高い精度で記録することが可能となる。さらに、所定のシンボル画像を含まない場合は、記録速度を落とすことなく画像の記録を実行することが可能であるため、記録に要する時間の長時間化を抑制できる。
In order to achieve the above object, the present invention is a recording system comprising: a recording device; and a control device that is connected to the recording device and controls the recording device to perform recording on a recording medium, The control device includes a recording control unit that changes the recording speed and records the image on the recording device according to whether or not the image to be recorded on the recording device includes a predetermined symbol image. Features.
According to this configuration, the recording control unit can cause the recording device to record an image by changing the recording speed depending on whether or not the image to be recorded on the recording medium includes a predetermined symbol image. Therefore, for an image including a predetermined symbol image, the image is recorded at a lower recording speed, and thus the image can be recorded with high accuracy. Furthermore, when a predetermined symbol image is not included, it is possible to perform image recording without reducing the recording speed, and therefore, it is possible to suppress an increase in time required for recording.

また、上記目的を達成するために、本発明は、前記記録装置を制御して記録媒体に記録を行わせる制御装置の制御方法であって、前記記録装置に記録させる画像に、所定のシンボル画像が含まれているか否かを判別し、判別結果に応じて、記録速度を変更させて前記記録装置に画像を記録させる記録制御部を備えることを特徴とする。
この制御方法によれば、記録媒体に記録すべき画像に所定のシンボル画像が含まれているか否かに応じて、記録速度を変更させて記録装置に画像を記録させることが可能なため、所定のシンボル画像を含む画像については、記録速度を落として画像を記録し、これにより、当該画像を高い精度で記録することが可能となる。さらに、所定のシンボル画像を含まない場合は、記録速度を落とすことなく画像の記録を実行することが可能であるため、記録に要する時間の長時間化を抑制できる。
In order to achieve the above object, the present invention provides a control method for a control apparatus that controls the recording apparatus to perform recording on a recording medium, wherein a predetermined symbol image is added to an image to be recorded on the recording apparatus. And a recording control unit that changes the recording speed according to the determination result and causes the recording apparatus to record an image.
According to this control method, it is possible to change the recording speed and cause the recording apparatus to record an image depending on whether or not the image to be recorded on the recording medium includes a predetermined symbol image. With respect to the image including the symbol image, the image is recorded at a lower recording speed, and thus the image can be recorded with high accuracy. Furthermore, when a predetermined symbol image is not included, it is possible to perform image recording without reducing the recording speed, and therefore, it is possible to suppress an increase in time required for recording.

また、上記目的を達成するために、本発明は、前記記録装置を制御して記録媒体に記録を行わせる制御装置を制御する制御部により実行されるプログラムであって、前記制御部を、前記記録装置に記録させる画像に、所定のシンボル画像が含まれているか否かに応じて、記録速度を変更させて前記記録装置に画像を記録させる記録制御部として機能させることを特徴とする。
このプログラムを実行すれば、記録媒体に記録すべき画像に所定のシンボル画像が含まれているか否かに応じて、記録速度を変更させて記録装置に画像を記録させることが可能なため、所定のシンボル画像を含む画像については、記録速度を落として画像を記録し、これにより、当該画像を高い精度で記録することが可能となる。さらに、所定のシンボル画像を含まない場合は、記録速度を落とすことなく画像の記録を実行することが可能であるため、記録に要する時間の長時間化を抑制できる。
In order to achieve the above object, the present invention provides a program executed by a control unit that controls a control device that controls the recording device to perform recording on a recording medium. According to the present invention, the image to be recorded by the recording apparatus is made to function as a recording control unit for changing the recording speed and recording the image by the recording apparatus depending on whether or not a predetermined symbol image is included.
By executing this program, it is possible to change the recording speed and record the image on the recording device depending on whether or not the image to be recorded on the recording medium includes a predetermined symbol image. With respect to the image including the symbol image, the image is recorded at a lower recording speed, and thus the image can be recorded with high accuracy. Furthermore, when a predetermined symbol image is not included, it is possible to perform image recording without reducing the recording speed, and therefore, it is possible to suppress an increase in time required for recording.

本発明によれば、記録に要する時間の長時間化を抑制しつつ、所定のシンボル画像については高い精度で記録できるようになる。   According to the present invention, it is possible to record a predetermined symbol image with high accuracy while suppressing an increase in time required for recording.

第1実施形態に係る記録システムの機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of the recording system which concerns on 1st Embodiment. 記録システムにより発行されるクーポンを模式的に示す図である。It is a figure which shows typically the coupon issued by a recording system. 各種記録速度を設定するためのユーザーインターフェイスを示す図。The figure which shows the user interface for setting various recording speeds. ホストコンピューターの動作を示すフローチャートである。It is a flowchart which shows operation | movement of a host computer. 制御コマンドの内容を示す図である。It is a figure which shows the content of the control command. プリンターの動作を示すフローチャートである。3 is a flowchart illustrating an operation of a printer. 第2実施形態に係るホストコンピューターの動作を示すフローチャート。9 is a flowchart showing the operation of a host computer according to the second embodiment. 第3実施形態に係るホストコンピューターが生成する制御コマンド。A control command generated by the host computer according to the third embodiment. クーポンの別の例を模式的に示す図である。It is a figure which shows typically another example of a coupon.

以下、図面を参照して本発明の実施形態について説明する。
<第1実施形態>
図1は、本実施形態に係る記録システム1の機能的構成を示すブロック図である。
記録システム1は、スーパーマーケットやコンビニエンスストア等の店舗に適用され、所定のクーポン5(図2)を発行するシステムである。
この記録システム1により発行されたクーポン5は、例えば、当該システムが適用された店舗のレジにおいて、購入した商品の支払いが終了した顧客に対し、レシートと共に引き渡される。
図1に示すように、記録システム1は、ホストコンピューター10(制御装置)と、プリンター12(記録装置)とを備えている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
<First Embodiment>
FIG. 1 is a block diagram showing a functional configuration of a recording system 1 according to the present embodiment.
The recording system 1 is a system that is applied to a store such as a supermarket or a convenience store and issues a predetermined coupon 5 (FIG. 2).
The coupon 5 issued by the recording system 1 is delivered together with a receipt to a customer who has paid for the purchased product at a cash register of a store to which the system is applied.
As shown in FIG. 1, the recording system 1 includes a host computer 10 (control device) and a printer 12 (recording device).

ホストコンピューター10は、制御部15と、表示部16と、入力部17と、インターフェイス部18と、記憶部19と、を備えている。
制御部15は、ホストコンピューター10の各部を中枢的に制御するものであり、演算実行部としてのCPUや、このCPUに実行される基本制御プログラムや、この基本制御プログラムに係るデータ等を不揮発的に記憶するROM、CPUに実行されるプログラムやこのプログラムに係るデータ等を一時的に記憶するRAM、その他の周辺回路等を備えている。
図1に示すように、制御部15は、POSアプリケーション実行部20と、プリンタードライバー実行部21(記録制御部)とを備えているが、これらについては、後述する。
The host computer 10 includes a control unit 15, a display unit 16, an input unit 17, an interface unit 18, and a storage unit 19.
The control unit 15 centrally controls each unit of the host computer 10, and stores a CPU as a calculation execution unit, a basic control program executed by the CPU, data related to the basic control program, and the like in a nonvolatile manner. ROM, a program executed by the CPU, a RAM that temporarily stores data related to the program, and other peripheral circuits.
As shown in FIG. 1, the control unit 15 includes a POS application execution unit 20 and a printer driver execution unit 21 (recording control unit), which will be described later.

表示部16は、液晶ディスプレーパネルや、有機ELパネル等の表示パネル16aを備え、制御部15の制御の下、表示パネル16aに各種情報を表示する。
入力部17は、キーボードや、マウス、バーコードリーダー、カードリーダー等の入力デバイスに接続され、これら入力デバイスの出力信号を制御部15に出力する。バーコードリーダーは商品の包装紙等に記録されたバーコードの読み取りに利用され、カードリーダーはクレジットカードや、会員カード等に記録された情報の読み取りに利用される。
なお、記録システム1は、顧客が購入した商品や、顧客の属性(会員であるか否か等)に応じて、顧客に引き渡すために発行されるクーポン5の内容が異なる構成となっており、バーコードリーダーやカードリーダー等の入力デバイスを用いて取得した情報は、クーポン5の発行に係る処理に用いられる。
インターフェイス部18は、制御部15の制御の下、プリンター12との間で通信規格に準拠した通信を行う。
記憶部19は、各種データを書き換え可能に記憶するものであり、ハードディスクや、EEPROM等の不揮発性メモリーを備えている。
The display unit 16 includes a display panel 16 a such as a liquid crystal display panel or an organic EL panel, and displays various types of information on the display panel 16 a under the control of the control unit 15.
The input unit 17 is connected to input devices such as a keyboard, a mouse, a barcode reader, and a card reader, and outputs output signals from these input devices to the control unit 15. The bar code reader is used for reading a bar code recorded on a product wrapping paper or the like, and the card reader is used for reading information recorded on a credit card, a member card or the like.
The recording system 1 has a configuration in which the content of the coupon 5 issued for delivery to the customer differs depending on the product purchased by the customer and the customer's attributes (whether the member is a member, etc.) Information acquired using an input device such as a barcode reader or a card reader is used for processing related to the issue of the coupon 5.
The interface unit 18 performs communication based on the communication standard with the printer 12 under the control of the control unit 15.
The storage unit 19 stores various data in a rewritable manner, and includes a hard disk and a nonvolatile memory such as an EEPROM.

一方、プリンター12は、ロール状に巻かれた感熱ロール紙(記録媒体)を、ローラー状のプラテンにより搬送し、この感熱ロール紙の記録面に、発熱素子を備えたラインサーマルヘッド25(記録ヘッド)によって熱を与えることにより画像を記録した上で、所定の位置で感熱ロール紙を切断することにより、クーポン5を発行するサーマルプリンターである。
図1に示すように、プリンター12は、プリンター側制御部30と、プリンター側表示部31と、プリンター側入力部32と、プリントエンジン33と、プリンター側記憶部34と、送受信制御部35と、受信バッファー36と、を備えている。
プリンター側制御部30は、プリンター12を中枢的に制御するものであり、上述した制御部15と同様、CPUやROM、RAMその他の周辺回路等を備えている。
プリンター側表示部31は、プリンター12の動作状態等の各種情報を表示するためのLEDや、液晶パネル、有機ELパネル等の表示パネル(不図示)を備え、プリンター側制御部30の制御の下、当該表示パネルに各種情報を表示する。
プリンター側入力部32は、プリンター12に設けられた各種操作スイッチに接続され、操作スイッチに対する操作を検出し操作信号としてプリンター側制御部30に出力する。
プリントエンジン33は、プリンター側制御部30の制御の下、用紙端センサーや用紙残量センサー等の各種センサーの検出値を監視しながら、上述したラインサーマルヘッド25のほか、感熱ロール紙を搬送するプラテンローラーを駆動するための搬送モーターや、所定の位置で感熱ロール紙を切断するためのカッター機構が備えるカッターを駆動するためのカッター駆動モーターを動作させて、感熱ロール紙に画像を記録し、画像を記録した感熱ロール紙を切断することによりクーポン5を発行する。
プリンター側記憶部34は、不揮発性メモリーを備え、各種データを書き換え可能に記憶する。プリンター側記憶部34には、設定情報データ37が記憶されているが、これについては後述する。
送受信制御部35は、ホストコンピューター10との間で所定のプロトコルに準拠した通信を行う。特に、送受信制御部35は、ホストコンピューター10から送信される信号を受信し、受信した信号を復調(デコード)してコマンドやデータを生成し、受信バッファー36に順次記憶する。
受信バッファー36は、送受信制御部35が出力したコマンドやデータを順次記憶する一時記憶装置である。受信バッファー36には、送受信制御部35がホストコンピューター10から受信したコマンドが、受信した順に格納される。この受信バッファー36に記憶されているコマンドやデータは、プリンター側制御部30によって、基本的に、受信した順に読み出されて、実行される。
On the other hand, the printer 12 transports a thermal roll paper (recording medium) wound in a roll shape by a roller-like platen, and a line thermal head 25 (recording head) having a heating element on the recording surface of the thermal roll paper. The thermal printer issues a coupon 5 by recording an image by applying heat and cutting the thermal roll paper at a predetermined position.
As shown in FIG. 1, the printer 12 includes a printer-side control unit 30, a printer-side display unit 31, a printer-side input unit 32, a print engine 33, a printer-side storage unit 34, a transmission / reception control unit 35, A reception buffer 36.
The printer-side control unit 30 centrally controls the printer 12 and includes a CPU, a ROM, a RAM, and other peripheral circuits, as with the control unit 15 described above.
The printer-side display unit 31 includes an LED for displaying various information such as the operation state of the printer 12 and a display panel (not shown) such as a liquid crystal panel or an organic EL panel, and is controlled by the printer-side control unit 30. Various information is displayed on the display panel.
The printer side input unit 32 is connected to various operation switches provided in the printer 12, detects an operation on the operation switch, and outputs it to the printer side control unit 30 as an operation signal.
The print engine 33 conveys the thermal roll paper in addition to the above-described line thermal head 25 while monitoring the detection values of various sensors such as a paper edge sensor and a paper remaining amount sensor under the control of the printer-side control unit 30. Operate the conveyance motor for driving the platen roller and the cutter drive motor for driving the cutter included in the cutter mechanism for cutting the thermal roll paper at a predetermined position to record the image on the thermal roll paper, The coupon 5 is issued by cutting the thermal roll paper on which the image is recorded.
The printer-side storage unit 34 includes a nonvolatile memory and stores various data in a rewritable manner. The printer-side storage unit 34 stores setting information data 37, which will be described later.
The transmission / reception control unit 35 performs communication based on a predetermined protocol with the host computer 10. In particular, the transmission / reception control unit 35 receives a signal transmitted from the host computer 10, demodulates (decodes) the received signal, generates a command and data, and sequentially stores them in the reception buffer 36.
The reception buffer 36 is a temporary storage device that sequentially stores commands and data output from the transmission / reception control unit 35. In the reception buffer 36, commands received by the transmission / reception control unit 35 from the host computer 10 are stored in the order received. The commands and data stored in the reception buffer 36 are basically read out and executed by the printer-side control unit 30 in the order received.

図2は、本実施形態に係る記録システム1によって発行されるクーポン5の一例を模式的に示す図である。
本実施形態では、記録システム1によって発行されるクーポン5には、図2に示すようなバーコードの画像が記録されるものと、バーコードの画像が記録されないものと、の2種類が存在している。
なお、クーポン5に記録されたバーコードは、ホストコンピューター10がクーポン5の内容に対応する処理を実行するための識別コードであり、例えば、クーポン5が、所定の金額を差し引くことを内容とするものである場合、会計の際にバーコードリーダーによって当該クーポン5のバーコードが読み取られ、その旨の信号がホストコンピューター10に入力された場合、ホストコンピューター10は、購入金額から所定の金額を差し引く処理を実行する。
図2に一例として示すクーポン5では、その上部にトップロゴ40が記録される。このトップロゴ40の下方には、クーポン5の内容を示すクーポン情報画像41が記録される。このクーポン情報画像41の下方には、当該クーポン5に対応するバーコードの画像であるバーコード画像42が記録される。
FIG. 2 is a diagram schematically illustrating an example of a coupon 5 issued by the recording system 1 according to the present embodiment.
In the present embodiment, the coupon 5 issued by the recording system 1 has two types: a barcode image as shown in FIG. 2 and a barcode image not recorded. ing.
The bar code recorded on the coupon 5 is an identification code for the host computer 10 to execute processing corresponding to the content of the coupon 5, for example, the content of the coupon 5 deducting a predetermined amount. If it is, the barcode of the coupon 5 is read by the barcode reader at the time of accounting, and when a signal to that effect is input to the host computer 10, the host computer 10 deducts a predetermined amount from the purchase amount. Execute the process.
In the coupon 5 shown as an example in FIG. 2, the top logo 40 is recorded on the top thereof. Below the top logo 40, a coupon information image 41 indicating the contents of the coupon 5 is recorded. Below the coupon information image 41, a barcode image 42, which is a barcode image corresponding to the coupon 5, is recorded.

次いで、POSアプリケーション実行部20、及び、プリンタードライバー実行部21(記録制御部)の動作の説明を通して、図2に一例として示したクーポン5(バーコード画像42が記録されるクーポン5)を発行する場合における記録システム1の基本的な動作を説明する。
POSアプリケーション実行部20は、ホストコンピューター10に予めインストールされたPOSアプリケーションを実行することにより、クーポン5に記録すべき画像に係る情報を含む記録情報データを生成し、プリンタードライバー実行部21に出力する。
記録情報データとは、クーポン5の所定の位置に所定の画像が適切に記録されるように、画像に関する各種情報が、プリンタードライバー実行部21(後述)によって解析可能な様式で保持されたデータのことである。
具体的には、図2に示すクーポン5に係る記録情報データには、トップロゴ40として記録すべき画像を示すデータや、クーポン5の記録可能領域においてトップロゴ40が記録されるべき位置を示すデータ、トップロゴ40の大きさを示すデータが含まれる。
また、記録情報データには、クーポン5の記録可能領域においてクーポン情報画像41が記録されるべき位置を示すデータや、クーポン情報画像41に記録されるべき文字列を示すデータが含まれる。文字列に含まれる各文字は、所定の文字コードとして表現される。
さらに、図2のクーポン5のように、バーコード画像42が記録されるクーポン5に係る記録情報データには、クーポン5の記録可能領域におけるバーコード画像42の位置、大きさを示すデータのほか、記録されるべきバーコードを特定するデータが含まれる。当該データにおいて、バーコードは、当該バーコードを示す文字列と、バーコードフォントの種類との組み合わせによって特定されている。バーコードフォントとは、バーコードの各種規格に対応するフォントであり、その種類としては、例えば、JAN8(EAN)、JAN13(EAN)、CODE39、CODE93、CODE128(EAN)、ITF、CODABAR等がある。
Next, through the description of the operations of the POS application execution unit 20 and the printer driver execution unit 21 (recording control unit), the coupon 5 (coupon 5 on which the barcode image 42 is recorded) shown as an example in FIG. 2 is issued. The basic operation of the recording system 1 in this case will be described.
The POS application execution unit 20 generates recording information data including information relating to an image to be recorded on the coupon 5 by executing a POS application installed in the host computer 10 in advance, and outputs the recording information data to the printer driver execution unit 21. .
The recorded information data is data in which various types of information related to images are held in a format that can be analyzed by a printer driver execution unit 21 (described later) so that a predetermined image is appropriately recorded at a predetermined position of the coupon 5. That is.
Specifically, the recording information data related to the coupon 5 shown in FIG. 2 indicates data indicating an image to be recorded as the top logo 40 and a position where the top logo 40 should be recorded in the recordable area of the coupon 5. Data and data indicating the size of the top logo 40 are included.
The recorded information data includes data indicating the position where the coupon information image 41 should be recorded in the recordable area of the coupon 5 and data indicating the character string to be recorded in the coupon information image 41. Each character included in the character string is expressed as a predetermined character code.
Further, as in the coupon 5 of FIG. 2, the record information data related to the coupon 5 in which the barcode image 42 is recorded includes data indicating the position and size of the barcode image 42 in the recordable area of the coupon 5. , Data identifying the barcode to be recorded is included. In the data, the barcode is specified by a combination of a character string indicating the barcode and the type of barcode font. The barcode font is a font corresponding to various standards of barcode, and examples of the font include JAN8 (EAN), JAN13 (EAN), CODE39, CODE93, CODE128 (EAN), ITF, and CODEBAR. .

プリンタードライバー実行部21は、ホストコンピューター10に予めインストールされたプリンタードライバーを実行することにより、POSアプリケーション実行部20から入力された記録情報データに基づいて、プリンター12のコマンド仕様に対応した制御コマンドを生成し、プリンター側制御部30に出力する。
制御コマンドは、プリンター12にクーポン5の発行に係る一連の処理を実行させるためのコマンドであり、搬送機構に感熱ロール紙を搬送させるコマンドや、ラインサーマルヘッド25を駆動させるコマンド、切断機構に感熱ロール紙を切断させるコマンド等が含まれている。
ここで、図2に示すクーポン5の発行に係る制御コマンドには、少なくとも、トップロゴ40の記録を行わせるロゴ記録コマンド、クーポン情報画像41の記録を行わせるクーポン情報記録コマンド、及び、バーコード画像42の記録を行わせるバーコード記録コマンドの3つのコマンドが含まれている。これら記録コマンドは、所定の位置に所定の態様で所定の画像が記録されるようにラインサーマルヘッド25や、搬送機構を駆動させるコマンドである。
特に、バーコード記録コマンドには、バーコード画像42を示す画像データ(例えば、ビットマップデータ)が含まれている。プリンタードライバーには、バーコードを示す文字列と、バーコードフォントの種類との組み合わせに基づいて、当該バーコードを示す画像データを生成する機能を有するプログラムが含まれており、プリンタードライバー実行部21は、POSアプリケーション実行部20から入力された記録情報データに含まれるバーコードを示す文字列、及び、バーコードフォントの種類に基づいて、バーコード画像42を示す画像データを生成する。
The printer driver execution unit 21 executes control commands corresponding to the command specifications of the printer 12 based on the recording information data input from the POS application execution unit 20 by executing a printer driver installed in the host computer 10 in advance. Generate and output to the printer-side control unit 30.
The control command is a command for causing the printer 12 to execute a series of processes related to the issuance of the coupon 5, and a command for causing the conveyance mechanism to convey the thermal roll paper, a command for driving the line thermal head 25, and a thermal mechanism for the cutting mechanism. A command for cutting the roll paper is included.
Here, the control command relating to the issuance of the coupon 5 shown in FIG. 2 includes at least a logo recording command for recording the top logo 40, a coupon information recording command for recording the coupon information image 41, and a barcode. Three commands, a barcode recording command for recording the image 42, are included. These recording commands are commands for driving the line thermal head 25 and the transport mechanism so that a predetermined image is recorded in a predetermined manner at a predetermined position.
In particular, the barcode recording command includes image data (for example, bitmap data) indicating the barcode image 42. The printer driver includes a program having a function of generating image data indicating a barcode based on a combination of a character string indicating the barcode and a barcode font type. Generates image data indicating the barcode image 42 based on the character string indicating the barcode and the type of barcode font included in the recording information data input from the POS application execution unit 20.

プリンタードライバー実行部21からプリンター12へ出力された制御コマンドに含まれる各コマンドは、送受信制御部35により、受信バッファー36に順次格納される。
プリンター側制御部30は、プリンター側記憶部34に記憶された設定情報データ37を参照した上で、受信バッファー36に格納された制御コマンドを、順次、読み出して実行することにより、クーポン5の発行を実行する。
設定情報データ37とは、プリンター12の記録に関する設定情報(設定値)が記述されたデータのことである。
記録に関する設定情報とは、例えば、記録濃度や、感熱ロール紙のロール紙幅等の画像の記録に関連する各種設定のことである。特に、設定情報データ37には、記録速度(後述)を示す基本記録速度情報38が記憶されている。
制御コマンドが入力されたプリンター側制御部30は、クーポン5の発行に際し、設定情報データ37に記述された各種設定情報が反映された状態でクーポン5を発行するべく、設定情報データ37を参照した上で、制御コマンドに基づいて各部を制御し、クーポン5を発行する。特に、詳細は後述するが、プリンター側制御部30は、基本記録速度情報38が示す記録速度に準拠したスピードで、画像の記録を実行する。
Each command included in the control command output from the printer driver execution unit 21 to the printer 12 is sequentially stored in the reception buffer 36 by the transmission / reception control unit 35.
The printer-side control unit 30 issues the coupon 5 by referring to the setting information data 37 stored in the printer-side storage unit 34 and sequentially reading and executing the control commands stored in the reception buffer 36. Execute.
The setting information data 37 is data in which setting information (setting values) relating to recording of the printer 12 is described.
The setting information related to recording refers to various settings related to image recording such as recording density and roll paper width of thermal roll paper. In particular, the setting information data 37 stores basic recording speed information 38 indicating a recording speed (described later).
When the control command is input, the printer-side control unit 30 refers to the setting information data 37 to issue the coupon 5 in a state in which various setting information described in the setting information data 37 is reflected when the coupon 5 is issued. Above, each part is controlled based on a control command, and the coupon 5 is issued. In particular, although details will be described later, the printer-side control unit 30 executes image recording at a speed that conforms to the recording speed indicated by the basic recording speed information 38.

ところで、クーポン5に記録されるバーコードは、バーコードリーダー等の光学読取装置により、後に光学的に読み取られることが想定された画像である。従って、高い精度でクーポン5に記録されることにより、光学的な読み取りの成功率を向上することが求められる。
また、クーポン5は、店舗のレジにおいて顧客に引き渡されるものである。従って、クーポン5を受け取る顧客は、クーポン5の発行が完了するまでの間待機する必要がある。このため、クーポン5の発行に係る処理、特に、クーポン5の発行に際して行われる感熱ロール紙への画像の記録に係る処理に要する時間をできるだけ短縮したいとするニーズがある。
以上を踏まえ、本実施形態に係る記録システム1では、以下の動作を実行する。
By the way, the barcode recorded on the coupon 5 is an image assumed to be optically read later by an optical reading device such as a barcode reader. Therefore, it is required to improve the success rate of optical reading by being recorded on the coupon 5 with high accuracy.
The coupon 5 is handed over to the customer at the store cash register. Therefore, the customer who receives the coupon 5 needs to wait until the issue of the coupon 5 is completed. For this reason, there is a need to reduce as much as possible the time required for the processing related to the issue of the coupon 5, in particular, the processing related to the recording of the image on the thermal roll paper performed when the coupon 5 is issued.
Based on the above, the recording system 1 according to the present embodiment performs the following operations.

図3は、プリンタードライバー実行部21により提供されるユーザーインターフェイスの一例を示す図である。図3に示すユーザーインターフェイスは、所定のOSによって提供されるGUI環境を利用して表示パネル16aに表示される。
図3(A)は、基本記録速度を入力するためのユーザーインターフェイスである基本記録速度入力ウインドウ50を示している。
記録速度とは、プリンター12が感熱ロール紙に画像を記録する際の動作の速さのことである。本実施形態に係るプリンター12では、ラインサーマルヘッド25の駆動の速さ(ラインサーマルヘッド25の発熱素子が駆動するタイミングの周期)や、ラインサーマルヘッド25の駆動に付随して動作する機構、装置の動作の速さが可変とされ、これに応じて、記録速度が調整可能となっている。同一の画像については、記録速度が速いほど、当該画像の記録に要する時間が短く、一方、記録速度が遅いほど、当該画像の記録に要する時間が長くなる。
また、基本記録速度とは、クーポン5を発行する際の基準となる記録速度のことであり、後述する例外を除き、プリンター12は、設定された基本記録速度に準拠したスピードで、画像の記録を実行する。
FIG. 3 is a diagram illustrating an example of a user interface provided by the printer driver execution unit 21. The user interface shown in FIG. 3 is displayed on the display panel 16a using a GUI environment provided by a predetermined OS.
FIG. 3A shows a basic recording speed input window 50 which is a user interface for inputting a basic recording speed.
The recording speed is the speed of operation when the printer 12 records an image on the thermal roll paper. In the printer 12 according to the present embodiment, the driving speed of the line thermal head 25 (the cycle of the timing at which the heating elements of the line thermal head 25 are driven), and the mechanism and apparatus that operate in association with the driving of the line thermal head 25 The operation speed is variable, and the recording speed can be adjusted accordingly. For the same image, the faster the recording speed, the shorter the time required to record the image, while the slower the recording speed, the longer the time required to record the image.
The basic recording speed is a reference recording speed when issuing the coupon 5, and the printer 12 records an image at a speed conforming to the set basic recording speed, except for an exception described later. Execute.

上述したように、プリンター12は、ラインサーマルヘッド25を備えている。このラインサーマルヘッド25には、所定の解像度に準拠して複数の発熱素子が列をなして並んで配列されている。そして、感熱ロール紙への画像の記録は、各発熱素子が通電により所定のタイミングで適宜発熱し、当該発熱に伴って、画素が感熱ロール紙に形成されることにより、実行される。
ここで、発熱素子は、通電されているか否かに応じて発熱状態(発熱素子の温度が所定の温度よりも高く感熱ロール紙に画素を形成可能な状態)と、非発熱状態(発熱素子の温度が所定の温度よりも低く感熱ロール紙に画素が形成された状態)との2つの状態のいずれかの状態となるが、発熱素子の駆動タイミングの周期が短ければ短いほど、換言すれば、記録速度が速ければ速いほど、発熱状態と非発熱状態との間で移行がスムーズに行われない可能性が高まり、これに伴って、感熱ロール紙に形成される画像のムラや、不必要な画素の形成、ドット落ち等が発生する可能性が高くなる。また、記録速度が速い場合、遅い場合と比較して、発生する振動が大きいと言うことができ、この振動の大きさに起因して、記録速度が速い場合は、比較的、記録される画像の精度が低い(画像の再現性が低い)と言うことができる。つまり、記録速度が速ければ速いほど、記録される画像の精度が落ち、一方、記録速度が遅ければ遅いほど、記録される画像の精度が高まる。
As described above, the printer 12 includes the line thermal head 25. In the line thermal head 25, a plurality of heating elements are arranged in a line in accordance with a predetermined resolution. The recording of the image on the heat-sensitive roll paper is executed when each heat generating element appropriately generates heat at a predetermined timing by energization, and the pixels are formed on the heat-sensitive roll paper along with the heat generation.
Here, the heating element is in a heating state (a state where the temperature of the heating element is higher than a predetermined temperature and pixels can be formed on the thermal roll paper) and a non-heating state (a state of the heating element) depending on whether or not power is supplied. The temperature is lower than a predetermined temperature and the pixel is formed on the heat-sensitive roll paper), but the shorter the drive timing cycle of the heating element, The higher the recording speed, the greater the possibility that the transition between the heat generation state and the non-heat generation state will not be smoothly performed, and accordingly, unevenness of the image formed on the heat-sensitive roll paper or unnecessary The possibility of pixel formation, dot dropping, etc. increases. Further, when the recording speed is high, it can be said that the generated vibration is larger than when the recording speed is slow. Due to the magnitude of this vibration, when the recording speed is high, the recorded image is relatively Can be said to have low accuracy (low image reproducibility). That is, the faster the recording speed, the lower the accuracy of the recorded image, while the slower the recording speed, the higher the accuracy of the recorded image.

図3(A)に示す基本記録速度入力ウインドウ50では、ユーザーは、基本記録速度を設定可能である。
具体的には、本実施形態では、記録速度がその速さに応じて13段階に区分されており、ユーザーは、基本記録速度入力ウインドウ50において、13段階に区分された記録速度のうち、1の段階の記録速度を選択することにより、基本記録速度を設定できる。
図3(A)の例を利用して説明すると、基本記録速度入力ウインドウ50では、ウインドウ内に「1st」(最も速い記録速度)〜「13th」(最も遅い記録速度)の13個の項目が表示されており、これら13個の項目のいずれか1つの項目に排他的にカーソルを合わせることができるようになっている。
そして、ユーザーは、自身が基本記録速度として設定したい記録速度に対応する項目にカーソルを合わせた上で、OKボタン51をクリックすることにより、基本記録速度を設定する。
In the basic recording speed input window 50 shown in FIG. 3A, the user can set the basic recording speed.
Specifically, in the present embodiment, the recording speed is divided into 13 stages according to the speed, and the user can select 1 of the recording speeds divided into 13 stages in the basic recording speed input window 50. The basic recording speed can be set by selecting the recording speed at this stage.
3A, the basic recording speed input window 50 includes 13 items from “1st” (fastest recording speed) to “13th” (slowest recording speed) in the window. It is displayed, and the cursor can be positioned exclusively on any one of these 13 items.
Then, the user sets the basic recording speed by clicking the OK button 51 after placing the cursor on the item corresponding to the recording speed that the user wants to set as the basic recording speed.

基本記録速度入力ウインドウ50を利用してユーザーが設定した基本記録速度は、プリンター12のプリンター側記憶部34に記憶された設定情報データ37の基本記録速度情報38に以下のようにして反映され、また、この基本記録速度情報38は画像の記録に際し、以下のように利用される。
すなわち、ユーザーが基本記録速度入力ウインドウ50を利用して基本記録速度を設定すると、プリンタードライバー実行部21は、プリンター側記憶部34に記憶された設定情報データ37の基本記録速度情報38が、ユーザーにより設定された基本記録速度を示す情報となるように、基本記録速度情報38の内容を書き換えさせる処理を実行させるコマンドを生成し、プリンター側制御部30に出力する。
当該コマンドが入力されたプリンター側制御部30は、プリンター側記憶部34を制御して、設定情報データ37の基本記録速度情報38が、ユーザーが設定した基本記録速度を示す情報となるように、基本記録速度情報38の内容を書き換える。
設定情報データ37の基本記録速度情報38の内容が書き換えられた後、プリンター側制御部30は、クーポン5の発行に伴って感熱ロール紙に画像を記録する際、設定情報データ37の基本記録速度情報38を参照し、基本記録速度情報38が示す記録速度に準拠したスピードで、画像の記録を実行する。
なお、図3(A)では、「プリンターの設定に従う」という項目が選択可能となっている。当該項目を選択した場合は、設定情報データ37の基本記録速度情報38の内容の書き換えが行われず、現時点での基本記録速度情報38が示す記録速度の準拠した画像の記録が行われる。
このように、本実施形態では、速さに応じて13段階に区分された記録速度のうち、1の記録速度を基本記録速度として設定可能となっている。基本的には、ユーザーは、画像の精度と、顧客の待機時間との兼ね合いを考慮した上で、できるだけ記録に要する時間の短縮化が図れる値となるように基本記録速度を設定する。
The basic recording speed set by the user using the basic recording speed input window 50 is reflected in the basic recording speed information 38 of the setting information data 37 stored in the printer-side storage unit 34 of the printer 12 as follows. The basic recording speed information 38 is used as follows when recording an image.
That is, when the user sets the basic recording speed using the basic recording speed input window 50, the printer driver execution unit 21 indicates that the basic recording speed information 38 of the setting information data 37 stored in the printer-side storage unit 34 is A command for executing a process for rewriting the content of the basic recording speed information 38 is generated so as to be information indicating the basic recording speed set by the step, and is output to the printer-side control unit 30.
The printer-side control unit 30 to which the command is input controls the printer-side storage unit 34 so that the basic recording speed information 38 of the setting information data 37 becomes information indicating the basic recording speed set by the user. The contents of the basic recording speed information 38 are rewritten.
After the contents of the basic recording speed information 38 of the setting information data 37 are rewritten, the printer-side control unit 30 records the basic recording speed of the setting information data 37 when recording an image on the thermal roll paper with the issuance of the coupon 5. With reference to the information 38, image recording is executed at a speed based on the recording speed indicated by the basic recording speed information 38.
In FIG. 3A, the item “according to printer settings” can be selected. When this item is selected, the content of the basic recording speed information 38 of the setting information data 37 is not rewritten, and an image is recorded that conforms to the recording speed indicated by the current basic recording speed information 38.
As described above, in the present embodiment, one recording speed can be set as the basic recording speed among the recording speeds divided into 13 stages according to the speed. Basically, the user sets the basic recording speed so that the time required for recording can be shortened as much as possible in consideration of the balance between the accuracy of the image and the waiting time of the customer.

図3(B)は、バーコードが記録されたクーポン5を発行する際の記録速度を設定するためのユーザーインターフェイスであるバーコード記録速度入力ウインドウ53を示している。以下、説明の便宜のため、バーコードが記録されたクーポン5を発行する際の記録速度を「バーコード記録速度」という。
上述したように、バーコード画像42は光学的に読み取ることが想定された画像であるため、当該画像についてはある程度の精度をもって記録され、これにより、高い精度で光学的に読み取り可能な状態とされることが求められている。従って、バーコード画像42については、画像の記録に要する時間の短さよりも、画像の精度の高さが優先される。
これを踏まえ、詳細は後述するが、本実施形態では、バーコード画像42が記録されるクーポン5と、バーコード画像42が記録されないクーポン5とによって、記録速度を変えて画像の記録が可能な構成となっており、例えば、バーコード画像42が記録されないクーポン5については、できるだけ速い記録速度で画像の記録を行う一方、バーコード画像42が記録されるクーポン5については、記録速度を落として画像の記録を行うことにより高い精度でバーコード画像42を記録できるようになっている。
FIG. 3B shows a barcode recording speed input window 53 which is a user interface for setting a recording speed when issuing the coupon 5 on which the barcode is recorded. Hereinafter, for convenience of explanation, the recording speed when issuing the coupon 5 on which the barcode is recorded is referred to as “barcode recording speed”.
As described above, since the barcode image 42 is an image that is supposed to be optically read, the image is recorded with a certain degree of accuracy, and thus can be optically read with high accuracy. It is required to be. Therefore, with respect to the barcode image 42, priority is given to high image accuracy over short time required for image recording.
Based on this, although details will be described later, in this embodiment, it is possible to record an image at a different recording speed by using the coupon 5 in which the barcode image 42 is recorded and the coupon 5 in which the barcode image 42 is not recorded. For example, for the coupon 5 in which the barcode image 42 is not recorded, the image is recorded at the highest possible recording speed, while for the coupon 5 in which the barcode image 42 is recorded, the recording speed is decreased. By recording an image, the barcode image 42 can be recorded with high accuracy.

そして、バーコード記録速度入力ウインドウ53は、バーコード画像42が記録されるクーポン5を発行するときに適用する記録速度(バーコード記録速度)を設定するためのユーザーインターフェイスである。
ユーザーは、このバーコード記録速度入力ウインドウ53を利用して、速さに応じて13段階に区分された記録速度の中から1の記録速度を選択することにより、バーコード記録速度を設定可能である。バーコード記録速度の設定の方法は、上述した基本記録速度入力ウインドウ50における基本記録速度の設定の方法と同様である。
なお、ユーザーは、バーコード記録速度入力ウインドウ53によりバーコード記録速度を設定する際は、バーコード記録速度を、少なくともバーコード画像42が、後に高い精度で光学的に読み取られるような状態でクーポン5に記録されるような速度に設定する。これにより、バーコード画像42が記録されるクーポン5の記録速度が不必要に遅くなることを防止できる。このように、ユーザーによりバーコード記録速度が設定される結果、基本的には、基本記録速度よりもバーコード記録速度が遅く設定される。これは、バーコード画像42を含まないクーポン5については、光学的に読み取られる必要がなく、比較的、クーポン5の発行に要する時間の短縮化が重要視されるからである。
バーコード記録速度入力ウインドウ53によってバーコード記録速度が入力された場合、その入力の内容は、プリンター12のプリンター側記憶部34の設定情報データ37のバーコード記録速度情報39に以下のように反映される。
すなわち、ユーザーがバーコード記録速度入力ウインドウ53を利用して、バーコード記録速度を入力すると、プリンタードライバー実行部21は、プリンター12のプリンター側記憶部34に記憶された設定情報データ37のバーコード記録速度情報39が、ユーザーにより設定されたバーコード記録速度を示す情報となるように、バーコード記録速度情報39の内容を書き換えさせる処理を実行させるコマンドを生成し、プリンター側制御部30に出力する。
当該コマンドが入力されたプリンター側制御部30は、プリンター側記憶部34を制御して、設定情報データ37のバーコード記録速度情報39が、ユーザーが設定したバーコード記録速度を示す情報となるように、バーコード記録速度情報39の内容を書き換える。
このバーコード記録速度情報39の利用の態様については、後述する。
The barcode recording speed input window 53 is a user interface for setting a recording speed (barcode recording speed) applied when issuing the coupon 5 on which the barcode image 42 is recorded.
The user can set the barcode recording speed by selecting one recording speed from among 13 recording speeds according to the speed using the barcode recording speed input window 53. is there. The method for setting the bar code recording speed is the same as the method for setting the basic recording speed in the basic recording speed input window 50 described above.
When the user sets the bar code recording speed using the bar code recording speed input window 53, the bar code recording speed is set so that at least the bar code image 42 is optically read later with high accuracy. Set the speed to be recorded in 5. Thereby, it can prevent that the recording speed of the coupon 5 in which the barcode image 42 is recorded becomes unnecessarily slow. As described above, as a result of setting the barcode recording speed by the user, basically, the barcode recording speed is set slower than the basic recording speed. This is because the coupon 5 that does not include the barcode image 42 does not need to be optically read, and relatively shortening the time required to issue the coupon 5 is regarded as important.
When the barcode recording speed is input through the barcode recording speed input window 53, the content of the input is reflected in the barcode recording speed information 39 of the setting information data 37 of the printer-side storage unit 34 of the printer 12 as follows. Is done.
That is, when the user inputs the barcode recording speed using the barcode recording speed input window 53, the printer driver execution unit 21 reads the barcode of the setting information data 37 stored in the printer-side storage unit 34 of the printer 12. A command for executing processing for rewriting the contents of the barcode recording speed information 39 is generated and output to the printer-side control unit 30 so that the recording speed information 39 becomes information indicating the barcode recording speed set by the user. To do.
The printer-side control unit 30 to which the command is input controls the printer-side storage unit 34 so that the barcode recording speed information 39 of the setting information data 37 becomes information indicating the barcode recording speed set by the user. Then, the contents of the bar code recording speed information 39 are rewritten.
A mode of using the bar code recording speed information 39 will be described later.

次いで、クーポン5を発行する際のホストコンピューター10の動作について、図4のフローチャートを用いて説明する。
なお、図4のフローチャートの前提として、POSアプリケーション実行部20により、発行すべきクーポン5に係る記録情報データが生成されているものとする。
また、ユーザーは、クーポン5の発行に際し、プリンタードライバーの機能により、基本記録速度入力ウインドウ50、及び、バーコード記録速度入力ウインドウ53を利用して、基本記録速度、及び、バーコード記録速度の双方を設定するものとする。
Next, the operation of the host computer 10 when issuing the coupon 5 will be described using the flowchart of FIG.
As a premise of the flowchart of FIG. 4, it is assumed that the record information data related to the coupon 5 to be issued is generated by the POS application execution unit 20.
Further, when issuing the coupon 5, the user uses the basic recording speed input window 50 and the bar code recording speed input window 53 by the function of the printer driver, and both the basic recording speed and the bar code recording speed. Shall be set.

まず、ユーザーによる基本記録速度入力ウインドウ50を利用した基本記録速度の設定に応じて、ホストコンピューター10の制御部15のプリンタードライバー実行部21は、ユーザーによって設定された基本記録速度を示す情報を取得する(ステップSA1)。
次いで、プリンタードライバー実行部21は、ステップSA1で取得した基本記録速度を示す情報に基づいて、プリンター側記憶部34に記憶された設定情報データ37に含まれる基本記録速度情報38が、ユーザーによって設定された基本記録速度を示す情報となるように、基本記録速度情報38の内容を書き換えさせる処理を実行させるコマンド(以下、「基本記録速度情報書換コマンド」という)を生成し、プリンター12に出力する(ステップSA2)。
上述したように、基本記録速度情報書換コマンドが入力されたプリンター側制御部30は、当該コマンドに基づいて、基本記録速度情報38が、ユーザーによって設定された基本記録速度を示す情報となるように、基本記録速度情報38の内容を書き換える。
次いで、ユーザーによるバーコード記録速度入力ウインドウ53を利用したバーコード記録速度の設定に応じて、プリンタードライバー実行部21は、ユーザーによって設定されたバーコード記録速度を示す情報を取得する(ステップSA3)。
First, according to the basic recording speed setting using the basic recording speed input window 50 by the user, the printer driver execution unit 21 of the control unit 15 of the host computer 10 acquires information indicating the basic recording speed set by the user. (Step SA1).
Next, the printer driver execution unit 21 sets the basic recording speed information 38 included in the setting information data 37 stored in the printer storage unit 34 based on the information indicating the basic recording speed acquired in step SA1 by the user. A command for executing a process of rewriting the contents of the basic recording speed information 38 (hereinafter referred to as “basic recording speed information rewriting command”) is generated and output to the printer 12 so as to be information indicating the basic recording speed. (Step SA2).
As described above, the printer-side control unit 30 to which the basic recording speed information rewrite command is input makes the basic recording speed information 38 become information indicating the basic recording speed set by the user based on the command. The contents of the basic recording speed information 38 are rewritten.
Next, in response to the setting of the barcode recording speed using the barcode recording speed input window 53 by the user, the printer driver execution unit 21 acquires information indicating the barcode recording speed set by the user (step SA3). .

次いで、プリンタードライバー実行部21は、ステップSA3で取得したバーコード記録速度を示す情報に基づいて、プリンター側記憶部34に記憶された設定情報データ37に含まれるバーコード記録速度情報39が、ユーザーによって設定されたバーコード記録速度を示す情報となるように、バーコード記録速度情報39の内容を書き換えさせる処理を実行させるコマンド(以下、「バーコード記録速度情報書換コマンド」という)を生成し、プリンター12に出力する(ステップSA4)。
上述したように、バーコード記録速度情報書換コマンドが入力されたプリンター側制御部30は、当該コマンドに基づいて、バーコード記録速度情報39が、ユーザーによって設定されたバーコード記録速度を示す情報となるように、バーコード記録速度情報39の内容を書き換える。
Next, the printer driver execution unit 21 determines that the barcode recording speed information 39 included in the setting information data 37 stored in the printer-side storage unit 34 is based on the information indicating the barcode recording speed acquired in step SA3. A command for executing a process of rewriting the content of the barcode recording speed information 39 (hereinafter referred to as “barcode recording speed information rewriting command”) so as to be information indicating the barcode recording speed set by Output to the printer 12 (step SA4).
As described above, the printer-side control unit 30 to which the bar code recording speed information rewrite command is input, the bar code recording speed information 39 based on the command includes information indicating the bar code recording speed set by the user. Thus, the contents of the bar code recording speed information 39 are rewritten.

次いで、プリンタードライバー実行部21は、POSアプリケーション実行部20が生成した記録情報データを取得する(ステップSA5)。
次いで、プリンタードライバー実行部21は、取得した記録情報データを分析し、クーポン5に記録すべき画像に、バーコード画像42が含まれているか否かを判別する(ステップSA6)。
上述したように、記録情報データにおいて、バーコードは、当該バーコードを示す文字列と、バーコードフォントの種類との組み合わせによって特定されているため、プリンタードライバー実行部21は、記録情報データに、当該バーコードを示す文字列と、バーコードフォントの種類との組み合わせを示すデータが含まれているか否かを判別することにより、クーポン5に記録すべき画像に、バーコード画像42が含まれているか否かを判別する。
クーポン5に記録すべき画像にバーコード画像42が含まれている場合(ステップSA6:YES)、プリンタードライバー実行部21は、記録すべき画像にバーコード画像42が含まれている場合に対応した制御コマンドを生成し、プリンター12に出力する(ステップSA7)。一方、クーポン5に記録すべき画像にバーコード画像42が含まれていない場合(ステップSA6:NO)、プリンタードライバー実行部21は、記録すべき画像にバーコード画像42が含まれていない場合に対応した制御コマンドを生成し、プリンター12に出力する(ステップSA8)。
以下、ステップSA7、及び、ステップSA8の動作について、詳述する。
Next, the printer driver execution unit 21 acquires the recording information data generated by the POS application execution unit 20 (step SA5).
Next, the printer driver execution unit 21 analyzes the acquired recording information data and determines whether or not the barcode image 42 is included in the image to be recorded on the coupon 5 (step SA6).
As described above, in the recording information data, since the barcode is specified by a combination of the character string indicating the barcode and the type of the barcode font, the printer driver execution unit 21 adds the recording information data to the recording information data. An image to be recorded in the coupon 5 includes the barcode image 42 by determining whether or not the data indicating the combination of the character string indicating the barcode and the barcode font type is included. It is determined whether or not.
When the barcode image 42 is included in the image to be recorded in the coupon 5 (step SA6: YES), the printer driver execution unit 21 corresponds to the case where the barcode image 42 is included in the image to be recorded. A control command is generated and output to the printer 12 (step SA7). On the other hand, when the barcode image 42 is not included in the image to be recorded on the coupon 5 (step SA6: NO), the printer driver execution unit 21 determines that the image to be recorded does not include the barcode image 42. A corresponding control command is generated and output to the printer 12 (step SA8).
Hereinafter, the operations of Step SA7 and Step SA8 will be described in detail.

図5は、制御コマンドの内容を示す図であり、(A)は、ステップSA7の処理によって生成される制御コマンド、つまり、クーポン5に記録すべき画像にバーコード画像42が含まれている場合に生成される制御コマンドの内容を示し、(B)は、ステップSA8の処理によって生成される制御コマンド、つまり、クーポン5に記録すべき画像にバーコード画像42が含まれていない場合に生成される制御コマンドの内容を示している。
なお、クーポン5に記録すべき画像にバーコード画像42が含まれていない場合は、クーポン5には、トップロゴ40、及び、クーポン情報画像41のみが記録されるものとする。
また、図5では、制御コマンドとして、画像の記録に係るコマンド、具体的には、上述した、ロゴ記録コマンド、クーポン情報記録コマンド、及び、バーコード記録コマンドのみを示しているが、これらコマンドの他に、制御コマンドには、感熱ロール紙を搬送させるコマンドや、切断機構により感熱ロール紙を切断させるコマンド等が含まれている。
FIG. 5 is a diagram showing the contents of the control command. FIG. 5A shows a case where the barcode image 42 is included in the control command generated by the process of step SA7, that is, the image to be recorded in the coupon 5. Shows the contents of the control command generated, and (B) is generated when the bar code image 42 is not included in the control command generated by the process of step SA8, that is, the image to be recorded in the coupon 5. Shows the contents of the control command.
When the barcode image 42 is not included in the image to be recorded on the coupon 5, only the top logo 40 and the coupon information image 41 are recorded on the coupon 5.
FIG. 5 shows only the commands related to image recording, specifically, the logo recording command, the coupon information recording command, and the barcode recording command described above as control commands. In addition, the control command includes a command for conveying the thermal roll paper, a command for cutting the thermal roll paper by a cutting mechanism, and the like.

図5(A)に示すように、クーポン5に記録すべき画像にバーコード画像42が含まれている場合(ステップSA6:YES)、プリンタードライバー実行部21は、画像の記録に係るコマンドに先んじて、速度調整コマンドを生成し、出力する(ステップSA7)。
速度調整コマンドは、クーポン5に係る画像の記録に際し、設定情報データ37の基本記録速度情報38ではなく、バーコード記録速度情報39を参照し、当該バーコード記録速度情報39が示す記録速度に準拠したスピードで画像の記録を行うことを指示するコマンドである。
速度調整コマンドが入力されたプリンター側制御部30は、設定情報データ37が保持する各種設定情報のうち、記録速度に関しては、参照する情報を、基本記録速度情報38からバーコード記録速度情報39へと切り替え、以後のクーポン5(バーコード画像42が記録されたクーポン5)への画像の記録については、バーコード記録速度情報39が示す記録速度に準拠したスピードで実行する。
図5(A)に示すように、プリンタードライバー実行部21は、速度調整コマンドに続けて、ロゴ記録コマンド、クーポン情報記録コマンド、及び、バーコード記録コマンドを、順次、生成し、出力する。これらコマンドに伴って、各種画像が記録される際は、バーコード記録速度情報39が示す記録速度に準拠したスピードで画像の記録が実行される。上述したように、バーコード記録速度情報39が示す記録速度は、ユーザーによって、少なくともバーコード画像42が、後に高い精度で光学的に読み取られるような状態でクーポン5に記録されるような速度に設定されているため、発行されるクーポン5に記録されたバーコード画像42については、高い精度で記録され、かつ、高い精度で光学的な読み取りが可能である。
As shown in FIG. 5A, when the barcode image 42 is included in the image to be recorded on the coupon 5 (step SA6: YES), the printer driver execution unit 21 precedes the command related to image recording. The speed adjustment command is generated and output (step SA7).
The speed adjustment command refers to the bar code recording speed information 39 instead of the basic recording speed information 38 of the setting information data 37 when recording an image related to the coupon 5, and conforms to the recording speed indicated by the bar code recording speed information 39. This command instructs to record an image at a specified speed.
When the speed adjustment command is input, the printer-side control unit 30 transfers the reference information from the basic recording speed information 38 to the bar code recording speed information 39 regarding the recording speed among the various setting information held in the setting information data 37. The subsequent image recording on the coupon 5 (coupon 5 on which the barcode image 42 is recorded) is executed at a speed based on the recording speed indicated by the barcode recording speed information 39.
As shown in FIG. 5A, the printer driver execution unit 21 sequentially generates and outputs a logo recording command, a coupon information recording command, and a barcode recording command following the speed adjustment command. When various images are recorded in accordance with these commands, image recording is executed at a speed based on the recording speed indicated by the bar code recording speed information 39. As described above, the recording speed indicated by the bar code recording speed information 39 is such that at least the bar code image 42 is recorded on the coupon 5 in a state where it is optically read later with high accuracy. Since it is set, the barcode image 42 recorded on the issued coupon 5 is recorded with high accuracy and can be optically read with high accuracy.

一方、図5(B)に示すように、クーポン5に記録すべき画像にバーコード画像42が含まれていない場合(ステップSA6:NO)、プリンタードライバー実行部21は、速度調整コマンドを出力することなく、ロゴ記録コマンド、及び、クーポン情報記録コマンドを順次生成し、出力する(ステップSA8)。
この場合、トップロゴ40、及び、クーポン情報画像41の記録に際し、プリンター側制御部30は、設定情報データ37の基本記録速度情報38を参照し、基本記録速度情報38が示す記録速度に準拠したスピードで画像の記録を実行する。上述したように、ユーザーは、画像の記録の精度と、顧客の待機時間との兼ね合いを考慮した上で、できるだけ記録に要する時間の短縮化が図れる値となるように基本記録速度を設定しているため、当該クーポン5(バーコード画像42が記録されていないクーポン5)については、発行に要する時間を短縮化した上で、クーポン5の発行が可能となる。
On the other hand, as shown in FIG. 5B, when the barcode image 42 is not included in the image to be recorded on the coupon 5 (step SA6: NO), the printer driver execution unit 21 outputs a speed adjustment command. The logo recording command and the coupon information recording command are sequentially generated and output (step SA8).
In this case, when recording the top logo 40 and the coupon information image 41, the printer-side control unit 30 refers to the basic recording speed information 38 of the setting information data 37 and conforms to the recording speed indicated by the basic recording speed information 38. Record images at speed. As described above, the user sets the basic recording speed so that the time required for recording can be shortened as much as possible in consideration of the balance between image recording accuracy and customer standby time. Therefore, for the coupon 5 (the coupon 5 in which the barcode image 42 is not recorded), the coupon 5 can be issued after shortening the time required for the issue.

次いで、図6のフローチャートを用いて、図5(A)に示す制御コマンド、すなわち、クーポン5に記録される画像にバーコード画像42が含まれる場合に対応した制御コマンドを受信したプリンター12の動作について説明する。なお、以下の説明では、感熱ロール紙を搬送する処理や、感熱ロール紙を切断する処理等、画像の記録に係る処理以外の処理については、省略するものとする。
プリンター12のプリンター側制御部30は、制御コマンドに含まれる速度調整コマンドを読み取る(ステップSB1)。
次いで、プリンター側制御部30は、記録速度に関し、参照する情報を、基本記録速度情報38から、バーコード記録速度情報39へと切り替える(ステップSB2)。
次いで、プリンター側制御部30は、ホストコンピューター10から入力されたロゴ記録コマンドに基づいて、バーコード記録速度情報39が示す記録速度に準拠したスピードで、トップロゴ40を記録する(ステップSB3)。
次いで、プリンター側制御部30は、ホストコンピューター10から入力されたクーポン情報記録コマンドに基づいて、バーコード記録速度情報39が示す記録速度に準拠したスピードで、クーポン情報画像41を記録する(ステップSB4)。
次いで、プリンター側制御部30は、ホストコンピューター10から入力されたバーコード記録コマンドに基づいて、バーコード記録速度情報39が示す記録速度に準拠したスピードで、バーコード画像42を記録する(ステップSB5)。
このように、記録される画像にバーコード画像42が含まれるクーポン5については、バーコード記録速度情報39が示す記録速度に準拠したスピードで画像の記録が実行され、これにより、バーコード画像42が高い精度で光学的な読み取りができる状態となる。
Next, referring to the flowchart of FIG. 6, the operation of the printer 12 that has received the control command shown in FIG. 5A, that is, the control command corresponding to the case where the barcode image 42 is included in the image recorded on the coupon 5. Will be described. In the following description, processes other than the process related to image recording, such as the process of transporting the thermal roll paper and the process of cutting the thermal roll paper, are omitted.
The printer-side control unit 30 of the printer 12 reads the speed adjustment command included in the control command (step SB1).
Next, the printer-side control unit 30 switches the reference information regarding the recording speed from the basic recording speed information 38 to the barcode recording speed information 39 (step SB2).
Next, the printer-side control unit 30 records the top logo 40 at a speed based on the recording speed indicated by the barcode recording speed information 39 based on the logo recording command input from the host computer 10 (step SB3).
Next, the printer-side controller 30 records the coupon information image 41 at a speed based on the recording speed indicated by the barcode recording speed information 39 based on the coupon information recording command input from the host computer 10 (step SB4). ).
Next, the printer-side control unit 30 records the barcode image 42 at a speed based on the recording speed indicated by the barcode recording speed information 39 based on the barcode recording command input from the host computer 10 (step SB5). ).
As described above, for the coupon 5 in which the barcode image 42 is included in the recorded image, the image recording is executed at a speed based on the recording speed indicated by the barcode recording speed information 39, and thereby the barcode image 42 is recorded. However, the optical reading can be performed with high accuracy.

以上説明したように、本実施形態に係るホストコンピューター10のプリンタードライバー実行部21は、プリンター12に記録させる画像に、バーコード画像42(所定のシンボル画像)が含まれているか否かに応じて、記録速度を変更させてプリンター12に画像を記録させる。
これによれば、プリンタードライバー実行部21は、記録媒体たる感熱ロール紙に記録すべき画像にバーコード画像42が含まれているか否かに応じて、記録速度を変更させてプリンター12に画像を記録させることが可能なため、バーコード画像42を含む画像については、記録速度を落として画像を記録し、これにより、当該画像を高い精度で記録することが可能となる。さらに、バーコード画像42を含まない場合は、記録速度を落とすことなく画像の記録を実行することが可能であるため、記録に要する時間の長時間化を抑制できる。
As described above, the printer driver execution unit 21 of the host computer 10 according to the present embodiment depends on whether the image to be recorded by the printer 12 includes the barcode image 42 (predetermined symbol image). Then, the image is recorded on the printer 12 by changing the recording speed.
According to this, the printer driver execution unit 21 changes the recording speed depending on whether or not the barcode image 42 is included in the image to be recorded on the thermal roll paper as the recording medium, and displays the image on the printer 12. Since the image can be recorded, the image including the barcode image 42 is recorded at a low recording speed, and thus the image can be recorded with high accuracy. Further, when the barcode image 42 is not included, it is possible to execute the image recording without reducing the recording speed, so that it is possible to suppress the time required for the recording from being prolonged.

また、本実施形態に係るホストコンピューター10は、POSアプリケーションを実行することにより、感熱ロール紙に記録すべき画像に係る情報を含んだ記録情報データを生成するPOSアプリケーション実行部20を備えている。そして、プリンタードライバー実行部21は、POSアプリケーション実行部20が生成した記録情報データに、バーコードを示す文字列と、バーコードフォントの種類との組み合わせを示すデータが含まれているか否かに応じて、記録速度を変更させる制御コマンド(速度調整コマンド)を生成し、プリンター12に出力する。
これによれば、プリンタードライバー実行部21は、記録情報データに、バーコードを示す文字列と、バーコードフォントの種類との組み合わせを示すデータが含まれているか否かに応じて、記録速度を変更させる制御コマンドを生成し、プリンター12に出力するため、プリンター12は、入力された制御コマンドに基づいて、バーコード画像42が含まれているか否かに応じて、記録速度を変更して画像を記録できる。
また、上記のような制御コマンドをホストコンピューター10とプリンター12との間でやり取り可能なように、制御プログラムや、通信のプロトコルを設定することにより、ホストコンピューター10は、制御コマンドを活用して、簡易に、記録速度を変更させることができる。
In addition, the host computer 10 according to the present embodiment includes a POS application execution unit 20 that generates recording information data including information relating to an image to be recorded on the thermal roll paper by executing the POS application. Then, the printer driver execution unit 21 determines whether the recording information data generated by the POS application execution unit 20 includes data indicating a combination of a character string indicating a barcode and a barcode font type. Then, a control command (speed adjustment command) for changing the recording speed is generated and output to the printer 12.
According to this, the printer driver execution unit 21 sets the recording speed according to whether or not the recording information data includes data indicating a combination of a character string indicating a barcode and a barcode font type. In order to generate a control command to be changed and output it to the printer 12, the printer 12 changes the recording speed based on the input control command and changes the recording speed to determine whether the image is included. Can be recorded.
In addition, by setting a control program and a communication protocol so that the above control commands can be exchanged between the host computer 10 and the printer 12, the host computer 10 utilizes the control commands, The recording speed can be changed easily.

また、本実施形態では、プリンタードライバーの機能により、バーコード画像42を含む画像を記録させる際の記録速度が入力可能なユーザーインターフェイスであるバーコード記録速度入力ウインドウ53が表示パネル16aに表示可能である。そして、プリンタードライバー実行部21は、クーポン5に記録されるべき画像に、バーコード画像42が含まれている場合は、当該クーポン5に係る画像を記録する際の記録速度が、バーコード記録速度入力ウインドウ53を利用して設定された記録速度となるように、記録速度を変更させてプリンター12に画像を記録させる。
これによれば、ユーザーインターフェイスたるバーコード記録速度入力ウインドウ53を利用して、ユーザーは、容易にバーコード画像42を含む画像を記録させる際の記録速度を設定できる。また、ユーザーによる設定に応じて、バーコード画像42を記録する際の記録速度を変更して、画像の記録を実行できる。
In the present embodiment, a barcode recording speed input window 53, which is a user interface capable of inputting a recording speed when an image including the barcode image 42 is recorded, can be displayed on the display panel 16a by the function of the printer driver. is there. When the barcode driver 42 includes the barcode image 42 in the image to be recorded on the coupon 5, the printer driver execution unit 21 determines that the recording speed when recording the image related to the coupon 5 is the barcode recording speed. The printer 12 is caused to record an image by changing the recording speed so that the recording speed is set using the input window 53.
According to this, the user can easily set the recording speed for recording an image including the barcode image 42 by using the barcode recording speed input window 53 as a user interface. Further, the image recording can be executed by changing the recording speed when recording the barcode image 42 according to the setting by the user.

<第2実施形態>
次いで、第2実施形態について説明する。
上述した第1実施形態に係る記録システム1では、バーコード記録速度をユーザーが設定する構成であった。一方、本実施形態に係る記録システム1では、バーコード記録設定をユーザーが設定する必要はなく、バーコード画像42が記録されるクーポン5については、自動で、適切な記録速度が算出された上で、算出された記録速度に準じて画像の記録が実行される。
このような構成のため、プリンタードライバーは、ユーザーがバーコード記録速度を入力するためのユーザーインターフェイスであるバーコード記録速度入力ウインドウ53を表示する機能を有しておらず、また、ユーザーは、バーコード記録速度入力ウインドウ53を利用して明示的にバーコード記録速度を入力する必要がない。これにより、プリンタードライバーの開発容易性の向上、及び、ユーザーの利便性の向上が図られている。
Second Embodiment
Next, a second embodiment will be described.
The recording system 1 according to the first embodiment described above has a configuration in which the user sets the barcode recording speed. On the other hand, in the recording system 1 according to the present embodiment, it is not necessary for the user to set the barcode recording setting. For the coupon 5 on which the barcode image 42 is recorded, an appropriate recording speed is automatically calculated. Thus, image recording is executed in accordance with the calculated recording speed.
Due to such a configuration, the printer driver does not have a function of displaying the bar code recording speed input window 53 that is a user interface for the user to input the bar code recording speed. There is no need to input the bar code recording speed explicitly using the code recording speed input window 53. As a result, the ease of development of the printer driver and the convenience of the user are improved.

図7は、本実施形態に係るホストコンピューター10の動作を示すフローチャートである。
図7では、1つのクーポン5を発行する際のホストコンピューター10の動作を示しており、動作の開始時点では、既に、POSアプリケーション実行部20により当該クーポン5に係る記録情報データが生成されているものとする。
ホストコンピューター10のプリンタードライバー実行部21は、POSアプリケーション実行部20が生成した記録情報データを取得する(ステップSC1)。
次いで、プリンタードライバー実行部21は、記録情報データに、バーコードに係るデータが含まれているか否かを判別することにより、クーポン5に記録すべき画像にバーコード画像42が含まれているか否かを判別する(ステップSC2)。
バーコード画像42が含まれていない場合(ステップSC2:NO)、プリンタードライバー実行部21は、クーポン5に記録すべき画像にバーコード画像42が含まれていない場合に対応した制御コマンドを生成し、プリンター12に出力する(ステップSC3)。このステップSC3の動作は、図4のステップSA8の動作と同様であるため、詳細な説明を省略するが、ステップSC3では、クーポン5に記録される画像のそれぞれは、基本記録速度情報38が示す記録速度に準じて記録される。つまり、ユーザーが、顧客の待機時間を短縮すべく、記録される画像の精度との兼ね合いを考慮した上でできるだけ早く設定した記録速度に準じて画像が記録される。
FIG. 7 is a flowchart showing the operation of the host computer 10 according to the present embodiment.
FIG. 7 shows the operation of the host computer 10 when issuing one coupon 5, and the recording information data related to the coupon 5 has already been generated by the POS application execution unit 20 at the start of the operation. Shall.
The printer driver execution unit 21 of the host computer 10 acquires the recording information data generated by the POS application execution unit 20 (step SC1).
Next, the printer driver execution unit 21 determines whether or not the barcode information 42 is included in the image to be recorded on the coupon 5 by determining whether or not the data related to the barcode is included in the recording information data. Is determined (step SC2).
When the barcode image 42 is not included (step SC2: NO), the printer driver execution unit 21 generates a control command corresponding to the case where the barcode image 42 is not included in the image to be recorded on the coupon 5. And output to the printer 12 (step SC3). Since the operation of step SC3 is the same as the operation of step SA8 in FIG. 4, detailed description thereof is omitted, but in step SC3, each image recorded on the coupon 5 is indicated by the basic recording speed information 38. Recorded according to the recording speed. That is, in order to shorten the waiting time of the customer, the image is recorded according to the recording speed set as fast as possible in consideration of the balance with the accuracy of the recorded image.

一方、クーポン5に記録すべき画像にバーコード画像42が含まれている場合(ステップSC2:YES)、プリンタードライバー実行部21は、当該バーコード画像42を記録するのに最適な記録速度を算出する(ステップSC4)。
ここで、バーコードフォントによって、バーコードの形状の特徴、傾向は異なり、また、バーコード画像42の大きさにより、画像の記録に必要な精度(求められる画像の再現性)は異なる。これを踏まえ、事前の実験、シミュレーションにより、バーコードフォント、及び、バーコード画像42の大きさに基づいて、最適な記録速度を算出するアルゴリズムを有するプログラムが開発され、プリンタードライバーに組み込まれており、プリンタードライバー実行部21は、当該アルゴリズムに基づいて、記録速度を算出する。
次いで、プリンタードライバー実行部21は、ステップSC4で算出した記録速度を示す情報に基づいて、プリンター側記憶部34に記憶された設定情報データ37に含まれるバーコード記録速度情報39が、ステップSC4で算出した記録速度を示す情報となるように、バーコード記録速度情報39の内容を書き換えさせる処理を実行させるコマンドを生成し、プリンター12に出力する(ステップSC5)。なお、プリンター12のプリンター側制御部30は、当該コマンドに基づいて、バーコード記録速度情報39の内容を書き換える。
次いで、プリンタードライバー実行部21は、クーポン5に記録すべき画像にバーコード画像42が含まれている場合に対応した制御コマンドを生成し、プリンター12に出力する(ステップSC6)。このステップSC6の動作は、図4のステップSA7の動作と同様であるため、詳細な説明を省略するが、ステップSC6では、クーポン5に記録される画像のそれぞれは、バーコード記録速度情報39が示す記録速度に準じて記録される。つまり、バーコード画像42が高い精度で記録され、これにより、高い読み取り精度を有した状態となる、という観点から算出された最適な記録速度でバーコード画像42が記録されることとなる。
On the other hand, when the barcode image 42 is included in the image to be recorded in the coupon 5 (step SC2: YES), the printer driver execution unit 21 calculates the optimum recording speed for recording the barcode image 42. (Step SC4).
Here, the feature and tendency of the barcode shape differ depending on the barcode font, and the accuracy (required image reproducibility) required for image recording differs depending on the size of the barcode image 42. Based on this, a program having an algorithm for calculating the optimum recording speed based on the barcode font and the size of the barcode image 42 has been developed through experiments and simulations in advance and incorporated in the printer driver. The printer driver execution unit 21 calculates the recording speed based on the algorithm.
Next, based on the information indicating the recording speed calculated in step SC4, the printer driver execution unit 21 obtains the barcode recording speed information 39 included in the setting information data 37 stored in the printer-side storage unit 34 in step SC4. A command for executing a process of rewriting the contents of the barcode recording speed information 39 is generated so as to be information indicating the calculated recording speed, and is output to the printer 12 (step SC5). The printer-side control unit 30 of the printer 12 rewrites the content of the barcode recording speed information 39 based on the command.
Next, the printer driver execution unit 21 generates a control command corresponding to the case where the barcode image 42 is included in the image to be recorded in the coupon 5, and outputs the control command to the printer 12 (step SC6). Since the operation in step SC6 is the same as the operation in step SA7 in FIG. 4, detailed description thereof is omitted, but in step SC6, each of the images recorded on the coupon 5 has the bar code recording speed information 39. Recording is performed according to the recording speed shown. That is, the barcode image 42 is recorded with high accuracy, and thereby the barcode image 42 is recorded at an optimum recording speed calculated from the viewpoint of having a high reading accuracy.

なお、上述したように、記録速度が遅い場合の方が、速い場合よりも、高い精度での画像の記録が可能である。従って、ステップSC4で算出される記録速度が、基本記録速度よりも遅い値である場合にこそ、高い精度でのバーコード画像42の記録、及び、記録に要する時間の長時間化の抑制の双方を実現できる。
これを踏まえ、ステップSC4において、プリンタードライバー実行部21は、算出された記録速度と、基本記録速度とを比較し、算出された記録速度が基本記録速度よりも速い場合は、バーコード記録速度の値を、算出された記録速度の値とせずに、基本記録速度と同一の値とするようにしてもよい。
この場合、プリンタードライバー実行部21は、基本記録速度が、バーコード画像42を適切に記録可能な記録速度よりも速い場合に、バーコード画像42が記録されるクーポン5に画像を記録するときの記録速度を、バーコード画像42が記録されないクーポン5に画像を記録するときの記録速度よりも遅くすることにより、バーコード画像42の記録の精度を向上していることとなる。
As described above, it is possible to record an image with higher accuracy when the recording speed is slower than when the recording speed is faster. Therefore, only when the recording speed calculated in step SC4 is a value slower than the basic recording speed, both the recording of the barcode image 42 with high accuracy and the suppression of the lengthening of the time required for the recording are both performed. Can be realized.
Based on this, in step SC4, the printer driver execution unit 21 compares the calculated recording speed with the basic recording speed, and if the calculated recording speed is higher than the basic recording speed, the barcode recording speed is set. The value may be the same value as the basic recording speed instead of the calculated recording speed.
In this case, when the basic recording speed is higher than the recording speed at which the barcode image 42 can be properly recorded, the printer driver execution unit 21 records the image on the coupon 5 on which the barcode image 42 is recorded. By making the recording speed slower than the recording speed when the image is recorded on the coupon 5 where the barcode image 42 is not recorded, the recording accuracy of the barcode image 42 is improved.

以上説明したように、本実施形態では、プリンタードライバー実行部21は、プリンター12に記録させる画像に、バーコード画像42が含まれている場合は、バーコード画像42を少なくとも含む画像を記録する際の記録速度が、当該バーコード画像42を記録するのに適した記録速度となるように、記録速度を変更させてプリンター12に画像を記録させる。
これによれば、バーコード画像42を含むクーポン5については、当該バーコード画像42を記録するのに適した記録速度で記録することが可能となる。また、バーコード画像42含まないクーポン5については、記録速度を落として画像が記録されることがないため、記録に要する時間の長時間化を抑制できる。
As described above, in this embodiment, the printer driver execution unit 21 records an image including at least the barcode image 42 when the image to be recorded by the printer 12 includes the barcode image 42. The recording speed is changed so that the recording speed is suitable for recording the barcode image 42, and the printer 12 records the image.
As a result, the coupon 5 including the barcode image 42 can be recorded at a recording speed suitable for recording the barcode image 42. Further, for the coupon 5 that does not include the barcode image 42, since the image is not recorded at a lower recording speed, it is possible to suppress an increase in the time required for recording.

また、本実施形態では、バーコード画像42は、光学的に読み取られることが想定された画像であり、プリンタードライバー実行部21は、バーコード画像42が記録されるクーポン5に対して画像を記録させる際の記録速度を、バーコード画像42が記録されないクーポン5に対して画像を記録させる際の記録速度よりも遅くさせる。
これによれば、光学的に読み取られることが想定されたバーコード画像42について、記録速度を遅くして記録することにより、高い精度での記録が可能となる。
In the present embodiment, the barcode image 42 is an image that is supposed to be optically read, and the printer driver execution unit 21 records an image on the coupon 5 in which the barcode image 42 is recorded. The recording speed at the time of making is made slower than the recording speed at the time of recording an image with respect to the coupon 5 in which the barcode image 42 is not recorded.
According to this, it is possible to record with high accuracy by recording the barcode image 42 assumed to be optically read at a low recording speed.

<第3実施形態>
次いで、第3実施形態に係る記録システム1について説明する。
本実施形態では、第1実施形態に係る記録システム1と、図4のステップSA7の動作が相違している。
以下、本実施形態に係るホストコンピューター10の図4のステップSA7における動作について詳述する。
<Third Embodiment>
Next, the recording system 1 according to the third embodiment will be described.
In this embodiment, the recording system 1 according to the first embodiment is different from the operation in step SA7 in FIG.
Hereinafter, the operation in step SA7 of FIG. 4 of the host computer 10 according to the present embodiment will be described in detail.

図8は、本実施形態に係るホストコンピューター10のプリンタードライバー実行部21が、ステップSA7において生成する制御コマンドの内容を模式的に示す図である。
上述した第1実施形態に係るプリンタードライバー実行部21は、ステップSA7において、ロゴ記録コマンド、クーポン情報記録コマンド、及び、バーコード記録コマンドに先んじて速度調整コマンドを出力することにより、クーポン5に記録される画像の全てをバーコード記録速度情報39が示す記録速度に準じて記録させ、これにより、バーコード画像42の精度の向上を実現していた。一方で、本実施形態では、トップロゴ40、及び、クーポン情報画像41については、基本記録速度に準じて画像の記録を行わせ、一方、バーコード画像42についてのみ、バーコード記録速度に準じて画像の記録を行わせ、これにより、画像の記録に要する時間の短縮化を実現している。なお、上述したように、画像の記録に要する時間の長時間化の抑制、及び、高い精度でのバーコード画像42の記録の実現、という観点から、基本記録速度の方が、バーコード記録速度よりも速く設定されている。
FIG. 8 is a diagram schematically showing the contents of the control command generated in step SA7 by the printer driver execution unit 21 of the host computer 10 according to the present embodiment.
In step SA7, the printer driver execution unit 21 according to the first embodiment described above records the coupon 5 by outputting a speed adjustment command prior to the logo recording command, the coupon information recording command, and the barcode recording command. All of the images to be recorded are recorded in accordance with the recording speed indicated by the barcode recording speed information 39, thereby improving the accuracy of the barcode image 42. On the other hand, in this embodiment, the top logo 40 and the coupon information image 41 are recorded according to the basic recording speed, while only the barcode image 42 is recorded according to the barcode recording speed. By recording an image, the time required for recording the image is shortened. Note that, as described above, the basic recording speed is higher than the barcode recording speed from the viewpoint of suppressing the time required for image recording and realizing the recording of the barcode image 42 with high accuracy. Is set faster than.

図8を参照し、ステップSA7において、プリンタードライバー実行部21は、速度調整コマンドを出力することなく、ロゴ記録コマンド、及び、クーポン情報記録コマンドを出力する。これにより、トップロゴ40、及び、クーポン情報画像41については、プリンター側制御部30により、設定情報データ37の基本記録速度情報38が参照され、基本記録速度情報38が示す記録速度に準じたスピードで画像の記録が実行される。
そして、プリンタードライバー実行部21は、クーポン情報記録コマンドの出力後に、臨時速度調整コマンドを出力し、この臨時速度調整コマンドに続けてバーコード記録コマンドを出力する。
臨時速度調整コマンドは、当該コマンドに続いて出力される記録コマンドに基づいて、画像を記録する際は、臨時的に、バーコード記録速度情報39を参照して、バーコード記録速度情報39が示す記録速度に準じたスピードで画像を記録することを指示するコマンドである。従って、臨時速度調整コマンドに続いて、バーコード記録コマンドが出力された場合、プリンター側制御部30は、当該バーコード記録コマンドに基づいてバーコード画像42を記録するに際して、基本記録速度情報38ではなく、バーコード記録速度情報39を参照し、当該バーコード記録速度情報39が示す記録速度に準拠したスピードで画像を記録する。
Referring to FIG. 8, in step SA7, the printer driver execution unit 21 outputs a logo recording command and a coupon information recording command without outputting a speed adjustment command. Thereby, for the top logo 40 and the coupon information image 41, the printer-side control unit 30 refers to the basic recording speed information 38 of the setting information data 37, and the speed according to the recording speed indicated by the basic recording speed information 38. The image recording is executed.
Then, after outputting the coupon information recording command, the printer driver execution unit 21 outputs a temporary speed adjustment command, and outputs a barcode recording command following the temporary speed adjustment command.
The temporary speed adjustment command is temporarily indicated by the bar code recording speed information 39 by referring to the bar code recording speed information 39 when recording an image based on a recording command output following the command. This command instructs to record an image at a speed according to the recording speed. Accordingly, when a barcode recording command is output following the temporary speed adjustment command, the printer-side control unit 30 uses the basic recording speed information 38 when recording the barcode image 42 based on the barcode recording command. Instead, the barcode recording speed information 39 is referred to, and an image is recorded at a speed based on the recording speed indicated by the barcode recording speed information 39.

このように、本実施形態では、臨時速度調整コマンドを利用して、バーコード記録コマンドに基づくバーコード画像42の記録のみが、バーコード記録速度に準拠して記録されることとなり、バーコード画像42以外の画像が不必要に遅い記録速度に準拠して記録されることを防止でき、記録に要する時間の短縮化をより一層実現できる。   As described above, in this embodiment, only the recording of the barcode image 42 based on the barcode recording command is recorded based on the barcode recording speed using the temporary speed adjustment command. It is possible to prevent images other than 42 from being recorded in accordance with an unnecessarily slow recording speed, and to further reduce the time required for recording.

さらに、本実施形態では、以下のような処理を行い、クーポン5に記録される画像にムラが発生することを効果的に防止している。   Furthermore, in the present embodiment, the following processing is performed to effectively prevent unevenness in the image recorded on the coupon 5.

図9は、クーポン5の別の例を模式的に示す図である。
なお、クーポン5への画像の記録は、搬送方向(矢印Y1)に感熱ロール紙が移動し、これに伴って、相対的にラインサーマルヘッド25が矢印Y2方向へ移動しつつ実行される。ラインサーマルヘッド25は、感熱ロール紙の幅方向の全域に延在しており、ラインサーマルヘッド25によって、幅方向に一列に延びる行単位で、画素が形成される。例えば、行G1に含まれる画素のそれぞれは、ラインサーマルヘッド25において幅方向に延びて配置された発熱素子のそれぞれによって同時に形成される。
図9に示すクーポン5では、バーコード画像42の左方に、ボトムロゴ55が記録されている。
このボトムロゴ55は、搬送方向の矢印Y1が示す方向側の端部RTが、バーコード画像42の矢印Y1が示す側の端部BTよりも搬送方向側に存在し、また、搬送方向とは反対の矢印Y2が示す方向側の端部RBが、バーコード画像42の矢印Y2が示す方向側の端部BBよりも矢印Y2が示す方向側に存在している。
FIG. 9 is a diagram schematically illustrating another example of the coupon 5.
The recording of the image on the coupon 5 is executed while the thermal roll paper is moved in the transport direction (arrow Y1) and the line thermal head 25 is relatively moved in the direction of arrow Y2. The line thermal head 25 extends in the entire width direction of the thermal roll paper, and pixels are formed by the line thermal head 25 in units of rows extending in a line in the width direction. For example, each of the pixels included in the row G <b> 1 is simultaneously formed by each of the heating elements arranged extending in the width direction in the line thermal head 25.
In the coupon 5 shown in FIG. 9, a bottom logo 55 is recorded on the left side of the barcode image 42.
In the bottom logo 55, the end portion RT on the direction side indicated by the arrow Y1 in the transport direction is present on the transport direction side with respect to the end portion BT on the side indicated by the arrow Y1 in the barcode image 42, and is opposite to the transport direction The end portion RB on the direction side indicated by the arrow Y2 is present on the direction side indicated by the arrow Y2 with respect to the end portion BB on the direction side indicated by the arrow Y2 of the barcode image 42.

図9に示す画像のうち、端部RTと端部RBの間の領域Aに対応する画像をクーポン5に記録する場合、本実施形態では、プリンタードライバー実行部21は、領域Aに対応する画像(ボトムロゴ55、及び、バーコード画像42が含まれた画像)の画像データ(例えば、ビットマップデータ)を生成すると共に、当該画像データを記録させる制御コマンド(以下、「領域A記録コマンド」という)を生成し、プリンター12に出力する。当該領域A記録コマンドが入力されたプリンター側制御部30は、領域Aを示す画像データに基づいて、クーポン5の領域Aに対応する画像を記録する。   When the image corresponding to the region A between the end portion RT and the end portion RB is recorded in the coupon 5 among the images shown in FIG. 9, in the present embodiment, the printer driver execution unit 21 displays the image corresponding to the region A. A control command for generating image data (for example, bitmap data) of the bottom logo 55 and the barcode image 42 and recording the image data (hereinafter referred to as “area A recording command”). And output to the printer 12. The printer-side control unit 30 to which the area A recording command is input records an image corresponding to the area A of the coupon 5 based on the image data indicating the area A.

ここで、基本的には、バーコード記録速度は、基本記録速度よりも遅く設定されている。従って、できるだけバーコード記録速度に準拠した画像の記録を少なくし、基本記録速度に準拠して画像を記録すれば、画像の記録に要する時間の短縮化を図ることができる。
この観点から言えば、領域Aを、領域a1、領域a2、及び、領域a3に区分し、領域a1、及び、領域a3については、基本記録速度に準拠して画像を記録し、領域a2については、バーコード記録速度に準拠して画像を記録するようにすれば、バーコード画像42の精度の向上を実現しつつ、最も効率よく、かつ、最大限に、画像の記録に要する時間の短縮化を図ることができる。
しかしながら、この場合、ボトムロゴ55については、領域a1−a3の各領域で記録速度が異なることとなり、記録速度の変化に伴って、各領域の境目にムラが生じ、これに起因してボトムロゴ55の画像の質が低下する可能性がある。
これを踏まえ、本実施形態では、プリンタードライバー実行部21は、バーコード画像42の幅方向において重なる部分がある画像、換言すれば、ラインサーマルヘッド25によって画素を形成する際に、バーコード画像42を構成する画素と同時並行的に形成される画素を含む画像については、当該画像の全領域をバーコード記録速度に準拠した一定の記録速度で記録するよう、プリンター12を制御する。
図9の例で言えば、領域Aに対応する画像をプリンター12に記録させる際、プリンタードライバー実行部21は、記録に要する時間の短縮化を目的として、領域Aを領域a1−a3に区分して、各領域の画像を異なる記録速度に準拠して記録させる制御コマンドを生成するのではなく、領域Aの全域を、一定のバーコード記録速度に準拠して記録させる制御コマンドを生成してプリンター12に出力する。これにより、ボトムロゴ55の全領域が一定の記録速度に準拠して記録されることとなり、ボトムロゴ55の画像の質の低下を効果的に防止できる。
Here, basically, the barcode recording speed is set slower than the basic recording speed. Therefore, if the image recording conforming to the barcode recording speed is reduced as much as possible and the image is recorded conforming to the basic recording speed, the time required for image recording can be shortened.
From this point of view, the area A is divided into an area a1, an area a2, and an area a3. For the area a1 and the area a3, an image is recorded in accordance with the basic recording speed, and for the area a2, If the image is recorded according to the barcode recording speed, the accuracy of the barcode image 42 is improved and the time required for image recording is shortened most efficiently and maximally. Can be achieved.
However, in this case, the recording speed of the bottom logo 55 is different in each of the areas a1 to a3. As the recording speed changes, unevenness occurs at the boundary between the areas. Image quality may be degraded.
Based on this, in the present embodiment, the printer driver execution unit 21 has an image that overlaps in the width direction of the barcode image 42, in other words, the barcode image 42 when forming pixels by the line thermal head 25. For an image including pixels that are formed in parallel with the pixels that form the image, the printer 12 is controlled so that the entire area of the image is recorded at a constant recording speed in accordance with the barcode recording speed.
In the example of FIG. 9, when the printer 12 records an image corresponding to the area A, the printer driver execution unit 21 divides the area A into areas a1-a3 for the purpose of shortening the time required for recording. Instead of generating a control command for recording the image of each area in accordance with a different recording speed, the printer generates a control command for recording the entire area A in accordance with a certain barcode recording speed. 12 is output. As a result, the entire area of the bottom logo 55 is recorded in accordance with a constant recording speed, and the deterioration of the image quality of the bottom logo 55 can be effectively prevented.

以上説明したように、本実施形態では、プリンタードライバー実行部21は、プリンター12に、少なくとも、バーコード画像42を記録させる際の記録速度を変更させる。
これによれば、バーコード画像42のみを記録速度を落として記録することが可能となり、記録速度の低下に伴う記録に要する時間の長時間化を効果的に抑制できる。
As described above, in the present embodiment, the printer driver execution unit 21 causes the printer 12 to change at least the recording speed when recording the barcode image 42.
According to this, it becomes possible to record only the barcode image 42 at a lower recording speed, and it is possible to effectively suppress an increase in the time required for recording accompanying a decrease in the recording speed.

また、本実施形態では、プリンタードライバー実行部21は、バーコード画像42、及び、ラインサーマルヘッド25により当該バーコード画像42と同時並行的に記録される他の画像について、これらバーコード画像42、及び、他の画像の全領域が一定の記録速度で記録が行われるようにプリンター12を制御する。
これによれば、ラインサーマルヘッド25により所定のシンボル画像と同時並行的に記録される他の画像については、途中で記録速度が変わることなく、全領域が一定の記録速度で記録されることとなり、途中で記録速度が変わることによるムラが発生することを効果的に防止できる。
Further, in the present embodiment, the printer driver execution unit 21 performs the barcode image 42 and other images recorded in parallel with the barcode image 42 by the line thermal head 25, with the barcode image 42, In addition, the printer 12 is controlled so that all areas of other images are recorded at a constant recording speed.
According to this, for other images recorded in parallel with the predetermined symbol image by the line thermal head 25, the entire area is recorded at a constant recording speed without changing the recording speed in the middle. Further, it is possible to effectively prevent the occurrence of unevenness due to the change in the recording speed in the middle.

なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。
例えば、上述した実施形態では、感熱ロール紙に画像を記録してクーポン5を発行する場合を例にして発明を説明したが、これに限らず、レシート等の他の帳票を発行する場合や、カット紙等の他の記録媒体に画像を記録する場合にも適用可能である。すなわち、本発明は、記録速度を落としてでも高い精度で記録することが求められるシンボル画像を記録する場合に、広く適用可能である。
また、本実施形態では、シンボル画像として、1次元バーコードに係るバーコード画像42を例として発明を説明したが、シンボル画像は、1次元バーコードに限らず、2次元バーコードであってもよく、また例えば、光学文字認識されることが想定された文字列であってもよい。すなわち、シンボル画像は、記録速度を落としてでも高い精度で記録することが求められる画像であればよい。
また、本実施形態では、ラインプリンターを例にして説明したが、シリアルプリンターに対しても本発明を適用可能であり、また、サーマルプリンターに限らず、インクジェットプリンターや、ドットインパクトプリンター等の他の形式のプリンターにも本発明を適用可能である。
例を挙げて説明すると、図9を参照し、記録ヘッドが幅方向に走査しつつ、画像を記録するインクジェットプリンターであるものとする。この場合、プリンタードライバー実行部21は、バーコードの領域xに対応する領域については、記録ヘッドの走査速度を落として画像を記録するようプリンター12を制御することにより、バーコード画像42を高い精度で記録しつつ、記録に要する時間の短縮化を図ることができる。すなわち、記録速度と記録される画像の精度との間に相関関係がある記録装置、及び、当該記録装置を制御する制御装置、及び、これら記録装置及び制御装置を備えるシステムに広く適用可能である。
The above-described embodiment is merely an aspect of the present invention, and can be arbitrarily modified and applied within the scope of the present invention.
For example, in the above-described embodiment, the invention has been described by taking an example in which an image is recorded on the thermal roll paper and the coupon 5 is issued. However, the present invention is not limited thereto, and other forms such as receipts are issued. The present invention is also applicable when recording an image on another recording medium such as cut paper. That is, the present invention can be widely applied to recording symbol images that are required to be recorded with high accuracy even when the recording speed is lowered.
In the present embodiment, the invention has been described by taking the barcode image 42 related to the one-dimensional barcode as an example of the symbol image. However, the symbol image is not limited to the one-dimensional barcode, but may be a two-dimensional barcode. For example, it may be a character string that is supposed to be recognized as an optical character. That is, the symbol image may be an image that is required to be recorded with high accuracy even when the recording speed is lowered.
In the present embodiment, the line printer has been described as an example. However, the present invention can also be applied to a serial printer, and is not limited to a thermal printer, and is not limited to an inkjet printer, a dot impact printer, or the like. The present invention can also be applied to printers of a type.
For example, with reference to FIG. 9, it is assumed that the recording head is an ink jet printer that records an image while scanning in the width direction. In this case, the printer driver execution unit 21 controls the printer 12 so as to record the image at a lower scanning speed of the recording head in the region corresponding to the barcode region x, so that the barcode image 42 is highly accurate. The time required for recording can be shortened while recording. That is, the present invention can be widely applied to a recording apparatus having a correlation between the recording speed and the accuracy of an image to be recorded, a control apparatus that controls the recording apparatus, and a system including these recording apparatus and control apparatus. .

1…記録システム、10…ホストコンピューター(制御装置)、12…プリンター(記録装置)、15…制御部、20…POSアプリケーション実行部、21…プリンタードライバー実行部(記録制御部)、25…ラインサーマルヘッド(記録ヘッド)、42…バーコード画像(シンボル画像)、53…バーコード記録速度入力ウインドウ(ユーザーインターフェイス)、55…ボトムロゴ(他の画像)。   DESCRIPTION OF SYMBOLS 1 ... Recording system, 10 ... Host computer (control apparatus), 12 ... Printer (recording apparatus), 15 ... Control part, 20 ... POS application execution part, 21 ... Printer driver execution part (recording control part), 25 ... Line thermal Head (recording head), 42... Barcode image (symbol image), 53... Barcode recording speed input window (user interface), 55.

Claims (10)

記録装置を制御して記録媒体に記録を行わせる制御装置であって、
前記記録装置に記録させる画像に、所定のシンボル画像が含まれているか否かに応じて、記録速度を変更させて前記記録装置に画像を記録させる記録制御部を備えることを特徴とする制御装置。
A control device for controlling a recording device to perform recording on a recording medium,
A control apparatus comprising: a recording control unit that changes a recording speed according to whether or not a predetermined symbol image is included in an image to be recorded by the recording apparatus, and causes the recording apparatus to record an image. .
前記記録制御部は、
少なくとも、前記所定のシンボル画像を記録させる際の記録速度を変更させて、前記記録装置を制御して前記記録媒体に記録を行わせることを特徴とする請求項1に記載の制御装置。
The recording control unit
2. The control apparatus according to claim 1, wherein at least a recording speed at which the predetermined symbol image is recorded is changed, and the recording apparatus is controlled to perform recording on the recording medium.
所定のアプリケーションを実行することにより、前記記録媒体に記録すべき画像に係る情報を含んだ記録情報データを生成するアプリケーション実行部をさらに備え、
前記記録制御部は、
前記アプリケーション実行部が生成した前記記録情報データに、前記記録媒体に記録すべき画像に係る情報として、前記所定のシンボル画像に係る情報が含まれているか否かに応じて、記録速度を変更させる制御コマンドを生成し、前記記録装置に出力することを特徴とする請求項1又は2に記載の制御装置。
An application execution unit that generates recording information data including information about an image to be recorded on the recording medium by executing a predetermined application;
The recording control unit
Depending on whether or not the recording information data generated by the application execution unit includes information on the predetermined symbol image as information on the image to be recorded on the recording medium, the recording speed is changed. The control device according to claim 1, wherein a control command is generated and output to the recording device.
前記所定のシンボル画像を含む画像を記録させる際の記録速度が入力可能なユーザーインターフェイスをさらに備え、
前記記録制御部は、
前記記録装置に記録させる画像に、前記所定のシンボル画像が含まれている場合は、前記所定のシンボル画像を少なくとも含む画像を記録する際の記録速度が、前記ユーザーインターフェイスに入力された記録速度となるように、記録速度を変更させて前記記録装置に画像を記録させることを特徴とする請求項1ないし3のいずれかに記載の制御装置。
A user interface capable of inputting a recording speed when recording an image including the predetermined symbol image;
The recording control unit
If the image to be recorded by the recording device includes the predetermined symbol image, the recording speed when recording an image including at least the predetermined symbol image is the recording speed input to the user interface. The control apparatus according to claim 1, wherein the image is recorded on the recording apparatus by changing a recording speed.
前記記録制御部は、
前記記録装置に記録させる画像に、前記所定のシンボル画像が含まれている場合は、前記所定のシンボル画像を少なくとも含む画像を記録する際の記録速度が、当該所定のシンボル画像を記録するのに適した記録速度となるように、記録速度を変更させて前記記録装置に画像を記録させることを特徴とする請求項1ないし3のいずれかに記載の制御装置。
The recording control unit
When the image to be recorded by the recording device includes the predetermined symbol image, the recording speed when recording an image including at least the predetermined symbol image is sufficient to record the predetermined symbol image. 4. The control apparatus according to claim 1, wherein the recording apparatus is configured to record an image by changing the recording speed so as to obtain an appropriate recording speed.
前記記録媒体に画像を形成する記録ヘッドを備え、
前記記録制御部は、
前記所定のシンボル画像、及び、前記記録ヘッドにより当該所定のシンボル画像と同時並行的に記録される他の画像の全領域が一定の記録速度で記録が行われるように前記記録装置を制御することを特徴とする請求項1ないし5のいずれかに記載の制御装置。
A recording head for forming an image on the recording medium;
The recording control unit
Controlling the recording apparatus so that recording is performed at a constant recording speed on the entire area of the predetermined symbol image and another image recorded in parallel with the predetermined symbol image by the recording head. The control device according to claim 1, wherein:
前記所定のシンボル画像は、光学的に読み取られることが想定された画像であり、
前記記録制御部は、
少なくとも、前記記録装置に前記所定のシンボル画像を記録させる際の記録速度を、他の画像を記録させる際の記録速度よりも遅くさせることを特徴とする請求項1ないし6のいずれかに記載の制御装置。
The predetermined symbol image is an image assumed to be optically read;
The recording control unit
7. The recording method according to claim 1, wherein at least a recording speed at which the recording device records the predetermined symbol image is made slower than a recording speed at which another image is recorded. Control device.
記録装置と、前記記録装置に接続され、前記記録装置を制御して記録媒体に記録を行わせる制御装置とを備える記録システムであって、
前記制御装置は、
前記記録装置に記録させる画像に、所定のシンボル画像が含まれているか否かに応じて、記録速度を変更させて前記記録装置に画像を記録させる記録制御部を備えることを特徴とする記録システム。
A recording system comprising: a recording device; and a control device that is connected to the recording device and controls the recording device to perform recording on a recording medium,
The controller is
A recording system comprising: a recording control unit that changes a recording speed according to whether or not a predetermined symbol image is included in an image to be recorded by the recording device, and causes the recording device to record an image. .
記録装置を制御して記録媒体に記録を行わせる制御装置の制御方法であって、
前記記録装置に記録させる画像に、所定のシンボル画像が含まれているか否かを判別し、判別結果に応じて、記録速度を変更させて前記記録装置に画像を記録させる記録制御部を備えることを特徴とする制御装置の制御方法。
A control method of a control device for controlling a recording device to perform recording on a recording medium,
A recording control unit configured to determine whether or not a predetermined symbol image is included in an image to be recorded by the recording device, and to change the recording speed according to the determination result to record the image on the recording device; A control method for a control device.
記録装置を制御して記録媒体に記録を行わせる制御装置を制御する制御部により実行されるプログラムであって、
前記制御部を、
前記記録装置に記録させる画像に、所定のシンボル画像が含まれているか否かに応じて、記録速度を変更させて前記記録装置に画像を記録させる記録制御部として機能させることを特徴とするプログラム。
A program executed by a control unit that controls a control device that controls a recording device to perform recording on a recording medium,
The control unit
A program that functions as a recording control unit that changes a recording speed and records an image on the recording device according to whether or not a predetermined symbol image is included in the image to be recorded on the recording device. .
JP2010263598A 2010-11-26 2010-11-26 Control device, recording system, control method of control device, and program Pending JP2012113608A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010263598A JP2012113608A (en) 2010-11-26 2010-11-26 Control device, recording system, control method of control device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010263598A JP2012113608A (en) 2010-11-26 2010-11-26 Control device, recording system, control method of control device, and program

Publications (1)

Publication Number Publication Date
JP2012113608A true JP2012113608A (en) 2012-06-14

Family

ID=46497740

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010263598A Pending JP2012113608A (en) 2010-11-26 2010-11-26 Control device, recording system, control method of control device, and program

Country Status (1)

Country Link
JP (1) JP2012113608A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014182692A (en) * 2013-03-21 2014-09-29 Seiko Epson Corp Print control program, print control device, and print control method
WO2015033702A1 (en) * 2013-09-04 2015-03-12 サトーホールディングス株式会社 Printer and printing method
JPWO2014073179A1 (en) * 2012-11-09 2016-09-08 セイコーエプソン株式会社 Printing apparatus, printing apparatus control method, coupon, and control system
JP2019198002A (en) * 2018-05-10 2019-11-14 ブラザー工業株式会社 Control program, information processing apparatus, and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2014073179A1 (en) * 2012-11-09 2016-09-08 セイコーエプソン株式会社 Printing apparatus, printing apparatus control method, coupon, and control system
JP2014182692A (en) * 2013-03-21 2014-09-29 Seiko Epson Corp Print control program, print control device, and print control method
WO2015033702A1 (en) * 2013-09-04 2015-03-12 サトーホールディングス株式会社 Printer and printing method
JP2015047826A (en) * 2013-09-04 2015-03-16 サトーホールディングス株式会社 Printer and printing method thereof
CN105263715A (en) * 2013-09-04 2016-01-20 佐藤控股株式会社 Printer and printing method thereof
US9586420B2 (en) 2013-09-04 2017-03-07 Sato Holdings Kabushiki Kaisha Printer and method for printing
JP2019198002A (en) * 2018-05-10 2019-11-14 ブラザー工業株式会社 Control program, information processing apparatus, and system
JP7089219B2 (en) 2018-05-10 2022-06-22 ブラザー工業株式会社 Control programs, information processing equipment, and systems

Similar Documents

Publication Publication Date Title
CN102756572B (en) The control method of tape deck and tape deck
JP5909871B2 (en) Recording device
JP2012179853A (en) Electronic device, control device, method for controlling electronic device, and program
JP2012113608A (en) Control device, recording system, control method of control device, and program
KR101429850B1 (en) Recording device and control method of a recording device
JP5754307B2 (en) CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM
US10046577B2 (en) Printing device, printing system, and control method of a printing device
JP7012476B2 (en) Printer
JP5862045B2 (en) RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM
CN102529454B (en) Recording device and control method thereof
JP2015189104A (en) Printer and control method of the same
JP6986948B2 (en) Printer device
JP5760705B2 (en) RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM
JP5891610B2 (en) RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND IMAGE CORRECTION PROGRAM
JP2013257805A (en) Control device, control method of control device, and program
JP2012106431A (en) Recording apparatus, recording system, method for controlling of recording apparatus, and program
JP6544470B2 (en) Label issuing device and label printing method
JP2012101391A (en) Recording apparatus, method for controlling the same, and program
JP5857656B2 (en) CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM
JP6051559B2 (en) RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM
JP2012206238A (en) Recording device, cutting method, and program
JP6032334B2 (en) Control device and recording system
JP2013025556A (en) Control device, control method of control device, and program
JP5987415B2 (en) RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM
JP2014054846A (en) Control device, control method for control device, and program