JP2013257805A - Control device, control method of control device, and program - Google Patents
Control device, control method of control device, and program Download PDFInfo
- Publication number
- JP2013257805A JP2013257805A JP2012134561A JP2012134561A JP2013257805A JP 2013257805 A JP2013257805 A JP 2013257805A JP 2012134561 A JP2012134561 A JP 2012134561A JP 2012134561 A JP2012134561 A JP 2012134561A JP 2013257805 A JP2013257805 A JP 2013257805A
- Authority
- JP
- Japan
- Prior art keywords
- barcode
- execution unit
- image information
- application execution
- control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Facsimiles In General (AREA)
- Record Information Processing For Printing (AREA)
Abstract
Description
本発明は、記録装置に接続可能な制御装置、当該制御装置の制御方法、及び、当該制御装置を制御するためのプログラムに関する。 The present invention relates to a control device connectable to a recording device, a control method for the control device, and a program for controlling the control device.
従来、シート等の記録媒体にバーコードを記録するバーコード印刷システムが知られている(例えば、特許文献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).
記録媒体に記録されるバーコードは、後に光学的に読み取られて、所定の処理に使用されるものであるため、誤ったバーコードが記録されることを防止する必要がある。
本発明は、上述した事情に鑑みてなされたものであり、バーコードを含む画像を記録装置に記録させる場合に、誤ったバーコードが記録されることを防止することを目的とする。
Since the barcode recorded on the recording medium is optically read later and used for predetermined processing, it is necessary to prevent an erroneous barcode from being recorded.
The present invention has been made in view of the above-described circumstances, and an object thereof is to prevent an erroneous barcode from being recorded when an image including a barcode is recorded on a recording apparatus.
上記目的を達成するために、本発明は、記録装置に接続可能な制御装置であって、前記記録装置に記録させる画像に関する画像情報を生成し、前記画像情報を出力するアプリケーション実行部と、前記アプリケーション実行部から出力された前記画像情報に基づいて、前記記録装置を制御する制御データを生成するプリンタードライバー実行部と、を備え、バーコードを含む画像を前記記録装置に記録させる場合、前記アプリケーション実行部は、バーコードに係る前記画像情報については、描画処理用のインターフェイスを介すことなく出力し、前記プリンタードライバー実行部は、前記アプリケーション実行部により前記描画処理用のインターフェイスを介すことなく出力されたバーコードに係る前記画像情報に基づいて、バーコードに係る前記制御データを生成する、ことを特徴とする。
ここで、一般に、アプリケーションとプリンタードライバーとの間でのデータの受け渡しは、OSにより提供されるソフトウェア的なインターフェイスを介して行われる。通常、このインターフェイスは、アプリケーションから入力されたデータについて、OSの仕様に応じた所定の描画処理を施した上で、プリンタードライバーに出力する機能を有している。
そして、上記構成によれば、バーコードを含む画像を記録装置に記録させる場合、アプリケーション実行部は、バーコードに係る画像情報については、描画処理用のインターフェイスを介すことなく出力し、プリンタードライバー実行部は、アプリケーション実行部により描画処理用のインターフェイスを介すことなく出力されたバーコードに係る画像情報に基づいて、バーコードに係る制御データを生成する。従って、アプリケーションからプリンタードライバーへのバーコードに係る画像情報の出力に際し、インターフェイスの機能により、バーコードに係る画像情報に何らかの改変が加わることがなく、バーコードに係る画像情報の改変に起因して誤ったバーコードが記録されることを防止できる。
In order to achieve the above object, the present invention provides a control device connectable to a recording device, wherein the application execution unit generates image information relating to an image to be recorded by the recording device, and outputs the image information; A printer driver execution unit that generates control data for controlling the recording device based on the image information output from the application execution unit, and when the image including a barcode is recorded on the recording device, the application The execution unit outputs the image information relating to the barcode without using the drawing processing interface, and the printer driver execution unit does not pass through the drawing processing interface by the application execution unit. Based on the image information related to the output barcode, Wherein generating the control data that, characterized in that.
Here, generally, data exchange between the application and the printer driver is performed via a software interface provided by the OS. Normally, this interface has a function of outputting a data input from an application to a printer driver after performing a predetermined drawing process according to the specification of the OS.
According to the above configuration, when an image including a barcode is recorded on the recording device, the application execution unit outputs the image information related to the barcode without using the drawing processing interface, and the printer driver The execution unit generates control data related to the barcode based on the image information related to the barcode output by the application execution unit without passing through the drawing processing interface. Therefore, when outputting the image information related to the barcode from the application to the printer driver, the interface function does not cause any modification to the image information related to the barcode, and is caused by the modification of the image information related to the barcode. It is possible to prevent an erroneous barcode from being recorded.
また、本発明は、バーコードを含む画像を前記記録装置に記録させる場合、前記アプリケーション実行部は、バーコードに係る前記画像情報を所定の記憶領域に記憶し、前記プリンタードライバー実行部は、前記所定の記憶領域に記憶されたバーコードに係る前記画像情報に基づいて、バーコードに係る前記制御データを生成する、ことを特徴とする。
この構成によれば、描画処理用のインターフェイスに何ら機能を追加することなく、アプリケーションからプリンタードライバーに対して、描画処理用のインターフェイスを介すことなくバーコードに係る画像情報を出力可能である。
In the present invention, when the image including the barcode is recorded on the recording device, the application execution unit stores the image information on the barcode in a predetermined storage area, and the printer driver execution unit The control data relating to the barcode is generated based on the image information relating to the barcode stored in a predetermined storage area.
According to this configuration, it is possible to output image information related to the barcode from the application to the printer driver without going through the drawing processing interface without adding any function to the drawing processing interface.
また、上記目的を達成するために、本発明は、記録装置に接続可能に構成され、前記記録装置に記録させる画像に関する画像情報を生成し、出力するアプリケーション実行部と、前記アプリケーション実行部から出力された前記画像情報に基づいて、前記記録装置を制御する制御データを生成するプリンタードライバー実行部と、を備える制御装置の制御方法であって、バーコードを含む画像を前記記録装置に記録させる場合、前記アプリケーション実行部により、バーコードに係る前記画像情報については、前記描画処理用のインターフェイスを介すことなく出力し、前記プリンタードライバー実行部により、前記アプリケーション実行部により前記描画処理用のインターフェイスを介すことなく出力されたバーコードに係る前記画像情報に基づいて、バーコードに係る前記制御データを生成する、ことを特徴とする。
この制御方法によれば、アプリケーションからプリンタードライバーへのバーコードに係る画像情報の出力に際し、インターフェイスの機能により、バーコードに係る画像情報に何らかの改変が加わることがなく、バーコードに係る画像情報の改変に起因して誤ったバーコードが記録されることを防止できる。
In order to achieve the above object, the present invention is configured to be connectable to a recording apparatus, and generates and outputs image information relating to an image to be recorded by the recording apparatus, and outputs from the application execution section A control method for a control device, comprising: a printer driver execution unit that generates control data for controlling the recording device based on the image information that has been recorded, wherein the recording device records an image including a barcode The application execution unit outputs the image information relating to the barcode without passing through the drawing processing interface, and the printer driver execution unit sets the drawing processing interface by the application execution unit. The image information relating to the barcode output without passing through Based on, for generating the control data according to the bar code, characterized in that.
According to this control method, when the image information related to the barcode is output from the application to the printer driver, the image information related to the barcode is not modified by the function of the interface without any modification to the image information related to the barcode. It is possible to prevent an erroneous bar code from being recorded due to modification.
また、上記目的を達成するために、本発明は、記録装置に接続可能な制御装置を制御する制御部により実行されるプログラムであって、前記制御部を、前記記録装置に記録させる画像に関する画像情報を生成し、出力するアプリケーション実行部と、前記アプリケーション実行部から出力された前記画像情報に基づいて、前記記録装置を制御する制御データを生成するプリンタードライバー実行部と、として機能させると共に、バーコードを含む画像を前記記録装置に記録させる場合、前記アプリケーション実行部に、バーコードに係る前記画像情報については、描画処理用のインターフェイスを介すことなく出力させ、前記プリンタードライバー実行部に、前記アプリケーション実行部により前記描画処理用のインターフェイスを介すことなく出力させたバーコードに係る前記画像情報に基づいて、バーコードに係る前記制御データを生成させる、ことを特徴とする。
このプログラムによれば、アプリケーションからプリンタードライバーへのバーコードに係る画像情報の出力に際し、インターフェイスの機能により、バーコードに係る画像情報に何らかの改変が加わることがなく、バーコードに係る画像情報の改変に起因して誤ったバーコードが記録されることを防止できる。
In order to achieve the above object, the present invention provides a program executed by a control unit that controls a control device that can be connected to a recording apparatus, the image relating to an image that causes the recording apparatus to record the control unit. An application execution unit that generates and outputs information, and a printer driver execution unit that generates control data for controlling the recording apparatus based on the image information output from the application execution unit, When recording an image including a code in the recording device, the application execution unit causes the image information related to the barcode to be output without passing through a drawing processing interface, and the printer driver execution unit Via the interface for drawing processing by the application execution unit Based on the image information according to the Ku barcode is output, thereby generating the control data according to the bar code, characterized in that.
According to this program, when the image information related to the barcode is output from the application to the printer driver, the image information related to the barcode is not modified by the function of the interface, and the image information related to the barcode is modified. It is possible to prevent an erroneous bar code from being recorded due to the error.
本発明によれば、誤ったバーコードが記録されることを防止できる。 According to the present invention, it is possible to prevent an erroneous barcode from being recorded.
以下、図面を参照して本発明の実施形態について説明する。
図1は、本発明を適用した実施形態に係る記録システム1の構成を示すブロック図である。
この図1に示すように、記録システム1は、ホストコンピューター11(制御装置)と、ホストコンピューター11に対して通信可能に接続されたプリンター12(記録装置)と、を備えている。
ホストコンピューター11は、例えば、コンビニエンスストアやスーパーマーケット等の店舗の店頭に設置され、売上登録処理及び精算処理等の機能を有するPOS端末であり、顧客による会計毎にプリンター12によってレシートを発行する。
図1に示すように、ホストコンピューター11は、制御部13と、入力部14と、表示部15と、インターフェイス(I/F)部16と、記憶部17と、を備えている。
制御部13は、ホストコンピューター11を中枢的に制御するものであり、各種プログラムを実行するCPU、CPUにより実行される基本制御プログラム等を記憶するROM、CPUが実行するプログラムや処理対象のデータ等を一時的に記憶するワークエリアを形成するRAM、その他周辺回路等を備えている。制御部13は、アプリケーション実行部20と、プリンタードライバー実行部21とを備えているがこれらについては後述する。入力部14は、オペレーターに操作される売上登録キー等の各種キーを備えたキーボードや、バーコードスキャナー、カードリーダー等の各種デバイスに接続され、これらデバイスに対する操作を検出し、制御部13に出力する。表示部15は、液晶ディスプレイ等の表示パネルを備え、制御部13の制御の下、各種情報を表示パネルに表示する。インターフェイス部16は、制御部13の制御の下、プリンター12との間で通信規格に準拠した通信を行う。記憶部17は、EEPROM等の不揮発性メモリーを備え、各種データを書き換え可能に記憶する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of a
As shown in FIG. 1, the
The
As shown in FIG. 1, the
The
また、プリンター12は、ホストコンピューター11の制御に従って、ロール状に巻かれた感熱ロール紙(記録媒体)を、搬送機構(不図示)により搬送しつつ、この感熱ロール紙の記録面にラインサーマルヘッド(不図示)によって熱を与えることにより文字や画像を記録し、切断機構(不図示)により所定の位置で感熱ロール紙を切断することによってレシートを発行するラインサーマルプリンターである。
図1に示すように、プリンター12は、プリンター側制御部30と、インターフェイス(I/F)部31と、プリントエンジン32と、プリンター側記憶部33と、を備えている。
プリンター側制御部30は、プリンター12の各部を中枢的に制御するものであり、CPUや、ROM、RAMその他の周辺回路を備えている。インターフェイス部31は、プリンター側制御部30の制御の下、ホストコンピューター11との間で、通信規格に準拠した通信を行う。プリントエンジン32は、プリンター側制御部30の制御の下、用紙端センサーや用紙残量センサー等の各種センサーの検出値を監視しながら、上述したラインサーマルヘッドのほか、感熱ロール紙を搬送するプラテンローラーを駆動するための搬送モーターや、上述した切断機構が備えるカッターを駆動するためのカッター駆動モーターを動作させて、感熱ロール紙に画像を記録し、画像を記録した感熱ロール紙を切断することによりレシートを発行する。プリンター側記憶部33は、EEPROM等の不揮発性メモリーを備え、各種データを書き換え可能に記憶する。プリンター側記憶部33には、ファームウェアがロード可能に記憶されており、プリンター側制御部30は、ファームウェアの機能により、プリンター12の各部を制御する。
In addition, the
As shown in FIG. 1, the
The printer-
次いで、アプリケーション実行部20、及び、プリンタードライバー実行部21の説明を通して、1つのレシートを発行する際の記録システム1の基本的な動作について説明する。
アプリケーション実行部20は、ホストコンピューター11に予めインストールされたPOSアプリケーション(所定のアプリケーション)を実行することにより、取引毎に、例えば所定のサーバーにアクセスする等して、取引において購入された商品を示す情報や、商品の単価を示す情報、購入金額を示す情報等のレシートに記載すべき情報を取得し、取得した情報に基づいてレシートに記録すべき画像に関する画像情報(記録装置に記録させる画像に関する画像情報)を生成し、プリンタードライバー実行部21に出力する。
プリンタードライバー実行部21は、ホストコンピューター11に予めインストールされたプリンタードライバーを実行することにより、アプリケーション実行部20から入力された画像情報に基づいて、プリンター12のコマンド仕様に対応した制御コマンド(制御データ)を生成し、プリンター12に出力する。この制御コマンドには、搬送機構に感熱ロール紙を搬送させるコマンドや、ラインサーマルヘッドを駆動させて画像を記録させるコマンド、また、感熱ロール紙に記録すべき画像の画像データ、切断機構に感熱ロール紙を切断させるコマンド等が含まれている。
制御コマンドが入力されたプリンター側制御部30は、ファームウェアの機能により、制御コマンドに従って、プリントエンジン32を制御して、レシートの発行に係る各種動作を実行する。
Next, basic operations of the
The application execution unit 20 executes a POS application (predetermined application) installed in advance on the
The printer
The printer-
次に、アプリケーション実行部20と、プリンタードライバー実行部21との関係をより詳細に説明すると共に、これら機能ブロックによって制御コマンドが生成される際の動作についてより詳細に説明する。
図2は、アプリケーション実行部20、及び、プリンタードライバー実行部21との関係を、関連する要素と共に、模式的に示す図である。
図2では、説明の便宜のため、プログラムを実行することによって機能を発揮する機能ブロック、プログラムを実行することによって発揮される機能、及び、プログラムを、同じレベルのブロックによって表現している。
図2において、OS39は、例えば、Windows(登録商標)が提供するOSである。このOS39は、POSアプリケーション、及び、プリンタードライバーが利用可能なAPI(Application Programming Interface)としてのGDI(Graphical Device Interface)40(描画処理用のインターフェイス)、及び、スプーラー41を提供する。本実施形態では、GDI40は、描画処理用のインターフェイスである。
プリンター12に画像を記録させる場合、アプリケーション実行部20は、上述した画像情報を生成し、GDI40を呼び出し、GDI40を介して、画像情報をプリンタードライバー実行部21に出力する。
GDI40は、アプリケーション実行部20から入力された画像情報について、記録に関する所定の描画処理(例えば、直線や曲線の描画の調整に係る描画処理や、改行位置や文字間隔の調整に係る描画処理)を施し、DDI(Device Driver Interface)関数に置き換えてプリンタードライバー実行部21に出力する。記録に関する所定の描画処理は、例えば、直線や曲線の描画の調整に係る描画処理や、改行位置や文字間隔の調整に係る描画処理である。
プリンタードライバー実行部21は、制御データ生成機能43を有しており、当該機能により、GDI40から入力されたDDI関数としての画像情報に基づいて、プリンター12のコマンド仕様に対応した制御コマンドを生成し、スプーラー41に出力する。
スプーラー41は、プリンタードライバー実行部21から入力された制御コマンドを、所定の記憶領域に一時記憶し、プリンター12の状態に応じて、制御コマンドを送信する。
Next, the relationship between the application execution unit 20 and the printer
FIG. 2 is a diagram schematically illustrating a relationship between the application execution unit 20 and the printer
In FIG. 2, for convenience of explanation, a function block that exhibits a function by executing a program, a function that is exhibited by executing a program, and a program are represented by blocks of the same level.
In FIG. 2, an OS 39 is an OS provided by Windows (registered trademark), for example. The OS 39 provides a POS application, a GDI (Graphic Device Interface) 40 (drawing processing interface), and a
When recording an image on the
The GDI 40 performs predetermined drawing processing related to recording (for example, drawing processing related to adjustment of drawing of straight lines and curves, and drawing processing related to adjustment of line feed position and character spacing) for image information input from the application execution unit 20. The data is replaced with a DDI (Device Driver Interface) function and output to the printer
The printer
The
ところで、レシートには、バーコードが記録される場合がある。バーコードは、後に光学的に読み取られ、所定の処理に使用されるものであるため、レシートに、記録すべきバーコードと異なるバーコード(誤ったバーコード)が記録されることは避けなければならない。一方で、本実施形態では、アプリケーション実行部20は、プリンタードライバー実行部21に対して、GDI40を介して画像情報を出力するが、上述したとおり、GDI40は、入力された画像情報に対して、改行位置の調整に係る描画処理等の所定の描画処理を施す機能を有しているため、バーコードに係る画像情報に対して、何らかの描画処理が行われる可能性がある。例えば、バーコードに係る画像情報には、文字列としてのバーコードの識別コードが含まれているが、この識別コードの中途で改行処理が行われ、識別コードが変更される可能性がある。そして、バーコードに係る画像情報に対して描画処理が行われた場合、記録すべきバーコードと異なるバーコードがレシートに記録されてしまう可能性がある。ここで、従来は、GDI40により、バーコードに係る画像情報に何らかの描画処理が施された場合、プリンタードライバーの機能により、記録されるバーコードが正しいものとなるよう、バーコードに係る画像情報が再構築されていたが、この場合、当該再構築に係る機能をプリンタードライバーに実装させる必要があり、プリンタードライバーの複雑化を招く可能性があった。
以上を踏まえ、本実施形態に係るホストコンピューター11は、以下の動作を実行する。
By the way, a barcode may be recorded on the receipt. Since the bar code is optically read later and used for predetermined processing, it is necessary to avoid recording a bar code (wrong bar code) different from the bar code to be recorded on the receipt. Don't be. On the other hand, in the present embodiment, the application execution unit 20 outputs image information to the printer
Based on the above, the
図3は、プリンター12に画像を記録されるときのホストコンピューター11の動作を示すフローチャートである。
まず、アプリケーション実行部20は、プリンター12に記録させる画像の画像情報を生成する(ステップSA1)。
次いで、アプリケーション実行部20は、生成した画像情報に、バーコードに係る画像情報(以下、「バーコード画像情報」という。)が含まれているか否かを判別する(ステップSA2)。画像情報にバーコード画像情報が含まれているということは、プリンター12によって記録させようとしている画像にバーコードが含まれているということである。本実施形態では、画像情報において、バーコード画像情報は、バーコードフォントのバーコードの識別コードを表す文字列(例えば、「123456」)として表されている。ステップSA2では、アプリケーション実行部20は、画像情報に、バーコードフォントによって表された文字列が含まれているか否かを判別することにより、画像情報にバーコード画像情報が含まれているか否かを判別する。
画像情報にバーコード画像情報が含まれていない場合(ステップSA2:NO)、アプリケーション実行部20は、処理手順をステップSA4へ移行する。
画像情報にバーコード画像情報が含まれている場合(ステップSA2:YES)、アプリケーション実行部20は、バーコード画像情報が示すバーコードの識別コード(文字列)を、記憶部17に予め記憶された所定のファイル17a(所定の記憶領域。図2も併せて参照。)に記述(記憶)する(ステップSA3)。
ステップSA4において、アプリケーション実行部20は、生成した画像情報をGDI40を介してプリンタードライバー実行部21に出力する。
FIG. 3 is a flowchart showing the operation of the
First, the application execution unit 20 generates image information of an image to be recorded by the printer 12 (Step SA1).
Next, the application execution unit 20 determines whether the generated image information includes image information related to a barcode (hereinafter referred to as “barcode image information”) (step SA2). The fact that barcode image information is included in the image information means that the image to be recorded by the
When the barcode information is not included in the image information (step SA2: NO), the application execution unit 20 moves the processing procedure to step SA4.
When the barcode information is included in the image information (step SA2: YES), the application execution unit 20 stores the barcode identification code (character string) indicated by the barcode image information in the
In step SA4, the application execution unit 20 outputs the generated image information to the printer
プリンタードライバー実行部21は、画像情報が入力されると、この画像情報に、バーコード画像情報が含まれているか否かを判別する(ステップSA5)。含まれていない場合(ステップSA5:NO)、プリンタードライバー実行部21は、通常の処理により制御コマンドを生成し(ステップSA6)、生成した制御コマンドをスプーラー41を介してプリンター12に送信する(ステップSA7)。
一方、画像情報に、バーコード画像情報が含まれている場合(ステップSA5:YES)、プリンタードライバー実行部21は、記憶部17の所定のファイル17aにアクセスし、当該ファイル17aに記述されたバーコードの識別コードを取得する(ステップSA8)。
次いで、プリンタードライバー実行部21は、制御コマンドを生成し(ステップSA9)、出力するが(ステップSA7)、バーコードの記録を指示する制御コマンド(バーコードに係る制御データ)については、以下のようにして制御コマンドを生成する。
すなわち、プリンタードライバー実行部21は、アプリケーション実行部20から入力された画像情報に含まれるバーコード画像情報が示すバーコードの識別コードではなく、ステップSA8において所定のファイル17aにアクセスして取得したバーコードの識別コードに基づいて、当該識別コードを表すバーコードの記録を指示する制御コマンドを生成する。このような動作が行われることにより、以下の効果を奏する。すなわち、画像情報に含まれるバーコード画像情報は、GDI40の機能により何らかの描画処理が施され、当該情報が示すバーコードの識別情報に何らかの改変が加わっている可能性がある。一方で、ステップSA3において記憶部17の所定のファイル17aに記述されたバーコードの識別情報は、GDI40による描画処理が施されておらず、従って、バーコードの識別情報に何らかの改変が加わっていることはない。そして、ステップSA8において、ファイル17aに記述されたバーコードの識別コードに基づいて、バーコードの記録を指示する制御コマンドが生成されることにより、GDI40に起因して記録すべきバーコードと異なるバーコードが記録されることが防止される。
When the image information is input, the printer
On the other hand, when the bar code image information is included in the image information (step SA5: YES), the printer
Next, the printer
In other words, the printer
以上説明したように、本実施形態に係るホストコンピューター11では、バーコードを含む画像をプリンター12に記録させる場合、アプリケーション実行部20は、バーコードの識別コード(バーコードに係る画像情報)については、GDI40を介すことなく出力し、プリンタードライバー実行部21は、アプリケーション実行部20によりGDI40を介すことなく出力されたバーコードの識別コードに基づいて、バーコードの記録を指示する制御コマンド(バーコードに係る制御データ)を生成する。
この構成によれば、アプリケーション実行部20からプリンタードライバー実行部21へのバーコードに係る画像情報の出力に際し、インターフェイスの機能により、バーコードに係る画像情報に何らかの改変が加わることがなく、バーコードに係る画像情報の改変に起因して誤ったバーコードが記録されることを防止できる。
As described above, in the
According to this configuration, when the image information related to the barcode is output from the application execution unit 20 to the printer
また、本実施形態では、バーコードを含む画像をプリンター12に記録させる場合、アプリケーション実行部20は、バーコードの識別コードを記憶部17の所定のファイル17a(所定の記憶領域)に記述(記憶)し、プリンタードライバー実行部21は、所定のファイル17aに記述されたバーコードの識別コードに基づいて、バーコードの記録を指示する制御コマンド(バーコードに係る制御データ)を生成する。
この構成によれば、GDI40に何ら機能を追加することなく、アプリケーション実行部20からプリンタードライバー実行部21に対して、GDI40を介すことなくバーコードに係る画像情報を出力可能である。
In the present embodiment, when the
According to this configuration, the image information related to the barcode can be output from the application execution unit 20 to the printer
なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。
例えば、プリンター12はラインサーマルプリンターであったが記録方式はこれに限らずインクジェット式、ドットインパクト式など何であってもよい。また例えば、図1に示す各機能ブロックはハードウェアとソフトウェアの協働により任意に実現可能であり、特定のハードウェア構成を示唆するものではない。また、プリンター12の各機能ブロックの機能を、プリンター12に外部接続される別の装置に持たせるようにしてもよい。また、プリンター12は、外部接続される記憶媒体に記憶させたプログラムを実行することにより、図3のフローチャートに係る動作を含む各種動作を実行するようにしてもよい。
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, the
1…記録システム、11…ホストコンピューター(制御装置)、12…プリンター(記録装置)、13…制御部、17a…ファイル(所定の記憶領域)、20…アプリケーション実行部、21…プリンタードライバー実行部、40…GDI(描画処理用のインターフェイス)。
DESCRIPTION OF
Claims (4)
前記記録装置に記録させる画像に関する画像情報を生成し、前記画像情報を出力するアプリケーション実行部と、
前記アプリケーション実行部から出力された前記画像情報に基づいて、前記記録装置を制御する制御データを生成するプリンタードライバー実行部と、を備え、
バーコードを含む画像を前記記録装置に記録させる場合、
前記アプリケーション実行部は、バーコードに係る前記画像情報については、描画処理用のインターフェイスを介すことなく出力し、
前記プリンタードライバー実行部は、前記アプリケーション実行部により前記描画処理用のインターフェイスを介すことなく出力されたバーコードに係る前記画像情報に基づいて、バーコードに係る前記制御データを生成する、
ことを特徴とする制御装置。 A control device connectable to the recording device,
An application execution unit that generates image information related to an image to be recorded in the recording device and outputs the image information;
A printer driver execution unit that generates control data for controlling the recording device based on the image information output from the application execution unit, and
When recording an image including a barcode on the recording device,
The application execution unit outputs the image information related to the barcode without using a drawing processing interface,
The printer driver execution unit generates the control data related to the barcode based on the image information related to the barcode output without the drawing processing interface by the application execution unit;
A control device characterized by that.
前記アプリケーション実行部は、バーコードに係る前記画像情報を所定の記憶領域に記憶し、
前記プリンタードライバー実行部は、前記所定の記憶領域に記憶されたバーコードに係る前記画像情報に基づいて、バーコードに係る前記制御データを生成する、
ことを特徴とする請求項1に記載の制御装置。 When recording an image including a barcode on the recording device,
The application execution unit stores the image information related to the barcode in a predetermined storage area,
The printer driver execution unit generates the control data relating to the barcode based on the image information relating to the barcode stored in the predetermined storage area;
The control device according to claim 1.
バーコードを含む画像を前記記録装置に記録させる場合、
前記アプリケーション実行部により、バーコードに係る前記画像情報については、描画処理用のインターフェイスを介すことなく出力し、
前記プリンタードライバー実行部により、前記アプリケーション実行部により前記描画処理用のインターフェイスを介すことなく出力されたバーコードに係る前記画像情報に基づいて、バーコードに係る前記制御データを生成する、
ことを特徴とする制御装置の制御方法。 An application execution unit configured to be connectable to a recording device, generating and outputting image information related to an image to be recorded by the recording device, and controlling the recording device based on the image information output from the application execution unit A control method of a control device comprising: a printer driver execution unit that generates control data to be
When recording an image including a barcode on the recording device,
The application execution unit outputs the image information related to the barcode without going through an interface for drawing processing,
The printer driver execution unit generates the control data related to the barcode based on the image information related to the barcode output by the application execution unit without going through the interface for the drawing process.
The control method of the control apparatus characterized by the above-mentioned.
前記制御部を、
前記記録装置に記録させる画像に関する画像情報を生成し、出力するアプリケーション実行部と、
前記アプリケーション実行部から出力された前記画像情報に基づいて、前記記録装置を制御する制御データを生成するプリンタードライバー実行部と、として機能させると共に、
バーコードを含む画像を前記記録装置に記録させる場合、
前記アプリケーション実行部に、バーコードに係る前記画像情報については、描画処理用のインターフェイスを介すことなく出力させ、
前記プリンタードライバー実行部に、前記アプリケーション実行部により前記描画処理用のインターフェイスを介すことなく出力させたバーコードに係る前記画像情報に基づいて、バーコードに係る前記制御データを生成させる、
ことを特徴とするプログラム。 A program executed by a control unit that controls a control device connectable to the recording device,
The control unit
An application execution unit that generates and outputs image information related to an image to be recorded in the recording device;
Based on the image information output from the application execution unit, function as a printer driver execution unit that generates control data for controlling the recording apparatus,
When recording an image including a barcode on the recording device,
The application execution unit causes the image information related to the barcode to be output without using a drawing processing interface,
Causing the printer driver execution unit to generate the control data relating to the barcode based on the image information relating to the barcode output by the application execution unit without passing through the interface for the drawing process.
A program characterized by that.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012134561A JP2013257805A (en) | 2012-06-14 | 2012-06-14 | Control device, control method of control device, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012134561A JP2013257805A (en) | 2012-06-14 | 2012-06-14 | Control device, control method of control device, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2013257805A true JP2013257805A (en) | 2013-12-26 |
Family
ID=49954170
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012134561A Pending JP2013257805A (en) | 2012-06-14 | 2012-06-14 | Control device, control method of control device, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2013257805A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10657427B2 (en) | 2018-02-26 | 2020-05-19 | Canon Kabushiki Kaisha | Information processing apparatus, information processing method and storage medium |
-
2012
- 2012-06-14 JP JP2012134561A patent/JP2013257805A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10657427B2 (en) | 2018-02-26 | 2020-05-19 | Canon Kabushiki Kaisha | Information processing apparatus, information processing method and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5380949B2 (en) | Receipt issuing apparatus, receipt issuing system, printing apparatus, and printing apparatus control method | |
JP2012232431A (en) | Recording device, method of controlling the same, and program | |
JP5728946B2 (en) | CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM | |
US10046577B2 (en) | Printing device, printing system, and control method of a printing device | |
JP5842335B2 (en) | Image recording apparatus, image recording apparatus control method, and program | |
JP5556248B2 (en) | CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM | |
JP2012113608A (en) | Control device, recording system, control method of control device, and program | |
JP2013257805A (en) | Control device, control method of control device, and program | |
JP5862045B2 (en) | RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM | |
JP2012123704A (en) | Control apparatus, control method of control apparatus, and program | |
JP5754307B2 (en) | CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM | |
JP2013061835A (en) | Recording control device, control method for recording device, and program | |
US8724148B2 (en) | Recording device that can connect to a control device, control method for a recording device that can connect to a control device, and storage medium that stores a program for controlling parts of a recording device that can connect to a control device | |
JP6003265B2 (en) | CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM | |
JP5760705B2 (en) | RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM | |
JP5861377B2 (en) | RECORDING DEVICE, RECORDING SYSTEM, AND RECORDING DEVICE CONTROL METHOD | |
JP2011192107A (en) | Control device, recording system, control method of the control device and program | |
JP6127638B2 (en) | Printing apparatus, printing apparatus control method, and program | |
JP2014054846A (en) | Control device, control method for control device, and program | |
JP5857656B2 (en) | CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM | |
US20170364314A1 (en) | Print data processing device, print data processing method, program, and printing system | |
JP6032334B2 (en) | Control device and recording system | |
JP5987415B2 (en) | RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM | |
JP5924126B2 (en) | Medium processing apparatus and POS system | |
JP5838742B2 (en) | CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20150108 |