JP6791026B2 - Image forming device - Google Patents

Image forming device Download PDF

Info

Publication number
JP6791026B2
JP6791026B2 JP2017114091A JP2017114091A JP6791026B2 JP 6791026 B2 JP6791026 B2 JP 6791026B2 JP 2017114091 A JP2017114091 A JP 2017114091A JP 2017114091 A JP2017114091 A JP 2017114091A JP 6791026 B2 JP6791026 B2 JP 6791026B2
Authority
JP
Japan
Prior art keywords
delimiter code
special command
time
detection unit
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.)
Active
Application number
JP2017114091A
Other languages
Japanese (ja)
Other versions
JP2018202823A (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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2017114091A priority Critical patent/JP6791026B2/en
Publication of JP2018202823A publication Critical patent/JP2018202823A/en
Application granted granted Critical
Publication of JP6791026B2 publication Critical patent/JP6791026B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ユーザーがパーソナルコンピューター等の端末装置で作成したドキュメントを印刷する画像形成装置に関する。 The present invention relates to an image forming apparatus for printing a document created by a user on a terminal device such as a personal computer.

ユーザーが端末装置で作成したドキュメントを印刷する際、ドキュメントをプリンタドライバーや印刷アプリケーションを使って画像形成装置が認識できる印刷言語に変換し、然るべきインターフェースにて画像形成装置に送信する。 When a user prints a document created on a terminal device, the document is converted into a print language that can be recognized by the image forming device using a printer driver or a printing application, and transmitted to the image forming device by an appropriate interface.

通常、画像形成装置ではPJL(Printer Job Language)のUEL(Universal Exit Language)、Ctrl−D(Postscript(登録商標)の場合)、EOJコマンド、PRESCRIBE(登録商標)のJOBTコマンドをデータの区切りコードと判断し、そこまでに受信したデータを1つのジョブとして処理して印刷している。 Normally, in an image forming apparatus, UEL (Universal Exit Language) of PJL (Printer Job Language), Ctrl-D (in the case of Postscript (registered trademark)), EOJ command, and JOBT command of PRESCRIBE (registered trademark) are used as data delimiters. Judgment is made, and the data received up to that point is processed as one job and printed.

また、通常使用する区切りコードに対応していない非対応印刷言語の印刷データにも対応できるように、ユーザーが登録した区切りコードと、印刷データとを比較し、その結果に基づいて印刷データ間を区切る技術も提案されている(例えば、特許文献1参照)。 In addition, the delimiter code registered by the user is compared with the print data so that the print data of the non-compatible print language that does not support the delimiter code normally used can be supported, and the print data is separated based on the result. A partitioning technique has also been proposed (see, for example, Patent Document 1).

特開2011−212927号公報Japanese Unexamined Patent Publication No. 2011-212927

しかしながら、従来技術では、、ユーザーが使うプリンタドライバーや印刷アプリケーションによっては、上記の区切りコードの後に実は1つのジョブとして扱うべき印刷データがあったり、逆に、印刷データの中に上記の区切りコードが含まれてしまったりするケースがあった。このようなケースでは、ユーザーが意図しない位置でデータが切れてしまい、ユーザーが意図しない印刷結果となることがあった。 However, in the prior art, depending on the printer driver or printing application used by the user, there may be print data that should actually be treated as one job after the above delimiter code, or conversely, the above delimiter code may be included in the print data. There were cases where it was included. In such a case, the data may be cut off at a position not intended by the user, resulting in a print result not intended by the user.

また、ユーザーが区切りコードを登録する場合には、印刷データに含まれるコードを入力してしまう可能性があり、予期しない箇所でデータが終了と判定されてしまう虞がある。さらに、別のユーザーが同じ印刷言語で印刷データを送信する際、印刷データ内にたまたま別のユーザーが登録した区切りコードが含まれていた場合、そのコードで印刷データが区切られてしまうため、印刷言語の解釈にてエラーが発生するか、エラーにならなくてもページの途中で途切れた印刷結果となってしまうという問題点があった。 Further, when the user registers the delimiter code, there is a possibility that the code included in the print data is input, and the data may be determined to end at an unexpected place. Furthermore, when another user sends print data in the same print language, if the print data happens to contain a delimiter code registered by another user, the print data will be separated by that code, so printing will be performed. There was a problem that an error occurred in the interpretation of the language, or even if the error did not occur, the print result was interrupted in the middle of the page.

本発明は、上記問題点を鑑みてなされたものであり、その目的とするところは、プリンタドライバーや印刷アプリケーションが指定した箇所で印刷データを確実に区切ることができる画像形成装置を提供することを目的とする。 The present invention has been made in view of the above problems, and an object of the present invention is to provide an image forming apparatus capable of reliably separating print data at a location specified by a printer driver or a printing application. The purpose.

本発明の画像形成装置は、受信した印刷データ内から予め設定された既存区切りコードを検出することで、前記印刷データの区切りを認識して印刷処理を実行する画像形成装置であって、前記印刷データ内から前記既存区切りコードを検出する区切りコード検出部と、特殊コマンドを検出すると、前記特殊コマンドに格納されているワンタイム区切りコードを記憶部に記憶させる特殊コマンド検出部と、前記印刷データの送信元との間のインターフェースタイムアウトを検出するタイムアウト管理部と、を具備し、前記区切りコード検出部は、前記特殊コマンド検出部によって前記特殊コマンドが検出されると、前記既存区切りコードの検出を無効化して、前記印刷データ内から前記記憶部に記憶された前記ワンタイム区切りコードを前記印刷データの区切りとして検出し、前記特殊コマンド検出部は、前記区切りコード検出部によって前記ワンタイム区切りコードが検出されると、前記ワンタイム区切りコードを前記記憶部から削除し、前記区切りコード検出部は、前記特殊コマンド検出部によって前記特殊コマンドが検出されると、前記ワンタイム区切りコードを検出するまで、前記既存区切りコードの検出を無効化し、前記タイムアウト管理部は、前記特殊コマンド検出部によって前記特殊コマンドが検出されると、前記区切りコード検出部によって前記ワンタイム区切りコードが検出されるまで、前記インターフェースタイムアウトの検出を無効化することを特徴とする。 The image forming apparatus of the present invention is an image forming apparatus that recognizes a delimiter of the print data and executes a print process by detecting an existing delimiter code set in advance from the received print data. A delimiter code detection unit that detects the existing delimiter code from the data, a special command detection unit that stores the one-time delimiter code stored in the special command in the storage unit when a special command is detected, and the print data. It includes a timeout management unit that detects an interface timeout with the source, and the delimiter code detection unit invalidates the detection of the existing delimiter code when the special command is detected by the special command detection unit. The one-time delimiter code stored in the storage unit is detected as a delimiter of the print data from the print data, and the special command detection unit detects the one-time delimiter code by the delimiter code detection unit. Then, the one-time delimiter code is deleted from the storage unit, and the delimiter code detection unit, when the special command detection unit detects the special command, continues until the one-time delimiter code is detected. The detection of the existing delimiter code is invalidated, and when the special command detection unit detects the special command, the timeout management unit performs the interface timeout until the delimiter code detection unit detects the one-time delimiter code. It is characterized by disabling the detection of .

本発明によれば、特殊コマンドによって設定されたワンタイム区切りコードによって、印刷データの区切りを検出することができるため、印刷データの送信元であるプリンタドライバーや印刷アプリケーションが指定した箇所で印刷データを確実に区切ることができるという効果を奏する。 According to the present invention, the print data delimiter can be detected by the one-time delimiter code set by the special command, so that the print data can be printed at a location specified by the printer driver or the print application that is the source of the print data. It has the effect of being able to be reliably separated.

本発明に係る画像形成装置の実施の形態の概略構成を示すブロック図である。It is a block diagram which shows the schematic structure of the embodiment of the image forming apparatus which concerns on this invention. 図1に示す特殊コマンドが付加された印刷データ例を示す図である。It is a figure which shows the example of the print data to which the special command shown in FIG. 1 is added. 図1に示す画像形成装置における特殊コマンド検出時の動作を説明するフローチャートである。It is a flowchart explaining the operation at the time of detecting a special command in the image forming apparatus shown in FIG. 図1に示すタイムアウト管理部による内部タイムアウトの検出動作を説明するシーケンス図である。It is a sequence diagram explaining the detection operation of an internal time-out by the time-out management unit shown in FIG.

以下、図を参照して本発明の実施の形態を詳細に説明する。なお、以下の実施形態において、同様の機能を示す構成には、同一の符号を付してある。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the following embodiments, the same reference numerals are given to the configurations showing the same functions.

本実施の形態の画像形成装置1は、複写機やMFP(Multifunction Peripheral/Printer/Product)等であり、図1を参照すると、操作部2と、原稿読取部3と、入出力部4と、記憶部5と、画像処理部6と、印刷部7と、制御部8とを備えている。 The image forming apparatus 1 of the present embodiment is a copying machine, an MFP (Multifunction Peripheral / Printer / Product), or the like, and referring to FIG. 1, the operation unit 2, the document reading unit 3, the input / output unit 4, and the like. It includes a storage unit 5, an image processing unit 6, a printing unit 7, and a control unit 8.

操作部2は、印刷処理の実行指示、印刷設定の入力、設定値の表示、エラー詳細内容の表示を行うキーボードやタッチパネル等のユーザーインターフェースである。 The operation unit 2 is a user interface such as a keyboard or a touch panel that gives instructions for executing print processing, inputs print settings, displays set values, and displays detailed error details.

原稿読取部3は、図示しない原稿給紙装置により給紙されてきた原稿や、ユーザーによってコンタクトガラスに載置された原稿に対して光を照射し、その反射光等を受光して画像データを読み取るスキャナーである。 The document scanning unit 3 irradiates light on a document fed by a document feeding device (not shown) or a document placed on a contact glass by a user, and receives the reflected light or the like to receive image data. It is a scanning scanner.

入出力部4は、LAN等のネットワーク10や、パラレル、USB等の各種インターフェースを介して接続された端末装置20との間で情報の送受信を行う機能を備えている。入出力部4は、画像データを含む文書データ等の印刷データや、画像形成装置1の情報、エラー情報を所定のプロトコルで送受信するインターフェースである。 The input / output unit 4 has a function of transmitting / receiving information to / from a network 10 such as a LAN or a terminal device 20 connected via various interfaces such as parallel and USB. The input / output unit 4 is an interface for transmitting and receiving print data such as document data including image data, information of the image forming apparatus 1, and error information by a predetermined protocol.

記憶部5は、原稿画像や印刷データが記憶される半導体メモリー、HDD(Hard Disk Drive)等の記憶手段である。記憶部5は、画像処理用のメモリーや各種設定を記憶するメモリーとしても使用される。また、記憶部5は、外部から着脱可能に配置されるSDカードやUSBメモリー等であっても良い。記憶部5には、区切りコード51と、特殊コマンド52とが記憶されている。さらに、記憶部5には、ワンタイム区切りコード53が記憶される。 The storage unit 5 is a storage means such as a semiconductor memory or an HDD (Hard Disk Drive) for storing original images and print data. The storage unit 5 is also used as a memory for image processing and a memory for storing various settings. Further, the storage unit 5 may be an SD card, a USB memory, or the like that is detachably arranged from the outside. The delimiter code 51 and the special command 52 are stored in the storage unit 5. Further, the storage unit 5 stores the one-time delimiter code 53.

区切りコード51は、一般的なページ記述言語において印刷データの区切りとして用いられるコマンドである。例えば、区切りコード51として、PJL(Printer Job Language)のUEL(Universal Exit Language)、Ctrl−D(Postscriptの場合)、EOJコマンド、PRESCRIBEのJOBTコマンド等が予め登録されている。 The delimiter code 51 is a command used as a delimiter for print data in a general page description language. For example, as the delimiter code 51, UEL (Universal Exit Language) of PJL (Printer Job Language), Ctrl-D (in the case of Postscript), EOJ command, JOBT command of PRESCRIBE, and the like are registered in advance.

特殊コマンド52は、印刷データがワンタイム区切りコード53によって区切られていることを示すコマンドである。特殊コマンド52は、印刷データを送信する端末装置20のプリンタドライバーや印刷アプリケーション(以下、印刷データ送信元と称す)との間で取り決められたコマンドであり、図2に示すように、印刷データの前に付加される。また、特殊コマンド52には、ワンタイム区切りコード53を格納する領域が設定されており、印刷データ送信元は、任意のワンタイム区切りコード53を設定することができる。 The special command 52 is a command indicating that the print data is separated by the one-time delimiter code 53. The special command 52 is a command agreed with the printer driver of the terminal device 20 for transmitting print data and a print application (hereinafter referred to as a print data sender), and as shown in FIG. 2, the print data It is added before. Further, the special command 52 has an area for storing the one-time delimiter code 53, and the print data transmission source can set an arbitrary one-time delimiter code 53.

画像処理部6は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)等を備えたマイクロコンピュータ等の演算処理回路であり、例えば、拡大縮小処理、濃度調整処理、階調調整処理等の画像処理に係る各種ジョブを実行する。 The image processing unit 6 is an arithmetic processing circuit of a microcomputer or the like equipped with a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like. For example, enlargement / reduction processing, density adjustment processing, and the like. Execute various jobs related to image processing such as gradation adjustment processing.

印刷部7は、原稿読取部3によって読み取った原稿画像や、端末装置20から受信した印刷データを印刷する印刷手段である。印刷部7は、例えば、印刷データに基づき感光体ドラムの表面に潜像を形成し、トナーによってその潜像をトナー像とする画像形成を行い、その感光体ドラムから記録紙にトナー像を転写させ、そのトナー像を記録紙に定着させて排紙する。 The printing unit 7 is a printing means for printing the document image read by the document reading unit 3 and the print data received from the terminal device 20. For example, the printing unit 7 forms a latent image on the surface of the photoconductor drum based on print data, forms an image using the latent image as a toner image with toner, and transfers the toner image from the photoconductor drum to a recording paper. Then, the toner image is fixed on the recording paper and discharged.

制御部8は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)等を備えたマイクロコンピュータ等の演算処理回路である。ROMには画像形成装置1の動作制御を行うための制御プログラムが記憶されている。制御部8は、ROMに記憶されている制御プログラムを読み出し、制御プログラムをRAMに展開させることで、操作部2から入力された各種指示情報に応じて装置全体の制御を行う。 The control unit 8 is an arithmetic processing circuit of a microcomputer or the like equipped with a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like. A control program for controlling the operation of the image forming apparatus 1 is stored in the ROM. The control unit 8 reads the control program stored in the ROM and expands the control program in the RAM to control the entire device according to various instruction information input from the operation unit 2.

また、制御部8は、区切りコード検出部81、特殊コマンド検出部82、タイムアウト管理部83として機能する。 Further, the control unit 8 functions as a delimiter code detection unit 81, a special command detection unit 82, and a timeout management unit 83.

区切りコード検出部81は、印刷データ受信時に印刷データ内の区切りコード51を、印刷データの区切りとして検出する。また、特殊コマンド検出部82からコード切換を指示されると、既存区切りコード(区切りコード51)の検出を無効化し、印刷データ内のワンタイム区切りコード53を、印刷データの区切りとして検出する。 The delimiter code detection unit 81 detects the delimiter code 51 in the print data as a delimiter for the print data when the print data is received. When the special command detection unit 82 instructs the code switching, the detection of the existing delimiter code (delimiter code 51) is invalidated, and the one-time delimiter code 53 in the print data is detected as the delimiter of the print data.

特殊コマンド検出部82は、印刷データの前に付加された特殊コマンド52を検出すると、特殊コマンド52に格納されているワンタイム区切りコード53を記憶部5に記憶させると共に、区切りコード検出部81とタイムアウト管理部83とにコード切換を指示する。 When the special command detection unit 82 detects the special command 52 added before the print data, the special command detection unit 82 stores the one-time delimiter code 53 stored in the special command 52 in the storage unit 5, and also stores the delimiter code detection unit 81. Instruct the time-out management unit 83 to switch the code.

タイムアウト管理部83は、端末装置20との通信断が設定された第1タイムアウト時間を超えると、インターフェースタイムアウトを検出する。また、タイムアウト管理部83は、特殊コマンド検出部82からコード切換を指示されると、インターフェースタイムアウトの検出を無効化し、特殊コマンド52の受信後、ワンタイム区切りコード53が検出されることなく、印刷データの受信が途絶えた状態が設定された第2タイムアウト時間を超えると、内部タイムアウトを検出する。 The timeout management unit 83 detects an interface timeout when the first timeout time in which communication with the terminal device 20 is set is exceeded. Further, the timeout management unit 83 invalidates the detection of the interface timeout when the special command detection unit 82 instructs the code switching, and prints without detecting the one-time delimiter code 53 after receiving the special command 52. When the state in which data reception is interrupted exceeds the set second timeout time, an internal timeout is detected.

次に、画像形成装置1における特殊コマンド52の検出時の動作について図3を参照して詳細に説明する。
特殊コマンド検出部82は、受信されたデータと、記憶部5に記憶されている特殊コマンド52とを比較することで、特殊コマンド52を検出する(ステップS101)。なお、特殊コマンド52は、印刷データの前に付加されることが予め取り決められているため、データの受信開始直後や、区切りコード検出部81によって区切りコード51が検出された直後のみ動作する。
Next, the operation of the image forming apparatus 1 when the special command 52 is detected will be described in detail with reference to FIG.
The special command detection unit 82 detects the special command 52 by comparing the received data with the special command 52 stored in the storage unit 5 (step S101). Since it is agreed in advance that the special command 52 is added before the print data, the special command 52 operates only immediately after the start of data reception or immediately after the delimiter code 51 is detected by the delimiter code detection unit 81.

次に、特殊コマンド検出部82は、特殊コマンド52に格納されているワンタイム区切りコード53を記憶部5に記憶させる(ステップS102)。 Next, the special command detection unit 82 stores the one-time delimiter code 53 stored in the special command 52 in the storage unit 5 (step S102).

また、特殊コマンド検出部82は、タイムアウト管理部83にコード切換を指示し、タイムアウト管理部83によるインターフェースタイムアウトの検出を無効化させる(ステップS103)。 Further, the special command detection unit 82 instructs the time-out management unit 83 to switch the code, and invalidates the detection of the interface timeout by the time-out management unit 83 (step S103).

また、特殊コマンド検出部82は、区切りコード検出部81にコード切換を指示し、区切りコード検出部81による既存区切りコード(区切りコード51)の検出を無効化させる(ステップS104)。 Further, the special command detection unit 82 instructs the delimiter code detection unit 81 to switch the code, and invalidates the detection of the existing delimiter code (delimiter code 51) by the delimiter code detection unit 81 (step S104).

次に、制御部8は、特殊コマンドに引き続く印刷データを受信し(ステップS105)、1バイト毎に記憶部5に記憶させる(ステップS106)。 Next, the control unit 8 receives the print data following the special command (step S105) and stores the print data in the storage unit 5 byte by byte (step S106).

次に、区切りコード検出部81は、ステップS102で記憶部5に記憶させたワンタイム区切りコード53と、ステップS106で記憶部5に記憶させた印刷データとを比較することで(ステップS107)、ワンタイム区切りコード53を検出する。そして、区切りコード検出部81は、ワンタイム区切りコード53が検出されたか否かを判断する(ステップS108)。 Next, the delimiter code detection unit 81 compares the one-time delimiter code 53 stored in the storage unit 5 in step S102 with the print data stored in the storage unit 5 in step S106 (step S107). The one-time delimiter code 53 is detected. Then, the delimiter code detection unit 81 determines whether or not the one-time delimiter code 53 has been detected (step S108).

ステップS108でワンタイム区切りコード53が検出されなかった場合、ステップS105に戻り、制御部8によって引き続き印刷データを受信する。 If the one-time delimiter code 53 is not detected in step S108, the process returns to step S105, and the control unit 8 continues to receive print data.

ステップS108でワンタイム区切りコード53が検出された場合、区切りコード検出部81は、特殊コマンド検出部82とタイムアウト管理部83とにワンタイム区切りコード53の検出を通知すると共に、制御部8は、記憶部5に記憶させた印刷データの解釈及び印刷処理を実行する(ステップS109)。なお、印刷処理に先立つ、印刷データの解釈及び描画処理は、ステップS105〜108と並行処理しても良い。 When the one-time delimiter code 53 is detected in step S108, the delimiter code detection unit 81 notifies the special command detection unit 82 and the timeout management unit 83 of the detection of the one-time delimiter code 53, and the control unit 8 sets the control unit 8. Interpretation of the print data stored in the storage unit 5 and printing processing are executed (step S109). The printing data interpretation and drawing processing prior to the printing processing may be performed in parallel with steps S105 to 108.

区切りコード検出部81からワンタイム区切りコード53の検出を通知された特殊コマンド検出部82は、記憶部5に記憶させたワンタイム区切りコード53を削除する(ステップS110)。これにより、特殊コマンド52で設定されたワンタイム区切りコード53の有効期間は、S102〜S110の間となる。すなわち、ワンタイム区切りコード53を設定する特殊コマンド52は印刷データとは別で、その特殊コマンド52を受信したインターフェースで受信する印刷データに対してのみ有効になる。 The special command detection unit 82 notified by the delimiter code detection unit 81 that the one-time delimiter code 53 has been detected deletes the one-time delimiter code 53 stored in the storage unit 5 (step S110). As a result, the valid period of the one-time delimiter code 53 set by the special command 52 is between S102 and S110. That is, the special command 52 that sets the one-time delimiter code 53 is different from the print data, and is valid only for the print data received by the interface that received the special command 52.

また、ワンタイム区切りコード53の検出した区切りコード検出部81は、既存区切りコード(区切りコード51)の検出を有効化する(ステップS111)。 Further, the delimiter code detection unit 81 detected by the one-time delimiter code 53 activates the detection of the existing delimiter code (delimiter code 51) (step S111).

さらに、区切りコード検出部81からワンタイム区切りコード53の検出を通知されたタイムアウト管理部83は、インターフェースタイムアウトの検出を有効化する(ステップS112)。 Further, the timeout management unit 83 notified by the delimiter code detection unit 81 that the one-time delimiter code 53 is detected enables the detection of the interface timeout (step S112).

次に、制御部8は、引き続くデータがあるか否かを判断する(ステップS113)。そして、ステップS113で引き続くデータがある場合、制御部8は、次の印刷データとして処理を実行する(ステップS114)。このように、特殊コマンド52の受信後、印刷データ内でワンタイム区切りコード53を検出した場合、その後にデータが繋がっていたとしても別データとして処理される。 Next, the control unit 8 determines whether or not there is subsequent data (step S113). Then, when there is data to be continued in step S113, the control unit 8 executes the process as the next print data (step S114). In this way, when the one-time delimiter code 53 is detected in the print data after receiving the special command 52, even if the data is connected thereafter, it is processed as separate data.

ステップS113で引き続くデータがない場合、制御部8は、そのまま印刷処理を終了させる。 If there is no data to be continued in step S113, the control unit 8 ends the printing process as it is.

次に、タイムアウト管理部83による内部タイムアウトの検出動作について図4を参照して詳細に説明する。なお、図3に示すフローチャートと重複する処理については、同一のステップ番号を付して適宜説明を省略する。 Next, the operation of detecting the internal timeout by the timeout management unit 83 will be described in detail with reference to FIG. Regarding the processing that overlaps with the flowchart shown in FIG. 3, the same step numbers are assigned and the description thereof will be omitted as appropriate.

特殊コマンド52の検出によってインターフェースタイムアウトを無効化にした場合、特殊コマンド52によって設定されたワンタイム区切りコード53が受信されないと、データを待ち続け、且つインターフェースタイムアウトの検出を有効に戻すことできない。そこで、本実施の形態では、インターフェースタイムアウトと別に、内部タイムアウトを検出することで、特殊コマンド52検出後にワンタイム区切りコード53が受信されないケースに対応している。なお、内部タイムアウトの検出に用いる第2タイムアウト時間は、一般ユーザーが設定するものではなく、管理者が設定するものとする。管理者は、普段のMFP・Printerの使われ方、データの受信開始、受信完了、印刷開始、印刷完了等のパラメータより、第2タイムアウト時間を適切に設定する必要がある。 When the interface timeout is invalidated by the detection of the special command 52, the data cannot be kept waiting and the detection of the interface timeout cannot be re-enabled unless the one-time delimiter code 53 set by the special command 52 is received. Therefore, in the present embodiment, the one-time delimiter code 53 is not received after the special command 52 is detected by detecting the internal timeout separately from the interface timeout. The second timeout time used for detecting the internal timeout is not set by the general user, but is set by the administrator. The administrator needs to set the second timeout time appropriately from the parameters such as the usual usage of the MFP / Printer, data reception start, reception completion, print start, and print completion.

まず、印刷データ送信元の端末装置20は、画像形成装置1との間で双方向通信できる状態に設定する(ステップS201)。印刷データ送信元の端末装置20では、特殊コマンド52によってワンタイム区切りコード53を設定する場合、自動的に双方向通信を有効に設定する。 First, the terminal device 20 of the print data transmission source is set to a state in which bidirectional communication is possible with the image forming device 1 (step S201). When the terminal device 20 of the print data transmission source sets the one-time delimiter code 53 by the special command 52, the two-way communication is automatically enabled.

タイムアウト管理部83は、特殊コマンド52の受信後、ワンタイム区切りコード53が検出されることなく、印刷データの受信が途絶えると、内部タイムアウトタイマーを起動する(ステップS202)。 After receiving the special command 52, the timeout management unit 83 activates the internal timeout timer when the reception of the print data is interrupted without detecting the one-time delimiter code 53 (step S202).

そして、印刷データの受信が途絶えた状態が設定された第2タイムアウト時間を超えると、タイムアウト管理部83は、内部タイムアウトを検出し、端末装置20にワンタイム区切りコード53が送られてこないことを通知する未受信メッセージを送信する(ステップS203)。 Then, when the second timeout time in which the reception of print data is interrupted is exceeded, the timeout management unit 83 detects the internal timeout, and the one-time delimiter code 53 is not sent to the terminal device 20. The unreceived message to be notified is transmitted (step S203).

なお、内部タイムアウトタイマーの起動タイミングは、特殊コマンド52の受信時であっても良い。この場合、タイムアウト管理部83は、特殊コマンド52の受信から設定された第2タイムアウト時間が経過してもワンタイム区切りコード53が受信されない場合に、内部タイムアウトを検出する。 The start timing of the internal timeout timer may be when the special command 52 is received. In this case, the timeout management unit 83 detects the internal timeout when the one-time delimiter code 53 is not received even after the second timeout time set from the reception of the special command 52 has elapsed.

ステップS203で未受信メッセージを受信した端末装置20は、ワンタイム区切りコード53を画像形成装置1に送信する。これにより、画像形成装置1は、制御部8は印刷処理を完了させ、特殊コマンド検出部82は、記憶部5に記憶させたワンタイム区切りコード53を削除することができる。また、タイムアウト管理部83はインターフェースタイムアウトの検出を、区切りコード検出部81は既存区切りコード(区切りコード51)の検出をそれぞれ有効化することができる。 The terminal device 20 that has received the unreceived message in step S203 transmits the one-time delimiter code 53 to the image forming device 1. As a result, in the image forming apparatus 1, the control unit 8 can complete the printing process, and the special command detecting unit 82 can delete the one-time delimiter code 53 stored in the storage unit 5. Further, the timeout management unit 83 can enable the detection of the interface timeout, and the delimiter code detection unit 81 can enable the detection of the existing delimiter code (delimiter code 51).

なお、未受信メッセージを送信後も端末装置20から何も送られてこない場合には、タイムアウト管理部83は、未受信メッセージを再送する。未受信メッセージの送信回数や送信間隔は、適宜設定することができる。 If nothing is sent from the terminal device 20 even after the unreceived message is transmitted, the timeout management unit 83 retransmits the unreceived message. The number of unreceived messages sent and the transmission interval can be set as appropriate.

そして、設定された回数の未受信メッセージを送信しても、端末装置20から何も送られてこない場合には、ネットワーク10やパラレル、USB等の接続が切れているか、端末装置20が何らかの理由によりデータを送信できなくなっていることが想定される。従って、この場合もワンタイム区切りコード53の受信時と同様に、印刷処理を実行し、ワンタイム区切りコード53の削除、インターフェースタイムアウトの検出及び既存区切りコード(区切りコード51)の検出を有効化する。 If nothing is sent from the terminal device 20 even after sending the set number of unreceived messages, the connection of the network 10, parallel, USB, etc. is disconnected, or the terminal device 20 has some reason. It is assumed that data cannot be transmitted due to this. Therefore, in this case as well, the printing process is executed in the same manner as when the one-time delimiter code 53 is received, and the deletion of the one-time delimiter code 53, the detection of the interface timeout, and the detection of the existing delimiter code (delimiter code 51) are enabled. ..

このとき、受信していたデータが中途半端(印刷ページの途中で途切れるような場合)であれば、制御部8は、印刷ページとして成り立っているところまでを印刷する。そして、残りのデータ分がゴミ印刷(何枚も印刷される)となる場合は印刷しないか、もしくはエラーページ(エラー内容を記載した印刷物)を印刷すると良い。 At this time, if the received data is halfway (when the data is interrupted in the middle of the print page), the control unit 8 prints up to the point where the print page is established. Then, if the remaining data is to be printed as garbage (many sheets are printed), it is advisable not to print or to print an error page (printed matter describing the error content).

以上説明したように、本実施の形態によれば、受信した印刷データ内から予め設定された既存区切りコードとして記憶部5に記憶された区切りコード51を検出することで、印刷データの区切りを認識して印刷処理を実行する画像形成装置1であって、印刷データ内から区切りコード51を検出する区切りコード検出部81と、特殊コマンド52を検出すると、特殊コマンド52に格納されているワンタイム区切りコード53を記憶部5に記憶させる特殊コマンド検出部82と、を具備し、区切りコード検出部81は、特殊コマンド検出部82によって特殊コマンド52が検出されると、区切りコード51の検出を無効化して、印刷データ内から記憶部5に記憶されたワンタイム区切りコード53を印刷データの区切りとして検出し、特殊コマンド検出部82は、区切りコード検出部81によってワンタイム区切りコード53が検出されると、ワンタイム区切りコード53を記憶部5から削除する。
この構成により、特殊コマンド52によって設定されたワンタイム区切りコード53によって、印刷データの区切りを検出することができるため、印刷データの送信元であるプリンタドライバーや印刷アプリケーションが指定した箇所で印刷データを確実に区切ることができる。また、ワンタイム区切りコード53に有効期間を設け、区切りコード検出部81によるワンタイム区切りコード53の検出で、ワンタイム区切りコード53を記憶部5から削除されるため、特殊コマンド52が付加された印刷データにのみ有効な区切りとすることができ、区切りコードの誤検出を防止できる。
As described above, according to the present embodiment, the division of print data is recognized by detecting the division code 51 stored in the storage unit 5 as a preset existing division code from the received print data. In the image forming apparatus 1 that executes the printing process, the delimiter code detection unit 81 that detects the delimiter code 51 in the print data and the one-time delimiter stored in the special command 52 when the special command 52 is detected. A special command detection unit 82 that stores the code 53 in the storage unit 5 is provided, and the delimiter code detection unit 81 invalidates the detection of the delimiter code 51 when the special command 52 is detected by the special command detection unit 82. Then, the one-time delimiter code 53 stored in the storage unit 5 is detected from the print data as a delimiter for the print data, and the special command detection unit 82 detects the one-time delimiter code 53 by the delimiter code detection unit 81. , The one-time delimiter code 53 is deleted from the storage unit 5.
With this configuration, the print data break can be detected by the one-time break code 53 set by the special command 52, so that the print data can be printed at a location specified by the printer driver or print application that is the source of the print data. It can be surely separated. Further, since the one-time delimiter code 53 is provided with a valid period and the one-time delimiter code 53 is detected by the delimiter code detection unit 81, the one-time delimiter code 53 is deleted from the storage unit 5, a special command 52 is added. It can be a valid delimiter only for print data, and false detection of the delimiter code can be prevented.

さらに、本実施の形態において、区切りコード検出部81は、特殊コマンド検出部82によって特殊コマンド52が検出されると、ワンタイム区切りコード53を検出するまで、区切りコード51の検出を無効化する。
この構成により、印刷データの区切りをワンタイム区切りコード53の検出のみで判断することができ、印刷データの送信元であるプリンタドライバーや印刷アプリケーションが指定した箇所で印刷データを確実に区切ることができる。
Further, in the present embodiment, when the special command 52 is detected by the special command detection unit 82, the delimiter code detection unit 81 invalidates the detection of the delimiter code 51 until the one-time delimiter code 53 is detected.
With this configuration, the delimiter of the print data can be determined only by detecting the one-time delimiter code 53, and the print data can be reliably delimited at the location specified by the printer driver or the printing application that is the source of the print data. ..

さらに、本実施の形態において、印刷データの送信元との間のインターフェースタイムアウトを検出するタイムアウト管理部83を具備し、タイムアウト管理部83は、特殊コマンド検出部82によって特殊コマンド52が検出されると、区切りコード検出部81によってワンタイム区切りコード53が検出されるまで、インターフェースタイムアウトの検出を無効化する。
この構成により、インターフェースタイムアウトによって、区切りコード51の検出を無効化した状態が継続されることを防止することができる。
Further, in the present embodiment, the timeout management unit 83 for detecting the interface timeout with the source of the print data is provided, and the timeout management unit 83 detects the special command 52 when the special command detection unit 82 detects the special command 52. , The detection of the interface timeout is invalidated until the one-time delimiter code 53 is detected by the delimiter code detection unit 81.
With this configuration, it is possible to prevent the state in which the detection of the delimiter code 51 is disabled from continuing due to the interface timeout.

さらに、本実施の形態において、タイムアウト管理部83は、特殊コマンド検出部82によって特殊コマンド52が検出されると、ワンタイム区切りコード53の未受信状態を内部タイムアウトとして検出し、印刷データの送信元にワンタイム区切りコード53の未受信を通知する未受信リクエストを送信する。
この構成により、印刷データの送信元であるプリンタドライバーや印刷アプリケーションにワンタイム区切りコード53の送信もしくは再送信を依頼することができ、データを待ち続け、且つインターフェースタイムアウトの検出を有効に戻すことできない状態を回避することができる。
Further, in the present embodiment, when the special command 52 is detected by the special command detection unit 82, the timeout management unit 83 detects the unreceived state of the one-time delimiter code 53 as an internal timeout, and transmits the print data. Is sent an unreceived request notifying that the one-time delimiter code 53 has not been received.
With this configuration, the printer driver or printing application that is the source of the print data can be requested to send or retransmit the one-time delimiter code 53, the data cannot be kept waiting, and the detection of the interface timeout cannot be re-enabled. The state can be avoided.

さらに、本実施の形態において、タイムアウト管理部83によって未受信リクエストを送信してもワンタイム区切りコード53の受信が検出されない場合、受信済みの印刷データの印刷処理を実行すると共に、特殊コマンド検出部82は、ワンタイム区切りコード53を記憶部5から削除し、区切りコード検出部81は、区切りコード51の検出を有効化し、タイムアウト管理部83は、インターフェースタイムアウトの検出を有効化する。
この構成により、特殊コマンド検出部82によって特殊コマンド52が検出される前の状態に戻すことができる。
Further, in the present embodiment, when the reception of the one-time delimiter code 53 is not detected even if the timeout management unit 83 transmits an unreceived request, the print processing of the received print data is executed and the special command detection unit is executed. 82 deletes the one-time delimiter code 53 from the storage unit 5, the delimiter code detection unit 81 enables the detection of the delimiter code 51, and the timeout management unit 83 enables the detection of the interface timeout.
With this configuration, it is possible to return to the state before the special command 52 is detected by the special command detection unit 82.

なお、本発明が上記各実施の形態に限定されず、本発明の技術思想の範囲内において、各実施の形態は適宜変更され得ることは明らかである。また、上記構成部材の数、位置、形状等は上記実施の形態に限定されず、本発明を実施する上で好適な数、位置、形状等にすることができる。なお、各図において、同一構成要素には同一符号を付している。 It is clear that the present invention is not limited to each of the above embodiments, and each embodiment can be appropriately modified within the scope of the technical idea of the present invention. Further, the number, position, shape, etc. of the constituent members are not limited to the above-described embodiment, and can be a suitable number, position, shape, etc. for carrying out the present invention. In each figure, the same components are designated by the same reference numerals.

1 画像形成装置
2 操作部
3 原稿読取部
4 入出力部
5 記憶部
6 画像処理部
7 印刷部
8 制御部
10 ネットワーク
20 端末装置
51 区切りコード
52 特殊コマンド
53 ワンタイム区切りコード
81 区切りコード検出部
82 特殊コマンド検出部
83 タイムアウト管理部
1 Image forming device 2 Operation unit 3 Document reading unit 4 Input / output unit 5 Storage unit 6 Image processing unit 7 Printing unit 8 Control unit 10 Network 20 Terminal device 51 Delimiter code 52 Special command 53 One-time delimiter code 81 Delimiter code detection unit 82 Special command detection unit 83 Timeout management unit

Claims (3)

受信した印刷データ内から予め設定された既存区切りコードを検出することで、前記印刷データの区切りを認識して印刷処理を実行する画像形成装置であって、
前記印刷データ内から前記既存区切りコードを検出する区切りコード検出部と、
特殊コマンドを検出すると、前記特殊コマンドに格納されているワンタイム区切りコードを記憶部に記憶させる特殊コマンド検出部と、
前記印刷データの送信元との間のインターフェースタイムアウトを検出するタイムアウト管理部と、を具備し、
前記区切りコード検出部は、前記特殊コマンド検出部によって前記特殊コマンドが検出されると、前記既存区切りコードの検出を無効化して、前記印刷データ内から前記記憶部に記憶された前記ワンタイム区切りコードを前記印刷データの区切りとして検出し、
前記特殊コマンド検出部は、前記区切りコード検出部によって前記ワンタイム区切りコードが検出されると、前記ワンタイム区切りコードを前記記憶部から削除し、
前記区切りコード検出部は、前記特殊コマンド検出部によって前記特殊コマンドが検出されると、前記ワンタイム区切りコードを検出するまで、前記既存区切りコードの検出を無効化し、
前記タイムアウト管理部は、前記特殊コマンド検出部によって前記特殊コマンドが検出されると、前記区切りコード検出部によって前記ワンタイム区切りコードが検出されるまで、前記インターフェースタイムアウトの検出を無効化することを特徴とする画像形成装置。
An image forming apparatus that recognizes a division of print data and executes a print process by detecting an existing delimiter code set in advance from the received print data.
A delimiter code detection unit that detects the existing delimiter code from the print data,
When a special command is detected, a special command detection unit that stores the one-time delimiter code stored in the special command in the storage unit, and a special command detection unit.
A timeout management unit for detecting an interface timeout with the source of the print data is provided.
When the special command is detected by the special command detection unit, the delimiter code detection unit invalidates the detection of the existing delimiter code, and the one-time delimiter code stored in the storage unit from the print data. Is detected as a delimiter of the print data,
When the one-time delimiter code is detected by the delimiter code detection unit, the special command detection unit deletes the one-time delimiter code from the storage unit .
When the special command is detected by the special command detection unit, the delimiter code detection unit invalidates the detection of the existing delimiter code until the one-time delimiter code is detected.
The timeout management unit is characterized in that when the special command is detected by the special command detection unit, the detection of the interface timeout is invalidated until the one-time division code is detected by the delimiter code detection unit. Image forming device.
前記タイムアウト管理部は、前記特殊コマンド検出部によって前記特殊コマンドが検出されると、前記ワンタイム区切りコードの未受信状態を内部タイムアウトとして検出し、前記印刷データの送信元に前記ワンタイム区切りコードの未受信を通知する未受信リクエストを送信することを特徴とする請求項記載の画像形成装置。 When the special command is detected by the special command detection unit, the time-out management unit detects the unreceived state of the one-time delimiter code as an internal timeout, and sends the print data to the source of the one-time delimiter code. the image forming apparatus according to claim 1, wherein the transmitting the unreceived request for notifying the non-reception. 前記タイムアウト管理部によって前記未受信リクエストを送信しても前記ワンタイム区切りコードの受信が検出されない場合、受信済みの前記印刷データの印刷処理を実行すると共に、前記特殊コマンド検出部は、前記ワンタイム区切りコードを前記記憶部から削除し、前記区切りコード検出部は、前記既存区切りコードの検出を有効化し、前記タイムアウト管理部は、前記インターフェースタイムアウトの検出を有効化することを特徴とする請求項記載の画像形成装置。 When the reception of the one-time delimiter code is not detected even if the unreceived request is transmitted by the timeout management unit, the printing process of the received print data is executed, and the special command detection unit performs the one-time. remove the delimiter code from the storage unit, the delimiter code detection unit, said enable the detection of existing delimiter code, the time-out management unit, according to claim 2, characterized in that to enable detection of said interface timeout The image forming apparatus described.
JP2017114091A 2017-06-09 2017-06-09 Image forming device Active JP6791026B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017114091A JP6791026B2 (en) 2017-06-09 2017-06-09 Image forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017114091A JP6791026B2 (en) 2017-06-09 2017-06-09 Image forming device

Publications (2)

Publication Number Publication Date
JP2018202823A JP2018202823A (en) 2018-12-27
JP6791026B2 true JP6791026B2 (en) 2020-11-25

Family

ID=64956041

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017114091A Active JP6791026B2 (en) 2017-06-09 2017-06-09 Image forming device

Country Status (1)

Country Link
JP (1) JP6791026B2 (en)

Also Published As

Publication number Publication date
JP2018202823A (en) 2018-12-27

Similar Documents

Publication Publication Date Title
US8261113B2 (en) Data processing apparatus communicating with a computer terminal over a network
US8854648B2 (en) Printing system and printing control apparatus
JP5423079B2 (en) Device management system, device, device management method and device management program
CN108804059B (en) Image forming apparatus and control method of image forming apparatus
GB2349767A (en) Multi-function copier allowing print interruption at a print boundary by document scanner user.
JP2002142385A (en) Server device, network equipment, network system, and control method therefor
US9225722B2 (en) Image forming system, image forming apparatus, and recording medium
US10659623B2 (en) Image forming apparatus, information processing method, and program to cancel a job
JP2017074698A (en) Image formation device and control method thereof, program
JP2012242897A (en) Host computer, print control system, control method for print control system and program
JP2013049239A (en) Apparatus, system and program for forming image
JP4415993B2 (en) Image processing apparatus, job processing method, and program
JP2017065223A (en) Image forming apparatus, control method thereof and program
US8659782B2 (en) Image forming apparatus using option controller for printing
JP2009217586A (en) Printing system
US20200034555A1 (en) Image Forming Apparatus and Virus Check Method
EP3280125B1 (en) Image forming apparatus, printing method, and computer program
JP6791026B2 (en) Image forming device
US11360725B2 (en) Image processing apparatus, method, and computer-readable medium for reducing time required until completing output process after successful authentication
JP2006121198A (en) Image processing system and its control method, image processor, and computer program
CN111726468B (en) Image processing system, image processing apparatus, information processing apparatus, and recording medium
JP7147360B2 (en) Image forming apparatus, virus check method, and computer program
JP6765815B2 (en) Control methods, programs, and information processing equipment
CN116166206A (en) Printing apparatus, control method thereof, and storage medium
JP2023077467A (en) Image processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190628

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200515

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200602

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200728

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: 20201006

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201019

R150 Certificate of patent or registration of utility model

Ref document number: 6791026

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150