JP6265053B2 - Printing control apparatus, printing system, and printing control method - Google Patents

Printing control apparatus, printing system, and printing control method Download PDF

Info

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
Application number
JP2014116707A
Other languages
Japanese (ja)
Other versions
JP2015230598A5 (en
JP2015230598A (en
Inventor
有史 染谷
有史 染谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2014116707A priority Critical patent/JP6265053B2/en
Priority to TW104117834A priority patent/TWI573073B/en
Priority to US15/315,075 priority patent/US10459673B2/en
Priority to KR1020167033967A priority patent/KR102051276B1/en
Priority to EP15803314.2A priority patent/EP3153962B1/en
Priority to CN201580029254.9A priority patent/CN106462368B/en
Priority to PCT/JP2015/002821 priority patent/WO2015186361A1/en
Publication of JP2015230598A publication Critical patent/JP2015230598A/en
Publication of JP2015230598A5 publication Critical patent/JP2015230598A5/ja
Application granted granted Critical
Publication of JP6265053B2 publication Critical patent/JP6265053B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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.

特開2004−362240号公報JP 2004-362240 A

特許文献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 is a block diagram illustrating a configuration of a printing system according to a first embodiment. 印刷システムの動作の概要を示す説明図である。It is explanatory drawing which shows the outline | summary of operation | movement of a printing system. 印刷システムの動作を示すフローチャートである。3 is a flowchart illustrating an operation of the printing system. 第2の実施形態に係る印刷システムの構成を示す図である。It is a figure which shows the structure of the printing system which concerns on 2nd Embodiment. 第2の実施形態の印刷システムの動作を示すフローチャートである。10 is a flowchart illustrating an operation of a printing system according to a second embodiment.

[第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 printing system 100 according to the first embodiment.
The printing system 100 is configured by connecting a printer 5 (printing apparatus) and a terminal device 1 (printing control apparatus) that controls the printer 5. Further, a printer 6 (printing device) can be connected to the terminal device 1 instead of the printer 5.
The printing system 100 is a system in which an operator operates the terminal device 1, the terminal device 1 outputs print data to the printer 5 according to this operation, and the printer 5 prints on a print medium based on the print data. When the printer 6 is connected to the terminal device 1, the printer 6 prints on the print medium by operating the terminal device 1.

端末装置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 printers 5 and 6 are connected by a communication line 3. The communication line 3 is composed of a communication cable or a wireless communication line. For example, the communication line 3 is a one-to-one connection communication cable compliant with various standards such as USB, IEEE1284, IEEE1394, RS-232C, or a wired network compliant with Ethernet (registered trademark). Further, the communication line 3 may employ a short-range wireless communication such as Bluetooth (registered trademark) or Wireless USB, or a wireless communication network such as a wireless LAN.
Although the number of printers 5 and 6 connected to the terminal device 1 is not limited, an example in which one printer 5 or printer 6 is connected to the terminal device 1 will be described as an example in the present embodiment.
In the following description, it is more preferable that the terminal device 1 and the printer 5 are connected by a communication line 3 including a wired LAN or a wireless LAN.

端末装置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 terminal input unit 21 that detects an operation on the terminal device 1, a terminal display unit 22 that displays various information, and a communication interface (I / F) 23 connected to the printers 5 and 6. The terminal input unit 21 and the terminal display unit 22 are used for operator operations. In addition, the communication interface 23 (communication unit) executes data communication with the printer 5 or the printer 6 via the communication line 3. The communication interface 23 is, for example, a wired communication interface compliant with USB, IEEE1284, IEEE1394, RS-232C, Ethernet, or the like, or a wireless communication interface such as Bluetooth, Wireless USB, or wireless LAN.

端末装置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 terminal control unit 10 includes an application execution unit 11 and a driver execution unit 12. The terminal control unit 10 includes a CPU, ROM, RAM, and the like (not shown), and realizes the function of the terminal device 1 by executing a program. The ROM of the terminal control unit 10 stores a basic control program that can be executed by the CPU in a nonvolatile manner. The RAM temporarily stores programs executed by the CPU, data to be processed, and the like.
A terminal storage unit 15 is connected to the terminal control unit 10. The terminal storage unit 15 includes a storage device including a magnetic storage medium and a semiconductor memory device, and stores a program executed by a CPU (not shown) of the terminal control unit 10 and data processed by the CPU in a nonvolatile manner. Remember. The terminal storage unit 15 stores, for example, an application program 16 executed by the terminal control unit 10, a library 17 processed by the terminal control unit 10, setting data 18, and printer information 19.

アプリケーションプログラム16は、例えば、文書作成プログラム、画像編集プログラム、POSアプリケーション、或いはラベル作成プログラム等のアプリケーションプログラムである。アプリケーションプログラム16は、端末制御部10が備えるアプリケーション実行部11により実行される。別の表現をすれば、アプリケーション実行部11は、端末制御部10のCPUがアプリケーションプログラム16を実行する機能を示す機能ブロックである。アプリケーション実行部11がアプリケーションプログラム16を実行すると、端末装置1により、文書作成、画像編集、POS端末としての動作、ラベル作成等の各種の機能を利用できる。   The application program 16 is an application program such as a document creation program, an image editing program, a POS application, or a label creation program. The application program 16 is executed by the application execution unit 11 included in the terminal control unit 10. In other words, the application execution unit 11 is a functional block that indicates a function for the CPU of the terminal control unit 10 to execute the application program 16. When the application execution unit 11 executes the application program 16, the terminal device 1 can use various functions such as document creation, image editing, operation as a POS terminal, and label creation.

ライブラリー17は、端末装置1のオペレーティングシステムの一部を構成し、周辺機器の制御等の機能を実行するミドルウェアである。本実施形態のライブラリー17は、プリンター5、6に対して、印刷実行を指示するコマンドや印刷対象のデータを送信する機能を有する。端末制御部10のCPUがライブラリー17を実行することにより、ドライバー実行部12の機能が実現される。ドライバー実行部12は、端末記憶部15に記憶された、プリンター5、6に対応するプリンタードライバープログラム(図示略)を実行する。ドライバー実行部12は、アプリケーション実行部11が生成した文書や画像のデータを取得し、プリンター5、6に適した形態の各種コマンドやデータを含む印刷データを、通信インターフェース23により送信する。この印刷データは、例えば、印刷実行を指示するコマンド、及び、印刷するデータを含む。   The library 17 is middleware that constitutes a part of the operating system of the terminal device 1 and executes functions such as control of peripheral devices. The library 17 according to the present embodiment has a function of transmitting a command for instructing printing and data to be printed to the printers 5 and 6. When the CPU of the terminal control unit 10 executes the library 17, the function of the driver execution unit 12 is realized. The driver execution unit 12 executes a printer driver program (not shown) corresponding to the printers 5 and 6 stored in the terminal storage unit 15. The driver execution unit 12 acquires document and image data generated by the application execution unit 11 and transmits print data including various commands and data in a form suitable for the printers 5 and 6 through the communication interface 23. This print data includes, for example, a command for instructing printing and data to be printed.

プリンター5は、端末装置1が送信する印刷データに基づいて、図示しない印刷媒体に印刷を行う。プリンター5が使用する印刷媒体は、所定サイズにカットされたカットシートまたは連続シートであり、これらのシートは紙または合成樹脂製であって、表面加工が施されていてもよい。連続シートは、例えばロール紙やファンフォールド紙である。また、裏面に粘着剤が付された定型サイズのラベルを、剥離紙(台紙)に並べてロール状に巻いたラベル用紙を用いてもよい。また、プリンター5の印刷方式は任意である。本実施形態では、普通紙をロール状に巻いたロール紙を印刷媒体とし、印刷媒体にインクを吐出して印刷するインクジェット式プリンターを例に挙げる。   The printer 5 performs printing on a print medium (not shown) based on the print data transmitted by the terminal device 1. The print medium used by the printer 5 is a cut sheet or a continuous sheet cut into a predetermined size, and these sheets are made of paper or synthetic resin and may be subjected to surface processing. The continuous sheet is, for example, roll paper or fanfold paper. Moreover, you may use the label paper which put the label of the fixed size which attached the adhesive on the back surface on release paper (mounting paper), and wound it in roll shape. The printing method of the printer 5 is arbitrary. In this embodiment, an ink jet printer that prints by using a roll paper obtained by winding plain paper in a roll shape as a print medium and ejecting ink onto the print medium is taken as an example.

プリンター5は、印刷ヘッド64を備える。本実施形態の印刷ヘッド64はインクを吐出するノズルを備えたインクジェット式の印刷ヘッドである。印刷ヘッド64は、搬送方向に直交する方向において印刷範囲全体にわたって、ノズルが列をなして配置されたラインヘッドである。印刷ヘッド64は、シアン(C)、マゼンダ(M)、イエロー(Y)、及びブラック(K)の4色の色毎にノズル列を有し、フルカラーで印刷媒体に印刷を行うことができる。また、印刷ヘッド64が、さらに多色のインクを使用する構成であってもよいし、2色またはモノクロのインクを使用する構成であってもよい。
また、印刷ヘッド64は、感熱紙に熱を与えて印刷するサーマルヘッドであってもよく、プリンター5はサーマルプリンターであってもよい。
The printer 5 includes a print head 64. The print head 64 of this embodiment is an ink jet print head provided with nozzles that eject ink. The print head 64 is a line head in which nozzles are arranged in rows over the entire print range in a direction orthogonal to the transport direction. The print head 64 has nozzle rows for each of four colors of cyan (C), magenta (M), yellow (Y), and black (K), and can print on a print medium in full color. Further, the print head 64 may be configured to use more multi-color inks, or may be configured to use two-color or monochrome inks.
The print head 64 may be a thermal head that prints by applying heat to the thermal paper, and the printer 5 may be a thermal printer.

プリンター5は、プリンター5の各部を制御するプリンター制御部50を備える。プリンター制御部50は、図示しないCPU、ROM、RAM等を備える。プリンター制御部50のROMには、CPUによって実行可能なファームウェア、ファームウェアに係るデータ等が不揮発的に記憶される。また、RAMにはCPUが実行するファームウェアに係るデータ等が一時的に記憶される。プリンター制御部50は、その他の周辺回路等を備えていてもよい。   The printer 5 includes a printer control unit 50 that controls each unit of the printer 5. The printer control unit 50 includes a CPU, ROM, RAM, and the like (not shown). Firmware that can be executed by the CPU, data related to the firmware, and the like are stored in the ROM of the printer control unit 50 in a nonvolatile manner. The RAM temporarily stores data related to firmware executed by the CPU. The printer control unit 50 may include other peripheral circuits.

プリンター制御部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 print head 64 described above, the printer control unit 50 includes a printer input unit 61, a printer display unit 62, a communication interface (I / F) 63, a sensor 66, a transport motor 65, and a printer storage unit 55. Connected.
The printer input unit 61 includes various switches, and outputs a signal corresponding to the operation of these switches to the printer control unit 50. The printer display unit 62 includes an LED indicator and a liquid crystal display panel that display an operation state of the printer 5 under the control of the printer control unit 50. The communication interface 63 performs data communication with the terminal device 1 via the communication line 3. The communication interface 63 is, for example, a wired communication interface compliant with USB, IEEE1284, IEEE1394, RS-232C, Ethernet, or the like, or a wireless communication interface such as Bluetooth, Wireless USB, or wireless LAN.

搬送モーター65は、プリンター制御部50の制御に従って搬送ローラー(図示略)を回転させ、印刷媒体を搬送する。
センサー66は、印刷媒体の搬送経路上に設けられた光センサーである。プリンター制御部50は、センサー66を利用して、印刷媒体、または印刷媒体に付された位置検出用のマーク(図示略)を検出する。
The conveyance motor 65 rotates a conveyance roller (not shown) according to the control of the printer control unit 50 and conveys the print medium.
The sensor 66 is an optical sensor provided on the print medium conveyance path. The printer control unit 50 uses the sensor 66 to detect a print medium or a position detection mark (not shown) attached to the print medium.

プリンター制御部50は、機能を実行する実行部として、プリントサーバー部51、及び印刷制御部52を備える。これらの実行部は、CPUがファームウェアを実行した場合に実現される機能に相当する。また、プリンター制御部50を構成するRAM(図示略)の記憶領域に、受信バッファー53及びプリントバッファー54が設けられる。受信バッファー53及びプリントバッファー54のいずれか、または両方を、プリンター記憶部55に設けることも、プリンター制御部50に外部接続されるRAMに設けることも可能である。
プリンター記憶部55は、磁気記憶媒体や半導体メモリーデバイスを備えた記憶装置で構成され、各種データを書き換え可能に不揮発的に記憶する。プリンター記憶部55は、プリンター5のデータ通信の仕様等に関する情報を含む通信設定データ56を記憶する。
The printer control unit 50 includes a print server unit 51 and a print control unit 52 as execution units that execute functions. These execution units correspond to functions realized when the CPU executes firmware. Further, a reception buffer 53 and a print buffer 54 are provided in a storage area of a RAM (not shown) that constitutes the printer control unit 50. Either or both of the reception buffer 53 and the print buffer 54 can be provided in the printer storage unit 55 or in a RAM externally connected to the printer control unit 50.
The printer storage unit 55 includes a storage device including a magnetic storage medium and a semiconductor memory device, and stores various data in a rewritable manner. The printer storage unit 55 stores communication setting data 56 including information related to data communication specifications and the like of the printer 5.

プリントサーバー部51は、通信インターフェース63に対して所定の通信ポートを指定してhttp(hypertext transfer protocol)アクセスがされた場合に、このアクセスに対してウェブサーバーとして処理を行う。
プリントサーバー部51は、通信インターフェース63を介して端末装置1との間でデータ通信を実行する。プリントサーバー部51は、通信インターフェース63により、端末装置1が送信した印刷データを受信した場合、受信した印刷データを受信バッファー53に記憶させる。受信バッファー53には、受信された印刷データが受信順に蓄積される。
When a predetermined communication port is specified for the communication interface 63 and http (hypertext transfer protocol) access is made, the print server unit 51 performs processing as a web server for this access.
The print server unit 51 performs data communication with the terminal device 1 via the communication interface 63. When the print server unit 51 receives print data transmitted from the terminal device 1 via the communication interface 63, the print server unit 51 stores the received print data in the reception buffer 53. The received print data is stored in the reception buffer 53 in the order of reception.

プリントサーバー部51は、所定のデータ形式の印刷データを受信し、処理可能な構成となっている。印刷データのデータ形式は、本願発明のデータの形態の一例に相当する。プリントサーバー部51が対応するデータ形式は、例えば、XML形式や、ESC/POS(登録商標)が挙げられる。XML形式のデータに対応する構成では、プリントサーバー部51が印刷データを受信する通信ポートは、XMLデータ用に予め設定された、例えばポート8009番である。プリントサーバー部51は、端末装置1から8009番ポート宛てにアクセスがあった場合に、このアクセスに応答して、端末装置1が送信するXML形式のデータを受信する。プリントサーバー部51は、受信したデータを、印刷制御部52が処理可能なデータに変換して受信バッファー53に記憶させる。また、ESC/POS形式のデータに対応する構成では、プリントサーバー部51が印刷データを受信する通信ポートは、ESC/POS用に予め設定された、例えばポート9100番である。   The print server unit 51 is configured to receive and process print data in a predetermined data format. The data format of the print data corresponds to an example of the data format of the present invention. Examples of the data format supported by the print server unit 51 include an XML format and ESC / POS (registered trademark). In the configuration corresponding to the data in the XML format, the communication port from which the print server unit 51 receives the print data is, for example, port 8009 set in advance for the XML data. When there is an access from the terminal device 1 to the port 8009, the print server unit 51 receives XML format data transmitted by the terminal device 1 in response to this access. The print server unit 51 converts the received data into data that can be processed by the print control unit 52 and stores the data in the reception buffer 53. In the configuration corresponding to the data in the ESC / POS format, the communication port from which the print server unit 51 receives the print data is, for example, port 9100 set in advance for ESC / POS.

印刷制御部52は、受信バッファー53に記憶した印刷データに含まれるコマンドを解析する。印刷実行の指示と印刷するデータとを検出した場合、印刷制御部52は、データをプリントバッファー54に展開して、印刷画像を生成する。印刷制御部52は、印刷ヘッド64及び搬送モーター65を制御して、プリントバッファー54に展開した印刷画像を印刷媒体に印刷する。   The print control unit 52 analyzes a command included in the print data stored in the reception buffer 53. When a print execution instruction and data to be printed are detected, the print control unit 52 develops the data in the print buffer 54 and generates a print image. The print control unit 52 controls the print head 64 and the transport motor 65 to print the print image developed in the print buffer 54 on the print medium.

また、プリントサーバー部51は、端末装置1によるhttpアクセスに応答して、プリンター5が通信可能な通信ポートのリスト(ポート情報)を端末装置1に送信する機能を有する。プリンター5が通信可能な通信ポートを示す情報は、プリンター記憶部55に記憶された通信設定データ56に含まれている。また、通信設定データ56それ自体が、通信ポートのリストであってもよい。プリントサーバー部51は、通信インターフェース63へのhttpアクセスに応答して、通信設定データ56を読み出して、通信ポートのリストを端末装置1に送信する。   Further, the print server unit 51 has a function of transmitting to the terminal device 1 a list of communication ports (port information) with which the printer 5 can communicate in response to http access by the terminal device 1. Information indicating a communication port with which the printer 5 can communicate is included in the communication setting data 56 stored in the printer storage unit 55. Further, the communication setting data 56 itself may be a list of communication ports. In response to http access to the communication interface 63, the print server unit 51 reads the communication setting data 56 and transmits a list of communication ports to the terminal device 1.

プリンター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 printer 5, the printer 6 is a printer that executes printing based on the print data transmitted from the terminal device 1. Of the components provided in the printer 6, those common to the components provided in the printer 5 are denoted by the same reference numerals and description thereof is omitted.
The printer 6 includes a printer control unit 50 a that controls each unit of the printer 6. Similar to the printer control unit 50, the printer control unit 50a includes a CPU, ROM, RAM, and the like (not shown). Firmware that can be executed by the CPU, data related to the firmware, and the like are stored in a nonvolatile manner in the ROM of the printer control unit 50a. The RAM temporarily stores data related to firmware executed by the CPU. The printer control unit 50a may include other peripheral circuits. Similar to the printer control unit 50, the printer control unit 50 a includes a print control unit 52, a reception buffer 53, and a print buffer 54. On the other hand, the printer control unit 50 a does not have the application execution unit 11. Therefore, when the printer 6 receives the print data transmitted from the terminal device 1 via the communication interface 63, the printer control unit 50 a stores the received print data in the reception buffer 53.

また、プリンター6は、プリンター記憶部55に代えてプリンター記憶部55aを備える。プリンター記憶部55aはプリンター記憶部55と同様にプログラムやデータを不揮発的に記憶する。プリンター記憶部55aは、通信設定データ56を記憶していない。通信設定データ56のようなデータを記憶していてもよいが、少なくとも、プリンター5のように通信ポートのリストを送信する目的で通信設定データ56を記憶する必要はない。
プリンター6は、予め設定された形式の印刷データや、その他のコマンドを受信して、受信バッファー53に記憶し、印刷動作や、コマンドで指定された動作を実行する。また、プリンター6のプリンター制御部50aは、プリンター6が対応するコマンド体系で定義されていないコマンドを通信インターフェース63により受信した場合、このコマンドを受信バッファー53に記憶するが、実行せず読み捨てる。
Further, the printer 6 includes a printer storage unit 55 a instead of the printer storage unit 55. Similar to the printer storage unit 55, the printer storage unit 55a stores programs and data in a nonvolatile manner. The printer storage unit 55a does not store the communication setting data 56. Data such as the communication setting data 56 may be stored, but it is not necessary to store the communication setting data 56 at least for the purpose of transmitting a list of communication ports like the printer 5.
The printer 6 receives print data in a preset format and other commands, stores them in the reception buffer 53, and executes the printing operation and the operation specified by the command. In addition, when the communication interface 63 receives a command that is not defined in the command system supported by the printer 6, the printer control unit 50a of the printer 6 stores the command in the reception buffer 53, but discards it without executing it.

プリンター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 printer 6 can be said to be a conventional printer that corresponds to a known command system such as ESC / POS. The printer 6 does not support XML format data. Unlike the printer 5, the printer 6 does not include a print server unit. Therefore, when an http access is made from the terminal device 1, the printer 6 does not respond to the http access as a web server.
Thus, two types of printers 5 and 6 can be connected to the terminal device 1, and there is a possibility that the forms of data corresponding to the printers 5 and 6 are different. In this embodiment, the data format is either the XML format or the ESC / POS format, but it is unknown to the terminal device 1 whether the data format that can be processed by the printer 5 is the XML format or the ESC / POS format. . The terminal device 1 needs to transmit control data and print data to the printer 5 or the printer 6 connected to the communication interface 23 in a data format that can be supported by the printer.

図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 printing system 100. FIG. 2A shows the operation when the printer 5 or the printer 6 corresponding to ESC / POS is connected to the terminal device 1. FIG. 2B shows the operation when the printer 5 corresponding to XML is connected to the terminal device 1. FIG. 2C shows an operation of specifying the data format corresponding to the printer connected to the terminal device 1.

図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 (printer 5 or printer 6) compatible with ESC / POS, the terminal device 1 uses the ESC / POS command to Print instructions for 5 and 6 are given. On the other hand, when the printer 5 corresponding to XML is connected to the terminal device 1 as shown in FIG. 2B, the terminal device 1 transmits print data in XML format to the printer 5 for printing. Is executed.

図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 printing system 100, the port number at which the printer 5 receives the XML data is 9100, and the port number at which the ESC / POS command is received is 8009. It is. Therefore, the terminal device 1 can identify whether the data format corresponding to the connected printer 5 is ESC / POS or XML based on the list of port numbers returned by the printer 5. When there is no response to the http request, the terminal device 1 can determine that the printer 5 or the printer 6 that does not have a function of responding to the http request is connected. In this case, the terminal device 1 selects a data format of a preset initial value (default). The default data format is, for example, an ESC / POS command that can be handled by an old printer.

なお、ここで例に挙げたポート番号は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 printer 5 or the printer 6 are connected in a form that does not use TCP / IP or UDP, the http request is not executed. For example, this corresponds to a case where the connection is made by a one-to-one connection communication cable compliant with various standards such as USB, IEEE1284, IEEE1394, RS-232C, or Bluetooth.
2C is applied when the printer 5 or the printer 6 is connected to the terminal device 1 in a form corresponding to TCP / IP or UDP, such as a wired LAN or a wireless LAN.

図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 printing system 100. 3A shows the operation of the application execution unit 11, FIG. 3B shows the operation of the driver execution unit 12, and FIG. 3C shows the operation of the printer 5.
When document creation or image editing is performed by the application execution unit 11 and printing is instructed by an operator's operation, the application execution unit 11 calls the library 17 to request connection to the printer and printing (step S11). . The driver execution unit 12 starts to operate in response to the call of the library 17 and acquires the connection and print request output by the application execution unit 11 (step S21). Here, the driver execution unit 12 acquires the print target data generated by the application execution unit 11.

ドライバー実行部12は、通信インターフェース23に接続されたプリンターに対し、ポート番号のリストを要求するhttpリクエストを生成して送信する(ステップS22)。このhttpリクエストは通常のhttpによるアクセスと同様に、例えばTCP80番ポートに送信される。
プリンター5は、端末装置1から送信されたhttpリクエストを受信して(ステップS31)、プリンター記憶部55に記憶した通信設定データ56に基づき、要求されたポートのリストを生成して、端末装置1に送信する(ステップS32)。
The driver execution unit 12 generates and transmits an http request for requesting a list of port numbers to the printer connected to the communication interface 23 (step S22). This http request is transmitted to, for example, the TCP port 80 as in the case of normal http access.
The printer 5 receives the http request transmitted from the terminal device 1 (step S31), generates a list of requested ports based on the communication setting data 56 stored in the printer storage unit 55, and the terminal device 1 (Step S32).

ドライバー実行部12は、プリンター5からポートのリストが送信されるまで待機する(ステップS23)。設定された時間内にポートのリストを受信した場合(ステップS23;YES)、ドライバー実行部12は受信したポートのリストを参照して、ドライバー実行部12が印刷データ送信時に接続するポートを選択する(ステップS24)。例えばポートのリストにTCP8009番が含まれている場合、ドライバー実行部12は印刷データの送信先のポート番号を8009番にする。また、ポートのリストに、ドライバー実行部12が印刷データを送信可能な複数のポート番号が含まれる場合、ドライバー実行部12は、予め設定された優先順位に従ってポートを選択する。   The driver execution unit 12 waits until a list of ports is transmitted from the printer 5 (step S23). When a list of ports is received within the set time (step S23; YES), the driver execution unit 12 refers to the received list of ports and selects a port to which the driver execution unit 12 is connected when transmitting print data. (Step S24). For example, if TCP 8009 is included in the port list, the driver execution unit 12 sets the port number of the print data transmission destination to 8009. If the port list includes a plurality of port numbers to which the driver execution unit 12 can transmit print data, the driver execution unit 12 selects a port according to a preset priority order.

ドライバー実行部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 driver execution unit 12 determines the data format corresponding to the selected port (step S25). If the driver execution unit 12 does not receive the list of ports via the communication interface 23 within the set time (step S23; NO), the driver execution unit 12 proceeds to step S25 and selects a default data format. Here, the driver execution unit 12 generates printer information 19 (data format information) indicating the data format of the printer 5 connected to the communication interface 23 and stores it in the terminal storage unit 15.
The printer information 19 associates at least information identifying the printer 5 with information indicating a data format supported by the printer 5. The printer information 19 may include a communication port number that can be received by the printer 5 together with a data format supported by the printer 5. If there are a plurality of communication ports that can be accepted by the printer 5, the driver execution unit 12 registers in the printer information 19 the data format determined in step S <b> 25 and information regarding the communication port corresponding to this data format.
By using the printer information 19, when the driver execution unit 12 subsequently causes the printer 5 to execute printing, the operations in steps S22 to S25 can be omitted.
The driver execution unit 12 transmits print data including a print instruction and data for printing the data acquired from the application execution unit 11 to the printer 5 in the data format selected in step S25 (step S26).

プリンター5は、端末装置1から送信された印刷データを受信して(ステップS33)、受信した印刷データに基づき印刷を実行する(ステップS34)。受信した印刷データの印刷が完了すると、プリンター5は印刷完了の通知を生成して端末装置1に送信する(ステップS35)。
ドライバー実行部12は、プリンター5から送信される印刷完了の通知に基づき、印刷完了を検出し(ステップS27)、アプリケーション実行部11に対して印刷完了を通知する(ステップS28)。アプリケーション実行部11は、ドライバー実行部12からの通知に基づき印刷完了を検出し(ステップS12)、例えば端末表示部22に印刷完了を示す通知を行う。
The printer 5 receives the print data transmitted from the terminal device 1 (step S33), and executes printing based on the received print data (step S34). When the printing of the received print data is completed, the printer 5 generates a print completion notification and transmits it to the terminal device 1 (step S35).
The driver execution unit 12 detects the print completion based on the print completion notification transmitted from the printer 5 (step S27), and notifies the application execution unit 11 of the print completion (step S28). The application execution unit 11 detects the completion of printing based on the notification from the driver execution unit 12 (step S12), and notifies the terminal display unit 22 of the completion of printing, for example.

また、端末装置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 printer 6 is connected to the terminal device 1, the application execution unit 11 and the driver execution unit 12 of the terminal device 1 execute the operations illustrated in FIGS. In this case, since the printer 6 does not have a function of receiving and analyzing an http request, the driver execution unit 12 cannot receive a list of ports (step S23; NO). Therefore, the driver execution unit 12 selects a default format (for example, ESC / POS) as the transmission data format, and registers the printer 6 and the default data format in the printer information 19 in association with each other. Thereby, the terminal device 1 can control the printer 6 to execute printing.

以上説明したように、本発明を適用した第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 printing system 100 according to the first embodiment to which the present invention is applied includes the terminal device 1 and the printer 5 or the printer 6 connected to the terminal device 1. The terminal device 1 includes a communication interface 23 that is communicably connected to the printers 5 and 6. Further, the terminal device 1 requests port information indicating a communication port capable of communicating with the printers 5 and 6 through the communication interface 23 and receives terminal information transmitted from the printers 5 and 6 in response to the request. The unit 10 is provided. Based on the port information received from the printers 5 and 6, the terminal control unit 10 determines the form of data that can be handled by the printers 5 and 6. For this reason, the terminal device 1 can select the data format suitable for the printer 5 or the printer 6 connected to the communication interface 23, transmit the print data, and execute printing. For this reason, even if the terminal device 1 does not have information regarding the specifications of the printers 5 and 6, the printers 5 and 6 can be controlled. Further, the information transmitted by the printers 5 and 6 is information regarding communication ports that can communicate and is general information. For this reason, the present invention can be applied without mounting special functions in the printers 5 and 6.
In the terminal control unit 10, the application execution unit 11 calls the driver execution unit 12, so that the driver execution unit 12 selects a data format corresponding to the printer 5 or the printer 6 connected to the communication interface 23. For this reason, it is not necessary for the application execution unit 11 to perform processing in consideration of the data format supported by the printer. Therefore, there is an advantage that it is not necessary to mount a function corresponding to a specific printer in the application program 16 executed by the application execution unit 11.

ここで、データの形態とは、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 printers 5 and 6 can be referred to as determining the data form.

端末制御部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 driver execution unit 12 of the terminal control unit 10 can control the printers 5 and 6 by communicating with the printers 5 and 6 through the communication interface 23 using data suitable for the form determined based on the port information. In addition, the driver execution unit 12 can send print data to the printers 5 and 6 using data suitable for the determined form to execute printing.
The driver execution unit 12 determines the form of data that can be supported by the printers 5 and 6 based on the list of communication ports received from the printers 5 and 6 through the communication interface 23, and data that associates the determination results with the printers 5 and 6. Generate format information. This data format information is stored in the terminal storage unit 15 as, for example, printer information 19.
If the driver execution unit 12 does not receive the list of ports via the communication interface 23 after transmitting the http request to the printers 5 and 6, the driver execution unit 12 sets the data format corresponding to the printers 5 and 6 in advance. It is determined that it has been made. For this reason, the driver execution unit 12 can control a printer that does not have a function of responding to an http request or a printer that does not have a function of transmitting a list of communication ports.

[第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 printing system 101 according to the second embodiment to which the present invention is applied. In this printing system 101, the same reference numerals are given to the same components as those in the printing system 100 described in the first embodiment, and illustration and description thereof are omitted.
A printing system 101 shown in FIG. 4 has a configuration in which a plurality of printers 5 are connected to a terminal device 1 via a communication network 4. In this configuration, the terminal device 1 selects one printer 5 and executes printing.
A unique network address is assigned in the communication network 4 to the terminal device 1 and each printer 5 of the printing system 101, and the terminal device 1 and each printer 5 can be specified on the communication network 4. The communication network 4 may be either a wired LAN or a wireless LAN, and a part of the communication network 4 may be configured with a wide area communication line.

印刷システム101では、端末装置1が、各プリンター5が対応するデータの形態、及び、使用可能なプリンター5の数に関する情報を有していなくても、端末装置1がプリンター5を検索でき、各プリンター5が対応するデータの形態に関する情報を取得できる。   In the printing system 101, the terminal device 1 can search for the printer 5 even if the terminal device 1 does not have information on the form of data supported by each printer 5 and the number of usable printers 5. Information regarding the form of data supported by the printer 5 can be acquired.

図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 application execution unit 11, FIG. 5B shows the operation of the driver execution unit 12, and FIG. 5C shows the operation of the printer 5. Further, in the flowcharts shown in FIGS. 5A to 5C, processing steps common to FIGS. 3A to 3C are denoted by the same step numbers and description thereof is omitted.
When the application execution unit 11 calls the library 17 in step S11, the driver execution unit 12 starts operation in response to the call of the library 17 in step S21. In step S <b> 21, the driver execution unit 12 acquires a connection and print request output from the application execution unit 11, and acquires print target data generated by the application execution unit 11.

ここで、ドライバー実行部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 driver execution unit 12 transmits an http request requesting an IP address in order to detect the printer 5 connected to the communication network 4 (step S41). The http request transmitted in step S41 is broadcast, for example, and can be received by all printers 5 that can communicate via the communication network 4.
When receiving the http request (step S51), the printer 5 transmits the IP address of the printer 5 to the terminal device 1 in response to the http request (step S52). In step S <b> 52, the host name in the communication network 4 of the printer 5, the model name of the printer 5, the number of the communication port that can be used by the printer 5, and other information related to the printer 5 may be transmitted to the terminal device 1. .

端末装置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 printer 5, and registers the printer 5 based on the received IP address (step S43). Registration of the printer 5 is processing for registering the list of IP addresses transmitted from the printer 5 in the printer information 19. In step S43, when there is a response including an IP address from a device other than the printer 5 connected to the communication network 4, the driver execution unit 12 may select and register the response from the printer 5.
Thereafter, the driver execution unit 12 selects the printer 5 (step S43). For example, the operator may perform an input operation on the terminal device 1 and select the printer 5 designated by this operation. In this case, the IP address and the like of the printer 5 registered in the printer information 19 may be displayed on the terminal display unit 22. Further, the driver execution unit 12 may select one printer 5 according to a preset priority order.

その後、ドライバー実行部12は、選択したプリンター5に対し、ステップS23〜S28の動作を実行する。選択されたプリンター5は、第1の実施形態で説明したステップS31〜S35の動作を実行する。   Thereafter, the driver execution unit 12 executes the operations of steps S23 to S28 for the selected printer 5. The selected printer 5 executes the operations in steps S31 to S35 described in the first embodiment.

このように、端末装置1の通信インターフェース23が、複数のプリンター5、6を接続可能な通信ネットワーク4に接続された構成で、ドライバー実行部12は、通信ネットワークに接続されたプリンターを検索し、検索したプリンターにポート情報を要求する。このため、通信ネットワーク4を介して使用可能なプリンターを調べるとともに、プリンターが対応可能なデータの形態を判別できる。このため、ドライバー実行部12が複数のプリンターと通信可能な場合や、使用可能なプリンターの数が未知である場合に、複雑な処理を経ることなく、これら複数のプリンターを選択して使用できる。そして、通信ネットワーク4を介して使用可能なプリンターを調べ、各プリンターが対応可能なデータの形態に関する情報を得ることができる。   Thus, in the configuration in which the communication interface 23 of the terminal device 1 is connected to the communication network 4 to which the plurality of printers 5 and 6 can be connected, the driver execution unit 12 searches for a printer connected to the communication network, Request port information from the searched printer. Therefore, it is possible to check the printers that can be used via the communication network 4 and to determine the data format that the printers can handle. Therefore, when the driver execution unit 12 can communicate with a plurality of printers or when the number of usable printers is unknown, these plurality of printers can be selected and used without complicated processing. Then, the printers that can be used via the communication network 4 are checked, and information on the form of data that can be handled by each printer can be obtained.

上記各実施形態では、プリンターが対応可能なデータの形態が、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 printers 5 and 6 correspond.
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 printers 5 and 6 is 9100 or 8009. An example was given. The port information may include port specifications such as the name of the communication port and the type of communication protocol that can be used in the communication port, in addition to the port number. In this case, the terminal device 1 may determine the data format that can be supported by the printer based on the port specifications other than the port number.

また、上述した各実施形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。例えば、上述した実施形態では、端末装置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 printers 5 and 6 may be provided in other devices externally connected to these devices. In addition, the terminal device 1 may execute various operations by executing a program stored in an externally connected storage medium. Further, the printers 5 and 6 are not limited to ink jet printers, and the present invention is also applicable to various printing apparatuses such as a dot impact type, a laser type, and a thermal type, and a multi-function machine incorporating this type of printing unit. Is applicable.

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 ... Driver execution 15, terminal storage unit, 16, application program, 17, library, 19, printer information (data format information), 23, communication interface (communication unit), 50, 50 a, printer control unit, 51, print server unit , 52 ... print control unit, 53 ... reception buffer, 54 ... print buffer, 55, 55a ... printer storage unit, 56 ... communication setting data, 63 ... communication interface, 64 ... print head, 100, 101 ... printing system.

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.
前記制御部は、前記印刷装置から前記要求に対する応答を受信した場合、前記印刷装置が対応可能なデータの形態を第2のデータの形態と判別する、
請求項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.
JP2014116707A 2014-06-05 2014-06-05 Printing control apparatus, printing system, and printing control method Active JP6265053B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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