JP6740839B2 - Information processing system, terminal device, information processing device, information processing method, and program - Google Patents
Information processing system, terminal device, information processing device, information processing method, and program Download PDFInfo
- Publication number
- JP6740839B2 JP6740839B2 JP2016190795A JP2016190795A JP6740839B2 JP 6740839 B2 JP6740839 B2 JP 6740839B2 JP 2016190795 A JP2016190795 A JP 2016190795A JP 2016190795 A JP2016190795 A JP 2016190795A JP 6740839 B2 JP6740839 B2 JP 6740839B2
- Authority
- JP
- Japan
- Prior art keywords
- print data
- information processing
- information
- spooler service
- page
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 230000010365 information processing Effects 0.000 title claims description 49
- 238000003672 processing method Methods 0.000 title claims description 4
- 238000012545 processing Methods 0.000 claims description 67
- 238000000034 method Methods 0.000 claims description 30
- 238000004891 communication Methods 0.000 claims description 21
- 230000005540 biological transmission Effects 0.000 claims description 20
- 238000012546 transfer Methods 0.000 claims description 4
- 230000006870 function Effects 0.000 description 24
- 238000007639 printing Methods 0.000 description 16
- 230000004044 response Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000005856 abnormality Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Description
本発明は、情報処理システム、端末装置、情報処理装置、情報処理方法、及びプログラムに関する。 The present invention relates to an information processing system, a terminal device, an information processing device, an information processing method, and a program.
従来、サーバ装置が、クライアント装置からの印刷要求を受信し、サーバ装置におけるユーザの操作等に応じて、当該印刷要求をプリンターへ送信するシステムが知られている。 2. Description of the Related Art Conventionally, there is known a system in which a server device receives a print request from a client device and transmits the print request to a printer in response to a user operation on the server device.
このサーバ装置は、EMF(enhanced metafile)形式のデータを扱うことにより、サーバ装置の画面における印刷前のプレビュー表示や、ユーザからのページ指定による印刷などを行う。 This server device handles EMF (enhanced metafile) format data to perform a preview display before printing on the screen of the server device, printing by specifying a page from the user, and the like.
ここで、例えばWindows(登録商標)OSが提供する機能を用いて、サーバ装置にてネットワーク共有プリンターの設定をしておき、クライアント装置からサーバ装置で設定されたネットワーク共有プリンターへの印刷要求を行う場合であるとする。なお、当該機能は「ポイントアンドプリント」等と称されている。この場合、クライアント装置のスプーラーサービスから、サーバ装置で設定したネットワーク共有プリンターへの印刷要求の送信でエラーが発生する場合がある。 Here, for example, by using the function provided by the Windows (registered trademark) OS, the network shared printer is set in the server device, and a print request is issued from the client device to the network shared printer set in the server device. Let's say that. The function is called "point and print" or the like. In this case, an error may occur when the print request is sent from the spooler service of the client device to the network shared printer set in the server device.
非特許文献1には、このようなネットワーク共有プリンターで印刷を行うと失敗する場合があるという事象のうちの一つの原因について、(1)ネットワーク印刷用のローカルポートを作成する、(2)印刷要求に係るAPI関数の再試行を実装する、という回避策が提示されている。
しかしながら、上記2つの回避策には、以下の問題がある。 However, the above two workarounds have the following problems.
ネットワーク印刷用のローカルポートを作成する場合、クライアント装置において、「LocalPort」と称される、ポートの名前がUNCパス(¥¥フルコンピューター名¥共有名)に設定されたローカルプリンターを作成する。この場合、OSの仕様により、クライアント装置からサーバ装置へ送信されるデータの形式がRAW(ready to print)になるため、EMF形式のデータ扱うことにより実現している機能(プレビュー表示、ページ指定印刷等)が使用できないという問題がある。 When creating a local port for network printing, a local printer called "LocalPort" in which the port name is set to the UNC path (\\full computer name\shared name) is created in the client device. In this case, because the format of the data transmitted from the client device to the server device is RAW (ready to print) according to the specifications of the OS, the functions realized by handling the EMF format data (preview display, page designation printing) Etc.) cannot be used.
印刷要求に係るAPI関数の再試行を実装する場合、再度印刷が可能となるまでの間、印刷を行えないという問題がある。 When the retry of the API function related to the print request is implemented, there is a problem that printing cannot be performed until printing is possible again.
そこで、クライアント装置からサーバ装置への印刷要求にエラーが生じた場合でも、印刷されるページの情報を含む形式のデータをクライアント装置からサーバ装置へ即時に送信できる技術を提供することを目的とする。 It is therefore an object of the present invention to provide a technique capable of immediately transmitting data in a format including information of a page to be printed from a client device to a server device even when an error occurs in a print request from the client device to the server device. ..
端末装置、及び情報処理装置を有する情報処理システムにおいて、前記端末装置は、前記端末装置のスプーラーサービスを用いて、ページの情報を含む形式の印刷データを前記情報処理装置に出力する処理に失敗した場合、前記スプーラーサービスとは異なる出力先プリンター名を用いて、前記ページの情報を含む形式の印刷データを生成する生成部と、前記生成部により生成された前記ページの情報を含む形式の印刷データを、前記スプーラーサービスとは異なる通信方式により、前記情報処理装置に送信する送信部と、を備え、前記情報処理装置は、前記ページの情報を含む形式の印刷データを受信する受信部と、前記受信部により受信された印刷データに含まれる前記出力先プリンター名が、前記スプーラーサービスが用いる出力先プリンター名に置換された印刷データを、画像形成装置に出力する印刷制御部と、を備える。 In an information processing system including a terminal device and an information processing device, the terminal device fails to output print data in a format including page information to the information processing device by using a spooler service of the terminal device. In this case, using a printer name of the output destination different from that of the spooler service, a generation unit that generates print data in a format including the information on the page, and print data in a format including the information on the page generated by the generation unit and the different communication method to the spooler service, and a transmission unit that transmits to the information processing apparatus, the information processing apparatus includes a receiving unit for receiving print data in a format including information on the page, the The print control unit outputs the print data, in which the output destination printer name included in the print data received by the receiving unit is replaced with the output destination printer name used by the spooler service, to the image forming apparatus.
開示の技術によれば、クライアント装置からサーバ装置への印刷要求にエラーが生じた場合でも、印刷されるページの情報を含む形式のデータをクライアント装置からサーバ装置へ即時に送信することが可能となる。 According to the disclosed technology, even when an error occurs in a print request from a client device to a server device, it is possible to immediately transmit data in a format including information of a page to be printed from the client device to the server device. Become.
以下、本発明の実施形態について、図面を参照しながら詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
<システム構成>
まず、本実施形態に係る情報処理システム1のシステム構成について、図1を用いて説明する。図1は、一実施形態に係る情報処理システム1の一例のシステム構成を示す図である。
<System configuration>
First, the system configuration of the
図1に示すように、本実施形態に係る情報処理システム1は、1台以上のクライアント装置10と、サーバ装置20と、1台以上の画像形成装置30とを含み、LAN(Local Area Network)等のネットワークNを介して通信可能に接続されている。
As shown in FIG. 1, an
クライアント装置10は、例えばPC(パーソナルコンピュータ)、スマートフォン、タブレット端末等である。クライアント装置10は、例えば、ユーザからの印刷指示を受け付けて、印刷対象データから印刷データを作成した上で、印刷データをサーバ装置20に送信する。
The
なお、印刷対象データとは、例えば、画像データや文書データ等の印刷可能な電子データである。 The print target data is, for example, printable electronic data such as image data and document data.
サーバ装置20は、例えばPC等である。サーバ装置20は、例えば、クライアント装置10から受信した印刷データを受信して記憶する。
The
また、サーバ装置20は、ユーザからの操作に応じて、印刷データのプレビュー表示、ページ指定印刷等の機能を実行し、印刷データを画像形成装置30に送信する。
In addition, the
画像形成装置30は、例えばプリンター、印刷機能を備えたMFP(Multifunction Peripheral)等である。画像形成装置30は、クライアント装置10からサーバ装置20を介して受信した印刷データを印刷する。
The
なお、以降では、1台以上のクライアント装置10について、各々を区別するときは、「クライアント装置10−1」、「クライアント装置10−2」等と表す。同様に、1台以上の画像形成装置30について、各々を区別するときは、「画像形成装置30−1」、「画像形成装置30−2」等と表す。
Note that, hereinafter, when distinguishing one or
<ハードウェア構成>
次に、本実施形態に係る情報処理システム1に含まれるクライアント装置10、及びサーバ装置20のハードウェア構成について、図2を用いて説明する。
<Hardware configuration>
Next, the hardware configurations of the
≪クライアント装置10及びサーバ装置20≫
図2は、一実施形態に係るクライアント装置10及びサーバ装置20の一例のハードウェア構成を示す図である。なお、クライアント装置10及びサーバ装置20は、同様のハードウェア構成を有しているため、以降では、クライアント装置10のハードウェア構成について説明する。
<<
FIG. 2 is a diagram illustrating a hardware configuration of an example of the
図2に示すように、本実施形態に係るクライアント装置10は、入力装置101と、表示装置102と、外部I/F103と、RAM(Random Access Memory)104とを有する。また、クライアント装置10は、ROM(Read Only Memory)105と、CPU(Central Processing Unit)106と、通信I/F107と、HDD(Hard Disk Drive)108とを有する。これらの各ハードウェアは、それぞれがバスBで接続されている。
As shown in FIG. 2, the
入力装置101は、キーボードやマウス、タッチパネル等を含み、ユーザが各操作信号を入力するのに用いられる。表示装置102は、ディスプレイ等を含み、クライアント装置10による処理結果を表示する。なお、入力装置101及び表示装置102の少なくとも一方は、必要なときにクライアント装置10に接続して利用する形態であっても良い。
The
通信I/F107は、クライアント装置10をネットワークNに接続するインタフェースである。これにより、クライアント装置10は、通信I/F107を介して通信を行うことができる。
The communication I/
HDD108は、プログラムやデータを格納している不揮発性の記憶装置である。HDD108に格納されるプログラムやデータには、クライアント装置10全体を制御する基本ソフトウェアであるOS(Operating System)、OS上において各種機能を提供するアプリケーションソフトウェア等がある。
The HDD 108 is a non-volatile storage device that stores programs and data. The programs and data stored in the HDD 108 include an OS (Operating System) that is basic software that controls the
なお、クライアント装置10は、HDD108に代え、記憶媒体としてフラッシュメモリを用いるドライブ装置(例えばソリッドステートドライブ:SSD)を利用するものであっても良い。また、HDD108は、格納しているプログラムやデータを所定のファイルシステムやDBにより管理している。
The
外部I/F103は、外部装置とのインタフェースである。外部装置には、記録媒体103a等がある。これにより、クライアント装置10は、外部I/F103を介して記録媒体103aの読み取りや書き込みを行うことができる。記録媒体103aには、フレキシブルディスク、CD、DVD、SDメモリカード、USBメモリ等がある。
The external I/
ROM105は、電源を切ってもプログラムやデータを保持することができる不揮発性の半導体メモリである。ROM105には、クライアント装置10の起動時に実行されるBIOS(Basic Input/Output System)、OS設定、及びネットワーク設定等のプログラムやデータが格納されている。RAM104は、プログラムやデータを一時保持する揮発性の半導体メモリである。
The
CPU106は、ROM105やHDD108等の記憶装置からプログラムやデータをRAM104上に読み出し、処理を実行することで、クライアント装置10全体の制御や機能を実現する演算装置である。
The
本実施形態に係るクライアント装置10及びサーバ装置20は、図2に示すハードウェア構成を有することにより、後述するような各種処理を実現できる。
The
<機能構成>
次に、図3を参照し、クライアント装置10及びサーバ装置20の機能構成について説明する。図3は、クライアント装置10及びサーバ装置20の機能ブロックの一例を示す図である。
<Functional configuration>
Next, the functional configurations of the
クライアント装置10は、アプリケーション実行部11、処理部12、記憶部13、スプーラーサービス14、EMFデータ生成部15、及び送信部16を有する。これら各部は、クライアント装置10にインストールされた1以上のプログラムが、クライアント装置10のCPUに実行させる処理により実現される。
The
≪クライアント装置の機能構成≫
また、クライアント装置10は、記憶部13を有する。記憶部13は、例えば、補助記憶装置等を用いて実現される。
<<Functional configuration of client device>>
The
アプリケーション実行部11は、アプリケーションを実行し、アプリケーションからの印刷要求に応じて、EMF形式の印刷データ(「印刷されるページの情報を含む形式の印刷データ」の一例)を生成する。
The
処理部12は、アプリケーション実行部11により生成されたEMF形式の印刷データを取得し、記憶部13に記憶させる。
The
また、処理部12は、印刷要求をスプーラーサービス14に出力する。
Further, the
また、処理部12は、スプーラーサービス14から、失敗を通知されると、記憶部13に記憶された印刷データを、送信部16から、サーバ装置20に送信させる。
When the
スプーラーサービス14は、処理部12からの要求に応じて、サーバ装置20に印刷データを出力する。スプーラーサービス14は、当該出力に成功したか否かを、処理部12に通知する。なお、スプーラーサービス14は、例えば公知のOSの機能を用いて実現してもよい。
The
EMFデータ生成部15は、アプリケーション実行部11からの印刷要求に応じたEMF形式の印刷データを生成する。なお、EMFデータ生成部15は、例えば公知のOSの「ローカルプリンター」機能を用いて実現してもよい。
The EMF
送信部16は、スプーラーサービス14を用いて、EMF形式の印刷データをサーバ装置20のEMFデータ処理部21に出力する処理に失敗した場合、記憶部13に記憶されたEMF形式の印刷データを、スプーラーサービス14とは異なる通信方式(例えばFTP等)により、サーバ装置20に送信する。
When the
≪サーバ装置の機能構成≫
サーバ装置20は、EMFデータ処理部21、受信部22、削除部23、出力部24、及び印刷制御部25を有する。これら各部は、サーバ装置20にインストールされた1以上のプログラムが、サーバ装置20のCPUに実行させる処理により実現される。
<<Functional configuration of the server>>
The
EMFデータ処理部21は、クライアント装置10のスプーラーサービス14から、EMF形式の印刷データを受信する。なお、EMFデータ処理部21の当該機能は、例えば公知のOSの機能を用いて実現してもよい。
The EMF
また、EMFデータ処理部21は、EMF形式のデータ扱うことにより実現している機能(プレビュー表示、ページ指定印刷等)を実行する。なお、EMFデータ処理部21の当該機能は、公知技術を用いて実現してもよい。
Further, the EMF
受信部22は、クライアント装置10が、スプーラーサービス14を用いて、EMF形式の印刷データをEMFデータ処理部21に出力する処理に失敗した場合、EMF形式の印刷データを、スプーラーサービス14とは異なる通信方式(例えばFTP等)により受信する。
When the
削除部23は、受信部22にて印刷データを受信すると、EMFデータ処理部21においてスプールされているデータのうち、クライアント装置10からスプーラーサービス14を介して入力されたデータを削除する。
When the receiving
出力部24は、受信部22により受信したデータに含まれるEMFデータ生成部15の識別情報を、EMFデータ生成部15に応じたEMFデータ処理部21の識別情報に置換し、EMFデータ処理部21に出力する。
The
印刷制御部25は、EMFデータ処理部21における印刷データに基づくデータを、画像形成装置30に出力する。
The
<処理>
次に、図4を参照し、情報処理システム1の処理について説明する。図4は、情報処理システム1の処理の一例を示すフローチャートである。
<Process>
Next, the processing of the
ステップS101において、クライアント装置10のアプリケーション実行部11は、ユーザからの印刷操作を受け付ける。例えば、帳票アプリなどから印刷操作(印刷指示)を行う。
In step S101, the
続いて、クライアント装置10のアプリケーション実行部11は、印刷操作に応じたEMF形式の印刷データの作成を行う(ステップS102)。
Subsequently, the
続いて、クライアント装置10の処理部12は、EMF形式の印刷データの作成に成功したか否かを判定する(ステップS103)。
Subsequently, the
EMF形式の印刷データの作成に成功した場合(ステップS103でYES)、クライアント装置10の処理部12は、EMF形式の印刷データを複製し、記憶部13に記憶(退避)する(ステップS104)。これにより、サーバ装置20上のネットワーク共有プリンターへの出力でエラーになった場合に備える。なお、クライアント装置10では、サーバ装置20上のネットワーク共有プリンターが予め登録されている。
When the EMF format print data is successfully created (YES in step S103), the
続いて、クライアント装置10の処理部12は、クライアント装置10上のスプーラーサービス14にEMF形式の印刷データを出力する(ステップS105)。これにより、スプーラーサービスから、サーバ装置20上のEMFデータ処理部21に印刷データが出力される。なお、スプーラーサービスは、例えばクライアント装置10のOSが提供する機能である。
Subsequently, the
続いて、クライアント装置10の処理部12は、サーバ装置20上のEMFデータ処理部21への出力に成功したか否かを判定する(ステップS106)。例えば、印刷要求に係るAPI関数の戻り値により、EMFデータ処理部21への出力が成功したか否かが判定される。
Subsequently, the
EMFデータ処理部21への出力が成功した場合(ステップS106でYES)、記憶部13に記憶されたEMF形式の印刷データを削除し(ステップS107)、後述するステップS115の処理へ進む。
When the output to the EMF
EMFデータ処理部21への出力が失敗した場合(ステップS106でNO)、クライアント装置10の処理部12は、記憶部13に記憶させておいたEMF形式の印刷データを、送信部16によりサーバ装置20に送信させる(ステップS108)。ここで、クライアント装置10の送信部16は、例えば、FTP(File Transfer Protocol)を用いて、サーバ装置20の所定のフォルダに送信する。
When the output to the EMF
続いて、サーバ装置20の削除部23は、既にスプールされているデータのうち、クライアント装置10からの受信が正常に完了しなかったデータを削除する(ステップS109)。上述したステップS106で、転送途中でエラーが発生した場合、クライアント装置10の処理部12にて判断できるのは、API関数が成功したか失敗したかのみであり、どれだけのデータがサーバ装置20側でスプールされたか分からない。ステップS109の処理により、上述したステップS106で、クライアント装置10のスプーラーサービス14からの送信が正常に終了しなかったデータが全て削除される。
Subsequently, the
上述したステップS108、及びステップS109の処理により、異常時に迂回ルートを経由して転送されたデータが、正常時と同様に処理されることとなる。 By the processing of steps S108 and S109 described above, the data transferred via the detour route at the time of abnormality is processed in the same manner as at the time of normal operation.
続いて、後述するステップS115の処理へ進む。 Then, it progresses to the process of step S115 mentioned later.
EMF形式の印刷データの作成に失敗した場合(ステップS103でNO)、クライアント装置10の処理部12は、EMFデータ生成部15に、印刷操作に応じたEMF形式の印刷データを作成させる(ステップS110)。なお、例えば、クライアント装置10にて設定されている仮想プリンターのサービスへのポートが接続できない場合等に、OSの機能によるEMF形式の印刷データの作成に失敗する。
When the creation of the EMF format print data fails (NO in step S103), the
EMFデータ生成部15は、例えば、Windows OSの「ローカルプリンター」機能を用い、以下の設定を行うことにより、EMF形式の印刷データを生成する。
The EMF
図5は、クライアント装置10におけるEMFデータ生成部15の設定の一例を説明する図である。まず、図5(A)のように、「プリンターのプロパティ」の「ポート」タブ501にて、「NUL: ローカルポート」502を選択する。次に、図5(B)のように、「プリンターのプロパティ」の「詳細設定」タブ503にて、「印刷後にドキュメントを残す」504、及び「詳細な印刷機能を有効にする」505を設定する。次に、図5(B)の画面で「プリントプロセッサ」ボタンを押下すると表示される画面において、図5(C)のように、プリントプロセッサとして「winprint」506、プリントプロセッサのデータ型として「NT EMF 1.00x」507を選択する。
FIG. 5 is a diagram illustrating an example of settings of the EMF
なお、EMF形式の印刷データには、例えば、EMF形式の印刷データ本体であるSPLファイル、及び出力先プリンター名であるEMFデータ生成部名(クライアント装置10におけるローカルプリンター名)等の情報を含むSHDファイルが含まれる。 Note that the EMF format print data includes, for example, an SHD file that is the main body of the EMF format print data and an SHD that includes information such as an EMF data generation unit name (local printer name in the client device 10) that is an output destination printer name. Files are included.
続いて、クライアント装置10の処理部12は、作成されたEMF形式の印刷データを、送信部16によりサーバ装置20に送信させる(ステップS111)。クライアント装置10の送信部16は、例えば、FTP(File Transfer Protocol)を用いて、サーバ装置20の所定のフォルダに送信する。
Subsequently, the
続いて、サーバ装置20の出力部24は、EMF形式の印刷データに含まれるEMFデータ生成部名と、出力先設定情報211に基づき、データの出力先のEMFデータ処理部21を決定する(ステップS112)。
Next, the
図6は、出力先設定情報211の一例を示す図である。出力先設定情報211には、EMFデータ生成部名と、EMFデータ処理部名が対応付けて記憶されている。EMFデータ生成部名は、クライアント装置10におけるEMFデータ生成部15の名称であり、クライアント装置10を識別する情報である。EMFデータ処理部名は、サーバ装置20におけるEMFデータ処理部21を識別する情報である。なお、サーバ装置20は、複数のEMFデータ処理部21が設定されており、複数のEMFデータ処理部21の各々に、画像形成装置30が対応付けられている。そして、EMFデータ処理部21に応じた画像形成装置30に、クライアント装置10からサーバ装置20を介して印刷データが出力される。
FIG. 6 is a diagram showing an example of the output
これにより、サーバ装置20において複数のEMFデータ処理部21を設定している場合でも、正常時(上述したステップS106で出力に成功した場合)と同様に、EMFデータ処理部21に対応付けられた画像形成装置30に出力できる。
As a result, even when a plurality of EMF
続いて、サーバ装置20の出力部24は、EMFデータ処理部21用に印刷データを編集(修正)する(ステップS113)。例えば、正常時と同様のデータとするため、SHDファイルにおいて、出力先のプリンター名を、出力先のEMFデータ処理部名に置換する。
Then, the
続いて、サーバ装置20の出力部24は、ステップS111で決定されたEMFデータ処理部21に印刷データを出力する(ステップS114)。
ステップS110乃至ステップS114の処理により、異常時に迂回ルートを経由して転送されたデータが、正常時と同様に処理されることとなる。
Subsequently, the
Through the processing of steps S110 to S114, the data transferred via the bypass route at the time of abnormality is processed in the same manner as at the time of normal operation.
なお、これにより、全ての印刷ジョブの受付がEMFデータ処理部21にて行われるため、印刷ジョブを一元管理できるが、一元管理せずに単に印刷をするだけでよい場合は、迂回ルートを経由して転送されたデータを、出力部24が、EMFデータ処理部21を介さずに、印刷制御部25に出力してもよい。
As a result, since all print jobs are accepted by the EMF
続いて、サーバ装置20のEMFデータ処理部21は、EMF形式の印刷データに基づいて、EMF形式のデータ扱うことにより実現している機能(プレビュー表示、ページ指定印刷等)を実行する(ステップS115)。
Subsequently, the EMF
続いて、サーバ装置20の印刷制御部25は、EMF形式の印刷データをRAW形式に変換し、画像形成装置30に出力し、印刷を行わせる(ステップS116)。
Subsequently, the
これにより、クライアント装置10からサーバ装置20上のEMFデータ処理部21への出力が失敗した場合でも、EMF形式のデータ扱うことにより実現している機能を実行できるとともに、正常時と同じ画像形成装置30で印刷することができる。
As a result, even if the output from the
≪異常時再送処理≫
次に、図7、図8を参照し、OSが提供する機能を用いた、クライアント装置10からサーバ装置20へのEMF形式の印刷データの出力が正常に行われなかった場合の、再送処理の詳細について説明する。
≪Resending process when an error occurs≫
Next, with reference to FIG. 7 and FIG. 8, a process of resending when EMF print data is not normally output from the
図4のステップS103でEMF形式の印刷データの作成に失敗した場合における図4のステップS111の再送時、及び、図4のステップS106でスプーラーサービスを用いた出力に失敗した場合における図4のステップS108の再送時に、以下の処理が行われる。 The step of FIG. 4 at the time of resending at step S111 of FIG. 4 when the creation of the EMF format print data at step S103 of FIG. 4 fails, and when the output using the spooler service fails at step S106 of FIG. The following processing is performed at the time of retransmission in S108.
[クライアント装置における再送処理]
図7は、クライアント装置10における再送処理の一例を示すフローチャートである。
[Retransmission process in client device]
FIG. 7 is a flowchart showing an example of a retransmission process in the
ステップS201において、クライアント装置10の処理部12は、EMF形式の印刷データを参照し、印刷するページの総数を取得する。
In step S201, the
続いて、クライアント装置10の処理部12は、送信部16により、印刷するページの総数を、サーバ装置20に送信する(ステップS202)。
Subsequently, the
続いて、クライアント装置10の処理部12は、送信部16により、EMF形式のデータを、サーバ装置20に送信する(ステップS203)。
Subsequently, the
続いて、クライアント装置10の処理部12は、EMF形式のデータの送信中に通信エラーが発生したか否かを判定する(ステップS204)。
Subsequently, the
通信エラーが発生した場合(ステップS204でYES)、クライアント装置10の処理部12は、送信部16により、通信エラーが発生したページから最終ページまでの分のEMF形式のデータを再送信し(ステップS205)、ステップS204の処理に進む。なお、送信に失敗したページの情報は、例えば、次のような処理により取得してもよい。クライアント装置10は、サーバ装置20に、1ページ分のデータを送信し、送信に成功した場合、サーバ装置20から受信に成功した旨の応答を取得する。これにより、成功した旨の応答を取得できなかったページの情報を判定できる。
When a communication error occurs (YES in step S204), the
通信エラーが発生していない場合(ステップS204でNO)、処理を終了する。 If no communication error has occurred (NO in step S204), the process ends.
[サーバ装置における再送受信処理]
図8は、サーバ装置20におけるクライアント装置10からの再送を受信する処理の一例を示すフローチャートである。
[Retransmission/reception processing in server device]
FIG. 8 is a flowchart showing an example of a process of receiving a retransmission from the
ステップS301において、サーバ装置20の受信部22は、印刷するページの総数を受信する。
In step S301, the receiving
続いて、サーバ装置20の受信部22は、EMF形式のデータを受信する(ステップS302)。
Subsequently, the receiving
続いて、サーバ装置20の受信部22は、EMF形式のデータの受信中に通信エラーが発生したか否かを判定する(ステップS303)。
Subsequently, the receiving
通信エラーが発生した場合(ステップS303でYES)、サーバ装置20の受信部22は、受信したEMF形式のデータのうち、1ページ分に満たない印刷データを削除する(ステップS304)。
If a communication error has occurred (YES in step S303), the
続いて、サーバ装置20の受信部22は、クライアント装置10から、通信エラーが発生したページから最終ページまでの分のEMF形式のデータを受信し(ステップS305)、ステップS303の処理に進む。
Then, the receiving
通信エラーが発生していない場合(ステップS303でNO)、処理を終了する。なお、サーバ装置20の受信部22は、全ページ分のデータを受信すると、印刷するページの総数の情報は破棄する。
If no communication error has occurred (NO in step S303), the process ends. When receiving the data for all pages, the receiving
なお、上述した実施形態におけるシステム構成は一例であり、用途や目的に応じて様々なシステム構成例があることは言うまでもない。 The system configuration in the above-described embodiment is an example, and it goes without saying that there are various system configuration examples according to the use and purpose.
例えば、クライアント装置10、及びサーバ装置20の各機能部は、例えば1以上のコンピュータにより構成されるクラウドコンピューティングにより実現されていてもよい。
For example, each functional unit of the
1 情報処理システム
10 クライアント装置(「端末装置」の一例)
11 アプリケーション実行部
12 処理部
13 記憶部
14 スプーラーサービス
15 EMFデータ生成部(「生成部」の一例)
16 送信部
20 サーバ装置(「情報処理装置」の一例)
21 EMFデータ処理部
22 受信部
23 削除部
24 出力部
25 印刷制御部
30 画像形成装置
1
11
16
21 EMF
Claims (11)
前記端末装置は、
前記端末装置のスプーラーサービスを用いて、ページの情報を含む形式の印刷データを前記情報処理装置に出力する処理に失敗した場合、前記スプーラーサービスとは異なる出力先プリンター名を用いて、前記ページの情報を含む形式の印刷データを生成する生成部と、
前記生成部により生成された前記ページの情報を含む形式の印刷データを、前記スプーラーサービスとは異なる通信方式により、前記情報処理装置に送信する送信部と、
を備え、
前記情報処理装置は、
前記ページの情報を含む形式の印刷データを受信する受信部と、
前記受信部により受信された印刷データに含まれる前記出力先プリンター名が、前記スプーラーサービスが用いる出力先プリンター名に置換された印刷データを、画像形成装置に出力する印刷制御部と、
を備えることを特徴とする情報処理システム。 An information processing system having a terminal device and an information processing device,
The terminal device,
When the process of outputting the print data in the format including the page information to the information processing device using the spooler service of the terminal device fails, the output destination printer name different from that of the spooler service is used to print the page A generation unit that generates print data in a format including information,
A transmission unit that transmits print data in a format including the information of the page generated by the generation unit to the information processing device by a communication method different from the spooler service,
Equipped with
The information processing device,
A receiving unit for receiving print data in a format including the page information,
The output destination printer name included in the print data received by the receiving unit, the print control unit that outputs the print data in which the output destination printer name used by the spooler service is replaced, to an image forming apparatus,
An information processing system comprising:
ことを特徴とする請求項1または2記載の情報処理システム。 The information processing system according to claim 1 or 2, wherein the transmission unit uses FTP (File Transfer Protocol) to transmit to a predetermined folder of the information processing apparatus.
前記送信部は、前記記憶部に記憶された前記ページの情報を含む形式の印刷データを、前記情報処理装置に送信する
ことを特徴とする請求項1乃至3のいずれか一項に記載の情報処理システム。 The terminal device includes a storage unit that stores a copy of print data in a format including the information of the page output to the spooler service,
4. The information according to claim 1, wherein the transmission unit transmits print data in a format including the information of the page stored in the storage unit to the information processing device. Processing system.
ことを特徴とする請求項1乃至4のいずれか一項に記載の情報処理システム。 When the information processing device receives the data transmitted by the transmission unit, it deletes the print data spooled in the information processing device from the terminal device using the spooler service. The information processing system according to claim 1, further comprising a deleting unit.
前記端末装置のスプーラーサービスを用いて、ページの情報を含む形式の印刷データを情報処理装置に出力する処理に失敗した場合、前記スプーラーサービスとは異なる出力先プリンター名を用いて、前記ページの情報を含む形式の印刷データを生成する生成部と、
前記生成部により生成された前記ページの情報を含む形式の印刷データを、前記スプーラーサービスとは異なる通信方式により、前記情報処理装置に送信する送信部と、
を備えることを特徴とする端末装置。 A terminal device,
When the process of outputting the print data in the format including the page information to the information processing device using the spooler service of the terminal device fails , the page information is output by using the output destination printer name different from that of the spooler service. A generation unit that generates print data in a format including
A transmission unit that transmits print data in a format including the information of the page generated by the generation unit to the information processing device by a communication method different from the spooler service,
A terminal device comprising:
端末装置が、前記端末装置のスプーラーサービスを用いて、ページの情報を含む形式の印刷データを前記情報処理装置に出力する処理に失敗した場合、前記スプーラーサービスとは異なる出力先プリンター名を用いて生成された前記ページの情報を含む形式の印刷データを、前記スプーラーサービスとは異なる通信方式により受信する受信部と、
前記受信部により受信された印刷データに含まれる前記出力先プリンター名が、前記スプーラーサービスが用いる出力先プリンター名に置換された印刷データを、画像形成装置に出力する印刷制御部と、
を備えることを特徴とする情報処理装置。 An information processing device,
When the terminal device fails to output the print data in the format including the page information to the information processing device by using the spooler service of the terminal device, the output destination printer name different from that of the spooler service is used. A receiving unit that receives print data in a format including the generated page information by a communication method different from the spooler service;
The output destination printer name included in the print data received by the receiving unit, the print control unit that outputs the print data in which the output destination printer name used by the spooler service is replaced, to an image forming apparatus,
An information processing apparatus comprising:
前記端末装置のスプーラーサービスを用いて、ページの情報を含む形式の印刷データを情報処理装置に出力する処理に失敗した場合、前記スプーラーサービスとは異なる出力先プリンター名を用いて、前記ページの情報を含む形式の印刷データを生成するステップと、
生成した前記ページの情報を含む形式の印刷データを、前記スプーラーサービスとは異なる通信方式により、前記情報処理装置に送信するステップと、
を実行する情報処理方法。 The terminal is
When the process of outputting the print data in the format including the page information to the information processing device using the spooler service of the terminal device fails , the page information is output by using the output destination printer name different from that of the spooler service. Generating print data in a format including
The print data in a format including the generated information on the page, the different communication schemes and the spooler service, and transmitting to the information processing apparatus,
Information processing method for executing.
端末装置が、前記端末装置のスプーラーサービスを用いて、ページの情報を含む形式の印刷データを前記情報処理装置に出力する処理に失敗した場合、前記スプーラーサービスとは異なる出力先プリンター名を用いて生成された前記ページの情報を含む形式の印刷データを、前記スプーラーサービスとは異なる通信方式により受信するステップと、
受信した印刷データに含まれる前記出力先プリンター名が、前記スプーラーサービスが用いる出力先プリンター名に置換された印刷データを、画像形成装置に出力するステップと、
を実行する情報処理方法。 The information processing device
When the terminal device fails to output the print data in the format including the page information to the information processing device by using the spooler service of the terminal device, the output destination printer name different from that of the spooler service is used. Receiving print data in a format including the generated page information by a communication method different from the spooler service,
The output printer name included in the received print data, the print data in which the output printer name used by the spooler service is replaced, and the step of outputting to the image forming apparatus,
Information processing method for executing.
前記端末装置のスプーラーサービスを用いて、ページの情報を含む形式の印刷データを情報処理装置に出力する処理に失敗した場合、前記スプーラーサービスとは異なる出力先プリンター名を用いて、前記ページの情報を含む形式の印刷データを生成するステップと、
生成した前記ページの情報を含む形式の印刷データを、前記スプーラーサービスとは異なる通信方式により、前記情報処理装置に送信するステップと、
を実行させるプログラム。 In the terminal device,
When the process of outputting the print data in the format including the page information to the information processing device using the spooler service of the terminal device fails , the page information is output by using the output destination printer name different from that of the spooler service. Generating print data in a format including
The print data in a format including the generated information on the page, the different communication schemes and the spooler service, and transmitting to the information processing apparatus,
A program to execute.
端末装置が、前記端末装置のスプーラーサービスを用いて、ページの情報を含む形式の印刷データを前記情報処理装置に出力する処理に失敗した場合、前記スプーラーサービスとは異なる出力先プリンター名を用いて生成された前記ページの情報を含む形式の印刷データを、前記スプーラーサービスとは異なる通信方式により受信するステップと、
受信した印刷データに含まれる前記出力先プリンター名が、前記スプーラーサービスが用いる出力先プリンター名に置換された印刷データを、画像形成装置に出力するステップと、
を実行させるプログラム。 In the information processing device,
When the terminal device fails to output the print data in the format including the page information to the information processing device by using the spooler service of the terminal device, the output destination printer name different from that of the spooler service is used. Receiving print data in a format including the generated page information by a communication method different from the spooler service,
The output printer name included in the received print data, the print data in which the output printer name used by the spooler service is replaced, and the step of outputting to the image forming apparatus,
A program to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016190795A JP6740839B2 (en) | 2016-09-29 | 2016-09-29 | Information processing system, terminal device, information processing device, information processing method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016190795A JP6740839B2 (en) | 2016-09-29 | 2016-09-29 | Information processing system, terminal device, information processing device, information processing method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018055411A JP2018055411A (en) | 2018-04-05 |
JP6740839B2 true JP6740839B2 (en) | 2020-08-19 |
Family
ID=61834179
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016190795A Expired - Fee Related JP6740839B2 (en) | 2016-09-29 | 2016-09-29 | Information processing system, terminal device, information processing device, information processing method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6740839B2 (en) |
-
2016
- 2016-09-29 JP JP2016190795A patent/JP6740839B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2018055411A (en) | 2018-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9665319B2 (en) | Image forming apparatus, system, control method, and storage medium for printing received print data | |
JP5391844B2 (en) | Print control program, storage medium, and information processing apparatus | |
JP6303404B2 (en) | Output system, terminal device, program, and output method | |
TWI467469B (en) | Method of embedding optical security feature using virtual printer and security feature service | |
KR20180018386A (en) | Printing apparatus, control method for printing apparatus, and storage medium | |
JP6476541B2 (en) | Image forming apparatus, print request deleting method, and program | |
US8670135B2 (en) | Information processing apparatus and control method when installing a printer driver | |
US11175871B2 (en) | Image forming apparatus, non-transitory computer readable medium, and image forming system for receipt of print data including print settings | |
US10146491B2 (en) | Printing system, server apparatus, information processing method, and computer-readable recording medium | |
JP6202081B2 (en) | Information processing apparatus, program, and image processing system | |
US11079985B2 (en) | Information processing system, and control method for printing downloaded print data | |
JP6481508B2 (en) | Terminal device, program, and output system | |
JP6740839B2 (en) | Information processing system, terminal device, information processing device, information processing method, and program | |
CN102622193A (en) | Print control apparatus and control method therefor | |
US20180246691A1 (en) | Server, program, and transmission processing method | |
JP6372181B2 (en) | Output system, output control system, program, and output method | |
US9207886B2 (en) | Relaying device, relaying method, image processing apparatus, and image processing system | |
US10055177B2 (en) | Information processing system, information processing apparatus, and information processing method | |
JP2013120559A (en) | Information processing system, information processing method, and program | |
JP6221543B2 (en) | Program, information processing apparatus, information processing system, and image processing system | |
JP5932936B2 (en) | Printing apparatus and control method | |
JP6248563B2 (en) | OUTPUT SYSTEM, TERMINAL DEVICE, PROGRAM, AND OUTPUT METHOD | |
US11934707B2 (en) | Image forming apparatus, control method, and storage medium | |
JP7147286B2 (en) | Information processing device, print data creation method and program | |
JP2013196259A (en) | Data processor, data processing system and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190703 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200225 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200228 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200423 |
|
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: 20200623 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200706 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6740839 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
LAPS | Cancellation because of no payment of annual fees |