JP6265053B2 - Printing control apparatus, printing system, and printing control method - Google Patents
Printing control apparatus, printing system, and printing control method Download PDFInfo
- Publication number
- JP6265053B2 JP6265053B2 JP2014116707A JP2014116707A JP6265053B2 JP 6265053 B2 JP6265053 B2 JP 6265053B2 JP 2014116707 A JP2014116707 A JP 2014116707A JP 2014116707 A JP2014116707 A JP 2014116707A JP 6265053 B2 JP6265053 B2 JP 6265053B2
- Authority
- JP
- Japan
- Prior art keywords
- printing
- data
- printer
- printing apparatus
- communication
- 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.)
- Active
Links
Images
Description
本発明は、印刷制御装置、印刷システム、及び、印刷制御方法に関する。 The present invention relates to a print control apparatus, a print system, and a print control method.
一般に、プリンター等の印刷装置を利用する場合、印刷装置の仕様に合わせた形態でデータを送受信する必要がある。プロトコル等のデータの形態に関する仕様は印刷装置の機種によって異なる場合も多い。このため、従来、印刷装置が対応するデータの形態を設定する手法が提案された(例えば、特許文献1参照)。特許文献1記載の方法では、複数の印刷装置と専用のサーバーと通信可能な装置により、サーバーに問合せをすることにより、プロトコルの選択を行う。 In general, when using a printing apparatus such as a printer, it is necessary to transmit and receive data in a form that matches the specifications of the printing apparatus. In many cases, specifications regarding data formats such as protocols differ depending on the type of printing apparatus. For this reason, conventionally, a method of setting the data format corresponding to the printing apparatus has been proposed (see, for example, Patent Document 1). In the method described in Patent Document 1, a protocol is selected by making an inquiry to a server using an apparatus capable of communicating with a plurality of printing apparatuses and a dedicated server.
特許文献1記載の方法では、サーバー装置を必要とするため、特許文献1に記載されたように多数の印刷装置を利用する場合は便利である一方、装置が多くなるため効率が悪い。
本発明は、上述した事情に鑑みてなされたものであり、印刷装置を制御する装置が、印刷装置が対応するデータの形態等に関する情報を、効率よく取得できるようにすることを目的とする。
Since the method described in Patent Document 1 requires a server device, it is convenient to use a large number of printing devices as described in Patent Document 1, but the efficiency is poor because the number of devices increases.
The present invention has been made in view of the above-described circumstances, and an object of the present invention is to enable an apparatus that controls a printing apparatus to efficiently acquire information on the form of data that the printing apparatus supports.
上記目的を達成するために、本発明は、印刷装置と通信可能に接続される通信部と、前記通信部により、前記印刷装置に対して通信可能な通信ポートを示すポート情報を要求し、前記要求に応じて前記印刷装置が送信するポート情報を受信する制御部と、を備え、前記制御部は、前記ポート情報に基づいて、前記印刷装置が対応可能なデータの形態を判別すること、を特徴とする。
本発明によれば、印刷装置が対応可能なデータの形態を、印刷装置から送信される情報に基づいて判別できる。このため、印刷装置の仕様に関する情報を持たない装置であっても、印刷装置からポート情報を受信すれば、印刷装置を制御できるようになる。この構成では、サーバー装置等の装置を必要としないので、印刷装置を含むシステムの規模を問わず適用できる。また、印刷装置が送信する情報は、通信可能な通信ポートに関する情報であって、一般的な情報である。このため、印刷装置に特別な機能を実装しなくても本発明を適用できる。
In order to achieve the above object, the present invention requests a communication unit that is communicably connected to a printing apparatus, and port information indicating a communication port that can communicate with the printing apparatus by the communication unit, and A control unit that receives port information transmitted by the printing apparatus in response to a request, and the control unit determines, based on the port information, the form of data that the printing apparatus can handle. Features.
According to the present invention, the form of data that can be handled by the printing apparatus can be determined based on information transmitted from the printing apparatus. For this reason, even a device that does not have information regarding the specifications of the printing device can control the printing device by receiving port information from the printing device. This configuration does not require a server device or the like, and can therefore be applied regardless of the scale of the system including the printing device. The information transmitted by the printing apparatus is information regarding communication ports that can communicate and is general information. Therefore, the present invention can be applied without mounting a special function in the printing apparatus.
また、本発明は、上記印刷制御装置において、前記制御部は、前記ポート情報に基づいて判別した形態に適合するデータを用いて、前記通信部により前記印刷装置と通信すること、を特徴とする。
本発明によれば、印刷装置が対応可能なデータの形態を用いて、印刷装置を制御できる。
Further, the present invention is characterized in that, in the print control device, the control unit communicates with the printing device by the communication unit using data suitable for a form determined based on the port information. .
According to the present invention, it is possible to control the printing apparatus using a data format that the printing apparatus can handle.
また、本発明は、上記印刷制御装置において、前記制御部は、前記通信部により前記印刷装置に対して前記要求を送信した後、前記ポート情報を前記通信部により受信しない場合には、前記印刷装置に対応するデータの形態を、予め設定された形態と判別すること、を特徴とする。
本発明によれば、通信ポートに関するポート情報を送信する機能を持たない印刷装置であっても、データを送信して制御できる。例えば、ポート情報を送信する機能を持たない印刷装置において一般的に使用されるデータの形態が既知である場合には、この形態が設定されていれば、多くの印刷装置を制御可能となるので有用である。
In the printing control apparatus according to the aspect of the invention, the control unit transmits the request to the printing apparatus through the communication unit and then does not receive the port information through the communication unit. It is characterized by discriminating the form of data corresponding to the apparatus from a preset form.
According to the present invention, even a printing apparatus that does not have a function of transmitting port information regarding a communication port can transmit and control data. For example, if a data format generally used in a printing apparatus that does not have a function of transmitting port information is known, many printing apparatuses can be controlled if this form is set. Useful.
また、本発明は、上記印刷制御装置において、前記制御部は、判別した形態に適合するデータを用いて前記印刷装置に印刷データを送信し、印刷を実行させること、を特徴とする。
本発明によれば、印刷装置が対応可能なデータの形態を用いて、印刷装置に印刷を実行させることができる。
Further, the present invention is characterized in that, in the above-described print control apparatus, the control unit transmits print data to the printing apparatus using data suitable for the determined form, and causes printing to be executed.
According to the present invention, it is possible to cause a printing apparatus to execute printing using a data format that can be handled by the printing apparatus.
また、本発明は、上記印刷制御装置において、前記通信部は、複数の前記印刷装置を接続可能な通信ネットワークに接続され、前記制御部は、前記通信部により、前記通信ネットワークに接続された前記印刷装置を検索し、検索した前記印刷装置に対して前記ポート情報を要求すること、を特徴とする。
本発明によれば、通信ネットワークを介して使用可能な印刷装置を調べるとともに、印刷装置が対応可能なデータの形態を判別できる。このため、複数の印刷装置と通信可能な場合や、使用可能な印刷装置の数が未知である場合に、複雑な処理を経ることなく、これら複数の印刷装置から使用する印刷装置を選択して使用できるようになる。
In the printing control apparatus according to the present invention, the communication unit is connected to a communication network to which a plurality of the printing apparatuses can be connected, and the control unit is connected to the communication network by the communication unit. The printing apparatus is searched, and the port information is requested to the searched printing apparatus.
According to the present invention, it is possible to check a printing apparatus that can be used via a communication network and to determine a data form that the printing apparatus can handle. For this reason, when it is possible to communicate with a plurality of printing devices or when the number of usable printing devices is unknown, a printing device to be used can be selected from the plurality of printing devices without complicated processing. Can be used.
また、本発明は、上記印刷制御装置において、前記制御部は、前記通信部により前記印刷装置から受信した前記ポート情報に基づいて前記印刷装置が対応可能なデータの形態を判別し、判別結果と前記印刷装置とを対応付けるデータ形式情報を生成すること、を特徴とする。
本発明によれば、通信ネットワークを介して使用可能な印刷装置を調べ、各印刷装置が対応可能なデータの形態に関する情報を得ることができる。このため、複数の印刷装置と通信可能な場合に、各印刷装置を制御するために必要な情報を予め生成できる。従って、複数の印刷装置を自在に選択して制御できる。
According to the present invention, in the print control apparatus, the control unit determines a data format that the printing apparatus can handle based on the port information received from the printing apparatus by the communication unit, and determines a determination result. Data format information for associating with the printing apparatus is generated.
According to the present invention, it is possible to check a printing apparatus that can be used via a communication network, and to obtain information on the form of data that each printing apparatus can handle. For this reason, when it is possible to communicate with a plurality of printing apparatuses, information necessary for controlling each printing apparatus can be generated in advance. Accordingly, a plurality of printing apparatuses can be freely selected and controlled.
また、上記目的を達成するため、本発明の印刷システムは、印刷データに基づき印刷を実行する印刷装置と、前記印刷装置に通信可能に接続される通信部、及び、前記通信部によって前記印刷装置に対して通信可能な通信ポートを示すポート情報を要求し、前記要求に応じて前記印刷装置が送信するポート情報を受信する制御部を備える通信制御装置と、を備え、前記制御部は、前記ポート情報に基づいて、前記印刷装置が対応可能なデータの形態を判別すること、を特徴とする。
本発明によれば、印刷装置が対応可能なデータの形態を、印刷装置から送信される情報に基づいて判別できる。このため、印刷装置の仕様に関する情報を持たない装置であっても、印刷装置からポート情報を受信すれば、印刷装置を制御できるようになる。また、印刷装置が送信する情報は、通信可能な通信ポートに関する情報であって、一般的な情報である。このため、印刷装置に特別な機能を実装しなくても本発明を適用できる。
In order to achieve the above object, a printing system according to the present invention includes a printing apparatus that executes printing based on print data, a communication unit that is communicably connected to the printing apparatus, and the printing unit that includes the communication unit. A communication control device including a control unit that requests port information indicating a communication port capable of communicating with the printer and receives port information transmitted by the printing device in response to the request. It is characterized in that, based on port information, the form of data that can be supported by the printing apparatus is determined.
According to the present invention, the form of data that can be handled by the printing apparatus can be determined based on information transmitted from the printing apparatus. For this reason, even a device that does not have information regarding the specifications of the printing device can control the printing device by receiving port information from the printing device. The information transmitted by the printing apparatus is information regarding communication ports that can communicate and is general information. Therefore, the present invention can be applied without mounting a special function in the printing apparatus.
また、上記目的を達成するため、本発明は、印刷装置と通信可能に接続される装置により実行される印刷制御方法であって、前記印刷装置に対して通信可能な通信ポートを示すポート情報を要求し、前記要求に応じて前記印刷装置が送信するポート情報を受信し、前記ポート情報に基づいて、前記印刷装置が対応可能なデータの形態を判別すること、を特徴とする。
本発明によれば、印刷装置が対応可能なデータの形態を、印刷装置から送信される情報に基づいて判別できる。このため、印刷装置の仕様に関する情報を持たない装置であっても、印刷装置からポート情報を受信すれば、印刷装置を制御できるようになる。また、印刷装置が送信する情報は、通信可能な通信ポートに関する情報であって、一般的な情報である。このため、印刷装置に特別な機能を実装しなくても本発明を適用できる。
In order to achieve the above object, the present invention provides a print control method executed by a device that is communicably connected to a printing device, and includes port information indicating a communication port capable of communicating with the printing device. Making a request, receiving port information transmitted by the printing apparatus in response to the request, and determining, based on the port information, a form of data that can be handled by the printing apparatus.
According to the present invention, the form of data that can be handled by the printing apparatus can be determined based on information transmitted from the printing apparatus. For this reason, even a device that does not have information regarding the specifications of the printing device can control the printing device by receiving port information from the printing device. The information transmitted by the printing apparatus is information regarding communication ports that can communicate and is general information. Therefore, the present invention can be applied without mounting a special function in the printing apparatus.
[第1の実施形態]
以下、図面を参照して本発明の実施形態について説明する。
図1は、第1の実施形態に係る印刷システム100の機能ブロック図である。
印刷システム100は、プリンター5(印刷装置)と、プリンター5を制御する端末装置1(印刷制御装置)とを接続して構成される。また、端末装置1には、プリンター5に代えてプリンター6(印刷装置)を接続できる。
印刷システム100は、オペレーターが端末装置1を操作し、この操作に従って端末装置1が印刷データをプリンター5に出力し、プリンター5が印刷データに基づいて印刷媒体に印刷するシステムである。端末装置1にプリンター6を接続した場合、端末装置1の操作によりプリンター6が印刷媒体に印刷を行う。
[First Embodiment]
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a functional block diagram of a
The
The
端末装置1とプリンター5、6とは通信線3により接続される。通信線3は、通信ケーブル、または無線通信回線で構成される。例えば、通信線3は、USB、IEEE1284、IEEE1394、RS-232C等の各種規格に準拠した1対1接続の通信ケーブル、或いは、Ethernet(登録商標)に準拠した有線ネットワークである。また、通信線3は、Bluetooth(登録商標)、Wireless USB等の近距離無線通信や、無線LAN等の無線通信ネットワークを採用してもよい。
端末装置1に接続されるプリンター5、6の数に制限はないが、本実施形態では一例として、端末装置1に対し1台のプリンター5またはプリンター6が接続される例を説明する。
また、以下の説明において、端末装置1とプリンター5とは、有線LANまたは無線LANからなる通信線3により接続されると、より好適である。
The terminal device 1 and the
Although the number of
In the following description, it is more preferable that the terminal device 1 and the
端末装置1は、オペレーターが操作するコンピューターであり、例えば、デスクトップ型コンピューター、ノート型コンピューター、タブレット型コンピューターの他、いわゆるスマートフォン、携帯型電話機等である。端末装置1は、Windows(登録商標)オペレーティングシステム、Android(登録商標)オペレーティングシステム、iOS(登録商標)等のオペレーティングを、ハードウェアに搭載している。端末装置1は、上記オペレーティングシステムの機能により、入力操作を検出し、操作に応じた機能を実行し、実行する機能に関する画面表示を行う。 The terminal device 1 is a computer operated by an operator, and is, for example, a so-called smart phone or mobile phone in addition to a desktop computer, a notebook computer, and a tablet computer. The terminal device 1 has an operating system such as a Windows (registered trademark) operating system, an Android (registered trademark) operating system, or an iOS (registered trademark) installed in hardware. The terminal device 1 detects an input operation by using the function of the operating system, executes a function according to the operation, and displays a screen regarding the function to be executed.
端末装置1は、端末装置1に対する操作を検出する端末入力部21、各種情報を表示する端末表示部22、及び、プリンター5、6に接続される通信インターフェース(I/F)23を備える。端末入力部21及び端末表示部22は、オペレーターの操作に利用される。また、通信インターフェース23(通信部)は、通信線3を介してプリンター5またはプリンター6との間でデータ通信を実行する。通信インターフェース23は、例えば、USB、IEEE1284、IEEE1394、RS-232C、Ethernet等に準拠した有線通信インターフェース、或いは、Bluetooth、Wireless USB、無線LAN等の無線通信インターフェースである。
The terminal device 1 includes a
端末装置1は、端末装置1の各部を制御する端末制御部10(制御部)を備える。端末制御部10は、アプリケーション実行部11と、ドライバー実行部12とを備える。端末制御部10は、図示しないCPU、ROM、RAM等を備え、プログラムを実行することにより端末装置1の機能を実現する。端末制御部10のROMには、CPUによって実行可能な基本制御プログラム等が不揮発的に記憶される。また、RAMにはCPUが実行するプログラムや処理対象のデータ等が一時的に記憶される。
端末制御部10には端末記憶部15が接続される。端末記憶部15は、磁気記憶媒体や半導体メモリーデバイスを備えた記憶装置で構成され、端末制御部10のCPU(図示略)により実行されるプログラム、及び、CPUにより処理されるデータを不揮発的に記憶する。端末記憶部15は、例えば、端末制御部10が実行するアプリケーションプログラム16、端末制御部10により処理されるライブラリー17、設定データ18、及びプリンター情報19を記憶する。
The terminal device 1 includes a terminal control unit 10 (control unit) that controls each unit of the terminal device 1. The
A
アプリケーションプログラム16は、例えば、文書作成プログラム、画像編集プログラム、POSアプリケーション、或いはラベル作成プログラム等のアプリケーションプログラムである。アプリケーションプログラム16は、端末制御部10が備えるアプリケーション実行部11により実行される。別の表現をすれば、アプリケーション実行部11は、端末制御部10のCPUがアプリケーションプログラム16を実行する機能を示す機能ブロックである。アプリケーション実行部11がアプリケーションプログラム16を実行すると、端末装置1により、文書作成、画像編集、POS端末としての動作、ラベル作成等の各種の機能を利用できる。
The
ライブラリー17は、端末装置1のオペレーティングシステムの一部を構成し、周辺機器の制御等の機能を実行するミドルウェアである。本実施形態のライブラリー17は、プリンター5、6に対して、印刷実行を指示するコマンドや印刷対象のデータを送信する機能を有する。端末制御部10のCPUがライブラリー17を実行することにより、ドライバー実行部12の機能が実現される。ドライバー実行部12は、端末記憶部15に記憶された、プリンター5、6に対応するプリンタードライバープログラム(図示略)を実行する。ドライバー実行部12は、アプリケーション実行部11が生成した文書や画像のデータを取得し、プリンター5、6に適した形態の各種コマンドやデータを含む印刷データを、通信インターフェース23により送信する。この印刷データは、例えば、印刷実行を指示するコマンド、及び、印刷するデータを含む。
The
プリンター5は、端末装置1が送信する印刷データに基づいて、図示しない印刷媒体に印刷を行う。プリンター5が使用する印刷媒体は、所定サイズにカットされたカットシートまたは連続シートであり、これらのシートは紙または合成樹脂製であって、表面加工が施されていてもよい。連続シートは、例えばロール紙やファンフォールド紙である。また、裏面に粘着剤が付された定型サイズのラベルを、剥離紙(台紙)に並べてロール状に巻いたラベル用紙を用いてもよい。また、プリンター5の印刷方式は任意である。本実施形態では、普通紙をロール状に巻いたロール紙を印刷媒体とし、印刷媒体にインクを吐出して印刷するインクジェット式プリンターを例に挙げる。
The
プリンター5は、印刷ヘッド64を備える。本実施形態の印刷ヘッド64はインクを吐出するノズルを備えたインクジェット式の印刷ヘッドである。印刷ヘッド64は、搬送方向に直交する方向において印刷範囲全体にわたって、ノズルが列をなして配置されたラインヘッドである。印刷ヘッド64は、シアン(C)、マゼンダ(M)、イエロー(Y)、及びブラック(K)の4色の色毎にノズル列を有し、フルカラーで印刷媒体に印刷を行うことができる。また、印刷ヘッド64が、さらに多色のインクを使用する構成であってもよいし、2色またはモノクロのインクを使用する構成であってもよい。
また、印刷ヘッド64は、感熱紙に熱を与えて印刷するサーマルヘッドであってもよく、プリンター5はサーマルプリンターであってもよい。
The
The
プリンター5は、プリンター5の各部を制御するプリンター制御部50を備える。プリンター制御部50は、図示しないCPU、ROM、RAM等を備える。プリンター制御部50のROMには、CPUによって実行可能なファームウェア、ファームウェアに係るデータ等が不揮発的に記憶される。また、RAMにはCPUが実行するファームウェアに係るデータ等が一時的に記憶される。プリンター制御部50は、その他の周辺回路等を備えていてもよい。
The
プリンター制御部50には、上述した印刷ヘッド64の他、プリンター入力部61、プリンター表示部62、通信インターフェース(I/F)63、センサー66、搬送モーター65、及び、プリンター記憶部55の各部が接続される。
プリンター入力部61は、各種スイッチを備え、これらスイッチの操作に応じた信号をプリンター制御部50に出力する。プリンター表示部62は、プリンター制御部50の制御によりプリンター5の動作状態等を表示するLEDインジケーターや液晶表示パネルを備える。通信インターフェース63は、通信線3を介して端末装置1との間でデータ通信を実行する。通信インターフェース63は、例えば、USB、IEEE1284、IEEE1394、RS-232C、Ethernet等に準拠した有線通信インターフェース、或いは、Bluetooth、Wireless USB、無線LAN等の無線通信インターフェースである。
In addition to the
The
搬送モーター65は、プリンター制御部50の制御に従って搬送ローラー(図示略)を回転させ、印刷媒体を搬送する。
センサー66は、印刷媒体の搬送経路上に設けられた光センサーである。プリンター制御部50は、センサー66を利用して、印刷媒体、または印刷媒体に付された位置検出用のマーク(図示略)を検出する。
The
The
プリンター制御部50は、機能を実行する実行部として、プリントサーバー部51、及び印刷制御部52を備える。これらの実行部は、CPUがファームウェアを実行した場合に実現される機能に相当する。また、プリンター制御部50を構成するRAM(図示略)の記憶領域に、受信バッファー53及びプリントバッファー54が設けられる。受信バッファー53及びプリントバッファー54のいずれか、または両方を、プリンター記憶部55に設けることも、プリンター制御部50に外部接続されるRAMに設けることも可能である。
プリンター記憶部55は、磁気記憶媒体や半導体メモリーデバイスを備えた記憶装置で構成され、各種データを書き換え可能に不揮発的に記憶する。プリンター記憶部55は、プリンター5のデータ通信の仕様等に関する情報を含む通信設定データ56を記憶する。
The
The
プリントサーバー部51は、通信インターフェース63に対して所定の通信ポートを指定してhttp(hypertext transfer protocol)アクセスがされた場合に、このアクセスに対してウェブサーバーとして処理を行う。
プリントサーバー部51は、通信インターフェース63を介して端末装置1との間でデータ通信を実行する。プリントサーバー部51は、通信インターフェース63により、端末装置1が送信した印刷データを受信した場合、受信した印刷データを受信バッファー53に記憶させる。受信バッファー53には、受信された印刷データが受信順に蓄積される。
When a predetermined communication port is specified for the
The
プリントサーバー部51は、所定のデータ形式の印刷データを受信し、処理可能な構成となっている。印刷データのデータ形式は、本願発明のデータの形態の一例に相当する。プリントサーバー部51が対応するデータ形式は、例えば、XML形式や、ESC/POS(登録商標)が挙げられる。XML形式のデータに対応する構成では、プリントサーバー部51が印刷データを受信する通信ポートは、XMLデータ用に予め設定された、例えばポート8009番である。プリントサーバー部51は、端末装置1から8009番ポート宛てにアクセスがあった場合に、このアクセスに応答して、端末装置1が送信するXML形式のデータを受信する。プリントサーバー部51は、受信したデータを、印刷制御部52が処理可能なデータに変換して受信バッファー53に記憶させる。また、ESC/POS形式のデータに対応する構成では、プリントサーバー部51が印刷データを受信する通信ポートは、ESC/POS用に予め設定された、例えばポート9100番である。
The
印刷制御部52は、受信バッファー53に記憶した印刷データに含まれるコマンドを解析する。印刷実行の指示と印刷するデータとを検出した場合、印刷制御部52は、データをプリントバッファー54に展開して、印刷画像を生成する。印刷制御部52は、印刷ヘッド64及び搬送モーター65を制御して、プリントバッファー54に展開した印刷画像を印刷媒体に印刷する。
The
また、プリントサーバー部51は、端末装置1によるhttpアクセスに応答して、プリンター5が通信可能な通信ポートのリスト(ポート情報)を端末装置1に送信する機能を有する。プリンター5が通信可能な通信ポートを示す情報は、プリンター記憶部55に記憶された通信設定データ56に含まれている。また、通信設定データ56それ自体が、通信ポートのリストであってもよい。プリントサーバー部51は、通信インターフェース63へのhttpアクセスに応答して、通信設定データ56を読み出して、通信ポートのリストを端末装置1に送信する。
Further, the
プリンター6は、プリンター5と同様に、端末装置1から送信される印刷データに基づき印刷を実行するプリンターである。プリンター6が備える構成部のうち、プリンター5が備える構成部と共通するものについては、同符号を付して説明を省略する。
プリンター6は、プリンター6の各部を制御するプリンター制御部50aを備える。プリンター制御部50aは、プリンター制御部50と同様、図示しないCPU、ROM、RAM等を備える。プリンター制御部50aのROMには、CPUによって実行可能なファームウェア、ファームウェアに係るデータ等が不揮発的に記憶される。また、RAMにはCPUが実行するファームウェアに係るデータ等が一時的に記憶される。プリンター制御部50aは、その他の周辺回路等を備えていてもよい。プリンター制御部50aは、プリンター制御部50と同様に印刷制御部52、受信バッファー53、及びプリントバッファー54を備える。一方、プリンター制御部50aは、アプリケーション実行部11を有していない。このため、プリンター6は、端末装置1が送信した印刷データを通信インターフェース63により受信した場合、プリンター制御部50aが、受信した印刷データを受信バッファー53に記憶させる。
Similar to the
The
また、プリンター6は、プリンター記憶部55に代えてプリンター記憶部55aを備える。プリンター記憶部55aはプリンター記憶部55と同様にプログラムやデータを不揮発的に記憶する。プリンター記憶部55aは、通信設定データ56を記憶していない。通信設定データ56のようなデータを記憶していてもよいが、少なくとも、プリンター5のように通信ポートのリストを送信する目的で通信設定データ56を記憶する必要はない。
プリンター6は、予め設定された形式の印刷データや、その他のコマンドを受信して、受信バッファー53に記憶し、印刷動作や、コマンドで指定された動作を実行する。また、プリンター6のプリンター制御部50aは、プリンター6が対応するコマンド体系で定義されていないコマンドを通信インターフェース63により受信した場合、このコマンドを受信バッファー53に記憶するが、実行せず読み捨てる。
Further, the
The
プリンター6は、例えばESC/POSのように既知のコマンド体系に対応した、従来型のプリンターということができる。プリンター6はXML形式のデータには対応しない。また、プリンター6は、プリンター5とは異なりプリントサーバー部を備えていないので、端末装置1からhttpアクセスがされた場合に、httpアクセスにウェブサーバーとして応答することはない。
このように、端末装置1には、2種類のプリンター5、6を接続可能であり、プリンター5、6が対応するデータの形態は異なっている可能性がある。本実施形態では、データの形態はXML形式かESC/POS形式かのいずれかであるが、端末装置1にとって、プリンター5が処理可能なデータ形式がXML形式かESC/POS形式かは未知である。端末装置1は、通信インターフェース23に接続されたプリンター5またはプリンター6に対し、このプリンターが対応可能なデータ形式で制御データや印刷データを送信する必要がある。
The
Thus, two types of
図2は、印刷システム100の動作の概要を示す説明図である。図2(A)は端末装置1にESC/POSに対応するプリンター5またはプリンター6を接続した場合の動作を示す。図2(B)は端末装置1にXMLに対応するプリンター5を接続した場合の動作を示す。図2(C)は端末装置1に接続されたプリンターが対応するデータ形式を特定する動作を示す。
FIG. 2 is an explanatory diagram showing an outline of the operation of the
図2(A)に示すように、端末装置1に接続されたプリンターが、ESC/POSに対応するプリンター(プリンター5またはプリンター6)である場合、端末装置1は、ESC/POSコマンドにより、プリンター5、6に対する印刷指示等を行う。これに対し、端末装置1に、図2(B)に示すようにXMLに対応したプリンター5が接続された場合、端末装置1は、プリンター5に対してXML形式の印刷データを送信し、印刷を実行させる。
As shown in FIG. 2A, when the printer connected to the terminal device 1 is a printer (
図2(A)及び(B)に示した端末装置1の動作は、端末装置1に接続されたプリンターが対応するデータ形式に関する情報を端末装置1が取得した場合に可能となる。そこで、端末装置1は、図2(C)に示すように、端末装置1に接続されたプリンターに対し、httpリクエストを送信する。このhttpリクエストは、端末装置1に接続されたプリンターがデータを受信可能なポート番号のリストを要求する。上述した例のように、印刷システム100においてXML形式のデータを送受信する場合、プリンター5がXML形式のデータを受信するポート番号は9100番であり、ESC/POSコマンドを受信するポート番号は8009番である。従って、端末装置1は、プリンター5が返信するポート番号のリストに基づき、接続されたプリンター5が対応するデータ形式がESC/POSであるかXMLであるかを特定できる。また、httpリクエストへの応答がない場合、端末装置1は、httpリクエストに応答する機能を持たないプリンター5、或いは、プリンター6が接続されたと判断できる。この場合、端末装置1は、予め設定された初期値(デフォルト)のデータ形式を選択する。デフォルトのデータ形式は、例えば、旧来のプリンターが対応可能なESC/POSコマンドである。
The operation of the terminal device 1 shown in FIGS. 2A and 2B is possible when the terminal device 1 acquires information on the data format supported by the printer connected to the terminal device 1. Therefore, the terminal device 1 transmits an http request to the printer connected to the terminal device 1 as shown in FIG. This http request requests a list of port numbers at which the printer connected to the terminal device 1 can receive data. As in the example described above, when XML data is transmitted / received in the
なお、ここで例に挙げたポート番号はTCP/IPまたはUDPを利用した通信を実行する場合のポート番号である。端末装置1とプリンター5またはプリンター6が、TCP/IPまたはUDPを利用しない形態で接続された場合、httpリクエストは実行されない。例えば、USB、IEEE1284、IEEE1394、RS-232C等の各種規格に準拠した1対1接続の通信ケーブル、或いは、Bluetoothで接続された場合に該当する。
従って、図2(C)の動作は端末装置1に対して有線LANや無線LAN等の、TCP/IPまたはUDPに対応した形態でプリンター5またはプリンター6が接続された場合に適用される。
Note that the port numbers given here are port numbers when communication using TCP / IP or UDP is executed. When the terminal device 1 and the
2C is applied when the
図3は、印刷システム100の動作を示すフローチャートである。図3(A)はアプリケーション実行部11の動作を示し、図3(B)はドライバー実行部12の動作を示し、図3(C)はプリンター5の動作を示す。
アプリケーション実行部11により文書作成や画像編集が行われ、オペレーターの操作により印刷が指示されると、アプリケーション実行部11がライブラリー17を呼び出して、プリンターへの接続と印刷を要求する(ステップS11)。ドライバー実行部12はライブラリー17の呼び出しに応答して動作を開始し、アプリケーション実行部11が出力した接続及び印刷の要求を取得する(ステップS21)。ここで、ドライバー実行部12は、アプリケーション実行部11が生成した印刷対象のデータを取得する。
FIG. 3 is a flowchart showing the operation of the
When document creation or image editing is performed by the
ドライバー実行部12は、通信インターフェース23に接続されたプリンターに対し、ポート番号のリストを要求するhttpリクエストを生成して送信する(ステップS22)。このhttpリクエストは通常のhttpによるアクセスと同様に、例えばTCP80番ポートに送信される。
プリンター5は、端末装置1から送信されたhttpリクエストを受信して(ステップS31)、プリンター記憶部55に記憶した通信設定データ56に基づき、要求されたポートのリストを生成して、端末装置1に送信する(ステップS32)。
The
The
ドライバー実行部12は、プリンター5からポートのリストが送信されるまで待機する(ステップS23)。設定された時間内にポートのリストを受信した場合(ステップS23;YES)、ドライバー実行部12は受信したポートのリストを参照して、ドライバー実行部12が印刷データ送信時に接続するポートを選択する(ステップS24)。例えばポートのリストにTCP8009番が含まれている場合、ドライバー実行部12は印刷データの送信先のポート番号を8009番にする。また、ポートのリストに、ドライバー実行部12が印刷データを送信可能な複数のポート番号が含まれる場合、ドライバー実行部12は、予め設定された優先順位に従ってポートを選択する。
The
ドライバー実行部12は、選択したポートに対応するデータ形式を判別する(ステップS25)。また、ドライバー実行部12は、設定された時間内に通信インターフェース23でポートのリストを受信しなかった場合(ステップS23;NO)、ステップS25に移行して、デフォルトのデータ形式を選択する。ここで、ドライバー実行部12は、通信インターフェース23に接続されたプリンター5のデータ形式を示すプリンター情報19(データ形式情報)を生成し、端末記憶部15に記憶させる。
プリンター情報19は、少なくとも、プリンター5を特定する情報と、プリンター5が対応するデータ形式を示す情報とを対応付ける。また、プリンター情報19は、プリンター5が対応するデータ形式とともに、プリンター5が受付可能な通信ポートの番号を含んでもよい。また、プリンター5が受付可能な通信ポートが複数ある場合、ドライバー実行部12は、ステップS25で判別したデータ形式と、このデータ形式に対応する通信ポートに関する情報をプリンター情報19に登録する。
プリンター情報19を用いることにより、その後にドライバー実行部12がプリンター5に印刷を実行させる場合に、ステップS22〜S25の動作を省略できる。
ドライバー実行部12は、アプリケーション実行部11から取得したデータを印刷するための印刷指示やデータを含む印刷データを、ステップS25で選択したデータ形式で、プリンター5に送信する(ステップS26)。
The
The
By using the
The
プリンター5は、端末装置1から送信された印刷データを受信して(ステップS33)、受信した印刷データに基づき印刷を実行する(ステップS34)。受信した印刷データの印刷が完了すると、プリンター5は印刷完了の通知を生成して端末装置1に送信する(ステップS35)。
ドライバー実行部12は、プリンター5から送信される印刷完了の通知に基づき、印刷完了を検出し(ステップS27)、アプリケーション実行部11に対して印刷完了を通知する(ステップS28)。アプリケーション実行部11は、ドライバー実行部12からの通知に基づき印刷完了を検出し(ステップS12)、例えば端末表示部22に印刷完了を示す通知を行う。
The
The
また、端末装置1にプリンター6が接続された場合も、端末装置1のアプリケーション実行部11及びドライバー実行部12は図3(A)、(B)に示す動作を実行する。この場合、プリンター6はhttpリクエストを受信して解析する機能を持たないため、ドライバー実行部12は、ポートのリストを受信できない(ステップS23;NO)。このため、ドライバー実行部12は送信データ形式としてデフォルトの形式(例えば、ESC/POS)を選択し、プリンター6と、デフォルトのデータ形式とを対応付けてプリンター情報19に登録する。これにより、端末装置1はプリンター6を制御して印刷を実行させることができる。
In addition, even when the
以上説明したように、本発明を適用した第1の実施形態に係る印刷システム100は、端末装置1と、端末装置1に接続されたプリンター5またはプリンター6とを備える。端末装置1は、プリンター5、6に通信可能に接続される通信インターフェース23を備える。また、端末装置1は、通信インターフェース23により、プリンター5、6に対して通信可能な通信ポートを示すポート情報を要求し、要求に応じてプリンター5、6が送信するポート情報を受信する端末制御部10を備える。端末制御部10は、プリンター5、6から受信したポート情報に基づいて、プリンター5、6が対応可能なデータの形態を判別する。このため、端末装置1は、通信インターフェース23に接続されたプリンター5またはプリンター6に適合するデータの形態を選択して、印刷データを送信し、印刷を実行させることができる。このため、端末装置1がプリンター5、6の仕様に関する情報を持っていなくても、プリンター5、6を制御できるようになる。さらに、プリンター5、6が送信する情報は、通信可能な通信ポートに関する情報であって、一般的な情報である。このため、プリンター5、6に特別な機能を実装しなくても本発明を適用できる。
また、端末制御部10では、アプリケーション実行部11がドライバー実行部12を呼び出すことにより、ドライバー実行部12が、通信インターフェース23に接続されたプリンター5またはプリンター6に対応するデータ形式を選択する。このため、アプリケーション実行部11が、プリンターが対応するデータ形式を考慮した処理を行う必要がない。従って、アプリケーション実行部11が実行するアプリケーションプログラム16に、特定のプリンターに対応する機能を実装する必要がないという利点がある。
As described above, the
In the
ここで、データの形態とは、XML形式、ESC/POS形式などデータの形式を指すだけでなく、コマンド体系を指すと解釈することもできる。例えば、端末装置1がプリンター5、6に送信するコマンドの種類やコマンド体系を判別する動作を、データの形態を判別するということができる。
Here, the data format can be interpreted not only to indicate a data format such as an XML format, an ESC / POS format, but also to a command system. For example, the operation of determining the type and command system of the command transmitted from the terminal device 1 to the
端末制御部10のドライバー実行部12は、ポート情報に基づいて判別した形態に適合するデータを用いて、通信インターフェース23によりプリンター5、6と通信し、プリンター5、6を制御できる。また、ドライバー実行部12は、判別した形態に適合するデータを用いてプリンター5、6に印刷データを送信し、印刷を実行させることができる。
ドライバー実行部12は、通信インターフェース23によりプリンター5、6から受信した通信ポートのリストに基づいてプリンター5、6が対応可能なデータの形態を判別し、判別結果とプリンター5、6とを対応付けるデータ形式情報を生成する。このデータ形式情報は、例えば、プリンター情報19として端末記憶部15に記憶される。
また、ドライバー実行部12は、プリンター5、6に対してhttpリクエストを送信した後、ポートのリストを通信インターフェース23により受信しない場合には、プリンター5、6に対応するデータの形態を、予め設定された形態と判別する。このため、httpリクエストに応答する機能を持たないプリンター、或いは、通信ポートのリストを送信する機能を持たないプリンターを、ドライバー実行部12が制御できる。
The
The
If the
[第2の実施形態]
図4は、本発明を適用した第2の実施形態に係る印刷システム101の構成を示す図である。この印刷システム101において、第1の実施形態で説明した印刷システム100と共通する構成については、同符号を付して図示及び説明を省略する。
図4に示す印刷システム101は、端末装置1に対し、通信ネットワーク4を介して複数のプリンター5を接続した構成となっている。この構成では、端末装置1は1台のプリンター5を選択して印刷を実行させる。
印刷システム101の端末装置1、及び各々のプリンター5には、通信ネットワーク4において固有のネットワークアドレスが割り当てられていて、通信ネットワーク4上で端末装置1及び各々のプリンター5を特定できる。通信ネットワーク4は、有線LAN及び無線LANのいずれであってもよいし、通信ネットワーク4の一部が広域通信回線で構成されてもよい。
[Second Embodiment]
FIG. 4 is a diagram showing a configuration of a
A
A unique network address is assigned in the communication network 4 to the terminal device 1 and each
印刷システム101では、端末装置1が、各プリンター5が対応するデータの形態、及び、使用可能なプリンター5の数に関する情報を有していなくても、端末装置1がプリンター5を検索でき、各プリンター5が対応するデータの形態に関する情報を取得できる。
In the
図5は、第2の実施形態の印刷システムの動作を示すフローチャートである。図5(A)はアプリケーション実行部11の動作を示し、図5(B)はドライバー実行部12の動作を示し、図5(C)はプリンター5の動作を示す。また、図5(A)〜(C)に示すフローチャートにおいて、図3(A)〜(C)と共通する処理ステップには、同ステップ番号を付して説明を省略する。
ステップS11でアプリケーション実行部11がライブラリー17を呼び出すと、ステップS21で、ドライバー実行部12が、ライブラリー17の呼び出しに応答して動作を開始する。ステップS21では、ドライバー実行部12が、アプリケーション実行部11が出力した接続及び印刷の要求を取得し、アプリケーション実行部11が生成した印刷対象のデータを取得する。
FIG. 5 is a flowchart illustrating the operation of the printing system according to the second embodiment. 5A shows the operation of the
When the
ここで、ドライバー実行部12は、通信ネットワーク4に接続されたプリンター5を検出するため、IPアドレスを要求するhttpリクエストを送信する(ステップS41)。ステップS41で送信されるhttpリクエストは、例えばブロードキャストされ、通信ネットワーク4を介して通信可能な全てのプリンター5が受信できる。
プリンター5は、httpリクエストを受信した場合(ステップS51)、このhttpリクエストに応じて、プリンター5のIPアドレスを端末装置1に送信する(ステップS52)。ステップS52において、プリンター5の通信ネットワーク4におけるホスト名、プリンター5の機種名、プリンター5が使用可能な通信ポートの番号、及び、その他のプリンター5に関する情報等を端末装置1に送信してもよい。
Here, the
When receiving the http request (step S51), the
端末装置1は、プリンター5から送信されるIPアドレスを含む応答を受信して、受信したIPアドレスに基づきプリンター5を登録する(ステップS43)。プリンター5の登録は、プリンター5から送信されたIPアドレスのリストをプリンター情報19に登録する処理である。ステップS43で、ドライバー実行部12は、通信ネットワーク4に接続されたプリンター5以外の装置からIPアドレスを含む応答があった場合に、プリンター5からの応答を選択して登録を行ってもよい。
その後、ドライバー実行部12は、プリンター5を選択する(ステップS43)。例えば、オペレーターが端末装置1に対して入力操作を行い、この操作で指定されたプリンター5を選択すればよい。この場合、プリンター情報19に登録されたプリンター5のIPアドレス等を端末表示部22により表示してもよい。また、予め設定された優先順位に従って、ドライバー実行部12が1つのプリンター5を選択してもよい。
The terminal device 1 receives the response including the IP address transmitted from the
Thereafter, the
その後、ドライバー実行部12は、選択したプリンター5に対し、ステップS23〜S28の動作を実行する。選択されたプリンター5は、第1の実施形態で説明したステップS31〜S35の動作を実行する。
Thereafter, the
このように、端末装置1の通信インターフェース23が、複数のプリンター5、6を接続可能な通信ネットワーク4に接続された構成で、ドライバー実行部12は、通信ネットワークに接続されたプリンターを検索し、検索したプリンターにポート情報を要求する。このため、通信ネットワーク4を介して使用可能なプリンターを調べるとともに、プリンターが対応可能なデータの形態を判別できる。このため、ドライバー実行部12が複数のプリンターと通信可能な場合や、使用可能なプリンターの数が未知である場合に、複雑な処理を経ることなく、これら複数のプリンターを選択して使用できる。そして、通信ネットワーク4を介して使用可能なプリンターを調べ、各プリンターが対応可能なデータの形態に関する情報を得ることができる。
Thus, in the configuration in which the
上記各実施形態では、プリンターが対応可能なデータの形態が、XML形式とESC/POS形式の2通りあり、端末装置1が、プリンター5、6が対応するデータ形式を判別する構成として説明した。
ここで、プリンターが対応可能なデータの形態とは、プリンターが使用可能なコマンド体系、使用可能な言語、使用可能な文字コード、使用可能な通信プロトコル、使用可能なデータフォーマット(パケットサイズ、パケット形式等を含む)等を指す。すなわち、データの形態とは、データフォーマットに限らず、コマンド体系、言語、文字コード、通信プロトコル等であってもよい。また、本実施形態では、プリンターが対応可能なデータの形態を判別する方法として、プリンター5、6が送信するポート情報に含まれる通信ポートの番号が9100番であるか8009番であるかを判別する例を挙げた。ポート情報は、ポート番号の他、通信ポートの名称、通信ポートで使用可能な通信プロトコルの種類等のポートの仕様を含んでもよい。この場合、端末装置1は、ポート番号以外のポートの仕様に基づき、プリンターが対応可能なデータの形態を判別してもよい。
In each of the above-described embodiments, there are two types of data that the printer can handle, the XML format and the ESC / POS format, and the terminal device 1 has been described as a configuration that determines the data format to which the
Here, the data format that can be supported by the printer is a command system that can be used by the printer, a usable language, a usable character code, a usable communication protocol, a usable data format (packet size, packet format). Etc.). That is, the data format is not limited to the data format, and may be a command system, a language, a character code, a communication protocol, or the like. In the present embodiment, as a method of determining the data format that the printer can handle, it is determined whether the communication port number included in the port information transmitted by the
また、上述した各実施形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。例えば、上述した実施形態では、端末装置1がXML形式またはESC/POS形式のデータを送信する構成を例に挙げて説明したが、本発明はこれに限定されず、より多くの形態でデータを送信可能なものであってもよい。また、送信するデータの形態は上記の2例に限定されない。
また、図1に示す各機能ブロックはハードウェアとソフトウェアの協働により任意に実現可能であり、特定のハードウェア構成を示唆するものではない。また、端末装置1、プリンター5、6の各機能を、これら装置に外部接続される別の装置に持たせるようにしてもよい。また、端末装置1は、外部接続される記憶媒体に記憶させたプログラムを実行することにより、各種動作を実行してもよい。また、プリンター5、6は、インクジェット式のプリンターに限定されず、ドットインパクト式、レーザー式、サーマル式等の各種の印刷装置、及び、この種の印刷ユニットを内蔵した複合機等にも本発明を適用可能である。
Moreover, each embodiment mentioned above shows the one aspect | mode of this invention to the last, and a deformation | transformation and application are arbitrarily possible within the scope of the present invention. For example, in the above-described embodiment, the configuration in which the terminal device 1 transmits data in the XML format or ESC / POS format has been described as an example. However, the present invention is not limited to this, and the data is transmitted in more forms. It may be possible to transmit. The form of data to be transmitted is not limited to the above two examples.
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 functions of the terminal device 1 and the
1…端末装置(印刷制御装置)、3…通信線、4…通信ネットワーク、5、6…プリンター(印刷装置)、10…端末制御部(制御部)、11…アプリケーション実行部、12…ドライバー実行部、15…端末記憶部、16…アプリケーションプログラム、17…ライブラリー、19…プリンター情報(データ形式情報)、23…通信インターフェース(通信部)、50、50a…プリンター制御部、51…プリントサーバー部、52…印刷制御部、53…受信バッファー、54…プリントバッファー、55、55a…プリンター記憶部、56…通信設定データ、63…通信インターフェース、64…印刷ヘッド、100、101…印刷システム。
DESCRIPTION OF SYMBOLS 1 ... Terminal device (printing control apparatus), 3 ... Communication line, 4 ... Communication network, 5, 6 ... Printer (printing apparatus), 10 ... Terminal control part (control part), 11 ... Application execution part, 12 ...
Claims (8)
前記通信部により、前記印刷装置に対して特定の通信ポートを利用する通信を要求し、前記要求に対する前記印刷装置の応答状態に基づいて、前記印刷装置が対応可能なデータの形態を判別する制御部と、を備え、
前記制御部は、前記印刷装置から前記要求に対する応答を受信した場合、受信した応答に基づいて判別した形態のデータを用いて、前記通信部により前記印刷装置と通信し、
前記制御部は、前記印刷装置から前記要求に対する応答を受信しない場合、前記印刷装置が対応可能なデータの形態を第1のデータの形態と判別する、
印刷制御装置。 A communication unit capable of communicating with the printing apparatus;
Control for requesting communication using a specific communication port to the printing apparatus by the communication unit, and determining a data form that the printing apparatus can handle based on a response state of the printing apparatus to the request And comprising
Wherein, when receiving a response to the request from the printing apparatus, using a form of data is determined based on the response received, communication with the printing apparatus by the communication unit,
When the control unit does not receive a response to the request from the printing apparatus , the control unit determines a data form that the printing apparatus can handle as a first data form .
Print control device.
請求項1に記載の印刷制御装置。 Wherein, if the previous SL printing apparatus has received a response to the request, the printing device you another form and determine the second data in the form of possible response data,
The print control apparatus according to claim 1.
請求項1または請求項2に記載の印刷制御装置。 Wherein, if the previous SL printing apparatus has received the port information in response to the request, based on the port information, the printing apparatus determine different forms of possible corresponding data,
The printing control apparatus according to claim 1 or 2.
請求項1から請求項3のいずれか1項に記載の印刷制御装置。 The control unit transmits print data to the printing apparatus using data that conforms to a data format that can be supported by the printing apparatus, and executes printing.
The printing control apparatus according to any one of claims 1 to 3.
前記制御部は、前記通信部により、前記通信ネットワークに接続された前記印刷装置を検索し、検索した前記印刷装置に対して前記特定の通信ポートを利用する通信を要求する、
請求項1から請求項4のいずれか1項に記載の印刷制御装置。 The communication unit is connected to a communication network capable of connecting a plurality of the printing apparatuses,
Wherein the control unit by the communication unit, searching for the printing device connected to the communication network, requests the communications utilizing the specific communication port for retrieved the printing apparatus,
The printing control apparatus according to any one of claims 1 to 4.
請求項5に記載の印刷制御装置。 The control unit generates data format information for associating a determination result of a data form that can be supported by the printing apparatus with the printing apparatus;
The printing control apparatus according to claim 5.
前記印刷装置と通信可能な通信部、及び、前記通信部によって前記印刷装置に対して特定の通信ポートを利用する通信を要求し、前記要求に対する前記印刷装置の応答状態に基づいて、前記印刷装置が対応可能なデータの形態を判別する制御部を備える印刷制御装置と、を備え、
前記印刷制御装置の前記制御部は、前記印刷装置から前記要求に対する応答を受信した場合、受信した応答に基づいて判別した形態のデータを用いて、前記通信部により前記印刷装置と通信し、
前記制御部は、前記印刷装置から前記要求に対する応答を受信しない場合、前記印刷装置が対応可能なデータの形態を第1のデータの形態と判別する、
印刷システム。 A printing device that performs printing based on the print data; and
A communication unit capable of communicating with the printing device; and the communication unit requests communication using a specific communication port to the printing device, and the printing device based on a response state of the printing device with respect to the request A printing control device including a control unit that determines the form of data that can be supported,
The control unit of the print control apparatus, when receiving a response to the request from the printing apparatus, using a form of data is determined based on the response received, communication with the printing apparatus by the communication unit,
When the control unit does not receive a response to the request from the printing apparatus , the control unit determines a data form that the printing apparatus can handle as a first data form .
Printing system.
前記印刷装置に対して特定の通信ポートを利用する通信を要求し、
前記印刷装置から前記要求に対する応答を受信した場合、受信した応答に基づいて、前記印刷装置が対応可能なデータの形態を判別し、
前記印刷装置の応答状態に基づいて判別した形態のデータを用いて、前記印刷装置と通信し、
前記印刷装置から前記要求に対する応答を受信しない場合、前記印刷装置が対応可能なデータの形態を第1のデータの形態と判別する、
印刷制御方法。
A printing control method for a printing apparatus,
Request communication using a specific communication port to the printing device,
If it receives a response to the request from the printing apparatus, based on the response received, the printing apparatus determines the form of possible response data,
Using data in a form determined based on the response state of the printing device, communicate with the printing device,
When a response to the request is not received from the printing apparatus, the form of data that can be handled by the printing apparatus is determined as the form of the first data .
Print control method.
Priority Applications (7)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014116707A JP6265053B2 (en) | 2014-06-05 | 2014-06-05 | Printing control apparatus, printing system, and printing control method |
TW104117834A TWI573073B (en) | 2014-06-05 | 2015-06-02 | A printing control device, a printing system, and a printing control method |
KR1020167033967A KR102051276B1 (en) | 2014-06-05 | 2015-06-04 | Printing control device, printing system, and printing control method |
EP15803314.2A EP3153962B1 (en) | 2014-06-05 | 2015-06-04 | Printing control device, printing system, and printing control method |
US15/315,075 US10459673B2 (en) | 2014-06-05 | 2015-06-04 | Print control device, print system, and print control method |
CN201580029254.9A CN106462368B (en) | 2014-06-05 | 2015-06-04 | printing control device, printing system, and printing control method |
PCT/JP2015/002821 WO2015186361A1 (en) | 2014-06-05 | 2015-06-04 | Printing control device, printing system, and printing control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014116707A JP6265053B2 (en) | 2014-06-05 | 2014-06-05 | Printing control apparatus, printing system, and printing control method |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2015230598A JP2015230598A (en) | 2015-12-21 |
JP2015230598A5 JP2015230598A5 (en) | 2017-06-15 |
JP6265053B2 true JP6265053B2 (en) | 2018-01-24 |
Family
ID=54887338
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014116707A Active JP6265053B2 (en) | 2014-06-05 | 2014-06-05 | Printing control apparatus, printing system, and printing control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6265053B2 (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5454031B2 (en) * | 2009-09-11 | 2014-03-26 | 株式会社リコー | Information processing apparatus, information processing method, and information processing program |
JP5263211B2 (en) * | 2010-03-30 | 2013-08-14 | ブラザー工業株式会社 | Server, printer, and computer program for server |
-
2014
- 2014-06-05 JP JP2014116707A patent/JP6265053B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2015230598A (en) | 2015-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10437538B2 (en) | Information processing method for obtaining printer status and non-volatile storage medium | |
EP2796985B1 (en) | Print control device, printing system, and print control method | |
US10152289B2 (en) | Communication apparatus that obtains application information from a communication partner apparatus existing within an effective communication range, control method therefor, and storage medium | |
JP2015009476A (en) | Print control apparatus, print control method and program | |
US8237955B2 (en) | Deciding priority image forming means based on search log information | |
JP2022109916A (en) | Program and printing system | |
CN111251732A (en) | Control method and storage medium | |
US20150227329A1 (en) | Information processing apparatus, control method, and storage medium | |
US9665315B2 (en) | Image forming apparatus and image forming method | |
US10459673B2 (en) | Print control device, print system, and print control method | |
US9423987B2 (en) | Data processing apparatus configured to execute printing using print setting | |
JP6520278B2 (en) | PRINT CONTROL DEVICE, PRINT SYSTEM, AND PRINT CONTROL METHOD | |
JP6265053B2 (en) | Printing control apparatus, printing system, and printing control method | |
US11403048B2 (en) | Print control device, print control method, and non-transitory computer-readable storage medium storing print control program which converts and generates second printing data based on custom setting value | |
US8054503B2 (en) | System and a program product | |
US20210191676A1 (en) | Non-transitory computer-readable recording medium, control system, and method of controlling information processing apparatus | |
JP2007179371A (en) | Printing system | |
JP2019053403A (en) | Program and printing system | |
JP6602053B2 (en) | Information processing apparatus, control method, and program | |
JP6264978B2 (en) | Printing control apparatus, printing system, and printing control method | |
JP2019128691A (en) | Control program and program group | |
US9298408B2 (en) | Print control device, printing system, server device, and print control program for identifying printing device | |
US20240012592A1 (en) | Image processing device, processing method, and non-transitory computer-readable storage medium storing program | |
JP6380505B2 (en) | Printer, printer system, and printer setting method | |
JP2017182257A (en) | Communication controller and communication control program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170427 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170427 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170829 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171024 |
|
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: 20171128 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20171211 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6265053 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |