JP2019068181A - Image forming apparatus - Google Patents

Image forming apparatus Download PDF

Info

Publication number
JP2019068181A
JP2019068181A JP2017190051A JP2017190051A JP2019068181A JP 2019068181 A JP2019068181 A JP 2019068181A JP 2017190051 A JP2017190051 A JP 2017190051A JP 2017190051 A JP2017190051 A JP 2017190051A JP 2019068181 A JP2019068181 A JP 2019068181A
Authority
JP
Japan
Prior art keywords
image
information
identification code
representing
tracking code
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
JP2017190051A
Other languages
Japanese (ja)
Inventor
喜裕 糸川
Yoshihiro Itokawa
喜裕 糸川
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2017190051A priority Critical patent/JP2019068181A/en
Publication of JP2019068181A publication Critical patent/JP2019068181A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Cleaning In Electrography (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Image Processing (AREA)
  • Facsimiles In General (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

To provide an image forming apparatus that, even when adding new information to information in an identification code obtained from a document and forming an image representing the identification code to which the new information is added on a sheet, can form the image representing the identification code on the sheet without violating restrictions.SOLUTION: An image forming apparatus detects image data representing an identification code from image data output from a scanner, establishes information representing a new identification code including information included in the detected image data and new information, when determining that the established information violates at least one restriction, executes at least one re-establishment such that the established information becomes information not violating at least one restriction, and forms, on a sheet, an image representing the identification code represented by the information obtained through the execution of at least one re-establishment and an image represented by information other than the information representing the identification code in the image data output from the scanner.SELECTED DRAWING: Figure 1

Description

本発明は、原稿上の画像に応じた画像データを出力するスキャナと、画像をシートに形成する画像形成部と、制御部とを備えた画像形成装置に関する。   The present invention relates to an image forming apparatus including a scanner that outputs image data corresponding to an image on a document, an image forming unit that forms an image on a sheet, and a control unit.

従来より、機密性の高い原稿を管理する場合、その原稿のコピーを行った者の氏名やコピーを行った日時などの情報が分かるようにしておきたいという要望があった。
そこで、コピーを行った者の氏名やコピーを行った日時などの追跡情報を識別コード化し、その識別コード化された追跡コードを原稿上の画像と共にシートに印刷する画像形成装置が提案されている(特許文献1)。この画像形成装置によって原稿がコピーされたシートには、原稿上の画像と共に追跡コードが印刷されているため、その追跡コードを識別コード読取装置によって読取ることにより、コピーを行った者の氏名やコピーを行った日時などを追跡することができる。
Conventionally, when managing highly confidential documents, there has been a demand that information such as the name of a person who made a copy of the document and the date and time of making a copy be known.
Therefore, an image forming apparatus has been proposed in which tracking information such as the name of a person who made a copy and the date and time of making a copy is made identification code, and the identification code tracking code is printed on a sheet together with an image on a document. (Patent Document 1). Since the tracking code is printed on the sheet on which the document has been copied by the image forming apparatus together with the image on the document, the identification code reader reads the tracking code to find out the name and copy of the person who made the copy. You can track the date and time you did the

特開2007-166361号公報Unexamined-Japanese-Patent No. 2007-166361

ところで、原稿を誰が何時コピーしたかということを、今回のコピーよりも前のコピーも含めて知ることができるようにするためには、この追跡コード付きの原稿のコピーが行われる毎に前のコピーに関する追跡情報に新たな追跡情報を追加して識別コード化し、識別コード化した追跡コードを原稿上の画像と共にシートに印刷する必要がある。
その一方、追跡コードをシートに印刷する場合には、いくつかの制約がある。たとえば、シートの印刷可能領域に収まるように印刷する、原稿上の画像と重ならないように印刷する、識別コード読取装置によって読取り可能な寸法で印刷する、などの制約がある。
しかし、追跡コード付きの原稿のコピーが行われる毎に新たな追跡情報を追加してゆくと、識別コード化する追跡情報量が多くなってゆくため、上記の制約に反することなく追跡コードをシートに印刷することができなくなるおそれがある。
By the way, in order to be able to know who and when copied the manuscript, including the copy before this copy, it is possible to copy the manuscript with the tracking code every time it is copied. It is necessary to add new tracking information to the tracking information about the copy and to make it identification code and to print the identification coded tracking code on the sheet together with the image on the manuscript.
On the other hand, there are some limitations when printing the tracking code on a sheet. For example, there are restrictions such as printing to fit within the printable area of the sheet, printing not to overlap with the image on the document, and printing with a size readable by the identification code reader.
However, as new tracking information is added each time copying of the document with tracking code is performed, the amount of tracking information to be identified is increased, so the tracking code can be placed on the sheet without breaking the above restriction. Printing may not be possible.

そこで、本発明は、上記の問題を解決するために創出されたものであり、原稿から得た識別コードが有する情報に新たな情報を追加し、新たな情報を追加した識別コードを表す画像をシートに形成する場合であっても、制約に反することなく識別コードを表す画像をシートに形成することができる画像形成装置を提供することを目的とする。   Therefore, the present invention has been created to solve the above problems, and adds new information to the information possessed by the identification code obtained from the manuscript, and an image representing the identification code to which the new information is added. An object of the present invention is to provide an image forming apparatus capable of forming an image representing an identification code on a sheet without being against the restriction even in the case of forming the sheet.

上述した目的を達成するため、本願発明に係る画像形成装置は、原稿上の画像に応じた画像データを出力するスキャナと、画像をシートに形成する画像形成部と、制御部と、を備える。
そして、制御部は、スキャナが出力した画像データから識別コードを表す画像データを検出し、検出した画像データに含まれる情報と、新たな情報と、を含む、新たな識別コードを表す情報を構築し、構築した情報が、少なくとも1つの制約に反するか否かを判定し、構築した情報が少なくとも1つの制約に反しないと判定した場合に、構築した情報で表される識別コードを表す画像と、スキャナが出力した画像データのうち識別コードを表す情報以外の情報で表される画像と、をシートに形成するように、画像形成部を制御する。
また、制御部は、構築した情報が少なくとも1つの制約に反すると判定した場合に、少なくとも1つの制約に反しない情報となるように、構築した情報に対して少なくとも1回の再構築を行い、少なくとも1回の再構築を行った情報で表される識別コードを表す画像と、スキャナが出力した画像データのうち識別コードを表す情報以外の情報で表される画像と、をシートに形成するように、画像形成部を制御する。
本発明の画像形成装置は、以上を特徴とする。
In order to achieve the above-described object, an image forming apparatus according to the present invention includes a scanner that outputs image data corresponding to an image on a document, an image forming unit that forms an image on a sheet, and a control unit.
Then, the control unit detects image data representing the identification code from the image data output by the scanner, and constructs information representing a new identification code including information included in the detected image data and new information. An image representing an identification code represented by the constructed information when it is determined whether the constructed information violates at least one constraint and it is determined that the constructed information does not violate at least one constraint; The image forming unit is controlled to form an image represented by information other than the information representing the identification code among the image data output by the scanner on a sheet.
In addition, when it is determined that the constructed information violates at least one constraint, the control unit reconstructs the constructed information at least once so that the information does not violate at least one constraint, An image representing an identification code represented by information that has been restructured at least once and an image represented by information other than the information representing the identification code among image data output by the scanner are formed on a sheet Control the image forming unit.
The image forming apparatus of the present invention is characterized by the above.

制御部は、構築した情報が少なくとも1つの制約に反すると判定した場合に、少なくとも1つの制約に反しない情報となるように、構築した情報に対して少なくとも1回の再構築を行い、少なくとも1回の再構築を行った情報で表される識別コードを表す画像と、スキャナが出力した画像データのうち識別コードを表す情報以外の情報で表される画像と、をシートに形成するように、画像形成部を制御する。   When the control unit determines that the constructed information violates at least one constraint, at least one reconstruction is performed on the constructed information so that the information does not violate the at least one constraint, and at least one In order to form on the sheet, an image representing the identification code represented by the information that has been reconstructed several times and an image represented by the information other than the information representing the identification code among the image data output by the scanner Control the image forming unit.

本発明の画像形成装置を実施すれば、原稿から得た識別コードが有する情報に新たな情報を追加し、新たな情報を追加した識別コードを表す画像をシートに形成する場合であっても、制約に反することなく識別コードを表す画像をシートに形成することができる。   If the image forming apparatus according to the present invention is implemented, new information is added to the information included in the identification code obtained from the original, and an image representing the identification code to which the new information is added is formed on the sheet, An image representing the identification code can be formed on the sheet without violating the constraints.

本発明の第1実施形態に係る複合機の概略構成を示す斜視図である。FIG. 1 is a perspective view showing a schematic configuration of a multifunction peripheral according to a first embodiment of the present invention. 図1に示す画像形成装置の主な電気的構成をブロックで示す説明図である。FIG. 2 is an explanatory diagram showing the main electrical configuration of the image forming apparatus shown in FIG. 1 in blocks. 図2に示すCPU10が実行する処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process which CPU10 shown in FIG. 2 performs. 図3に示す処理の続きを示すフローチャートである。It is a flowchart which shows the continuation of the process shown in FIG. 図4に示す処理の続きを示すフローチャートである。It is a flowchart which shows the continuation of the process shown in FIG. シートに印刷された原稿画像G1および旧追跡コード画像BC1などの説明図である。FIG. 6 is an explanatory diagram of a document image G1 printed on a sheet, an old tracking code image BC1, and the like. 新追跡コード画像BC3が印刷可能領域Eに収まらない状態を示す模式図である。FIG. 16 is a schematic view showing a state in which the new tracking code image BC3 does not fit in the printable area E. 縮小された新追跡コード画像BC3がシートPに印刷された状態を示す説明図である。FIG. 6 is an explanatory view showing a state in which a reduced new tracking code image BC3 is printed on a sheet P. 新追跡コード画像BC3が旧追跡コード座標とは異なる座標に印刷された状態を示す説明図である。It is explanatory drawing which shows the state in which new tracking code image BC3 was printed on the coordinate different from the old tracking code coordinate. 新追跡コード画像BC3がフッター情報画像G2と重なった状態を示す説明図である。It is explanatory drawing which shows the state which new tracking code image BC3 overlapped with footer information image G2. 本発明の第2実施形態においてCPU10が実行する処理の流れを一部省略して示すフローチャートである。It is a flowchart which abbreviate | omits and shows one part the flow of the process which CPU10 performs in 2nd Embodiment of this invention. 本発明の第3実施形態においてCPU10が実行する処理の流れを一部省略して示すフローチャートである。It is a flowchart which abbreviate | omits and shows one part the flow of the process which CPU10 performs in 3rd Embodiment of this invention. 本発明の第4実施形態においてCPU10が実行する処理の流れを一部省略して示すフローチャートである。It is a flowchart which partially omits and shows the flow of the process which CPU10 performs in 4th Embodiment of this invention. 本発明の第5実施形態においてCPU10が実行する処理の流れを一部省略して示すフローチャートである。It is a flowchart which partially omits and shows the flow of the process which CPU10 performs in 5th Embodiment of this invention.

以下の各実施形態では、本発明の画像形成装置として複合機を例に挙げて説明する。
〈第1実施形態〉
[複合機の概略構成]
発明の第1実施形態に係る複合機の概略構成について、それを示す図1を参照しつつ説明する。
In the following embodiments, a multifunction peripheral is described as an example of the image forming apparatus of the present invention.
First Embodiment
[Schematic configuration of MFP]
A schematic configuration of a multifunction peripheral according to a first embodiment of the present invention will be described with reference to FIG. 1 showing the same.

本実施形態の複合機1は、印刷機能、コピー機能、スキャナ機能、電話機能、FAX送受信機能、およびEメール送受信機能などを備える。図1に示す様に、複合機1は、筐体21、原稿台カバー6、ADF(Auto Document Feeder)7、給紙トレイ3,4、排紙トレイ5、操作パネル2およびUSBレセプタクル(USBメモリのプラグを差し込むソケット)9などを備えている。筐体21は略箱型であり、原稿台(図示せず)を覆う原稿台カバー6は上部に配置されている。原稿台カバー6は後方に回動軸(図示せず)を有し、上方に回動することができる。複合機1は、原稿台の下方にイメージセンサである第1センサ31(図2)を備えている。原稿が原稿台に載置された場合には、スキャナ30(図2)は、原稿台が支持する原稿に対して、第1センサ31を左から右に移動させて、原稿の一方の面を読み取る。   The multifunction device 1 according to this embodiment includes a print function, a copy function, a scanner function, a telephone function, a fax transmission / reception function, an e-mail transmission / reception function, and the like. As shown in FIG. 1, the multifunction device 1 includes a housing 21, a document platen cover 6, an ADF (Auto Document Feeder) 7, sheet feed trays 3 and 4, a sheet discharge tray 5, an operation panel 2 and a USB receptacle (USB memory The plug is inserted into the socket 9) and so on. The housing 21 is substantially box-shaped, and a platen cover 6 covering a platen (not shown) is disposed at the top. The platen cover 6 has a pivot shaft (not shown) at the rear, and can pivot upward. The multifunction device 1 includes a first sensor 31 (FIG. 2), which is an image sensor, below the document table. When the document is placed on the document table, the scanner 30 (FIG. 2) moves the first sensor 31 from the left to the right with respect to the document supported by the document table to move one side of the document read.

ADF7は、原稿台カバー6の左側上面に配置されている。ADF7は、ADFカバー7a、原稿を搬送するためにモータによって駆動される機構(図示せず)およびイメージセンサである第2センサ32(図3)などを有する。ADFカバー7aは、右端部に回動軸(図示せず)を有し、上方に回動することができる。ADFカバー7aは、図2に示す閉位置と、上方に回動し、回動軸から斜め右上方に向かってやや傾斜する開位置とに変化することができる。開位置のADFカバー7aは、その上面で原稿を支持する。ADF7は、開位置のADFカバー7aが支持する原稿を開口部(図示せず)から取り込み、原稿台の左端部下方で静止している第1センサ31に対して原稿を相対的に移動させて、原稿の一方の面を読み取り、原稿を原稿台カバー6の上面に排出する。   The ADF 7 is disposed on the upper left side of the document platen cover 6. The ADF 7 has an ADF cover 7a, a mechanism (not shown) driven by a motor to convey a document, and a second sensor 32 (FIG. 3) which is an image sensor. The ADF cover 7a has a pivot shaft (not shown) at the right end, and can pivot upward. The ADF cover 7a can be changed between the closed position shown in FIG. 2 and the open position which is pivoted upward and slightly inclined obliquely upward from the pivot axis. The ADF cover 7a in the open position supports the document on its upper surface. The ADF 7 takes in the document supported by the ADF cover 7a in the open position from the opening (not shown), and moves the document relative to the first sensor 31 which is stationary below the left end of the document table , One side of the document is read, and the document is discharged onto the upper surface of the platen cover 6.

前述したように、スキャナ30が原稿の一方の面のみを読み取る際には、第1センサ31が読み取る。一方、スキャナ30が原稿の一方の面と他方の面の両面を読み取る際には、ADF7の開口部から原稿を取り込み、第2センサ32が原稿の他方の面を読み取り、第1センサ31が原稿台の左端部下方にて、移動する原稿の一方の面を読み取る。
操作パネル2は、タッチパネル8の他、メニューキー、コピーキー、テンキー、スタートキーなどの操作キー(図示せず)を有する。操作パネル2およびUSBレセプタクル9は筐体21の前側に配置されている。USBレセプタクル9はUSB規格のレセプタクルである。
As described above, when the scanner 30 reads only one side of the document, the first sensor 31 reads it. On the other hand, when the scanner 30 reads both sides of one side and the other side of the original, the original is taken in from the opening of the ADF 7, the second sensor 32 reads the other side of the original, and the first sensor 31 makes the original Below the left end of the table, read one side of the moving document.
In addition to the touch panel 8, the operation panel 2 has operation keys (not shown) such as a menu key, a copy key, a numeric keypad, and a start key. The operation panel 2 and the USB receptacle 9 are disposed on the front side of the housing 21. The USB receptacle 9 is a USB standard receptacle.

給紙トレイ3,4は、筐体21の前面下側に上下に配置されており、それぞれ脱着可能である。排紙トレイ5は、筐体21の前面からやや奥まった位置に配置されている。また、筐体21の内部には、給送部(図示せず)、画像形成部37(図3)、排出部(図示せず)が設置されている。給紙トレイ3または給紙トレイ4に支持されているシート(コピー用紙などの被画像形成媒体)は、給送部により画像形成部37に搬送され、画像形成部37は、その搬送されたシートに画像を形成する。排出部は、画像形成したシートを排紙トレイ5へ排出する。   The paper feed trays 3 and 4 are vertically disposed below the front surface of the housing 21 and are detachable. The discharge tray 5 is disposed at a position slightly recessed from the front surface of the housing 21. Further, inside the housing 21, a feeding unit (not shown), an image forming unit 37 (FIG. 3), and a discharging unit (not shown) are provided. The sheet (image forming medium such as copy sheet) supported by the sheet feeding tray 3 or the sheet feeding tray 4 is conveyed to the image forming unit 37 by the feeding unit, and the image forming unit 37 receives the conveyed sheet. Form an image. The discharge unit discharges the sheet on which the image is formed to the sheet discharge tray 5.

[複合機の主な電気的構成]
次に、複合機1の主な電気的構成について、それをブロックで示す図2を参照しつつ説明する。
なお、以下の説明において、識別コードには、バーコードなどの1次元コードの他、QRコード(登録商標)などの2次元コードなどを含む。
[Main electrical configuration of MFP]
Next, the main electrical configuration of the multifunction machine 1 will be described with reference to FIG.
In the following description, the identification code includes a two-dimensional code such as QR code (registered trademark) in addition to a one-dimensional code such as a barcode.

複合機1は、CPU10、RAM11、ROM12、NVRAM(不揮発性メモリ)40、画像形成部37、スキャナ30、FAX通信部33、ユーザインターフェース35、USBインターフェース36、ネットワークインターフェース38などの電気的構成を備えており、各各電気的構成は、バス34により電気的に接続されている。スキャナ30は、第1センサ31および第2センサ32の少なくとも一方により、原稿上の画像を読取り、原稿上の画像に応じた画像データを出力する。そのスキャナ30が出力した画像データは、NVRAM40の読取画像記憶領域41に記憶される。制御部の一例であるCPU10は、複合機1の前述した各機能を実行するために各電気的構成を制御する。ROM12には、CPU10が実行するコンピュータプログラムが読出し可能に記憶されている。ROM12に記憶されているコンピュータプログラムには、スキャナ30の動作を制御するコンピュータプログラムと、スキャナ30が出力した画像データから識別コード画像を検出する処理と、その検出した識別コード画像をデコードする処理と、そのデコードした識別コードが追跡情報であった場合に、その旧追跡情報に新たな情報の一例である今回の印刷情報を追加して新追跡情報を構築する処理と、その構築した新追跡情報が予め複合機1に設定されている制約に反する場合に新追跡情報を再構築する処理と、その再構築した新追跡情報をシートに印刷するように画像形成部37を制御する処理と、を実行するコンピュータプログラムなどが含まれている。   The MFP 1 has an electrical configuration such as a CPU 10, a RAM 11, a ROM 12, an NVRAM (nonvolatile memory) 40, an image forming unit 37, a scanner 30, a FAX communication unit 33, a user interface 35, a USB interface 36, and a network interface 38. Each electrical configuration is electrically connected by a bus 34. The scanner 30 reads an image on a document by at least one of the first sensor 31 and the second sensor 32, and outputs image data corresponding to the image on the document. The image data output from the scanner 30 is stored in the read image storage area 41 of the NVRAM 40. The CPU 10, which is an example of the control unit, controls each electrical configuration to execute the above-described functions of the multifunction device 1. The ROM 12 stores a computer program that the CPU 10 executes in a readable manner. The computer program stored in the ROM 12 includes a computer program for controlling the operation of the scanner 30, a process of detecting an identification code image from image data output by the scanner 30, and a process of decoding the detected identification code image Processing for constructing new tracking information by adding print information of this time which is an example of new information to the old tracking information when the decoded identification code is the tracking information, and the new tracking information thus constructed A process of reconstructing new tracking information when it violates a restriction set in advance in the multifunction machine 1, and a process of controlling the image forming unit 37 to print the reconstructed new tracking information on a sheet Computer programs to be executed are included.

RAM11は、CPU10の処理結果などを一時的に記憶する。また、RAM11には、ROM12から読出されたコンピュータプログラムを一時的に記憶するワークエリアが設定されている。CPU10は、ROM12から読出したコンピュータプログラムをRAM11の上記ワークエリアに展開して実行する。
また、NVRAM40には、追跡情報を表す追跡コード画像などの識別コード画像を作成するためのデータが記録された識別コード記憶領域42と、識別コード画像をシートに印刷する際の制約内容を示すデータが記憶された制約内容記憶領域43とが形成されている。
画像形成部37は、例えば印刷ジョブに従って、電子写真方式によりシートにカラーまたはモノクロの画像を印刷する。画像形成部37は、図示しない、ブラック、シアン、マゼンタおよびイエローの4色に対応する4つのプロセスカートリッジ、露光部、転写ローラ、定着部などを有する。各プロセスカートリッジは、図示しない、感光体ドラム、現像ローラ、トナー収容体などをそれぞれ有する。露光部は感光体ドラムの表面に静電潜像を形成する。現像ローラは、静電潜像にトナーを供給し、トナー像を形成する。転写ローラは、トナー像をシートに転写する。定着部はトナーをシートに熱定着させる。
The RAM 11 temporarily stores the processing result of the CPU 10 and the like. Further, in the RAM 11, a work area for temporarily storing a computer program read from the ROM 12 is set. The CPU 10 develops the computer program read from the ROM 12 in the work area of the RAM 11 and executes it.
Further, an identification code storage area 42 in which data for creating an identification code image such as a tracking code image representing tracking information is recorded is stored in the NVRAM 40, and data indicating restriction contents when printing the identification code image on a sheet And the restriction content storage area 43 in which the
The image forming unit 37 prints a color or monochrome image on a sheet by electrophotography according to, for example, a print job. The image forming unit 37 has four process cartridges corresponding to four colors of black, cyan, magenta, and yellow, not shown, an exposure unit, a transfer roller, a fixing unit, and the like. Each process cartridge has a photosensitive drum, a developing roller, a toner container, etc., which are not shown. The exposure unit forms an electrostatic latent image on the surface of the photosensitive drum. The developing roller supplies toner to the electrostatic latent image to form a toner image. The transfer roller transfers the toner image to the sheet. The fixing unit thermally fixes the toner to the sheet.

FAX通信部33は、接続している通信回線(図示せず)を介して、他の複合機やFAX通信機器との間でFAXデータの送受信を行う。ユーザインターフェース35は、各種の設定画面や装置の動作状態などを、操作パネル2に設けられたタッチパネル8(図1)に表示する。また、ユーザインターフェース35は、ユーザがタッチパネル8および操作キーに対して行う操作に応じた信号をCPU10へ出力する。USBインターフェース36は、USBレセプタクル9に接続されたUSBメモリに対して、USB規格に沿ったデータの読出しおよび書込みを行う。ネットワークインターフェース38は、LAN回線などの通信回線を介してPC50などと通信を行う。   The FAX communication unit 33 transmits / receives FAX data to / from another multifunction machine or FAX communication device via a connected communication line (not shown). The user interface 35 displays various setting screens and the operation state of the apparatus on the touch panel 8 (FIG. 1) provided on the operation panel 2. Further, the user interface 35 outputs, to the CPU 10, a signal corresponding to an operation performed by the user on the touch panel 8 and the operation key. The USB interface 36 reads data from and writes data to the USB memory connected to the USB receptacle 9 in accordance with the USB standard. The network interface 38 communicates with the PC 50 and the like via a communication line such as a LAN line.

[追跡コードの印刷処理]
次に、シートに追跡コードを印刷するために複合機1のCPU10が実行する処理の流れについて、それを示す図3ないし図5のフローチャートを参照しつつ説明する。なお、CPU10が実行するステップをSと略す。
[Printing process of tracking code]
Next, the flow of processing executed by the CPU 10 of the multifunction device 1 to print the tracking code on a sheet will be described with reference to the flowcharts of FIGS. The step executed by the CPU 10 is abbreviated as S.

複合機1の操作者が、原稿台カバー6(図1)を回動させ、コピー対象である原稿を原稿台(図示せず)にセットし、操作パネル2に設けられたコピーボタンを操作すると、CPU10(図2)は、スキャナ30(図2)を制御して原稿上の画像を読取らせ、その読取った原稿上の画像データを読取画像記憶領域41に記憶させる(図3のS1)。続いて、CPU10は、読取画像記憶領域41に記憶された画像データを解析し、その画像データの中から識別コード画像を検出できるか否か、つまり読取画像の中に識別コード画像が存在するか否かを判定し(S2)、存在すると判定した場合は(S2:Yes)、その検出した識別コード画像をデコードする(S3)。たとえば、図6に示すように、シートPの印刷可能領域E内に原稿画像G1が印刷されており、その原稿画像G1の下方にフッター情報画像G2と、旧追跡情報に対応する識別コード画像である旧追跡コード画像BC1とが印刷されている場合は、識別コード画像が存在すると判定し、旧追跡コード画像BC1をデコードする。原稿画像G1およびフッター情報画像G2は、識別コードを表す情報以外の情報で表される画像の一例である。また、原稿画像G1およびフッター情報画像G2の印刷領域は、識別コードを表す画像以外の画像を形成する画像形成領域の一例である。また、印刷可能領域Eは、画像形成可能領域の一例である。
続いて、CPU10は、デコードした識別コードが追跡情報を表す識別コードであるか否かを判定する(S4)。ここで、追跡情報とは、コピーを行った者の氏名、あるいは、複合機などのコピー機の機種名やシリアルナンバー、コピーを行った日時、コピー枚数の通し番号などを表す情報である。つまり、追跡情報とは、原稿上の画像と共にシートに印刷された識別コードを読取ることにより、誰が何時コピーを行ったかなどを追跡することができる情報である。
When the operator of multifunction machine 1 rotates document platen cover 6 (FIG. 1) to set the document to be copied on document platen (not shown) and operates the copy button provided on operation panel 2 The CPU 10 (FIG. 2) controls the scanner 30 (FIG. 2) to read the image on the document, and stores the image data on the read document in the read image storage area 41 (S1 in FIG. 3) . Subsequently, the CPU 10 analyzes the image data stored in the read image storage area 41, and whether or not the identification code image can be detected from the image data, that is, whether the identification code image exists in the read image It is determined whether or not it exists (S2), and when it is determined that it exists (S2: Yes), the detected identification code image is decoded (S3). For example, as shown in FIG. 6, the document image G1 is printed in the printable area E of the sheet P, and the footer information image G2 and the identification code image corresponding to the old tracking information are below the document image G1. If a certain old tracking code image BC1 is printed, it is determined that an identification code image exists, and the old tracking code image BC1 is decoded. The document image G1 and the footer information image G2 are an example of an image represented by information other than the information representing the identification code. The print area of the document image G1 and the footer information image G2 is an example of an image formation area for forming an image other than the image representing the identification code. The printable area E is an example of an image formable area.
Subsequently, the CPU 10 determines whether the decoded identification code is an identification code representing tracking information (S4). Here, the tracking information is information indicating the name of the person who made the copy, or the model name or serial number of the copying machine such as a multifunction machine, the date and time of making the copy, and the serial number of the number of copies. That is, the tracking information is information that can track who made a copy and when, etc. by reading the identification code printed on the sheet together with the image on the document.

ここで、CPU10は、追跡情報であると判定した場合は(S4:Yes)、今回デコードした追跡情報(以下、旧追跡情報と称する)に対して今回の印刷情報を追加し、新たな追跡情報(以下、新追跡情報と称する)を構築する(S5)。ここで、今回の印刷情報とは、追跡情報と対応する情報であるが、旧追跡情報と同じ種類の情報とは限らない。たとえば、識別コード化される追跡情報の種類が、複合機など、コピー機能を有する装置毎に異なる場合があるからである。そして、CPU10は、新追跡情報の情報量は識別コード仕様の上限以内か否かを判定する(S6)。この情報量の上限値は、複数の制約内容の1つとして制約内容記憶領域43(図2)に記憶されている。たとえば、識別コードが、CODE128のバーコードであり、識別コードを読取るバーコードリーダなどの読取装置の最大読取幅が150mmであるとする。CODE128は、アスキー文字を表現できるため、150mmに収めることができるアスキー文字の最大文字数が情報量の上限値に設定される。新追跡情報の情報量は、構築した情報で表される識別コードの情報量の一例である。   Here, when it is determined that the CPU 10 is the tracking information (S4: Yes), the print information of this time is added to the tracking information decoded this time (hereinafter referred to as old tracking information), and new tracking information (Hereinafter referred to as new tracking information) is constructed (S5). Here, the current print information is information corresponding to the tracking information, but the information is not limited to the same type as the old tracking information. For example, the type of tracking information to be identification-coded may differ depending on the device having the copy function, such as a multifunction peripheral. Then, the CPU 10 determines whether the amount of information of the new tracking information is within the upper limit of the identification code specification (S6). The upper limit value of the information amount is stored in the restriction content storage area 43 (FIG. 2) as one of a plurality of restriction contents. For example, it is assumed that the identification code is a barcode of CODE 128, and the maximum reading width of a reader such as a barcode reader that reads the identification code is 150 mm. Since the CODE 128 can represent ASCII characters, the maximum number of ASCII characters that can be accommodated in 150 mm is set as the upper limit value of the information amount. The information amount of the new tracking information is an example of the information amount of the identification code represented by the constructed information.

ここで、CPU10は、新追跡情報の情報量は識別コード仕様の上限以内と判定した場合は(S6:Yes)、新追跡情報に対応する新追跡コードを表す画像(以下、新追跡コード画像と称する)を構築する(S7)。たとえば、旧追跡情報が、2017.08.31(コピーした年月日)+A(コピーをした人の氏名)+Z1(コピー機の機種名)から構成された追跡情報1つだけであり、今回の印刷情報が、2017.09.20+B+Z2から構成された情報である場合は、(2017.08.31+A+Z1)(2017.09.20+B+Z2)という情報をCODE128のJIS規格またはISO規格に従って識別コード化して新追跡コードを作成し、その新追跡コードを表す新追跡コード画像を作成するために必要なデータを識別コード記憶領域42から読出し、新追跡コード画像を構築する。新追跡コード画像は、構築した情報で表される識別コードを表す画像の一例である。   Here, when the CPU 10 determines that the information amount of the new tracking information is within the upper limit of the identification code specification (S6: Yes), an image representing the new tracking code corresponding to the new tracking information (hereinafter referred to as a new tracking code image No.) is constructed (S7). For example, the old tracking information is only one tracking information consisting of the 2015.08.31 (the date of copying) + A (the name of the person who made the copy) + Z1 (the model name of the copying machine). When the print information is the information composed of 2017.09.20 + B + Z2, the information of (2017.08. 31 + A + Z1) (2017.09.20 + B + Z2) is identified and coded according to the JIS standard or ISO standard of CODE 128 A code is created, and data necessary for creating a new tracking code image representing the new tracking code is read out from the identification code storage area 42, and a new tracking code image is constructed. The new tracking code image is an example of an image representing an identification code represented by the constructed information.

続いて、CPU10は、S7において構築した新追跡コード画像を旧追跡コード座標(旧追跡コード画像が印刷されていた印刷領域における座標)に配置した場合、新追跡コード画像が印刷可能領域内か否か、つまり、新追跡コード画像が印刷可能領域に収まるように印刷することができるか否かを判定する(S8)。たとえば、図6に示すように、フッター情報を示すフッター情報画像G2の右側に旧追跡コード画像BC1が印刷されているとし、図7に示すように、旧追跡コード画像BC1の右端に今回の印刷情報に対応する今回の追跡コード画像BC2を配置したものが新追跡コード画像BC3であるとする。この場合、図7に示すように、新追跡コード画像BC3を旧追跡コード画像BC1の座標に配置すると、新追跡コード画像BC3は印刷可能領域Eをはみ出してしまうため、S8では印刷可能領域内ではないと判定する。   Subsequently, when the CPU 10 arranges the new tracking code image constructed in S7 at the old tracking code coordinates (coordinates in the print area where the old tracking code image was printed), the new tracking code image is within the printable area. That is, it is determined whether the new tracking code image can be printed so as to fit in the printable area (S8). For example, it is assumed that the old tracking code image BC1 is printed on the right side of the footer information image G2 indicating the footer information as shown in FIG. 6, and the current printing is performed on the right end of the old tracking code image BC1 as shown in FIG. It is assumed that the new tracking code image BC3 is obtained by arranging the current tracking code image BC2 corresponding to the information. In this case, as shown in FIG. 7, when the new tracking code image BC3 is arranged at the coordinates of the old tracking code image BC1, the new tracking code image BC3 extends out of the printable area E. It is determined that there is not.

ここで、CPU10は、新追跡コード画像は、印刷可能領域内ではないと判定した場合は(S8:No)、新追跡コード画像を縮小可能か否かを判定し(図4のS10)、新追跡コード画像を縮小可能と判定した場合は(S10:Yes)、新追跡コード画像を1段階縮小する(S11)。続いて、CPU10は、再び、S8(図3)に戻り、S11において1段階縮小した新追跡コード画像を旧追跡コード座標に配置した場合、印刷可能領域内か否かを判定し、印刷可能領域内ではないと判定した場合は(S8:No)、再び、新追跡コード画像を縮小可能か否かを判定し(S10)、縮小可能と判定した場合は(S10:Yes)、再び新追跡コード画像をさらに1段階縮小する(S11)。つまり、新追跡コード画像を旧追跡コード座標に配置した場合、印刷可能領域内と判定するまで、縮小可能な範囲で新追跡コード画像の縮小を段階的に繰り返す。   Here, when it is determined that the new tracking code image is not within the printable area (S8: No), the CPU 10 determines whether the new tracking code image can be reduced (S10 in FIG. 4). If it is determined that the tracking code image can be reduced (S10: Yes), the new tracking code image is reduced by one step (S11). Subsequently, the CPU 10 returns to S8 (FIG. 3) again, and in the case where the new tracking code image reduced by one step in S11 is arranged at the old tracking code coordinates, determines whether it is within the printable area or not. If it is determined not to be within (S8: No), it is again determined whether the new tracking code image can be reduced (S10), and if it is determined that reduction is possible (S10: Yes), the new tracking code is again performed. The image is further reduced by one step (S11). That is, when the new tracking code image is arranged at the old tracking code coordinates, the reduction of the new tracking code image is repeated stepwise in the collapsible range until it is determined to be within the printable area.

たとえば、新追跡コード画像の縮小率を複数段階設定しておき、新追跡コード画像をデコード可能であるか否かを各段階毎に判定し、デコード可能な場合は縮小可能と判定する。デコード可能か否かの判定は、縮小された新追跡コード画像を構成するバーの横幅と、バー間のスペースの横幅との比の誤差が大きくなると、デコードすることができなくなるため、デコードに必要な最小誤差を制約の1つとして制約内容記憶領域43(図2)に予め記憶しておく。そして、縮小された新追跡コード画像を解析した結果、バーの横幅と、バー間のスペースの横幅との比が上記最小誤差よりも大きい場合はデコード不可能と判定する。つまり、縮小不可能と判定する。S11の処理は、少なくとも1回の再構築の一例である。   For example, the reduction rate of the new tracking code image is set in a plurality of stages, it is determined in each stage whether or not the new tracking code image can be decoded, and if decodable, it is determined that reduction is possible. The determination as to whether or not decoding is possible is necessary for decoding because the error in the ratio between the width of the bars that make up the reduced tracking code image and the width of the space between the bars becomes large, making decoding impossible. The minimum error is stored in advance in the constraint content storage area 43 (FIG. 2) as one of the constraints. Then, as a result of analyzing the reduced new tracking code image, if the ratio between the width of the bar and the width of the space between the bars is larger than the above-mentioned minimum error, it is determined that decoding is impossible. That is, it is determined that reduction is impossible. The process of S11 is an example of at least one reconstruction.

そして、縮小した新追跡コード画像を旧追跡コード座標に配置した場合、印刷可能領域内と判定した場合は(図3のS8:Yes)、縮小した新追跡コード画像が他の画像と重ならないか否かを判定する(図4のS9)。たとえば、図8に示すように、縮小した新追跡コード画像BC3が原稿画像G1およびフッター情報画像G2と重ならない場合は、新追跡コード画像が他の画像と重ならないと判定する。ここで、CPU10は、新追跡コード画像が他の画像と重ならないと判定した場合は(S9:Yes)、新追跡コード画像を旧追跡コード座標に配置する(S16)。
また、CPU10は、S10において、新追跡コード画像を縮小可能ではないと判定した場合は(S10:No)、同一シート内に新追跡コード画像を移動可能な領域があるか否かを判定する(S12)。たとえば、図9に示すように、原稿画像G1とフッター情報画像G2との間に、新追跡コード画像BC3を印刷することができる場合は、同一シート内に新追跡コード画像を移動可能な領域があると判定する。
Then, if the reduced new tracking code image is arranged at the old tracking code coordinates, and if it is determined to be within the printable area (S8 in FIG. 3: Yes), is the reduced new tracking code image not overlapping another image? It is determined whether or not (S9 in FIG. 4). For example, as shown in FIG. 8, when the reduced new tracking code image BC3 does not overlap with the document image G1 and the footer information image G2, it is determined that the new tracking code image does not overlap with another image. Here, when it is determined that the new tracking code image does not overlap another image (S9: Yes), the CPU 10 arranges the new tracking code image at the old tracking code coordinates (S16).
When the CPU 10 determines in S10 that the new tracking code image can not be reduced (S10: No), the CPU 10 determines whether or not there is an area where the new tracking code image can be moved in the same sheet (S10). S12). For example, as shown in FIG. 9, when the new tracking code image BC3 can be printed between the document image G1 and the footer information image G2, there is an area where the new tracking code image can be moved within the same sheet. Determine that there is.

ここで、CPU10は、同一シート内に新追跡コード画像を移動可能な領域があると判定した場合は(S12:Yes)、新追跡コード画像を配置可能な座標に配置する(S13)。また、同一シート内に新追跡コード画像を移動可能な領域がないと判定した場合は(S12:No)、先のS2において検出した旧追跡コード画像を破棄しないで保持する(S14)。続いて、CPU10は、新追跡コード画像を今回の印刷情報のみで構築し(S15)、その構築した新追跡コード画像を旧追跡コード座標に配置する(S16)。S13の処理、または、S15,S16の処理は、それぞれ少なくとも1回の再構築の一例である。
また、CPU10は、最初にS8(図3)を実行したときに、新追跡コード画像を旧追跡コード座標に配置した場合、印刷可能領域内であると判定した場合は(S8:Yes)、新追跡コード画像が他の画像と重ならないか否かを判定する(図4のS9)。たとえば、図10に示すように、新追跡コード画像BC3を旧追跡コード座標に配置すると、フッター情報画像G2と重なる場合は、新追跡コード画像が他の画像と重なると判定する。ここで、CPU10は、新追跡コード画像が他の画像と重ならないと判定した場合は(S9:Yes)、新追跡コード画像を旧追跡コード座標に配置する(S16)。
Here, when the CPU 10 determines that there is an area where the new tracking code image can be moved in the same sheet (S12: Yes), the CPU 10 arranges the new tracking code image at the arrangeable coordinates (S13). When it is determined that there is no area where the new tracking code image can be moved in the same sheet (S12: No), the old tracking code image detected in the previous S2 is held without being discarded (S14). Subsequently, the CPU 10 constructs a new tracking code image only with the print information of this time (S15), and arranges the constructed new tracking code image at the old tracking code coordinates (S16). The process of S13 or the process of S15 and S16 is an example of at least one reconstruction.
When the CPU 10 arranges the new tracking code image at the old tracking code coordinates when S8 (FIG. 3) is first executed, the CPU 10 determines that it is within the printable area (S8: Yes). It is determined whether the tracking code image does not overlap other images (S9 in FIG. 4). For example, as shown in FIG. 10, when the new tracking code image BC3 is arranged at the old tracking code coordinates, when overlapping with the footer information image G2, it is determined that the new tracking code image overlaps with another image. Here, when it is determined that the new tracking code image does not overlap another image (S9: Yes), the CPU 10 arranges the new tracking code image at the old tracking code coordinates (S16).

また、CPU10は、S6(図3)において、新追跡情報の情報量は識別コード仕様の上限以内ではないと判定した場合は(S6:No)、先のS2において検出した旧追跡コード画像を破棄しないで保持する(S17)。続いて、CPU10は、今回の印刷情報のみで新追跡コードを構築し(S18)、その構築した新追跡コードを表す新追跡コード画像を旧追跡コード座標に配置する(S16)。
また、CPU10は、S9(図4)において、新追跡コード画像が他の画像と重ならないと判定した場合は(S9:Yes)、新追跡コード画像を旧追跡コード座標に配置する(S16)。
そして、CPU10は、旧追跡コード画像が保持されているか否かを判定し(図5のS19)、保持されていると判定した場合は(S19:Yes)、同一シート内に旧追跡コード画像を配置可能な領域があるか否かを判定する(S20)。ここで、CPU10は、同一シート内に旧追跡コード画像を配置可能な領域があると判定した場合は(S20:Yes)、旧追跡コード画像を上記配置可能な領域に配置し(S21)、シートへの印刷を実行する(S22)。また、CPU10は、S2(図3)において、読取画像に識別コード画像が存在しないと判定した場合は(S2:No)、S1において読取った読取画像の印刷を実行する(図5のS22)。また、CPU10は、S19(図5)において、旧追跡コード画像が保持されていないと判定した場合は(S19:No)、シートへの印刷を実行する(S22)。
また、上述したように、CPU10は、同一シート内に新追跡コード画像を移動可能な領域がないと判定した場合は(S12:No)、印刷処理(S22)を実行するまでの間に、次のシートに新追跡コード画像を印刷する処理を実行しないようにして新追跡コード画像を再構築している(S15)。S19〜S21の処理は、少なくとも1回の再構築の一例である。
If the CPU 10 determines in S6 (FIG. 3) that the amount of information on the new tracking information is not within the upper limit of the identification code specification (S6: No), the old tracking code image detected in S2 is discarded. Do not hold (S17). Subsequently, the CPU 10 constructs a new tracking code only with the print information of this time (S18), and arranges a new tracking code image representing the constructed new tracking code in the old tracking code coordinates (S16).
When it is determined in S9 (FIG. 4) that the new tracking code image does not overlap another image (S9: Yes), the CPU 10 arranges the new tracking code image in the old tracking code coordinates (S16).
Then, the CPU 10 determines whether or not the old tracking code image is held (S19 in FIG. 5), and when it is determined that the old tracking code image is held (S19: Yes), the old tracking code image is contained in the same sheet. It is determined whether there is an area that can be arranged (S20). Here, when the CPU 10 determines that there is an area where the old tracking code image can be arranged in the same sheet (S20: Yes), the old tracking code image is arranged in the above-described arrangeable area (S21). The printing on the image is executed (S22). When it is determined in S2 (FIG. 3) that no identification code image is present in the read image (S2: No), the CPU 10 executes printing of the read image read in S1 (S22 in FIG. 5). When the CPU 10 determines that the old tracking code image is not held in S19 (FIG. 5) (S19: No), printing on a sheet is executed (S22).
Further, as described above, when the CPU 10 determines that there is no area where the new tracking code image can be moved in the same sheet (S12: No), the following process is performed until the printing process (S22) is performed. The new tracking code image is reconstructed by not executing the process of printing the new tracking code image on the sheet (S15). The processes of S19 to S21 are an example of at least one reconstruction.

[第1実施形態の効果]
(1)上述した第1実施形態の複合機1は、デコードした旧追跡情報に今回の印刷情報を追加して構築した新追跡情報の情報量が、識別コード仕様の上限を超えており、制約に反している場合であっても、その制約に反していない状態となるように新追跡情報を再構築することができる。
(2)しかも、第1実施形態の複合機1は、デコードした旧追跡情報に今回の印刷情報を追加して構築した新追跡情報を表す新追跡コード画像BC3が、旧追跡コード座標に配置すると印刷可能領域Eに収まらないような場合であっても、新追跡コード画像BC3を縮小するという再構築を行うことにより、新追跡コード画像BC3を配置可能な座標に配置してシートPに印刷することができる。
[Effect of First Embodiment]
(1) In the MFP 1 according to the first embodiment described above, the amount of information of new tracking information constructed by adding the print information of this time to the decoded old tracking information exceeds the upper limit of the identification code specification, and the restriction Even if it violates the above, new tracking information can be reconstructed so as not to violate the restriction.
(2) Furthermore, in the first embodiment, when the new tracking code image BC3 representing the new tracking information constructed by adding the print information of this time to the decoded old tracking information is arranged in the old tracking code coordinates. Even if it does not fit in the printable area E, the new tracking code image BC3 is arranged at the arrangeable coordinates and printed on the sheet P by performing reconstruction so as to reduce the new tracking code image BC3. be able to.

(3)さらに、第1実施形態の複合機1は、縮小した新追跡コード画像BC3が、旧追跡コード座標に配置すると印刷可能領域Eに収まらないような場合であっても、縮小した新追跡コード画像BC3を配置可能な座標に配置するという再構築を行うことにより、シートPに印刷することができる。
(4)さらに、第1実施形態の複合機1は、デコードした旧追跡情報に今回の印刷情報を追加して構築した新追跡情報を表す新追跡コード画像BC3が、旧追跡コード座標に配置すると印刷可能領域Eに収まるが他の画像と重なる場合は、新追跡コード画像BC3を縮小するという再構築を行うことにより、新追跡コード画像BC3を配置可能な座標に配置してシートPに印刷することができる。
(5)さらに、第1実施形態の複合機1は、複数の制約が設定されている場合であっても、制約の総てに反しない状態となるように新追跡コード画像BC3の再構築を繰り返すことにより、新追跡コード画像BC3をシートPに印刷することができる。
(6)つまり、第1実施形態の複合機1を実施すれば、原稿から得た識別コードが有する旧追跡情報に今回の追跡情報を追加した新追跡情報を表す新追跡コード画像BC3を制約に反することなくシートPに印刷することができる。
(3) Furthermore, the MFP 1 according to the first embodiment reduces the size of the new tracking code image BC3 to a new tracking code image even if it does not fit in the printable area E when placed in the old tracking code coordinates. It is possible to print on the sheet P by reconstructing the code image BC3 at the arrangeable coordinates.
(4) Further, in the first embodiment, when the new tracking code image BC3 representing the new tracking information constructed by adding the print information of this time to the decoded old tracking information is disposed at the old tracking code coordinates. When it fits in the printable area E but overlaps with other images, the new tracking code image BC3 is arranged at the arrangeable coordinates and printed on the sheet P by performing reconstruction so as to reduce the new tracking code image BC3. be able to.
(5) Further, the MFP 1 according to the first embodiment reconstructs the new tracking code image BC3 so as not to violate all the constraints, even when a plurality of constraints are set. The new tracking code image BC3 can be printed on the sheet P by repeating.
(6) In other words, if the MFP 1 of the first embodiment is implemented, the new tracking code image BC3 representing the new tracking information in which the current tracking information is added to the old tracking information possessed by the identification code obtained from the document is restricted. It is possible to print on the sheet P without contradiction.

(7)また、第1実施形態の複合機1は、縮小した新追跡コード画像BC3を移動可能な領域が存在しない場合は、新追跡コード画像を今回の印刷情報のみで構築し、その構築した新追跡コード画像を旧追跡コード座標に配置してシートPに印刷することができるため、今回の印刷情報、つまり、最新の追跡情報が失われるおそれがない。
(8)さらに、第1実施形態の複合機1は、同一シートP内に新追跡コード画像BC3を移動可能な領域が存在しない場合は、新追跡コード画像BC3を次のシートに印刷しないため、新追跡コード画像BC3が失われるおそれがない。
(7) Further, when there is no area to which the reduced new tracking code image BC3 can be moved, the MFP 1 according to the first embodiment constructs the new tracking code image using only the print information of this time, and constructs the new tracking code image. Since the new tracking code image can be arranged at the old tracking code coordinates and printed on the sheet P, there is no risk of losing the current print information, that is, the latest tracking information.
(8) Further, when there is no area where the new tracking code image BC3 can be moved within the same sheet P, the multifunction device 1 of the first embodiment does not print the new tracking code image BC3 on the next sheet. There is no risk of losing the new tracking code image BC3.

〈第2実施形態〉
次に、本発明の第2実施形態に係る複合機について図11を参照しつつ説明する。
図11は、本実施形態においてCPU10が実行する処理の流れを一部省略して示すフローチャートである。なお、第1実施形態と同じ処理については説明を簡略化または省略する。
Second Embodiment
Next, a multifunction peripheral according to a second embodiment of the present invention will be described with reference to FIG.
FIG. 11 is a flowchart showing a flow of processing executed by the CPU 10 in the present embodiment with a part thereof omitted. In addition, description is simplified or abbreviate | omitted about the same process as 1st Embodiment.

CPU10は、第1実施形態と同じ処理S1〜S5(図3)を実行し、新追跡情報を構築する(S5)。続いて、CPU10は、S5において構築した新追跡情報に対応する新追跡コード画像を構築し(S6A)、新追跡コード画像をシートに印刷した場合の印刷サイズ(印刷面積)は上限以内か否かを判定する(S6B)。たとえば、新追跡コード画像を読取るバーコードリーダなどの読取装置の最大読取幅が150mmであり、その150mmが印刷サイズの制約であるとすると、新追跡コード画像の印刷サイズが150mm以内か否かを判定する。ここで、CPU10は、新追跡コード画像の印刷サイズが上限以内ではないと判定した場合は(S6B:No)、新追跡コード画像を、今回の印刷情報に対応する追跡コード画像と、旧追跡コード画像とに分割する(S17A)。つまり、画像印刷サイズの制約に反しない状態となるように、新追跡コード画像を分割する。
続いて、CPU10は、S17Aにおける分割により生成された、今回の印刷情報に対応する追跡コード画像を新追跡コード画像として旧追跡コード座標に配置する(S17B)。以降、CPU10は、第1実施形態のS9〜S22(図4,図5)と同じ処理を実行する。印刷は形成の一例であり、印刷サイズは、形成サイズの一例である。
なお、旧追跡コード画像が複数存在する場合は、S17Aにおいて、今回の印刷情報に対応する追跡コード画像および直近の旧追跡コード画像(1つ前の印刷において印刷された旧追跡コード画像)と、それら以外の旧追跡コード画像とに分割することもできる。また、新追跡コード画像を追跡コード単位で3つ以上に分割することもできる。S17AまたはS17Bの処理は、少なくとも1回の再構築の一例である。また、S17Aにおける今回の印刷情報は、画像形成部37が画像をシートに1回形成する毎に含まれることになる新たな情報の単位の一例である。
The CPU 10 executes the same processes S1 to S5 (FIG. 3) as in the first embodiment to construct new tracking information (S5). Subsequently, the CPU 10 constructs a new tracking code image corresponding to the new tracking information constructed in S5 (S6A), and the print size (print area) when printing the new tracking code image on the sheet is within the upper limit or not Is determined (S6B). For example, if the maximum reading width of a reader such as a bar code reader for reading a new tracking code image is 150 mm and 150 mm is a print size limitation, whether the print size of the new tracking code image is within 150 mm or not judge. Here, when the CPU 10 determines that the print size of the new tracking code image is not within the upper limit (S6B: No), the new tracking code image, the tracking code image corresponding to the current print information, and the old tracking code The image is divided into (S17A). That is, the new tracking code image is divided so as not to violate the image print size restriction.
Subsequently, the CPU 10 arranges the tracking code image corresponding to the current print information generated by the division in S17A as the new tracking code image at the old tracking code coordinates (S17B). Thereafter, the CPU 10 executes the same processing as S9 to S22 (FIGS. 4 and 5) of the first embodiment. Printing is an example of formation, and print size is an example of formation size.
If there are a plurality of old tracking code images, in S17A, the tracking code image corresponding to the current print information and the latest old tracking code image (the old tracking code image printed in the previous print), It can also be divided into other old tracking code images. Also, the new tracking code image can be divided into three or more tracking code units. The process of S17A or S17B is an example of at least one reconstruction. In addition, the print information of this time in S17A is an example of a new unit of information included each time the image forming unit 37 forms an image on a sheet.

[第2実施形態の効果]
(1)上述した第2実施形態の複合機1は、新追跡コード画像をシートに印刷した場合の印刷サイズが上限を超えている場合であっても、新追跡コード画像を、今回の印刷情報に対応する追跡コード画像と旧追跡コード画像とに分割し、今回の印刷情報に対応する追跡コード画像を新追跡コード画像として旧追跡コード座標に配置し、シートに印刷することができる。また、同一シート内に旧追跡コード画像を配置可能な領域がある場合は、旧追跡コード画像も同一シートに印刷することもできる。
つまり、第2実施形態の複合機1を実施すれば、新追跡コード画像が、印刷サイズの制約に反する場合であっても、その制約に反しない状態となるように新追跡コード画像を分割するという再構築を行うことができるため、新追跡コード画像をシートに印刷する確実性を高めることができる。
[Effect of Second Embodiment]
(1) The MFP 1 according to the second embodiment described above prints the new tracking code image as the current print information even if the print size when printing the new tracking code image on the sheet exceeds the upper limit. Can be divided into the tracking code image and the old tracking code image, and the tracking code image corresponding to the current print information can be arranged as the new tracking code image at the old tracking code coordinates and printed on the sheet. Also, if there is an area where the old tracking code image can be placed in the same sheet, the old tracking code image can also be printed on the same sheet.
That is, if the MFP 1 according to the second embodiment is implemented, even if the new tracking code image violates the print size constraint, the new tracking code image is divided so as not to violate the constraint. As a result, it is possible to increase the certainty of printing a new tracking code image on a sheet.

(2)しかも、第2実施形態の複合機1は、今回の印刷情報に対応する追跡コード画像を新追跡コード画像として旧追跡コード座標、つまり、今まで追跡コード画像を印刷してきた定位置に印刷することができるため、バーコードリーダなどの識別コード読取装置を使って追跡コードを読取る際に、誤って旧追跡コード画像を読取ってしまうおそれがない。
(3)さらに、第2実施形態の複合機1は、新追跡コード画像を追跡コード単位、つまり、原稿上の画像がシートに1回印刷される毎に追加される新たな情報の単位で分割することができるため、追加された情報が分割によって失われるおそれがない。
(2) Furthermore, the MFP 1 according to the second embodiment uses the tracking code image corresponding to the current print information as the new tracking code image, the old tracking code coordinates, that is, the fixed position at which the tracking code image has been printed so far. Since printing can be performed, there is no possibility that the old tracking code image is read by mistake when reading the tracking code using an identification code reader such as a bar code reader.
(3) Further, the MFP 1 according to the second embodiment divides the new tracking code image into tracking code units, that is, units of new information added each time the image on the document is printed once on the sheet. There is no risk that the added information will be lost due to the division.

〈第3実施形態〉
次に、本発明の第3実施形態に係る複合機について図12を参照しつつ説明する。
図12は、本実施形態においてCPU10が実行する処理の流れを一部省略して示すフローチャートである。なお、第1および第2実施形態と同じ処理については説明を簡略化または省略する。
Third Embodiment
Next, a multifunction peripheral according to a third embodiment of the present invention will be described with reference to FIG.
FIG. 12 is a flowchart showing a flow of processing executed by the CPU 10 in the present embodiment with a part omitted. The description of the same processing as in the first and second embodiments will be simplified or omitted.

CPU10は、第1実施形態と同じ処理S1〜S8(図3)を実行し、新追跡コード画像を旧追跡コード座標に配置した場合、新追跡コード画像が印刷可能領域内ではないと判定した場合は(図3のS8:No)、新追跡コード画像を縮小可能か否かを判定する(図12のS10)。ここで、CPU10は、新追跡コード画像を縮小可能であると判定した場合は(S10:Yes)、新追跡コード画像を1段階縮小する(S11)。続いて、CPU10は、新追跡コード画像を読取可能な下限値まで縮小したか否かを判定し(S11A)、下限値まで縮小したと判定した場合は(S11A:Yes)、新追跡コード画像を旧追跡コード座標に配置した場合、新追跡コード画像が印刷可能領域内か否かを判定し(S11B)、印刷可能領域内ではないと判定した場合は(S11B:No)、同一用紙内に新追跡コード画像を移動可能な領域があるか否かを判定する(S12)。ここで、移動可能な領域があると判定した場合は(S12:Yes)、新追跡コード画像を配置可能な座標に配置する(S13)。S11〜S13の処理は、少なくとも1回の再構築の一例である。   When the CPU 10 executes the same processing S1 to S8 (FIG. 3) as the first embodiment and arranges the new tracking code image at the old tracking code coordinates, it is determined that the new tracking code image is not within the printable area (S8 in FIG. 3: No), it is determined whether or not the new tracking code image can be reduced (S10 in FIG. 12). Here, when it is determined that the new tracking code image can be reduced (S10: Yes), the CPU 10 reduces the new tracking code image by one step (S11). Subsequently, the CPU 10 determines whether or not the new tracking code image has been reduced to a readable lower limit (S11A). If it is determined that the new tracking code image has been reduced to a lower limit (S11A: Yes), the new tracking code image When arranged in the old tracking code coordinates, it is determined whether the new tracking code image is within the printable area (S11B), and when it is determined not within the printable area (S11B: No) It is determined whether there is an area in which the tracking code image can be moved (S12). Here, when it is determined that there is a movable area (S12: Yes), the new tracking code image is arranged at the arrangeable coordinates (S13). The processes of S11 to S13 are an example of at least one reconstruction.

また、CPU10は、S11Aにおいて、新追跡コード画像を下限値まで縮小していないと判定した場合は(S11A:No)、再度、S8(図3)を実行し、新追跡コード画像を旧追跡コード座標に配置した場合、新追跡コード画像が印刷可能領域内であると判定した場合は(S8:Yes)、新追跡コード画像が他の画像と重ならないか否かを判定する(図12のS11C)。ここで、CPU10は、他の画像と重ならないと判定した場合は(S11C:Yes)、新追跡コード画像を旧追跡コード座標に配置する(S16)。また、CPU10は、S10において、新追跡コード画像を縮小することができないと判定した場合(S10:No)、あるいは、S11Cにおいて、新追跡コード画像が他の画像と重なると判定した場合は(S11C:No)、同一用紙内に新追跡コード画像を移動可能な領域があるか否かを判定し(S12)、移動可能な領域があると判定した場合は(S12:Yes)、新追跡コード画像を配置可能な座標に配置する(S13)。また、CPU10は、S12において、同一用紙内に新追跡コード画像を配置可能な座標がないと判定した場合は(S12:No)、検出した旧追跡コード画像を保持し(S14)、新追跡コード画像を今回の印刷情報のみで構築する(S15)。   If the CPU 10 determines in S11A that the new tracking code image has not been reduced to the lower limit (S11A: No), the CPU 10 executes S8 (FIG. 3) again to set the new tracking code image to the old tracking code. When arranged in coordinates, if it is determined that the new tracking code image is within the printable area (S8: Yes), it is determined whether the new tracking code image does not overlap with another image (S11C in FIG. 12) ). Here, when it is determined that the CPU 10 does not overlap another image (S11C: Yes), the new tracking code image is arranged at the old tracking code coordinates (S16). If the CPU 10 determines in S10 that the new tracking code image can not be reduced (S10: No), or if it determines in S11 C that the new tracking code image overlaps with another image (S11 C) No: it is determined whether there is an area where the new tracking code image can be moved within the same sheet (S12), and if it is determined that the movable area is available (S12: Yes), the new tracking code image Are arranged at possible coordinates (S13). If the CPU 10 determines in S12 that there is no coordinate at which the new tracking code image can be arranged on the same sheet (S12: No), the CPU 10 holds the detected old tracking code image (S14), and the new tracking code An image is constructed using only the print information of this time (S15).

[第3実施形態の効果]
上述した第3実施形態の複合機1は、新追跡コード画像を縮小しても、新追跡コード画像を旧追跡コード座標に配置することができない場合であっても、新追跡コード画像を配置可能な座標に配置することができる。
つまり、第3実施形態の複合機1を実施すれば、新追跡コード画像を縮小しても旧追跡コード座標に配置すると、印刷可能領域内に印刷するという制約、あるいは、新追跡コード画像が他の画像と重ならないという制約に反することとなる場合であっても、それらの制約に反しない状態となるように新追跡コード画像の配置座標を変更するという再構築を行うことができるため、新追跡コード画像をシートに印刷することができる。
[Effect of Third Embodiment]
The MFP 1 according to the third embodiment described above can arrange the new tracking code image even if the new tracking code image can not be arranged at the old tracking code coordinates even if the new tracking code image is reduced. Can be placed at any coordinate.
That is, if the MFP 1 according to the third embodiment is implemented, even if the new tracking code image is reduced, even if it is arranged at the old tracking code coordinates, printing is performed within the printable area, or the new tracking code image is Even if it is against the constraint that they do not overlap with the image of the image, it is possible to reconstruct the configuration by changing the arrangement coordinates of the new tracking code image so as not to violate the constraints. The tracking code image can be printed on the sheet.

〈第4実施形態〉
次に、本発明の第4実施形態に係る複合機について図13を参照しつつ説明する。
図13は、本実施形態においてCPU10が実行する処理の流れを一部省略して示すフローチャートである。なお、第1ないし第3実施形態と同じ処理については説明を簡略化または省略する。
Fourth Embodiment
Next, a multifunction peripheral according to a fourth embodiment of the present invention will be described with reference to FIG.
FIG. 13 is a flowchart showing a flow of processing executed by the CPU 10 in the present embodiment with a part thereof omitted. The description of the same processes as in the first to third embodiments will be simplified or omitted.

CPU10は、第1実施形態と同じ処理S1〜S8(図3)を実行し、新追跡コード画像を旧追跡コード座標に配置した場合、新追跡コード画像が印刷可能領域内ではないと判定した場合は(図3のS8:No)、新追跡コード画像を縮小可能か否かを判定する(図13のS10)。ここで、CPU10は、新追跡コード画像を縮小可能であると判定した場合は(S10:Yes)、新追跡コード画像を1段階縮小する(S11)。続いて、CPU10は、新追跡コード画像を読取可能な下限値まで縮小したか否かを判定し(S11A)、下限値まで縮小したと判定した場合は(S11A:Yes)、新追跡コード画像を旧追跡コード座標に配置した場合、新追跡コード画像が印刷可能領域内か否かを判定し(S11B)、印刷可能領域内ではないと判定した場合は(S11B:No)、新追跡コード画像を、今回の印刷情報に対応する追跡コード画像と、旧追跡コード画像とに分割する(S17A)。続いて、CPU10は、S17Aにおける分割により生成された、今回の印刷情報に対応する追跡コード画像を新追跡コード画像として旧追跡コード座標に配置する(S17B)。S17AまたはS17Bの処理は、少なくとも1回の再構築の一例である。また、S17Aにおける今回の印刷情報は、新たな情報の単位の一例である。   When the CPU 10 executes the same processing S1 to S8 (FIG. 3) as the first embodiment and arranges the new tracking code image at the old tracking code coordinates, it is determined that the new tracking code image is not within the printable area (S8 in FIG. 3: No), it is determined whether or not the new tracking code image can be reduced (S10 in FIG. 13). Here, when it is determined that the new tracking code image can be reduced (S10: Yes), the CPU 10 reduces the new tracking code image by one step (S11). Subsequently, the CPU 10 determines whether or not the new tracking code image has been reduced to a readable lower limit (S11A). If it is determined that the new tracking code image has been reduced to a lower limit (S11A: Yes), the new tracking code image When arranged in the old tracking code coordinates, it is determined whether the new tracking code image is within the printable area (S11B), and when it is determined not within the printable area (S11B: No), the new tracking code image , And the tracking code image corresponding to the current print information and the old tracking code image (S17A). Subsequently, the CPU 10 arranges the tracking code image corresponding to the current print information generated by the division in S17A as the new tracking code image at the old tracking code coordinates (S17B). The process of S17A or S17B is an example of at least one reconstruction. Also, the current print information in S17A is an example of a new information unit.

[第4実施形態の効果]
上述した第4実施形態の複合機1は、新追跡コード画像を縮小しても、新追跡コード画像を旧追跡コード座標に配置することができない場合であっても、新追跡コード画像を分割することにより、新追跡コード画像をシートに印刷することができる。
つまり、第4実施形態の複合機1を実施すれば、新追跡コード画像を縮小しても旧追跡コード座標に配置すると、印刷可能領域内に印刷するという制約、あるいは、新追跡コード画像が他の画像と重ならないという制約に反することとなる場合であっても、それらの制約に反しない状態となるように新追跡コード画像を分割するという再構築を行うことができるため、新追跡コード画像をシートに印刷することができる。
[Effect of Fourth Embodiment]
The MFP 1 according to the fourth embodiment described above divides the new tracking code image even if the new tracking code image can not be placed at the old tracking code coordinates even if the new tracking code image is reduced. Thus, the new tracking code image can be printed on the sheet.
That is, if the MFP 1 according to the fourth embodiment is implemented, even if the new tracking code image is reduced, even if it is arranged at the old tracking code coordinates, printing is performed within the printable area, or the new tracking code image is The new tracking code image can be reconstructed by dividing the new tracking code image so as not to go against the constraints even if it violates the constraint of not overlapping with the image of Can be printed on a sheet.

〈第5実施形態〉
次に、本発明の第5実施形態に係る複合機について図14を参照しつつ説明する。
図14は、本実施形態においてCPU10が実行する処理の流れを一部省略して示すフローチャートである。なお、第1ないし第4実施形態と同じ処理については説明を簡略化または省略する。
Fifth Embodiment
Next, a multifunction peripheral according to a fifth embodiment of the present invention will be described with reference to FIG.
FIG. 14 is a flowchart showing a flow of processing executed by the CPU 10 in the present embodiment with a part omitted. The description of the same processes as in the first to fourth embodiments will be simplified or omitted.

CPU10は、第1実施形態と同じ処理S1〜S8(図3)を実行し、新追跡コード画像を旧追跡コード座標に配置した場合、新追跡コード画像が印刷可能領域内であると判定した場合は(図3のS8:Yes)、新追跡コード画像が他の画像と重ならないか否かを判定する(図14のS9)。ここで、CPU10は、重なると判定した場合は(S9:No)、同一シート内に新追跡コード画像を移動可能な領域があるか否かを判定し(S12)、移動可能な領域があると判定した場合は(S12:Yes)、新追跡コード画像を配置可能な座標に配置する(S13)。また、同一シート内に新追跡コード画像を移動可能な領域がないと判定した場合は(S12:No)、先のS2において検出した旧追跡コード画像を破棄しないで保持する(S14)。続いて、CPU10は、新追跡コード画像を今回の印刷情報のみで構築し(S15)、その構築した新追跡コード画像を旧追跡コード座標に配置する(S16)。S13の処理は、少なくとも1回の再構築の一例である。   When the CPU 10 executes the same processing S1 to S8 (FIG. 3) as the first embodiment and arranges the new tracking code image at the old tracking code coordinates, it is determined that the new tracking code image is within the printable area (S8 in FIG. 3: Yes), it is determined whether the new tracking code image does not overlap with another image (S9 in FIG. 14). Here, when it is determined that the CPU 10 overlaps (S9: No), it is determined whether or not there is an area where the new tracking code image can be moved in the same sheet (S12). If it is determined (S12: Yes), the new tracking code image is arranged at the arrangeable coordinates (S13). When it is determined that there is no area where the new tracking code image can be moved in the same sheet (S12: No), the old tracking code image detected in the previous S2 is held without being discarded (S14). Subsequently, the CPU 10 constructs a new tracking code image only with the print information of this time (S15), and arranges the constructed new tracking code image at the old tracking code coordinates (S16). The process of S13 is an example of at least one reconstruction.

[第5実施形態の効果]
上述した第5実施形態の複合機1は、新追跡コード画像を旧追跡コード座標に配置しようとすると他の画像と重なる場合に、新追跡コード画像を他の領域に配置することにより、新追跡コード画像をシートに印刷することができる。
つまり、第5実施形態の複合機1を実施すれば、新追跡コード画像を旧追跡コード座標に配置しようとした場合に、他の画像と重ならないという制約に反することとなる場合であっても、その制約に反しない状態となるように新追跡コード画像を他の座標に配置するという再構築を行うことができるため、新追跡コード画像をシートに印刷することができる。
[Effects of the fifth embodiment]
The MFP 1 according to the fifth embodiment described above arranges the new tracking code image in another area when the new tracking code image is overlapped with the other image when trying to arrange the new tracking code image in the old tracking code coordinates. Code images can be printed on sheets.
That is, if the MFP 1 according to the fifth embodiment is implemented to place the new tracking code image at the old tracking code coordinates, even if it violates the constraint that it does not overlap other images. The new tracking code image can be printed on the sheet, since the new tracking code image can be reconstructed to be placed at other coordinates so as not to violate the constraint.

〈他の実施形態〉
(1)CPU10がS20(図5)において、同一シート内に旧追跡コード画像を配置可能な領域がないと判定した場合に(S20:No)、旧追跡コード画像を識別コード記憶領域42(図2)などの記憶領域に記憶しておくように構成することもできる。このように構成すれば、旧追跡コードを一括して印刷するような処理に対応することができる。
(2)旧追跡情報を印刷することができなかった場合に、そのことを報知する報知手段を設けることもできる。たとえば、旧追跡情報を印刷することができなかったことを示すメッセージをタッチパネル8などの表示部に表示するように構成することもできる。
(3)新追跡コード画像が少なくとも1つの制約に反していることが原因で、新追跡コード画像を旧追跡コード座標に印刷することができなかった場合、つまり、新追跡コード画像の印刷位置が変更された場合に、そのことを報知する報知手段を設けることもできる。たとえば、新追跡コード画像の印刷位置が変更されたことを示すメッセージをタッチパネル8などの表示部に表示するように構成することもできる。
Other Embodiments
(1) When the CPU 10 determines in S20 (FIG. 5) that there is no area where the old tracking code image can be arranged in the same sheet (S20: No), the old tracking code image is stored in the identification code storage area 42 (FIG. It can also be configured to be stored in a storage area such as 2). With this configuration, it is possible to cope with the process of printing the old tracking code all at once.
(2) In the case where the old tracking information can not be printed, notification means can be provided to notify that fact. For example, a message indicating that the old tracking information could not be printed may be displayed on a display unit such as the touch panel 8 or the like.
(3) When the new tracking code image can not be printed on the old tracking code coordinates because the new tracking code image violates at least one constraint, that is, the printing position of the new tracking code image is In the case of a change, notification means may be provided to notify that fact. For example, a message indicating that the print position of the new tracking code image has been changed may be displayed on a display unit such as the touch panel 8 or the like.

(4)同一シートの一方の面に新追跡コード画像または旧追跡コード画像を印刷することができない場合に、同一シートの他方の面に新追跡コード画像または旧追跡コード画像を印刷するように構成することもできる。
(5)新追跡コード画像をシートのヘッダー情報の横に印刷するように構成することもできる。また、新追跡コード画像を原稿画像G1の周囲の余白に印刷するように構成することもできる。
(6)旧追跡情報に今回の印刷情報を追加して新追跡コード画像を構築した際に制約を受けることになった場合に、1次元の新追跡コード画像をQRコード(登録商標)などの2次元バーコードに変更し、制約に反しないように構成することもできる。
(7)旧追跡情報に今回の印刷情報を追加して新追跡コード画像を構築した際に制約を受けることになり、新追跡コード画像を再構築してもなお、その制約に反している状態になった場合に、原稿画像G1の印刷サイズを縮小、あるいは、形成位置をずらすことにより、新追跡コード画像を印刷することができるように構成することもできる。
(8)本発明は、複合機1が出力した画像データをPCに送出し、そのPCに接続されたプリンタによって印刷するシステムにも適用することができる。
(4) It is configured to print the new tracking code image or the old tracking code image on the other side of the same sheet when the new tracking code image or the old tracking code image can not be printed on one side of the same sheet You can also
(5) The new tracking code image can be configured to be printed next to the sheet header information. Also, the new tracking code image can be configured to be printed in the margin around the document image G1.
(6) If you are subject to restrictions when constructing a new tracking code image by adding the print information of this time to the old tracking information, one-dimensional new tracking code image such as QR code (registered trademark) It is also possible to change to a two-dimensional barcode and configure it so as not to violate the constraints.
(7) If you add the print information of this time to the old tracking information and build a new tracking code image, you will be constrained, and even if you rebuild the new tracking code image, it still violates the restriction. In this case, the printing size of the document image G1 may be reduced or the formation position may be shifted to print the new tracking code image.
(8) The present invention can also be applied to a system in which the image data output by the multifunction device 1 is sent to a PC and printed by a printer connected to the PC.

1 複合機
2 操作パネル
8 タッチパネル
10 CPU
30 スキャナ
BC1 旧追跡コード画像
BC2 今回の追跡コード画像
BC3 新追跡コード画像
E 印刷可能領域
G1 原稿画像
G2 フッター情報画像
P シート
1 MFP 2 Operation panel 8 Touch panel 10 CPU
30 Scanner BC1 Old tracking code image BC2 Current tracking code image BC3 New tracking code image E Printable area G1 Document image G2 Footer information image P sheet

Claims (15)

原稿上の画像に応じた画像データを出力するスキャナと、
画像をシートに形成する画像形成部と、
制御部と、を備えた画像形成装置であって、
前記制御部は、
前記スキャナが出力した画像データから識別コードを表す画像データを検出し、
検出した前記画像データに含まれる情報と、新たな情報と、を含む、新たな識別コードを表す情報を構築し、
構築した前記情報が、少なくとも1つの制約に反するか否かを判定し、
構築した前記情報が前記少なくとも1つの制約に反しないと判定した場合に、構築した前記情報で表される識別コードを表す画像と、前記スキャナが出力した画像データのうち識別コードを表す情報以外の情報で表される画像と、をシートに形成するように、前記画像形成部を制御し、
構築した前記情報が前記少なくとも1つの制約に反すると判定した場合に、前記少なくとも1つの制約に反しない情報となるように、構築した前記情報に対して少なくとも1回の再構築を行い、
前記少なくとも1回の再構築を行った前記情報で表される識別コードを表す画像と、前記スキャナが出力した画像データのうち識別コードを表す情報以外の情報で表される画像と、をシートに形成するように、前記画像形成部を制御することを特徴とする画像形成装置。
A scanner that outputs image data according to an image on a document;
An image forming unit for forming an image on a sheet;
An image forming apparatus including a control unit;
The control unit
Detecting image data representing an identification code from image data output from the scanner;
Constructing information representing a new identification code, including information contained in the detected image data and new information;
Determining whether the constructed information violates at least one constraint;
When it is determined that the constructed information does not violate the at least one constraint, an image representing an identification code represented by the constructed information, and information other than the information representing the identification code among the image data output by the scanner Controlling the image forming unit to form an image represented by information on a sheet;
At least one reconstruction is performed on the constructed information so that the constructed information does not violate the at least one constraint when it is determined that the information violates the at least one constraint;
An image representing an identification code represented by the information subjected to the at least one reconstruction and an image represented by information other than the information representing the identification code among the image data output by the scanner And controlling the image forming unit to form the image.
前記少なくとも1つの制約は、前記構築した情報で表される識別コードの情報量が、当該画像形成装置に設定されている情報量を超えないことであることを特徴とする請求項1に記載の画像形成装置。   2. The apparatus according to claim 1, wherein the at least one restriction is that the amount of information of the identification code represented by the constructed information does not exceed the amount of information set in the image forming apparatus. Image forming apparatus. 前記少なくとも1つの制約は、前記構築した情報で表される識別コードを表す画像をシートに形成する際の形成サイズが、当該画像形成装置に設定されている形成サイズを超えないことであることを特徴とする請求項1または請求項2に記載の画像形成装置。   The at least one restriction is that a formation size when forming an image representing an identification code represented by the constructed information on a sheet does not exceed a formation size set in the image forming apparatus. The image forming apparatus according to claim 1, wherein the image forming apparatus is characterized. 前記少なくとも1つの制約は、前記構築した情報で表される識別コードを表す画像をシートに形成する際の形成領域が、識別コードを表す画像以外の画像を形成する画像形成領域と重ならないことであることを特徴とする請求項1ないし請求項3のいずれか1項に記載の画像形成装置。   The at least one restriction is that the formation area when forming an image representing the identification code represented by the constructed information on the sheet does not overlap with the image formation area forming the image other than the image representing the identification code. The image forming apparatus according to any one of claims 1 to 3, wherein the image forming apparatus is provided. 前記少なくとも1つの制約は、前記構築した情報で表される識別コードを表す画像がシートの画像形成可能領域に収まるように形成されることであることを特徴とする請求項1ないし請求項4のいずれか1項に記載の画像形成装置。   5. The apparatus according to claim 1, wherein the at least one constraint is that an image representing an identification code represented by the constructed information is formed so as to fit within an image formable area of a sheet. An image forming apparatus according to any one of the items. 前記少なくとも1回の再構築は、前記構築した情報を分割し、分割された各情報を前記少なくとも1つの制約に反しないようにシートに形成可能な状態にすることであることを特徴とする請求項1ないし請求項5のいずれか1項に記載の画像形成装置。   The at least one reconstruction is characterized in that the constructed information is divided and each divided information can be formed in a sheet so as not to violate the at least one constraint. An image forming apparatus according to any one of claims 1 to 5. 前記少なくとも1回の再構築は、
前記構築した情報を、前記検出した画像データに含まれる情報の識別コードを表す情報と前記新たな情報の識別コードを表す情報とに分割し、その分割された情報のうち前記新たな情報に対応する識別コードを表す画像は、シートの形成可能領域のうち、前記検出した画像データに含まれる情報の識別コードを表す画像が形成されていた形成領域と同じ形成領域に前記少なくとも1つの制約に反しないように形成可能な状態とし、前記検出した画像データに含まれる情報に対応する識別コードを表す画像は、前記シートのうち、前記新たな情報に対応する識別コードを表す画像を形成する形成領域以外の形成領域に前記少なくとも1つの制約に反しないように形成可能な状態とすることであることを特徴とする請求項6に記載の画像形成装置。
Said at least one reconstruction is
The constructed information is divided into the information representing the identification code of the information contained in the detected image data and the information representing the identification code of the new information, and the new information among the divided information is handled. The image representing the identification code is the same as the formation area in which the image representing the identification code of the information included in the detected image data is formed among the formable areas of the sheet. The image representing the identification code corresponding to the information contained in the detected image data is in a formable state so as not to be formed is a formation area for forming an image representing the identification code corresponding to the new information in the sheet. 7. The image forming apparatus according to claim 6, wherein the image forming apparatus is capable of forming in a formation area other than the at least one restriction region.
前記少なくとも1回の再構築は、前記構築した情報で表される識別コードを表す画像をシートに形成する際の形成サイズを、前記制御部が検出可能な形成サイズに縮小し、かつ、その縮小した形成サイズの識別コードを表す画像が前記少なくとも1つの制約に反しない状態にすることであることを特徴とする請求項1ないし請求項7のいずれか1項に記載の画像形成装置。   The at least one reconstruction reduces the formation size when forming the image representing the identification code represented by the constructed information on the sheet to a formation size detectable by the control unit, and The image forming apparatus according to any one of claims 1 to 7, wherein the image representing the formed identification code of the formed size does not violate the at least one restriction. 前記少なくとも1回の再構築は、前記縮小した形成サイズの識別コードを表す画像を、前記制御部が検出した画像データに含まれる情報の識別コードを表す画像が形成されていた形成領域と同じ形成領域に形成すると前記少なくとも1つの制約に反することになる場合は、前記同じ形成領域以外の形成領域に前記少なくとも1つの制約に反しないように形成可能な状態にすることであることを特徴とする請求項8に記載の画像形成装置。   In the at least one reconstruction, the image representing the identification code of the reduced formation size is formed in the same manner as the formation region in which the image representing the identification code of the information included in the image data detected by the control unit is formed. If forming in the region violates the at least one constraint, it is characterized in that it can be formed in a formation region other than the same formation region so as not to violate the at least one constraint. An image forming apparatus according to claim 8. 前記少なくとも1回の再構築は、前記縮小した形成サイズの前記識別コードを表す画像を、前記検出した画像データに含まれる情報の識別コードを表す画像が形成されていた形成領域と同じ形成領域に形成すると前記少なくとも1つの制約に反することになる場合は、前記縮小した形成サイズの前記識別コードを表す画像を前記少なくとも1つの制約に反しないように分割することであることを特徴とする請求項8に記載の画像形成装置。   In the at least one reconstruction, the image representing the identification code of the reduced formation size is formed in the same formation region as the formation region in which the image representing the identification code of the information included in the detected image data is formed. If it is against the at least one constraint if formed, the image representing the identification code of the reduced formation size is divided so as not to violate the at least one constraint. 8. The image forming apparatus according to 8. 前記分割の単位は、前記画像形成部が画像をシートに1回形成する毎に含まれることになる前記新たな情報の単位であることを特徴とする請求項6または請求項7または請求項10に記載の画像形成装置。   The unit of the division is a unit of the new information that is included each time the image forming unit forms an image on a sheet once. The image forming apparatus according to claim 1. 前記少なくとも1回の再構築は、前記構築した情報で表される識別コードを表す画像をシートに形成する際の形成領域を、前記検出した画像データに含まれる情報の識別コードを表す画像が形成されていた領域以外の領域に前記少なくとも1つの制約に反しないように変更することであることを特徴とする請求項1ないし請求項11のいずれか1項に記載の画像形成装置。   In the at least one reconstruction, an image representing an identification code of the information included in the detected image data is formed in a formation region when forming an image representing the identification code represented by the constructed information on the sheet. The image forming apparatus according to any one of claims 1 to 11, wherein an area other than the area which has been set is changed so as not to violate the at least one restriction. 前記少なくとも1回の再構築は、前記構築した情報で表される識別コードを表す画像を次の1つのシートには形成しないように行うことを特徴とする請求項1ないし請求項12のいずれか1項に記載の画像形成装置。   The at least one reconstruction is performed such that an image representing an identification code represented by the constructed information is not formed on the next sheet. An image forming apparatus according to claim 1. 前記少なくとも1回の再構築は、前記構築した情報を前記新たな情報に対応する情報のみに変更し、その情報に対応する識別コードを表す画像を前記検出した画像データに含まれる情報の識別コードを表す画像が形成されていた形成領域と同じ形成領域に形成可能な状態にすることであることを特徴とする請求項1ないし請求項13のいずれか1項に記載の画像形成装置。   The at least one reconstruction changes the constructed information into only information corresponding to the new information, and an identification code of the information included in the detected image data, an image representing an identification code corresponding to the information The image forming apparatus according to any one of claims 1 to 13, wherein the image forming apparatus can be formed in the same formation area as the formation area on which the image representing the image is formed. 前記制約が複数設定されており、
前記少なくとも1回の再構築を、前記複数の制約の総てに反しない状態になるまで前記構築した情報の再構築を繰り返すことを特徴とする請求項1ないし請求項14のいずれか1項に記載の画像形成装置。
Multiple constraints are set,
The reconstruction of the constructed information is repeated until the at least one reconstruction does not violate all of the plurality of constraints. Image forming apparatus as described.
JP2017190051A 2017-09-29 2017-09-29 Image forming apparatus Pending JP2019068181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017190051A JP2019068181A (en) 2017-09-29 2017-09-29 Image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017190051A JP2019068181A (en) 2017-09-29 2017-09-29 Image forming apparatus

Publications (1)

Publication Number Publication Date
JP2019068181A true JP2019068181A (en) 2019-04-25

Family

ID=66340792

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017190051A Pending JP2019068181A (en) 2017-09-29 2017-09-29 Image forming apparatus

Country Status (1)

Country Link
JP (1) JP2019068181A (en)

Similar Documents

Publication Publication Date Title
JP5680492B2 (en) Image forming apparatus
CN105933565A (en) Image Reading Device And Image Forming Apparatus
JP5335751B2 (en) Image forming apparatus
CN110248043B (en) Image processing apparatus and image forming apparatus
JP5416160B2 (en) Image forming system
JP2007206904A (en) Image forming device
JP4162586B2 (en) Image forming apparatus
US9064206B2 (en) Image forming apparatus that prints image data including color code symbol
JP5739295B2 (en) Image forming apparatus and printer driver program
JP2019068181A (en) Image forming apparatus
US20060265332A1 (en) Method for providing document traceability
JP2007249546A (en) Data processor, data processing method, program and storage medium
JP6171510B2 (en) Image forming apparatus, operation guide method, program
JP4497000B2 (en) Copy system, copy control method and program
CN109561231A (en) Image forming apparatus
JP2010102515A (en) Data processing apparatus, image forming system, and driver program
JP6848594B2 (en) Image processing device
JP5417315B2 (en) Image forming apparatus
JP5979857B2 (en) Print control apparatus, print control method, and program
JP2018170567A (en) Image processing apparatus
JP4569490B2 (en) Image processing apparatus, image processing method, and image processing program
JP3868923B2 (en) Image forming apparatus
CN108881658B (en) Data transfer device, image forming apparatus, and image reading apparatus
JP4210949B2 (en) Setting apparatus and image forming apparatus
JP2007221455A (en) Image formation system