JP2004005730A - Printer, print system, and recording medium recording program - Google Patents
Printer, print system, and recording medium recording program Download PDFInfo
- Publication number
- JP2004005730A JP2004005730A JP2003280202A JP2003280202A JP2004005730A JP 2004005730 A JP2004005730 A JP 2004005730A JP 2003280202 A JP2003280202 A JP 2003280202A JP 2003280202 A JP2003280202 A JP 2003280202A JP 2004005730 A JP2004005730 A JP 2004005730A
- Authority
- JP
- Japan
- Prior art keywords
- printer
- data
- host device
- command
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000007639 printing Methods 0.000 claims abstract description 45
- 230000004044 response Effects 0.000 claims abstract description 11
- 238000012545 processing Methods 0.000 claims description 63
- 238000000034 method Methods 0.000 claims description 38
- 230000008569 process Effects 0.000 claims description 26
- 230000005540 biological transmission Effects 0.000 claims description 15
- 230000006870 function Effects 0.000 claims description 8
- 238000010586 diagram Methods 0.000 abstract description 38
- 238000004891 communication Methods 0.000 description 27
- 238000006243 chemical reaction Methods 0.000 description 11
- 238000011161 development Methods 0.000 description 7
- 230000008859 change Effects 0.000 description 5
- 238000013500 data storage Methods 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 238000003384 imaging method Methods 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000000295 complement effect Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000006837 decompression Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000003702 image correction Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
Abstract
【課題】 本発明の課題は、ホスト装置が従来のようなプリンタドライバを必要とすることなく、ホスト装置上のドキュメントデータをプリンタに印刷させることができるようにすることである。
【解決手段】 本発明は、ホスト装置から送られる印刷設定に関する問い合わせ情報を受け取り、前記受け取った問い合わせ情報に対して、自身の固有情報に基づく回答情報を前記ホスト装置に送り、前記回答情報に基づいて前記ホスト装置から送られる印刷設定情報を受け取り、前記受け取った印刷設定情報に従って、前記ホスト装置に印刷対象データを要求し、前記要求に従って前記ホスト装置から送られる印刷対象データを受け取り、前記受け取った印刷対象データに基づいて印刷を行うことを特徴とするプリンタである。
【選択図】 図1
An object of the present invention is to enable a printer to print document data on a host device without requiring the host device to use a conventional printer driver.
SOLUTION: The present invention receives inquiry information about print settings sent from a host device, sends response information based on its own unique information to the host device in response to the received inquiry information, and Receiving the print setting information sent from the host device, requesting the host device for print target data in accordance with the received print setting information, receiving the print target data sent from the host device according to the request, A printer that performs printing based on print target data.
[Selection diagram] Fig. 1
Description
本発明は、プリンタの技術に関する。また、本発明は、ホスト装置とプリンタとの間の通信で用いられる特定のコマンド体系に基づく処理制御の技術に関する。 The present invention relates to the technology of a printer. The present invention also relates to a technique of processing control based on a specific command system used for communication between a host device and a printer.
パーソナルコンピュータに代表されるホスト装置がアプリケーションデータをプリンタに印刷させるためには、ホスト装置は、プリンタごとに用意されたプリンタドライバ(プリンタ制御用プログラム)を必要とする。プリンタドライバは、アプリケーションプログラムからアプリケーションデータを受け取ると、プリンタ固有のプリントジョブデータに変換して、そのプリンタに対して出力する。プリンタは、このプリントジョブデータを受け取ると、これを解釈してラスタ形式のビットマップデータを生成し、印刷用紙に対するプリントを実現する。 In order for a host device such as a personal computer to print application data to a printer, the host device needs a printer driver (printer control program) prepared for each printer. When receiving the application data from the application program, the printer driver converts the application data into print job data unique to the printer and outputs it to the printer. Upon receiving the print job data, the printer interprets the print job data, generates bitmap data in raster format, and implements printing on printing paper.
また、典型的な情報処理システムでは、ホスト装置を中心にしてその周囲に、プリンタやスキャナ、デジタルカメラなどの電子機器が配置される。電子機器ごとの固有のドライバ(デバイスドライバ)が組み込まれたホスト装置は、これら電子機器との間で情報を仲介する。例えば、デジタルカメラに記憶されたイメージデータの印刷に際しては、ホスト装置は、このデジタルカメラに記憶されたイメージデータを、一旦、アプリケーションプログラムに読み込んで、このアプリケーションプログラムからプリンタドライバを介してプリントジョブデータに変換してプリンタに出力する。 In a typical information processing system, electronic devices such as a printer, a scanner, and a digital camera are arranged around a host device. A host device in which a unique driver (device driver) for each electronic device is installed, mediates information with these electronic devices. For example, when printing image data stored in a digital camera, the host device reads the image data stored in the digital camera once into an application program, and prints out print job data from the application program via a printer driver. And output to a printer.
プリンタドライバのプログラムサイズは、通常、数百KByte以上である。従って、プロセッサの性能に優れ、メモリ容量の豊富なコンピュータなどのホスト装置では、プリンタドライバを組み込むことについて何ら問題はない。しかしながら、例えば、デジタルカメラのような小型の電子機器では、プリンタドライバを組み込むことは、ハードウェア上の制約などにより困難である。 プ ロ グ ラ ム The printer driver program size is usually several hundred KByte or more. Therefore, in a host device such as a computer having an excellent processor performance and a large memory capacity, there is no problem in incorporating a printer driver. However, for example, in a small electronic device such as a digital camera, it is difficult to incorporate a printer driver due to hardware restrictions and the like.
そこで、本発明は、ホスト装置が従来のようなプリンタドライバを必要とすることなく、ホスト装置上のドキュメントデータをプリンタに印刷させることができるようにすることを目的とする。 Accordingly, an object of the present invention is to enable a printer to print document data on a host device without requiring the host device to use a conventional printer driver.
また、本発明は、特定のコマンド体系に基づくホスト装置とプリンタとの間の新たな通信プロトコルを提供することを目的とする。 Another object of the present invention is to provide a new communication protocol between a host device and a printer based on a specific command system.
上記課題を解決するために、本発明は以下のように特定される。 、 In order to solve the above problems, the present invention is specified as follows.
すなわち、本発明は、ホスト装置から送られる印刷設定情報を受け取り、前記印刷設定情報に基づいて印刷対象データを前記ホスト装置に要求し、前記要求に従って前記ホスト装置から送られる印刷対象データを受け取り、前記印刷設定情報に基づいて前記印刷対象データに基づく印刷を行うことを特徴とするプリンタおよび印刷制御方法である。 That is, the present invention receives print setting information sent from a host device, requests print target data to the host device based on the print setting information, receives print target data sent from the host device according to the request, A printer and a print control method for performing printing based on the print target data based on the print setting information.
また、本発明は、ホスト装置から送られる印刷設定に関する問い合わせ情報を受け取り、前記受け取った問い合わせ情報に対して、自身の固有情報に基づく回答情報を前記ホスト装置に送り、前記回答情報に基づいて前記ホスト装置から送られる印刷設定情報を受け取り、前記印刷設定情報に基づいて前記ホスト装置に印刷対象データを要求し、前記要求に従って前記ホスト装置から送られる印刷対象データを受け取り、前記印刷設定情報に基づいて前記印刷対象データに基づく印刷を行うことを特徴とするプリンタおよび印刷制御方法である。 Further, the present invention receives inquiry information about print settings sent from a host device, sends response information based on its own unique information to the received inquiry information to the host device, and based on the response information, Receiving print setting information sent from the host device, requesting the host device for print target data based on the print setting information, receiving print target data sent from the host device in accordance with the request, based on the print setting information And a printing control method for performing printing based on the print target data.
また、本発明は、ホスト装置から送られる第1の印刷設定情報から自身の固有情報に基づいて第2の印刷設定情報を作成し、前記第2の印刷設定情報に基づいて前記ホスト装置から送られる印刷対象データに基づく印刷を行うことを特徴とするプリンタおよび印刷制御方法である。 Further, according to the present invention, second print setting information is created from the first print setting information sent from the host device based on its own unique information, and is sent from the host device based on the second print setting information. And a print control method for performing printing based on print target data to be printed.
さらにまた、本発明は、ホスト装置から送られる印刷設定情報を受け付ける第1の受付手段と、前記第1の受付手段によって受け付けた印刷設定情報に基づいて印刷対象データを前記ホスト装置に要求する要求手段と、前記要求手段による要求に従って前記ホスト装置から送られる印刷対象データを受け付ける第2の受付手段と、前記第1の受付手段で受け付けた印刷設定情報に基づいて前記印刷対象データに基づくビットマップデータを生成する生成手段と、前記生成手段によって生成されたビットマップデータを記憶する記憶手段と、前記記憶手段によって記憶されたビットマップデータに基づいて印刷記録媒体に対して印刷を実行する印刷手段と、を備えたことを特徴とするプリンタとしても把握することができる。
ここで、前記要求手段は、前記印刷設定情報が複数の印刷対象データに基づく印刷を指定する場合、前記複数の印刷対象データをそれぞれ要求することを特徴とする。
Still further, the present invention provides a first receiving unit for receiving print setting information sent from a host device, and a request for requesting the host device for print target data based on the print setting information received by the first receiving unit. Means, second receiving means for receiving print target data sent from the host device in accordance with a request from the request means, and a bitmap based on the print target data based on print setting information received by the first receiving means. Generating means for generating data, storing means for storing bitmap data generated by the generating means, and printing means for executing printing on a print recording medium based on the bitmap data stored by the storing means Can be grasped also as a printer characterized by having the following.
Here, when the print setting information designates printing based on a plurality of print target data, the request unit requests each of the plurality of print target data.
また、前記要求手段は、前記印刷設定情報に基づいて所定の順序で印刷対象データを特定し、前記特定した印刷対象データを要求することを特徴とする。 The requesting means specifies print target data in a predetermined order based on the print setting information, and requests the specified print target data.
さらに、本発明は、ホスト装置から送られるコマンドデータを解釈し、前記解釈結果に応じて所定の処理を行う処理手段と、ビットマップデータを記憶する記憶手段と、前記記憶手段に記憶されたビットマップデータに基づいて印刷記録媒体に対して印刷を実行する印刷手段とを備え、前記処理手段が、印刷設定に関するコマンドデータに基づく印刷設定情報で指定された印刷対象データを前記ホスト装置に要求する要求手段と、前記印刷設定情報に基づいて、データ送信に関するコマンドデータから得られる印刷対象データに基づくビットマップデータを生成し、前記記憶手段に記憶させる生成手段と、を備えたことを特徴とするプリンタである。 Further, the present invention interprets the command data sent from the host device, performs a predetermined process according to the interpretation result, a storage unit that stores bitmap data, and a bit that is stored in the storage unit. A printing unit that executes printing on a print recording medium based on the map data, wherein the processing unit requests the host device for print target data specified by print setting information based on command data on print settings. Requesting means, and generating means for generating bitmap data based on print target data obtained from command data relating to data transmission based on the print setting information, and storing the bitmap data in the storage means. It is a printer.
また、本発明は、プログラム製品またはプログラムを記録した記録媒体としても成立する。具体的には、本発明は、プリンタに所定の機能を実現させるプログラムを記録した記録媒体であって、前記プログラムは、ホスト装置から送られるコマンドデータを解釈し、その解釈結果に応じて所定の処理を行う処理手段を備え、前記処理手段は、印刷設定に関するコマンドデータに基づく印刷設定情報で指定された印刷対象データを前記ホスト装置に要求する要求手段と、データ送信に関するコマンドデータに基づいて得られる印刷対象データおよび前記印刷設定情報に基づいてビットマップデータを生成し、所定のメモリに記憶させる生成手段と、を備えたことを特徴とするプログラムを記録した記録媒体である。 The present invention is also realized as a program product or a recording medium on which a program is recorded. Specifically, the present invention is a recording medium recording a program for realizing a predetermined function in a printer, wherein the program interprets command data sent from a host device, and executes a predetermined process in accordance with a result of the interpretation. A processing unit for performing a process, wherein the processing unit obtains the print target data specified by the print setting information based on the command data regarding the print setting from the host device, and obtains the print target data based on the command data regarding the data transmission. And a generating means for generating bitmap data based on the print target data and the print setting information, and storing the generated bitmap data in a predetermined memory.
また、本発明は、印刷設定情報をプリンタに送り、前記印刷設定情報に基づいて前記プリンタから送られる印刷対象データの要求に従って前記プリンタに前記印刷対象データを送ることを特徴とするホスト装置である。 Further, the present invention is a host device which sends print setting information to a printer, and sends the print target data to the printer according to a request for print target data sent from the printer based on the print setting information. .
さらに、特定のプリンタで印刷するために必要なプリンタの固有情報を、前記特定のプリンタから取得し、前記取得した固有情報に基づいて印刷設定情報を作成し、前記作成した印刷設定情報を前記特定のプリンタに送ることを特徴とするホスト装置である。 Further, printer specific information necessary for printing with a specific printer is acquired from the specific printer, print setting information is created based on the acquired unique information, and the created print setting information is identified. This is a host device that sends the data to a printer.
また、本発明は、ホスト装置に所定の機能を実現させるプログラムを記録した記録媒体であって、前記プログラムは、所定のコマンドデータをプリンタに出力するとともに、前記プリンタから送られる所定のコマンドデータを受け取って、前記受け取った所定のコマンドデータを解釈し、その解釈結果に応じて所定の処理を行う処理手段を備え、前記処理手段は、印刷設定に関するコマンドデータを出力する設定要求手段と、前記プリンタから送られるデータ要求に関するコマンドデータに基づいて、所定の記憶装置に記憶された印刷対象データを読み出して、前記印刷対象データに基づくデータ送信に関するコマンドデータを出力するデータ出力手段と、を備えたことを特徴とするプログラムを記録した記録媒体である。 Further, the present invention is a recording medium recording a program for realizing a predetermined function in a host device, wherein the program outputs predetermined command data to a printer, and stores predetermined command data sent from the printer. Receiving processing means for interpreting the received predetermined command data and performing predetermined processing in accordance with the result of the interpretation, the processing means comprising: setting request means for outputting command data relating to print settings; and Data output means for reading out print target data stored in a predetermined storage device based on command data relating to a data request sent from the storage device, and outputting command data relating to data transmission based on the print target data. Is a recording medium on which a program characterized by the following is recorded.
さらにまた、本発明は、ホスト装置とプリンタとを備えたプリントシステムであって、前記ホスト装置は、印刷設定情報を前記プリンタに送り、前記プリンタは、前記ホスト装置から送られる印刷設定情報を受け取って、前記印刷設定情報で指定された印刷対象データを前記ホスト装置に要求し、前記ホスト装置は、前記プリンタから送られる前記要求に従って前記プリンタに前記印刷対象データを送り、前記プリンタは、前記ホスト装置から送られる印刷対象データを受け取り、前記印刷設定情報および前記印刷対象データに基づいて印刷を行うことを特徴とすることを特徴とするプリントシステムである。 Still further, the present invention is a print system comprising a host device and a printer, wherein the host device sends print setting information to the printer, and the printer receives print setting information sent from the host device. Requesting the print target data specified by the print setting information from the host device, the host device sends the print target data to the printer according to the request sent from the printer, and the printer A print system which receives print target data sent from an apparatus and performs printing based on the print setting information and the print target data.
なお、前記記録媒体とは、例えば、ハードディスク(HD)、DVD−RAM、フレキシブルディスク(FD)やCD−ROM等のほかに、RAMやROM等のメモリ、ネットワークなどの伝送媒体を含む。 The recording medium includes, for example, a hard disk (HD), a DVD-RAM, a flexible disk (FD), a CD-ROM, etc., as well as a memory such as a RAM and a ROM, and a transmission medium such as a network.
本発明によれば、ホスト装置が従来のようなプリンタドライバを必要とすることなく、ホスト装置上のドキュメントデータをプリンタに印刷させることができるようになる。従って、コンピュータを介することなく、安価なホスト装置からプリンタに対して直接的に印刷を行わせることができるようになる。 According to the present invention, it becomes possible to cause a printer to print document data on a host device without requiring the host device to use a conventional printer driver. Therefore, it is possible to cause a printer to perform printing directly from an inexpensive host device without using a computer.
次に、本発明の実施の形態について、図面を参照しつつ説明する。
1 構成
1−1 プリントシステムの構成
図1は、本実施形態に係るプリントシステムの構成を示す図である。同図に示すように、プリンタ1は、パラレルケーブルなどの専用線3を介してホスト装置2とローカル接続され、またはLANなどのネットワーク4を介してホスト装置2とネットワーク接続される。ホスト装置2は、典型的には、デジタルカメラやスキャナなどの電子機器に置き換えることができるが、汎用のパーソナルコンピュータであってもよい。以下では、プリンタ1とホスト装置2に位置付けされるデジタルカメラとがネットワーク4に接続されたプリントシステムを例に説明する。
1−2 プリンタの構成
図2は、プリンタ1のハードウェア構成を示す図である。同図に示すように、プリンタ1は、プロセッサ21、ROM22、RAM23、ユーザインターフェース24、イメージメモリ25、エンジンコントローラ26、プリントエンジン27および通信インターフェース(以下「通信I/F」という。)28を備える。プロセッサ21は、ROM22に記憶されたプログラムを実行することにより、他のハードウェアと共働して、プリンタ1に所定の機能を実現させる。例えば、プロセッサ21は、後述するように、ホスト装置2から送られるコマンドを解釈して、そのコマンドに応じた各種の処理を実行する。典型的には、プロセッサ21は、ホスト装置2から送られる印刷対象のデータをラスタ形式のビットマップデータに変換し、イメージメモリ25に出力する。RAM23は、プロセッサ21の主記憶装置として機能するものである。ユーザインターフェース24は、例えば、各種印刷設定を行うための表示パネルおよび操作ボタンなどによって構成され、ユーザによる対話的操作を可能にする。イメージメモリ25は、印刷に必要なビットマップデータを所定のバンド数単位で記憶する。エンジンコントローラ26は、イメージメモリ25に記憶されたビットマップデータをプリントエンジン27に供給する。プリントエンジン27は、例えば、紙送り機構やプリントヘッドなどによって構成され、紙などの印刷記録媒体に印刷を行うものである。プリントエンジン27は、レーザプリンタやシリアルプリンタといったプリンタの種類に応じたものを用いることができる。通信I/F28は、ネットワーク4に物理的に接続され、ホスト装置2との間でネットワーク通信を可能にするためのものである。
1−3 ホスト装置の構成
図3は、ホスト装置2のハードウェア構成を示す図である。同図に示すように、ホスト装置2は、プロセッサ31、ROM32、RAM33、ユーザインターフェース34、入力デバイス35、ファイルシステム36および通信I/F37を備え、これらは内部バスを介して相互に接続されている。プロセッサ31は、ROM32に記憶されたプログラムに従って、ホスト装置2全体の動作を制御する。RAM33は、プロセッサ31の主記憶装置として機能するものである。ユーザインターフェース34は、例えばデジタルカメラであれば、表示パネルや操作ボタンなどによって構成され、ユーザによる対話的操作を可能にする。入力デバイス35は、ユーザインターフェース34から与えられるユーザによる撮像指示に従い、CCDによって撮像して得られるイメージデータを内部バスに入力する。ファイルシステム36は、例えば、フラッシュメモリやハードディスクによって構成されるいわゆる外部記憶装置であり、入力デバイス35によって取り込まれたイメージデータを所定のフォーマットで記憶する。通信I/F37は、ネットワーク4に物理的に接続され、プリンタ1との間でネットワーク通信を可能にするためのものである。
2 コマンドの説明
本実施形態に係るプリントシステムにおいては、ホスト装置2とプリンタ1とが所定のコマンド体系に基づく通信を行って、印刷処理を進めていく。以下、本実施形態に係るプリントシステムで定義されるコマンドを説明する。
2−1 コマンドの概要
図4は、本実施形態に係るプリントシステムに使用されるコマンドデータの概略を説明するための図である。同図に示すように、本実施形態におけるコマンドデータは、可変長のデータ列で構成される。以下、図中の各領域について説明する。
Next, embodiments of the present invention will be described with reference to the drawings.
1 Configuration 1-1 Configuration of Print System FIG. 1 is a diagram illustrating a configuration of a print system according to the present embodiment. As shown in FIG. 1, the
1-2 Configuration of Printer FIG. 2 is a diagram illustrating a hardware configuration of the
1-3 Configuration of Host Device FIG. 3 is a diagram illustrating a hardware configuration of the
2. Description of Commands In the print system according to the present embodiment, the
2-1 Outline of Command FIG. 4 is a diagram for explaining an outline of command data used in the print system according to the present embodiment. As shown in the figure, the command data in the present embodiment is composed of a variable-length data string. Hereinafter, each area in the figure will be described.
ESC:バイト列の先頭マーカ(コントロールコード“ESC”,1Bh)
class:コマンドの分類を表す1バイトのASCIIコード
classは以下のように分類される。
ESC: Byte string start marker (control code "ESC", 1Bh)
class: 1-byte ASCII code representing the classification of command The class is classified as follows.
d :data
m :model dependent
o :object
p :page
parameter length:パラメータブロックの長さ(バイト数)
command name:コマンド名を表す4バイトの文字列
classとの組み合わせでコマンドを識別する。
d: data
m: model dependent
o: object
p: page
parameter length: Length of parameter block (number of bytes)
command name: A command is identified by a combination with a 4-byte character string class representing a command name.
parameter block:パラメータブロック
任意の個数のパラメータユニットから構成される。
parameter block: Parameter block is composed of an arbitrary number of parameter units.
parameter unit:パラメータユニット
パラメータの種類を示す1バイトのparameter ID,区切り文字“:”および値valueで構成される。
parameter unit: Parameter unit Consists of 1-byte parameter ID indicating the type of parameter, delimiter ":", and value value.
コマンドは、それぞれ各パラメータの値のサイズが規定される。また、パラメータの値として2バイト以上の数値を用いる場合は、各コマンドの定義で特に示さない限りビッグエンディアンとする。 The size of the value of each parameter is specified for each command. When a numerical value of 2 bytes or more is used as the value of the parameter, the big endian is used unless otherwise specified in the definition of each command.
また、パラメータブロック中に同図(b)の形式のパラメータを含む場合には、“data length”で示されたバイト数のバイナリデータがパラメータブロックの後に続く。このバイナリデータのサイズは、“parameter length”には含まれない。 {Circle around (2)} When the parameter block includes a parameter in the format shown in FIG. 4B, binary data of the number of bytes indicated by “data length” follows the parameter block. The size of this binary data is not included in “parameter length”.
以降の説明では、コマンドを“[class:command name]”の形式で表す。例えば、[p:make]は、classが“p”、command nameが“make”であることを意味する。
2−2 各コマンドの説明
(1)[m:qlty] set printing quality 印刷品質設定(図5および図6)
本コマンドは、ホスト装置2からプリンタ1に対して送られる。本コマンドは、印刷条件を設定するためのものである。プリンタが特定され、ホスト装置が機種固有の情報を把握している場合と、機種に依存せずに設定する場合とで、パラメータの内容が異なる。
In the following description, a command is represented in the format of “[class: command name]”. For example, [p: make] means that the class is “p” and the command name is “make”.
2-2 Explanation of each command (1) [m: qlty] set printing quality Print quality setting (Figs. 5 and 6)
This command is sent from the
M:用紙品質を指定する。設定可能な値の範囲および対応する用紙の種類は、機種によって異なる。 $ M: Specify the paper quality. The settable value range and the corresponding paper type differ depending on the model.
Q:印刷品質を16段階で指定する。 Q: Designates print quality in 16 levels.
P,T:写真画像オブジェクト、およびテキスト・グラフ画像オブジェクトそれぞれの色補正を指定するパラメータを順に送る。各パラメータは、符号付き1バイトで、−50〜+50の範囲とする。−50より小さい値が指定された場合は、−50が指定されたものとして扱う。+50が指定された場合は、+50が指定されたものとして扱う。 $ P, T: Parameters for designating color correction for the photo image object and the text / graph image object are sent in order. Each parameter is one byte with a sign and ranges from -50 to +50. If a value smaller than -50 is specified, it is treated as if -50 was specified. If +50 is specified, it is treated as if +50 was specified.
B:カラー印刷/白黒印刷を指定する。 B: Specify color printing / black and white printing.
W:マイクロウィーブ印刷のオン/オフを指定する。拡張マイクロウィーブとして指定できる範囲および対応するマイクロウィーブの種類は、機種によって異なる。 W: Specifies on / off of microweave printing. The range that can be specified as the extended microweave and the type of the corresponding microweave differ depending on the model.
D:印刷方向制御の方式を指定する。 D: Designates the printing direction control method.
H:ハーフトーン処理の種類を指定する。 $ H: Specifies the type of halftone processing.
Z:ドットサイズを指定する。設定可能な値の範囲および対応するドットサイズは、機種によって異なる。 Z: Specifies the dot size. The settable value range and the corresponding dot size differ depending on the model.
H,T:水平・垂直方向の印刷解像度をdpi(dot per inch)で指定する。設定可能な値の範囲およびデフォルト値は機種によって異なる。また、水平・垂直のどちらか一方のみの指定の場合は、どちらもデフォルト値となる。 H, T: Designate the print resolution in the horizontal and vertical directions by dpi (dot per inch). The range of values that can be set and the default value differ depending on the model. If only one of horizontal and vertical is specified, both are default values.
L:色変換に用いる参照テーブルとして、[m:slut]で設定したユーザ定義LUTのIDを指定する。指定可能な範囲は、プリンタの機種によって異なる。また、lut-idが指定されていない場合は、用紙の種類や印刷品質に合わせて、プリンタ1が判断し、プリンタ1に内蔵されたLUTを用いる。
(2)[m:slut] set user defined LUT ユーザ定義LUT設定(図7)
本コマンドは、ホスト装置2からプリンタ1に対して送られる。本コマンドは、色変換に用いるLUTとして、ユーザ定義のものをプリンタに設定するためのものである。
L: Specifies a user-defined LUT ID set in [m: slut] as a reference table used for color conversion. The specifiable range depends on the printer model. When the lut-id is not specified, the
(2) [m: slut] set user defined LUT User defined LUT setting (Fig. 7)
This command is sent from the
I:LUTのID番号を指定する。設定可能なID番号の範囲およびID番号に対応するLUTの記憶先の種類は、機種によって異なる。対応しないID番号を指定した場合、本コマンドは無視される。 $ I: Specify the ID number of the LUT. The settable ID number range and the type of storage destination of the LUT corresponding to the ID number differ depending on the model. If an unsupported ID number is specified, this command is ignored.
+:LUTデータの長さを示す。 +: Indicates the length of LUT data.
本コマンドに続くdtlenバイトのバイナリデータがLUTデータとして扱われる。LUTデータのフォーマットは、機種によって異なる。
(3)[p:inqa] inquire page availabillity ページ有効範囲問い合わせ(図8)
本コマンドは、ホスト装置2からプリンタ1に対して送られる。本コマンドは、ページ印刷領域の設定可能な範囲および配置の回答をプリンタ1に要求するためのものである。プリンタ1は、本コマンドに対して[p:rpla]コマンドで回答する。
The dtlen-byte binary data following this command is treated as LUT data. The format of the LUT data differs depending on the model.
(3) [p: inqa] inquire page availabillity Query the page valid range (Fig. 8)
This command is sent from the
D:この問い合わせに対する回答で用いる分母を指定する。指定されない場合は、プリンタの規定値を用いる。
(4)[p:rpla] reply page availabillity ページ有効範囲回答(図9)
本コマンドは、プリンタ1からホスト装置2に対して送られる。本コマンドは、[p:inqa]コマンドによる問い合わせに対して、ページ印刷領域の設定可能な範囲を回答するためのものである。
D: Specify the denominator used in answering this inquiry. If not specified, use the printer's specified value.
(4) [p: rpla] reply page availabillity Page valid range answer (Fig. 9)
This command is sent from the
D:[p:inqa]コマンドによって指定された値で、以下の各パラメータの分母を表す。ただし、[p:inqa]コマンドで指定された値を用いたときに分子の値が4バイトに収まらない場合や、[p:inqa]コマンドで0が指定された場合、または[p:inqa]コマンドでdenomiが指定されていない場合は、プリンタの既定値を用いて回答する。 D: A value specified by the [p: inqa] command, which represents the denominator of each of the following parameters. However, when the value of the numerator does not fit into 4 bytes when using the value specified by the [p: inqa] command, when 0 is specified by the [p: inqa] command, or when [p: inqa] If denomi is not specified in the command, the answer is given using the default value of the printer.
W,H:設定可能なページ印刷領域の最大幅および最大長を示す。 $ W, H: Indicates the maximum width and maximum length of the page print area that can be set.
最大幅=width/denomi (inch)
最大長=height/denomi (inch)
なお、最大幅および最大長が整数にならない場合は、切り捨てて回答する。
Maximum width = width / denomi (inch)
Maximum length = height / denomi (inch)
If the maximum width and the maximum length do not become integers, the answer is rounded down.
T:用紙上端からページ印刷領域の上端までの距離(トップマージン)の設定可能な最小値を示す。 T: Indicates a settable minimum value of the distance (top margin) from the top edge of the paper to the top edge of the page print area.
トップマージン最小値=tmrgin/denomi (inch)
なお、トップマージン最小値が整数にならない場合は、切り捨てて回答する。
Minimum top margin = tmrgin / denomi (inch)
If the minimum value of the top margin is not an integer, the answer is rounded down.
L:用紙左端からページ印刷領域の水平方向開始位置までの距離(レフトマージン)を示す。 L: Indicates the distance (left margin) from the left edge of the sheet to the horizontal start position of the page print area.
レフトマージン=lmrgin/denomi (inch)
なお、レフトマージンが整数にならない場合は、切り捨てて回答する。
Left margin = lmrgin / denomi (inch)
If the left margin does not become an integer, round down the answer.
R:用紙右端からページ印刷領域の右端までに必要な最小の距離(ライトマージン最小値)を示す。用紙右端からページ印刷領域右端までの距離がライトマージン最小値を下回るようなページ印刷領域の設定を行った場合の処理は、機種に依存する。 R: Indicates the minimum distance (minimum write margin) required from the right edge of the sheet to the right edge of the page print area. The processing when the page print area is set such that the distance from the right edge of the sheet to the right edge of the page print area is smaller than the minimum value of the write margin depends on the model.
ライトマージン最小値=rmrgin/denomi (inch)
なお、ライトマージン最小値が整数にならない場合は、切り捨てて回答する。
Light margin minimum = rmrgin / denomi (inch)
If the minimum value of the write margin is not an integer, the answer is rounded down.
B:用紙下端からページ印刷領域の下端までに必要な最小の距離(ボトムマージン最小値)を示す。用紙下端からページ印刷領域下端までの距離がボトムマージン最小値を下回るようなページ印刷領域の設定を行った場合の処理は、機種に依存する。 B: Indicates the minimum distance (minimum bottom margin) required from the bottom edge of the paper to the bottom edge of the page print area. The processing when the page print area is set such that the distance from the bottom edge of the paper to the bottom edge of the page print area is smaller than the minimum value of the bottom margin depends on the model.
ボトムマージン最小値=bmrgin/denomi (inch)
なお、ボトムマージン最小値が整数にならない場合は、切り捨てて回答する。
(5)[p:make] make page ページフォーマット定義(図10)
本コマンドは、ホスト装置2からプリンタ1に対して送られる。本コマンドは、ページ印刷領域のサイズを設定するとともに、印刷オブジェクトの配置方法を指定するためのものである。ホスト装置2は、ページ印刷領域を格子状に分割し、各セルに印刷オブジェクトを配置していく“自動配置”と、印刷オブジェクトごとに位置を指定する“個別指定”のどちらかを指定し、“自動配置”の場合は、ページ印刷領域を水平・垂直方向にそれぞれいくつに区切るかを指定する。
Minimum bottom margin = bmrgin / denomi (inch)
If the minimum value of the bottom margin is not an integer, the answer is rounded down.
(5) [p: make] make page Page format definition (Figure 10)
This command is sent from the
D:以下の各パラメータの分母を表す。 D: represents the denominator of each of the following parameters.
W,H:ページ印刷領域の幅および長さを指定する。 $ W, H: Specifies the width and length of the page print area.
幅=width/denomi (inch)
長さ=height/denomi (inch)
最大値を超える幅および/または長さが指定された場合は、最大幅および/または最大長が設定されたものとして扱う。denomiが指定されていない場合や0が指定された場合は、widthおよびheightは、[m:qlty]コマンドで指定されている解像度におけるドット数として扱う。
Width = width / denomi (inch)
Length = height / denomi (inch)
If a width and / or length exceeding the maximum value is specified, it is treated as if the maximum width and / or maximum length has been set. If denomi is not specified or 0 is specified, width and height are treated as the number of dots at the resolution specified by the [m: qlty] command.
T:用紙上端からページ印刷領域の上端までの距離(トップマージン)を指定する。 $ T: Specifies the distance (top margin) from the top edge of the paper to the top edge of the page print area.
トップマージン=tmrgin/denomi (inch)
最小値を下回るトップマージンが指定された場合は、プリンタ1は、最小値が設定されたものとして扱う。また、denomiが指定されていない場合や0が指定された場合は、tmrginは、[m:qlty]コマンドで指定されている解像度におけるドット数として扱う。
Top margin = tmrgin / denomi (inch)
When a top margin smaller than the minimum value is specified, the
A:印刷オブジェクトの配置方法を指定する。なお、“垂直方向直列配置”の場合は、単方向通信による画像データの転送を行う。 A: Designates the method of arranging print objects. In the case of "vertical serial arrangement", image data is transferred by one-way communication.
H,V:水平方向、垂直方向の分割数を指定する。これらが指定されていない場合や0が指定された場合は、“自動配置”にはならない。印刷オブジェクトの配置方法が“自動配置”以外の場合は、これらのパラメータは無視される。 H, V: Designates the number of divisions in the horizontal and vertical directions. If these are not specified or if 0 is specified, it does not become "automatic arrangement". If the method of arranging print objects is other than "automatic arrangement", these parameters are ignored.
X,Y:分割された各領域間の余白として取る部分の割合をパーセンテージで指定する。指定されていない場合や100異常の値が指定された場合は、0が指定されたものとして扱う。印刷オブジェクトの配置方法が“自動配置”以外の場合は、これらのパラメータは無視される。
(6)[p:proc] proceed 印刷進行
本コマンドは、ホスト装置2からプリンタ1に対して送られる。本コマンドは、それまでに設定した画像オブジェクトの印刷を実行するように指示するためのものである。
(7)[p:fini] page finished ページ処理終了(図11)
本コマンドは、プリンタ1からホスト装置2に対して送られる。本コマンドは、[p:endp]コマンドまでに設定された印刷情報について、展開処理が終了したことを通知するためのものである。
(8)[o:req3] request object numbers オブジェクト番号要求(図12)
本コマンドは、ホスト装置2からプリンタ1に対して送られる。本コマンドは、印刷オブジェクトの設定に使用する“オブジェクト番号”の発行をプリンタに要求するためのものである。プリンタ1は、本コマンドで要求した数に達するまで、1または複数回、[o:iss#]コマンドによりオブジェクト番号を発行する。
(9)[p:endp] end of page ページ設定終了(図13)
本コマンドは、ホスト装置2からプリンタ1に対して送られる。本コマンドは、1ページ分の印刷情報設定が終了したことを通知するためのものである。本コマンドを受信した場合、[o:req#]コマンドで要求した数のオブジェクト番号が、まだ[o:iss#]コマンドで発行されていない場合、残りの分についての発行は行われない。また、[o:iss#]コマンドでプリンタからオブジェクト番号が発行されたにもかかわらず、まだ[o:make]コマンドで使用されていないオブジェクト番号があった場合、そのオブジェクト番号は無効となる。
(10)[p:term] terminate page ページ処理中断(図14)
本コマンドは、ホスト装置2からプリンタ1に対して送られる。本コマンドは、印刷中のページの処理を中断させるためのものである。プリンタ1は、処理中のすべての印刷オブジェクトについて中断処理を行い、各印刷オブジェクトについて[o:rles]コマンドで処理終了をホスト装置2に通知する。すべての印刷オブジェクトの処理を中断した後、[p:fini]コマンドでページ処理の中断が完了したことをホスト装置2に通知する。[o:req#]コマンドで要求した数のオブジェクト番号がまだ[o:iss#]コマンドで発行されていない場合、残りの分についての要求はキャンセルとしたものみなされる。また、[o:iss#]コマンドでプリンタ1からオブジェクト番号が発行されたにもかかわらず、まだ]m:make]コマンドで使用されていないオブジェクト番号があった場合、そのオブジェクト番号は無効となる。
(11)[o:iss#] issue object numbers オブジェクト番号発行(図15)
本コマンドは、プリンタ1からホスト装置2に対して送られる。本コマンドは、[o:req#]コマンドによる要求に対して、使用可能なオブジェクト番号を発行するためのものである。
X, Y: The percentage of the portion to be taken as a margin between the divided areas is specified as a percentage. If it is not specified or if a value of 100 is specified, it is treated as if 0 has been specified. If the method of arranging print objects is other than "automatic arrangement", these parameters are ignored.
(6) [p: proc] proceed Print Progress This command is sent from the
(7) [p: fini] page finished Page processing end (Fig. 11)
This command is sent from the
(8) [o: req3] request object numbers Request object number (Figure 12)
This command is sent from the
(9) [p: endp] end of page End of page setting (Figure 13)
This command is sent from the
(10) [p: term] terminate page Interrupt page processing (Fig. 14)
This command is sent from the
(11) [o: iss #] issue object numbers Issue object numbers (Figure 15)
This command is sent from the
N:本コマンドで発行するオブジェクト番号の数を示す。 $ N: Indicates the number of object numbers issued by this command.
#:印刷オブジェクトの設定のためにホスト装置2が使用可能なオブジェクト番号を示す。同時に複数のオブジェクト番号を発行する場合、(nobj#)で示した数の相異なるオブジェクト番号が続く。
(12)[o:mkim] make image object 画像オブジェクト設定(図16,図17,図18および図19)
本コマンドは、ホスト装置2からプリンタ1に対して送られる。本コマンドは、画像印刷オブジェクトの設定を行うためのものである。[p:make]コマンドでページフォーマットの指定が行われていない場合は、本コマンドは無効となる。
#: Indicates an object number that can be used by the
(12) [o: mkim] make image object Image object setting (Fig. 16, Fig. 17, Fig. 18 and Fig. 19)
This command is sent from the
#:[o:iss#]コマンドで発行されたオブジェクト番号の1つを選んで指定する。以後、該当する印刷オブジェクトに関する情報・画像データなどのホスト装置2とプリンタ1との間での情報の交換は、このオブジェクト番号を用いて行う。以下のような場合には、本コマンドは無効となる。
#: Select and specify one of the object numbers issued by the [o: iss #] command. Thereafter, information exchange between the
(i) オブジェクト番号が指定されていない。 (I) Object number is not specified.
(ii) [o:iss#]コマンドで発行されたオブジェクト番号以外のオブジェクト番号が指定された。 (Ii) An object number other than the object number issued by the [o: iss #] command was specified.
(iii) すでに[o:mkim]コマンドで設定されているオブジェクト番号が指定された。 (Iii) An object number already set with the [o: mkim] command has been specified.
D:以下のパラメータの分母を表す。 D: represents the denominator of the following parameters.
X,Y:ページ印刷領域の左上を原点として、オブジェクト展開領域の左上の位置を指定する。 X, Y: Designates the upper left position of the object development area with the upper left of the page print area as the origin.
水平位置=(xpos)/(denomi) (inch)
垂直位置=(ypos)/(denomi) (inch)
denomiが指定されていない、または0が指定された場合は、xposおよびyposは[m:qlty]コマンドで指定されている解像度におけるドット数として扱う。また、ページ印刷領域以外の位置が指定された場合、オブジェクトの印刷は行われずに、[o:rles]コマンドでエラーが通知される。この場合、このオブジェクト番号は、再び[o:iss#]コマンドで発行されるまで使用できない。
Horizontal position = (xpos) / (denomi) (inch)
Vertical position = (ypos) / (denomi) (inch)
If denomi is not specified or 0 is specified, xpos and ypos are treated as the number of dots at the resolution specified by the [m: qlty] command. If a position other than the page print area is specified, the object is not printed and an error is notified by the [o: rles] command. In this case, this object number cannot be used until it is issued again with the [o: iss #] command.
また、[p:make]コマンドで自動配置が指定された場合には、これらのパラメータは無視される。 If automatic placement is specified by the [p: make] command, these parameters are ignored.
W,H:オブジェクト展開領域の幅および長さを設定するためのものである。 $ W, H: For setting the width and length of the object development area.
幅=(width)/(denomi) (inch)
長さ=(height)/(denomi) (inch)
denomiが指定されていない、または0が指定された場合は、widthおよびheightは[m:qlty]コマンドで指定されている解像度におけるドット数として扱う。また、ページ印刷領域からはみ出すような幅および長さが指定された場合、オブジェクトの印刷は行われずに、[o:rles]コマンドでエラーが通知される。この場合、このオブジェクト番号は、再び[o:iss#]コマンドで発行されるまで使用できない。
Width = (width) / (denomi) (inch)
Length = (height) / (denomi) (inch)
If denomi is not specified or 0 is specified, width and height are treated as the number of dots at the resolution specified by the [m: qlty] command. If the width and length are set so as to protrude from the page print area, an error is notified by the [o: rles] command without printing the object. In this case, this object number cannot be used until it is issued again with the [o: iss #] command.
また、[p:make]コマンドで自動配置が指定された場合には、これらのパラメータは無視される。 If automatic placement is specified by the [p: make] command, these parameters are ignored.
R:画像の回転方向を指定する。なお、“4”または“5”が指定された場合、プリンタ1が自身の能力に応じて決定することになる。
R: Designates the rotation direction of the image. If “4” or “5” is specified, the
F:オブジェクト展開領域と画像データの縦横比が異なる場合の、サイズ調整方法を指定する。 $ F: Specifies the size adjustment method when the aspect ratio between the object development area and the image data is different.
“0”の場合、画像データががすべて紙面に現れるように印刷する。オブジェクト展開領域の左右または上下が余ることになる。画像の縦横比は保存される。 In the case of "0", printing is performed so that all the image data appears on the paper. The left and right or top and bottom of the object development area are left. The aspect ratio of the image is preserved.
“1”の場合、オブジェクト展開領域がすべて埋め尽くされるように印刷する。画像データの左右または上下が切れることになる。画像の縦横比は保存される。 場合 If “1”, print so that the object development area is completely filled. The left and right or top and bottom of the image data will be cut off. The aspect ratio of the image is preserved.
“2”の場合、画像データがオブジェクト展開領域にぴったり収まるように、画像の縦横比を変更して印刷する。 In the case of “2”, the image is printed with the aspect ratio changed so that the image data fits exactly in the object development area.
A:size fittingで“0”または“1”が指定された場合、上下および左右方向の配置を指定する。 A: When “0” or “1” is specified in size fitting, the arrangement in the up-down and left-right directions is specified.
Q:画像の展開処理を高速に行うため、可能であれば、画像データを間引いて展開するように指示する。解像度の低いデータを用いることになるため、印刷品質が低下する。また、リサイズにはTBDで指定したアルゴリズムを用いず、最も高速なリサイズアルゴリズムを用いる。 Q: In order to perform image expansion processing at high speed, if possible, instruct the image data to be thinned and expanded. Since low-resolution data is used, print quality is degraded. Also, the resizing uses the fastest resizing algorithm without using the algorithm specified by the TBD.
I:適切な色変換処理を行うために、画像の種別を指定する。ただし、画像データがインテント情報を含むフォーマットである場合には、intentによる指定は無視される。 $ I: Specify the type of image to perform appropriate color conversion processing. However, when the image data is in a format including intent information, the specification by intent is ignored.
Z:イメージデータのサイズをバイト数で指定する。プリンタ1が十分なメモリ領域を有している場合には、イメージデータをバッファリングすることにより、(特に画像を回転させる場合)高速に展開処理が行われる可能性がある。dtsizeが指定されていない場合、十分なメモリ領域を有している場合であっても、イメージデータのバッファリングは行われない。
$ Z: Specifies the size of the image data in bytes. If the
P:APF(Auto Photo Fine)の設定を指定する。APFとは画質の調整を行うための処理である。上位バイトでAPF適用の有無、下位バイトでAPF適用項目が指定される。上位バイトが“1”の場合、印刷宇野前に画像データをプリスキャンし、下位バイトで指定した項目の補正を行う。上位バイトが“2”の場合、パラメータS(statistical data)で送る画像統計値に基づいて、簡易APFを適用する。簡易APFは、コントラスト強調、彩度強調およびシャープネスを行う。この場合、画像データのプリスキャンは行われない。また、statistical dataのパラメータがない場合は、簡易APFは適用しない。なお、上位バイトが“0”または“1”の場合、下位バイトは無視される。 P: Specify APF (Auto Photo Fine) settings. APF is a process for adjusting image quality. The upper byte specifies whether APF is applied and the lower byte specifies APF application items. If the upper byte is "1", the image data is pre-scanned before printing, and the item specified by the lower byte is corrected. When the upper byte is “2”, the simple APF is applied based on the image statistic value sent by the parameter S (statistical data). The simple APF performs contrast enhancement, saturation enhancement, and sharpness. In this case, the prescan of the image data is not performed. If there is no statistical data parameter, the simple APF is not applied. When the upper byte is “0” or “1”, the lower byte is ignored.
S:簡易APFを適用するための画像データの統計データを順に送るためのものである。統計データは、最大値(YMAX,RMAX,GMAX,BMAX)、最小値(Ymin,Rmin,Gmin,Bmin)、標準偏差値(YSTD,RSTD,GSTD,BSTD)および平均値(YAVR,RAVR,GAVR,BAVR)からなる。ここで、Yは1バイトで表される輝度であり、次式で示される。 $ S: This is for sequentially sending the statistical data of the image data for applying the simple APF. The statistical data includes the maximum value (YMAX, RMAX, GMAX, BMAX), the minimum value (Ymin, Rmin, Gmin, Bmin), the standard deviation value (YSTD, RSTD, GSTD, BSTD) and the average value (YAVR, RAVR, GAVR, BAVR). Here, Y is luminance represented by one byte, and is represented by the following equation.
Y=(38×R+76×G+14×B)/128
また、RGBは各色8ビットで表される。
Y = (38 × R + 76 × G + 14 × B) / 128
RGB is represented by 8 bits for each color.
T:切り取りガイド線の描画を指定する。枠線の描画と同時に指定した場合、枠線の描画指定は無効となる。各値は、denomiを分母とした値を指定する。例えば、
水平方向オフセット=OH /denomi (inch)
denomiが指定されていない場合または0が指定された場合は、値は[m:qlty]コマンドで指定されている解像度におけるドット数として扱う。
T: Specifies the drawing of the cut guide line. If it is specified at the same time as the drawing of the frame, the drawing of the frame will be invalid. Each value specifies a value with denomi as the denominator. For example,
Horizontal offset = OH / denomi (inch)
If denomi is not specified or 0 is specified, the value is treated as the number of dots at the resolution specified by the [m: qlty] command.
B:枠線の描画を指定する。ただし、切り取りガイド線の描画が指定されている場合は、枠線の描画指定は無効である。各値は、denomiを分母とした値を指定する。例えば、
水平方向オフセット=OH /denomi (inch)
denomiが指定されていない場合または0が指定された場合は、値は[m:qlty]コマンドで指定されている解像度におけるドット数として扱う。
B: Designation of frame line drawing. However, when the drawing of the cutting guide line is designated, the drawing designation of the frame line is invalid. Each value specifies a value with denomi as the denominator. For example,
Horizontal offset = OH / denomi (inch)
If denomi is not specified or 0 is specified, the value is treated as the number of dots at the resolution specified by the [m: qlty] command.
“>”および“)”は、画像のキャプションの位置、サイズおよび色を指定する。指定されない場合は、キャプションは印刷されない。 “>” And “)” designate the position, size and color of the caption of the image. If not specified, the caption will not be printed.
offset:オブジェクト展開領域の端からの距離を指定する。 Offset: Specifies the distance from the end of the object development area.
距離=offset/denomi (inch)
denomiが指定されていない場合または0が指定された場合は、値は[m:qlty]コマンドで指定されている解像度におけるドット数として扱う。
Distance = offset / denomi (inch)
If denomi is not specified or 0 is specified, the value is treated as the number of dots at the resolution specified by the [m: qlty] command.
pos:位置と文字の向きを指定する。 Pos: Designates the position and character direction.
P :画像に対する位置(0:上,1:下,2:右,3:左)
A :配置(0:左寄せ,1:中央,2:右寄せ)
I :文字の向き(0:正位置,1:逆転)
pitch :文字ピッチを指定する。
P: Position with respect to the image (0: upper, 1: lower, 2: right, 3: left)
A: Arrangement (0: left alignment, 1: center, 2: right alignment)
I: Direction of character (0: normal position, 1: reverse)
pitch: Specifies the character pitch.
size:文字のサイズを指定する。 Size: Specifies the size of the character.
R,G,B :テキストの色をRGB各色8ビットで指定する。 $ R, G, B: Specify the text color with 8 bits for each color of RGB.
<,(:キャプションの文字列をASCIIコードで指定する。48バイト固定長で、これよりも短い文字列を使用する場合は不要な部分をヌルキャラクタで埋める。
(13)[o:rles] release object オブジェクト解放(図20)
本コマンドは、プリンタ1からホスト装置2に対して送られる。本コマンドは、印刷オブジェクトの処理が終了したことを通知するためのものである。
<, (: Specifies the character string of the caption in ASCII code. When a character string of a fixed length of 48 bytes is used, unnecessary portions are filled with null characters.
(13) [o: rles] release object Object release (Fig. 20)
This command is sent from the
#:処理が終了した印刷オブジェクトのオブジェクト番号を示す。 #: Indicates the object number of the print object for which processing has been completed.
S:処理終了の状態を示すためのものである。
(14)[o:dreq] data request データ要求(図21)
本コマンドは、プリンタ1からホスト装置2に対して送られる。本コマンドは、オブジェクトの画像データをホスト装置2に要求するためのものである。
S: Indicates the end state of the processing.
(14) [o: dreq] data request Data request (Fig. 21)
This command is sent from the
#:データを要求する印刷オブジェクトのオブジェクトを指定する。 #: Specify the print object for which data is requested.
L:要求するデータ長を指定する。 $ L: Specifies the requested data length.
ホスト装置2は、本コマンドを受信した場合、該当する印刷オブジェクトのデータを要求されたバイト数に従って[d:dsnd]コマンドで送信する。また、ホスト装置2は、送信できない場合には、[d:dsnd]コマンドでエラーを通知する。
(15)[d:dsnd] send data データ送信(図22)
本コマンドは、ホスト装置2からプリンタ1に対して送られる。本コマンドは、[d:dreq]コマンドで要求された画像データをプリンタ1に対して送信する。
When receiving this command, the
(15) [d: dsnd] send data Data transmission (Fig. 22)
This command is sent from the
#:データを送信する印刷オブジェクトのオブジェクト番号を指定する。 #: Specify the object number of the print object to send data.
S:画像データの送信情報を示す。 S: Indicates transmission information of image data.
+:送信するデータ長を示す。statusが“1”または“2”の場合で、データを送信できない場合は、dtlenは0とする。 +: Indicates the data length to be transmitted. If the status is "1" or "2" and data cannot be transmitted, dtlen is set to 0.
なお、本コマンドに続くdtlenバイトのバイナリデータが画像データとして扱われる。
(16)[d:seek] seek データ読み出し位置変更(図23)
本コマンドは、プリンタ1からホスト装置2に対して送られる。本コマンドは、印刷オブジェクトのデータ読み出し位置の変更をホスト装置に要求するためのものである。
The dtlen-byte binary data following this command is treated as image data.
(16) [d: seek] seek Data read position change (Fig. 23)
This command is sent from the
#:読み出し位置を変更する印刷オブジェクトのオブジェクト番号を指定する。 #: Specifies the object number of the print object whose read position is to be changed.
O:読み出し位置指定の基準を示す。 O: Indicates a reference for reading position designation.
L:originからデータ読み出し位置までの距離を符号付きのバイト数で示す。 L: Indicates the distance from the origin to the data read position in the number of signed bytes.
ホスト装置2は、[d:dreq]コマンドを受信した後、要求したデータを[d:dsnd]コマンドでプリンタ1に送信するまでの間に本コマンドを受信した場合、要求されたデータを送信した後に読み出し位置を変更する。
3 機能構成
次に、本実施形態に係るプリントシステムの機能構成について説明する。
3−1 プリンタの機能構成
図24は、プリンタ1の機能構成を示すブロックダイアグラムである。すなわち、同図は、図2に示したプリンタ1を機能的に表現したものである。同図に示すように、プリンタ1は、通信I/F部241、コマンド解釈部242、印刷設定処理部243、固有情報記憶部244、設定情報記憶部245、印刷処理部246およびプリントエンジン部246を備える。
If the
3. Functional Configuration Next, a functional configuration of the print system according to the present embodiment will be described.
3-1 Functional Configuration of Printer FIG. 24 is a block diagram illustrating a functional configuration of the
コマンド解釈部242は、通信I/F部241(図2の通信I/F28に相当する。)を介してホスト装置2からコマンドデータを受け取ると、このコマンドデータに含まれるコマンドを解釈し、その解釈結果に応じた処理が行われるように制御する。印刷設定処理部243は、ホスト装置2との間で、定義されたコマンド体系に基づく通信によって、印刷設定に関する処理を進行させていく。印刷設定処理部43の詳細については後述する。固有情報記憶部244は、自身の仕様に関する情報(以下「固有情報」という。)を記憶する。固有情報は、例えば、対応可能な解像度、対応可能な用紙サイズ、ページ有効範囲など、プリンタの機種ごとに定められた値である。印刷設定情報記憶部245は、ホスト装置2から送られる印刷設定要求に基づいて印刷設定処理部244が設定した印刷設定情報を記憶する。印刷処理部246は、コマンド解釈部242を介してホスト装置2から送られる印刷対象のデータ(印刷オブジェクト)を、印刷設定情報記憶部45に記憶された印刷設定情報に基づいて、ラスタ形式のビットマップデータに展開し、これをプリントエンジン部246(図2のプリントエンジン27に相当する。)に出力する。印刷処理部246の詳細については後述する。
Upon receiving command data from the
図25は、印刷設定処理部243の機能構成を示すブロックダイアグラムである。同図において、印刷品質設定部251は、印刷品質設定に関するコマンドデータ([m:qlty]コマンド)を処理する。印刷品質設定部251は、コマンドデータに含まれるパラメータユニットの内容に従い、固有情報記憶部244に記憶された固有情報を参照しながら、印刷品質に関する印刷設定情報を作成し、これを印刷設定情報記憶部245に出力する。つまり、ホスト装置2によって指定されるパラメータユニットの内容は絶対的なものではなく、プリンタ1の仕様に合うように変換され、印刷設定情報として出力される。例えば、画質を指定するパラメータ“Q”においては、1200dpiや600dpiというように絶対的な値が指定されるのではなく、16段階の相対的な値で指定される。従って、最高画質を意味する“15”が指定された場合、1200dpiに対応可能なプリンタであれば、画質は1200dpiに設定され、600dpiまで対応可能なプリンタであれば、画質は600dpiに設定されることになる。
FIG. 25 is a block diagram showing a functional configuration of the print
ページ有効範囲回答部252は、ページ有効範囲の問い合わせに関するコマンドデータ([p:inqa]コマンド)を処理する。ページ有効範囲回答部252は、このコマンドデータを受け取ると、固有情報記憶部244に記憶された固有情報を参照して、設定可能なページ印刷領域の範囲を回答するためのコマンドデータ(ページ有効範囲の回答に関するコマンドデータ([p:rpla]コマンド))を作成する。作成されたコマンドデータは、通信I/F部241を介して、ホスト装置2に送られる。なお、ページ有効範囲回答部252は、このコマンドデータのパラメータユニットで係数“D”が指定されている場合、この係数に基づいて設定可能なページ印刷領域の範囲が回答される。
(4) The page effective
ページフォーマット定義部253は、ページフォーマット定義に関するコマンドデータ([p:make]コマンド)を処理する。ページフォーマット定義部253は、このコマンドデータに含まれるパラメータユニットの内容に従って、ページ印刷領域のサイズや印刷オブジェクトの配置方法などのページフォーマットに関する印刷設定情報を作成し、これを印刷設定情報記憶部245に出力する。
(4) The page
オブジェクト番号発行部254は、オブジェクト番号の発行要求に関するコマンドデータ([o:req#]コマンド)を処理する。オブジェクト番号は、印刷オブジェクトを個別に管理するためのものである。オブジェクト番号発行部254は、パラメータユニットで指定されたオブジェクト番号の数(要求するオブジェクト数)に対して、自身が同時に管理可能な数分のオブジェクト番号を回答するためのコマンドデータ(オブジェクト番号の発行に関するコマンドデータ([o:iss#]コマンド))を作成する。作成されたコマンドデータは、通信I/F部241を介して、ホスト装置2に送られる。
The object
オブジェクト設定部255は、印刷オブジェクトの設定に関するコマンドデータ([o:mkim]コマンド)を処理する。オブジェクト設定部255は、このコマンドデータに含まれるパラメータユニットの内容に従って、印刷オブジェクトの設定に関する印刷設定情報を作成し、これを印刷設定情報記憶部245に出力する。
The
ページ設定終了部256は、ページ設定の終了に関するコマンドデータ([p:endp]コマンド)を処理する。ページ設定終了部256は、このコマンドデータを受け取ると、ページ設定の終了処理を行い、後述するオブジェクト要求部261にその旨を通知する。
The page setting
図26は、印刷処理部46の機能構成を示すブロックダイアグラムである。同図において、オブジェクト要求部261は、印刷オブジェクトのデータをホスト装置2に対して要求するため、データ要求に関するコマンドデータ([d:dreq]コマンド)を作成し、通信I/F部241に出力する。オブジェクト要求部261は、印刷設定情報記憶部45に記憶された印刷設定情報に従って印刷オブジェクトを特定し、印刷オブジェクトごとにそのデータを要求する。この場合、オブジェクト要求部261は、要求するデータの長さ(バイト数)を指定する。つまり、オブジェクト要求部61は、作成された印刷設定情報に従って印刷ページ領域に配置される印刷オブジェクトをラスタ順に特定し、その印刷オブジェクトに対して与えられるバッファの使用状況に応じて要求するデータ長を決定し、その印刷オブジェクトのオブジェクト番号を用いてホスト装置に要求する。
FIG. 26 is a block diagram showing a functional configuration of the print processing unit 46. In the figure, an
データ処理部262は、データ送信に関するコマンドデータ([d:dsnd]コマンド)を処理する。すなわち、データ処理部262は、データ要求に関するコマンドデータに応答してホスト装置2から送られるデータ送信に関するコマンドデータに含まれる印刷オブジェクトのデータを、印刷設定情報記憶部45に記憶された印刷設定情報に従ってデータ処理モジュール263に処理させて、最終的に得られたラスタ形式のビットマップデータをイメージメモリ264に出力する。本実施形態では、データ処理モジュール263は、画像展開部2631、解像度変換部2632、APF部2633および色変換部2634を備える。なお、データ処理部262は、印刷オブジェクトのデータをそれぞれ処理することができるように、発行したオブジェクト番号の数分の作業領域(バッファ)を有し、また、そのデータをホスト装置2から何バイト取得したか、何バンド目まで展開したか、ビットマップデータの何ライン目まで展開したかに関する情報を記憶することが好ましい。
The
画像展開部2631は、圧縮形式で転送される印刷オブジェクトのデータを展開(伸長)して元の印刷オブジェクトのデータに復元する。解像度変換部2632は、復元された印刷オブジェクトのデータを印刷設定情報記憶部245に記憶された印刷設定情報に従い、解像度を変換する。例えば、[o:mkim]コマンドで2×3(inch)の展開領域が指定され、[m:qlty]コマンドで間接的に720(dpi)の解像度が指定されている場合、イメージサイズが1440×2160(dot)のビットマップデータを印刷することになる。しかしながら、ホスト装置2から送られる印刷オブジェクトのイメージサイズは必ずしもこのサイズではない。このため、ホスト装置2から送られる印刷オブジェクトが印刷すべきイメージサイズよりも小さい場合は、補完処理を行い、逆に、ホスト装置2から送られる印刷オブジェクトが印刷すべきイメージサイズよりも大きい場合は間引き処理を行う。これら補完処理および間引き処理をここでは解像度変換と呼ぶものとする。なお、[o:mkim]コマンドの“F”パラメータで、縦横比を変更することにより印刷オブジェクトが展開領域にちょうど収まるように指定された場合には、縦方向と横方向とで変換率(補完/間引き率)を変えて解像度変換を行う。APF部2633は、印刷品質に関する印刷設定情報にAPF指定がある場合、その指定に従って画像の補正を行うものである。画像の補正には、例えば、トーン調整、彩度強調やシャープネスなどがある。また、画像の統計データを利用するものであってもよい。色変換部2634は、RGB各色8ビットで表現されるデータをCMYK各色8ビットで表現されるデータに変換する。この場合に、色変換部2634は、印刷設定情報に色変換のための参照テーブル(LUT)が指定されている場合には、これを参照する。
The
データ処理部262は、データ処理モジュール263に処理させて、印刷オブジェクトの展開を終了した場合には、その印刷オブジェクトのオブジェクト番号をオブジェクト解放部255に通知する。オブジェクト解放部255は、これを受けて、オブジェクト解放に関するコマンドデータ([o:rles]コマンド)を出力するとともに、その印刷オブジェクトを解放したことをオブジェクト番号発行部254に通知する。オブジェクト番号発行部254は、オブジェクト番号が解放されると、新たなオブジェクト番号を発行し、ホスト装置2に送る。これにより、ホスト装置2は、新たに発行されたオブジェクト番号に基づいて、印刷オブジェクトの設定を行うことができるようになる。
(4) When the
イメージメモリ264は、データ処理モジュール263によって処理されたラスタ形式のビットマップデータを記憶する。エンジン制御部266は、イメージメモリ264に記憶されたイメージデータをプリントエンジン部247に供給する。
3−2 ホスト装置の機能構成
図27は、ホスト装置2の機能構成を示すブロックダイアグラムである。すなわち、同図は、図3に示したホスト装置2を機能的に表現したものである。
The
3-2 Functional Configuration of Host Device FIG. 27 is a block diagram illustrating a functional configuration of the
印刷制御部271は、ユーザインターフェース部272(図3のユーザインターフェース34に相当する。)から与えられる印刷開始指示や印刷中断指示に従って、印刷の進行に関する制御を行う。印刷制御部271は、印刷の中断指示が与えられた場合、プリンタ1に対してページ処理中断に関するコマンドデータ([p:term]コマンド)を通信I/F部273に出力する。
The
印刷設定要求部274は、印刷仕様情報記憶部275を参照して、印刷仕様情報をパラメータユニットに含むコマンドデータ([m:qlty]コマンドなど)を作成し、通信I/F部73に出力する。印刷仕様情報は、印刷品質やページフォーマットに関する情報などを含む。印刷仕様情報は、予め設定され、またはユーザインターフェース部272から入力される。
The print
コマンド解釈部276は、通信I/F部273を介してプリンタ1からコマンドデータを受け取ると、このコマンドデータに含まれるコマンドを解釈して、その解釈結果に応じた処理が行われるように制御する。ファイルアクセス部277は、データ記憶部278をアクセスしてデータを書き込みまたは読み出すためのものである。ファイルアクセス部277は、データ要求に関するコマンドデータ([d:dreq]コマンド)を受け取ると、そのパラメータユニットで指定されている印刷オブジェクトのデータをデータ記憶部278から読み出して、これをパラメータユニットに含むデータ送信に関するコマンドデータ([d:dsnd]コマンド)を作成し、通信I/F部273に出力する。入力デバイス279は、ユーザI/F部272から与えられる入力指示に従って、取得したイメージデータをファイルアクセス部277を介してデータ記憶部278に記憶させる。
When receiving the command data from the
図28は、印刷設定要求部73の機能構成を示すブロックダイアグラムである。同図において、印刷品質設定要求部81は、印刷仕様情報記憶部74に記憶されている印刷仕様情報に基づいて印刷品質設定に関するコマンドデータを作成し、これを通信I/F部75に出力する。ページ有効範囲要求部82は、ページ有効範囲を問い合わせに関するコマンドデータを通信I/F部75に出力する。このコマンドデータに応答して、プリンタ1から送られるページ有効範囲の回答に関するコマンドデータ([p:rpla]コマンド)は、コマンド解釈部76を介してページフォーマット要求部83に入力される。ページフォーマット要求部83は、印刷仕様情報記憶部75に記憶された印刷仕様情報およびプリンタ1から取得したページ有効範囲に従ってページ印刷領域のサイズおよび配置方法などのページフォーマットに関するコマンドデータ(p:mak]コマンド)を作成する。オブジェクト番号要求部84は、印刷仕様情報記憶部75に記憶された印刷仕様情報に基づいて必要なオブジェクト番号をプリンタ1に要求するため、オブジェクト番号の発行要求に関するコマンドデータ([o:req#]コマンド)を出力する。このコマンドデータに応答してプリンタ1から送られるオブジェクト番号の発行に関するコマンドデータ([o:iss#]コマンド)は、オブジェクト設定要求部85に入力される。オブジェクト設定要求部85は、ページフォーマット要求部83によって設定されたページフォーマットに基づいて、印刷オブジェクトの設定に関するコマンドデータ([o:mkim]コマンド)を作成する。印刷オブジェクトの設定は、オブジェクト番号によって識別される印刷オブジェクトごとに行われる。ページ設定終了通知部86は、1ページ分([p:endp]コマンド)の印刷仕様の設定が終了したことをプリンタ1に通知するためのコマンドデータを作成する。
4 動作の説明
4−1 印刷設定処理
図29は、本実施形態に係るプリントシステムの印刷設定処理を説明するためのタイミングチャートである。
(1)ユーザから印刷開始指示が与えられると、ホスト装置2は、印刷品質設定に関するコマンドデータをプリンタ1に送る。プリンタ1は、このコマンドデータを受け取り、自身の固有情報に従って、印刷品質に関する印刷設定情報を作成する。
(2)ホスト装置2は、ページ有効範囲の問い合わせに関するコマンドデータをプリンタ1に送る。
(3)プリンタ1は、このコマンドデータを受け取ると、ページ有効範囲の回答に関するコマンドデータをホスト装置2に送る。
(4)ホスト装置2は、ページ有効範囲について回答を受け取ると、このページ有効範囲に基づいてページフォーマットを作成し、ページフォーマットに関するコマンドデータをプリンタ1に送る。プリンタ1は、このコマンドデータを受け取り、ページフォーマットに関する印刷設定情報を作成する。
(5)ホスト装置2は、プリンタ1にページフォーマットを要求した後、印刷オブジェクトの印刷に必要なオブジェクト番号の発行を要求するため、オブジェクト番号の発行要求に関するコマンドデータをプリンタ1に送る。
(6)プリンタ1は、オブジェクト番号の発行要求に関するコマンドデータを受け取ると、自身で同時に扱うことができるオブジェクト番号をホスト装置2に通知するため、オブジェクト番号の発行に関するコマンドデータをホスト装置2に送る。
(7)ホスト装置2は、プリンタ1によって許可されたオブジェクト番号に従い、印刷オブジェクトのそれぞれについてオブジェクト設定に関するコマンドデータをプリンタ1に送る。
(8)ホスト装置2は、印刷オブジェクトのそれぞれについて設定をプリンタ1に通知することにより、1ページ分の設定が終了すると、ページ設定終了に関するコマンドデータをプリンタ1に送る。プリンタ1は、このコマンドデータを受け取ることによって、次のデータ転送・印刷処理を開始する。
4−2 データ転送・印刷処理
図30は、本実施形態に係るプリントシステムのデータ転送処理を説明するためのタイミングチャートである。
(1)プリンタ1は、ページ設定終了に関するコマンドデータを受け取ると、印刷オブジェクトのデータを要求するため、データ要求に関するコマンドデータをホスト装置2に送る。
(2)ホスト装置2は、データ要求に関するコマンドデータを受け取ると、パラメータデータの指定に従って印刷オブジェクトのデータを読み出して、データ送信に関するコマンドデータをプリンタ1に送る。
(3)プリンタ1は、印刷オブジェクトのデータを受け取り、それに対する処理が終了した場合には、その印刷オブジェクトの解放をホスト装置2に通知するため、オブジェクト解放に関するコマンドデータをホスト装置2に出力する。
(4)プリンタ1は、1ページ分の印刷に必要な印刷オブジェクトのデータを受け取り、次の通信が可能になった時点で、ページ処理終了に関するコマンドデータをホスト装置2に送る。
FIG. 28 is a block diagram illustrating a functional configuration of the print setting request unit 73. In the figure, a print quality setting request unit 81 creates command data relating to print quality settings based on print specification information stored in a print specification
4. Description of Operation 4-1 Print Setting Process FIG. 29 is a timing chart for explaining the print setting process of the print system according to the present embodiment.
(1) When a print start instruction is given from the user, the
(2) The
(3) Upon receiving this command data, the
(4) When receiving the answer about the page effective range, the
(5) After requesting the
(6) When the
(7) The
(8) When the setting for one page is completed by notifying the
4-2 Data Transfer / Print Process FIG. 30 is a timing chart for explaining the data transfer process of the print system according to the present embodiment.
(1) Upon receiving the command data about the end of page setting, the
(2) When receiving the command data related to the data request, the
(3) When the
(4) The
上記実施形態は、本発明を説明するための例示であり、本発明をこれらの実施形態にのみ限定する趣旨ではない。本発明は、その要旨を逸脱しない限り、さまざまな形態で実施することができる。例えば、上記機能実現手段の動作をシーケンシャルに説明したが、特にこれにこだわるものではない。従って、動作に矛盾が生じない限り、処理の順序を入れ替えまたは並行動作するように構成しても良い。 The above embodiments are exemplifications for describing the present invention, and are not intended to limit the present invention only to these embodiments. The present invention can be implemented in various forms without departing from the gist thereof. For example, although the operation of the function realizing means has been described sequentially, the present invention is not particularly limited to this. Therefore, as long as no inconsistency occurs in the operation, the order of processing may be changed or the operation may be performed in parallel.
1…プリンタ
2…ホスト装置
3…パラレルケーブル
4…ネットワーク
241…通信インターフェース部
242…コマンド解釈部
243…印刷設定処理部
244…固有情報記憶部
245…印刷設定情報記憶部
246…印刷処理部
247…プリントエンジン
271…印刷制御部
272…ユーザインターフェース部
273…通信インタフェース部
274…印刷設定要求部
275…印刷仕様情報記憶部
276…コマンド解釈部
277…ファイルアクセス部
278…データ記憶部
279…入力デバイス部
DESCRIPTION OF
Claims (11)
前記印刷設定情報に基づいて印刷対象データを前記ホスト装置に要求し、
前記要求に従って前記ホスト装置から送られる印刷対象データを受け取り、
前記印刷設定情報に基づいて前記印刷対象データに基づく印刷を行うことを特徴とするプリンタ。 Receiving the print setting information sent from the host device,
Requesting the print target data to the host device based on the print setting information,
Receiving print target data sent from the host device according to the request,
A printer that performs printing based on the print target data based on the print setting information.
前記受け取った問い合わせ情報に対して、自身の固有情報に基づく回答情報を前記ホスト装置に送り、
前記回答情報に基づいて前記ホスト装置から送られる印刷設定情報を受け取り、
前記印刷設定情報に基づいて前記ホスト装置に印刷対象データを要求し、
前記要求に従って前記ホスト装置から送られる印刷対象データを受け取り、
前記印刷設定情報に基づいて前記印刷対象データに基づく印刷を行うことを特徴とするプリンタ。 Receives inquiry information about print settings sent from the host device,
For the received inquiry information, send response information based on its own unique information to the host device,
Receiving print setting information sent from the host device based on the answer information,
Requesting data to be printed from the host device based on the print setting information,
Receiving print target data sent from the host device according to the request,
A printer that performs printing based on the print target data based on the print setting information.
前記第1の受付手段によって受け付けた印刷設定情報に基づいて印刷対象データを前記ホスト装置に要求する要求手段と、
前記要求手段による要求に従って前記ホスト装置から送られる印刷対象データを受け付ける第2の受付手段と、
前記第1の受付手段で受け付けた印刷設定情報に基づいて前記印刷対象データに基づくビットマップデータを生成する生成手段と、
前記生成手段によって生成されたビットマップデータを記憶する記憶手段と、
前記記憶手段によって記憶されたビットマップデータに基づいて印刷記録媒体に対して印刷を実行する印刷手段と、
を備えたことを特徴とするプリンタ。 First receiving means for receiving print setting information sent from the host device;
Requesting means for requesting the host device for print target data based on print setting information received by the first receiving means;
Second accepting means for accepting print target data sent from the host device in accordance with a request from the requesting means;
Generating means for generating bitmap data based on the print target data based on print setting information received by the first receiving means;
Storage means for storing the bitmap data generated by the generation means,
Printing means for executing printing on a print recording medium based on the bitmap data stored by the storage means,
A printer comprising:
前記印刷設定情報が複数の印刷対象データに基づく印刷を指定する場合、前記複数の印刷対象データをそれぞれ要求することを特徴とする請求項3記載のプリンタ。 The requesting means includes:
4. The printer according to claim 3, wherein when the print setting information specifies printing based on a plurality of print target data, the plurality of print target data are requested.
前記印刷設定情報に基づいて所定の順序で印刷対象データを特定し、前記特定した印刷対象データを要求することを特徴とする請求項4記載のプリンタ。 The requesting means includes:
5. The printer according to claim 4, wherein print target data is specified in a predetermined order based on the print setting information, and the specified print target data is requested.
ビットマップデータを記憶する記憶手段と、
前記記憶手段に記憶されたビットマップデータに基づいて印刷記録媒体に対して印刷を実行する印刷手段とを備え、
前記処理手段は、
印刷設定に関するコマンドデータに基づく印刷設定情報で指定された印刷対象データを前記ホスト装置に要求する要求手段と、
前記印刷設定情報に基づいて、データ送信に関するコマンドデータから得られる印刷対象データに基づくビットマップデータを生成し、前記記憶手段に記憶させる生成手段と、
を備えたことを特徴とするプリンタ。 Processing means for interpreting command data sent from the host device and performing predetermined processing according to the result of the interpretation,
Storage means for storing bitmap data;
Printing means for executing printing on a print recording medium based on the bitmap data stored in the storage means,
The processing means includes:
Requesting means for requesting the host device for print target data specified by print setting information based on command data relating to print settings,
Generating means for generating bitmap data based on print target data obtained from command data relating to data transmission based on the print setting information, and storing the bitmap data in the storage means;
A printer comprising:
ホスト装置から送られるコマンドデータを解釈し、その解釈結果に応じて所定の処理を行う処理手段を備え、
前記処理手段は、
印刷設定に関するコマンドデータに基づく印刷設定情報で指定された印刷対象データを前記ホスト装置に要求する要求手段と、
データ送信に関するコマンドデータに基づいて得られる印刷対象データおよび前記印刷設定情報に基づいてビットマップデータを生成し、所定のメモリに記憶させる生成手段と、
を備えたことを特徴とするプログラムを記録した記録媒体。 A recording medium that records a program for realizing a predetermined function in a printer, wherein the program includes:
A processing unit that interprets command data sent from the host device and performs a predetermined process according to the interpretation result,
The processing means includes:
Requesting means for requesting the host device for print target data specified by print setting information based on command data relating to print settings,
Generating means for generating bitmap data based on print target data and the print setting information obtained based on command data relating to data transmission and storing the bitmap data in a predetermined memory;
A recording medium recording a program, characterized by comprising:
前記印刷設定情報に基づいて前記プリンタから送られる印刷対象データの要求に従って前記プリンタに前記印刷対象データを送ることを特徴とするホスト装置。 Send print setting information to the printer,
A host device for sending the print target data to the printer in accordance with a request for print target data sent from the printer based on the print setting information.
前記取得した固有情報に基づいて印刷設定情報を作成し、
前記作成した印刷設定情報を前記特定のプリンタに送ることを特徴とするホスト装置。 Obtain printer specific information required for printing with a specific printer from the specific printer,
Create print setting information based on the acquired unique information,
The host device sends the created print setting information to the specific printer.
所定のコマンドデータをプリンタに出力するとともに、前記プリンタから送られる所定のコマンドデータを受け取って、前記受け取った所定のコマンドデータを解釈し、その解釈結果に応じて所定の処理を行う処理手段を備え、
前記処理手段は、
印刷設定に関するコマンドデータを出力する設定要求手段と、
前記プリンタから送られるデータ要求に関するコマンドデータに基づいて、所定の記憶装置に記憶された印刷対象データを読み出して、前記印刷対象データに基づくデータ送信に関するコマンドデータを出力するデータ出力手段と、
を備えたことを特徴とするプログラムを記録した記録媒体。 A recording medium that records a program for realizing a predetermined function in a host device, wherein the program includes:
Processing means for outputting predetermined command data to the printer, receiving predetermined command data sent from the printer, interpreting the received predetermined command data, and performing predetermined processing according to the interpretation result; ,
The processing means includes:
Setting request means for outputting command data relating to print settings;
Data output means for reading out print target data stored in a predetermined storage device based on command data on a data request sent from the printer and outputting command data on data transmission based on the print target data,
A recording medium recording a program, characterized by comprising:
前記ホスト装置は、印刷設定情報を前記プリンタに送り、
前記プリンタは、前記ホスト装置から送られる印刷設定情報を受け取って、前記印刷設定情報で指定された印刷対象データを前記ホスト装置に要求し、
前記ホスト装置は、前記プリンタから送られる前記要求に従って前記プリンタに前記印刷対象データを送り、
前記プリンタは、前記ホスト装置から送られる印刷対象データを受け取り、前記印刷設定情報および前記印刷対象データに基づいて印刷を行うことを特徴とすることを特徴とするプリントシステム。 A print system including a host device and a printer,
The host device sends print setting information to the printer,
The printer receives print setting information sent from the host device, requests the host device for print target data specified by the print setting information,
The host device sends the print target data to the printer according to the request sent from the printer,
The printing system according to claim 1, wherein the printer receives print target data sent from the host device, and performs printing based on the print setting information and the print target data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003280202A JP2004005730A (en) | 2003-07-25 | 2003-07-25 | Printer, print system, and recording medium recording program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003280202A JP2004005730A (en) | 2003-07-25 | 2003-07-25 | Printer, print system, and recording medium recording program |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP25224299A Division JP2001075760A (en) | 1999-09-06 | 1999-09-06 | Printer, print system, and recording medium recording program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2004005730A true JP2004005730A (en) | 2004-01-08 |
Family
ID=30438695
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003280202A Pending JP2004005730A (en) | 2003-07-25 | 2003-07-25 | Printer, print system, and recording medium recording program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2004005730A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007083725A (en) * | 2005-09-22 | 2007-04-05 | Toshiba Corp | Image forming method of image forming apparatus |
-
2003
- 2003-07-25 JP JP2003280202A patent/JP2004005730A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007083725A (en) * | 2005-09-22 | 2007-04-05 | Toshiba Corp | Image forming method of image forming apparatus |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8130403B2 (en) | Printer for communicating commands with host device and method of controlling said printer | |
| US7099042B2 (en) | Image processing apparatus | |
| US6788428B1 (en) | Data printing system and method generating intermediate printing data for another application to change the printing data | |
| US8670150B2 (en) | Information processing apparatus, information processing method and printing control method | |
| WO1998037487A1 (en) | Method and system for accessing and rendering an image for transmission over a network | |
| EP1187059B1 (en) | Method and apparatus for printing computer generated images | |
| JP4405759B2 (en) | Print control method, information processing apparatus, and computer program | |
| JPH08286860A (en) | Output control method and apparatus and computer program product thereof | |
| US8493641B2 (en) | Image processing device, image processing method, and program for performing direct printing which considers color matching processing based on a profile describing the input color characteristics of an image input device and the output color characteristics of an image output device | |
| JP2002055792A (en) | Print control device and storage medium | |
| US6985258B1 (en) | Print system | |
| JP3744276B2 (en) | Printer, print control method, and recording medium recording program | |
| JP4032575B2 (en) | Printer, print control method, host device, and print system | |
| JP3744275B2 (en) | Printer, print control method, and recording medium recording program | |
| JP2001071596A (en) | Printer, print control method, and recording medium recording program | |
| JP2004005730A (en) | Printer, print system, and recording medium recording program | |
| US7724391B2 (en) | Image processing apparatus, image processing method and program | |
| JP2001075760A (en) | Printer, print system, and recording medium recording program | |
| JP2001071594A (en) | Printer, print control method, and recording medium recording program | |
| JP2001218075A (en) | Image processing apparatus, image processing method, and storage medium | |
| JP2000207147A (en) | Print data transfer system | |
| JP4646703B2 (en) | Image processing apparatus, control method therefor, and program | |
| JP2008302661A (en) | Print control device | |
| JP3858956B2 (en) | PRINT CONTROL METHOD, PRINT CONTROL DEVICE, MEDIUM RECORDING PRINT CONTROL PROGRAM, AND PRINTING DEVICE | |
| JP2006150891A (en) | Image forming apparatus |