JP2007194962A - Image forming device - Google Patents

Image forming device Download PDF

Info

Publication number
JP2007194962A
JP2007194962A JP2006011708A JP2006011708A JP2007194962A JP 2007194962 A JP2007194962 A JP 2007194962A JP 2006011708 A JP2006011708 A JP 2006011708A JP 2006011708 A JP2006011708 A JP 2006011708A JP 2007194962 A JP2007194962 A JP 2007194962A
Authority
JP
Japan
Prior art keywords
image data
area
unit
reading
encrypted
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
Application number
JP2006011708A
Other languages
Japanese (ja)
Inventor
Yoshiharu Takahashi
由治 高橋
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2006011708A priority Critical patent/JP2007194962A/en
Publication of JP2007194962A publication Critical patent/JP2007194962A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimile Transmission Control (AREA)
  • Facsimiles In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image forming device capable of, for example, printing through scrambling process of a portion of print matter using encrypting, so as to prevent information leakage to a third party. <P>SOLUTION: In an encrypted area, in addition to a decryption key necessary for decryption processing, there is composed an area marker having embedded information indicating which direction and how many times the manuscript concerned is to be read. Accordingly, in the event the third party obtains the manuscript, the security can be improved because the procedure for reading the manuscript cannot be read easily. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、スキャナにより読み取られた原稿の画像データ、アプリケーションプログラムにより生成された文書データの各ページの画像データ、外部から送信されてきた画像データ等の画像データをページ単位で用紙に画像として形成することにより印刷し、または表示装置の画面に画像として表示する画像形成装置に関する。   The present invention forms image data such as image data of a document read by a scanner, image data of each page of document data generated by an application program, and image data transmitted from the outside as an image on a sheet by page unit. The present invention relates to an image forming apparatus that prints or displays an image on a screen of a display device.

近年、文書の電子化が急速に普及しているが、なんらかの必要性に応じて用紙に印刷物として出力される場合も多い。電子化された文書が電子ファイルシステム等に電子情報として登録されている状態では、電子情報としての登録時に暗号化したり、読み出し時にユーザ個々人を認証する等の情報漏洩対策が採られている。一方、機密情報及び個人情報等の外部への漏洩が許されない文書が印刷物として扱われる場合には、その内容を外部の第三者に見られないようにする必要がある。しかしそのための方法としては、印刷物を鍵のかかる保管庫に保管したり、個々人がそれぞれのデスク等へ持ち運んで個人的に管理したり、また漏洩してはならない情報が部分的に含まれているような場合には印刷物を部分的に目隠しシートで覆う等の物理的方法が採られていた。   In recent years, digitization of documents has rapidly spread, but in many cases, it is output as a printed matter on paper according to some need. In the state in which an electronic document is registered as electronic information in an electronic file system or the like, information leakage countermeasures such as encryption at the time of registration as electronic information or authentication of individual users at the time of reading are taken. On the other hand, when a document that cannot be leaked to the outside such as confidential information and personal information is handled as printed matter, it is necessary to prevent the contents from being viewed by an external third party. However, as a method for that purpose, the printed matter is stored in a lockable storage, or personally carried to each desk etc. and personally managed, and information that should not be leaked is partially included. In such a case, a physical method such as partially covering the printed matter with a blindfold sheet has been adopted.

このような事情から、特許文献1には、印刷物の中の情報的意味を有していない特定の領域にデジタルデータをドットパターンに変換して二次元の面に配置した二次元コードを印刷し、このように印刷された二次元コードを含む印刷物を光学的に読み取った画像の中から二次元コードの印刷領域を抽出して元のデジタルデータを再現する発明が開示されている。
特開2000−343784号公報
Under such circumstances, Patent Document 1 prints a two-dimensional code in which a digital data is converted into a dot pattern and arranged on a two-dimensional surface in a specific area having no information meaning in the printed matter. An invention is disclosed in which a print area of a two-dimensional code is extracted from an image obtained by optically reading a printed matter including the two-dimensional code printed in this manner, and the original digital data is reproduced.
JP 2000-343784 A

ところで、外部への漏洩を防止すべき印刷物を前述したような物理的な手法で管理している場合には、個々人が携帯している間にうっかり置き忘れたり、また保管庫の施錠を忘れたりすることにより第三者の手に渡ったり、第三者に内容を見られたりすることにより容易に内容が漏洩する可能性が高い。一方、上述した特許文献1に開示されている技術では、原稿を光学的に読み取らせることにより第三者も容易に内容を知ることが可能であり、第三者に内容が知られては困るような機密情報に関しては配慮されていない。   By the way, when the printed matter that should be prevented from leaking to the outside is managed by the physical method as described above, it is inadvertently left while the individual is carrying it, or forgets to lock the storage. Therefore, there is a high possibility that the content easily leaks when the content is transferred to a third party or viewed by a third party. On the other hand, with the technique disclosed in Patent Document 1 described above, it is possible for a third party to easily know the content by optically reading the document, and it is difficult for the third party to know the content. Such confidential information is not considered.

本発明は以上のような事情に鑑みてなされたものであり、文書の情報をたとえ第三者が見たとしてもその内容を判読することができず、また一般的な読取装置(スキャナ)で通常の読取処理を行なったのみでは復元できないように暗号化して用紙に形成する、即ち印刷物として出力すると共に、元の状態に復元することが可能な画像形成装置の提供を目的とする。   The present invention has been made in view of the circumstances as described above, and even if a third party views the document information, the contents cannot be read, and a general reading device (scanner) is used. It is an object of the present invention to provide an image forming apparatus that can be encrypted and formed on a sheet so that it cannot be restored only by performing a normal reading process, that is, output as a printed matter and restored to its original state.

本発明は端的には、これから印刷しようとしている機密情報を含んだ画像データの一部又は全部を暗号化処理(たとえばスクランブル画像化)して印刷するような場合に、そのような画像データが用紙に画像として形成された、即ち印刷された原稿をスキャナ等の読取手段で読み取る際の回数と各読取処理の際の読み取り方向とを組み合わせた読取条件を予め指定した上で印刷物として出力し、この印刷物である原稿の読取処理が予め指定されている読取条件通りに行なわれた場合にのみ、復号化処理が可能になるように構成されている。従って、印刷物の内容からの機密情報の漏洩を効果的に防止することができる。   In short, when the present invention is to print a part or all of image data including confidential information to be printed by performing encryption processing (for example, scrambled image), such image data is printed on paper. In this case, a print condition is designated as a combination of the number of times of reading a document that is formed as an image, that is, a printed document by a reading unit such as a scanner, and a reading direction in each reading process, and is output as a printed matter. Only when the reading process of a document as a printed matter is performed according to reading conditions specified in advance, the decoding process can be performed. Accordingly, it is possible to effectively prevent leakage of confidential information from the contents of the printed matter.

本発明に係る画像形成装置は、原稿の画像を読み取ってページ単位の画像データを生成する読取手段と、画像データをページ単位で用紙に画像形成する画像形成手段とを備えた画像形成装置において、前記画像形成手段が画像形成すべきページ単位の画像データの内の任意の位置に任意の大きさの領域の指定を受け付ける領域指定受付手段と、該領域指定受付手段が指定を受け付けた任意の領域の画像データを所定の暗号鍵により暗号化する暗号化処理手段と、該暗号化処理手段により暗号化された領域を含むページ単位の暗号化画像データに、前記読取手段による読取回数と各読取時の読取方向とを組み合わせた読取条件を指定する読取条件指定手段と、前記画像形成手段がページ単位の暗号化画像データを用紙に画像形成した原稿を、前記読取条件指定手段により指定された読取条件に従って前記読取手段が読み取ったか否かを判断する判断手段と、前記読取条件指定手段により指定された読取条件に従って原稿が前記読取手段により読み取られたと前記判断手段が判断した場合に、前記読取手段が生成したページ単位の画像データに含まれる暗号化された領域の画像データを前記所定の暗号鍵に対応する復号鍵により復元する復号化処理手段とを備えることを特徴とする。   An image forming apparatus according to the present invention includes: a reading unit that reads an image of a document and generates image data in units of pages; and an image forming unit that forms an image of image data on a sheet in units of pages. An area designation accepting unit that accepts designation of an area of an arbitrary size at an arbitrary position in image data for each page to be imaged by the image forming means, and an arbitrary area that the area designation accepting means accepts designation Encryption processing means for encrypting the image data with a predetermined encryption key, and the number of times read by the reading means and each reading time in the encrypted image data for each page including the area encrypted by the encryption processing means A reading condition designating unit for designating a reading condition in combination with the reading direction of the image, and a document on which the image forming unit forms an image of encrypted image data in units of pages on a sheet. Determining means for determining whether or not the reading means has read in accordance with the reading conditions specified by the reading condition specifying means; and determining means for determining that the document has been read by the reading means in accordance with the reading conditions specified by the reading condition specifying means. And a decryption processing means for restoring the image data of the encrypted area included in the page-unit image data generated by the reading means with a decryption key corresponding to the predetermined encryption key. It is characterized by.

このような本発明に係る画像形成装置では、画像形成手段により用紙に画像形成された、即ち印刷された印刷物である原稿を読取手段で読み取る際に、予め指定されている読取回数とそれぞれの読取処理の際の原稿の読取方向とが、実際の読取回数とそれぞれの読取処理の際の原稿の読取方向と一致しなければ、復号化処理が行なわれない。   In such an image forming apparatus according to the present invention, when a document that is an image formed on a sheet by the image forming unit, that is, a printed material is read by the reading unit, the number of readings specified in advance and the respective readings are read. If the reading direction of the document at the time of processing does not match the actual number of readings and the reading direction of the document at the time of each reading process, the decoding process is not performed.

また本発明に係る画像形成装置は上記の画像形成装置の発明において、表示手段を更に備え、ページ単位の暗号化画像データ及び/又は暗号化された領域の画像データが前記復号化処理手段により復元されたページ単位の画像データを画像として前記表示手段に表示させるようにしてあることを特徴とする。   The image forming apparatus according to the present invention further includes a display unit in the image forming apparatus invention described above, and the encrypted image data of the page unit and / or the image data of the encrypted area is restored by the decryption processing unit. The displayed page unit image data is displayed on the display means as an image.

このような本発明に係る画像形成装置では上記の画像形成装置において、暗号化された画像データと、この暗号化された画像データから復元された元の画像データとの一方又は双方が用紙に印刷された場合と同様の状態で表示手段に表示される。   In such an image forming apparatus according to the present invention, in the above-described image forming apparatus, one or both of the encrypted image data and the original image data restored from the encrypted image data is printed on a sheet. Is displayed on the display means in the same state as the above.

更に本発明に係る画像形成装置は、ページ単位の暗号化画像データを通信回線を介して外部の画像形成装置へ転送することにより、前記外部の画像形成装置に画像形成させるようにしてあることを特徴とする。   Furthermore, the image forming apparatus according to the present invention is configured to cause the external image forming apparatus to form an image by transferring the encrypted image data in units of pages to the external image forming apparatus via a communication line. Features.

このような本発明に係る画像形成装置では前記の画像形成装置において、自身の画像形成手段ではなく外部の画像形成装置により画像データを用紙に形成させることにより印刷が行なわれる。   In such an image forming apparatus according to the present invention, the image forming apparatus performs printing by forming image data on a sheet by an external image forming apparatus instead of its own image forming means.

本発明に係る画像形成装置は前記の画像形成装置において、ページ単位の暗号化画像データ及び/又は暗号化された領域の画像データが前記復号化処理手段により復元されたページ単位の画像データを通信回線を介して外部の表示装置へ転送することにより、前記外部の表示装置に画像として表示させるようにしてあることを特徴とする。   The image forming apparatus according to the present invention communicates, in the image forming apparatus, page-unit encrypted image data and / or page-unit image data in which the encrypted area image data is restored by the decryption processing unit. The image is displayed on the external display device as an image by transferring it to an external display device via a line.

このような本発明に係る画像形成装置では前記の画像形成装置において、暗号化された画像データと、この暗号化された画像データから復元された元の画像データとの一方又は双方が用紙に形成されて印刷された場合と同様の状態で外部の表示装置に表示される。   In such an image forming apparatus according to the present invention, in the image forming apparatus, one or both of the encrypted image data and the original image data restored from the encrypted image data are formed on a sheet. And displayed on an external display device in the same state as when it is printed.

本発明に係る画像形成装置は、外部の画像形成装置に用紙に画像形成させることが可能なページ単位の画像データを生成する画像データ生成手段を備えた画像形成装置において、前記画像データ生成手段が生成したページ単位の画像データの内の任意の位置に任意の大きさの領域の指定を受け付ける領域指定受付手段と、該領域指定受付手段が指定を受け付けた任意の領域の画像データを所定の暗号鍵により暗号化する暗号化処理手段と、該暗号化処理手段により暗号化された領域を含むページ単位の暗号化画像データを外部の画像形成装置により用紙に画像形成された原稿を外部の読取装置が読み取った場合に、前記暗号化された領域の画像データを前記所定の暗号鍵に対応する復号鍵により復元するための条件として、外部の読取装置による読取回数と各読取時の読取方向とを組み合わせた読取条件を指定する読取条件指定手段とを備えたことを特徴とする。   An image forming apparatus according to the present invention includes an image data generating unit that generates image data in units of pages that can be formed on a sheet by an external image forming apparatus, wherein the image data generating unit includes: An area designation accepting unit that accepts designation of an area of an arbitrary size at an arbitrary position in the generated image data in page units, and image data of an arbitrary area that the area designation accepting unit accepts designation is encrypted with a predetermined encryption An encryption processing means for encrypting with a key, and an external reading device for a document in which encrypted image data in units of pages including an area encrypted by the encryption processing means is image-formed on a sheet by an external image forming apparatus As a condition for restoring the image data in the encrypted area with a decryption key corresponding to the predetermined encryption key, Characterized by comprising a reading condition specifying means for specifying a reading condition which is a combination of the direction reading when reading number and each read that.

このような本発明に係る画像形成装置では、外部の読取装置により読み取られる際に、予め指定されている読取回数とそれぞれの読取処理の際の原稿の読取方向とが実際の読取回数とそれぞれの読取処理の際の原稿の読取方向と一致しなければ復号化処理が行なわれない原稿を用紙に印刷するための画像データが生成される。   In such an image forming apparatus according to the present invention, when an image is read by an external reading device, the number of readings designated in advance and the reading direction of the document during each reading process are determined based on the actual number of readings and the number of readings. Image data for printing on a sheet a document that is not decrypted unless it matches the reading direction of the document in the reading process is generated.

また本発明に係る画像形成装置は上記の画像形成装置の発明において、表示手段を更に備え、ページ単位の暗号化画像データを画像として前記表示手段に表示させるようにしてあることを特徴とする。   The image forming apparatus according to the present invention is characterized in that in the image forming apparatus described above, the image forming apparatus further comprises a display means, and the encrypted image data for each page is displayed on the display means as an image.

このような本発明に係る画像形成装置では上記の画像形成装置において、暗号化された画像データが用紙に形成されて印刷された場合と同様の状態で表示手段に表示される。   In such an image forming apparatus according to the present invention, in the above-described image forming apparatus, the encrypted image data is displayed on the display unit in the same state as when it is formed on a sheet and printed.

更に本発明に係る画像形成装置は前記の画像形成装置において、ページ単位の暗号化画像データを通信回線を介して外部の表示装置へ転送することにより、前記外部の表示装置に画像として表示させるようにしてあることを特徴とする。   Further, the image forming apparatus according to the present invention causes the image forming apparatus to display encrypted image data in units of pages to an external display device via a communication line, thereby displaying the image on the external display device. It is characterized by being.

このような本発明に係る画像形成装置は前記の画像形成装置において、暗号化された画像データが用紙に形成されて印刷された場合と同様の状態で外部の表示装置に表示される。   In such an image forming apparatus according to the present invention, the encrypted image data is displayed on the external display device in the same state as when the encrypted image data is formed on a sheet and printed.

本発明に係る画像形成装置は上記の画像形成装置の各発明において、前記暗号化処理手段は、前記領域指定受付手段が指定を受け付けた領域の画像データを前記所定の暗号鍵で暗号化する際に、前記読取条件指定手段により指定された読取条件を暗号化画像データに含ませるようにしてあることを特徴とする。   The image forming apparatus according to the present invention is the image forming apparatus according to any one of the above-described image forming apparatuses, wherein the encryption processing unit encrypts the image data of the area received by the area designation receiving unit with the predetermined encryption key. Further, the read condition specified by the read condition specifying means is included in the encrypted image data.

このような本発明に係る画像形成装置では上記の画像形成装置の各発明において、指定された領域の画像データが暗号化される際に読取条件が暗号化画像データに含まれる。   In such an image forming apparatus according to the present invention, in each of the image forming apparatuses described above, when the image data of the designated area is encrypted, the reading condition is included in the encrypted image data.

本発明に係る画像形成装置は上記の画像形成装置の各発明において、前記暗号化処理手段は、前記領域指定受付手段が指定を受け付けた領域の画像データを前記所定の暗号鍵で暗号化する際に、前記復号鍵を暗号化画像データに含ませるようにしてあることを特徴とする。   The image forming apparatus according to the present invention is the image forming apparatus according to any one of the above-described image forming apparatuses, wherein the encryption processing unit encrypts the image data of the area received by the area designation receiving unit with the predetermined encryption key. Further, the decryption key is included in the encrypted image data.

このような本発明に係る画像形成装置では上記の画像形成装置の各発明において、指定された領域の画像データが所定の暗号鍵で暗号化される際に、復号化に必要な復号鍵が暗号化画像データに含まれる。   In such an image forming apparatus according to the present invention, in each of the image forming apparatuses described above, when the image data in the designated area is encrypted with a predetermined encryption key, the decryption key necessary for the decryption is encrypted. Included in the converted image data.

本発明に係る画像形成装置は上記の画像形成装置の各発明において、前記領域指定受付手段は矩形の領域の指定を受け付け、前記暗号化処理手段は、前記領域指定受付手段が指定を受け付けた領域の画像データを暗号化する際に、指定を受け付けた矩形の領域の四隅部の内の少なくとも一隅部に上下左右を判定するためのマーカを付加するようにしてあることを特徴とする。   The image forming apparatus according to the present invention is the image forming apparatus according to any one of the above-described image forming apparatuses, wherein the area designation receiving unit accepts designation of a rectangular area, and the encryption processing unit accepts designation of the area designation accepting unit. When the image data is encrypted, a marker for determining up / down / left / right is added to at least one of the four corners of the rectangular area for which the designation is accepted.

このような本発明に係る画像形成装置では上記の画像形成装置の各発明において、指定された矩形の領域の少なくとも一つの隅部に付加されるマーカにより、指定された領域、換言すれば印刷された原稿全体の向きが判明すると共に、読み込み処理時の原稿の傾きの状態も判明する。   In such an image forming apparatus according to the present invention, in each of the image forming apparatuses described above, the designated area, in other words, the printed image is printed by the marker added to at least one corner of the designated rectangular area. As a result, the orientation of the entire original is determined, and the inclination of the original during the reading process is also determined.

前述のような本発明に係る画像形成装置によれば、印刷された原稿上の第三者の目に触れると困る機密情報である文章,図面等の部分を任意にスクランブル画像等の暗号化された画像データで隠すことが可能になるので、たとえ印刷された原稿を持ち去られたとしても、どこかに置き忘れたとしても、あるいは盗まれたとしても、情報漏洩を防止することが可能になる。また、そのような原稿を元の状態に復元する際には、暗号化された際に指定されている原稿の読取回数と各読取処理の際の読取方向との組み合わせ通りに読取処理を行なわない限りは元の状態に戻すことができない。従って、暗号化された際に指定された原稿の読取回数と各読取処理の際の読取方向との組み合わせを知っている人物でなければ暗号化された画像を元の状態に復元することができないので、セキュリティが向上する。   According to the image forming apparatus according to the present invention as described above, a scrambled image or the like is arbitrarily encrypted on a printed document such as text and drawings which are confidential information that is inconvenient to the eyes of a third party. Therefore, even if the printed document is taken away, misplaced or stolen, information leakage can be prevented. Further, when such an original is restored to the original state, the reading process is not performed in accordance with the combination of the number of times of reading of the original specified when encrypted and the reading direction in each reading process. As long as it cannot be restored. Therefore, an encrypted image cannot be restored to its original state unless it is a person who knows the combination of the number of times of reading of the document specified when encrypted and the reading direction in each reading process. So security is improved.

前述のような本発明に係る画像形成装置によれば上記の画像形成装置において、暗号化された画像データと、この暗号化された画像データから復元された元の画像データとの一方又は双方が用紙に形成されて印刷された場合と同様の状態で表示手段に表示されるので、暗号化された状態及びそれが復元された状態を実際に印刷せずとも確認することが可能になる。   According to the image forming apparatus according to the present invention as described above, in the above image forming apparatus, one or both of the encrypted image data and the original image data restored from the encrypted image data are stored. Since it is displayed on the display unit in the same state as when formed on a sheet and printed, it is possible to check the encrypted state and the restored state without actually printing.

前述のような本発明に係る画像形成装置によれば上記の画像形成装置において、自身の画像形成手段ではなく外部の画像形成装置によって画像データを用紙に形成することにより印刷が行なわれるので、通常の印刷用の画像データと同様に一般的な外部の画像形成装置で印刷を行なうことが可能になる。   According to the image forming apparatus of the present invention as described above, in the above image forming apparatus, printing is performed by forming image data on a sheet by an external image forming apparatus instead of its own image forming means. As in the case of the image data for printing, printing can be performed by a general external image forming apparatus.

前述のような本発明に係る画像形成装置によれば上記の画像形成装置において、暗号化された画像データと、この暗号化された画像データから復元された元の画像データとの一方又は双方が用紙に形成されて印刷された場合と同様の状態で外部の表示装置に表示されるので、通常の印刷用の画像データと同様に暗号化された状態及びそれが復元された状態を実際に印刷せずとも一般的な外部の表示装置で確認することが可能になる。   According to the image forming apparatus according to the present invention as described above, in the above image forming apparatus, one or both of the encrypted image data and the original image data restored from the encrypted image data are stored. Since it is displayed on an external display device in the same state as when it is printed on paper, it is actually printed in the encrypted state and the restored state as with normal image data for printing. Without confirmation, it is possible to confirm with a general external display device.

前述のような本発明に係る画像形成装置によれば、外部の読取装置で読み取る際に、予め指定されている読取回数とそれぞれの読取処理の際の原稿の読取方向とが実際の読取回数とそれぞれの読取処理の際の原稿の読取方向と一致しなければ復号化処理が行なわれない原稿を印刷するために用紙に形成されるべき画像データが生成されるので、スキャナ等の読取装置及びプリンタ等の画像形成装置が外部に接続されたパーソナルコンピュータ等の装置で生成された文書データの各ページに前述の画像形成装置と同様のセキュリティを与えることができる。   According to the image forming apparatus according to the present invention as described above, when reading with an external reading device, the number of readings designated in advance and the reading direction of the document during each reading process are the actual number of readings. Since image data to be formed on a sheet for printing a document that is not subjected to decoding processing unless it matches the reading direction of the document at the time of each reading process is generated, a reading device such as a scanner and a printer The same security as that of the above-described image forming apparatus can be given to each page of document data generated by an apparatus such as a personal computer to which an image forming apparatus such as the above is connected.

前述のような本発明に係る画像形成装置によれば上記の画像形成装置において、暗号化された画像データが用紙に形成されて印刷された場合と同様の状態で表示手段に表示されるので、暗号化された状態を実際に印刷せずとも確認することが可能になる。   According to the image forming apparatus according to the present invention as described above, in the above image forming apparatus, the encrypted image data is displayed on the display unit in the same state as when formed and printed on a sheet. It is possible to check the encrypted state without actually printing it.

前述のような本発明に係る画像形成装置によれば上記の画像形成装置において、暗号化された画像データが印刷された場合と同様の状態で外部の表示装置に表示されるので、通常の印刷用の画像データと同様に暗号化された状態を実際に印刷せずとも一般的な外部の表示装置で確認することが可能になる。   According to the image forming apparatus according to the present invention as described above, in the above image forming apparatus, since the encrypted image data is displayed on the external display device in the same state as when printed, normal printing is performed. As in the case of the image data, the encrypted state can be confirmed on a general external display device without actually printing.

前述のような本発明に係る画像形成装置によれば上記の画像形成装置の各発明において、指定された領域の画像データが暗号化される際に読取条件が暗号化画像データに含まれるので、暗号化した装置以外の装置でも復元することが可能になる。   According to the image forming apparatus according to the present invention as described above, in each of the image forming apparatuses described above, since the reading condition is included in the encrypted image data when the image data of the designated area is encrypted, It is possible to restore even a device other than the encrypted device.

前述のような本発明に係る画像形成装置によれば上記の画像形成装置の各発明において、指定された領域の画像データが所定の暗号鍵で暗号化される際に復号鍵が暗号化画像データに含まれるので、画像データを暗号化した装置以外の装置でも復元することが可能になる。   According to the image forming apparatus according to the present invention as described above, in each of the above image forming apparatuses, when the image data in the designated area is encrypted with a predetermined encryption key, the decryption key is encrypted image data. Therefore, it is possible to restore even an apparatus other than the apparatus that encrypted the image data.

前述のような本発明に係る画像形成装置によれば上記の画像形成装置の各発明において、指定された矩形の領域の少なくとも一つの隅部に付加されるマーカにより、指定された領域、換言すれば印刷された原稿全体の向きが判明すると共に、読み込み処理時の原稿の傾きの状態も判明するので、原稿の向きそのものを正しい向きに変換する処理及び傾きを補正する処理が容易になり、操作性が向上する。   According to the image forming apparatus according to the present invention as described above, in each of the above image forming apparatuses, the designated area, in other words, the marker added to at least one corner of the designated rectangular area. This makes it possible to determine the orientation of the entire printed document and the state of the document's tilt during the reading process, making it easy to convert the document's orientation to the correct orientation and correct the tilt. Improves.

以下、本発明の実施の形態を図面に基づいて詳細に説明する。図1及び図2は本発明に係る画像形成装置の構成例の一実施の形態を示すブロック図である。図1には、プリンタ,スキャナ等を含む複合機2が、図2にはプリンタ,スキャナ等は含まないパーソナルコンピュータ(PC)3がそれぞれ本発明に係る画像形成装置の実施の形態として示されている。なお、複合機2とPC3とはネットワークNEにより接続されている。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. 1 and 2 are block diagrams showing an embodiment of a configuration example of an image forming apparatus according to the present invention. FIG. 1 shows a multifunction machine 2 including a printer, a scanner, etc., and FIG. 2 shows a personal computer (PC) 3 not including a printer, a scanner, etc., as an embodiment of an image forming apparatus according to the present invention. Yes. The multifunction device 2 and the PC 3 are connected by a network NE.

複合機2は、CPU又はMPUを利用した制御部200と、この制御部200に接続された入力部210、出力部220、通信部230、記憶部240等を含んでいる。制御部200は自身及び上述のハードウェア各部の動作を制御する。制御部200は、記憶部240に予め記憶(インストール)されている制御プログラムに従って自身及び複合機2全体を制御することにより、後述するフローチャートに示す処理手順を実行する。   The multi-function device 2 includes a control unit 200 using a CPU or MPU, an input unit 210, an output unit 220, a communication unit 230, a storage unit 240, and the like connected to the control unit 200. The control unit 200 controls the operation of itself and the above-described hardware units. The control unit 200 controls itself and the entire MFP 2 according to a control program stored (installed) in advance in the storage unit 240, thereby executing a processing procedure shown in a flowchart described below.

入力部210は、たとえばタッチパネル等の操作部211と、たとえば光学スキャナ装置等の読取部212とを含んでいる。従って、入力部210の操作部211は、タッチパネル及び/又はマウス等のポインティングデバイスでのユーザによる操作指示,選択,範囲指定等の入力を受け付ける。また入力部210の読取部212は、光学スキャナ等による光学的スキャン(読取)により、暗号化されていない原稿(以下、非暗号化原稿という)、及び一部の領域又は全体が暗号化された原稿(以下、暗号化原稿という)の画像を光学的に読み取り、ページ単位でデジタルの画像データを取得する。   The input unit 210 includes an operation unit 211 such as a touch panel and a reading unit 212 such as an optical scanner device. Accordingly, the operation unit 211 of the input unit 210 accepts input of operation instructions, selection, range specification, and the like by the user with a pointing device such as a touch panel and / or a mouse. The reading unit 212 of the input unit 210 has an unencrypted document (hereinafter referred to as a non-encrypted document) and a part of the whole or the whole encrypted by optical scanning (reading) by an optical scanner or the like. An image of an original (hereinafter referred to as an encrypted original) is optically read, and digital image data is acquired in units of pages.

出力部220は、たとえば、液晶ディスプレイ等の表示部221と、たとえば電子写真方式のプリンタである印刷部222とを含んでいる。出力部220は、複合機2の制御部200から出力されるページ単位の画像データを表示部221に1ページの原稿の画像として表示することにより、又は画像形成手段である印刷部222で用紙に形成して1ページの印刷物(原稿)として印刷することにより、ソフトコピー及びハードコピーとして出力する。より具体的には、表示部221は液晶パネル等を利用した表示装置で構成されており、詳細は後述するが、1ページの原稿(印刷物)の画像のプレビュー表示を行なうと共に、それぞれの時点での処理状態に対応した種々のソフトキーのボタンを表示する。なお、本実施の形態では、操作部211を表示部221に重畳させたタッチパネルとして構成することにより、表示部221に表示されたソフトキーのボタンに対応する操作部211の部分をユーザが押すことにより操作する構成としている。   The output unit 220 includes, for example, a display unit 221 such as a liquid crystal display and a printing unit 222 which is an electrophotographic printer, for example. The output unit 220 displays image data in units of pages output from the control unit 200 of the multifunction device 2 on the display unit 221 as a one-page document image, or on the paper by the printing unit 222 which is an image forming unit. By forming and printing it as a one-page printed matter (original), it is output as a soft copy and a hard copy. More specifically, the display unit 221 is configured by a display device using a liquid crystal panel or the like. As will be described in detail later, a preview image of a one-page document (printed material) is displayed and at each time point. Various soft key buttons corresponding to the processing state are displayed. In the present embodiment, the operation unit 211 is configured as a touch panel superimposed on the display unit 221, so that the user presses the portion of the operation unit 211 corresponding to the soft key button displayed on the display unit 221. It is set as the structure operated by.

印刷部222は、ページ単位の画像データに基づいて暗号化原稿及び非暗号化原稿を適宜の用紙に印刷することにより、画像データをハードコピー出力する。   The printing unit 222 outputs the image data in a hard copy by printing the encrypted document and the non-encrypted document on appropriate paper based on the page-unit image data.

通信部230は、通信回線としてのネットワークNEを介して接続されているPC3と、また図1及び図2には示されていない外部のたとえば他のPC、プリンタ(プリンタ)、スキャナ(読取装置)等との間で通信を行なうことにより、原稿(印刷物)の画像データを送受する。なお、ネットワークNEとしては、LAN,インターネット,通常の電話回線等が利用可能であり、またそれらを相互に接続したネットワークであってもよい。   The communication unit 230 includes a PC 3 connected via a network NE as a communication line, and an external PC, a printer (printer), a scanner (reading device) not shown in FIGS. 1 and 2. The image data of the original (printed material) is transmitted / received by communicating with the user. As the network NE, a LAN, the Internet, a normal telephone line or the like can be used, and a network in which these are connected to each other may be used.

記憶部240は、揮発性のRAM,書き換え可能な不揮発性の記憶装置であるハードディスク装置等の種々の記憶媒体を含んでいる。ハードディスク装置241はたとえば、制御部200のための制御プログラムの記憶等に使用される。揮発性のRAMは一時記憶部242として、制御部200による処理のために必要なデータ、または処理の途中で発生したデータを一時的に記憶する。   The storage unit 240 includes various storage media such as a volatile RAM and a hard disk device that is a rewritable nonvolatile storage device. The hard disk device 241 is used for storing a control program for the control unit 200, for example. The volatile RAM temporarily stores data necessary for processing by the control unit 200 or data generated during the processing as the temporary storage unit 242.

一時記憶部242には、詳細は後述するが、処理対象の画像データを一時的に記憶するための画像データ記憶部251、「中断」フラグ252、「戻る」フラグ253、「枠移動モード」フラグ254、指定用紙方向記憶部255、指定読取回数記憶部256、読取用紙方向記憶部257、カウント値記憶部258等の記憶領域が設定されており、更にワーキングエリア259も設定されている。なお、指定読取回数記憶部256は暗号化原稿を復号化処理する際のユーザが指定した読取回数の値(指定読取回数値:同一の暗号化原稿を反復して読み取る回数)を記憶する。また指定用紙方向記憶部255は、指定読取回数記憶部256が記憶している指定読取回数値に対応する各読取回数順の暗号化原稿の読取方向に関する情報(指定用紙方向情報)を記憶する。読取用紙方向記憶部257は暗号化原稿が複数回実際に読取処理された場合にそれぞれの読取処理時の読取方向に関する情報(読取方向情報)を順次的に記憶する。カウント値記憶部258は、制御部200による種々の処理に際してカウント処理が必要な場合にカウント値を記憶し、また個々の処理に対応してカウント値の初期値を記憶する。   Although details will be described later in the temporary storage unit 242, an image data storage unit 251, a “suspend” flag 252, a “return” flag 253, and a “frame movement mode” flag for temporarily storing image data to be processed. Storage areas such as a designated paper direction storage unit 255, a designated reading number storage unit 256, a reading paper direction storage unit 257, and a count value storage unit 258 are set, and a working area 259 is also set. The designated reading number storage unit 256 stores a value of the number of readings designated by the user when the encrypted document is decrypted (designated number of readings: the number of times the same encrypted document is read repeatedly). In addition, the designated sheet direction storage unit 255 stores information (designated sheet direction information) related to the reading direction of the encrypted document in order of the number of readings corresponding to the specified number of readings stored in the specified number of readings storage unit 256. The reading sheet direction storage unit 257 sequentially stores information on the reading direction (reading direction information) at the time of each reading process when the encrypted document is actually read a plurality of times. The count value storage unit 258 stores a count value when the count process is necessary for various processes by the control unit 200, and stores an initial value of the count value corresponding to each process.

制御部200は自身及び複合機2全体を制御するための機能の他に、暗号化処理部201,マーカ認識部202,復号化処理部203,画像処理部204等のソフトウェア的機能ブロックが含まれる。これらのソフトウェア的機能ブロックはいずれも、記憶部240のハードディスク装置241に予めインストールされている制御プログラムを制御部200が実行することにより実現される機能である。   The control unit 200 includes software function blocks such as an encryption processing unit 201, a marker recognition unit 202, a decryption processing unit 203, and an image processing unit 204 in addition to functions for controlling itself and the entire MFP 2. . Each of these software functional blocks is a function realized by the control unit 200 executing a control program installed in advance in the hard disk device 241 of the storage unit 240.

暗号化処理部201は、読取部212により読み取られたページ単位の画像データの内の指定された領域(暗号化指定領域)の画像データを従来公知の暗号化方式で暗号化する。これにより、暗号化指定領域は人間の目では判読できないたとえばスクランブル画像等に置換された領域(暗号化領域)に変換される。なお詳細は後述するが、暗号化指定領域としては処理対象の非暗号化原稿のページ単位の画像データの内の一部を指定することも、複数の部分を指定することも、又はページ全体を指定することも可能である。   The encryption processing unit 201 encrypts image data in a designated area (encryption designation area) in the page-unit image data read by the reading unit 212 using a conventionally known encryption method. As a result, the encryption designation area is converted into an area (encryption area) replaced with, for example, a scrambled image or the like that cannot be read by human eyes. Although details will be described later, as the encryption designation area, a part of the page-unit image data of the non-encrypted document to be processed can be designated, a plurality of parts can be designated, or the entire page can be designated. It is also possible to specify.

マーカ認識部202は、読取部212が原稿の画像を読み取って取得したページ単位の画像データ中から後述する領域マーカの画像データを認識する。具体的には、マーカ認識部202は、ページ単位の画像データ中に含まれる領域マーカの画像データを認識してそのページ単位の画像データ上での位置を特定する。このようにして特定された領域マーカの位置に基づいて暗号化指定領域が暗号化された暗号化領域の大きさ及び画像データ全体に対する位置が画像処理部204により特定される。また、マーカ認識部202は、認識した領域マーカに埋め込まれている種々の情報、たとえば詳細は後述するが、復号化処理に必要な暗号化原稿の読取条件(読取回数:指定読取回数値,用紙方向:指定用紙方向情報)及び復号鍵等を認識し、データとして取得する。   The marker recognizing unit 202 recognizes image data of an area marker, which will be described later, from image data in page units acquired by the reading unit 212 reading an image of a document. Specifically, the marker recognizing unit 202 recognizes the image data of the area marker included in the page unit image data and specifies the position on the page unit image data. Based on the position of the area marker specified in this way, the size of the encryption area in which the encryption designation area is encrypted and the position of the entire image data are specified by the image processing unit 204. The marker recognizing unit 202 also reads various information embedded in the recognized area marker, for example, as will be described in detail later, but reading conditions of the encrypted document necessary for the decryption processing (number of readings: designated number of readings, paper (Direction: designated paper direction information) and a decryption key are recognized and acquired as data.

復号化処理部203は、マーカ認識部202により取得された復号鍵を使用して、暗号化原稿の画像データ中の暗号化領域の画像データを復号化処理して元の画像データに復元する。   The decryption processing unit 203 uses the decryption key acquired by the marker recognizing unit 202 to decrypt the image data in the encryption area in the image data of the encrypted document, and restores the original image data.

画像処理部204は全般的な画像処理を行なう。具体的には、マーカ認識部202により特定された領域マーカの位置に基づいて暗号化領域の傾き、換言すれば暗号化原稿の画像データ全体の傾き(読取部212により原稿が読み取られた際の傾き)を補正する処理、上下左右の関係(読取部212により原稿が読み取られた際の方向)を通常の状態にするための暗号化原稿の画像データ全体の回転処理等を行なう。   The image processing unit 204 performs general image processing. Specifically, the inclination of the encryption area based on the position of the area marker specified by the marker recognition unit 202, in other words, the inclination of the entire image data of the encrypted document (when the document is read by the reading unit 212). (Tilt) correction processing, rotation processing of the entire image data of the encrypted document, etc., to bring the relationship between the upper, lower, left and right (direction when the document is read by the reading unit 212) into a normal state.

また暗号化処理に際して画像処理部204は、暗号化指定領域として指定された領域の画像データを暗号化処理部201に与えて暗号化処理させるためにページ単位の画像データから切り出す処理、暗号化された後の画像データを元の暗号化指定領域に貼り付ける処理(暗号化された画像データが貼り付けられることにより、暗号化指定領域は暗号化領域になる)、領域マーカの画像データを生成して暗号化領域の暗号化された画像データに合成する処理等を行なう。なお、領域マーカには、指定読取回数値及び指定用紙方向情報、更には暗号化領域の暗号化された画像データを復元するための復号鍵等のような、暗号化原稿の画像データを復号化するために必要な種々の情報が埋め込まれる。   Further, in the encryption process, the image processing unit 204 performs processing of extracting image data in page units in order to provide the encryption processing unit 201 with the image data in the area designated as the encryption designated area and perform encryption processing. Process of pasting the image data into the original encryption specification area (the encryption specification area becomes the encryption area by pasting the encrypted image data), generating the image data of the area marker Then, processing for synthesizing the encrypted image data in the encryption area is performed. The area marker decrypts the image data of the encrypted document, such as the designated reading count value and the designated paper direction information, and the decryption key for restoring the encrypted image data in the encryption area. Various information necessary for this is embedded.

更に復号化処理に際して画像処理部204は、マーカ認識部202が認識した領域マーカの位置により特定された暗号化領域の暗号化された画像データを復号化処理部203で復号化処理させるためにページ単位の画像データから切り出す処理、復号化された後の画像データを元の暗号化領域に貼り付けることにより暗号化されていないページ単位の画像データ(非暗号化画像データ)を生成する処理等も行なう。   Further, during the decryption process, the image processing unit 204 causes the decryption processing unit 203 to decrypt the encrypted image data in the encryption area specified by the position of the area marker recognized by the marker recognition unit 202. Processing to cut out image data in units, processing to generate unencrypted page-unit image data (unencrypted image data) by pasting the decrypted image data into the original encryption area, etc. Do.

PC3は、制御部300、入力部310、通信部330、出力部320、記憶部340等を含んでいることは基本的には複合機2と同様である。但し、このPC3が複合機2と大きく異なる点は、複合機2に備えられている読取部212、マーカ認識部202、復号化処理部203及び印刷部222に相当する構成要素が備えられていない反面、複合機2には備えられていないページデータ生成部305が備えられていることである。また、このような複合機2との相違点に応じて、PC3の一時記憶部342には、複合機2の位置記憶部242の読取用紙方向記憶部257以外の、画像データ記憶部251、「中断」フラグ252、「戻る」フラグ253、「枠移動モード」フラグ254、指定用紙方向記憶部255、指定読取回数記憶部256、カウント値記憶部258及びワーキングエリア259それぞれに対応する画像データ記憶部351、「中断」フラグ352、「戻る」フラグ353、「枠移動モード」フラグ354、指定用紙方向記憶部355、指定読取回数記憶部356、カウント値記憶部358及びワーキングエリア359が設定されている。   The PC 3 includes a control unit 300, an input unit 310, a communication unit 330, an output unit 320, a storage unit 340, and the like, which is basically the same as that of the multifunction device 2. However, the PC 3 is greatly different from the multifunction device 2 in that the components corresponding to the reading unit 212, the marker recognition unit 202, the decoding processing unit 203, and the printing unit 222 provided in the multifunction device 2 are not provided. On the other hand, a page data generation unit 305 that is not provided in the multifunction device 2 is provided. In addition, according to such a difference from the multifunction device 2, the temporary storage unit 342 of the PC 3 has an image data storage unit 251 other than the reading sheet direction storage unit 257 of the position storage unit 242 of the multifunction device 2, “ “Interrupt” flag 252, “return” flag 253, “frame movement mode” flag 254, designated sheet direction storage unit 255, designated reading count storage unit 256, count value storage unit 258 and image data storage unit corresponding to the working area 259. 351, “interrupt” flag 352, “return” flag 353, “frame movement mode” flag 354, designated sheet direction storage unit 355, designated reading number storage unit 356, count value storage unit 358, and working area 359 are set. .

ページデータ生成部305は、PC3にインストールされている種々のアプリケーションプログラムにより生成された文書データを構成するページ単位の画像データを生成する。ページデータ生成部305が生成したページ単位の画像データは、暗号化処理部301及び画像処理部304により、上述した複合機2の場合と基本的には同様に暗号化処理される。   A page data generation unit 305 generates image data in units of pages constituting document data generated by various application programs installed in the PC 3. The page-by-page image data generated by the page data generation unit 305 is encrypted by the encryption processing unit 301 and the image processing unit 304 basically in the same manner as in the above-described multifunction device 2.

また、PC3は上述のようにして暗号化したページ単位の画像データを通信部330からネットワークNEを介して複合機2へ送信することにより、複合機2の表示部221に画像として表示させたり、また印刷部222に印刷させたりすることもできる。更に、PC3は上述のようにして暗号化したページ単位の画像データを通信部330からネットワークNEを介して他のPC等の外部の端末装置へ送信することにより、その端末装置の表示部に画像として表示させたり、また他の印刷装置へ送信することによりその印刷装置に印刷させたりすることもできる。また更に、PC3はネットワークNEから通信部330を介して受信したページ単位の画像データも、暗号化処理部301及び画像処理部304により上述した複合機2の場合と同様に暗号化処理することが可能である。   Further, the PC 3 transmits the image data in units of pages encrypted as described above from the communication unit 330 to the multifunction device 2 via the network NE, thereby displaying the image data on the display unit 221 of the multifunction device 2 as an image, In addition, the printing unit 222 can perform printing. Further, the PC 3 transmits the image data in units of pages encrypted as described above from the communication unit 330 to an external terminal device such as another PC via the network NE, whereby the image is displayed on the display unit of the terminal device. Or can be printed on that printing device by sending it to another printing device. Furthermore, the PC 3 can also encrypt the page-unit image data received from the network NE via the communication unit 330 by the encryption processing unit 301 and the image processing unit 304 in the same manner as in the case of the multifunction machine 2 described above. Is possible.

図3は本発明に係る画像形成装置を利用した場合の画像データ及び印刷物の流れを表した模式図であり、上述した本発明に係る画像形成装置である複合機2及びPC3の他に、パーソナルコンピュータ等の外部の一般の端末装置1及び外部の一般のプリンタ4がネットワークNEを介して接続されている。以下、図3を参照して、本発明に係る画像形成装置を利用した場合の画像データ及び印刷物の流れについて簡単に説明する。   FIG. 3 is a schematic diagram showing the flow of image data and printed matter when the image forming apparatus according to the present invention is used. In addition to the multifunction machine 2 and the PC 3 which are the image forming apparatuses according to the present invention described above, personal An external general terminal device 1 such as a computer and an external general printer 4 are connected via a network NE. Hereinafter, the flow of image data and printed matter when the image forming apparatus according to the present invention is used will be briefly described with reference to FIG.

複合機2は図1に示す構成から明らかなように、スキャナ機能(コピー機能も含む)、暗号化処理機能、復号化処理機能、印刷機能、表示機能及びネットワーク機能を有している。一方、PC3は図2に示す構成から明らかなように、スキャナ機能、復号化処理機能、及び印刷機能は有していない。しかし、PC3は暗号化処理機能及びネットワーク機能は有している。また、一般の端末装置1はネットワーク機能を有している他、表示装置が接続されている場合には表示機能を有する。また、一般の端末装置1はアプリケーションプログラムにより生成した文書データを構成する個々のページ単位の画像データをネットワーク機能を利用して複合機2又はPC3へ送信することにより暗号化処理を依頼することができる他、複合機2又は一般のプリンタ4へ送信することにより印刷を依頼することが出来る。更に一般のプリンタ4は複合機2又はPC3からネットワーク機能を利用してページ単位の画像データを受信することにより、非暗号化原稿5及び暗号化原稿6を印刷することが可能である。以下に、より具体的に説明する。   As is apparent from the configuration shown in FIG. 1, the multi-function device 2 has a scanner function (including a copy function), an encryption processing function, a decryption processing function, a printing function, a display function, and a network function. On the other hand, as is apparent from the configuration shown in FIG. 2, the PC 3 does not have a scanner function, a decryption processing function, and a printing function. However, the PC 3 has an encryption processing function and a network function. Further, the general terminal device 1 has a network function, and also has a display function when a display device is connected. In addition, the general terminal device 1 may request encryption processing by transmitting image data in units of individual pages constituting document data generated by an application program to the MFP 2 or the PC 3 using a network function. In addition, printing can be requested by transmitting to the multifunction device 2 or the general printer 4. Further, the general printer 4 can print the non-encrypted document 5 and the encrypted document 6 by receiving image data in units of pages from the multifunction device 2 or the PC 3 using the network function. More specific description will be given below.

複合機2は、スキャナ機能により、非暗号化原稿5及び暗号化原稿6のいずれをも読み取ることができる。また複合機2は、印刷機能により、スキャナ機能により読み取った非暗号化原稿5及び暗号化原稿6のいずれをも印刷し、また暗号化原稿6を自身で元の状態に復元した非暗号化原稿5を印刷することもできる。更に複合機2は、ネットワーク機能により、PC3から暗号化画像データ7を受信して印刷機能により暗号化原稿6として印刷したり、暗号化原稿6が元の状態に復元された、または元々暗号化されていない非暗号化画像データ8をPC3又は一般の端末装置1へ送信することもできる。   The multifunction device 2 can read both the unencrypted document 5 and the encrypted document 6 by the scanner function. Further, the multifunction device 2 prints both the unencrypted document 5 and the encrypted document 6 read by the scanner function by the printing function, and the unencrypted document in which the encrypted document 6 is restored to the original state by itself. 5 can also be printed. Further, the MFP 2 receives the encrypted image data 7 from the PC 3 by the network function and prints it as the encrypted document 6 by the printing function, or the encrypted document 6 is restored to the original state or originally encrypted. Unencrypted image data 8 that has not been sent can also be transmitted to the PC 3 or the general terminal device 1.

一般のプリンタ4は、PC3から暗号化画像データ7を受信することにより暗号化原稿6を印刷することができる。また、一般の端末装置1は、複合機2から暗号化領域が復元された非暗号化画像データ8を受信して表示装置の画面等に表示することができる。なお、図3には示していないが、一般のプリンタ4は、複合機2から指定領域が暗号化された暗号化画像データ7を受信することにより暗号化原稿6を印刷することも、また複合機2、PC3、一般の端末装置1から非暗号化画像データ8を受信して非暗号化原稿5を印刷することもできる。   The general printer 4 can print the encrypted document 6 by receiving the encrypted image data 7 from the PC 3. Also, the general terminal device 1 can receive the non-encrypted image data 8 with the encrypted area restored from the multifunction device 2 and display it on the screen of the display device. Although not shown in FIG. 3, the general printer 4 may print the encrypted document 6 by receiving the encrypted image data 7 in which the designated area is encrypted from the multifunction device 2. It is also possible to receive the unencrypted image data 8 from the machine 2, the PC 3, and the general terminal device 1 and print the unencrypted document 5.

次に、図4(a) 〜図4(c) の模式図を参照して、本発明の画像形成装置による画像処理の概略について説明する。図4(a) は非暗号化原稿5を、図4(b) はこの非暗号化原稿5の暗号化指定領域16,17を暗号化した暗号化原稿6を示す模式図である。図4(a) に示すように、非暗号化原稿5の内の上端部寄りの矩形の領域と下端部寄りの矩形の領域との二つの領域が暗号化指定領域16,17として指定されることにより、図4(b) に示すようなたとえばスクランブル画像化された暗号化領域14,15を含む暗号化原稿6が生成される。なお、暗号化指定領域16,17は本実施の形態では矩形の領域であり、従って暗号化領域14,15も矩形の領域である。そして、暗号化領域14,15それぞれの隅部には、図4(c) に示すような領域マーカ11,12,13が形成される。   Next, an outline of image processing by the image forming apparatus of the present invention will be described with reference to the schematic diagrams of FIGS. 4 (a) to 4 (c). FIG. 4A is a schematic diagram showing the unencrypted document 5 and FIG. 4B is a schematic diagram showing the encrypted document 6 in which the encryption designation areas 16 and 17 of the unencrypted document 5 are encrypted. As shown in FIG. 4A, two areas of the non-encrypted document 5, a rectangular area near the upper end and a rectangular area near the lower end, are designated as encryption designation areas 16 and 17. As a result, the encrypted document 6 including the encrypted areas 14 and 15 scrambled, for example, as shown in FIG. 4B is generated. The encryption designation areas 16 and 17 are rectangular areas in the present embodiment, and therefore the encryption areas 14 and 15 are also rectangular areas. Then, area markers 11, 12, and 13 as shown in FIG. 4 (c) are formed at the corners of the encrypted areas 14 and 15, respectively.

領域マーカ11は暗号化領域14(15)の左上隅部に、領域マーカ12は暗号化領域14(15)の右上隅部に、領域マーカ13は暗号化領域14(15)の左下隅部にそれぞれ形成されている。従って、暗号化領域14(15)の右下隅部には領域マーカは形成されていないので、これらの三つの領域マーカ11,12,13のページ単位の画像データ上での位置が判明すれば、暗号化領域14(15)のページ単位の画像データ上での位置及び大きさ、更にはページ単位の画像データそのものの傾き、上下左右の関係(画像の向き)等も容易に判断可能である。   The area marker 11 is in the upper left corner of the encrypted area 14 (15), the area marker 12 is in the upper right corner of the encrypted area 14 (15), and the area marker 13 is in the lower left corner of the encrypted area 14 (15). Each is formed. Therefore, since no area marker is formed at the lower right corner of the encrypted area 14 (15), if the positions of these three area markers 11, 12, 13 on the page-by-page image data are known, The position and size of the encrypted area 14 (15) on the page-by-page image data, the inclination of the page-by-page image data itself, the vertical / horizontal relationship (image orientation), and the like can be easily determined.

図5は、非暗号化原稿5の指定領域を暗号化した暗号化原稿6を作成するためのメインルーチン(暗号化処理のメインルーチン)の処理手順を示すフローチャートである。この暗号化処理は複合機2又はPC3のいずれでも実行可能であるが、以下においては複合機2での処理を主に説明する。なお暗号化処理は、複合機2で実行される場合は制御部200が記憶部240にインストールされている制御プログラムに従って、PC3で実行される場合は制御部300が記憶部340にインストールされている制御プログラムに従って、それぞれ処理される。   FIG. 5 is a flowchart showing a processing procedure of a main routine (encryption processing main routine) for creating the encrypted document 6 in which the designated area of the non-encrypted document 5 is encrypted. Although this encryption process can be executed by either the multifunction device 2 or the PC 3, the processing in the multifunction device 2 will be mainly described below. When the encryption process is executed by the multifunction device 2, the control unit 200 is installed in the storage unit 340 when the control unit 200 is executed by the PC 3 according to the control program installed in the storage unit 240. Each is processed according to the control program.

複合機2において暗号化処理を行なう際は、制御部200が、読取部212の図示しない原稿台に載置された非暗号化原稿5の画像を読取部212に光学的に読み取らせてデジタルの画像データとして取得し、画像データ記憶部251に記憶させる(ステップS11)。なお、PC3において暗号化処理を行なう際は、種々のアプリケーションプログラムで作成された、または他の端末装置1等から受信した文書データの指定されたページの画像データを画像データ記憶部351に記憶させる。また、複合機2において暗号化処理を行なう際にも、他の端末装置1等から受信して画像データ記憶部251に記憶させた文書データの指定されたページの画像データを対象とすることも勿論可能である。   When the MFP 2 performs encryption processing, the control unit 200 causes the reading unit 212 to optically read an image of the non-encrypted document 5 placed on a document table (not shown) of the reading unit 212, and to perform digital processing. Obtained as image data and stored in the image data storage unit 251 (step S11). When encryption processing is performed in the PC 3, image data of a specified page of document data created by various application programs or received from another terminal device 1 or the like is stored in the image data storage unit 351. . Also, when the MFP 2 performs encryption processing, the image data of a specified page of document data received from another terminal device 1 or the like and stored in the image data storage unit 251 may be targeted. Of course it is possible.

以下に説明する暗号化処理の手順は複合機2又はPC3のいずれにおいても基本的に同様であるので、複合機2での場合についてのみ説明する。まず最初に、上述のようにして画像データ記憶部251に記憶されたページ単位の画像データの内のユーザが暗号化したい領域を指定するための暗号化指定領域27の枠をユーザが操作部211を操作して図4に示すように矩形単位で指定する暗号化領域指定処理が実行される(ステップS12)。この処理は図6,図7及び図8の暗号化領域指定処理のサブルーチンのフローチャートとして制御部200により実行される。   The procedure of the encryption process described below is basically the same in both the multifunction device 2 and the PC 3, and therefore only the case in the multifunction device 2 will be described. First, the user operates the operation unit 211 to set the frame of the encryption designation area 27 for the user to designate the area to be encrypted in the page unit image data stored in the image data storage unit 251 as described above. As shown in FIG. 4, an encryption area designation process for designating in units of rectangles is executed (step S12). This process is executed by the control unit 200 as a flowchart of a subroutine for the encryption area designation process shown in FIGS.

以下、図6,図7及び図8のフローチャートを参照して暗号化領域指定処理について説明する。まず制御部200は一時記憶部242を暗号化領域指定処理のために初期設定する(ステップS31)。具体的には、制御部200は、「中断」フラグ252及び「枠移動モード」フラグ254の設定を共に「オフ(0)」にする。なお、「中断」フラグ252とは、その時点で実行されている処理を取り消した場合に「オン」に設定されることにより、暗号化処理を続行するか否かを判断するためのフラグである。またこの「中断」フラグ252は後述する読取回数指定処理及び用紙方向指定処理においても使用される。また、制御部200はワーキングエリア259をクリア(何も記憶していない状態)すると共に指定用紙方向記憶部255もクリアする。更に制御部200は、指定読取回数記憶部256に指定読取回数値の初期値として「2」を設定する。以上がステップS31における処理である。但し、ここでは、指定読取回数値の初期値として「2」が設定されているが、この値に限定するのではなく、システム設計上、最適な値を設定することが可能である。   Hereinafter, the encryption area designation process will be described with reference to the flowcharts of FIGS. 6, 7, and 8. First, the control unit 200 initializes the temporary storage unit 242 for encryption area designation processing (step S31). Specifically, the control unit 200 sets both the “suspend” flag 252 and the “frame movement mode” flag 254 to “off (0)”. The “interrupt” flag 252 is a flag for determining whether to continue the encryption process by being set to “on” when the process being executed at that time is canceled. . The “interrupt” flag 252 is also used in a reading count designation process and a paper direction designation process described later. Further, the control unit 200 clears the working area 259 (a state in which nothing is stored) and also clears the designated sheet direction storage unit 255. Further, the control unit 200 sets “2” as the initial value of the designated reading number value in the designated reading number storage unit 256. The above is the process in step S31. However, although “2” is set as the initial value of the designated number of readings here, the value is not limited to this value, and an optimum value can be set in system design.

次に制御部200は、表示部221に暗号化領域指定画面21を表示する (ステップS32)。図9(a) 〜図9(c) は暗号化領域指定画面21の表示状態の遷移を示す模式図であり、図9(a) は最初のステップS32での処理において表示される初期画面である。この図9(a) に示す初期画面に示されているように、暗号化領域指定画面21の左側寄りのほぼ半分の領域には画像データ記憶部251に記憶されている処理対象の画像データをページ単位の画像として表示するためのプレビュー画面26が設定されており、暗号化指定領域27の範囲を示す枠が表示されている。   Next, the control unit 200 displays the encryption area designation screen 21 on the display unit 221 (step S32). 9 (a) to 9 (c) are schematic diagrams showing transition of the display state of the encryption area designation screen 21, and FIG. 9 (a) is an initial screen displayed in the processing in the first step S32. is there. As shown in the initial screen shown in FIG. 9A, the image data to be processed stored in the image data storage unit 251 is stored in an almost half area on the left side of the encryption area designation screen 21. A preview screen 26 for displaying as an image in page units is set, and a frame indicating the range of the encryption designation area 27 is displayed.

また、暗号化領域指定画面21の右側寄りのほぼ半分の領域には、暗号化指定領域27の枠を操作するボタン類として、移動の際に使用される「枠移動モード」ボタン101,「上指標」ボタン102U,「下指標」ボタン102D,「左指標」ボタン102L,「右指標」ボタン102Rと、暗号化領域指定処理そのものの手順を指示するための「追加」ボタン104,「取消」ボタン105,「次へ」ボタン106の各ボタン類がそれぞれ表示されている。なお、図9(b) に示すように、暗号化領域指定画面21の右側寄りの部分は、暗号化指定領域27の枠のサイズ変更の際に使用される「上辺上指標」ボタン103UU、「上辺下指標」ボタン103UD、「下辺上指標」ボタン103DU、「下辺下指標」ボタン103DD、「左辺左指標」ボタン103LL、「左辺右指標」ボタン103LR、「右辺左指標」ボタン103RL、「右辺右指標」ボタン103RRと、暗号化領域指定処理そのものの手順を指示するための「追加」ボタン104,「取消」ボタン105,「次へ」ボタン106の各ボタン類がそれぞれ表示される状態に切り換えられる。図9(a) に示す表示状態と図9(b) に示す表示状態とは後述するように、「枠移動モード」ボタン101の操作に応じて切換られる。   Also, in the almost half of the area on the right side of the encryption area designation screen 21, “frame movement mode” buttons 101, “up” are used as buttons for operating the frame of the encryption designation area 27. An “index” button 102U, a “lower index” button 102D, a “left index” button 102L, a “right index” button 102R, an “add” button 104 and a “cancel” button for instructing the procedure of the encryption area designation process itself 105 and “Next” button 106 are displayed. As shown in FIG. 9B, the right side portion of the encryption area designation screen 21 is an “upper-side index” button 103UU, which is used when the frame size of the encryption designation area 27 is changed. Upper Lower Indicator button 103UD, Lower Upper Indicator button 103DU, Lower Lower Indicator button 103DD, Left Left Indicator button 103LL, Left Left Right Indicator button 103LR, Right Left Indicator button 103RL, Right Right Right The “index” button 103RR and the “add” button 104, the “cancel” button 105, and the “next” button 106 for instructing the procedure of the encryption area specifying process itself are displayed. . The display state shown in FIG. 9A and the display state shown in FIG. 9B are switched in accordance with the operation of the “frame movement mode” button 101 as will be described later.

なお、制御部200は、暗号化領域指定画面21を表示する際には、画像データ記憶部251に記憶されている処理対象の画像データをプレビュー画面26にページ単位の画像として表示するが、この画像上にユーザが暗号化を行ないたい領域を指定するための暗号化指定領域27の枠を破線で表示する(ステップS33)。この破線は初期状態ではプレビュー画面26の全体の外郭と一致して表示される。但し、後述するように暗号化指定領域27は任意に拡大・縮小、及び移動が可能であるので、ユーザが目視で確認し易い状態であれば適宜の位置でよい。   The control unit 200 displays the processing target image data stored in the image data storage unit 251 as an image in units of pages on the preview screen 26 when displaying the encryption area designation screen 21. The frame of the encryption designation area 27 for designating the area where the user wants to perform encryption is displayed on the image with a broken line (step S33). This broken line is displayed in agreement with the entire outline of the preview screen 26 in the initial state. However, as will be described later, the encryption designation area 27 can be arbitrarily enlarged / reduced and moved, and therefore may be at an appropriate position as long as it is easy for the user to visually confirm.

図10は暗号化指定領域27の枠の表示部221の画面上での表示のための座標系を示す模式図である。図10に示すように、表示部221の画面上に設定されたX−Y座標系上の座標値で暗号化指定領域27の枠の4頂点(LT:左上、RT:右上、LB:左下、RB:右下)が表わされている。従って、暗号化指定領域27の枠の移動及び拡大・縮小はこれらの4頂点(LT、RT、LB、RB)の座標値の変更により可能になる。なお、以下の説明においては、暗号化指定領域27の移動及び拡大・縮小の際の座標値の上限値及び下限値に対するリミット処理は公知であるのでその説明では省略する。   FIG. 10 is a schematic diagram showing a coordinate system for displaying the frame of the encryption designation area 27 on the screen of the display unit 221. As shown in FIG. 10, the four vertexes of the frame of the encryption designation area 27 (LT: upper left, RT: upper right, LB: lower left, with coordinate values on the XY coordinate system set on the screen of the display unit 221. RB: lower right). Therefore, the frame of the encryption designation area 27 can be moved and enlarged / reduced by changing the coordinate values of these four vertices (LT, RT, LB, RB). In the following description, the limit processing for the upper limit value and the lower limit value of the coordinate value when the encryption designation area 27 is moved and enlarged / reduced is well-known, and thus the description thereof is omitted.

図9(a) 〜図9(c) において暗号化領域指定画面21の右側寄りの部分の中央に「黒丸(●)」又は「白丸(○)」で表示されている「枠移動モード」ボタン101は、暗号化指定領域27の枠全体を移動させるための「枠移動」モードが設定されているのか、または枠のいずれかの一辺のみを移動させることにより暗号化指定領域27を拡大・縮小させるための「枠拡大・縮小」モードが設定されているのかを表すと共に、その切換を行なうためのボタンである。なお、図6,図7及び図8のフローチャートでは、「枠移動」モードが設定されている場合は「枠移動モード」フラグ254をオン(1)として、「枠拡大・縮小」モードが設定されている場合は「枠移動モード」フラグ254をオフ(0)としてそれぞれ示されている。このような「枠移動」モードのオン/オフは「枠移動モード」ボタン101と連動しており、「枠移動モード」フラグ254の設定状態として記憶される。   In FIG. 9 (a) to FIG. 9 (c), the “frame movement mode” button displayed with “black circle (●)” or “white circle (◯)” in the center of the right side portion of the encryption area designation screen 21 101 indicates whether the “frame movement” mode for moving the entire frame of the encryption designation area 27 is set, or enlargement / reduction of the encryption designation area 27 by moving only one side of the frame. This is a button for indicating whether the “frame enlargement / reduction” mode is set, and for switching the mode. 6, 7, and 8, when the “frame movement” mode is set, the “frame movement mode” flag 254 is turned on (1), and the “frame enlargement / reduction” mode is set. In this case, the “frame movement mode” flag 254 is shown as being off (0). Such ON / OFF of the “frame movement mode” is linked to the “frame movement mode” button 101 and is stored as a setting state of the “frame movement mode” flag 254.

次に制御部200は、その時点で「枠移動」モードが「オン」であるか(又はオフであるか)否か、即ち「枠移動モード」フラグ254の設定状態を判断する(ステップS34)。「枠移動モード」フラグ254が「オン」、即ち「枠移動モード」ボタン101の表示状態が黒丸(●)である場合は(ステップS34でYES)、暗号化領域指定画面21は図9(a) に示す暗号化指定領域27の移動が可能な表示状態である。従ってこの場合には、制御部200は、「上指標」ボタン102U、「下指標」ボタン102D、「左指標」ボタン102L、「右指標」ボタン102Rのいずれかが押されたか否かを判断する(ステップS35,S36,S37,S38)。   Next, the control unit 200 determines whether or not the “frame movement” mode is “on” (or off) at that time, that is, the setting state of the “frame movement mode” flag 254 (step S34). . When the “frame movement mode” flag 254 is “ON”, that is, the display state of the “frame movement mode” button 101 is a black circle (●) (YES in step S34), the encryption area designation screen 21 is displayed as shown in FIG. The encryption designation area 27 shown in FIG. Therefore, in this case, the control unit 200 determines whether any of the “upper index” button 102U, the “lower index” button 102D, the “left index” button 102L, and the “right index” button 102R is pressed. (Steps S35, S36, S37, S38).

「上指標」ボタン102Uが押された場合は(ステップS35でYES)、制御部200は暗号化指定領域27を上へ移動することが指示されたと判断する。この場合、制御部200は暗号化指定領域27の枠の4頂点(LT、RT、LB、RB)のY座標をそれぞれ1ポイント減少させることにより、暗号化指定領域27の枠全体をプレビュー画面26内で上へ移動させるための座標値を計算する(ステップS39)。「下指標」ボタン102Dが押された場合は(ステップS36でYES)、制御部200は暗号化指定領域27を下へ移動することが指示されたと判断する。この場合、制御部200は暗号化指定領域27の枠の4頂点(LT、RT、LB、RB)のY座標をそれぞれ1ポイント増加させることにより、暗号化指定領域27の枠全体をプレビュー画面26内で下へ移動させるための座標値を計算する(ステップS40)。   If the “upper index” button 102U is pressed (YES in step S35), the control unit 200 determines that an instruction to move up the encryption designation area 27 has been given. In this case, the control unit 200 decreases the Y coordinates of the four vertices (LT, RT, LB, RB) of the frame of the encryption designation area 27 by 1 point, respectively, so that the entire frame of the encryption designation area 27 is displayed on the preview screen 26. A coordinate value for moving upward within the box is calculated (step S39). When the “down index” button 102D is pressed (YES in step S36), the control unit 200 determines that an instruction to move down the encryption designation area 27 has been given. In this case, the control unit 200 increases the Y coordinate of each of the four vertices (LT, RT, LB, RB) of the frame of the encryption designation area 27 by 1 point, so that the entire frame of the encryption designation area 27 is displayed on the preview screen 26. A coordinate value for moving downward within the frame is calculated (step S40).

更に、「左指標」ボタン102Lが押された場合は(ステップS37でYES)、制御部200は暗号化指定領域27を左へ移動することが指示されたと判断する。この場合、制御部200は暗号化指定領域27の枠の4頂点(LT、RT、LB、RB)のX座標をそれぞれ1ポイント減少させることにより、暗号化指定領域27の枠全体をプレビュー画面26内で左へ移動させるための座標値を計算する(ステップS41)。「右指標」ボタン102Rが押された場合は(ステップS38でYES)、制御部200は暗号化指定領域27を右へ移動することが指示されたと判断する。この場合、制御部200は暗号化指定領域27の枠の4頂点(LT、RT、LB、RB)のX座標をそれぞれ1ポイント増加させることにより、暗号化指定領域27の枠全体をプレビュー画面26内で右へ移動させるための座標値を計算する(ステップS42)。   Further, when the “left index” button 102L is pressed (YES in step S37), the control unit 200 determines that an instruction to move the encryption designation area 27 to the left is instructed. In this case, the control unit 200 decreases the X coordinates of the four vertices (LT, RT, LB, RB) of the frame of the encryption designation area 27 by 1 point, respectively, so that the entire frame of the encryption designation area 27 is displayed on the preview screen 26. The coordinate value for moving to the left is calculated (step S41). When the “right index” button 102R is pressed (YES in step S38), the control unit 200 determines that an instruction to move the encryption designation area 27 to the right is instructed. In this case, the control unit 200 increases the X coordinate of each of the four vertices (LT, RT, LB, RB) of the frame of the encryption designation area 27 by 1 point, so that the entire frame of the encryption designation area 27 is displayed on the preview screen 26. The coordinate value for moving to the right is calculated (step S42).

以上のような暗号化指定領域27の枠のX座標値及びY座標値の計算後、制御部200はステップS33へ処理を戻すことによって、プレビュー画面26に移動後の暗号化指定領域27の枠を再度表示する(ステップS33)。   After calculating the X coordinate value and the Y coordinate value of the frame of the encryption designation area 27 as described above, the control unit 200 returns the processing to step S33, thereby moving the frame of the encryption designation area 27 after moving to the preview screen 26. Is displayed again (step S33).

「上指標」ボタン102U,「下指標」ボタン102D,「左指標」ボタン102L,「右指標」ボタン102Rのいずれも操作されなかった場合は(ステップS35,S36,S37,S38のいずれもNO)、制御部200は「追加」ボタン104,「次へ」ボタン106,「取消」ボタン105,「枠移動モード」ボタン101のいずれかが押されたか否かを判断する(ステップS43,S44,S45,S46)。   When none of the “upper index” button 102U, the “lower index” button 102D, the “left index” button 102L, and the “right index” button 102R is operated (NO in any of steps S35, S36, S37, and S38) The control unit 200 determines whether any of the “add” button 104, the “next” button 106, the “cancel” button 105, or the “frame movement mode” button 101 has been pressed (steps S43, S44, S45). , S46).

「追加」ボタン104が押された場合は(ステップS43でYES)、制御部200はその時点でプレビュー画面26上で指定されている枠が暗号化指定領域27の枠として確定したものとしてそのX座標とY座標の値を一時記憶部242のワーキングエリア259に記憶させる(ステップS47)。そして制御部200は確定した暗号化指定領域27を図9(c) に示すようにたとえばグレー表示することによって、指定済みの暗号化指定領域28として表示する(ステップS48)。これによって、指定済みの暗号化指定領域28は、次に追加して指定される暗号化指定領域27の枠と容易に区別可能になる。この後、制御部200は処理をステップS32へ戻すことによって、図9(c) に示すように次の暗号化指定領域27の枠をプレビュー画面26のグレー表示された指定済み暗号化指定領域28以外の領域に表示する。   When the “add” button 104 is pressed (YES in step S43), the control unit 200 assumes that the frame designated on the preview screen 26 at that time is confirmed as the frame of the encryption designation area 27, and the X The coordinate and Y coordinate values are stored in the working area 259 of the temporary storage unit 242 (step S47). Then, the control unit 200 displays the determined encryption designation area 27 as a designated encryption designation area 28 by, for example, displaying in gray as shown in FIG. 9C (step S48). As a result, the designated encryption designation area 28 can be easily distinguished from the frame of the encryption designation area 27 to be designated next. Thereafter, the control unit 200 returns the process to step S32, whereby the frame of the next encryption designation area 27 is displayed in gray on the preview screen 26 as shown in FIG. 9C. Display in other areas.

「次へ」ボタン106が押された場合は(ステップS44でYES)、ユーザが暗号化指定領域の指定を終了して次の処理へ進みたい場合であるので、制御部200はその時点の暗号化指定領域27の枠のX座標とY座標の値を一時記憶部242のワーキングエリア259に記憶させ(ステップS49)、暗号化領域指定処理を終了して暗号化処理のメインルーチンへリターンする。「取消」ボタン105が押された場合は(ステップS45でYES)、ユーザが暗号化指定領域の指定をやり直す場合であるので、制御部200は「中断」フラグ252の設定を「オン」にし(ステップS50)、暗号化領域指定処理を終了して暗号化処理のメインルーチンへリターンする。   If the “next” button 106 is pressed (YES in step S44), the user wants to end the designation of the encryption designation area and proceed to the next process. The X coordinate and Y coordinate values of the frame of the encryption designation area 27 are stored in the working area 259 of the temporary storage unit 242 (step S49), the encryption area designation process is terminated, and the process returns to the main routine of the encryption process. When the “cancel” button 105 is pressed (YES in step S45), since the user re-specifies the encryption designation area, the control unit 200 sets the “suspend” flag 252 to “on” ( Step S50), the encryption area designating process is terminated, and the process returns to the main routine of the encryption process.

「枠移動モード」ボタン101が押された場合は(ステップS46でYES)、ユーザが暗号化指定領域27の枠を移動させる操作を止めて拡大・縮小を行なう場合(又はその逆)であるので、制御部200は「枠移動モード」フラグ254の設定を逆に、即ち「オン」から「オフ」へ、又は「オフ」から「オン」へ切り換える(ステップS51)。この後、制御部200はステップS33へ処理を戻す。従ってこの場合、ステップS34において「枠移動モード」フラグが「オフ」、即ち「枠移動モード」ボタン101が白丸(○)で表示されていると判断された場合には(ステップS34でNO)、暗号化領域指定画面21は図9(b) に示す暗号化指定領域27の拡大・縮小が可能な表示状態である。従ってこの場合には、制御部200は、「上辺上指標」ボタン103UU,「上辺下指標」ボタン103UD,「下辺上指標」ボタン103DU,「下辺下指標」ボタン103DD,「左辺左指標」ボタン103LL,「左辺右指標」ボタン103LR,「右辺左指標」ボタン103RL,「右辺右指標」ボタン103RRのいずれかが押されたか否かを判断する(ステップS52,S53,S54,S55,S56,S57,S58,S59)。   When the “frame movement mode” button 101 is pressed (YES in step S46), the user stops the operation of moving the frame of the encryption designation area 27 and performs enlargement / reduction (or vice versa). Then, the control unit 200 reversely sets the “frame movement mode” flag 254, that is, switches from “on” to “off” or from “off” to “on” (step S51). Thereafter, the control unit 200 returns the process to step S33. Therefore, in this case, if it is determined in step S34 that the “frame movement mode” flag is “off”, that is, the “frame movement mode” button 101 is displayed with a white circle (◯) (NO in step S34), The encryption area designation screen 21 is in a display state in which the encryption designation area 27 shown in FIG. Therefore, in this case, the control unit 200 controls the “upper upper index” button 103UU, the “upper lower index” button 103UD, the “lower upper index” button 103DU, the “lower lower index” button 103DD, and the “left left index” button 103LL. , “Left side right index” button 103LR, “Right side left index” button 103RL, and “Right side right index” button 103RR are judged (steps S52, S53, S54, S55, S56, S57, S58, S59).

「上辺上指標」ボタン103UUが押された場合は(ステップS52でYES)、制御部200は暗号化指定領域27をその枠の上辺を上方へ移動させて拡大させることが指示されたと判断する。この場合、制御部200は暗号化指定領域27の枠の上側の両頂点LT及びRTのY座標を1ポイント減少させることにより、暗号化指定領域27の上辺を上方向へ移動させて上側へ拡大させるための座標値を計算する(ステップS60)。   When the “upper upper index” button 103UU is pressed (YES in step S52), the control unit 200 determines that an instruction has been given to enlarge the encryption designation area 27 by moving the upper side of the frame upward. In this case, the control unit 200 moves the upper side of the encryption designation area 27 upward by enlarging the upper side of the encryption designation area 27 by decreasing the Y coordinates of the upper vertices LT and RT of the upper side of the frame of the encryption designation area 27 by one point. The coordinate value for making it calculate is calculated (step S60).

「上辺下指標」ボタン103UDが押された場合は(ステップS53でYES)、制御部200は暗号化指定領域27をその枠の上辺を下方へ移動させて縮小させることが指示されたと判断する。この場合、制御部200は暗号化指定領域27の枠の上側の両頂点LT及びRTのY座標を1ポイント増加させることにより、暗号化指定領域27の上辺を下方向へ移動させて上側を縮小させるための座標値を計算する(ステップS61)。   When the “upper side lower index” button 103UD is pressed (YES in step S53), the control unit 200 determines that an instruction to reduce the encryption designation area 27 by moving the upper side of the frame downward is given. In this case, the control unit 200 increases the Y coordinates of both the vertices LT and RT on the upper side of the frame of the encryption designation area 27 by 1 point, thereby moving the upper side of the encryption designation area 27 downward and reducing the upper side. The coordinate value for making it calculate is calculated (step S61).

「下辺上指標」ボタン103DUが押された場合は(ステップS54でYES)、制御部200は暗号化指定領域27をその枠の下辺を上方へ移動させて縮小させることが指示されたと判断する。この場合、制御部200は暗号化指定領域27の枠の下側の両頂点LB及びRBのY座標を1ポイント減少させることにより、暗号化指定領域27の下辺を上方向へ移動させて下側を縮小させるための座標値を計算する(ステップS62)。   When the “lower upper index” button 103DU is pressed (YES in step S54), the control unit 200 determines that an instruction has been given to reduce the encryption designation area 27 by moving the lower side of the frame upward. In this case, the control unit 200 moves the lower side of the encryption designation area 27 upward by reducing the Y coordinate of both vertices LB and RB below the frame of the encryption designation area 27 by 1 point. The coordinate value for reducing is reduced (step S62).

「下辺下指標」ボタン103DDが押された場合は(ステップS55でYES)、制御部200は暗号化指定領域27をその枠の下辺を下方へ移動させて拡大させることが指示されたと判断する。この場合、制御部200は暗号化指定領域27の枠の下側の両頂点LB及びRBのY座標を1ポイント増加させることにより、暗号化指定領域27の下辺を下方向へ移動させて下側へ拡大させるための座標値を計算する(ステップS63)。   When the “lower side lower index” button 103DD is pressed (YES in step S55), the control unit 200 determines that an instruction is given to enlarge the encryption designation area 27 by moving the lower side of the frame downward. In this case, the control unit 200 moves the lower side of the encryption designation area 27 downward by increasing the Y coordinates of both vertices LB and RB on the lower side of the frame of the encryption designation area 27 by 1 point. The coordinate value for enlarging to (S63) is calculated.

「左辺左指標」ボタン103LLが押された場合は(ステップS56でYES)、制御部200は暗号化指定領域27をその枠の左辺を左方へ移動させて拡大させることが指示されたと判断する。この場合、制御部200は暗号化指定領域27の枠の左側の両頂点LT及びLBのX座標を1ポイント減少させることにより、暗号化指定領域27の左辺を左方向へ移動させて左側へ拡大させるための座標値を計算する(ステップS64)。   If the “left side left index” button 103LL is pressed (YES in step S56), the control unit 200 determines that the encryption designation area 27 has been instructed to be enlarged by moving the left side of the frame to the left. . In this case, the control unit 200 moves the left side of the encryption designation area 27 leftward and expands it to the left side by reducing the X coordinates of both vertices LT and LB on the left side of the frame of the encryption designation area 27 by one point. The coordinate value for making it calculate is calculated (step S64).

「左辺右指標」ボタン103LRが押された場合は(ステップS57でYES)、制御部200は暗号化指定領域27をその枠の左辺を右へ移動させて縮小させることが指示されたと判断する。この場合、制御部200は暗号化指定領域27の枠の左側の両頂点LT及びLBのX座標を1ポイント増加させることにより、暗号化指定領域27の左辺を右方向へ移動させて左側を縮小させるための座標値を計算する(ステップS65)。   When the “left side / right index” button 103LR is pressed (YES in step S57), the control unit 200 determines that the encryption designation area 27 has been instructed to be reduced by moving the left side of the frame to the right. In this case, the control unit 200 increases the X coordinates of both vertices LT and LB on the left side of the frame of the encryption designation area 27 by 1 point, thereby moving the left side of the encryption designation area 27 in the right direction and reducing the left side. The coordinate value for making it calculate is calculated (step S65).

「右辺左指標」ボタン103RLが押された場合は(ステップS58でYES)、制御部200は暗号化指定領域27をその枠の右辺を左方へ移動させて縮小させることが指示されたと判断する。この場合、制御部200は暗号化指定領域27の枠の右側の両頂点RT及びRBのX座標を1ポイント減少させることにより、暗号化指定領域27の右辺を左方向へ移動させて右側を縮小させるための座標値を計算する(ステップS66)。   When the “right side left index” button 103RL is pressed (YES in step S58), the control unit 200 determines that the encryption designation area 27 has been instructed to be reduced by moving the right side of the frame to the left. . In this case, the control unit 200 reduces the right side of the encryption designation area 27 leftward by reducing the X coordinates of both vertices RT and RB on the right side of the frame of the encryption designation area 27 by 1 point, and reduces the right side. The coordinate value for making it calculate is calculated (step S66).

「右辺右指標」ボタン103RRが押された場合は(ステップS59でYES)、制御部200は暗号化指定領域27をその枠の右辺を右方へ移動させて拡大させることが指示されたと判断する。この場合、制御部200は暗号化指定領域27の枠の右側の両頂点RT及びRBのX座標を1ポイント増加させることにより、暗号化指定領域27の右辺を右方向へ移動させて右側へ拡大させるための座標値を計算する(ステップS67)。   If the “right side right index” button 103RR is pressed (YES in step S59), the control unit 200 determines that an instruction to enlarge the encryption designation area 27 by moving the right side of the frame to the right is instructed. . In this case, the control unit 200 increases the X coordinates of both vertices RT and RB on the right side of the frame of the encryption designation area 27 by 1 point, thereby moving the right side of the encryption designation area 27 to the right and expanding the right side. The coordinate value for making it calculate is calculated (step S67).

以上のような暗号化指定領域27の枠のX座標値及びY座標値の計算後、制御部200はステップS33へ処理を戻すことによって、プレビュー画面26に拡大・縮小後の暗号化指定領域27の枠を再度表示する(ステップS33)。   After the calculation of the X coordinate value and the Y coordinate value of the frame of the encryption designation area 27 as described above, the control unit 200 returns the process to step S33, whereby the encryption designation area 27 after enlargement / reduction is displayed on the preview screen 26. The frame is again displayed (step S33).

「上辺上指標」ボタン103UU,「上辺下指標」ボタン103UD,「下辺上指標」ボタン103DU,「下辺下指標」ボタン103DD,「左辺左指標」ボタン103LL,「左辺右指標」ボタン103LR,「右辺左指標」ボタン103RL,「右辺右指標」ボタン103RRのいずれも押されなかった場合は(ステップS52,S53,S54,S55,S56,S57,S58,S59でいずれもNO)、制御部200は「追加」ボタン104,「次へ」ボタン106,「取消」ボタン105,「枠移動モード」ボタン101のいずれかが押されたか否かを判断する(ステップS43,S44,S45、S46)。   “Upper upper index” button 103UU, “Upper lower index” button 103UD, “Lower upper index” button 103DU, “Lower lower index” button 103DD, “Left side left index” button 103LL, “Left side right index” button 103LR, “Right side” When neither the “left index” button 103RL nor the “right-side right index” button 103RR is pressed (NO in steps S52, S53, S54, S55, S56, S57, S58, and S59), the control unit 200 displays “ It is determined whether any of the “add” button 104, the “next” button 106, the “cancel” button 105, or the “frame movement mode” button 101 has been pressed (steps S43, S44, S45, S46).

この「枠移動モード」フラグ254が「オフ」の場合においても、「枠移動モード」ボタン101,「追加」ボタン104,「取消」ボタン105,「次へ」ボタン106のいずれかが押されたか否かの判断とそれに対応する処理とは前述した「枠移動モード」フラグ254が「オン」の場合と同様であるので、その説明は省略する。いずれにしろ、「次へ」ボタン106又は「取消」ボタン105が押されることにより(ステップS44又はS45でYES)、制御部200はこの暗号化領域指定処理を終了して暗号化処理のメインルーチンへ処理をリターンさせる。   Even when the “frame movement mode” flag 254 is “off”, has any of the “frame movement mode” button 101, the “add” button 104, the “cancel” button 105, or the “next” button 106 been pressed? The determination of whether or not and the processing corresponding thereto are the same as those in the case where the “frame movement mode” flag 254 is “ON”, and the description thereof will be omitted. In any case, when the “next” button 106 or the “cancel” button 105 is pressed (YES in step S44 or S45), the control unit 200 ends the encryption area specifying process and performs the main routine of the encryption process. Return processing to.

以上のような暗号化領域指定処理のサブルーチンから図5の暗号化処理のメインルーチンへリターンした場合には、制御部200は「中断」フラグ252の設定を確認する(ステップS13)。「中断」フラグ252が「オン」である場合、即ちユーザが暗号化処理を中断した場合は(ステップS13でYES)、制御部200は一時記憶部242のワーキングエリア259をクリアし、指定読取回数記憶部256に指定読取回数値として「2」を設定し、指定用紙方向記憶部255の記憶内容をクリアし(ステップS22)、暗号化処理を終了する。「中断」フラグ252が「オフ」である場合は(ステップS13でNO)、制御部200は次に復号化処理時に何回その暗号化原稿6を読み取る必要があるのかを指定する処理(読取回数指定処理)を行なう(ステップS14)。この読取回数指定処理は図11のフローチャートにサブルーチンとして示されている。   When returning from the encryption area specifying process subroutine as described above to the encryption process main routine of FIG. 5, the control unit 200 confirms the setting of the “suspend” flag 252 (step S13). When the “interrupt” flag 252 is “ON”, that is, when the user interrupts the encryption process (YES in step S13), the control unit 200 clears the working area 259 of the temporary storage unit 242, and designates the specified number of reading times. “2” is set as the designated reading count value in the storage unit 256, the stored content of the designated sheet direction storage unit 255 is cleared (step S22), and the encryption process is terminated. If the “interrupt” flag 252 is “off” (NO in step S13), the control unit 200 designates how many times the encrypted original 6 needs to be read at the time of the decryption process (read count) (Designation process) is performed (step S14). This reading number designation process is shown as a subroutine in the flowchart of FIG.

以下、図11のフローチャートを参照して読取回数指定処理について説明する。まず制御部200は「中断」フラグ252及び「戻る」フラグ253の設定をそれぞれ「オフ」にする(ステップS71及びS72)。なお、「戻る」フラグ253とは、制御部200がその時点で実行中の処理(この場合は読取回数指定処理)を中断し、一つ前の処理(この場合は暗号化領域指定処理)に戻る場合に「オン」に設定しておくフラグである。「戻る」フラグ253は、後述する用紙方向指定処理でも使用される。   Hereinafter, the reading number designation process will be described with reference to the flowchart of FIG. First, the control unit 200 sets the “interrupt” flag 252 and the “return” flag 253 to “off”, respectively (steps S71 and S72). Note that the “return” flag 253 interrupts the process (in this case, the number of readings designation process) that the control unit 200 is currently executing, and returns to the previous process (in this case, the encryption area designation process). This flag is set to “ON” when returning. The “return” flag 253 is also used in a paper direction designation process described later.

次に制御部200はカウント値記憶部258に指定読取回数記憶部256が記憶している指定読取回数値を設定する(ステップS73)。ここで、指定読取回数記憶部256が記憶している指定読取回数値をカウント値記憶部258に設定する理由は、後述する用紙方向指定処理(ステップS17)から「戻る」ボタンで暗号化処理のメインルーチンへリターンした場合に、前回に設定されていた指定読取回数値から修正するためである。   Next, the control unit 200 sets the designated reading number value stored in the designated reading number storage unit 256 in the count value storage unit 258 (step S73). Here, the reason why the designated reading number value stored in the designated reading number storage unit 256 is set in the count value storage unit 258 is that the encryption process is performed with the “Return” button from the paper direction designation process (step S17) described later. This is because, when returning to the main routine, correction is made from the designated reading count value set previously.

次に制御部200は、表示部221に図12にその模式図を示すような読取回数指定画面22を表示する(ステップS74)。この読取回数指定画面22には、その時点で指定されている読取回数を示す指定読取回数表示部29,「上指標」ボタン107U,「下指標」ボタン107D,「取消」ボタン105,「次へ」ボタン106,「戻る」ボタン108が表示される。このような読取回数指定画面22が表示されると、制御部200は、「上指標」ボタン107U,「下指標」ボタン107Dのいずれかが押されたか否かを判断する(ステップS75,S76)。   Next, the control unit 200 displays the reading number designation screen 22 as shown in the schematic diagram of FIG. 12 on the display unit 221 (step S74). The reading number designation screen 22 includes a designated reading number display section 29 indicating the number of readings designated at that time, an “upper index” button 107U, a “lower index” button 107D, a “cancel” button 105, and “next”. "Button 106 and" return "button 108 are displayed. When such a reading count designation screen 22 is displayed, the control unit 200 determines whether one of the “upper index” button 107U and the “lower index” button 107D is pressed (steps S75 and S76). .

「上指標」ボタン107Uが押された場合は(ステップS75でYES)、制御部200はカウント値記憶部258が記憶しているカウント値を「1」インクリメントする(ステップS77)。「下指標」ボタン107Dが押された場合は(ステップS76でYES)、制御部200はカウント値記憶部258が記憶しているカウント値を「1」デクリメントする(ステップS78)。いずれの場合も制御部200はステップS75へ処理を戻すので、上述のようにして増減されたカウント値は読取回数指定画面22に表示されることになる。なお、カウント値記憶部258が記憶するカウント値の上限値、下限値に対するリミット処理は公知であるのでその説明では省略する。   When the “upper index” button 107U is pressed (YES in step S75), the control unit 200 increments the count value stored in the count value storage unit 258 by “1” (step S77). When the “lower index” button 107D is pressed (YES in step S76), the control unit 200 decrements the count value stored in the count value storage unit 258 by “1” (step S78). In either case, the control unit 200 returns the process to step S75, and the count value increased or decreased as described above is displayed on the reading count designation screen 22. The limit processing for the upper limit value and the lower limit value of the count value stored in the count value storage unit 258 is well known and will not be described in the description.

ところで、指定読取回数記憶部256にはこの場合、指定読取回数値の初期値として「2」が設定されているので、読取回数指定画面22が最初に表示された時点では指定読取回数表示部29には「2」が表示されることになる。しかし、上述のような操作により、指定読取回数値を初期値である「2」からユーザは任意に増減させることができる。   Incidentally, in this case, “2” is set as the initial value of the designated reading number value in the designated reading number storage unit 256. Therefore, when the reading number designation screen 22 is first displayed, the designated reading number display unit 29 is displayed. “2” is displayed in the box. However, the user can arbitrarily increase or decrease the designated reading count value from the initial value “2” by the operation as described above.

「次へ」ボタン106が押された場合は(ステップS75,S76で共にNO,ステップS79でYES)、ユーザが読取回数の指定を終了した場合であるので、制御部200はカウント値記憶部258がその時点で記憶しているカウント値を指定読取回数記憶部256に指定読取回数値として記憶させ(ステップS80)、読取回数指定処理を終了して暗号化処理のメインルーチンへリターンする。これにより、指定読取回数記憶部256には、その時点で処理対象にされている原稿が暗号化原稿6として復号化される際の読取回数の指定値(指定読取回数値)が記憶される。   When the “next” button 106 is pressed (both NO in steps S75 and S76, YES in step S79), the control unit 200 counts the count value storage unit 258 because the user has finished specifying the number of readings. However, the count value stored at that time is stored in the designated reading number storage unit 256 as the designated reading number value (step S80), the reading number designation process is terminated, and the process returns to the main routine of the encryption process. As a result, the designated reading number storage unit 256 stores a designated value (designated reading number value) of the number of readings when the document to be processed at that time is decrypted as the encrypted document 6.

「取消」ボタン105が押された場合は(ステップS79でNO,S81でYES)、制御部200は「中断」フラグ252の設定を「オン」にし(ステップS82)、読取回数指定処理を終了して暗号化処理のメインルーチンへリターンする。「戻る」ボタン108が押された場合は(ステップS81でNO,S83でYES)、制御部200は「戻る」フラグ253の設定を「オン」にし(ステップS84)、読取回数指定処理を終了して暗号化処理のメインルーチンへリターンする。   When the “cancel” button 105 is pressed (NO in step S79, YES in S81), the control unit 200 sets the “interrupt” flag 252 to “on” (step S82), and ends the number-of-reads designation process. Return to the main routine of the encryption process. When the “return” button 108 is pressed (NO in step S81, YES in S83), the control unit 200 sets the “return” flag 253 to “on” (step S84), and ends the number of readings designation process. Return to the main routine of the encryption process.

以上のようにして読取回数指定処理が終了すると、制御部200は図5に示す暗号化処理のメインルーチンへ処理を戻す。読取回数指定処理から暗号化処理のメインルーチンへリターンした場合は、制御部200はまず「中断」フラグ252の設定を確認する(ステップS15)。   When the reading number designation process is completed as described above, the control unit 200 returns the process to the main routine of the encryption process shown in FIG. When returning from the reading number specifying process to the main routine of the encryption process, the control unit 200 first confirms the setting of the “interrupt” flag 252 (step S15).

「中断」フラグ252の設定が「オン」である場合、即ちユーザが暗号化処理を中断した場合は(ステップS15でYES)、制御部200は一時記憶部242のワーキングエリア259をクリアし、指定読取回数記憶部256に指定読取回数値として「2」を設定し、指定用紙方向記憶部255の記憶内容をクリアし(ステップS22)、暗号化処理を終了する。一方、「中断」フラグ252の設定が「オフ」である場合は(ステップS15でNO)、制御部200は次に「戻る」フラグ253の設定を確認する(ステップS16)。「戻る」フラグ253の設定が「オン」である場合、即ちユーザが読取回数指定処理を中断してその前の暗号化領域指定処理をやり直す場合は(ステップS16でYES)、制御部200はステップS12へ処理を戻し、前述した暗号化領域指定処理以降の処理手順を再度実行する。一方、「戻る」フラグ253の設定が「オフ」である場合は(ステップS16でNO)、制御部200は次の用紙方向指定処理を実行する(ステップS17)。なおこの用紙方向指定処理は図13のフローチャートにサブルーチンとして示されている。   When the setting of the “suspend” flag 252 is “on”, that is, when the user interrupts the encryption process (YES in step S15), the control unit 200 clears the working area 259 of the temporary storage unit 242 and designates it. “2” is set as the designated reading number value in the reading number storage unit 256, the stored content of the designated sheet direction storage unit 255 is cleared (step S22), and the encryption process is terminated. On the other hand, when the setting of the “interrupt” flag 252 is “off” (NO in step S15), the control unit 200 confirms the setting of the “return” flag 253 (step S16). When the setting of the “return” flag 253 is “on”, that is, when the user interrupts the reading count designation process and restarts the previous encryption area designation process (YES in step S16), the control unit 200 performs the step The processing is returned to S12, and the processing procedure after the above-described encryption area designation processing is executed again. On the other hand, when the setting of the “return” flag 253 is “off” (NO in step S16), the control unit 200 executes the next paper direction designation process (step S17). This paper direction designation process is shown as a subroutine in the flowchart of FIG.

以下、図13のフローチャートを参照して用紙方向指定処理について説明する。制御部200はまず、「中断」フラグ252及び「戻る」フラグ253の設定を共に「オフ」にし、更にカウント値記憶部258が記憶しているカウント値を「1」に設定する(ステップS101,S102,S103)。そして、制御部200は図14(a) 〜図14(c) の模式図に示すように、表示部221に用紙方向指定画面23を表示する(ステップS104)。   Hereinafter, the paper direction designation process will be described with reference to the flowchart of FIG. First, the control unit 200 sets both the “interrupt” flag 252 and the “return” flag 253 to “off”, and further sets the count value stored in the count value storage unit 258 to “1” (step S101, S102, S103). Then, as shown in the schematic diagrams of FIGS. 14A to 14C, the control unit 200 displays the paper direction designation screen 23 on the display unit 221 (step S104).

図14(a) 〜図14(c) は用紙方向指定画面23の表示状態の遷移を示す模式図であり、図14(a) はステップS104において表示される初期画面を示している。用紙方向指定画面23の上部寄りの部分には方向順序表示画面30が表示され、同下部寄りの部分には「上指標」ボタン111U,「下指標」ボタン111D,「左指標」ボタン111L,「右指標」ボタン111R,「取消」ボタン105,「戻る」ボタン108が表示される。なお、図14(a) に示す用紙方向指定画面23の初期画面では、3回の内の1回目であること、具体的には、先の読取回数指定処理において読取回数が「3回」に指定された場合の1回目の読取時の原稿(用紙)の読取方向の指定を行なうための画面であることが表示されている。   FIG. 14A to FIG. 14C are schematic diagrams showing transition of the display state of the paper direction designation screen 23, and FIG. 14A shows the initial screen displayed in step S104. A direction order display screen 30 is displayed near the upper portion of the paper direction designation screen 23, and an “upper index” button 111U, a “lower index” button 111D, a “left index” button 111L, and “ A “right index” button 111R, a “cancel” button 105, and a “return” button 108 are displayed. Note that the initial screen of the paper direction designation screen 23 shown in FIG. 14A is the first of the three times. Specifically, the number of readings is set to “3 times” in the previous reading number specifying process. It is displayed that this is a screen for designating the reading direction of the document (paper) at the time of the first reading when designated.

また、図15(a) 〜図15(d) は方向順序表示画面30に表示される各指標マークを示す模式図である。図15(a) に示されている上指標マーク31Uは、ユーザが原稿(用紙)の上端部を読取部212の原稿台にユーザから見て上側(奥側)に位置させて載置することを指定するために「上指標」ボタン111Uを押した場合に方向順序表示画面30に表示される。図15(b) に示されている下指標マーク31Dは、ユーザが原稿(用紙)の上端部を読取部212の原稿台にユーザから見て下側(手前側)に位置させて載置することを指定するために「下指標」ボタン111Dを押した場合に方向順序表示画面30に表示される。図15(c) に示されている左指標マーク31Lは、ユーザが原稿(用紙)の上端部を読取部212の原稿台にユーザから見て左側に位置させて載置することを指定するために「左指標」ボタン111Lを押した場合に方向順序表示画面30に表示される。
図15(d) に示されている右指標マーク31Rは、ユーザが原稿(用紙)の上端部を読取部212の原稿台にユーザから見て右側に位置させて載置することを指定するために「右指標」ボタン111Rを押した場合に方向順序表示画面30に表示される。但し、いずれの場合も、原稿 (用紙)はユーザから見た状態では裏返しで読取部212の原稿台に載置される。
15 (a) to 15 (d) are schematic diagrams showing index marks displayed on the direction order display screen 30. FIG. The upper index mark 31U shown in FIG. 15A is placed by the user with the upper end of the document (paper) positioned on the document table of the reading unit 212 on the upper side (back side) as viewed from the user. Is displayed on the direction order display screen 30 when the “upper index” button 111U is pressed to designate the button. The lower index mark 31D shown in FIG. 15B is placed by the user with the upper end of the document (paper) positioned on the document table of the reading unit 212 on the lower side (front side) as viewed from the user. This is displayed on the direction order display screen 30 when the “lower index” button 111D is pressed to designate this. The left index mark 31L shown in FIG. 15C indicates that the user places the upper end of the document (paper) on the document table of the reading unit 212 on the left side when viewed from the user. Is displayed on the direction order display screen 30 when the “left index” button 111L is pressed.
The right index mark 31R shown in FIG. 15D indicates that the user places the upper end of the document (paper) on the document table of the reading unit 212 on the right side when viewed from the user. Is displayed on the direction order display screen 30 when the “right index” button 111R is pressed. In either case, however, the document (paper) is placed on the document table of the reading unit 212 upside down when viewed from the user.

制御部200はまずこれらの「上指標」ボタン111U,「下指標」ボタン111D,「左指標」ボタン111L,「右指標」ボタン111Rのいずれかが押されたか否かを判断する(ステップS105,S106,S107,S108)。   First, the control unit 200 determines whether any one of the “upper index” button 111U, the “lower index” button 111D, the “left index” button 111L, and the “right index” button 111R is pressed (step S105, S106, S107, S108).

「上指標」ボタン111Uが押された場合は(ステップS105でYES)、制御部200は原稿の上端部を上向き(奥)に載置することが指定されたと判断する。この場合、制御部200は図15(a) に示す上指標マーク31Uを方向順序表示画面30に表示し(ステップS109)、指定用紙方向記憶部255に「上方向」の情報を記憶させる(ステップS110)。   When the “upper index” button 111U is pressed (YES in step S105), the control unit 200 determines that it is designated to place the upper end portion of the document upward (backward). In this case, the control unit 200 displays the upper index mark 31U shown in FIG. 15A on the direction order display screen 30 (step S109), and stores “upward” information in the designated sheet direction storage unit 255 (step S109). S110).

「下指標」ボタン111Dが押された場合は(ステップS106でYES)、制御部200は原稿の上端部を下向き(手前)に載置することが指定されたと判断する。この場合、制御部200は図15(b) に示す下指標マーク31Dを方向順序表示画面30に表示し(ステップS111)、指定用紙方向記憶部255に「下方向」の情報を記憶させる(ステップS112)。   When the “down index” button 111D is pressed (YES in step S106), the control unit 200 determines that it is designated to place the upper end portion of the document downward (frontward). In this case, the control unit 200 displays the lower index mark 31D shown in FIG. 15B on the direction order display screen 30 (step S111), and stores “downward” information in the designated sheet direction storage unit 255 (step S111). S112).

「左指標」ボタン111Lが押された場合は(ステップS107でYES)、制御部200は原稿の上端部を左向きに載置することが指定されたと判断する。この場合、制御部200は図15(c) に示す左指標マーク31Lを方向順序表示画面30に表示し、(ステップS113)、指定用紙方向記憶部255に「左方向」の情報を記憶させる(ステップS114)。   When the “left index” button 111L is pressed (YES in step S107), the control unit 200 determines that it is designated to place the upper end portion of the document in the left direction. In this case, the control unit 200 displays the left index mark 31L shown in FIG. 15C on the direction order display screen 30 (step S113), and stores the “left direction” information in the designated sheet direction storage unit 255 (step S113). Step S114).

「右指標」ボタン111Rが押された場合は(ステップS108でYES)、制御部200は原稿の上端部を右向きに載置することが指定されたと判断する。この場合、制御部200は図15(d) に示す右指標マーク31Rを方向順序表示画面30に表示し(ステップS115)、指定用紙方向記憶部255に「右方向」の情報を記憶させる(ステップS116)。なお、図14(b) には、1回目の読取時の読取方向として「右方向」が指定された状態が例示されている。また、図14(b) に示す用紙方向指定画面23では、次が2回目の読取時の読取方向の指定であること、具体的には、先の読取回数指定処理において指定された「3回」の読取回数の内の1回目の読取時の原稿(用紙)の読取方向の指定が完了してこれから2回目の読取時の原稿(用紙)の読取方向の指定を行なうための画面であることが表示されている。   When the “right index” button 111R is pressed (YES in step S108), the control unit 200 determines that it is designated to place the upper end portion of the document in the right direction. In this case, the control unit 200 displays the right index mark 31R shown in FIG. 15D on the direction order display screen 30 (step S115), and stores “right direction” information in the designated sheet direction storage unit 255 (step S115). S116). FIG. 14B illustrates a state in which “right direction” is designated as the reading direction at the time of the first reading. In the paper direction designation screen 23 shown in FIG. 14B, the next is the designation of the reading direction at the time of the second reading, specifically, “3 times” specified in the previous reading number specifying process. The screen for specifying the reading direction of the original (paper) at the time of the second reading after the specification of the reading direction of the original (paper) at the time of the second reading is completed. Is displayed.

上述のように「上指標」ボタン111U,「下指標」ボタン111D,「左指標」ボタン111L,「右指標」ボタン111Rのいずれかが押された場合は、制御部200はカウント値記憶部258が記憶しているカウント値を「1」インクリメントする(ステップS117)。そして、制御部200はカウント値記憶部258が記憶しているインクリメントした後のカウント値を図14(a) 〜図14(c) に示されているように「n回目」の「n」として表示する。   As described above, when any one of the “upper index” button 111U, the “lower index” button 111D, the “left index” button 111L, and the “right index” button 111R is pressed, the control unit 200 counts the count value storage unit 258. Is incremented by "1" (step S117). Then, the control unit 200 sets the incremented count value stored in the count value storage unit 258 as “n” of “n-th” as shown in FIGS. 14 (a) to 14 (c). indicate.

また、制御部200は、カウント値記憶部258が記憶しているインクリメントした後のカウント値と指定読取回数記憶部256が記憶している指定読取回数値とを比較し(ステップS118)、カウント値記憶部258が記憶しているカウント値が指定読取回数記憶部256が記憶している指定読取回数値(この例では「3」)を超えている場合、即ち読取回数指定処理において指定された指定読取回数分の用紙方向指定が完了している場合は(ステップS118でYES)、用紙方向指定処理を終了して暗号化処理のメインルーチンへリターンする。一方、カウント値記憶部258が記憶しているインクリメント後のカウント値が指定読取回数記憶部256が記憶している指定読取回数値以下である場合、即ち読取回数指定処理において指定された指定読取回数分の用紙方向指定が完了していない場合は(ステップS118でNO)、制御部200はステップS105へ処理を戻し、再度、いずれかのボタンが押されたか否かを判断する前述の処理を反復する。   In addition, the control unit 200 compares the incremented count value stored in the count value storage unit 258 with the designated reading number value stored in the designated reading number storage unit 256 (step S118), and the count value. When the count value stored in the storage unit 258 exceeds the specified reading number value (in this example, “3”) stored in the specified reading number storage unit 256, that is, the specification specified in the reading number specifying process If the paper direction designation for the number of readings has been completed (YES in step S118), the paper direction designation process is terminated and the process returns to the main routine of the encryption process. On the other hand, when the incremented count value stored in the count value storage unit 258 is less than or equal to the specified reading number value stored in the specified reading number storage unit 256, that is, the specified reading number specified in the reading number specifying process. If the paper direction designation for the minute has not been completed (NO in step S118), the control unit 200 returns the process to step S105, and repeats the above-described process of determining whether any button has been pressed again. To do.

「上指標」ボタン111U,「下指標」ボタン111D,「左指標」ボタン111L,「右指標」ボタン111Rのいずれも押されない場合(ステップS105,S106,S107,S108でいずれもNO)、制御部200は「戻る」ボタン108,「取消」ボタン105のいずれかが押されたか否かを判断する(ステップS119,S120)。   When none of “upper index” button 111U, “lower index” button 111D, “left index” button 111L, and “right index” button 111R is pressed (NO in steps S105, S106, S107, and S108), the control unit 200 determines whether any of the “return” button 108 or the “cancel” button 105 has been pressed (steps S119 and S120).

「戻る」ボタン108が押された場合は(ステップS119でYES)、制御部200は「戻る」フラグ253の設定を「オン」にし(ステップS121)、この用紙方向指定処理を終了して暗号化処理のメインルーチンへリターンする。「取消」ボタン105が押された場合は(ステップS120でYES)、制御部200は「中断」フラグ252の設定を「オン」にし(ステップS122)、用紙方向指定処理を終了して暗号化処理のメインルーチンへリターンする。   When the “return” button 108 is pressed (YES in step S119), the control unit 200 sets the “return” flag 253 to “on” (step S121), ends the paper direction designation processing, and performs encryption. Return to the main routine of processing. When the “cancel” button 105 is pressed (YES in step S120), the control unit 200 sets the “suspend” flag 252 to “on” (step S122), ends the paper direction designation processing, and performs the encryption processing. Return to the main routine.

なお、図14(c) に示す用紙方向指定画面23においては上述のような用紙方向指定処理の結果、方向順序表示画面30には、右指標マーク31R、下指標マーク31D、上指標マーク31Uの順に3個の指標マークが表示された状態が示されている。即ち、この図14(c) に示す方向順序表示画面30は、ユーザが原稿(用紙)を1回目は右向きに、2回目は下向きに、3回目は上向きに読み取らせることを指定したことを表示している。また、図14(c) には3回の指定読取回数に対して「4回目」が表示されている。従ってこの場合にはステップS118での判断結果が「YES」になるので、暗号化処理のメインルーチンへ自動的に処理が戻されることになる。   In the paper direction designation screen 23 shown in FIG. 14 (c), as a result of the paper direction designation processing as described above, the direction indicator display screen 30 includes the right index mark 31R, the lower index mark 31D, and the upper index mark 31U. A state in which three index marks are displayed in order is shown. That is, the direction order display screen 30 shown in FIG. 14 (c) displays that the user has specified that the original (paper) is to be read rightward for the first time, downward for the second time, and upward for the third time. is doing. In FIG. 14C, “fourth” is displayed for the three designated reading times. Therefore, in this case, the determination result in step S118 is “YES”, and the process is automatically returned to the main routine of the encryption process.

以上のようにして図13のフローチャートに示す用紙方向指定処理のサブルーチンから図5のフローチャートに示す暗号化処理のメインルーチンへリターンすると、制御部200はまず「中断」フラグ252の設定を確認する(ステップS18)。「中断」フラグ252の設定が「オン」である場合、即ちユーザが暗号化処理を中止した場合は(ステップS18でYES)、制御部200は一時記憶部242のワーキングエリア259をクリアし、指定読取回数記憶部256に指定読取回数値として「2」を設定し、指定用紙方向記憶部255の記憶内容をクリアし(ステップS22)、暗号化処理を終了する。しかし、「中断」フラグ252が「オフ」である場合は(ステップS18でNO)、制御部200は次に「戻る」フラグ253の設定を確認する(ステップS19)。   When the process returns from the paper orientation designation subroutine shown in the flowchart of FIG. 13 to the main routine of the encryption process shown in the flowchart of FIG. 5, the control unit 200 first confirms the setting of the “interrupt” flag 252 ( Step S18). When the setting of the “suspend” flag 252 is “on”, that is, when the user stops the encryption process (YES in step S18), the control unit 200 clears the working area 259 of the temporary storage unit 242 and specifies “2” is set as the designated reading number value in the reading number storage unit 256, the stored content of the designated sheet direction storage unit 255 is cleared (step S22), and the encryption process is terminated. However, when the “interrupt” flag 252 is “off” (NO in step S18), the control unit 200 next confirms the setting of the “return” flag 253 (step S19).

「戻る」フラグ253が「オン」である場合、即ちユーザが用紙方向指定処理を中断してその前の読取回数指定処理をやり直す場合は(ステップS19でYES)、制御部200はステップS14へ処理を戻して前述した読取回数指定処理以降の処理手順を再度実行する。これにより、ユーザは読取回数の指定から操作をやり直すことが可能になる。一方、「戻る」フラグ253が「オフ」である場合は(ステップS19でNO)、制御部200はステップS20へ処理を進めて以下のような画像データの暗号化処理を実行する。   When the “return” flag 253 is “ON”, that is, when the user interrupts the paper direction designation process and restarts the previous reading count designation process (YES in step S19), the control unit 200 proceeds to step S14. , And the processing procedure after the above-described reading number designation processing is executed again. As a result, the user can redo the operation from the designation of the number of readings. On the other hand, when the “return” flag 253 is “off” (NO in step S19), the control unit 200 advances the processing to step S20 and executes the following image data encryption processing.

制御部200は、画像データ記憶部251に記憶されている処理対象のページ単位の画像データの内の暗号化領域指定処理において指定された暗号化指定領域16(17)の画像データを暗号化処理部201へ送って所定の暗号鍵を使用しての従来公知の暗号化方式で暗号化させる。また制御部200は、指定読取回数記憶部256及び指定用紙方向記憶部255が記憶している情報(指定読取回数値,指定用紙方向情報)、更には上記の暗号鍵に対応する復号鍵を埋め込んだ領域マーカ11,12,13の画像データを画像処理部204に生成させる。そして制御部200は、暗号化処理部201が暗号化した暗号化指定領域16(17)の画像データ(暗号化されたたとえばスクランブル画像等のような画像データ)の四隅部の内の所定の隅部(本実施の形態では右下隅部を除く三隅部)に、画像処理部204が生成した領域マーカ11,12,13の画像データを合成させる。このようにして領域マーカ11,12,13の画像データが合成された暗号化画像データは画像データ記憶部251に記憶されている処理対象のページ単位の画像データの暗号化指定領域16(17)に貼り付けられる。この結果、暗号化指定領域16(17)は暗号化領域14(15)になる。   The control unit 200 encrypts the image data in the encryption designation area 16 (17) designated in the encryption area designation process among the page-unit image data to be processed stored in the image data storage unit 251. The data is sent to the unit 201 and encrypted by a conventionally known encryption method using a predetermined encryption key. Further, the control unit 200 embeds information stored in the designated reading number storage unit 256 and the designated sheet direction storage unit 255 (designated reading number value and designated sheet direction information), and a decryption key corresponding to the above encryption key. The image processing unit 204 generates image data of the area markers 11, 12, and 13. Then, the control unit 200 determines a predetermined corner among the four corners of the image data (encrypted image data such as a scrambled image) of the encryption designation area 16 (17) encrypted by the encryption processing unit 201. The image data of the area markers 11, 12, and 13 generated by the image processing unit 204 is combined with the unit (three corners excluding the lower right corner in the present embodiment). The encrypted image data obtained by synthesizing the image data of the area markers 11, 12, and 13 in this way is the encryption designation area 16 (17) of the page-unit image data to be processed stored in the image data storage unit 251. Is pasted. As a result, the encryption designation area 16 (17) becomes the encryption area 14 (15).

以下、領域マーカについて具体的に説明する。図4(c) に示すように、暗号化領域14(15)の四隅部の内の三隅部には、領域マーカ11(左上),12(右上),13(左下)の画像が合成される。これらの領域マーカ11,12,13は暗号化領域14(15)の範囲を示すのみならず、各領域マーカ11,12,13の画像内には読取回数指定処理において指定された復号化処理時の読取回数の値(指定読取回数値)、用紙方向指定処理において指定された復号化処理時の暗号化原稿6の各読取時の読取方向を示す情報(指定用紙方向情報)、更には復号化処理に使用するための復号鍵が人の目では判読不可能な状態で埋め込まれている。   Hereinafter, the area marker will be specifically described. As shown in FIG. 4 (c), images of region markers 11 (upper left), 12 (upper right), and 13 (lower left) are synthesized at three corners of the four corners of the encrypted region 14 (15). . These area markers 11, 12, and 13 not only indicate the range of the encrypted area 14 (15), but also in the image of each area marker 11, 12, and 13 at the time of the decryption process specified in the read count designation process. Read count value (designated read count value), information (designated paper direction information) indicating the reading direction at the time of each reading of the encrypted document 6 at the time of decryption processing designated in the paper direction designation processing, and further decryption A decryption key for use in processing is embedded in an unreadable state by human eyes.

以上のようにして暗号化された暗号化原稿6の画像データ(暗号化画像データ7)を制御部200は画像データ記憶部251から読み出して印刷部222に与えることにより、適宜の用紙に印刷させることができる(ステップS21)。一方、PC3では、図3に示すように、種々のアプリケーションプログラムにより生成された文書データのページ単位の画像データが暗号化処理部301により上述の複合機2の場合と同様に暗号化され、ページデータ生成部305によりページ単位で暗号化された暗号化画像データ7に変換される。この暗号化画像データ7は、たとえばネットワークNEを通じて複合機2、一般のプリンタ4へ送信され(ステップS21)、適宜の用紙に暗号化原稿6として印刷される。また、PC3で生成された暗号化画像データ7は、PC3の表示部321は勿論のこと、複合機2の表示部221に画像として表示可能であり、また一般の端末装置1の表示装置にも画像として表示可能である。   The control unit 200 reads out the image data (encrypted image data 7) of the encrypted document 6 encrypted as described above from the image data storage unit 251 and gives it to the printing unit 222, thereby printing it on an appropriate sheet. (Step S21). On the other hand, in the PC 3, as shown in FIG. 3, the page-unit image data of the document data generated by various application programs is encrypted by the encryption processing unit 301 in the same manner as in the above-described MFP 2, and the page The data generation unit 305 converts the encrypted image data 7 to be encrypted in page units. The encrypted image data 7 is transmitted to the multifunction device 2 and the general printer 4 through the network NE, for example (step S21), and printed as an encrypted document 6 on an appropriate sheet. The encrypted image data 7 generated by the PC 3 can be displayed as an image on the display unit 221 of the multifunction machine 2 as well as the display unit 321 of the PC 3, and also on the display device of the general terminal device 1. It can be displayed as an image.

次に、以上のようにして印刷された暗号化原稿6の復号化処理について説明する。なお、暗号化原稿6の復号化処理は複合機2においてのみ可能であり、PC3においては実行できない。但し、PC3において作成された暗号化原稿6であっても複合機2に読み取らせることにより、復号化処理することは可能である。   Next, the decryption process of the encrypted document 6 printed as described above will be described. Note that the decryption process of the encrypted document 6 can be performed only in the multifunction machine 2 and cannot be performed in the PC 3. However, even the encrypted document 6 created in the PC 3 can be decrypted by causing the MFP 2 to read it.

複合機2が暗号化原稿6を復号化処理する場合には、暗号化原稿6の読取回数と、各読取時の暗号化原稿6の読取方向、具体的には読取部212の図示しない原稿台212Pに暗号化原稿6を載置する際の方向が重要な、換言すればユーザを認証するためのキーとなる。図16は暗号化原稿6を読取部212の原稿台212Pに載置する際の用紙方向の定義を説明するための模式図である。   When the MFP 2 decrypts the encrypted document 6, the number of times the encrypted document 6 is read, the reading direction of the encrypted document 6 at each reading, specifically, the document table (not shown) of the reading unit 212. The direction in which the encrypted document 6 is placed on 212P is important, in other words, it is a key for authenticating the user. FIG. 16 is a schematic diagram for explaining the definition of the paper direction when the encrypted document 6 is placed on the document table 212P of the reading unit 212.

一般的にスキャナ等に原稿を読み取らせる際は画像が形成されている面(以下、この面を表面、逆側の面を裏面という)を原稿台212P側へ向けて原稿を載置するので、ユーザには原稿の裏面が見える状態になる。従って、図16(a) 〜図16(d) では原稿を裏面から見た場合に表面に形成されている画像を透視した状態を示している。原稿台212Pへの原稿の置き方には、図16(a) に示すように、原稿(暗号化原稿6)の上端部を原稿台212Pにユーザから見て上側(奥側)に位置させて載置する方法、図16(b) に示すように、原稿(暗号化原稿6)の上端部を原稿台212Pにユーザから見て下側(手前側)に位置させて載置する方法、図16(c) に示すように、原稿(暗号化原稿6)の上端部を原稿台212Pにユーザから見て左側に位置させて載置する方法、図16(d) に示すように、原稿(暗号化原稿6)の上端部を原稿台212Pにユーザから見て右側に位置させて載置する方法(以下、順に上下左右という)の4通りがある。なお、図16(a), (b), (c), (d)に示されているそれぞれの状態の原稿を以下においては上向き原稿6U、下向き原稿6D、左向き原稿6L、右向き原稿6Rとする。   Generally, when a scanner or the like reads a document, the document is placed with the surface on which the image is formed (hereinafter, this surface is referred to as the front surface and the opposite surface is referred to as the back surface) toward the document table 212P. The user can see the back side of the document. Accordingly, FIGS. 16A to 16D show a state in which an image formed on the front surface is seen through when the original is viewed from the back side. As shown in FIG. 16A, the document is placed on the document table 212P by placing the upper end of the document (encrypted document 6) on the document table 212P as viewed from the user side (back side). 16B, a method of placing the document (encrypted document 6) with the upper end portion of the document (encrypted document 6) positioned on the document table 212P on the lower side (front side) as viewed from the user. 16 (c), a method of placing the document (encrypted document 6) with its upper end positioned on the document table 212P on the left side when viewed from the user, and as shown in FIG. 16 (d), the document ( There are four methods of placing the upper end of the encrypted document 6) on the document table 212P on the right side when viewed from the user (hereinafter, referred to as up, down, left, and right). The originals shown in FIGS. 16A, 16B, 16C, and 16D are hereinafter referred to as an upward original 6U, a downward original 6D, a left original 6L, and a right original 6R. .

図17(a) 〜図17(e) 及び図18(f) ,図18(g) は、暗号化原稿6の復号化処理を行なう際に複合機2の表示部221に表示される復号化処理画面24の表示状態の遷移を示す模式図であり、復元に成功した場合の状態を図17(a) 〜図17(e) に、失敗した場合の状態を図17(a) 〜図17(c) 及び図18(f) ,図18(g) に示している。なお、正しい復号化処理の手順としては、図19(a) 〜図19(c) の模式図は、正しい復号化処理の暗号化原稿の読取手順の一例を示す模式図である。以下においては、読取回数が3回で、それぞれの読取時に暗号化原稿6が原稿台212Pに載置される方向が順に右、下、上、即ち1回目の読取時には右向き原稿6Rが、2回目の読取時には下向き原稿6Dが、3回目の読取時には上向き原稿6Uが読み取られるようにすればよい場合を一例として説明する。   17 (a) to 17 (e), FIG. 18 (f), and FIG. 18 (g) show the decryption displayed on the display unit 221 of the multi-function device 2 when the encrypted document 6 is decrypted. FIG. 17 is a schematic diagram showing transition of the display state of the processing screen 24. FIGS. 17 (a) to 17 (e) show the states when the restoration is successful, and FIGS. 17 (a) to 17 (e) show the states when the processing fails. This is shown in FIG. 18 (c), FIG. 18 (f) and FIG. 18 (g). In addition, as a procedure for correct decryption processing, the schematic diagrams in FIGS. 19A to 19C are schematic diagrams illustrating an example of a procedure for reading an encrypted document in correct decryption processing. In the following, the number of times of reading is 3, and the direction in which the encrypted original 6 is placed on the original table 212P at the time of each reading is sequentially right, down, up, that is, the right-side original 6R is the second time at the first reading. An example will be described in which the downward document 6D may be read during the reading and the upward document 6U may be read during the third reading.

図20及び図21は暗号化原稿6の復号化処理のための処理手順を示すフローチャートであり、暗号化原稿6中の暗号化領域14の暗号化されている画像データを復号化処理して元の画像データに復元して印刷することにより、または表示装置(表示部)に表示させることにより、暗号化領域14の内容が人の目で判読可能になるようにする。以下、この図20及び図21に示すフローチャートを参照して、暗号化原稿6の復号化処理について説明する。   20 and 21 are flowcharts showing a processing procedure for the decryption process of the encrypted document 6, and the encrypted image data in the encryption area 14 in the encrypted document 6 is decrypted and the original is processed. The image data is restored and printed, or displayed on a display device (display unit), so that the contents of the encrypted area 14 can be read by human eyes. Hereinafter, the decrypting process of the encrypted document 6 will be described with reference to the flowcharts shown in FIGS.

複合機2において復号化処理を開始する際に、制御部200はまず、カウント値記憶部258が記憶しているカウント値をクリア、即ち「0」にする (ステップS201)。この復号化処理に際しては、カウント値記憶部258が記憶しているカウント値は、暗号化原稿6を実際に何回読み取ったかをカウントするために使用される。従って、復号化処理の開始時点では上記のように「0」がカウント値として設定される必要がある。   When the decoding process is started in the multifunction device 2, the control unit 200 first clears the count value stored in the count value storage unit 258, that is, sets it to “0” (step S201). In this decryption process, the count value stored in the count value storage unit 258 is used to count how many times the encrypted document 6 has been actually read. Therefore, “0” needs to be set as the count value as described above at the start of the decoding process.

次に制御部200は、読取用紙方向記憶部257の記憶内容である指定用紙方向情報をクリアする(ステップS202)。読取用紙方向記憶部257は暗号化原稿6を実際に読み取る都度、原稿6が原稿台212Pに置かれていた方向に関する情報(指定用紙方向情報)を順次的に記憶しておくための記憶領域であるので、復号化処理の初期設定としては何も記憶していない状態にする必要がある。次に制御部200は復号化処理画面24を表示部221に表示する(ステップS203)。なお、ステップS 203においては、図17(a) の模式図に示されている復号化処理画面24の初期画面が表示される。   Next, the control unit 200 clears the designated sheet direction information that is stored in the reading sheet direction storage unit 257 (step S202). The reading sheet direction storage unit 257 is a storage area for sequentially storing information on the direction in which the document 6 is placed on the document table 212P (designated sheet direction information) every time the encrypted document 6 is actually read. Therefore, as an initial setting for the decoding process, nothing needs to be stored. Next, the control unit 200 displays the decryption processing screen 24 on the display unit 221 (step S203). In step S203, the initial screen of the decryption processing screen 24 shown in the schematic diagram of FIG. 17A is displayed.

復号化処理画面24には、図17(a) 〜図17(d) 及び図18(f) に示すように、上部寄りの部分に方向順序表示画面30が表示され、下部寄りの部分に「読取」ボタン109,「取消」ボタン105,「終了」ボタン110が表示される。なお、図17(a) に示す復号化処理画面24の初期画面では、「1回目」の読取処理であること、具体的には、先の読取回数指定処理において指定された「3回」の指定読取回数の内の1回目の読取処理を行なうための画面であることが表示されている。   As shown in FIGS. 17 (a) to 17 (d) and FIG. 18 (f), on the decryption processing screen 24, a direction order display screen 30 is displayed in the upper portion, and “ A “read” button 109, a “cancel” button 105, and an “end” button 110 are displayed. Note that the initial screen of the decryption processing screen 24 shown in FIG. 17A is the “first” reading process, specifically, the “three times” specified in the previous reading number specifying process. It is displayed that this is a screen for performing the first reading process within the designated number of readings.

次に、制御部200は、原稿(暗号化原稿6)がユーザによって原稿台212Pに載置(セット)されたことを確認する(ステップS204)。この確認は、原稿台212Pに備えられている図示しないセンサにより可能である。ところで、暗号化原稿6を原稿台212Pに載置する方向はその暗号化原稿6を作成したユーザ自身(又はその暗号化原稿6を作成したユーザから知らされているユーザ)のみが知っているので、ユーザは暗号化原稿6を1回目の読み取りの際の正しい方向、換言すれば、用紙方向指定処理において1回目の用紙方向としてユーザ自身が指定した方向で原稿台212Pに載置する。   Next, the control unit 200 confirms that the document (encrypted document 6) has been placed (set) on the document table 212P by the user (step S204). This confirmation can be made by a sensor (not shown) provided on the document table 212P. By the way, the direction in which the encrypted document 6 is placed on the document table 212P is known only by the user who created the encrypted document 6 (or the user who is informed by the user who created the encrypted document 6). The user places the encrypted document 6 on the document table 212P in the correct direction for the first reading, in other words, in the direction designated by the user as the first sheet direction in the sheet direction designating process.

原稿台212Pに暗号化原稿6が載置された後、制御部200は「読取」ボタン109,「取消」ボタン105,「終了」ボタン110のいずれかが押されたか否かを判断する(ステップS205,S206,S207)。そして、「読取」ボタン109が押された場合は(ステップS205でYES)、制御部200は原稿台212Pに載置されている暗号化原稿6の画像を読取部212に読み取らせ、ページ単位の画像データを生成させて画像データ記憶部251に記憶させる(ステップS208)。次に制御部200は、上述のようにして画像データ記憶部251に記憶された画像データに含まれる領域マーカ11,12,13の画像データをマーカ認識部202に認識させる(ステップS209)。   After the encrypted document 6 is placed on the document table 212P, the control unit 200 determines whether any one of the “read” button 109, the “cancel” button 105, and the “end” button 110 is pressed (step). S205, S206, S207). When the “read” button 109 is pressed (YES in step S205), the control unit 200 causes the reading unit 212 to read the image of the encrypted document 6 placed on the document table 212P, and causes the page unit to be read. Image data is generated and stored in the image data storage unit 251 (step S208). Next, the control unit 200 causes the marker recognition unit 202 to recognize the image data of the region markers 11, 12, and 13 included in the image data stored in the image data storage unit 251 as described above (step S209).

領域マーカ11,12,13は一つの暗号化領域14(15)の矩形の領域の四隅部の内の所定の三隅部にのみ形成されている。これらの三つの領域マーカ11,12,13の位置をマーカ認識部202がまず最初に認識することにより、暗号化領域14の四隅部の内のいずれの三隅部に領域マーカ11,12,13が形成されているかが判明し、これによって暗号化領域14(15)の向き、即ち読み取った暗号化原稿6の読取方向が判明する。従って、次に制御部200は、必要であれば、暗号化領域14の上部が画像としての上部になるように、画像データ記憶部251に記憶されているページ単位の画像データ全体を一旦読み出して画像処理部204に回転処理させてページ単位の画像データの上部が上側に位置する正しい方向にし(ステップS210)、正しい方向にされた暗号化画像データを画像データ記憶部251に記憶させる(ステップS211)。但し、2回目以降の原稿6の読み取りの際には、方向は異なってはいるが実際は同一の原稿を読み取っているので、画像データを画像データ記憶部251に記憶させる必要も、画像データを回転させる必要もない。   The area markers 11, 12, and 13 are formed only at predetermined three corners of the four corners of the rectangular area of one encryption area 14 (15). When the marker recognition unit 202 first recognizes the positions of these three area markers 11, 12, and 13, the area markers 11, 12, and 13 are located at any of the four corners of the encryption area 14. Whether or not it is formed is determined, and thereby the direction of the encrypted area 14 (15), that is, the reading direction of the read encrypted document 6 is determined. Therefore, next, if necessary, the control unit 200 once reads out the entire page unit image data stored in the image data storage unit 251 so that the upper part of the encryption area 14 becomes the upper part of the image. The image processing unit 204 performs rotation processing so that the upper part of the image data in page units is in the correct direction (step S210), and the encrypted image data in the correct direction is stored in the image data storage unit 251 (step S211). ). However, when the original 6 is read for the second time and thereafter, the same original is read although the direction is different. Therefore, it is necessary to store the image data in the image data storage unit 251 or rotate the image data. There is no need to let them.

また、制御部200は、正しい方向にされた画像データ上の3つの領域マーカ11,12,13の位置から暗号化領域14(15)の大きさ及びページ単位の画像データ(暗号化原稿6)上での位置も判明するので、それらの情報を一時記憶部242のワーキングエリア259に記憶させる(ステップS212)。また、各領域マーカ11,12,13に埋め込まれている情報からは復号化処理に際して必要な種々の情報が読み出されるので、制御部200はそれらの情報を一時記憶部242に記憶させる(ステップS213)。   In addition, the control unit 200 determines the size of the encryption area 14 (15) and the page-unit image data (encrypted document 6) from the positions of the three area markers 11, 12, 13 on the image data in the correct direction. Since the above position is also found, such information is stored in the working area 259 of the temporary storage unit 242 (step S212). Since various information necessary for the decoding process is read from the information embedded in each of the area markers 11, 12, and 13, the control unit 200 stores the information in the temporary storage unit 242 (step S213). ).

このステップS213において一時記憶部242に記憶される情報は以下の通りである。原稿が暗号化された際に指定された指定読取回数値及び指定用紙方向情報がマーカ認識部202により読み出されるので、制御部200はそれぞれを指定読取回数記憶部256及び指定用紙方向記憶部255に記憶させる。更に、暗号化原稿6の暗号化領域14(15)が暗号化された際に使用された暗号鍵に対応する復号鍵がマーカ認識部202により読み出されてワーキングエリア259に記憶される。   The information stored in the temporary storage unit 242 in this step S213 is as follows. Since the designated number-of-reads value and the designated sheet direction information designated when the document is encrypted are read by the marker recognition unit 202, the control unit 200 stores them in the designated number-of-reads storage unit 256 and the designated sheet direction storage unit 255, respectively. Remember me. Further, a decryption key corresponding to the encryption key used when the encryption area 14 (15) of the encrypted document 6 is encrypted is read by the marker recognition unit 202 and stored in the working area 259.

次に制御部200は、先に暗号化領域14の方向を判断した際に得られた画像データの方向、即ち原稿が原稿台212Pに載置されて読取部212により実際に読み取られた際の方向を読取方向情報として読取用紙方向記憶部257に記憶させる(ステップS214)。   Next, the control unit 200 determines the direction of the image data obtained when the direction of the encryption area 14 is first determined, that is, when the document is actually placed on the document table 212P and read by the reading unit 212. The direction is stored in the reading sheet direction storage unit 257 as reading direction information (step S214).

なお、復号鍵は、複合機2側にも、将来のシステム拡張のため、または個別対応等で予備として予め備えられてはいるが、原則としては暗号化原稿6の領域マーカから得た復号鍵が優先して使用される。また、領域マーカ11,12,13の位置関係は、暗号化原稿6を読み取った際の暗号化原稿6の傾きの程度を判断するためにも使用可能である。   Note that the decryption key is provided in advance on the multifunction device 2 side as a spare for future system expansion or individually, but in principle, the decryption key obtained from the area marker of the encrypted document 6 is used. Is used preferentially. The positional relationship between the area markers 11, 12, and 13 can also be used to determine the degree of inclination of the encrypted document 6 when the encrypted document 6 is read.

なお、同一の暗号化原稿6の2回目以降の読み取りに際しては、方向が異なってはいても実際は同一の原稿を読み取っているので、実際の読取方向(読取方向情報)のみを読取回数と対応させて読取用紙方向記憶部257に記憶させるのみでもよい。   In the second and subsequent readings of the same encrypted document 6, since the same document is actually read even if the directions are different, only the actual reading direction (reading direction information) is associated with the number of readings. Thus, it may be stored only in the reading sheet direction storage unit 257.

次に、制御部200は、読み取られた暗号化原稿6がどの方向で原稿台212Pに載置されていたかをユーザに示すために、方向順序表示画面30に図15に示した上指標マーク31U,下指標マーク31D,左指標マーク31L,右指標マーク31Rの内の、読取用紙方向記憶部257に記憶されている読取方向情報に対応するマークで表示する(ステップS215)。   Next, the control unit 200 displays the upper index mark 31U shown in FIG. 15 on the direction order display screen 30 in order to indicate to the user in which direction the read encrypted document 6 is placed on the document table 212P. , The lower index mark 31D, the left index mark 31L, and the right index mark 31R are displayed with marks corresponding to the reading direction information stored in the reading sheet direction storage unit 257 (step S215).

以上のようにして暗号化原稿6の1回目の読み取り及びそれに関連する種々の処理が終了すると、制御部200はカウント値記憶部258が記憶しているカウント値を「1」インクリメントし(ステップS216)、ステップS204へ処理を戻して次回の読取処理を待機する状態になる。この状態では図17(b) に示すように、復号化処理画面24にはこれから「2回目」の読取処理が行なわれることをユーザに示すための表示が行なわれる。この後、暗号化原稿6が原稿台212Pに再度載置されて「読取」ボタン109が押されれば、上述同様の処理が処理が行なわれる。従って、ユーザが同一の暗号化原稿6を向きを変えて原稿台212Pに載置しつつ反復して読取部212に読み取らせれば、復号化処理画面24は図17(b) に示す状態から図17(c) 及び図17(d) に示す状態へ、または図17(c) 及び図18(f) に示すような状態へ遷移する。   When the first reading of the encrypted document 6 and various processes related thereto are completed as described above, the control unit 200 increments the count value stored in the count value storage unit 258 by “1” (step S216). ), The process returns to step S204 to wait for the next reading process. In this state, as shown in FIG. 17 (b), a display is displayed on the decoding processing screen 24 to indicate to the user that the “second” reading process will be performed. Thereafter, when the encrypted document 6 is placed again on the document table 212P and the “read” button 109 is pressed, the same processing as described above is performed. Therefore, if the user repeatedly reads the same encrypted document 6 while placing it on the document table 212P while causing the reading unit 212 to read it repeatedly, the decryption processing screen 24 is displayed from the state shown in FIG. Transition is made to the state shown in FIG. 17 (c) and FIG. 17 (d), or to the state shown in FIG. 17 (c) and FIG. 18 (f).

従って、1回目の読み取りが終了した時点では図17(b) に示すように、右指標マーク31Rのみが表示されるが、2回目以降の読み取りが終了する都度、順次的に図17(c),図17(d) 又は図18(f) に示すように、指標マーク31U,31D,31L,31Rの内のいずれかが方向順序表示画面30に順次的に追加して表示される。ユーザはこのような方向順序表示画面30に順次的に追加して表示される指標マークを視認することにより、自身が覚えている読取回数の指定回数及びそれぞれの読取時の読取方向を確認することができる。   Accordingly, when the first reading is completed, only the right index mark 31R is displayed as shown in FIG. 17 (b), but each time the second and subsequent readings are completed, the sequential reading of FIG. 17 (c) is performed. 17 (d) or 18 (f), any one of the index marks 31U, 31D, 31L, 31R is sequentially added and displayed on the direction order display screen 30. The user can confirm the designated number of times of reading that he / she remembers and the reading direction at the time of reading by visually recognizing the indicator marks which are sequentially added and displayed on the direction order display screen 30. Can do.

ところで、「読取」ボタン109が押されずに「終了」ボタン110が押された場合は(ステップS205,S206でNO、ステップS207でYES)、制御部200は復号化処理に必要な回数の読取が行なわれたか否かを判断する (ステップS217)。具体的には、マーカ領域11,12,13に埋め込まれている情報から先に得られて指定読取回数記憶部256に記憶されている指定読取回数値と実際の読取回数、即ちカウント値記憶部258に記憶されているカウント値とが比較される。   When the “end” button 110 is pressed without pressing the “read” button 109 (NO in steps S205 and S206, YES in step S207), the control unit 200 reads the number of times necessary for the decryption process. It is determined whether or not it has been performed (step S217). Specifically, the designated reading count value obtained from the information embedded in the marker areas 11, 12, and 13 and stored in the designated reading count storage unit 256 and the actual reading count, that is, the count value storage unit The count value stored in 258 is compared.

読取部212が実際に暗号化原稿6を読み取った回数、即ちカウント値記憶部258が記憶しているカウント値が復号化処理に必要な読取回数、即ち指定読取回数記憶部256が記憶している指定読取回数値と一致している場合は(ステップS217でYES)、制御部200は指定用紙方向記憶部255が記憶している指定用紙方向情報(領域マーカに埋め込まれている情報から得られた、用紙方向指定処理において指定された用紙方向の順序)と読取用紙方向記憶部257が記憶している読取方向情報(原稿を複数回実際に読み取った際の用紙方向の順序)とを比較し(ステップS218)、一致するか否かを判断する。この結果、指定用紙方向情報と読取方向情報とが一致している場合は(ステップS218でYES)、制御部200は暗号化原稿6の復号化処理を行なう(ステップS220)。   The number of times the reading unit 212 actually read the encrypted document 6, that is, the count value stored in the count value storage unit 258, is stored in the number of readings necessary for the decryption processing, that is, the designated reading number storage unit 256. If it matches the designated reading count value (YES in step S217), the control unit 200 obtains the designated sheet direction information (obtained from the information embedded in the area marker) stored in the designated sheet direction storage unit 255. The sheet direction specified in the sheet direction specifying process) is compared with the reading direction information stored in the reading sheet direction storage unit 257 (the order of the sheet direction when the document is actually read a plurality of times) ( Step S218), it is determined whether or not they match. As a result, if the designated sheet direction information matches the reading direction information (YES in step S218), the control unit 200 performs the decryption process of the encrypted document 6 (step S220).

復号化処理の手順は具体的には以下の通りである。制御部200は先に領域マーカ11,12,13から得られて一時記憶部242のワーキングエリア259に記憶されている復号鍵を使用して、画像データ記憶部251に記憶されているページ単位の画像データ中の暗号化領域14(15)の暗号化された画像データを復号化処理して元の画像データに復元し、復元した画像データを元の暗号化領域14(15)の部分に貼り付ける。この際、同一の暗号化原稿6に複数の暗号化領域が存在し、それぞれの暗号化領域に対応して異なる復号鍵が必要な場合には、それぞれの暗号化領域内の領域マーカ11,12,13からそれぞれに必要な復号鍵が得られる。従ってそのような場合には、制御部200は必要に応じた復号鍵を使用してそれぞれの暗号化領域の画像データを復号化処理する。   The procedure of the decryption process is specifically as follows. The control unit 200 uses the decryption key previously obtained from the area markers 11, 12, and 13 and stored in the working area 259 of the temporary storage unit 242, for each page stored in the image data storage unit 251. The encrypted image data in the encrypted area 14 (15) in the image data is decrypted to restore the original image data, and the restored image data is pasted on the original encrypted area 14 (15). wear. At this time, if a plurality of encryption areas exist in the same encrypted document 6 and different decryption keys are required corresponding to the respective encryption areas, the area markers 11 and 12 in the respective encryption areas are used. , 13 can obtain the necessary decryption keys. Therefore, in such a case, the control unit 200 decrypts the image data in each encrypted area using a decryption key as necessary.

「終了」ボタン110が押されたにも拘わらずステップS217での読取回数の比較結果が一致しなかった場合は(ステップS217でNO)、暗号化原稿6を作成したユーザ以外の不正なユーザが暗号化原稿6を復号化処理しようとしていると判断される。従ってこのような場合には、制御部200はエラー発生として、復号化処理画面24に図18(g) の模式図に示すようなエラーメッセージ32を表示する(ステップS219)。制御部200はエラーメッセージ32を表示した後、図18(g) に示されている「確認」ボタン112が押されたことを確認した上で、復号化処理を行なわずにこの復号化処理を終了する。   If the comparison result of the number of readings in step S217 does not match even though the “end” button 110 has been pressed (NO in step S217), an unauthorized user other than the user who created the encrypted document 6 has detected. It is determined that the encrypted document 6 is to be decrypted. Therefore, in such a case, the control unit 200 displays an error message 32 as shown in the schematic diagram of FIG. 18 (g) on the decryption processing screen 24 as an error occurrence (step S219). After displaying the error message 32, the control unit 200 confirms that the “confirm” button 112 shown in FIG. 18 (g) has been pressed, and then performs this decoding process without performing the decoding process. finish.

一方、用紙方向の順序が一致しない場合には(ステップS218でNO)、制御部200はやはりエラー発生として、復号化処理画面24に図18(g) の模式図に示すようなエラーメッセージ32を表示する(ステップS219)。制御部200はエラーメッセージ32を表示した後、図18(g) に示されている「確認」ボタン112が押されたことを確認した上で、復号化処理を行なわずにこの復号化処理を終了する。   On the other hand, if the order of the paper directions does not match (NO in step S218), the control unit 200 still generates an error and displays an error message 32 as shown in the schematic diagram of FIG. It is displayed (step S219). After displaying the error message 32, the control unit 200 confirms that the “confirm” button 112 shown in FIG. 18 (g) has been pressed, and then performs this decryption process without performing the decryption process. finish.

読取回数が一致し、用紙方向の順序も一致したとしても(ステップS217及びS218で共にYES)、暗号化領域14(15)が汚損していたり、改竄されていたりして正しく復号化処理できない場合もあり得る(ステップS221でNO)。このような場合には制御部200はやはりエラー発生として、復号化処理画面24に図18(g) の模式図に示すようなエラーメッセージ32を表示する(ステップS219)。制御部200はエラーメッセージ32を表示した後、図18(g) に示されている「確認」ボタン112が押されたことを確認した上で、復号化処理を行なわずにこの復号化処理を終了する。   Even if the number of readings is the same and the order in the paper direction is also the same (both YES in steps S217 and S218), the encryption area 14 (15) is soiled or falsified and cannot be correctly decrypted. There is also a possibility (NO in step S221). In such a case, the control unit 200 also displays an error message 32 as shown in the schematic diagram of FIG. 18 (g) on the decryption processing screen 24 as an error has occurred (step S219). After displaying the error message 32, the control unit 200 confirms that the “confirm” button 112 shown in FIG. 18 (g) has been pressed, and then performs this decryption process without performing the decryption process. finish.

暗号化領域14(15)が正しく復号化処理できた場合には(ステップS221でYES)、復号化後の非暗号化画像データ8を非暗号化原稿5としてを印刷するのか、または非暗号化画像データ8のままで別の端末装置へ転送するのかをユーザに選択させるための「印刷」ボタン113及び「転送」ボタン114、更には「取消」ボタン105を制御部200が復号化処理画面24に図17(e) に示す模式図のように表示する(ステップS222)。   If the encrypted area 14 (15) has been correctly decrypted (YES in step S221), the unencrypted image data 8 after decryption is printed as the unencrypted document 5 or unencrypted. The control unit 200 generates a “print” button 113 and a “transfer” button 114 and further a “cancel” button 105 for allowing the user to select whether to transfer the image data 8 to another terminal device. Is displayed as shown in the schematic diagram of FIG. 17E (step S222).

以上により復号化処理そのものは終了するが、「印刷」ボタン113が押された場合には、制御部200は復号化された非暗号化画像データ8を印刷部222に与えることにより、適宜の用紙に印刷物(非暗号化原稿5)として印刷させる。また、「転送」ボタン114が押された場合には、制御部200は非暗号化画像データ8を一般的な電子ファイル形式であるpdf 形式、tiff形式等のファイルとして、ユーザが別途指定した端末装置へ転送する。   Although the decryption process itself is completed as described above, when the “print” button 113 is pressed, the control unit 200 gives the decrypted unencrypted image data 8 to the printing unit 222, so that an appropriate paper sheet is obtained. Are printed as a printed matter (unencrypted document 5). In addition, when the “transfer” button 114 is pressed, the control unit 200 uses the terminal separately designated by the user as the unencrypted image data 8 as a file in a general electronic file format such as pdf format or tiff format. Transfer to device.

なお、図17(e) に示す画面において「取消」ボタン105が押された場合は、制御部200はエラーとして、図18(g) に示すようなエラーメッセージ32を表示し、「確認」ボタン112が押されるのを確認した上で復号化処理を終了する。   When the “Cancel” button 105 is pressed on the screen shown in FIG. 17 (e), the control unit 200 displays an error message 32 as shown in FIG. 18 (g) as an error, and the “Confirm” button. After confirming that 112 is pressed, the decoding process is terminated.

本発明に係る画像形成装置の構成例の一実施の形態を示すブロック図である。1 is a block diagram showing an embodiment of a configuration example of an image forming apparatus according to the present invention. 本発明に係る画像形成装置の構成例の一実施の形態を示すブロック図である。1 is a block diagram showing an embodiment of a configuration example of an image forming apparatus according to the present invention. 本発明に係る画像形成装置を利用した場合の画像データ及び印刷物の流れを表した模式図である。FIG. 4 is a schematic diagram illustrating the flow of image data and printed matter when the image forming apparatus according to the present invention is used. 本発明の画像形成装置による画像処理の概略を説明するための模式図である。It is a schematic diagram for explaining an outline of image processing by the image forming apparatus of the present invention. 本発明の画像形成装置が非暗号化原稿の指定領域を暗号化した暗号化原稿を作成するためのメインルーチン(暗号化処理のメインルーチン)の処理手順を示すフローチャートである。4 is a flowchart showing a processing procedure of a main routine (encryption processing main routine) for the image forming apparatus of the present invention to create an encrypted document in which a designated area of a non-encrypted document is encrypted. 本発明の画像形成装置による暗号化領域指定処理の手順を示すフローチャートである。6 is a flowchart showing a procedure of encryption area designation processing by the image forming apparatus of the present invention. 本発明の画像形成装置による暗号化領域指定処理の手順を示すフローチャートである。6 is a flowchart showing a procedure of encryption area designation processing by the image forming apparatus of the present invention. 本発明の画像形成装置による暗号化領域指定処理の手順を示すフローチャートである。6 is a flowchart showing a procedure of encryption area designation processing by the image forming apparatus of the present invention. 本発明の画像形成装置の暗号化領域指定画面の表示状態の遷移を示す模式図である。FIG. 6 is a schematic diagram showing transition of the display state of an encryption area designation screen of the image forming apparatus of the present invention. 本発明の画像形成装置の暗号化指定領域の枠の表示部の画面上での表示のための座標系を示す模式図である。It is a schematic diagram which shows the coordinate system for the display on the screen of the display part of the frame of the encryption designation | designated area | region of the image forming apparatus of this invention. 本発明の画像形成装置による読取回数指定処理の手順を示すフローチャートである。5 is a flowchart illustrating a procedure of reading count designation processing by the image forming apparatus of the present invention. 本発明の画像形成装置の読取回数指定画面の模式図である。FIG. 6 is a schematic diagram of a reading count designation screen of the image forming apparatus of the present invention. 本発明の画像形成装置による用紙方向指定処理の手順を示すフローチャートである。6 is a flowchart illustrating a procedure of paper direction designation processing by the image forming apparatus of the present invention. 本発明の画像形成装置の用紙方向指定画面の表示状態の遷移を示す模式図である。FIG. 6 is a schematic diagram illustrating transition of a display state of a sheet direction designation screen of the image forming apparatus of the present invention. 本発明の画像形成装置が方向順序表示画面に表示する各指標マークを示す模式図である。It is a schematic diagram showing each index mark displayed on the direction order display screen by the image forming apparatus of the present invention. 本発明の画像形成装置が暗号化原稿を読取部の原稿台に載置する際の用紙方向の定義を説明するための模式図である。FIG. 4 is a schematic diagram for explaining a definition of a sheet direction when the image forming apparatus of the present invention places an encrypted document on a document table of a reading unit. 本発明の画像形成装置が暗号化原稿の復号化処理を行なう際の復号化処理画面表示状態の遷移を示す模式図である。FIG. 10 is a schematic diagram illustrating a transition of a decryption processing screen display state when the image forming apparatus of the present invention performs decryption processing of an encrypted document. 本発明の画像形成装置が暗号化原稿の復号化処理を行なう際の復号化処理画面表示状態の遷移を示す模式図である。FIG. 10 is a schematic diagram illustrating a transition of a decryption processing screen display state when the image forming apparatus of the present invention performs decryption processing of an encrypted document. 本発明の画像形成装置による正しい復号化処理の暗号化原稿の読取手順の一例を示す模式図である。FIG. 10 is a schematic diagram illustrating an example of a procedure for reading an encrypted document in a correct decryption process by the image forming apparatus of the present invention. 本発明の画像形成装置による暗号化原稿の復号化処理のための処理手順を示すフローチャートである。6 is a flowchart illustrating a processing procedure for decrypting an encrypted document by the image forming apparatus of the present invention. 本発明の画像形成装置による暗号化原稿の復号化処理のための処理手順を示すフローチャートである。6 is a flowchart illustrating a processing procedure for decrypting an encrypted document by the image forming apparatus of the present invention.

符号の説明Explanation of symbols

1 外部の端末装置
2 複合機
3 PC(パーソナルコンピュータ)
4 外部のプリンタ
5 非暗号化原稿
6 暗号化原稿
7 暗号化画像データ
8 非暗号化画像データ
14 暗号化指定領域
15 暗号化指定領域
16 暗号化領域
17 暗号化領域
200,300 制御部
201,301 暗号化処理部
202 マーカ認識部
203 復号化処理部
204,304 画像処理部
212 読取部
221,321 表示部
222 印刷部
251,351 画像データ記憶部
255,355 指定用紙方向記憶部
256,356 指定読取回数記憶部
257 読取用紙方向記憶部
258,358 カウント値記憶部
1 External terminal device 2 Multifunction machine 3 PC (personal computer)
4 External printer 5 Unencrypted document 6 Encrypted document
7 Encrypted image data
8 Unencrypted image data
14 Encryption specification area
15 Encryption designation area 16 Encryption area 17 Encryption area 200, 300 Control unit 201, 301 Encryption processing unit 202 Marker recognition unit 203 Decoding processing unit 204, 304 Image processing unit 212 Reading unit 221, 321 Display unit 222 Printing 251, 351 Image data storage unit 255, 355 Specified paper direction storage unit 256, 356 Specified reading count storage unit 257 Reading paper direction storage unit 258, 358 Count value storage unit

Claims (10)

原稿の画像を読み取ってページ単位の画像データを生成する読取手段と、画像データをページ単位で用紙に画像形成する画像形成手段とを備えた画像形成装置において、
前記画像形成手段が画像形成すべきページ単位の画像データの内の任意の位置に任意の大きさの領域の指定を受け付ける領域指定受付手段と、
該領域指定受付手段が指定を受け付けた任意の領域の画像データを所定の暗号鍵により暗号化する暗号化処理手段と、
該暗号化処理手段により暗号化された領域を含むページ単位の暗号化画像データに、前記読取手段による読取回数と各読取時の読取方向とを組み合わせた読取条件を指定する読取条件指定手段と、
前記画像形成手段がページ単位の暗号化画像データを用紙に画像形成した原稿を、前記読取条件指定手段により指定された読取条件に従って前記読取手段が読み取ったか否かを判断する判断手段と、
前記読取条件指定手段により指定された読取条件に従って原稿が前記読取手段により読み取られたと前記判断手段が判断した場合に、前記読取手段が生成したページ単位の画像データに含まれる暗号化された領域の画像データを前記所定の暗号鍵に対応する復号鍵により復元する復号化処理手段と
を備えることを特徴とする画像形成装置。
In an image forming apparatus comprising: a reading unit that reads an image of a document to generate image data in units of pages; and an image forming unit that forms an image of image data on a sheet in units of pages.
An area designation accepting means for accepting designation of an area of an arbitrary size at an arbitrary position in image data in page units on which the image forming means is to form an image;
Encryption processing means for encrypting image data of an arbitrary area for which designation is accepted by the area designation receiving means with a predetermined encryption key;
A reading condition designating unit for designating a reading condition in which the number of readings by the reading unit and a reading direction at the time of each reading are combined with encrypted image data in units of pages including an area encrypted by the encryption processing unit;
A determination unit that determines whether or not the reading unit has read a document in which the image forming unit forms an image of encrypted image data in units of pages on a sheet according to a reading condition specified by the reading condition specifying unit;
When the determination unit determines that the document has been read by the reading unit in accordance with the reading condition specified by the reading condition specifying unit, the encrypted area included in the page unit image data generated by the reading unit An image forming apparatus comprising: decryption processing means for restoring image data with a decryption key corresponding to the predetermined encryption key.
表示手段を更に備え、
ページ単位の暗号化画像データ及び/又は暗号化された領域の画像データが前記復号化処理手段により復元されたページ単位の画像データを画像として前記表示手段に表示させるようにしてあること
を特徴とする請求項1に記載の画像形成装置。
A display means,
The page unit encrypted image data and / or the image data of the encrypted area is displayed on the display unit as image data of the page unit restored by the decryption processing unit. The image forming apparatus according to claim 1.
ページ単位の暗号化画像データを通信回線を介して外部の画像形成装置へ転送することにより、前記外部の画像形成装置に画像形成させるようにしてあることを特徴とする請求項1に記載の画像形成装置。   2. The image according to claim 1, wherein the image forming apparatus is configured to form an image on the external image forming apparatus by transferring the encrypted image data in page units to the external image forming apparatus via a communication line. Forming equipment. ページ単位の暗号化画像データ及び/又は暗号化された領域の画像データが前記復号化処理手段により復元されたページ単位の画像データを通信回線を介して外部の表示装置へ転送することにより、前記外部の表示装置に画像として表示させるようにしてあることを特徴とする請求項1に記載の画像形成装置。   By transferring the page-unit image data restored by the decryption processing means to the external display device via the communication line, the page-unit encrypted image data and / or the encrypted area image data, 2. The image forming apparatus according to claim 1, wherein the image forming apparatus is displayed as an image on an external display device. 外部の画像形成装置に用紙に画像形成させることが可能なページ単位の画像データを生成する画像データ生成手段を備えた画像形成装置において、
前記画像データ生成手段が生成したページ単位の画像データの内の任意の位置に任意の大きさの領域の指定を受け付ける領域指定受付手段と、
該領域指定受付手段が指定を受け付けた任意の領域の画像データを所定の暗号鍵により暗号化する暗号化処理手段と、
該暗号化処理手段により暗号化された領域を含むページ単位の暗号化画像データを外部の画像形成装置により用紙に画像形成された原稿を外部の読取装置が読み取った場合に、前記暗号化された領域の画像データを前記所定の暗号鍵に対応する復号鍵により復元するための条件として、外部の読取装置による読取回数と各読取時の読取方向とを組み合わせた読取条件を指定する読取条件指定手段と
を備えたことを特徴とする画像形成装置。
In an image forming apparatus comprising image data generating means for generating image data in units of pages that can be formed on a sheet by an external image forming apparatus,
Area designation accepting means for accepting designation of an area of an arbitrary size at an arbitrary position in the page-unit image data generated by the image data generating means;
Encryption processing means for encrypting image data of an arbitrary area for which designation is accepted by the area designation receiving means with a predetermined encryption key;
The encrypted image data of the page unit including the area encrypted by the encryption processing means is encrypted when the external reading device reads a document image-formed on a sheet by an external image forming device. Reading condition designating means for designating a reading condition that combines the number of times of reading by an external reading device and the reading direction at the time of reading as a condition for restoring the image data of the area with a decryption key corresponding to the predetermined encryption key An image forming apparatus comprising:
表示手段を更に備え、
ページ単位の暗号化画像データを画像として前記表示手段に表示させるようにしてあること
を特徴とする請求項5に記載の画像形成装置。
A display means,
6. The image forming apparatus according to claim 5, wherein the encrypted image data for each page is displayed on the display unit as an image.
ページ単位の暗号化画像データを通信回線を介して外部の表示装置へ転送することにより、前記外部の表示装置に画像として表示させるようにしてあることを特徴とする請求項5に記載の画像形成装置。   6. The image formation according to claim 5, wherein the encrypted image data in units of pages is transferred to an external display device via a communication line so as to be displayed as an image on the external display device. apparatus. 前記暗号化処理手段は、前記領域指定受付手段が指定を受け付けた領域の画像データを前記所定の暗号鍵で暗号化する際に、前記読取条件指定手段により指定された読取条件を暗号化画像データに含ませるようにしてあることを特徴とする請求項1乃至7のいずれか一つに記載の画像形成装置。   The encryption processing means encrypts the reading condition specified by the reading condition specifying means when the image data of the area received by the area specification receiving means is encrypted with the predetermined encryption key. The image forming apparatus according to claim 1, wherein the image forming apparatus is included in the image forming apparatus. 前記暗号化処理手段は、前記領域指定受付手段が指定を受け付けた領域の画像データを前記所定の暗号鍵で暗号化する際に、前記復号鍵を暗号化画像データに含ませるようにしてあることを特徴とする請求項1乃至8のいずれか一つに記載の画像形成装置。   The encryption processing means includes the decryption key in the encrypted image data when encrypting the image data of the area that has been designated by the area designation accepting means with the predetermined encryption key. The image forming apparatus according to claim 1, wherein the image forming apparatus is an image forming apparatus. 前記領域指定受付手段は矩形の領域の指定を受け付け、
前記暗号化処理手段は、前記領域指定受付手段が指定を受け付けた領域の画像データを暗号化する際に、指定を受け付けた矩形の領域の四隅部の内の少なくとも一隅部に上下左右を判定するためのマーカを付加するようにしてあること
を特徴とする請求項1乃至9のいずれか一つに記載の画像形成装置。
The area designation accepting means accepts designation of a rectangular area,
The encryption processing unit determines whether the region designation receiving unit encrypts the image data in the region for which the designation is received, and determines whether it is up, down, left, or right in at least one of the four corners of the rectangular region that has received the designation. An image forming apparatus according to any one of claims 1 to 9, wherein a marker is added for the purpose.
JP2006011708A 2006-01-19 2006-01-19 Image forming device Pending JP2007194962A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006011708A JP2007194962A (en) 2006-01-19 2006-01-19 Image forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006011708A JP2007194962A (en) 2006-01-19 2006-01-19 Image forming device

Publications (1)

Publication Number Publication Date
JP2007194962A true JP2007194962A (en) 2007-08-02

Family

ID=38450294

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006011708A Pending JP2007194962A (en) 2006-01-19 2006-01-19 Image forming device

Country Status (1)

Country Link
JP (1) JP2007194962A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009081620A (en) * 2007-09-26 2009-04-16 Fuji Xerox Co Ltd Device for forming image, device for processing image, system for forming image, sheet of paper and program
JP2009206990A (en) * 2008-02-28 2009-09-10 Fujitsu Ltd Image decrypting apparatus, image encrypting apparatus, image decrypting method, and image decrypting program
JP2009232233A (en) * 2008-03-24 2009-10-08 Fujitsu Ltd Image encryption/decryption apparatus and program
JP2009244768A (en) * 2008-03-31 2009-10-22 Fujitsu Ltd Image decryption apparatus
EP2157560A2 (en) 2008-08-18 2010-02-24 Fujitsu Limited Document data encryption method and document data encryption system
JP2011049914A (en) * 2009-08-28 2011-03-10 Canon It Solutions Inc Image forming apparatus, printing system, processing method thereof and program
JP5192039B2 (en) * 2008-05-29 2013-05-08 株式会社Pfu Electronic document processing system, method and program
JP2015106847A (en) * 2013-11-29 2015-06-08 共同印刷株式会社 Decoding method, program, and system
US11882257B2 (en) 2022-03-08 2024-01-23 Toshiba Tec Kabushiki Kaisha Image forming apparatus and method of controlling image forming apparatus comprising a scanner and processor to generate a first combined image that includes an image of a document and a reading direction image that indicates a reading direction of the scanner and has a shape indicating the reading mode

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009081620A (en) * 2007-09-26 2009-04-16 Fuji Xerox Co Ltd Device for forming image, device for processing image, system for forming image, sheet of paper and program
JP4552156B2 (en) * 2007-09-26 2010-09-29 富士ゼロックス株式会社 Image forming system and program
US8031377B2 (en) 2007-09-26 2011-10-04 Fuji Xerox Co., Ltd. Encrypting image data based on paper fiber properties, printing encrypted image, and decrypting encrypted image
JP2009206990A (en) * 2008-02-28 2009-09-10 Fujitsu Ltd Image decrypting apparatus, image encrypting apparatus, image decrypting method, and image decrypting program
JP2009232233A (en) * 2008-03-24 2009-10-08 Fujitsu Ltd Image encryption/decryption apparatus and program
US8374349B2 (en) 2008-03-24 2013-02-12 Fujitsu Limited Image encryption apparatus and image decryption apparatus
JP2009244768A (en) * 2008-03-31 2009-10-22 Fujitsu Ltd Image decryption apparatus
JP5192039B2 (en) * 2008-05-29 2013-05-08 株式会社Pfu Electronic document processing system, method and program
EP2157560A2 (en) 2008-08-18 2010-02-24 Fujitsu Limited Document data encryption method and document data encryption system
JP2011049914A (en) * 2009-08-28 2011-03-10 Canon It Solutions Inc Image forming apparatus, printing system, processing method thereof and program
JP2015106847A (en) * 2013-11-29 2015-06-08 共同印刷株式会社 Decoding method, program, and system
US11882257B2 (en) 2022-03-08 2024-01-23 Toshiba Tec Kabushiki Kaisha Image forming apparatus and method of controlling image forming apparatus comprising a scanner and processor to generate a first combined image that includes an image of a document and a reading direction image that indicates a reading direction of the scanner and has a shape indicating the reading mode

Similar Documents

Publication Publication Date Title
JP2007194962A (en) Image forming device
JP4818394B2 (en) Image processing apparatus, image reading apparatus, image forming apparatus, image processing method, computer program, and recording medium
US7639820B2 (en) Image forming apparatus certificate sheet making method and certificate sheet processing method
JP4837073B2 (en) Image processing apparatus, image reading apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP4731609B2 (en) Image generating apparatus, image processing apparatus, image reading apparatus, image forming apparatus, image generating method, image processing method, computer program, and recording medium
JP4158829B2 (en) Image processing apparatus, image processing method, and image processing program
JP4055807B2 (en) Document management method, document management system, and computer program
JP2006287587A (en) Information processing apparatus and its method
JP3894883B2 (en) Image forming apparatus
JP2008028449A (en) Confidential document processing apparatus
CN111386695A (en) Image scanning apparatus for protecting personal information and method of scanning image thereof
JP2008118210A (en) Image processing apparatus, method and program
JP5023801B2 (en) Image reading apparatus, image processing system, and image processing program
JP4229190B2 (en) Image forming apparatus, image forming method, and document output processing program
US20070133792A1 (en) Image processing apparatus, control method therefor, computer program, and computer-readable storage medium
JP2009177699A (en) Image forming apparatus
JP2012221210A (en) Information processor, electronic apparatus and image processing system
JP4853308B2 (en) Image processing apparatus and image processing program
JP2008022050A (en) Image processing apparatus and program
JP4182998B2 (en) Image generating apparatus, image reading apparatus, unauthorized duplication prevention system, program, and output medium manufacturing method
CN108632481B (en) Image forming apparatus, image forming method, and recording medium
JP4866959B2 (en) Image processing system
JP2007026109A (en) Scanner device and printer device
JP4666892B2 (en) Data processing device
JP5135986B2 (en) Information processing apparatus and program