JP5949006B2 - CONTROL DEVICE, CONTROL SYSTEM, CONTROL DEVICE CONTROL METHOD, AND PROGRAM - Google Patents
CONTROL DEVICE, CONTROL SYSTEM, CONTROL DEVICE CONTROL METHOD, AND PROGRAM Download PDFInfo
- Publication number
- JP5949006B2 JP5949006B2 JP2012060181A JP2012060181A JP5949006B2 JP 5949006 B2 JP5949006 B2 JP 5949006B2 JP 2012060181 A JP2012060181 A JP 2012060181A JP 2012060181 A JP2012060181 A JP 2012060181A JP 5949006 B2 JP5949006 B2 JP 5949006B2
- Authority
- JP
- Japan
- Prior art keywords
- image data
- recording
- compression
- control
- compressed
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 144
- PWPJGUXAGUPAHP-UHFFFAOYSA-N lufenuron Chemical compound C1=C(Cl)C(OC(F)(F)C(C(F)(F)F)F)=CC(Cl)=C1NC(=O)NC(=O)C1=C(F)C=CC=C1F PWPJGUXAGUPAHP-UHFFFAOYSA-N 0.000 title 1
- 238000007906 compression Methods 0.000 claims description 117
- 230000006835 compression Effects 0.000 claims description 117
- 238000004891 communication Methods 0.000 claims description 56
- 230000006870 function Effects 0.000 claims description 25
- 230000006837 decompression Effects 0.000 claims description 7
- 238000013144 data compression Methods 0.000 description 19
- 230000007246 mechanism Effects 0.000 description 7
- 238000012217 deletion Methods 0.000 description 6
- 230000037430 deletion Effects 0.000 description 6
- 230000004044 response Effects 0.000 description 5
- 230000007723 transport mechanism Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000004904 shortening Methods 0.000 description 2
- 238000010257 thawing Methods 0.000 description 2
- 125000002066 L-histidyl group Chemical group [H]N1C([H])=NC(C([H])([H])[C@](C(=O)[*])([H])N([H])[H])=C1[H] 0.000 description 1
- 238000005034 decoration Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000000053 physical method Methods 0.000 description 1
- 230000032258 transport Effects 0.000 description 1
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Description
本発明は、記録装置に接続可能な制御装置、当該制御装置及び当該記録装置を備える制御システム、当該制御装置の制御方法、及び、当該制御装置を制御するためのプログラムに関する。 The present invention relates to a control device connectable to a recording apparatus, the control apparatus and a control system including the recording apparatus, a control method for the control apparatus, and a program for controlling the control apparatus.
従来、制御装置(ホスト装置)と、記録装置(プリンター)とが通信ケーブルによって接続され、制御装置と、記録装置とが通信ケーブルを介して通信し、協働して記録媒体に記録するシステムが知られている(例えば、特許文献1参照)。 2. Description of the Related Art Conventionally, there is a system in which a control device (host device) and a recording device (printer) are connected via a communication cable, and the control device and the recording device communicate via a communication cable and cooperate to record on a recording medium. It is known (see, for example, Patent Document 1).
ここで、上述したシステムのように、制御装置と記録装置とが通信し協働して記録媒体への記録を行うものでは、制御装置が記録装置に記録媒体への記録を指示してから、当該記録が完了するまでに要する時間をできるだけ短くしたいとするニーズがある。
本発明は、上述した事情に鑑みてなされたものであり、制御装置と記録装置とが通信し協働して記録媒体への記録を行う特性を踏まえて、記録を指示してから完了するまでに要する時間を短縮することを目的とする。
Here, as in the above-described system, in the case where the control device and the recording device communicate and cooperate to perform recording on the recording medium, after the control device instructs the recording device to record on the recording medium, There is a need to make the time required for completing the recording as short as possible.
The present invention has been made in view of the above-described circumstances, and from the point that recording is instructed to the completion based on the characteristic that the control device and the recording device communicate and cooperate to perform recording on a recording medium. The purpose is to shorten the time required for.
上記目的を達成するために、本発明は、記録装置が解凍可能な圧縮方法を前記記録装置に問い合わせ、当該解凍可能な圧縮方法によって画像データをデータ圧縮して圧縮画像データを生成し、前記記録装置に、当該圧縮画像データを解凍させて画像データを生成させ、当該画像データに基づいて記録媒体に画像を記録させる制御コマンドを生成し、前記記録装置に送信する記録制御部を備えることを特徴とする。
ここで、上記構成では、記録媒体への画像の記録に際し、制御装置から記録装置に制御コマンドが送信されるが、この制御コマンドのサイズを小さくすることができれば、通信に要する時間を短縮化でき、記録に要する時間の短縮化を実現できる。そして、画像の記録を指示する制御コマンドにおいて、制御コマンドに含まれる画像データは、比較的サイズの大きなデータである。
以上を踏まえ、上記構成によれば、制御装置の記録制御部は、複数の圧縮方法によって、画像データをデータ圧縮可能であり、制御コマンドを送信する前に、記録装置が対応している圧縮方法を問い合わせる。ここで、記録装置側では、ファームウェア等の制御プログラムのバージョンの状態や、機能追加、削除の状況によって、解凍可能な圧縮方法が異なっている場合があるが、記録制御部は、記録装置が対応している圧縮方法を、事前に問い合わせをすることにより、記録装置が対応している圧縮方法によって画像データを圧縮可能である。また、記録制御部は、異なる複数の圧縮方法でデータ圧縮が可能であるため、記録装置が対応している圧縮方法によってデータ圧縮ができることの可能性を高めることができる。さらに、上記構成によれば、記録制御部は、制御コマンドに含まれるデータのうち、サイズの大きい画像データを、記録装置が確実に対応している圧縮方法で圧縮する。このため、効果的に制御コマンドのサイズを小さくすることができ、効果的に通信に要する時間の短縮化及びこれに伴う記録に要する時間の短縮化を実現できる。
To achieve the above object, the present invention queries the recorder compression method to be unpacked in the recording apparatus, the images data and the data to generate the compressed image data based on the relevant thawing possible compression method before recording system, thawed the compressed image data to generate image data, generates a control command to record the images on record medium on the basis of those said image data, and transmits to the recording device records A control unit is provided.
Here, in the above configuration, when the image is recorded on the recording medium, the control command is transmitted from the control device to the recording device. If the size of the control command can be reduced, the time required for communication can be shortened. The time required for recording can be shortened. In the control command for instructing image recording, the image data included in the control command is relatively large data.
Based on the above, according to the above configuration, the recording control unit of the control device can compress the image data by a plurality of compression methods, and the compression method supported by the recording device before transmitting the control command. Inquire. Here, on the recording device side, the compression method that can be decompressed may differ depending on the status of the version of the control program such as firmware, and the function addition / deletion status. By inquiring about the compression method in advance, the image data can be compressed by a compression method supported by the recording apparatus. In addition, since the recording control unit can perform data compression using a plurality of different compression methods, it is possible to increase the possibility that the data can be compressed by a compression method supported by the recording apparatus. Further, according to the above configuration, the recording control unit compresses the image data having a large size among the data included in the control command by a compression method that the recording apparatus can reliably handle. For this reason, the size of the control command can be effectively reduced, and the time required for communication can be effectively reduced and the time required for recording can be reduced accordingly.
また、本発明は、前記記録制御部は、前記記録装置が解凍可能な圧縮方法が複数ある場合は、それぞれの圧縮方法で、画像データを圧縮して圧縮画像データを生成し、それぞれの圧縮画像データのサイズを比較して最もサイズの小さな圧縮画像データを特定し、特定した圧縮画像データを含む前記制御コマンドを生成して前記記録装置に送信することを特徴とする。
ここで、異なる複数の圧縮方法で画像データを圧縮した場合に、どの圧縮方法でデータ圧縮したときが最も画像データのサイズが小さくなるかは、画像データの態様によって異なる。そして、上記構成によれば、記録制御部は、記録装置が対応している圧縮方法が複数ある場合は、各圧縮方法で実際に画像データを圧縮して圧縮画像データを生成し、最もサイズが小さな圧縮画像データを制御コマンドに含める。これにより、制御コマンドのサイズを可能な限り小さくすることができ、より効果的に通信に要する時間の短縮化及びこれに伴う記録に要する時間の短縮化を実現できる。
Further, the present invention, the recording control unit, when the pre-recording system is more capable compression method decompression, for each compression method to generate compressed image data by compressing the images data, respectively The compressed image data having the smallest size is identified by comparing the sizes of the compressed image data, and the control command including the identified compressed image data is generated and transmitted to the recording apparatus.
Here, when image data is compressed by a plurality of different compression methods, the compression method used to reduce the size of the image data is different depending on the mode of the image data. According to the above configuration, when there are a plurality of compression methods supported by the recording device, the recording control unit actually compresses the image data by each compression method to generate compressed image data, and the size is the largest. Include small compressed image data in the control command. Thereby, the size of the control command can be reduced as much as possible, and the time required for communication can be shortened more effectively and the time required for recording can be shortened accordingly.
また、本発明は、前記記録制御部は、前記記録装置との間で行われる通信の方式に応じて、前記制御コマンドに含める画像データの圧縮を行うか否かを変更することを特徴とする。
ここで、通信の方式とは、シリアル通信かパラレル通信かといったビットを送るときの方式や、有線か無線かといった送受信の物理的な方式、イーサネット(登録商標)かUSBかといったより具体的なプロトコルに係る方式等、通信速度に影響を与えるような通信の方式を全て含む概念である。周知のとおり、通信の方式によって、通信速度は異なる。
そして、上記構成によれば、記録制御部は、記録装置との間で行われる通信の方式に応じて、前記制御コマンドに含める画像データの圧縮を行うか否かを変更するため、通信速度が十分に速く、画像データのデータ圧縮を行うよりも、当該圧縮を行わない方が、記録に要する時間を短縮できるといった場合に、当該圧縮を行わないようにすることが可能となる。
Further, the present invention is characterized in that the recording control unit changes whether or not to compress the image data included in the control command according to a communication method performed with the recording apparatus. .
Here, the communication method is a method for sending bits such as serial communication or parallel communication, a physical method for transmission / reception such as wired or wireless, and a more specific protocol such as Ethernet (registered trademark) or USB. This is a concept including all communication methods that affect the communication speed, such as the method according to the above. As is well known, the communication speed varies depending on the communication method.
According to the above configuration, the recording control unit changes whether or not to compress the image data included in the control command according to a communication method performed with the recording apparatus. It is possible to prevent the compression of the image data when the time required for recording can be shortened without performing the compression rather than the data compression of the image data sufficiently fast.
また、本発明は、所定のアプリケーションの機能により、画像の情報を出力するアプリケーション実行部と、プリンタードライバーの機能により、前記アプリケーション実行部が出力した画像の情報に基づいて、前記制御コマンドを生成して、前記記録装置に送信するプリンタードライバー実行部と、を備え、前記記録制御部の機能は、前記プリンタードライバーに実装されることを特徴とする。
ここで、制御装置上のアプリケーションは、様々な種類のものが存在し、かつ、ユーザーが自身のニーズに応じて細かい設定をしている場合も多いため、できれば、アプリケーションに対するプログラム的な改変、設定の改変等は行いたくないとするニーズがある。そして、上記構成によれば、記録制御部の機能は、プリンタードライバーに実装されているため、アプリケーション実行部からプリンタードライバー実行部へと出力される画像の情報は、記録制御部の各機能を実装する前後で同一であり、アプリケーションに対する改変が必要ない。
The present invention, by the function of Jo Tokoro application, the application execution unit for outputting information of the images, the functions of the printer driver, based on the information of the images to the application execution unit has output the control generates a command, and a printer driver execution unit to be transmitted to the recording apparatus, the recording control unit functions, characterized in that it is mounted on the printer driver.
Here, there are various types of applications on the control device, and there are many cases where the user makes fine settings according to their own needs. There is a need not to make any modifications. According to the above configuration, since the function of the recording control unit is implemented in the printer driver, the image information output from the application execution unit to the printer driver execution unit implements each function of the recording control unit. It is the same before and after, and no modification to the application is required.
また、上記目的を達成するために、本発明は、記録媒体に画像を記録する記録装置と、前記記録装置に接続可能な制御装置とを備える制御システムであって、前記制御装置は、前記記録装置が解凍可能な圧縮方法を前記記録装置に問い合わせ、当該解凍可能な圧縮方法によって画像データをデータ圧縮して圧縮画像データを生成し、前記記録装置に、当該圧縮画像データを解凍させて画像データを生成させ、当該画像データに基づいて記録媒体に画像を記録させる制御コマンドを生成し、前記記録装置に送信する記録制御部を備え、前記記録装置は、前記問い合わせに応じて前記解凍可能な圧縮方法を応答し、受信した前記制御コマンドに含まれる圧縮画像データを解凍して画像データを生成し、当該画像データに基づいて前記記録媒体に画像を印刷させるプリンター側制御部を備えることを特徴とする。
この構成によれば、制御装置の記録制御部は、複数の圧縮方法によって、画像データをデータ圧縮可能であり、制御コマンドを送信する前に、記録装置が対応している圧縮方法を問い合わせる。ここで、記録装置側では、ファームウェア等の制御プログラムのバージョンの状態や、機能追加、削除の状況によって、解凍可能な圧縮方法が異なっている場合があるが、記録制御部は、記録装置が対応している圧縮方法を、事前に問い合わせをすることにより、記録装置が対応している圧縮方法によって画像データを圧縮可能である。また、記録制御部は、異なる複数の圧縮方法でデータ圧縮が可能であるため、記録装置が対応している圧縮方法によってデータ圧縮ができることの可能性を高めることができる。さらに、上記構成によれば、記録制御部は、制御コマンドに含まれるデータのうち、サイズの大きい画像データを、記録装置が確実に対応している圧縮方法で圧縮する。このため、効果的に制御コマンドのサイズを小さくすることができ、効果的に通信に要する時間の短縮化及びこれに伴う記録に要する時間の短縮化を実現できる。
In order to achieve the above object, the present invention provides a control system comprising a recording device that records an image on a recording medium, and a control device connectable to the recording device, wherein the control device includes the recording device. query device is thawed possible compression method to the recording device, to generate a compressed image data to image picture data to data compression by the said decompression possible compression method, before recording system, decompress the compressed image data by to generate image data, generates a control command to record the images on record medium on the basis of those said image data, a recording control unit to be transmitted to the recording apparatus, the recording apparatus, the query In response to the compression method that can be decompressed, the compressed image data included in the received control command is decompressed to generate image data, and an image is recorded on the recording medium based on the image data. Characterized in that it comprises a printer-side controller to print the.
According to this configuration, the recording control unit of the control apparatus can compress the image data by a plurality of compression methods, and inquires about the compression method supported by the recording apparatus before transmitting the control command. Here, on the recording device side, the compression method that can be decompressed may differ depending on the status of the version of the control program such as firmware, and the function addition / deletion status. By inquiring about the compression method in advance, the image data can be compressed by a compression method supported by the recording apparatus. In addition, since the recording control unit can perform data compression using a plurality of different compression methods, it is possible to increase the possibility that the data can be compressed by a compression method supported by the recording apparatus. Further, according to the above configuration, the recording control unit compresses the image data having a large size among the data included in the control command by a compression method that the recording apparatus can reliably handle. For this reason, the size of the control command can be effectively reduced, and the time required for communication can be effectively reduced and the time required for recording can be reduced accordingly.
また、上記目的を達成するために、本発明は、制御装置の制御方法であって、記録装置が解凍可能な圧縮方法を前記記録装置に問い合わせ、当該解凍可能な圧縮方法によって画像データをデータ圧縮して圧縮画像データを生成し、前記記録装置に、当該圧縮画像データを解凍させて画像データを生成させ、当該画像データに基づいて記録媒体に画像を記録させる制御コマンドを生成し、前記記録装置に送信することを特徴とする。
この制御方法によれば、制御装置の記録制御部は、複数の圧縮方法によって、画像データをデータ圧縮可能であり、制御コマンドを送信する前に、記録装置が対応している圧縮方法を問い合わせる。ここで、記録装置側では、ファームウェア等の制御プログラムのバージョンの状態や、機能追加、削除の状況によって、解凍可能な圧縮方法が異なっている場合があるが、記録制御部は、記録装置が対応している圧縮方法を、事前に問い合わせをすることにより、記録装置が対応している圧縮方法によって画像データを圧縮可能である。また、記録制御部は、異なる複数の圧縮方法でデータ圧縮が可能であるため、記録装置が対応している圧縮方法によってデータ圧縮ができることの可能性を高めることができる。さらに、上記構成によれば、記録制御部は、制御コマンドに含まれるデータのうち、サイズの大きい画像データを、記録装置が確実に対応している圧縮方法で圧縮する。このため、効果的に制御コマンドのサイズを小さくすることができ、効果的に通信に要する時間の短縮化及びこれに伴う記録に要する時間の短縮化を実現できる。
In order to achieve the above object, the present invention provides control method of controlling an control device, query the recording apparatus can decompress a compression method to the recording apparatus, images depending on the thawing possible compression method the data is data to generate the compressed image data, before recording system, thawed the compressed image data to generate image data, control to record images on record medium on the basis of those said image data A command is generated and transmitted to the recording apparatus.
According to this control method, the recording control unit of the control apparatus can compress the image data by a plurality of compression methods, and inquires about the compression method supported by the recording apparatus before transmitting the control command. Here, on the recording device side, the compression method that can be decompressed may differ depending on the status of the version of the control program such as firmware, and the function addition / deletion status. By inquiring about the compression method in advance, the image data can be compressed by a compression method supported by the recording apparatus. In addition, since the recording control unit can perform data compression using a plurality of different compression methods, it is possible to increase the possibility that the data can be compressed by a compression method supported by the recording apparatus. Further, according to the above configuration, the recording control unit compresses the image data having a large size among the data included in the control command by a compression method that the recording apparatus can reliably handle. For this reason, the size of the control command can be effectively reduced, and the time required for communication can be effectively reduced and the time required for recording can be reduced accordingly.
また、上記目的を達成するために、本発明は、記録媒体に記録する記録装置に接続可能な制御装置を制御する制御部により実行されるプログラムであって、前記制御部を、記録装置が解凍可能な圧縮方法を前記記録装置に問い合わせ、当該解凍可能な圧縮方法によって当該画像の画像データをデータ圧縮して圧縮画像データを生成し、前記記録装置に、当該圧縮画像データを解凍させて画像データを生成させ、当該画像データに基づいて記録媒体に画像を記録させる制御コマンドを生成し、前記記録装置に送信する記録制御部として機能させることを特徴とする。
このプログラムを実行すれば、制御装置の記録制御部は、複数の圧縮方法によって、画像データをデータ圧縮可能であり、制御コマンドを送信する前に、記録装置が対応している圧縮方法を問い合わせる。ここで、記録装置側では、ファームウェア等の制御プログラムのバージョンの状態や、機能追加、削除の状況によって、解凍可能な圧縮方法が異なっている場合があるが、記録制御部は、記録装置が対応している圧縮方法を、事前に問い合わせをすることにより、記録装置が対応している圧縮方法によって画像データを圧縮可能である。また、記録制御部は、異なる複数の圧縮方法でデータ圧縮が可能であるため、記録装置が対応している圧縮方法によってデータ圧縮ができることの可能性を高めることができる。さらに、上記構成によれば、記録制御部は、制御コマンドに含まれるデータのうち、サイズの大きい画像データを、記録装置が確実に対応している圧縮方法で圧縮する。このため、効果的に制御コマンドのサイズを小さくすることができ、効果的に通信に要する時間の短縮化及びこれに伴う記録に要する時間の短縮化を実現できる。
In order to achieve the above object, the present invention provides a program executed by a control unit that controls a control device connectable to a recording device that records on a recording medium, wherein the recording device decompresses the control unit. The recording device is inquired about a possible compression method, the compressed image data is generated by compressing the image data of the image by the decompressable compression method, and the compressed image data is decompressed by the recording device. to generate, based on those said image data to generate a control command to record the images on record medium, characterized in that to function as a recording control unit that transmits to the recording device.
If this program is executed, the recording control unit of the control apparatus can compress the image data by a plurality of compression methods, and inquires about the compression method supported by the recording apparatus before transmitting the control command. Here, on the recording device side, the compression method that can be decompressed may differ depending on the status of the version of the control program such as firmware, and the function addition / deletion status. By inquiring about the compression method in advance, the image data can be compressed by a compression method supported by the recording apparatus. In addition, since the recording control unit can perform data compression using a plurality of different compression methods, it is possible to increase the possibility that the data can be compressed by a compression method supported by the recording apparatus. Further, according to the above configuration, the recording control unit compresses the image data having a large size among the data included in the control command by a compression method that the recording apparatus can reliably handle. For this reason, the size of the control command can be effectively reduced, and the time required for communication can be effectively reduced and the time required for recording can be reduced accordingly.
本発明によれば、制御装置と記録装置とが通信し協働して記録媒体への記録を行う特性を踏まえて、記録を開始してから完了するまでに要する時間を短縮する。 According to the present invention, based on the characteristic that the control device and the recording device communicate and cooperate to perform recording on the recording medium, the time required from the start to the completion of the recording is shortened.
以下、図面を参照して本発明の実施形態について説明する。
図1は、制御システム1の機能的構成を示すブロック図である。
制御システム1は、スーパーマーケットやコンビニエンスストア等の店舗に適用され、店舗に来店した顧客の代金の支払いに応じてレシートを発行するシステムであり、図1に示すように、ホストコンピューター10(制御装置)と、プリンター11(記録装置)とを備えている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a functional configuration of the control system 1.
The control system 1 is a system that is applied to a store such as a supermarket or a convenience store, and issues a receipt in response to payment for a customer who has visited the store. As shown in FIG. 1, a host computer 10 (control device) And a printer 11 (recording device).
ホストコンピューター10は、制御部15と、表示部16と、入力部17と、インターフェイス部(I/F)18と、記憶部19と、を備えている。
制御部15は、ホストコンピューター10の各部を中枢的に制御するものであり、CPUや、ROM、RAM、その他の周辺回路等を備えている。図1に示すように、制御部15は、アプリケーション実行部20と、プリンタードライバー実行部21と、を備えているが、これらについては後述する。
表示部16は、液晶表示パネル等の表示パネルを備え、制御部15の制御の下、表示パネルに各種情報を表示する。入力部17は、キーボードや、マウス等の各種入力デバイスに接続され、入力デバイスの出力信号を制御部15に出力する。インターフェイス部18は、制御部15の制御の下、プリンター11との間で通信規格に準拠した通信を行う。記憶部19は、ハードディスクや、EEPROM等の不揮発性メモリーを備え、各種データを書き換え可能に記憶する。
The
The
The
一方、プリンター11は、ロール状に巻かれた感熱ロール紙(記録媒体)を、搬送機構24より搬送し、この感熱ロール紙の記録面に、発熱素子を備えたラインサーマルヘッド25によって熱を与えることにより画像を記録した上で、カッターユニット26により所定の位置で感熱ロール紙を切断することにより、レシートを発行するサーマルヘッド式の記録装置である。
図1に示すように、プリンター11は、プリンター側制御部28と、プリンター側表示部29と、プリンター側入力部30と、メカ機構31と、プリンター側記憶部32と、インターフェイス部(I/F)33と、を備えている。
プリンター側制御部28は、プリンター11を中枢的に制御するものであり、CPUやROM、RAMその他の周辺回路等を備えている。プリンター側表示部29は、プリンター11の動作状態等の各種情報を表示する表示パネルや、LED等を備え、プリンター側制御部28の制御の下、各種情報を表示する。プリンター側入力部30は、プリンター11に設けられた操作スイッチに接続され、操作スイッチに対する操作を検出し、プリンター側制御部28に出力する。
メカ機構31は、少なくとも、搬送機構24、ラインサーマルヘッド25、及び、カッターユニット26を備えている。プリンター側制御部28は、図示せぬ用紙端センサーや用紙残量センサー等の各種センサーの検出値を監視しながら、適宜、搬送機構24により感熱ロール紙を搬送しつつ、ラインサーマルヘッド25を制御して感熱ロール紙に画像を記録し、適宜のタイミングでカッターユニット26が備えるカッターを駆動するためのカッター駆動モーターを動作させて、画像を記録した感熱ロール紙を切断することによりレシートを発行する。搬送機構24は、ラインサーマルヘッド25に対向して設けられたプラテンローラーや、他のローラー、これらローラーを駆動するためのローラー駆動モーター、その他の感熱ロール紙を搬送するための機構、装置を備えている。
インターフェイス部33は、プリンター側制御部28の制御の下、プリンター11との間で通信規格に準拠した通信を行う。プリンター側記憶部32は、EEPROM等の不揮発性メモリーを備え、各種データを書き換え可能に記憶する。
On the other hand, the printer 11 transports the thermal roll paper (recording medium) wound in a roll shape from the
As shown in FIG. 1, the printer 11 includes a printer-
The printer-
The
The interface unit 33 performs communication based on the communication standard with the printer 11 under the control of the printer-
次に、アプリケーション実行部20、及び、プリンタードライバー実行部21の説明を通して、制御システム1がレシートを発行するときの動作について説明する。
レシートの発行に際し、まず、アプリケーション実行部20は、ホストコンピューター10に予めインストールされたアプリケーションを実行することにより、感熱ロール紙に記録すべき画像の情報を含む画像情報データを生成し、プリンタードライバー実行部21に出力する。画像情報データには、画像を示す情報のほか、感熱ロール紙において画像を記録すべき位置に関する情報や、画像に施すべき装飾に関する情報等、画像を記録するために必要な情報が不足なく含まれている。プリンタードライバー実行部21は、ホストコンピューター10に予めインストールされたプリンタードライバーを実行することにより、アプリケーション実行部20から入力された画像情報データに基づいて、プリンター11のコマンド仕様に対応した制御コマンドを生成し、プリンター11に送信する。制御コマンドとは、プリンター11にレシートの発行に係る各種動作を行わせるためのコマンド群のことであり、画像の記録を指示するコマンドや、感熱ロール紙を搬送することを指示するコマンド、感熱ロール紙を切断することを指示するコマンド等の各種コマンドが含まれている。
ホストコンピューター10からプリンター11に送信された制御コマンドは、順次、受信バッファー(不図示)に格納される。プリンター11のプリンター側制御部28は、受信バッファーに格納された制御コマンドを、順次、読み出して実行することにより、メカ機構31の各種機構を制御して、レシートの発行に係る各種動作を実行する。
Next, the operation when the control system 1 issues a receipt will be described through the description of the application execution unit 20 and the printer
When issuing a receipt, first, the application execution unit 20 executes an application pre-installed in the
Control commands transmitted from the
ところで、制御システム1においては、ホストコンピューター10がプリンター11にレシートの発行を指示してからレシートの発行が完了するまでに要する時間をできるだけ短縮したいとするニーズがある。当該時間を短縮することにより、レシートを受け取るべき顧客の待ち時間の低減につながり顧客満足度を向上できると共に、レジに係る作業の効率化を図れるからである。そして、レシートの発行に際し、ホストコンピューター10からプリンター11へ送信される制御コマンドのサイズを小さくすれば、通信に要する時間の短縮化、これに伴うレシートの発行に要する時間(記録に要する時間)の短縮化を図ることができる。
これらのことに基づいて、本実施形態に係る制御システム1の各装置は以下の動作を実行する。
By the way, in the control system 1, there is a need to reduce as much as possible the time required from the
Based on these things, each apparatus of the control system 1 which concerns on this embodiment performs the following operation | movement.
図2は、レシートの発行に際して、感熱ロール紙に画像を記録するときのホストコンピューター10、及び、プリンター11の動作を示すフローチャートであり、(A)はホストコンピューター10の動作を、(B)はプリンター11の動作をそれぞれ示している。
図2では、特に、ホストコンピューター10からプリンター11にレシートに記録すべき画像の画像データを送信し、プリンター11が画像データに基づいて画像を記録する場合を例として各装置の動作を説明する。画像データとは、ビットマップデータ等の、画像を構成する画素ごとに、濃度を表す階調値等の各種画素に関する情報を保持するデータのことである。周知の通り、画像データは、制御コマンドを構成する命令コードや、各種パラメーターと比較して、そのサイズが非常に大きい。
また、以下の説明において、記録制御部21aは、CPUがプリンタードライバーを読み出して実行する等、ハードウェアとソフトウェアとの協働により実現される。
FIG. 2 is a flowchart showing the operation of the
In FIG. 2, the operation of each apparatus will be described by taking as an example a case where image data of an image to be recorded on a receipt is transmitted from the
In the following description, the
図2を参照し、まず、ホストコンピューター10のアプリケーション実行部20は、レシートに記録すべき画像の情報を含む画像情報データを生成し、プリンタードライバー実行部21に出力する(ステップSA1)。画像情報データにおける画像の情報のうち、画像自体を表す情報は、画像データであってもよく、また、画像を示すPDL(ページ記述言語)であってもよいが、本例では、画像データであるものとする。
画像情報データが入力されたプリンタードライバー実行部21の記録制御部21aは、ホストコンピューター10とプリンター11との間の通信の方式を検出する(ステップSA2)。ここで、本実施形態では、ホストコンピューター10と、プリンター11とは、RS232Cの規格に準拠した通信、USBの規格に準拠した通信、イーサネットの規格に準拠した通信、及び、Bluetooth(登録商標)の規格に準拠した通信のいずれかによって通信可能な構成となっている。そして、ステップSA2では、記録制御部21aは、通信の方式として、上記4つの規格のうち、いずれの規格に準拠した通信が行われているのかを検出する。当該検出は、OSの機能を利用して行ってもよいし、プリンタードライバーの機能を利用して、記録制御部21aがネットワークカードの所定のチップと通信して行ってもよい。すなわち、検出に際し、既存のいかなる技術を使ってもよい。
次いで、記録制御部21aは、ステップSA2で検出した通信の規格(通信の方式)が、画像データのデータ圧縮(後述)を行うべき規格として予め定められた規格に該当するか否かを判別する(ステップSA3)。後に明らかとなるとおり、本実施形態では、記録制御部21aは、制御コマンドに含める画像データをデータ圧縮することが可能な構成となっているが、画像データをデータ圧縮する場合とデータ圧縮しない場合とで通信に要する時間の差がほとんど出ない程度に通信速度が速い場合は、データ圧縮をする必要がないため、当該データ圧縮を行わない構成となっている。この観点から、本実施形態では、RS232Cの規格、及び、Bluetoothの規格が、画像データのデータ圧縮を行うべき規格として、一方、USBの規格、及び、イーサネットの規格が、画像データのデータ圧縮を行わない規格として、予め定められ、プリンタードライバーの対応するプログラム上に定義されている。
Referring to FIG. 2, first, the application execution unit 20 of the
The
Next, the
ステップSA3において、ステップSA2で検出した通信の規格が、画像データのデータ圧縮を行うべき規格ではない場合、すなわち、USBの規格、又は、イーサネットの規格である場合(ステップSA3:NO)、記録制御部21aは、通常の手順に従って、制御コマンドを生成して、プリンター11に送信する(ステップSA4)。ステップSA4の動作の詳細は省略する。
一方、ステップSA3において、ステップSA2で検出した通信の規格が、画像データのデータ圧縮を行うべき規格である場合、すなわち、RS232Cの規格、及び、Bluetoothの規格である場合(ステップSA3:YES)、記録制御部21aは、プリンター11が解凍可能な圧縮方法の種類について、通信によってプリンター11に問い合わせる(ステップSA5)。以下、適宜、ホストコンピューター10が施すことが可能なデータ圧縮の圧縮方法の種類を、ホストコンピューター10が対応している圧縮方法の種類、と表現し、プリンター11が解凍することが可能な圧縮方法の種類を、プリンター11が対応している圧縮方法の種類、と表現する。なお、記録制御部21aは、複数の異なる種類の圧縮方法によってデータ圧縮可能な構成とされている。複数の圧縮方法によってデータ圧縮が可能なことによる効果については後述する。
ステップSA5の問い合わせに応じて、プリンター11のプリンター側制御部28は、自身が解凍可能な圧縮方法の種類を全て応答する(ステップSB1)。本実施形態に係るプリンター11のファームウェアは、基本的には、ホストコンピューター10がデータ圧縮したデータを解凍する機能が実装されている。しかしながら、ファームウェアの種類や、ファームウェアのバージョン、ファームウェアにおける機能追加、削除の状況によって、解凍可能な圧縮方法の種類がプリンター11ごとに異なっている場合があり、また、プリンター11によっては圧縮されたデータを解凍する機能を有していない場合もある。ホストコンピューター10による問い合わせ、及び、プリンター11による問い合わせに対する応答は、予め定められたプロトコルに従って行われる。
ステップSB1の応答を受けた記録制御部21aは、プリンター11が対応している圧縮方法の種類のうち、自身が対応しているものがあるか否かを判別する(ステップSA6)。換言すれば、記録制御部21aは、データ圧縮に際して施すことが可能な圧縮方法の種類のうち、プリンター11が解凍可能な圧縮方法の種類があるか否かを判別する。
プリンター11が対応している圧縮方法の種類のうち、自身が対応している圧縮方法の種類がない場合(ステップSA6:NO)、記録制御部21aは、処理手順を上述したステップSA4へ移行し、通常の手順に従って、制御コマンドを生成して、プリンター11に出力する。
一方、プリンター11が対応している圧縮方法の種類のうち、自身が対応している圧縮方法の種類がある場合(ステップSA6:YES)、記録制御部21aは、さらに、プリンター11が対応している圧縮方法の種類のうち、自身が対応している圧縮方法の種類が複数あるか否かを判別する(ステップSA7)。
複数ない場合(ステップSA7:NO)、記録制御部21aは、プリンター11と自身とが対応している1つの圧縮方法により、アプリケーション実行部20から入力された画像情報データに含まれる画像データを、データ圧縮することによって圧縮画像データを生成する(ステップSA8)。その後、記録制御部21aは、処理手順をステップSA9へ移行する。
一方、複数ある場合(ステップSA7:YES)、記録制御部21aは、プリンター11と自身とが対応している複数の圧縮方法のそれぞれによって、アプリケーション実行部20から入力された画像情報データに含まれる画像データをデータ圧縮し、圧縮方法のそれぞれに対応する圧縮画像データを生成する(ステップSA10)。次いで、記録制御部21aは、ステップSA10で生成した圧縮画像データのそれぞれについて、それぞれのデータのサイズを比較する(ステップSA11)。次いで、記録制御部21aは、ステップSA11の比較結果に基づいて、最もサイズの小さい1の圧縮画像データを特定する(ステップSA12)。その後、記録制御部21aは、処理手順をステップSA9へ移行する。
ここで、異なる複数の圧縮方法で画像データを圧縮した場合に、どの圧縮方法でデータ圧縮したときが最も画像データのサイズが小さくなるかは、画像データの態様によって異なる。例えば、画像データが白黒2値のビットマップデータであるとした場合に、白ドットがどのような態様で連続して現出しているか等に応じて、どの圧縮方法でデータを圧縮したときが最もサイズが小さくなるが異なってくる。そして本実施形態では、ステップSA10〜SA12において、記録制御部21aは、プリンター11が対応している圧縮方法が複数ある場合は、各圧縮方法で実際に画像データを圧縮して圧縮画像データを生成し、最もサイズが小さな圧縮画像データを制御コマンドに含めるデータとして特定する。これにより、制御コマンドのサイズを可能な限り小さくすることができ、より効果的に通信に要する時間の短縮化及びこれに伴う記録に要する時間の短縮化を実現できる。
In step SA3, if the communication standard detected in step SA2 is not a standard for data compression of image data, that is, if it is a USB standard or an Ethernet standard (step SA3: NO), recording control is performed. The
On the other hand, in step SA3, when the communication standard detected in step SA2 is a standard for data compression of image data, that is, the RS232C standard and the Bluetooth standard (step SA3: YES), The
In response to the inquiry in step SA5, the printer-
The
If there is no compression method type that the printer 11 supports (step SA6: NO), the
On the other hand, if there is a compression method type that the printer 11 supports (step SA6: YES), the
When there are not plural (step SA7: NO), the
On the other hand, when there are a plurality (step SA7: YES), the
Here, when image data is compressed by a plurality of different compression methods, the compression method used to reduce the size of the image data is different depending on the mode of the image data. For example, when the image data is monochrome binary bitmap data, the compression method is most suitable when the data is compressed depending on how the white dots appear continuously. Smaller but different. In this embodiment, in steps SA10 to SA12, when there are a plurality of compression methods supported by the printer 11, the
ステップSA9において、記録制御部21aは、ステップSA8で生成した圧縮画像データ、又は、ステップSA12で特定した圧縮画像データを含んだ制御コマンドを、プリンター11のコマンド体系に従って、生成する。この制御コマンドは、プリンター11において、当該圧縮画像データを解凍させて画像データを生成させ、生成させた画像データに基づいて感熱ロール紙に画像を記録させるものである。次いで、記録制御部21aは、生成した制御コマンドをプリンター11に送信する(ステップSA13)。
当該制御コマンドを受信したプリンター11のプリンター側制御部28は、受信バッファーに格納された制御コマンドを読み出して解析すると共に、制御コマンドの各種命令に従って、当該制御コマンドに含まれる圧縮画像データを抽出し、抽出した圧縮画像データを、当該圧縮画像データに係る圧縮方法に対応する解凍方法にて解凍して、画像データを生成する(ステップSB2)。次いで、プリンター側制御部28は、解凍した画像データを図示せぬ画像バッファーに展開すると共に、画像バッファーに展開した画像データに基づいてメカ機構31の各種機構を制御して、感熱ロール紙に画像を記録する。
このように、本実施形態では、記録制御部21aは、制御コマンドに含まれるデータのうち、サイズの大きい画像データを、プリンター11が確実に対応している圧縮方法で圧縮する。このため、効果的に制御コマンドのサイズを小さくすることができ、効果的に通信に要する時間の短縮化及びこれに伴う記録に要する時間の短縮化を実現できる。また、本実施形態では、図2の記録制御部21aの機能は、プリンタードライバーに実装されている。このため、アプリケーション実行部20からプリンタードライバー実行部21へと出力される画像情報データは、記録制御部21aの各機能を実装する前後で同一であり、アプリケーションに対する改変が必要ない。ここで、ホストコンピューター10上のアプリケーションは、様々な種類のものが存在し、かつ、ユーザーが自身のニーズに応じて細かい設定をしている場合も多いため、できれば、アプリケーションに対するプログラム的な改変、設定の改変等は行いたくないとするニーズがあるが、上記構成によりこのようなニーズに適切に応えることができる。
In step SA9, the
Upon receiving the control command, the printer-
As described above, in the present embodiment, the
以上説明したように、本実施形態によれば、ホストコンピューター10の制御部15のプリンタードライバー実行部21の記録制御部21aは、異なる複数の圧縮方法によるデータ圧縮が可能に構成されている。そして、記録制御部21aは、プリンター11によって感熱ロール紙に画像を記録させる場合、解凍可能な圧縮方法をプリンター11に問い合わせ、当該解凍可能な圧縮方法によって当該画像の画像データをデータ圧縮して圧縮画像データを生成すると共に、当該圧縮画像データを含み、プリンター11によって当該圧縮画像データを解凍させて画像データを生成させ、生成させた当該画像データに基づいて感熱ロール紙に当該画像を記録させる制御コマンドを生成し、プリンター11に送信する。
この構成によれば、記録制御部21aは、複数の圧縮方法によって、画像データをデータ圧縮可能であり、制御コマンドを送信する前に、プリンター11が対応している圧縮方法を問い合わせる。ここで、ファームウェアのバージョンの状態や、機能追加、削除の状況によって、解凍可能な圧縮方法がプリンター11によって異なっている場合があるが、記録制御部21aは、プリンター11が対応している圧縮方法を、事前に問い合わせをすることにより、プリンター11が対応している圧縮方法によって画像データを圧縮可能である。また、記録制御部21aは、異なる複数の圧縮方法でデータ圧縮が可能であるため、プリンター11が対応している圧縮方法によってデータ圧縮ができることの可能性を高めることができる。さらに、上記構成によれば、記録制御部21aは、制御コマンドに含まれるデータのうち、サイズの大きい画像データを、プリンター11が確実に対応している圧縮方法で圧縮する。このため、効果的に制御コマンドのサイズを小さくすることができ、効果的に通信に要する時間の短縮化及びこれに伴う記録に要する時間の短縮化を実現できる。
As described above, according to the present embodiment, the
According to this configuration, the
また、本実施形態によれば、記録制御部21aは、プリンター11によって感熱ロール紙に画像を記録させる場合において、プリンター11が解凍可能な圧縮方法が複数ある場合は、それぞれの圧縮方法で、当該画像の画像データを圧縮して圧縮画像データを生成し、それぞれの圧縮画像データのサイズを比較して最もサイズの小さな圧縮画像データを特定し、特定した圧縮画像データを含む制御コマンドを生成してプリンター11に送信する。
上記構成によれば、制御コマンドのサイズを可能な限り小さくすることができ、より効果的に通信に要する時間の短縮化及びこれに伴う記録に要する時間の短縮化を実現できる。
In addition, according to the present embodiment, when the
According to the above configuration, the size of the control command can be reduced as much as possible, and the time required for communication and the time required for recording can be reduced more effectively.
また、本実施形態では、記録制御部21aは、プリンター11との間で行われる通信の規格(通信の方式)に応じて、制御コマンドに含める画像データの圧縮を行うか否かを変更する。
この構成によれば、記録制御部21aは、プリンター11との間で行われる通信の規格(通信の方式)に応じて、制御コマンドに含める画像データの圧縮を行うか否かを変更するため、通信速度が十分に速く、画像データのデータ圧縮を行うよりも、当該圧縮を行わない方が、記録に要する時間を短縮できるといった場合に、当該圧縮を行わないようにすることが可能となる。
In the present embodiment, the
According to this configuration, the
また、本実施形態では、記録制御部21aの機能は、プリンタードライバーに実装されている。
この構成によれば、アプリケーション実行部20からプリンタードライバー実行部21へと出力される画像情報データを、記録制御部21aの各機能を実装する前後で変更する必要がないため、アプリケーションに対する改変が必要ない。
In the present embodiment, the function of the
According to this configuration, since it is not necessary to change the image information data output from the application execution unit 20 to the printer
なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。
例えば、上述した実施形態では、通信の方式として、ことなる4つの通信の規格を例に挙げたが、通信の方式とは、シリアル通信かパラレル通信かといったビットを送るときの方式や、有線か無線かといった送受信の物理的な方式等、通信速度に影響を与えるような通信の方式を全て含む概念である。
また例えば、図1に示す各機能ブロックはハードウェアとソフトウェアの協働により任意に実現可能であり、特定のハードウェア構成を示唆するものではない。また、ホストコンピューター10の各機能ブロックの機能を、ホストコンピューター10に外部接続される別の装置に持たせるようにしてもよい。また、ホストコンピューター10は、外部接続される記憶媒体に記憶させたプログラムを実行することにより、図2のフローチャートに係る動作を含む各種動作を実行するようにしてもよい。
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, four different communication standards are given as an example of the communication method. However, the communication method is a method for sending bits such as serial communication or parallel communication, or a wired communication method. This is a concept that includes all communication methods that affect the communication speed, such as a physical transmission / reception method such as wireless communication.
Further, for example, each functional block shown in FIG. 1 can be arbitrarily realized by cooperation of hardware and software, and does not suggest a specific hardware configuration. Further, the function of each functional block of the
1…制御システム、10…ホストコンピューター(制御装置)、11…プリンター(記録装置)、15…制御部、20…アプリケーション実行部、21…プリンタードライバー実行部、21a…記録制御部。 DESCRIPTION OF SYMBOLS 1 ... Control system, 10 ... Host computer (control apparatus), 11 ... Printer (recording apparatus), 15 ... Control part, 20 ... Application execution part, 21 ... Printer driver execution part, 21a ... Recording control part.
Claims (8)
前記記録装置との間で行われる通信の方式に応じて、画像データの圧縮を行うか否かを判別し、
前記画像データの圧縮を行うと判別した場合は、前記記録装置が解凍可能な圧縮方法について前記記録装置に問い合わせを行い、
前記記録装置が解凍可能な圧縮方法が1つであるときは、前記記録装置が解凍可能な圧縮方法で前記画像データを圧縮し、圧縮した前記画像データを含む制御コマンドを前記記録装置に送信し、
前記記録装置が解凍可能な圧縮方法が複数あるときは、それぞれの圧縮方法で、前記画像データを圧縮し、それぞれの圧縮方法で圧縮した前記画像データのサイズを比較して最もサイズの小さな圧縮した前記画像データを特定し、特定した前記画像データを含む制御コマンドを前記記録装置に送信する、記録制御部を備え、
前記制御コマンドは、前記記録装置に、圧縮した前記画像データを解凍させ、解凍した前記画像データに基づいて記録媒体に画像を記録させるコマンドであることを特徴とする制御装置。 A control device connectable to the recording device,
According to the method of communication performed with the recording device, determine whether to compress image data,
If it is determined to perform the compression of the image data, queries to the recording apparatus for the recording apparatus method capable decompression compression,
When the recording device has one decompressable compression method, the recording device compresses the image data using a decompressable compression method , and sends a control command including the compressed image data to the recording device. ,
When there are a plurality of compression methods that can be decompressed by the recording device, the image data is compressed by each compression method, and the size of the image data compressed by each compression method is compared, and the compression is performed with the smallest size. A recording control unit that identifies the image data and transmits a control command including the identified image data to the recording apparatus ;
The control device is a command for causing the recording device to decompress the compressed image data and recording an image on a recording medium based on the decompressed image data .
プリンタードライバーの機能により、前記アプリケーション実行部が出力した画像の情報に基づいて、前記制御コマンドを生成して、前記記録装置に送信するプリンタードライバー実行部と、を備え、
前記記録制御部の機能は、前記プリンタードライバーに実装されることを特徴とする請求項1に記載の制御装置。 An application execution unit that outputs image information by a function of a predetermined application;
A printer driver execution unit that generates the control command based on the image information output by the application execution unit according to the function of the printer driver, and transmits the control command to the recording apparatus;
The function of the recording control unit, the control device according to claim 1, characterized in that it is mounted on the printer driver.
前記記録装置と、無線通信又はシリアル通信する場合に、前記画像データの圧縮を行うと判別することを特徴とする請求項1乃至4のいずれか1項に記載の制御装置。5. The control apparatus according to claim 1, wherein the image data is determined to be compressed when wireless communication or serial communication is performed with the recording apparatus.
前記制御装置は、
前記記録装置との間で行われる通信の方式に応じて、画像データの圧縮を行うか否かを判別し、
前記画像データの圧縮を行うと判別した場合は、前記記録装置が解凍可能な圧縮方法について前記記録装置に問い合わせを行い、
前記記録装置は、
前記問い合わせに応じて前記解凍可能な圧縮方法を応答し、
前記制御装置は、
前記記録装置が解凍可能な圧縮方法が1つであるときは、前記記録装置が解凍可能な圧縮方法で前記画像データを圧縮し、圧縮した前記画像データを含む制御コマンドを前記記録装置に送信し、
前記記録装置が解凍可能な圧縮方法が複数あるときは、それぞれの圧縮方法で、前記画像データを圧縮し、それぞれの圧縮方法で圧縮した前記画像データのサイズを比較して最もサイズの小さな圧縮した前記画像データを特定し、特定した前記画像データを含む制御コマンドを前記記録装置に送信し、
前記記録装置は、
受信した前記制御コマンドに含まれる圧縮された前記画像データを解凍し、解凍後の前記画像データに基づいて前記記録媒体に画像を印刷する
ことを特徴とする制御システム。 A control system comprising a recording device for recording an image on a recording medium, and a control device connectable to the recording device,
The controller is
According to the method of communication performed with the recording device, determine whether to compress image data,
If it is determined to perform the compression of the image data, queries to the recording apparatus for the recording apparatus method capable decompression compression,
The recording device comprises:
Responding to the inquiry with the decompressable compression method,
The controller is
When the recording device has one decompressable compression method, the recording device compresses the image data using a decompressable compression method , and sends a control command including the compressed image data to the recording device. ,
When there are a plurality of compression methods that can be decompressed by the recording device, the image data is compressed by each compression method, and the size of the image data compressed by each compression method is compared, and the compression is performed with the smallest size. Identifying the image data, sending a control command including the identified image data to the recording device;
The recording device comprises:
A control system, comprising: decompressing the compressed image data included in the received control command, and printing an image on the recording medium based on the decompressed image data.
前記記録装置との間で行われる通信の方式に応じて、画像データの圧縮を行うか否かを判別し、
前記画像データの圧縮を行うと判別した場合は、前記記録装置が解凍可能な圧縮方法について前記記録装置に問い合わせを行い、
前記記録装置が解凍可能な圧縮方法が1つであるときは、前記記録装置が解凍可能な圧縮方法で前記画像データを圧縮し、圧縮した前記画像データを含み、圧縮した前記画像データを解凍させ、解凍した前記画像データに基づいて前記記録媒体に画像を記録させる制御コマンドを前記記録装置に送信し、
前記記録装置が解凍可能な圧縮方法が複数あるときは、それぞれの圧縮方法で、前記画像データを圧縮し、それぞれの圧縮方法で圧縮した前記画像データのサイズを比較して最もサイズの小さな圧縮した前記画像データを特定し、特定した前記画像データを含む前記制御コマンドを前記記録装置に送信する
ことを特徴とする制御装置の制御方法。 A control method of a control device connectable to a recording device for recording on a recording medium ,
According to the method of communication performed with the recording device, determine whether to compress image data,
If it is determined that the image data is to be compressed, the recording apparatus is inquired about a compression method that can be decompressed,
When the recording device has one compression method that can be decompressed, the recording device compresses the image data with a decompression method that can be decompressed, and includes the compressed image data, and decompresses the compressed image data. A control command for recording an image on the recording medium based on the decompressed image data is transmitted to the recording device;
When there are a plurality of compression methods that can be decompressed by the recording device, the image data is compressed by each compression method, and the size of the image data compressed by each compression method is compared, and the compression is performed with the smallest size. A control method for a control apparatus, characterized by specifying the image data and transmitting the control command including the specified image data to the recording apparatus .
前記制御部を、
前記記録装置との間で行われる通信の方式に応じて、画像データの圧縮を行うか否かを判別し、
前記画像データの圧縮を行うと判別した場合は、前記記録装置が解凍可能な圧縮方法について前記記録装置に問い合わせを行い、
前記記録装置が解凍可能な圧縮方法が1つであるときは、前記記録装置が解凍可能な圧縮方法で前記画像データを圧縮し、圧縮した前記画像データを含み、圧縮した前記画像データを解凍させ、解凍した前記画像データに基づいて前記記録媒体に画像を記録させる制御コマンドを前記記録装置に送信し、
前記記録装置が解凍可能な圧縮方法が複数あるときは、それぞれの圧縮方法で、前記画像データを圧縮し、それぞれの圧縮方法で圧縮した前記画像データのサイズを比較して最もサイズの小さな圧縮した前記画像データを特定し、特定した前記画像データを含む前記制御コマンドを前記記録装置に送信する、記録制御部として機能させることを特徴とするプログラム。
A program executed by a control unit that controls a control device connectable to a recording device that records on a recording medium,
The control unit
According to the method of communication performed with the recording device, determine whether to compress image data,
If it is determined that the image data is to be compressed, the recording apparatus is inquired about a compression method that can be decompressed,
When the recording device has one compression method that can be decompressed, the recording device compresses the image data with a decompression method that can be decompressed, and includes the compressed image data, and decompresses the compressed image data. A control command for recording an image on the recording medium based on the decompressed image data is transmitted to the recording device;
When there are a plurality of compression methods that can be decompressed by the recording device, the image data is compressed by each compression method, and the size of the image data compressed by each compression method is compared, and the compression is performed with the smallest size. A program that functions as a recording control unit that specifies the image data and transmits the control command including the specified image data to the recording apparatus .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012060181A JP5949006B2 (en) | 2012-03-16 | 2012-03-16 | CONTROL DEVICE, CONTROL SYSTEM, CONTROL DEVICE CONTROL METHOD, AND PROGRAM |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012060181A JP5949006B2 (en) | 2012-03-16 | 2012-03-16 | CONTROL DEVICE, CONTROL SYSTEM, CONTROL DEVICE CONTROL METHOD, AND PROGRAM |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2013196119A JP2013196119A (en) | 2013-09-30 |
| JP2013196119A5 JP2013196119A5 (en) | 2015-04-16 |
| JP5949006B2 true JP5949006B2 (en) | 2016-07-06 |
Family
ID=49395045
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2012060181A Expired - Fee Related JP5949006B2 (en) | 2012-03-16 | 2012-03-16 | CONTROL DEVICE, CONTROL SYSTEM, CONTROL DEVICE CONTROL METHOD, AND PROGRAM |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5949006B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6822189B2 (en) * | 2017-02-10 | 2021-01-27 | ブラザー工業株式会社 | Printer |
| JP7367459B2 (en) * | 2019-10-28 | 2023-10-24 | 京セラドキュメントソリューションズ株式会社 | Image forming device |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3775461B2 (en) * | 1998-12-03 | 2006-05-17 | セイコーエプソン株式会社 | Printing apparatus, printing method and recording medium |
| JP2003114778A (en) * | 2001-10-03 | 2003-04-18 | Canon Inc | Printing system, print control device, printing device, compression method selection method, and storage medium |
| JP2005153287A (en) * | 2003-11-25 | 2005-06-16 | Kyocera Mita Corp | Image forming apparatus |
| JP4921190B2 (en) * | 2007-01-29 | 2012-04-25 | キヤノン株式会社 | Printing control apparatus and method and printing system |
-
2012
- 2012-03-16 JP JP2012060181A patent/JP5949006B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2013196119A (en) | 2013-09-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9195414B2 (en) | Image processing apparatus functioning as a print server changing print settings of saved job on demand from an external terminal | |
| JP5955041B2 (en) | Printing system and method | |
| JP4541773B2 (en) | Information processing apparatus, data processing method, program, and storage medium | |
| JP5728948B2 (en) | RECORDING SYSTEM, RECORDING SYSTEM CONTROL METHOD, RECORDING CONTROL DEVICE, AND PROGRAM | |
| KR101429850B1 (en) | Recording device and control method of a recording device | |
| US9928454B2 (en) | Host computer, control method of a host computer, and medium | |
| JP2015231155A (en) | Communication system, information processing device and control method thereof, and program | |
| JP5949006B2 (en) | CONTROL DEVICE, CONTROL SYSTEM, CONTROL DEVICE CONTROL METHOD, AND PROGRAM | |
| JP2012083973A (en) | Printing system | |
| JP6468869B2 (en) | Print control apparatus, control method, and control program | |
| JP7275776B2 (en) | control system | |
| JP2013054492A (en) | Control device, control method of control device, and program | |
| JP2016128215A (en) | Printer and control method of the same | |
| US10510059B2 (en) | Printer device | |
| US9936097B2 (en) | Non-transitory storage medium storing printer driver to restrict available functions dependent upon communication speed with server | |
| US20190210377A1 (en) | Printer and printer system | |
| JP2014012354A (en) | Data processor, recorder, data processing method and program | |
| JP2017061042A (en) | Printer, printer system, and printer setting method | |
| JP3202841B2 (en) | Printing apparatus, printing system, and printing control method | |
| KR101141274B1 (en) | Method for processing extended preview | |
| JP5978712B2 (en) | CONTROL SYSTEM, CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM | |
| JP2013226663A (en) | Recording device, method of controlling the same, and program | |
| JP6680118B2 (en) | Printing device and control method | |
| JPH08221224A (en) | Printing device and printing system | |
| JP6459260B2 (en) | Recording system, recording control method, and recording apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150302 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150302 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160127 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160209 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160401 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20160510 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160523 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5949006 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |