JP2016175214A - Information forming device, information processor, image formation method, program, and storage medium - Google Patents
Information forming device, information processor, image formation method, program, and storage medium Download PDFInfo
- Publication number
- JP2016175214A JP2016175214A JP2015055723A JP2015055723A JP2016175214A JP 2016175214 A JP2016175214 A JP 2016175214A JP 2015055723 A JP2015055723 A JP 2015055723A JP 2015055723 A JP2015055723 A JP 2015055723A JP 2016175214 A JP2016175214 A JP 2016175214A
- Authority
- JP
- Japan
- Prior art keywords
- error
- data
- communication speed
- image forming
- print data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
Description
本発明は、画像形成装置、情報処理装置、画像形成方法、プログラム、及び、記憶媒体に関する。 The present invention relates to an image forming apparatus, an information processing apparatus, an image forming method, a program, and a storage medium.
USB接続では、トグルビット(toggle bit)を用いてデータの送受信を行っている。送信側端末と、受信側端末との両方でトグルビットという1ビットの領域を用いてデータの送受信を行うように構成されている。USB接続で通信を開始する時に、送信側端末と、受信側端末とで保持しているトグルビットを同期させる。その後、受信側端末は、データを正常に受信できた度にトグルビットを反転させる。送信側端末は、受信側端末からデータの送達確認を示すAck信号を受信する度にトグルビットを反転させる。 In USB connection, data is transmitted / received using toggle bits. Both the transmitting side terminal and the receiving side terminal are configured to transmit and receive data using a 1-bit area called toggle bit. When the communication is started with the USB connection, the toggle bits held in the transmission side terminal and the reception side terminal are synchronized. Thereafter, the receiving side terminal inverts the toggle bit every time data can be normally received. The transmitting terminal inverts the toggle bit every time it receives an Ack signal indicating data delivery confirmation from the receiving terminal.
USB接続で通信を開始する時に、送信側端末と受信側端末とでトグルビットを「0」に設定する場合の動作を例説明する。データの送信を開始する前に、送信側端末と受信側端末とは保持するトグルビットの状態を「0」に設定する。送信側端末は、保持しているトグルビットの状態である「0」を送信データに設定してデータを送信する。受信側端末は受信したデータのトグルビットと保持しているトグルビットの状態を比較する。この場合、受信したデータのトグルビットと、受信したデータのトグルビットは共に「0」である。このため、受信側端末は正常にデータを受信したと判断し、保持しているトグルビットの状態を「0」から「1」に反転させる。 An example of the operation when the toggle bit is set to “0” between the transmission side terminal and the reception side terminal when communication is started by USB connection will be described. Before starting data transmission, the transmitting terminal and the receiving terminal set the state of the toggle bit held to “0”. The transmission side terminal transmits data by setting “0”, which is the state of the toggle bit held therein, to the transmission data. The receiving side terminal compares the toggle bit of the received data with the state of the held toggle bit. In this case, the toggle bit of the received data and the toggle bit of the received data are both “0”. For this reason, the receiving terminal determines that the data has been normally received, and inverts the state of the toggle bit held from “0” to “1”.
その後、受信側端末は、Ack信号にトグルビット「1」を設定して送信側端末に送信する。送信側端末は、Ack信号を受信すると保持しているトグルビットの状態とAck信号のトグルビットを比較する。受信端末は、保持しているトグルビットの状態が「0」でAck信号のトグルビットが「1」であることを確認する。送信端末は、Ack信号のトグルビットが送信データのトグルビットから反転しているため、正常にデータが受信されたと判断する。正常にデータが受信されたと判断できた場合、送信側端末は、トグルビットの状態を「0」から「1」に反転させる。上記のように、送信端末と、受信端末とがトグルビットを用いてデータの送達確認を行っている。 Thereafter, the receiving side terminal sets the toggle bit “1” in the Ack signal and transmits it to the transmitting side terminal. When the transmitting terminal receives the Ack signal, it compares the state of the toggle bit held with the toggle bit of the Ack signal. The receiving terminal confirms that the state of the toggle bit held is “0” and the toggle bit of the Ack signal is “1”. Since the toggle bit of the Ack signal is inverted from the toggle bit of the transmission data, the transmitting terminal determines that the data has been normally received. If it is determined that the data has been normally received, the transmitting terminal reverses the state of the toggle bit from “0” to “1”. As described above, the transmission terminal and the reception terminal confirm the data delivery using the toggle bit.
トグルビットの値が同じデータを連続して受信した場合、受信端末は、エラー(データトグルエラー)が発生したと認識し、受信したデータを破棄し、データの再送処理が行われるのを待つ。 When data having the same toggle bit value is continuously received, the receiving terminal recognizes that an error (data toggle error) has occurred, discards the received data, and waits for data retransmission processing.
しかしながら、高速で通信している場合にトグルビットの不正が発見されても、受信側が受信データを破棄し、かつ、送信端末からデータを再送しない場合があり、この場合には、受信側で受信データを破棄しているため、一部データが欠落してしまう。USB接続にて、PC等の情報処理端末が画像形成装置に印刷ジョブデータを送信した際にこのようなデータの欠落があると、印刷ジョブデータの一部欠落により印刷ジョブがキャンセルとなる場合と、異常な印刷結果が出力される場合とがあった。 However, even if toggle bit fraud is detected during high-speed communication, the receiving side may discard the received data and may not retransmit the data from the transmitting terminal. Since data is discarded, some data is lost. When such information is missing when an information processing terminal such as a PC transmits print job data to the image forming apparatus through a USB connection, the print job may be canceled due to some missing print job data. In some cases, abnormal printing results were output.
本発明の1つの側面は、エラーによるデータの欠落に起因して発生する不都合を回避しつつ、送信端末である情報処理端末、受信端末である画像形成装置、及び通信回線等の状況に合わせて自動的に通信速度を調整することにより、より安定的に画像形成処理を行うことを目的とする。 One aspect of the present invention avoids inconvenience caused by data loss due to an error, and matches the situation of an information processing terminal as a transmission terminal, an image forming apparatus as a reception terminal, a communication line, and the like. An object is to perform image forming processing more stably by automatically adjusting the communication speed.
本実施形態に係る画像形成装置は、第1の通信速度で印刷データを受信する受信部と、受信した前記印刷データのエラーを検出する検出部と、を有し前記受信部は、前記エラーを検出すると印刷処理を中止すると共に、前記印刷データの通信速度を、前記第1の通信速度より遅い第2の通信速度に変更する。 The image forming apparatus according to the present embodiment includes a receiving unit that receives print data at a first communication speed, and a detection unit that detects an error in the received print data. The receiving unit detects the error. If detected, the printing process is stopped, and the communication speed of the print data is changed to a second communication speed that is slower than the first communication speed.
本実施形態に係る画像形成装置によれば、エラーによるデータの欠落に起因して発生する不都合を回避しつつ、送信端末である情報処理端末、受信端末である画像形成装置、及び通信回線等の状況に合わせて自動的に通信速度を調整することにより、より安定的に画像形成処理を行うことができる。 According to the image forming apparatus according to the present embodiment, while avoiding inconvenience caused by data loss due to an error, an information processing terminal as a transmission terminal, an image forming apparatus as a reception terminal, a communication line, etc. By automatically adjusting the communication speed according to the situation, the image forming process can be performed more stably.
以下、本発明の実施の形態について説明する。 Embodiments of the present invention will be described below.
<第1実施形態>
以下、実施形態について図面を参照しながら説明する。
<First Embodiment>
Hereinafter, embodiments will be described with reference to the drawings.
<システム全体構成>
図1は、本実施形態に係るシステム全体構成の一例を示す図である。
<Overall system configuration>
FIG. 1 is a diagram illustrating an example of an overall system configuration according to the present embodiment.
本実施形態に係る、印刷処理システム1は、情報処理装置100と、画像処理装置200とを有する。情報処理装置100と画像処理装置200は、無線、又は有線で接続される。有線で接続される際に、情報処理装置100と画像処理装置200は、USBケーブルで接続されてもよい。
The
情報処理装置100は、例えば、パソコン、スマートフォン、又はタブレット等である。
The
画像処理装置200は、例えば、プリンタ、又は複合機等である。
The
<ハードウェア構成>
図1を用いて、情報処理装置100と画像処理装置200のハードウェア構成について説明する。
<Hardware configuration>
The hardware configurations of the
情報処理装置100は、記憶装置110と、CPU(Central Processing Unit)120と、主記憶装置(メモリ)130と、ネットワークインタフェース(ネットワークI/F)140と、USBインタフェース(USB I/F)150とを有する。
The
記憶装置110は、アプリケーション、印刷システムを含むOS、及びプリンタドライバ等のデータを保存している。
The
CPU120は、他のハードウェアと連携して情報処理装置100の各種制御を行う。
The
メモリ130は、CPU120の駆動に用いられるプログラムを記憶したROM(Read Only Memory)、CPU120のワークエリアとして使用されるRAM(Random Access Memory)、及びCPU120の制御にしたがってフラッシュメモリに対する各種データの読み出し又は書き込みを制御するSSD(Solid State Drive)等から成る。
The
ネットワークI/F140は、情報処理装置100が、外部機器と有線、無線で接続される場合に用いられ、有線LAN、無線LANとの接続機能を有する。
The network I /
USB I/F150は、外部機器とUSBケーブルを用いて接続し、データの送受信を行う場合、或いは、USBメモリを接続し、データの送受信を行う場合に用いられる。
The USB I /
画像処理装置200は、記憶装置210と、CPU220と、主記憶装置(メモリ)230と、USB I/F240と、操作パネル250と、画像処理エンジン260と、ネットワークインタフェース(ネットワーク I/F)270とを有する。
The
記憶装置210は、HDD(Hard Disc Drive)、Flash ROM(Read Only Memory)、又はUSBメモリ等のデータを記憶可能なハードウェアが用いられる。記憶装置210には、画像処理装置200を制御するソフトウェアが記憶される。複合機の場合、記憶装置210に、コピー機能、FAX機能、スキャナ機能、プリンタ機能、ユーザ認証機能、及び課金機能等のプログラムが記憶される。
As the
また、記憶装置210は、PDL(Page Description Language)を含む本体制御ソフトウェアを記憶する。
The
本体制御ソフトウェアは、画像処理エンジン260、記憶装置210、及びメモリ230等を制御し、画像処理装置200が提供するプリンタ機能等を実現する。また、本体制御ソフトウェアは、操作パネル250、ネットワークI/F270、及びUSB I/F240を機能させ、外部機器との通信制御、操作パネル250の制御を行う。
The main body control software controls the
CPU220は、他のハードウェアと連携して画像処理装置200の各種制御を行う。
The
メモリ230は、CPU220の駆動に用いられるプログラムを記憶したROM(Read Only Memory)、CPU220のワークエリアとして使用されるRAM(Random Access Memory)、CPU220の制御にしたがってフラッシュメモリに対する各種データの読み出し又は書き込みを制御するSSD(Solid State Drive)等を有する。
The
USB I/F240は、外部機器とUSBケーブルを用いて接続し、データの送受信を行う場合、又はUSBメモリを接続し、データの送受信を行う場合に用いられる。
The USB I /
操作パネル250は、ユーザからの指示を受け付け、指示内容をCPU220に通知し、指示に応じた処理を起動させる。加えて、操作パネル250は、画像処理装置200に関する各種情報を表示する。
The
画像処理エンジン260は、CPU220により制御され、コピー、プリンタ、スキャナ、及びFAX等の機能を提供するための各種画像処理を行う。
The
ネットワーク I/F270は、画像処理装置200が、外部機器と、有線LAN、又は無線LANと接続する機能を提供する。
<機能構成>
図2は、本実施形態に係る、画像処理装置200の機能構成の一例を示す図である。
The network I /
<Functional configuration>
FIG. 2 is a diagram illustrating an example of a functional configuration of the
本実施形態に係る画像処理装置200は、PDL(Page DescriptionLanguage)部300と、プリンタ制御部310と、受信バッファ320と、USB通信部330と、ネットワーク通信部340と、パネル制御部350と、メカ制御部360と、サービス層機能部370と、オペレーティングシステム(OS Operating System)380とを有する
PDL部300は、受信バッファ320内の印刷ジョブデータを解釈し、描画データを生成する。
The
プリンタ制御部310は、プリンタ全体の制御を行う。具体的には、受信バッファ320で保持している印刷ジョブデータを取得し、PDL部300に送り、PDL部300からの指示を受けて画像処理装置200に対して各種制御を行う。加えて、プリンタ制御部310は、パネル制御部350を介してユーザからの指示を取得し、画像処理装置200に対して各種制御を行うと共に、パネル制御部350に対して、画像処理装置200に関する各種情報を表示する指示を行う。プリンタ制御部310は、メカ制御部360に印刷の指示を行う。
The
USB通信部330は、USBケーブルを介した外部機器との通信、又は画像処理装置200に接続されたUSBメモリとの通信を行う。具体的には、USB通信部330は、外部機器、又はUSBケーブルから印刷ジョブデータを取得する。ここで、USB通信部330は、ハイスピードモード(HSモード)、フルスピードモード(FSモード)、又はロースピードモード(LSモード)で通信可能である。USB通信部330は、HSモードの場合480Mbpsで通信し、FSモードの場合12Mbpsで通信し、LSモードの場合1.5Mbpsで通信する。USB通信部330は、受信した印刷ジョブデータを受信バッファ320に渡す。
The
ネットワーク通信部340は、外部機器との間で有線、又は無線で通信を行い、印刷ジョブデータを取得する。ネットワーク通信部340は、受信した印刷ジョブデータを受信バッファ320に渡す。
The
受信バッファ320は、USB通信部330とネットワーク通信部340とから印刷ジョブデータを取得しPDL部300に渡す。また、受信バッファ320は、印刷ジョブデータをPDL部300に渡すまでの間、印刷ジョブデータを保存する。
The
パネル制御部350は、画像処理装置200に関する各種情報を表示する。また、パネル制御部350は、ユーザからの画像処理装置200に対する指示を受け付け、プリンタ制御部310に指示内容を通知する。
The
メカ制御部360は、プリンタ制御部310からの指示を受けて、印刷等に関する処理を実行する。
In response to an instruction from the
サービス層機能部370は、サービス層の上位で動作するUSB通信部330と、ネットワーク通信部340と、パネル制御部350と、メカ制御部360とに対してサービス層の機能を提供する。具体的には、サービス層機能部370は、サービス層機能部370の上位で動作する機能部からの指示を、オペレーティングシステム380に通知する。この時に、サービス層機能部370は、指示を通知するタイミング等の調整を行ってもよい。加えて、サービス層機能部370は、オペレーティングシステム380から、各機能部への指示を受信し、該指示を核機能部に分配する。
The service
オペレーティングシステム380は、サービス層機能部370を介して、上位で動作する機能部から、画像処理装置200に対する指示を受信し、関連するソフトウェアと、ハードウェアとを動作させる。また、オペレーティングシステム380は、ソフトウェアと、ハードウェアとの処理結果を、サービス層機能部370を介して上位で動作する機能部に通知する。
The
<動作手順>
(1)USB通信部330の速度設定
図3を参照して、USB通信部330の速度設定手順について説明する。図3は本実施形態における、USB通信部330の通信速度設定手順の一例を示す図である。
<Operation procedure>
(1) Speed Setting of USB Communication Unit 330 A speed setting procedure of the
ステップS301で、画像処理装置200は、USB通信部330が情報処理装置100と通信速度の設定値を確認する。FSモードに設定されている場合(Yes)は、ステップS303に進む。FSモードに設定されていない場合(No)、ステップS302に進む。
In step S <b> 301, in the
ステップS302で、画像処理装置200は、HSモード、FSモード、又はLSモードのいずれかの通信モードで通信する。
In step S302, the
ステップS303で、画像処理装置200は、FSモード、又はLSモードで通信する。
In step S303, the
なお、情報処理装置100側にトグルビットエラーが発生する原因がある場合、FSモード、又はLSモードで動作させることによりデータトグルエラーが発生するのを避けることができる。低速で通信することにより、データの送受信の通信環境と情報処理装置100の動作が安定するためである。
If there is a cause of the occurrence of a toggle bit error on the
(2)データトグルエラー検出時の動作
図4は、本実施形態におけるUSB通信部330の通信速度設定手順の一例を示す図である。
(2) Operation when data toggle error is detected FIG. 4 is a diagram illustrating an example of a communication speed setting procedure of the
ステップS401で、USB通信部330は、情報処理装置100から転送されたデータを受信する。
In step S <b> 401, the
ステップS402で、USB通信部330は、情報処理装置100からのデータ転送が終了したか確認する。データ転送が終了した場合(Yes)、USB通信部330は処理を終了する。データ転送が終了していない場合(No)、ステップS403に進む。
In step S <b> 402, the
ステップS403で、USB通信部330は、受信したデータにデータトグルエラーが発生しているか確認する。具体的には、USB通信部330は、同一の値がトグルビットに設定されている連続するデータを受信したか確認する。同一の値がトグルビットに設定されている連続するデータを受信した場合、USB通信部330は、データトグルエラーを検出する。
In step S403, the
USB通信部330が、データトグルエラーを検出しない場合(No)、ステップS401に戻る。USB通信部330が、データトグルエラーを検出した場合(Yes)、ステップS404に進む。
When the
ステップS404で、USB通信部330は、データトグルエラーが発生したデータを破棄する。例えば、USB通信部330は、同一の値がトグルビットに設定されている2つのデータを受信した場合、後から受信したデータを破棄する。そして、USB通信部330は、情報処理装置100にデータトグルエラーが発生したことを通知する。例えば、USB通信部330は、否定応答信号(NACK)信号を送信する。
In step S404, the
USB通信部330は、この場合に、情報処理装置100にデータの再送要求をしてもよい。USBの仕様上は、送信側端末は、データトグルエラーが発生した旨の通知を受けるとデータの再送を行うが、仕様通りに動作するかは送信側端末の設定に依存する。
In this case, the
USB通信部330が、情報処理装置100にデータトグルエラーが発生したことを通知した後に、ステップS405に進む。
After the
ステップS405で、USB通信部330は、データトグルエラーが発生した場所を、受信バッファ320に通知する。受信バッファ320は、USB通信部330から通知されたデータトグルエラーが発生した場所を受信バッファ320上の位置と対応づけて記憶し、該位置を、プリンタ制御部310を介してPDL部300に通知する。ステップS401の処理に戻り、USB通信部330は、情報処理装置100から転送されるデータの受信処理を継続する。
In step S405, the
(3)データトグルエラー発生時の処理(その1)
図5を参照して、PDL部300におけるデータトグルエラー検出時の処理手順について説明する。図5は、本実施形態におけるPDL部300のデータトグルエラー検出時の処理手順の一例を示す図である。
(3) Processing when data toggle error occurs (Part 1)
With reference to FIG. 5, a processing procedure when a data toggle error is detected in the
ステップS501で、PDL部300は、受信バッファ320上のデータをパースする。ここで、PDL部300によるパースとは、Page DescriptionLanguageに従って、受信バッファ320上のデータを分析することである。
In step S501, the
ステップS502で、PDL部300は、パースの結果、コマンドエラー若しくはパラメータエラーが発生しているか確認する。コマンドエラー若しくはパラメータエラーが発生している場合(Yes)、ステップS503に進む。一方、コマンドエラーとパラメータエラーとが発生していない場合(No)、ステップS508に進む。
In step S502, the
ステップS503で、PDL部300は、パースした受信バッファ320上でデータトグルエラーが発生しているか確認する。データトグルエラーが発生していない場合(No)、ステップS504に進む。データトグルエラーが発生している場合(Yes)、ステップS505に進む。
In step S503, the
ステップS504で、画像処理装置200は、自動的に印刷ジョブキャンセル処理を実行する。
In step S504, the
ステップS505で、PDL部300は、ステップS503で確認したデータトグルエラーの発生回数を、データトグルエラー発生回数を記憶するカウンタに加算する。ここで、カウンタは、所定期間のデータトグルエラー発生回数を通信モード毎にカウントする。
In step S505, the
ステップS506で、PDL部300は、カウンタに記憶された値を、予め設定されている所定の閾値と比較する。カウンタに記憶された値が、閾値を超えている場合(Yes)は、ステップS507に進む。閾値を超えていない場合(No)は、ステップS504に進み、自動的に印刷ジョブキャンセル処理を実行する。
In step S506, the
ステップS507で、画像処理装置200のUSBの通信モードがHSモードの場合、PDL部300は、USBの通信モードをFSモードに変更するようUSB通信部330に指示する。USB通信部330は、指示を受けてUSB通信モードをFSモードに変更する。また、操作パネル250にUSBの通信モードをFSモードに変更した旨の表示をしてもよい。ここで、操作パネル250にUSBの通信モードを変更した旨の表示と併せて、データトグルエラーの発生率が高い旨の表示をしてもよい。画像処理装置200は、ステップS507の処理を終了後、ステップS504に進み、自動的に印刷ジョブキャンセル処理を実行する。
In step S507, when the USB communication mode of the
次に、ステップS502で、コマンドエラーとパラメータエラーが発生していないため、ステップS508に進む場合について説明する(S502 No)。 Next, in step S502, since a command error and a parameter error have not occurred, a case of proceeding to step S508 will be described (No in S502).
ステップS508で、PDL部300は、通常のコマンドとパラメータ処理を行い、ステップS509に進む。
In step S508, the
ステップS509で、PDL部300は、印刷ジョブデータが終了しているか確認する。確認の結果、印刷ジョブデータが終了している場合(Yes)、画像処理装置200は、処理を終了する。一方、確認の結果、印刷ジョブデータが終了していない場合(No)、ステップS501に戻り、画像処理装置200は、処理を継続する。
In step S509, the
上記の手順を実行することにより、データトグルエラーの発生回数が多い場合には、次回の印刷からUSBの通信モードをHSモードからFSモードに変更することができる。HSモードより低速なFSモードで通信することにより、データの送受信の通信環境と情報処理装置100の動作が安定し、データトグルエラーが発生する頻度が減ることが期待できる。
By executing the above procedure, the USB communication mode can be changed from the HS mode to the FS mode from the next printing when the number of occurrences of data toggle errors is large. By performing communication in the FS mode, which is slower than the HS mode, it is expected that the communication environment for data transmission and reception and the operation of the
なお、所定の閾値と所定の期間は、画像処理装置200に設定され得る。
The predetermined threshold and the predetermined period can be set in the
(4)データトグルエラー発生時の処理(その2)
図6は、本実施形態におけるPDL部300のデータトグルエラー検出時の処理手順の一例を示す図である。図5と共通する部分については説明を省略し、異なる部分を中心に説明する。
(4) Processing when a data toggle error occurs (2)
FIG. 6 is a diagram illustrating an example of a processing procedure when a data toggle error is detected by the
図6は、ユーザが異常出力を発見し、パネル制御部350に印刷ジョブのキャンセルを指示する場合の手順を示す図である。
FIG. 6 is a diagram illustrating a procedure when the user finds an abnormal output and instructs the
ステップS601で、PDL部300は、受信バッファ320上のデータをパースする。
In step S601, the
ステップS602で、パネル制御部350は、ユーザから印刷ジョブのキャンセル指示を受けたか確認する。印刷ジョブのキャンセル指示を受けた場合(Yes)、ステップS603に進む。印刷ジョブのキャンセルを受けていない場合(No)、ステップS608に進む。
In step S602,
例えば、データトグルエラーによりデータが欠損した場合、印刷ジョブの出力に異常が発生する。この印刷ジョブの出力異常をユーザが認識し、印刷中に印刷ジョブキャンセルをする場合がある。 For example, when data is lost due to a data toggle error, an error occurs in the output of the print job. The user may recognize this print job output abnormality and cancel the print job during printing.
データトグルエラーによりデータが欠損した場合、画像処理装置200が大量の印刷ジョブデータをテキストとして出力する可能性があるため、パネル制御部350がユーザからの印刷キャンセル指示を受け付けられるようにすることが好ましい。
When data is lost due to a data toggle error, there is a possibility that the
以降の手順については図5と同じのため説明を省略する。 The subsequent procedure is the same as in FIG.
印刷ジョブのキャンセル指示を受けた場合にも、データトルグエラーの発生を確認することにより、画像処理装置200が、必要に応じて次回印刷データを受信する時のUSBの通信モードを調整することが可能となる。
Even when a print job cancel instruction is received, by confirming the occurrence of a data torr error, the
(5)データトグルエラー発生時の処理(その3)
図7は、本実施形態におけるPDL部300のデータトグルエラー検出時の処理手順の一例を示す図である。図5及び図6と共通する部分については説明を省略し、異なる部分を中心に説明する。
(5) Processing when a data toggle error occurs (part 3)
FIG. 7 is a diagram illustrating an example of a processing procedure when a data toggle error is detected by the
図7は、印刷ジョブを実行中に、出力ページ数が印刷ジョブの総ページ数を超える場合の手順を示す図である。 FIG. 7 is a diagram illustrating a procedure when the number of output pages exceeds the total number of pages of the print job during execution of the print job.
ステップS701で、PDL部300は、受信バッファ320上のデータをパースする。
In step S701, the
ステップS702で、PDL部300は、PDL部300で処理中のページが印刷ジョブの総ページ数を超えているか確認する。具体的には、PDL部300は、処理中の印刷ジョブの印刷中のページ数が、印刷ジョブデータの最初で通知された総ページ数を超えているか確認する。
In step S702, the
印刷ジョブデータの最初で通知された総ページ数を超えている場合(Yes)、ステップS703に進む。印刷ジョブデータの最初で通知された総ページ数を超えていない場合(No)、ステップS708に進む。 When the total number of pages notified at the beginning of the print job data is exceeded (Yes), the process proceeds to step S703. If the total number of pages notified at the beginning of the print job data has not been exceeded (No), the process proceeds to step S708.
データトグルエラーによりデータが欠損した場合、画像処理装置200が大量の印刷ジョブデータをテキストとして出力する可能性がある。このため、印刷ジョブデータの総ページ数を確認することにより、大量の印刷ジョブデータが出力されるのを防ぐ。
When data is lost due to a data toggle error, the
以降の手順については図5と同じのため説明を省略する。 The subsequent procedure is the same as in FIG.
データトグルエラーにより印刷ジョブデータの最初で通知された総ページ数を超える出力を回避できる。加えて、データトルグエラーの発生を確認することにより、画像処理装置200は、必要に応じて次回以降のUSBの通信モードを調整することが可能となる。
Output exceeding the total number of pages notified at the beginning of print job data due to a data toggle error can be avoided. In addition, by confirming the occurrence of the data torr error, the
<データトグルエラーの発生例>
図8は、本実施形態におけるデータトグルエラーが発生した場合の印刷ジョブデータの一例を示す図である。図8(a)は、データトグルエラーにより、先頭512byte分のデータが欠けた場合を示す図である。図8(b)は、データトグルエラーにより、印刷ジョブデータの途中で512byte分のデータが欠けた場合を示す図である。
<Example of data toggle error>
FIG. 8 is a diagram illustrating an example of print job data when a data toggle error occurs in the present embodiment. FIG. 8A is a diagram illustrating a case where data for the first 512 bytes is missing due to a data toggle error. FIG. 8B is a diagram illustrating a case where 512 bytes of data are missing in the middle of print job data due to a data toggle error.
上述したように、USB通信部330は、同一の値がトグルビットに設定されている連続するデータを受信した場合、データトグルエラーが発生していると判断し、データを破棄する。
As described above, if the
図8(a)の場合、PDL部300は、データトグルエラーにより、印刷ジョブデータの先頭の512byte分のデータがUSB通信部330により破棄されたことを検出する。印刷ジョブデータの先頭の512byteのデータが欠けているため、画像処理装置200は、印刷ジョブをキャンセルする。印刷ジョブのキャンセル後、画像処理装置200は、必要に応じて次回以降のUSBの通信モードを変更する。
In the case of FIG. 8A, the
図8(b)の場合も同様に、PDL部300は、データトグルエラーにより、印刷ジョブデータの途中で512byte分のデータがUSB通信部330に破棄されたことを検出する。印刷ジョブデータの途中で512byte分のデータが欠けているため、画像処理装置200は、印刷ジョブをキャンセルする。印刷ジョブのキャンセル後、画像処理装置200は、必要に応じて次回以降のUSBの通信モードを変更する。
Similarly in the case of FIG. 8B, the
<その他>
上記の実施形態では、データトグルエラーが発生した場合に、画像処理装置200が、USBの通信モードをHSモードからFSモードに変更する例を説明したが、USBの通信モードをHSモードからLSモードに変更してもよいし、FSモードからLSモードに変更してもよい。
<Others>
In the above embodiment, an example has been described in which the
複数のデータトグルエラー発生時の処理について説明したが、これらの処理は1つの処理フロー内で実施してもよい。例えば、画像処理装置200は、「コマンドエラーもしくはパラメータエラーが発生したか」の判断と、「印刷ジョブのキャンセル指示を受け付けたか」の判断と、「処理中のページ数が印刷ジョブの総ページ数を上まわるか」の判断とを行い、1つでも当てはまる場合には印刷ジョブにデータトグルエラーが発生しているか確認してもよい。
Although processing when a plurality of data toggle errors occur has been described, these processing may be performed within one processing flow. For example, the
また、データトグルエラーが発生しない場合、又は、データトグルエラーの発生率が低い場合に、画像処理装置200は、USBの通信モードを速い通信速度に対応する通信モードに変更してもよい。例えば、画像処理装置200は、USBの通信モードをLSモードから、FSモード、又は、HSモードに変更してもよい。また、画像処理装置200は、USBの通信モードをFSモードからHSモードに変更してもよい。
When no data toggle error occurs or when the data toggle error occurrence rate is low, the
上述した実施の形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、画像処理装置200に供給してもよい。そして、その画像処理装置200のコンピュータ(またはCPUまたはMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、上述の実施形態が達成されることは言うまでもない。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は、いずれかの実施の形態を構成することになる。ここで、記憶媒体は、記録媒体または非一時的な記憶媒体でもよい。
A storage medium storing software program codes for realizing the functions of the above-described embodiments may be supplied to the
また、コンピュータ装置が読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけではない。そのプログラムコードの指示に従って、コンピュータ装置上で起動しているオペレーティングシステム(OS)等が実際の処理の一部または全部を行ってもよい。さらに、その処理によって前述した実施形態の機能が実現されてもよいことは言うまでもない。 The functions of the above-described embodiments are not only realized by executing the program code read by the computer device. An operating system (OS) or the like running on the computer device may perform part or all of the actual processing according to the instruction of the program code. Furthermore, it goes without saying that the functions of the above-described embodiments may be realized by the processing.
以上、本発明の好ましい実施形態について説明したが、本発明はこうした実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々の変形及び置換を加えることができる。 As mentioned above, although preferable embodiment of this invention was described, this invention is not limited to such embodiment, A various deformation | transformation and substitution can be added in the range which does not deviate from the summary of this invention.
1 印刷処理システム
100 情報処理装置
200 画像処理装置
240 USBインタフェース
300 PDL部
310 プリンタ制御部
320 受信バッファ
330 USB通信部
DESCRIPTION OF
Claims (12)
受信した前記印刷データのエラーを検出する検出部と、を有し
前記受信部は、前記エラーを検出すると印刷処理を中止すると共に、前記印刷データの通信速度を、前記第1の通信速度より遅い第2の通信速度に変更する画像形成装置。 A receiving unit for receiving print data at a first communication speed;
A detection unit that detects an error in the received print data, and the reception unit stops printing processing when the error is detected, and the communication speed of the print data is slower than the first communication speed. An image forming apparatus that changes to the second communication speed.
前記使用者の指示を受け付けて印刷の処理を中止する受付部とを有する請求項1乃至4のいずれか一項に記載の画像形成装置。 A notification unit for notifying a user of detection of the error;
The image forming apparatus according to claim 1, further comprising a reception unit that receives the user's instruction and stops the printing process.
前記検出部は、受信された前記印刷データのトグルエラーを検出した場合に、印刷処理を中止する請求項1乃至7のいずれか一項に記載の画像形成装置。 The receiving unit receives the print data via a USB interface;
The image forming apparatus according to claim 1, wherein the detection unit stops the printing process when detecting a toggle error of the received print data.
前記送信した前記印刷データのエラーにより印刷処理を中止した旨の通知を、前記画像形成装置より受信する受信部と、を有し
前記送信部は、前記通知を受信すると、前記印刷データの通信速度を、前記第1の通信速度より遅い第2の通信速度に変更する情報処理装置。 A transmission unit that transmits print data to the image forming apparatus at a first communication speed;
A receiving unit that receives, from the image forming apparatus, a notification that printing processing has been stopped due to an error in the transmitted print data, and the transmission unit receives the notification and transmits a communication speed of the print data. Is changed to a second communication speed slower than the first communication speed.
受信した前記印刷データのエラーを検出するステップと、を有し
前記受信するステップにおいて、前記エラーを検出すると印刷処理を中止すると共に、前記印刷データの通信速度を、前記第1の通信速度より遅い第2の通信速度に変更する画像形成方法。 Receiving print data; and
And detecting an error in the received print data. In the receiving step, when the error is detected, the printing process is stopped, and the communication speed of the print data is slower than the first communication speed. An image forming method for changing to a second communication speed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015055723A JP2016175214A (en) | 2015-03-19 | 2015-03-19 | Information forming device, information processor, image formation method, program, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015055723A JP2016175214A (en) | 2015-03-19 | 2015-03-19 | Information forming device, information processor, image formation method, program, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2016175214A true JP2016175214A (en) | 2016-10-06 |
Family
ID=57068835
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015055723A Pending JP2016175214A (en) | 2015-03-19 | 2015-03-19 | Information forming device, information processor, image formation method, program, and storage medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2016175214A (en) |
-
2015
- 2015-03-19 JP JP2015055723A patent/JP2016175214A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104683647B (en) | Carry out communicator and communication control method that communication speed changes processing | |
US9501248B2 (en) | Information processing apparatus and recording medium | |
CN105045544A (en) | Information processing apparatus and method for controlling the same | |
JP2006215914A (en) | Image forming device | |
US10459669B2 (en) | Printer and control method of a printer | |
US8472058B2 (en) | Image processing device, image processing method, and program | |
JP2016175214A (en) | Information forming device, information processor, image formation method, program, and storage medium | |
JP6460905B2 (en) | Communication device, control method, program | |
JP2016031547A (en) | Signal transfer unit and method for controlling the signal transfer unit | |
JP2014096162A (en) | Interface conversion device and interface conversion method | |
JP6508923B2 (en) | Printing device | |
JP2016177503A (en) | Data transfer control device, image processing apparatus, data transfer system, and data transfer control method | |
JP2017016534A (en) | Information processing system, information processing device, and external device | |
JP2016012761A (en) | Reading system, reading control device, and method for controlling reading control device | |
US9936097B2 (en) | Non-transitory storage medium storing printer driver to restrict available functions dependent upon communication speed with server | |
US9460372B2 (en) | Image forming apparatus and image forming system that acquire and output print job without using spooler function | |
JP6347161B2 (en) | PRINT CONTROL DEVICE, CONTROL METHOD FOR PRINT CONTROL DEVICE, AND RECORDING MEDIUM | |
JP2014170359A (en) | Print control device, print control method and program | |
JP5868298B2 (en) | Image forming system, image forming apparatus, and program | |
US20170061263A1 (en) | Image Forming System That Reduces Load for Processing Regarding Correction of Print Position Displacement, and Method for Correcting Print Position Displacement | |
JP2017204738A (en) | Data transmission apparatus, data receiving apparatus, data transmitting/receiving method, and information processing apparatus | |
JP2017030271A (en) | Printer, printing system and control method | |
JP2009211307A (en) | Image forming apparatus | |
JP2021149447A (en) | Image forming system | |
US9921995B2 (en) | Managing data in USB communication |